@feedmepos/mf-menu 0.32.43 → 0.32.45-dev

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 (84) hide show
  1. package/dist/{App-C9b4SjED.js → App-u5AOIdU4.js} +1472 -1459
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-C1T4Ewek.js → ApplyProduct.vue_vue_type_script_setup_true_lang-RTdI8EVk.js} +3 -3
  3. package/dist/{Catalog-BVrf3VaX.js → Catalog-DDMz6wD9.js} +44 -44
  4. package/dist/{Category-BkReM5IG.js → Category-BE0d0_de.js} +24 -24
  5. package/dist/{Category-BMzIQqIE.js → Category-DoIleKPb.js} +78 -78
  6. package/dist/{CookingGuide-CvctI1TH.js → CookingGuide-iP5hFtlB.js} +105 -105
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-bYSEp6Wb.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CSaMT7Gr.js} +1 -1
  8. package/dist/{Group-CHkNuuHE.js → Group-AXDRjsKC.js} +3 -3
  9. package/dist/{Group-BQzmXagr.js → Group-xjimyqnO.js} +1 -1
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-BkruJTpL.js → Group.vue_vue_type_script_setup_true_lang-DB_X7ws3.js} +173 -173
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CBz83Qd1.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D_IUSYDa.js} +30 -30
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Dpx4meDa.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Suib7m8i.js} +1750 -1751
  13. package/dist/{Ingredient-BNsKYrQB.js → Ingredient-yr2DWIMw.js} +20 -20
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DzzwwdA_.js → InventoryBinding.vue_vue_type_script_setup_true_lang-BpiU1gRP.js} +2 -2
  15. package/dist/{LinkProductSideSheet-C6-wef-M.js → LinkProductSideSheet-2MbaATTn.js} +45 -45
  16. package/dist/{MenuSetting-DRaw7b6m.js → MenuSetting-BhkjzPiN.js} +47 -47
  17. package/dist/{PrintRoute-BKB-thVp.js → PrintRoute-ChqpbVo4.js} +39 -39
  18. package/dist/{Product-vviXmBR1.js → Product-BpnGnMzm.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-5h-k6zad.js → Product.vue_vue_type_script_setup_true_lang-COkk299w.js} +465 -463
  20. package/dist/{ProductInternalTools-DtLk3xFR.js → ProductInternalTools-BEwLYcEn.js} +66 -66
  21. package/dist/Products-lONe7x_i.js +291 -0
  22. package/dist/{Publish-jx0_H_26.js → Publish-CXRgBz-S.js} +29 -29
  23. package/dist/{Recipe-Dk04ge-_.js → Recipe-Bbt3hG6N.js} +24 -24
  24. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DaCVUn1i.js → RuleView.vue_vue_type_script_setup_true_lang-DXisBADc.js} +366 -366
  25. package/dist/{Scheduler-vFTvCVcY.js → Scheduler-DJsgP_Hi.js} +11 -11
  26. package/dist/{ServingSequence-DiBqQ_iS.js → ServingSequence-DALjVV2I.js} +44 -44
  27. package/dist/{Setting-CtzJ_pVM.js → Setting-B23o5SoS.js} +17 -17
  28. package/dist/{Subcategory-Cmv2W67T.js → Subcategory-CS4MEgtM.js} +109 -110
  29. package/dist/{Takeaway-DBW4UPFZ.js → Takeaway-CI2Y-_LF.js} +13 -13
  30. package/dist/{Takeaway-ChaYk0Ix.js → Takeaway-D27iA6M6.js} +1 -1
  31. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-C7RL3ITP.js → Takeaway.vue_vue_type_script_setup_true_lang-Ca3qK9zO.js} +111 -111
  32. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-edwJ1203.js → Thumbnail.vue_vue_type_script_setup_true_lang-Da2jQE45.js} +27 -27
  33. package/dist/TranslationFieldSection.vue_vue_type_script_setup_true_lang-DUScE-82.js +278 -0
  34. package/dist/TranslationSideSheet.vue_vue_type_script_setup_true_lang-E3-hgVdd.js +140 -0
  35. package/dist/TranslationViewChip.vue_vue_type_script_setup_true_lang-BlACWsDs.js +60 -0
  36. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DnuNFxC7.js +6130 -0
  37. package/dist/{Unit-BgLqPMLe.js → Unit-5pv3oxSc.js} +8 -8
  38. package/dist/Variant-CTAI6p6r.js +248 -0
  39. package/dist/{_id_-CDN7as0K.js → _id_-D09xegPQ.js} +28 -28
  40. package/dist/{app-0AQBxO0B.js → app-8-JCz9b5.js} +1 -1
  41. package/dist/app-Bk0DN7oZ.js +363 -0
  42. package/dist/app.js +1 -1
  43. package/dist/apps/mf-menu/src/components/translation/LanguageChip.vue.d.ts +18 -0
  44. package/dist/apps/mf-menu/src/components/translation/LanguageSelector.vue.d.ts +33 -0
  45. package/dist/apps/mf-menu/src/components/translation/LocaleIconBadge.vue.d.ts +29 -0
  46. package/dist/apps/mf-menu/src/components/translation/TranslationFieldRow.vue.d.ts +39 -0
  47. package/dist/apps/mf-menu/src/components/translation/TranslationViewChip.vue.d.ts +15 -0
  48. package/dist/apps/mf-menu/src/composable/translationLanguages.d.ts +16 -0
  49. package/dist/apps/mf-menu/src/stores/menu.d.ts +1 -0
  50. package/dist/apps/mf-menu/src/utils/translation.d.ts +1 -1
  51. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  52. package/dist/assets/{linked-status-DTIHdzDw.js → linked-status-dENy3aw3.js} +5 -5
  53. package/dist/assets/{menu-export-CpcyYnR-.js → menu-export-E9V7bg-T.js} +2 -2
  54. package/dist/assets/{override-menu-CASoFjhZ.js → override-menu-HaI7O9Fu.js} +5 -5
  55. package/dist/assets/{validate-menu-C5AkexWv.js → validate-menu-C8LhbVSM.js} +2 -2
  56. package/dist/{catalog-BA1e4WAu.js → catalog-DhXoYsFF.js} +1 -1
  57. package/dist/{catalogSetting-DE5rjVfj.js → catalogSetting-DyRqWzdW.js} +1 -1
  58. package/dist/{currency-D5qYOpxI.js → currency-BkmIftYM.js} +1 -1
  59. package/dist/dayjs.min-nQqVHQcC.js +6 -0
  60. package/dist/index-28XF3UnN.js +246 -0
  61. package/dist/{index-vPs04fVf.js → index-BQ95VVc6.js} +33 -32
  62. package/dist/index-BXWquw9Z.js +472 -0
  63. package/dist/{index.vue_vue_type_script_setup_true_lang-DSZsSghE.js → index.vue_vue_type_script_setup_true_lang-CJO2XWIn.js} +270 -244
  64. package/dist/{item-Dp17qTYi.js → item-DmTvGVsp.js} +3270 -3406
  65. package/dist/{jszip.min-DlpCmtaR.js → jszip.min-8Z5To_Pk.js} +6 -7
  66. package/dist/{menu-BOVrJ7di.js → menu-Csu9X1_I.js} +1 -1
  67. package/dist/{menuV2-BHnldQiM.js → menuV2-CC-vGiv5.js} +71 -71
  68. package/dist/{priceTier-BRQz1GRF.js → priceTier-Bj9Y6SSr.js} +1 -1
  69. package/dist/{rules-CO49kqfr.js → rules-Dod2cBHH.js} +12 -12
  70. package/dist/{scheduler-BDHjl8t7.js → scheduler-B3M-715v.js} +29 -29
  71. package/dist/{toExcel-DGdZKSxT.js → toExcel-67ufpOxx.js} +2 -2
  72. package/dist/{unit-D7QVgTp_.js → unit-BQrnccs6.js} +35 -35
  73. package/package.json +1 -1
  74. package/dist/Products-BR3iBVFd.js +0 -307
  75. package/dist/RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-I6qrPmxY.js +0 -144
  76. package/dist/TranslationSideSheet.vue_vue_type_script_setup_true_lang-Cs6s_csi.js +0 -196
  77. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DIbjlDVn.js +0 -5767
  78. package/dist/Variant-B8yxF5mJ.js +0 -247
  79. package/dist/app-BU6wILmn.js +0 -2286
  80. package/dist/dayjs.min-BFDAHpA8.js +0 -7
  81. package/dist/index--nQbIQ0d.js +0 -545
  82. package/dist/translation-BCZ1Ruvv.js +0 -93
  83. /package/dist/apps/mf-menu/src/components/{TranslationBadge.vue.d.ts → translation/TranslationBadge.vue.d.ts} +0 -0
  84. /package/dist/apps/mf-menu/src/components/{TranslationFieldSection.vue.d.ts → translation/TranslationFieldSection.vue.d.ts} +0 -0
