<template>
  <div>
    <template>
      <div
        class="flex items-center bg-white q-pa-md q-mt-md q-mx-md rounded-borders"
      >
        <q-btn
          v-if="$router.$history.hasPrevious"
          padding="xs"
          class="text-grey-7 q-mr-md"
          color="grey-3"
          icon="arrow_back"
          @click="$router.back()"
        />

        <div class="title text-h6 text-grey-10">Мастер импорта из ЕПГУ</div>
      </div>

      <div class="bg-white q-pa-md q-mt-md q-mx-md rounded-borders">
        <Create
          service-page-path="/services/modeler/service"
          :ext-service="modelerService"
          :no-header="true"
          :api-base="apiBase"
        />
      </div>
    </template>

    <q-inner-loading :showing="false">
      <q-spinner-gears color="primary" size="50px" />
    </q-inner-loading>
  </div>
</template>

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