fix: remove redundant aliases
This commit is contained in:
@@ -62,7 +62,7 @@ const props = defineProps({
|
|||||||
title: String,
|
title: String,
|
||||||
});
|
});
|
||||||
|
|
||||||
const componentFiles = import.meta.glob("@/components/**/*.vue");
|
const componentFiles = import.meta.glob("~/components/**/*.vue");
|
||||||
const resolvedComponent = shallowRef(null);
|
const resolvedComponent = shallowRef(null);
|
||||||
|
|
||||||
function loadDynamicComponent() {
|
function loadDynamicComponent() {
|
||||||
|
|||||||
@@ -136,7 +136,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import ScrollBox from "@/components/datatable/ScrollBox.vue";
|
import ScrollBox from "~/components/datatable/ScrollBox.vue";
|
||||||
import { debounce } from "es-toolkit";
|
import { debounce } from "es-toolkit";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|||||||
@@ -121,7 +121,7 @@
|
|||||||
</nav>
|
</nav>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import Avatarbox from "@/components/common/Avatarbox.vue";
|
import Avatarbox from "~/components/common/Avatarbox.vue";
|
||||||
import { watch } from "vue";
|
import { watch } from "vue";
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref, computed, watch, onMounted, onBeforeUnmount } from "vue";
|
import { ref, computed, watch, onMounted, onBeforeUnmount } from "vue";
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
dateValue: {
|
dateValue: {
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import { computed } from "vue";
|
import { computed } from "vue";
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
|
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
const isVietnamese = computed(() => store.lang === "vi");
|
const isVietnamese = computed(() => store.lang === "vi");
|
||||||
|
|||||||
@@ -199,7 +199,7 @@
|
|||||||
import InputPhone from "~/components/common/InputPhone";
|
import InputPhone from "~/components/common/InputPhone";
|
||||||
import InputEmail from "~/components/common/InputEmail";
|
import InputEmail from "~/components/common/InputEmail";
|
||||||
import SearchBox from "~/components/SearchBox";
|
import SearchBox from "~/components/SearchBox";
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
var props = defineProps({
|
var props = defineProps({
|
||||||
pagename: String,
|
pagename: String,
|
||||||
row: Object,
|
row: Object,
|
||||||
|
|||||||
@@ -73,8 +73,8 @@ import { useNuxtApp } from "#app";
|
|||||||
import CustomerForm from "~/components/customer/CustomerForm.vue";
|
import CustomerForm from "~/components/customer/CustomerForm.vue";
|
||||||
import CustomerView from "~/components/customer/CustomerView.vue";
|
import CustomerView from "~/components/customer/CustomerView.vue";
|
||||||
import Modal from "~/components/Modal.vue";
|
import Modal from "~/components/Modal.vue";
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
import ImageGallery from "@/components/media/ImageGallery.vue";
|
import ImageGallery from "~/components/media/ImageGallery.vue";
|
||||||
const nuxtApp = useNuxtApp();
|
const nuxtApp = useNuxtApp();
|
||||||
const { $dialog } = nuxtApp;
|
const { $dialog } = nuxtApp;
|
||||||
|
|
||||||
|
|||||||
@@ -394,11 +394,11 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { ref, computed, onMounted, watch } from "vue";
|
import { ref, computed, onMounted, watch } from "vue";
|
||||||
import { useNuxtApp } from "#app";
|
import { useNuxtApp } from "#app";
|
||||||
import InputPhone from "@/components/common/InputPhone";
|
import InputPhone from "~/components/common/InputPhone";
|
||||||
import InputEmail from "@/components/common/InputEmail";
|
import InputEmail from "~/components/common/InputEmail";
|
||||||
import SearchBox from "@/components/SearchBox";
|
import SearchBox from "~/components/SearchBox";
|
||||||
import Datepicker from "@/components/datepicker/Datepicker";
|
import Datepicker from "~/components/datepicker/Datepicker";
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
import { isEqual, pick } from "es-toolkit";
|
import { isEqual, pick } from "es-toolkit";
|
||||||
|
|
||||||
const emit = defineEmits(["close", "update", "modalevent"]);
|
const emit = defineEmits(["close", "update", "modalevent"]);
|
||||||
|
|||||||
@@ -96,8 +96,8 @@
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref, computed } from "vue";
|
import { ref, computed } from "vue";
|
||||||
import InputPhone from "@/components/common/InputPhone.vue";
|
import InputPhone from "~/components/common/InputPhone.vue";
|
||||||
import InputEmail from "@/components/common/InputEmail.vue";
|
import InputEmail from "~/components/common/InputEmail.vue";
|
||||||
import { useStore } from "~/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
import { isNotNil, pickBy } from "es-toolkit";
|
import { isNotNil, pickBy } from "es-toolkit";
|
||||||
|
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { computed } from "vue";
|
import { computed } from "vue";
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
|
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
const lang = computed(() => store.lang);
|
const lang = computed(() => store.lang);
|
||||||
|
|||||||
@@ -296,7 +296,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
export default {
|
export default {
|
||||||
setup() {
|
setup() {
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import DashboardHighlightCard from "@/components/dashboard/DashboardHighlightCard.vue";
|
import DashboardHighlightCard from "~/components/dashboard/DashboardHighlightCard.vue";
|
||||||
import Delivery from "@/components/dashboard/Delivery.vue";
|
import Delivery from "~/components/dashboard/Delivery.vue";
|
||||||
import OrderStatus from "@/components/dashboard/OrderStatus.vue";
|
import OrderStatus from "~/components/dashboard/OrderStatus.vue";
|
||||||
import RevenueChart from "@/components/dashboard/RevenueChart.vue";
|
import RevenueChart from "~/components/dashboard/RevenueChart.vue";
|
||||||
import TopCustomers from "@/components/dashboard/TopCustomers.vue";
|
import TopCustomers from "~/components/dashboard/TopCustomers.vue";
|
||||||
import TopProducts from "@/components/dashboard/TopProducts.vue";
|
import TopProducts from "~/components/dashboard/TopProducts.vue";
|
||||||
import Warnings from "@/components/dashboard/Warnings.vue";
|
import Warnings from "~/components/dashboard/Warnings.vue";
|
||||||
|
|
||||||
const highlights = [
|
const highlights = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import DeliveryInteractive from "@/components/dashboard/DeliveryInteractive.vue";
|
import DeliveryInteractive from "~/components/dashboard/DeliveryInteractive.vue";
|
||||||
import Driver from "@/components/dashboard/Driver.vue";
|
import Driver from "~/components/dashboard/Driver.vue";
|
||||||
|
|
||||||
const drivers = [
|
const drivers = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import AvatarBox from "@/components/dashboard/AvatarBox.vue";
|
import AvatarBox from "~/components/dashboard/AvatarBox.vue";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
name: String,
|
name: String,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import OrderStatusCard from "@/components/dashboard/OrderStatusCard.vue";
|
import OrderStatusCard from "~/components/dashboard/OrderStatusCard.vue";
|
||||||
|
|
||||||
const statuses = [
|
const statuses = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import AvatarBox from "@/components/dashboard/AvatarBox.vue";
|
import AvatarBox from "~/components/dashboard/AvatarBox.vue";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
name: String,
|
name: String,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import TopCustomer from "@/components/dashboard/TopCustomer.vue";
|
import TopCustomer from "~/components/dashboard/TopCustomer.vue";
|
||||||
|
|
||||||
const customers = [
|
const customers = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import TopProduct from "@/components/dashboard/TopProduct.vue";
|
import TopProduct from "~/components/dashboard/TopProduct.vue";
|
||||||
|
|
||||||
const products = [
|
const products = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import Warning from "@/components/dashboard/Warning.vue";
|
import Warning from "~/components/dashboard/Warning.vue";
|
||||||
|
|
||||||
const warnings = [
|
const warnings = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -427,8 +427,8 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
import ScrollBox from "@/components/datatable/ScrollBox.vue";
|
import ScrollBox from "~/components/datatable/ScrollBox.vue";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
pagename: String,
|
pagename: String,
|
||||||
|
|||||||
@@ -445,7 +445,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref } from "vue";
|
import { ref } from "vue";
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
const { $id, $copy, $empty, $stripHtml, $calc, $remove, $copyToClipboard } = useNuxtApp();
|
const { $id, $copy, $empty, $stripHtml, $calc, $remove, $copyToClipboard } = useNuxtApp();
|
||||||
var props = defineProps({
|
var props = defineProps({
|
||||||
|
|||||||
@@ -171,7 +171,7 @@
|
|||||||
></Modal>
|
></Modal>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
const {
|
const {
|
||||||
$getdata,
|
$getdata,
|
||||||
$getapi,
|
$getapi,
|
||||||
|
|||||||
@@ -230,9 +230,9 @@
|
|||||||
</CreateTemplate>
|
</CreateTemplate>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
// FilterOption: () => import("@/components/datatable/FilterOption"),
|
// FilterOption: () => import("~/components/datatable/FilterOption"),
|
||||||
// TableOption: () => import("@/components/datatable/TableOption"),
|
// TableOption: () => import("~/components/datatable/TableOption"),
|
||||||
// CreateTemplate: () => import("@/components/datatable/CreateTemplate")
|
// CreateTemplate: () => import("~/components/datatable/CreateTemplate")
|
||||||
import CreateTemplate from "~/components/datatable/CreateTemplate";
|
import CreateTemplate from "~/components/datatable/CreateTemplate";
|
||||||
const { $id, $copy, $empty, $stripHtml } = useNuxtApp();
|
const { $id, $copy, $empty, $stripHtml } = useNuxtApp();
|
||||||
var props = defineProps({
|
var props = defineProps({
|
||||||
|
|||||||
@@ -109,7 +109,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref } from "vue";
|
import { ref } from "vue";
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
|
|
||||||
const emit = defineEmits(["modalevent", "close"]);
|
const emit = defineEmits(["modalevent", "close"]);
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
|
|||||||
@@ -111,7 +111,7 @@
|
|||||||
></Modal>
|
></Modal>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
var props = defineProps({
|
var props = defineProps({
|
||||||
data: Array,
|
data: Array,
|
||||||
info: Object,
|
info: Object,
|
||||||
|
|||||||
@@ -257,7 +257,7 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
const emit = defineEmits(["modalevent"]);
|
const emit = defineEmits(["modalevent"]);
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
const { $id, $copy, $clone, $empty, $stripHtml, $createField, $calc, $isNumber } = useNuxtApp();
|
const { $id, $copy, $clone, $empty, $stripHtml, $createField, $calc, $isNumber } = useNuxtApp();
|
||||||
|
|||||||
@@ -77,7 +77,7 @@
|
|||||||
></Modal>
|
></Modal>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
const emit = defineEmits(["close"]);
|
const emit = defineEmits(["close"]);
|
||||||
const { $stripHtml, $clone, $arrayMove, $remove } = useNuxtApp();
|
const { $stripHtml, $clone, $arrayMove, $remove } = useNuxtApp();
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
|
|||||||
@@ -163,7 +163,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
setup() {
|
setup() {
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import PickDay from "@/components/datepicker/PickDay.vue";
|
import PickDay from "~/components/datepicker/PickDay.vue";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
record: Object,
|
record: Object,
|
||||||
|
|||||||
@@ -18,11 +18,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import EventSummary from "@/components/datepicker/EventSummary";
|
import EventSummary from "~/components/datepicker/EventSummary";
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
EventSummary,
|
EventSummary,
|
||||||
//EventSummary: () => import('@/components/datepicker/EventSummary')
|
//EventSummary: () => import('~/components/datepicker/EventSummary')
|
||||||
},
|
},
|
||||||
props: ["events", "months"],
|
props: ["events", "months"],
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -26,8 +26,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import EventSummary from "@/components/datepicker/EventSummary";
|
import EventSummary from "~/components/datepicker/EventSummary";
|
||||||
import EventDetail from "@/components/datepicker/EventDetail";
|
import EventDetail from "~/components/datepicker/EventDetail";
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -111,8 +111,8 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
PickMonth: () => import("@/components/datepicker/PickMonth"),
|
PickMonth: () => import("~/components/datepicker/PickMonth"),
|
||||||
PickYear: () => import("@/components/datepicker/PickYear"),
|
PickYear: () => import("~/components/datepicker/PickYear"),
|
||||||
},
|
},
|
||||||
props: ["date", "events", "mode", "vyear", "vmonth"],
|
props: ["date", "events", "mode", "vyear", "vmonth"],
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@@ -139,8 +139,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import PickMonth from "@/components/datepicker/PickMonth.vue";
|
import PickMonth from "~/components/datepicker/PickMonth.vue";
|
||||||
import PickYear from "@/components/datepicker/PickYear.vue";
|
import PickYear from "~/components/datepicker/PickYear.vue";
|
||||||
|
|
||||||
const { $id, $dayjs, $unique } = useNuxtApp();
|
const { $id, $dayjs, $unique } = useNuxtApp();
|
||||||
const emit = defineEmits(["date"]);
|
const emit = defineEmits(["date"]);
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import CountDown from "@/components/dialog/CountDown.vue";
|
import CountDown from "~/components/dialog/CountDown.vue";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
content: String,
|
content: String,
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import ProductForm from "@/components/imports/ProductForm.vue";
|
import ProductForm from "~/components/imports/ProductForm.vue";
|
||||||
import ProductVariantFormNew from "@/components/imports/ProductVariantFormNew.vue";
|
import ProductVariantFormNew from "~/components/imports/ProductVariantFormNew.vue";
|
||||||
|
|
||||||
const menus = [
|
const menus = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import DataView from "@/components/datatable/DataView.vue";
|
import DataView from "~/components/datatable/DataView.vue";
|
||||||
import ProductVariantForm from "@/components/imports/ProductVariantForm.vue";
|
import ProductVariantForm from "~/components/imports/ProductVariantForm.vue";
|
||||||
const product = ref();
|
const product = ref();
|
||||||
const key = ref(0);
|
const key = ref(0);
|
||||||
watch(product, () => {
|
watch(product, () => {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import Modal from "@/components/Modal.vue";
|
import Modal from "~/components/Modal.vue";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
product: Object,
|
product: Object,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import Modal from "@/components/Modal.vue";
|
import Modal from "~/components/Modal.vue";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
variant: Object,
|
variant: Object,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import ProductForm from "@/components/imports/ProductForm.vue";
|
import ProductForm from "~/components/imports/ProductForm.vue";
|
||||||
import ProductVariantForm from "@/components/imports/ProductVariantForm.vue";
|
import ProductVariantForm from "~/components/imports/ProductVariantForm.vue";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
variant: Object,
|
variant: Object,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import DataView from "@/components/datatable/DataView.vue";
|
import DataView from "~/components/datatable/DataView.vue";
|
||||||
import AddIMEIForm from "@/components/imports/AddIMEIForm.vue";
|
import AddIMEIForm from "~/components/imports/AddIMEIForm.vue";
|
||||||
import ImportData from "@/components/parameter/ImportData.vue";
|
import ImportData from "~/components/parameter/ImportData.vue";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
variant: Object,
|
variant: Object,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import Products from "@/components/imports/Products.vue";
|
import Products from "~/components/imports/Products.vue";
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<div class="fixed-grid has-12-cols">
|
<div class="fixed-grid has-12-cols">
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import InputNumber from "@/components/common/InputNumber.vue";
|
import InputNumber from "~/components/common/InputNumber.vue";
|
||||||
import FileUpload from "@/components/media/FileUpload.vue";
|
import FileUpload from "~/components/media/FileUpload.vue";
|
||||||
import { isEqual, omitBy } from "es-toolkit";
|
import { isEqual, omitBy } from "es-toolkit";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import InputNumber from "@/components/common/InputNumber.vue";
|
import InputNumber from "~/components/common/InputNumber.vue";
|
||||||
import FileUpload from "@/components/media/FileUpload.vue";
|
import FileUpload from "~/components/media/FileUpload.vue";
|
||||||
import { isEqual, omitBy } from "es-toolkit";
|
import { isEqual, omitBy } from "es-toolkit";
|
||||||
|
|
||||||
const emit = defineEmits(["created"]);
|
const emit = defineEmits(["created"]);
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import DataView from "@/components/datatable/DataView.vue";
|
import DataView from "~/components/datatable/DataView.vue";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import InputNumber from "@/components/common/InputNumber.vue";
|
import InputNumber from "~/components/common/InputNumber.vue";
|
||||||
|
|
||||||
const { $empty, $insertapi } = useNuxtApp();
|
const { $empty, $insertapi } = useNuxtApp();
|
||||||
const emit = defineEmits(["modalevent"]);
|
const emit = defineEmits(["modalevent"]);
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import InputNumber from "@/components/common/InputNumber.vue";
|
import InputNumber from "~/components/common/InputNumber.vue";
|
||||||
|
|
||||||
const { $empty, $insertapi } = useNuxtApp();
|
const { $empty, $insertapi } = useNuxtApp();
|
||||||
const emit = defineEmits(["modalevent"]);
|
const emit = defineEmits(["modalevent"]);
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import InputNumber from "@/components/common/InputNumber.vue";
|
import InputNumber from "~/components/common/InputNumber.vue";
|
||||||
|
|
||||||
const { $empty, $insertapi } = useNuxtApp();
|
const { $empty, $insertapi } = useNuxtApp();
|
||||||
const emit = defineEmits(["modalevent"]);
|
const emit = defineEmits(["modalevent"]);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import InventoryHighlightCard from "@/components/inventory/InventoryHighlightCard.vue";
|
import InventoryHighlightCard from "~/components/inventory/InventoryHighlightCard.vue";
|
||||||
import InventoryTable from "@/components/inventory/InventoryTable.vue";
|
import InventoryTable from "~/components/inventory/InventoryTable.vue";
|
||||||
|
|
||||||
const { $store } = useNuxtApp();
|
const { $store } = useNuxtApp();
|
||||||
const inventoryHighlights = [
|
const inventoryHighlights = [
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import InventoryRow from "@/components/inventory/InventoryRow.vue";
|
import InventoryRow from "~/components/inventory/InventoryRow.vue";
|
||||||
import SelectedInvItem from "@/components/inventory/SelectedInvItem.vue";
|
import SelectedInvItem from "~/components/inventory/SelectedInvItem.vue";
|
||||||
|
|
||||||
const invItems = [
|
const invItems = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -187,10 +187,10 @@
|
|||||||
import { useNuxtApp } from "nuxt/app";
|
import { useNuxtApp } from "nuxt/app";
|
||||||
import { ref, computed, onMounted, watch, markRaw } from "vue";
|
import { ref, computed, onMounted, watch, markRaw } from "vue";
|
||||||
import EmailForm1 from "./forms/EmailForm1.vue";
|
import EmailForm1 from "./forms/EmailForm1.vue";
|
||||||
import Template1 from "@/lib/email/templates/Template1.vue";
|
import Template1 from "~/lib/email/templates/Template1.vue";
|
||||||
import Modal from "@/components/Modal.vue";
|
import Modal from "~/components/Modal.vue";
|
||||||
import MappingConfigurator from "@/components/marketing/email/MappingConfigurator.vue";
|
import MappingConfigurator from "~/components/marketing/email/MappingConfigurator.vue";
|
||||||
import JobConfigurator from "@/components/marketing/email/JobConfigurator.vue";
|
import JobConfigurator from "~/components/marketing/email/JobConfigurator.vue";
|
||||||
|
|
||||||
const nuxtApp = useNuxtApp();
|
const nuxtApp = useNuxtApp();
|
||||||
const $snackbar = nuxtApp.$snackbar as (message?: string) => void;
|
const $snackbar = nuxtApp.$snackbar as (message?: string) => void;
|
||||||
|
|||||||
@@ -186,7 +186,7 @@
|
|||||||
import { ref, watch, onMounted } from "vue";
|
import { ref, watch, onMounted } from "vue";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import { useNuxtApp } from "nuxt/app";
|
import { useNuxtApp } from "nuxt/app";
|
||||||
import { apiUrl, putApiUrl } from "@/components/marketing/email/Email.utils";
|
import { apiUrl, putApiUrl } from "~/components/marketing/email/Email.utils";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
templateId: {
|
templateId: {
|
||||||
|
|||||||
@@ -251,7 +251,7 @@
|
|||||||
import { ref, onMounted } from "vue";
|
import { ref, onMounted } from "vue";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import { useNuxtApp } from "nuxt/app";
|
import { useNuxtApp } from "nuxt/app";
|
||||||
import { apiUrl } from "@/components/marketing/email/Email.utils";
|
import { apiUrl } from "~/components/marketing/email/Email.utils";
|
||||||
import type dayjs from "dayjs";
|
import type dayjs from "dayjs";
|
||||||
|
|
||||||
interface EmailSent {
|
interface EmailSent {
|
||||||
|
|||||||
@@ -96,7 +96,7 @@
|
|||||||
import { ref, computed, watch, nextTick } from "vue";
|
import { ref, computed, watch, nextTick } from "vue";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import { useNuxtApp } from "nuxt/app";
|
import { useNuxtApp } from "nuxt/app";
|
||||||
import { apiUrl, putApiUrl } from "@/components/marketing/email/Email.utils";
|
import { apiUrl, putApiUrl } from "~/components/marketing/email/Email.utils";
|
||||||
|
|
||||||
interface DataEmail {
|
interface DataEmail {
|
||||||
id?: number;
|
id?: number;
|
||||||
|
|||||||
@@ -261,10 +261,10 @@ const $getEditRights = nuxtApp.$getEditRights as () => boolean;
|
|||||||
import { ref, watch, nextTick } from "vue";
|
import { ref, watch, nextTick } from "vue";
|
||||||
|
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import Modal from "@/components/Modal.vue";
|
import Modal from "~/components/Modal.vue";
|
||||||
import Template1 from "@/lib/email/templates/Template1.vue";
|
import Template1 from "~/lib/email/templates/Template1.vue";
|
||||||
import SvgIcon from "@/components/SvgIcon.vue";
|
import SvgIcon from "~/components/SvgIcon.vue";
|
||||||
import Editor from "@/components/common/Editor.vue";
|
import Editor from "~/components/common/Editor.vue";
|
||||||
|
|
||||||
const apiUrl = `${$getpath()}data`;
|
const apiUrl = `${$getpath()}data`;
|
||||||
const sendEmailUrl = `${$getpath()}send-email`;
|
const sendEmailUrl = `${$getpath()}send-email`;
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
import { ref, computed } from "vue";
|
import { ref, computed } from "vue";
|
||||||
import { render } from "@vue-email/render";
|
import { render } from "@vue-email/render";
|
||||||
|
|
||||||
import Template1 from "@/lib/email/templates/Template1.vue";
|
import Template1 from "~/lib/email/templates/Template1.vue";
|
||||||
|
|
||||||
const {
|
const {
|
||||||
$insertapi,
|
$insertapi,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import FileActions from "@/components/media/FileActions.vue";
|
import FileActions from "~/components/media/FileActions.vue";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
image: Object,
|
image: Object,
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
setup() {
|
setup() {
|
||||||
|
|||||||
@@ -188,8 +188,8 @@
|
|||||||
import { ref } from "vue";
|
import { ref } from "vue";
|
||||||
import { debounce } from "es-toolkit";
|
import { debounce } from "es-toolkit";
|
||||||
import { useNuxtApp } from "#app";
|
import { useNuxtApp } from "#app";
|
||||||
import FileUpload from "@/components/media/FileUpload.vue";
|
import FileUpload from "~/components/media/FileUpload.vue";
|
||||||
import ImageCard from "@/components/media/ImageCard.vue";
|
import ImageCard from "~/components/media/ImageCard.vue";
|
||||||
|
|
||||||
// pass only projectId for project images, pass both for product images
|
// pass only projectId for project images, pass both for product images
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
export default {
|
export default {
|
||||||
setup() {
|
setup() {
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
const emit = defineEmits(["clickevent"]);
|
const emit = defineEmits(["clickevent"]);
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
const { $getdata } = useNuxtApp();
|
const { $getdata } = useNuxtApp();
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
const emit = defineEmits(["clickevent"]);
|
const emit = defineEmits(["clickevent"]);
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
export default {
|
export default {
|
||||||
setup() {
|
setup() {
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
const emit = defineEmits(["clickevent"]);
|
const emit = defineEmits(["clickevent"]);
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|||||||
@@ -239,7 +239,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
setup() {
|
setup() {
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref, computed, defineAsyncComponent, watch } from "vue";
|
import { ref, computed, defineAsyncComponent, watch } from "vue";
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
import { useNuxtApp } from "#app";
|
import { useNuxtApp } from "#app";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
@@ -69,7 +69,7 @@ const tabsArray = computed(() => {
|
|||||||
return [];
|
return [];
|
||||||
});
|
});
|
||||||
|
|
||||||
const modules = import.meta.glob("@/components/**/*.vue");
|
const modules = import.meta.glob("~/components/**/*.vue");
|
||||||
function getComponent(path) {
|
function getComponent(path) {
|
||||||
if (!path || typeof path !== "string" || !path.includes("/")) return null;
|
if (!path || typeof path !== "string" || !path.includes("/")) return null;
|
||||||
const moduleKey = Object.keys(modules).find((key) => key.endsWith(`${path}.vue`));
|
const moduleKey = Object.keys(modules).find((key) => key.endsWith(`${path}.vue`));
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import PipelinePhase from "@/components/orders/PipelinePhase.vue";
|
import PipelinePhase from "~/components/orders/PipelinePhase.vue";
|
||||||
|
|
||||||
const phases = [
|
const phases = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import OrderHighlightCard from "@/components/orders/OrderHighlightCard.vue";
|
import OrderHighlightCard from "~/components/orders/OrderHighlightCard.vue";
|
||||||
import OrderPipeline from "@/components/orders/OrderPipeline.vue";
|
import OrderPipeline from "~/components/orders/OrderPipeline.vue";
|
||||||
import OrdersTable from "@/components/orders/OrdersTable.vue";
|
import OrdersTable from "~/components/orders/OrdersTable.vue";
|
||||||
|
|
||||||
const { $store } = useNuxtApp();
|
const { $store } = useNuxtApp();
|
||||||
const highlights = [
|
const highlights = [
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import OrderKanbanCard from "@/components/orders/OrderKanbanCard.vue";
|
import OrderKanbanCard from "~/components/orders/OrderKanbanCard.vue";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
orders: Array,
|
orders: Array,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import OrderRow from "@/components/orders/OrderRow.vue";
|
import OrderRow from "~/components/orders/OrderRow.vue";
|
||||||
import SelectedOrder from "@/components/orders/SelectedOrder.vue";
|
import SelectedOrder from "~/components/orders/SelectedOrder.vue";
|
||||||
import { pull } from "es-toolkit";
|
import { pull } from "es-toolkit";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import OrderDeliveryTab from "@/components/orders/OrderDeliveryTab.vue";
|
import OrderDeliveryTab from "~/components/orders/OrderDeliveryTab.vue";
|
||||||
import OrderHistoryTab from "@/components/orders/OrderHistoryTab.vue";
|
import OrderHistoryTab from "~/components/orders/OrderHistoryTab.vue";
|
||||||
import OrderPaymentTab from "@/components/orders/OrderPaymentTab.vue";
|
import OrderPaymentTab from "~/components/orders/OrderPaymentTab.vue";
|
||||||
import OrderProductTab from "@/components/orders/OrderProductTab.vue";
|
import OrderProductTab from "~/components/orders/OrderProductTab.vue";
|
||||||
import OrderReceiptTab from "@/components/orders/OrderReceiptTab.vue";
|
import OrderReceiptTab from "~/components/orders/OrderReceiptTab.vue";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
order: Object,
|
order: Object,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import Modal from "@/components/Modal.vue";
|
import Modal from "~/components/Modal.vue";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
variant: Object,
|
variant: Object,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import AddIMEIForm from "@/components/imports/AddIMEIForm.vue";
|
import AddIMEIForm from "~/components/imports/AddIMEIForm.vue";
|
||||||
import ImportData from "@/components/parameter/ImportData.vue";
|
import ImportData from "~/components/parameter/ImportData.vue";
|
||||||
import { remove } from "es-toolkit";
|
import { remove } from "es-toolkit";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import Address from "@/components/pos/Address.vue";
|
import Address from "~/components/pos/Address.vue";
|
||||||
import ProductCard from "@/components/pos/ProductCard.vue";
|
import ProductCard from "~/components/pos/ProductCard.vue";
|
||||||
import SearchBox from "@/components/SearchBox.vue";
|
import SearchBox from "~/components/SearchBox.vue";
|
||||||
import { isNil } from "es-toolkit";
|
import { isNil } from "es-toolkit";
|
||||||
|
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import DataView from "@/components/datatable/DataView.vue";
|
import DataView from "~/components/datatable/DataView.vue";
|
||||||
|
|
||||||
const filter = ref({});
|
const filter = ref({});
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
import Info from "@/components/snackbar/Info.vue";
|
import Info from "~/components/snackbar/Info.vue";
|
||||||
import Success from "@/components/snackbar/Success.vue";
|
import Success from "~/components/snackbar/Success.vue";
|
||||||
import Error from "@/components/snackbar/Error.vue";
|
import Error from "~/components/snackbar/Error.vue";
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
component: String,
|
component: String,
|
||||||
vbind: Object,
|
vbind: Object,
|
||||||
|
|||||||
@@ -52,10 +52,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import Logout from "@/components/user/Logout";
|
import Logout from "~/components/user/Logout";
|
||||||
import UserInfo from "@/components/user/UserInfo";
|
import UserInfo from "~/components/user/UserInfo";
|
||||||
import ChangePass from "@/components/user/ChangePass";
|
import ChangePass from "~/components/user/ChangePass";
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
const lang = computed(() => store.lang);
|
const lang = computed(() => store.lang);
|
||||||
const isVietnamese = computed(() => lang.value === "vi");
|
const isVietnamese = computed(() => lang.value === "vi");
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { useStore } from "@/stores/index";
|
import { useStore } from "~/stores/index";
|
||||||
export default {
|
export default {
|
||||||
props: ["userId"],
|
props: ["userId"],
|
||||||
setup() {
|
setup() {
|
||||||
|
|||||||
@@ -27,8 +27,8 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { onMounted } from "vue";
|
import { onMounted } from "vue";
|
||||||
import { useRoute } from "vue-router";
|
import { useRoute } from "vue-router";
|
||||||
import SnackBar from "@/components/snackbar/SnackBar.vue";
|
import SnackBar from "~/components/snackbar/SnackBar.vue";
|
||||||
import Modal from "@/components/Modal.vue";
|
import Modal from "~/components/Modal.vue";
|
||||||
import { throttle } from "es-toolkit";
|
import { throttle } from "es-toolkit";
|
||||||
|
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
|
|||||||
@@ -235,7 +235,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { imageUrl } from "@/components/marketing/email/Email.utils";
|
import { imageUrl } from "~/components/marketing/email/Email.utils";
|
||||||
import { computed } from "vue";
|
import { computed } from "vue";
|
||||||
|
|
||||||
interface KeywordItem {
|
interface KeywordItem {
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import { useStore } from "~/stores/index";
|
|
||||||
export default defineNuxtPlugin(() => {
|
export default defineNuxtPlugin(() => {
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
|
|
||||||
|
|||||||
@@ -1,97 +1,96 @@
|
|||||||
import { defineNuxtPlugin } from "#app";
|
import Dashboard from "~/components/dashboard/Dashboard.vue";
|
||||||
import Dashboard from "@/components/dashboard/Dashboard.vue";
|
import Orders from "~/components/orders/Orders.vue";
|
||||||
import Orders from "@/components/orders/Orders.vue";
|
import Inventory from "~/components/inventory/Inventory.vue";
|
||||||
import Inventory from "@/components/inventory/Inventory.vue";
|
import Rights from "~/components/rights/Rights.vue";
|
||||||
import Rights from "@/components/rights/Rights.vue";
|
import POS from "~/components/pos/POS.vue";
|
||||||
import POS from "@/components/pos/POS.vue";
|
import ChooseIMEIButton from "~/components/pos/ChooseIMEIButton.vue";
|
||||||
import ChooseIMEIButton from "@/components/pos/ChooseIMEIButton.vue";
|
import EditAddress from "~/components/pos/EditAddress.vue";
|
||||||
import EditAddress from "@/components/pos/EditAddress.vue";
|
import CreateReceipts from "~/components/receipts/CreateReceipts.vue";
|
||||||
import CreateReceipts from "@/components/receipts/CreateReceipts.vue";
|
import Return from "~/components/receipts/Return.vue";
|
||||||
import Return from "@/components/receipts/Return.vue";
|
import Imports from "~/components/imports/Imports.vue";
|
||||||
import Imports from "@/components/imports/Imports.vue";
|
import AddProduct from "~/components/imports/AddProduct.vue";
|
||||||
import AddProduct from "@/components/imports/AddProduct.vue";
|
import ProductForm from "~/components/imports/ProductForm.vue";
|
||||||
import ProductForm from "@/components/imports/ProductForm.vue";
|
import ProductVariantForm from "~/components/imports/ProductVariantForm.vue";
|
||||||
import ProductVariantForm from "@/components/imports/ProductVariantForm.vue";
|
import EditProductButton from "~/components/imports/EditProductButton.vue";
|
||||||
import EditProductButton from "@/components/imports/EditProductButton.vue";
|
import DeleteProduct from "~/components/imports/DeleteProduct.vue";
|
||||||
import DeleteProduct from "@/components/imports/DeleteProduct.vue";
|
import AddOS from "~/components/imports/addons/AddOS.vue";
|
||||||
import AddOS from "@/components/imports/addons/AddOS.vue";
|
import AddManufacturer from "~/components/imports/addons/AddManufacturer.vue";
|
||||||
import AddManufacturer from "@/components/imports/addons/AddManufacturer.vue";
|
import AddBattery from "~/components/imports/addons/AddBattery.vue";
|
||||||
import AddBattery from "@/components/imports/addons/AddBattery.vue";
|
import AddScreen from "~/components/imports/addons/AddScreen.vue";
|
||||||
import AddScreen from "@/components/imports/addons/AddScreen.vue";
|
import AddCPU from "~/components/imports/addons/AddCPU.vue";
|
||||||
import AddCPU from "@/components/imports/addons/AddCPU.vue";
|
import AddGPU from "~/components/imports/addons/AddGPU.vue";
|
||||||
import AddGPU from "@/components/imports/addons/AddGPU.vue";
|
import AddCamera from "~/components/imports/addons/AddCamera.vue";
|
||||||
import AddCamera from "@/components/imports/addons/AddCamera.vue";
|
import AddSIM from "~/components/imports/addons/AddSIM.vue";
|
||||||
import AddSIM from "@/components/imports/addons/AddSIM.vue";
|
import AddNetworkTechnology from "~/components/imports/addons/AddNetworkTechnology.vue";
|
||||||
import AddNetworkTechnology from "@/components/imports/addons/AddNetworkTechnology.vue";
|
import AddChargingTechnology from "~/components/imports/addons/AddChargingTechnology.vue";
|
||||||
import AddChargingTechnology from "@/components/imports/addons/AddChargingTechnology.vue";
|
import AddExternalStorage from "~/components/imports/addons/AddExternalStorage.vue";
|
||||||
import AddExternalStorage from "@/components/imports/addons/AddExternalStorage.vue";
|
import AddIPRating from "~/components/imports/addons/AddIPRating.vue";
|
||||||
import AddIPRating from "@/components/imports/addons/AddIPRating.vue";
|
import AddDesign from "~/components/imports/addons/AddDesign.vue";
|
||||||
import AddDesign from "@/components/imports/addons/AddDesign.vue";
|
import AddColor from "~/components/imports/addons/AddColor.vue";
|
||||||
import AddColor from "@/components/imports/addons/AddColor.vue";
|
import AddRAM from "~/components/imports/addons/AddRAM.vue";
|
||||||
import AddRAM from "@/components/imports/addons/AddRAM.vue";
|
import AddInternalStorage from "~/components/imports/addons/AddInternalStorage.vue";
|
||||||
import AddInternalStorage from "@/components/imports/addons/AddInternalStorage.vue";
|
import Color from "~/components/imports/Color.vue";
|
||||||
import Color from "@/components/imports/Color.vue";
|
import IMEIButton from "~/components/imports/IMEIButton.vue";
|
||||||
import IMEIButton from "@/components/imports/IMEIButton.vue";
|
import IMEIs from "~/components/imports/IMEIs.vue";
|
||||||
import IMEIs from "@/components/imports/IMEIs.vue";
|
import DeleteProductVariant from "~/components/imports/DeleteProductVariant.vue";
|
||||||
import DeleteProductVariant from "@/components/imports/DeleteProductVariant.vue";
|
import ProductImage from "~/components/imports/ProductImage.vue";
|
||||||
import ProductImage from "@/components/imports/ProductImage.vue";
|
import Returns from "~/components/imports/Returns.vue";
|
||||||
import Returns from "@/components/imports/Returns.vue";
|
import Exports from "~/components/exports/Exports.vue";
|
||||||
import Exports from "@/components/exports/Exports.vue";
|
import ExportsDamaged from "~/components/exports/ExportsDamaged.vue";
|
||||||
import ExportsDamaged from "@/components/exports/ExportsDamaged.vue";
|
import ExportsInternal from "~/components/exports/ExportsInternal.vue";
|
||||||
import ExportsInternal from "@/components/exports/ExportsInternal.vue";
|
import ExportsAssembled from "~/components/exports/ExportsAssembled.vue";
|
||||||
import ExportsAssembled from "@/components/exports/ExportsAssembled.vue";
|
import InventoryTransfer from "~/components/inventory-transfer/InventoryTransfer.vue";
|
||||||
import InventoryTransfer from "@/components/inventory-transfer/InventoryTransfer.vue";
|
import CashBook from "~/components/cash-book/CashBook.vue";
|
||||||
import CashBook from "@/components/cash-book/CashBook.vue";
|
import NCC from "~/components/report/NCC.vue";
|
||||||
import NCC from "@/components/report/NCC.vue";
|
import Customers from "~/components/report/Customers.vue";
|
||||||
import Customers from "@/components/report/Customers.vue";
|
import Goods from "~/components/report/Goods.vue";
|
||||||
import Goods from "@/components/report/Goods.vue";
|
import ReportCashBook from "~/components/report/CashBook.vue";
|
||||||
import ReportCashBook from "@/components/report/CashBook.vue";
|
import Finance from "~/components/report/Finance.vue";
|
||||||
import Finance from "@/components/report/Finance.vue";
|
import SvgIcon from "~/components/SvgIcon.vue";
|
||||||
import SvgIcon from "@/components/SvgIcon.vue";
|
import DataView from "~/components/datatable/DataView.vue";
|
||||||
import DataView from "@/components/datatable/DataView.vue";
|
import PivotDataView from "~/components/datatable/PivotDataView.vue";
|
||||||
import PivotDataView from "@/components/datatable/PivotDataView.vue";
|
import PickDay from "~/components/datepicker/PickDay.vue";
|
||||||
import PickDay from "@/components/datepicker/PickDay.vue";
|
import Datepicker from "~/components/datepicker/Datepicker.vue";
|
||||||
import Datepicker from "@/components/datepicker/Datepicker.vue";
|
import ImageGallery from "~/components/media/ImageGallery.vue";
|
||||||
import ImageGallery from "@/components/media/ImageGallery.vue";
|
import FileGallery from "~/components/media/FileGallery.vue";
|
||||||
import FileGallery from "@/components/media/FileGallery.vue";
|
import FileUpload from "~/components/media/FileUpload.vue";
|
||||||
import FileUpload from "@/components/media/FileUpload.vue";
|
import FileShow from "~/components/media/FileShow.vue";
|
||||||
import FileShow from "@/components/media/FileShow.vue";
|
import ChipImage from "~/components/media/ChipImage.vue";
|
||||||
import ChipImage from "@/components/media/ChipImage.vue";
|
import Avatarbox from "~/components/common/Avatarbox.vue";
|
||||||
import Avatarbox from "@/components/common/Avatarbox.vue";
|
import Email from "~/components/marketing/email/Email.vue";
|
||||||
import Email from "@/components/marketing/email/Email.vue";
|
import ViewList from "~/components/common/ViewList.vue";
|
||||||
import ViewList from "@/components/common/ViewList.vue";
|
import InternalEntry from "~/components/modal/InternalEntry.vue";
|
||||||
import InternalEntry from "@/components/modal/InternalEntry.vue";
|
import Configuration from "~/components/maintab/Configuration.vue";
|
||||||
import Configuration from "@/components/maintab/Configuration.vue";
|
|
||||||
|
|
||||||
// format
|
// format
|
||||||
import FormatNumber from "@/components/datatable/format/FormatNumber.vue";
|
import FormatNumber from "~/components/datatable/format/FormatNumber.vue";
|
||||||
import FormatDate from "@/components/datatable/format/FormatDate.vue";
|
import FormatDate from "~/components/datatable/format/FormatDate.vue";
|
||||||
import DataTable from "@/components/datatable/DataTable.vue";
|
import DataTable from "~/components/datatable/DataTable.vue";
|
||||||
import DataModel from "@/components/datatable/DataModel.vue";
|
import DataModel from "~/components/datatable/DataModel.vue";
|
||||||
import InputNumber from "@/components/common/InputNumber.vue";
|
import InputNumber from "~/components/common/InputNumber.vue";
|
||||||
import ColorText from "@/components/datatable/format/ColorText.vue";
|
import ColorText from "~/components/datatable/format/ColorText.vue";
|
||||||
|
|
||||||
// menu
|
// menu
|
||||||
import MenuAction from "@/components/menu/MenuAction.vue";
|
import MenuAction from "~/components/menu/MenuAction.vue";
|
||||||
import MenuApp from "@/components/menu/MenuApp.vue";
|
import MenuApp from "~/components/menu/MenuApp.vue";
|
||||||
import MenuCust from "@/components/menu/MenuCust.vue";
|
import MenuCust from "~/components/menu/MenuCust.vue";
|
||||||
import MenuPhone from "@/components/menu/MenuPhone.vue";
|
import MenuPhone from "~/components/menu/MenuPhone.vue";
|
||||||
import MenuParam from "@/components/menu/MenuParam.vue";
|
import MenuParam from "~/components/menu/MenuParam.vue";
|
||||||
import MenuAdd from "@/components/menu/MenuAdd.vue";
|
import MenuAdd from "~/components/menu/MenuAdd.vue";
|
||||||
import MenuCollab from "@/components/menu/MenuCollab.vue";
|
import MenuCollab from "~/components/menu/MenuCollab.vue";
|
||||||
import MenuNote from "@/components/menu/MenuNote.vue";
|
import MenuNote from "~/components/menu/MenuNote.vue";
|
||||||
import MenuFile from "@/components/menu/MenuFile.vue";
|
import MenuFile from "~/components/menu/MenuFile.vue";
|
||||||
import MenuPayment from "@/components/menu/MenuPayment.vue";
|
import MenuPayment from "~/components/menu/MenuPayment.vue";
|
||||||
import ScrollBox from "@/components/datatable/ScrollBox.vue";
|
import ScrollBox from "~/components/datatable/ScrollBox.vue";
|
||||||
import Reservation from "@/components/modal/Reservation.vue";
|
import Reservation from "~/components/modal/Reservation.vue";
|
||||||
import UserMainTab from "@/components/modal/UserMainTab.vue";
|
import UserMainTab from "~/components/modal/UserMainTab.vue";
|
||||||
import CountWithAdd from "@/components/common/CountWithAdd.vue";
|
import CountWithAdd from "~/components/common/CountWithAdd.vue";
|
||||||
import MenuAccount from "@/components/menu/MenuAccount.vue";
|
import MenuAccount from "~/components/menu/MenuAccount.vue";
|
||||||
import ImageLayout from "@/components/media/ImageLayout.vue";
|
import ImageLayout from "~/components/media/ImageLayout.vue";
|
||||||
|
|
||||||
import CountdownTimer from "@/components/common/CountdownTimer.vue";
|
import CountdownTimer from "~/components/common/CountdownTimer.vue";
|
||||||
import CustomerForm from "@/components/customer/CustomerForm.vue";
|
import CustomerForm from "~/components/customer/CustomerForm.vue";
|
||||||
import CustomerQuickAdd from "@/components/customer/CustomerQuickAdd.vue";
|
import CustomerQuickAdd from "~/components/customer/CustomerQuickAdd.vue";
|
||||||
|
|
||||||
const components = {
|
const components = {
|
||||||
PivotDataView,
|
PivotDataView,
|
||||||
|
|||||||
@@ -1,12 +1,18 @@
|
|||||||
{
|
{
|
||||||
// https://nuxt.com/docs/guide/concepts/typescript
|
// https://nuxt.com/docs/guide/concepts/typescript
|
||||||
"extends": "./.nuxt/tsconfig.json",
|
"files": [],
|
||||||
"compilerOptions": {
|
"references": [
|
||||||
"ignoreDeprecations": "6.0",
|
{
|
||||||
"baseUrl": "./app",
|
"path": "./.nuxt/tsconfig.app.json"
|
||||||
"paths": {
|
},
|
||||||
"@/*": ["./*"],
|
{
|
||||||
"~/*": ["../*"]
|
"path": "./.nuxt/tsconfig.server.json"
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"path": "./.nuxt/tsconfig.shared.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./.nuxt/tsconfig.node.json"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user