@feedmepos/mf-menu 0.31.35 → 0.31.36-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-DaTz3gVq.js → App-Cui-XStB.js} +8 -8
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-B3EW0pwh.js → ApplyProduct.vue_vue_type_script_setup_true_lang-cUYW6sW5.js} +2 -2
- package/dist/{Catalog-Cy8TWxm1.js → Catalog-MktLa55D.js} +68 -68
- package/dist/{Category-BUumX7_C.js → Category-C-s_lW3M.js} +4 -4
- package/dist/{Category-CwOYQ-6u.js → Category-CEMqueNk.js} +5 -5
- package/dist/{CookingGuide-Cbh7SCu4.js → CookingGuide-eWdk6mho.js} +3 -3
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DHoiQOG2.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CcKt1abw.js} +1 -1
- package/dist/{Group-BVZWj-Nw.js → Group-Bg2Ylu9p.js} +1 -1
- package/dist/{Group-DgjhvWSx.js → Group-VircdSF_.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-BgPBZyTW.js → Group.vue_vue_type_script_setup_true_lang-CyW8Gh6c.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BBo0vhrz.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-yQjS-X1R.js} +4 -4
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-D3W1WyZZ.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-26ogJPxR.js} +7 -7
- package/dist/{Ingredient-BHkSTwr-.js → Ingredient-CegrU_cQ.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BQ4W0WDp.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CzhbZPKE.js} +2 -2
- package/dist/{LinkProductSideSheet-Sx-DeJjH.js → LinkProductSideSheet-BJlrPykg.js} +2 -2
- package/dist/{MenuSetting-BnS6kPNi.js → MenuSetting-D70NMQWp.js} +4 -4
- package/dist/{PrintRoute-C2duy7oi.js → PrintRoute-bAS3UL9d.js} +3 -3
- package/dist/{Product-ZOxkTHRu.js → Product-Cu2f-ZSs.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-CGZ88bcg.js → Product.vue_vue_type_script_setup_true_lang-CYfDGs7M.js} +12 -12
- package/dist/{ProductInternalTools-Cor8iDMg.js → ProductInternalTools-6X6XUdH6.js} +6 -6
- package/dist/{Products-C7cxX2rJ.js → Products-DYgr_65I.js} +11 -11
- package/dist/{Publish-DSu44YfY.js → Publish-DhdYNYH2.js} +3 -3
- package/dist/{Recipe-D6PGiqy_.js → Recipe-Bb5gqrsE.js} +4 -4
- package/dist/{Scheduler-BU_NlkbG.js → Scheduler-Tk0cPXz4.js} +3 -3
- package/dist/{ServingSequence-BWhKQKyG.js → ServingSequence-DUghx8CU.js} +3 -3
- package/dist/{Setting-BUrzoFWQ.js → Setting-DIl9WhmE.js} +5 -5
- package/dist/{Subcategory-BEe8nN8W.js → Subcategory-C8Igjkze.js} +4 -4
- package/dist/{Takeaway-DEPZnV9k.js → Takeaway-ZfBLSZMG.js} +1 -1
- package/dist/{Takeaway-6H0VNuwC.js → Takeaway-xHGsoah-.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-J6YI-e7E.js → Takeaway.vue_vue_type_script_setup_true_lang-DItRiL8J.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-TGErO0ja.js → Thumbnail.vue_vue_type_script_setup_true_lang-Dmk-5eGV.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DNWYFjeh.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-OJ0A70lo.js} +13 -13
- package/dist/{Unit-DysKNvcA.js → Unit-CfmYi7kG.js} +2 -2
- package/dist/{Variant-3bHTEqqf.js → Variant-D6hyic1A.js} +3 -3
- package/dist/{_id_-vIzDI0J7.js → _id_-DT2EQjcY.js} +28 -28
- package/dist/{app-Bo_0BeKy.js → app-Do8sOqMh.js} +24 -24
- package/dist/{app-DB4PWsXm.js → app-jvyTuOVi.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-CHi_EGJ_.js → linked-status-DQ161R27.js} +8 -8
- package/dist/assets/{override-menu-Dc3cFSKt.js → override-menu-VGwIGccm.js} +8 -8
- package/dist/assets/{validate-menu-C3mUe2jb.js → validate-menu-Dx9kwuMh.js} +2 -2
- package/dist/{catalog-sIoOkP5_.js → catalog-BL6h_DDN.js} +1 -1
- package/dist/{catalogSetting-BOYlA0vr.js → catalogSetting-DEabwfXZ.js} +1 -1
- package/dist/{category-DEi6MtyP.js → category-CKujA-NM.js} +1 -1
- package/dist/{currency-CDBdzl0s.js → currency-BFai41BQ.js} +1 -1
- package/dist/{dayjs.min-X61wvf3g.js → dayjs.min-B5ost3s4.js} +1 -1
- package/dist/{index-DaIvNFHS.js → index-D70F0uL_.js} +3 -3
- package/dist/{index-DYcS_Xa2.js → index-D9PdlnOv.js} +3 -3
- package/dist/{index-CUbPpfk7.js → index-nSRvCNb9.js} +1 -1
- package/dist/{item-D-N71SB8.js → item-DqdhjOW8.js} +16 -16
- package/dist/{jszip.min-DTP3NKhg.js → jszip.min-_LmXapMc.js} +2 -2
- package/dist/{menu-CWFK369v.js → menu-Cj3d6im1.js} +7 -7
- package/dist/{menu-o3YrbMF5.js → menu-S1W5eNCT.js} +1 -1
- package/dist/{menuV2-Ck68z0aU.js → menuV2-K6oaeFE4.js} +38 -38
- package/dist/{priceTier-BLsVfD7Y.js → priceTier-Cnci8Hf5.js} +1 -1
- package/dist/{scheduler-Co5_zX1A.js → scheduler-D7qY3sLN.js} +3 -3
- package/dist/{subcategory-D3QqfBM5.js → subcategory-CHsH67ID.js} +2 -2
- package/dist/{toExcel-5ep5h27U.js → toExcel-DhVG55bK.js} +2 -2
- package/dist/{unit-D3lwQjNl.js → unit-C3zaQSoS.js} +2 -2
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ao as L, H as
|
|
1
|
+
import { ao as L, H as I, B as R, G as J, ap as B, J as U, I as Y, a9 as w, c as x, X as E, aj as G, aq as Me, ar as Ee, A as Ie, ab as Re, as as ke, at as Te, a8 as Fe } from "./menu-Cj3d6im1.js";
|
|
2
2
|
import { defineStore as Ae } from "pinia";
|
|
3
|
-
import { shallowRef as
|
|
3
|
+
import { shallowRef as Q, ref as D, computed as h, shallowReactive as Ve, effectScope as Ke, watch as Oe } from "vue";
|
|
4
4
|
import { useCoreStore as z } 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-DQ161R27.js", $e = "/assets/override-menu-VGwIGccm.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
12
|
function Ue(e, n, o, a) {
|
|
13
|
-
const r =
|
|
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 [
|
|
@@ -59,7 +59,7 @@ function T(e, n, o) {
|
|
|
59
59
|
return i ? c = ((f = d.items) == null ? void 0 : f.map((g) => {
|
|
60
60
|
var b;
|
|
61
61
|
const y = (b = i.items) == null ? void 0 : b.find(
|
|
62
|
-
(
|
|
62
|
+
(k) => k._id === g._id && k.combinationKey === g.combinationKey
|
|
63
63
|
);
|
|
64
64
|
return T(y || g, n, o + 1);
|
|
65
65
|
})) ?? [] : c = ((v = d.items) == null ? void 0 : v.map((g) => T(g, n, o + 1))) ?? [], {
|
|
@@ -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
|
+
...R.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
|
+
...R.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
155
|
return v[y] = De(c[y], e), v;
|
|
156
|
-
}, {}), f =
|
|
156
|
+
}, {}), f = R.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 X(e, n, o) {
|
|
198
198
|
return await L($e, {
|
|
199
199
|
menu: e,
|
|
200
200
|
catalogId: n,
|
|
@@ -236,13 +236,13 @@ async function We(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 X(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
244
|
const a = await We(e, n, null), r = [], l = (c, m) => {
|
|
245
|
-
const f =
|
|
245
|
+
const f = I(c);
|
|
246
246
|
for (const v in m)
|
|
247
247
|
m[v] && (f[v] = m[v]);
|
|
248
248
|
return f;
|
|
@@ -253,9 +253,9 @@ async function st(e, n, o) {
|
|
|
253
253
|
const v = (i = c.items) == null ? void 0 : i.filter((y) => y._id === o && y.combinationKey), g = [m, ...v].map((y) => {
|
|
254
254
|
var F, A;
|
|
255
255
|
const b = y.combinationKey ? (A = (F = f == null ? void 0 : f.variant) == null ? void 0 : F.variantCombinations) == null ? void 0 : A.find(
|
|
256
|
-
(
|
|
257
|
-
) : f,
|
|
258
|
-
return l(
|
|
256
|
+
(V) => V.combinationKey === y.combinationKey
|
|
257
|
+
) : f, k = b && f ? l(f, b) : y;
|
|
258
|
+
return l(k, y);
|
|
259
259
|
});
|
|
260
260
|
r.push({
|
|
261
261
|
group: c,
|
|
@@ -268,7 +268,7 @@ async function st(e, n, o) {
|
|
|
268
268
|
function je({
|
|
269
269
|
maxHistorySize: e = 50
|
|
270
270
|
}) {
|
|
271
|
-
const n =
|
|
271
|
+
const n = Q([]), 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
|
}
|
|
@@ -342,7 +342,7 @@ function Be() {
|
|
|
342
342
|
const at = Ae(
|
|
343
343
|
"mf-menu-store-v2",
|
|
344
344
|
() => {
|
|
345
|
-
const e =
|
|
345
|
+
const e = Ve(Be()), n = z(), 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 = R.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 =
|
|
369
|
+
const v = Q(Z()), 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 = R.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 X(
|
|
383
383
|
{
|
|
384
384
|
...e.menu,
|
|
385
385
|
modules: {
|
|
@@ -401,15 +401,15 @@ const at = Ae(
|
|
|
401
401
|
return v.value = s, g.value = !1, y.value = y.value + 1, s;
|
|
402
402
|
}
|
|
403
403
|
const F = Y.debounce(b, 200);
|
|
404
|
-
|
|
405
|
-
|
|
404
|
+
Ke(!0).run(() => {
|
|
405
|
+
Oe(
|
|
406
406
|
() => [e.menu, e.currentCatalogId, e.currentSchedulerId],
|
|
407
407
|
() => {
|
|
408
408
|
g.value || F();
|
|
409
409
|
}
|
|
410
410
|
);
|
|
411
411
|
});
|
|
412
|
-
const
|
|
412
|
+
const V = h(() => [
|
|
413
413
|
{
|
|
414
414
|
label: "Main",
|
|
415
415
|
value: null
|
|
@@ -421,7 +421,7 @@ const at = Ae(
|
|
|
421
421
|
]), W = h(() => {
|
|
422
422
|
const t = v.value.modules.category;
|
|
423
423
|
return [
|
|
424
|
-
...
|
|
424
|
+
...O.value.item.addon ? [
|
|
425
425
|
{
|
|
426
426
|
_id: e.currentCatalogId ? "" : null,
|
|
427
427
|
name: "Addon",
|
|
@@ -456,8 +456,8 @@ 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(() => G(
|
|
460
|
-
const t =
|
|
459
|
+
}), ne = h(() => G(K.value, W.value, j.value)), re = h(() => {
|
|
460
|
+
const t = O.value.item.addon ? [
|
|
461
461
|
{
|
|
462
462
|
_id: e.currentCatalogId ? "" : null,
|
|
463
463
|
name: "Addon",
|
|
@@ -470,13 +470,13 @@ const at = Ae(
|
|
|
470
470
|
t,
|
|
471
471
|
e.menu.modules.item
|
|
472
472
|
);
|
|
473
|
-
}),
|
|
473
|
+
}), K = h(() => {
|
|
474
474
|
const t = v.value.modules.variant;
|
|
475
475
|
return w(t, { selector: "name" });
|
|
476
476
|
});
|
|
477
477
|
function oe(t = []) {
|
|
478
|
-
const s = t.map((p) =>
|
|
479
|
-
return
|
|
478
|
+
const s = t.map((p) => K.value.find((_) => _._id === p)).filter((p) => !!p);
|
|
479
|
+
return R.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"
|
|
@@ -485,7 +485,7 @@ const at = Ae(
|
|
|
485
485
|
})), le = h(() => e.menu.modules.cookingGuide), de = h(() => {
|
|
486
486
|
const t = Ee(e.menu.modules.sku);
|
|
487
487
|
return w(t, { selector: "code" });
|
|
488
|
-
}),
|
|
488
|
+
}), O = h(() => {
|
|
489
489
|
const t = !e.currentCatalogId, s = r.value === x.F_MENU_VERSION.v4, u = !e.currentSchedulerId, p = {
|
|
490
490
|
create: t && u,
|
|
491
491
|
edit: t && u,
|
|
@@ -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
|
z().currentCountry.value
|
|
571
571
|
), u = s.filter((_) => l.value || !t.includes(_.taxCode)).map((_) => ({
|
|
572
|
-
label: `${_.name} (${
|
|
572
|
+
label: `${_.name} (${Re(_.rate)}%)`,
|
|
573
573
|
value: N(_),
|
|
574
574
|
meta: {
|
|
575
575
|
rate: _.rate
|
|
@@ -609,7 +609,7 @@ const at = Ae(
|
|
|
609
609
|
if (s || p.some(
|
|
610
610
|
(C) => [U.F_OPERATION_TYPE.delete, U.F_OPERATION_TYPE.deleteMany].includes(C.operation)
|
|
611
611
|
)) {
|
|
612
|
-
const C = await
|
|
612
|
+
const C = await ke(p, e.menu.modules);
|
|
613
613
|
if (C !== !0) throw new Error(C);
|
|
614
614
|
}
|
|
615
615
|
const _ = await qe.updateMenuModule(e.menu, p);
|
|
@@ -645,14 +645,14 @@ const at = Ae(
|
|
|
645
645
|
currentCatalog: i,
|
|
646
646
|
schedulers: c,
|
|
647
647
|
currentScheduler: m,
|
|
648
|
-
catalogOptions:
|
|
648
|
+
catalogOptions: V,
|
|
649
649
|
categories: W,
|
|
650
650
|
subcategories: ee,
|
|
651
651
|
items: j,
|
|
652
652
|
sortedItems: te,
|
|
653
653
|
categorizedItems: ne,
|
|
654
654
|
categorizedRawMenuItems: re,
|
|
655
|
-
variants:
|
|
655
|
+
variants: K,
|
|
656
656
|
groups: se,
|
|
657
657
|
takeaways: ae,
|
|
658
658
|
printDepartments: ue,
|
|
@@ -660,7 +660,7 @@ const at = Ae(
|
|
|
660
660
|
recipes: ce,
|
|
661
661
|
cookingGuide: le,
|
|
662
662
|
skus: de,
|
|
663
|
-
rules:
|
|
663
|
+
rules: O,
|
|
664
664
|
taxSetting: pe,
|
|
665
665
|
// Action
|
|
666
666
|
setMenu: f,
|
|
@@ -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-Cj3d6im1.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-Cj3d6im1.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-BJlrPykg.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-S1W5eNCT.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-Cj3d6im1.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-K6oaeFE4.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-26ogJPxR.js";
|
|
2
|
+
import "./menu-Cj3d6im1.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-Cj3d6im1.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-K6oaeFE4.js";
|
|
11
11
|
import { c as me } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
12
12
|
const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
|
13
13
|
__name: "NumberPrecisionInput",
|