@feedmepos/mf-menu 0.31.41-beta.1 → 0.31.41-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-VsIyQHXt.js → App-5Lzy8zHZ.js} +9 -9
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CNGpNpet.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BnKXsQH-.js} +3 -3
- package/dist/{Catalog-BE6kyZQ-.js → Catalog-s5b8V8nw.js} +6 -6
- package/dist/{Category-DxM4Tdca.js → Category-BJzScJEY.js} +4 -4
- package/dist/{Category-CF3O0gMm.js → Category-DZ-xqIMI.js} +6 -6
- package/dist/{CookingGuide-BmWWW6tm.js → CookingGuide-Bkd6GPww.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DWsHMnOM.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-B8tIjKOW.js} +1 -1
- package/dist/{Group-DUCKmiji.js → Group-0b2Qiov3.js} +1 -1
- package/dist/{Group-BnC7jWVP.js → Group-BOaCcKiI.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-D3tXW_2y.js → Group.vue_vue_type_script_setup_true_lang-DUlUfMAs.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-o911MWQf.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CouimeC4.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-C4rc779s.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DOvQmbrZ.js} +7 -7
- package/dist/{Ingredient-DAyIe9Q1.js → Ingredient-ChcYUvOg.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-eS-s0QgZ.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DE1HkipX.js} +2 -2
- package/dist/{LinkProductSideSheet-COcDiMw7.js → LinkProductSideSheet-BdzBGYxG.js} +3 -3
- package/dist/{MenuSetting-CT9tX-2N.js → MenuSetting-zAAttaoA.js} +5 -5
- package/dist/{PrintRoute-C7O0sEs_.js → PrintRoute-T-vuO5N8.js} +4 -4
- package/dist/{Product-BNWXYnVV.js → Product-B5q291VF.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-DhZRfiL4.js → Product.vue_vue_type_script_setup_true_lang-DLRlT10W.js} +13 -13
- package/dist/{ProductInternalTools-CjRPYRec.js → ProductInternalTools-BOlc0VUR.js} +6 -6
- package/dist/{Products-BFeTZAoi.js → Products-Cd4Mqhm3.js} +11 -11
- package/dist/{Publish-BFMGa2E4.js → Publish-SuRzt-_D.js} +3 -3
- package/dist/{Recipe-Dq4yitjf.js → Recipe-BKrjNs5g.js} +4 -4
- package/dist/{Scheduler-kiXI87-F.js → Scheduler-DnDgImLC.js} +3 -3
- package/dist/{ServingSequence-D0gDdQAg.js → ServingSequence-D602bVnm.js} +3 -3
- package/dist/{Setting-Cw7rM_Jr.js → Setting-FMT4oBYH.js} +5 -5
- package/dist/{Subcategory-C_-BeqcX.js → Subcategory-CpYmjAvA.js} +4 -4
- package/dist/{Takeaway-D_fTseq7.js → Takeaway-BXh3iuME.js} +1 -1
- package/dist/{Takeaway-Cav990d7.js → Takeaway-D4hjN5z5.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BnKljAAs.js → Takeaway.vue_vue_type_script_setup_true_lang-By1f-FCO.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-BUHVSTUU.js → Thumbnail.vue_vue_type_script_setup_true_lang-CZUwa5C_.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DE7PZDc2.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DfjtfcCh.js} +15 -15
- package/dist/{Unit-CIRNJWtP.js → Unit-CsjHkV-h.js} +2 -2
- package/dist/{Variant-I_e3I1XV.js → Variant-Djra14ZX.js} +3 -3
- package/dist/{_id_-Cd-WJWQr.js → _id_-BXkqoCzB.js} +10 -10
- package/dist/{app-D3ttvc-R.js → app-CVqWWV4x.js} +25 -25
- package/dist/{app-pKROfc2R.js → app-PhBJNss_.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-Cy2fKPGe.js → linked-status-WlVAcpRn.js} +2 -2
- package/dist/assets/{override-menu-DXoRWnyk.js → override-menu-__h4D7ac.js} +2 -2
- package/dist/assets/{validate-menu-BRvuKAH8.js → validate-menu-DyPuzLRg.js} +2 -2
- package/dist/{catalog-DIySflG6.js → catalog-C_TuQLxq.js} +1 -1
- package/dist/{catalogSetting-C-cosivV.js → catalogSetting-BUlJu6hG.js} +1 -1
- package/dist/{category-Dvd6Jqau.js → category-CmVw1Kj-.js} +1 -1
- package/dist/{currency-Dz4Y4r5t.js → currency-OhOTnAqk.js} +1 -1
- package/dist/{customAttributes-Bbb_cWrY.js → customAttributes-fpOfmGnw.js} +1 -1
- package/dist/{dayjs.min-S18K9oD-.js → dayjs.min-CDhP-7L5.js} +1 -1
- package/dist/{index-C3-VvJZq.js → index-BJZEWB5C.js} +4 -4
- package/dist/{index-x5UhSMtR.js → index-DHAYGEPp.js} +3 -3
- package/dist/{index-CL_4wAig.js → index-DtwHmS38.js} +1 -1
- package/dist/{index-4DNMqDUx.js → index-N3cGc8ex.js} +1 -1
- package/dist/{item-BfZbksTv.js → item-BELLphR0.js} +386 -386
- package/dist/{jszip.min-dJFvcOTj.js → jszip.min-CZtcGb7A.js} +2 -2
- package/dist/{menu-gQpdDQ9v.js → menu-Csyr6W9A.js} +1 -1
- package/dist/{menu-o5HPa3sO.js → menu-DS_ERmBf.js} +7 -7
- package/dist/{menuV2-xpV98zVy.js → menuV2-DKzAZ4Ss.js} +58 -58
- package/dist/{priceTier-ClE-eIg9.js → priceTier-CYWS5lDS.js} +1 -1
- package/dist/{scheduler-C_qZ2TtL.js → scheduler-DI5dXC7Y.js} +4 -4
- package/dist/{subcategory-DX-sci7k.js → subcategory-D_ao-IV9.js} +2 -2
- package/dist/{toExcel-Dl_G_bgh.js → toExcel-Cml-rkJQ.js} +2 -2
- package/dist/{unit-CBhjaNXg.js → unit-BWDp2LkV.js} +2 -2
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ao as L, H as
|
|
2
|
-
import { defineStore as
|
|
3
|
-
import { shallowRef as
|
|
1
|
+
import { ao as L, H as R, D as k, A as J, ap as q, J as U, I as Y, a9 as w, c as N, X as E, aj as B, aq as Me, ar as Ee, B as Re, ab as ke, as as Ie, at as Te, a8 as Fe } from "./menu-DS_ERmBf.js";
|
|
2
|
+
import { defineStore as Ae } from "pinia";
|
|
3
|
+
import { shallowRef as X, ref as D, computed as h, shallowReactive as Pe, effectScope as Ve, watch as Ke } from "vue";
|
|
4
4
|
import { useCoreStore as z } from "@feedmepos/mf-common";
|
|
5
|
-
import { useSnackbar as
|
|
6
|
-
const Ne = "/assets/linked-status-
|
|
5
|
+
import { useSnackbar as Oe } from "@feedmepos/ui-library";
|
|
6
|
+
const Ne = "/assets/linked-status-WlVAcpRn.js", xe = "/assets/override-menu-__h4D7ac.js";
|
|
7
7
|
function $e(e) {
|
|
8
8
|
var a;
|
|
9
|
-
const n =
|
|
9
|
+
const n = R(e), o = (a = n.variant) == null ? void 0 : a.variantCombinations;
|
|
10
10
|
return delete n.variant, delete n.thumbnail, [n, ...o || []];
|
|
11
11
|
}
|
|
12
12
|
function Ue(e, n, o, a) {
|
|
13
|
-
const r =
|
|
13
|
+
const r = R(n), l = o ? r.modules.catalog.find((_) => _._id === o) : null, d = a ? r.modules.scheduler.find((_) => _._id === a) : null, i = l ? R(l) : void 0, c = o ? r.modules.catalog.filter((_) => _._id !== o) : [], m = d ? R(d) : void 0, f = e.reduce((_, y) => (_[y._id] = $e(y), _), {});
|
|
14
14
|
function v(_ = []) {
|
|
15
15
|
const y = e.map((C) => C._id);
|
|
16
16
|
return [
|
|
@@ -85,7 +85,7 @@ function De(e, n) {
|
|
|
85
85
|
if (m)
|
|
86
86
|
return T(m, n, 1);
|
|
87
87
|
const f = {
|
|
88
|
-
...
|
|
88
|
+
...k.generator.initMenuV4ItemOverrider(),
|
|
89
89
|
_id: c._id,
|
|
90
90
|
combinationKey: c.combinationKey
|
|
91
91
|
};
|
|
@@ -93,7 +93,7 @@ function De(e, n) {
|
|
|
93
93
|
});
|
|
94
94
|
return { ...l, items: i };
|
|
95
95
|
}), a = e.variant ? e.variant.variantCombinations.map((l) => T(l, n, 1)) : [], r = {
|
|
96
|
-
...
|
|
96
|
+
...k.generator.initMenuV4ItemOverrider(),
|
|
97
97
|
_id: e._id,
|
|
98
98
|
name: e.name,
|
|
99
99
|
code: e.code,
|
|
@@ -150,10 +150,10 @@ function He(e, n) {
|
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
async function et(e, n, o, a, r, l = !0) {
|
|
153
|
-
const d =
|
|
153
|
+
const d = R(o), i = l ? Ue(n, d, a, r) : d, c = n.reduce((v, _) => (v[_._id] = i.modules.item.find((y) => y._id === _._id), v), {}), m = n.reduce((v, _) => {
|
|
154
154
|
const y = _._id;
|
|
155
155
|
return v[y] = De(c[y], e), v;
|
|
156
|
-
}, {}), f =
|
|
156
|
+
}, {}), f = k.getFallbackPrices({
|
|
157
157
|
rawMenu: i,
|
|
158
158
|
items: m,
|
|
159
159
|
catalogId: a || void 0,
|
|
@@ -232,7 +232,7 @@ function ot(e, n, o) {
|
|
|
232
232
|
return r(n, o);
|
|
233
233
|
}
|
|
234
234
|
const $ = /* @__PURE__ */ new Map();
|
|
235
|
-
async function
|
|
235
|
+
async function We(e, n, o) {
|
|
236
236
|
const a = `${e._id}-${e.updatedAt}-${n || "null"}-${o || "null"}`;
|
|
237
237
|
if ($.has(a))
|
|
238
238
|
return $.get(a);
|
|
@@ -241,8 +241,8 @@ async function Ge(e, n, o) {
|
|
|
241
241
|
}
|
|
242
242
|
async function st(e, n, o) {
|
|
243
243
|
var d, i;
|
|
244
|
-
const a = await
|
|
245
|
-
const f =
|
|
244
|
+
const a = await We(e, n, null), r = [], l = (c, m) => {
|
|
245
|
+
const f = R(c);
|
|
246
246
|
for (const v in m)
|
|
247
247
|
m[v] && (f[v] = m[v]);
|
|
248
248
|
return f;
|
|
@@ -251,9 +251,9 @@ async function st(e, n, o) {
|
|
|
251
251
|
const m = (d = c.items) == null ? void 0 : d.find((v) => v._id === o && !v.combinationKey), f = e.modules.item.find((v) => v._id === o);
|
|
252
252
|
if (m) {
|
|
253
253
|
const v = (i = c.items) == null ? void 0 : i.filter((y) => y._id === o && y.combinationKey), _ = [m, ...v].map((y) => {
|
|
254
|
-
var F,
|
|
255
|
-
const C = y.combinationKey ? (
|
|
256
|
-
(
|
|
254
|
+
var F, A;
|
|
255
|
+
const C = y.combinationKey ? (A = (F = f == null ? void 0 : f.variant) == null ? void 0 : F.variantCombinations) == null ? void 0 : A.find(
|
|
256
|
+
(P) => P.combinationKey === y.combinationKey
|
|
257
257
|
) : f, I = C && f ? l(f, C) : y;
|
|
258
258
|
return l(I, y);
|
|
259
259
|
});
|
|
@@ -265,10 +265,10 @@ async function st(e, n, o) {
|
|
|
265
265
|
}
|
|
266
266
|
return r;
|
|
267
267
|
}
|
|
268
|
-
function
|
|
268
|
+
function Ge({
|
|
269
269
|
maxHistorySize: e = 50
|
|
270
270
|
}) {
|
|
271
|
-
const n =
|
|
271
|
+
const n = X([]), o = D(-1), a = h(() => o.value > 0), r = h(() => o.value < n.value.length - 1);
|
|
272
272
|
function l(m) {
|
|
273
273
|
n.value.push(m), o.value++, n.value.length > e && (n.value.shift(), o.value--);
|
|
274
274
|
}
|
|
@@ -303,7 +303,7 @@ const je = {
|
|
|
303
303
|
modules: o.result || e.modules,
|
|
304
304
|
_rev: o.id ?? ""
|
|
305
305
|
};
|
|
306
|
-
return
|
|
306
|
+
return Y.cloneDeep({ menu: a, updateId: o.id ?? null });
|
|
307
307
|
}
|
|
308
308
|
};
|
|
309
309
|
function Z() {
|
|
@@ -342,10 +342,10 @@ function qe() {
|
|
|
342
342
|
}
|
|
343
343
|
};
|
|
344
344
|
}
|
|
345
|
-
const at =
|
|
345
|
+
const at = Ae(
|
|
346
346
|
"mf-menu-store-v2",
|
|
347
347
|
() => {
|
|
348
|
-
const e =
|
|
348
|
+
const e = Pe(qe()), n = z(), o = Oe(), a = h(() => e.menu.modules.serveSequence ? w(e.menu.modules.serveSequence, {
|
|
349
349
|
selector: "position"
|
|
350
350
|
}) : []), r = h(() => {
|
|
351
351
|
var t;
|
|
@@ -358,7 +358,7 @@ const at = Pe(
|
|
|
358
358
|
let t = e.menu.modules.catalog.find(
|
|
359
359
|
(u) => u._id === e.currentCatalogId
|
|
360
360
|
);
|
|
361
|
-
return t && ((s = t.linkItemRules) != null && s.length) && (t =
|
|
361
|
+
return t && ((s = t.linkItemRules) != null && s.length) && (t = k.populateCatalog({
|
|
362
362
|
catalog: t,
|
|
363
363
|
ruleGroupSettings: e.menu.ruleGroupSettings,
|
|
364
364
|
items: e.menu.modules.item,
|
|
@@ -370,13 +370,13 @@ const at = Pe(
|
|
|
370
370
|
function f(t, s = !0) {
|
|
371
371
|
e.menu = { ...t, _rev: e.menu._rev }, s && M.push(e.menu);
|
|
372
372
|
}
|
|
373
|
-
const v =
|
|
373
|
+
const v = X(Z()), _ = D(!1), y = D(1);
|
|
374
374
|
async function C() {
|
|
375
375
|
var u;
|
|
376
376
|
_.value = !0;
|
|
377
377
|
let t = e.menu.modules.catalog;
|
|
378
378
|
if (i.value && ((u = i.value.linkItemRules) != null && u.length)) {
|
|
379
|
-
const p =
|
|
379
|
+
const p = k.populateCatalog({
|
|
380
380
|
catalog: i.value,
|
|
381
381
|
ruleGroupSettings: e.menu.ruleGroupSettings,
|
|
382
382
|
items: e.menu.modules.item,
|
|
@@ -405,16 +405,16 @@ const at = Pe(
|
|
|
405
405
|
}
|
|
406
406
|
return v.value = s, _.value = !1, y.value = y.value + 1, s;
|
|
407
407
|
}
|
|
408
|
-
const F =
|
|
409
|
-
|
|
410
|
-
|
|
408
|
+
const F = Y.debounce(C, 200);
|
|
409
|
+
Ve(!0).run(() => {
|
|
410
|
+
Ke(
|
|
411
411
|
() => [e.menu, e.currentCatalogId, e.currentSchedulerId],
|
|
412
412
|
() => {
|
|
413
413
|
_.value || F();
|
|
414
414
|
}
|
|
415
415
|
);
|
|
416
416
|
});
|
|
417
|
-
const
|
|
417
|
+
const P = h(() => [
|
|
418
418
|
{
|
|
419
419
|
label: "Main",
|
|
420
420
|
value: null
|
|
@@ -423,22 +423,22 @@ const at = Pe(
|
|
|
423
423
|
label: t.name,
|
|
424
424
|
value: t._id
|
|
425
425
|
}))
|
|
426
|
-
]),
|
|
426
|
+
]), W = h(() => {
|
|
427
427
|
const t = v.value.modules.category;
|
|
428
428
|
return [
|
|
429
|
-
...
|
|
429
|
+
...K.value.item.addon ? [
|
|
430
430
|
{
|
|
431
431
|
_id: e.currentCatalogId ? "" : null,
|
|
432
432
|
name: "Addon",
|
|
433
433
|
position: 0
|
|
434
434
|
}
|
|
435
435
|
] : [],
|
|
436
|
-
...
|
|
436
|
+
...E(t, (s) => s.name)
|
|
437
437
|
];
|
|
438
438
|
}), ee = h(() => {
|
|
439
439
|
const t = v.value.modules.subCategory || [];
|
|
440
|
-
return
|
|
441
|
-
}),
|
|
440
|
+
return E(t, (s) => s.name);
|
|
441
|
+
}), G = h(() => {
|
|
442
442
|
var s;
|
|
443
443
|
let t = v.value.modules.item;
|
|
444
444
|
if (i.value) {
|
|
@@ -451,18 +451,18 @@ const at = Pe(
|
|
|
451
451
|
return (g == null ? void 0 : g.orderFrom) !== J.F_ORDER_FROM.enum.NONE;
|
|
452
452
|
});
|
|
453
453
|
}
|
|
454
|
-
return
|
|
454
|
+
return E(t, (u) => u.code || u.name);
|
|
455
455
|
}), te = h(() => {
|
|
456
|
-
const t = e.menu.modules.category, s =
|
|
456
|
+
const t = e.menu.modules.category, s = E(t, (p) => p.name).reduce(
|
|
457
457
|
(p, g, S) => (p[g._id] = S, p),
|
|
458
458
|
{ "": 0 }
|
|
459
459
|
), u = e.menu.modules.item;
|
|
460
|
-
return
|
|
460
|
+
return E(
|
|
461
461
|
u,
|
|
462
462
|
(p) => p.code || p.name
|
|
463
463
|
).reduce((p, g, S) => (p[g._id] = S + s[g.category || ""], p), {});
|
|
464
|
-
}), ne = h(() => B(
|
|
465
|
-
const t =
|
|
464
|
+
}), ne = h(() => B(V.value, W.value, G.value)), re = h(() => {
|
|
465
|
+
const t = K.value.item.addon ? [
|
|
466
466
|
{
|
|
467
467
|
_id: e.currentCatalogId ? "" : null,
|
|
468
468
|
name: "Addon",
|
|
@@ -475,22 +475,22 @@ const at = Pe(
|
|
|
475
475
|
t,
|
|
476
476
|
e.menu.modules.item
|
|
477
477
|
);
|
|
478
|
-
}),
|
|
478
|
+
}), V = h(() => {
|
|
479
479
|
const t = v.value.modules.variant;
|
|
480
480
|
return w(t, { selector: "name" });
|
|
481
481
|
});
|
|
482
482
|
function oe(t = []) {
|
|
483
|
-
const s = t.map((p) =>
|
|
484
|
-
return
|
|
483
|
+
const s = t.map((p) => V.value.find((g) => g._id === p)).filter((p) => !!p);
|
|
484
|
+
return k.fullVariantCombination(s).reduce((p, g) => (p[g.combinationKey] = g.selectionName.join(" / "), p), {});
|
|
485
485
|
}
|
|
486
|
-
const se = h(() =>
|
|
486
|
+
const se = h(() => E(v.value.modules.group, (t) => t.name)), ae = h(() => w(v.value.modules.takeaway, { selector: "name" })), ue = h(() => w(e.menu.modules.printDepartment || [], {
|
|
487
487
|
selector: "name"
|
|
488
488
|
})), ie = h(() => w(e.menu.modules.unit, { selector: "name" })), ce = h(() => w(Me(e.menu.modules.recipe, e.menu.modules.sku), {
|
|
489
489
|
selector: "name"
|
|
490
490
|
})), le = h(() => e.menu.modules.cookingGuide), de = h(() => {
|
|
491
|
-
const t =
|
|
491
|
+
const t = Ee(e.menu.modules.sku);
|
|
492
492
|
return w(t, { selector: "code" });
|
|
493
|
-
}),
|
|
493
|
+
}), K = h(() => {
|
|
494
494
|
const t = !e.currentCatalogId, s = r.value === N.F_MENU_VERSION.v4, u = !e.currentSchedulerId, p = {
|
|
495
495
|
create: t && u,
|
|
496
496
|
edit: t && u,
|
|
@@ -559,7 +559,7 @@ const at = Pe(
|
|
|
559
559
|
}
|
|
560
560
|
};
|
|
561
561
|
});
|
|
562
|
-
function
|
|
562
|
+
function O(t) {
|
|
563
563
|
return `${t.systemCode}/${t.taxCode}`;
|
|
564
564
|
}
|
|
565
565
|
function me(t) {
|
|
@@ -567,15 +567,15 @@ const at = Pe(
|
|
|
567
567
|
return { systemCode: s, taxCode: u };
|
|
568
568
|
}
|
|
569
569
|
function fe(t, s, u) {
|
|
570
|
-
return (t ?? s ?? []).map((p) =>
|
|
570
|
+
return (t ?? s ?? []).map((p) => O(p)).find((p) => u.some((g) => g.value === p));
|
|
571
571
|
}
|
|
572
572
|
const pe = h(() => {
|
|
573
573
|
var p;
|
|
574
|
-
const t = ["SV5", "SV10"], s =
|
|
574
|
+
const t = ["SV5", "SV10"], s = Re.Country.getCountryFlattenTaxes(
|
|
575
575
|
z().currentCountry.value
|
|
576
576
|
), u = s.filter((g) => l.value || !t.includes(g.taxCode)).map((g) => ({
|
|
577
|
-
label: `${g.name} (${
|
|
578
|
-
value:
|
|
577
|
+
label: `${g.name} (${ke(g.rate)}%)`,
|
|
578
|
+
value: O(g),
|
|
579
579
|
meta: {
|
|
580
580
|
rate: g.rate
|
|
581
581
|
}
|
|
@@ -634,7 +634,7 @@ const at = Pe(
|
|
|
634
634
|
priceTierSettings: t.priceTierSettings
|
|
635
635
|
};
|
|
636
636
|
return f(s), s;
|
|
637
|
-
}, M =
|
|
637
|
+
}, M = Ge({ maxHistorySize: 50 }), be = h(() => M.canUndo.value), we = h(() => M.canRedo.value);
|
|
638
638
|
return {
|
|
639
639
|
state: e,
|
|
640
640
|
// loading state
|
|
@@ -650,14 +650,14 @@ const at = Pe(
|
|
|
650
650
|
currentCatalog: i,
|
|
651
651
|
schedulers: c,
|
|
652
652
|
currentScheduler: m,
|
|
653
|
-
catalogOptions:
|
|
654
|
-
categories:
|
|
653
|
+
catalogOptions: P,
|
|
654
|
+
categories: W,
|
|
655
655
|
subcategories: ee,
|
|
656
|
-
items:
|
|
656
|
+
items: G,
|
|
657
657
|
sortedItems: te,
|
|
658
658
|
categorizedItems: ne,
|
|
659
659
|
categorizedRawMenuItems: re,
|
|
660
|
-
variants:
|
|
660
|
+
variants: V,
|
|
661
661
|
groups: se,
|
|
662
662
|
takeaways: ae,
|
|
663
663
|
printDepartments: ue,
|
|
@@ -665,7 +665,7 @@ const at = Pe(
|
|
|
665
665
|
recipes: ce,
|
|
666
666
|
cookingGuide: le,
|
|
667
667
|
skus: de,
|
|
668
|
-
rules:
|
|
668
|
+
rules: K,
|
|
669
669
|
taxSetting: pe,
|
|
670
670
|
// Action
|
|
671
671
|
setMenu: f,
|
|
@@ -679,7 +679,7 @@ const at = Pe(
|
|
|
679
679
|
updateMenuSetting: Ce,
|
|
680
680
|
computeMergedMenu: C,
|
|
681
681
|
// helper
|
|
682
|
-
encodeTax:
|
|
682
|
+
encodeTax: O,
|
|
683
683
|
decodeTax: me,
|
|
684
684
|
getSelectedTax: fe,
|
|
685
685
|
mapVariant: oe,
|
|
@@ -707,6 +707,6 @@ export {
|
|
|
707
707
|
st as f,
|
|
708
708
|
tt as g,
|
|
709
709
|
et as m,
|
|
710
|
-
|
|
710
|
+
We as o,
|
|
711
711
|
at as u
|
|
712
712
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as d, ref as g, watch as _, resolveComponent as S, createBlock as T, openBlock as f, unref as y, computed as h } from "vue";
|
|
2
2
|
import { useI18n as m } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialogChild as w, useDialog as x, useSnackbar as C } from "@feedmepos/ui-library";
|
|
4
|
-
import { u as k, G as M } from "./menu-
|
|
4
|
+
import { u as k, G as M } from "./menu-DS_ERmBf.js";
|
|
5
5
|
const v = /* @__PURE__ */ d({
|
|
6
6
|
__name: "AddPriceGroupDialog",
|
|
7
7
|
setup(s) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as ie, computed as Y, resolveComponent as _, createElementBlock as d, openBlock as u, createVNode as t, createCommentVNode as F, unref as n, toDisplayString as L, createElementVNode as h, withCtx as v, Fragment as N, renderList as M, createBlock as I, ref as H, Transition as se, createTextVNode as me } from "vue";
|
|
2
|
-
import { H as S, A as r, u as pe, I as ve, J as ue } from "./menu-
|
|
2
|
+
import { H as S, A as r, u as pe, I as ve, J as ue } from "./menu-DS_ERmBf.js";
|
|
3
3
|
import { useI18n as de } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as _e } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as ne, a as fe } from "./customAttributes-
|
|
5
|
+
import { _ as ne, a as fe } from "./customAttributes-fpOfmGnw.js";
|
|
6
6
|
import { u as ye } from "./discardConfirm-BHni0LNu.js";
|
|
7
|
-
import { u as he } from "./menu-
|
|
8
|
-
import { L as ge } from "./LinkProductSideSheet-
|
|
7
|
+
import { u as he } from "./menu-Csyr6W9A.js";
|
|
8
|
+
import { L as ge } from "./LinkProductSideSheet-BdzBGYxG.js";
|
|
9
9
|
const Ve = { class: "space-y-8" }, Fe = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "space-y-16"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as M, watch as _, ref as E, resolveComponent as f, createBlock as x, openBlock as A, unref as c, withCtx as C, createVNode as V } from "vue";
|
|
2
|
-
import { J as l, A as d, u as F } from "./menu-
|
|
2
|
+
import { J as l, A as d, u as F } from "./menu-DS_ERmBf.js";
|
|
3
3
|
import { useI18n as b } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as P } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as v } from "./menuV2-
|
|
5
|
+
import { u as v } from "./menuV2-DKzAZ4Ss.js";
|
|
6
6
|
const y = /* @__PURE__ */ M({
|
|
7
7
|
__name: "AddSubcategoryDialogContentComponent",
|
|
8
8
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as C } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import "./menu-
|
|
1
|
+
import { u as C } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DOvQmbrZ.js";
|
|
2
|
+
import "./menu-DS_ERmBf.js";
|
|
3
3
|
var Z = {
|
|
4
4
|
defaultAmount: 0,
|
|
5
5
|
defaultCurrency: "USD",
|
|
@@ -1,13 +1,13 @@
|
|
|
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 { a6 as P, a7 as te, a4 as B, H as k, O as $, G as I, D as E, a5 as ne, J as C, A as D, I as oe, u as ae } from "./menu-
|
|
3
|
+
import { a6 as P, a7 as te, a4 as B, H as k, O as $, G as I, D as E, a5 as ne, J as C, A as D, I as oe, u as ae } from "./menu-DS_ERmBf.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";
|
|
7
7
|
import { c as re } from "./check-C9mY6LiX.js";
|
|
8
8
|
import "./vuedraggable-CK8z7qA8.js";
|
|
9
9
|
import "./app-CiBqmBzO.js";
|
|
10
|
-
import "./menuV2-
|
|
10
|
+
import "./menuV2-DKzAZ4Ss.js";
|
|
11
11
|
/* empty css */
|
|
12
12
|
import { c as me } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|