@feedmepos/mf-menu 0.31.34 → 0.31.35-beta
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-rb2J9v9o.js → App-schXXC0o.js} +29 -26
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-B0rKMPGc.js → ApplyProduct.vue_vue_type_script_setup_true_lang-SHveTZDi.js} +2 -2
- package/dist/{Catalog-B22BdMPP.js → Catalog-CFiRHml3.js} +6 -6
- package/dist/{Category-BhOtXE6k.js → Category-DWXpWb7c.js} +4 -4
- package/dist/{Category-DJehcLk3.js → Category-DXcqRu28.js} +5 -5
- package/dist/{CookingGuide-CydQB9it.js → CookingGuide-B9ILPxx7.js} +3 -3
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CbBQ2Cwp.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DhgkDa2p.js} +1 -1
- package/dist/{Group-vXH7IOOT.js → Group-CgFBwU2f.js} +3 -3
- package/dist/{Group-DQrHXFHR.js → Group-DTAy9ufS.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-dVGeQpyz.js → Group.vue_vue_type_script_setup_true_lang-CDH70wTs.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B50TOPTl.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B0WkXSZX.js} +4 -4
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Bxqi57EM.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BoKngyJ5.js} +7 -7
- package/dist/{Ingredient-Kdph-WZU.js → Ingredient-CqMx98kK.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-C54wvz-c.js → InventoryBinding.vue_vue_type_script_setup_true_lang-z2qHsJsc.js} +1052 -1052
- package/dist/{LinkProductSideSheet-CWAy5TcX.js → LinkProductSideSheet-BnQDQ6UL.js} +2 -2
- package/dist/{MenuSetting-C3LZdKtu.js → MenuSetting-COmwCBZo.js} +4 -4
- package/dist/{PrintRoute-BLDDzqLz.js → PrintRoute-CQ301knH.js} +3 -3
- package/dist/{Product-B2N6QLBX.js → Product-Cf0lCXQC.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-DNl0-lIF.js → Product.vue_vue_type_script_setup_true_lang-C8FcjB9O.js} +12 -12
- package/dist/{ProductInternalTools-CrLqbp2g.js → ProductInternalTools-H7mmjzeA.js} +6 -6
- package/dist/{Products-DRbBOEde.js → Products--a9WHv_V.js} +11 -11
- package/dist/{Publish-JlGvDpBv.js → Publish-BqztugXu.js} +3 -3
- package/dist/{Recipe-BwMizBqa.js → Recipe-9L_jN-VT.js} +4 -4
- package/dist/{Scheduler-B_JjSUUe.js → Scheduler-hQ4PxWM_.js} +3 -3
- package/dist/{ServingSequence-BD8-_sL5.js → ServingSequence-rDC9vl6P.js} +3 -3
- package/dist/{Setting-yJ4tM6MG.js → Setting-DU8Tk7I1.js} +5 -5
- package/dist/{Subcategory-Dt3VSzep.js → Subcategory-CVd7AaP6.js} +4 -4
- package/dist/{Takeaway-tmPvlkPn.js → Takeaway-BDPWGB8g.js} +1 -1
- package/dist/{Takeaway-DDDoJK8J.js → Takeaway-whWaNyxf.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DPREP2oN.js → Takeaway.vue_vue_type_script_setup_true_lang-bf5mq5Qm.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-DIScGpEC.js → Thumbnail.vue_vue_type_script_setup_true_lang-D8upmC7p.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-cRtAXjeM.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CcjgiwmJ.js} +13 -13
- package/dist/{Unit-DmIGCKEN.js → Unit-nFzxU2ng.js} +2 -2
- package/dist/{Variant-BdJXN81F.js → Variant-CSN6b5VD.js} +3 -3
- package/dist/{_id_-xeZnDFgZ.js → _id_-DPKWTBT3.js} +10 -10
- package/dist/{app-CQ-VA6Nv.js → app-C50WDjvV.js} +1 -1
- package/dist/{app-CNjBto1H.js → app-KiV4YOrY.js} +24 -24
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-D5JmeqDO.js → linked-status-BOBY4HhK.js} +8 -8
- package/dist/assets/{override-menu-D9rwl9vn.js → override-menu-CwIOZ_lE.js} +8 -8
- package/dist/assets/{validate-menu-nPWqh0t2.js → validate-menu-DKhnKstP.js} +2 -2
- package/dist/{catalog-DDZM_36a.js → catalog-DDazW8cJ.js} +1 -1
- package/dist/{catalogSetting-CYAj_czX.js → catalogSetting-Ck9L899_.js} +1 -1
- package/dist/{category-BFFHuiBj.js → category-Do_VxAkG.js} +1 -1
- package/dist/{currency-Y4ZyCpMX.js → currency-6KkWWXo5.js} +1 -1
- package/dist/{dayjs.min-Diuy5HqV.js → dayjs.min-Crr5C_Kj.js} +1 -1
- package/dist/{index-29UmGWEN.js → index-BQp0L403.js} +3 -3
- package/dist/{index-BJeD4DHC.js → index-C6dANAhw.js} +3 -3
- package/dist/{index-BRgNQBXE.js → index-aohReVG9.js} +1 -1
- package/dist/{item-Cwjd5c02.js → item-By-hXMnb.js} +16 -16
- package/dist/{jszip.min-wC6f5tYp.js → jszip.min-CXMgtC82.js} +2 -2
- package/dist/{menu-CRSLm3gX.js → menu-D_PYQxDI.js} +1 -1
- package/dist/{menu-BtJ5uRjf.js → menu-eema7gCH.js} +7 -7
- package/dist/{menuV2-BmkjvOcf.js → menuV2-CdXrhShM.js} +48 -48
- package/dist/{priceTier-DlU1sbV3.js → priceTier-DfGEi9ZL.js} +1 -1
- package/dist/{scheduler-DjjIK9ro.js → scheduler-D75V3NMp.js} +3 -3
- package/dist/{subcategory-B6Pi1VX4.js → subcategory-BRNhr8ug.js} +2 -2
- package/dist/{toExcel-CwHLZtLM.js → toExcel-Brby6bBq.js} +2 -2
- package/dist/{unit-DrC3NlzV.js → unit-bySeFPH-.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 X, ref as
|
|
1
|
+
import { ao as L, H as I, B as k, G as Y, ap as q, J as U, I as J, a9 as w, c as x, X as E, aj as z, aq as Me, ar as Ee, A as Ie, ab as ke, as as Re, at as Te, a8 as Fe } from "./menu-eema7gCH.js";
|
|
2
|
+
import { defineStore as Oe } from "pinia";
|
|
3
|
+
import { shallowRef as X, ref as D, computed as h, shallowReactive as Ae, effectScope as Ke, watch as Ve } from "vue";
|
|
4
4
|
import { useCoreStore as G } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as Ne } from "@feedmepos/ui-library";
|
|
6
|
-
const xe = "/assets/linked-status-
|
|
6
|
+
const xe = "/assets/linked-status-BOBY4HhK.js", $e = "/assets/override-menu-CwIOZ_lE.js";
|
|
7
7
|
function Pe(e) {
|
|
8
8
|
var a;
|
|
9
|
-
const n =
|
|
9
|
+
const n = I(e), o = (a = n.variant) == null ? void 0 : a.variantCombinations;
|
|
10
10
|
return delete n.variant, delete n.thumbnail, [n, ...o || []];
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
const r =
|
|
12
|
+
function Ue(e, n, o, a) {
|
|
13
|
+
const r = I(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 ? I(l) : void 0, c = o ? r.modules.catalog.filter((g) => g._id !== o) : [], m = d ? I(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 De(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: Y.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 De(e, n, o, a) {
|
|
|
35
35
|
...r.modules.scheduler.filter((g) => g._id !== a),
|
|
36
36
|
m
|
|
37
37
|
], r) : {
|
|
38
|
-
...
|
|
38
|
+
...q(),
|
|
39
39
|
modules: {
|
|
40
|
-
...
|
|
40
|
+
...q().modules,
|
|
41
41
|
catalog: r.modules.catalog,
|
|
42
42
|
item: r.modules.item,
|
|
43
43
|
group: r.modules.group,
|
|
@@ -75,7 +75,7 @@ function T(e, n, o) {
|
|
|
75
75
|
groups: r
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function De(e, n) {
|
|
79
79
|
const o = e.groups.map((l) => {
|
|
80
80
|
const d = n.modules.group.find((c) => c._id === l._id), i = ((d == null ? void 0 : d.items) || []).map((c) => {
|
|
81
81
|
var v;
|
|
@@ -85,7 +85,7 @@ function Ue(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 Ue(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 = I(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
|
-
return v[y] =
|
|
156
|
-
}, {}), f =
|
|
155
|
+
return v[y] = De(c[y], e), v;
|
|
156
|
+
}, {}), f = k.getFallbackPrices({
|
|
157
157
|
rawMenu: i,
|
|
158
158
|
items: m,
|
|
159
159
|
catalogId: a || void 0,
|
|
@@ -194,7 +194,7 @@ async function nt(e, n) {
|
|
|
194
194
|
);
|
|
195
195
|
return $.set(o, a), a;
|
|
196
196
|
}
|
|
197
|
-
async function
|
|
197
|
+
async function Z(e, n, o) {
|
|
198
198
|
return await L($e, {
|
|
199
199
|
menu: e,
|
|
200
200
|
catalogId: n,
|
|
@@ -232,17 +232,17 @@ function ot(e, n, o) {
|
|
|
232
232
|
return r(n, o);
|
|
233
233
|
}
|
|
234
234
|
const P = /* @__PURE__ */ new Map();
|
|
235
|
-
async function
|
|
235
|
+
async function Be(e, n, o) {
|
|
236
236
|
const a = `${e._id}-${e.updatedAt}-${n || "null"}-${o || "null"}`;
|
|
237
237
|
if (P.has(a))
|
|
238
238
|
return P.get(a);
|
|
239
|
-
const r = await
|
|
239
|
+
const r = await Z(e, n, o);
|
|
240
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 Be(e, n, null), r = [], l = (c, m) => {
|
|
245
|
+
const f = I(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), g = [m, ...v].map((y) => {
|
|
254
|
-
var F,
|
|
255
|
-
const b = y.combinationKey ? (
|
|
256
|
-
(
|
|
254
|
+
var F, O;
|
|
255
|
+
const b = y.combinationKey ? (O = (F = f == null ? void 0 : f.variant) == null ? void 0 : F.variantCombinations) == null ? void 0 : O.find(
|
|
256
|
+
(A) => A.combinationKey === y.combinationKey
|
|
257
257
|
) : f, R = b && f ? l(f, b) : y;
|
|
258
258
|
return l(R, y);
|
|
259
259
|
});
|
|
@@ -268,7 +268,7 @@ async function st(e, n, o) {
|
|
|
268
268
|
function We({
|
|
269
269
|
maxHistorySize: e = 50
|
|
270
270
|
}) {
|
|
271
|
-
const n = X([]), o =
|
|
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
|
}
|
|
@@ -294,7 +294,7 @@ function We({
|
|
|
294
294
|
}
|
|
295
295
|
const je = {
|
|
296
296
|
async updateMenuModule(e, n) {
|
|
297
|
-
const o =
|
|
297
|
+
const o = U.RequestRunner.operation(n, e.modules);
|
|
298
298
|
if (o.validateError.length > 0)
|
|
299
299
|
throw new Error(o.validateError.join(`
|
|
300
300
|
`));
|
|
@@ -303,10 +303,10 @@ const je = {
|
|
|
303
303
|
modules: o.result || e.modules,
|
|
304
304
|
_rev: o.id ?? ""
|
|
305
305
|
};
|
|
306
|
-
return
|
|
306
|
+
return J.cloneDeep({ menu: a, updateId: o.id ?? null });
|
|
307
307
|
}
|
|
308
308
|
};
|
|
309
|
-
function
|
|
309
|
+
function Q() {
|
|
310
310
|
return {
|
|
311
311
|
_id: "",
|
|
312
312
|
masterCatalogSetting: { inclusiveTaxes: [] },
|
|
@@ -329,20 +329,20 @@ function Z() {
|
|
|
329
329
|
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
330
330
|
};
|
|
331
331
|
}
|
|
332
|
-
function
|
|
332
|
+
function qe() {
|
|
333
333
|
return {
|
|
334
334
|
restaurants: [],
|
|
335
|
-
menu: { ...
|
|
335
|
+
menu: { ...Q(), _rev: "" },
|
|
336
336
|
currentCatalogId: null,
|
|
337
337
|
currentCategoryIds: null,
|
|
338
338
|
currentSchedulerId: "",
|
|
339
339
|
currentRestaurantCustomAttributes: null
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
|
-
const at =
|
|
342
|
+
const at = Oe(
|
|
343
343
|
"mf-menu-store-v2",
|
|
344
344
|
() => {
|
|
345
|
-
const e =
|
|
345
|
+
const e = Ae(qe()), n = G(), o = Ne(), a = h(() => e.menu.modules.serveSequence ? w(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 = k.populateCatalog({
|
|
359
359
|
catalog: t,
|
|
360
360
|
items: e.menu.modules.item,
|
|
361
361
|
restaurantCustomAttributes: e.currentRestaurantCustomAttributes || {}
|
|
@@ -366,20 +366,20 @@ const at = Ae(
|
|
|
366
366
|
function f(t, s = !0) {
|
|
367
367
|
e.menu = { ...t, _rev: e.menu._rev }, s && M.push(e.menu);
|
|
368
368
|
}
|
|
369
|
-
const v = X(
|
|
369
|
+
const v = X(Q()), g = D(!1), y = D(1);
|
|
370
370
|
async function b() {
|
|
371
371
|
var u;
|
|
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 = k.populateCatalog({
|
|
376
376
|
catalog: i.value,
|
|
377
377
|
items: e.menu.modules.item,
|
|
378
378
|
restaurantCustomAttributes: e.currentRestaurantCustomAttributes || {}
|
|
379
379
|
});
|
|
380
380
|
t = e.menu.modules.catalog.map((_) => _._id === (p == null ? void 0 : p._id) ? p : _);
|
|
381
381
|
}
|
|
382
|
-
const s = await
|
|
382
|
+
const s = await Z(
|
|
383
383
|
{
|
|
384
384
|
...e.menu,
|
|
385
385
|
modules: {
|
|
@@ -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 = J.debounce(b, 200);
|
|
404
404
|
Ke(!0).run(() => {
|
|
405
405
|
Ve(
|
|
406
406
|
() => [e.menu, e.currentCatalogId, e.currentSchedulerId],
|
|
@@ -409,7 +409,7 @@ const at = Ae(
|
|
|
409
409
|
}
|
|
410
410
|
);
|
|
411
411
|
});
|
|
412
|
-
const
|
|
412
|
+
const A = h(() => [
|
|
413
413
|
{
|
|
414
414
|
label: "Main",
|
|
415
415
|
value: null
|
|
@@ -418,7 +418,7 @@ const at = Ae(
|
|
|
418
418
|
label: t.name,
|
|
419
419
|
value: t._id
|
|
420
420
|
}))
|
|
421
|
-
]),
|
|
421
|
+
]), B = h(() => {
|
|
422
422
|
const t = v.value.modules.category;
|
|
423
423
|
return [
|
|
424
424
|
...V.value.item.addon ? [
|
|
@@ -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) !== Y.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(K.value,
|
|
459
|
+
}), ne = h(() => z(K.value, B.value, W.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) => K.value.find((_) => _._id === p)).filter((p) => !!p);
|
|
479
|
-
return
|
|
479
|
+
return k.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(() => w(v.value.modules.takeaway, { selector: "name" })), ue = h(() => w(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 = Ie.Country.getCountryFlattenTaxes(
|
|
570
570
|
G().currentCountry.value
|
|
571
571
|
), u = s.filter((_) => l.value || !t.includes(_.taxCode)).map((_) => ({
|
|
572
|
-
label: `${_.name} (${
|
|
572
|
+
label: `${_.name} (${ke(_.rate)}%)`,
|
|
573
573
|
value: N(_),
|
|
574
574
|
meta: {
|
|
575
575
|
rate: _.rate
|
|
@@ -607,7 +607,7 @@ const at = Ae(
|
|
|
607
607
|
}));
|
|
608
608
|
try {
|
|
609
609
|
if (s || p.some(
|
|
610
|
-
(C) => [
|
|
610
|
+
(C) => [U.F_OPERATION_TYPE.delete, U.F_OPERATION_TYPE.deleteMany].includes(C.operation)
|
|
611
611
|
)) {
|
|
612
612
|
const C = await Re(p, e.menu.modules);
|
|
613
613
|
if (C !== !0) throw new Error(C);
|
|
@@ -645,8 +645,8 @@ const at = Ae(
|
|
|
645
645
|
currentCatalog: i,
|
|
646
646
|
schedulers: c,
|
|
647
647
|
currentScheduler: m,
|
|
648
|
-
catalogOptions:
|
|
649
|
-
categories:
|
|
648
|
+
catalogOptions: A,
|
|
649
|
+
categories: B,
|
|
650
650
|
subcategories: ee,
|
|
651
651
|
items: W,
|
|
652
652
|
sortedItems: te,
|
|
@@ -702,6 +702,6 @@ export {
|
|
|
702
702
|
st as f,
|
|
703
703
|
tt as g,
|
|
704
704
|
et as m,
|
|
705
|
-
|
|
705
|
+
Be 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, D as M } from "./menu-
|
|
4
|
+
import { u as k, D as M } from "./menu-eema7gCH.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 A, 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, G as r, u as pe, I as ve, J as ue } from "./menu-
|
|
2
|
+
import { H as S, G as r, u as pe, I as ve, J as ue } from "./menu-eema7gCH.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-BnQDQ6UL.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-D_PYQxDI.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 C, unref as c, withCtx as V, createVNode as A } from "vue";
|
|
2
|
-
import { J as l, G as d, u as F } from "./menu-
|
|
2
|
+
import { J as l, G as d, u as F } from "./menu-eema7gCH.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-CdXrhShM.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-BoKngyJ5.js";
|
|
2
|
+
import "./menu-eema7gCH.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 B, a7 as te, a4 as P, H as k, O as $, D as I, B as E, a5 as ne, J as C, G as D, I as ae, u as oe } from "./menu-
|
|
3
|
+
import { a6 as B, a7 as te, a4 as P, H as k, O as $, D as I, B as E, a5 as ne, J as C, G as D, I as ae, u as oe } from "./menu-eema7gCH.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-CdXrhShM.js";
|
|
11
11
|
import { c as me } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
12
12
|
const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
13
13
|
__name: "NumberPrecisionInput",
|