@feedmepos/mf-inventory-portal 1.2.59 → 1.2.60-dev.1
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-Nwc0Ha2r.js → App-Dgk5k8U-.js} +82 -78
- package/dist/{ApprovalView-Y5f915s3.js → ApprovalView-CU2YMuZb.js} +5 -5
- package/dist/{BindingsDialog-5N7R_u4c.js → BindingsDialog-Cu0AR6jW.js} +5 -5
- package/dist/{BindingsPicker-BJwvLu2s.js → BindingsPicker-DyycJJ6i.js} +3 -3
- package/dist/{BindingsTable-B8sq-qXH.js → BindingsTable-wFAnOCdU.js} +5 -5
- package/dist/{ClosingDraftView-BsyYOZsz.js → ClosingDraftView-C01bZNv_.js} +891 -893
- package/dist/{ClosingHistoryView-BNpsMNy1.js → ClosingHistoryView-Bwjadf1x.js} +36 -36
- package/dist/{ClosingTemplateView-BBqbq07d.js → ClosingTemplateView-BAalivwa.js} +14 -14
- package/dist/{DeliveryOrderPrintPreview-CmOO7wuE.js → DeliveryOrderPrintPreview-CaEmXkPV.js} +7 -7
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BXlY-Gu1.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D7J8uo_B.js} +17 -17
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CAMkZRFI.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DU4I0imJ.js} +2 -2
- package/dist/{FmMultiselectDialog-LagHyTQP.js → FmMultiselectDialog-CdhcCzVw.js} +1 -1
- package/dist/{FmMultiselectDialog-CwJUv9tG.js → FmMultiselectDialog-v004bPKF.js} +16 -16
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BmHFIkt1.js → FmUnitInput.vue_vue_type_script_setup_true_lang-C756UIBL.js} +16 -15
- package/dist/{ImportView-wQ_bNesb.js → ImportView-WyG44i3g.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DtMrJIVs.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Y74PdyhQ.js} +1 -1
- package/dist/{IngredientGroupView-DsGMhdwu.js → IngredientGroupView-7bkBWvrQ.js} +5 -5
- package/dist/{IngredientsView-JdjcLdOx.js → IngredientsView-BDgOWARl.js} +25 -24
- package/dist/{IntegrationView-CMmSIRUk.js → IntegrationView-BB7asiWy.js} +18 -17
- package/dist/{InventoryBindingForm-UL-UKtYW.js → InventoryBindingForm-CU9dnGdy.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-r875PDKP.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BmlVB1SU.js} +17 -16
- package/dist/{InventoryBindingSummary-BDAuT62b.js → InventoryBindingSummary-D2W_WcLV.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C5zOYiqR.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CVfShkXe.js} +5 -5
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-B2zppgqk.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CC4jkZg4.js} +2 -2
- package/dist/{PublishView-CSoZCSHT.js → PublishView-DR_TwAkf.js} +8 -8
- package/dist/{PurchaseOrderPrintPreview-D5Qw44xo.js → PurchaseOrderPrintPreview-CoX0u7jn.js} +11 -11
- package/dist/{ReceiveRequestView-Chntp08E.js → ReceiveRequestView-VBePJl-U.js} +34 -33
- package/dist/RecipeView-CiZw14m_.js +1558 -0
- package/dist/{StockView-CuCK7tD2.js → StockView-BFv_Tl8E.js} +122 -122
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-fMji2qKG.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BMEsUpAC.js} +1 -1
- package/dist/{SupplierView-CA17Tz02.js → SupplierView-PSGUQEzz.js} +20 -19
- package/dist/{SurchargeView-EIftjMCa.js → SurchargeView-B7qTXk1L.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CqA6RmPy.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CxEeb4BW.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CYXsAP0i.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Dxg6HaiQ.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BbbAEIcW.js → TransferDetails.vue_vue_type_script_setup_true_lang-CAviJscD.js} +77 -78
- package/dist/{TransferTemplateView-CYfbm9aS.js → TransferTemplateView-CsRPCwN_.js} +22 -21
- package/dist/UnitCostHistoryView-Byd2FHbH.js +651 -0
- package/dist/{UnitView-6s5CsGEQ.js → UnitView-CdZ_GaUr.js} +9 -9
- package/dist/{WarehouseView-BXDQOyFZ.js → WarehouseView-DQGYq00N.js} +5 -5
- package/dist/{WastageTemplateView-Cq92TiRs.js → WastageTemplateView-CE7aiWUH.js} +14 -14
- package/dist/api/inventory.d.ts +126 -36
- package/dist/api/netsuite.d.ts +8 -1
- package/dist/api/unit-cost-history.d.ts +28 -0
- package/dist/{app-DJuq_faF.js → app-CpEqZK89.js} +7453 -6448
- package/dist/app.d.ts +228 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-D_zbp5V1.js → closing-template-C20qxOGw.js} +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +37 -1
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +14 -0
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +16 -1
- package/dist/{date2-4vrHarNG.js → date2-C37x5LGh.js} +1 -1
- package/dist/{dayjs.min-Dwp8614O.js → dayjs.min-C5A6b5Ut.js} +16 -16
- package/dist/{defineDeepModel-DVt2Wz9r.js → defineDeepModel-btW96tVp.js} +1 -1
- package/dist/{duplicate-template-CkYWeFtL.js → duplicate-template-BPduDL4a.js} +1 -1
- package/dist/{feature-Beh-qc03.js → feature-Cu77Fha2.js} +784 -779
- package/dist/{format-time-from-id-84iLSxVu.js → format-time-from-id-ULW7QQVk.js} +1 -1
- package/dist/{format-unit-display-DfeNpWk4.js → format-unit-display-CeyXEKCV.js} +16 -15
- package/dist/helper/number.d.ts +2 -0
- package/dist/helper/type.d.ts +5 -0
- package/dist/{import-export.helper-fAVzQM2q.js → import-export.helper-DpgGeeZ4.js} +17 -16
- package/dist/{index-CoEqhZLm.js → index-6Is7orHh.js} +1 -1
- package/dist/{index-B2_16R5E.js → index-Cl2lmtBz.js} +1471 -1412
- package/dist/{index-Chogzhcq.js → index-DKDWBhbI.js} +3 -3
- package/dist/{lodash-Cx8BU1GH.js → lodash-BS2snJNb.js} +1 -1
- package/dist/{netsuite-C1bml-v1.js → netsuite-B5YYhPhU.js} +60 -60
- package/dist/number-DgdltWRu.js +232 -0
- package/dist/{purchase-order-template-BqFnJ-6B.js → purchase-order-template-DVz_OXJ7.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/rules-BPG3Fjva.js +98 -0
- package/dist/stock-BXorYvfp.js +75 -0
- package/dist/{stock-KxT4JbNf.js → stock-D9iwDDOz.js} +1 -1
- package/dist/stores/feature.d.ts +2 -0
- package/dist/stores/integration/netsuite.d.ts +8 -1
- package/dist/stores/inventory.d.ts +119 -30
- package/dist/{supplier-C7wUB1zT.js → supplier-UJg1gtQ8.js} +2 -2
- package/dist/{surcharge-CjB_Qtbv.js → surcharge-CcJatYN4.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-D5KSqA4Z.js → use-ingredient-select-dialog-C--_de2u.js} +2 -2
- package/dist/{use-inventory-binding-dialog-eGOvztV3.js → use-inventory-binding-dialog-JsmcY8OK.js} +2 -2
- package/dist/{use-template-enabled-locations-2-3kcVWPQm.js → use-template-enabled-locations-2-Ce6Y0gQ_.js} +2 -2
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +64 -8
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +192 -24
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +8 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +96 -12
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +96 -12
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +18 -18
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +14 -0
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -4
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +28 -0
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +169 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +43 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingRule.vue.d.ts +25 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +125 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +129 -0
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +30 -0
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +4 -0
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +8 -1
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +16 -2
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +33 -5
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +16 -2
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +32 -4
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +8 -1
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +41 -6
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +246 -36
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +287 -42
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +16 -0
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -0
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +16 -2
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +16 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +16 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +16 -2
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -1
- package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +24 -3
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -12
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -12
- package/dist/views/unit-cost-history/UnitCostHistoryView.vue.d.ts +2 -0
- package/dist/views/unit-cost-history/components/UnitCostDetailsSideSheet.vue.d.ts +19 -0
- package/dist/views/unit-cost-history/components/UnitCostRecalculationDialog.vue.d.ts +11 -0
- package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +65 -0
- package/dist/vue-i18n-Cv_EPb3h.js +2365 -0
- package/dist/{xlsx-BwNUbN_O.js → xlsx-DuXSmSdO.js} +1 -1
- package/dist/{xlsx.util-B_DE3inS.js → xlsx.util-B75iIY7V.js} +1 -1
- package/package.json +2 -2
- package/dist/RecipeView-Ck3Pa4fg.js +0 -646
- package/dist/decimal-Bf6AG_d3.js +0 -99
- package/dist/rules-y2OYGOro.js +0 -201
- package/dist/stock-BWUzlDTa.js +0 -75
- package/dist/vue-i18n-C6XNfngV.js +0 -2365
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import { defineComponent as ae, onMounted as Fe, computed as N, ref as H, watch as Ce, inject as ot, resolveComponent as V, openBlock as S, createElementBlock as L, createElementVNode as e, createVNode as c, withCtx as B, renderSlot as xe, withDirectives as qe, normalizeClass as re, vModelText as Pe, reactive as st, h as Q, toDisplayString as I, unref as t, createCommentVNode as oe, Fragment as pe, normalizeStyle as ke, renderList as Qe, createBlock as ne, mergeProps as Ye, createTextVNode as le, mergeModels as Le, useModel as nt, isRef as He, Teleport as lt, normalizeProps as at, guardReactiveProps as rt } from "vue";
|
|
2
2
|
import { u as it, _ as ut } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
3
3
|
import { useI18n as me } from "@feedmepos/mf-common";
|
|
4
|
-
import { f as dt, t as mt, u as Ne, a as pt } from "./format-unit-display-
|
|
4
|
+
import { f as dt, t as mt, u as Ne, a as pt } from "./format-unit-display-CeyXEKCV.js";
|
|
5
5
|
import { R as Ee } from "./row-action.enum-BcW_L_nE.js";
|
|
6
|
-
import { a as We, s as ct, t as X, u as Ge, v as ft, k as ye } from "./app-
|
|
7
|
-
import { _ as yt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { a as We, s as ct, t as X, u as Ge, v as ft, k as ye } from "./app-CpEqZK89.js";
|
|
7
|
+
import { _ as yt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DU4I0imJ.js";
|
|
8
8
|
import { components as ue, useSnackbar as vt, useProxiedModel as Ke, useBreakpoints as bt } from "@feedmepos/ui-library";
|
|
9
9
|
import { defineStore as gt, storeToRefs as ze } from "pinia";
|
|
10
10
|
import { F as de } from "./form-mode.enum-BKiNVH6A.js";
|
|
11
|
-
import {
|
|
12
|
-
import { d as
|
|
13
|
-
import {
|
|
14
|
-
import { F as
|
|
15
|
-
import { u as
|
|
16
|
-
import { u as
|
|
17
|
-
import { u as
|
|
11
|
+
import { I as ht, a as _t, R as we, A as Te, M as xt } from "./rules-BPG3Fjva.js";
|
|
12
|
+
import { u as he, t as je, b as kt, n as wt, a as se, g as be, c as ve, d as Tt } from "./number-DgdltWRu.js";
|
|
13
|
+
import { d as Ze } from "./defineDeepModel-btW96tVp.js";
|
|
14
|
+
import { _ as Ft, F as Ct, a as It, b as Mt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-C756UIBL.js";
|
|
15
|
+
import { F as _e, u as ge } from "./feature-Cu77Fha2.js";
|
|
16
|
+
import { u as Je } from "./netsuite-B5YYhPhU.js";
|
|
17
|
+
import { u as $t } from "./supplier-UJg1gtQ8.js";
|
|
18
|
+
import { u as St } from "./use-ingredient-select-dialog-C--_de2u.js";
|
|
18
19
|
import { F as ee, _ as Xe } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
19
|
-
import { u as Ot } from "./use-template-enabled-locations-2-
|
|
20
|
-
import { u as Dt, _ as Vt } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-
|
|
21
|
-
import { u as At } from "./purchase-order-template-
|
|
22
|
-
import { f as Rt } from "./format-time-from-id-
|
|
23
|
-
import { f as Bt } from "./date2-
|
|
20
|
+
import { u as Ot } from "./use-template-enabled-locations-2-Ce6Y0gQ_.js";
|
|
21
|
+
import { u as Dt, _ as Vt } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D7J8uo_B.js";
|
|
22
|
+
import { u as At } from "./purchase-order-template-DVz_OXJ7.js";
|
|
23
|
+
import { f as Rt } from "./format-time-from-id-ULW7QQVk.js";
|
|
24
|
+
import { f as Bt } from "./date2-C37x5LGh.js";
|
|
24
25
|
const Ut = { class: "flex flex-col" }, qt = { class: "flex flex-col" }, Pt = { class: "flex-1" }, Lt = { class: "flex items-center" }, Nt = { class: "flex-1" }, Et = { class: "flex-1" }, zt = /* @__PURE__ */ ae({
|
|
25
26
|
__name: "FmMinMaxInput",
|
|
26
27
|
props: {
|
|
@@ -72,8 +73,8 @@ const Ut = { class: "flex flex-col" }, qt = { class: "flex flex-col" }, Pt = { c
|
|
|
72
73
|
return Math.max((p == null ? void 0 : p.precision) ?? 0, (b == null ? void 0 : b.precision) ?? 0, h.precision ?? 0);
|
|
73
74
|
}), s = (p) => {
|
|
74
75
|
if (!p) return "";
|
|
75
|
-
const b =
|
|
76
|
-
return
|
|
76
|
+
const b = kt(p), w = r.value, i = he(b, w);
|
|
77
|
+
return wt(
|
|
77
78
|
+se(i),
|
|
78
79
|
i.precision
|
|
79
80
|
);
|
|
@@ -182,7 +183,7 @@ function Qt(f, h) {
|
|
|
182
183
|
};
|
|
183
184
|
}
|
|
184
185
|
function Yt(f) {
|
|
185
|
-
const h =
|
|
186
|
+
const h = _t(f), y = se(f);
|
|
186
187
|
return function(r) {
|
|
187
188
|
const s = !(r != null && r.min) || h(r.min) === !0, u = !(r != null && r.max) || h(r.max) === !0;
|
|
188
189
|
return !s && !u ? `Min & max must be a multiple of ${y}` : s ? u ? !0 : `Max must be a multiple of ${y}` : `Min must be a multiple of ${y}`;
|
|
@@ -415,7 +416,7 @@ function Ht(f, h = {}) {
|
|
|
415
416
|
amount: 1,
|
|
416
417
|
precision: be(o.sku.unit, o.measurement)
|
|
417
418
|
}),
|
|
418
|
-
|
|
419
|
+
xt(o.sku.unit, o.measurement)
|
|
419
420
|
]
|
|
420
421
|
});
|
|
421
422
|
},
|
|
@@ -1463,7 +1464,7 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Gt = { class: "flex items-cen
|
|
|
1463
1464
|
}, 8, ["header", "modelValue", "dismiss-away"]);
|
|
1464
1465
|
};
|
|
1465
1466
|
}
|
|
1466
|
-
}), cs = { class: "flex-1 flex flex-col gap-8" }, fs = { class: "flex flex-col" }, ys = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, vs = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, bs = { class: "fm-typo-en-body-lg-400" }, gs = { class: "fm-typo-en-body-lg-400 line-clamp-1" }, hs = { class: "fm-typo-en-body-lg-400 line-clamp-2" },
|
|
1467
|
+
}), cs = { class: "flex-1 flex flex-col gap-8" }, fs = { class: "flex flex-col" }, ys = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, vs = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, bs = { class: "fm-typo-en-body-lg-400" }, gs = { class: "fm-typo-en-body-lg-400 line-clamp-1" }, hs = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, js = /* @__PURE__ */ ae({
|
|
1467
1468
|
__name: "TransferTemplateView",
|
|
1468
1469
|
setup(f) {
|
|
1469
1470
|
const { t: h } = me(), { createTemplate: y, viewTemplate: a, importTemplates: r, exportTemplates: s } = Ne(), { templateDialogProps: u, templateDetailsProps: _ } = ze(Ne()), M = pt(), { loading: v, templates: o } = ze(M), d = H(!1), m = it(), k = Ge(), { breakpoints: T } = bt();
|
|
@@ -1611,5 +1612,5 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Gt = { class: "flex items-cen
|
|
|
1611
1612
|
}
|
|
1612
1613
|
});
|
|
1613
1614
|
export {
|
|
1614
|
-
|
|
1615
|
+
js as default
|
|
1615
1616
|
};
|