@feedmepos/mf-inventory-portal 1.8.0-dev.1 → 1.8.0-dev.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App-BjFIh5km.js +1466 -0
- package/dist/{ApprovalView-C8_ax05b.js → ApprovalView-CauRuf64.js} +26 -25
- package/dist/{BindingsDialog-t0ZY9eh5.js → BindingsDialog-U-tzIfGX.js} +2 -2
- package/dist/{BindingsPicker-C0Qblmml.js → BindingsPicker-CV_oghtz.js} +2 -2
- package/dist/{BindingsTable-CsqUBbRA.js → BindingsTable-TKSQxAxV.js} +4 -4
- package/dist/{BulkReceiveRequestView-DAG-TMox.js → BulkReceiveRequestView-Cyeq26qc.js} +21 -21
- package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BpJhboKU.js +151 -0
- package/dist/{ClosingDraftView-CdKp4Ny6.js → ClosingDraftView-UqeHsxyJ.js} +748 -746
- package/dist/ClosingHistoryView-Cr6cQq6j.js +769 -0
- package/dist/{ClosingTemplateView-C326DL4q.js → ClosingTemplateView-DZ0Mdc87.js} +303 -291
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CXjubRbj.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-C-OsCTxZ.js} +1 -1
- package/dist/{DefaultView-CsIMmQAY.js → DefaultView-DQKHG5Jl.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-eTrMvJzA.js → DeliveryOrderPrintPreview-Z_kBbMMO.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-B7nBbxMo.js → EmailDialog.vue_vue_type_script_setup_true_lang-Ce6Ly9pT.js} +6228 -6216
- package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BUYI8koH.js +47 -0
- package/dist/FeatureCapabilityGate-DOn2IVJb.js +74 -0
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CI2KTzDs.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BJuo4lEh.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Db_FiSRe.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DZxz5hbo.js} +2 -2
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CiBhz5sq.js +120 -0
- package/dist/FmMultiselectDialog-Bx9cLdYs.js +123 -0
- package/dist/{FmMultiselectDialog-CYUxtxnS.js → FmMultiselectDialog-DvaWLGY5.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DOkV11NN.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D6f1M96D.js} +72 -73
- package/dist/ImportView-1-cjN7ay.js +1290 -0
- package/dist/{IngredientsView-CZ6E7cXf.js → IngredientsView-JfKlUU2E.js} +656 -649
- package/dist/{IntegrationExplorerView-B15ND4Fg.js → IntegrationExplorerView-uElgWH8i.js} +602 -614
- package/dist/IntegrationPlatformView-g2dU5SG6.js +13061 -0
- package/dist/{IntegrationView-hkNhsqx2.js → IntegrationView-B9g888K4.js} +2956 -2922
- package/dist/{InventoryBindingForm-SfuUF0_O.js → InventoryBindingForm-DfGOKZWg.js} +1 -1
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CNjTdNL7.js +472 -0
- package/dist/{InventoryBindingSummary-DUcukkyJ.js → InventoryBindingSummary-CSii8B2X.js} +1 -1
- package/dist/JsonViewer.vue_vue_type_script_setup_true_lang-C_hg75l0.js +25 -0
- package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D_Xk4SOH.js +79 -0
- package/dist/PlanTierBadge.vue_vue_type_script_setup_true_lang-DJvfMOND.js +274 -0
- package/dist/PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-Bdjm0Y4w.js +79 -0
- package/dist/{ProductionRunDetailView-BwgRX-14.js → ProductionRunDetailView-HgH2Wp99.js} +4 -4
- package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BbNXNhpr.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-C88pjV2s.js} +9 -9
- package/dist/{ProductionRunView-CZU7LY9-.js → ProductionRunView-BkvQHeCP.js} +16 -15
- package/dist/{PublishView-DS2FZ66p.js → PublishView-CIei_T5e.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-CZa0MVAs.js → PurchaseOrderPrintPreview-Wmv7676h.js} +2 -2
- package/dist/{ReceiveRequestView-Bk5b3nVB.js → ReceiveRequestView-MqOIpIDB.js} +15 -15
- package/dist/RecipeView-WzXJX4JU.js +3440 -0
- package/dist/SettingsView-1YlgjyzB.js +1032 -0
- package/dist/StockView-C-dIRXPv.js +2651 -0
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DdZg9T4n.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CewKTZzy.js} +1 -1
- package/dist/{SupplierView-D8q6siZW.js → SupplierView-53rHhQ63.js} +577 -571
- package/dist/{SurchargeView-Db_5YFoR.js → SurchargeView-DuJb5EUn.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-WOVs4Fr1.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-C_YmC-ZX.js} +2 -2
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-gJQQKKAC.js +71 -0
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BtoP4XgE.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CyQujMzv.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Bljc4Vuy.js → TransferDetails.vue_vue_type_script_setup_true_lang-CMwqjlb0.js} +1722 -1672
- package/dist/TransferTemplateView-B6OGfKQr.js +2343 -0
- package/dist/{UnitCostHistoryView-BqDiQ4IE.js → UnitCostHistoryView-BVlq4BNG.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BjSmg5LX.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CULJEeCU.js} +4 -4
- package/dist/{UnitView-CM695-VI.js → UnitView-AuIJokVF.js} +84 -84
- package/dist/{WarehouseView-BdidU4p6.js → WarehouseView-Cjv8S1ov.js} +194 -189
- package/dist/{WastageTemplateView-DdhwdXT6.js → WastageTemplateView-mxSTzVSZ.js} +19 -18
- package/dist/api/feature-flags.d.ts +12 -0
- package/dist/api/integration-sync-log.d.ts +0 -13
- package/dist/api/inventory.d.ts +9 -9
- package/dist/api/license.d.ts +8 -0
- package/dist/{app-Cb5s4jMu.js → app-OztWApio.js} +6085 -6053
- package/dist/app.d.ts +36 -150
- package/dist/app.js +1 -1
- package/dist/{closing-template-DnqnpXxn.js → closing-template-DIxXDgZQ.js} +1 -1
- package/dist/components/ChangeLocationComponent.vue.d.ts +21 -14
- package/dist/components/DeprecateSoonWarningDialog.vue.d.ts +22 -0
- package/dist/components/FeatureCapabilityBadge.vue.d.ts +29 -0
- package/dist/components/FeatureCapabilityGate.spec.d.ts +1 -0
- package/dist/components/FeatureCapabilityGate.vue.d.ts +29 -0
- package/dist/components/FmUnitInputRules.d.ts +1 -1
- package/dist/components/MultiLocationSelector.vue.d.ts +6 -6
- package/dist/components/NumberPrecisionInput.spec.d.ts +1 -0
- package/dist/components/{PremiumBadge.vue.d.ts → PlanTierBadge.vue.d.ts} +5 -13
- package/dist/components/PlanUpgradeDialog.vue.d.ts +30 -0
- package/dist/composable/useNavigationMenu.d.ts +2 -1
- package/dist/{date2-BPhD_1Of.js → date2-BTzYzk-x.js} +1 -1
- package/dist/{dayjs.min-Zbd6-uVD.js → dayjs.min-BIg6CfC4.js} +1 -1
- package/dist/{decimal-Df6a50Ld.js → decimal-B34w3X7O.js} +2 -2
- package/dist/{defineDeepModel-Brbsikbi.js → defineDeepModel-CrZAv12u.js} +1 -1
- package/dist/{duplicate-template-B9kuShaF.js → duplicate-template-BKVPhi40.js} +1 -1
- package/dist/{inventory-core-dart.default-DDRxXXnt.js → feature-BUVZ_ab3.js} +766 -398
- package/dist/feature-flags/core.d.ts +28 -0
- package/dist/feature-flags/core.spec.d.ts +1 -0
- package/dist/feature-flags/navigation-capabilities.d.ts +23 -0
- package/dist/feature-flags/navigation-capabilities.spec.d.ts +1 -0
- package/dist/feature-flags/plan-tier.d.ts +6 -0
- package/dist/feature-flags/plan-tier.spec.d.ts +1 -0
- package/dist/feature-flags/portal-feature-catalog.d.ts +19 -0
- package/dist/feature-flags/portal-feature-catalog.spec.d.ts +1 -0
- package/dist/feature-flags/vue.d.ts +16 -0
- package/dist/feature-flags/vue.spec.d.ts +1 -0
- package/dist/{format-time-from-id-DmUjUcVj.js → format-time-from-id-DGLxhRFH.js} +1 -1
- package/dist/{format-unit-display-CsQA0SQd.js → format-unit-display-BhudItCc.js} +118 -119
- package/dist/helper/menu-usage-module.d.ts +1 -1
- package/dist/helper/number.d.ts +5 -1
- package/dist/helper/rules.d.ts +1 -1
- package/dist/id-to-date-BfwadWDS.js +67 -0
- package/dist/{import-export.helper-DCQ6oX9s.js → import-export.helper-BdQ_d-fT.js} +16 -17
- package/dist/{index-UmM6gHJ1.js → index-BTNI4XZ2.js} +1 -1
- package/dist/{index-C-mazZwS.js → index-B_hoeQNL.js} +3 -3
- package/dist/{JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js → index-C25C1Dg7.js} +1074 -1066
- package/dist/{index-BXaIMGnI.js → index-CCvxPS3E.js} +1 -1
- package/dist/index-eGvSlWMU.js +1892 -0
- package/dist/{lz-string-Bibw5D_6.js → lz-string-CVEGZpSC.js} +1 -1
- package/dist/{netsuite-Bev0OtQT.js → netsuite-DEhdSyBn.js} +9 -3
- package/dist/{predefined-templates-BHvUnTk_.js → predefined-templates-BTdQl7jj.js} +1 -1
- package/dist/{purchase-order-template-DgOKEzhS.js → purchase-order-template-DfMmpsrJ.js} +1 -1
- package/dist/{recalculationUtils-Dv__DzZh.js → recalculationUtils-Ds9Jcg0l.js} +1 -1
- package/dist/router/name.d.ts +2 -2
- package/dist/{row-action.enum-ncgDYAjP.js → row-action.enum-B2Y5YFbc.js} +2 -2
- package/dist/rules-D01xYhgI.js +238 -0
- package/dist/{stock-CxCRZo_D.js → stock-D3kBNq3e.js} +1 -1
- package/dist/stock-DyTC4Teu.js +74 -0
- package/dist/stores/feature.d.ts +20 -2
- package/dist/stores/integration/netsuite.d.ts +2 -2
- package/dist/stores/inventory.d.ts +0 -47
- package/dist/stores/inventory.no-location.spec.d.ts +1 -0
- package/dist/stores/location.d.ts +42 -42
- package/dist/stores/supplier.d.ts +49 -49
- package/dist/stores/warehouse.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-CkZdeMcl.js → supplier-DaidezrO.js} +2 -2
- package/dist/{surcharge-FRSFqjGl.js → surcharge-C-PFvvlU.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-Cm1styDr.js → uom-rules-Un5bhcrm.js} +1 -1
- package/dist/{use-ingredient-select-dialog-ntAqHX04.js → use-ingredient-select-dialog-DV_hkAt9.js} +2 -2
- package/dist/use-inventory-binding-dialog-CTceyFrg.js +113 -0
- package/dist/{use-template-enabled-locations-CIZqw-Z8.js → use-template-enabled-locations-DGqw8tvz.js} +2 -2
- package/dist/{use-transfer-locations-CM5vNttA.js → use-transfer-locations-DgtKajec.js} +2 -2
- package/dist/{useHrmPermission-CslLuBoP.js → useHrmPermission-BMpZlah6.js} +1 -1
- package/dist/useNavigationMenu-D0NtXAnB.js +346 -0
- package/dist/{useSseClient-CCV4mPzD.js → useSseClient-CHZZxy7Z.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +36 -36
- package/dist/views/adjustment-template/wastage-template/table.d.ts +36 -36
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +6 -6
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +12 -12
- package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +6 -6
- package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +3 -3
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +18 -18
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +45 -45
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -36
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +0 -1
- package/dist/views/ingredients/components/inventory-binding/composables/use-inventory-binding-dialog.d.ts +0 -1
- package/dist/views/ingredients/components/inventory-binding/recipe-amount-validation.spec.d.ts +1 -0
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +0 -1
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +0 -1
- package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +1 -1
- package/dist/{components/PreviewBadge.vue.d.ts → views/integration/IntegrationPlatformView.vue.d.ts} +11 -13
- package/dist/views/integration/components/IntegrationCard.vue.d.ts +38 -0
- package/dist/views/integration/components/Synergy/importFn.spec.d.ts +1 -0
- package/dist/views/integration/components/Xilnex/importFn.spec.d.ts +1 -0
- package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +36 -36
- package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +24 -24
- package/dist/views/integration/helper/opening-balance.d.ts +22 -0
- package/dist/views/integration/helper/opening-balance.spec.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +5 -5
- package/dist/views/receive-request/composables/netsuite-order-label.d.ts +11 -0
- package/dist/views/receive-request/composables/netsuite-order-label.spec.d.ts +1 -0
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +5 -5
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +39 -39
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +35 -35
- package/dist/views/receive-request/import/export.spec.d.ts +1 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +34 -34
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +6 -6
- package/dist/views/recipe/components/recipe-bulk-editor/components/ModificationCard.spec.d.ts +1 -0
- package/dist/views/recipe/helper/bulk-edit-simulation.helper.d.ts +0 -1
- package/dist/views/recipe/helper/import-recipe.d.ts +2 -2
- package/dist/views/recipe/helper/import-recipe.spec.d.ts +1 -0
- package/dist/views/{ingredient-group/IngredientGroupView.vue.d.ts → settings/FeatureFlagView.vue.d.ts} +0 -1
- package/dist/views/settings/PlanLicenseDisplay.spec.d.ts +1 -0
- package/dist/views/{integration/components/IntegrationSyncLogTab.vue.d.ts → settings/PlanLicenseDisplay.vue.d.ts} +2 -2
- package/dist/views/stock/components/dialog/AmendAdjustmentForm.spec.d.ts +1 -0
- package/dist/views/stock/components/dialog/ConvertSkuDialog.spec.d.ts +1 -0
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +4 -4
- package/dist/views/supplier/composables/use-supplier-table.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -8
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +4 -4
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.spec.d.ts +1 -0
- package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +24 -24
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -48
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -48
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +2 -2
- package/dist/{vue-i18n-C5j4EQhi.js → vue-i18n-mXrQUZTi.js} +519 -519
- package/dist/{xlsx.util-B50OvX4z.js → xlsx.util-CKx0NYTq.js} +2 -2
- package/package.json +71 -66
- package/dist/App-BXgpGzGR.js +0 -1476
- package/dist/ClosingHistoryView-Blyq9-BS.js +0 -761
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-zcEv1Swg.js +0 -243
- package/dist/FmMultiselectDialog-BAw-gp5K.js +0 -77
- package/dist/ImportView-BmotFC-3.js +0 -1302
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-DVCCpvS4.js +0 -51
- package/dist/IngredientGroupView-qrR9ksEn.js +0 -985
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-Zq81p_MF.js +0 -563
- package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BmfROiLM.js +0 -72
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-3e3kDsbN.js +0 -93
- package/dist/PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js +0 -29
- package/dist/RecipeView-DvI6X-uN.js +0 -3625
- package/dist/SettingsView-sThYErMz.js +0 -698
- package/dist/StockView-Z9wGihT7.js +0 -2612
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js +0 -84
- package/dist/TransferTemplateView-DtsJzmUr.js +0 -2327
- package/dist/feature-Ckn5ra3z.js +0 -1136
- package/dist/number-y_W4pn_d.js +0 -138
- package/dist/random-CSbEbElR.js +0 -10
- package/dist/rules-CZTBvenw.js +0 -98
- package/dist/stock-XINW8JOM.js +0 -75
- package/dist/use-inventory-binding-dialog-DVIJO8Cl.js +0 -152
- package/dist/useNavigationMenu-CSinmNCY.js +0 -172
- package/dist/usePromise-CbVUCxhj.js +0 -29
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +0 -31
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +0 -10
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +0 -21
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +0 -12
- package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +0 -37
- package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +0 -24
- package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +0 -31
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +0 -77
- package/dist/views/integration/composables/use-integration-sync-log.d.ts +0 -45
- /package/dist/components/{FmFeatureFlagDialog.vue.d.ts → DeprecateSoonPill.vue.d.ts} +0 -0
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { d as Ne, n as Le, o as Ie, c as z, p as Be, S as qe, u as ze } from "./app-
|
|
3
|
-
import { useCoreStore as
|
|
4
|
-
import { D as ke, R as Q } from "./row-action.enum-
|
|
1
|
+
import { ref as T, defineComponent as j, watch as te, onMounted as le, onUnmounted as De, createElementBlock as q, openBlock as D, toRaw as Ve, reactive as Re, createElementVNode as V, createVNode as k, toDisplayString as P, unref as r, resolveComponent as I, createBlock as O, createCommentVNode as oe, createSlots as We, withCtx as B, createTextVNode as Me, renderSlot as Ee, computed as C, isRef as _e, normalizeClass as Ue, normalizeStyle as Pe } from "vue";
|
|
2
|
+
import { d as Ne, n as Le, o as Ie, c as z, p as Be, S as qe, u as ze } from "./app-OztWApio.js";
|
|
3
|
+
import { useCoreStore as Se, useI18n as G } from "@feedmepos/mf-common";
|
|
4
|
+
import { D as ke, R as Q } from "./row-action.enum-B2Y5YFbc.js";
|
|
5
5
|
import { c as Oe } from "./component-BmLAdDiY.js";
|
|
6
|
-
import { u as
|
|
6
|
+
import { u as Fe } from "./netsuite-DEhdSyBn.js";
|
|
7
7
|
import { u as je, _ as Ge } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
|
|
8
|
-
import { F as
|
|
8
|
+
import { F as $ } from "./form-mode.enum-BKiNVH6A.js";
|
|
9
9
|
import { useDialogChild as Ke, useDialog as xe, useSnackbar as se, useProxiedModel as ae, useBreakpoints as He } from "@feedmepos/ui-library";
|
|
10
|
-
import { R as
|
|
10
|
+
import { R as L } from "./rules-D01xYhgI.js";
|
|
11
11
|
import { c as $e, u as re, g as Ye } from "./googlemap-D9vA7GsS.js";
|
|
12
|
-
import { d as Ze } from "./index-
|
|
12
|
+
import { d as Ze } from "./index-BTNI4XZ2.js";
|
|
13
13
|
import { _ as Je } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
import { _ as Qe } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-CG1m-B2p.js";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { _ as oo } from "./
|
|
15
|
+
import { _ as Xe } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BUYI8koH.js";
|
|
16
|
+
import { u as eo } from "./feature-BUVZ_ab3.js";
|
|
17
|
+
import { _ as oo } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-gJQQKKAC.js";
|
|
18
|
+
import { F as X } from "./index-eGvSlWMU.js";
|
|
19
|
+
import { _ as to } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CiBhz5sq.js";
|
|
18
20
|
const ee = Ne((f, b) => {
|
|
19
|
-
const g =
|
|
21
|
+
const g = Se();
|
|
20
22
|
return {
|
|
21
23
|
async readWarehouses() {
|
|
22
24
|
var d;
|
|
@@ -40,12 +42,12 @@ const ee = Ne((f, b) => {
|
|
|
40
42
|
}
|
|
41
43
|
};
|
|
42
44
|
});
|
|
43
|
-
function
|
|
45
|
+
function ao() {
|
|
44
46
|
return {
|
|
45
47
|
warehouses: []
|
|
46
48
|
};
|
|
47
49
|
}
|
|
48
|
-
const Ae =
|
|
50
|
+
const Ae = T(ao());
|
|
49
51
|
function Te() {
|
|
50
52
|
return {
|
|
51
53
|
// state
|
|
@@ -82,8 +84,8 @@ function Te() {
|
|
|
82
84
|
}
|
|
83
85
|
};
|
|
84
86
|
}
|
|
85
|
-
function
|
|
86
|
-
const g =
|
|
87
|
+
function lo(f, b) {
|
|
88
|
+
const g = Fe();
|
|
87
89
|
function a(u, y) {
|
|
88
90
|
if (u === Q.Edit) {
|
|
89
91
|
f(z(y));
|
|
@@ -153,7 +155,7 @@ function ao(f, b) {
|
|
|
153
155
|
}
|
|
154
156
|
return { columnDefs: d, formatRowData: n };
|
|
155
157
|
}
|
|
156
|
-
const
|
|
158
|
+
const so = /* @__PURE__ */ j({
|
|
157
159
|
__name: "GoogleMap",
|
|
158
160
|
props: {
|
|
159
161
|
markers: {
|
|
@@ -186,7 +188,7 @@ const lo = /* @__PURE__ */ j({
|
|
|
186
188
|
(c = u.value) == null || c.setCenter(t), (h = u.value) == null || h.setZoom(18);
|
|
187
189
|
}
|
|
188
190
|
});
|
|
189
|
-
const { googleMap: d } = re(), n =
|
|
191
|
+
const { googleMap: d } = re(), n = T(), u = T(null), y = [];
|
|
190
192
|
function s(t) {
|
|
191
193
|
return {
|
|
192
194
|
lat: t.latLng.lat(),
|
|
@@ -194,38 +196,38 @@ const lo = /* @__PURE__ */ j({
|
|
|
194
196
|
};
|
|
195
197
|
}
|
|
196
198
|
function A(t, c, h) {
|
|
197
|
-
const
|
|
198
|
-
y.push(
|
|
199
|
+
const p = d.maps.event.addListener(t, c, h);
|
|
200
|
+
y.push(p);
|
|
199
201
|
}
|
|
200
|
-
const w =
|
|
201
|
-
function
|
|
202
|
+
const w = T([]);
|
|
203
|
+
function x(t, c, h) {
|
|
202
204
|
A(t, c, h);
|
|
203
205
|
}
|
|
204
206
|
function M(t) {
|
|
205
|
-
|
|
206
|
-
const
|
|
207
|
+
W(null), w.value = t.map((c, h) => {
|
|
208
|
+
const p = new d.maps.Marker({
|
|
207
209
|
position: c,
|
|
208
210
|
draggable: !0
|
|
209
211
|
});
|
|
210
|
-
return
|
|
211
|
-
l("marker-change", { index: h, position: s(
|
|
212
|
-
}),
|
|
213
|
-
}),
|
|
212
|
+
return x(p, "dragend", (N) => {
|
|
213
|
+
l("marker-change", { index: h, position: s(N) });
|
|
214
|
+
}), p;
|
|
215
|
+
}), W(u.value);
|
|
214
216
|
}
|
|
215
|
-
function
|
|
217
|
+
function W(t) {
|
|
216
218
|
w.value.map((c) => Ve(c).setMap(t));
|
|
217
219
|
}
|
|
218
|
-
const m =
|
|
219
|
-
function
|
|
220
|
+
const m = T([]);
|
|
221
|
+
function S(t, c, h) {
|
|
220
222
|
A(t, c, h);
|
|
221
223
|
}
|
|
222
|
-
function
|
|
224
|
+
function F(t, c, h) {
|
|
223
225
|
A(t, c, h);
|
|
224
226
|
}
|
|
225
227
|
function i(t) {
|
|
226
|
-
return m.value[t].getPath().getArray().map(({ lat: h, lng:
|
|
228
|
+
return m.value[t].getPath().getArray().map(({ lat: h, lng: p }) => ({
|
|
227
229
|
lat: h(),
|
|
228
|
-
lng:
|
|
230
|
+
lng: p()
|
|
229
231
|
}));
|
|
230
232
|
}
|
|
231
233
|
function v(t) {
|
|
@@ -233,24 +235,24 @@ const lo = /* @__PURE__ */ j({
|
|
|
233
235
|
l("polygon-change", { index: t, path: c });
|
|
234
236
|
}
|
|
235
237
|
function _(t, c) {
|
|
236
|
-
const
|
|
237
|
-
l("polygon-change", { index: t, path:
|
|
238
|
+
const p = i(t).filter((N, K) => K !== c);
|
|
239
|
+
l("polygon-change", { index: t, path: p });
|
|
238
240
|
}
|
|
239
|
-
function
|
|
241
|
+
function E(t, c) {
|
|
240
242
|
c.vertex !== void 0 ? _(t, c.vertex) : l("polygon-right-click", t);
|
|
241
243
|
}
|
|
242
|
-
function
|
|
244
|
+
function R(t) {
|
|
243
245
|
U(null), m.value = t.map((c, h) => {
|
|
244
|
-
const
|
|
246
|
+
const p = new d.maps.Polygon({
|
|
245
247
|
paths: c.paths,
|
|
246
248
|
strokeColor: c.strokeColor,
|
|
247
249
|
fillColor: c.fillColor,
|
|
248
250
|
fillOpacity: 0.5,
|
|
249
251
|
editable: a.editable
|
|
250
252
|
});
|
|
251
|
-
return
|
|
252
|
-
|
|
253
|
-
}),
|
|
253
|
+
return S(p, "contextmenu", (N) => E(h, N)), p.getPaths().forEach((N) => {
|
|
254
|
+
F(N, "insert_at", () => v(h)), F(N, "set_at", () => v(h));
|
|
255
|
+
}), p;
|
|
254
256
|
}), U(u.value);
|
|
255
257
|
}
|
|
256
258
|
function U(t) {
|
|
@@ -269,17 +271,17 @@ const lo = /* @__PURE__ */ j({
|
|
|
269
271
|
scrollwheel: !0
|
|
270
272
|
}), o(u.value, "click", (t) => l("map-click", s(t)));
|
|
271
273
|
}
|
|
272
|
-
return te(() => a.markers, M, { deep: !0 }), te(() => a.polygons,
|
|
273
|
-
!n.value || !d || (e(), M(a.markers),
|
|
274
|
+
return te(() => a.markers, M, { deep: !0 }), te(() => a.polygons, R, { deep: !0 }), le(() => {
|
|
275
|
+
!n.value || !d || (e(), M(a.markers), R(a.polygons));
|
|
274
276
|
}), De(() => {
|
|
275
277
|
y.forEach((t) => t.remove());
|
|
276
|
-
}), (t, c) => (
|
|
278
|
+
}), (t, c) => (D(), q("div", {
|
|
277
279
|
ref_key: "mapRef",
|
|
278
280
|
ref: n,
|
|
279
281
|
class: "map app-map"
|
|
280
282
|
}, null, 512));
|
|
281
283
|
}
|
|
282
|
-
}),
|
|
284
|
+
}), ro = { class: "flex flex-col gap-24" }, no = { class: "flex flex-col gap-8" }, uo = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, io = { class: "fm-typo-en-body-lg-600" }, co = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, mo = { class: "fm-typo-en-body-lg-600" }, po = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, fo = { class: "fm-typo-en-body-lg-600" }, yo = /* @__PURE__ */ j({
|
|
283
285
|
__name: "CoordinateDialog",
|
|
284
286
|
props: {
|
|
285
287
|
address: {
|
|
@@ -294,7 +296,7 @@ const lo = /* @__PURE__ */ j({
|
|
|
294
296
|
setup(f) {
|
|
295
297
|
const b = f, g = Ke(), a = re(), { t: l } = G(), d = Re(
|
|
296
298
|
z(b.coordinate ? b.coordinate : $e.jb)
|
|
297
|
-
), n =
|
|
299
|
+
), n = T(""), u = Ze(async function() {
|
|
298
300
|
n.value = await a.getFirstMatchingAddress(
|
|
299
301
|
d.lat,
|
|
300
302
|
d.lng
|
|
@@ -306,23 +308,23 @@ const lo = /* @__PURE__ */ j({
|
|
|
306
308
|
function y({ position: A }) {
|
|
307
309
|
d.lat = A.lat, d.lng = A.lng, g.emitData(z(d)), u();
|
|
308
310
|
}
|
|
309
|
-
const s =
|
|
310
|
-
return (A, w) => (
|
|
311
|
-
V("div",
|
|
311
|
+
const s = T();
|
|
312
|
+
return (A, w) => (D(), q("div", ro, [
|
|
313
|
+
V("div", no, [
|
|
312
314
|
V("div", null, [
|
|
313
|
-
V("span",
|
|
314
|
-
V("span",
|
|
315
|
+
V("span", uo, P(r(l)("inventory.formField.coordinate.address")) + ": ", 1),
|
|
316
|
+
V("span", io, P(n.value), 1)
|
|
315
317
|
]),
|
|
316
318
|
V("div", null, [
|
|
317
|
-
V("span",
|
|
318
|
-
V("span",
|
|
319
|
+
V("span", co, P(r(l)("inventory.formField.coordinate.longitude")) + ": ", 1),
|
|
320
|
+
V("span", mo, P(d.lng), 1)
|
|
319
321
|
]),
|
|
320
322
|
V("div", null, [
|
|
321
|
-
V("span",
|
|
322
|
-
V("span",
|
|
323
|
+
V("span", po, P(r(l)("inventory.formField.coordinate.latitude")) + ": ", 1),
|
|
324
|
+
V("span", fo, P(d.lat), 1)
|
|
323
325
|
])
|
|
324
326
|
]),
|
|
325
|
-
k(
|
|
327
|
+
k(so, {
|
|
326
328
|
ref_key: "gmapRef",
|
|
327
329
|
ref: s,
|
|
328
330
|
class: "h-[272px] sm:h-[240px] xs:h-[240px]",
|
|
@@ -330,21 +332,21 @@ const lo = /* @__PURE__ */ j({
|
|
|
330
332
|
center: d,
|
|
331
333
|
markers: [d],
|
|
332
334
|
onMarkerChange: y,
|
|
333
|
-
onMapClick: w[0] || (w[0] = (
|
|
335
|
+
onMapClick: w[0] || (w[0] = (x) => y({ position: x }))
|
|
334
336
|
}, null, 8, ["center", "markers"])
|
|
335
337
|
]));
|
|
336
338
|
}
|
|
337
|
-
}),
|
|
339
|
+
}), vo = /* @__PURE__ */ Je(yo, [["__scopeId", "data-v-272f5e8b"]]);
|
|
338
340
|
function Ce([f, b]) {
|
|
339
341
|
return {
|
|
340
342
|
lat: b,
|
|
341
343
|
lng: f
|
|
342
344
|
};
|
|
343
345
|
}
|
|
344
|
-
function
|
|
346
|
+
function ho({ lng: f, lat: b }) {
|
|
345
347
|
return [f, b];
|
|
346
348
|
}
|
|
347
|
-
const
|
|
349
|
+
const bo = { class: "flex gap-8 items-center" }, go = { key: 0 }, wo = { key: 1 }, Vo = /* @__PURE__ */ j({
|
|
348
350
|
__name: "FmCoordinateInput",
|
|
349
351
|
props: {
|
|
350
352
|
address: {},
|
|
@@ -362,20 +364,20 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
362
364
|
},
|
|
363
365
|
emits: ["update:modelValue"],
|
|
364
366
|
setup(f, { emit: b }) {
|
|
365
|
-
const g = f, a = b, l = re(), d = xe(), n = se(), u = ae(g, "modelValue"), y =
|
|
367
|
+
const g = f, a = b, l = re(), d = xe(), n = se(), u = ae(g, "modelValue"), y = T(!1), { t: s } = G();
|
|
366
368
|
function A(m) {
|
|
367
369
|
if (m != null && m[0] && (m != null && m[1]))
|
|
368
370
|
return s("inventory.formField.coordinate.longLat", [m[0].toFixed(3), m[1].toFixed(3)]);
|
|
369
371
|
}
|
|
370
372
|
async function w(m) {
|
|
371
|
-
var _,
|
|
372
|
-
const
|
|
373
|
+
var _, E;
|
|
374
|
+
const S = g.modelValue, F = !S && ((_ = g.address) != null && _.formatted) ? await l.getFirstMatchingCoordinate(g.address.formatted) : null, i = Ye(g.country), v = S ? Ce(S) : F ? Ce(F) : i;
|
|
373
375
|
d.open({
|
|
374
376
|
title: g.dialogTitle ?? g.label ?? s("inventory.formField.coordinate.pinLocation"),
|
|
375
377
|
closeButton: !0,
|
|
376
|
-
contentComponent:
|
|
378
|
+
contentComponent: vo,
|
|
377
379
|
contentComponentProps: {
|
|
378
|
-
address: (
|
|
380
|
+
address: (E = g.address) == null ? void 0 : E.formatted,
|
|
379
381
|
coordinate: v
|
|
380
382
|
},
|
|
381
383
|
primaryActions: {
|
|
@@ -388,7 +390,7 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
388
390
|
}
|
|
389
391
|
}).onPrimary(m);
|
|
390
392
|
}
|
|
391
|
-
const
|
|
393
|
+
const x = (m) => a("update:modelValue", m ? ho(m) : null);
|
|
392
394
|
async function M() {
|
|
393
395
|
if (!g.disabled) {
|
|
394
396
|
if (!l.isGoogleMapReady) {
|
|
@@ -399,15 +401,15 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
399
401
|
});
|
|
400
402
|
return;
|
|
401
403
|
}
|
|
402
|
-
w(
|
|
404
|
+
w(x);
|
|
403
405
|
}
|
|
404
406
|
}
|
|
405
|
-
function
|
|
407
|
+
function W() {
|
|
406
408
|
a("update:modelValue", null);
|
|
407
409
|
}
|
|
408
|
-
return (m,
|
|
409
|
-
const
|
|
410
|
-
return
|
|
410
|
+
return (m, S) => {
|
|
411
|
+
const F = I("FmField"), i = I("FmButton"), v = I("FmFormGroup");
|
|
412
|
+
return D(), q("div", bo, [
|
|
411
413
|
k(v, {
|
|
412
414
|
class: "flex-1",
|
|
413
415
|
"model-value": r(u),
|
|
@@ -420,20 +422,20 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
420
422
|
focused: y.value,
|
|
421
423
|
"helper-text": m.helperText,
|
|
422
424
|
"helper-state": m.helperState,
|
|
423
|
-
onClick:
|
|
425
|
+
onClick: S[0] || (S[0] = (_) => M())
|
|
424
426
|
}, We({
|
|
425
427
|
default: B(({ invalid: _ }) => [
|
|
426
|
-
m.modelValue && m.modelValue[0] && m.modelValue[1] ? (
|
|
427
|
-
k(
|
|
428
|
+
m.modelValue && m.modelValue[0] && m.modelValue[1] ? (D(), q("div", go, [
|
|
429
|
+
k(F, {
|
|
428
430
|
invalid: _,
|
|
429
431
|
class: "fm-typo-en-body-lg-400"
|
|
430
432
|
}, {
|
|
431
433
|
default: B(() => [
|
|
432
|
-
Me(
|
|
434
|
+
Me(P(A(m.modelValue)), 1)
|
|
433
435
|
]),
|
|
434
436
|
_: 2
|
|
435
437
|
}, 1032, ["invalid"])
|
|
436
|
-
])) : (
|
|
438
|
+
])) : (D(), q("div", wo, [
|
|
437
439
|
k(i, {
|
|
438
440
|
label: r(s)("inventory.formField.coordinate.addCoordinate"),
|
|
439
441
|
"prepend-icon": "add",
|
|
@@ -451,19 +453,19 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
451
453
|
key: "0"
|
|
452
454
|
} : void 0
|
|
453
455
|
]), 1032, ["model-value", "label", "disabled", "required", "optional", "info", "rules", "focused", "helper-text", "helper-state"]),
|
|
454
|
-
m.modelValue && m.modelValue[0] && m.modelValue[1] ? (
|
|
456
|
+
m.modelValue && m.modelValue[0] && m.modelValue[1] ? (D(), O(i, {
|
|
455
457
|
key: 0,
|
|
456
458
|
"prepend-icon": "delete",
|
|
457
459
|
variant: "tertiary",
|
|
458
|
-
onClick:
|
|
460
|
+
onClick: S[1] || (S[1] = (_) => W())
|
|
459
461
|
})) : oe("", !0)
|
|
460
462
|
]);
|
|
461
463
|
};
|
|
462
464
|
}
|
|
463
|
-
}),
|
|
465
|
+
}), _o = { class: "flex flex-col gap-40" }, ko = { class: "flex flex-col gap-16" }, Ao = { class: "flex flex-col gap-8" }, Co = { class: "fm-typo-en-title-sm-600" }, Mo = { class: "grid grid-cols-2 gap-24" }, So = { class: "flex flex-col gap-8" }, Fo = { class: "fm-typo-en-title-sm-600" }, xo = {
|
|
464
466
|
key: 0,
|
|
465
467
|
class: "flex flex-col gap-8"
|
|
466
|
-
},
|
|
468
|
+
}, $o = { class: "fm-typo-en-title-sm-600" }, To = { class: "flex flex-col gap-8" }, Do = { class: "fm-typo-en-title-sm-600" }, Ro = { class: "flex flex-col gap-16" }, Wo = /* @__PURE__ */ j({
|
|
467
469
|
__name: "WarehouseForm",
|
|
468
470
|
props: {
|
|
469
471
|
modelValue: {},
|
|
@@ -471,7 +473,7 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
471
473
|
},
|
|
472
474
|
emits: ["update:modelValue", "validation-success"],
|
|
473
475
|
setup(f, { expose: b, emit: g }) {
|
|
474
|
-
const a = f, l = g, d =
|
|
476
|
+
const a = f, l = g, d = eo(), { t: n } = G(), u = C({
|
|
475
477
|
get() {
|
|
476
478
|
var o, e;
|
|
477
479
|
return ((e = (o = a.modelValue) == null ? void 0 : o.profile) == null ? void 0 : e.name) ?? "";
|
|
@@ -519,7 +521,7 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
519
521
|
const e = a.modelValue ?? {};
|
|
520
522
|
e.profile ?? (e.profile = {}), (t = e.profile).address ?? (t.address = {}), e.profile.address.city = o, l("update:modelValue", e);
|
|
521
523
|
}
|
|
522
|
-
}),
|
|
524
|
+
}), x = C({
|
|
523
525
|
get() {
|
|
524
526
|
var o, e, t;
|
|
525
527
|
return ((t = (e = (o = a.modelValue) == null ? void 0 : o.profile) == null ? void 0 : e.address) == null ? void 0 : t.postcode) ?? "";
|
|
@@ -539,7 +541,7 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
539
541
|
const e = a.modelValue ?? {};
|
|
540
542
|
e.profile ?? (e.profile = {}), (t = e.profile).address ?? (t.address = {}), e.profile.address.state = o, l("update:modelValue", e);
|
|
541
543
|
}
|
|
542
|
-
}),
|
|
544
|
+
}), W = C({
|
|
543
545
|
get() {
|
|
544
546
|
var o, e, t;
|
|
545
547
|
return ((t = (e = (o = a.modelValue) == null ? void 0 : o.profile) == null ? void 0 : e.address) == null ? void 0 : t.country) ?? "";
|
|
@@ -562,7 +564,7 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
562
564
|
unit: Be.Enum.day
|
|
563
565
|
}, l("update:modelValue", e);
|
|
564
566
|
}
|
|
565
|
-
}),
|
|
567
|
+
}), S = C({
|
|
566
568
|
get() {
|
|
567
569
|
var o, e, t;
|
|
568
570
|
return ((t = (e = (o = a.modelValue) == null ? void 0 : o.profile) == null ? void 0 : e.address) == null ? void 0 : t.coordinates) ?? null;
|
|
@@ -572,7 +574,7 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
572
574
|
const e = a.modelValue ?? {};
|
|
573
575
|
e.profile ?? (e.profile = {}), (t = e.profile).address ?? (t.address = {}), e.profile.address.coordinates = o, l("update:modelValue", e);
|
|
574
576
|
}
|
|
575
|
-
}),
|
|
577
|
+
}), F = C({
|
|
576
578
|
get() {
|
|
577
579
|
var o, e;
|
|
578
580
|
return ((e = (o = a.modelValue) == null ? void 0 : o.profile) == null ? void 0 : e.phoneNo) ?? "";
|
|
@@ -581,7 +583,7 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
581
583
|
const e = a.modelValue ?? {};
|
|
582
584
|
e.profile ?? (e.profile = {}), e.profile.phoneNo = o, l("update:modelValue", e);
|
|
583
585
|
}
|
|
584
|
-
}), { enabledCountries: i, currentCountry: v } =
|
|
586
|
+
}), { enabledCountries: i, currentCountry: v } = Se(), _ = C(() => v.value || ""), E = C({
|
|
585
587
|
get() {
|
|
586
588
|
var o, e;
|
|
587
589
|
return ((e = (o = a.modelValue) == null ? void 0 : o.profile) == null ? void 0 : e.email) ?? "";
|
|
@@ -590,7 +592,7 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
590
592
|
const e = a.modelValue ?? {};
|
|
591
593
|
e.profile ?? (e.profile = {}), e.profile.email = o, l("update:modelValue", e);
|
|
592
594
|
}
|
|
593
|
-
}),
|
|
595
|
+
}), R = C({
|
|
594
596
|
get() {
|
|
595
597
|
var o;
|
|
596
598
|
return ((o = a.modelValue) == null ? void 0 : o.customAttributes) ?? {};
|
|
@@ -601,7 +603,7 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
601
603
|
} : {};
|
|
602
604
|
e.customAttributes = o, l("update:modelValue", e);
|
|
603
605
|
}
|
|
604
|
-
}), U =
|
|
606
|
+
}), U = T();
|
|
605
607
|
return b({
|
|
606
608
|
validateInputs: () => {
|
|
607
609
|
var o, e;
|
|
@@ -616,18 +618,18 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
616
618
|
(e = (o = U.value) == null ? void 0 : o.resetInputs) == null || e.call(o);
|
|
617
619
|
}
|
|
618
620
|
}), (o, e) => {
|
|
619
|
-
const t =
|
|
620
|
-
return
|
|
621
|
+
const t = I("FmTextField"), c = I("FmPhoneNumber"), h = I("FmForm");
|
|
622
|
+
return D(), O(h, {
|
|
621
623
|
ref_key: "formRef",
|
|
622
624
|
ref: U,
|
|
623
625
|
onValidationSuccess: e[13] || (e[13] = (p) => l("validation-success"))
|
|
624
626
|
}, {
|
|
625
627
|
default: B(() => [
|
|
626
|
-
V("div",
|
|
627
|
-
V("div",
|
|
628
|
+
V("div", _o, [
|
|
629
|
+
V("div", ko, [
|
|
628
630
|
k(t, {
|
|
629
631
|
disabled: o.disabled,
|
|
630
|
-
rules: [r(
|
|
632
|
+
rules: [r(L)()],
|
|
631
633
|
"label-mark": "required",
|
|
632
634
|
label: r(n)("inventory.warehouse.companyName"),
|
|
633
635
|
modelValue: u.value,
|
|
@@ -635,19 +637,19 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
635
637
|
}, null, 8, ["disabled", "rules", "label", "modelValue"]),
|
|
636
638
|
k(t, {
|
|
637
639
|
disabled: o.disabled,
|
|
638
|
-
rules: [r(
|
|
640
|
+
rules: [r(L)()],
|
|
639
641
|
"label-mark": "required",
|
|
640
642
|
label: r(n)("inventory.warehouse.registrationNo"),
|
|
641
643
|
modelValue: y.value,
|
|
642
644
|
"onUpdate:modelValue": e[1] || (e[1] = (p) => y.value = p)
|
|
643
645
|
}, null, 8, ["disabled", "rules", "label", "modelValue"])
|
|
644
646
|
]),
|
|
645
|
-
V("div",
|
|
646
|
-
V("div",
|
|
647
|
-
V("div",
|
|
647
|
+
V("div", Ao, [
|
|
648
|
+
V("div", Co, P(r(n)("inventory.warehouse.address.title")), 1),
|
|
649
|
+
V("div", Mo, [
|
|
648
650
|
k(t, {
|
|
649
651
|
disabled: o.disabled,
|
|
650
|
-
rules: [r(
|
|
652
|
+
rules: [r(L)()],
|
|
651
653
|
"label-mark": "required",
|
|
652
654
|
label: r(n)("inventory.warehouse.address.line1"),
|
|
653
655
|
modelValue: s.value,
|
|
@@ -662,7 +664,7 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
662
664
|
}, null, 8, ["disabled", "label", "modelValue"]),
|
|
663
665
|
k(t, {
|
|
664
666
|
disabled: o.disabled,
|
|
665
|
-
rules: [r(
|
|
667
|
+
rules: [r(L)()],
|
|
666
668
|
"label-mark": "required",
|
|
667
669
|
label: r(n)("inventory.warehouse.address.city"),
|
|
668
670
|
modelValue: w.value,
|
|
@@ -670,15 +672,15 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
670
672
|
}, null, 8, ["disabled", "rules", "label", "modelValue"]),
|
|
671
673
|
k(t, {
|
|
672
674
|
disabled: o.disabled,
|
|
673
|
-
rules: [r(
|
|
675
|
+
rules: [r(L)()],
|
|
674
676
|
"label-mark": "required",
|
|
675
677
|
label: r(n)("inventory.warehouse.address.postcode"),
|
|
676
|
-
modelValue:
|
|
677
|
-
"onUpdate:modelValue": e[5] || (e[5] = (p) =>
|
|
678
|
+
modelValue: x.value,
|
|
679
|
+
"onUpdate:modelValue": e[5] || (e[5] = (p) => x.value = p)
|
|
678
680
|
}, null, 8, ["disabled", "rules", "label", "modelValue"]),
|
|
679
681
|
k(t, {
|
|
680
682
|
disabled: o.disabled,
|
|
681
|
-
rules: [r(
|
|
683
|
+
rules: [r(L)()],
|
|
682
684
|
"label-mark": "required",
|
|
683
685
|
label: r(n)("inventory.warehouse.address.state"),
|
|
684
686
|
modelValue: M.value,
|
|
@@ -686,29 +688,32 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
686
688
|
}, null, 8, ["disabled", "rules", "label", "modelValue"]),
|
|
687
689
|
k(t, {
|
|
688
690
|
disabled: o.disabled,
|
|
689
|
-
rules: [r(
|
|
691
|
+
rules: [r(L)()],
|
|
690
692
|
"label-mark": "required",
|
|
691
693
|
label: r(n)("inventory.warehouse.address.country"),
|
|
692
|
-
modelValue:
|
|
693
|
-
"onUpdate:modelValue": e[7] || (e[7] = (p) =>
|
|
694
|
+
modelValue: W.value,
|
|
695
|
+
"onUpdate:modelValue": e[7] || (e[7] = (p) => W.value = p)
|
|
694
696
|
}, null, 8, ["disabled", "rules", "label", "modelValue"])
|
|
695
697
|
])
|
|
696
698
|
]),
|
|
697
|
-
V("div",
|
|
698
|
-
V("div", Fo,
|
|
699
|
-
k(
|
|
699
|
+
V("div", So, [
|
|
700
|
+
V("div", Fo, P(r(n)("inventory.warehouse.coordinate.title")), 1),
|
|
701
|
+
k(Vo, {
|
|
700
702
|
disabled: o.disabled,
|
|
701
|
-
rules: [r(
|
|
703
|
+
rules: [r(L)()],
|
|
702
704
|
"label-mark": "required",
|
|
703
|
-
modelValue:
|
|
704
|
-
"onUpdate:modelValue": e[8] || (e[8] = (p) =>
|
|
705
|
+
modelValue: S.value,
|
|
706
|
+
"onUpdate:modelValue": e[8] || (e[8] = (p) => S.value = p),
|
|
705
707
|
country: _.value
|
|
706
708
|
}, null, 8, ["disabled", "rules", "modelValue", "country"])
|
|
707
709
|
]),
|
|
708
|
-
r(d).enableSupplierPreparationTime ? (
|
|
709
|
-
V("div",
|
|
710
|
-
Me(
|
|
711
|
-
k(
|
|
710
|
+
r(d).enableSupplierPreparationTime ? (D(), q("div", xo, [
|
|
711
|
+
V("div", $o, [
|
|
712
|
+
Me(P(r(n)("inventory.supplier.delivery.title")) + " ", 1),
|
|
713
|
+
k(Xe, {
|
|
714
|
+
tier: "standard",
|
|
715
|
+
category: "beta"
|
|
716
|
+
})
|
|
712
717
|
]),
|
|
713
718
|
k(t, {
|
|
714
719
|
disabled: o.disabled,
|
|
@@ -718,16 +723,16 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
718
723
|
type: "number"
|
|
719
724
|
}, null, 8, ["disabled", "label", "modelValue"])
|
|
720
725
|
])) : oe("", !0),
|
|
721
|
-
V("div",
|
|
722
|
-
V("div",
|
|
723
|
-
V("div",
|
|
724
|
-
k(
|
|
726
|
+
V("div", To, [
|
|
727
|
+
V("div", Do, P(r(n)("inventory.warehouse.contact.title")), 1),
|
|
728
|
+
V("div", Ro, [
|
|
729
|
+
k(c, {
|
|
725
730
|
disabled: o.disabled,
|
|
726
|
-
rules: [r(
|
|
731
|
+
rules: [r(L)()],
|
|
727
732
|
"label-mark": "required",
|
|
728
733
|
label: r(n)("inventory.warehouse.contact.phoneNumber"),
|
|
729
|
-
modelValue:
|
|
730
|
-
"onUpdate:modelValue": e[10] || (e[10] = (p) =>
|
|
734
|
+
modelValue: F.value,
|
|
735
|
+
"onUpdate:modelValue": e[10] || (e[10] = (p) => F.value = p),
|
|
731
736
|
"extra-country-codes": r(i),
|
|
732
737
|
"default-country": r(v)
|
|
733
738
|
}, null, 8, ["disabled", "rules", "label", "modelValue", "extra-country-codes", "default-country"]),
|
|
@@ -735,16 +740,16 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
735
740
|
disabled: o.disabled,
|
|
736
741
|
"label-mark": "optional",
|
|
737
742
|
label: r(n)("inventory.warehouse.contact.email"),
|
|
738
|
-
modelValue:
|
|
739
|
-
"onUpdate:modelValue": e[11] || (e[11] = (p) =>
|
|
743
|
+
modelValue: E.value,
|
|
744
|
+
"onUpdate:modelValue": e[11] || (e[11] = (p) => E.value = p)
|
|
740
745
|
}, null, 8, ["disabled", "label", "modelValue"])
|
|
741
746
|
])
|
|
742
747
|
]),
|
|
743
748
|
V("div", null, [
|
|
744
749
|
k(Qe, {
|
|
745
750
|
entity: "warehouse",
|
|
746
|
-
modelValue:
|
|
747
|
-
"onUpdate:modelValue": e[12] || (e[12] = (p) =>
|
|
751
|
+
modelValue: R.value,
|
|
752
|
+
"onUpdate:modelValue": e[12] || (e[12] = (p) => R.value = p)
|
|
748
753
|
}, null, 8, ["modelValue"])
|
|
749
754
|
])
|
|
750
755
|
])
|
|
@@ -753,10 +758,10 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
753
758
|
}, 512);
|
|
754
759
|
};
|
|
755
760
|
}
|
|
756
|
-
}),
|
|
761
|
+
}), Eo = {
|
|
757
762
|
key: 0,
|
|
758
763
|
class: "flex gap-4"
|
|
759
|
-
},
|
|
764
|
+
}, Uo = /* @__PURE__ */ j({
|
|
760
765
|
__name: "WarehouseDialog",
|
|
761
766
|
props: {
|
|
762
767
|
mode: {},
|
|
@@ -765,27 +770,27 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
765
770
|
},
|
|
766
771
|
emits: ["update:show", "submitted"],
|
|
767
772
|
setup(f, { expose: b, emit: g }) {
|
|
768
|
-
const a = f, l = g, d =
|
|
773
|
+
const a = f, l = g, d = T(!1), n = se(), { t: u } = G(), y = Te(), s = C(() => {
|
|
769
774
|
switch (a.mode) {
|
|
770
|
-
case
|
|
775
|
+
case $.READ:
|
|
771
776
|
return "";
|
|
772
|
-
case
|
|
777
|
+
case $.UPDATE:
|
|
773
778
|
return u("inventory.warehouse.update.title");
|
|
774
|
-
case
|
|
779
|
+
case $.CREATE:
|
|
775
780
|
return u("inventory.warehouse.create.title");
|
|
776
781
|
}
|
|
777
782
|
return "";
|
|
778
783
|
}), A = C(() => {
|
|
779
784
|
switch (a.mode) {
|
|
780
|
-
case
|
|
785
|
+
case $.READ:
|
|
781
786
|
return "";
|
|
782
|
-
case
|
|
787
|
+
case $.UPDATE:
|
|
783
788
|
return u("common.save");
|
|
784
|
-
case
|
|
789
|
+
case $.CREATE:
|
|
785
790
|
return u("common.add");
|
|
786
791
|
}
|
|
787
792
|
return "";
|
|
788
|
-
}), w =
|
|
793
|
+
}), w = T();
|
|
789
794
|
b({
|
|
790
795
|
validateInputs: () => {
|
|
791
796
|
var i, v;
|
|
@@ -800,22 +805,22 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
800
805
|
(v = (i = w.value) == null ? void 0 : i.resetInputs) == null || v.call(i);
|
|
801
806
|
}
|
|
802
807
|
});
|
|
803
|
-
const
|
|
804
|
-
function
|
|
808
|
+
const x = ae(a, "show"), M = ae(a, "warehouse");
|
|
809
|
+
function W() {
|
|
805
810
|
var i, v;
|
|
806
811
|
(v = (i = w.value) == null ? void 0 : i.validateInputs) == null || v.call(i);
|
|
807
812
|
}
|
|
808
813
|
function m() {
|
|
809
814
|
switch (a.mode) {
|
|
810
|
-
case
|
|
815
|
+
case $.READ:
|
|
811
816
|
return;
|
|
812
|
-
case
|
|
813
|
-
return x();
|
|
814
|
-
case T.CREATE:
|
|
817
|
+
case $.UPDATE:
|
|
815
818
|
return F();
|
|
819
|
+
case $.CREATE:
|
|
820
|
+
return S();
|
|
816
821
|
}
|
|
817
822
|
}
|
|
818
|
-
async function
|
|
823
|
+
async function S() {
|
|
819
824
|
var i, v;
|
|
820
825
|
d.value = !0;
|
|
821
826
|
try {
|
|
@@ -837,7 +842,7 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
837
842
|
d.value = !1;
|
|
838
843
|
}
|
|
839
844
|
}
|
|
840
|
-
async function
|
|
845
|
+
async function F() {
|
|
841
846
|
var i, v;
|
|
842
847
|
if (M.value === null) {
|
|
843
848
|
n.open({
|
|
@@ -868,36 +873,36 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
868
873
|
}
|
|
869
874
|
}
|
|
870
875
|
return (i, v) => {
|
|
871
|
-
const _ =
|
|
872
|
-
return
|
|
876
|
+
const _ = I("FmButton"), E = I("FmSideSheet");
|
|
877
|
+
return D(), O(E, {
|
|
873
878
|
header: s.value,
|
|
874
|
-
modelValue: r(
|
|
875
|
-
"onUpdate:modelValue": v[1] || (v[1] = (
|
|
879
|
+
modelValue: r(x),
|
|
880
|
+
"onUpdate:modelValue": v[1] || (v[1] = (R) => _e(x) ? x.value = R : null),
|
|
876
881
|
"dismiss-away": !d.value,
|
|
877
882
|
"close-button": "",
|
|
878
883
|
"max-width": 500
|
|
879
884
|
}, {
|
|
880
885
|
default: B(() => {
|
|
881
|
-
var
|
|
886
|
+
var R;
|
|
882
887
|
return [
|
|
883
|
-
(
|
|
888
|
+
(D(), O(Wo, {
|
|
884
889
|
class: "w-full",
|
|
885
890
|
ref_key: "formRef",
|
|
886
891
|
ref: w,
|
|
887
892
|
modelValue: r(M),
|
|
888
893
|
"onUpdate:modelValue": v[0] || (v[0] = (U) => _e(M) ? M.value = U : null),
|
|
889
894
|
onValidationSuccess: m,
|
|
890
|
-
key: ((
|
|
891
|
-
disabled: d.value || i.mode === r(
|
|
895
|
+
key: ((R = i.warehouse) == null ? void 0 : R._id) ?? "",
|
|
896
|
+
disabled: d.value || i.mode === r($).READ
|
|
892
897
|
}, null, 8, ["modelValue", "disabled"]))
|
|
893
898
|
];
|
|
894
899
|
}),
|
|
895
900
|
"side-sheet-footer": B(() => [
|
|
896
|
-
i.mode !== r(
|
|
901
|
+
i.mode !== r($).READ ? (D(), q("div", Eo, [
|
|
897
902
|
k(_, {
|
|
898
903
|
loading: d.value,
|
|
899
904
|
label: A.value,
|
|
900
|
-
onClick:
|
|
905
|
+
onClick: W
|
|
901
906
|
}, null, 8, ["loading", "label"])
|
|
902
907
|
])) : oe("", !0)
|
|
903
908
|
]),
|
|
@@ -905,27 +910,27 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
905
910
|
}, 8, ["header", "modelValue", "dismiss-away"]);
|
|
906
911
|
};
|
|
907
912
|
}
|
|
908
|
-
}), Po = { class: "flex flex-col py-8" },
|
|
913
|
+
}), Po = { class: "flex flex-col py-8" }, No = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Lo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Io = {
|
|
909
914
|
key: 0,
|
|
910
915
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
911
|
-
},
|
|
916
|
+
}, Bo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary line-clamp-3" }, nt = /* @__PURE__ */ j({
|
|
912
917
|
__name: "WarehouseView",
|
|
913
918
|
setup(f) {
|
|
914
|
-
const b = Te(), g = ze(), a =
|
|
919
|
+
const b = Te(), g = ze(), a = Fe(), l = C(() => b.warehouses), d = xe(), n = se(), u = T(!1), { t: y } = G();
|
|
915
920
|
le(() => {
|
|
916
921
|
g._currentLocation && i();
|
|
917
922
|
}), te([() => g._currentLocation], () => {
|
|
918
923
|
g._currentLocation && i();
|
|
919
924
|
});
|
|
920
|
-
const s =
|
|
925
|
+
const s = T({});
|
|
921
926
|
function A() {
|
|
922
|
-
s.value.mode =
|
|
927
|
+
s.value.mode = $.CREATE, s.value.warehouse = {}, s.value.show = !0;
|
|
923
928
|
}
|
|
924
929
|
function w(o) {
|
|
925
930
|
const e = z(o);
|
|
926
|
-
s.value.mode = a.isEnabled ?
|
|
931
|
+
s.value.mode = a.isEnabled ? $.READ : $.UPDATE, s.value.warehouse = e, s.value.show = !0;
|
|
927
932
|
}
|
|
928
|
-
async function
|
|
933
|
+
async function x(o) {
|
|
929
934
|
d.open({
|
|
930
935
|
title: y("inventory.warehouse.delete.confirm"),
|
|
931
936
|
message: y("inventory.warehouse.delete.confirmMessage", { name: o.profile.name }),
|
|
@@ -961,14 +966,14 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
961
966
|
d.close();
|
|
962
967
|
}
|
|
963
968
|
}
|
|
964
|
-
const { columnDefs:
|
|
969
|
+
const { columnDefs: W, formatRowData: m } = lo(
|
|
965
970
|
w,
|
|
966
|
-
|
|
971
|
+
x
|
|
967
972
|
);
|
|
968
|
-
function
|
|
973
|
+
function S(o) {
|
|
969
974
|
o === "create" && A();
|
|
970
975
|
}
|
|
971
|
-
const
|
|
976
|
+
const F = T("");
|
|
972
977
|
async function i(o = !1) {
|
|
973
978
|
u.value = !0;
|
|
974
979
|
try {
|
|
@@ -982,7 +987,7 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
982
987
|
u.value = !1;
|
|
983
988
|
}
|
|
984
989
|
}
|
|
985
|
-
const { breakpoints: v } = He(), _ = C(() => v.value.xs || v.value.sm),
|
|
990
|
+
const { breakpoints: v } = He(), _ = C(() => v.value.xs || v.value.sm), E = C(() => _.value ? 10 : 20), R = je(), U = C(() => [
|
|
986
991
|
{
|
|
987
992
|
label: y("inventory.warehouse.create.title"),
|
|
988
993
|
value: "create",
|
|
@@ -991,15 +996,15 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
991
996
|
}
|
|
992
997
|
]);
|
|
993
998
|
return (o, e) => {
|
|
994
|
-
const t =
|
|
995
|
-
return
|
|
999
|
+
const t = I("FmTable");
|
|
1000
|
+
return D(), O(Ge, {
|
|
996
1001
|
title: r(y)("inventory.warehouse.title"),
|
|
997
1002
|
actions: U.value,
|
|
998
|
-
"onClick:action":
|
|
1003
|
+
"onClick:action": S
|
|
999
1004
|
}, {
|
|
1000
1005
|
default: B(() => [
|
|
1001
1006
|
V("div", {
|
|
1002
|
-
class:
|
|
1007
|
+
class: Ue([
|
|
1003
1008
|
"flex flex-col gap-8 max-h-full",
|
|
1004
1009
|
{
|
|
1005
1010
|
"p-0": _.value,
|
|
@@ -1007,49 +1012,49 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
1007
1012
|
}
|
|
1008
1013
|
])
|
|
1009
1014
|
}, [
|
|
1010
|
-
k(
|
|
1015
|
+
k(to, {
|
|
1011
1016
|
searchable: "",
|
|
1012
|
-
search:
|
|
1013
|
-
"onUpdate:search": e[0] || (e[0] = (c) =>
|
|
1017
|
+
search: F.value,
|
|
1018
|
+
"onUpdate:search": e[0] || (e[0] = (c) => F.value = c)
|
|
1014
1019
|
}, null, 8, ["search"]),
|
|
1015
|
-
(
|
|
1016
|
-
style:
|
|
1017
|
-
"column-defs": r(
|
|
1020
|
+
(D(), O(t, {
|
|
1021
|
+
style: Pe(r(R).tableHeight),
|
|
1022
|
+
"column-defs": r(W),
|
|
1018
1023
|
"row-data": r(m)(l.value),
|
|
1019
|
-
"search-value":
|
|
1024
|
+
"search-value": F.value,
|
|
1020
1025
|
loading: !r(g)._currentLocation || u.value,
|
|
1021
1026
|
onRowClick: e[1] || (e[1] = (c) => w(c.original.original)),
|
|
1022
1027
|
key: l.value.length,
|
|
1023
|
-
"page-size":
|
|
1028
|
+
"page-size": E.value
|
|
1024
1029
|
}, {
|
|
1025
1030
|
"list-row": B((c) => [
|
|
1026
|
-
k(
|
|
1031
|
+
k(oo, {
|
|
1027
1032
|
row: c,
|
|
1028
1033
|
onRowClick: (h) => w(h.original)
|
|
1029
1034
|
}, {
|
|
1030
1035
|
default: B((h) => {
|
|
1031
|
-
var
|
|
1036
|
+
var p, N, K, H, ne, ue, ie, de, Y, ce, me, pe, fe, ye, Z, ve, he, be, ge, J, we;
|
|
1032
1037
|
return [
|
|
1033
1038
|
V("div", Po, [
|
|
1034
|
-
V("div",
|
|
1039
|
+
V("div", No, [
|
|
1035
1040
|
k(r(X), {
|
|
1036
|
-
render: (K = (
|
|
1041
|
+
render: (K = (N = (p = h.warehouse) == null ? void 0 : p.column) == null ? void 0 : N.columnDef) == null ? void 0 : K.cell,
|
|
1037
1042
|
props: (ne = (H = h.warehouse) == null ? void 0 : H.getContext) == null ? void 0 : ne.call(H)
|
|
1038
1043
|
}, null, 8, ["render", "props"])
|
|
1039
1044
|
]),
|
|
1040
|
-
V("div",
|
|
1045
|
+
V("div", Lo, [
|
|
1041
1046
|
k(r(X), {
|
|
1042
1047
|
render: (de = (ie = (ue = h.contact) == null ? void 0 : ue.column) == null ? void 0 : ie.columnDef) == null ? void 0 : de.cell,
|
|
1043
1048
|
props: (ce = (Y = h.contact) == null ? void 0 : Y.getContext) == null ? void 0 : ce.call(Y)
|
|
1044
1049
|
}, null, 8, ["render", "props"])
|
|
1045
1050
|
]),
|
|
1046
|
-
(me = c.original) != null && me.email ? (
|
|
1051
|
+
(me = c.original) != null && me.email ? (D(), q("div", Io, [
|
|
1047
1052
|
k(r(X), {
|
|
1048
1053
|
render: (ye = (fe = (pe = h.email) == null ? void 0 : pe.column) == null ? void 0 : fe.columnDef) == null ? void 0 : ye.cell,
|
|
1049
1054
|
props: (ve = (Z = h.email) == null ? void 0 : Z.getContext) == null ? void 0 : ve.call(Z)
|
|
1050
1055
|
}, null, 8, ["render", "props"])
|
|
1051
1056
|
])) : oe("", !0),
|
|
1052
|
-
V("div",
|
|
1057
|
+
V("div", Bo, [
|
|
1053
1058
|
k(r(X), {
|
|
1054
1059
|
render: (ge = (be = (he = h.address) == null ? void 0 : he.column) == null ? void 0 : be.columnDef) == null ? void 0 : ge.cell,
|
|
1055
1060
|
props: (we = (J = h.address) == null ? void 0 : J.getContext) == null ? void 0 : we.call(J)
|
|
@@ -1064,7 +1069,7 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
1064
1069
|
_: 1
|
|
1065
1070
|
}, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"]))
|
|
1066
1071
|
], 2),
|
|
1067
|
-
k(
|
|
1072
|
+
k(Uo, {
|
|
1068
1073
|
show: s.value.show,
|
|
1069
1074
|
"onUpdate:show": e[2] || (e[2] = (c) => s.value.show = c),
|
|
1070
1075
|
warehouse: s.value.warehouse,
|
|
@@ -1078,5 +1083,5 @@ const ho = { class: "flex gap-8 items-center" }, bo = { key: 0 }, go = { key: 1
|
|
|
1078
1083
|
}
|
|
1079
1084
|
});
|
|
1080
1085
|
export {
|
|
1081
|
-
|
|
1086
|
+
nt as default
|
|
1082
1087
|
};
|