@feedmepos/mf-menu 0.31.42-beta.2 → 0.31.43-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.
Files changed (67) hide show
  1. package/dist/{App-BIRrS3La.js → App-DudzVdxN.js} +9 -9
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-Ch7-ic6J.js → ApplyProduct.vue_vue_type_script_setup_true_lang-Cx6BY_nW.js} +3 -3
  3. package/dist/{Catalog-B605xVZR.js → Catalog-BMuTQtqx.js} +6 -6
  4. package/dist/{Category-BXoK_pgb.js → Category-CUZ_xxMs.js} +4 -4
  5. package/dist/{Category-BoRXo44K.js → Category-NDkmqvdw.js} +6 -6
  6. package/dist/{CookingGuide-BauVrnFT.js → CookingGuide-3SgKZVRT.js} +4 -4
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BbRLZXiA.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-FuOBls0m.js} +1 -1
  8. package/dist/{Group-DRbXetRS.js → Group-ClTlb1X2.js} +1 -1
  9. package/dist/{Group-CxV0o5XZ.js → Group-CvUWYuaR.js} +3 -3
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-xLMGdgte.js → Group.vue_vue_type_script_setup_true_lang-jbtZjvRL.js} +7 -7
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DX-FW2lM.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-C_nvZOlm.js} +5 -5
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Dk-hs_07.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BiwIRHka.js} +15325 -15684
  13. package/dist/{Ingredient-awz_D3J6.js → Ingredient-C3a4gt_G.js} +3 -3
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-TYmfJm0p.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CYoMl-_4.js} +2 -2
  15. package/dist/{LinkProductSideSheet-CpLGN83Z.js → LinkProductSideSheet-4GgEt5LN.js} +3 -3
  16. package/dist/{MenuSetting-Zd37XWJ4.js → MenuSetting-DMDHHBs2.js} +5 -5
  17. package/dist/{PrintRoute-PgumrAcK.js → PrintRoute-D8mE_R6M.js} +4 -4
  18. package/dist/{Product-Cf4qQ2Hs.js → Product-B7oT5kJ6.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-DfDnuNhp.js → Product.vue_vue_type_script_setup_true_lang-CUn6_bGq.js} +13 -13
  20. package/dist/{ProductInternalTools-BBhv0ttl.js → ProductInternalTools-BPnnO5dR.js} +6 -6
  21. package/dist/Products-iYZPVp8Y.js +675 -0
  22. package/dist/{Publish-CuoBeIsQ.js → Publish-BCFYIz0P.js} +3 -3
  23. package/dist/{Recipe-CC6dLu9a.js → Recipe-Be6kHRWd.js} +4 -4
  24. package/dist/{Scheduler-CZzjfN-Y.js → Scheduler-DTULqkZU.js} +3 -3
  25. package/dist/{ServingSequence-BxEf5yPv.js → ServingSequence-1B2t3IOz.js} +3 -3
  26. package/dist/{Setting-CBTJrbRH.js → Setting-Bfx_kAhO.js} +5 -5
  27. package/dist/{Subcategory-0-emUIEr.js → Subcategory-CspNxL0A.js} +4 -4
  28. package/dist/{Takeaway-z7WRCQCI.js → Takeaway-8ZrctPk8.js} +4 -4
  29. package/dist/{Takeaway-BA_VKKUw.js → Takeaway-DS9QWvP4.js} +1 -1
  30. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CeKSmOQV.js → Takeaway.vue_vue_type_script_setup_true_lang-DPtA07uy.js} +5 -5
  31. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-tqQkazvr.js → Thumbnail.vue_vue_type_script_setup_true_lang-CdaiLu5o.js} +4 -4
  32. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CN8Zglcy.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-C39Fg0ZP.js} +15 -15
  33. package/dist/{Unit-CndLlk_X.js → Unit-qDXlKpxA.js} +2 -2
  34. package/dist/{Variant-DdeZ3f6x.js → Variant-tGw0WZcw.js} +3 -3
  35. package/dist/{_id_-D9_6BBVX.js → _id_-nUIFi5Lq.js} +10 -10
  36. package/dist/{app-BAhzMO2K.js → app-B-AEzoH6.js} +1 -1
  37. package/dist/{app-CoO3BIEu.js → app-BPqH1NSp.js} +25 -25
  38. package/dist/app.js +1 -1
  39. package/dist/apps/mf-menu/src/helper/import-export-utils.d.ts +123 -0
  40. package/dist/apps/mf-menu/src/helper/menuExport.d.ts +32 -0
  41. package/dist/apps/mf-menu/src/helper/{import-export.d.ts → menuImport.d.ts} +3 -127
  42. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  43. package/dist/assets/{linked-status-BBTvedGe.js → linked-status-CXZIhnqe.js} +2 -2
  44. package/dist/assets/{override-menu-rN2lSipP.js → override-menu-xw0Dqkm6.js} +2 -2
  45. package/dist/assets/{validate-menu-DlbGSq3_.js → validate-menu-ByQAWT_D.js} +2 -2
  46. package/dist/{catalog-Bv-at1c9.js → catalog-DLqIkhbq.js} +1 -1
  47. package/dist/{catalogSetting-CdOR5osN.js → catalogSetting-CD1xVSYG.js} +1 -1
  48. package/dist/{category-BkiR9ct2.js → category-CrJofVZH.js} +1 -1
  49. package/dist/{currency-5Q0W6WOS.js → currency-DvON4euj.js} +1 -1
  50. package/dist/{customAttributes-DYZ1-Ak2.js → customAttributes-C81bk6Ag.js} +1 -1
  51. package/dist/{dayjs.min-DObqJaNF.js → dayjs.min-DkxnzHIf.js} +1 -1
  52. package/dist/{index-B4MWwakK.js → index-Bi-tjPhn.js} +1 -1
  53. package/dist/{index-CAt03gJQ.js → index-DoMiLJrG.js} +3 -3
  54. package/dist/{index-7Gro_wfy.js → index-Y2Y_5NeG.js} +1 -1
  55. package/dist/{index-RfSFByAn.js → index-k8JBMmlm.js} +4 -4
  56. package/dist/{item-UogIz2VR.js → item-BI77lImE.js} +386 -386
  57. package/dist/{jszip.min-9fOTOLzt.js → jszip.min-K1Xi3iCG.js} +689 -689
  58. package/dist/{menu-DA-IYwFx.js → menu-Cg_li9fp.js} +7 -7
  59. package/dist/{menu-onwhSbn-.js → menu-v8tF5owz.js} +1 -1
  60. package/dist/{menuV2-1-YKf6_A.js → menuV2-BmOhyQh2.js} +58 -58
  61. package/dist/{priceTier-1gQSMcbN.js → priceTier-D89QKPQZ.js} +1 -1
  62. package/dist/{scheduler-BfZTL5YU.js → scheduler-CFnDK-I3.js} +4 -4
  63. package/dist/{subcategory-JVtc0Fwc.js → subcategory-CyIY_sdl.js} +2 -2
  64. package/dist/{toExcel-B4k_d7u6.js → toExcel-DIGelQ9s.js} +2 -2
  65. package/dist/{unit-DgmJTaJY.js → unit-Bk_zO_6l.js} +2 -2
  66. package/package.json +2 -2
  67. package/dist/Products-FdE9wKzA.js +0 -286
