@feedmepos/mf-inventory-portal 1.8.0-dev.4 → 1.8.0-dev.5
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-FeJnwZme.js → App-DEbWEOwe.js} +609 -558
- package/dist/{ApprovalView-Eo-cGWyA.js → ApprovalView-BEnYHIlU.js} +9 -9
- package/dist/{BindingsDialog-DkjuXydb.js → BindingsDialog-CJVkMoBS.js} +2 -2
- package/dist/{BindingsPicker-DUOQcOlj.js → BindingsPicker-CX9o-xdQ.js} +2 -2
- package/dist/{BindingsTable-CoDdU5xh.js → BindingsTable-Cil4LJ7l.js} +4 -4
- package/dist/{BulkReceiveRequestView-BGh8fbEX.js → BulkReceiveRequestView-DYEc2jPw.js} +19 -19
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CStISRqy.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DoAv2mHA.js} +1 -1
- package/dist/{ClosingDraftView-Cwnhrv5P.js → ClosingDraftView-Bz94Iejf.js} +20 -20
- package/dist/{ClosingHistoryView-oHf77Lal.js → ClosingHistoryView-B479Y-mH.js} +5 -5
- package/dist/{ClosingTemplateView-1P8J1vAn.js → ClosingTemplateView-F_nx43n6.js} +18 -18
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-BuEPaqQK.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DddYGHxQ.js} +1 -1
- package/dist/{DefaultView-3Z8aVFSU.js → DefaultView-CkZOl0ov.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-uT_e3Suw.js → DeliveryOrderPrintPreview-BJEpwAX6.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-BCgnXxEi.js → EmailDialog.vue_vue_type_script_setup_true_lang-BW988AoC.js} +23 -23
- package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-Izn-hTjK.js +297 -0
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BlKpGdCx.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CoUWxHlj.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DKkxn1J-.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Ci81xTbl.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-dOXDST-E.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CnaHTAUZ.js} +2 -2
- package/dist/{FmMultiselectDialog-DRxZAkcu.js → FmMultiselectDialog-BE8BlO6_.js} +2 -2
- package/dist/FmMultiselectDialog-COKgBmPZ.js +123 -0
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DRSzQqVJ.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BQHd3NjM.js} +6 -6
- package/dist/ImportView-Crb_yrNb.js +1291 -0
- package/dist/{IngredientsView-N9U7tdI_.js → IngredientsView-lDypeR4c.js} +34 -35
- package/dist/{IntegrationExplorerView-CjmeGQ14.js → IntegrationExplorerView-DgOFGj7H.js} +4 -4
- package/dist/{IntegrationView-DAdpmuxx.js → IntegrationView-0sbjINo5.js} +973 -974
- package/dist/{InventoryBindingForm-CAj3MurI.js → InventoryBindingForm-BhyrjIXJ.js} +1 -1
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-KCz_BQ6T.js +472 -0
- package/dist/{InventoryBindingSummary-B-1OBUdw.js → InventoryBindingSummary-CsfNKd1r.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CUYYEuW3.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C32OoIBz.js} +1 -1
- package/dist/{ProductionRunDetailView-eFvl8-By.js → ProductionRunDetailView-BxbDtGMo.js} +4 -4
- package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-DaC7e4qS.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BdJVvwSP.js} +9 -9
- package/dist/{ProductionRunView-C_NJJKLr.js → ProductionRunView-CJhNEIzT.js} +3 -3
- package/dist/{PublishView-BglAEkzU.js → PublishView-vkt6-D6P.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-BTF9ikpQ.js → PurchaseOrderPrintPreview-25dHfVKp.js} +2 -2
- package/dist/{ReceiveRequestView-BUvehG10.js → ReceiveRequestView-BO4Z2dZu.js} +13 -13
- package/dist/RecipeView-B_AE7QQv.js +3428 -0
- package/dist/{SettingsView-DRR86cHo.js → SettingsView-qTUvQCuu.js} +164 -168
- package/dist/{StockView-D1oEnbZp.js → StockView-yh6qkYUS.js} +267 -267
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CxU92-io.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cn_fx9qG.js} +1 -1
- package/dist/{SupplierView-D68wz0-g.js → SupplierView-Dqzu1Bvh.js} +14 -14
- package/dist/{SurchargeView-Cw9rTw2h.js → SurchargeView-CDosn36c.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Az-a1Dsp.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DZ3Gdlp9.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-C-sxbacO.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CWoh2FqQ.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CsHfLaCv.js → TransferDetails.vue_vue_type_script_setup_true_lang-BtjKnIwf.js} +690 -666
- package/dist/{TransferTemplateView-CHPJMjYC.js → TransferTemplateView-fDZcC9i4.js} +20 -20
- package/dist/{UnitCostHistoryView-DM8OzWhe.js → UnitCostHistoryView-CmTTIXAp.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DpwK5mFH.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DZihCM0T.js} +4 -4
- package/dist/{UnitView-90uR-ZzQ.js → UnitView-BTx59sFK.js} +8 -8
- package/dist/{WarehouseView-Bulg6Vac.js → WarehouseView-BIFe08FJ.js} +8 -8
- package/dist/{WastageTemplateView-BmAHnnwm.js → WastageTemplateView-B_oJqm0_.js} +15 -15
- package/dist/api/feature-flags.d.ts +2 -0
- package/dist/api/license.d.ts +0 -2
- package/dist/{app-Ccdgbe4f.js → app-DyEvx3Em.js} +1628 -1817
- package/dist/app.d.ts +0 -150
- package/dist/app.js +1 -1
- package/dist/{closing-template-DuBZxoXx.js → closing-template-FgcLy4RT.js} +1 -1
- package/dist/{date2-IBrLdtni.js → date2-Rv4IwT9a.js} +1 -1
- package/dist/{dayjs.min-DEkq-Hpp.js → dayjs.min-DOq1QM_M.js} +1 -1
- package/dist/{decimal-g6jRdlSk.js → decimal-7vA05AaD.js} +2 -2
- package/dist/{defineDeepModel-P5a5Ffpn.js → defineDeepModel-22Md2SKY.js} +1 -1
- package/dist/{duplicate-template-Do8s80ei.js → duplicate-template-D2tjCY7C.js} +1 -1
- package/dist/{feature-ChVm5JED.js → feature-BMTKl6PK.js} +1999 -3092
- package/dist/feature-flags/portal-feature-catalog.d.ts +0 -2
- package/dist/{format-time-from-id-BgbBOII7.js → format-time-from-id-DXhm_Ji1.js} +1 -1
- package/dist/{format-unit-display-hSXy2iu6.js → format-unit-display-DxWLjFPz.js} +13 -13
- package/dist/helper/menu-usage-module.d.ts +1 -1
- package/dist/{id-to-date-DlGYysU8.js → id-to-date-VKlOL3mN.js} +1 -1
- package/dist/{import-export.helper-LrZhiz2W.js → import-export.helper-BiF5aKUp.js} +6 -6
- package/dist/{index-BTNJ1fk2.js → index-DEl_gZn0.js} +3 -3
- package/dist/{index-DsOmtywr.js → index-DdtsVAcv.js} +1 -1
- package/dist/{index-DCiNwlw2.js → index-DoBWE4Ci.js} +1 -1
- package/dist/{lz-string-DRuyjE9G.js → lz-string-BwQj8QRN.js} +1 -1
- package/dist/{netsuite-B6y8GZCP.js → netsuite-s1S33-lP.js} +2 -2
- package/dist/{number-Besn-1-5.js → number-BmKjsNrc.js} +3 -3
- package/dist/{predefined-templates-D92mN_2S.js → predefined-templates-BZ2KqNix.js} +1 -1
- package/dist/{purchase-order-template-hvq2pfWx.js → purchase-order-template-CINU4my1.js} +1 -1
- package/dist/{recalculationUtils-BlZR5O2G.js → recalculationUtils-R5tFu_ts.js} +1 -1
- package/dist/router/name.d.ts +0 -1
- package/dist/{row-action.enum-R2bi3eAv.js → row-action.enum-ePO-Py0V.js} +1 -1
- package/dist/{rules-DzwoRKUS.js → rules-BZrZVzw7.js} +2 -2
- package/dist/{stock-Cq37EARQ.js → stock-C2HOKq0k.js} +8 -8
- package/dist/{stock-oJqnUrtt.js → stock-Ce1UvAZ3.js} +1 -1
- package/dist/stores/feature.d.ts +9 -9
- package/dist/stores/inventory.d.ts +0 -47
- package/dist/stores/supplier.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-DtdwvcPr.js → supplier-DgT66emI.js} +2 -2
- package/dist/{surcharge-CjdJGIsM.js → surcharge-CsVMuzPM.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-BqPn_GoZ.js → uom-rules-CR1XukyM.js} +1 -1
- package/dist/{use-ingredient-select-dialog-0hRCj6Fu.js → use-ingredient-select-dialog-CJkG4hEX.js} +2 -2
- package/dist/use-inventory-binding-dialog-B36kPj4V.js +113 -0
- package/dist/{use-template-enabled-locations-8ZfTj4YB.js → use-template-enabled-locations-Boa9QLPV.js} +2 -2
- package/dist/{use-transfer-locations-BGS1EBEt.js → use-transfer-locations-BxOygSUg.js} +2 -2
- package/dist/{useHrmPermission-BcQ2KPD-.js → useHrmPermission-DLHAqbLV.js} +1 -1
- package/dist/{useNavigationMenu-DImtns81.js → useNavigationMenu-D6abZMGz.js} +65 -74
- package/dist/{useSseClient-DPSFFVci.js → useSseClient-C7pff-EW.js} +1 -1
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +0 -1
- package/dist/views/ingredients/components/inventory-binding/composables/use-inventory-binding-dialog.d.ts +0 -1
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +0 -1
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +0 -1
- package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +1 -1
- package/dist/views/integration/components/IntegrationCard.vue.d.ts +3 -3
- package/dist/views/recipe/helper/bulk-edit-simulation.helper.d.ts +0 -1
- package/dist/views/recipe/helper/import-recipe.d.ts +2 -2
- package/dist/{vue-i18n-DTyGIjTI.js → vue-i18n-CpOOFhVU.js} +219 -219
- package/dist/{xlsx.util-CK9Lnq3Q.js → xlsx.util-xwI5tVz6.js} +2 -2
- package/package.json +4 -4
- package/dist/DeprecateSoonWarningDialog.vue_vue_type_script_setup_true_lang-D_vmtZDZ.js +0 -58
- package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-D-RzUmqA.js +0 -81
- package/dist/FmMultiselectDialog-C8uYx8rr.js +0 -77
- package/dist/ImportView-Qigtf3ik.js +0 -1302
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-B8PJeYrP.js +0 -51
- package/dist/IngredientGroupView-RNYZLkQu.js +0 -1000
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-3pYuu62C.js +0 -563
- package/dist/RecipeView-DO5-jgwh.js +0 -3624
- package/dist/feature-flags/premium-flags.spec.d.ts +0 -1
- package/dist/random-CSbEbElR.js +0 -10
- package/dist/use-inventory-binding-dialog-BLRcIC1u.js +0 -152
- package/dist/usePromise-CbVUCxhj.js +0 -29
- package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +0 -3
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +0 -31
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +0 -10
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +0 -21
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +0 -12
- package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +0 -37
- package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +0 -24
- package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +0 -31
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +0 -77
|
@@ -0,0 +1,472 @@
|
|
|
1
|
+
import { defineComponent as W, ref as de, computed as F, resolveComponent as E, createElementBlock as m, createCommentVNode as I, openBlock as a, createElementVNode as n, createVNode as y, toDisplayString as f, unref as r, Fragment as A, renderList as M, normalizeStyle as ue, createTextVNode as me, reactive as G, withCtx as U, createBlock as K, nextTick as ce } from "vue";
|
|
2
|
+
import { a as Y, t as pe, v as ye, F as fe } from "./app-DyEvx3Em.js";
|
|
3
|
+
import { t as ve, n as _e, f as xe, a as S, c as ge } from "./number-BmKjsNrc.js";
|
|
4
|
+
import { u as be } from "./use-inventory-binding-dialog-B36kPj4V.js";
|
|
5
|
+
import { useI18n as q } from "@feedmepos/mf-common";
|
|
6
|
+
import { b as he, c as j } from "./rules-BZrZVzw7.js";
|
|
7
|
+
import { _ as Be, c as ke, d as Ie } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BQHd3NjM.js";
|
|
8
|
+
const $ = { amount: 1, precision: 0 };
|
|
9
|
+
function H(v, u) {
|
|
10
|
+
return { amount: v.amount * u.amount, precision: v.precision + u.precision };
|
|
11
|
+
}
|
|
12
|
+
function Ve(v, u) {
|
|
13
|
+
const s = J(u), p = H(v, s);
|
|
14
|
+
return _e(p.amount / 10 ** p.precision, p.precision);
|
|
15
|
+
}
|
|
16
|
+
function J(v) {
|
|
17
|
+
if (v.trim().length === 0) return $;
|
|
18
|
+
const u = Number(v);
|
|
19
|
+
return Number.isFinite(u) ? ve(u, xe(u)) : $;
|
|
20
|
+
}
|
|
21
|
+
function Q(v, u, s = 0, p = /* @__PURE__ */ new Set(), R = $) {
|
|
22
|
+
if (p.has(v)) return [];
|
|
23
|
+
const x = new Set(p).add(v);
|
|
24
|
+
return u.contentsOf(v).flatMap((t, g) => {
|
|
25
|
+
const d = t.type === "RECIPE", c = H(t.amount ?? $, R), b = {
|
|
26
|
+
key: `${s}-${g}-${t.id}`,
|
|
27
|
+
name: u.bindingName(t),
|
|
28
|
+
amount: c,
|
|
29
|
+
unit: u.bindingUnit(t),
|
|
30
|
+
depth: s,
|
|
31
|
+
isRecipe: d
|
|
32
|
+
};
|
|
33
|
+
return d ? [b, ...Q(t.id, u, s + 1, x, c)] : [b];
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
const we = {
|
|
37
|
+
key: 0,
|
|
38
|
+
class: "flex flex-col pb-8 fm-typo-en-body-sm-400"
|
|
39
|
+
}, Fe = {
|
|
40
|
+
key: 0,
|
|
41
|
+
class: "flex items-center gap-4 px-12 text-fm-color-typo-secondary"
|
|
42
|
+
}, Ee = {
|
|
43
|
+
key: 1,
|
|
44
|
+
class: "flex flex-col text-fm-color-typo-secondary"
|
|
45
|
+
}, Re = { class: "flex-1 line-clamp-1" }, Ce = {
|
|
46
|
+
key: 0,
|
|
47
|
+
class: "text-fm-color-typo-disabled"
|
|
48
|
+
}, Ue = {
|
|
49
|
+
key: 2,
|
|
50
|
+
class: "flex gap-4 px-12 text-fm-color-system-warning-400"
|
|
51
|
+
}, Ae = /* @__PURE__ */ W({
|
|
52
|
+
__name: "RecipeBindingBreakdown",
|
|
53
|
+
props: {
|
|
54
|
+
recipeId: {},
|
|
55
|
+
multiplier: {}
|
|
56
|
+
},
|
|
57
|
+
setup(v) {
|
|
58
|
+
const u = v, { t: s } = q(), p = Y(), R = {
|
|
59
|
+
contentsOf: (d) => {
|
|
60
|
+
var c;
|
|
61
|
+
return ((c = p.recipeById[d]) == null ? void 0 : c.contains) ?? [];
|
|
62
|
+
},
|
|
63
|
+
bindingName: (d) => {
|
|
64
|
+
var c, b;
|
|
65
|
+
switch (d.type) {
|
|
66
|
+
case "RECIPE":
|
|
67
|
+
return ((c = p.recipeById[d.id]) == null ? void 0 : c.name) ?? d.id;
|
|
68
|
+
default:
|
|
69
|
+
return ((b = p.skuById[d.id]) == null ? void 0 : b.name) ?? d.id;
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
// a binding measurement overrides the ingredient's base unit, same as deduction reads it
|
|
73
|
+
bindingUnit: (d) => {
|
|
74
|
+
var c, b;
|
|
75
|
+
return d.type === "RECIPE" ? "" : ((c = d.measurement) == null ? void 0 : c.abbrev) ?? ((b = p.skuById[d.id]) == null ? void 0 : b.unit.abbrev) ?? "";
|
|
76
|
+
}
|
|
77
|
+
}, x = de(!1), t = F(() => Q(u.recipeId, R)), g = F(() => J(u.multiplier).precision > 0);
|
|
78
|
+
return (d, c) => {
|
|
79
|
+
const b = E("FmButton"), P = E("FmIcon");
|
|
80
|
+
return t.value.length || g.value ? (a(), m("div", we, [
|
|
81
|
+
t.value.length ? (a(), m("div", Fe, [
|
|
82
|
+
n("span", null, f(r(s)("inventory.inventoryBindings.itemsLinked", { count: t.value.length }, t.value.length)), 1),
|
|
83
|
+
y(b, {
|
|
84
|
+
type: "button",
|
|
85
|
+
variant: "plain",
|
|
86
|
+
icon: x.value ? "expand_less" : "expand_more",
|
|
87
|
+
onClick: c[0] || (c[0] = (h) => x.value = !x.value)
|
|
88
|
+
}, null, 8, ["icon"])
|
|
89
|
+
])) : I("", !0),
|
|
90
|
+
x.value ? (a(), m("div", Ee, [
|
|
91
|
+
(a(!0), m(A, null, M(t.value, (h) => (a(), m("div", {
|
|
92
|
+
key: h.key,
|
|
93
|
+
class: "flex gap-8 py-4 px-12",
|
|
94
|
+
style: ue({ paddingLeft: `${12 + h.depth * 16}px` })
|
|
95
|
+
}, [
|
|
96
|
+
n("span", Re, [
|
|
97
|
+
me(f(h.name) + " ", 1),
|
|
98
|
+
h.isRecipe ? (a(), m("span", Ce, " (" + f(r(s)("inventory.inventoryBindings.recipe")) + ") ", 1)) : I("", !0)
|
|
99
|
+
]),
|
|
100
|
+
n("span", null, f(r(Ve)(h.amount, d.multiplier)) + " " + f(h.unit), 1)
|
|
101
|
+
], 4))), 128))
|
|
102
|
+
])) : I("", !0),
|
|
103
|
+
g.value ? (a(), m("div", Ue, [
|
|
104
|
+
y(P, {
|
|
105
|
+
name: "warning",
|
|
106
|
+
color: "system-warning-300",
|
|
107
|
+
size: "sm"
|
|
108
|
+
}),
|
|
109
|
+
n("div", null, f(r(s)("inventory.inventoryBindings.precisionWarning")), 1)
|
|
110
|
+
])) : I("", !0)
|
|
111
|
+
])) : I("", !0);
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
}), $e = { class: "flex flex-col gap-24" }, Pe = { class: "flex flex-col gap-16" }, Te = { class: "flex items-center" }, Ne = { class: "flex-1 fm-typo-en-title-sm-600" }, Se = { class: "flex flex-col" }, Me = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, De = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, ze = {
|
|
115
|
+
class: "flex items-center",
|
|
116
|
+
style: { "min-height": "48px" }
|
|
117
|
+
}, Le = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, Oe = { class: "line-clamp-1" }, Ge = { class: "w-[200px]" }, Ke = {
|
|
118
|
+
key: 0,
|
|
119
|
+
class: "w-[52px]"
|
|
120
|
+
}, je = {
|
|
121
|
+
key: 0,
|
|
122
|
+
class: "flex gap-4 text-fm-color-system-error-400 fm-typo-en-body-sm-400 px-8"
|
|
123
|
+
}, We = { class: "flex flex-col gap-16" }, Ye = { class: "flex items-center" }, qe = { class: "flex-1 fm-typo-en-title-sm-600" }, He = { class: "flex flex-col" }, Je = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, Qe = { class: "flex-1 fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, Xe = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary w-[150px] px-16" }, Ze = {
|
|
124
|
+
key: 0,
|
|
125
|
+
class: "flex flex-col border-b border-fm-color-neutral-gray-100"
|
|
126
|
+
}, en = {
|
|
127
|
+
class: "flex items-center w-full",
|
|
128
|
+
style: { "min-height": "48px" }
|
|
129
|
+
}, nn = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12 text-fm-color-typo-secondary line-clamp-1" }, tn = {
|
|
130
|
+
key: 0,
|
|
131
|
+
class: "w-[52px]"
|
|
132
|
+
}, on = { class: "flex gap-4 text-fm-color-system-error-400 fm-typo-en-body-sm-400 px-12 pb-4" }, ln = {
|
|
133
|
+
key: 1,
|
|
134
|
+
class: "flex flex-col border-b border-fm-color-neutral-gray-100"
|
|
135
|
+
}, sn = {
|
|
136
|
+
class: "flex items-center w-full",
|
|
137
|
+
style: { "min-height": "48px" }
|
|
138
|
+
}, rn = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, an = { class: "line-clamp-1 w-full" }, dn = { class: "w-[150px]" }, un = {
|
|
139
|
+
key: 0,
|
|
140
|
+
class: "w-[52px]"
|
|
141
|
+
}, mn = { class: "flex flex-col px-12 pb-4" }, gn = /* @__PURE__ */ W({
|
|
142
|
+
__name: "InventoryBindingForm",
|
|
143
|
+
props: {
|
|
144
|
+
id: {},
|
|
145
|
+
modelValue: { default: () => [] },
|
|
146
|
+
excludeBindingId: {},
|
|
147
|
+
rules: { default: () => [] },
|
|
148
|
+
iframeMode: { type: Boolean },
|
|
149
|
+
disabled: { type: Boolean },
|
|
150
|
+
readonly: { type: Boolean },
|
|
151
|
+
allowRecipeDecimal: { type: Boolean }
|
|
152
|
+
},
|
|
153
|
+
emits: ["update:modelValue", "click:pick-inventory-bindings"],
|
|
154
|
+
setup(v, { emit: u }) {
|
|
155
|
+
const { t: s } = q(), p = Y(), R = F(() => p.recipeById), x = F(() => p.skuById), t = v, g = u, d = F(() => pe({
|
|
156
|
+
parentId: t.id,
|
|
157
|
+
bindings: t.modelValue,
|
|
158
|
+
recipes: p.recipes.map((o) => o._id === t.id ? {
|
|
159
|
+
...o,
|
|
160
|
+
contains: t.modelValue
|
|
161
|
+
} : o),
|
|
162
|
+
skus: p.skus.map((o) => o._id === t.id ? {
|
|
163
|
+
...o,
|
|
164
|
+
convert: {
|
|
165
|
+
inventoryBindings: t.modelValue
|
|
166
|
+
}
|
|
167
|
+
} : o),
|
|
168
|
+
skuGroups: []
|
|
169
|
+
}).inventoryBindings.filter((o) => "error" in o && o.error).map((o) => o).filter((o) => o.reason === ye.enum.circularDependency)), c = F(
|
|
170
|
+
() => new Set(d.value.map((e) => {
|
|
171
|
+
var i;
|
|
172
|
+
return (i = e.bindingPaths[0]) == null ? void 0 : i.id;
|
|
173
|
+
}))
|
|
174
|
+
), b = F(() => t.modelValue.filter((e) => e.type === "RECIPE")), P = { amount: 1, precision: 0 }, h = G({});
|
|
175
|
+
function T(e) {
|
|
176
|
+
return h[e.id] ?? S(e.amount ?? P);
|
|
177
|
+
}
|
|
178
|
+
function X(e, i) {
|
|
179
|
+
h[e.id] = i, oe(e.id, i, t.modelValue);
|
|
180
|
+
}
|
|
181
|
+
const { promptIngredientsBinding: Z, promptRecipesBinding: ee } = be();
|
|
182
|
+
async function ne() {
|
|
183
|
+
if (t.iframeMode) {
|
|
184
|
+
g("click:pick-inventory-bindings", "RECIPE");
|
|
185
|
+
return;
|
|
186
|
+
}
|
|
187
|
+
ee(
|
|
188
|
+
t.modelValue,
|
|
189
|
+
(e) => g("update:modelValue", e),
|
|
190
|
+
t.id ? [t.id] : []
|
|
191
|
+
);
|
|
192
|
+
}
|
|
193
|
+
const D = F(() => t.modelValue.filter((e) => e.type === "SKU") ?? []);
|
|
194
|
+
async function te() {
|
|
195
|
+
if (t.iframeMode) {
|
|
196
|
+
g("click:pick-inventory-bindings", "SKU");
|
|
197
|
+
return;
|
|
198
|
+
}
|
|
199
|
+
Z(
|
|
200
|
+
t.modelValue,
|
|
201
|
+
(e) => g("update:modelValue", e),
|
|
202
|
+
t.excludeBindingId,
|
|
203
|
+
t.id ? [t.id] : []
|
|
204
|
+
);
|
|
205
|
+
}
|
|
206
|
+
function oe(e, i, o) {
|
|
207
|
+
const _ = +i;
|
|
208
|
+
let V = o;
|
|
209
|
+
i.length > 0 && isFinite(_) ? V = o.map((B) => (B.id !== e || (B.amount = ge(_)), B)) : V = o.map((B) => (B.id !== e || (B.amount = { amount: 0, precision: 0 }), B)), g("update:modelValue", V);
|
|
210
|
+
}
|
|
211
|
+
function N(e, i) {
|
|
212
|
+
delete h[e];
|
|
213
|
+
const o = i.filter((_) => _.id !== e);
|
|
214
|
+
g("update:modelValue", o);
|
|
215
|
+
}
|
|
216
|
+
function z(e) {
|
|
217
|
+
var o, _;
|
|
218
|
+
if (e.type !== fe.enum.SKU)
|
|
219
|
+
throw new Error("Non-SKU binding does not have unit");
|
|
220
|
+
if (!((o = x.value[e.id]) == null ? void 0 : o.unit))
|
|
221
|
+
throw new Error(`Cannot find ingredient: ${e.id}`);
|
|
222
|
+
return (_ = x.value[e.id]) == null ? void 0 : _.unit;
|
|
223
|
+
}
|
|
224
|
+
function ie(e) {
|
|
225
|
+
return !x.value[e.id];
|
|
226
|
+
}
|
|
227
|
+
function le(e) {
|
|
228
|
+
return { amount: e.amount, measurement: e.measurement };
|
|
229
|
+
}
|
|
230
|
+
function se(e, i, o) {
|
|
231
|
+
const _ = o.map((V) => V.id !== e ? V : {
|
|
232
|
+
...V,
|
|
233
|
+
amount: i.amount,
|
|
234
|
+
measurement: i.measurement
|
|
235
|
+
});
|
|
236
|
+
g("update:modelValue", _);
|
|
237
|
+
}
|
|
238
|
+
const L = G({});
|
|
239
|
+
function re(e) {
|
|
240
|
+
return L[e.id] ?? {
|
|
241
|
+
modelValue: {
|
|
242
|
+
amount: e.amount,
|
|
243
|
+
measurement: e.measurement
|
|
244
|
+
},
|
|
245
|
+
amountAsString: S(e.amount)
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
function ae(e, i) {
|
|
249
|
+
ce(() => {
|
|
250
|
+
L[e.id] = {
|
|
251
|
+
modelValue: {
|
|
252
|
+
amount: e.amount,
|
|
253
|
+
measurement: e.measurement
|
|
254
|
+
},
|
|
255
|
+
amountAsString: i
|
|
256
|
+
};
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
return (e, i) => {
|
|
260
|
+
const o = E("FmFormGroup"), _ = E("FmButton"), V = E("FmTooltip"), B = E("FmTextField"), O = E("FmIcon");
|
|
261
|
+
return a(), m("div", $e, [
|
|
262
|
+
y(o, {
|
|
263
|
+
disabled: e.disabled,
|
|
264
|
+
"model-value": e.modelValue,
|
|
265
|
+
rules: [
|
|
266
|
+
...e.rules,
|
|
267
|
+
() => d.value.length ? "There is a binding error in your configuration" : !0
|
|
268
|
+
]
|
|
269
|
+
}, {
|
|
270
|
+
label: U(() => i[0] || (i[0] = [
|
|
271
|
+
n("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Define the inventory bindings for this recipe or ingredient. ", -1)
|
|
272
|
+
])),
|
|
273
|
+
_: 1
|
|
274
|
+
}, 8, ["disabled", "model-value", "rules"]),
|
|
275
|
+
n("div", Pe, [
|
|
276
|
+
n("div", Te, [
|
|
277
|
+
n("div", Ne, f(r(s)("inventory.inventoryBindings.recipe")), 1),
|
|
278
|
+
e.readonly ? I("", !0) : (a(), K(_, {
|
|
279
|
+
key: 0,
|
|
280
|
+
variant: "secondary",
|
|
281
|
+
"text-color": "primary",
|
|
282
|
+
"border-color": "primary",
|
|
283
|
+
label: r(s)("inventory.inventoryBindings.linkRecipe"),
|
|
284
|
+
"prepend-icon": "link",
|
|
285
|
+
onClick: ne
|
|
286
|
+
}, null, 8, ["label"]))
|
|
287
|
+
]),
|
|
288
|
+
n("div", Se, [
|
|
289
|
+
n("div", Me, [
|
|
290
|
+
n("div", De, f(r(s)("inventory.inventoryBindings.recipe")), 1),
|
|
291
|
+
i[1] || (i[1] = n("div", { class: "w-[200px]" }, null, -1)),
|
|
292
|
+
i[2] || (i[2] = n("div", { class: "w-[52px]" }, null, -1))
|
|
293
|
+
]),
|
|
294
|
+
(a(!0), m(A, null, M(b.value, (l) => {
|
|
295
|
+
var C;
|
|
296
|
+
return a(), m("div", {
|
|
297
|
+
key: l.id,
|
|
298
|
+
class: "flex flex-col w-full border-b border-fm-color-neutral-gray-100"
|
|
299
|
+
}, [
|
|
300
|
+
n("div", ze, [
|
|
301
|
+
n("div", Le, [
|
|
302
|
+
y(V, {
|
|
303
|
+
zIndex: 51,
|
|
304
|
+
variant: "plain",
|
|
305
|
+
placement: "top",
|
|
306
|
+
content: (C = R.value[l.id]) == null ? void 0 : C.name
|
|
307
|
+
}, {
|
|
308
|
+
default: U(() => {
|
|
309
|
+
var w;
|
|
310
|
+
return [
|
|
311
|
+
n("span", Oe, f((w = R.value[l.id]) == null ? void 0 : w.name), 1)
|
|
312
|
+
];
|
|
313
|
+
}),
|
|
314
|
+
_: 2
|
|
315
|
+
}, 1032, ["content"])
|
|
316
|
+
]),
|
|
317
|
+
n("div", Ge, [
|
|
318
|
+
y(o, {
|
|
319
|
+
disabled: e.disabled,
|
|
320
|
+
modelValue: +T(l),
|
|
321
|
+
rules: [r(he)(e.allowRecipeDecimal ? 5 : 0), r(j)(-1)]
|
|
322
|
+
}, {
|
|
323
|
+
default: U(({ invalid: w }) => [
|
|
324
|
+
y(B, {
|
|
325
|
+
class: "w-full",
|
|
326
|
+
disabled: e.disabled,
|
|
327
|
+
modelValue: T(l),
|
|
328
|
+
"onUpdate:modelValue": (k) => X(l, k),
|
|
329
|
+
invalid: w
|
|
330
|
+
}, null, 8, ["disabled", "modelValue", "onUpdate:modelValue", "invalid"])
|
|
331
|
+
]),
|
|
332
|
+
_: 2
|
|
333
|
+
}, 1032, ["disabled", "modelValue", "rules"])
|
|
334
|
+
]),
|
|
335
|
+
e.readonly ? I("", !0) : (a(), m("div", Ke, [
|
|
336
|
+
y(_, {
|
|
337
|
+
disabled: e.disabled,
|
|
338
|
+
type: "button",
|
|
339
|
+
variant: "plain",
|
|
340
|
+
icon: "delete",
|
|
341
|
+
"icon-color": "#000000",
|
|
342
|
+
onClick: (w) => N(l.id, e.modelValue)
|
|
343
|
+
}, null, 8, ["disabled", "onClick"])
|
|
344
|
+
]))
|
|
345
|
+
]),
|
|
346
|
+
y(Ae, {
|
|
347
|
+
"recipe-id": l.id,
|
|
348
|
+
multiplier: T(l)
|
|
349
|
+
}, null, 8, ["recipe-id", "multiplier"]),
|
|
350
|
+
c.value.has(l.id) ? (a(), m("div", je, [
|
|
351
|
+
y(O, {
|
|
352
|
+
name: "error",
|
|
353
|
+
color: "system-error-300",
|
|
354
|
+
size: "sm"
|
|
355
|
+
}),
|
|
356
|
+
n("div", null, f(r(s)("inventory.inventoryBindings.circularError")), 1)
|
|
357
|
+
])) : I("", !0)
|
|
358
|
+
]);
|
|
359
|
+
}), 128))
|
|
360
|
+
])
|
|
361
|
+
]),
|
|
362
|
+
n("div", We, [
|
|
363
|
+
n("div", Ye, [
|
|
364
|
+
n("div", qe, f(r(s)("inventory.inventoryBindings.ingredient")), 1),
|
|
365
|
+
e.readonly ? I("", !0) : (a(), K(_, {
|
|
366
|
+
key: 0,
|
|
367
|
+
variant: "secondary",
|
|
368
|
+
"text-color": "primary",
|
|
369
|
+
"border-color": "primary",
|
|
370
|
+
label: r(s)("inventory.inventoryBindings.linkIngredient"),
|
|
371
|
+
"prepend-icon": "link",
|
|
372
|
+
onClick: te
|
|
373
|
+
}, null, 8, ["label"]))
|
|
374
|
+
]),
|
|
375
|
+
n("div", He, [
|
|
376
|
+
n("div", Je, [
|
|
377
|
+
n("div", Qe, f(r(s)("inventory.inventoryBindings.ingredient")), 1),
|
|
378
|
+
n("div", Xe, f(r(s)("inventory.inventoryBindings.amount")), 1),
|
|
379
|
+
i[3] || (i[3] = n("div", { class: "w-[52px]" }, null, -1))
|
|
380
|
+
]),
|
|
381
|
+
(a(!0), m(A, null, M(D.value, (l, C) => {
|
|
382
|
+
var w;
|
|
383
|
+
return a(), m(A, {
|
|
384
|
+
key: l.id
|
|
385
|
+
}, [
|
|
386
|
+
ie(l) ? (a(), m("div", Ze, [
|
|
387
|
+
n("div", en, [
|
|
388
|
+
n("div", nn, f(l.id), 1),
|
|
389
|
+
e.readonly ? I("", !0) : (a(), m("div", tn, [
|
|
390
|
+
y(_, {
|
|
391
|
+
disabled: e.disabled,
|
|
392
|
+
type: "button",
|
|
393
|
+
variant: "tertiary",
|
|
394
|
+
icon: "delete",
|
|
395
|
+
onClick: (k) => N(l.id, e.modelValue)
|
|
396
|
+
}, null, 8, ["disabled", "onClick"])
|
|
397
|
+
]))
|
|
398
|
+
]),
|
|
399
|
+
n("div", on, [
|
|
400
|
+
y(O, {
|
|
401
|
+
name: "error",
|
|
402
|
+
color: "system-error-300",
|
|
403
|
+
size: "sm"
|
|
404
|
+
}),
|
|
405
|
+
n("div", null, f(r(s)("inventory.inventoryBindings.missingIngredient")), 1)
|
|
406
|
+
])
|
|
407
|
+
])) : (a(), m("div", ln, [
|
|
408
|
+
n("div", sn, [
|
|
409
|
+
n("div", rn, [
|
|
410
|
+
y(V, {
|
|
411
|
+
zIndex: 51,
|
|
412
|
+
variant: "plain",
|
|
413
|
+
placement: "top",
|
|
414
|
+
content: (w = x.value[l.id]) == null ? void 0 : w.name
|
|
415
|
+
}, {
|
|
416
|
+
default: U(() => {
|
|
417
|
+
var k;
|
|
418
|
+
return [
|
|
419
|
+
n("span", an, f((k = x.value[l.id]) == null ? void 0 : k.name), 1)
|
|
420
|
+
];
|
|
421
|
+
}),
|
|
422
|
+
_: 2
|
|
423
|
+
}, 1032, ["content"])
|
|
424
|
+
]),
|
|
425
|
+
n("div", dn, [
|
|
426
|
+
y(Be, {
|
|
427
|
+
"model-value": le(l),
|
|
428
|
+
"onUpdate:modelValue": (k) => k && se(l.id, k, e.modelValue),
|
|
429
|
+
"onUpdate:amount": (k) => ae(l, k),
|
|
430
|
+
unit: z(l),
|
|
431
|
+
placement: C === D.value.length - 1 ? "top" : "bottom",
|
|
432
|
+
"convert-amount-on-change-unit": "",
|
|
433
|
+
disabled: e.readonly
|
|
434
|
+
}, null, 8, ["model-value", "onUpdate:modelValue", "onUpdate:amount", "unit", "placement", "disabled"])
|
|
435
|
+
]),
|
|
436
|
+
e.readonly ? I("", !0) : (a(), m("div", un, [
|
|
437
|
+
y(_, {
|
|
438
|
+
disabled: e.disabled,
|
|
439
|
+
type: "button",
|
|
440
|
+
variant: "tertiary",
|
|
441
|
+
icon: "delete",
|
|
442
|
+
onClick: (k) => N(l.id, e.modelValue)
|
|
443
|
+
}, null, 8, ["disabled", "onClick"])
|
|
444
|
+
]))
|
|
445
|
+
]),
|
|
446
|
+
n("div", mn, [
|
|
447
|
+
y(o, {
|
|
448
|
+
modelValue: +r(S)(l.amount ?? { amount: 1, precision: 0 }),
|
|
449
|
+
rules: [r(j)(0)]
|
|
450
|
+
}, null, 8, ["modelValue", "rules"]),
|
|
451
|
+
y(o, {
|
|
452
|
+
modelValue: re(l),
|
|
453
|
+
rules: [
|
|
454
|
+
r(ke)(),
|
|
455
|
+
r(Ie)(z(l)),
|
|
456
|
+
() => c.value.has(l.id) ? r(s)("inventory.inventoryBindings.invalidWarning") : !0
|
|
457
|
+
]
|
|
458
|
+
}, null, 8, ["modelValue", "rules"])
|
|
459
|
+
])
|
|
460
|
+
]))
|
|
461
|
+
], 64);
|
|
462
|
+
}), 128))
|
|
463
|
+
])
|
|
464
|
+
])
|
|
465
|
+
]);
|
|
466
|
+
};
|
|
467
|
+
}
|
|
468
|
+
});
|
|
469
|
+
export {
|
|
470
|
+
gn as _,
|
|
471
|
+
Ae as a
|
|
472
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, resolveComponent as m, createBlock as c, openBlock as d, h as g } from "vue";
|
|
2
2
|
import { useI18n as p } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as u } from "@feedmepos/ui-library";
|
|
4
|
-
import { F as r } from "./app-
|
|
4
|
+
import { F as r } from "./app-DyEvx3Em.js";
|
|
5
5
|
const w = /* @__PURE__ */ l({
|
|
6
6
|
__name: "InventoryBindingSummary",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as V, computed as w, ref as h, watch as u, resolveComponent as i, createBlock as F, openBlock as g, withCtx as d, createVNode as A, createElementVNode as k, normalizeClass as K } from "vue";
|
|
2
|
-
import { c as s } from "./number-
|
|
2
|
+
import { c as s } from "./number-BmKjsNrc.js";
|
|
3
3
|
const _ = ["value", "disabled"], C = /* @__PURE__ */ V({
|
|
4
4
|
__name: "NumberPrecisionInput",
|
|
5
5
|
props: {
|
|
@@ -2,11 +2,11 @@ import { defineComponent as Z, computed as g, ref as D, resolveComponent as te,
|
|
|
2
2
|
import { useRouter as je } from "vue-router";
|
|
3
3
|
import { useBreakpoints as nt, useDialog as ot } from "@feedmepos/ui-library";
|
|
4
4
|
import { useI18n as J } from "@feedmepos/mf-common";
|
|
5
|
-
import { u as Ee, n as at } from "./app-
|
|
6
|
-
import { p as rt, e as de, c as st, _ as it, h as Se, w as lt, x as De, y as Me, z as Ve, A as ut, B as Ue, C as He, D as ze, N as ue, f as E, E as We, F as Ge, G as dt, H as he, I as ct, J as pt, K as mt, L as vt, l as oe, M as Ke, O as bt, b as yt, Q as Ce, R as ft, S as ht, T as gt, u as Qe, U as _t, V as Ie, W as kt, X as $t, Y as xt, i as wt, a as It, q as be, Z as Ze, g as Rt, j as St, $ as At, a0 as Pt, a1 as Lt, a2 as Tt, o as qt, v as Bt } from "./ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { u as Ct } from "./feature-
|
|
5
|
+
import { u as Ee, n as at } from "./app-DyEvx3Em.js";
|
|
6
|
+
import { p as rt, e as de, c as st, _ as it, h as Se, w as lt, x as De, y as Me, z as Ve, A as ut, B as Ue, C as He, D as ze, N as ue, f as E, E as We, F as Ge, G as dt, H as he, I as ct, J as pt, K as mt, L as vt, l as oe, M as Ke, O as bt, b as yt, Q as Ce, R as ft, S as ht, T as gt, u as Qe, U as _t, V as Ie, W as kt, X as $t, Y as xt, i as wt, a as It, q as be, Z as Ze, g as Rt, j as St, $ as At, a0 as Pt, a1 as Lt, a2 as Tt, o as qt, v as Bt } from "./ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BdJVvwSP.js";
|
|
7
|
+
import { u as Ct } from "./feature-BMTKl6PK.js";
|
|
8
8
|
import { _ as ce } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
import { g as Oe } from "./number-
|
|
9
|
+
import { g as Oe } from "./number-BmKjsNrc.js";
|
|
10
10
|
const Ot = { class: "flex flex-col gap-12" }, Nt = {
|
|
11
11
|
"data-testid": "production-run-header-layout",
|
|
12
12
|
class: "relative flex flex-col items-stretch gap-16 lg:flex-row lg:items-start"
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as Te, computed as K, resolveComponent as xe, createElementBlock as X, openBlock as V, normalizeClass as Oe, createElementVNode as B, createCommentVNode as se, createVNode as ue, toDisplayString as j, renderSlot as Ye, onBeforeMount as Xn, onBeforeUnmount as Pt, ref as ce, onMounted as wt, watchEffect as Rr, toValue as xt, createBlock as pe, withModifiers as ht, withCtx as Ie, watch as nt, Fragment as Ue, renderList as Xe, withKeys as er, nextTick as tt, useAttrs as Zt, unref as b, useSlots as vr, createSlots as Ft, onUpdated as Fr, mergeProps as Ot, createTextVNode as mt, useId as Cr, resolveDynamicComponent as Bn, Teleport as br, shallowRef as kr } from "vue";
|
|
2
2
|
import { useI18n as ze } from "@feedmepos/mf-common";
|
|
3
|
-
import { d as Pr, u as Xt, O as wr, R as In, P as Tr, Q as Er, T as xr, U as Sn, a as tr } from "./app-
|
|
4
|
-
import { u as Ar } from "./stock-
|
|
5
|
-
import { F as Ke } from "./decimal-
|
|
3
|
+
import { d as Pr, u as Xt, O as wr, R as In, P as Tr, Q as Er, T as xr, U as Sn, a as tr } from "./app-DyEvx3Em.js";
|
|
4
|
+
import { u as Ar } from "./stock-Ce1UvAZ3.js";
|
|
5
|
+
import { F as Ke } from "./decimal-7vA05AaD.js";
|
|
6
6
|
import { useDialog as Or, useSnackbar as Br } from "@feedmepos/ui-library";
|
|
7
|
-
import { l as Nn, g as an } from "./number-
|
|
8
|
-
import { u as Nr } from "./stock-
|
|
7
|
+
import { l as Nn, g as an } from "./number-BmKjsNrc.js";
|
|
8
|
+
import { u as Nr } from "./stock-C2HOKq0k.js";
|
|
9
9
|
import { _ as it } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
import { _ as Ur, a as Un } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { _ as Ur, a as Un } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BQHd3NjM.js";
|
|
11
11
|
const Dr = { class: "grid grow grid-cols-[auto_minmax(0,1fr)_auto] items-start gap-x-12 gap-y-12 px-16 py-12 xs:grid-cols-[auto_minmax(0,1fr)]" }, Lr = { class: "flex h-[18px] shrink-0 items-center" }, Jr = { class: "grow min-w-0" }, Mr = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary mt-4"
|
|
@@ -323,7 +323,7 @@ function j_(A, k, C = () => null) {
|
|
|
323
323
|
})
|
|
324
324
|
].some((N) => N.toLowerCase().includes(O)) : !0;
|
|
325
325
|
}
|
|
326
|
-
var Tt = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_3f1240a9-4787-4206-b513-86f55202c79f", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.19.33", npm_config_dedupe_peer_dependents: "", DOTNET_NOLOGO: "1", npm_package_scripts_prepublish: "pnpm check:env && pnpm build:mf && pnpm build:dts", npm_package_dependencies_fuzzy_search: "^3.2.1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.6.0", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_3f1240a9-4787-4206-b513-86f55202c79f", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_codemirror: "^6.0.2", npm_package_dependencies_html2pdf_js: "^0.14.0", npm_package_dependencies_node_html_parser: "^7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", npm_package_scripts_prod_standalone: "PORTAL_ENV=production vite --mode standalone", npm_package_scripts_check_env: 'cat build-*.env | grep -qE "^[^#].*localhost" && { echo "Error: build-*.env files contains localhost reference" >&2; exit 1;} || exit 0', HOME: "/home/runner", npm_package_devDependencies_sass: "^1.77.2", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "PORTAL_ENV=production vite build --mode fmmf", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8192", GRADLE_HOME: "/usr/share/gradle-9.7.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --declaration --noEmit -p tsconfig.app.json", npm_package_dependencies__feedmepos_mf_common: "^1.29.11", npm_package_dependencies_handlebars: "^4.7.8", npm_package_devDependencies_code_inspector_plugin: "^1.4.5", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:^", SYSTEMD_EXEC_PID: "1809", ACTIONS_ORCHESTRATION_ID: "c0794a31-20e8-487f-ad2e-6864f6c296c3.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.1", npm_package_dependencies_dayjs: "^1.11.11", npm_package_dependencies_dotenv: "^16.4.5", npm_package_devDependencies__tsconfig_node18: "^18.2.4", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_eventsource: "^4.1.0", npm_package_devDependencies_tailwindcss: "3.4.1", npm_package_devDependencies_typescript: "5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_google_maps: "^4.3.3", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.27", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260907.300.1", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", npm_package_scripts_test_production_run: "NODE_OPTIONS=--max-old-space-size=8192 pnpm type-check && vitest run --no-dangerouslyIgnoreUnhandledErrors src/views/production-run src/api/production-run.spec.ts src/api/production-run-error.spec.ts src/composable/useNavigationMenu.production.spec.ts src/router/shared.production.spec.ts", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.5", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_devDependencies__playwright_test: "1.61.1", npm_package_devDependencies_prettier: "^3.2.5", npm_package_devDependencies_zod: "3.17.9", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_3f1240a9-4787-4206-b513-86f55202c79f", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.8.0-dev.4", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "PORTAL_ENV=production vite", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:13318", GITHUB_WORKFLOW: "[CD:dev] inventory-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_dependencies_csstype: "^3.1.3", npm_package_dependencies_fuzzy: "^0.1.3", npm_config_registry: "https://registry.npmjs.org", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "35813338831", npm_package_dependencies__codemirror_lang_json: "^6.0.2", npm_package_devDependencies__types_lodash: "^4.17.16", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "36265d2a7a1bc1f1dbfd480091d406923fb537c9", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.8/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^4.6.2", GITHUB_WORKFLOW_REF: "feedmepos/inventory-service/.github/workflows/inventory-portal-dev.yaml@refs/heads/development", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies__feedmepos_zod_inventory: "workspace:^", npm_package_dependencies_axios: "^1.7.1", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/home/runner/.pub-cache/bin:/opt/hostedtoolcache/dart/3.4.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_b347f63e-c6a5-4091-946f-0a022a39c1c3", INVOCATION_ID: "447756ffe2d348468919dbd7b60a4d4d", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "1209", GITHUB_TRIGGERING_ACTOR: "zdirnecamlcs96", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_test_e2e: "playwright test", npm_package_scripts_test_publish: "pnpm prepublish && pnpm pack", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_config_frozen_lockfile: "", npm_package_dependencies__feedmepos_inventory_core_2: "workspace:^", npm_package_dependencies__typescript_eslint_typescript_estree: "^8.21.0", npm_package_devDependencies__types_dompurify: "^3.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", DART_HOME: "/opt/hostedtoolcache/dart/3.4.3/x64", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies__vue_test_utils: "^2.4.6", npm_package_devDependencies_eslint: "^8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000156562", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "development", GITHUB_REPOSITORY: "feedmepos/inventory-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_publish_beta: "pnpm publish --tag beta", npm_package_scripts_unpack: "tar zxf", npm_package_dependencies__feedmepos_core: "2.14.60", npm_package_devDependencies__types_debounce: "^1.2.4", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies__feedmepos_netsuite_core: "workspace:^", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", npm_config_manage_package_manager_versions: "true", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "656626604", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/bin/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.8.0-dev.4", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", npm_package_dependencies__feedmepos_hrm_permission: "1.0.9", npm_package_dependencies__tanstack_vue_table: "^8.17.3", npm_package_dependencies__vue_cli_service: "^5.0.8", npm_package_devDependencies__rushstack_eslint_patch: "^1.10.3", npm_config_access: "public", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", npm_package_scripts_build: "vite build --mode standalone", npm_package_dependencies_vue_i18n: "^10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com", GITHUB_WORKSPACE: "/home/runner/work/inventory-service/inventory-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.20", npm_package_devDependencies__types_fuzzy_search: "^2.1.5", npm_package_devDependencies_cypress: "^13.9.0", GITHUB_SHA: "36265d2a7a1bc1f1dbfd480091d406923fb537c9", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/development", GITHUB_ACTOR: "zdirnecamlcs96", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_dependencies_lz_string: "^1.5.0", npm_package_devDependencies__testing_library_vue: "^8.1.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_3f1240a9-4787-4206-b513-86f55202c79f", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", GITHUB_ACTOR_ID: "12760908", RUNNER_WORKSPACE: "/home/runner/work/inventory-service", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_3f1240a9-4787-4206-b513-86f55202c79f", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", npm_package_dependencies__feedmepos_inventory_core: "workspace:^", npm_package_dependencies_dompurify: "^3.3.1", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PUB_CACHE: "/home/runner/.pub-cache", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.26.0", npm_package_devDependencies_postcss: "^8.4.38", npm_config_node_options: "--max-old-space-size=8192", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_3f1240a9-4787-4206-b513-86f55202c79f", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_deploy: "pnpm run build-only && pnpm publish --no-git-checks .", npm_package_scripts_preview: "vite preview", npm_package_dependencies_debounce: "^2.0.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.5.22", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_3f1240a9-4787-4206-b513-86f55202c79f", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_codemax_core: "workspace:^", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } };
|
|
326
|
+
var Tt = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_b7cd0ba0-d880-4a8f-bb03-8de70b087df8", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.19.33", npm_config_dedupe_peer_dependents: "", DOTNET_NOLOGO: "1", npm_package_scripts_prepublish: "pnpm check:env && pnpm build:mf && pnpm build:dts", npm_package_dependencies_fuzzy_search: "^3.2.1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.6.0", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_b7cd0ba0-d880-4a8f-bb03-8de70b087df8", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_codemirror: "^6.0.2", npm_package_dependencies_html2pdf_js: "^0.14.0", npm_package_dependencies_node_html_parser: "^7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", npm_package_scripts_prod_standalone: "PORTAL_ENV=production vite --mode standalone", npm_package_scripts_check_env: 'cat build-*.env | grep -qE "^[^#].*localhost" && { echo "Error: build-*.env files contains localhost reference" >&2; exit 1;} || exit 0', HOME: "/home/runner", npm_package_devDependencies_sass: "^1.77.2", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "PORTAL_ENV=production vite build --mode fmmf", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8192", GRADLE_HOME: "/usr/share/gradle-9.7.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --declaration --noEmit -p tsconfig.app.json", npm_package_dependencies__feedmepos_mf_common: "^1.29.11", npm_package_dependencies_handlebars: "^4.7.8", npm_package_devDependencies_code_inspector_plugin: "^1.4.5", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:^", SYSTEMD_EXEC_PID: "1720", ACTIONS_ORCHESTRATION_ID: "717f66be-c627-48b2-9531-8b3d56061f87.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.1", npm_package_dependencies_dayjs: "^1.11.11", npm_package_dependencies_dotenv: "^16.4.5", npm_package_devDependencies__tsconfig_node18: "^18.2.4", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_eventsource: "^4.1.0", npm_package_devDependencies_tailwindcss: "3.4.1", npm_package_devDependencies_typescript: "5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_google_maps: "^4.3.3", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.27", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260920.314.1", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", npm_package_scripts_test_production_run: "NODE_OPTIONS=--max-old-space-size=8192 pnpm type-check && vitest run --no-dangerouslyIgnoreUnhandledErrors src/views/production-run src/api/production-run.spec.ts src/api/production-run-error.spec.ts src/composable/useNavigationMenu.production.spec.ts src/router/shared.production.spec.ts", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.5", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_devDependencies__playwright_test: "1.61.1", npm_package_devDependencies_prettier: "^3.2.5", npm_package_devDependencies_zod: "3.17.9", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_b7cd0ba0-d880-4a8f-bb03-8de70b087df8", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.8.0-dev.5", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "PORTAL_ENV=production vite", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:12629", GITHUB_WORKFLOW: "[CD:dev] inventory-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_dependencies_csstype: "^3.1.3", npm_package_dependencies_fuzzy: "^0.1.3", npm_config_registry: "https://registry.npmjs.org", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "35842551650", npm_package_dependencies__codemirror_lang_json: "^6.0.2", npm_package_devDependencies__types_lodash: "^4.17.16", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "4ccfa77b3aeb95e4bbeb5d60c7fc77ad336660a1", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.8/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^4.6.2", GITHUB_WORKFLOW_REF: "feedmepos/inventory-service/.github/workflows/inventory-portal-dev.yaml@refs/heads/development", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies__feedmepos_zod_inventory: "workspace:^", npm_package_dependencies_axios: "^1.7.1", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/home/runner/.pub-cache/bin:/opt/hostedtoolcache/dart/3.4.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_39386171-c4a6-43a4-b974-7f67a8feb894", INVOCATION_ID: "517899656660445f88bc020127725157", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "1212", GITHUB_TRIGGERING_ACTOR: "zdirnecamlcs96", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_test_e2e: "playwright test", npm_package_scripts_test_publish: "pnpm prepublish && pnpm pack", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_config_frozen_lockfile: "", npm_package_dependencies__feedmepos_inventory_core_2: "workspace:^", npm_package_dependencies__typescript_eslint_typescript_estree: "^8.21.0", npm_package_devDependencies__types_dompurify: "^3.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", DART_HOME: "/opt/hostedtoolcache/dart/3.4.3/x64", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies__vue_test_utils: "^2.4.6", npm_package_devDependencies_eslint: "^8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000158216", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "development", GITHUB_REPOSITORY: "feedmepos/inventory-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_publish_beta: "pnpm publish --tag beta", npm_package_scripts_unpack: "tar zxf", npm_package_dependencies__feedmepos_core: "2.14.60", npm_package_devDependencies__types_debounce: "^1.2.4", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies__feedmepos_netsuite_core: "workspace:^", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", npm_config_manage_package_manager_versions: "true", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "656626604", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/bin/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.8.0-dev.5", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", npm_package_dependencies__feedmepos_hrm_permission: "1.0.9", npm_package_dependencies__tanstack_vue_table: "^8.17.3", npm_package_dependencies__vue_cli_service: "^5.0.8", npm_package_devDependencies__rushstack_eslint_patch: "^1.10.3", npm_config_access: "public", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", npm_package_scripts_build: "vite build --mode standalone", npm_package_dependencies_vue_i18n: "^10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com", GITHUB_WORKSPACE: "/home/runner/work/inventory-service/inventory-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.20", npm_package_devDependencies__types_fuzzy_search: "^2.1.5", npm_package_devDependencies_cypress: "^13.9.0", GITHUB_SHA: "4ccfa77b3aeb95e4bbeb5d60c7fc77ad336660a1", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/development", GITHUB_ACTOR: "zdirnecamlcs96", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_dependencies_lz_string: "^1.5.0", npm_package_devDependencies__testing_library_vue: "^8.1.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_b7cd0ba0-d880-4a8f-bb03-8de70b087df8", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", GITHUB_ACTOR_ID: "12760908", RUNNER_WORKSPACE: "/home/runner/work/inventory-service", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_b7cd0ba0-d880-4a8f-bb03-8de70b087df8", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", npm_package_dependencies__feedmepos_inventory_core: "workspace:^", npm_package_dependencies_dompurify: "^3.3.1", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PUB_CACHE: "/home/runner/.pub-cache", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.26.0", npm_package_devDependencies_postcss: "^8.4.38", npm_config_node_options: "--max-old-space-size=8192", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_b7cd0ba0-d880-4a8f-bb03-8de70b087df8", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_deploy: "pnpm run build-only && pnpm publish --no-git-checks .", npm_package_scripts_preview: "vite preview", npm_package_dependencies_debounce: "^2.0.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.5.22", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_b7cd0ba0-d880-4a8f-bb03-8de70b087df8", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_codemax_core: "workspace:^", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } };
|
|
327
327
|
globalThis._cliPkgExports || (globalThis._cliPkgExports = []);
|
|
328
328
|
let vn = {};
|
|
329
329
|
globalThis._cliPkgExports.push(vn);
|
|
@@ -18595,7 +18595,7 @@ function mr() {
|
|
|
18595
18595
|
return {
|
|
18596
18596
|
stocks: je(),
|
|
18597
18597
|
recipes: k.recipes ?? [],
|
|
18598
|
-
skuGroups:
|
|
18598
|
+
skuGroups: []
|
|
18599
18599
|
};
|
|
18600
18600
|
}
|
|
18601
18601
|
const p = Zr({
|
|
@@ -18664,7 +18664,7 @@ function mr() {
|
|
|
18664
18664
|
return {
|
|
18665
18665
|
skus: k.skus,
|
|
18666
18666
|
recipes: k.recipes,
|
|
18667
|
-
skuGroups:
|
|
18667
|
+
skuGroups: [],
|
|
18668
18668
|
balance: v.value,
|
|
18669
18669
|
ruleContext: T.value.ruleContext
|
|
18670
18670
|
};
|