From e91f0d22c46cb0dc7a583476a782eb0b3c5b0f20 Mon Sep 17 00:00:00 2001 From: Viet An Date: Thu, 2 Jul 2026 09:07:59 +0700 Subject: [PATCH] changes --- app/components/Modal.vue | 1 - app/components/SearchBox.vue | 2 +- app/components/common/FormatDate.vue | 1 - app/components/common/Note.vue | 2 +- app/components/common/Phone.vue | 1 - app/components/customer/Customer.vue | 10 +- app/components/customer/CustomerView.vue | 2 +- app/components/datatable/ContextMenu.vue | 2 +- app/components/datatable/CreateTemplate.vue | 2 +- app/components/datatable/DataTable.vue | 1 - app/components/datatable/FormatOption.vue | 2 +- app/components/datatable/MenuSave.vue | 2 +- app/components/imports/AddIMEIForm.vue | 2 +- .../imports/ProductVariantFormNew.vue | 2 +- app/components/imports/addons/AddBattery.vue | 2 +- app/components/imports/addons/AddCPU.vue | 2 +- app/components/imports/addons/AddCamera.vue | 2 +- .../imports/addons/AddChargingTechnology.vue | 2 +- app/components/imports/addons/AddColor.vue | 2 +- app/components/imports/addons/AddDesign.vue | 2 +- .../imports/addons/AddExternalStorage.vue | 2 +- app/components/imports/addons/AddGPU.vue | 2 +- app/components/imports/addons/AddIPRating.vue | 2 +- .../imports/addons/AddInternalStorage.vue | 2 +- .../imports/addons/AddManufacturer.vue | 2 +- .../imports/addons/AddNetworkTechnology.vue | 2 +- app/components/imports/addons/AddOS.vue | 2 +- app/components/imports/addons/AddRAM.vue | 2 +- app/components/imports/addons/AddSIM.vue | 2 +- app/components/imports/addons/AddScreen.vue | 2 +- app/components/inventory/Inventory.vue | 1 - app/components/inventory/InventoryRow.vue | 1 - app/components/inventory/SelectedInvItem.vue | 5 +- app/components/marketing/email/Email.vue | 3 - app/components/media/FileActions.vue | 6 +- app/components/media/FileShow.vue | 2 +- app/components/media/FileUpload.vue | 5 +- app/components/media/ImageCard.vue | 2 +- app/components/media/ImageLayout.vue | 2 - app/components/orders/OrderHistoryTab.vue | 2 - app/components/orders/OrderPaymentTab.vue | 1 - app/components/orders/OrderProductTab.vue | 2 +- app/components/orders/SelectedOrder.vue | 1 - app/components/people/PeopleView.vue | 2 +- app/components/pos/CartItem.vue | 2 +- app/components/pos/POS.vue | 2 +- app/components/pos/VietQR.vue | 9 +- app/components/user/Logout.vue | 3 - app/plugins/01-common.js | 92 ++++++++++++++++++- app/utils/exportImage.js | 28 ------ app/utils/exportPdf.js | 35 ------- app/utils/qr.js | 20 ---- 52 files changed, 131 insertions(+), 159 deletions(-) delete mode 100644 app/utils/exportImage.js delete mode 100644 app/utils/exportPdf.js delete mode 100644 app/utils/qr.js diff --git a/app/components/Modal.vue b/app/components/Modal.vue index 73dd32d..6553cfd 100644 --- a/app/components/Modal.vue +++ b/app/components/Modal.vue @@ -79,7 +79,6 @@ import { onMounted, defineAsyncComponent, shallowRef, watchEffect } from "vue"; const emit = defineEmits(["close", "remove", "select", "dataevent", "update"]); -const { $store } = useNuxtApp(); const props = defineProps({ component: String, diff --git a/app/components/SearchBox.vue b/app/components/SearchBox.vue index 985baa7..463c29b 100644 --- a/app/components/SearchBox.vue +++ b/app/components/SearchBox.vue @@ -167,7 +167,7 @@ const props = defineProps({ searchfield: Array, }); -const { $copy, $dialog, $empty, $find, $findapi, $findIndex, $getdata, $id, $nonAccent, $store } = useNuxtApp(); +const { $copy, $dialog, $empty, $find, $findapi, $findIndex, $getdata, $nonAccent, $store } = useNuxtApp(); const emit = defineEmits(["option", "modalevent"]); const suggestions = ref([]); const isLoading = ref(false); diff --git a/app/components/common/FormatDate.vue b/app/components/common/FormatDate.vue index 72fa207..6e40c6e 100644 --- a/app/components/common/FormatDate.vue +++ b/app/components/common/FormatDate.vue @@ -1,5 +1,4 @@