@feedmepos/mf-inventory-portal 1.2.61 → 1.2.63-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-BqScGtJx.js → App-BHssUobV.js} +82 -78
- package/dist/{ApprovalView-BFdlYIot.js → ApprovalView-DRGCQeGY.js} +5 -5
- package/dist/{BindingsDialog-Dvmrms77.js → BindingsDialog-CWl3LpdO.js} +5 -5
- package/dist/{BindingsPicker-fPVSXv-h.js → BindingsPicker-BcASw3JJ.js} +3 -3
- package/dist/{BindingsTable-CnUa8VOi.js → BindingsTable-BiKiLiVY.js} +5 -5
- package/dist/{ClosingDraftView-10BcpWkm.js → ClosingDraftView-mh5Kw46x.js} +217 -216
- package/dist/{ClosingHistoryView-zLh0HCIb.js → ClosingHistoryView-C-ZrFei9.js} +36 -36
- package/dist/{ClosingTemplateView-BFupX87V.js → ClosingTemplateView-DBNRH0Tt.js} +14 -14
- package/dist/{DeliveryOrderPrintPreview-BLBqmOjw.js → DeliveryOrderPrintPreview-Dv3JZ3yr.js} +7 -7
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DN8ziFA_.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CfL1adhx.js} +16 -16
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DJT_7Uus.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Db0JeXbc.js} +2 -2
- package/dist/{FmMultiselectDialog-DmnYEmN1.js → FmMultiselectDialog-D9g07F_c.js} +1 -1
- package/dist/{FmMultiselectDialog-B5paZk6T.js → FmMultiselectDialog-DuYKQng9.js} +16 -16
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-MW749j29.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CeXRT7Lf.js} +23 -22
- package/dist/{ImportView-BsI1_unJ.js → ImportView-DoMyJ1NE.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-D8hvH-4n.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CqJQcOBK.js} +1 -1
- package/dist/{IngredientGroupView-BALVTSwF.js → IngredientGroupView-D_Cl4kJy.js} +5 -5
- package/dist/{IngredientsView-C-sauieO.js → IngredientsView-CG6wUGzt.js} +25 -24
- package/dist/{IntegrationView-GG2E4Yrl.js → IntegrationView-BIWPp1JH.js} +18 -17
- package/dist/{InventoryBindingForm-DCSBFj6b.js → InventoryBindingForm-BrL6-2He.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-4_i25unG.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-M3uVquEq.js} +17 -16
- package/dist/{InventoryBindingSummary-6dFJPewB.js → InventoryBindingSummary-mnlQU1Mp.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CU9mgYbv.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-ByPOKZRm.js} +5 -5
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DC1HpuMm.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DHwXNoTs.js} +2 -2
- package/dist/{PublishView-DO7k1AeP.js → PublishView-B4iVMq25.js} +8 -8
- package/dist/{PurchaseOrderPrintPreview-C3VqOLCi.js → PurchaseOrderPrintPreview-ws-SKrEC.js} +11 -11
- package/dist/{ReceiveRequestView-CpgLQtbw.js → ReceiveRequestView-deSiORNX.js} +143 -142
- package/dist/RecipeView-EEK7PiKl.js +1558 -0
- package/dist/{StockView-CtC3ldc6.js → StockView-6j_t2Kf1.js} +106 -105
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cj6cVmd0.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CgAMsW8n.js} +1 -1
- package/dist/{SupplierView-DKFtc22j.js → SupplierView-D5tSOECx.js} +20 -19
- package/dist/{SurchargeView-B-EYMp6w.js → SurchargeView-CP81Q4dW.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CDeeFvnm.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bmuw4PTO.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CH3hjFS8.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-D1FuB-kv.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-rAyYuhku.js → TransferDetails.vue_vue_type_script_setup_true_lang-Canrz2ri.js} +501 -501
- package/dist/{TransferTemplateView-FeC34QoJ.js → TransferTemplateView-CRI_Lexa.js} +22 -21
- package/dist/UnitCostHistoryView-CT-4QDK8.js +651 -0
- package/dist/{UnitView-BoJisnXd.js → UnitView-BZmfd-aw.js} +11 -10
- package/dist/{WarehouseView-s-xF6xJ0.js → WarehouseView-BcmSyjA0.js} +5 -5
- package/dist/{WastageTemplateView-BQBlHZLh.js → WastageTemplateView-CNsdu0ga.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-_4kRbuQl.js → app-ayv5Jw7D.js} +8041 -7036
- package/dist/app.d.ts +228 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-BBWYKm_X.js → closing-template-D9UR8sMo.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-Cd93SZu4.js → date2-GNP-79dA.js} +1 -1
- package/dist/{dayjs.min-DeHn_Fz-.js → dayjs.min-Bg_wgP2J.js} +16 -16
- package/dist/{defineDeepModel-DUOLQh1E.js → defineDeepModel-Co03tZfS.js} +1 -1
- package/dist/{duplicate-template-BgpMF-fd.js → duplicate-template-BiPU4Z2Y.js} +1 -1
- package/dist/{feature-DqGkM6Yx.js → feature-BGeFfaiX.js} +95 -90
- package/dist/{format-time-from-id-BkH4swoc.js → format-time-from-id-ByV0VX1x.js} +1 -1
- package/dist/{format-unit-display-rkrD3WLD.js → format-unit-display-r1Hb4DfH.js} +16 -15
- package/dist/{import-export.helper-C8Q4AMQx.js → import-export.helper-PB9pPO3m.js} +16 -15
- package/dist/{index-B3m_9m2a.js → index-ClbYCYSU.js} +3 -3
- package/dist/{index-O5M93j6z.js → index-DMqOVOHw.js} +1 -1
- package/dist/{index-B0WTs-3a.js → index-DWWlEK_r.js} +1471 -1412
- package/dist/{lodash-Dj6GdEkm.js → lodash-BbWPSHMM.js} +1 -1
- package/dist/{netsuite-DpQxb3vH.js → netsuite-VGghPz8h.js} +92 -92
- package/dist/number-DPuTdA-J.js +232 -0
- package/dist/{purchase-order-template-DKuo07gT.js → purchase-order-template-BMNxJR59.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/rules-CyF-4tvp.js +98 -0
- package/dist/stock-D1SElOsp.js +75 -0
- package/dist/{stock-D7HQf4-H.js → stock-b7nNc6ko.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-B3kE2tbF.js → supplier-Dm-bxVXL.js} +2 -2
- package/dist/{surcharge-Cc9vownX.js → surcharge-ZM-_XIvY.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-MnUTm-3P.js → use-ingredient-select-dialog-BYxTRqif.js} +2 -2
- package/dist/{use-inventory-binding-dialog-_J9LNiGo.js → use-inventory-binding-dialog-Dg9Mp0Vk.js} +2 -2
- package/dist/{use-template-enabled-locations-2-B9gbuIPM.js → use-template-enabled-locations-2-BmgcViqJ.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-BvsTy4Fg.js → vue-i18n-BwxQzDKn.js} +535 -535
- package/dist/{xlsx-BvjocXXw.js → xlsx-dJMIfias.js} +1 -1
- package/dist/{xlsx.util-D65Nsat4.js → xlsx.util-dclbjq8C.js} +1 -1
- package/package.json +3 -3
- package/dist/RecipeView-C2D7FdzN.js +0 -646
- package/dist/rules-D6o4zK8x.js +0 -327
- package/dist/stock-DLFjfcAv.js +0 -75
|
@@ -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-r1Hb4DfH.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-ayv5Jw7D.js";
|
|
7
|
+
import { _ as yt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Db0JeXbc.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-CyF-4tvp.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-DPuTdA-J.js";
|
|
13
|
+
import { d as Ze } from "./defineDeepModel-Co03tZfS.js";
|
|
14
|
+
import { _ as Ft, F as Ct, a as It, b as Mt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-CeXRT7Lf.js";
|
|
15
|
+
import { F as _e, u as ge } from "./feature-BGeFfaiX.js";
|
|
16
|
+
import { u as Je } from "./netsuite-VGghPz8h.js";
|
|
17
|
+
import { u as $t } from "./supplier-Dm-bxVXL.js";
|
|
18
|
+
import { u as St } from "./use-ingredient-select-dialog-BYxTRqif.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-BmgcViqJ.js";
|
|
21
|
+
import { u as Dt, _ as Vt } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CfL1adhx.js";
|
|
22
|
+
import { u as At } from "./purchase-order-template-BMNxJR59.js";
|
|
23
|
+
import { f as Rt } from "./format-time-from-id-ByV0VX1x.js";
|
|
24
|
+
import { f as Bt } from "./date2-GNP-79dA.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
|
};
|