mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-05-29 22:49:00 +00:00
Remove unused imports
This commit is contained in:
@@ -42,8 +42,8 @@
|
||||
|
||||
<script type="text/babel" setup>
|
||||
import axios from 'axios'
|
||||
import { reactive, ref, computed } from 'vue'
|
||||
import { required, email, helpers } from '@vuelidate/validators'
|
||||
import { reactive, ref } from 'vue'
|
||||
import { email, helpers, required } from '@vuelidate/validators'
|
||||
import { useVuelidate } from '@vuelidate/core'
|
||||
import { useNotificationStore } from '@/scripts/stores/notification'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
@@ -57,14 +57,13 @@
|
||||
|
||||
<script setup>
|
||||
import axios from 'axios'
|
||||
import { ref, computed, onMounted } from 'vue'
|
||||
import { computed, onMounted, ref } from 'vue'
|
||||
import { useNotificationStore } from '@/scripts/stores/notification'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { required, email, helpers } from '@vuelidate/validators'
|
||||
import { email, helpers, required } from '@vuelidate/validators'
|
||||
import { useVuelidate } from '@vuelidate/core'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useAuthStore } from '@/scripts/admin/stores/auth'
|
||||
import { handleError } from '@/scripts/helpers/error-handling'
|
||||
import BaseButton from '@/scripts/components/base/BaseButton.vue'
|
||||
import BaseIcon from '@/scripts/components/base/BaseIcon.vue'
|
||||
import BaseInput from '@/scripts/components/base/BaseInput.vue'
|
||||
|
||||
@@ -53,9 +53,9 @@
|
||||
</template>
|
||||
|
||||
<script type="text/babel" setup>
|
||||
import { ref, computed, reactive } from 'vue'
|
||||
import { computed, reactive, ref } from 'vue'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { required, email, minLength, sameAs } from '@vuelidate/validators'
|
||||
import { email, minLength, required, sameAs } from '@vuelidate/validators'
|
||||
import { useNotificationStore } from '@/scripts/stores/notification'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import axios from 'axios'
|
||||
|
||||
@@ -582,19 +582,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, onMounted, ref } from 'vue'
|
||||
import { computed, ref } from 'vue'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import {
|
||||
required,
|
||||
minLength,
|
||||
url,
|
||||
maxLength,
|
||||
helpers,
|
||||
email,
|
||||
sameAs,
|
||||
requiredIf,
|
||||
} from '@vuelidate/validators'
|
||||
import { email, helpers, maxLength, minLength, required, requiredIf, sameAs, url } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { useCustomerStore } from '@/scripts/admin/stores/customer'
|
||||
import { useCustomFieldStore } from '@/scripts/admin/stores/custom-field'
|
||||
|
||||
@@ -195,7 +195,7 @@
|
||||
<script setup>
|
||||
import { debouncedWatch } from '@vueuse/core'
|
||||
import moment from 'moment'
|
||||
import { reactive, ref, inject, computed, onUnmounted } from 'vue'
|
||||
import { computed, onUnmounted, reactive, ref } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useCustomerStore } from '@/scripts/admin/stores/customer'
|
||||
import { useDialogStore } from '@/scripts/stores/dialog'
|
||||
|
||||
@@ -93,8 +93,8 @@
|
||||
<script setup>
|
||||
import CustomerViewSidebar from './partials/CustomerViewSidebar.vue'
|
||||
import CustomerChart from './partials/CustomerChart.vue'
|
||||
import { ref, computed, inject } from 'vue'
|
||||
import { useRouter, useRoute } from 'vue-router'
|
||||
import { computed, inject, ref } from 'vue'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useCustomerStore } from '@/scripts/admin/stores/customer'
|
||||
import { useDialogStore } from '@/scripts/stores/dialog'
|
||||
|
||||
@@ -123,7 +123,7 @@
|
||||
<script setup>
|
||||
import CustomerInfo from './CustomerInfo.vue'
|
||||
import LineChart from '@/scripts/admin/components/charts/LineChart.vue'
|
||||
import { ref, computed, watch, reactive, inject } from 'vue'
|
||||
import { computed, inject, reactive, ref, watch } from 'vue'
|
||||
import { useCustomerStore } from '@/scripts/admin/stores/customer'
|
||||
import { useRoute } from 'vue-router'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
|
||||
@@ -182,7 +182,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, ref, reactive } from 'vue'
|
||||
import { computed, reactive, ref } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useRoute } from 'vue-router'
|
||||
import { useCustomerStore } from '@/scripts/admin/stores/customer'
|
||||
|
||||
@@ -149,7 +149,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, watch, inject } from 'vue'
|
||||
import { inject, ref, watch } from 'vue'
|
||||
import { useDashboardStore } from '@/scripts/admin/stores/dashboard'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import LineChart from '@/scripts/admin/components/charts/LineChart.vue'
|
||||
|
||||
@@ -238,7 +238,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, onUnmounted, reactive, ref, watch, inject } from 'vue'
|
||||
import { computed, onUnmounted, reactive, ref } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useEstimateStore } from '@/scripts/admin/stores/estimate'
|
||||
@@ -250,7 +250,7 @@ import abilities from '@/scripts/admin/stub/abilities'
|
||||
import ObservatoryIcon from '@/scripts/components/icons/empty/ObservatoryIcon.vue'
|
||||
import EstimateDropDown from '@/scripts/admin/components/dropdowns/EstimateIndexDropdown.vue'
|
||||
import SendEstimateModal from '@/scripts/admin/components/modal-components/SendEstimateModal.vue'
|
||||
import BaseEstimateStatusLabel from "@/scripts/components/base/BaseEstimateStatusLabel.vue";
|
||||
import BaseEstimateStatusLabel from '@/scripts/components/base/BaseEstimateStatusLabel.vue'
|
||||
import BaseFormatMoney from '@/scripts/components/base/BaseFormatMoney.vue'
|
||||
import BaseEstimateStatusBadge from '@/scripts/components/base/BaseEstimateStatusBadge.vue'
|
||||
import BaseText from '@/scripts/components/base/BaseText.vue'
|
||||
|
||||
@@ -137,17 +137,11 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, ref, watch, onMounted } from 'vue'
|
||||
import { computed, ref, watch } from 'vue'
|
||||
import { cloneDeep } from 'lodash'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import {
|
||||
required,
|
||||
maxLength,
|
||||
helpers,
|
||||
requiredIf,
|
||||
decimal,
|
||||
} from '@vuelidate/validators'
|
||||
import { decimal, helpers, maxLength, required, requiredIf } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { useModuleStore } from '@/scripts/admin/stores/module'
|
||||
import { useEstimateStore } from '@/scripts/admin/stores/estimate'
|
||||
|
||||
@@ -282,17 +282,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, onMounted, onBeforeUnmount } from 'vue'
|
||||
import { computed, onBeforeUnmount, ref } from 'vue'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import {
|
||||
required,
|
||||
minValue,
|
||||
maxLength,
|
||||
helpers,
|
||||
requiredIf,
|
||||
decimal,
|
||||
} from '@vuelidate/validators'
|
||||
import { decimal, helpers, maxLength, minValue, required, requiredIf } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { useExpenseStore } from '@/scripts/admin/stores/expense'
|
||||
import { useCategoryStore } from '@/scripts/admin/stores/category'
|
||||
|
||||
@@ -215,7 +215,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, onMounted, computed, reactive, onUnmounted } from 'vue'
|
||||
import { computed, onMounted, onUnmounted, reactive, ref } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useExpenseStore } from '@/scripts/admin/stores/expense'
|
||||
import { useCategoryStore } from '@/scripts/admin/stores/category'
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, onMounted } from 'vue'
|
||||
import { onMounted, ref } from 'vue'
|
||||
import { useInstallationStore } from '@/scripts/admin/stores/installation.js'
|
||||
import BaseIcon from '@/scripts/components/base/BaseIcon.vue'
|
||||
import BaseButton from '@/scripts/components/base/BaseButton.vue'
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, onMounted } from 'vue'
|
||||
import { computed, onMounted, ref } from 'vue'
|
||||
import { useInstallationStore } from '@/scripts/admin/stores/installation.js'
|
||||
import BaseButton from '@/scripts/components/base/BaseButton.vue'
|
||||
import BaseIcon from '@/scripts/components/base/BaseIcon.vue'
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, onMounted } from 'vue'
|
||||
import { onMounted, ref } from 'vue'
|
||||
import { useInstallationStore } from '@/scripts/admin/stores/installation'
|
||||
import { useDialogStore } from '@/scripts/stores/dialog'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { ref, computed } from 'vue'
|
||||
import { computed, ref } from 'vue'
|
||||
import Mysql from './database/MysqlDatabase.vue'
|
||||
import Pgsql from './database/PgsqlDatabase.vue'
|
||||
import Sqlite from './database/SqliteDatabase.vue'
|
||||
|
||||
@@ -43,9 +43,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { required, helpers } from '@vuelidate/validators'
|
||||
import { helpers, required } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { ref, inject, computed, reactive } from 'vue'
|
||||
import { computed, inject, reactive, ref } from 'vue'
|
||||
import { useInstallationStore } from '@/scripts/admin/stores/installation'
|
||||
import { useNotificationStore } from '@/scripts/stores/notification'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
@@ -114,14 +114,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
helpers,
|
||||
required,
|
||||
requiredIf,
|
||||
sameAs,
|
||||
minLength,
|
||||
email,
|
||||
} from '@vuelidate/validators'
|
||||
import { email, helpers, minLength, required, requiredIf, sameAs } from '@vuelidate/validators'
|
||||
import { computed, ref } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useVuelidate } from '@vuelidate/core'
|
||||
|
||||
@@ -162,9 +162,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, onMounted, reactive } from 'vue'
|
||||
import { onMounted, reactive, ref } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { required, maxLength, helpers } from '@vuelidate/validators'
|
||||
import { helpers, maxLength, required } from '@vuelidate/validators'
|
||||
import { useVuelidate } from '@vuelidate/core'
|
||||
import { useGlobalStore } from '@/scripts/admin/stores/global'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
|
||||
@@ -145,8 +145,8 @@
|
||||
|
||||
<script setup>
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { ref, computed, onMounted, reactive } from 'vue'
|
||||
import { required, helpers } from '@vuelidate/validators'
|
||||
import { computed, reactive, ref } from 'vue'
|
||||
import { helpers, required } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import Ls from '@/scripts/services/ls.js'
|
||||
import { useGlobalStore } from '@/scripts/admin/stores/global'
|
||||
|
||||
@@ -106,9 +106,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, onMounted, reactive, inject } from 'vue'
|
||||
import { computed, inject, onMounted, reactive } from 'vue'
|
||||
import { useInstallationStore } from '@/scripts/admin/stores/installation'
|
||||
import { helpers, required, numeric } from '@vuelidate/validators'
|
||||
import { helpers, numeric, required } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import BaseInputGroup from '@/scripts/components/base/BaseInputGroup.vue'
|
||||
|
||||
@@ -126,9 +126,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, onMounted, reactive, inject } from 'vue'
|
||||
import { computed, inject, onMounted, reactive } from 'vue'
|
||||
import { useInstallationStore } from '@/scripts/admin/stores/installation'
|
||||
import { helpers, required, numeric } from '@vuelidate/validators'
|
||||
import { helpers, numeric, required } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import BaseCheckbox from '@/scripts/components/base/BaseCheckbox.vue'
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, onMounted, reactive, inject } from 'vue'
|
||||
import { computed, inject, onMounted, reactive } from 'vue'
|
||||
import { useInstallationStore } from '@/scripts/admin/stores/installation'
|
||||
import { helpers, required } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { required, email, helpers } from '@vuelidate/validators'
|
||||
import { email, helpers, required } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useMailDriverStore } from '@/scripts/admin/stores/mail-driver'
|
||||
|
||||
@@ -145,11 +145,11 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { required, email, helpers } from '@vuelidate/validators'
|
||||
import { email, helpers, required } from '@vuelidate/validators'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { useMailDriverStore } from '@/scripts/admin/stores/mail-driver'
|
||||
import { computed, onMounted, ref } from 'vue'
|
||||
import { computed, ref } from 'vue'
|
||||
import BaseIcon from '@/scripts/components/base/BaseIcon.vue'
|
||||
import BaseButton from '@/scripts/components/base/BaseButton.vue'
|
||||
import BaseInput from '@/scripts/components/base/BaseInput.vue'
|
||||
|
||||
@@ -186,7 +186,7 @@
|
||||
|
||||
<script setup>
|
||||
import { computed, reactive, ref } from 'vue'
|
||||
import { required, email, numeric, helpers } from '@vuelidate/validators'
|
||||
import { email, helpers, numeric, required } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useMailDriverStore } from '@/scripts/admin/stores/mail-driver'
|
||||
|
||||
@@ -171,8 +171,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { reactive, ref, computed } from 'vue'
|
||||
import { required, email, numeric, helpers } from '@vuelidate/validators'
|
||||
import { computed, reactive, ref } from 'vue'
|
||||
import { email, helpers, numeric, required } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useMailDriverStore } from '@/scripts/admin/stores/mail-driver'
|
||||
|
||||
@@ -265,7 +265,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, onUnmounted, reactive, ref, watch, inject } from 'vue'
|
||||
import { computed, inject, onUnmounted, reactive, ref } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useInvoiceStore } from '@/scripts/admin/stores/invoice'
|
||||
@@ -278,7 +278,7 @@ import { debouncedWatch } from '@vueuse/core'
|
||||
import MoonwalkerIcon from '@/scripts/components/icons/empty/MoonwalkerIcon.vue'
|
||||
import InvoiceDropdown from '@/scripts/admin/components/dropdowns/InvoiceIndexDropdown.vue'
|
||||
import SendInvoiceModal from '@/scripts/admin/components/modal-components/SendInvoiceModal.vue'
|
||||
import BaseInvoiceStatusLabel from "@/scripts/components/base/BaseInvoiceStatusLabel.vue";
|
||||
import BaseInvoiceStatusLabel from '@/scripts/components/base/BaseInvoiceStatusLabel.vue'
|
||||
import BasePaidStatusBadge from '@/scripts/components/base/BasePaidStatusBadge.vue'
|
||||
import BaseFormatMoney from '@/scripts/components/base/BaseFormatMoney.vue'
|
||||
import BaseInvoiceStatusBadge from '@/scripts/components/base/BaseInvoiceStatusBadge.vue'
|
||||
|
||||
@@ -136,16 +136,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, onMounted, ref, watch } from 'vue'
|
||||
import { computed, ref, watch } from 'vue'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import {
|
||||
required,
|
||||
maxLength,
|
||||
helpers,
|
||||
requiredIf,
|
||||
decimal,
|
||||
} from '@vuelidate/validators'
|
||||
import { decimal, helpers, maxLength, required, requiredIf } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { cloneDeep } from 'lodash'
|
||||
|
||||
|
||||
@@ -134,16 +134,9 @@
|
||||
|
||||
<script setup>
|
||||
import { computed, ref } from 'vue'
|
||||
import { useRouter, useRoute } from 'vue-router'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import {
|
||||
required,
|
||||
minLength,
|
||||
numeric,
|
||||
minValue,
|
||||
maxLength,
|
||||
helpers,
|
||||
} from '@vuelidate/validators'
|
||||
import { helpers, maxLength, minLength, required } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { useItemStore } from '@/scripts/admin/stores/item'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
|
||||
@@ -189,7 +189,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, inject, onMounted, reactive, onUnmounted } from 'vue'
|
||||
import { computed, inject, onUnmounted, reactive, ref } from 'vue'
|
||||
import { debouncedWatch } from '@vueuse/core'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useItemStore } from '@/scripts/admin/stores/item'
|
||||
|
||||
@@ -114,14 +114,8 @@
|
||||
<script setup>
|
||||
import { useModuleStore } from '@/scripts/admin/stores/module'
|
||||
import { useGlobalStore } from '@/scripts/admin/stores/global'
|
||||
import { computed, onMounted, reactive, ref, watchEffect } from 'vue'
|
||||
import {
|
||||
required,
|
||||
minLength,
|
||||
maxLength,
|
||||
helpers,
|
||||
requiredUnless,
|
||||
} from '@vuelidate/validators'
|
||||
import { computed, ref } from 'vue'
|
||||
import { helpers, minLength, required } from '@vuelidate/validators'
|
||||
import ModuleCard from './partials/ModuleCard.vue'
|
||||
import ModuleCardPlaceholder from './partials/ModuleCardPlaceholder.vue'
|
||||
import { useVuelidate } from '@vuelidate/core'
|
||||
|
||||
@@ -658,17 +658,19 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { Tab, TabGroup, TabList, TabPanel, TabPanels } from '@headlessui/vue'
|
||||
import {
|
||||
RadioGroup,
|
||||
RadioGroupDescription,
|
||||
RadioGroupLabel,
|
||||
RadioGroupOption,
|
||||
Tab,
|
||||
TabGroup,
|
||||
TabList,
|
||||
TabPanel,
|
||||
TabPanels
|
||||
} from '@headlessui/vue'
|
||||
import { useModuleStore } from '@/scripts/admin/stores/module'
|
||||
import { computed, onMounted, ref, watch, reactive } from 'vue'
|
||||
import { required, minLength, maxLength, helpers } from '@vuelidate/validators'
|
||||
import { useVuelidate } from '@vuelidate/core'
|
||||
import { computed, reactive, ref, watch } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
import { useDialogStore } from '@/scripts/stores/dialog'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
@@ -684,6 +686,7 @@ import BaseBreadcrumbItem from '@/scripts/components/base/BaseBreadcrumbItem.vue
|
||||
import BaseBreadcrumb from '@/scripts/components/base/BaseBreadcrumb.vue'
|
||||
import BasePageHeader from '@/scripts/components/base/BasePageHeader.vue'
|
||||
import BasePage from '@/scripts/components/base/BasePage.vue'
|
||||
|
||||
const globalStore = useGlobalStore()
|
||||
|
||||
const moduleStore = useModuleStore()
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
|
||||
<script setup>
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { computed, onMounted, ref, watch, reactive } from 'vue'
|
||||
import { computed } from 'vue'
|
||||
import BaseText from '@/scripts/components/base/BaseText.vue'
|
||||
|
||||
const { t } = useI18n()
|
||||
|
||||
@@ -253,24 +253,10 @@
|
||||
<script setup>
|
||||
import ExchangeRateConverter from '@/scripts/admin/components/estimate-invoice-common/ExchangeRateConverter.vue'
|
||||
|
||||
import {
|
||||
ref,
|
||||
reactive,
|
||||
computed,
|
||||
inject,
|
||||
watchEffect,
|
||||
onBeforeUnmount,
|
||||
} from 'vue'
|
||||
import { computed, inject, onBeforeUnmount, reactive, ref, watchEffect } from 'vue'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import {
|
||||
required,
|
||||
numeric,
|
||||
helpers,
|
||||
between,
|
||||
requiredIf,
|
||||
decimal,
|
||||
} from '@vuelidate/validators'
|
||||
import { between, decimal, helpers, required, requiredIf } from '@vuelidate/validators'
|
||||
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { useCustomerStore } from '@/scripts/admin/stores/customer'
|
||||
|
||||
@@ -202,7 +202,7 @@
|
||||
<script setup>
|
||||
import { debouncedWatch } from '@vueuse/core'
|
||||
|
||||
import { ref, reactive, computed, onUnmounted } from 'vue'
|
||||
import { computed, onUnmounted, reactive, ref } from 'vue'
|
||||
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useDialogStore } from '@/scripts/stores/dialog'
|
||||
|
||||
@@ -250,7 +250,7 @@
|
||||
<script setup>
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { debounce } from 'lodash'
|
||||
import { ref, reactive, computed, watch } from 'vue'
|
||||
import { computed, reactive, ref, watch } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
import moment from 'moment'
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, onMounted, watch, reactive } from 'vue'
|
||||
import { computed, onMounted, reactive, ref, watch } from 'vue'
|
||||
import moment from 'moment'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
@@ -99,6 +99,7 @@ import BaseButton from '@/scripts/components/base/BaseButton.vue'
|
||||
import BaseDatePicker from '@/scripts/components/base/BaseDatePicker.vue'
|
||||
import BaseInputGroup from '@/scripts/components/base/BaseInputGroup.vue'
|
||||
import BaseMultiselect from '@/scripts/components/base-select/BaseMultiselect.vue'
|
||||
|
||||
const globalStore = useGlobalStore()
|
||||
const companyStore = useCompanyStore()
|
||||
const { t } = useI18n()
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, onMounted, watch, reactive } from 'vue'
|
||||
import { computed, onMounted, reactive, ref, watch } from 'vue'
|
||||
import moment from 'moment'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
@@ -97,6 +97,7 @@ import BaseButton from '@/scripts/components/base/BaseButton.vue'
|
||||
import BaseDatePicker from '@/scripts/components/base/BaseDatePicker.vue'
|
||||
import BaseInputGroup from '@/scripts/components/base/BaseInputGroup.vue'
|
||||
import BaseMultiselect from '@/scripts/components/base-select/BaseMultiselect.vue'
|
||||
|
||||
const globalStore = useGlobalStore()
|
||||
const companyStore = useCompanyStore()
|
||||
const { t } = useI18n()
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, onMounted, watch, reactive } from 'vue'
|
||||
import { computed, onMounted, reactive, ref, watch } from 'vue'
|
||||
import moment from 'moment'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, onMounted, watch, reactive } from 'vue'
|
||||
import { computed, onMounted, reactive, ref, watch } from 'vue'
|
||||
import moment from 'moment'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
@@ -96,6 +96,7 @@ import BaseButton from '@/scripts/components/base/BaseButton.vue'
|
||||
import BaseDatePicker from '@/scripts/components/base/BaseDatePicker.vue'
|
||||
import BaseInputGroup from '@/scripts/components/base/BaseInputGroup.vue'
|
||||
import BaseMultiselect from '@/scripts/components/base-select/BaseMultiselect.vue'
|
||||
|
||||
const globalStore = useGlobalStore()
|
||||
|
||||
globalStore.downloadReport = downloadReport
|
||||
|
||||
@@ -50,7 +50,6 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue'
|
||||
import SalesReport from '../SalesReports.vue'
|
||||
import ExpenseReport from '../ExpensesReport.vue'
|
||||
import ProfitLossReport from '../ProfitLossReport.vue'
|
||||
|
||||
@@ -97,17 +97,11 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, reactive } from 'vue'
|
||||
import { computed, reactive, ref } from 'vue'
|
||||
import { useGlobalStore } from '@/scripts/admin/stores/global'
|
||||
import { useUserStore } from '@/scripts/admin/stores/user'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import {
|
||||
helpers,
|
||||
sameAs,
|
||||
email,
|
||||
required,
|
||||
minLength,
|
||||
} from '@vuelidate/validators'
|
||||
import { email, helpers, minLength, required, sameAs } from '@vuelidate/validators'
|
||||
import { useVuelidate } from '@vuelidate/core'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import BaseIcon from '@/scripts/components/base/BaseIcon.vue'
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
|
||||
<script setup>
|
||||
import { useBackupStore } from '@/scripts/admin/stores/backup'
|
||||
import { computed, ref, reactive, onMounted } from 'vue'
|
||||
import { computed, reactive, ref } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useDiskStore } from '@/scripts/admin/stores/disk'
|
||||
import { useDialogStore } from '@/scripts/stores/dialog'
|
||||
|
||||
@@ -134,11 +134,11 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { reactive, ref, inject, computed } from 'vue'
|
||||
import { computed, inject, reactive, ref } from 'vue'
|
||||
import { useGlobalStore } from '@/scripts/admin/stores/global'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { required, minLength, helpers } from '@vuelidate/validators'
|
||||
import { helpers, minLength, required } from '@vuelidate/validators'
|
||||
import { useVuelidate } from '@vuelidate/core'
|
||||
import { useModalStore } from '@/scripts/stores/modal'
|
||||
import DeleteCompanyModal from '@/scripts/admin/components/modal-components/DeleteCompanyModal.vue'
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, ref, inject } from 'vue'
|
||||
import { computed, inject, ref } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useModalStore } from '@/scripts/stores/modal'
|
||||
import { useCustomFieldStore } from '@/scripts/admin/stores/custom-field'
|
||||
|
||||
@@ -71,16 +71,10 @@ import { useExchangeRateStore } from '@/scripts/admin/stores/exchange-rate'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import { useModalStore } from '@/scripts/stores/modal'
|
||||
import { useDialogStore } from '@/scripts/stores/dialog'
|
||||
import { SaveIcon } from '@heroicons/vue/outline'
|
||||
import { ref, computed, inject, reactive } from 'vue'
|
||||
import { DotsHorizontalIcon, PencilIcon, PlusIcon, TrashIcon } from '@heroicons/vue/outline'
|
||||
import { computed, inject, reactive, ref } from 'vue'
|
||||
import ExchangeRateProviderModal from '@/scripts/admin/components/modal-components/ExchangeRateProviderModal.vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import {
|
||||
PlusIcon,
|
||||
DotsHorizontalIcon,
|
||||
PencilIcon,
|
||||
TrashIcon,
|
||||
} from '@heroicons/vue/outline'
|
||||
import BaseTable from '@/scripts/components/base/base-table/BaseTable.vue'
|
||||
import BaseDropdownItem from '@/scripts/components/base/BaseDropdownItem.vue'
|
||||
import BaseDropdown from '@/scripts/components/base/BaseDropdown.vue'
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
import { useDialogStore } from '@/scripts/stores/dialog'
|
||||
import { useCategoryStore } from '@/scripts/admin/stores/category'
|
||||
import { useModalStore } from '@/scripts/stores/modal'
|
||||
import { ref, computed } from 'vue'
|
||||
import { computed, ref } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import ExpenseCategoryDropdown from '@/scripts/admin/components/dropdowns/ExpenseCategoryIndexDropdown.vue'
|
||||
import CategoryModal from '@/scripts/admin/components/modal-components/CategoryModal.vue'
|
||||
|
||||
@@ -87,7 +87,7 @@ import { useDiskStore } from '@/scripts/admin/stores/disk'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import { useDialogStore } from '@/scripts/stores/dialog'
|
||||
import { useModalStore } from '@/scripts/stores/modal'
|
||||
import { ref, computed, reactive, onMounted, inject } from 'vue'
|
||||
import { computed, inject, reactive, ref } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import FileDiskModal from '@/scripts/admin/components/modal-components/FileDiskModal.vue'
|
||||
import BaseSwitchSection from '@/scripts/components/base/BaseSwitchSection.vue'
|
||||
|
||||
@@ -34,7 +34,7 @@ import Smtp from '@/scripts/admin/views/settings/mail-driver/SmtpMailDriver.vue'
|
||||
import Mailgun from '@/scripts/admin/views/settings/mail-driver/MailgunMailDriver.vue'
|
||||
import Ses from '@/scripts/admin/views/settings/mail-driver/SesMailDriver.vue'
|
||||
import Basic from '@/scripts/admin/views/settings/mail-driver/BasicMailDriver.vue'
|
||||
import { ref, computed } from 'vue'
|
||||
import { computed, ref } from 'vue'
|
||||
import { useMailDriverStore } from '@/scripts/admin/stores/mail-driver'
|
||||
import { useModalStore } from '@/scripts/stores/modal'
|
||||
import MailTestModal from '@/scripts/admin/components/modal-components/MailTestModal.vue'
|
||||
|
||||
@@ -61,9 +61,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, onMounted, computed, reactive } from 'vue'
|
||||
import { computed, reactive, ref } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { required, email, helpers } from '@vuelidate/validators'
|
||||
import { email, helpers, required } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import BaseSwitchSection from '@/scripts/components/base/BaseSwitchSection.vue'
|
||||
|
||||
@@ -202,11 +202,11 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, watch, reactive } from 'vue'
|
||||
import { computed, reactive, ref, watch } from 'vue'
|
||||
import { useGlobalStore } from '@/scripts/admin/stores/global'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { required, helpers } from '@vuelidate/validators'
|
||||
import { helpers, required } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import BaseSwitchSection from '@/scripts/components/base/BaseSwitchSection.vue'
|
||||
import BaseDivider from '@/scripts/components/base/BaseDivider.vue'
|
||||
|
||||
@@ -48,7 +48,6 @@ import { useModalStore } from '@/scripts/stores/modal'
|
||||
import { useUserStore } from '@/scripts/admin/stores/user'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import RolesModal from '@/scripts/admin/components/modal-components/RolesModal.vue'
|
||||
import abilities from '@/scripts/admin/stub/abilities'
|
||||
import BaseTable from '@/scripts/components/base/base-table/BaseTable.vue'
|
||||
import BaseIcon from '@/scripts/components/base/BaseIcon.vue'
|
||||
import BaseButton from '@/scripts/components/base/BaseButton.vue'
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, watchEffect, computed } from 'vue'
|
||||
import { computed, ref, watchEffect } from 'vue'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useGlobalStore } from '@/scripts/admin/stores/global'
|
||||
import BaseList from '@/scripts/components/list/BaseList.vue'
|
||||
@@ -63,6 +63,7 @@ import BaseBreadcrumbItem from '@/scripts/components/base/BaseBreadcrumbItem.vue
|
||||
import BaseBreadcrumb from '@/scripts/components/base/BaseBreadcrumb.vue'
|
||||
import BasePageHeader from '@/scripts/components/base/BasePageHeader.vue'
|
||||
import BasePage from '@/scripts/components/base/BasePage.vue'
|
||||
|
||||
const { t } = useI18n()
|
||||
|
||||
let currentSetting = ref({})
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<script setup>
|
||||
import { useTaxTypeStore } from '@/scripts/admin/stores/tax-type'
|
||||
import { useModalStore } from '@/scripts/stores/modal'
|
||||
import { computed, reactive, ref, inject } from 'vue'
|
||||
import { computed, inject, ref } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import { useUserStore } from '@/scripts/admin/stores/user'
|
||||
|
||||
@@ -204,13 +204,13 @@
|
||||
import { useNotificationStore } from '@/scripts/stores/notification'
|
||||
import axios from 'axios'
|
||||
import LoadingIcon from '@/scripts/components/icons/LoadingIcon.vue'
|
||||
import { reactive, ref, onMounted, computed } from 'vue'
|
||||
import { computed, reactive, ref } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { handleError } from '@/scripts/helpers/error-handling'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import { useExchangeRateStore } from '@/scripts/admin/stores/exchange-rate'
|
||||
import { useDialogStore } from '@/scripts/stores/dialog'
|
||||
import BaseCheckbox from "@/scripts/components/base/BaseCheckbox.vue";
|
||||
import BaseCheckbox from '@/scripts/components/base/BaseCheckbox.vue'
|
||||
import BaseButton from '@/scripts/components/base/BaseButton.vue'
|
||||
import BaseIcon from '@/scripts/components/base/BaseIcon.vue'
|
||||
import BaseHeading from '@/scripts/components/base/BaseHeading.vue'
|
||||
|
||||
@@ -196,7 +196,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, reactive, watch } from 'vue'
|
||||
import { computed, ref, watch } from 'vue'
|
||||
import { useDebounceFn } from '@vueuse/core'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import draggable from 'vuedraggable'
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, reactive, inject } from 'vue'
|
||||
import { computed, inject, reactive } from 'vue'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
|
||||
import EstimatesTabEstimateNumber from './EstimatesTabEstimateNumber.vue'
|
||||
|
||||
@@ -40,9 +40,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { reactive, computed, ref, inject } from 'vue'
|
||||
import { computed, inject, reactive } from 'vue'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import { required, helpers } from '@vuelidate/validators'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useGlobalStore } from '@/scripts/admin/stores/global'
|
||||
import BaseRadio from '@/scripts/components/base/BaseRadio.vue'
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, inject } from 'vue'
|
||||
import { inject, reactive, ref } from 'vue'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import BaseIcon from '@/scripts/components/base/BaseIcon.vue'
|
||||
import BaseButton from '@/scripts/components/base/BaseButton.vue'
|
||||
|
||||
@@ -54,10 +54,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, onMounted, reactive, inject } from 'vue'
|
||||
import { computed, inject, reactive, ref } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import { numeric, helpers, requiredIf } from '@vuelidate/validators'
|
||||
import { helpers, numeric, requiredIf } from '@vuelidate/validators'
|
||||
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import BaseIcon from '@/scripts/components/base/BaseIcon.vue'
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, reactive, inject } from 'vue'
|
||||
import { computed, inject, reactive } from 'vue'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import InvoicesTabInvoiceNumber from './InvoicesTabInvoiceNumber.vue'
|
||||
import InvoicesTabRetrospective from './InvoicesTabRetrospective.vue'
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, inject } from 'vue'
|
||||
import { inject, reactive, ref } from 'vue'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import BaseIcon from '@/scripts/components/base/BaseIcon.vue'
|
||||
import BaseButton from '@/scripts/components/base/BaseButton.vue'
|
||||
|
||||
@@ -52,10 +52,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, onMounted, reactive, inject } from 'vue'
|
||||
import { computed, inject, reactive, ref } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import { numeric, helpers, requiredIf } from '@vuelidate/validators'
|
||||
import { helpers, numeric, requiredIf } from '@vuelidate/validators'
|
||||
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import BaseIcon from '@/scripts/components/base/BaseIcon.vue'
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { reactive, computed, ref, inject } from 'vue'
|
||||
import { computed, inject, reactive } from 'vue'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useGlobalStore } from '@/scripts/admin/stores/global'
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, reactive, inject } from 'vue'
|
||||
import { computed, inject, reactive } from 'vue'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import PaymentsTabPaymentNumber from './PaymentsTabPaymentNumber.vue'
|
||||
import PaymentsTabDefaultFormats from './PaymentsTabDefaultFormats.vue'
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, inject } from 'vue'
|
||||
import { inject, reactive, ref } from 'vue'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import BaseIcon from '@/scripts/components/base/BaseIcon.vue'
|
||||
import BaseButton from '@/scripts/components/base/BaseButton.vue'
|
||||
|
||||
@@ -77,8 +77,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { onMounted, computed } from 'vue'
|
||||
import { required, email, helpers } from '@vuelidate/validators'
|
||||
import { computed, onMounted } from 'vue'
|
||||
import { email, helpers, required } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useMailDriverStore } from '@/scripts/admin/stores/mail-driver'
|
||||
|
||||
@@ -143,8 +143,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { onMounted, ref, computed } from 'vue'
|
||||
import { required, email, helpers } from '@vuelidate/validators'
|
||||
import { computed, onMounted, ref } from 'vue'
|
||||
import { email, helpers, required } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useMailDriverStore } from '@/scripts/admin/stores/mail-driver'
|
||||
|
||||
@@ -183,7 +183,7 @@
|
||||
|
||||
<script setup>
|
||||
import { computed, onMounted, reactive, ref } from 'vue'
|
||||
import { required, email, numeric, helpers } from '@vuelidate/validators'
|
||||
import { email, helpers, numeric, required } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useMailDriverStore } from '@/scripts/admin/stores/mail-driver'
|
||||
|
||||
@@ -169,8 +169,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { reactive, onMounted, ref, computed } from 'vue'
|
||||
import { required, email, numeric, helpers } from '@vuelidate/validators'
|
||||
import { computed, onMounted, reactive, ref } from 'vue'
|
||||
import { email, helpers, numeric, required } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useMailDriverStore } from '@/scripts/admin/stores/mail-driver'
|
||||
|
||||
@@ -162,16 +162,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, reactive } from 'vue'
|
||||
import { useRouter, useRoute } from 'vue-router'
|
||||
import { computed, ref } from 'vue'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import {
|
||||
required,
|
||||
minLength,
|
||||
email,
|
||||
requiredIf,
|
||||
helpers,
|
||||
} from '@vuelidate/validators'
|
||||
import { email, helpers, minLength, required, requiredIf } from '@vuelidate/validators'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { ValidateEach } from '@vuelidate/components'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
@@ -185,7 +185,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, onUnmounted, ref, reactive, onMounted, watch } from 'vue'
|
||||
import { computed, onMounted, onUnmounted, reactive, ref, watch } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { useUsersStore } from '@/scripts/admin/stores/users'
|
||||
@@ -194,7 +194,6 @@ import { useDialogStore } from '@/scripts/stores/dialog'
|
||||
import { useUserStore } from '@/scripts/admin/stores/user'
|
||||
import AstronautIcon from '@/scripts/components/icons/empty/AstronautIcon.vue'
|
||||
import UserDropdown from '@/scripts/admin/components/dropdowns/UserIndexDropdown.vue'
|
||||
import abilities from '@/scripts/admin/stub/abilities'
|
||||
import BaseCheckbox from '@/scripts/components/base/BaseCheckbox.vue'
|
||||
import BaseTable from '@/scripts/components/base/base-table/BaseTable.vue'
|
||||
import BaseIcon from '@/scripts/components/base/BaseIcon.vue'
|
||||
|
||||
Reference in New Issue
Block a user