@@ -1,14 +1,14 @@
1
- import { defineComponent as N, useModel as K, computed as B, resolveComponent as d, createBlock as U, openBlock as b, ref as L, watch as W, withCtx as _, createElementBlock as F, createElementVNode as P, Fragment as q, renderList as X, createVNode as u, unref as e, createCommentVNode as $, withModifiers as Q, onMounted as te, renderSlot as le, toDisplayString as h, createTextVNode as ae } from "vue";
1
+ import { defineComponent as N, useModel as K, computed as B, resolveComponent as d, createBlock as P, openBlock as b, ref as L, watch as W, withCtx as _, createElementBlock as F, createElementVNode as I, Fragment as q, renderList as X, createVNode as u, unref as e, createCommentVNode as $, withModifiers as Q, onMounted as te, renderSlot as le, toDisplayString as h, createTextVNode as ae } from "vue";
2
2
  import { useI18n as z, useCustomAttributes as ue, useCoreStore as re, isEmptyRule as oe, EMPTY_RULE as w } from "@feedmepos/mf-common";
3
3
  import { _ as x } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
4
- import { u as D } from "./priceTier-BRQz1GRF.js";
5
- import { b as G } from "./app-5fxKLAzS.js";
6
- import { FmButtonVariant as Z, useDialog as ne, components as ie, FmButtonColorThemeVariant as O } from "@feedmepos/ui-library";
7
- import { m as j, f as Y, d as se, _ as me } from "./RuleView.vue_vue_type_script_setup_true_lang-DaCVUn1i.js";
8
- import { L as R } from "./catalogSetting-DE5rjVfj.js";
9
- import { L as de } from "./LinkProductSideSheet-C6-wef-M.js";
4
+ import { u as D } from "./priceTier-Bj9Y6SSr.js";
5
+ import { b as O } from "./app-5fxKLAzS.js";
6
+ import { FmButtonVariant as Z, useDialog as ne, components as ie, FmButtonColorThemeVariant as j } from "@feedmepos/ui-library";
7
+ import { m as G, f as Y, d as se, _ as me } from "./RuleView.vue_vue_type_script_setup_true_lang-DXisBADc.js";
8
+ import { L as R } from "./catalogSetting-DyRqWzdW.js";
9
+ import { L as de } from "./LinkProductSideSheet-2MbaATTn.js";
10
10
  import { c as H } from "./check-C9mY6LiX.js";
