@feedmepos/mf-menu 0.31.72-remy.1 → 0.31.73

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 (91) hide show
  1. package/dist/{App-BRKBFTkF.js → App-C9BJVGXE.js} +493 -436
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DBReRk26.js → ApplyProduct.vue_vue_type_script_setup_true_lang-D5ZzRvQv.js} +3 -3
  3. package/dist/{Catalog-PtF27Q8c.js → Catalog--QgvDSuo.js} +6 -6
  4. package/dist/{Category-D-Bbf6gv.js → Category-nx2UEJ-W.js} +4 -4
  5. package/dist/{Category-Dby8xy11.js → Category-oTrXvIjH.js} +6 -6
  6. package/dist/{CookingGuide-DuCXP5of.js → CookingGuide-BwBvwfQh.js} +4 -4
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-B2N8W9M2.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-C2sGhPv3.js} +1 -1
  8. package/dist/{Group-n0sbEx-H.js → Group-CDZenzP_.js} +3 -3
  9. package/dist/{Group-Ca4q6q6v.js → Group-i-0yKTGl.js} +1 -1
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-Pf0jPWDV.js → Group.vue_vue_type_script_setup_true_lang-BPzuT1Vb.js} +48 -48
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Bp1iR64p.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B7Ec95lc.js} +5 -5
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Casi1-TT.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CA1541eR.js} +7 -7
  13. package/dist/{Ingredient-TkzHZCqG.js → Ingredient-DxllB9CA.js} +3 -3
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DVFNJqMP.js → InventoryBinding.vue_vue_type_script_setup_true_lang-D70_L5Si.js} +2 -2
  15. package/dist/{LinkProductSideSheet-CDYqw-R6.js → LinkProductSideSheet-B5Di8NBz.js} +3 -3
  16. package/dist/{MenuSetting-BnAKXbNU.js → MenuSetting-DNeQl0Ix.js} +5 -5
  17. package/dist/{PrintRoute-DeRjndo1.js → PrintRoute-BDpqZ5NG.js} +4 -4
  18. package/dist/{Product-DqxoDtZv.js → Product-l0NtL-4b.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-CiLyEQQ8.js → Product.vue_vue_type_script_setup_true_lang-BGurqd5j.js} +13 -13
  20. package/dist/{ProductInternalTools-CglhTu6T.js → ProductInternalTools-BX3wloTv.js} +5 -5
  21. package/dist/{Products-DJ72cbig.js → Products-BnSzKAnH.js} +11 -11
  22. package/dist/{Publish-BGkTK5bz.js → Publish-FteASYtL.js} +3 -3
  23. package/dist/{Recipe-0DDI5WgS.js → Recipe-B0Rtfsr1.js} +4 -4
  24. package/dist/{Scheduler-DUJzZP0Z.js → Scheduler-B6H7c0ys.js} +3 -3
  25. package/dist/{ServingSequence-C8x6fhqI.js → ServingSequence-CNM2jHUA.js} +3 -3
  26. package/dist/{Setting-BVAyjOEK.js → Setting-CRd5MJU8.js} +5 -5
  27. package/dist/{Subcategory-SQmUn-Cd.js → Subcategory-WiWFVaSW.js} +4 -4
  28. package/dist/{Takeaway-4AsBd7Aa.js → Takeaway-D4QFumZG.js} +1 -1
  29. package/dist/{Takeaway-cuTLgdPS.js → Takeaway-Dz3W_LuO.js} +4 -4
  30. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DlGDDIXL.js → Takeaway.vue_vue_type_script_setup_true_lang-z81IGPlP.js} +5 -5
  31. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CO-_6vi5.js → Thumbnail.vue_vue_type_script_setup_true_lang-Cd0HrXWO.js} +4 -4
  32. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DyoU0ybU.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CEh7j-rN.js} +2030 -2009
  33. package/dist/{Unit-DjEiYCzl.js → Unit-Bj-W5RXm.js} +2 -2
  34. package/dist/{Variant-q9h__TW2.js → Variant-BFn2aZeF.js} +3 -3
  35. package/dist/{_id_-DfqFqvhn.js → _id_-AT7jxwVE.js} +10 -10
  36. package/dist/app-DNxrzHiq.js +2101 -0
  37. package/dist/{app-BMchi_Q-.js → app-Dd_KnIqm.js} +1 -1
  38. package/dist/app.js +1 -1
  39. package/dist/apps/mf-menu/src/app.d.ts +1 -0
  40. package/dist/apps/mf-menu/src/components/feature/ApplyProduct/index.d.ts +4 -4
  41. package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierButton.vue.d.ts +4 -4
  42. package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierForm.vue.d.ts +4 -4
  43. package/dist/apps/mf-menu/src/components/feature/RemyButton.vue.d.ts +15 -0
  44. package/dist/apps/mf-menu/src/components/feature/RemyDialog.vue.d.ts +15 -0
  45. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/item.d.ts +4 -4
  46. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/scheduler.d.ts +2 -2
  47. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/useItemFormManagement.d.ts +2 -2
  48. package/dist/apps/mf-menu/src/components/feature/TreeEditor/item/ItemForm.vue.d.ts +6 -6
  49. package/dist/apps/mf-menu/src/components/feature/TreeEditor/menuUtils.d.ts +2 -2
  50. package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +6 -6
  51. package/dist/apps/mf-menu/src/components/import/PreviewAddonContent.vue.d.ts +4 -4
  52. package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +2 -2
  53. package/dist/apps/mf-menu/src/helper/itemCategories.d.ts +2 -2
  54. package/dist/apps/mf-menu/src/helper/menu.d.ts +8 -8
  55. package/dist/apps/mf-menu/src/helper/menuImport.d.ts +6 -6
  56. package/dist/apps/mf-menu/src/helper/remy.d.ts +5 -0
  57. package/dist/apps/mf-menu/src/manager/menu/item.d.ts +6 -6
  58. package/dist/apps/mf-menu/src/stores/manager/item.d.ts +6 -6
  59. package/dist/apps/mf-menu/src/stores/manager/scheduler.d.ts +2 -2
  60. package/dist/apps/mf-menu/src/stores/menu.d.ts +6 -6
  61. package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/Form.vue.d.ts +4 -4
  62. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  63. package/dist/assets/linked-status-Be2uepOA.js +13 -0
  64. package/dist/assets/override-menu-BNzx1e7q.js +13 -0
  65. package/dist/assets/validate-menu-1m_f_apm.js +13 -0
  66. package/dist/{catalog-DwkO7yop.js → catalog-V8dAzNBn.js} +1 -1
  67. package/dist/{catalogSetting-CumgGXIo.js → catalogSetting-BC5IqMYN.js} +1 -1
  68. package/dist/{category-D2Xx3hY5.js → category-CGuw37sm.js} +1 -1
  69. package/dist/{currency-Bkp0tqsQ.js → currency-DoEQzitl.js} +1 -1
  70. package/dist/{customAttributes-DwymRGmn.js → customAttributes-DY9pRcZS.js} +1 -1
  71. package/dist/{index-BN2jDHsh.js → index-Bq48jgnb.js} +4 -4
  72. package/dist/{index-TY5PFXUy.js → index-CM4lBQ4G.js} +1 -1
  73. package/dist/{index-DRFoaNlI.js → index-VYtnXWAq.js} +3 -3
  74. package/dist/{index-5T1nu_-Y.js → index-mYGDBSp_.js} +1 -1
  75. package/dist/{item-DsF-BTFX.js → item-D2a5PW0Z.js} +3075 -2987
  76. package/dist/{iteration-CxgMiOX0.js → iteration-wWK05uZ1.js} +3 -3
  77. package/dist/{jszip.min-DXquVden.js → jszip.min-DTbH9ENd.js} +2 -2
  78. package/dist/{menu-DTkKQStQ.js → menu-C3-r6tS_.js} +19710 -19423
  79. package/dist/{menu-CcYs02jE.js → menu-DNF8Rgvf.js} +1 -1
  80. package/dist/{menuV2-B4QXyVAZ.js → menuV2-MHU8jzzp.js} +58 -58
  81. package/dist/mf-menu.css +1 -1
  82. package/dist/{priceTier-DnyeeA8O.js → priceTier-BvAoerIZ.js} +1 -1
  83. package/dist/{scheduler-BPODu-M5.js → scheduler-CmTQ9EiI.js} +4 -4
  84. package/dist/{subcategory-DpDJm0bj.js → subcategory-BIk6KNy_.js} +2 -2
  85. package/dist/{toExcel-Dxat0an7.js → toExcel-DGXNf3fi.js} +2 -2
  86. package/dist/{unit-84wJ74EQ.js → unit-zFDBsOyu.js} +2 -2
  87. package/package.json +7 -7
  88. package/dist/app-Ccg-hpT6.js +0 -363
  89. package/dist/assets/linked-status-M0PpN_kR.js +0 -13
  90. package/dist/assets/override-menu-rtrfOZKv.js +0 -13
  91. package/dist/assets/validate-menu-ByC-0tJQ.js +0 -13