@@ -1,16 +1,16 @@
1
- import { ao as L, H as k, D as I, A as J, ap as j, J as U, I as Y, a9 as w, c as V, X as E, aj as q, aq as Me, ar as Ee, B as ke, ab as Ie, as as Re, at as Te, a8 as Fe } from "./menu-DA-IYwFx.js";
2
- import { defineStore as Pe } from "pinia";
3
- import { shallowRef as X, ref as D, computed as h, shallowReactive as Ae, effectScope as Ke, watch as Ne } from "vue";
1
+ import { ao as L, H as E, D as I, A as J, ap as j, J as U, I as X, a9 as w, c as x, X as k, aj as B, aq as Me, ar as ke, B as Ee, ab as Ie, as as Re, at as Te, a8 as Fe } from "./menu-Cg_li9fp.js";
2
+ import { defineStore as Ae } from "pinia";
3
+ import { shallowRef as Y, ref as D, computed as h, shallowReactive as Pe, effectScope as Ke, watch as Oe } from "vue";
4
4
  import { useCoreStore as z } from "@feedmepos/mf-common";
5
- import { useSnackbar as Oe } from "@feedmepos/ui-library";
6
- const Ve = "/assets/linked-status-BBTvedGe.js", xe = "/assets/override-menu-rN2lSipP.js";
5
+ import { useSnackbar as Ve } from "@feedmepos/ui-library";
6
+ const xe = "/assets/linked-status-CXZIhnqe.js", Ne = "/assets/override-menu-xw0Dqkm6.js";
7
7
  function $e(e) {
8
8
  var a;
9
- const n = k(e), o = (a = n.variant) == null ? void 0 : a.variantCombinations;
9
+ const n = E(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 = k(n), l = o ? r.modules.catalog.find((_) => _._id === o) : null, d = a ? r.modules.scheduler.find((_) => _._id === a) : null, i = l ? k(l) : void 0, c = o ? r.modules.catalog.filter((_) => _._id !== o) : [], m = d ? k(d) : void 0, f = e.reduce((_, y) => (_[y._id] = $e(y), _), {});
13
+ const r = E(n), l = o ? r.modules.catalog.find((_) => _._id === o) : null, d = a ? r.modules.scheduler.find((_) => _._id === a) : null, i = l ? E(l) : void 0, c = o ? r.modules.catalog.filter((_) => _._id !== o) : [], m = d ? E(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 [
@@ -150,7 +150,7 @@ function He(e, n) {
150
150
  };
151
151
  }
152
152
  async function et(e, n, o, a, r, l = !0) {
153
- const d = k(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, _) => {
153
+ const d = E(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
156
  }, {}), f = I.getFallbackPrices({
@@ -180,22 +180,22 @@ function tt(e, n) {
180
180
  return r;
181
181
  }, [])) || []).join(" / ");
182
182
  }
183
- const x = /* @__PURE__ */ new Map();
183
+ const N = /* @__PURE__ */ new Map();
184
184
  async function nt(e, n) {
185
185
  const o = `${e._id}-${e.updatedAt}-${n}`;
186
- if (x.has(o))
187
- return x.get(o);
186
+ if (N.has(o))
187
+ return N.get(o);
188
188
  const a = await L(
189
- Ve,
189
+ xe,
190
190
  JSON.stringify({
191
191
  menu: e,
192
192
  itemId: n
193
193
  })
194
194
  );
195
- return x.set(o, a), a;
195
+ return N.set(o, a), a;
196
196
  }
197
- async function Q(e, n, o) {
198
- return await L(xe, {
197
+ async function Z(e, n, o) {
198
+ return await L(Ne, {
199
199
  menu: e,
200
200
  catalogId: n,
201
201
  schedulerId: o
@@ -232,17 +232,17 @@ function ot(e, n, o) {
232
232
  return r(n, o);
233
233
  }
234
234
  const $ = /* @__PURE__ */ new Map();
235
- async function Be(e, n, o) {
235
+ async function qe(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);
239
- const r = await Q(e, n, o);
239
+ const r = await Z(e, n, o);
240
240
  return $.set(a, r), r;
241
241
  }
242
242
  async function st(e, n, o) {
243
243
  var d, i;
244
- const a = await Be(e, n, null), r = [], l = (c, m) => {
245
- const f = k(c);
244
+ const a = await qe(e, n, null), r = [], l = (c, m) => {
245
+ const f = E(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, P;
255
- const C = y.combinationKey ? (P = (F = f == null ? void 0 : f.variant) == null ? void 0 : F.variantCombinations) == null ? void 0 : P.find(
256
- (A) => A.combinationKey === y.combinationKey
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, R = C && f ? l(f, C) : y;
258
258
  return l(R, y);
259
259
  });
@@ -268,7 +268,7 @@ async function st(e, n, o) {
268
268
  function Ge({
269
269
  maxHistorySize: e = 50
270
270
  }) {
271
- const n = X([]), o = D(-1), a = h(() => o.value > 0), r = h(() => o.value < n.value.length - 1);
271
+ const n = Y([]), 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,10 +303,10 @@ const We = {
303
303
  modules: o.result || e.modules,
304
304
  _rev: o.id ?? ""
305
305
  };
306
- return Y.cloneDeep({ menu: a, updateId: o.id ?? null });
306
+ return X.cloneDeep({ menu: a, updateId: o.id ?? null });
307
307
  }
308
308
  };
309
- function Z() {
309
+ function Q() {
310
310
  return {
311
311
  _id: "",
312
312
  masterCatalogSetting: { inclusiveTaxes: [] },
@@ -332,7 +332,7 @@ function Z() {
332
332
  function je() {
333
333
  return {
334
334
  restaurants: [],
335
- menu: { ...Z(), _rev: "" },
335
+ menu: { ...Q(), _rev: "" },
336
336
  currentCatalogId: null,
337
337
  currentCategoryIds: null,
338
338
  currentSchedulerId: "",
@@ -342,15 +342,15 @@ function je() {
342
342
  }
343
343
  };
344
344
  }
345
- const at = Pe(
345
+ const at = Ae(
346
346
  "mf-menu-store-v2",
347
347
  () => {
348
- const e = Ae(je()), n = z(), o = Oe(), a = h(() => e.menu.modules.serveSequence ? w(e.menu.modules.serveSequence, {
348
+ const e = Pe(je()), n = z(), o = Ve(), a = h(() => e.menu.modules.serveSequence ? w(e.menu.modules.serveSequence, {
349
349
  selector: "position"
350
350
  }) : []), r = h(() => {
351
351
  var t;
352
- return ((t = n.currentBusiness.value) == null ? void 0 : t.menuVersion) || V.F_MENU_VERSION.v3;
353
- }), l = h(() => r.value === V.F_MENU_VERSION.v4), d = h(() => {
352
+ return ((t = n.currentBusiness.value) == null ? void 0 : t.menuVersion) || x.F_MENU_VERSION.v3;
353
+ }), l = h(() => r.value === x.F_MENU_VERSION.v4), d = h(() => {
354
354
  const t = e.menu.modules.catalog;
355
355
  return w(t, { selector: "name" });
356
356
  }), i = h(() => {
@@ -370,7 +370,7 @@ 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 = X(Z()), _ = D(!1), y = D(1);
373
+ const v = Y(Q()), _ = D(!1), y = D(1);
374
374
  async function C() {
375
375
  var u;
376
376
  _.value = !0;
@@ -384,7 +384,7 @@ const at = Pe(
384
384
  });
385
385
  t = e.menu.modules.catalog.map((g) => g._id === (p == null ? void 0 : p._id) ? p : g);
386
386
  }
387
- const s = await Q(
387
+ const s = await Z(
388
388
  {
389
389
  ...e.menu,
390
390
  modules: {
@@ -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 = Y.debounce(C, 200);
408
+ const F = X.debounce(C, 200);
409
409
  Ke(!0).run(() => {
410
- Ne(
410
+ Oe(
411
411
  () => [e.menu, e.currentCatalogId, e.currentSchedulerId],
412
412
  () => {
413
413
  _.value || F();
414
414
  }
415
415
  );
416
416
  });
417
- const A = h(() => [
417
+ const P = h(() => [
418
418
  {
419
419
  label: "Main",
420
420
  value: null
@@ -423,21 +423,21 @@ const at = Pe(
423
423
  label: t.name,
424
424
  value: t._id
425
425
  }))
426
- ]), B = h(() => {
426
+ ]), q = h(() => {
427
427
  const t = v.value.modules.category;
428
428
  return [
429
- ...N.value.item.addon ? [
429
+ ...O.value.item.addon ? [
430
430
  {
431
431
  _id: e.currentCatalogId ? "" : null,
432
432
  name: "Addon",
433
433
  position: 0
434
434
  }
435
435
  ] : [],
436
- ...E(t, (s) => s.name)
436
+ ...k(t, (s) => s.name)
437
437
  ];
438
438
  }), ee = h(() => {
439
439
  const t = v.value.modules.subCategory || [];
440
- return E(t, (s) => s.name);
440
+ return k(t, (s) => s.name);
441
441
  }), G = h(() => {
442
442
  var s;
443
443
  let t = v.value.modules.item;
@@ -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 E(t, (u) => u.code || u.name);
454
+ return k(t, (u) => u.code || u.name);
455
455
  }), te = h(() => {
456
- const t = e.menu.modules.category, s = E(t, (p) => p.name).reduce(
456
+ const t = e.menu.modules.category, s = k(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 E(
460
+ return k(
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(() => q(K.value, B.value, G.value)), re = h(() => {
465
- const t = N.value.item.addon ? [
464
+ }), ne = h(() => B(K.value, q.value, G.value)), re = h(() => {
465
+ const t = O.value.item.addon ? [
466
466
  {
467
467
  _id: e.currentCatalogId ? "" : null,
468
468
  name: "Addon",
@@ -470,7 +470,7 @@ const at = Pe(
470
470
  },
471
471
  ...e.menu.modules.category
472
472
  ] : e.menu.modules.category;
473
- return q(
473
+ return B(
474
474
  e.menu.modules.variant,
475
475
  t,
476
476
  e.menu.modules.item
@@ -483,15 +483,15 @@ const at = Pe(
483
483
  const s = t.map((p) => K.value.find((g) => g._id === p)).filter((p) => !!p);
484
484
  return I.fullVariantCombination(s).reduce((p, g) => (p[g.combinationKey] = g.selectionName.join(" / "), p), {});
485
485
  }
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 || [], {
486
+ const se = h(() => k(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 = Ee(e.menu.modules.sku);
491
+ const t = ke(e.menu.modules.sku);
492
492
  return w(t, { selector: "code" });
493
- }), N = h(() => {
494
- const t = !e.currentCatalogId, s = r.value === V.F_MENU_VERSION.v4, u = !e.currentSchedulerId, p = {
493
+ }), O = h(() => {
494
+ const t = !e.currentCatalogId, s = r.value === x.F_MENU_VERSION.v4, u = !e.currentSchedulerId, p = {
495
495
  create: t && u,
496
496
  edit: t && u,
497
497
  delete: t && u
@@ -559,7 +559,7 @@ const at = Pe(
559
559
  }
560
560
  };
561
561
  });
562
- function O(t) {
562
+ function V(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) => O(p)).find((p) => u.some((g) => g.value === p));
570
+ return (t ?? s ?? []).map((p) => V(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 = ke.Country.getCountryFlattenTaxes(
574
+ const t = ["SV5", "SV10"], s = Ee.Country.getCountryFlattenTaxes(
575
575
  z().currentCountry.value
576
576
  ), u = s.filter((g) => l.value || !t.includes(g.taxCode)).map((g) => ({
577
577
  label: `${g.name} (${Ie(g.rate)}%)`,
578
- value: O(g),
578
+ value: V(g),
579
579
  meta: {
580
580
  rate: g.rate
581
581
  }
@@ -650,8 +650,8 @@ const at = Pe(
650
650
  currentCatalog: i,
651
651
  schedulers: c,
652
652
  currentScheduler: m,
653
- catalogOptions: A,
654
- categories: B,
653
+ catalogOptions: P,
654
+ categories: q,
655
655
  subcategories: ee,
656
656
  items: G,
657
657
  sortedItems: te,
@@ -665,7 +665,7 @@ const at = Pe(
665
665
  recipes: ce,
666
666
  cookingGuide: le,
667
667
  skus: de,
668
- rules: N,
668
+ rules: O,
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: O,
682
+ encodeTax: V,
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
- Be as o,
710
+ qe 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-DA-IYwFx.js";
4
+ import { u as k, G as M } from "./menu-Cg_li9fp.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-DA-IYwFx.js";
2
+ import { H as S, A as r, u as pe, I as ve, J as ue } from "./menu-Cg_li9fp.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-DYZ1-Ak2.js";
5
+ import { _ as ne, a as fe } from "./customAttributes-C81bk6Ag.js";
6
6
  import { u as ye } from "./discardConfirm-BHni0LNu.js";
7
- import { u as he } from "./menu-onwhSbn-.js";
8
- import { L as ge } from "./LinkProductSideSheet-CpLGN83Z.js";
7
+ import { u as he } from "./menu-v8tF5owz.js";
8
+ import { L as ge } from "./LinkProductSideSheet-4GgEt5LN.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-DA-IYwFx.js";
2
+ import { J as l, A as d, u as F } from "./menu-Cg_li9fp.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-1-YKf6_A.js";
5
+ import { u as v } from "./menuV2-BmOhyQh2.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-Dk-hs_07.js";
2
- import "./menu-DA-IYwFx.js";
1
+ import { u as C } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-BiwIRHka.js";
2
+ import "./menu-Cg_li9fp.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-DA-IYwFx.js";
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-Cg_li9fp.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-1-YKf6_A.js";
10
+ import "./menuV2-BmOhyQh2.js";
11
11
  /* empty css */
12
12
  import { c as me } from "./createComponentProgrammatically-Bt2rn1IQ.js";
13
13
  const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-menu",
3
- "version": "0.31.42-beta.2",
3
+ "version": "0.31.43-prod",
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.27.3"
56
+ "@feedmepos/mf-common": "^1.27.4"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@rollup/plugin-commonjs": "^28.0.2",