Vue.component('loading-widget', {
  props: ['loading'],
  template: 
`<v-fade-transition>
  <div 
  class='loading-screen' 
  style="background: rgba(255, 255, 255, 0.67);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 1024;
  display: flex;
  align-items: center;
  justify-content: center;" 
  v-if="loading">
    <v-progress-circular
      :width="10"
      :size="100"
      color="primary"
      class="svg-shadow"
      indeterminate
    ></v-progress-circular>
  </div>
</v-fade-transition>`
});