@@ -1,5 +1,5 @@
1
1
  import { computed as n, onMounted as d, onBeforeUnmount as m } from "vue";
2
- import { u as c } from "./menu-DTkKQStQ.js";
2
+ import { u as c } from "./menu-C3-r6tS_.js";
3
3
  import "@feedmepos/mf-common";
4
4
  import "@feedmepos/ui-library";
5
5
  function p() {
@@ -1,12 +1,12 @@
1
1
  var Ue = Object.defineProperty;
2
2
  var We = (e, t, n) => t in e ? Ue(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var ne = (e, t, n) => We(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { an as ue, H as I, B as T, z as ae, ao as re, J as G, I as ie, ab as x, c as L, X as D, al as oe, ap as Le, aq as ze, A as qe, ad as Ge, ar as He, as as Be, aa as Je } from "./menu-DTkKQStQ.js";
4
+ import { an as ue, H as I, B as T, z as ae, ao as re, J as B, I as ie, a8 as x, c as z, X as D, ai as oe, ap as ze, aq as Le, A as qe, aa as Be, ar as Ge, as as He, a7 as Je } from "./menu-C3-r6tS_.js";
5
5
  import { defineStore as Ye } from "pinia";
6
- import { shallowRef as N, ref as H, computed as S, shallowReactive as Xe, effectScope as Ze, watch as Qe } from "vue";
6
+ import { shallowRef as N, ref as G, computed as S, shallowReactive as Xe, effectScope as Qe, watch as Ze } from "vue";
7
7
  import { useCoreStore as se } from "@feedmepos/mf-common";
8
8
  import { useSnackbar as et } from "@feedmepos/ui-library";
9
- const tt = "/assets/linked-status-M0PpN_kR.js", nt = "/assets/override-menu-rtrfOZKv.js";
9
+ const tt = "/assets/linked-status-Be2uepOA.js", nt = "/assets/override-menu-BNzx1e7q.js";
10
10
  function rt(e) {
11
11
  var o;
12
12
  const t = I(e), n = (o = t.variant) == null ? void 0 : o.variantCombinations;
@@ -104,7 +104,7 @@ function st(e, t) {
104
104
  };
105
105
  return [...o, r];
106
106
  }
107
- function B(e, t) {
107
+ function H(e, t) {
108
108
  var o;
109
109
  if (!t)
110
110
  return e;
@@ -117,7 +117,7 @@ function B(e, t) {
117
117
  const i = (f = a == null ? void 0 : a.items) == null ? void 0 : f.find(
118
118
  (p) => p._id === c._id && p.combinationKey === c.combinationKey
119
119
  );
120
- return B(c, i);
120
+ return H(c, i);
121
121
  }), r;
122
122
  }), n;
123
123
  }
@@ -131,7 +131,7 @@ function ut(e, t) {
131
131
  );
132
132
  if (!a)
133
133
  throw new Error(`Item overrider not found - ${r._id} - ${r.combinationKey}`);
134
- return B(a, r);
134
+ return H(a, r);
135
135
  })
136
136
  });
137
137
  const o = n.find((r) => !r.combinationKey);
@@ -145,7 +145,7 @@ function ut(e, t) {
145
145
  const c = (i = a == null ? void 0 : a.items) == null ? void 0 : i.find(
146
146
  (f) => f._id === u._id && f.combinationKey === u.combinationKey
147
147
  );
148
- return B(u, c);
148
+ return H(u, c);
149
149
  }), r;
150
150
  }), {
151
151
  ...t,
@@ -183,11 +183,11 @@ function Vt(e, t) {
183
183
  return r;
184
184
  }, [])) || []).join(" / ");
185
185
  }
