@feedmepos/mf-menu 0.31.27-prod → 0.31.28-beta.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-DNeZM8ET.js → App-Ca6EfbM0.js} +20 -20
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-Dts9vyEs.js → ApplyProduct.vue_vue_type_script_setup_true_lang-TjghlPjP.js} +2 -2
- package/dist/{Catalog-CeTkUKrT.js → Catalog-DcqEymK_.js} +5 -5
- package/dist/{Category-CjzEcwi7.js → Category-DqhkqPn5.js} +5 -5
- package/dist/{Category-B5nVkGhy.js → Category-DrV8RFw0.js} +4 -4
- package/dist/{CookingGuide-JnqAkFij.js → CookingGuide-D5324ACr.js} +3 -3
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-B-1YHLD5.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-C1eTlRgY.js} +1 -1
- package/dist/{Group-o6M3kKKJ.js → Group-DPr6FkUR.js} +3 -3
- package/dist/{Group-BqHJfrJ7.js → Group-DdKAKDX5.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-CnbnU1ip.js → Group.vue_vue_type_script_setup_true_lang-DHUn8wtV.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Bk4FKdGN.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CcL8xIIp.js} +3 -3
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-b3I1aq9G.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CxG33Zfx.js} +5039 -5010
- package/dist/{Ingredient-3zpQ29jx.js → Ingredient-CPMYSTHx.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BUcad7JD.js → InventoryBinding.vue_vue_type_script_setup_true_lang-B8edmN9o.js} +2 -2
- package/dist/{LinkProductSideSheet-DJPCs98V.js → LinkProductSideSheet-CMv-Cl8o.js} +1 -1
- package/dist/{MenuSetting-ExdGEbLJ.js → MenuSetting-DTlVQhH-.js} +4 -4
- package/dist/{PrintRoute-BhK034L7.js → PrintRoute-DZ_go_P2.js} +3 -3
- package/dist/{Product-D4slYS6Q.js → Product-C_fICCS0.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-Bbt-iaJU.js → Product.vue_vue_type_script_setup_true_lang-B5_7D3Uf.js} +11 -11
- package/dist/{ProductInternalTools-pvFhPiGK.js → ProductInternalTools-BB1Fx1SL.js} +6 -6
- package/dist/{Products-nCLjAlVS.js → Products-BSP9BtpB.js} +10 -10
- package/dist/{Publish-q5H6YR77.js → Publish-DfLwMpi0.js} +3 -3
- package/dist/{Recipe-DVrJJaPO.js → Recipe-ckiwtBvy.js} +4 -4
- package/dist/{Scheduler-CXzGNhon.js → Scheduler-GoFfvH3g.js} +3 -3
- package/dist/{ServingSequence-cF0WnmX2.js → ServingSequence-DJRYP2Wa.js} +3 -3
- package/dist/{Setting-lLEy9-v7.js → Setting-BaVXtHHw.js} +4 -4
- package/dist/{Subcategory-YMQc9cw2.js → Subcategory-D1ellIJv.js} +4 -4
- package/dist/{Takeaway-StVhYDE6.js → Takeaway-4mhVvPZX.js} +1 -1
- package/dist/{Takeaway-Dxmuae3b.js → Takeaway-D4kbxdXq.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Dqo1Y_HR.js → Takeaway.vue_vue_type_script_setup_true_lang-DmyujVsL.js} +5 -5
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DgG2YTNE.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DlXbq9hl.js} +13 -13
- package/dist/{Unit-aNDeDuXz.js → Unit-PRuwV5nD.js} +2 -2
- package/dist/{Variant-DOsU90mI.js → Variant-DiA_U-c8.js} +3 -3
- package/dist/{_id_-C9wsTtS9.js → _id_-CX0cWun0.js} +9 -9
- package/dist/{app-k4zSZTgi.js → app-BbWAbjQS.js} +75 -75
- package/dist/{app-CMGBe_oB.js → app-DhM14nc-.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/app.d.ts +4 -0
- package/dist/apps/mf-menu/src/helper/menu.d.ts +1 -0
- package/dist/assets/{linked-status-anphKLbj.js → linked-status-D9s16EpF.js} +2 -2
- package/dist/assets/{override-menu-iBJzLjBb.js → override-menu-DJ-HMb-L.js} +2 -2
- package/dist/assets/{validate-menu-DkSZDIeq.js → validate-menu-B4g9NVpd.js} +2 -2
- package/dist/{catalog-mYpynZrD.js → catalog-DICGX26b.js} +1 -1
- package/dist/{catalogSetting-Dj64AAo1.js → catalogSetting-DNi3sae4.js} +1 -1
- package/dist/{category-BG0hgYmR.js → category-BVdpkvEY.js} +1 -1
- package/dist/{currency-BIwbtKPe.js → currency-D6GTzLnp.js} +1 -1
- package/dist/{dayjs.min-CKV4mIiZ.js → dayjs.min-D1QpwzEr.js} +1 -1
- package/dist/{index-Busw77Ye.js → index-7J2wjscT.js} +1 -1
- package/dist/{index-DdeKrSfd.js → index-CiHIyK0U.js} +3 -3
- package/dist/{index-CuCHkIDK.js → index-DnV90eV6.js} +2 -2
- package/dist/{item-DNEXwR_6.js → item-D-55zj01.js} +15 -15
- package/dist/{jszip.min-DjLhV4XW.js → jszip.min-Dc1Q_2By.js} +545 -545
- package/dist/{menu-BPdXZD7E.js → menu-DCNRkoVE.js} +1 -1
- package/dist/{menu-yNY0i5iA.js → menu-qiZp8pU6.js} +5215 -5195
- package/dist/{priceTier-BfT2SJmZ.js → priceTier-DH9-fsOO.js} +1 -1
- package/dist/scheduler-v8esE-NR.js +515 -0
- package/dist/{subcategory-D1d-_URD.js → subcategory-vXszdIfw.js} +52 -52
- package/dist/{toExcel-sqDI-glp.js → toExcel-CXJmxvpO.js} +2 -2
- package/dist/{unit-D7x7R7uL.js → unit-Fgtp7mfX.js} +1 -1
- package/package.json +2 -2
- package/dist/scheduler-BYKqbSt6.js +0 -473
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { shallowRef as X, ref as T, computed as h, shallowReactive as Fe, effectScope as Re, watch as
|
|
2
|
-
import { H as k, B as O, ak as Z, G as I, al as
|
|
1
|
+
import { shallowRef as X, ref as T, computed as h, shallowReactive as Fe, effectScope as Re, watch as q, defineComponent as Te, resolveComponent as z, createBlock as Ve, openBlock as Ne, unref as N, withCtx as Oe, createVNode as xe } from "vue";
|
|
2
|
+
import { H as k, B as O, ak as Z, G as I, al as G, J as S, I as ee, aa as M, c as D, Y as w, aj as L, am as Pe, an as Ae, A as Ue, ac as Ke, ao as De, ap as $e, a9 as He, u as qe } from "./menu-qiZp8pU6.js";
|
|
3
3
|
import { useCoreStore as J, useI18n as te } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as Ye, useDialogChild as Be } from "@feedmepos/ui-library";
|
|
5
|
-
import { defineStore as
|
|
6
|
-
const
|
|
7
|
-
function
|
|
5
|
+
import { defineStore as We } from "pinia";
|
|
6
|
+
const je = "/assets/linked-status-D9s16EpF.js", ze = "/assets/override-menu-DJ-HMb-L.js";
|
|
7
|
+
function Ge(e) {
|
|
8
8
|
var o;
|
|
9
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
|
-
function
|
|
13
|
-
const r = k(n), f = a ? r.modules.catalog.find((g) => g._id === a) : null, l = o ? r.modules.scheduler.find((g) => g._id === o) : null, i = f ? k(f) : void 0, d = a ? r.modules.catalog.filter((g) => g._id !== a) : [], u = l ? k(l) : void 0, s = e.reduce((g, y) => (g[y._id] =
|
|
12
|
+
function Le(e, n, a, o) {
|
|
13
|
+
const r = k(n), f = a ? r.modules.catalog.find((g) => g._id === a) : null, l = o ? r.modules.scheduler.find((g) => g._id === o) : null, i = f ? k(f) : void 0, d = a ? r.modules.catalog.filter((g) => g._id !== a) : [], u = l ? k(l) : void 0, s = e.reduce((g, y) => (g[y._id] = Ge(y), g), {});
|
|
14
14
|
function p(g = []) {
|
|
15
15
|
const y = e.map((b) => b._id);
|
|
16
16
|
return [
|
|
@@ -35,9 +35,9 @@ function Ge(e, n, a, o) {
|
|
|
35
35
|
...r.modules.scheduler.filter((g) => g._id !== o),
|
|
36
36
|
u
|
|
37
37
|
], r) : {
|
|
38
|
-
...
|
|
38
|
+
...G(),
|
|
39
39
|
modules: {
|
|
40
|
-
...
|
|
40
|
+
...G().modules,
|
|
41
41
|
catalog: r.modules.catalog,
|
|
42
42
|
item: r.modules.item,
|
|
43
43
|
group: r.modules.group,
|
|
@@ -150,7 +150,7 @@ function Qe(e, n) {
|
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
async function dt(e, n, a, o, r, f = !0) {
|
|
153
|
-
const l = k(a), i = f ?
|
|
153
|
+
const l = k(a), i = f ? Le(n, l, o, r) : l, d = n.reduce((p, g) => (p[g._id] = i.modules.item.find((y) => y._id === g._id), p), {}), u = n.reduce((p, g) => {
|
|
154
154
|
const y = g._id;
|
|
155
155
|
return p[y] = Je(d[y], e), p;
|
|
156
156
|
}, {}), s = O.getFallbackPrices({
|
|
@@ -186,7 +186,7 @@ async function ft(e, n) {
|
|
|
186
186
|
if ($.has(a))
|
|
187
187
|
return $.get(a);
|
|
188
188
|
const o = await Z(
|
|
189
|
-
|
|
189
|
+
je,
|
|
190
190
|
JSON.stringify({
|
|
191
191
|
menu: e,
|
|
192
192
|
itemId: n
|
|
@@ -231,13 +231,13 @@ function _t(e, n, a) {
|
|
|
231
231
|
}
|
|
232
232
|
return r(n, a);
|
|
233
233
|
}
|
|
234
|
-
const
|
|
234
|
+
const H = /* @__PURE__ */ new Map();
|
|
235
235
|
async function Xe(e, n, a) {
|
|
236
236
|
const o = `${e._id}-${e.updatedAt}-${n || "null"}-${a || "null"}`;
|
|
237
|
-
if (
|
|
238
|
-
return
|
|
237
|
+
if (H.has(o))
|
|
238
|
+
return H.get(o);
|
|
239
239
|
const r = await ne(e, n, a);
|
|
240
|
-
return
|
|
240
|
+
return H.set(o, r), r;
|
|
241
241
|
}
|
|
242
242
|
async function gt(e, n, a) {
|
|
243
243
|
var l, i;
|
|
@@ -338,7 +338,7 @@ function tt() {
|
|
|
338
338
|
currentSchedulerId: ""
|
|
339
339
|
};
|
|
340
340
|
}
|
|
341
|
-
const nt =
|
|
341
|
+
const nt = We(
|
|
342
342
|
"mf-menu-store-v2",
|
|
343
343
|
() => {
|
|
344
344
|
const e = Fe(tt()), n = J(), a = Ye(), o = h(() => e.menu.modules.serveSequence ? M(e.menu.modules.serveSequence, {
|
|
@@ -353,7 +353,7 @@ const nt = je(
|
|
|
353
353
|
(t) => t._id === e.currentSchedulerId
|
|
354
354
|
));
|
|
355
355
|
function s(t, c = !0) {
|
|
356
|
-
e.menu = { ...t, _rev: e.menu._rev }, c &&
|
|
356
|
+
e.menu = { ...t, _rev: e.menu._rev }, c && E.push(e.menu);
|
|
357
357
|
}
|
|
358
358
|
const p = X(oe()), g = T(!1), y = T(1);
|
|
359
359
|
async function b() {
|
|
@@ -375,7 +375,7 @@ const nt = je(
|
|
|
375
375
|
}
|
|
376
376
|
const V = ee.debounce(b, 200);
|
|
377
377
|
Re(!0).run(() => {
|
|
378
|
-
|
|
378
|
+
q(
|
|
379
379
|
() => [e.menu, e.currentCatalogId, e.currentSchedulerId],
|
|
380
380
|
() => {
|
|
381
381
|
g.value || V();
|
|
@@ -394,19 +394,19 @@ const nt = je(
|
|
|
394
394
|
]), B = h(() => {
|
|
395
395
|
const t = p.value.modules.category;
|
|
396
396
|
return [
|
|
397
|
-
...
|
|
397
|
+
...U.value.item.addon ? [
|
|
398
398
|
{
|
|
399
399
|
_id: e.currentCatalogId ? "" : null,
|
|
400
400
|
name: "Addon",
|
|
401
401
|
position: 0
|
|
402
402
|
}
|
|
403
403
|
] : [],
|
|
404
|
-
...
|
|
404
|
+
...w(t, (c) => c.name)
|
|
405
405
|
];
|
|
406
406
|
}), re = h(() => {
|
|
407
407
|
const t = p.value.modules.subCategory || [];
|
|
408
|
-
return
|
|
409
|
-
}),
|
|
408
|
+
return w(t, (c) => c.name);
|
|
409
|
+
}), W = h(() => {
|
|
410
410
|
var c;
|
|
411
411
|
let t = p.value.modules.item;
|
|
412
412
|
if (i.value) {
|
|
@@ -419,18 +419,18 @@ const nt = je(
|
|
|
419
419
|
return (_ == null ? void 0 : _.orderFrom) !== I.F_ORDER_FROM.enum.NONE;
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
|
-
return
|
|
422
|
+
return w(t, (m) => m.code || m.name);
|
|
423
423
|
}), ae = h(() => {
|
|
424
|
-
const t = e.menu.modules.category, c =
|
|
424
|
+
const t = e.menu.modules.category, c = w(t, (v) => v.name).reduce(
|
|
425
425
|
(v, _, C) => (v[_._id] = C, v),
|
|
426
426
|
{ "": 0 }
|
|
427
427
|
), m = e.menu.modules.item;
|
|
428
|
-
return
|
|
428
|
+
return w(
|
|
429
429
|
m,
|
|
430
430
|
(v) => v.code || v.name
|
|
431
431
|
).reduce((v, _, C) => (v[_._id] = C + c[_.category || ""], v), {});
|
|
432
|
-
}), se = h(() =>
|
|
433
|
-
const t =
|
|
432
|
+
}), se = h(() => L(A.value, B.value, W.value)), ue = h(() => {
|
|
433
|
+
const t = U.value.item.addon ? [
|
|
434
434
|
{
|
|
435
435
|
_id: e.currentCatalogId ? "" : null,
|
|
436
436
|
name: "Addon",
|
|
@@ -438,7 +438,7 @@ const nt = je(
|
|
|
438
438
|
},
|
|
439
439
|
...e.menu.modules.category
|
|
440
440
|
] : e.menu.modules.category;
|
|
441
|
-
return
|
|
441
|
+
return L(
|
|
442
442
|
e.menu.modules.variant,
|
|
443
443
|
t,
|
|
444
444
|
e.menu.modules.item
|
|
@@ -451,14 +451,14 @@ const nt = je(
|
|
|
451
451
|
const c = t.map((v) => A.value.find((_) => _._id === v)).filter((v) => !!v);
|
|
452
452
|
return O.fullVariantCombination(c).reduce((v, _) => (v[_.combinationKey] = _.selectionName.join(" / "), v), {});
|
|
453
453
|
}
|
|
454
|
-
const ce = h(() =>
|
|
454
|
+
const ce = h(() => w(p.value.modules.group, (t) => t.name)), le = h(() => M(p.value.modules.takeaway, { selector: "name" })), de = h(() => M(e.menu.modules.printDepartment || [], {
|
|
455
455
|
selector: "name"
|
|
456
456
|
})), me = h(() => M(e.menu.modules.unit, { selector: "name" })), fe = h(() => M(Pe(e.menu.modules.recipe, e.menu.modules.sku), {
|
|
457
457
|
selector: "name"
|
|
458
458
|
})), pe = h(() => e.menu.modules.cookingGuide), _e = h(() => {
|
|
459
459
|
const t = Ae(e.menu.modules.sku);
|
|
460
460
|
return M(t, { selector: "code" });
|
|
461
|
-
}),
|
|
461
|
+
}), U = h(() => {
|
|
462
462
|
const t = !e.currentCatalogId, c = r.value === D.F_MENU_VERSION.v4, m = !e.currentSchedulerId, v = {
|
|
463
463
|
create: t && m,
|
|
464
464
|
edit: t && m,
|
|
@@ -527,7 +527,7 @@ const nt = je(
|
|
|
527
527
|
}
|
|
528
528
|
};
|
|
529
529
|
});
|
|
530
|
-
function
|
|
530
|
+
function K(t) {
|
|
531
531
|
return `${t.systemCode}/${t.taxCode}`;
|
|
532
532
|
}
|
|
533
533
|
function ge(t) {
|
|
@@ -535,15 +535,15 @@ const nt = je(
|
|
|
535
535
|
return { systemCode: c, taxCode: m };
|
|
536
536
|
}
|
|
537
537
|
function ve(t, c, m) {
|
|
538
|
-
return (t ?? c ?? []).map((v) =>
|
|
538
|
+
return (t ?? c ?? []).map((v) => K(v)).find((v) => m.some((_) => _.value === v));
|
|
539
539
|
}
|
|
540
540
|
const ye = h(() => {
|
|
541
541
|
var v;
|
|
542
|
-
const t = ["SV5", "SV10"], c =
|
|
542
|
+
const t = ["SV5", "SV10"], c = Ue.Country.getCountryFlattenTaxes(
|
|
543
543
|
J().currentCountry.value
|
|
544
544
|
), m = c.filter((_) => f.value || !t.includes(_.taxCode)).map((_) => ({
|
|
545
|
-
label: `${_.name} (${
|
|
546
|
-
value:
|
|
545
|
+
label: `${_.name} (${Ke(_.rate)}%)`,
|
|
546
|
+
value: K(_),
|
|
547
547
|
meta: {
|
|
548
548
|
rate: _.rate
|
|
549
549
|
}
|
|
@@ -553,12 +553,12 @@ const nt = je(
|
|
|
553
553
|
countryTaxOptions: m
|
|
554
554
|
};
|
|
555
555
|
}), he = async () => {
|
|
556
|
-
const t = await
|
|
557
|
-
e.menu = t ?? e.menu,
|
|
556
|
+
const t = await He.readMenu();
|
|
557
|
+
e.menu = t ?? e.menu, j(null);
|
|
558
558
|
}, be = async () => {
|
|
559
559
|
const { fetchAllRestaurants: t } = $e(), c = await t();
|
|
560
560
|
e.restaurants = M(c, { selector: "name" });
|
|
561
|
-
},
|
|
561
|
+
}, j = (t) => {
|
|
562
562
|
e.currentCatalogId = t;
|
|
563
563
|
}, Ce = (t) => {
|
|
564
564
|
e.currentSchedulerId = t;
|
|
@@ -588,7 +588,7 @@ const nt = je(
|
|
|
588
588
|
message: _
|
|
589
589
|
});
|
|
590
590
|
}
|
|
591
|
-
},
|
|
591
|
+
}, Ee = async (t) => {
|
|
592
592
|
const c = {
|
|
593
593
|
...e.menu,
|
|
594
594
|
masterCatalogSetting: t.masterCatalogSetting,
|
|
@@ -596,7 +596,7 @@ const nt = je(
|
|
|
596
596
|
priceTierSettings: t.priceTierSettings
|
|
597
597
|
};
|
|
598
598
|
return s(c), c;
|
|
599
|
-
},
|
|
599
|
+
}, E = Ze({ maxHistorySize: 50 }), we = h(() => E.canUndo.value), Ie = h(() => E.canRedo.value);
|
|
600
600
|
return {
|
|
601
601
|
state: e,
|
|
602
602
|
// loading state
|
|
@@ -615,7 +615,7 @@ const nt = je(
|
|
|
615
615
|
catalogOptions: P,
|
|
616
616
|
categories: B,
|
|
617
617
|
subcategories: re,
|
|
618
|
-
items:
|
|
618
|
+
items: W,
|
|
619
619
|
sortedItems: ae,
|
|
620
620
|
categorizedItems: se,
|
|
621
621
|
categorizedRawMenuItems: ue,
|
|
@@ -627,36 +627,36 @@ const nt = je(
|
|
|
627
627
|
recipes: fe,
|
|
628
628
|
cookingGuide: pe,
|
|
629
629
|
skus: _e,
|
|
630
|
-
rules:
|
|
630
|
+
rules: U,
|
|
631
631
|
taxSetting: ye,
|
|
632
632
|
// Action
|
|
633
633
|
setMenu: s,
|
|
634
634
|
readMenu: he,
|
|
635
635
|
readRestaurants: be,
|
|
636
|
-
selectCatalog:
|
|
636
|
+
selectCatalog: j,
|
|
637
637
|
selectScheduler: Ce,
|
|
638
638
|
selectCategory: Me,
|
|
639
639
|
updateMenu: Se,
|
|
640
|
-
updateMenuSetting:
|
|
640
|
+
updateMenuSetting: Ee,
|
|
641
641
|
computeMergedMenu: b,
|
|
642
642
|
// helper
|
|
643
|
-
encodeTax:
|
|
643
|
+
encodeTax: K,
|
|
644
644
|
decodeTax: ge,
|
|
645
645
|
getSelectedTax: ve,
|
|
646
646
|
mapVariant: ie,
|
|
647
647
|
// history
|
|
648
|
-
canUndoHistory:
|
|
648
|
+
canUndoHistory: we,
|
|
649
649
|
canRedoHistory: Ie,
|
|
650
650
|
undoHistory: () => {
|
|
651
|
-
const t =
|
|
651
|
+
const t = E.undo();
|
|
652
652
|
t && s(t, !1);
|
|
653
653
|
},
|
|
654
654
|
redoHistory: () => {
|
|
655
|
-
const t =
|
|
655
|
+
const t = E.redo();
|
|
656
656
|
t && s(t, !1);
|
|
657
657
|
},
|
|
658
658
|
clearHistory: () => {
|
|
659
|
-
|
|
659
|
+
E.clear();
|
|
660
660
|
}
|
|
661
661
|
};
|
|
662
662
|
}
|
|
@@ -667,14 +667,14 @@ const nt = je(
|
|
|
667
667
|
},
|
|
668
668
|
setup(e) {
|
|
669
669
|
const n = e, { t: a } = te();
|
|
670
|
-
|
|
670
|
+
q(
|
|
671
671
|
() => n.initialValue,
|
|
672
672
|
(l) => {
|
|
673
673
|
o.value = l ?? "";
|
|
674
674
|
}
|
|
675
675
|
);
|
|
676
676
|
const o = T(n.initialValue), { emitData: r, emitAction: f } = Be();
|
|
677
|
-
return
|
|
677
|
+
return q(
|
|
678
678
|
o,
|
|
679
679
|
(l) => {
|
|
680
680
|
r(l);
|
|
@@ -730,7 +730,7 @@ const nt = je(
|
|
|
730
730
|
operation: S.F_OPERATION_TYPE.create,
|
|
731
731
|
data: {
|
|
732
732
|
name: s,
|
|
733
|
-
position:
|
|
733
|
+
position: qe().subcategories.length
|
|
734
734
|
}
|
|
735
735
|
};
|
|
736
736
|
a ? await r(p) : await n.updateMenu(p, s), e.close();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as C } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import "./menu-
|
|
1
|
+
import { b as C } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-CxG33Zfx.js";
|
|
2
|
+
import "./menu-qiZp8pU6.js";
|
|
3
3
|
var Z = {
|
|
4
4
|
defaultAmount: 0,
|
|
5
5
|
defaultCurrency: "USD",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore as J } from "pinia";
|
|
2
2
|
import { defineComponent as O, computed as U, ref as h, watch as T, resolveComponent as V, createBlock as W, openBlock as F, withCtx as w, createVNode as m, createElementVNode as f, normalizeClass as Q, 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 { a7 as B, a8 as te, a5 as P, H as k, O as $, D as I, B as E, I as ne, a6 as ae, J as C, G as D, u as oe } from "./menu-
|
|
3
|
+
import { a7 as B, a8 as te, a5 as P, H as k, O as $, D as I, B as E, I as ne, a6 as ae, J as C, G as D, u as oe } from "./menu-qiZp8pU6.js";
|
|
4
4
|
import { useI18n as L } 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";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-menu",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.28-beta.1",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"vue3-lottie": "^3.3.0",
|
|
54
54
|
"vuedraggable": "^4.1.0",
|
|
55
55
|
"xlsx": "^0.18.5",
|
|
56
|
-
"@feedmepos/mf-common": "^1.26.
|
|
56
|
+
"@feedmepos/mf-common": "^1.26.12"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@rollup/plugin-commonjs": "^28.0.2",
|