@feedmepos/mf-menu 0.19.12 → 0.19.13

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 (51) hide show
  1. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DetNZI3I.js → ApplyProduct.vue_vue_type_script_setup_true_lang-Bvkr0nD3.js} +2 -2
  2. package/dist/{ApplyProducts.vue_vue_type_script_setup_true_lang-CwAUrR4F.js → ApplyProducts.vue_vue_type_script_setup_true_lang-Hx8MMYfJ.js} +2 -2
  3. package/dist/{Catalog-DIm2_Pve.js → Catalog-C3Cx3sFF.js} +3 -3
  4. package/dist/{Category-Bj7VMtJ-.js → Category-C_5RCWZ_.js} +6 -6
  5. package/dist/{CookingGuide-DDV0xBos.js → CookingGuide-BzLjzKZI.js} +3 -3
  6. package/dist/{Group-DLh05bcU.js → Group-DJm-Mk3u.js} +4 -4
  7. package/dist/{Group-DZo7HAf2.js → Group-DjTfdOWl.js} +1 -1
  8. package/dist/{Group.vue_vue_type_script_setup_true_lang-ooVmvatG.js → Group.vue_vue_type_script_setup_true_lang-DBk_yau1.js} +127 -127
  9. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B3FXm_t8.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-By61Cx0K.js} +2 -2
  10. package/dist/{Ingredient-N8t1Zg1B.js → Ingredient-CN3KCmFG.js} +4 -4
  11. package/dist/{LinkProductSideSheet-DfPSfCPO.js → LinkProductSideSheet-DBx4NpGw.js} +2 -2
  12. package/dist/{PrintRoute-COjWuW4S.js → PrintRoute-DMUblGYw.js} +3 -3
  13. package/dist/{Product-CcSZnVtx.js → Product-BVAvSbra.js} +1 -1
  14. package/dist/Product.vue_vue_type_script_setup_true_lang-D5gHIGvK.js +841 -0
  15. package/dist/{Products-DC50oMNz.js → Products-CM4pI3iG.js} +8 -8
  16. package/dist/{Publish-C7wZimbw.js → Publish-MLYmwkhU.js} +2 -2
  17. package/dist/{Recipe-KeudfKx-.js → Recipe-CtY40lpO.js} +4 -4
  18. package/dist/{Scheduler-Ci0qqmD0.js → Scheduler-DDL5yw94.js} +2 -2
  19. package/dist/SchedulerSelector.vue_vue_type_script_setup_true_lang-DkzeDjf4.js +61 -0
  20. package/dist/ServingSequence-OCghftu3.js +4 -0
  21. package/dist/{Setting-R8hJKnp6.js → Setting-B9VYv_FV.js} +1 -1
  22. package/dist/{Setting.vue_vue_type_script_setup_true_lang-C8YEErhA.js → Setting.vue_vue_type_script_setup_true_lang-q4SDPU1B.js} +3 -3
  23. package/dist/{Takeaway-DfZUEYul.js → Takeaway-BNKH3pYw.js} +4 -4
  24. package/dist/{Takeaway-D1YJ51Pm.js → Takeaway-CDQjt5mB.js} +1 -1
  25. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CxrKOffq.js → Takeaway.vue_vue_type_script_setup_true_lang-DLs6tg28.js} +4 -4
  26. package/dist/{TaxSetting-Cyx64cle.js → TaxSetting-LXV73pLm.js} +4 -4
  27. package/dist/{Unit-CSw2nzb3.js → Unit-YqlS_aYJ.js} +2 -2
  28. package/dist/{Variant-BexkJbX8.js → Variant-Cfec4-WR.js} +2 -2
  29. package/dist/{_id_-DL_--BAT.js → _id_-B3cTaq5i.js} +6 -6
  30. package/dist/{app-DBSpCrEz.js → app-r8ZKmdn1.js} +28 -28
  31. package/dist/app.js +2 -2
  32. package/dist/assets/{linked-status-BbVXICkq.js → linked-status-CWjLtoRl.js} +3 -3
  33. package/dist/assets/{validate-menu-xvp-KAet.js → validate-menu-3nJfxanr.js} +3 -3
  34. package/dist/{catalog-DIgmR7H0.js → catalog-CIHro4Q-.js} +432 -432
  35. package/dist/{catalog-BAExZa6M.js → catalog-Gpaw0veN.js} +1 -1
  36. package/dist/{category--Ezee0GQ.js → category-C1Nv2k2C.js} +1 -1
  37. package/dist/{currency-Cab-BTrJ.js → currency-CWaEAteR.js} +1 -1
  38. package/dist/{index-crmsscjz.js → index-DiPpC8uS.js} +3 -3
  39. package/dist/{index-Doj4vOci.js → index-q8vb7C-b.js} +2 -2
  40. package/dist/{item-C3RFNcK2.js → item-DF8-obPB.js} +11 -11
  41. package/dist/{lodash-Cag9qz8o.js → lodash-DT3SfcPy.js} +1 -1
  42. package/dist/{menu-Baw4oOOx.js → menu-BtnsqPSW.js} +1 -1
  43. package/dist/{object-D4QR8YOW.js → object-GEcPWoWM.js} +1 -1
  44. package/dist/{scheduler-Dmy-SRLI.js → scheduler-Cdw2OBBp.js} +125 -125
  45. package/dist/{takeaway-BVcxbDAX.js → takeaway-5q1fUkoY.js} +4 -4
  46. package/dist/{toExcel-CkwPnj8n.js → toExcel-D59bd39T.js} +2 -2
  47. package/dist/{unit-D7o6p3IX.js → unit-DYZD3TgN.js} +2 -2
  48. package/package.json +3 -3
  49. package/dist/Product.vue_vue_type_script_setup_true_lang-BZL3JDpp.js +0 -826
  50. package/dist/SchedulerSelector.vue_vue_type_script_setup_true_lang-6gxIvwfz.js +0 -49
  51. package/dist/ServingSequence-DsBZhvaK.js +0 -4
