@feedmepos/mf-inventory-portal 1.2.60-dev.2 → 1.2.60
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-B_yr-6yL.js → App-B6JtYLP4.js} +78 -82
- package/dist/{ApprovalView-DoYBBuSD.js → ApprovalView-fiHlFJKJ.js} +5 -5
- package/dist/{BindingsDialog-DG7HOy6J.js → BindingsDialog-BlF79qCu.js} +5 -5
- package/dist/{BindingsPicker-DVCYpyrR.js → BindingsPicker-BS2OcyII.js} +3 -3
- package/dist/{BindingsTable-CCel2b_W.js → BindingsTable-RyfzT4g6.js} +5 -5
- package/dist/{ClosingDraftView-CfM7gNBX.js → ClosingDraftView-B2d-XA_E.js} +216 -217
- package/dist/{ClosingHistoryView-DWH4bFgg.js → ClosingHistoryView-DZPNorN6.js} +36 -36
- package/dist/{ClosingTemplateView-JYnnvm7L.js → ClosingTemplateView-L596UQJH.js} +14 -14
- package/dist/{DeliveryOrderPrintPreview-BihBTJGj.js → DeliveryOrderPrintPreview-C82JPcVR.js} +7 -7
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CWjtQajS.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CNf3PA0N.js} +17 -17
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CUIrR73y.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-WWzwaGw-.js} +2 -2
- package/dist/{FmMultiselectDialog-CxDviJZM.js → FmMultiselectDialog-CcMB_4yD.js} +16 -16
- package/dist/{FmMultiselectDialog-D51nW6yj.js → FmMultiselectDialog-DTLcPYaF.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DLqUnROc.js → FmUnitInput.vue_vue_type_script_setup_true_lang-ChqG8Av1.js} +22 -23
- package/dist/{ImportView-C52rZFib.js → ImportView-diTEPSKt.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CjZmd-Sa.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Cu-dNL-B.js} +1 -1
- package/dist/{IngredientGroupView-DTHpZP2L.js → IngredientGroupView-CYqZOXH1.js} +5 -5
- package/dist/{IngredientsView-CrCW6heJ.js → IngredientsView-DoCTezXa.js} +24 -25
- package/dist/{IntegrationView--DZANrHj.js → IntegrationView-JboVfhvd.js} +17 -18
- package/dist/{InventoryBindingForm-DLTpv-zQ.js → InventoryBindingForm-B1MrDzRK.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-hkIg4Rbp.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Br1hzlQ5.js} +16 -17
- package/dist/{InventoryBindingSummary-D9ptV8Cw.js → InventoryBindingSummary-B09SU9pE.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CdPxhkg0.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BX26mYQG.js} +5 -5
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Ci3esisT.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DIk5aP_6.js} +2 -2
- package/dist/{PublishView-DxzL_D61.js → PublishView-BLu0VGTW.js} +8 -8
- package/dist/{PurchaseOrderPrintPreview-D0tg-2TC.js → PurchaseOrderPrintPreview-CFZX2Yen.js} +11 -11
- package/dist/{ReceiveRequestView-2U534J1_.js → ReceiveRequestView-DD0kz7x8.js} +37 -38
- package/dist/RecipeView-Cg7v20hW.js +646 -0
- package/dist/{StockView-CvWbnYGz.js → StockView-CJk1YeM_.js} +105 -106
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CxjceLuZ.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BFCjZO6S.js} +1 -1
- package/dist/{SupplierView-DMIunLvv.js → SupplierView-CTEInwI-.js} +19 -20
- package/dist/{SurchargeView-jteWYvQz.js → SurchargeView-CKJ2LS9l.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CyoUVoDH.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DVhI5Qy6.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DAkKiy0Z.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DjjLI4tM.js} +1 -1
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Dte8E0MX.js +3354 -0
- package/dist/{TransferTemplateView-DMQ1WIij.js → TransferTemplateView-rmrQtfX8.js} +21 -22
- package/dist/{UnitView-p6eZ8G2C.js → UnitView-Drvo3Tew.js} +10 -11
- package/dist/{WarehouseView-BIShkEPs.js → WarehouseView-DIBgCCzG.js} +5 -5
- package/dist/{WastageTemplateView-DCbczB_0.js → WastageTemplateView-Cdvx4Ist.js} +14 -14
- package/dist/api/inventory.d.ts +36 -126
- package/dist/api/netsuite.d.ts +1 -8
- package/dist/{app-BAVBNKKH.js → app-BQahEYX9.js} +6700 -7673
- package/dist/app.d.ts +24 -228
- package/dist/app.js +1 -1
- package/dist/{closing-template-DqxA750a.js → closing-template-ByR8ktYf.js} +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -37
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +0 -14
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -16
- package/dist/{date2-CgwRU403.js → date2-BTP8kRm1.js} +1 -1
- package/dist/{dayjs.min-CjWVK_Fe.js → dayjs.min-1rxaqCQM.js} +16 -16
- package/dist/{defineDeepModel-B1j_kSRA.js → defineDeepModel-BaJIlpWC.js} +1 -1
- package/dist/{duplicate-template-iHtqE_uw.js → duplicate-template-XaB2svr5.js} +1 -1
- package/dist/{feature-DEryk-Cv.js → feature-Ce7hky70.js} +1044 -908
- package/dist/{format-time-from-id-C-mbWMLS.js → format-time-from-id-DwTuSEMw.js} +1 -1
- package/dist/{format-unit-display-C8Hzskg0.js → format-unit-display-DviFIF9R.js} +15 -16
- package/dist/{import-export.helper-DGg16RXI.js → import-export.helper-CyeFjIHv.js} +15 -16
- package/dist/{index-BLowSL6G.js → index-CC_ls9B4.js} +1412 -1471
- package/dist/{index-CLr4DPan.js → index-CeTIFqwk.js} +3 -3
- package/dist/{index-BAkoTUB0.js → index-f1rjUE_a.js} +1 -1
- package/dist/{lodash-D1_0uR01.js → lodash-Be4onxQF.js} +1 -1
- package/dist/{netsuite-Bbxz8tiD.js → netsuite-CB9u725A.js} +374 -372
- package/dist/{purchase-order-template-B-sXEbRE.js → purchase-order-template-DoBDYEtP.js} +1 -1
- package/dist/router/name.d.ts +0 -1
- package/dist/rules-DZnC9R5E.js +327 -0
- package/dist/stock-DcXdnfU0.js +75 -0
- package/dist/{stock-BYPFH5a_.js → stock-DjHGX36M.js} +1 -1
- package/dist/stores/feature.d.ts +0 -2
- package/dist/stores/integration/netsuite.d.ts +1 -8
- package/dist/stores/inventory.d.ts +30 -119
- package/dist/style.css +1 -1
- package/dist/{supplier-wQYh275s.js → supplier-BtZvsnMx.js} +2 -2
- package/dist/{surcharge-Bi21qFa0.js → surcharge-CDGjoxGm.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-DH-mXl8H.js → use-ingredient-select-dialog-l54ucmfp.js} +2 -2
- package/dist/{use-inventory-binding-dialog-i8E2CNuV.js → use-inventory-binding-dialog-adxsJaIL.js} +2 -2
- package/dist/{use-template-enabled-locations-2-DRk9TskI.js → use-template-enabled-locations-2-CgWtnf8k.js} +2 -2
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +8 -64
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +24 -192
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -8
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +12 -96
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +12 -96
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +18 -18
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +0 -14
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +4 -32
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +0 -28
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -8
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +2 -16
- package/dist/views/receive-request/components/transfer-details/RejectDraftForm.vue.d.ts +19 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +5 -1
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +6 -33
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -16
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +4 -32
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -8
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +7 -41
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +42 -246
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +49 -287
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +0 -16
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +0 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -16
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +2 -16
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +2 -16
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +2 -16
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +1 -8
- package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +3 -24
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +12 -96
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +12 -96
- package/dist/vue-i18n-CgWPe8oO.js +2365 -0
- package/dist/{xlsx-lp5RXzSw.js → xlsx-FLEhrhiP.js} +398 -398
- package/dist/{xlsx.util-BxpZNkEZ.js → xlsx.util-DoAD8sxa.js} +1 -1
- package/package.json +2 -2
- package/dist/RecipeView-VZRyX3Mm.js +0 -1558
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CEXA3vvS.js +0 -3241
- package/dist/UnitCostHistoryView-DQ3sXVAQ.js +0 -651
- package/dist/api/unit-cost-history.d.ts +0 -28
- package/dist/number-Cof88Fjz.js +0 -232
- package/dist/rules-CzPUVxD_.js +0 -98
- package/dist/stock-D9E1uFb1.js +0 -75
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +0 -169
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +0 -43
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingRule.vue.d.ts +0 -25
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +0 -125
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +0 -129
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +0 -30
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +0 -4
- package/dist/views/unit-cost-history/UnitCostHistoryView.vue.d.ts +0 -2
- package/dist/views/unit-cost-history/components/UnitCostDetailsSideSheet.vue.d.ts +0 -19
- package/dist/views/unit-cost-history/components/UnitCostRecalculationDialog.vue.d.ts +0 -11
- package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +0 -65
- package/dist/vue-i18n-Cf9iDkfk.js +0 -2365
|
@@ -1,27 +1,26 @@
|
|
|
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-DviFIF9R.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-BQahEYX9.js";
|
|
7
|
+
import { _ as yt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-WWzwaGw-.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 { I as ht,
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { u as
|
|
17
|
-
import { u as
|
|
18
|
-
import { u as St } from "./use-ingredient-select-dialog-DH-mXl8H.js";
|
|
11
|
+
import { u as he, t as je, I as ht, b as _t, n as xt, a as se, c as kt, R as we, g as be, d as ve, A as Te, M as wt, e as Tt } from "./rules-DZnC9R5E.js";
|
|
12
|
+
import { d as Ze } from "./defineDeepModel-BaJIlpWC.js";
|
|
13
|
+
import { _ as Ft, F as Ct, a as It, b as Mt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-ChqG8Av1.js";
|
|
14
|
+
import { F as _e, u as ge } from "./feature-Ce7hky70.js";
|
|
15
|
+
import { u as Je } from "./netsuite-CB9u725A.js";
|
|
16
|
+
import { u as $t } from "./supplier-BtZvsnMx.js";
|
|
17
|
+
import { u as St } from "./use-ingredient-select-dialog-l54ucmfp.js";
|
|
19
18
|
import { F as ee, _ as Xe } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
20
|
-
import { u as Ot } from "./use-template-enabled-locations-2-
|
|
21
|
-
import { u as Dt, _ as Vt } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import { u as At } from "./purchase-order-template-
|
|
23
|
-
import { f as Rt } from "./format-time-from-id-
|
|
24
|
-
import { f as Bt } from "./date2-
|
|
19
|
+
import { u as Ot } from "./use-template-enabled-locations-2-CgWtnf8k.js";
|
|
20
|
+
import { u as Dt, _ as Vt } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CNf3PA0N.js";
|
|
21
|
+
import { u as At } from "./purchase-order-template-DoBDYEtP.js";
|
|
22
|
+
import { f as Rt } from "./format-time-from-id-DwTuSEMw.js";
|
|
23
|
+
import { f as Bt } from "./date2-BTP8kRm1.js";
|
|
25
24
|
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({
|
|
26
25
|
__name: "FmMinMaxInput",
|
|
27
26
|
props: {
|
|
@@ -73,8 +72,8 @@ const Ut = { class: "flex flex-col" }, qt = { class: "flex flex-col" }, Pt = { c
|
|
|
73
72
|
return Math.max((p == null ? void 0 : p.precision) ?? 0, (b == null ? void 0 : b.precision) ?? 0, h.precision ?? 0);
|
|
74
73
|
}), s = (p) => {
|
|
75
74
|
if (!p) return "";
|
|
76
|
-
const b =
|
|
77
|
-
return
|
|
75
|
+
const b = _t(p), w = r.value, i = he(b, w);
|
|
76
|
+
return xt(
|
|
78
77
|
+se(i),
|
|
79
78
|
i.precision
|
|
80
79
|
);
|
|
@@ -183,7 +182,7 @@ function Qt(f, h) {
|
|
|
183
182
|
};
|
|
184
183
|
}
|
|
185
184
|
function Yt(f) {
|
|
186
|
-
const h =
|
|
185
|
+
const h = kt(f), y = se(f);
|
|
187
186
|
return function(r) {
|
|
188
187
|
const s = !(r != null && r.min) || h(r.min) === !0, u = !(r != null && r.max) || h(r.max) === !0;
|
|
189
188
|
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}`;
|
|
@@ -416,7 +415,7 @@ function Ht(f, h = {}) {
|
|
|
416
415
|
amount: 1,
|
|
417
416
|
precision: be(o.sku.unit, o.measurement)
|
|
418
417
|
}),
|
|
419
|
-
|
|
418
|
+
wt(o.sku.unit, o.measurement)
|
|
420
419
|
]
|
|
421
420
|
});
|
|
422
421
|
},
|
|
@@ -1464,7 +1463,7 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Gt = { class: "flex items-cen
|
|
|
1464
1463
|
}, 8, ["header", "modelValue", "dismiss-away"]);
|
|
1465
1464
|
};
|
|
1466
1465
|
}
|
|
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" },
|
|
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" }, zs = /* @__PURE__ */ ae({
|
|
1468
1467
|
__name: "TransferTemplateView",
|
|
1469
1468
|
setup(f) {
|
|
1470
1469
|
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();
|
|
@@ -1612,5 +1611,5 @@ const Wt = { class: "flex flex-col gap-8 py-16" }, Gt = { class: "flex items-cen
|
|
|
1612
1611
|
}
|
|
1613
1612
|
});
|
|
1614
1613
|
export {
|
|
1615
|
-
|
|
1614
|
+
zs as default
|
|
1616
1615
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as O, computed as b, openBlock as v, createElementBlock as w, createElementVNode as s, Fragment as K, renderList as G, toDisplayString as h, createCommentVNode as Q, ref as I, watch as oe, resolveComponent as $, createBlock as T, withCtx as A, createVNode as f, unref as i, isRef as le, normalizeClass as me, normalizeStyle as ce, Teleport as pe, normalizeProps as ve, guardReactiveProps as fe } from "vue";
|
|
2
|
-
import { a as Y, S as ye, c as ie,
|
|
2
|
+
import { a as Y, S as ye, c as ie, w as be, j as se, u as ge } from "./app-BQahEYX9.js";
|
|
3
3
|
import { useDialog as ue, useSnackbar as Z, useProxiedModel as ae, useBreakpoints as xe } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as _e, _ as he } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { F as U } from "./form-mode.enum-BKiNVH6A.js";
|
|
@@ -8,12 +8,11 @@ import { D as re, R as q } from "./row-action.enum-BcW_L_nE.js";
|
|
|
8
8
|
import { c as we } from "./component-DpCUABT3.js";
|
|
9
9
|
import { useI18n as J } from "@feedmepos/mf-common";
|
|
10
10
|
import { u as Ce, _ as Se } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
11
|
-
import { R as H, A as Fe,
|
|
12
|
-
import {
|
|
13
|
-
import { _ as Ie } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CdPxhkg0.js";
|
|
11
|
+
import { R as H, A as Fe, a as W, F as ke, d as Ee, h as $e } from "./rules-DZnC9R5E.js";
|
|
12
|
+
import { _ as Ie } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BX26mYQG.js";
|
|
14
13
|
import { _ as Ae, F as De } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
15
|
-
import { _ as Re } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as Me } from "./netsuite-
|
|
14
|
+
import { _ as Re } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-WWzwaGw-.js";
|
|
15
|
+
import { u as Me } from "./netsuite-CB9u725A.js";
|
|
17
16
|
const Pe = { class: "flex flex-col gap-8" }, Te = {
|
|
18
17
|
key: 0,
|
|
19
18
|
class: "flex flex-col"
|
|
@@ -444,13 +443,13 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
|
|
|
444
443
|
"onUpdate:modelValue": (k) => u.value = u.value.map(
|
|
445
444
|
(P, L) => L === _ ? {
|
|
446
445
|
...P,
|
|
447
|
-
conversion: i(
|
|
448
|
-
i(
|
|
446
|
+
conversion: i(ke).toPrecision(
|
|
447
|
+
i(Ee)(k),
|
|
449
448
|
t.value
|
|
450
449
|
)
|
|
451
450
|
} : P
|
|
452
451
|
),
|
|
453
|
-
rules: [i(
|
|
452
|
+
rules: [i($e)(0)],
|
|
454
453
|
step: +i(W)({ amount: 1, precision: t.value }),
|
|
455
454
|
"helper-text": i(a)("inventory.unit.measurement.conversionHelper", {
|
|
456
455
|
measurementSymbol: e.modelValue.measurements[_].name || " measurement unit",
|
|
@@ -590,7 +589,7 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
|
|
|
590
589
|
}, 8, ["model-value", "header"]);
|
|
591
590
|
};
|
|
592
591
|
}
|
|
593
|
-
}), it = { class: "flex flex-col py-8" }, ut = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, dt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" },
|
|
592
|
+
}), it = { class: "flex flex-col py-8" }, ut = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, dt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, St = /* @__PURE__ */ O({
|
|
594
593
|
__name: "UnitView",
|
|
595
594
|
setup(S) {
|
|
596
595
|
const c = Y(), g = ge(), m = Me();
|
|
@@ -678,5 +677,5 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
|
|
|
678
677
|
}
|
|
679
678
|
});
|
|
680
679
|
export {
|
|
681
|
-
|
|
680
|
+
St as default
|
|
682
681
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { ref as D, defineComponent as j, watch as ee, onMounted as te, onUnmounted as $e, openBlock as W, createElementBlock as B, toRaw as we, reactive as Se, createElementVNode as g, toDisplayString as E, unref as u, createVNode as k, resolveComponent as N, createSlots as Te, withCtx as I, createTextVNode as Me, renderSlot as De, createBlock as z, createCommentVNode as ae, computed as $, isRef as Ve, normalizeClass as We, normalizeStyle as Re } from "vue";
|
|
2
|
-
import { o as Pe, p as Ue, q as Ee, c as G, r as Ne, S as Le, u as Ie } from "./app-
|
|
2
|
+
import { o as Pe, p as Ue, q as Ee, c as G, r as Ne, S as Le, u as Ie } from "./app-BQahEYX9.js";
|
|
3
3
|
import { useCoreStore as Fe, useI18n as O } from "@feedmepos/mf-common";
|
|
4
4
|
import { D as _e, R as J } from "./row-action.enum-BcW_L_nE.js";
|
|
5
5
|
import { c as qe } from "./component-DpCUABT3.js";
|
|
6
6
|
import { u as Be, _ as ze } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
7
7
|
import { F as U } from "./form-mode.enum-BKiNVH6A.js";
|
|
8
8
|
import { useDialogChild as je, useDialog as Ce, useSnackbar as le, useProxiedModel as oe, useBreakpoints as Oe } from "@feedmepos/ui-library";
|
|
9
|
-
import { R as L } from "./rules-
|
|
9
|
+
import { R as L } from "./rules-DZnC9R5E.js";
|
|
10
10
|
import { c as se, u as re } from "./googlemap-Dm8ERVai.js";
|
|
11
|
-
import { d as Ge } from "./index-
|
|
11
|
+
import { d as Ge } from "./index-f1rjUE_a.js";
|
|
12
12
|
import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
import { _ as He } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
14
|
-
import { u as Ye } from "./feature-
|
|
14
|
+
import { u as Ye } from "./feature-Ce7hky70.js";
|
|
15
15
|
import { _ as Ze, F as Q } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
16
|
-
import { _ as Je } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
16
|
+
import { _ as Je } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-WWzwaGw-.js";
|
|
17
17
|
const X = Pe((v, h) => {
|
|
18
18
|
const b = Fe();
|
|
19
19
|
return {
|
|
@@ -2,26 +2,26 @@ import { ref as M, h as P, defineComponent as G, resolveComponent as E, openBloc
|
|
|
2
2
|
import { u as tt, _ as nt } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
3
3
|
import { useI18n as J, useCoreStore as Ne } from "@feedmepos/mf-common";
|
|
4
4
|
import { D as ce, R as B } from "./row-action.enum-BcW_L_nE.js";
|
|
5
|
-
import { _ as st } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as st } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-WWzwaGw-.js";
|
|
6
6
|
import { useDialog as ee, useDialogChild as ot, useSnackbar as te, FmButtonVariant as Q, components as H, useProxiedModel as Be, useBreakpoints as at } from "@feedmepos/ui-library";
|
|
7
7
|
import { defineStore as ze, storeToRefs as Oe } from "pinia";
|
|
8
8
|
import { _ as lt, F as me } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
9
|
-
import { u as he, c as We, a as ne,
|
|
9
|
+
import { u as he, c as We, a as ne, G as N, n as rt, D as fe } from "./app-BQahEYX9.js";
|
|
10
10
|
import { F as q } from "./form-mode.enum-BKiNVH6A.js";
|
|
11
11
|
import { c as it } from "./component-DpCUABT3.js";
|
|
12
|
-
import { f as ut } from "./format-time-from-id-
|
|
13
|
-
import { u as se } from "./closing-template-
|
|
14
|
-
import { _ as ct } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { t as ve, a as He, d as Ke, s as Ye, r as mt } from "./xlsx.util-
|
|
16
|
-
import { f as dt, a as de } from "./date2-
|
|
17
|
-
import { u as pt } from "./netsuite-
|
|
12
|
+
import { f as ut } from "./format-time-from-id-DwTuSEMw.js";
|
|
13
|
+
import { u as se } from "./closing-template-ByR8ktYf.js";
|
|
14
|
+
import { _ as ct } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DjjLI4tM.js";
|
|
15
|
+
import { t as ve, a as He, d as Ke, s as Ye, r as mt } from "./xlsx.util-DoAD8sxa.js";
|
|
16
|
+
import { f as dt, a as de } from "./date2-BTP8kRm1.js";
|
|
17
|
+
import { u as pt } from "./netsuite-CB9u725A.js";
|
|
18
18
|
import { F as ft } from "./FmDroppableField-J0xUsOTV.js";
|
|
19
|
-
import { u as vt } from "./duplicate-template-
|
|
20
|
-
import { A as yt, R as Ge } from "./rules-
|
|
21
|
-
import { d as ht } from "./defineDeepModel-
|
|
22
|
-
import { u as gt } from "./use-template-enabled-locations-2-
|
|
23
|
-
import { a as bt } from "./FmMultiselectDialog-
|
|
24
|
-
import { _ as _t } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-
|
|
19
|
+
import { u as vt } from "./duplicate-template-XaB2svr5.js";
|
|
20
|
+
import { A as yt, R as Ge } from "./rules-DZnC9R5E.js";
|
|
21
|
+
import { d as ht } from "./defineDeepModel-BaJIlpWC.js";
|
|
22
|
+
import { u as gt } from "./use-template-enabled-locations-2-CgWtnf8k.js";
|
|
23
|
+
import { a as bt } from "./FmMultiselectDialog-CcMB_4yD.js";
|
|
24
|
+
import { _ as _t } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-DVhI5Qy6.js";
|
|
25
25
|
import { _ as xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
26
26
|
const oe = ze(
|
|
27
27
|
"wastageTable",
|
package/dist/api/inventory.d.ts
CHANGED
|
@@ -300,7 +300,6 @@ export declare const useInventoryApi: () => {
|
|
|
300
300
|
}[] | null | undefined;
|
|
301
301
|
recipe?: {
|
|
302
302
|
customAttributes?: Record<string, any> | null | undefined;
|
|
303
|
-
version?: "v2" | null | undefined;
|
|
304
303
|
_id: string;
|
|
305
304
|
name: string;
|
|
306
305
|
contains: {
|
|
@@ -313,13 +312,6 @@ export declare const useInventoryApi: () => {
|
|
|
313
312
|
precision: number;
|
|
314
313
|
};
|
|
315
314
|
} | null | undefined;
|
|
316
|
-
rules?: Record<string, any> | null | undefined;
|
|
317
|
-
alternatives?: {
|
|
318
|
-
priority?: number | null | undefined;
|
|
319
|
-
default?: boolean | null | undefined;
|
|
320
|
-
trackingMeasurement?: string | null | undefined;
|
|
321
|
-
_id: string;
|
|
322
|
-
}[] | null | undefined;
|
|
323
315
|
id: string;
|
|
324
316
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
325
317
|
amount: {
|
|
@@ -329,8 +321,8 @@ export declare const useInventoryApi: () => {
|
|
|
329
321
|
}[];
|
|
330
322
|
}[] | null | undefined;
|
|
331
323
|
sku?: {
|
|
332
|
-
trackingMeasurement?: string | null | undefined;
|
|
333
324
|
isInactive?: boolean | null | undefined;
|
|
325
|
+
trackingMeasurement?: string | null | undefined;
|
|
334
326
|
convert?: {
|
|
335
327
|
measurement?: string | null | undefined;
|
|
336
328
|
inventoryBindings?: {
|
|
@@ -343,13 +335,6 @@ export declare const useInventoryApi: () => {
|
|
|
343
335
|
precision: number;
|
|
344
336
|
};
|
|
345
337
|
} | null | undefined;
|
|
346
|
-
rules?: Record<string, any> | null | undefined;
|
|
347
|
-
alternatives?: {
|
|
348
|
-
priority?: number | null | undefined;
|
|
349
|
-
default?: boolean | null | undefined;
|
|
350
|
-
trackingMeasurement?: string | null | undefined;
|
|
351
|
-
_id: string;
|
|
352
|
-
}[] | null | undefined;
|
|
353
338
|
id: string;
|
|
354
339
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
355
340
|
amount: {
|
|
@@ -402,6 +387,12 @@ export declare const useInventoryApi: () => {
|
|
|
402
387
|
}[] | null | undefined;
|
|
403
388
|
skuGroup?: {
|
|
404
389
|
ref?: string | null | undefined;
|
|
390
|
+
defaultSkuRefs?: {
|
|
391
|
+
priority?: number | null | undefined;
|
|
392
|
+
default?: boolean | null | undefined;
|
|
393
|
+
trackingMeasurement?: string | null | undefined;
|
|
394
|
+
_id: string;
|
|
395
|
+
}[] | null | undefined;
|
|
405
396
|
rules?: {
|
|
406
397
|
rule?: any;
|
|
407
398
|
_id: string;
|
|
@@ -413,12 +404,6 @@ export declare const useInventoryApi: () => {
|
|
|
413
404
|
_id: string;
|
|
414
405
|
}[];
|
|
415
406
|
}[] | null | undefined;
|
|
416
|
-
defaultSkuRefs?: {
|
|
417
|
-
priority?: number | null | undefined;
|
|
418
|
-
default?: boolean | null | undefined;
|
|
419
|
-
trackingMeasurement?: string | null | undefined;
|
|
420
|
-
_id: string;
|
|
421
|
-
}[] | null | undefined;
|
|
422
407
|
_id: string;
|
|
423
408
|
name: string;
|
|
424
409
|
}[] | null | undefined;
|
|
@@ -443,7 +428,6 @@ export declare const useInventoryApi: () => {
|
|
|
443
428
|
}[] | null | undefined;
|
|
444
429
|
recipe?: {
|
|
445
430
|
customAttributes?: Record<string, any> | null | undefined;
|
|
446
|
-
version?: "v2" | null | undefined;
|
|
447
431
|
_id: string;
|
|
448
432
|
name: string;
|
|
449
433
|
contains: {
|
|
@@ -456,13 +440,6 @@ export declare const useInventoryApi: () => {
|
|
|
456
440
|
precision: number;
|
|
457
441
|
};
|
|
458
442
|
} | null | undefined;
|
|
459
|
-
rules?: Record<string, any> | null | undefined;
|
|
460
|
-
alternatives?: {
|
|
461
|
-
priority?: number | null | undefined;
|
|
462
|
-
default?: boolean | null | undefined;
|
|
463
|
-
trackingMeasurement?: string | null | undefined;
|
|
464
|
-
_id: string;
|
|
465
|
-
}[] | null | undefined;
|
|
466
443
|
id: string;
|
|
467
444
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
468
445
|
amount: {
|
|
@@ -472,8 +449,8 @@ export declare const useInventoryApi: () => {
|
|
|
472
449
|
}[];
|
|
473
450
|
}[] | null | undefined;
|
|
474
451
|
sku?: {
|
|
475
|
-
trackingMeasurement?: string | null | undefined;
|
|
476
452
|
isInactive?: boolean | null | undefined;
|
|
453
|
+
trackingMeasurement?: string | null | undefined;
|
|
477
454
|
convert?: {
|
|
478
455
|
measurement?: string | null | undefined;
|
|
479
456
|
inventoryBindings?: {
|
|
@@ -486,13 +463,6 @@ export declare const useInventoryApi: () => {
|
|
|
486
463
|
precision: number;
|
|
487
464
|
};
|
|
488
465
|
} | null | undefined;
|
|
489
|
-
rules?: Record<string, any> | null | undefined;
|
|
490
|
-
alternatives?: {
|
|
491
|
-
priority?: number | null | undefined;
|
|
492
|
-
default?: boolean | null | undefined;
|
|
493
|
-
trackingMeasurement?: string | null | undefined;
|
|
494
|
-
_id: string;
|
|
495
|
-
}[] | null | undefined;
|
|
496
466
|
id: string;
|
|
497
467
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
498
468
|
amount: {
|
|
@@ -545,6 +515,12 @@ export declare const useInventoryApi: () => {
|
|
|
545
515
|
}[] | null | undefined;
|
|
546
516
|
skuGroup?: {
|
|
547
517
|
ref?: string | null | undefined;
|
|
518
|
+
defaultSkuRefs?: {
|
|
519
|
+
priority?: number | null | undefined;
|
|
520
|
+
default?: boolean | null | undefined;
|
|
521
|
+
trackingMeasurement?: string | null | undefined;
|
|
522
|
+
_id: string;
|
|
523
|
+
}[] | null | undefined;
|
|
548
524
|
rules?: {
|
|
549
525
|
rule?: any;
|
|
550
526
|
_id: string;
|
|
@@ -556,12 +532,6 @@ export declare const useInventoryApi: () => {
|
|
|
556
532
|
_id: string;
|
|
557
533
|
}[];
|
|
558
534
|
}[] | null | undefined;
|
|
559
|
-
defaultSkuRefs?: {
|
|
560
|
-
priority?: number | null | undefined;
|
|
561
|
-
default?: boolean | null | undefined;
|
|
562
|
-
trackingMeasurement?: string | null | undefined;
|
|
563
|
-
_id: string;
|
|
564
|
-
}[] | null | undefined;
|
|
565
535
|
_id: string;
|
|
566
536
|
name: string;
|
|
567
537
|
}[] | null | undefined;
|
|
@@ -587,7 +557,6 @@ export declare const useInventoryApi: () => {
|
|
|
587
557
|
}[] | null | undefined;
|
|
588
558
|
recipe?: {
|
|
589
559
|
customAttributes?: Record<string, any> | null | undefined;
|
|
590
|
-
version?: "v2" | null | undefined;
|
|
591
560
|
_id: string;
|
|
592
561
|
name: string;
|
|
593
562
|
contains: {
|
|
@@ -600,13 +569,6 @@ export declare const useInventoryApi: () => {
|
|
|
600
569
|
precision: number;
|
|
601
570
|
};
|
|
602
571
|
} | null | undefined;
|
|
603
|
-
rules?: Record<string, any> | null | undefined;
|
|
604
|
-
alternatives?: {
|
|
605
|
-
priority?: number | null | undefined;
|
|
606
|
-
default?: boolean | null | undefined;
|
|
607
|
-
trackingMeasurement?: string | null | undefined;
|
|
608
|
-
_id: string;
|
|
609
|
-
}[] | null | undefined;
|
|
610
572
|
id: string;
|
|
611
573
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
612
574
|
amount: {
|
|
@@ -616,8 +578,8 @@ export declare const useInventoryApi: () => {
|
|
|
616
578
|
}[];
|
|
617
579
|
}[] | null | undefined;
|
|
618
580
|
sku?: {
|
|
619
|
-
trackingMeasurement?: string | null | undefined;
|
|
620
581
|
isInactive?: boolean | null | undefined;
|
|
582
|
+
trackingMeasurement?: string | null | undefined;
|
|
621
583
|
convert?: {
|
|
622
584
|
measurement?: string | null | undefined;
|
|
623
585
|
inventoryBindings?: {
|
|
@@ -630,13 +592,6 @@ export declare const useInventoryApi: () => {
|
|
|
630
592
|
precision: number;
|
|
631
593
|
};
|
|
632
594
|
} | null | undefined;
|
|
633
|
-
rules?: Record<string, any> | null | undefined;
|
|
634
|
-
alternatives?: {
|
|
635
|
-
priority?: number | null | undefined;
|
|
636
|
-
default?: boolean | null | undefined;
|
|
637
|
-
trackingMeasurement?: string | null | undefined;
|
|
638
|
-
_id: string;
|
|
639
|
-
}[] | null | undefined;
|
|
640
595
|
id: string;
|
|
641
596
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
642
597
|
amount: {
|
|
@@ -689,6 +644,12 @@ export declare const useInventoryApi: () => {
|
|
|
689
644
|
}[] | null | undefined;
|
|
690
645
|
skuGroup?: {
|
|
691
646
|
ref?: string | null | undefined;
|
|
647
|
+
defaultSkuRefs?: {
|
|
648
|
+
priority?: number | null | undefined;
|
|
649
|
+
default?: boolean | null | undefined;
|
|
650
|
+
trackingMeasurement?: string | null | undefined;
|
|
651
|
+
_id: string;
|
|
652
|
+
}[] | null | undefined;
|
|
692
653
|
rules?: {
|
|
693
654
|
rule?: any;
|
|
694
655
|
_id: string;
|
|
@@ -700,12 +661,6 @@ export declare const useInventoryApi: () => {
|
|
|
700
661
|
_id: string;
|
|
701
662
|
}[];
|
|
702
663
|
}[] | null | undefined;
|
|
703
|
-
defaultSkuRefs?: {
|
|
704
|
-
priority?: number | null | undefined;
|
|
705
|
-
default?: boolean | null | undefined;
|
|
706
|
-
trackingMeasurement?: string | null | undefined;
|
|
707
|
-
_id: string;
|
|
708
|
-
}[] | null | undefined;
|
|
709
664
|
_id: string;
|
|
710
665
|
name: string;
|
|
711
666
|
}[] | null | undefined;
|
|
@@ -716,8 +671,8 @@ export declare const useInventoryApi: () => {
|
|
|
716
671
|
errors: {
|
|
717
672
|
error?: any;
|
|
718
673
|
data: {
|
|
719
|
-
trackingMeasurement?: string | null | undefined;
|
|
720
674
|
isInactive?: boolean | null | undefined;
|
|
675
|
+
trackingMeasurement?: string | null | undefined;
|
|
721
676
|
convert?: {
|
|
722
677
|
measurement?: string | null | undefined;
|
|
723
678
|
inventoryBindings?: {
|
|
@@ -730,13 +685,6 @@ export declare const useInventoryApi: () => {
|
|
|
730
685
|
precision: number;
|
|
731
686
|
};
|
|
732
687
|
} | null | undefined;
|
|
733
|
-
rules?: Record<string, any> | null | undefined;
|
|
734
|
-
alternatives?: {
|
|
735
|
-
priority?: number | null | undefined;
|
|
736
|
-
default?: boolean | null | undefined;
|
|
737
|
-
trackingMeasurement?: string | null | undefined;
|
|
738
|
-
_id: string;
|
|
739
|
-
}[] | null | undefined;
|
|
740
688
|
id: string;
|
|
741
689
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
742
690
|
amount: {
|
|
@@ -808,7 +756,6 @@ export declare const useInventoryApi: () => {
|
|
|
808
756
|
}[] | null | undefined;
|
|
809
757
|
recipe?: {
|
|
810
758
|
customAttributes?: Record<string, any> | null | undefined;
|
|
811
|
-
version?: "v2" | null | undefined;
|
|
812
759
|
_id: string;
|
|
813
760
|
name: string;
|
|
814
761
|
contains: {
|
|
@@ -821,13 +768,6 @@ export declare const useInventoryApi: () => {
|
|
|
821
768
|
precision: number;
|
|
822
769
|
};
|
|
823
770
|
} | null | undefined;
|
|
824
|
-
rules?: Record<string, any> | null | undefined;
|
|
825
|
-
alternatives?: {
|
|
826
|
-
priority?: number | null | undefined;
|
|
827
|
-
default?: boolean | null | undefined;
|
|
828
|
-
trackingMeasurement?: string | null | undefined;
|
|
829
|
-
_id: string;
|
|
830
|
-
}[] | null | undefined;
|
|
831
771
|
id: string;
|
|
832
772
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
833
773
|
amount: {
|
|
@@ -837,8 +777,8 @@ export declare const useInventoryApi: () => {
|
|
|
837
777
|
}[];
|
|
838
778
|
}[] | null | undefined;
|
|
839
779
|
sku?: {
|
|
840
|
-
trackingMeasurement?: string | null | undefined;
|
|
841
780
|
isInactive?: boolean | null | undefined;
|
|
781
|
+
trackingMeasurement?: string | null | undefined;
|
|
842
782
|
convert?: {
|
|
843
783
|
measurement?: string | null | undefined;
|
|
844
784
|
inventoryBindings?: {
|
|
@@ -851,13 +791,6 @@ export declare const useInventoryApi: () => {
|
|
|
851
791
|
precision: number;
|
|
852
792
|
};
|
|
853
793
|
} | null | undefined;
|
|
854
|
-
rules?: Record<string, any> | null | undefined;
|
|
855
|
-
alternatives?: {
|
|
856
|
-
priority?: number | null | undefined;
|
|
857
|
-
default?: boolean | null | undefined;
|
|
858
|
-
trackingMeasurement?: string | null | undefined;
|
|
859
|
-
_id: string;
|
|
860
|
-
}[] | null | undefined;
|
|
861
794
|
id: string;
|
|
862
795
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
863
796
|
amount: {
|
|
@@ -910,6 +843,12 @@ export declare const useInventoryApi: () => {
|
|
|
910
843
|
}[] | null | undefined;
|
|
911
844
|
skuGroup?: {
|
|
912
845
|
ref?: string | null | undefined;
|
|
846
|
+
defaultSkuRefs?: {
|
|
847
|
+
priority?: number | null | undefined;
|
|
848
|
+
default?: boolean | null | undefined;
|
|
849
|
+
trackingMeasurement?: string | null | undefined;
|
|
850
|
+
_id: string;
|
|
851
|
+
}[] | null | undefined;
|
|
913
852
|
rules?: {
|
|
914
853
|
rule?: any;
|
|
915
854
|
_id: string;
|
|
@@ -921,12 +860,6 @@ export declare const useInventoryApi: () => {
|
|
|
921
860
|
_id: string;
|
|
922
861
|
}[];
|
|
923
862
|
}[] | null | undefined;
|
|
924
|
-
defaultSkuRefs?: {
|
|
925
|
-
priority?: number | null | undefined;
|
|
926
|
-
default?: boolean | null | undefined;
|
|
927
|
-
trackingMeasurement?: string | null | undefined;
|
|
928
|
-
_id: string;
|
|
929
|
-
}[] | null | undefined;
|
|
930
863
|
_id: string;
|
|
931
864
|
name: string;
|
|
932
865
|
}[] | null | undefined;
|
|
@@ -972,7 +905,6 @@ export declare const useInventoryApi: () => {
|
|
|
972
905
|
}[] | null | undefined;
|
|
973
906
|
recipe?: {
|
|
974
907
|
customAttributes?: Record<string, any> | null | undefined;
|
|
975
|
-
version?: "v2" | null | undefined;
|
|
976
908
|
_id: string;
|
|
977
909
|
name: string;
|
|
978
910
|
contains: {
|
|
@@ -985,13 +917,6 @@ export declare const useInventoryApi: () => {
|
|
|
985
917
|
precision: number;
|
|
986
918
|
};
|
|
987
919
|
} | null | undefined;
|
|
988
|
-
rules?: Record<string, any> | null | undefined;
|
|
989
|
-
alternatives?: {
|
|
990
|
-
priority?: number | null | undefined;
|
|
991
|
-
default?: boolean | null | undefined;
|
|
992
|
-
trackingMeasurement?: string | null | undefined;
|
|
993
|
-
_id: string;
|
|
994
|
-
}[] | null | undefined;
|
|
995
920
|
id: string;
|
|
996
921
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
997
922
|
amount: {
|
|
@@ -1001,8 +926,8 @@ export declare const useInventoryApi: () => {
|
|
|
1001
926
|
}[];
|
|
1002
927
|
}[] | null | undefined;
|
|
1003
928
|
sku?: {
|
|
1004
|
-
trackingMeasurement?: string | null | undefined;
|
|
1005
929
|
isInactive?: boolean | null | undefined;
|
|
930
|
+
trackingMeasurement?: string | null | undefined;
|
|
1006
931
|
convert?: {
|
|
1007
932
|
measurement?: string | null | undefined;
|
|
1008
933
|
inventoryBindings?: {
|
|
@@ -1015,13 +940,6 @@ export declare const useInventoryApi: () => {
|
|
|
1015
940
|
precision: number;
|
|
1016
941
|
};
|
|
1017
942
|
} | null | undefined;
|
|
1018
|
-
rules?: Record<string, any> | null | undefined;
|
|
1019
|
-
alternatives?: {
|
|
1020
|
-
priority?: number | null | undefined;
|
|
1021
|
-
default?: boolean | null | undefined;
|
|
1022
|
-
trackingMeasurement?: string | null | undefined;
|
|
1023
|
-
_id: string;
|
|
1024
|
-
}[] | null | undefined;
|
|
1025
943
|
id: string;
|
|
1026
944
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1027
945
|
amount: {
|
|
@@ -1074,6 +992,12 @@ export declare const useInventoryApi: () => {
|
|
|
1074
992
|
}[] | null | undefined;
|
|
1075
993
|
skuGroup?: {
|
|
1076
994
|
ref?: string | null | undefined;
|
|
995
|
+
defaultSkuRefs?: {
|
|
996
|
+
priority?: number | null | undefined;
|
|
997
|
+
default?: boolean | null | undefined;
|
|
998
|
+
trackingMeasurement?: string | null | undefined;
|
|
999
|
+
_id: string;
|
|
1000
|
+
}[] | null | undefined;
|
|
1077
1001
|
rules?: {
|
|
1078
1002
|
rule?: any;
|
|
1079
1003
|
_id: string;
|
|
@@ -1085,12 +1009,6 @@ export declare const useInventoryApi: () => {
|
|
|
1085
1009
|
_id: string;
|
|
1086
1010
|
}[];
|
|
1087
1011
|
}[] | null | undefined;
|
|
1088
|
-
defaultSkuRefs?: {
|
|
1089
|
-
priority?: number | null | undefined;
|
|
1090
|
-
default?: boolean | null | undefined;
|
|
1091
|
-
trackingMeasurement?: string | null | undefined;
|
|
1092
|
-
_id: string;
|
|
1093
|
-
}[] | null | undefined;
|
|
1094
1012
|
_id: string;
|
|
1095
1013
|
name: string;
|
|
1096
1014
|
}[] | null | undefined;
|
|
@@ -1102,7 +1020,6 @@ export declare const useInventoryApi: () => {
|
|
|
1102
1020
|
error?: any;
|
|
1103
1021
|
data: {
|
|
1104
1022
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1105
|
-
version?: "v2" | null | undefined;
|
|
1106
1023
|
_id: string;
|
|
1107
1024
|
name: string;
|
|
1108
1025
|
contains: {
|
|
@@ -1115,13 +1032,6 @@ export declare const useInventoryApi: () => {
|
|
|
1115
1032
|
precision: number;
|
|
1116
1033
|
};
|
|
1117
1034
|
} | null | undefined;
|
|
1118
|
-
rules?: Record<string, any> | null | undefined;
|
|
1119
|
-
alternatives?: {
|
|
1120
|
-
priority?: number | null | undefined;
|
|
1121
|
-
default?: boolean | null | undefined;
|
|
1122
|
-
trackingMeasurement?: string | null | undefined;
|
|
1123
|
-
_id: string;
|
|
1124
|
-
}[] | null | undefined;
|
|
1125
1035
|
id: string;
|
|
1126
1036
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1127
1037
|
amount: {
|
package/dist/api/netsuite.d.ts
CHANGED
|
@@ -408,8 +408,8 @@ export declare const useNetSuiteApi: () => {
|
|
|
408
408
|
};
|
|
409
409
|
}[] | null | undefined;
|
|
410
410
|
sku: {
|
|
411
|
-
trackingMeasurement?: string | null | undefined;
|
|
412
411
|
isInactive?: boolean | null | undefined;
|
|
412
|
+
trackingMeasurement?: string | null | undefined;
|
|
413
413
|
convert?: {
|
|
414
414
|
measurement?: string | null | undefined;
|
|
415
415
|
inventoryBindings?: {
|
|
@@ -422,13 +422,6 @@ export declare const useNetSuiteApi: () => {
|
|
|
422
422
|
precision: number;
|
|
423
423
|
};
|
|
424
424
|
} | null | undefined;
|
|
425
|
-
rules?: Record<string, any> | null | undefined;
|
|
426
|
-
alternatives?: {
|
|
427
|
-
priority?: number | null | undefined;
|
|
428
|
-
default?: boolean | null | undefined;
|
|
429
|
-
trackingMeasurement?: string | null | undefined;
|
|
430
|
-
_id: string;
|
|
431
|
-
}[] | null | undefined;
|
|
432
425
|
id: string;
|
|
433
426
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
434
427
|
amount: {
|