@feedmepos/mf-inventory-portal 1.7.0 → 1.7.1-dev.0
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-mfv976r3.js → App-B_ja37tB.js} +5 -5
- package/dist/ApprovalView-_wG6KeZl.js +249 -0
- package/dist/{BindingsDialog-DnWLIslN.js → BindingsDialog-0IRWCLTc.js} +2 -2
- package/dist/{BindingsPicker-BOPzfVXq.js → BindingsPicker-DCISa6Fx.js} +2 -2
- package/dist/{BindingsTable-Cky7o_NG.js → BindingsTable-B3CmHp97.js} +3 -3
- package/dist/BulkReceiveRequestView-Dmqm65c9.js +2025 -0
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-dRYFLJVj.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-D4Nd89xp.js} +1 -1
- package/dist/{ClosingDraftView-BsREbRBA.js → ClosingDraftView-DDWU93p0.js} +21 -21
- package/dist/{ClosingHistoryView-J8XyfB2_.js → ClosingHistoryView-KdmhszIO.js} +7 -7
- package/dist/ClosingTemplateView-CQRujMB9.js +2346 -0
- package/dist/ConnectedBusinessView-Cu2QnRN9.js +533 -0
- package/dist/{DefaultView-BqtI-DBZ.js → DefaultView-QAEDG6pS.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-Bo4KtO5Q.js → DeliveryOrderPrintPreview-B08SSOCX.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-hBB0AHTL.js → EmailDialog.vue_vue_type_script_setup_true_lang-DdzV_fzq.js} +13245 -13063
- package/dist/{FmAdminBadge-DlplQOHb.js → FmAdminBadge-DH_2w13D.js} +8 -8
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BDni_x3F.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CmH3uhTZ.js} +1 -1
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dzqh8pM9.js +84 -0
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bu-ccw4K.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Df-yCfRe.js} +4 -4
- package/dist/{FmMultiselectDialog-DMB-1gqC.js → FmMultiselectDialog-DpPyNOpJ.js} +1 -1
- package/dist/{FmMultiselectDialog-B1vR5H5H.js → FmMultiselectDialog-QEs0yct_.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BsjlumX9.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D8-IQUtA.js} +121 -119
- package/dist/{ImportView-xLqTJPKm.js → ImportView-8qlgZSTO.js} +8 -8
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DuxQPayd.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CGWRbAF2.js} +1 -1
- package/dist/{IngredientGroupView-DQjBoKhR.js → IngredientGroupView-BI9SlKfz.js} +6 -6
- package/dist/{IngredientsView-Be4k9xvZ.js → IngredientsView-1naUkKAi.js} +17 -17
- package/dist/{IntegrationExplorerView-Dbcybdvj.js → IntegrationExplorerView-C6kyLz3y.js} +5 -5
- package/dist/{IntegrationView-C5t2Rsq1.js → IntegrationView-DrmxLdlk.js} +15 -15
- package/dist/{InventoryBindingForm-B7RefQSJ.js → InventoryBindingForm-CPNAgZkD.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-lYl5CWxn.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-sz_VtHRr.js} +5 -5
- package/dist/{InventoryBindingSummary-BKF-B5Kf.js → InventoryBindingSummary-Cu98L10w.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DhpB51X8.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-g2PDNQx-.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Dhf-ROKc.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BZEa61go.js} +1 -1
- package/dist/{ProductionView-BAkzsaXt.js → ProductionView-D8dxypqA.js} +8 -8
- package/dist/{PublishView-u1DSi_3y.js → PublishView-C82UwIoz.js} +4 -4
- package/dist/{PurchaseOrderPrintPreview-spvdjRxW.js → PurchaseOrderPrintPreview-CP40tEma.js} +2 -2
- package/dist/ReceiveRequestView-DDo0Pb0J.js +514 -0
- package/dist/{RecipeView-DB_zPDd6.js → RecipeView-DB1DJQp7.js} +18 -18
- package/dist/{SettingsView-DsFxSs0T.js → SettingsView-DsS62lxW.js} +6 -6
- package/dist/{SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js → SingleColumnLayout.vue_vue_type_script_setup_true_lang-DWsPvPE1.js} +1 -1
- package/dist/{StockView-DEkXxk4b.js → StockView-gcf7RCZz.js} +23 -23
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BLWES2jH.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-nXqFCKic.js} +1 -1
- package/dist/{SupplierView-Di8rBh-_.js → SupplierView-BIANlKLE.js} +13 -13
- package/dist/{SurchargeView-s7i5_7XF.js → SurchargeView-kRzaixM5.js} +7 -7
- package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-QMUVuthC.js +211 -0
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-aSnsm9Sw.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BceIOuBq.js} +2 -2
- package/dist/TransferDetailsV3.vue_vue_type_script_setup_true_lang-DYAzxoHE.js +5991 -0
- package/dist/{TransferTemplateView-C94eigII.js → TransferTemplateView-Bq68Vh7t.js} +21 -21
- package/dist/{UnitCostHistoryView-DTPzSJrM.js → UnitCostHistoryView-d0oLssyZ.js} +6 -6
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-B3NPv8Eb.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CLOotG6K.js} +4 -4
- package/dist/{UnitView-DdGUw_tx.js → UnitView-BHfm2IE4.js} +8 -8
- package/dist/{WarehouseView-BQxSYVvF.js → WarehouseView-CorSYwm6.js} +6 -6
- package/dist/{WastageTemplateView-Bjc1PUko.js → WastageTemplateView-CtYZwiRW.js} +15 -15
- package/dist/api/connected-business-mapping.d.ts +25 -0
- package/dist/api/purchase-order.d.ts +35 -1
- package/dist/{app-Ci7Aaea6.js → app-37NZKFUI.js} +5557 -5192
- package/dist/app.d.ts +88 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-Chy8WrlR.js → closing-template-C0dl45x2.js} +1 -1
- package/dist/components/FmFilterableMenuOptions.vue.d.ts +11 -2
- package/dist/connected-business-mapping-ywgqqyMr.js +37 -0
- package/dist/{date2-Bidui0P3.js → date2-r4KgBCs9.js} +1 -1
- package/dist/{dayjs.min-CFgtzCV7.js → dayjs.min-BKUldDi9.js} +1 -1
- package/dist/{decimal-C9gpKKZI.js → decimal-Cgmw6HIY.js} +2 -2
- package/dist/{defineDeepModel-jLHm8HR1.js → defineDeepModel-DXLwZWst.js} +1 -1
- package/dist/{duplicate-template-D9TiIFbd.js → duplicate-template-DDA4QWPl.js} +1 -1
- package/dist/feature-B4BoCy_k.js +1548 -0
- package/dist/{format-time-from-id-Dw-n4jjX.js → format-time-from-id-Dhjn5QgH.js} +1 -1
- package/dist/{format-unit-display-C8RuVRS1.js → format-unit-display-g95-VuYJ.js} +12 -12
- package/dist/{import-export.helper-CuhpmMlh.js → import-export.helper-DsZFPPqj.js} +6 -6
- package/dist/{index-CsDKvy88.js → index-B9WjF3Ox.js} +1 -1
- package/dist/{index-BvJJtxfs.js → index-C207KsUh.js} +3 -3
- package/dist/{index-BbLw-k2u.js → index-D3Bmmx66.js} +1 -1
- package/dist/{inventory-core-dart.default-l09rPSab.js → inventory-core-dart.default-NpD15h63.js} +7104 -5555
- package/dist/{jszip.min-Q-x0ALLG.js → jszip.min-B52cHzHI.js} +129 -129
- package/dist/{lz-string-BeXPK_xO.js → lz-string-CItFpr5-.js} +1 -1
- package/dist/{netsuite-BTb2NFU5.js → netsuite-R_NkLn5t.js} +2 -2
- package/dist/{number-Zlh6TxmH.js → number-BkC_lelq.js} +3 -3
- package/dist/{predefined-templates-CXh7OWR3.js → predefined-templates-CVT54o4V.js} +1 -1
- package/dist/{purchase-order-template-Dvr65U29.js → purchase-order-template-DvqAncB2.js} +1 -1
- package/dist/{recalculationUtils-BkF7XUdf.js → recalculationUtils-Cak1mo4o.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{rules-FAZ-EkdF.js → rules--cnFg-PI.js} +2 -2
- package/dist/{stock-BEJdUeLP.js → stock-BLYAJxMj.js} +1 -1
- package/dist/{stock-CGowMSCF.js → stock-DvquSog3.js} +3 -3
- package/dist/stores/feature.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-JOAqqBkF.js → supplier-C5X8p_vd.js} +2 -2
- package/dist/{surcharge-gdAEvtj9.js → surcharge-CLkpleoW.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-By1vxOaF.js → uom-rules-CykFo_pB.js} +1 -1
- package/dist/{use-ingredient-select-dialog-B-bFjj3N.js → use-ingredient-select-dialog-DlxWMkAI.js} +2 -2
- package/dist/{use-inventory-binding-dialog-o-pedZ68.js → use-inventory-binding-dialog-DnWDyziu.js} +2 -2
- package/dist/{use-template-enabled-locations-5H3RhSuH.js → use-template-enabled-locations-SRgcWLO4.js} +2 -2
- package/dist/{use-transfer-locations-o51Ss7cr.js → use-transfer-locations-D4f4Ib1r.js} +2 -2
- package/dist/{useHrmPermission-DzihMP-i.js → useHrmPermission-lAc6ZHVZ.js} +1 -1
- package/dist/{useNavigationMenu-B_d4hWSX.js → useNavigationMenu-CeN7TEwe.js} +59 -49
- package/dist/{useSseClient-Cd0it8zJ.js → useSseClient-C6ndlLpA.js} +1 -1
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-search.d.ts +6 -0
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-search.spec.d.ts +1 -0
- package/dist/views/connected-business/ConnectedBusinessMappingPanel.vue.d.ts +25 -0
- package/dist/views/connected-business/ConnectedBusinessView.vue.d.ts +2 -0
- package/dist/views/receive-request/components/CreateTransferChoice.vue.d.ts +27 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetailsV3.vue.d.ts +18 -0
- package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +102 -2
- package/dist/views/receive-request/composables/fn.d.ts +2 -1
- package/dist/views/receive-request/composables/fn.spec.d.ts +1 -0
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +119 -3
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +642 -13
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +720 -14
- package/dist/views/receive-request/helper/po-version.d.ts +6 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +524 -10
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +102 -2
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +4 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +8 -0
- package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +12 -0
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +24 -0
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +24 -0
- package/dist/{vue-i18n-CsIY6eJ6.js → vue-i18n-DDqVG60p.js} +479 -479
- package/dist/{xlsx.util-CuxvUzGN.js → xlsx.util-BzQcPwvM.js} +2 -2
- package/package.json +4 -4
- package/dist/ApprovalView-B3nQokUv.js +0 -242
- package/dist/BulkReceiveRequestView-CyFXAM_t.js +0 -2011
- package/dist/ClosingTemplateView-CkiPhzJ8.js +0 -2270
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BkEFIDXV.js +0 -76
- package/dist/ReceiveRequestView-TfjSKJ7q.js +0 -345
- package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-18j2ZpX-.js +0 -178
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CpUyhO4Q.js +0 -4660
- package/dist/feature-HqzShic7.js +0 -1136
|
@@ -0,0 +1,514 @@
|
|
|
1
|
+
import { defineComponent as _e, ref as w, resolveComponent as J, createBlock as S, openBlock as b, withCtx as $, createElementVNode as a, toDisplayString as f, unref as e, createElementBlock as X, createCommentVNode as C, normalizeClass as k, createVNode as i, createTextVNode as V, computed as O, watch as fe, normalizeStyle as Ne, Teleport as Ue, normalizeProps as Q, mergeProps as A, guardReactiveProps as ve, isRef as ze } from "vue";
|
|
2
|
+
import { Q as I, u as Me } from "./app-37NZKFUI.js";
|
|
3
|
+
import { i as ye } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CmH3uhTZ.js";
|
|
4
|
+
import { u as Ve, P as K, a as Ae, _ as Ie, b as Ye, c as je, g as Be } from "./TransferDetailsV3.vue_vue_type_script_setup_true_lang-DYAzxoHE.js";
|
|
5
|
+
import { a as be, d as He } from "./number-BkC_lelq.js";
|
|
6
|
+
import { i as Le } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-BZEa61go.js";
|
|
7
|
+
import { d as ge } from "./dayjs.min-BKUldDi9.js";
|
|
8
|
+
import { e as Qe } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-CLOotG6K.js";
|
|
9
|
+
import { u as Ke } from "./useTabStorage-BkIVScW_.js";
|
|
10
|
+
import { u as Je, _ as Xe } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DWsPvPE1.js";
|
|
11
|
+
import { useSnackbar as Ge, useBreakpoints as We } from "@feedmepos/ui-library";
|
|
12
|
+
import { _ as Ze, a as et, b as tt } from "./EmailDialog.vue_vue_type_script_setup_true_lang-DdzV_fzq.js";
|
|
13
|
+
import { useI18n as xe } from "@feedmepos/mf-common";
|
|
14
|
+
import { _ as ot, F as Y } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
15
|
+
import { u as at } from "./feature-B4BoCy_k.js";
|
|
16
|
+
import { _ as rt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Df-yCfRe.js";
|
|
17
|
+
import { P as st, J as nt } from "./app-C39bYJmq.js";
|
|
18
|
+
import { u as lt } from "./netsuite-R_NkLn5t.js";
|
|
19
|
+
import { f as it } from "./predefined-templates-CVT54o4V.js";
|
|
20
|
+
import "./inventory-core-dart.default-NpD15h63.js";
|
|
21
|
+
const ut = { class: "flex flex-col gap-4" }, ct = { class: "fm-typo-en-title-md-600 text-fm-color-typo-primary" }, mt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, dt = { class: "flex flex-col gap-24 py-4" }, pt = { class: "flex flex-col gap-8" }, ft = { class: "fm-typo-en-body-md-600 text-fm-color-typo-primary" }, vt = { class: "flex w-fit gap-4 p-4 bg-fm-color-neutral-gray-100 rounded-full" }, yt = { class: "flex flex-col gap-8" }, bt = { class: "fm-typo-en-body-md-600 text-fm-color-typo-primary" }, gt = { class: "flex flex-col gap-8" }, ht = ["disabled"], _t = { class: "flex flex-1 flex-col gap-4 min-w-0" }, xt = {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: "flex items-center gap-4 fm-typo-en-body-sm-400 text-fm-color-typo-disabled"
|
|
24
|
+
}, St = { class: "flex items-center justify-center w-40 h-40 rounded-md shrink-0 bg-fm-color-system-info-100" }, Dt = { class: "flex flex-1 flex-col gap-4 min-w-0" }, kt = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Ot = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, Tt = { class: "flex items-center gap-4 fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, p = "inventory.transfer.receiveRequest.createDialog", wt = /* @__PURE__ */ _e({
|
|
25
|
+
__name: "CreateTransferChoice",
|
|
26
|
+
props: {
|
|
27
|
+
show: { type: Boolean },
|
|
28
|
+
supportsConnectedBusiness: { type: Boolean },
|
|
29
|
+
outletToOutletOnly: { type: Boolean },
|
|
30
|
+
onSelectTemplate: { type: Function },
|
|
31
|
+
onStartBlank: { type: Function }
|
|
32
|
+
},
|
|
33
|
+
emits: ["update:show"],
|
|
34
|
+
setup(Se, { emit: _ }) {
|
|
35
|
+
const R = _, { t: d } = xe(), u = w(!1);
|
|
36
|
+
return (v, c) => {
|
|
37
|
+
const g = J("FmIcon"), j = J("FmDialog");
|
|
38
|
+
return b(), S(j, {
|
|
39
|
+
"model-value": v.show,
|
|
40
|
+
"close-button": "",
|
|
41
|
+
"dismiss-away": "",
|
|
42
|
+
"max-width": 472,
|
|
43
|
+
"onUpdate:modelValue": c[4] || (c[4] = (x) => R("update:show", x))
|
|
44
|
+
}, {
|
|
45
|
+
"dialog-header": $(() => [
|
|
46
|
+
a("div", ut, [
|
|
47
|
+
a("div", ct, f(e(d)(`${p}.title`)), 1),
|
|
48
|
+
a("div", mt, f(e(d)(`${p}.subtitle`)), 1)
|
|
49
|
+
])
|
|
50
|
+
]),
|
|
51
|
+
default: $(() => [
|
|
52
|
+
a("div", dt, [
|
|
53
|
+
a("div", pt, [
|
|
54
|
+
a("div", ft, f(e(d)(`${p}.source`)), 1),
|
|
55
|
+
a("div", vt, [
|
|
56
|
+
a("button", {
|
|
57
|
+
type: "button",
|
|
58
|
+
class: k([
|
|
59
|
+
"flex items-center gap-4 px-12 py-4 rounded-full fm-typo-en-body-md-600 transition-colors",
|
|
60
|
+
u.value ? "text-fm-color-typo-secondary" : "bg-white text-fm-color-typo-primary shadow-sm"
|
|
61
|
+
]),
|
|
62
|
+
onClick: c[0] || (c[0] = (x) => u.value = !1)
|
|
63
|
+
}, [
|
|
64
|
+
i(g, {
|
|
65
|
+
name: "storefront",
|
|
66
|
+
size: "sm"
|
|
67
|
+
}),
|
|
68
|
+
V(" " + f(e(d)(`${p}.myLocations`)), 1)
|
|
69
|
+
], 2),
|
|
70
|
+
v.supportsConnectedBusiness ? (b(), X("button", {
|
|
71
|
+
key: 0,
|
|
72
|
+
type: "button",
|
|
73
|
+
class: k([
|
|
74
|
+
"flex items-center gap-4 px-12 py-4 rounded-full fm-typo-en-body-sm-600 transition-colors",
|
|
75
|
+
u.value ? "bg-white text-fm-color-typo-primary shadow-sm" : "text-fm-color-typo-secondary"
|
|
76
|
+
]),
|
|
77
|
+
onClick: c[1] || (c[1] = (x) => u.value = !0)
|
|
78
|
+
}, [
|
|
79
|
+
i(g, {
|
|
80
|
+
name: "apartment",
|
|
81
|
+
size: "sm"
|
|
82
|
+
}),
|
|
83
|
+
V(" " + f(e(d)(`${p}.anotherBusiness`)), 1)
|
|
84
|
+
], 2)) : C("", !0)
|
|
85
|
+
])
|
|
86
|
+
]),
|
|
87
|
+
a("div", yt, [
|
|
88
|
+
a("div", bt, f(e(d)(`${p}.howToStart`)), 1),
|
|
89
|
+
a("div", gt, [
|
|
90
|
+
a("button", {
|
|
91
|
+
type: "button",
|
|
92
|
+
disabled: u.value,
|
|
93
|
+
class: k([
|
|
94
|
+
"flex items-center gap-16 p-16 border rounded-md text-left transition-colors",
|
|
95
|
+
u.value ? "bg-fm-color-neutral-gray-100 cursor-not-allowed" : "hover:bg-fm-color-neutral-gray-100 cursor-pointer"
|
|
96
|
+
]),
|
|
97
|
+
onClick: c[2] || (c[2] = //@ts-ignore
|
|
98
|
+
(...x) => v.onSelectTemplate && v.onSelectTemplate(...x))
|
|
99
|
+
}, [
|
|
100
|
+
a("span", {
|
|
101
|
+
class: k([
|
|
102
|
+
"flex items-center justify-center w-40 h-40 rounded-md shrink-0",
|
|
103
|
+
u.value ? "bg-fm-color-neutral-gray-200" : "bg-fm-color-primary-oats"
|
|
104
|
+
])
|
|
105
|
+
}, [
|
|
106
|
+
i(g, {
|
|
107
|
+
name: "dashboard",
|
|
108
|
+
size: "md",
|
|
109
|
+
color: u.value ? "neutral-gray-400" : "primary"
|
|
110
|
+
}, null, 8, ["color"])
|
|
111
|
+
], 2),
|
|
112
|
+
a("div", _t, [
|
|
113
|
+
a("div", {
|
|
114
|
+
class: k([
|
|
115
|
+
"fm-typo-en-body-lg-600",
|
|
116
|
+
u.value ? "text-fm-color-typo-disabled" : "text-fm-color-typo-primary"
|
|
117
|
+
])
|
|
118
|
+
}, f(e(d)(`${p}.template`)), 3),
|
|
119
|
+
a("div", {
|
|
120
|
+
class: k([
|
|
121
|
+
"fm-typo-en-body-sm-400",
|
|
122
|
+
u.value ? "text-fm-color-typo-disabled" : "text-fm-color-typo-secondary"
|
|
123
|
+
])
|
|
124
|
+
}, f(e(d)(`${p}.templateDesc`)), 3),
|
|
125
|
+
u.value ? (b(), X("div", xt, [
|
|
126
|
+
i(g, {
|
|
127
|
+
name: "info",
|
|
128
|
+
size: "sm"
|
|
129
|
+
}),
|
|
130
|
+
V(" " + f(e(d)(`${p}.templateExternalDisabled`)), 1)
|
|
131
|
+
])) : C("", !0)
|
|
132
|
+
]),
|
|
133
|
+
u.value ? C("", !0) : (b(), S(g, {
|
|
134
|
+
key: 0,
|
|
135
|
+
name: "chevron_right",
|
|
136
|
+
size: "md",
|
|
137
|
+
color: "neutral-gray-400",
|
|
138
|
+
class: "shrink-0"
|
|
139
|
+
}))
|
|
140
|
+
], 10, ht),
|
|
141
|
+
a("button", {
|
|
142
|
+
type: "button",
|
|
143
|
+
class: "flex items-center gap-16 p-16 border rounded-md text-left cursor-pointer hover:bg-fm-color-neutral-gray-100 transition-colors",
|
|
144
|
+
onClick: c[3] || (c[3] = (x) => {
|
|
145
|
+
var y;
|
|
146
|
+
return (y = v.onStartBlank) == null ? void 0 : y.call(v, u.value);
|
|
147
|
+
})
|
|
148
|
+
}, [
|
|
149
|
+
a("span", St, [
|
|
150
|
+
i(g, {
|
|
151
|
+
name: "edit",
|
|
152
|
+
size: "md",
|
|
153
|
+
color: "info"
|
|
154
|
+
})
|
|
155
|
+
]),
|
|
156
|
+
a("div", Dt, [
|
|
157
|
+
a("div", kt, f(e(d)(`${p}.blank`)), 1),
|
|
158
|
+
a("div", Ot, f(e(d)(`${p}.blankDesc`)), 1),
|
|
159
|
+
a("div", Tt, [
|
|
160
|
+
i(g, {
|
|
161
|
+
name: "info",
|
|
162
|
+
size: "sm"
|
|
163
|
+
}),
|
|
164
|
+
V(" " + f(v.outletToOutletOnly ? e(d)(`${p}.outletToOutletOnly`) : e(d)(`${p}.locationToLocationOnly`)), 1)
|
|
165
|
+
])
|
|
166
|
+
]),
|
|
167
|
+
i(g, {
|
|
168
|
+
name: "chevron_right",
|
|
169
|
+
size: "md",
|
|
170
|
+
color: "neutral-gray-400",
|
|
171
|
+
class: "shrink-0"
|
|
172
|
+
})
|
|
173
|
+
])
|
|
174
|
+
])
|
|
175
|
+
])
|
|
176
|
+
])
|
|
177
|
+
]),
|
|
178
|
+
_: 1
|
|
179
|
+
}, 8, ["model-value"]);
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
}), $t = { class: "flex flex-col py-8" }, Ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Rt = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Pt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Et = {
|
|
183
|
+
key: 0,
|
|
184
|
+
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
185
|
+
}, Ft = { class: "pt-8" }, he = "ReceiveRequestViewSearchCriteria", eo = /* @__PURE__ */ _e({
|
|
186
|
+
__name: "ReceiveRequestView",
|
|
187
|
+
setup(Se) {
|
|
188
|
+
const { t: _ } = xe(), R = Ge();
|
|
189
|
+
it().fetchTemplates(), I.object({
|
|
190
|
+
name: I.string().optional().nullable(),
|
|
191
|
+
startDate: I.string().optional().nullable(),
|
|
192
|
+
endDate: I.string().optional().nullable()
|
|
193
|
+
});
|
|
194
|
+
const u = O(
|
|
195
|
+
() => !G._currentLocation || t.loading.value
|
|
196
|
+
), v = Ke(), c = at(), g = lt();
|
|
197
|
+
function j() {
|
|
198
|
+
const n = {
|
|
199
|
+
name: "",
|
|
200
|
+
...ye()
|
|
201
|
+
}, r = v.getItem(he);
|
|
202
|
+
if (!r)
|
|
203
|
+
return n;
|
|
204
|
+
try {
|
|
205
|
+
return JSON.parse(r);
|
|
206
|
+
} catch {
|
|
207
|
+
return n;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
function x() {
|
|
211
|
+
v.setItem(he, JSON.stringify(y.value));
|
|
212
|
+
}
|
|
213
|
+
const y = w(j()), t = Ve(
|
|
214
|
+
K.RECEIVE_REQUEST,
|
|
215
|
+
y.value
|
|
216
|
+
), {
|
|
217
|
+
columnDefs: De,
|
|
218
|
+
showCustomPrintDialog: B,
|
|
219
|
+
customPrintHtml: ke,
|
|
220
|
+
customPrintTemplateName: Oe,
|
|
221
|
+
customPrintIsDefault: Te
|
|
222
|
+
} = Ae(
|
|
223
|
+
K.RECEIVE_REQUEST,
|
|
224
|
+
t,
|
|
225
|
+
t.shipments
|
|
226
|
+
), G = Me();
|
|
227
|
+
async function we() {
|
|
228
|
+
const n = `inventory-record_${ge(y.value.startDate).format("DD-MM-YYYY_HH-mm")}-${ge(y.value.endDate).format("DD-MM-YYYY_HH-mm")}.xlsx`, r = t.purchaseOrders.value.flatMap(
|
|
229
|
+
(s) => s.items.map((l) => {
|
|
230
|
+
var T;
|
|
231
|
+
const D = new Date(Le(s._id) ?? ""), F = s.effectiveAt ? new Date(s.effectiveAt) : void 0, q = be(
|
|
232
|
+
Be(l.sku, s.deliveryOrder || [])
|
|
233
|
+
), m = be(l.quantity), h = ((T = l == null ? void 0 : l.measurement) == null ? void 0 : T.abbrev) || l.sku.unit.abbrev;
|
|
234
|
+
return {
|
|
235
|
+
"SKU code": l.code,
|
|
236
|
+
"SKU name": l.name,
|
|
237
|
+
"PO #": s.seqNumber,
|
|
238
|
+
"Effective at": F,
|
|
239
|
+
Date: D,
|
|
240
|
+
Status: s.status,
|
|
241
|
+
Reference: s.ref ?? "",
|
|
242
|
+
"Received quantity": q,
|
|
243
|
+
"Ordered quantity": m,
|
|
244
|
+
Unit: h,
|
|
245
|
+
"Total cost": l.totalCost ? He(l.totalCost) : null
|
|
246
|
+
};
|
|
247
|
+
})
|
|
248
|
+
), o = [
|
|
249
|
+
"SKU code",
|
|
250
|
+
"SKU name",
|
|
251
|
+
"PO #",
|
|
252
|
+
"Date",
|
|
253
|
+
"Status",
|
|
254
|
+
"Reference",
|
|
255
|
+
"Received quantity",
|
|
256
|
+
"Ordered quantity",
|
|
257
|
+
"Unit"
|
|
258
|
+
];
|
|
259
|
+
c.enableBackdatePo && o.insert("Effective at", 4), c.enableTotalCost && o.push("Total cost"), await Qe(
|
|
260
|
+
[
|
|
261
|
+
{
|
|
262
|
+
name: "purchases",
|
|
263
|
+
data: r,
|
|
264
|
+
columns: o
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
n
|
|
268
|
+
), R.open({
|
|
269
|
+
title: _("inventory.transfer.receiveRequest.export.success"),
|
|
270
|
+
message: _("inventory.transfer.receiveRequest.export.message", [n]),
|
|
271
|
+
type: "success"
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
const H = w(ye()), P = w("");
|
|
275
|
+
fe([() => H.value], ([n]) => {
|
|
276
|
+
!n.startDate || !n.endDate || (y.value.startDate = n.startDate, y.value.endDate = n.endDate, t.updateDateRange(
|
|
277
|
+
y.value.startDate,
|
|
278
|
+
y.value.endDate
|
|
279
|
+
), x());
|
|
280
|
+
}), fe([() => P.value], () => {
|
|
281
|
+
x();
|
|
282
|
+
});
|
|
283
|
+
function $e(n) {
|
|
284
|
+
if (n === "create") {
|
|
285
|
+
if (u.value) {
|
|
286
|
+
R.open({
|
|
287
|
+
title: "Loading data...",
|
|
288
|
+
message: "Please wait.",
|
|
289
|
+
type: "info"
|
|
290
|
+
});
|
|
291
|
+
return;
|
|
292
|
+
}
|
|
293
|
+
return t.promptCreateTransferDialog();
|
|
294
|
+
}
|
|
295
|
+
if (n === "upload" && c.enableXilnexTransferNote)
|
|
296
|
+
return t.promptUploadTransferDialog();
|
|
297
|
+
if (n === "refresh")
|
|
298
|
+
return t.fetchData();
|
|
299
|
+
if (n === "export")
|
|
300
|
+
return we();
|
|
301
|
+
}
|
|
302
|
+
const { breakpoints: W } = We(), L = O(() => W.value.xs || W.value.sm), Ce = O(() => L.value ? 10 : 20), Re = Je(), Pe = O(() => [
|
|
303
|
+
{
|
|
304
|
+
label: _("inventory.transfer.receiveRequest.actions.create"),
|
|
305
|
+
value: "create",
|
|
306
|
+
isPrimary: !0,
|
|
307
|
+
prependIcon: "add"
|
|
308
|
+
},
|
|
309
|
+
...c.enableXilnexTransferNote ? [
|
|
310
|
+
{
|
|
311
|
+
label: _("inventory.common.upload"),
|
|
312
|
+
value: "upload"
|
|
313
|
+
}
|
|
314
|
+
] : [],
|
|
315
|
+
{
|
|
316
|
+
label: _("inventory.common.refresh"),
|
|
317
|
+
value: "refresh"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
label: _("inventory.common.export"),
|
|
321
|
+
value: "export"
|
|
322
|
+
}
|
|
323
|
+
]), Ee = O(() => {
|
|
324
|
+
const n = [
|
|
325
|
+
{
|
|
326
|
+
type: "string",
|
|
327
|
+
key: "status",
|
|
328
|
+
entity: "purchaseOrder",
|
|
329
|
+
values: Array.from(
|
|
330
|
+
new Set(t.purchaseOrders.value.map((o) => o.status))
|
|
331
|
+
)
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
type: "string",
|
|
335
|
+
key: "transferFrom",
|
|
336
|
+
entity: "purchaseOrder",
|
|
337
|
+
values: Array.from(
|
|
338
|
+
new Set(t.purchaseOrders.value.map((o) => o.supplier.name))
|
|
339
|
+
)
|
|
340
|
+
}
|
|
341
|
+
], r = [
|
|
342
|
+
{
|
|
343
|
+
type: "string",
|
|
344
|
+
key: "netsuiteTransactionNumber",
|
|
345
|
+
entity: "purchaseOrder",
|
|
346
|
+
values: t.purchaseOrders.value.map((o) => {
|
|
347
|
+
var s, l;
|
|
348
|
+
return (l = (s = o.netSuite) == null ? void 0 : s.additionalInfo) == null ? void 0 : l.transactionnumber;
|
|
349
|
+
}).filter((o) => o != null)
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
type: "string",
|
|
353
|
+
key: "netsuiteOrderNo",
|
|
354
|
+
entity: "purchaseOrder",
|
|
355
|
+
values: t.purchaseOrders.value.map((o) => {
|
|
356
|
+
var s;
|
|
357
|
+
return (s = o.netSuite) == null ? void 0 : s.refNo;
|
|
358
|
+
}).filter((o) => o != null)
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
type: "string",
|
|
362
|
+
key: "netsuiteOrderId",
|
|
363
|
+
entity: "purchaseOrder",
|
|
364
|
+
values: t.purchaseOrders.value.map((o) => {
|
|
365
|
+
var s;
|
|
366
|
+
return (s = o.netSuite) == null ? void 0 : s.id;
|
|
367
|
+
}).filter((o) => o != null)
|
|
368
|
+
}
|
|
369
|
+
];
|
|
370
|
+
return [...n, ...g.isEnabled ? r : []];
|
|
371
|
+
}), E = w(null), Fe = O(() => {
|
|
372
|
+
if (!E.value)
|
|
373
|
+
return t.purchaseOrders.value;
|
|
374
|
+
const n = st.build(E.value);
|
|
375
|
+
return t.purchaseOrders.value.filter((r) => {
|
|
376
|
+
var o, s, l, D;
|
|
377
|
+
return nt(
|
|
378
|
+
{
|
|
379
|
+
netsuiteTransactionNumber: (s = (o = r.netSuite) == null ? void 0 : o.additionalInfo) == null ? void 0 : s.transactionnumber,
|
|
380
|
+
netsuiteOrderNo: (l = r.netSuite) == null ? void 0 : l.refNo,
|
|
381
|
+
netsuiteOrderId: (D = r.netSuite) == null ? void 0 : D.id,
|
|
382
|
+
status: r.status,
|
|
383
|
+
transferFrom: r.supplier.name
|
|
384
|
+
},
|
|
385
|
+
n
|
|
386
|
+
);
|
|
387
|
+
});
|
|
388
|
+
});
|
|
389
|
+
return (n, r) => {
|
|
390
|
+
const o = J("FmTable");
|
|
391
|
+
return b(), S(Xe, {
|
|
392
|
+
title: e(_)("inventory.transfer.receiveRequest.title2"),
|
|
393
|
+
actions: Pe.value,
|
|
394
|
+
"onClick:action": $e
|
|
395
|
+
}, {
|
|
396
|
+
default: $(() => {
|
|
397
|
+
var s, l, D, F, q;
|
|
398
|
+
return [
|
|
399
|
+
a("div", {
|
|
400
|
+
class: k([
|
|
401
|
+
"flex flex-col gap-8 max-h-full",
|
|
402
|
+
{
|
|
403
|
+
"p-0": L.value,
|
|
404
|
+
"px-24 ": !L.value
|
|
405
|
+
}
|
|
406
|
+
])
|
|
407
|
+
}, [
|
|
408
|
+
i(rt, {
|
|
409
|
+
"date-range-query": "",
|
|
410
|
+
"date-range": H.value,
|
|
411
|
+
"onUpdate:dateRange": r[0] || (r[0] = (m) => H.value = m),
|
|
412
|
+
searchable: "",
|
|
413
|
+
"change-location": "",
|
|
414
|
+
search: P.value,
|
|
415
|
+
"onUpdate:search": r[1] || (r[1] = (m) => P.value = m),
|
|
416
|
+
filterable: "",
|
|
417
|
+
"filter-attributes": Ee.value,
|
|
418
|
+
filter: E.value,
|
|
419
|
+
"onUpdate:filter": r[2] || (r[2] = (m) => E.value = m)
|
|
420
|
+
}, null, 8, ["date-range", "search", "filter-attributes", "filter"]),
|
|
421
|
+
(b(), S(o, {
|
|
422
|
+
style: Ne(e(Re).tableHeight),
|
|
423
|
+
"column-defs": e(De),
|
|
424
|
+
"row-data": Fe.value,
|
|
425
|
+
"search-value": P.value,
|
|
426
|
+
loading: u.value,
|
|
427
|
+
onRowClick: r[3] || (r[3] = (m) => e(t).promptShowTransferDetails(m.original)),
|
|
428
|
+
key: (s = e(G)._currentLocation) == null ? void 0 : s.dbName,
|
|
429
|
+
"page-size": Ce.value
|
|
430
|
+
}, {
|
|
431
|
+
"list-row": $((m) => [
|
|
432
|
+
i(ot, {
|
|
433
|
+
row: m,
|
|
434
|
+
onRowClick: e(t).promptShowTransferDetails
|
|
435
|
+
}, {
|
|
436
|
+
default: $((h) => {
|
|
437
|
+
var T, Z, ee, N, te, oe, ae, re, U, se, ne, le, ie, z, ue, ce, me, de, M, pe;
|
|
438
|
+
return [
|
|
439
|
+
a("div", $t, [
|
|
440
|
+
a("div", Ct, [
|
|
441
|
+
i(e(Y), {
|
|
442
|
+
render: (ee = (Z = (T = h._id) == null ? void 0 : T.column) == null ? void 0 : Z.columnDef) == null ? void 0 : ee.cell,
|
|
443
|
+
props: (te = (N = h._id) == null ? void 0 : N.getContext) == null ? void 0 : te.call(N)
|
|
444
|
+
}, null, 8, ["render", "props"])
|
|
445
|
+
]),
|
|
446
|
+
a("div", Rt, [
|
|
447
|
+
i(e(Y), {
|
|
448
|
+
render: (re = (ae = (oe = h.supplier_name) == null ? void 0 : oe.column) == null ? void 0 : ae.columnDef) == null ? void 0 : re.cell,
|
|
449
|
+
props: (se = (U = h.supplier_name) == null ? void 0 : U.getContext) == null ? void 0 : se.call(U)
|
|
450
|
+
}, null, 8, ["render", "props"])
|
|
451
|
+
]),
|
|
452
|
+
a("div", Pt, f(m.original.items.map((qe) => `${qe.name}`).join(", ")), 1),
|
|
453
|
+
m.original.ref ? (b(), X("div", Et, [
|
|
454
|
+
i(e(Y), {
|
|
455
|
+
render: (ie = (le = (ne = h.ref) == null ? void 0 : ne.column) == null ? void 0 : le.columnDef) == null ? void 0 : ie.cell,
|
|
456
|
+
props: (ue = (z = h.ref) == null ? void 0 : z.getContext) == null ? void 0 : ue.call(z)
|
|
457
|
+
}, null, 8, ["render", "props"])
|
|
458
|
+
])) : C("", !0),
|
|
459
|
+
a("div", Ft, [
|
|
460
|
+
i(e(Y), {
|
|
461
|
+
render: (de = (me = (ce = h.status) == null ? void 0 : ce.column) == null ? void 0 : me.columnDef) == null ? void 0 : de.cell,
|
|
462
|
+
props: (pe = (M = h.status) == null ? void 0 : M.getContext) == null ? void 0 : pe.call(M)
|
|
463
|
+
}, null, 8, ["render", "props"])
|
|
464
|
+
])
|
|
465
|
+
])
|
|
466
|
+
];
|
|
467
|
+
}),
|
|
468
|
+
_: 2
|
|
469
|
+
}, 1032, ["row", "onRowClick"])
|
|
470
|
+
]),
|
|
471
|
+
_: 1
|
|
472
|
+
}, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"]))
|
|
473
|
+
], 2),
|
|
474
|
+
(b(), S(Ue, { to: "body" }, [
|
|
475
|
+
e(c).enablePurchaseOrderEmail ? (b(), S(Ze, Q(A({ key: 0 }, e(t).emailDialogProps.value)), null, 16)) : C("", !0),
|
|
476
|
+
i(wt, Q(ve(e(t).createTransferChoiceProps.value)), null, 16),
|
|
477
|
+
i(et, A(e(t).transferDialogProps.value, {
|
|
478
|
+
onSubmitted: e(t).fetchData
|
|
479
|
+
}), null, 16, ["onSubmitted"]),
|
|
480
|
+
((D = (l = e(t).transferDetailsProps.value) == null ? void 0 : l.purchaseOrder) == null ? void 0 : D.version) === "3" ? (b(), S(Ie, A({ key: 1 }, {
|
|
481
|
+
...e(t).transferDetailsProps.value,
|
|
482
|
+
receivedMap: ((F = e(t).transferDetailsProps.value) == null ? void 0 : F.receivedMap) ?? {},
|
|
483
|
+
shipments: e(t).shipments.value ?? []
|
|
484
|
+
}, {
|
|
485
|
+
onSubmitted: e(t).fetchData
|
|
486
|
+
}), null, 16, ["onSubmitted"])) : (b(), S(Ye, A({
|
|
487
|
+
key: 2,
|
|
488
|
+
scope: e(K).RECEIVE_REQUEST
|
|
489
|
+
}, {
|
|
490
|
+
...e(t).transferDetailsProps.value,
|
|
491
|
+
receivedMap: ((q = e(t).transferDetailsProps.value) == null ? void 0 : q.receivedMap) ?? {},
|
|
492
|
+
shipments: e(t).shipments.value ?? []
|
|
493
|
+
}, {
|
|
494
|
+
onSubmitted: e(t).fetchData
|
|
495
|
+
}), null, 16, ["scope", "onSubmitted"])),
|
|
496
|
+
i(tt, Q(ve(e(t).xilnexImportDialogProps.value)), null, 16),
|
|
497
|
+
i(je, {
|
|
498
|
+
modelValue: e(B),
|
|
499
|
+
"onUpdate:modelValue": r[4] || (r[4] = (m) => ze(B) ? B.value = m : null),
|
|
500
|
+
html: e(ke),
|
|
501
|
+
"template-name": e(Oe),
|
|
502
|
+
"is-default": e(Te)
|
|
503
|
+
}, null, 8, ["modelValue", "html", "template-name", "is-default"])
|
|
504
|
+
]))
|
|
505
|
+
];
|
|
506
|
+
}),
|
|
507
|
+
_: 1
|
|
508
|
+
}, 8, ["title", "actions"]);
|
|
509
|
+
};
|
|
510
|
+
}
|
|
511
|
+
});
|
|
512
|
+
export {
|
|
513
|
+
eo as default
|
|
514
|
+
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { defineComponent as le, ref as W, onMounted as pt, resolveComponent as G, createElementBlock as V, openBlock as v, Fragment as X, createElementVNode as f, toDisplayString as U, createVNode as x, createCommentVNode as T, computed as R, watch as ue, unref as n, normalizeClass as Ce, withCtx as J, h as de, createBlock as Y, renderList as me, isRef as De, mergeProps as we, createTextVNode as mt, withModifiers as ft, normalizeStyle as vt, Teleport as yt, normalizeProps as bt, guardReactiveProps as gt } from "vue";
|
|
2
|
-
import { a as ne, c as Oe, S as _t, F as be, u as tt, t as kt, v as ht, i as Je } from "./app-
|
|
2
|
+
import { a as ne, c as Oe, S as _t, F as be, u as tt, t as kt, v as ht, i as Je } from "./app-37NZKFUI.js";
|
|
3
3
|
import { useDialog as Le, useSnackbar as je, components as _e, useProxiedModel as Ge, useBreakpoints as xt } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as $t, _ as It, m as wt } from "./menu-usage-module-BdjYEk3s.js";
|
|
5
5
|
import { F as se } from "./form-mode.enum-BKiNVH6A.js";
|
|
6
|
-
import { _ as nt } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as nt } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-CGWRbAF2.js";
|
|
7
7
|
import { defineStore as ot, storeToRefs as Et } from "pinia";
|
|
8
8
|
import { D as He, R as Ve } from "./row-action.enum-DQ9bJ_uv.js";
|
|
9
9
|
import { c as Vt } from "./component-kqxARxvM.js";
|
|
10
|
-
import { a as Q, c as Ke } from "./number-
|
|
10
|
+
import { a as Q, c as Ke } from "./number-BkC_lelq.js";
|
|
11
11
|
import { useI18n as ie, useCoreStore as St } from "@feedmepos/mf-common";
|
|
12
|
-
import { u as Ct, _ as Bt } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { b as it, c as qe, I as Ft, A as Ne, U as lt, R as Rt } from "./rules-
|
|
14
|
-
import { _ as At } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { a as Pe } from "./FmMultiselectDialog-
|
|
16
|
-
import { d as rt } from "./defineDeepModel-
|
|
12
|
+
import { u as Ct, _ as Bt } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DWsPvPE1.js";
|
|
13
|
+
import { b as it, c as qe, I as Ft, A as Ne, U as lt, R as Rt } from "./rules--cnFg-PI.js";
|
|
14
|
+
import { _ as At } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-sz_VtHRr.js";
|
|
15
|
+
import { a as Pe } from "./FmMultiselectDialog-QEs0yct_.js";
|
|
16
|
+
import { d as rt } from "./defineDeepModel-DXLwZWst.js";
|
|
17
17
|
import { L as Tt, P as Ut, D as Pt } from "./app-C39bYJmq.js";
|
|
18
|
-
import { _ as Be, c as Mt, d as Dt, e as ye } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
19
|
-
import { u as Gt } from "./FmMultiselectDialog-
|
|
20
|
-
import { u as Nt } from "./vue-i18n-
|
|
21
|
-
import { F as zt } from "./inventory-core-dart.default-
|
|
18
|
+
import { _ as Be, c as Mt, d as Dt, e as ye } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-D8-IQUtA.js";
|
|
19
|
+
import { u as Gt } from "./FmMultiselectDialog-DpPyNOpJ.js";
|
|
20
|
+
import { u as Nt } from "./vue-i18n-DDqVG60p.js";
|
|
21
|
+
import { F as zt } from "./inventory-core-dart.default-NpD15h63.js";
|
|
22
22
|
import { _ as Ot } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-CG1m-B2p.js";
|
|
23
|
-
import { u as We } from "./feature-
|
|
24
|
-
import { F as he } from "./decimal-
|
|
25
|
-
import { _ as Fe } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-
|
|
26
|
-
import { b as at, d as st } from "./xlsx.util-
|
|
27
|
-
import { f as dt } from "./date2-
|
|
23
|
+
import { u as We } from "./feature-B4BoCy_k.js";
|
|
24
|
+
import { F as he } from "./decimal-Cgmw6HIY.js";
|
|
25
|
+
import { _ as Fe } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dzqh8pM9.js";
|
|
26
|
+
import { b as at, d as st } from "./xlsx.util-BzQcPwvM.js";
|
|
27
|
+
import { f as dt } from "./date2-r4KgBCs9.js";
|
|
28
28
|
import { _ as Lt, F as Qe } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
29
|
-
import { _ as jt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
29
|
+
import { _ as jt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Df-yCfRe.js";
|
|
30
30
|
const Kt = {
|
|
31
31
|
key: 0,
|
|
32
32
|
class: "flex flex-col items-center w-full h-full gap-24"
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as Y, ref as b, computed as K, watch as M, resolveComponent as V, createElementBlock as r, openBlock as s, createElementVNode as t, toDisplayString as F, Fragment as U, renderList as G, createBlock as P, createCommentVNode as q, createVNode as p, nextTick as fe, createSlots as ye, withCtx as T, normalizeClass as ee, unref as O, withModifiers as be, Teleport as xe } from "vue";
|
|
2
|
-
import { _ as _e } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { B as A, g as he, r as ke, s as we, u as Te, a as R, b as Fe, c as De, d as te, e as Ce, f as Se } from "./predefined-templates-
|
|
2
|
+
import { _ as _e } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DWsPvPE1.js";
|
|
3
|
+
import { B as A, g as he, r as ke, s as we, u as Te, a as R, b as Fe, c as De, d as te, e as Ce, f as Se } from "./predefined-templates-CVT54o4V.js";
|
|
4
4
|
import { useSnackbar as Be } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as Ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { G as j, H as $e } from "./app-
|
|
6
|
+
import { G as j, H as $e } from "./app-37NZKFUI.js";
|
|
7
7
|
import { useCoreStore as ze, useI18n as Ie } from "@feedmepos/mf-common";
|
|
8
|
-
import "./dayjs.min-
|
|
9
|
-
import "./inventory-core-dart.default-
|
|
10
|
-
import { F as Oe } from "./FmAdminBadge-
|
|
8
|
+
import "./dayjs.min-BKUldDi9.js";
|
|
9
|
+
import "./inventory-core-dart.default-NpD15h63.js";
|
|
10
|
+
import { F as Oe } from "./FmAdminBadge-DH_2w13D.js";
|
|
11
11
|
const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700 mb-4 pb-2 border-b border-gray-200" }, Ne = { class: "flex flex-col gap-3" }, Ue = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "flex items-center justify-between py-1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { reactive as D, onUnmounted as R, defineComponent as j, ref as X, computed as g, resolveComponent as C, createElementBlock as c, openBlock as t, Fragment as p, createElementVNode as v, createBlock as r, createCommentVNode as b, normalizeClass as B, unref as F, createTextVNode as Y, renderSlot as M, toDisplayString as N, renderList as U, withCtx as y, createVNode as f, Teleport as H } from "vue";
|
|
2
2
|
import { useBreakpoints as G } from "@feedmepos/ui-library";
|
|
3
|
-
import { F as O } from "./FmAdminBadge-
|
|
3
|
+
import { F as O } from "./FmAdminBadge-DH_2w13D.js";
|
|
4
4
|
import { useI18n as J, useCoreStore as K } from "@feedmepos/mf-common";
|
|
5
5
|
const S = D({});
|
|
6
6
|
function Q() {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { defineComponent as pe, createBlock as te, openBlock as j, withCtx as M, createElementVNode as e, toDisplayString as m, unref as s, ref as Y, h as be, computed as T, watch as Fe, resolveComponent as D, isRef as Pe, createVNode as _, createElementBlock as q, Fragment as ue, renderList as ve, createCommentVNode as se, normalizeClass as He, reactive as _t, mergeModels as nt, useModel as jt, onMounted as qe, createTextVNode as me, normalizeStyle as kt, watchEffect as Vt, renderSlot as st, onUnmounted as Ct, Teleport as Bt, normalizeProps as at, mergeProps as ze } from "vue";
|
|
2
|
-
import { u as Dt, _ as Mt } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as Se, c as Re, a as Ne, F as rt, t as It, D as ie, s as Ht, m as Tt, B as Et, w as ne, f as Ce, h as lt, d as it, K as ge, L as Be } from "./app-
|
|
4
|
-
import { u as Oe } from "./stock-
|
|
2
|
+
import { u as Dt, _ as Mt } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DWsPvPE1.js";
|
|
3
|
+
import { u as Se, c as Re, a as Ne, F as rt, t as It, D as ie, s as Ht, m as Tt, B as Et, w as ne, f as Ce, h as lt, d as it, K as ge, L as Be } from "./app-37NZKFUI.js";
|
|
4
|
+
import { u as Oe } from "./stock-DvquSog3.js";
|
|
5
5
|
import { c as Ut } from "./component-kqxARxvM.js";
|
|
6
|
-
import { _ as ht, o as Pt } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as Ke, S as Ge, g as bt, a as Rt } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as ht, o as Pt } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-CLOotG6K.js";
|
|
7
|
+
import { _ as Ke, S as Ge, g as bt, a as Rt } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-nXqFCKic.js";
|
|
8
8
|
import { _ as Nt } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js";
|
|
9
9
|
import { useI18n as ye, useCoreStore as Xe } from "@feedmepos/mf-common";
|
|
10
|
-
import { u as gt, i as Te, _ as ut } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { u as gt, i as Te, _ as ut } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-BZEa61go.js";
|
|
11
11
|
import { useSnackbar as we, useDialog as Le, useProxiedModel as Ye, useBreakpoints as Ot } from "@feedmepos/ui-library";
|
|
12
12
|
import { defineStore as Lt } from "pinia";
|
|
13
|
-
import { F as Je } from "./FmAdminBadge-
|
|
14
|
-
import { g as $e, a as he, e as Yt, t as Ee, c as xe, f as zt, h as ct, i as xt, j as Qe, d as Me, k as Gt } from "./number-
|
|
15
|
-
import { u as Ae } from "./stock-
|
|
16
|
-
import { c as Ue, A as Wt, M as Kt, R as qt } from "./rules-
|
|
17
|
-
import { u as Xt } from "./use-inventory-binding-dialog-
|
|
18
|
-
import { a as St } from "./FmMultiselectDialog-
|
|
19
|
-
import { d as ke } from "./dayjs.min-
|
|
20
|
-
import { _ as Jt } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
21
|
-
import { g as Qt } from "./decimal-
|
|
22
|
-
import { a as Zt, c as eo, f as wt, t as dt, d as mt, p as to, n as oo, b as no } from "./date2-
|
|
23
|
-
import { i as so } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { F as Je } from "./FmAdminBadge-DH_2w13D.js";
|
|
14
|
+
import { g as $e, a as he, e as Yt, t as Ee, c as xe, f as zt, h as ct, i as xt, j as Qe, d as Me, k as Gt } from "./number-BkC_lelq.js";
|
|
15
|
+
import { u as Ae } from "./stock-BLYAJxMj.js";
|
|
16
|
+
import { c as Ue, A as Wt, M as Kt, R as qt } from "./rules--cnFg-PI.js";
|
|
17
|
+
import { u as Xt } from "./use-inventory-binding-dialog-DnWDyziu.js";
|
|
18
|
+
import { a as St } from "./FmMultiselectDialog-QEs0yct_.js";
|
|
19
|
+
import { d as ke } from "./dayjs.min-BKUldDi9.js";
|
|
20
|
+
import { _ as Jt } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-g2PDNQx-.js";
|
|
21
|
+
import { g as Qt } from "./decimal-Cgmw6HIY.js";
|
|
22
|
+
import { a as Zt, c as eo, f as wt, t as dt, d as mt, p as to, n as oo, b as no } from "./date2-r4KgBCs9.js";
|
|
23
|
+
import { i as so } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CmH3uhTZ.js";
|
|
24
24
|
import { _ as ao } from "./empty-placeholder-B0QU467o.js";
|
|
25
|
-
import { F as _e } from "./inventory-core-dart.default-
|
|
26
|
-
import { u as ro } from "./feature-
|
|
27
|
-
import { u as At } from "./useHrmPermission-
|
|
25
|
+
import { F as _e } from "./inventory-core-dart.default-NpD15h63.js";
|
|
26
|
+
import { u as ro } from "./feature-B4BoCy_k.js";
|
|
27
|
+
import { u as At } from "./useHrmPermission-lAc6ZHVZ.js";
|
|
28
28
|
import { _ as lo, F as ft } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
29
|
-
import { _ as io } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
30
|
-
import { u as uo } from "./useSseClient-
|
|
31
|
-
import { u as co } from "./netsuite-
|
|
29
|
+
import { _ as io } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Df-yCfRe.js";
|
|
30
|
+
import { u as uo } from "./useSseClient-C6ndlLpA.js";
|
|
31
|
+
import { u as co } from "./netsuite-R_NkLn5t.js";
|
|
32
32
|
import { P as mo, J as fo } from "./app-C39bYJmq.js";
|
|
33
33
|
var Ie = /* @__PURE__ */ ((A) => (A.History = "History", A.Convert = "Convert", A.Adjust = "Adjust", A))(Ie || {});
|
|
34
34
|
const vo = [
|