@feedmepos/mf-menu 0.31.37-beta.1 → 0.31.38-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-JVqsu5i5.js → App-DImB7TmJ.js} +8 -8
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-D8rkiKNx.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CydSm4tS.js} +2 -2
- package/dist/Catalog-Bs8xF8l0.js +676 -0
- package/dist/{Category-kX2gPfA3.js → Category-CnyXlo8t.js} +5 -5
- package/dist/{Category-MV3t6EJk.js → Category-L6hXMCPd.js} +4 -4
- package/dist/{CookingGuide-Chj8oHGW.js → CookingGuide-AVGXyKfv.js} +3 -3
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CPCLRRfh.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-1SDbYGZk.js} +1 -1
- package/dist/{Group-BMuw4V73.js → Group-BjIYkJbi.js} +1 -1
- package/dist/{Group-FbfSJjbJ.js → Group-CLm4ElT0.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-zAQcrQqS.js → Group.vue_vue_type_script_setup_true_lang-DFhbrdW-.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B-QA1Lvn.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B6cOuL_i.js} +4 -4
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-JGlqXOon.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BQAbW8xI.js} +7 -7
- package/dist/{Ingredient-CUpYZ9sY.js → Ingredient-DbuEA9Ap.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-5cHy0doF.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DJziHpYR.js} +1052 -1052
- package/dist/{LinkProductSideSheet-8e0LCQa6.js → LinkProductSideSheet-DFkZOFlG.js} +2 -2
- package/dist/{MenuSetting-Bw45wuok.js → MenuSetting-Cr8Thb0S.js} +4 -4
- package/dist/{PrintRoute-BZDiS1CH.js → PrintRoute-BlQe3rLl.js} +3 -3
- package/dist/{Product-BLR4R5KI.js → Product-CL4dOu2K.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-DJpCLt3x.js → Product.vue_vue_type_script_setup_true_lang-VwawqmeD.js} +12 -12
- package/dist/{ProductInternalTools-B6AKoMLJ.js → ProductInternalTools-BReOd2q0.js} +5 -5
- package/dist/{Products-Wf78fl4M.js → Products-zHmJbMjn.js} +11 -11
- package/dist/{Publish-Bc80fm57.js → Publish-FNg1n8rp.js} +18 -18
- package/dist/{Recipe-BnE9m_yt.js → Recipe-CBZEG0UF.js} +4 -4
- package/dist/{Scheduler-Cu5pCzJe.js → Scheduler-DXa8VamP.js} +3 -3
- package/dist/{ServingSequence-BnfhPEe4.js → ServingSequence-CDJEBJIT.js} +3 -3
- package/dist/{Setting-C4GEKR9p.js → Setting-BfmwAEbA.js} +5 -5
- package/dist/{Subcategory-DiWL0UvQ.js → Subcategory-uyzqVZaL.js} +4 -4
- package/dist/{Takeaway-COyEx9Ru.js → Takeaway-BhWlBH-j.js} +1 -1
- package/dist/{Takeaway-CyzYEJhj.js → Takeaway-HmPRnVuF.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-B2L5jB7I.js → Takeaway.vue_vue_type_script_setup_true_lang-B1_etaMz.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-DG13eZuB.js → Thumbnail.vue_vue_type_script_setup_true_lang-EXn2-zQP.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-q1NX8coJ.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Dq3MLZz9.js} +12 -12
- package/dist/{Unit-BaDQVQae.js → Unit-I8IsKunR.js} +2 -2
- package/dist/{Variant-CnufNMfT.js → Variant-CNI8MGt7.js} +3 -3
- package/dist/{_id_-BMu7r1lR.js → _id_-DATov0z0.js} +10 -10
- package/dist/{app-C8BfPhyx.js → app-B8iVDfvK.js} +25 -25
- package/dist/{app-BdYXB2nV.js → app-Bwva4cJA.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/manager/menu/catalog.d.ts +1 -1
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-BP7hEYMz.js → linked-status-DydTLbzr.js} +2 -2
- package/dist/assets/{override-menu-C54IHXo6.js → override-menu-CyH6M0bf.js} +2 -2
- package/dist/assets/{validate-menu-dOfGDX4r.js → validate-menu-RAQvdsXP.js} +2 -2
- package/dist/{catalog-DbA_6adn.js → catalog-DgnMKSCs.js} +25 -28
- package/dist/{catalogSetting-Bp-b1KRg.js → catalogSetting-D36LAZsZ.js} +1 -1
- package/dist/{category-Cc-uCxHx.js → category-CXgCUcAt.js} +1 -1
- package/dist/{currency-C9_OiO1D.js → currency-Crv-jHiq.js} +1 -1
- package/dist/{dayjs.min-BCQeSvY-.js → dayjs.min-z4r00xnP.js} +1 -1
- package/dist/{index-C5qSCjm7.js → index-Bp14bOjn.js} +3 -3
- package/dist/{index-B2TsCIP7.js → index-CDjc7iw4.js} +3 -3
- package/dist/{index-JhNLC60f.js → index-DVcYqIfa.js} +1 -1
- package/dist/{item-DZpy4qYw.js → item-DfftwjB5.js} +15 -15
- package/dist/{jszip.min-Dr0OvSAn.js → jszip.min-BxIhQP7P.js} +245 -245
- package/dist/{menu-Btv2jW2E.js → menu-CD579Nmq.js} +1 -1
- package/dist/{menu-DxjVpyj_.js → menu-lWBbGru3.js} +5 -5
- package/dist/{menuV2-BV8HnRYY.js → menuV2-CctLCO2N.js} +47 -47
- package/dist/{priceTier-BUBx56Mf.js → priceTier-DATUpeg7.js} +1 -1
- package/dist/{scheduler-DWQphf4L.js → scheduler-BlO5fH4a.js} +3 -3
- package/dist/{subcategory-vx0cop0o.js → subcategory-DKPGRdmY.js} +2 -2
- package/dist/{toExcel-Bt1gnsxz.js → toExcel-BAyyxPBY.js} +2 -2
- package/dist/{unit-Cw1iGz1g.js → unit-uVlABwha.js} +2 -2
- package/package.json +1 -1
- package/dist/Catalog-CmmQPBKA.js +0 -666
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ao as G, H as
|
|
1
|
+
import { ao as G, H as k, D as I, A as J, ap as B, J as U, I as Y, a9 as M, c as x, X as E, aj as z, aq as we, ar as Ee, B as ke, ab as Ie, as as Re, at as Te, a8 as Fe } from "./menu-lWBbGru3.js";
|
|
2
2
|
import { defineStore as Ae } from "pinia";
|
|
3
3
|
import { shallowRef as X, ref as D, computed as h, shallowReactive as Ke, effectScope as Oe, watch as Ve } from "vue";
|
|
4
4
|
import { useCoreStore as L } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as Ne } from "@feedmepos/ui-library";
|
|
6
|
-
const xe = "/assets/linked-status-
|
|
7
|
-
function
|
|
6
|
+
const xe = "/assets/linked-status-DydTLbzr.js", $e = "/assets/override-menu-CyH6M0bf.js";
|
|
7
|
+
function Pe(e) {
|
|
8
8
|
var a;
|
|
9
|
-
const n =
|
|
9
|
+
const n = k(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 = k(n), l = o ? r.modules.catalog.find((g) => g._id === o) : null, d = a ? r.modules.scheduler.find((g) => g._id === a) : null, i = l ? k(l) : void 0, c = o ? r.modules.catalog.filter((g) => g._id !== o) : [], m = d ? k(d) : void 0, f = e.reduce((g, y) => (g[y._id] = Pe(y), g), {});
|
|
14
14
|
function v(g = []) {
|
|
15
15
|
const y = e.map((b) => b._id);
|
|
16
16
|
return [
|
|
@@ -25,7 +25,7 @@ function Ue(e, n, o, a) {
|
|
|
25
25
|
_id: a,
|
|
26
26
|
items: v(m == null ? void 0 : m.items).map((g) => ({
|
|
27
27
|
...g,
|
|
28
|
-
orderFrom:
|
|
28
|
+
orderFrom: J.F_ORDER_FROM.enum.ALL
|
|
29
29
|
}))
|
|
30
30
|
}
|
|
31
31
|
}, r.modules.catalog = [...c, i], r) : i ? (i.override.items = {
|
|
@@ -35,9 +35,9 @@ function Ue(e, n, o, a) {
|
|
|
35
35
|
...r.modules.scheduler.filter((g) => g._id !== a),
|
|
36
36
|
m
|
|
37
37
|
], r) : {
|
|
38
|
-
...
|
|
38
|
+
...B(),
|
|
39
39
|
modules: {
|
|
40
|
-
...
|
|
40
|
+
...B().modules,
|
|
41
41
|
catalog: r.modules.catalog,
|
|
42
42
|
item: r.modules.item,
|
|
43
43
|
group: r.modules.group,
|
|
@@ -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
|
+
...I.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
|
+
...I.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 = k(o), i = l ? Ue(n, d, a, r) : d, c = n.reduce((v, g) => (v[g._id] = i.modules.item.find((y) => y._id === g._id), v), {}), m = n.reduce((v, g) => {
|
|
154
154
|
const y = g._id;
|
|
155
155
|
return v[y] = De(c[y], e), v;
|
|
156
|
-
}, {}), f =
|
|
156
|
+
}, {}), f = I.getFallbackPrices({
|
|
157
157
|
rawMenu: i,
|
|
158
158
|
items: m,
|
|
159
159
|
catalogId: a || void 0,
|
|
@@ -180,11 +180,11 @@ function tt(e, n) {
|
|
|
180
180
|
return r;
|
|
181
181
|
}, [])) || []).join(" / ");
|
|
182
182
|
}
|
|
183
|
-
const
|
|
183
|
+
const $ = /* @__PURE__ */ new Map();
|
|
184
184
|
async function nt(e, n) {
|
|
185
185
|
const o = `${e._id}-${e.updatedAt}-${n}`;
|
|
186
|
-
if (
|
|
187
|
-
return
|
|
186
|
+
if ($.has(o))
|
|
187
|
+
return $.get(o);
|
|
188
188
|
const a = await G(
|
|
189
189
|
xe,
|
|
190
190
|
JSON.stringify({
|
|
@@ -192,10 +192,10 @@ async function nt(e, n) {
|
|
|
192
192
|
itemId: n
|
|
193
193
|
})
|
|
194
194
|
);
|
|
195
|
-
return
|
|
195
|
+
return $.set(o, a), a;
|
|
196
196
|
}
|
|
197
197
|
async function Q(e, n, o) {
|
|
198
|
-
return await G(
|
|
198
|
+
return await G($e, {
|
|
199
199
|
menu: e,
|
|
200
200
|
catalogId: n,
|
|
201
201
|
schedulerId: o
|
|
@@ -231,18 +231,18 @@ function ot(e, n, o) {
|
|
|
231
231
|
}
|
|
232
232
|
return r(n, o);
|
|
233
233
|
}
|
|
234
|
-
const
|
|
235
|
-
async function
|
|
234
|
+
const P = /* @__PURE__ */ new Map();
|
|
235
|
+
async function We(e, n, o) {
|
|
236
236
|
const a = `${e._id}-${e.updatedAt}-${n || "null"}-${o || "null"}`;
|
|
237
|
-
if (
|
|
238
|
-
return
|
|
237
|
+
if (P.has(a))
|
|
238
|
+
return P.get(a);
|
|
239
239
|
const r = await Q(e, n, o);
|
|
240
|
-
return
|
|
240
|
+
return P.set(a, r), r;
|
|
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 = k(c);
|
|
246
246
|
for (const v in m)
|
|
247
247
|
m[v] && (f[v] = m[v]);
|
|
248
248
|
return f;
|
|
@@ -265,7 +265,7 @@ async function st(e, n, o) {
|
|
|
265
265
|
}
|
|
266
266
|
return r;
|
|
267
267
|
}
|
|
268
|
-
function
|
|
268
|
+
function je({
|
|
269
269
|
maxHistorySize: e = 50
|
|
270
270
|
}) {
|
|
271
271
|
const n = X([]), o = D(-1), a = h(() => o.value > 0), r = h(() => o.value < n.value.length - 1);
|
|
@@ -292,7 +292,7 @@ function We({
|
|
|
292
292
|
clear: c
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
|
-
const
|
|
295
|
+
const qe = {
|
|
296
296
|
async updateMenuModule(e, n) {
|
|
297
297
|
const o = U.RequestRunner.operation(n, e.modules);
|
|
298
298
|
if (o.validateError.length > 0)
|
|
@@ -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() {
|
|
@@ -329,7 +329,7 @@ function Z() {
|
|
|
329
329
|
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
330
330
|
};
|
|
331
331
|
}
|
|
332
|
-
function
|
|
332
|
+
function Be() {
|
|
333
333
|
return {
|
|
334
334
|
restaurants: [],
|
|
335
335
|
menu: { ...Z(), _rev: "" },
|
|
@@ -342,7 +342,7 @@ function qe() {
|
|
|
342
342
|
const at = Ae(
|
|
343
343
|
"mf-menu-store-v2",
|
|
344
344
|
() => {
|
|
345
|
-
const e = Ke(
|
|
345
|
+
const e = Ke(Be()), n = L(), o = Ne(), a = h(() => e.menu.modules.serveSequence ? M(e.menu.modules.serveSequence, {
|
|
346
346
|
selector: "position"
|
|
347
347
|
}) : []), r = h(() => {
|
|
348
348
|
var t;
|
|
@@ -355,7 +355,7 @@ const at = Ae(
|
|
|
355
355
|
let t = e.menu.modules.catalog.find(
|
|
356
356
|
(u) => u._id === e.currentCatalogId
|
|
357
357
|
);
|
|
358
|
-
return t && ((s = t.linkItemRules) != null && s.length) && (t =
|
|
358
|
+
return t && ((s = t.linkItemRules) != null && s.length) && (t = I.populateCatalog({
|
|
359
359
|
catalog: t,
|
|
360
360
|
items: e.menu.modules.item,
|
|
361
361
|
restaurantCustomAttributes: e.currentRestaurantCustomAttributes || {}
|
|
@@ -372,7 +372,7 @@ const at = Ae(
|
|
|
372
372
|
g.value = !0;
|
|
373
373
|
let t = e.menu.modules.catalog;
|
|
374
374
|
if (i.value && ((u = i.value.linkItemRules) != null && u.length)) {
|
|
375
|
-
const p =
|
|
375
|
+
const p = I.populateCatalog({
|
|
376
376
|
catalog: i.value,
|
|
377
377
|
items: e.menu.modules.item,
|
|
378
378
|
restaurantCustomAttributes: e.currentRestaurantCustomAttributes || {}
|
|
@@ -400,7 +400,7 @@ const at = Ae(
|
|
|
400
400
|
}
|
|
401
401
|
return v.value = s, g.value = !1, y.value = y.value + 1, s;
|
|
402
402
|
}
|
|
403
|
-
const F =
|
|
403
|
+
const F = Y.debounce(b, 200);
|
|
404
404
|
Oe(!0).run(() => {
|
|
405
405
|
Ve(
|
|
406
406
|
() => [e.menu, e.currentCatalogId, e.currentSchedulerId],
|
|
@@ -418,7 +418,7 @@ const at = Ae(
|
|
|
418
418
|
label: t.name,
|
|
419
419
|
value: t._id
|
|
420
420
|
}))
|
|
421
|
-
]),
|
|
421
|
+
]), W = h(() => {
|
|
422
422
|
const t = v.value.modules.category;
|
|
423
423
|
return [
|
|
424
424
|
...V.value.item.addon ? [
|
|
@@ -433,7 +433,7 @@ const at = Ae(
|
|
|
433
433
|
}), ee = h(() => {
|
|
434
434
|
const t = v.value.modules.subCategory || [];
|
|
435
435
|
return E(t, (s) => s.name);
|
|
436
|
-
}),
|
|
436
|
+
}), j = h(() => {
|
|
437
437
|
var s;
|
|
438
438
|
let t = v.value.modules.item;
|
|
439
439
|
if (i.value) {
|
|
@@ -443,7 +443,7 @@ const at = Ae(
|
|
|
443
443
|
const _ = (C = u == null ? void 0 : u[p._id]) == null ? void 0 : C.find(
|
|
444
444
|
(S) => !S.combinationKey
|
|
445
445
|
);
|
|
446
|
-
return (_ == null ? void 0 : _.orderFrom) !==
|
|
446
|
+
return (_ == null ? void 0 : _.orderFrom) !== J.F_ORDER_FROM.enum.NONE;
|
|
447
447
|
});
|
|
448
448
|
}
|
|
449
449
|
return E(t, (u) => u.code || u.name);
|
|
@@ -456,7 +456,7 @@ const at = Ae(
|
|
|
456
456
|
u,
|
|
457
457
|
(p) => p.code || p.name
|
|
458
458
|
).reduce((p, _, C) => (p[_._id] = C + s[_.category || ""], p), {});
|
|
459
|
-
}), ne = h(() => z(O.value,
|
|
459
|
+
}), ne = h(() => z(O.value, W.value, j.value)), re = h(() => {
|
|
460
460
|
const t = V.value.item.addon ? [
|
|
461
461
|
{
|
|
462
462
|
_id: e.currentCatalogId ? "" : null,
|
|
@@ -476,7 +476,7 @@ const at = Ae(
|
|
|
476
476
|
});
|
|
477
477
|
function oe(t = []) {
|
|
478
478
|
const s = t.map((p) => O.value.find((_) => _._id === p)).filter((p) => !!p);
|
|
479
|
-
return
|
|
479
|
+
return I.fullVariantCombination(s).reduce((p, _) => (p[_.combinationKey] = _.selectionName.join(" / "), p), {});
|
|
480
480
|
}
|
|
481
481
|
const se = h(() => E(v.value.modules.group, (t) => t.name)), ae = h(() => M(v.value.modules.takeaway, { selector: "name" })), ue = h(() => M(e.menu.modules.printDepartment || [], {
|
|
482
482
|
selector: "name"
|
|
@@ -566,10 +566,10 @@ const at = Ae(
|
|
|
566
566
|
}
|
|
567
567
|
const pe = h(() => {
|
|
568
568
|
var p;
|
|
569
|
-
const t = ["SV5", "SV10"], s =
|
|
569
|
+
const t = ["SV5", "SV10"], s = ke.Country.getCountryFlattenTaxes(
|
|
570
570
|
L().currentCountry.value
|
|
571
571
|
), u = s.filter((_) => l.value || !t.includes(_.taxCode)).map((_) => ({
|
|
572
|
-
label: `${_.name} (${
|
|
572
|
+
label: `${_.name} (${Ie(_.rate)}%)`,
|
|
573
573
|
value: N(_),
|
|
574
574
|
meta: {
|
|
575
575
|
rate: _.rate
|
|
@@ -581,7 +581,7 @@ const at = Ae(
|
|
|
581
581
|
};
|
|
582
582
|
}), ve = async () => {
|
|
583
583
|
const t = await Fe.readMenu();
|
|
584
|
-
e.menu = t ?? e.menu,
|
|
584
|
+
e.menu = t ?? e.menu, q(null);
|
|
585
585
|
}, _e = async () => {
|
|
586
586
|
const { fetchAllRestaurants: t } = Te();
|
|
587
587
|
await t({
|
|
@@ -589,7 +589,7 @@ const at = Ae(
|
|
|
589
589
|
e.restaurants = s;
|
|
590
590
|
}
|
|
591
591
|
});
|
|
592
|
-
},
|
|
592
|
+
}, q = (t) => {
|
|
593
593
|
e.currentCatalogId = t;
|
|
594
594
|
}, ge = (t) => {
|
|
595
595
|
e.currentSchedulerId = t;
|
|
@@ -612,7 +612,7 @@ const at = Ae(
|
|
|
612
612
|
const C = await Re(p, e.menu.modules);
|
|
613
613
|
if (C !== !0) throw new Error(C);
|
|
614
614
|
}
|
|
615
|
-
const _ = await
|
|
615
|
+
const _ = await qe.updateMenuModule(e.menu, p);
|
|
616
616
|
return f(_.menu), _;
|
|
617
617
|
} catch (_) {
|
|
618
618
|
o.open({
|
|
@@ -629,7 +629,7 @@ const at = Ae(
|
|
|
629
629
|
priceTierSettings: t.priceTierSettings
|
|
630
630
|
};
|
|
631
631
|
return f(s), s;
|
|
632
|
-
}, w =
|
|
632
|
+
}, w = je({ maxHistorySize: 50 }), Se = h(() => w.canUndo.value), Me = h(() => w.canRedo.value);
|
|
633
633
|
return {
|
|
634
634
|
state: e,
|
|
635
635
|
// loading state
|
|
@@ -646,9 +646,9 @@ const at = Ae(
|
|
|
646
646
|
schedulers: c,
|
|
647
647
|
currentScheduler: m,
|
|
648
648
|
catalogOptions: K,
|
|
649
|
-
categories:
|
|
649
|
+
categories: W,
|
|
650
650
|
subcategories: ee,
|
|
651
|
-
items:
|
|
651
|
+
items: j,
|
|
652
652
|
sortedItems: te,
|
|
653
653
|
categorizedItems: ne,
|
|
654
654
|
categorizedRawMenuItems: re,
|
|
@@ -666,7 +666,7 @@ const at = Ae(
|
|
|
666
666
|
setMenu: f,
|
|
667
667
|
readMenu: ve,
|
|
668
668
|
readRestaurants: _e,
|
|
669
|
-
selectCatalog:
|
|
669
|
+
selectCatalog: q,
|
|
670
670
|
selectScheduler: ge,
|
|
671
671
|
selectCategory: ye,
|
|
672
672
|
setRestaurantCustomAttributes: he,
|
|
@@ -702,6 +702,6 @@ export {
|
|
|
702
702
|
st as f,
|
|
703
703
|
tt as g,
|
|
704
704
|
et as m,
|
|
705
|
-
|
|
705
|
+
We as o,
|
|
706
706
|
at as u
|
|
707
707
|
};
|
|
@@ -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-lWBbGru3.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-lWBbGru3.js";
|
|
3
3
|
import { useI18n as de } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as _e } from "@feedmepos/ui-library";
|
|
5
|
-
import { a as fe, L as ye } from "./LinkProductSideSheet-
|
|
5
|
+
import { a as fe, L as ye } from "./LinkProductSideSheet-DFkZOFlG.js";
|
|
6
6
|
import { _ as ne } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
|
|
7
7
|
import { u as he } from "./discardConfirm-BHni0LNu.js";
|
|
8
|
-
import { u as ge } from "./menu-
|
|
8
|
+
import { u as ge } from "./menu-CD579Nmq.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-lWBbGru3.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-CctLCO2N.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-BQAbW8xI.js";
|
|
2
|
+
import "./menu-lWBbGru3.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 ae, u as oe } 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 ae, u as oe } from "./menu-lWBbGru3.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 "./LinkProductSideSheet.vue_vue_type_style_index_0_scoped_97fa9d58_lang-DvG3mOom.js";
|
|
10
|
-
import "./menuV2-
|
|
10
|
+
import "./menuV2-CctLCO2N.js";
|
|
11
11
|
import { c as me } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
12
12
|
const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
13
13
|
__name: "NumberPrecisionInput",
|