@feedmepos/mf-inventory-portal 1.2.40-dev.1 → 1.2.41-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-0DyZL1Fq.js → App-DpBuphD5.js} +3 -3
- package/dist/{ApprovalView-BmBq5TGO.js → ApprovalView-D_Mz00V5.js} +5 -5
- package/dist/{BindingsDialog-DtBdmYMs.js → BindingsDialog-B9TA9ZZY.js} +5 -5
- package/dist/{BindingsPicker-BAGxi1ZC.js → BindingsPicker-CR9Uxjc9.js} +9 -9
- package/dist/{BindingsTable-DKlb_qiS.js → BindingsTable-dbDs2NwO.js} +24 -24
- package/dist/{ClosingDraftView-CEmvLMPP.js → ClosingDraftView-DVVYxTKB.js} +8 -8
- package/dist/{ClosingHistoryView-DOmSMiGH.js → ClosingHistoryView-CHYpDDFT.js} +3 -3
- package/dist/{ClosingTemplateView-Bd1KfJL3.js → ClosingTemplateView-DaNlh-41.js} +14 -14
- package/dist/{DeliveryOrderPrintPreview-DoE0Bmx4.js → DeliveryOrderPrintPreview-yCn1OD3o.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-20eCsiTr.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CtVesHcX.js} +4 -4
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B05RFZv-.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C8bS92lj.js} +2 -2
- package/dist/{FmMultiselectDialog-ChsBeANW.js → FmMultiselectDialog-CMc30F6I.js} +2 -2
- package/dist/{FmMultiselectDialog-i1uk7uNx.js → FmMultiselectDialog-CtjcyINM.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BpT8OBQX.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BUSPNpYk.js} +3 -3
- package/dist/{ImportView-CCLgSwn2.js → ImportView-BX_xch8X.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-EHwf-vCH.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-q_olC3jj.js} +1 -1
- package/dist/{IngredientGroupView-BnEyAtcY.js → IngredientGroupView-AJdvDlFJ.js} +49 -49
- package/dist/{IngredientsView-DEN_EqXP.js → IngredientsView-DRROD_sO.js} +14 -14
- package/dist/{IntegrationView-Cu_gMMz_.js → IntegrationView-CiTRD2au.js} +12 -12
- package/dist/{InventoryBindingForm-COw2tcQC.js → InventoryBindingForm-Dms85LZH.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DIv_DrTj.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-lEFUQ2_w.js} +4 -4
- package/dist/{InventoryBindingSummary-Csajkxbi.js → InventoryBindingSummary-BfZX5_8W.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BE9UFVFI.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BomlP6Zj.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Da6ffJym.js → PremiumBadge.vue_vue_type_script_setup_true_lang-D7RBtyzX.js} +2 -2
- package/dist/{PublishView-qCcwOaJ8.js → PublishView-DbF3PA9M.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-m2n6OT7Z.js → PurchaseOrderPrintPreview-BU6R8JGC.js} +1 -1
- package/dist/{ReceiveRequestView-fhTKkIJA.js → ReceiveRequestView-vfmaiya2.js} +19 -19
- package/dist/{RecipeView-Bp_59G4J.js → RecipeView-DVzW6zmd.js} +8 -8
- package/dist/{StockView-Co_sOnjs.js → StockView-BEzn-FSm.js} +15 -15
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Npu98N-x.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BQRS3udz.js} +1 -1
- package/dist/{SupplierView-Bp4ez39s.js → SupplierView-BReSShn1.js} +11 -11
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-JTXbmabq.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-1zS3tzCs.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Dn2j9Xls.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Cemn-Ug7.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BSOi6Bbh.js → TransferDetails.vue_vue_type_script_setup_true_lang-C0tj6lli.js} +825 -829
- package/dist/{TransferTemplateView-C5jzqjPy.js → TransferTemplateView-BDG3sK6k.js} +15 -15
- package/dist/{UnitView-XcXvbWUz.js → UnitView-DJTFfgjL.js} +6 -6
- package/dist/{WarehouseView-B37E963Z.js → WarehouseView-DubFaS2f.js} +5 -5
- package/dist/{WastageTemplateView-Dn2vSoCa.js → WastageTemplateView-DiSMEc_v.js} +14 -14
- package/dist/{app-CaXDnJ-Z.js → app-CUlBhkxz.js} +9 -9
- package/dist/app.js +1 -1
- package/dist/{closing-template-CgLIA5Fw.js → closing-template-BWeg3cTL.js} +1 -1
- package/dist/{date2-Dc5sFY0E.js → date2-DN8HBPbX.js} +1 -1
- package/dist/{dayjs.min-B-H7eU1F.js → dayjs.min-DHDLxEZW.js} +1 -1
- package/dist/{decimal-BEqE-6GW.js → decimal-X9ish62l.js} +2 -2
- package/dist/{defineDeepModel-CXxtm-xp.js → defineDeepModel-Dn4y4CxX.js} +1 -1
- package/dist/{duplicate-template-BX6XhNvd.js → duplicate-template-B983w6th.js} +1 -1
- package/dist/{feature-BsDnCbpL.js → feature-DWuObhYe.js} +2 -2
- package/dist/{format-time-from-id-Dhlv9sZk.js → format-time-from-id-CDhd-ckL.js} +1 -1
- package/dist/{format-unit-display-B1WhMzNf.js → format-unit-display-DnNolGa4.js} +11 -11
- package/dist/{import-export.helper-DaGtyevy.js → import-export.helper-QIjnplqi.js} +5 -5
- package/dist/{index-CikPk76E.js → index-B1t4VoE7.js} +1 -1
- package/dist/{index-B2ziwUTD.js → index-Bn2eD2Uz.js} +1 -1
- package/dist/{index-CqbsiJk1.js → index-CTPXOs5C.js} +3 -3
- package/dist/{lodash-rwAZ9bXl.js → lodash-DqIHoo57.js} +1 -1
- package/dist/{netsuite-SdH9FL9h.js → netsuite-B2mPfmMi.js} +1751 -1666
- package/dist/{purchase-order-template-Daxs7lNG.js → purchase-order-template-dibdUdwo.js} +1 -1
- package/dist/{rules-81GqVkEm.js → rules-BTvX30Wt.js} +3 -3
- package/dist/{stock-BEmy7_Qs.js → stock-CXHSIeqr.js} +1 -1
- package/dist/{stock-CpYHrEjC.js → stock-JJC2cioJ.js} +3 -3
- package/dist/stores/inventory.d.ts +1 -1
- package/dist/{supplier-Bw4fRGiq.js → supplier-ChOjxalb.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CGTZ9UUP.js → use-ingredient-select-dialog-BPlCWbt9.js} +2 -2
- package/dist/{use-inventory-binding-dialog-CUh7aMb7.js → use-inventory-binding-dialog-n6m07Y2O.js} +2 -2
- package/dist/{use-template-enabled-locations-2-2oPspMus.js → use-template-enabled-locations-2-D49x4b9_.js} +2 -2
- package/dist/{vue-i18n-Di6nYtv0.js → vue-i18n-lgz-Dtpa.js} +321 -321
- package/dist/{xlsx-DXn_bv49.js → xlsx-Bk05m86l.js} +1 -1
- package/dist/{xlsx.util-BawfHUuI.js → xlsx.util-VJnrD8a7.js} +1 -1
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as A, computed as G, h as C, defineComponent as j, watch as re, resolveComponent as R, openBlock as F, createElementBlock as B, createVNode as b, unref as l, createElementVNode as c, toDisplayString as $, createBlock as M, withCtx as T, Fragment as pe, renderList as ve, createTextVNode as
|
|
2
|
-
import { a as L, c as z, j as oe, u as Re } from "./app-
|
|
1
|
+
import { ref as A, computed as G, h as C, defineComponent as j, watch as re, resolveComponent as R, openBlock as F, createElementBlock as B, createVNode as b, unref as l, createElementVNode as c, toDisplayString as $, createBlock as M, withCtx as T, Fragment as pe, renderList as ve, createTextVNode as ye, createCommentVNode as se, isRef as ge, normalizeClass as _e, normalizeStyle as be, createSlots as ke, Teleport as xe, normalizeProps as he, guardReactiveProps as we } from "vue";
|
|
2
|
+
import { a as L, c as z, j as oe, u as Re } from "./app-CUlBhkxz.js";
|
|
3
3
|
import { useDialog as Ie, useSnackbar as Y, components as U, useProxiedModel as Se, useBreakpoints as Fe } from "@feedmepos/ui-library";
|
|
4
4
|
import { F as S } from "./form-mode.enum-BKiNVH6A.js";
|
|
5
5
|
import { useI18n as P, useCoreStore as Ge } from "@feedmepos/mf-common";
|
|
@@ -7,11 +7,11 @@ import { defineStore as ue, storeToRefs as ae } from "pinia";
|
|
|
7
7
|
import { D as le, R as K } from "./row-action.enum-BcW_L_nE.js";
|
|
8
8
|
import { c as Ve, _ as Ce, F as ie } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
9
9
|
import { u as De, _ as Ae } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
10
|
-
import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { d as de } from "./defineDeepModel-
|
|
12
|
-
import { I as Te, A as Ee, U as Me, R as ce } from "./rules-
|
|
10
|
+
import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C8bS92lj.js";
|
|
11
|
+
import { d as de } from "./defineDeepModel-Dn4y4CxX.js";
|
|
12
|
+
import { I as Te, A as Ee, U as Me, R as ce } from "./rules-BTvX30Wt.js";
|
|
13
13
|
import { x as Ue, N as Be, b as ze } from "./app-uBuHtW8m.js";
|
|
14
|
-
import { u as Le } from "./FmMultiselectDialog-
|
|
14
|
+
import { u as Le } from "./FmMultiselectDialog-CtjcyINM.js";
|
|
15
15
|
import { r as me } from "./random-CSbEbElR.js";
|
|
16
16
|
import { u as Pe, R as Ne } from "./usePromise-CbVUCxhj.js";
|
|
17
17
|
const H = ue(
|
|
@@ -48,12 +48,12 @@ const H = ue(
|
|
|
48
48
|
message: `Deleted ${u.name}`,
|
|
49
49
|
type: "success"
|
|
50
50
|
});
|
|
51
|
-
} catch (
|
|
51
|
+
} catch (y) {
|
|
52
52
|
f.open({
|
|
53
53
|
title: `Cannot delete ${u.name}`,
|
|
54
54
|
message: "Please try again.",
|
|
55
55
|
type: "error"
|
|
56
|
-
}), console.error("failed to delete ingredient",
|
|
56
|
+
}), console.error("failed to delete ingredient", y);
|
|
57
57
|
} finally {
|
|
58
58
|
m.value = !1, r();
|
|
59
59
|
}
|
|
@@ -76,14 +76,14 @@ const H = ue(
|
|
|
76
76
|
}
|
|
77
77
|
function s() {
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function g() {
|
|
80
80
|
}
|
|
81
81
|
return {
|
|
82
82
|
createIngredientGroup: e,
|
|
83
83
|
updateIngredientGroup: a,
|
|
84
84
|
deleteIngredientGroup: n,
|
|
85
85
|
importIngredientGroups: s,
|
|
86
|
-
exportIngredientGroups:
|
|
86
|
+
exportIngredientGroups: g,
|
|
87
87
|
ingredientGroupDialogProps: v
|
|
88
88
|
};
|
|
89
89
|
}
|
|
@@ -94,7 +94,7 @@ const H = ue(
|
|
|
94
94
|
async function v() {
|
|
95
95
|
_.value = !0;
|
|
96
96
|
try {
|
|
97
|
-
await k.
|
|
97
|
+
await k.readInventory();
|
|
98
98
|
} catch (t) {
|
|
99
99
|
console.error("error on reading inventory", t), f.open({
|
|
100
100
|
title: "Error",
|
|
@@ -382,12 +382,12 @@ function fe(o) {
|
|
|
382
382
|
sublabel: t.code,
|
|
383
383
|
value: t._id
|
|
384
384
|
})), e = (o.skuRefs ?? []).map((t) => t._id), a = await _.multiSelect(v, e, (t) => {
|
|
385
|
-
var s,
|
|
385
|
+
var s, g, u, m, r, y;
|
|
386
386
|
const n = (s = o.skuRefs) == null ? void 0 : s.findIndex((w) => w._id === t);
|
|
387
387
|
return {
|
|
388
388
|
_id: t,
|
|
389
|
-
trackingMeasurement: typeof n != "number" || n == -1 ? (
|
|
390
|
-
priority: ((
|
|
389
|
+
trackingMeasurement: typeof n != "number" || n == -1 ? (g = f.skuById[t]) == null ? void 0 : g.trackingMeasurement : (m = (u = o.skuRefs) == null ? void 0 : u[n]) == null ? void 0 : m.trackingMeasurement,
|
|
390
|
+
priority: ((y = (r = o.skuRefs) == null ? void 0 : r[n]) == null ? void 0 : y.priority) ?? o.skuRefs.length,
|
|
391
391
|
default: !1
|
|
392
392
|
};
|
|
393
393
|
});
|
|
@@ -412,18 +412,18 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
412
412
|
},
|
|
413
413
|
setup(o) {
|
|
414
414
|
const _ = o, { t: f } = P(), k = Ge(), i = G(() => {
|
|
415
|
-
var
|
|
415
|
+
var g;
|
|
416
416
|
const n = /* @__PURE__ */ new Map(), s = k.restaurants.value.map((u) => u.customAttributes ?? {});
|
|
417
417
|
for (const u of s)
|
|
418
418
|
for (const [m, r] of Object.entries(u))
|
|
419
|
-
n.has(m) || n.set(m, /* @__PURE__ */ new Set()), r && ((
|
|
419
|
+
n.has(m) || n.set(m, /* @__PURE__ */ new Set()), r && ((g = n.get(m)) == null || g.add(r));
|
|
420
420
|
return n;
|
|
421
421
|
}), v = G(() => [
|
|
422
|
-
...[...i.value.entries()].map(([s,
|
|
422
|
+
...[...i.value.entries()].map(([s, g]) => ({
|
|
423
423
|
type: "string",
|
|
424
424
|
key: s,
|
|
425
425
|
entity: "restaurant",
|
|
426
|
-
values: [...
|
|
426
|
+
values: [...g]
|
|
427
427
|
}))
|
|
428
428
|
]), e = de("modelValue", {
|
|
429
429
|
get default() {
|
|
@@ -457,11 +457,11 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
457
457
|
allowOverride: !1
|
|
458
458
|
});
|
|
459
459
|
return (n, s) => {
|
|
460
|
-
const
|
|
460
|
+
const g = R("FmTextField"), u = R("FmLabel"), m = R("FmFormGroup"), r = R("FmTable");
|
|
461
461
|
return F(), B("div", Ke, [
|
|
462
|
-
b(
|
|
462
|
+
b(g, {
|
|
463
463
|
modelValue: l(e).name,
|
|
464
|
-
"onUpdate:modelValue": s[0] || (s[0] = (
|
|
464
|
+
"onUpdate:modelValue": s[0] || (s[0] = (y) => l(e).name = y),
|
|
465
465
|
label: l(f)("inventory.ingredientGroup.form.rules.name"),
|
|
466
466
|
"label-mark": "required",
|
|
467
467
|
rules: [l(ce)()]
|
|
@@ -474,16 +474,16 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
474
474
|
}, null, 8, ["label"]),
|
|
475
475
|
b(l(ze), {
|
|
476
476
|
modelValue: a.value,
|
|
477
|
-
"onUpdate:modelValue": s[1] || (s[1] = (
|
|
477
|
+
"onUpdate:modelValue": s[1] || (s[1] = (y) => a.value = y),
|
|
478
478
|
attributes: v.value
|
|
479
479
|
}, null, 8, ["modelValue", "attributes"])
|
|
480
480
|
]),
|
|
481
481
|
b(m, {
|
|
482
482
|
"model-value": a.value,
|
|
483
483
|
rules: [
|
|
484
|
-
(
|
|
484
|
+
(y) => {
|
|
485
485
|
var w;
|
|
486
|
-
return !!((w =
|
|
486
|
+
return !!((w = y == null ? void 0 : y.rules) != null && w.length) || "At least one rule is required";
|
|
487
487
|
}
|
|
488
488
|
]
|
|
489
489
|
}, null, 8, ["model-value", "rules"])
|
|
@@ -501,7 +501,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
501
501
|
b(m, {
|
|
502
502
|
"model-value": l(e).skuRefs,
|
|
503
503
|
rules: [
|
|
504
|
-
(
|
|
504
|
+
(y) => !!(y != null && y.length) || "At least one ingredient is required"
|
|
505
505
|
]
|
|
506
506
|
}, null, 8, ["model-value", "rules"])
|
|
507
507
|
]),
|
|
@@ -521,7 +521,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
521
521
|
}), Ze = { class: "flex flex-col gap-16" }, et = { class: "flex flex-col gap-16" }, tt = { class: "flex flex-col" }, nt = { class: "flex items-center" }, st = { class: "flex-1" }, ot = { class: "flex flex-col gap-8" }, at = { class: "flex-1 fm-typo-en-title-sm-600" }, lt = { class: "flex-1 fm-typo-en-body-md-400 text-fm-color-typo-secondary px-4" }, it = { class: "flex flex-col gap-16" }, rt = { class: "flex flex-col gap-8" }, ut = { class: "flex-1 fm-typo-en-title-sm-600" }, dt = { class: "flex-1 fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ct = { class: "flex flex-col gap-12" }, mt = { class: "flex items-center" }, ft = { class: "flex-1 fm-typo-en-body-lg-600 line-clamp-1" }, pt = { key: 0 }, vt = {
|
|
522
522
|
key: 1,
|
|
523
523
|
class: "fm-typo-en-body-lg-400"
|
|
524
|
-
},
|
|
524
|
+
}, yt = /* @__PURE__ */ j({
|
|
525
525
|
__name: "IngredientGroupForm",
|
|
526
526
|
props: {
|
|
527
527
|
mode: {},
|
|
@@ -561,17 +561,17 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
561
561
|
},
|
|
562
562
|
set skuRefs(s) {
|
|
563
563
|
i.defaultSkuRefs = s;
|
|
564
|
-
const
|
|
564
|
+
const g = s.map((r) => r._id), u = i.rules;
|
|
565
565
|
if (!u) return;
|
|
566
566
|
const m = s.groupBy(
|
|
567
567
|
(r) => r._id,
|
|
568
568
|
(r) => r.trackingMeasurement
|
|
569
569
|
);
|
|
570
570
|
for (const r of u) {
|
|
571
|
-
const
|
|
572
|
-
(x) => !
|
|
571
|
+
const y = r.skuRefs.filter((x) => g.includes(x._id)), w = s.filter(
|
|
572
|
+
(x) => !y.some((I) => I._id === x._id)
|
|
573
573
|
);
|
|
574
|
-
r.skuRefs = [...
|
|
574
|
+
r.skuRefs = [...y, ...w].map((x) => {
|
|
575
575
|
var I;
|
|
576
576
|
return {
|
|
577
577
|
...x,
|
|
@@ -596,10 +596,10 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
596
596
|
var s;
|
|
597
597
|
return (s = n.value) == null ? void 0 : s.resetInputs();
|
|
598
598
|
}
|
|
599
|
-
}), (s,
|
|
600
|
-
const u = R("FmTextField"), m = R("FmButton"), r = R("FmFormGroup"),
|
|
599
|
+
}), (s, g) => {
|
|
600
|
+
const u = R("FmTextField"), m = R("FmButton"), r = R("FmFormGroup"), y = R("FmTable"), w = R("FmCard"), x = R("FmForm");
|
|
601
601
|
return F(), M(x, {
|
|
602
|
-
onValidationSuccess:
|
|
602
|
+
onValidationSuccess: g[2] || (g[2] = (I) => v("validation-success")),
|
|
603
603
|
ref_key: "formRef",
|
|
604
604
|
ref: n,
|
|
605
605
|
class: "flex flex-col gap-64"
|
|
@@ -613,13 +613,13 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
613
613
|
"label-mark": "required",
|
|
614
614
|
rules: [l(ce)()],
|
|
615
615
|
modelValue: l(i).name,
|
|
616
|
-
"onUpdate:modelValue":
|
|
616
|
+
"onUpdate:modelValue": g[0] || (g[0] = (d) => l(i).name = d)
|
|
617
617
|
}, null, 8, ["label", "rules", "modelValue"]),
|
|
618
618
|
b(u, {
|
|
619
619
|
label: l(e)("inventory.ingredientGroup.form.ref"),
|
|
620
620
|
"label-mark": "optional",
|
|
621
621
|
modelValue: l(i).ref,
|
|
622
|
-
"onUpdate:modelValue":
|
|
622
|
+
"onUpdate:modelValue": g[1] || (g[1] = (d) => l(i).ref = d)
|
|
623
623
|
}, null, 8, ["label", "modelValue"])
|
|
624
624
|
]),
|
|
625
625
|
c("div", et, [
|
|
@@ -650,7 +650,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
650
650
|
}, null, 8, ["model-value", "rules"])
|
|
651
651
|
]),
|
|
652
652
|
c("div", null, [
|
|
653
|
-
b(
|
|
653
|
+
b(y, {
|
|
654
654
|
"row-data": l(i).defaultSkuRefs ?? [],
|
|
655
655
|
"column-defs": l(t).columnDefs,
|
|
656
656
|
"column-visibility": l(t).columnVisibility,
|
|
@@ -675,7 +675,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
675
675
|
c("div", ct, [
|
|
676
676
|
c("div", mt, [
|
|
677
677
|
c("div", ft, [
|
|
678
|
-
|
|
678
|
+
ye($(l(e)("inventory.ingredientGroup.form.rules.rule_N", [p + 1])), 1),
|
|
679
679
|
d.name ? (F(), B("span", pt, ": ")) : se("", !0),
|
|
680
680
|
d.name ? (F(), B("span", vt, $(d.name), 1)) : se("", !0)
|
|
681
681
|
]),
|
|
@@ -713,7 +713,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
713
713
|
}, 512);
|
|
714
714
|
};
|
|
715
715
|
}
|
|
716
|
-
}),
|
|
716
|
+
}), gt = {
|
|
717
717
|
key: 0,
|
|
718
718
|
class: "text-fm-color-typo-primary fm-typo-en-body-lg-400"
|
|
719
719
|
}, _t = { class: "flex gap-4" }, bt = /* @__PURE__ */ j({
|
|
@@ -755,7 +755,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
755
755
|
n.value = p, s.value = p._id || `${Math.random()}`;
|
|
756
756
|
}
|
|
757
757
|
);
|
|
758
|
-
const
|
|
758
|
+
const g = G(() => {
|
|
759
759
|
switch (_.mode) {
|
|
760
760
|
case S.READ:
|
|
761
761
|
return "";
|
|
@@ -776,7 +776,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
776
776
|
}
|
|
777
777
|
return "";
|
|
778
778
|
}), m = A(), r = A(!1);
|
|
779
|
-
async function
|
|
779
|
+
async function y() {
|
|
780
780
|
r.value = !0;
|
|
781
781
|
const d = z(n.value);
|
|
782
782
|
try {
|
|
@@ -825,15 +825,15 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
825
825
|
case S.UPDATE:
|
|
826
826
|
return w();
|
|
827
827
|
case S.CREATE:
|
|
828
|
-
return
|
|
828
|
+
return y();
|
|
829
829
|
}
|
|
830
830
|
}
|
|
831
831
|
return (d, p) => {
|
|
832
832
|
const h = R("FmButton"), V = R("FmSideSheet");
|
|
833
833
|
return F(), M(V, {
|
|
834
834
|
"model-value": l(a),
|
|
835
|
-
"onUpdate:modelValue": p[3] || (p[3] = (D) =>
|
|
836
|
-
header:
|
|
835
|
+
"onUpdate:modelValue": p[3] || (p[3] = (D) => ge(a) ? a.value = D : null),
|
|
836
|
+
header: g.value,
|
|
837
837
|
"close-button": "",
|
|
838
838
|
"dismiss-away": "",
|
|
839
839
|
"max-width": 800
|
|
@@ -854,7 +854,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
854
854
|
])
|
|
855
855
|
]),
|
|
856
856
|
default: T(() => [
|
|
857
|
-
i.value ? (F(), M(
|
|
857
|
+
i.value ? (F(), M(yt, {
|
|
858
858
|
menu: i.value,
|
|
859
859
|
class: "w-full",
|
|
860
860
|
ref_key: "hasValidationExpose",
|
|
@@ -865,7 +865,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
865
865
|
mode: d.mode,
|
|
866
866
|
disabled: r.value,
|
|
867
867
|
onValidationSuccess: p[1] || (p[1] = (D) => I())
|
|
868
|
-
}, null, 8, ["menu", "model-value", "mode", "disabled"])) : (F(), B("div",
|
|
868
|
+
}, null, 8, ["menu", "model-value", "mode", "disabled"])) : (F(), B("div", gt, "Loading.."))
|
|
869
869
|
]),
|
|
870
870
|
_: 1
|
|
871
871
|
}, 8, ["model-value", "header"]);
|
|
@@ -879,7 +879,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
879
879
|
updateIngredientGroup: e,
|
|
880
880
|
importIngredientGroups: a,
|
|
881
881
|
exportIngredientGroups: t
|
|
882
|
-
} = H(), { columnDefs: n, loading: s } = ae(Oe()), { ingredientGroupDialogProps:
|
|
882
|
+
} = H(), { columnDefs: n, loading: s } = ae(Oe()), { ingredientGroupDialogProps: g } = ae(H());
|
|
883
883
|
function u(h) {
|
|
884
884
|
switch (h) {
|
|
885
885
|
case "add":
|
|
@@ -890,7 +890,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
890
890
|
return t();
|
|
891
891
|
}
|
|
892
892
|
}
|
|
893
|
-
const m = A(""), r = A(!1),
|
|
893
|
+
const m = A(""), r = A(!1), y = G(() => r.value || s.value), { breakpoints: w } = Fe(), x = G(() => w.value.xs || w.value.sm), I = G(() => x.value ? 10 : 20), d = De(), p = G(() => [
|
|
894
894
|
{
|
|
895
895
|
label: i("inventory.ingredient.create.title"),
|
|
896
896
|
value: "add",
|
|
@@ -927,7 +927,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
927
927
|
"column-defs": l(n),
|
|
928
928
|
"row-data": f.value,
|
|
929
929
|
"search-value": m.value,
|
|
930
|
-
loading: !l(k)._currentLocation ||
|
|
930
|
+
loading: !l(k)._currentLocation || y.value,
|
|
931
931
|
"loading-text": "Loading",
|
|
932
932
|
onRowClick: V[1] || (V[1] = (E) => l(e)(E.original)),
|
|
933
933
|
"page-size": I.value
|
|
@@ -971,7 +971,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
971
971
|
}, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
|
|
972
972
|
], 2),
|
|
973
973
|
(F(), M(xe, { to: "body" }, [
|
|
974
|
-
b(bt, he(we(l(
|
|
974
|
+
b(bt, he(we(l(g))), null, 16)
|
|
975
975
|
]))
|
|
976
976
|
]),
|
|
977
977
|
_: 1
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as B, defineComponent as pe, computed as g, resolveComponent as F, openBlock as u, createElementBlock as w, Fragment as X, unref as l, createVNode as a, withModifiers as Bt, createCommentVNode as L, withCtx as y, createElementVNode as o, toDisplayString as A, normalizeClass as te, renderList as ue, createBlock as O, h as Q, renderSlot as xe, createSlots as Ye, createTextVNode as Ge, mergeModels as it, onMounted as Dt, watch as kt, useModel as Ot, isRef as dt, normalizeStyle as Nt, Teleport as ut, normalizeProps as zt, guardReactiveProps as Lt } from "vue";
|
|
2
|
-
import { a as Ce, c as Tt, S as jt, d as ct, e as mt, f as Wt, h as pt, i as vt, j as ft, k as yt, u as Ht, l as qt } from "./app-
|
|
2
|
+
import { a as Ce, c as Tt, S as jt, d as ct, e as mt, f as Wt, h as pt, i as vt, j as ft, k as yt, u as Ht, l as qt } from "./app-CUlBhkxz.js";
|
|
3
3
|
import { useDialog as Re, useSnackbar as Fe, components as Oe, useProxiedModel as gt, useDialogChild as Yt, useBreakpoints as Gt } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as Kt, _ as Zt } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { F as H } from "./form-mode.enum-BKiNVH6A.js";
|
|
@@ -7,23 +7,23 @@ import { useI18n as ve, useCoreStore as wt } from "@feedmepos/mf-common";
|
|
|
7
7
|
import { defineStore as Jt, storeToRefs as Qt } from "pinia";
|
|
8
8
|
import { D as bt, R as Me } from "./row-action.enum-BcW_L_nE.js";
|
|
9
9
|
import { c as Xt, _ as en, F as ht } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
10
|
-
import { u as Ae, _ as tn } from "./netsuite-
|
|
10
|
+
import { u as Ae, _ as tn } from "./netsuite-B2mPfmMi.js";
|
|
11
11
|
import { F as He, u as nn, _ as on } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
12
|
-
import { A as Pe, a as ln, t as an, R as Ne, U as sn, M as rn, g as dn } from "./rules-
|
|
13
|
-
import { g as un, _ as ze, S as Le, a as cn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { _ as mn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { _ as je } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as Vt } from "./feature-
|
|
12
|
+
import { A as Pe, a as ln, t as an, R as Ne, U as sn, M as rn, g as dn } from "./rules-BTvX30Wt.js";
|
|
13
|
+
import { g as un, _ as ze, S as Le, a as cn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BQRS3udz.js";
|
|
14
|
+
import { _ as mn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-lEFUQ2_w.js";
|
|
15
|
+
import { _ as je } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-q_olC3jj.js";
|
|
16
|
+
import { u as Vt } from "./feature-DWuObhYe.js";
|
|
17
17
|
import { _ as he } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
18
|
-
import { d as Ue, g as pn, e as vn, a as fn } from "./import-export.helper-
|
|
18
|
+
import { d as Ue, g as pn, e as vn, a as fn } from "./import-export.helper-QIjnplqi.js";
|
|
19
19
|
import { _ as yn } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
20
|
-
import { F as gn, a as We } from "./FmMultiselectDialog-
|
|
21
|
-
import { u as It } from "./purchase-order-template-
|
|
22
|
-
import { u as St, a as Ct } from "./closing-template-
|
|
23
|
-
import { r as bn } from "./xlsx.util-
|
|
20
|
+
import { F as gn, a as We } from "./FmMultiselectDialog-CMc30F6I.js";
|
|
21
|
+
import { u as It } from "./purchase-order-template-dibdUdwo.js";
|
|
22
|
+
import { u as St, a as Ct } from "./closing-template-BWeg3cTL.js";
|
|
23
|
+
import { r as bn } from "./xlsx.util-VJnrD8a7.js";
|
|
24
24
|
import { F as hn } from "./FmDroppableField-J0xUsOTV.js";
|
|
25
|
-
import { _ as _n } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
26
|
-
import { u as xn } from "./FmMultiselectDialog-
|
|
25
|
+
import { _ as _n } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C8bS92lj.js";
|
|
26
|
+
import { u as xn } from "./FmMultiselectDialog-CtjcyINM.js";
|
|
27
27
|
import { N as kn, H as Tn } from "./app-uBuHtW8m.js";
|
|
28
28
|
const qe = Jt("ingredientForm", function() {
|
|
29
29
|
const s = Re(), T = Fe(), r = Ce(), b = B(!1), { t: S } = ve(), U = B();
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { defineComponent as Y, mergeModels as Pe, useModel as ke, onMounted as ie, ref as L, computed as O, resolveComponent as F, openBlock as x, createElementBlock as E, createElementVNode as r, toDisplayString as R, unref as V, createVNode as A, createBlock as H, withCtx as N, Fragment as P, renderList as ee, normalizeClass as q, normalizeStyle as Qe, createSlots as oe, createCommentVNode as j, withModifiers as Je, reactive as Fe, watch as Ce, isRef as re, Teleport as pe, h as k, createTextVNode as K, watchEffect as Ke } from "vue";
|
|
2
2
|
import { E as qe } from "./empty-placeholder-wf6-BWE8.js";
|
|
3
|
-
import { x as Ge, y as Ze, c as ae, u as se, z as We, a as ce, N as ge, A as Ae, B as $, s as ne, C as Be, D as Ve, v as fe } from "./app-
|
|
3
|
+
import { x as Ge, y as Ze, c as ae, u as se, z as We, a as ce, N as ge, A as Ae, B as $, s as ne, C as Be, D as Ve, v as fe } from "./app-CUlBhkxz.js";
|
|
4
4
|
import { useDialogChild as $e, useDialog as be, useProxiedModel as ue, useSnackbar as G, useBreakpoints as _e, components as J } from "@feedmepos/ui-library";
|
|
5
5
|
import { F as Ee, _ as et } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
6
6
|
import { useI18n as Z, useCoreStore as le } from "@feedmepos/mf-common";
|
|
7
|
-
import { _ as tt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as nt, a as st, b as ot, c as at } from "./index-
|
|
9
|
-
import { u as te, a as me } from "./netsuite-
|
|
10
|
-
import { b as lt, a as it } from "./FmMultiselectDialog-
|
|
11
|
-
import { R as rt, a as ut } from "./rules-
|
|
7
|
+
import { _ as tt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C8bS92lj.js";
|
|
8
|
+
import { u as nt, a as st, b as ot, c as at } from "./index-CTPXOs5C.js";
|
|
9
|
+
import { u as te, a as me } from "./netsuite-B2mPfmMi.js";
|
|
10
|
+
import { b as lt, a as it } from "./FmMultiselectDialog-CMc30F6I.js";
|
|
11
|
+
import { R as rt, a as ut } from "./rules-BTvX30Wt.js";
|
|
12
12
|
import { N as Ne, H as Le, b as De } from "./app-uBuHtW8m.js";
|
|
13
|
-
import { u as dt } from "./supplier-
|
|
14
|
-
import { u as ve } from "./vue-i18n-
|
|
15
|
-
import { _ as ct, a as mt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { a as he, f as Te } from "./date2-
|
|
17
|
-
import { u as Re } from "./feature-
|
|
13
|
+
import { u as dt } from "./supplier-ChOjxalb.js";
|
|
14
|
+
import { u as ve } from "./vue-i18n-lgz-Dtpa.js";
|
|
15
|
+
import { _ as ct, a as mt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BUSPNpYk.js";
|
|
16
|
+
import { a as he, f as Te } from "./date2-DN8HBPbX.js";
|
|
17
|
+
import { u as Re } from "./feature-DWuObhYe.js";
|
|
18
18
|
import { F as Oe } from "./FmDroppableField-J0xUsOTV.js";
|
|
19
|
-
import { r as Me, u as ze } from "./xlsx-
|
|
19
|
+
import { r as Me, u as ze } from "./xlsx-Bk05m86l.js";
|
|
20
20
|
const ft = "data:image/svg+xml,%3csvg%20width='200'%20height='101'%20viewBox='0%200%20200%20101'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M98.9161%2038.4456V24.1772H108.527V27.1988H102.12V30.2202H107.347V32.7382H102.12V38.4456H98.9161Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.382%2031.2276C110.382%2027.5345%20113.249%2024.1772%20117.127%2024.1772C121.174%2024.1772%20123.872%2027.7024%20123.872%2031.3953C123.872%2035.0884%20121.005%2038.6133%20117.127%2038.6133C113.08%2038.4456%20110.382%2034.9204%20110.382%2031.2276ZM117.127%2035.5919C119.487%2035.5919%20120.499%2033.4096%20120.499%2031.2276C120.499%2029.0452%20119.319%2027.0309%20117.127%2027.0309C114.935%2027.0309%20113.754%2029.213%20113.754%2031.2276C113.754%2033.5776%20114.935%2035.5919%20117.127%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M126.232%2031.2276C126.232%2027.5345%20129.099%2024.1772%20132.977%2024.1772C137.024%2024.1772%20139.722%2027.7024%20139.722%2031.3953C139.722%2035.0884%20136.855%2038.6133%20132.977%2038.6133C128.93%2038.4456%20126.232%2034.9204%20126.232%2031.2276ZM132.977%2035.5919C135.337%2035.5919%20136.349%2033.4096%20136.349%2031.2276C136.349%2029.0452%20135.169%2027.0309%20132.977%2027.0309C130.785%2027.0309%20129.604%2029.213%20129.604%2031.2276C129.604%2033.5776%20130.785%2035.5919%20132.977%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M142.926%2038.4455V24.345H148.153C152.874%2024.345%20155.235%2027.5343%20155.235%2031.3952C155.235%2035.5918%20152.368%2038.4455%20148.153%2038.4455H142.926ZM148.153%2027.0308H146.129V35.4238H148.153C150.513%2035.4238%20151.862%2033.5775%20151.862%2031.2272C151.862%2028.8773%20150.513%2027.0308%20148.153%2027.0308Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.045%2057.5607V49.1676L107.009%2055.2107H105.324L102.12%2049.1676V57.5607H98.9161V43.4604H102.457L106.167%2050.8465L109.876%2043.4604H113.417V57.5607H110.045Z'%20fill='%235D5359'/%3e%3cpath%20d='M115.947%2057.5607L121.342%2043.4604H124.04L129.436%2057.5607H125.895L124.715%2054.3716H120.331L119.319%2057.5607H115.947ZM122.691%2046.9856L121.005%2052.1893H124.378L122.691%2046.9856Z'%20fill='%235D5359'/%3e%3cpath%20d='M131.965%2057.5607V43.4604H138.373C141.07%2043.4604%20142.925%2045.8105%20142.925%2048.1605C142.925%2049.8393%20142.082%2051.5179%20140.565%2052.1893L143.768%2057.393H140.059L137.192%2052.8607H135V57.393H131.965V57.5607ZM135.169%2050.175H138.204C139.047%2050.175%20139.553%2049.3356%20139.553%2048.1605C139.553%2046.9856%20138.71%2046.3142%20138.035%2046.3142H135.169V50.175Z'%20fill='%235D5359'/%3e%3cpath%20d='M146.635%2057.5607V43.4604H150.007V49.8393L155.403%2043.4604H158.776L153.548%2049.6713L159.281%2057.5607H155.74L151.693%2051.5179L150.007%2053.3642V57.5607H146.635Z'%20fill='%235D5359'/%3e%3cpath%20d='M171.422%2054.7073V57.5607H161.474V43.4604H171.253V46.3142H164.677V48.9999H170.242V51.6856H164.677V54.7073H171.422Z'%20fill='%235D5359'/%3e%3cpath%20d='M185.417%2046.3142H181.202V57.5607H177.829V46.3142H173.614V43.4604H185.417V46.3142Z'%20fill='%235D5359'/%3e%3cpath%20d='M111.057%2062.5967V76.6973H107.853V70.9898H102.12V76.6973H98.9161V62.5967H102.12V68.1361H107.853V62.5967H111.057Z'%20fill='%235D5359'/%3e%3cpath%20d='M124.04%2069.815V62.5967H127.244V69.815C127.244%2073.6758%20125.389%2076.865%20121.005%2076.865C116.453%2076.865%20114.766%2073.5078%20114.766%2069.815V62.5967H117.97V69.815C117.97%2071.997%20118.813%2074.0115%20121.005%2074.0115C123.366%2074.0115%20124.04%2071.997%20124.04%2069.815Z'%20fill='%235D5359'/%3e%3cpath%20d='M138.036%2076.6973H131.122V62.5967H139.047C141.071%2062.5967%20142.251%2064.4433%20142.251%2066.2898C142.251%2067.6327%20141.576%2068.9755%20140.228%2069.4793C141.914%2069.9827%20142.926%2071.1578%20142.926%2073.1721C142.757%2075.5221%20140.733%2076.6973%20138.036%2076.6973ZM134.326%2065.4504V68.3041H137.53C138.204%2068.3041%20138.879%2067.8004%20138.879%2066.7933C138.879%2065.7861%20138.373%2065.2827%20137.698%2065.2827H134.326V65.4504ZM138.204%2070.8221H134.494V73.8435H138.204C139.047%2073.8435%20139.722%2073.1721%20139.722%2072.3327C139.553%2071.6613%20138.879%2070.8221%20138.204%2070.8221Z'%20fill='%235D5359'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M73.4753%2051.4994C78.7281%2050.5396%2082.8911%2046.4891%2083.9954%2041.3137L84.1232%2040.7134L83.9445%2040.1256C80.5804%2029.066%2071.9945%2020.2704%2061.0373%2016.5726C57.4%2015.3451%2053.5046%2014.6804%2049.458%2014.6804C45.4112%2014.6804%2041.5158%2015.3451%2037.8784%2016.5726C26.9214%2020.2704%2018.3354%2029.066%2014.9712%2040.1256L14.7924%2040.7134L14.9206%2041.3137C16.0247%2046.4891%2020.1875%2050.5396%2025.4405%2051.4994V58.8839H14.4183C14.6758%2059.9557%2014.9818%2061.0088%2015.3337%2062.0411C20.1553%2076.1811%2033.6083%2086.3619%2049.458%2086.3619C65.3074%2086.3619%2078.7606%2076.1811%2083.5822%2062.0411C83.9342%2061.0088%2084.2399%2059.9557%2084.4974%2058.8839H73.4753V51.4994ZM41.0517%2020.5973V38.5742C41.0517%2043.1931%2044.8155%2046.9371%2049.458%2046.9371C54.1005%2046.9371%2057.8641%2043.1931%2057.8641%2038.5742V20.5973C55.1919%2019.856%2052.3732%2019.4592%2049.458%2019.4592C46.5428%2019.4592%2043.7241%2019.856%2041.0517%2020.5973ZM62.6675%2022.3673V38.5742C62.6675%2043.1931%2066.431%2046.9371%2071.0735%2046.9371C74.9051%2046.9371%2078.1425%2044.3848%2079.1528%2040.8942C76.4672%2032.6902%2070.4379%2025.9824%2062.6675%2022.3673ZM60.2658%2046.1322C57.8753%2049.5094%2053.9255%2051.7159%2049.458%2051.7159C44.9902%2051.7159%2041.0408%2049.5094%2038.65%2046.1322C36.6982%2048.8894%2033.7074%2050.8662%2030.2439%2051.4994V58.8839H68.6718V51.4994C65.2083%2050.8662%2062.2175%2048.8894%2060.2658%2046.1322ZM21.1583%2063.6628C26.1349%2074.2514%2036.9382%2081.5834%2049.458%2081.5834C61.9776%2081.5834%2072.781%2074.2514%2077.7574%2063.6628H21.1583ZM36.2482%2038.5742V22.3673C28.4779%2025.9824%2022.4486%2032.6902%2019.7631%2040.8942C20.7733%2044.3848%2024.0106%2046.9371%2027.8422%2046.9371C32.4847%2046.9371%2036.2482%2043.1931%2036.2482%2038.5742Z'%20fill='%23FFC35D'/%3e%3c/svg%3e";
|
|
21
21
|
var je = { exports: {} };
|
|
22
22
|
(function(_, h) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as ee, computed as _, reactive as ne, resolveComponent as k, openBlock as d, createElementBlock as p, createVNode as y, withCtx as U, createElementVNode as n, toDisplayString as m, unref as i, createBlock as B, createCommentVNode as v, Fragment as E, renderList as G, nextTick as oe } from "vue";
|
|
2
|
-
import { a as te, G as le, af as ie, F as se } from "./app-
|
|
3
|
-
import { a as h, q as T, h as C, d as re } from "./rules-
|
|
4
|
-
import { u as de } from "./use-inventory-binding-dialog-
|
|
5
|
-
import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { a as te, G as le, af as ie, F as se } from "./app-CUlBhkxz.js";
|
|
3
|
+
import { a as h, q as T, h as C, d as re } from "./rules-BTvX30Wt.js";
|
|
4
|
+
import { u as de } from "./use-inventory-binding-dialog-n6m07Y2O.js";
|
|
5
|
+
import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BUSPNpYk.js";
|
|
6
6
|
import { useI18n as ce } from "@feedmepos/mf-common";
|
|
7
7
|
const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-16" }, fe = { class: "flex items-center" }, ve = { class: "flex-1 fm-typo-en-title-sm-600" }, be = { class: "flex flex-col" }, ge = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, _e = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, xe = { class: "flex flex-col w-full border-b border-fm-color-neutral-gray-100" }, he = {
|
|
8
8
|
class: "flex items-center",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, resolveComponent as m, openBlock as c, createBlock 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-CUlBhkxz.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 d, openBlock as F, createBlock as g, withCtx as i, createVNode as A, createElementVNode as k, normalizeClass as K } from "vue";
|
|
2
|
-
import { d as s } from "./rules-
|
|
2
|
+
import { d as s } from "./rules-BTvX30Wt.js";
|
|
3
3
|
const _ = ["value", "disabled"], C = /* @__PURE__ */ V({
|
|
4
4
|
__name: "NumberPrecisionInput",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u, w as _ } from "./xlsx-
|
|
2
|
-
import { o as h, u as F } from "./app-
|
|
1
|
+
import { u, w as _ } from "./xlsx-Bk05m86l.js";
|
|
2
|
+
import { o as h, u as F } from "./app-CUlBhkxz.js";
|
|
3
3
|
import { useCoreStore as y } from "@feedmepos/mf-common";
|
|
4
4
|
import { ref as v, defineComponent as k, resolveComponent as l, openBlock as g, createElementBlock as S, renderSlot as x, createVNode as m, withCtx as w } from "vue";
|
|
5
5
|
function O(e, t) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as Q, ref as D, computed as c, watch as X, resolveComponent as l, openBlock as W, createBlock as z, unref as h, createSlots as Z, withCtx as u, createElementVNode as f, normalizeClass as ee, createVNode as a, normalizeStyle as te, Teleport as oe, h as g } from "vue";
|
|
2
|
-
import { u as ne, a as ae, w as se } from "./app-
|
|
2
|
+
import { u as ne, a as ae, w as se } from "./app-CUlBhkxz.js";
|
|
3
3
|
import { u as le, _ as ie } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
4
4
|
import { useBreakpoints as re, useDialog as ce, useSnackbar as ue, components as B } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as me } from "./vue-i18n-
|
|
6
|
-
import { a as H } from "./date2-
|
|
5
|
+
import { u as me } from "./vue-i18n-lgz-Dtpa.js";
|
|
6
|
+
import { a as H } from "./date2-DN8HBPbX.js";
|
|
7
7
|
const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ye = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, xe = /* @__PURE__ */ Q({
|
|
8
8
|
__name: "PublishView",
|
|
9
9
|
setup(ve) {
|
package/dist/{PurchaseOrderPrintPreview-m2n6OT7Z.js → PurchaseOrderPrintPreview-BU6R8JGC.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as h, computed as m, ref as x, onMounted as f, openBlock as u, createElementBlock as n, createElementVNode as t, toDisplayString as e, normalizeStyle as g, createTextVNode as i, Fragment as o, createCommentVNode as v, renderList as p } from "vue";
|
|
2
2
|
import { useRoute as k } from "vue-router";
|
|
3
|
-
import { L as y } from "./app-
|
|
3
|
+
import { L as y } from "./app-CUlBhkxz.js";
|
|
4
4
|
import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const N = { class: "purchase-box" }, A = { valign: "bottom" }, C = { class: "title" }, R = { class: "text-right" }, O = { class: "header" }, P = { class: "sub-header" }, D = { class: "caption" }, E = { class: "address" }, S = { class: "text-right" }, T = {
|
|
6
6
|
key: 0,
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { reactive as Tt, onMounted as st, watch as fe, computed as N, h as j, defineComponent as de, openBlock as x, createElementBlock as T, Fragment as le, renderList as he, createElementVNode as l, toDisplayString as E, unref as t, resolveComponent as V, createVNode as f, withCtx as O, createCommentVNode as Q, ref as M, createBlock as se, normalizeClass as K, normalizeStyle as Vt, createTextVNode as Ae, toRaw as Mt, shallowRef as Nt, onUnmounted as Ut, mergeProps as ut, isRef as we, createSlots as zt, Teleport as Bt, normalizeProps as Lt, guardReactiveProps as Ht } from "vue";
|
|
2
|
-
import { s as dt, t as me, I as jt, f as Pt, L as Qt, A as Yt, u as ot, a as at, M as Kt, O as Xt, v as Zt, m as et } from "./app-
|
|
3
|
-
import { i as Ct, _ as Wt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as Gt, P as it, a as Jt, _ as es, g as ts } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { R as Be, a as Se, e as tt, d as ss, A as Le, M as os, B as as } from "./rules-
|
|
6
|
-
import { _ as Rt, u as ns, i as ls, e as rs } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { d as wt } from "./dayjs.min-
|
|
2
|
+
import { s as dt, t as me, I as jt, f as Pt, L as Qt, A as Yt, u as ot, a as at, M as Kt, O as Xt, v as Zt, m as et } from "./app-CUlBhkxz.js";
|
|
3
|
+
import { i as Ct, _ as Wt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C8bS92lj.js";
|
|
4
|
+
import { u as Gt, P as it, a as Jt, _ as es, g as ts } from "./TransferDetails.vue_vue_type_script_setup_true_lang-C0tj6lli.js";
|
|
5
|
+
import { R as Be, a as Se, e as tt, d as ss, A as Le, M as os, B as as } from "./rules-BTvX30Wt.js";
|
|
6
|
+
import { _ as Rt, u as ns, i as ls, e as rs } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-D7RBtyzX.js";
|
|
7
|
+
import { d as wt } from "./dayjs.min-DHDLxEZW.js";
|
|
8
8
|
import { u as is } from "./useTabStorage-BkIVScW_.js";
|
|
9
9
|
import { u as us, _ as ds } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
10
10
|
import { useBreakpoints as ct, components as ye, FmButtonVariant as cs, useSnackbar as Oe, useDialog as ms, useProxiedModel as At } from "@feedmepos/ui-library";
|
|
11
11
|
import { F as ze } from "./form-mode.enum-BKiNVH6A.js";
|
|
12
|
-
import { d as St } from "./index-
|
|
13
|
-
import { _ as ps, a as fs, b as vs, F as ys } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { u as nt, c as bs, P as gs } from "./feature-
|
|
15
|
-
import { u as He } from "./netsuite-
|
|
16
|
-
import { c as Pe, u as _s, _ as hs } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { d as St } from "./index-B1t4VoE7.js";
|
|
13
|
+
import { _ as ps, a as fs, b as vs, F as ys } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BUSPNpYk.js";
|
|
14
|
+
import { u as nt, c as bs, P as gs } from "./feature-DWuObhYe.js";
|
|
15
|
+
import { u as He } from "./netsuite-B2mPfmMi.js";
|
|
16
|
+
import { c as Pe, u as _s, _ as hs } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CtVesHcX.js";
|
|
17
17
|
import { useI18n as be } from "@feedmepos/mf-common";
|
|
18
|
-
import { a as ks } from "./FmMultiselectDialog-
|
|
18
|
+
import { a as ks } from "./FmMultiselectDialog-CMc30F6I.js";
|
|
19
19
|
import { F as pe, _ as Ot } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
20
|
-
import { u as mt } from "./supplier-
|
|
21
|
-
import { d as pt, e as xs, g as Cs, b as ws } from "./date2-
|
|
20
|
+
import { u as mt } from "./supplier-ChOjxalb.js";
|
|
21
|
+
import { d as pt, e as xs, g as Cs, b as ws } from "./date2-DN8HBPbX.js";
|
|
22
22
|
import { _ as Ss } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
23
|
-
import { a as Et } from "./format-unit-display-
|
|
24
|
-
import { u as ft } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-
|
|
25
|
-
import { u as Fs } from "./vue-i18n-
|
|
26
|
-
import { s as Is, r as $s } from "./xlsx.util-
|
|
23
|
+
import { a as Et } from "./format-unit-display-DnNolGa4.js";
|
|
24
|
+
import { u as ft } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-1zS3tzCs.js";
|
|
25
|
+
import { u as Fs } from "./vue-i18n-lgz-Dtpa.js";
|
|
26
|
+
import { s as Is, r as $s } from "./xlsx.util-VJnrD8a7.js";
|
|
27
27
|
import { F as Ds } from "./FmDroppableField-J0xUsOTV.js";
|
|
28
|
-
import { d as Ts } from "./defineDeepModel-
|
|
28
|
+
import { d as Ts } from "./defineDeepModel-Dn4y4CxX.js";
|
|
29
29
|
import { N as Vs, H as Ps } from "./app-uBuHtW8m.js";
|
|
30
30
|
var te = /* @__PURE__ */ ((d) => (d.Code = "Code", d.Name = "Name", d.TemplateName = "TemplateName", d.Amount = "Amount", d.Cost = "Cost", d.TotalCost = "TotalCost", d.Delete = "Delete", d))(te || {});
|
|
31
31
|
const Rs = () => (be(), j(
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineComponent as Y, ref as E, onMounted as ie, resolveComponent as F, openBlock as k, createElementBlock as B, Fragment as ue, createElementVNode as x, toDisplayString as ce, createVNode as y, createCommentVNode as q, computed as I, watch as de, createBlock as G, withCtx as U, unref as g, isRef as te, normalizeClass as me, normalizeStyle as pe, Teleport as fe, normalizeProps as ve, guardReactiveProps as ye } from "vue";
|
|
2
|
-
import { a as A, c as Q, S as ge, F as H, j as ne, u as be } from "./app-
|
|
2
|
+
import { a as A, c as Q, S as ge, F as H, j as ne, u as be } from "./app-CUlBhkxz.js";
|
|
3
3
|
import { useDialog as le, useSnackbar as W, useProxiedModel as oe, useBreakpoints as _e } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as Re, _ as he } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { F as C } from "./form-mode.enum-BKiNVH6A.js";
|
|
6
|
-
import { _ as re } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as re } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-q_olC3jj.js";
|
|
7
7
|
import { defineStore as we, storeToRefs as Se } from "pinia";
|
|
8
8
|
import { D as ae, R as K } from "./row-action.enum-BcW_L_nE.js";
|
|
9
9
|
import { c as xe, _ as Ve, F as se } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
10
|
-
import { a as P, R as Ce, U as Ee, A as ke } from "./rules-
|
|
10
|
+
import { a as P, R as Ce, U as Ee, A as ke } from "./rules-BTvX30Wt.js";
|
|
11
11
|
import { useI18n as O } from "@feedmepos/mf-common";
|
|
12
12
|
import { u as Fe, _ as Ie } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
13
|
-
import { _ as $e } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { _ as $e } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-lEFUQ2_w.js";
|
|
14
14
|
import { _ as De } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
15
|
-
import { u as Ae } from "./feature-
|
|
16
|
-
import { b as Be, d as Pe } from "./xlsx.util-
|
|
17
|
-
import { f as Ue } from "./date2-
|
|
18
|
-
import { _ as Te } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
15
|
+
import { u as Ae } from "./feature-DWuObhYe.js";
|
|
16
|
+
import { b as Be, d as Pe } from "./xlsx.util-VJnrD8a7.js";
|
|
17
|
+
import { f as Ue } from "./date2-DN8HBPbX.js";
|
|
18
|
+
import { _ as Te } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C8bS92lj.js";
|
|
19
19
|
const Me = {
|
|
20
20
|
key: 0,
|
|
21
21
|
class: "flex flex-col items-center w-full h-full gap-24"
|