<template>
  <div>
    <template v-if="!loading">
      <component
        :is="component"
        :key="`${component}-${i}-${reloadKey}`"
        v-for="(component, i) in comps"
        :common="common"
        :model="models[path]"
        :user-task="userTasks[path]"
        @commonModels="commonModelsHandler"
        @submit="submit"
        @reloadComponent="reloadKey++"
      />
    </template>
    <q-inner-loading :showing="loading">
      <q-spinner-gears color="primary" size="50px" />
    </q-inner-loading>
  </div>
</template>

<script lang="ts" src="./index.ts" />