@@ -1,13 +1,13 @@
1
- import { defineComponent as oe, computed as O, resolveComponent as f, openBlock as u, createElementBlock as i, createVNode as l, unref as t, toDisplayString as Y, createCommentVNode as k, createElementVNode as y, withCtx as v, Fragment as U, renderList as L, createBlock as K, ref as T, Transition as ae, createTextVNode as de } from "vue";
1
+ import { defineComponent as oe, computed as O, resolveComponent as f, openBlock as u, createElementBlock as i, createVNode as l, unref as o, toDisplayString as Y, createCommentVNode as k, createElementVNode as y, withCtx as v, Fragment as C, renderList as L, createBlock as K, ref as T, Transition as ae, createTextVNode as de } from "vue";
2
2
  import { components as re } from "@feedmepos/ui-library";
3
- import { d as C, b as r, u as ce, h as le } from "./app-DBSpCrEz.js";
4
- import { _ as me } from "./ApplyProducts.vue_vue_type_script_setup_true_lang-CwAUrR4F.js";
3
+ import { d as E, b as r, u as ce, h as le } from "./app-r8ZKmdn1.js";
4
+ import { _ as me } from "./ApplyProducts.vue_vue_type_script_setup_true_lang-Hx8MMYfJ.js";
5
5
  import { useI18n as ne } from "@feedmepos/mf-common";
6
- import { u as pe } from "./menu-Baw4oOOx.js";
6
+ import { u as pe } from "./menu-BtnsqPSW.js";
7
7
  import "vue-router";
8
8
  import { _ as ee } from "./FormSection.vue_vue_type_script_setup_true_lang-BWJUD8NZ.js";
9
9
  import { _ as _e } from "./FormItem.vue_vue_type_script_setup_true_lang-DKsxEK-8.js";