186
- const z = /* @__PURE__ */ new Map();
186
+ const L = /* @__PURE__ */ new Map();
187
187
  async function Dt(e, t) {
188
188
  const n = `${e._id}-${e.updatedAt}-${t}`;
189
- if (z.has(n))
190
- return z.get(n);
189
+ if (L.has(n))
190
+ return L.get(n);
191
191
  const o = await ue(
192
192
  tt,
193
193
  JSON.stringify({
@@ -195,7 +195,7 @@ async function Dt(e, t) {
195
195
  itemId: t
196
196
  })
197
197
  );
198
- return z.set(n, o), o;
198
+ return L.set(n, o), o;
199
199
  }
200
200
  async function ce(e, t, n) {
201
201
  return await ue(nt, {
@@ -219,7 +219,7 @@ function Tt(e, t, n) {
219
219
  }
220
220
  return r(t, n);
221
221
  }
222
- function Kt(e, t, n) {
222
+ function Ft(e, t, n) {
223
223
  const o = /* @__PURE__ */ new Set();
224
224
  function r(a, l) {
225
225
  if (!e || !a || !l || o.has(a)) return !1;
@@ -242,7 +242,7 @@ async function at(e, t, n) {
242
242
  const r = await ce(e, t, n);
243
243
  return q.set(o, r), r;
244
244
  }
245
- async function Pt(e, t, n) {
245
+ async function Kt(e, t, n) {
246
246
  var l, u;
247
247
  const o = await at(e, t, null), r = [], a = (c, i) => {
248
248
  const f = I(c);
@@ -268,7 +268,7 @@ async function Pt(e, t, n) {
268
268
  }
269
269
  return r;
270
270
  }
271
- const M = 0, K = 3;
271
+ const M = 0, F = 3;
272
272
  function it(e) {
273
273
  const t = /^\/(.*)\/([gimyu]*)$/.exec(e.toString());
274
274
  if (!t)
@@ -291,13 +291,13 @@ function O(e) {
291
291
  Object.prototype.hasOwnProperty.call(e, n) && (t[n] = O(e[n]));
292
292
  return t;
293
293
  }
294
- function F(e) {
294
+ function P(e) {
295
295
  return e instanceof RegExp ? e.toString() : e;
296
296
  }
297
297
  function k(e) {
298
298
  return typeof e == "object" && e !== null && !Array.isArray(e) && !(e instanceof Date) && !(e instanceof RegExp);
299
299
  }
300
- function P(e, t) {
300
+ function K(e, t) {
301
301
  if (e === t) return !0;
302
302
  if (typeof e != typeof t) return !1;
303
303
  if (e instanceof Date && t instanceof Date)
@@ -307,14 +307,14 @@ function P(e, t) {
307
307
  if (Array.isArray(e) && Array.isArray(t)) {
308
308
  if (e.length !== t.length) return !1;
309
309
  for (let n = 0; n < e.length; n++)
310
- if (!P(e[n], t[n])) return !1;
310
+ if (!K(e[n], t[n])) return !1;
311
311
  return !0;
312
312
  }
313
313
  if (k(e) && k(t)) {
314
314
  const n = Object.keys(e), o = Object.keys(t);
315
315
  if (n.length !== o.length) return !1;
316
316
  for (const r of n)
317
- if (!Object.prototype.hasOwnProperty.call(t, r) || !P(e[r], t[r])) return !1;
317
+ if (!Object.prototype.hasOwnProperty.call(t, r) || !K(e[r], t[r])) return !1;
318
318
  return !0;
319
319
  }
320
320
  return !1;
@@ -330,7 +330,7 @@ function ct(e, t, n) {
330
330
  const i = e[c], f = n ? n(i) : JSON.stringify(i), p = a.get(f);
331
331
  if (p) {
332
332
  for (const m of p)
333
- if (!u.has(m) && P(i, t[m])) {
333
+ if (!u.has(m) && K(i, t[m])) {
334
334
  l.push({ leftIndex: c, rightIndex: m }), u.add(m);
335
335
  break;
336
336
  }
@@ -340,7 +340,7 @@ function ct(e, t, n) {
340
340
  }
341
341
  function lt(e, t, n) {
342
342
  var m, v;
343
- if (P(e, t)) return;
343
+ if (K(e, t)) return;
344
344
  const o = { _t: "a" }, r = ((m = n == null ? void 0 : n.arrays) == null ? void 0 : m.detectMove) !== !1, a = ((v = n == null ? void 0 : n.arrays) == null ? void 0 : v.includeValueOnMove) === !0, l = n == null ? void 0 : n.objectHash;
345
345
  let u = r ? ct(e, t, l) : [];
346
346
  if (!l && e.length === t.length && e.length > 0 && u.length < e.length) {
@@ -360,7 +360,7 @@ function lt(e, t, n) {
360
360
  if (b !== void 0) {
361
361
  const w = J(e[h], t[b], n);
362
362
  if (w !== void 0 && (o[b] = w), r && b !== h) {
363
- const C = `_${h}`, R = a ? [e[h], b, K] : ["", b, K];
363
+ const C = `_${h}`, R = a ? [e[h], b, F] : ["", b, F];
364
364
  o[C] = R;
365
365
  }
366
366
  } else {
@@ -375,7 +375,7 @@ function lt(e, t, n) {
375
375
  return o;
376
376
  }
377
377
  function dt(e, t, n) {
378
- if (P(e, t)) return;
378
+ if (K(e, t)) return;
379
379
  const o = {}, r = Object.keys(e), a = Object.keys(t), l = /* @__PURE__ */ new Set([...r, ...a]);
380
380
  for (const u of l) {
381
381
  if (n != null && n.propertyFilter && !n.propertyFilter(u, { left: e, right: t }))
@@ -392,21 +392,21 @@ function dt(e, t, n) {
392
392
  return Object.keys(o).length > 0 ? o : void 0;
393
393
  }
394
394
  function J(e, t, n) {
395
- if (P(e, t)) return;
395
+ if (K(e, t)) return;
396
396
  if (e === void 0 && t !== void 0) {
397
397
  const u = n != null && n.cloneDiffValues ? O(t) : t;
398
- return [F(u)];
398
+ return [P(u)];
399
399
  }
400
400
  if (typeof e !== typeof t || e instanceof Date != t instanceof Date || e instanceof RegExp != t instanceof RegExp || Array.isArray(e) !== Array.isArray(t)) {
401
401
  const u = n != null && n.cloneDiffValues ? O(e) : e, c = n != null && n.cloneDiffValues ? O(t) : t;
402
- return [F(u), F(c)];
402
+ return [P(u), P(c)];
403
403
  }
404
404
  if (Array.isArray(e) && Array.isArray(t))
405
405
  return lt(e, t, n);
406
406
  if (k(e) && k(t))
407
407
  return dt(e, t, n);
408
408
  const a = n != null && n.cloneDiffValues ? O(e) : e, l = n != null && n.cloneDiffValues ? O(t) : t;
409
- return [F(a), F(l)];
409
+ return [P(a), P(l)];
410
410
  }
411
411
  function ft(e, t, n) {
412
412
  return J(e, t, n);
@@ -416,7 +416,7 @@ function mt(e, t, n) {
416
416
  for (const u in t) {
417
417
  if (u === "_t" || !u.startsWith("_")) continue;
418
418
  const c = parseInt(u.slice(1)), i = t[u];
419
- Array.isArray(i) && (i.length === 3 && i[2] === M ? o.add(c) : i.length === 3 && i[2] === K && r.set(c, i[1]));
419
+ Array.isArray(i) && (i.length === 3 && i[2] === M ? o.add(c) : i.length === 3 && i[2] === F && r.set(c, i[1]));
420
420
  }
421
421
  const a = [];
422
422
  let l = 0;
@@ -481,9 +481,9 @@ function yt(e) {
481
481
  if (Array.isArray(r)) {
482
482
  if (r.length === 3 && r[2] === M)
483
483
  t[o] = [r[0]];
484
- else if (r.length === 3 && r[2] === K) {
484
+ else if (r.length === 3 && r[2] === F) {
485
485
  const a = r[1];
486
- t[`_${a}`] = [r[0], o, K];
486
+ t[`_${a}`] = [r[0], o, F];
487
487
  }
488
488
  }
489
489
  } else {
@@ -519,7 +519,7 @@ function X(e) {
519
519
  return [e[1], e[0]];
520
520
  if (e.length === 3 && e[2] === M)
521
521
  return [e[0]];
522
- if (e.length === 3 && e[2] === K)
522
+ if (e.length === 3 && e[2] === F)
523
523
  return e;
524
524
  }
525
525
  return k(e) && e._t === "a" ? yt(e) : k(e) ? pt(e) : e;
@@ -566,7 +566,7 @@ function St({
566
566
  includeValueOnMove: !1
567
567
  },
568
568
  cloneDiffValues: !1
569
- }), n = N(null), o = N([]), r = H(-1), a = N(null), l = S(() => r.value > 0), u = S(() => r.value < o.value.length - 1);
569
+ }), n = N(null), o = N([]), r = G(-1), a = N(null), l = S(() => r.value > 0), u = S(() => r.value < o.value.length - 1);
570
570
  function c(v) {
571
571
  if (n.value === null) {
572
572
  n.value = I(v), a.value = I(v), o.value = [{ delta: null }], r.value = 0;
@@ -616,7 +616,7 @@ function St({
616
616
  }
617
617
  const bt = {
618
618
  async updateMenuModule(e, t) {
619
- const n = G.RequestRunner.operation(t, e.modules);
619
+ const n = B.RequestRunner.operation(t, e.modules);
620
620
  if (n.validateError.length > 0)
621
621
  throw new Error(n.validateError.join(`
622
622
  `));
@@ -664,15 +664,15 @@ function wt() {
664
664
  }
665
665
  };
666
666
  }
667
- const Ft = Ye(
667
+ const Pt = Ye(
668
668
  "mf-menu-store-v2",
669
669
  () => {
670
670
  const e = Xe(wt()), t = se(), n = et(), o = S(() => e.menu.modules.serveSequence ? x(e.menu.modules.serveSequence, {
671
671
  selector: "position"
672
672
  }) : []), r = S(() => {
673
673
  var s;
674
- return ((s = t.currentBusiness.value) == null ? void 0 : s.menuVersion) || L.F_MENU_VERSION.v3;
675
- }), a = S(() => r.value === L.F_MENU_VERSION.v4), l = S(() => {
674
+ return ((s = t.currentBusiness.value) == null ? void 0 : s.menuVersion) || z.F_MENU_VERSION.v3;
675
+ }), a = S(() => r.value === z.F_MENU_VERSION.v4), l = S(() => {
676
676
  const s = e.menu.modules.catalog;
677
677
  return x(s, { selector: "name" });
678
678
  }), u = S(() => {
@@ -692,7 +692,7 @@ const Ft = Ye(
692
692
  function f(s, d = !0) {
693
693
  e.menu = { ...s, _rev: e.menu._rev }, d && V.push(e.menu);
694
694
  }
695
- const p = N(fe()), m = H(!1), v = H(1);
695
+ const p = N(fe()), m = G(!1), v = G(1);
696
696
  async function h() {
697
697
  var y;
698
698
  m.value = !0;
@@ -729,15 +729,15 @@ const Ft = Ye(
729
729
  }
730
730
  const w = ie.debounce(h, 200);
731
731
  let C = null, R = null;
732
- function Z() {
733
- R && (R(), R = null), C && C.stop(), C = Ze(!0), R = C.run(() => Qe(
732
+ function Q() {
733
+ R && (R(), R = null), C && C.stop(), C = Qe(!0), R = C.run(() => Ze(
734
734
  () => [e.menu, e.currentCatalogId, e.currentSchedulerId],
735
735
  () => {
736
736
  m.value || w();
737
737
  }
738
738
  )) || null;
739
739
  }
740
- Z();
740
+ Q();
741
741
  const me = S(() => [
742
742
  {
743
743
  label: "Main",
@@ -747,7 +747,7 @@ const Ft = Ye(
747
747
  label: s.name,
748
748
  value: s._id
749
749
  }))
750
- ]), Q = S(() => {
750
+ ]), Z = S(() => {
751
751
  const s = p.value.modules.category;
752
752
  return [
753
753
  ...U.value.item.addon ? [
@@ -785,7 +785,7 @@ const Ft = Ye(
785
785
  y,
786
786
  (g) => g.code || g.name
787
787
  ).reduce((g, _, A) => (g[_._id] = A + d[_.category || ""], g), {});
788
- }), pe = S(() => oe(j.value, Q.value, ee.value)), he = S(() => {
788
+ }), pe = S(() => oe(j.value, Z.value, ee.value)), he = S(() => {
789
789
  const s = U.value.item.addon ? [
790
790
  {
791
791
  _id: e.currentCatalogId ? "" : null,
@@ -809,13 +809,13 @@ const Ft = Ye(
809
809
  }
810
810
  const _e = S(() => D(p.value.modules.group, (s) => s.name)), Se = S(() => x(p.value.modules.takeaway, { selector: "name" })), be = S(() => x(e.menu.modules.printDepartment || [], {
811
811
  selector: "name"
812
- })), we = S(() => x(e.menu.modules.unit, { selector: "name" })), Me = S(() => x(Le(e.menu.modules.recipe, e.menu.modules.sku), {
812
+ })), we = S(() => x(e.menu.modules.unit, { selector: "name" })), Me = S(() => x(ze(e.menu.modules.recipe, e.menu.modules.sku), {
813
813
  selector: "name"
814
814
  })), Ae = S(() => e.menu.modules.cookingGuide), Ie = S(() => {
815
- const s = ze(e.menu.modules.sku);
815
+ const s = Le(e.menu.modules.sku);
816
816
  return x(s, { selector: "code" });
817
817
  }), U = S(() => {
818
- const s = !e.currentCatalogId, d = r.value === L.F_MENU_VERSION.v4, y = !e.currentSchedulerId, g = {
818
+ const s = !e.currentCatalogId, d = r.value === z.F_MENU_VERSION.v4, y = !e.currentSchedulerId, g = {
819
819
  create: s && y,
820
820
  edit: s && y,
821
821
  delete: s && y
@@ -898,7 +898,7 @@ const Ft = Ye(
898
898
  const s = ["SV5", "SV10"], d = qe.Country.getCountryFlattenTaxes(
899
899
  se().currentCountry.value
900
900
  ), y = d.filter((_) => a.value || !s.includes(_.taxCode)).map((_) => ({
901
- label: `${_.name} (${Ge(_.rate)}%)`,
901
+ label: `${_.name} (${Be(_.rate)}%)`,
902
902
  value: W(_),
903
903
  meta: {
904
904
  rate: _.rate
@@ -912,7 +912,7 @@ const Ft = Ye(
912
912
  const s = await Je.readMenu();
913
913
  e.menu = s ?? e.menu, te(null);
914
914
  }, xe = async () => {
915
- const { fetchAllRestaurants: s } = Be();
915
+ const { fetchAllRestaurants: s } = He();
916
916
  await s({
917
917
  onBatchEnd: (d) => {
918
918
  e.restaurants = d;
@@ -936,9 +936,9 @@ const Ft = Ye(
936
936
  }));
937
937
  try {
938
938
  if (d || g.some(
939
- (A) => [G.F_OPERATION_TYPE.delete, G.F_OPERATION_TYPE.deleteMany].includes(A.operation)
939
+ (A) => [B.F_OPERATION_TYPE.delete, B.F_OPERATION_TYPE.deleteMany].includes(A.operation)
940
940
  )) {
941
- const A = await He(g, e.menu.modules);
941
+ const A = await Ge(g, e.menu.modules);
942
942
  if (A !== !0) throw new Error(A);
943
943
  }
944
944
  const _ = await bt.updateMenuModule(e.menu, g);
@@ -950,7 +950,7 @@ const Ft = Ye(
950
950
  message: _
951
951
  });
952
952
  }
953
- }, Ke = async (s) => {
953
+ }, Fe = async (s) => {
954
954
  const d = {
955
955
  ...e.menu,
956
956
  masterCatalogSetting: s.masterCatalogSetting,
@@ -958,7 +958,7 @@ const Ft = Ye(
958
958
  priceTierSettings: s.priceTierSettings
959
959
  };
960
960
  return f(d), d;
961
- }, V = St({ maxHistorySize: 50 }), Pe = S(() => V.canUndo.value), Fe = S(() => V.canRedo.value), $e = () => {
961
+ }, V = St({ maxHistorySize: 50 }), Ke = S(() => V.canUndo.value), Pe = S(() => V.canRedo.value), $e = () => {
962
962
  const s = V.undo();
963
963
  s && f(s, !1);
964
964
  }, Ne = () => {
@@ -983,7 +983,7 @@ const Ft = Ye(
983
983
  schedulers: c,
984
984
  currentScheduler: i,
985
985
  catalogOptions: me,
986
- categories: Q,
986
+ categories: Z,
987
987
  subcategories: ve,
988
988
  items: ee,
989
989
  sortedItems: ye,
@@ -1008,7 +1008,7 @@ const Ft = Ye(
1008
1008
  selectCategory: Ve,
1009
1009
  setRestaurantAttrParams: De,
1010
1010
  updateMenu: Te,
1011
- updateMenuSetting: Ke,
1011
+ updateMenuSetting: Fe,
1012
1012
  computeMergedMenu: h,
1013
1013
  // helper
1014
1014
  encodeTax: W,
@@ -1016,8 +1016,8 @@ const Ft = Ye(
1016
1016
  getSelectedTax: Re,
1017
1017
  mapVariant: ge,
1018
1018
  // history
1019
- canUndoHistory: Pe,
1020
- canRedoHistory: Fe,
1019
+ canUndoHistory: Ke,
1020
+ canRedoHistory: Pe,
1021
1021
  undoHistory: $e,
1022
1022
  redoHistory: Ne,
1023
1023
  // cleanup
@@ -1025,7 +1025,7 @@ const Ft = Ye(
1025
1025
  w.cancel(), R && (R(), R = null), C && (C.stop(), C = null), je();
1026
1026
  },
1027
1027
  $reinitialize: () => {
1028
- Z();
1028
+ Q();
1029
1029
  }
1030
1030
  };
1031
1031
  }
@@ -1033,10 +1033,10 @@ const Ft = Ye(
1033
1033
  export {
1034
1034
  Dt as a,
1035
1035
  Tt as b,
1036
- Kt as c,
1037
- Pt as f,
1036
+ Ft as c,
1037
+ Kt as f,
1038
1038
  Vt as g,
1039
1039
  Ot as m,
1040
1040
  at as o,
1041
- Ft as u
1041
+ Pt as u
1042
1042
  };
package/dist/mf-menu.css CHANGED
@@ -1 +1 @@
1
- .expand-enter-from[data-v-469403ff]{opacity:0;max-height:0}.expand-enter-to[data-v-469403ff],.expand-leave-from[data-v-469403ff]{opacity:1;max-height:1000px}.expand-leave-to[data-v-469403ff]{opacity:0;max-height:0}.expand-enter-active[data-v-469403ff],.expand-leave-active[data-v-469403ff]{transition-property:max-height,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fade-enter-from[data-v-5b5c7179]{opacity:0}.fade-enter-to[data-v-5b5c7179],.fade-leave-from[data-v-5b5c7179]{opacity:1}.fade-leave-to[data-v-5b5c7179]{opacity:0}.fade-enter-active[data-v-5b5c7179],.fade-leave-active[data-v-5b5c7179]{transition:opacity .5s ease}.expand-enter-from[data-v-e920f110]{opacity:0;max-height:0}.expand-enter-to[data-v-e920f110],.expand-leave-from[data-v-e920f110]{opacity:1;max-height:1000px}.expand-leave-to[data-v-e920f110]{opacity:0;max-height:0}.expand-enter-active[data-v-e920f110],.expand-leave-active[data-v-e920f110]{transition-property:max-height,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fm-select__menu__wrapper[data-v-89b5becb]{position:relative;min-width:112px;padding:12px 4px;display:flex;flex-direction:column;overflow-y:auto;border-radius:8px;background-color:var(--fm-color-neutral-white);--tw-shadow: 0px 8px 16px 0px rgba(199, 199, 204, .24);--tw-shadow-colored: 0px 8px 16px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.vue-advanced-cropper{text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;max-height:100%;max-width:100%;direction:ltr}.vue-advanced-cropper__stretcher{pointer-events:none;position:relative;max-width:100%;max-height:100%}.vue-advanced-cropper__image{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:absolute;transform-origin:center;max-width:none!important}.vue-advanced-cropper__background,.vue-advanced-cropper__foreground{opacity:1;background:#000;transform:translate(-50%,-50%);position:absolute;top:50%;left:50%}.vue-advanced-cropper__foreground{opacity:.5}.vue-advanced-cropper__boundaries{opacity:1;transform:translate(-50%,-50%);position:absolute;left:50%;top:50%}.vue-advanced-cropper__cropper-wrapper{width:100%;height:100%}.vue-advanced-cropper__image-wrapper{overflow:hidden;position:absolute;width:100%;height:100%}.vue-advanced-cropper__stencil-wrapper{position:absolute}.vue-simple-handler{display:block;background:#fff;height:10px;width:10px}.vue-handler-wrapper{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px}.vue-handler-wrapper__draggable{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.vue-handler-wrapper--west-north{cursor:nw-resize}.vue-handler-wrapper--north{cursor:n-resize}.vue-handler-wrapper--east-north{cursor:ne-resize}.vue-handler-wrapper--east{cursor:e-resize}.vue-handler-wrapper--east-south{cursor:se-resize}.vue-handler-wrapper--south{cursor:s-resize}.vue-handler-wrapper--west-south{cursor:sw-resize}.vue-handler-wrapper--west{cursor:w-resize}.vue-handler-wrapper--disabled{cursor:auto}.vue-line-wrapper{background:none;position:absolute;display:flex;align-items:center;justify-content:center}.vue-line-wrapper--north,.vue-line-wrapper--south{height:12px;width:100%;left:0;transform:translateY(-50%)}.vue-line-wrapper--north{top:0;cursor:n-resize}.vue-line-wrapper--south{top:100%;cursor:s-resize}.vue-line-wrapper--east,.vue-line-wrapper--west{width:12px;height:100%;transform:translate(-50%);top:0}.vue-line-wrapper--east{left:100%;cursor:e-resize}.vue-line-wrapper--west{left:0;cursor:w-resize}.vue-line-wrapper--disabled{cursor:auto}.vue-bounding-box{position:relative;height:100%;width:100%}.vue-bounding-box__handler{position:absolute}.vue-bounding-box__handler--west-north{left:0;top:0}.vue-bounding-box__handler--north{left:50%;top:0}.vue-bounding-box__handler--east-north{left:100%;top:0}.vue-bounding-box__handler--east{left:100%;top:50%}.vue-bounding-box__handler--east-south{left:100%;top:100%}.vue-bounding-box__handler--south{left:50%;top:100%}.vue-bounding-box__handler--west-south{left:0;top:100%}.vue-bounding-box__handler--west{left:0;top:50%}.vue-draggable-area{position:relative}.vue-preview-result{overflow:hidden;box-sizing:border-box;position:absolute;height:100%;width:100%}.vue-preview-result__wrapper{position:absolute}.vue-preview-result__image{pointer-events:none;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-rectangle-stencil{position:absolute;height:100%;width:100%;box-sizing:border-box}.vue-rectangle-stencil__preview{position:absolute;width:100%;height:100%}.vue-rectangle-stencil--movable{cursor:move}.vue-circle-stencil{position:absolute;height:100%;width:100%;box-sizing:content-box;cursor:move}.vue-circle-stencil__preview{border-radius:50%;position:absolute;width:100%;height:100%}.vue-circle-stencil--movable{cursor:move}.vue-preview{overflow:hidden;box-sizing:border-box;position:relative}.vue-preview--fill{width:100%;height:100%;position:absolute}.vue-preview__wrapper{position:absolute;height:100%;width:100%}.vue-preview__image{pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-simple-line{background:none;transition:border .5s;border-color:#ffffff4d;border-width:0;border-style:solid}.vue-simple-line--south,.vue-simple-line--north{height:0;width:100%}.vue-simple-line--east,.vue-simple-line--west{height:100%;width:0}.vue-simple-line--east{border-right-width:1px}.vue-simple-line--west{border-left-width:1px}.vue-simple-line--south{border-bottom-width:1px}.vue-simple-line--north{border-top-width:1px}.vue-simple-line--hover{opacity:1;border-color:#fff}.fm-select__menu__wrapper[data-v-ca5e943c]{position:relative;min-width:112px;padding:12px 4px;display:flex;flex-direction:column;overflow-y:auto;border-radius:8px;background-color:var(--fm-color-neutral-white);--tw-shadow: 0px 8px 16px 0px rgba(199, 199, 204, .24);--tw-shadow-colored: 0px 8px 16px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.description[data-v-3a138731] textarea{padding-right:32px}.image-action-overlay[data-v-946af9b7]{visibility:hidden;background-color:#ffffff4d}.container:hover .image-action-overlay[data-v-946af9b7]{visibility:visible}.description[data-v-e26ed736] textarea{padding-right:32px}.tree-item-form button:focus{outline:2px solid black}.resize-handle[data-v-570141b0]{cursor:col-resize}.resize-handle[data-v-570141b0]:hover{background-color:var(--fm-color-system-orange-200);filter:opacity(.4)}.resize-grabber[data-v-570141b0]{pointer-events:none}[data-v-f6f1080b] .highlighted-span{background-color:#ff06}.hover-effect:hover:before{content:"";background-color:var(--fm-color-opacity-sm);border-radius:var(--fm-corner-radius-sm);position:absolute;top:0;left:0;height:100%;width:100%}.tree-node .right-area .show-on-hover{display:none}.tree-node:hover .right-area .show-on-hover{display:flex}.drag-handle{cursor:grab;position:absolute;left:0}.tree-node:hover .drag-handle{visibility:visible}.tree-node .drag-handle{visibility:hidden}.drop-indicator-before{position:absolute;left:0;right:0;top:-1px;height:2px;background-color:var(--fm-color-primary);z-index:10}.drop-indicator-after{position:absolute;left:0;right:0;bottom:-1px;height:2px;background-color:var(--fm-color-primary);z-index:10}.drop-indicator-inside{position:absolute;left:0;right:0;top:0;bottom:0;border:2px solid var(--fm-color-primary);border-radius:var(--fm-corner-radius-sm);background-color:var(--fm-color-opacity-sm);z-index:5}.tree-node{position:relative}.tree-container[data-v-9244f342]{width:100%;max-width:100%;height:100%;position:relative}.tree-node-wrapper[data-v-9244f342]{width:100%;position:relative}.empty-tree-message[data-v-9244f342]{padding:20px;text-align:center;color:#666}.being-dragged[data-v-9244f342]{opacity:.5}.drop-before[data-v-9244f342]:before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background-color:var(--fm-color-primary);z-index:10}.drop-after[data-v-9244f342]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background-color:var(--fm-color-primary);z-index:10}.drop-inside[data-v-9244f342]{background-color:#4299e11a}.drag-overlay[data-v-9244f342]{position:fixed;padding:4px 8px;background-color:#fff;border:1px solid var(--fm-color-neutral-gray-200);box-shadow:0 2px 4px #0000001a;pointer-events:none;z-index:1000;border-radius:4px;max-width:400px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-overlay{background-color:#ffffff80}.fade-enter-from[data-v-6c3052b3]{opacity:0}.fade-enter-to[data-v-6c3052b3],.fade-leave-from[data-v-6c3052b3]{opacity:1}.fade-leave-to[data-v-6c3052b3]{opacity:0}.fade-enter-active[data-v-6c3052b3],.fade-leave-active[data-v-6c3052b3]{transition:opacity .5s ease}.expand-enter-active,.expand-leave-active{transition:.3s}.expand-enter-from{opacity:0;max-height:0}.expand-enter-to,.expand-leave-from{opacity:1;max-height:1000px}.expand-leave-to{opacity:0;max-height:0}.app-container{background-color:#fff!important}
1
+ .chatbox[data-v-97b727dd]{padding:10px;display:flex;flex-direction:column;height:100%;width:100%;overflow-y:scroll;gap:4px}.chatbox .user-message[data-v-97b727dd]{align-self:end;max-width:90%;display:flex;flex-direction:column;gap:4px}.chatbox .remy-message[data-v-97b727dd]{align-self:start;max-width:90%;display:flex;flex-direction:column;gap:4px}.chatbox .user-name[data-v-97b727dd]{padding:4px 8px;font-size:12px;font-weight:700}.chatbox .selection-container[data-v-97b727dd]{display:flex;flex-direction:row;flex-wrap:wrap;gap:4px}.chatbox .selection-container .selection[data-v-97b727dd]{cursor:pointer}.chatbox .message-bubble[data-v-97b727dd]{background:#f0f0f0;padding:4px 8px;border-radius:6px;line-height:20px;font-size:14px}.chatbox .select-label[data-v-97b727dd]{font-weight:700;font-size:12px;padding:4px 8px;align-self:center}.chatbox .message[data-v-97b727dd]{white-space:pre-wrap}.chatbox .spinner[data-v-97b727dd]{text-align:left}.chatbox .spinner>div[data-v-97b727dd]{width:4px;height:4px;margin:0 2px;background-color:#434343;border-radius:100%;display:inline-block;animation:sk-bouncedelay-97b727dd 1.4s infinite ease-in-out both}.chatbox .spinner .bounce1[data-v-97b727dd]{animation-delay:-.32s}.chatbox .spinner .bounce2[data-v-97b727dd]{animation-delay:-.16s}@keyframes sk-bouncedelay-97b727dd{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.expand-enter-from[data-v-469403ff]{opacity:0;max-height:0}.expand-enter-to[data-v-469403ff],.expand-leave-from[data-v-469403ff]{opacity:1;max-height:1000px}.expand-leave-to[data-v-469403ff]{opacity:0;max-height:0}.expand-enter-active[data-v-469403ff],.expand-leave-active[data-v-469403ff]{transition-property:max-height,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fade-enter-from[data-v-5b5c7179]{opacity:0}.fade-enter-to[data-v-5b5c7179],.fade-leave-from[data-v-5b5c7179]{opacity:1}.fade-leave-to[data-v-5b5c7179]{opacity:0}.fade-enter-active[data-v-5b5c7179],.fade-leave-active[data-v-5b5c7179]{transition:opacity .5s ease}.expand-enter-from[data-v-e920f110]{opacity:0;max-height:0}.expand-enter-to[data-v-e920f110],.expand-leave-from[data-v-e920f110]{opacity:1;max-height:1000px}.expand-leave-to[data-v-e920f110]{opacity:0;max-height:0}.expand-enter-active[data-v-e920f110],.expand-leave-active[data-v-e920f110]{transition-property:max-height,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fm-select__menu__wrapper[data-v-89b5becb]{position:relative;min-width:112px;padding:12px 4px;display:flex;flex-direction:column;overflow-y:auto;border-radius:8px;background-color:var(--fm-color-neutral-white);--tw-shadow: 0px 8px 16px 0px rgba(199, 199, 204, .24);--tw-shadow-colored: 0px 8px 16px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.vue-advanced-cropper{text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;max-height:100%;max-width:100%;direction:ltr}.vue-advanced-cropper__stretcher{pointer-events:none;position:relative;max-width:100%;max-height:100%}.vue-advanced-cropper__image{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:absolute;transform-origin:center;max-width:none!important}.vue-advanced-cropper__background,.vue-advanced-cropper__foreground{opacity:1;background:#000;transform:translate(-50%,-50%);position:absolute;top:50%;left:50%}.vue-advanced-cropper__foreground{opacity:.5}.vue-advanced-cropper__boundaries{opacity:1;transform:translate(-50%,-50%);position:absolute;left:50%;top:50%}.vue-advanced-cropper__cropper-wrapper{width:100%;height:100%}.vue-advanced-cropper__image-wrapper{overflow:hidden;position:absolute;width:100%;height:100%}.vue-advanced-cropper__stencil-wrapper{position:absolute}.vue-simple-handler{display:block;background:#fff;height:10px;width:10px}.vue-handler-wrapper{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px}.vue-handler-wrapper__draggable{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.vue-handler-wrapper--west-north{cursor:nw-resize}.vue-handler-wrapper--north{cursor:n-resize}.vue-handler-wrapper--east-north{cursor:ne-resize}.vue-handler-wrapper--east{cursor:e-resize}.vue-handler-wrapper--east-south{cursor:se-resize}.vue-handler-wrapper--south{cursor:s-resize}.vue-handler-wrapper--west-south{cursor:sw-resize}.vue-handler-wrapper--west{cursor:w-resize}.vue-handler-wrapper--disabled{cursor:auto}.vue-line-wrapper{background:none;position:absolute;display:flex;align-items:center;justify-content:center}.vue-line-wrapper--north,.vue-line-wrapper--south{height:12px;width:100%;left:0;transform:translateY(-50%)}.vue-line-wrapper--north{top:0;cursor:n-resize}.vue-line-wrapper--south{top:100%;cursor:s-resize}.vue-line-wrapper--east,.vue-line-wrapper--west{width:12px;height:100%;transform:translate(-50%);top:0}.vue-line-wrapper--east{left:100%;cursor:e-resize}.vue-line-wrapper--west{left:0;cursor:w-resize}.vue-line-wrapper--disabled{cursor:auto}.vue-bounding-box{position:relative;height:100%;width:100%}.vue-bounding-box__handler{position:absolute}.vue-bounding-box__handler--west-north{left:0;top:0}.vue-bounding-box__handler--north{left:50%;top:0}.vue-bounding-box__handler--east-north{left:100%;top:0}.vue-bounding-box__handler--east{left:100%;top:50%}.vue-bounding-box__handler--east-south{left:100%;top:100%}.vue-bounding-box__handler--south{left:50%;top:100%}.vue-bounding-box__handler--west-south{left:0;top:100%}.vue-bounding-box__handler--west{left:0;top:50%}.vue-draggable-area{position:relative}.vue-preview-result{overflow:hidden;box-sizing:border-box;position:absolute;height:100%;width:100%}.vue-preview-result__wrapper{position:absolute}.vue-preview-result__image{pointer-events:none;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-rectangle-stencil{position:absolute;height:100%;width:100%;box-sizing:border-box}.vue-rectangle-stencil__preview{position:absolute;width:100%;height:100%}.vue-rectangle-stencil--movable{cursor:move}.vue-circle-stencil{position:absolute;height:100%;width:100%;box-sizing:content-box;cursor:move}.vue-circle-stencil__preview{border-radius:50%;position:absolute;width:100%;height:100%}.vue-circle-stencil--movable{cursor:move}.vue-preview{overflow:hidden;box-sizing:border-box;position:relative}.vue-preview--fill{width:100%;height:100%;position:absolute}.vue-preview__wrapper{position:absolute;height:100%;width:100%}.vue-preview__image{pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-simple-line{background:none;transition:border .5s;border-color:#ffffff4d;border-width:0;border-style:solid}.vue-simple-line--south,.vue-simple-line--north{height:0;width:100%}.vue-simple-line--east,.vue-simple-line--west{height:100%;width:0}.vue-simple-line--east{border-right-width:1px}.vue-simple-line--west{border-left-width:1px}.vue-simple-line--south{border-bottom-width:1px}.vue-simple-line--north{border-top-width:1px}.vue-simple-line--hover{opacity:1;border-color:#fff}.fm-select__menu__wrapper[data-v-ca5e943c]{position:relative;min-width:112px;padding:12px 4px;display:flex;flex-direction:column;overflow-y:auto;border-radius:8px;background-color:var(--fm-color-neutral-white);--tw-shadow: 0px 8px 16px 0px rgba(199, 199, 204, .24);--tw-shadow-colored: 0px 8px 16px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.description[data-v-35a1af31] textarea{padding-right:32px}.image-action-overlay[data-v-946af9b7]{visibility:hidden;background-color:#ffffff4d}.container:hover .image-action-overlay[data-v-946af9b7]{visibility:visible}.description[data-v-dccb443f] textarea{padding-right:32px}.tree-item-form button:focus{outline:2px solid black}.resize-handle[data-v-570141b0]{cursor:col-resize}.resize-handle[data-v-570141b0]:hover{background-color:var(--fm-color-system-orange-200);filter:opacity(.4)}.resize-grabber[data-v-570141b0]{pointer-events:none}[data-v-f6f1080b] .highlighted-span{background-color:#ff06}.hover-effect:hover:before{content:"";background-color:var(--fm-color-opacity-sm);border-radius:var(--fm-corner-radius-sm);position:absolute;top:0;left:0;height:100%;width:100%}.tree-node .right-area .show-on-hover{display:none}.tree-node:hover .right-area .show-on-hover{display:flex}.drag-handle{cursor:grab;position:absolute;left:0}.tree-node:hover .drag-handle{visibility:visible}.tree-node .drag-handle{visibility:hidden}.drop-indicator-before{position:absolute;left:0;right:0;top:-1px;height:2px;background-color:var(--fm-color-primary);z-index:10}.drop-indicator-after{position:absolute;left:0;right:0;bottom:-1px;height:2px;background-color:var(--fm-color-primary);z-index:10}.drop-indicator-inside{position:absolute;left:0;right:0;top:0;bottom:0;border:2px solid var(--fm-color-primary);border-radius:var(--fm-corner-radius-sm);background-color:var(--fm-color-opacity-sm);z-index:5}.tree-node{position:relative}.tree-container[data-v-9244f342]{width:100%;max-width:100%;height:100%;position:relative}.tree-node-wrapper[data-v-9244f342]{width:100%;position:relative}.empty-tree-message[data-v-9244f342]{padding:20px;text-align:center;color:#666}.being-dragged[data-v-9244f342]{opacity:.5}.drop-before[data-v-9244f342]:before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background-color:var(--fm-color-primary);z-index:10}.drop-after[data-v-9244f342]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background-color:var(--fm-color-primary);z-index:10}.drop-inside[data-v-9244f342]{background-color:#4299e11a}.drag-overlay[data-v-9244f342]{position:fixed;padding:4px 8px;background-color:#fff;border:1px solid var(--fm-color-neutral-gray-200);box-shadow:0 2px 4px #0000001a;pointer-events:none;z-index:1000;border-radius:4px;max-width:400px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-overlay{background-color:#ffffff80}.fade-enter-from[data-v-6c3052b3]{opacity:0}.fade-enter-to[data-v-6c3052b3],.fade-leave-from[data-v-6c3052b3]{opacity:1}.fade-leave-to[data-v-6c3052b3]{opacity:0}.fade-enter-active[data-v-6c3052b3],.fade-leave-active[data-v-6c3052b3]{transition:opacity .5s ease}.expand-enter-active,.expand-leave-active{transition:.3s}.expand-enter-from{opacity:0;max-height:0}.expand-enter-to,.expand-leave-from{opacity:1;max-height:1000px}.expand-leave-to{opacity:0;max-height:0}.app-container{background-color:#fff!important}.remy-dialog[data-v-9adba964]{position:fixed;z-index:9999;top:25%;right:30px;background:#fff;border:1px solid lightgrey;border-radius:4px;height:50%;width:400px;max-width:90%}.remy-dialog .header[data-v-9adba964]{background:#000;padding:0 12px;border-radius:4px 4px 0 0;height:40px}.remy-dialog .header .title[data-v-9adba964]{color:#fff}.remy-dialog .chatbox-container[data-v-9adba964]{height:calc(100% - 40px)}
@@ -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-DTkKQStQ.js";
4
+ import { u as k, D as M } from "./menu-C3-r6tS_.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, z as r, u as pe, I as ve, J as ue } from "./menu-DTkKQStQ.js";
2
+ import { H as S, z as r, u as pe, I as ve, J as ue } from "./menu-C3-r6tS_.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-DwymRGmn.js";
5
+ import { _ as ne, a as fe } from "./customAttributes-DY9pRcZS.js";
6
6
  import { u as ye } from "./discardConfirm-BHni0LNu.js";
7
- import { u as he } from "./menu-CcYs02jE.js";
8
- import { L as ge } from "./LinkProductSideSheet-CDYqw-R6.js";
7
+ import { u as he } from "./menu-DNF8Rgvf.js";
8
+ import { L as ge } from "./LinkProductSideSheet-B5Di8NBz.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, z as d, u as F } from "./menu-DTkKQStQ.js";
2
+ import { J as l, z as d, u as F } from "./menu-C3-r6tS_.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-B4QXyVAZ.js";
5
+ import { u as v } from "./menuV2-MHU8jzzp.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-Casi1-TT.js";
2
- import "./menu-DTkKQStQ.js";
1
+ import { u as C } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-CA1541eR.js";
2
+ import "./menu-C3-r6tS_.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 { a5 as B, a6 as te, a3 as P, H as k, O as $, D as I, B as E, a4 as ne, J as C, z as D, I as oe, u as ae } from "./menu-DTkKQStQ.js";
3
+ import { a5 as B, a6 as te, a3 as P, H as k, O as $, D as I, B as E, a4 as ne, J as C, z as D, I as oe, u as ae } from "./menu-C3-r6tS_.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-5fxKLAzS.js";
10
- import "./menuV2-B4QXyVAZ.js";
10
+ import "./menuV2-MHU8jzzp.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.72-remy.1",
3
+ "version": "0.31.73",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -16,14 +16,14 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@feedmepos/auth": "^1.1.14",
19
- "@feedmepos/core": "2.14.58",
19
+ "@feedmepos/core": "2.14.59",
20
20
  "@feedmepos/core-dart": "^0.2.6",
21
21
  "@feedmepos/core-legacy": "file:../../core-legacy-1.4.tar.gz",
22
22
  "@feedmepos/custom-attributes": "0.0.1-rc.4",
23
23
  "@feedmepos/inventory-core": "^0.2.6",
24
- "@feedmepos/menu": "1.7.31",
24
+ "@feedmepos/menu": "1.7.32",
25
25
  "@feedmepos/mf-inventory-portal": "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz",
26
- "@feedmepos/mf-remy-panel": "^0.1.0",
26
+ "@feedmepos/remy-vue-client": "0.1.3-beta.8",
27
27
  "@feedmepos/ui-library": "1.8.7",
28
28
  "@feedmepos/zod-entity": "0.0.4-alpha.9",
29
29
  "@types/dinero.js": "^1.9.4",
@@ -46,14 +46,14 @@
46
46
  "uuid": "^10.0.0",
47
47
  "vite-svg-loader": "^5.1.0",
48
48
  "vue": "^3.5.16",
49
+ "vue3-carousel": "0.16.0",
49
50
  "vue-advanced-cropper": "^2.8.9",
50
51
  "vue-i18n": "10.0.5",
51
52
  "vue-router": "^4.2.5",
52
- "vue3-carousel": "0.16.0",
53
53
  "vue3-lottie": "^3.3.0",
54
54
  "vuedraggable": "^4.1.0",
55
55
  "xlsx": "^0.18.5",
56
- "@feedmepos/mf-common": "^1.28.6"
56
+ "@feedmepos/mf-common": "^1.28.2"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@rollup/plugin-commonjs": "^28.0.2",
@@ -65,8 +65,8 @@
65
65
  "@types/uuid": "^10.0.0",
66
66
  "@vitejs/plugin-vue": "^5.2.4",
67
67
  "@vitejs/plugin-vue-jsx": "^5.0.0",
68
- "@vitest/ui": "^2.1.8",
69
68
  "@vue/tsconfig": "^0.4.0",
69
+ "@vitest/ui": "^2.1.8",
70
70
  "autoprefixer": "^10.4.16",
71
71
  "eslint": "^8.49.0",
72
72
  "eslint-plugin-tailwindcss": "^3.14.0",