@feedmepos/mf-menu 0.31.14-prod → 0.31.15-prod
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-B1vRSn4G.js → App-BNGtZx9p.js} +6 -6
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-eDOuUKea.js → ApplyProduct.vue_vue_type_script_setup_true_lang-Dx2lCyY5.js} +2 -2
- package/dist/{Catalog-DINSs8NF.js → Catalog-CKFay-NG.js} +5 -5
- package/dist/{Category-Gf1b-9KQ.js → Category-B9hu1DoY.js} +5 -5
- package/dist/{Category-lYrlrBEY.js → Category-DXqKlHDs.js} +4 -4
- package/dist/{CookingGuide-xkK-57gr.js → CookingGuide-Ba7NNekZ.js} +3 -3
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-T2yhTt-O.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-EXgH1nPG.js} +1 -1
- package/dist/{Group-CLSjp-iO.js → Group-BZJVxJZ9.js} +1 -1
- package/dist/{Group-VqLrp3Zi.js → Group-C6bEA2TE.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-ubxvQqUr.js → Group.vue_vue_type_script_setup_true_lang-bpgH2tWK.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BlC1hJSV.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Ba1Lz1HY.js} +3 -3
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-1SzMrwsu.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DjlIlelb.js} +6 -6
- package/dist/{Ingredient-BJY2qss1.js → Ingredient-CAaFa_2m.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-X4CJx1MD.js → InventoryBinding.vue_vue_type_script_setup_true_lang-yrW9h3H1.js} +2 -2
- package/dist/{LinkProductSideSheet-BPqxOKFE.js → LinkProductSideSheet-BjpwyV_8.js} +1 -1
- package/dist/{MenuSetting-DoH1hCL2.js → MenuSetting-BywcRxzf.js} +4 -4
- package/dist/{PrintRoute-C_7hQlKF.js → PrintRoute-Br_Ie74F.js} +3 -3
- package/dist/{Product-BY6rYNWs.js → Product-Bxj__V02.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-CPB_80UB.js → Product.vue_vue_type_script_setup_true_lang-CW5dxXYX.js} +11 -11
- package/dist/{Products-Bo0GLhqh.js → Products-BMIBDD3d.js} +10 -10
- package/dist/Publish-Dw4hgBsT.js +569 -0
- package/dist/{Recipe-CrtkqI4g.js → Recipe-Dx3dYqdb.js} +4 -4
- package/dist/{Scheduler-BXWkFbPl.js → Scheduler-6tzAN57N.js} +3 -3
- package/dist/{ServingSequence-Ip13GxVP.js → ServingSequence-GrDAyx3q.js} +3 -3
- package/dist/{Setting-DWEhlh22.js → Setting-CQlb1VMr.js} +4 -4
- package/dist/{Subcategory-DjqfRJ4l.js → Subcategory-DooQjAXv.js} +4 -4
- package/dist/{Takeaway-C_NseTz5.js → Takeaway-BOnWybP6.js} +4 -4
- package/dist/{Takeaway-DCEN8U_L.js → Takeaway-CTDbbeKl.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BM9GpET_.js → Takeaway.vue_vue_type_script_setup_true_lang-BcQtsmUg.js} +5 -5
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D-FwzQwW.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BPV9qeZy.js} +12 -12
- package/dist/{Unit-Dox7Xn2H.js → Unit-CSCzRQhO.js} +2 -2
- package/dist/{Variant-DyaoY_F4.js → Variant-DU4qDPVh.js} +3 -3
- package/dist/{_id_-BkZNSeHB.js → _id_-CsKRJkRu.js} +9 -9
- package/dist/{app-QF6YR_br.js → app-CyCl1JpX.js} +1 -1
- package/dist/{app-Dt4HxTgk.js → app-DBfpUTQf.js} +26 -25
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-cHzQAg5J.js → linked-status-BqD4090R.js} +2 -2
- package/dist/assets/{override-menu-C_imEkkD.js → override-menu-53i43cdt.js} +2 -2
- package/dist/assets/{validate-menu-BylCfbEQ.js → validate-menu-C5v2SE5a.js} +2 -2
- package/dist/{catalog-BBJLCMQs.js → catalog-DAK_puhU.js} +1 -1
- package/dist/{catalogSetting-BT3SGTnr.js → catalogSetting-jINNA5Fm.js} +1 -1
- package/dist/{category-DHIAo9R_.js → category-DMknD6Kh.js} +1 -1
- package/dist/{currency-CF2elIGc.js → currency-BtdSEyhz.js} +1 -1
- package/dist/{dayjs.min-DTD3s98V.js → dayjs.min-CqOcu-iz.js} +1 -1
- package/dist/{index-E-3k6_wI.js → index-ClTCetL-.js} +2 -2
- package/dist/{index-tOyM3etE.js → index-D-jITW50.js} +3 -3
- package/dist/{index-9ldMbFkz.js → index-JBLupN1N.js} +1 -1
- package/dist/{item-DbD19dTs.js → item-BRrINn5Y.js} +14 -14
- package/dist/{menu-D2bBcj5l.js → menu-CWfNA8NU.js} +1 -1
- package/dist/{menu-Ds6C2AI_.js → menu-CcEfeFDL.js} +5 -5
- package/dist/{priceTier-Dey5MTGI.js → priceTier-B14je4mZ.js} +1 -1
- package/dist/{scheduler-BzEqKDCE.js → scheduler-e4KGVxkR.js} +3 -3
- package/dist/{subcategory-korIzSgU.js → subcategory-p52kWLwr.js} +48 -48
- package/dist/{toExcel-CLuJDFoU.js → toExcel-BGQTOb53.js} +2 -2
- package/dist/{unit-BNIcNwgS.js → unit-CjIeseVY.js} +1 -1
- package/package.json +1 -1
- package/dist/Publish-yx7N-Mpv.js +0 -547
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { shallowRef as Z, ref as
|
|
2
|
-
import { J as
|
|
1
|
+
import { shallowRef as Z, ref as T, computed as h, shallowReactive as Re, effectScope as Te, watch as H, defineComponent as Ve, resolveComponent as z, createBlock as Ne, openBlock as Oe, unref as N, withCtx as Pe, createVNode as xe } from "vue";
|
|
2
|
+
import { J as k, A as O, aj as ee, I, ak as G, M as S, K as te, a9 as C, c as D, $ as E, ai as L, al as Ae, am as Ke, z as Ue, ab as De, an as $e, a8 as J, u as qe } from "./menu-CcEfeFDL.js";
|
|
3
3
|
import { useCoreStore as Q, useI18n as ne } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as He, useDialogChild as Ye } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as We } from "pinia";
|
|
6
|
-
const je = "/assets/linked-status-
|
|
7
|
-
function
|
|
6
|
+
const je = "/assets/linked-status-BqD4090R.js", Be = "/assets/override-menu-53i43cdt.js";
|
|
7
|
+
function ze(e) {
|
|
8
8
|
var o;
|
|
9
|
-
const n =
|
|
9
|
+
const n = k(e), a = (o = n.variant) == null ? void 0 : o.variantCombinations;
|
|
10
10
|
return delete n.variant, delete n.thumbnail, [n, ...a || []];
|
|
11
11
|
}
|
|
12
12
|
function Ge(e, n, a, o) {
|
|
13
|
-
const r =
|
|
13
|
+
const r = k(n), f = a ? r.modules.catalog.find((_) => _._id === a) : null, d = o ? r.modules.scheduler.find((_) => _._id === o) : null, i = f ? k(f) : void 0, m = a ? r.modules.catalog.filter((_) => _._id !== a) : [], u = d ? k(d) : void 0, s = e.reduce((_, y) => (_[y._id] = ze(y), _), {});
|
|
14
14
|
function p(_ = []) {
|
|
15
15
|
const y = e.map((b) => b._id);
|
|
16
16
|
return [
|
|
@@ -25,7 +25,7 @@ function Ge(e, n, a, o) {
|
|
|
25
25
|
_id: o,
|
|
26
26
|
items: p(u == null ? void 0 : u.items).map((_) => ({
|
|
27
27
|
..._,
|
|
28
|
-
orderFrom:
|
|
28
|
+
orderFrom: I.F_ORDER_FROM.enum.ALL
|
|
29
29
|
}))
|
|
30
30
|
}
|
|
31
31
|
}, r.modules.catalog = [...m, i], r) : i ? (i.override.items = {
|
|
@@ -46,7 +46,7 @@ function Ge(e, n, a, o) {
|
|
|
46
46
|
_id: r._id
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function R(e, n, a) {
|
|
50
50
|
var f;
|
|
51
51
|
if (a >= 3) return e;
|
|
52
52
|
const o = n.modules.item.find((d) => d._id === e._id);
|
|
@@ -61,8 +61,8 @@ function T(e, n, a) {
|
|
|
61
61
|
const y = (b = i.items) == null ? void 0 : b.find(
|
|
62
62
|
(F) => F._id === _._id && F.combinationKey === _.combinationKey
|
|
63
63
|
);
|
|
64
|
-
return
|
|
65
|
-
})) ?? [] : m = ((p = d.items) == null ? void 0 : p.map((_) =>
|
|
64
|
+
return R(y || _, n, a + 1);
|
|
65
|
+
})) ?? [] : m = ((p = d.items) == null ? void 0 : p.map((_) => R(_, n, a + 1))) ?? [], {
|
|
66
66
|
...d,
|
|
67
67
|
items: m
|
|
68
68
|
};
|
|
@@ -83,16 +83,16 @@ function Le(e, n) {
|
|
|
83
83
|
(_) => _._id === m._id && _.combinationKey === m.combinationKey
|
|
84
84
|
);
|
|
85
85
|
if (u)
|
|
86
|
-
return
|
|
86
|
+
return R(u, n, 1);
|
|
87
87
|
const s = {
|
|
88
88
|
...O.generator.initMenuV4ItemOverrider(),
|
|
89
89
|
_id: m._id,
|
|
90
90
|
combinationKey: m.combinationKey
|
|
91
91
|
};
|
|
92
|
-
return
|
|
92
|
+
return R(s, n, 1);
|
|
93
93
|
});
|
|
94
94
|
return { ...f, items: i };
|
|
95
|
-
}), o = e.variant ? e.variant.variantCombinations.map((f) =>
|
|
95
|
+
}), o = e.variant ? e.variant.variantCombinations.map((f) => R(f, n, 1)) : [], r = {
|
|
96
96
|
...O.generator.initMenuV4ItemOverrider(),
|
|
97
97
|
_id: e._id,
|
|
98
98
|
name: e.name,
|
|
@@ -150,7 +150,7 @@ function Je(e, n) {
|
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
async function lt(e, n, a, o, r, f = !0) {
|
|
153
|
-
const d =
|
|
153
|
+
const d = k(a), i = f ? Ge(n, d, o, r) : d, m = n.reduce((p, _) => (p[_._id] = i.modules.item.find((y) => y._id === _._id), p), {}), u = n.reduce((p, _) => {
|
|
154
154
|
const y = _._id;
|
|
155
155
|
return p[y] = Le(m[y], e), p;
|
|
156
156
|
}, {}), s = O.getFallbackPrices({
|
|
@@ -195,7 +195,7 @@ async function mt(e, n) {
|
|
|
195
195
|
return $.set(a, o), o;
|
|
196
196
|
}
|
|
197
197
|
async function oe(e, n, a) {
|
|
198
|
-
return await ee(
|
|
198
|
+
return await ee(Be, {
|
|
199
199
|
menu: e,
|
|
200
200
|
catalogId: n,
|
|
201
201
|
schedulerId: a
|
|
@@ -242,7 +242,7 @@ async function Qe(e, n, a) {
|
|
|
242
242
|
async function _t(e, n, a) {
|
|
243
243
|
var d, i;
|
|
244
244
|
const o = await Qe(e, n, null), r = [], f = (m, u) => {
|
|
245
|
-
const s =
|
|
245
|
+
const s = k(m);
|
|
246
246
|
for (const p in u)
|
|
247
247
|
u[p] && (s[p] = u[p]);
|
|
248
248
|
return s;
|
|
@@ -268,7 +268,7 @@ async function _t(e, n, a) {
|
|
|
268
268
|
function Xe({
|
|
269
269
|
maxHistorySize: e = 50
|
|
270
270
|
}) {
|
|
271
|
-
const n = Z([]), a =
|
|
271
|
+
const n = Z([]), a = T(-1), o = h(() => a.value > 0), r = h(() => a.value < n.value.length - 1);
|
|
272
272
|
function f(u) {
|
|
273
273
|
n.value.push(u), a.value++, n.value.length > e && (n.value.shift(), a.value--);
|
|
274
274
|
}
|
|
@@ -341,7 +341,7 @@ function et() {
|
|
|
341
341
|
const tt = We(
|
|
342
342
|
"mf-menu-store-v2",
|
|
343
343
|
() => {
|
|
344
|
-
const e =
|
|
344
|
+
const e = Re(et()), n = Q(), a = He(), o = h(() => e.menu.modules.serveSequence ? C(e.menu.modules.serveSequence, {
|
|
345
345
|
selector: "position"
|
|
346
346
|
}) : []), r = h(() => {
|
|
347
347
|
var t;
|
|
@@ -353,9 +353,9 @@ const tt = We(
|
|
|
353
353
|
(t) => t._id === e.currentSchedulerId
|
|
354
354
|
));
|
|
355
355
|
function s(t, l = !0) {
|
|
356
|
-
e.menu = { ...t, _rev: e.menu._rev }, l &&
|
|
356
|
+
e.menu = { ...t, _rev: e.menu._rev }, l && w.push(e.menu);
|
|
357
357
|
}
|
|
358
|
-
const p = Z(re()), _ =
|
|
358
|
+
const p = Z(re()), _ = T(!1), y = T(1);
|
|
359
359
|
async function b() {
|
|
360
360
|
_.value = !0;
|
|
361
361
|
const t = await oe(
|
|
@@ -374,7 +374,7 @@ const tt = We(
|
|
|
374
374
|
return p.value = t, _.value = !1, y.value = y.value + 1, t;
|
|
375
375
|
}
|
|
376
376
|
const V = te.debounce(b, 200);
|
|
377
|
-
|
|
377
|
+
Te(!0).run(() => {
|
|
378
378
|
H(
|
|
379
379
|
() => [e.menu, e.currentCatalogId, e.currentSchedulerId],
|
|
380
380
|
() => {
|
|
@@ -401,11 +401,11 @@ const tt = We(
|
|
|
401
401
|
position: 0
|
|
402
402
|
}
|
|
403
403
|
] : [],
|
|
404
|
-
...
|
|
404
|
+
...E(t, (l) => l.name)
|
|
405
405
|
];
|
|
406
406
|
}), ae = h(() => {
|
|
407
407
|
const t = p.value.modules.subCategory || [];
|
|
408
|
-
return
|
|
408
|
+
return E(t, (l) => l.name);
|
|
409
409
|
}), j = h(() => {
|
|
410
410
|
var l;
|
|
411
411
|
let t = p.value.modules.item;
|
|
@@ -416,16 +416,16 @@ const tt = We(
|
|
|
416
416
|
const v = (M = c == null ? void 0 : c[g._id]) == null ? void 0 : M.find(
|
|
417
417
|
(Fe) => !Fe.combinationKey
|
|
418
418
|
);
|
|
419
|
-
return (v == null ? void 0 : v.orderFrom) !==
|
|
419
|
+
return (v == null ? void 0 : v.orderFrom) !== I.F_ORDER_FROM.enum.NONE;
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
|
-
return
|
|
422
|
+
return E(t, (c) => c.code || c.name);
|
|
423
423
|
}), se = h(() => {
|
|
424
|
-
const t = e.menu.modules.category, l =
|
|
424
|
+
const t = e.menu.modules.category, l = E(t, (g) => g.name).reduce(
|
|
425
425
|
(g, v, M) => (g[v._id] = M, g),
|
|
426
426
|
{ "": 0 }
|
|
427
427
|
), c = e.menu.modules.item;
|
|
428
|
-
return
|
|
428
|
+
return E(
|
|
429
429
|
c,
|
|
430
430
|
(g) => g.code || g.name
|
|
431
431
|
).reduce((g, v, M) => (g[v._id] = M + l[v.category || ""], g), {});
|
|
@@ -451,7 +451,7 @@ const tt = We(
|
|
|
451
451
|
const l = t.map((g) => A.value.find((v) => v._id === g)).filter((g) => !!g);
|
|
452
452
|
return O.fullVariantCombination(l).reduce((g, v) => (g[v.combinationKey] = v.selectionName.join(" / "), g), {});
|
|
453
453
|
}
|
|
454
|
-
const le = h(() =>
|
|
454
|
+
const le = h(() => E(p.value.modules.group, (t) => t.name)), de = h(() => C(p.value.modules.takeaway, { selector: "name" })), me = h(() => C(e.menu.modules.printDepartment || [], {
|
|
455
455
|
selector: "name"
|
|
456
456
|
})), fe = h(() => C(e.menu.modules.unit, { selector: "name" })), pe = h(() => C(Ae(e.menu.modules.recipe, e.menu.modules.sku), {
|
|
457
457
|
selector: "name"
|
|
@@ -554,17 +554,17 @@ const tt = We(
|
|
|
554
554
|
};
|
|
555
555
|
}), be = async () => {
|
|
556
556
|
const t = await J.readMenu();
|
|
557
|
-
e.menu = t ?? e.menu,
|
|
557
|
+
e.menu = t ?? e.menu, B(null);
|
|
558
558
|
}, Me = async () => {
|
|
559
559
|
const t = await J.readRestaurantsWithMenu();
|
|
560
560
|
e.restaurants = C(t, { selector: "name" });
|
|
561
|
-
},
|
|
561
|
+
}, B = (t) => {
|
|
562
562
|
e.currentCatalogId = t;
|
|
563
563
|
}, Ce = (t) => {
|
|
564
564
|
e.currentSchedulerId = t;
|
|
565
565
|
}, Se = (t) => {
|
|
566
566
|
e.currentCategoryIds = t;
|
|
567
|
-
},
|
|
567
|
+
}, we = async (t, l) => {
|
|
568
568
|
const c = Array.isArray(t) ? t : [t];
|
|
569
569
|
if (!c.length) return;
|
|
570
570
|
const g = c.map((v) => ({
|
|
@@ -588,7 +588,7 @@ const tt = We(
|
|
|
588
588
|
message: v
|
|
589
589
|
});
|
|
590
590
|
}
|
|
591
|
-
},
|
|
591
|
+
}, Ee = async (t) => {
|
|
592
592
|
const l = {
|
|
593
593
|
...e.menu,
|
|
594
594
|
masterCatalogSetting: t.masterCatalogSetting,
|
|
@@ -596,7 +596,7 @@ const tt = We(
|
|
|
596
596
|
priceTierSettings: t.priceTierSettings
|
|
597
597
|
};
|
|
598
598
|
return s(l), l;
|
|
599
|
-
},
|
|
599
|
+
}, w = Xe({ maxHistorySize: 50 }), Ie = h(() => w.canUndo.value), ke = h(() => w.canRedo.value);
|
|
600
600
|
return {
|
|
601
601
|
state: e,
|
|
602
602
|
// loading state
|
|
@@ -633,11 +633,11 @@ const tt = We(
|
|
|
633
633
|
setMenu: s,
|
|
634
634
|
readMenu: be,
|
|
635
635
|
readRestaurants: Me,
|
|
636
|
-
selectCatalog:
|
|
636
|
+
selectCatalog: B,
|
|
637
637
|
selectScheduler: Ce,
|
|
638
638
|
selectCategory: Se,
|
|
639
|
-
updateMenu:
|
|
640
|
-
updateMenuSetting:
|
|
639
|
+
updateMenu: we,
|
|
640
|
+
updateMenuSetting: Ee,
|
|
641
641
|
computeMergedMenu: b,
|
|
642
642
|
// helper
|
|
643
643
|
encodeTax: U,
|
|
@@ -645,18 +645,18 @@ const tt = We(
|
|
|
645
645
|
getSelectedTax: ye,
|
|
646
646
|
mapVariant: ce,
|
|
647
647
|
// history
|
|
648
|
-
canUndoHistory:
|
|
649
|
-
canRedoHistory:
|
|
648
|
+
canUndoHistory: Ie,
|
|
649
|
+
canRedoHistory: ke,
|
|
650
650
|
undoHistory: () => {
|
|
651
|
-
const t =
|
|
651
|
+
const t = w.undo();
|
|
652
652
|
t && s(t, !1);
|
|
653
653
|
},
|
|
654
654
|
redoHistory: () => {
|
|
655
|
-
const t =
|
|
655
|
+
const t = w.redo();
|
|
656
656
|
t && s(t, !1);
|
|
657
657
|
},
|
|
658
658
|
clearHistory: () => {
|
|
659
|
-
|
|
659
|
+
w.clear();
|
|
660
660
|
}
|
|
661
661
|
};
|
|
662
662
|
}
|
|
@@ -673,7 +673,7 @@ const tt = We(
|
|
|
673
673
|
o.value = d ?? "";
|
|
674
674
|
}
|
|
675
675
|
);
|
|
676
|
-
const o =
|
|
676
|
+
const o = T(n.initialValue), { emitData: r, emitAction: f } = Ye();
|
|
677
677
|
return H(
|
|
678
678
|
o,
|
|
679
679
|
(d) => {
|
|
@@ -683,7 +683,7 @@ const tt = We(
|
|
|
683
683
|
immediate: !0
|
|
684
684
|
}
|
|
685
685
|
), (d, i) => {
|
|
686
|
-
const m =
|
|
686
|
+
const m = z("fm-text-field"), u = z("FmForm");
|
|
687
687
|
return Oe(), Ne(u, {
|
|
688
688
|
onValidationSuccess: i[1] || (i[1] = (s) => N(f)("primary"))
|
|
689
689
|
}, {
|
|
@@ -708,7 +708,7 @@ const tt = We(
|
|
|
708
708
|
}) => {
|
|
709
709
|
const { t: o } = ne(), r = tt().updateMenu;
|
|
710
710
|
function f() {
|
|
711
|
-
const u =
|
|
711
|
+
const u = T(!1);
|
|
712
712
|
e.open({
|
|
713
713
|
title: o("menu.subcategory.manager.dialog.add.title"),
|
|
714
714
|
contentComponent: X,
|
|
@@ -726,7 +726,7 @@ const tt = We(
|
|
|
726
726
|
try {
|
|
727
727
|
u.value = !0;
|
|
728
728
|
const p = {
|
|
729
|
-
module:
|
|
729
|
+
module: I.F_MENU_MODULE_V4_KEY.enum.subCategory,
|
|
730
730
|
operation: S.F_OPERATION_TYPE.create,
|
|
731
731
|
data: {
|
|
732
732
|
name: s,
|
|
@@ -757,7 +757,7 @@ const tt = We(
|
|
|
757
757
|
}).onPrimary(async (s) => {
|
|
758
758
|
if (!s) return;
|
|
759
759
|
const p = {
|
|
760
|
-
module:
|
|
760
|
+
module: I.F_MENU_MODULE_V4_KEY.enum.subCategory,
|
|
761
761
|
operation: S.F_OPERATION_TYPE.update,
|
|
762
762
|
data: { ...u, name: s ?? u.name }
|
|
763
763
|
};
|
|
@@ -778,7 +778,7 @@ const tt = We(
|
|
|
778
778
|
}
|
|
779
779
|
}).onPrimary(async () => {
|
|
780
780
|
const s = {
|
|
781
|
-
module:
|
|
781
|
+
module: I.F_MENU_MODULE_V4_KEY.enum.subCategory,
|
|
782
782
|
operation: S.F_OPERATION_TYPE.delete,
|
|
783
783
|
data: u._id
|
|
784
784
|
};
|
|
@@ -787,7 +787,7 @@ const tt = We(
|
|
|
787
787
|
}
|
|
788
788
|
async function m(u) {
|
|
789
789
|
const s = {
|
|
790
|
-
module:
|
|
790
|
+
module: I.F_MENU_MODULE_V4_KEY.enum.subCategory,
|
|
791
791
|
operation: S.F_OPERATION_TYPE.rearrange,
|
|
792
792
|
data: u
|
|
793
793
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as C } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import "./menu-
|
|
1
|
+
import { c as C } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DjlIlelb.js";
|
|
2
|
+
import "./menu-CcEfeFDL.js";
|
|
3
3
|
var Z = {
|
|
4
4
|
defaultAmount: 0,
|
|
5
5
|
defaultCurrency: "USD",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore as Q } from "pinia";
|
|
2
2
|
import { defineComponent as T, computed as U, ref as h, watch as L, resolveComponent as V, createBlock as W, openBlock as F, withCtx as w, createVNode as m, createElementVNode as f, normalizeClass as H, createElementBlock as A, toDisplayString as M, unref as l, Fragment as q, renderSlot as X, renderList as Z, getCurrentInstance as ee } from "vue";
|
|
3
|
-
import { a6 as P, a7 as te, a4 as B, J as k, Q as $, G as I, A as E, K as ne, a5 as ae, M as C, I as D, u as oe } from "./menu-
|
|
3
|
+
import { a6 as P, a7 as te, a4 as B, J as k, Q as $, G as I, A as E, K as ne, a5 as ae, M as C, I as D, u as oe } from "./menu-CcEfeFDL.js";
|
|
4
4
|
import { useI18n as N } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as j, components as le, useDialog as ue, FmButtonVariant as ie } from "@feedmepos/ui-library";
|
|
6
6
|
import { u as se } from "./discardConfirm-BHni0LNu.js";
|