11
- import { u as pe, G as J, ak as ce } from "./index.vue_vue_type_script_setup_true_lang-DSZsSghE.js";
11
+ import { u as pe, I as J, an as ce } from "./index.vue_vue_type_script_setup_true_lang-CJO2XWIn.js";
12
12
  import { c as ve } from "./string-DpfFixWH.js";
13
13
  const fe = /* @__PURE__ */ N({
14
14
  __name: "LinkPriceTier",
@@ -24,7 +24,7 @@ const fe = /* @__PURE__ */ N({
24
24
  })));
25
25
  return (V, g) => {
26
26
  const i = d("FmSelect");
27
- return b(), U(i, {
27
+ return b(), P(i, {
28
28
  items: a.value,
29
29
  "model-value": r.value ?? [],
30
30
  multiselect: !0,
@@ -53,8 +53,8 @@ const fe = /* @__PURE__ */ N({
53
53
  return {
54
54
  ...l,
55
55
  restaurantRule: {
56
- restaurantAttributes: j((p = l.restaurantRule) == null ? void 0 : p.restaurantAttributes),
57
- restaurantCustomAttributes: j((c = l.restaurantRule) == null ? void 0 : c.restaurantCustomAttributes)
56
+ restaurantAttributes: G((p = l.restaurantRule) == null ? void 0 : p.restaurantAttributes),
57
+ restaurantCustomAttributes: G((c = l.restaurantRule) == null ? void 0 : c.restaurantCustomAttributes)
58
58
  }
59
59
  };
60
60
  }));
@@ -101,13 +101,13 @@ const fe = /* @__PURE__ */ N({
101
101
  }
102
102
  return (l, p) => {
103
103
  const c = d("FmSelect"), n = d("fm-button"), v = d("FmCard"), E = d("FmButton");
104
- return b(), U(me, null, {
105
- default: _(() => [(b(!0), F(q, null, X(o.value, (M, S) => (b(), U(v, {
104
+ return b(), P(me, null, {
105
+ default: _(() => [(b(!0), F(q, null, X(o.value, (M, S) => (b(), P(v, {
106
106
  key: S,
107
107
  class: "p-16 space-y-16",
108
108
  variant: "outlined"
109
109
  }, {
110
- default: _(() => [P("div", null, [u(c, {
110
+ default: _(() => [I("div", null, [u(c, {
111
111
  label: "Price groups",
112
112
  "label-mark": "required",
113
113
  items: s.value,
@@ -119,7 +119,7 @@ const fe = /* @__PURE__ */ N({
119
119
  }, {
120
120
  default: _(() => {
121
121
  var f;
122
- return [u(e(G), {
122
+ return [u(e(O), {
123
123
  attributes: e(g),
124
124
  "model-value": (f = M.restaurantRule) == null ? void 0 : f.restaurantAttributes,
125
125
  "onUpdate:modelValue": (C) => i(S, C, "restaurantAttributes")
@@ -131,20 +131,20 @@ const fe = /* @__PURE__ */ N({
131
131
  }, {
132
132
  default: _(() => {
133
133
  var f;
134
- return [u(e(G), {
134
+ return [u(e(O), {
135
135
  attributes: e(V),
136
136
  "model-value": (f = M.restaurantRule) == null ? void 0 : f.restaurantCustomAttributes,
137
137
  "onUpdate:modelValue": (C) => i(S, C, "restaurantCustomAttributes")
138
138
  }, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])];
139
139
  }),
140
140
  _: 2
141
- }, 1032, ["label"]), P("div", _e, [u(n, {
141
+ }, 1032, ["label"]), I("div", _e, [u(n, {
142
142
  variant: e(Z).Tertiary,
143
143
  "prepend-icon": "delete",
144
144
  onClick: (f) => A(S)
145
145
  }, null, 8, ["variant", "onClick"])])]),
146
146
  _: 2
147
- }, 1024))), 128)), P("div", null, [u(E, {
147
+ }, 1024))), 128)), I("div", null, [u(E, {
148
148
  label: "Add rule",
149
149
  onClick: t
150
150
  })])]),
@@ -178,7 +178,7 @@ const fe = /* @__PURE__ */ N({
178
178
  }
179
179
  return (s, t) => {
180
180
  const A = d("fm-radio"), k = d("fm-radio-group");
181
- return !s.isMainCatalog && s.isV4 && e(V).priceTiers.value.length > 0 ? (b(), U(x, {
181
+ return !s.isMainCatalog && s.isV4 && e(V).priceTiers.value.length > 0 ? (b(), P(x, {
182
182
  key: 0,
183
183
  label: e(a)("menu.price_tier.link_price_tier")
184
184
  }, {
@@ -298,7 +298,7 @@ const fe = /* @__PURE__ */ N({
298
298
  le(n.$slots, "default", { trigger: s }),
299
299
  u(ee, {
300
300
  modelValue: i.value,
301
- "onUpdate:modelValue": v[4] || (v[4] = (I) => i.value = I),
301
+ "onUpdate:modelValue": v[4] || (v[4] = (U) => i.value = U),
302
302
  "is-component": e(ie).FmForm,
303
303
  "is-component-props": {
304
304
  onValidationSuccess: c
@@ -312,7 +312,7 @@ const fe = /* @__PURE__ */ N({
312
312
  class: "sm:w-full xs:w-full ml-auto",
313
313
  label: "Cancel",
314
314
  variant: "tertiary",
315
- onClick: v[3] || (v[3] = (I) => s(!1))
315
+ onClick: v[3] || (v[3] = (U) => s(!1))
316
316
  }),
317
317
  u(C, {
318
318
  label: e(ve)(n.action),
@@ -323,9 +323,9 @@ const fe = /* @__PURE__ */ N({
323
323
  }, null, 8, ["label"])
324
324
  ]),
325
325
  default: _(() => {
326
- var I;
326
+ var U;
327
327
  return [
328
- P("div", ge, [
328
+ I("div", ge, [
329
329
  u(M, {
330
330
  modelValue: t.value.percentage,
331
331
  "onUpdate:modelValue": v[0] || (v[0] = (m) => t.value.percentage = m),
@@ -343,7 +343,7 @@ const fe = /* @__PURE__ */ N({
343
343
  ]),
344
344
  _: 1
345
345
  }, 8, ["modelValue", "rules", "label", "placeholder"]),
346
- P("div", null, [
346
+ I("div", null, [
347
347
  u(f, {
348
348
  modelValue: k.value,
349
349
  "onUpdate:modelValue": [
@@ -353,7 +353,7 @@ const fe = /* @__PURE__ */ N({
353
353
  class: "space-y-8"
354
354
  }, {
355
355
  default: _(() => [
356
- (b(!0), F(q, null, X(p.value, (m) => (b(), U(S, {
356
+ (b(!0), F(q, null, X(p.value, (m) => (b(), P(S, {
357
357
  key: m.value,
358
358
  label: m.label,
359
359
  value: m.value
@@ -361,7 +361,7 @@ const fe = /* @__PURE__ */ N({
361
361
  ]),
362
362
  _: 1
363
363
  }, 8, ["modelValue"]),
364
- P("div", ke, [
364
+ I("div", ke, [
365
365
  u(de, {
366
366
  title: "Link products",
367
367
  "categorized-items": e(o).categorizedItems,
@@ -370,10 +370,10 @@ const fe = /* @__PURE__ */ N({
370
370
  onSubmit: v[2] || (v[2] = ({ items: m }) => A(m))
371
371
  }, {
372
372
  default: _(({ trigger: m }) => [
373
- k.value === 1 ? (b(), U(C, {
373
+ k.value === 1 ? (b(), P(C, {
374
374
  key: 0,
375
- "text-color": e(O).ColorPrimary,
376
- "border-color": e(O).ColorPrimary,
375
+ "text-color": e(j).ColorPrimary,
376
+ "border-color": e(j).ColorPrimary,
377
377
  variant: e(Z).Secondary,
378
378
  label: e(a)("menu.markup.dialog.products.link"),
379
379
  "prepend-icon": "link",
@@ -382,7 +382,7 @@ const fe = /* @__PURE__ */ N({
382
382
  ]),
383
383
  _: 1
384
384
  }, 8, ["categorized-items", "initial-value"]),
385
- (I = t.value.includeItems) != null && I.length ? (b(), F("p", Ve, h(e(a)("menu.markup.dialog.products.count", { count: t.value.includeItems.length })), 1)) : $("", !0)
385
+ (U = t.value.includeItems) != null && U.length ? (b(), F("p", Ve, h(e(a)("menu.markup.dialog.products.count", { count: t.value.includeItems.length })), 1)) : $("", !0)
386
386
  ])
387
387
  ])
388
388
  ])