10
- import { u as ve, l as fe } from "./lodash-Cag9qz8o.js";
10
+ import { u as ve, l as fe } from "./lodash-DT3SfcPy.js";
11
11
  const ye = { class: "space-y-8" }, he = {
12
12
  key: 0,
13
13
  class: "space-y-16"
@@ -31,48 +31,48 @@ const ye = { class: "space-y-8" }, he = {
31
31
  { label: p("menu.scheduler.dialog.sections.filter.types.category"), value: "category" }
32
32
  ], X = () => {
33
33
  e("update:modelValue", [..._.modelValue || [], { type: Ce, value: [""] }]);
34
- }, x = (s) => {
35
- const c = C(_.modelValue || []);
34
+ }, U = (s) => {
35
+ const c = E(_.modelValue || []);
36
36
  c.splice(s, 1), e("update:modelValue", c);
37
37
  }, $ = (s, c) => {
38
- const m = C(_.modelValue || []);
38
+ const m = E(_.modelValue || []);
39
39
  m[s].type = c, c === "category" ? m[s].value = [] : m[s].value = [""], e("update:modelValue", m);
40
- }, a = (s) => {
41
- const c = C(_.modelValue || []);
40
+ }, t = (s) => {
41
+ const c = E(_.modelValue || []);
42
42
  c[s].value.push(""), e("update:modelValue", c);
43
- }, S = (s, c) => {
44
- const m = C(_.modelValue || []);
43
+ }, x = (s, c) => {
44
+ const m = E(_.modelValue || []);
45
45
  m[s].value.splice(c, 1), e("update:modelValue", m);
46
46
  }, Z = (s, c) => {
47
- const m = C(_.modelValue || []);
47
+ const m = E(_.modelValue || []);
48
48
  m[s].value = c, e("update:modelValue", m);
49
49
  }, N = (s, c, m) => {
50
- const D = C(_.modelValue || []);
51
- D[s].value[c] = m, e("update:modelValue", D);
50
+ const S = E(_.modelValue || []);
51
+ S[s].value[c] = m, e("update:modelValue", S);
52
52
  };
53
53
  return (s, c) => {
54
54
  var B, q;
55
- const m = f("FmSwitch"), D = f("FmIcon"), H = f("FmTooltip"), I = f("FmSelect"), P = f("FmButton"), M = f("FmTextField");
55
+ const m = f("FmSwitch"), S = f("FmIcon"), H = f("FmTooltip"), I = f("FmSelect"), R = f("FmButton"), M = f("FmTextField");
56
56
  return u(), i("div", ye, [
57
57
  l(m, {
58
58
  "model-value": !!_.modelValue,
59
59
  value: "autoLink",
60
- label: t(p)("menu.scheduler.dialog.sections.autolink.label"),
61
- sublabel: t(p)("menu.scheduler.dialog.sections.autolink.sublabel"),
60
+ label: o(p)("menu.scheduler.dialog.sections.autolink.label"),
61
+ sublabel: o(p)("menu.scheduler.dialog.sections.autolink.sublabel"),
62
62
  "label-placement": "right",
63
63
  "onUpdate:modelValue": J
64
64
  }, null, 8, ["model-value", "label", "sublabel"]),
65
65
  _.modelValue ? (u(), i("div", he, [
66
- ((B = _.modelValue) == null ? void 0 : B.length) === 0 ? (u(), i("div", Ve, Y(t(p)("menu.scheduler.dialog.sections.autolink.all_items")), 1)) : k("", !0),
66
+ ((B = _.modelValue) == null ? void 0 : B.length) === 0 ? (u(), i("div", Ve, Y(o(p)("menu.scheduler.dialog.sections.autolink.all_items")), 1)) : k("", !0),
67
67
  ((q = _.modelValue) == null ? void 0 : q.length) > 0 ? (u(), i("div", Fe, [
68
- y("div", null, Y(t(p)("menu.scheduler.dialog.sections.autolink.filter_message")), 1),
68
+ y("div", null, Y(o(p)("menu.scheduler.dialog.sections.autolink.filter_message")), 1),
69
69
  l(H, {
70
- content: t(p)("menu.scheduler.dialog.sections.autolink.tooltip"),
70
+ content: o(p)("menu.scheduler.dialog.sections.autolink.tooltip"),
71
71
  variant: "plain",
72
72
  "z-index": 999
73
73
  }, {
74
74
  default: v(() => [
75
- l(D, {
75
+ l(S, {
76
76
  name: "help",
77
77
  outline: "",
78
78
  class: "ml-4"
@@ -81,38 +81,38 @@ const ye = { class: "space-y-8" }, he = {
81
81
  _: 1
82
82
  }, 8, ["content"])
83
83
  ])) : k("", !0),
84
- (u(!0), i(U, null, L(_.modelValue || [], (w, F) => (u(), i("div", { key: F }, [
84
+ (u(!0), i(C, null, L(_.modelValue || [], (D, F) => (u(), i("div", { key: F }, [
85
85
  y("div", ge, [
86
86
  y("div", ke, [
87
87
  l(I, {
88
- "model-value": w.type,
88
+ "model-value": D.type,
89
89
  items: W,
90
90
  "onUpdate:modelValue": (g) => $(F, g)
91
91
  }, null, 8, ["model-value", "onUpdate:modelValue"]),
92
- y("div", null, Y(t(p)("menu.scheduler.dialog.sections.filter.matches")), 1),
93
- w.type === "category" ? (u(), K(I, {
92
+ y("div", null, Y(o(p)("menu.scheduler.dialog.sections.filter.matches")), 1),
93
+ D.type === "category" ? (u(), K(I, {
94
94
  key: 0,
95
- "model-value": w.value,
95
+ "model-value": D.value,
96
96
  "onUpdate:modelValue": (g) => Z(F, g),
97
97
  items: G.value || [],
98
98
  multiselect: "",
99
- placeholder: t(p)("menu.scheduler.dialog.sections.filter.placeholder.category")
100
- }, null, 8, ["model-value", "onUpdate:modelValue", "items", "placeholder"])) : (u(), i(U, { key: 1 }, [
101
- (u(!0), i(U, null, L(w.value, (g, d) => (u(), i("div", {
99
+ placeholder: o(p)("menu.scheduler.dialog.sections.filter.placeholder.category")
100
+ }, null, 8, ["model-value", "onUpdate:modelValue", "items", "placeholder"])) : (u(), i(C, { key: 1 }, [
101
+ (u(!0), i(C, null, L(D.value, (g, d) => (u(), i("div", {
102
102
  class: "flex items-center gap-4",
103
103
  key: d
104
104
  }, [
105
- d > 0 ? (u(), i("div", be, Y(t(p)("menu.scheduler.dialog.sections.filter.or")), 1)) : k("", !0),
105
+ d > 0 ? (u(), i("div", be, Y(o(p)("menu.scheduler.dialog.sections.filter.or")), 1)) : k("", !0),
106
106
  y("div", Ee, [
107
107
  l(M, {
108
108
  "model-value": g,
109
- "onUpdate:modelValue": (o) => N(F, d, o)
109
+ "onUpdate:modelValue": (a) => N(F, d, a)
110
110
  }, {
111
111
  append: v(() => [
112
- w.value.length > 1 ? (u(), K(P, {
112
+ D.value.length > 1 ? (u(), K(R, {
113
113
  key: 0,
114
114
  icon: "close",
115
- onClick: (o) => S(F, d),
115
+ onClick: (a) => x(F, d),
116
116
  variant: "tertiary"
117
117
  }, null, 8, ["onClick"])) : k("", !0)
118
118
  ]),
@@ -120,23 +120,23 @@ const ye = { class: "space-y-8" }, he = {
120
120
  }, 1032, ["model-value", "onUpdate:modelValue"])
121
121
  ])
122
122
  ]))), 128)),
123
- l(P, {
123
+ l(R, {
124
124
  icon: "add",
125
- onClick: (g) => a(F),
125
+ onClick: (g) => t(F),
126
126
  variant: "tertiary"
127
127
  }, null, 8, ["onClick"])
128
128
  ], 64))
129
129
  ]),
130
- l(P, {
130
+ l(R, {
131
131
  variant: "secondary",
132
132
  icon: "delete",
133
- onClick: (g) => x(F)
133
+ onClick: (g) => U(F)
134
134
  }, null, 8, ["onClick"])
135
135
  ])
136
136
  ]))), 128)),
137
- l(P, {
137
+ l(R, {
138
138
  variant: "secondary",
139
- label: t(p)("menu.scheduler.dialog.sections.filter.add"),
139
+ label: o(p)("menu.scheduler.dialog.sections.filter.add"),
140
140
  onClick: X
141
141
  }, null, 8, ["label"])
142
142
  ])) : k("", !0)
@@ -188,94 +188,94 @@ const ye = { class: "space-y-8" }, he = {
188
188
  weekDay: []
189
189
  };
190
190
  }
191
- const W = ce(), X = O(() => W.version === r.F_MENU_VERSION.enum.v4), x = T("all"), $ = T(p()), a = T(p()), S = T(!1);
191
+ const W = ce(), X = O(() => W.version === r.F_MENU_VERSION.enum.v4), U = T("all"), $ = T(p()), t = T(p()), x = T(!1);
192
192
  function Z(d) {
193
- a.value = d ? C(d) : p(), $.value = C(a.value), x.value = a.value.timePeriod.length === 0 ? "all" : "custom", S.value = !0;
193
+ t.value = d ? E(d) : p(), $.value = E(t.value), U.value = t.value.timePeriod.length === 0 ? "all" : "custom", x.value = !0;
194
194
  }
195
195
  function N() {
196
- S.value = !1;
196
+ x.value = !1;
197
197
  }
198
198
  function s() {
199
- a.value.timePeriod.push({
199
+ t.value.timePeriod.push({
200
200
  start: "00:00",
201
201
  end: "23:59"
202
202
  });
203
203
  }
204
204
  function c(d) {
205
- a.value.timePeriod.splice(d, 1);
205
+ t.value.timePeriod.splice(d, 1);
206
206
  }
207
207
  const m = T();
208
- function D() {
208
+ function S() {
209
209
  return {
210
- ...a.value,
211
- timePeriod: x.value === "all" ? [] : a.value.timePeriod,
212
- weekDay: a.value.repeat === r.F_SCHEDULE_FREQUENCY.enum.daily ? [] : a.value.weekDay
210
+ ...t.value,
211
+ timePeriod: U.value === "all" ? [] : t.value.timePeriod,
212
+ weekDay: t.value.repeat === r.F_SCHEDULE_FREQUENCY.enum.daily ? [] : t.value.weekDay
213
213
  };
214
214
  }
215
215
  async function H() {
216
- J("onComplete", D()), N();
216
+ J("onComplete", S()), N();
217
217
  }
218
- const I = O(() => a.value._id ? e("menu.scheduler.dialog.update.title") : e("menu.scheduler.dialog.add.title")), P = O(() => a.value._id ? e("menu.scheduler.dialog.update.action") : e("menu.scheduler.dialog.add.action")), M = T();
218
+ const I = O(() => t.value._id ? e("menu.scheduler.dialog.update.title") : e("menu.scheduler.dialog.add.title")), R = O(() => t.value._id ? e("menu.scheduler.dialog.update.action") : e("menu.scheduler.dialog.add.action")), M = T();
219
219
  function B() {
220
- var o;
221
- const d = a.value.items.reduce((b, V) => ({ ...b, [V._id]: [] }), {});
222
- (o = M.value) == null || o.show(d);
220
+ var a;
221
+ const d = t.value.items.reduce((b, V) => ({ ...b, [V._id]: [] }), {});
222
+ (a = M.value) == null || a.show(d);
223
223
  }
224
224
  function q(d) {
225
- a.value.items.splice(d, 1);
225
+ t.value.items = t.value.items.filter((a) => a._id !== d);
226
226
  }
227
- function w(d) {
228
- a.value = {
229
- ...a.value,
230
- items: Object.keys(d).map((o) => {
231
- const b = a.value.items.find((V) => V._id === o) ?? {};
227
+ function D(d) {
228
+ t.value = {
229
+ ...t.value,
230
+ items: Object.keys(d).map((a) => {
231
+ const b = t.value.items.find((V) => V._id === a) ?? {};
232
232
  return {
233
- _id: o,
233
+ _id: a,
234
234
  ...b
235
235
  };
236
236
  })
237
237
  };
238
238
  }
239
- const F = O(() => j.categorizedItems.reduce((d, o) => {
240
- const b = o.items.filter(
241
- (V) => a.value.items.some(({ _id: z }) => V._id === z)
239
+ const F = O(() => j.categorizedItems.reduce((d, a) => {
240
+ const b = a.items.filter(
241
+ (V) => t.value.items.some(({ _id: z }) => V._id === z)
242
242
  );
243
- return b.length && d.push({ ...o, items: b }), d;
243
+ return b.length && d.push({ ...a, items: b }), d;
244
244
  }, [])), g = ve(
245
- () => !fe.isEqual($.value, D()),
245
+ () => !fe.isEqual($.value, S()),
246
246
  () => {
247
- S.value = !1;
247
+ x.value = !1;
248
248
  }
249
249
  );
250
- return (d, o) => {
251
- const b = f("FmTextField"), V = f("FmRadio"), z = f("FmRadioGroup"), ue = f("FmCheckbox"), te = f("FmTimePicker"), R = f("FmButton"), se = f("FmForm"), ie = f("FmSideSheet");
252
- return u(), i(U, null, [
250
+ return (d, a) => {
251
+ const b = f("FmTextField"), V = f("FmRadio"), z = f("FmRadioGroup"), ue = f("FmCheckbox"), te = f("FmTimePicker"), A = f("FmButton"), se = f("FmForm"), ie = f("FmSideSheet");
252
+ return u(), i(C, null, [
253
253
  l(ie, {
254
- modelValue: S.value,
255
- "onUpdate:modelValue": o[6] || (o[6] = (n) => S.value = n),
254
+ modelValue: x.value,
255
+ "onUpdate:modelValue": a[6] || (a[6] = (n) => x.value = n),
256
256
  header: I.value,
257
257
  "max-width": 560,
258
- "is-container": t(re).FmForm,
258
+ "is-container": o(re).FmForm,
259
259
  "is-container-props": {
260
260
  onValidationSuccess: H,
261
261
  blameFormChildOnValidationFailed: !0,
262
262
  class: "flex flex-col h-full"
263
263
  },
264
- "onOn:clickedAway": t(g)
264
+ "onOn:clickedAway": o(g)
265
265
  }, {
266
266
  "side-sheet-footer": v(() => [
267
267
  y("div", Le, [
268
- l(R, {
269
- label: P.value,
268
+ l(A, {
269
+ label: R.value,
270
270
  size: "lg",
271
271
  variant: "primary",
272
- onClick: o[5] || (o[5] = () => {
272
+ onClick: a[5] || (a[5] = () => {
273
273
  var n;
274
274
  return (n = m.value) == null ? void 0 : n.validateInputs();
275
275
  })
276
276
  }, null, 8, ["label"]),
277
- l(R, {
278
- label: t(e)("menu.scheduler.dialog.actions.cancel"),
277
+ l(A, {
278
+ label: o(e)("menu.scheduler.dialog.actions.cancel"),
279
279
  size: "lg",
280
280
  variant: "tertiary",
281
281
  onClick: N
@@ -291,51 +291,51 @@ const ye = { class: "space-y-8" }, he = {
291
291
  }, {
292
292
  default: v(() => [
293
293
  l(ee, {
294
- title: t(e)("menu.scheduler.dialog.sections.detail.title")
294
+ title: o(e)("menu.scheduler.dialog.sections.detail.title")
295
295
  }, {
296
296
  default: v(() => [
297
297
  l(b, {
298
298
  autofocus: "",
299
- modelValue: a.value.name,
300
- "onUpdate:modelValue": o[0] || (o[0] = (n) => a.value.name = n),
301
- rules: [(n) => !!n || t(e)("menu.scheduler.dialog.sections.detail.name.required")],
302
- label: t(e)("menu.scheduler.dialog.sections.detail.name.label"),
303
- placeholder: t(e)("menu.scheduler.dialog.sections.detail.name.placeholder")
299
+ modelValue: t.value.name,
300
+ "onUpdate:modelValue": a[0] || (a[0] = (n) => t.value.name = n),
301
+ rules: [(n) => !!n || o(e)("menu.scheduler.dialog.sections.detail.name.required")],
302
+ label: o(e)("menu.scheduler.dialog.sections.detail.name.label"),
303
+ placeholder: o(e)("menu.scheduler.dialog.sections.detail.name.placeholder")
304
304
  }, null, 8, ["modelValue", "rules", "label", "placeholder"])
305
305
  ]),
306
306
  _: 1
307
307
  }, 8, ["title"]),
308
308
  l(ee, {
309
- title: t(e)("menu.scheduler.dialog.sections.availability.title")
309
+ title: o(e)("menu.scheduler.dialog.sections.availability.title")
310
310
  }, {
311
311
  default: v(() => [
312
312
  y("div", null, [
313
313
  l(z, {
314
- modelValue: a.value.repeat,
315
- "onUpdate:modelValue": o[1] || (o[1] = (n) => a.value.repeat = n)
314
+ modelValue: t.value.repeat,
315
+ "onUpdate:modelValue": a[1] || (a[1] = (n) => t.value.repeat = n)
316
316
  }, {
317
317
  default: v(() => [
318
318
  l(V, {
319
- label: t(e)("menu.scheduler.dialog.sections.availability.daily"),
320
- value: t(r.F_SCHEDULE_FREQUENCY).enum.daily
319
+ label: o(e)("menu.scheduler.dialog.sections.availability.daily"),
320
+ value: o(r.F_SCHEDULE_FREQUENCY).enum.daily
321
321
  }, null, 8, ["label", "value"]),
322
322
  l(V, {
323
- label: t(e)("menu.scheduler.dialog.sections.availability.weekly"),
324
- value: t(r.F_SCHEDULE_FREQUENCY).enum.weekly
323
+ label: o(e)("menu.scheduler.dialog.sections.availability.weekly"),
324
+ value: o(r.F_SCHEDULE_FREQUENCY).enum.weekly
325
325
  }, null, 8, ["label", "value"])
326
326
  ]),
327
327
  _: 1
328
328
  }, 8, ["modelValue"]),
329
329
  l(ae, { name: "expand" }, {
330
330
  default: v(() => [
331
- a.value.repeat === t(r.F_SCHEDULE_FREQUENCY).enum.weekly ? (u(), i("div", xe, [
331
+ t.value.repeat === o(r.F_SCHEDULE_FREQUENCY).enum.weekly ? (u(), i("div", xe, [
332
332
  y("div", Se, [
333
- (u(), i(U, null, L(G, (n, A) => l(ue, {
334
- key: A,
335
- modelValue: a.value.weekDay,
336
- "onUpdate:modelValue": o[2] || (o[2] = (E) => a.value.weekDay = E),
333
+ (u(), i(C, null, L(G, (n, w) => l(ue, {
334
+ key: w,
335
+ modelValue: t.value.weekDay,
336
+ "onUpdate:modelValue": a[2] || (a[2] = (P) => t.value.weekDay = P),
337
337
  label: n,
338
- value: A
338
+ value: w
339
339
  }, null, 8, ["modelValue", "label", "value"])), 64))
340
340
  ])
341
341
  ])) : k("", !0)
@@ -345,17 +345,17 @@ const ye = { class: "space-y-8" }, he = {
345
345
  ]),
346
346
  y("div", null, [
347
347
  l(z, {
348
- label: t(e)("menu.scheduler.dialog.sections.period.title"),
349
- modelValue: x.value,
350
- "onUpdate:modelValue": o[3] || (o[3] = (n) => x.value = n)
348
+ label: o(e)("menu.scheduler.dialog.sections.period.title"),
349
+ modelValue: U.value,
350
+ "onUpdate:modelValue": a[3] || (a[3] = (n) => U.value = n)
351
351
  }, {
352
352
  default: v(() => [
353
353
  l(V, {
354
- label: t(e)("menu.scheduler.dialog.sections.period.all_day"),
354
+ label: o(e)("menu.scheduler.dialog.sections.period.all_day"),
355
355
  value: "all"
356
356
  }, null, 8, ["label"]),
357
357
  l(V, {
358
- label: t(e)("menu.scheduler.dialog.sections.period.custom"),
358
+ label: o(e)("menu.scheduler.dialog.sections.period.custom"),
359
359
  value: "custom"
360
360
  }, null, 8, ["label"])
361
361
  ]),
@@ -363,30 +363,30 @@ const ye = { class: "space-y-8" }, he = {
363
363
  }, 8, ["label", "modelValue"]),
364
364
  l(ae, { name: "expand" }, {
365
365
  default: v(() => [
366
- x.value === "custom" ? (u(), i("div", De, [
366
+ U.value === "custom" ? (u(), i("div", De, [
367
367
  y("div", we, [
368
- (u(!0), i(U, null, L(a.value.timePeriod, (n, A) => (u(), i("div", Pe, [
368
+ (u(!0), i(C, null, L(t.value.timePeriod, (n, w) => (u(), i("div", Pe, [
369
369
  l(te, {
370
370
  modelValue: n.start,
371
- "onUpdate:modelValue": (E) => n.start = E,
371
+ "onUpdate:modelValue": (P) => n.start = P,
372
372
  class: "flex-1"
373
373
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
374
- o[7] || (o[7] = de(" - ")),
374
+ a[7] || (a[7] = de(" - ")),
375
375
  l(te, {
376
376
  modelValue: n.end,
377
- "onUpdate:modelValue": (E) => n.end = E,
377
+ "onUpdate:modelValue": (P) => n.end = P,
378
378
  class: "flex-1"
379
379
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
380
- l(R, {
380
+ l(A, {
381
381
  icon: "close",
382
382
  variant: "tertiary",
383
- onClick: (E) => c(A)
383
+ onClick: (P) => c(w)
384
384
  }, null, 8, ["onClick"])
385
385
  ]))), 256))
386
386
  ]),
387
- l(R, {
387
+ l(A, {
388
388
  icon: "add",
389
- label: t(e)("menu.scheduler.dialog.sections.period.add"),
389
+ label: o(e)("menu.scheduler.dialog.sections.period.add"),
390
390
  variant: "secondary",
391
391
  "text-color": "primary",
392
392
  "border-color": "primary",
@@ -399,12 +399,12 @@ const ye = { class: "space-y-8" }, he = {
399
399
  ]),
400
400
  X.value ? (u(), K(_e, {
401
401
  key: 0,
402
- label: t(e)("menu.scheduler.dialog.sections.autolink.title")
402
+ label: o(e)("menu.scheduler.dialog.sections.autolink.title")
403
403
  }, {
404
404
  default: v(() => [
405
405
  l(Ue, {
406
- modelValue: a.value.filters,
407
- "onUpdate:modelValue": o[4] || (o[4] = (n) => a.value.filters = n)
406
+ modelValue: t.value.filters,
407
+ "onUpdate:modelValue": a[4] || (a[4] = (n) => t.value.filters = n)
408
408
  }, null, 8, ["modelValue"])
409
409
  ]),
410
410
  _: 1
@@ -414,12 +414,12 @@ const ye = { class: "space-y-8" }, he = {
414
414
  }, 8, ["title"]),
415
415
  h.canApplyItems ? (u(), K(ee, {
416
416
  key: 0,
417
- title: t(e)("menu.scheduler.dialog.sections.products.title")
417
+ title: o(e)("menu.scheduler.dialog.sections.products.title")
418
418
  }, {
419
419
  "append-title": v(() => [
420
- l(R, {
420
+ l(A, {
421
421
  icon: "link",
422
- label: t(e)("menu.scheduler.dialog.sections.products.link"),
422
+ label: o(e)("menu.scheduler.dialog.sections.products.link"),
423
423
  variant: "secondary",
424
424
  "text-color": "primary",
425
425
  "border-color": "primary",
@@ -427,16 +427,16 @@ const ye = { class: "space-y-8" }, he = {
427
427
  }, null, 8, ["label"])
428
428
  ]),
429
429
  default: v(() => [
430
- (u(!0), i(U, null, L(F.value, (n) => (u(), i("div", null, [
430
+ (u(!0), i(C, null, L(F.value, (n) => (u(), i("div", null, [
431
431
  y("div", Re, Y(n.name), 1),
432
- (u(!0), i(U, null, L(n.items, (A, E) => (u(), i("div", Ae, [
433
- y("div", Te, Y(A.name), 1),
432
+ (u(!0), i(C, null, L(n.items, (w, P) => (u(), i("div", Ae, [
433
+ y("div", Te, Y(w.name), 1),
434
434
  y("div", Ye, [
435
- l(R, {
435
+ l(A, {
436
436
  icon: "delete",
437
437
  variant: "tertiary",
438
438
  "text-color": "neutral-gray-400",
439
- onClick: () => q(E)
439
+ onClick: () => q(w._id)
440
440
  }, null, 8, ["onClick"])
441
441
  ])
442
442
  ]))), 256))
@@ -455,8 +455,8 @@ const ye = { class: "space-y-8" }, he = {
455
455
  ref: M,
456
456
  "can-select-variant": !1,
457
457
  options: h.categorizedItems,
458
- title: t(e)("menu.scheduler.dialog.sections.products.link"),
459
- onOnComplete: w
458
+ title: o(e)("menu.scheduler.dialog.sections.products.link"),
459
+ onOnComplete: D
460
460
  }, null, 8, ["options", "title"])
461
461
  ], 64);
462
462
  };
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as T, ref as f, computed as B, watch as L, onMounted as K, onBeforeUnmount as O, resolveComponent as F, openBlock as M, createBlock as N, withModifiers as D, withCtx as h, renderSlot as U, createElementBlock as z, Fragment as A, createVNode as c, unref as i, createElementVNode as x, toDisplayString as R, createCommentVNode as P } from "vue";
2
2
  import { components as W } from "@feedmepos/ui-library";
3
- import { c as S, u as j, g as H, m as q, d as Y, b as Z } from "./app-DBSpCrEz.js";
3
+ import { c as S, u as j, g as H, m as q, d as Y, b as Z } from "./app-r8ZKmdn1.js";
4
4
  import { c as G } from "./string-DpfFixWH.js";
5
5
  import { useI18n as I } from "@feedmepos/mf-common";
6
- import { f as J } from "./currency-Cab-BTrJ.js";
7
- import { _ as Q } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-DetNZI3I.js";
6
+ import { f as J } from "./currency-CWaEAteR.js";
7
+ import { _ as Q } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-Bvkr0nD3.js";
8
8
  import { _ as X } from "./FormSection.vue_vue_type_script_setup_true_lang-BWJUD8NZ.js";
9
- import { u as ee, l as ae } from "./lodash-Cag9qz8o.js";
9
+ import { u as ee, l as ae } from "./lodash-DT3SfcPy.js";
10
10
  const te = /* @__PURE__ */ T({
11
11
  __name: "CurrencyInput",
12
12
  props: {
@@ -1,5 +1,5 @@
1
- import "./lodash-Cag9qz8o.js";
2
- import { b as C } from "./catalog-DIgmR7H0.js";
1
+ import "./lodash-DT3SfcPy.js";
2
+ import { b as C } from "./catalog-CIHro4Q-.js";
3
3
  var X = {
4
4
  defaultAmount: 0,
5
5
  defaultCurrency: "USD",
@@ -1,10 +1,10 @@
1
1
  import { defineStore as H } from "pinia";
2
2
  import { useSnackbar as B, components as J, useDialog as Q, FmButtonVariant as X } from "@feedmepos/ui-library";
3
- import { r as q, s as Z, t as $, d as E, i as j, a as I, m as h, g as ee, p as ne, b as C, h as D, u as te, l as ae } from "./app-DBSpCrEz.js";
3
+ import { r as q, s as Z, t as $, d as E, i as j, a as I, m as h, g as ee, p as ne, b as C, h as D, u as te, l as ae } from "./app-r8ZKmdn1.js";
4
4
  import { defineComponent as T, computed as U, ref as A, watch as L, resolveComponent as V, openBlock as F, createBlock as oe, withCtx as w, createVNode as m, createElementVNode as f, normalizeClass as le, createElementBlock as M, toDisplayString as k, unref as l, Fragment as P, renderSlot as ue, renderList as ie, getCurrentInstance as se } from "vue";
5
5
  import "./vuedraggable-WU01qJgi.js";
6
6
  import { useI18n as N } from "@feedmepos/mf-common";
7
- import { u as re, l as me } from "./lodash-Cag9qz8o.js";
7
+ import { u as re, l as me } from "./lodash-DT3SfcPy.js";
8
8
  /* empty css */
9
9
  const de = ["value", "disabled"], ce = /* @__PURE__ */ T({
10
10
  __name: "NumberPrecisionInput",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-menu",
3
- "version": "0.19.12",
3
+ "version": "0.19.13",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -41,14 +41,14 @@
41
41
  "pinia": "^2.1.7",
42
42
  "uuid": "^10.0.0",
43
43
  "vite-svg-loader": "^5.1.0",
44
- "vue": "^3.3.8",
44
+ "vue": "^3.5.13",
45
45
  "vue-router": "^4.2.5",
46
46
  "vue3-lottie": "^3.3.0",
47
47
  "vuedraggable": "^4.1.0",
48
48
  "xlsx": "^0.18.5",
49
49
  "canvas": "^2.9.3",
50
50
  "vue-advanced-cropper": "^2.8.9",
51
- "@feedmepos/mf-common": "^1.12.2"
51
+ "@feedmepos/mf-common": "^1.12.7"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@tsconfig/node18": "^18.2.2",