@feedmepos/mf-menu 0.31.33-beta.6 → 0.31.33-beta.8

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 (85) hide show
  1. package/dist/{App-Dt6RQiUh.js → App-BAMi-a9P.js} +6 -6
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-B_SQpWg7.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BWgnvXjy.js} +20 -20
  3. package/dist/{Catalog-CFx7t_Nu.js → Catalog-DiPY42vz.js} +6 -6
  4. package/dist/{Category-CPMx86rY.js → Category-B9jnFDvG.js} +14 -14
  5. package/dist/{Category-OjK-v--G.js → Category-ClrACB2e.js} +19 -19
  6. package/dist/{CookingGuide-ANnXKBjc.js → CookingGuide-1553FWRH.js} +4 -4
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-D-1OzZ-i.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DWNx15iJ.js} +1 -1
  8. package/dist/{Group-K4925_bP.js → Group-DLahX8qi.js} +3 -3
  9. package/dist/{Group--DJjkGab.js → Group-l_-qZSyF.js} +1 -1
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-36O78xv0.js → Group.vue_vue_type_script_setup_true_lang-PNpEgEGB.js} +9 -9
  11. package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DoVyIdTN.js +364 -0
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-C-z1m3jh.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DSspLK4i.js} +12597 -12946
  13. package/dist/{Ingredient-G4Txx6_0.js → Ingredient-SsBtwYjB.js} +3 -3
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-HgHBlflo.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DqnVkfjW.js} +2 -2
  15. package/dist/LinkProductSideSheet-CncbzDh3.js +335 -0
  16. package/dist/{MenuSetting-Cx-EHG-6.js → MenuSetting-D28a3uD4.js} +4 -4
  17. package/dist/{PrintRoute-IxHGvGzF.js → PrintRoute-BdlT0DDr.js} +89 -88
  18. package/dist/{Product-D1gqn5J6.js → Product-s5Q4wV8i.js} +1 -1
  19. package/dist/Product.vue_vue_type_script_setup_true_lang-C6iDgQEU.js +1575 -0
  20. package/dist/{ProductInternalTools-GJ2OE5gU.js → ProductInternalTools-DjSkvzw2.js} +5 -5
  21. package/dist/Products-B3tF_gCa.js +283 -0
  22. package/dist/{Publish-C86rd413.js → Publish-G4bwUpme.js} +3 -3
  23. package/dist/{Recipe-BbQKou9p.js → Recipe-BxgHUzb5.js} +4 -4
  24. package/dist/{Scheduler-DUeTkyGQ.js → Scheduler-DJSKWS-9.js} +3 -3
  25. package/dist/{ServingSequence-BROo5rC_.js → ServingSequence-_cmuGKlV.js} +3 -3
  26. package/dist/{Setting-D-ueTlwO.js → Setting-Dx7ycxAn.js} +5 -5
  27. package/dist/{Subcategory-DVewA8HX.js → Subcategory-25AzJQYt.js} +4 -4
  28. package/dist/{Takeaway-DyPjHuCl.js → Takeaway-Bmm9d5PO.js} +1 -1
  29. package/dist/{Takeaway-B4lDGQDh.js → Takeaway-CcFK-Y2z.js} +4 -4
  30. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BTDlzYuX.js → Takeaway.vue_vue_type_script_setup_true_lang-Bl5OAG3c.js} +5 -5
  31. package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-B3-ypwE7.js +431 -0
  32. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D2gzS8Q_.js +5990 -0
  33. package/dist/{Unit-CVF0dom4.js → Unit-Cs1EOuyg.js} +2 -2
  34. package/dist/{Variant-DmccAgFU.js → Variant-BTCkw4RC.js} +3 -3
  35. package/dist/_id_-C9b2WHzy.js +202 -0
  36. package/dist/{app-ClinzawZ.js → app-BhI1mPRh.js} +1 -1
  37. package/dist/{app-CV_q8OdE.js → app-CU2frfPB.js} +24 -24
  38. package/dist/app.js +1 -1
  39. package/dist/apps/mf-menu/src/components/feature/RestaurantAttributesSelector.vue.d.ts +33 -0
  40. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/catalog.d.ts +2 -0
  41. package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +3 -1
  42. package/dist/apps/mf-menu/src/composable/customAttributes.d.ts +8 -0
  43. package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +1276 -0
  44. package/dist/apps/mf-menu/src/types/linkProducts.d.ts +21 -0
  45. package/dist/apps/mf-menu/src/views/PrintRoute/PrintDepartmentDialog.vue.d.ts +5 -3
  46. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  47. package/dist/assets/{linked-status-fZD691Js.js → linked-status-r8YcmOs7.js} +12 -12
  48. package/dist/assets/{override-menu-Cjy1BJuz.js → override-menu-CDLCS1zK.js} +12 -12
  49. package/dist/assets/{validate-menu-uwysUwDP.js → validate-menu-B-FxrVmM.js} +12 -12
  50. package/dist/{catalog-Wx88K6iI.js → catalog-BudDGPc1.js} +1 -1
  51. package/dist/{catalogSetting-DTEHDSAd.js → catalogSetting-Bk1QEBg5.js} +1 -1
  52. package/dist/{category-BRTw76Vf.js → category-UDpJb7Yh.js} +1 -1
  53. package/dist/{currency-562bPc2l.js → currency-BQIQArxm.js} +1 -1
  54. package/dist/{dayjs.min-Cnfm8bQm.js → dayjs.min-D0EjAkx4.js} +1 -1
  55. package/dist/{index-Crs_eZ0i.js → index-B_V5s58T.js} +1 -1
  56. package/dist/{index-DJXrJdeQ.js → index-CirrSmpA.js} +3 -3
  57. package/dist/index-DRuDRGm-.js +213 -0
  58. package/dist/{index-4hf9vONw.js → index-Dy-u7imh.js} +3 -3
  59. package/dist/{item-CuIxc9FT.js → item-C45Oe5Un.js} +196 -194
  60. package/dist/{jszip.min-C9xLIvo4.js → jszip.min-BR_8QNuk.js} +545 -545
  61. package/dist/{menu-Mkzv9c8C.js → menu-D52oU1sw.js} +1 -1
  62. package/dist/{menu-ILWxqJQe.js → menu-DTlhFcnq.js} +6882 -6858
  63. package/dist/menuV2-DQtEtGVV.js +707 -0
  64. package/dist/mf-menu.css +1 -1
  65. package/dist/{priceTier-D4joq_kN.js → priceTier-CDyccedV.js} +1 -1
  66. package/dist/{scheduler-DuxWoNVb.js → scheduler-DHjrtU8G.js} +16 -17
  67. package/dist/subcategory-0ajMWsb2.js +148 -0
  68. package/dist/{toExcel-hGfpS_Uo.js → toExcel-BNKDwOzQ.js} +2 -2
  69. package/dist/{unit-9fycj1fu.js → unit-CBe6cpyB.js} +5 -4
  70. package/package.json +3 -3
  71. package/dist/FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js +0 -26
  72. package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BIX-gPUO.js +0 -372
  73. package/dist/LinkProductSideSheet-CWNarCEs.js +0 -112
  74. package/dist/Product.vue_vue_type_script_setup_true_lang-BCQd-ks4.js +0 -1641
  75. package/dist/Products-DJqgSe-Y.js +0 -270
  76. package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-DzQ8_6Bi.js +0 -71
  77. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-B5BAKDRP.js +0 -6149
  78. package/dist/_id_-CWtK62Fy.js +0 -178
  79. package/dist/apps/mf-menu/src/components/feature/AttributesSelector.vue.d.ts +0 -2
  80. package/dist/apps/mf-menu/src/components/feature/LinkProduct/LinkProductSideSheet.vue.d.ts +0 -70
  81. package/dist/apps/mf-menu/src/components/feature/LinkProduct/LinkProductUnifiedSideSheet.vue.d.ts +0 -12
  82. package/dist/customAttributes-CXzd5ud1.js +0 -33
  83. package/dist/index-Ce4v8o7D.js +0 -106
  84. package/dist/subcategory-CLLMagXY.js +0 -817
  85. /package/dist/{app-DvG3mOom.js → LinkProductSideSheet.vue_vue_type_style_index_0_scoped_7d7fe73f_lang-DvG3mOom.js} +0 -0
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as Z, ref as v, computed as $, resolveComponent as W, createElementBlock as c, openBlock as r, createElementVNode as s, createVNode as I, unref as h, createCommentVNode as T, normalizeClass as E, toDisplayString as U, createStaticVNode as B, Fragment as P, renderList as R, createBlock as oe, withCtx as A } from "vue";
2
- import { J as O, F as ne } from "./jszip.min-C9xLIvo4.js";
3
- import { D as le, u as ie, I as D, a1 as re, a0 as ce, K as de, M as me, N as ue } from "./menu-ILWxqJQe.js";
2
+ import { J as O, F as ne } from "./jszip.min-BR_8QNuk.js";
3
+ import { D as le, u as ie, I as D, a0 as re, $ as ce, K as de, M as me, N as ue } from "./menu-DTlhFcnq.js";
4
4
  import { useI18n as ge } from "@feedmepos/mf-common";
5
5
  import { FmButtonVariant as z, useSnackbar as V, useDialog as pe, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
6
6
  import { _ as fe } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
7
- import { u as he, a as ye } from "./menu-Mkzv9c8C.js";
8
- import { a as be } from "./Product.vue_vue_type_script_setup_true_lang-BCQd-ks4.js";
9
- import { v as ve, w as _e } from "./item-CuIxc9FT.js";
7
+ import { u as he, a as ye } from "./menu-D52oU1sw.js";
8
+ import { a as be } from "./Product.vue_vue_type_script_setup_true_lang-C6iDgQEU.js";
9
+ import { v as ve, w as _e } from "./item-C45Oe5Un.js";
10
10
  const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center justify-between p-16 border-b border-gray-200" }, Ie = { class: "flex gap-8" }, ke = { class: "border-b border-gray-200" }, Ce = { class: "flex" }, Ue = { class: "flex-1 overflow-hidden" }, je = {
11
11
  key: 0,
12
12
  class: "h-full flex flex-col"
@@ -0,0 +1,283 @@
1
+ import { defineComponent as Y, computed as v, ref as q, resolveComponent as w, createBlock as y, openBlock as p, unref as e, withCtx as d, createElementVNode as u, toDisplayString as G, createVNode as o, createCommentVNode as O, createElementBlock as H, Fragment as N } from "vue";
2
+ import { D as S } from "./dayjs.min-D0EjAkx4.js";
3
+ import { M as te, w as oe } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DSspLK4i.js";
4
+ import { J as ne, F as ae } from "./jszip.min-BR_8QNuk.js";
5
+ import { u as j, D as J, A as B, e as P, G as Z, B as re, H as A, I as R } from "./menu-DTlhFcnq.js";
6
+ import { useCoreStore as se, useI18n as ie } from "@feedmepos/mf-common";
7
+ import { useDialog as K, useDialogChild as le, useSnackbar as Q, useBreakpoints as ue, FmButtonVariant as $, FmButtonColorThemeVariant as x } from "@feedmepos/ui-library";
8
+ import { _ as V } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
9
+ import { _ as me, a as z } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
10
+ import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
11
+ import { u as de, a as pe } from "./menu-D52oU1sw.js";
12
+ import { u as fe } from "./item-C45Oe5Un.js";
13
+ import { _ as L, a as _e } from "./Product.vue_vue_type_script_setup_true_lang-C6iDgQEU.js";
14
+ import { L as U } from "./LinkProductSideSheet-CncbzDh3.js";
15
+ import { _ as ve } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D2gzS8Q_.js";
16
+ import { u as ge } from "./Thumbnail.vue_vue_type_script_setup_true_lang-B3-ypwE7.js";
17
+ import { m as be } from "./toExcel-BNKDwOzQ.js";
18
+ const ye = { class: "space-y-24 mb-24" }, ke = ["innerHTML"], xe = { class: "flex justify-end gap-8" }, Me = /* @__PURE__ */ Y({
19
+ __name: "ConfirmActionDialog",
20
+ props: {
21
+ description: {},
22
+ value: {},
23
+ message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
24
+ },
25
+ setup(F) {
26
+ const t = F, M = v(() => t.message.replace("[[value]]", t.value)), n = q(""), h = K(), { emitAction: k } = le();
27
+ return (s, i) => {
28
+ const f = w("FmTextField"), m = w("FmButton"), g = w("FmForm");
29
+ return p(), y(g, {
30
+ "on-validation-success": () => e(k)("primary"),
31
+ "blame-form-child-on-validation-failed": ""
32
+ }, {
33
+ default: d(() => [
34
+ u("div", ye, [
35
+ u("div", null, G(s.description), 1),
36
+ u("div", { innerHTML: M.value }, null, 8, ke),
37
+ u("div", null, [
38
+ o(f, {
39
+ modelValue: n.value,
40
+ "onUpdate:modelValue": [
41
+ i[0] || (i[0] = (l) => n.value = l),
42
+ i[1] || (i[1] = () => {
43
+ })
44
+ ],
45
+ placeholder: s.value,
46
+ rules: [(l) => l === s.value || "Value does not match"]
47
+ }, null, 8, ["modelValue", "placeholder", "rules"])
48
+ ]),
49
+ u("div", xe, [
50
+ o(m, {
51
+ label: "Cancel",
52
+ variant: "secondary",
53
+ onClick: i[2] || (i[2] = (l) => e(h).close())
54
+ }),
55
+ o(m, {
56
+ label: "Confirm",
57
+ type: "submit"
58
+ })
59
+ ])
60
+ ])
61
+ ]),
62
+ _: 1
63
+ }, 8, ["on-validation-success"]);
64
+ };
65
+ }
66
+ }), he = /* @__PURE__ */ Y({
67
+ __name: "Migrate",
68
+ setup(F) {
69
+ const t = j(), M = se(), n = Q(), { minor: h } = J(n), k = q(!1), s = K();
70
+ async function i() {
71
+ f.value || k.value || s.open({
72
+ title: "Migrate to new version",
73
+ contentComponent: Me,
74
+ contentComponentProps: {
75
+ value: "MIGRATE",
76
+ description: "Do you want to migrate to new version? Once migrate it will unable to revert to the older version."
77
+ }
78
+ }).onPrimary(async () => {
79
+ s.close(), await h(
80
+ async () => {
81
+ await t.migrate(), setTimeout(() => {
82
+ window.location.reload();
83
+ }, 2e3);
84
+ },
85
+ {
86
+ isLoading: k,
87
+ customId: t.state.menu._id,
88
+ message: "Migrating menu",
89
+ successMessage: "Migration completed"
90
+ }
91
+ );
92
+ });
93
+ }
94
+ const f = v(() => {
95
+ const m = M.restaurants.value;
96
+ if (!m.length) return "Required at least one restaurant to migrate";
97
+ const g = m.filter((b) => !b.posVersion || !B.Pos.canUse({ feature: P.F_FEATURE.enum.menuV4, posVersion: b.posVersion }));
98
+ return g.length ? `Upgrade POS to V${B.Pos.minVersionToUse(P.F_FEATURE.enum.menuV4)} to use new menu: ${g.map((b) => b.profile.name).join(", ")}` : null;
99
+ });
100
+ return v(() => f.value ? f.value : "Migrate your menu to new version to enjoy more features. Content of new menu will remain the same as current."), (m, g) => {
101
+ const l = w("FmSnackbar");
102
+ return !f.value && e(t).version !== e(Z.F_MENU_VERSION).enum.v4 ? (p(), y(l, {
103
+ key: 0,
104
+ class: "!max-w-full",
105
+ title: "New version of menu is out now!",
106
+ description: "Migrate your current menu version to the latest to enjoy more features such as product sequential dispatch, serving sequence, scheduler and more! Your content and current setting will be preserved.",
107
+ variant: "info",
108
+ action: "Migrate",
109
+ "z-index": 0,
110
+ onOnAction: i
111
+ })) : O("", !0);
112
+ };
113
+ }
114
+ }), Se = { class: "flex-1 flex justify-between gap-8 pl-8" }, we = { class: "flex items-center" }, Ce = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Fe = { class: "fm-typo-en-body-md-600 font-semibold" }, $e = { class: "flex gap-8" }, Oe = /* @__PURE__ */ Y({
115
+ __name: "Products",
116
+ setup(F) {
117
+ const { t } = ie(), M = J(Q()), n = j(), h = v(() => n.rules.item), k = fe(), s = v(() => !n.state.currentSchedulerId), { selectedCategories: i } = de(), f = v(() => ({
118
+ ...re.menuV4ToV3(A(n.state.menu)),
119
+ _id: n.state.menu._id,
120
+ _rev: n.state.menu._rev
121
+ })), m = v(() => {
122
+ const c = R.flatten(i.value.map((a) => a.items));
123
+ return R.uniqBy(c, (a) => a._id).length;
124
+ });
125
+ async function g(c, a) {
126
+ const _ = new ne();
127
+ for (let C = 0; C < c.length; C++) {
128
+ const ee = await c[C].xlsx.writeBuffer();
129
+ _.file(`${a[C]}.xlsx`, ee);
130
+ }
131
+ const r = await _.generateAsync({ type: "blob" });
132
+ ae.saveAs(r, `books_${S().format("DD-MM-YYYY_HH-mm")}.zip`);
133
+ }
134
+ async function l() {
135
+ await M.minor(
136
+ async () => {
137
+ if (await n.readMenu(), n.version === Z.F_MENU_VERSION.enum.v4) {
138
+ const c = A(n.state.menu), a = new te(c).exportToExcel(), _ = [
139
+ `menu_${S().format("DD-MM-YYYY_HH-mm")}`,
140
+ `addonGroup_${S().format("DD-MM-YYYY_HH-mm")}`,
141
+ `itemLinkedAddon${S().format("DD-MM-YYYY_HH-mm")}`
142
+ ];
143
+ g(a, _);
144
+ } else {
145
+ const c = be(f.value), a = `menu_${S().format("DD-MM-YYYY_HH-mm")}`;
146
+ await oe(c, `${a}.xlsx`, {
147
+ bookType: "xlsx",
148
+ bookSST: !1,
149
+ type: "array"
150
+ });
151
+ }
152
+ },
153
+ { successMessage: "Menu exported", customId: n.state.menu._id }
154
+ );
155
+ }
156
+ const {
157
+ menuItems: b,
158
+ linkItemRules: E,
159
+ handleSubmit: D,
160
+ catalogManager: T,
161
+ schedulerManager: I
162
+ } = ge(!1), W = ue(), X = v(() => W.breakpoints.value.xs);
163
+ return pe().resetOnMount(), (c, a) => {
164
+ const _ = w("fm-button");
165
+ return p(), y(ce, {
166
+ heading: e(t)("menu.products.title")
167
+ }, {
168
+ default: d(() => [
169
+ o(he),
170
+ o(_e)
171
+ ]),
172
+ "append-heading": d(() => [
173
+ u("div", Se, [
174
+ u("div", we, [
175
+ u("div", Ce, [
176
+ u("p", Fe, G(m.value), 1)
177
+ ])
178
+ ]),
179
+ u("div", $e, [
180
+ X.value ? (p(), y(L, { key: 1 }, {
181
+ default: d(({ trigger: r }) => [
182
+ o(me, null, {
183
+ default: d(() => [
184
+ o(z, {
185
+ label: e(t)("menu.products.actions.export"),
186
+ onClick: l
187
+ }, null, 8, ["label"]),
188
+ o(z, {
189
+ label: e(t)("menu.products.actions.import"),
190
+ onClick: r
191
+ }, null, 8, ["label", "onClick"])
192
+ ]),
193
+ _: 2
194
+ }, 1024)
195
+ ]),
196
+ _: 1
197
+ })) : (p(), H(N, { key: 0 }, [
198
+ o(ve, null, {
199
+ default: d(({ trigger: r }) => [
200
+ o(_, {
201
+ label: e(t)("menu.tree_editor.title"),
202
+ "bg-color": e(x).NeutralGray100,
203
+ "text-color": e(x).TypoSecondary,
204
+ variant: e($).Primary,
205
+ onClick: r
206
+ }, null, 8, ["label", "bg-color", "text-color", "variant", "onClick"])
207
+ ]),
208
+ _: 1
209
+ }),
210
+ o(_, {
211
+ "bg-color": e(x).NeutralGray100,
212
+ "text-color": e(x).TypoSecondary,
213
+ variant: e($).Primary,
214
+ label: e(t)("menu.products.actions.export"),
215
+ onClick: l
216
+ }, null, 8, ["bg-color", "text-color", "variant", "label"]),
217
+ o(L, null, {
218
+ default: d(({ trigger: r }) => [
219
+ o(_, {
220
+ "bg-color": e(x).NeutralGray100,
221
+ "text-color": e(x).TypoSecondary,
222
+ variant: e($).Primary,
223
+ label: e(t)("menu.products.actions.import"),
224
+ onClick: r
225
+ }, null, 8, ["bg-color", "text-color", "variant", "label", "onClick"])
226
+ ]),
227
+ _: 1
228
+ })
229
+ ], 64)),
230
+ m.value > 0 ? (p(), H(N, { key: 2 }, [
231
+ h.value.create ? (p(), y(V, {
232
+ key: 0,
233
+ label: e(t)("menu.products.actions.add"),
234
+ "prepend-icon": "add",
235
+ onClick: a[0] || (a[0] = (r) => e(k).create(null))
236
+ }, null, 8, ["label"])) : s.value ? (p(), y(U, {
237
+ key: 1,
238
+ "categorized-items": e(T).linkableItems.value,
239
+ "initial-value": e(T).currentItems.value,
240
+ "show-variant": !1,
241
+ "menu-items": e(b),
242
+ "link-item-rules": e(E),
243
+ "no-scheduler": s.value,
244
+ onSubmit: e(D)
245
+ }, {
246
+ default: d(({ trigger: r }) => [
247
+ o(V, {
248
+ label: e(t)("menu.products.actions.link"),
249
+ "prepend-icon": "link",
250
+ onClick: r
251
+ }, null, 8, ["label", "onClick"])
252
+ ]),
253
+ _: 1
254
+ }, 8, ["categorized-items", "initial-value", "menu-items", "link-item-rules", "no-scheduler", "onSubmit"])) : (p(), y(U, {
255
+ key: 2,
256
+ "categorized-items": e(I).linkableItems.value,
257
+ "initial-value": e(I).currentItems.value,
258
+ "show-variant": !1,
259
+ "menu-items": e(b),
260
+ "link-item-rules": e(E),
261
+ "no-scheduler": s.value,
262
+ onSubmit: e(D)
263
+ }, {
264
+ default: d(({ trigger: r }) => [
265
+ o(V, {
266
+ label: e(t)("menu.products.actions.apply_scheduler"),
267
+ onClick: r
268
+ }, null, 8, ["label", "onClick"])
269
+ ]),
270
+ _: 1
271
+ }, 8, ["categorized-items", "initial-value", "menu-items", "link-item-rules", "no-scheduler", "onSubmit"]))
272
+ ], 64)) : O("", !0)
273
+ ])
274
+ ])
275
+ ]),
276
+ _: 1
277
+ }, 8, ["heading"]);
278
+ };
279
+ }
280
+ });
281
+ export {
282
+ Oe as default
283
+ };
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as K, ref as I, computed as S, onMounted as ne, resolveComponent as C, createElementBlock as R, openBlock as h, createVNode as n, createElementVNode as o, toDisplayString as F, unref as i, Fragment as E, renderList as j, createBlock as O, withCtx as L, createCommentVNode as ue, withModifiers as N, h as H } from "vue";
2
- import { D as X } from "./dayjs.min-Cnfm8bQm.js";
2
+ import { D as X } from "./dayjs.min-D0EjAkx4.js";
3
3
  import { useRouter as ie } from "vue-router";
4
- import { A as re, e as ce, D as Z, a9 as de, H as J, I as me, u as pe, G as ge, a1 as ve } from "./menu-ILWxqJQe.js";
4
+ import { A as re, e as ce, D as Z, a8 as de, H as J, I as me, u as pe, G as ge, a0 as ve } from "./menu-DTlhFcnq.js";
5
5
  import { useI18n as Y, useCoreStore as be, RestaurantSelector as fe } from "@feedmepos/mf-common";
6
6
  import { useSnackbar as ee, useDialogChild as _e, useDialog as he, components as Q } from "@feedmepos/ui-library";
7
7
  import { _ as ye } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
8
- import { _ as Ce } from "./app-CV_q8OdE.js";
8
+ import { _ as Ce } from "./app-CU2frfPB.js";
9
9
  import { a as ke, w as we } from "./tooltip-B5BiPMx9.js";
10
10
  import { u as xe } from "./discardConfirm-BHni0LNu.js";
11
11
  import { _ as Ve } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
@@ -2,15 +2,15 @@ import { defineComponent as z, computed as h, ref as w, reactive as Q, watch as
2
2
  import { useI18n as U } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as $, components as j, useDialog as ne, FmButtonVariant as G, useBreakpoints as oe } from "@feedmepos/ui-library";
4
4
  import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { _ as le } from "./app-CV_q8OdE.js";
6
- import { O as q, D as A, H as ie, B as P, I as se, e as B, J as I, G as T, u as H } from "./menu-ILWxqJQe.js";
5
+ import { _ as le } from "./app-CU2frfPB.js";
6
+ import { O as q, D as A, H as ie, B as P, I as se, e as B, J as I, G as T, u as H } from "./menu-DTlhFcnq.js";
7
7
  import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
8
8
  import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
9
9
  import { defineStore as ue } from "pinia";
10
- import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-HgHBlflo.js";
10
+ import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-DqnVkfjW.js";
11
11
  import { u as de } from "./discardConfirm-BHni0LNu.js";
12
12
  import { c as pe } from "./check-C9mY6LiX.js";
13
- import "./unit-9fycj1fu.js";
13
+ import "./unit-CBe6cpyB.js";
14
14
  import { c as fe } from "./createComponentProgrammatically-Bt2rn1IQ.js";
15
15
  const _e = { class: "fm-typo-en-title-md-600" }, ve = { class: "pt-8 space-y-40" }, ye = { class: "flex flex-row gap-16" }, ge = { class: "flex gap-8 items-center justify-start" }, be = /* @__PURE__ */ z({
16
16
  __name: "Form",
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as N, computed as y, h as c, withModifiers as U, ref as V, resolveComponent as _, createBlock as k, openBlock as d, unref as m, withCtx as h, createElementBlock as D, createVNode as f, Fragment as H, createElementVNode as l, renderList as T, toDisplayString as S, createCommentVNode as I } from "vue";
2
- import { G as i, O as W, u as G, D as Q } from "./menu-ILWxqJQe.js";
2
+ import { G as i, O as W, u as G, D as Q } from "./menu-DTlhFcnq.js";
3
3
  import { useI18n as J } from "@feedmepos/mf-common";
4
4
  import { components as X, useDialog as Z, useSnackbar as ee } from "@feedmepos/ui-library";
5
5
  import { _ as te } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
6
- import { _ as ne } from "./app-CV_q8OdE.js";
7
- import { d as ae, _ as oe, u as se, c as le } from "./scheduler-DuxWoNVb.js";
6
+ import { _ as ne } from "./app-CU2frfPB.js";
7
+ import { d as ae, _ as oe, u as se, c as le } from "./scheduler-DHjrtU8G.js";
8
8
  import { _ as re } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
9
9
  import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
10
10
  const ce = {
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as J, ref as L, computed as O, resolveComponent as h, createElementBlock as g, openBlock as d, Fragment as x, renderSlot as ae, createVNode as l, unref as t, withCtx as m, createElementVNode as y, toDisplayString as A, onBeforeMount as oe, watch as F, watchEffect as se, h as $, getCurrentInstance as le, onMounted as re, createBlock as j, createCommentVNode as G, isRef as ie, normalizeClass as Q, renderList as ue } from "vue";
2
2
  import { useRouter as ce } from "vue-router";
3
- import { H, u as W, D as X, O as Z, J as I, G as S } from "./menu-ILWxqJQe.js";
3
+ import { H, u as W, D as X, O as Z, J as I, G as S } from "./menu-DTlhFcnq.js";
4
4
  import { useI18n as ee, ItemSelector as de, useCoreStore as me } from "@feedmepos/mf-common";
5
5
  import { useSnackbar as ne, components as Y, useDialog as pe, FmButtonVariant as T, useBreakpoints as _e } from "@feedmepos/ui-library";
6
6
  import { _ as fe } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
7
- import { _ as ge, R as ve } from "./app-CV_q8OdE.js";
7
+ import { _ as ge, R as ve } from "./app-CU2frfPB.js";
8
8
  import { _ as he } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
9
9
  import { c as ye } from "./check-C9mY6LiX.js";
10
10
  import { _ as be } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
11
11
  import { u as ke } from "./search-BAPEUu1R.js";
12
- import { u as xe } from "./app-ClinzawZ.js";
12
+ import { u as xe } from "./app-BhI1mPRh.js";
13
13
  import { c as Se } from "./createComponentProgrammatically-Bt2rn1IQ.js";
14
14
  const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex flex-col h-full" }, Ee = { class: "flex gap-8 items-center justify-start" }, Ve = /* @__PURE__ */ J({
15
15
  __name: "Form",
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as ne, computed as p, ref as se, watch as ue, watchEffect as ie, resolveComponent as m, createElementBlock as V, openBlock as r, normalizeClass as z, createVNode as s, withCtx as c, createElementVNode as v, createBlock as g, createCommentVNode as k, unref as e, Fragment as L, renderList as B, createTextVNode as re, toDisplayString as N } from "vue";
2
- import { u as me, D as ce, G as f, O as de, A as pe, H as w } from "./menu-ILWxqJQe.js";
2
+ import { u as me, D as ce, G as f, O as de, A as pe, H as w } from "./menu-DTlhFcnq.js";
3
3
  import { useCoreStore as ve, useI18n as ge } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as fe, useDialog as _e, FmButtonVariant as $, FmButtonColorThemeVariant as P, components as be } from "@feedmepos/ui-library";
5
- import { _ as E } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
5
+ import { a as E } from "./LinkProductSideSheet-CncbzDh3.js";
6
6
  import { _ as ye } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
7
- import { _ as H, a as ke } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BIX-gPUO.js";
8
- import { C as _, a as x } from "./catalogSetting-DTEHDSAd.js";
9
- import { C as xe } from "./catalog-Wx88K6iI.js";
7
+ import { _ as H, a as ke } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DoVyIdTN.js";
8
+ import { C as _, a as x } from "./catalogSetting-Bk1QEBg5.js";
9
+ import { C as xe } from "./catalog-BudDGPc1.js";
10
10
  const Ce = {
11
11
  class: /* @__PURE__ */ z(["overflow-scroll", "flex-1", "xs:px-16 xs:py-16", "pt-16"])
12
12
  }, Oe = {
@@ -2,17 +2,17 @@ import { defineComponent as L, ref as w, watch as W, resolveComponent as y, crea
2
2
  import { useI18n as T } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as B, components as j, useDialog as Y, FmButtonVariant as z, useBreakpoints as ae, FmButtonColorThemeVariant as oe } from "@feedmepos/ui-library";
4
4
  import { _ as ne } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { D, u as N, O as U, J as K, G } from "./menu-ILWxqJQe.js";
5
+ import { D, u as N, O as U, J as K, G } from "./menu-DTlhFcnq.js";
6
6
  import { _ as le } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
7
- import { _ as se } from "./app-CV_q8OdE.js";
7
+ import { _ as se } from "./app-CU2frfPB.js";
8
8
  import { c as re } from "./createForm-BoUQeZTd.js";
9
9
  import { u as ie } from "./discardConfirm-BHni0LNu.js";
10
10
  import { c as I } from "./object-DVUNCr7w.js";
11
11
  import { r as ce } from "./rules-CIWTZQfh.js";
12
12
  import { c as ue } from "./check-C9mY6LiX.js";
13
- import { a as q } from "./subcategory-CLLMagXY.js";
13
+ import { u as q } from "./subcategory-0ajMWsb2.js";
14
14
  import { _ as de } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
15
- import { a as me } from "./menu-Mkzv9c8C.js";
15
+ import { a as me } from "./menu-D52oU1sw.js";
16
16
  const pe = {
17
17
  class: "fm-typo-en-title-md-600"
18
18
  }, _e = {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Takeaway.vue_vue_type_script_setup_true_lang-BTDlzYuX.js";
1
+ import { _ as f } from "./Takeaway.vue_vue_type_script_setup_true_lang-Bl5OAG3c.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as f, computed as y, ref as k, createBlock as i, openBlock as d, unref as a, withCtx as s, createElementVNode as t, toDisplayString as b, createCommentVNode as g, createVNode as m } from "vue";
2
- import { D as x, u as v, O as w, J as E, G as M } from "./menu-ILWxqJQe.js";
2
+ import { D as x, u as v, O as w, J as E, G as M } from "./menu-DTlhFcnq.js";
3
3
  import { useI18n as T } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as V } from "@feedmepos/ui-library";
5
5
  import { _ as h } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
6
6
  import { _ as C } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
7
- import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-BTDlzYuX.js";
8
- import { T as O, l as S } from "./index-DJXrJdeQ.js";
9
- import { a as L } from "./menu-Mkzv9c8C.js";
7
+ import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-Bl5OAG3c.js";
8
+ import { T as O, l as S } from "./index-CirrSmpA.js";
9
+ import { a as L } from "./menu-D52oU1sw.js";
10
10
  const U = { class: "flex-1 flex justify-between gap-8 pl-8" }, B = { class: "flex items-center" }, D = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, F = { class: "fm-typo-en-body-md-600 font-semibold" }, z = /* @__PURE__ */ f({
11
11
  __name: "Takeaway",
12
12
  setup(I) {
@@ -1,14 +1,14 @@
1
1
  import { getCurrentInstance as te, defineComponent as oe, computed as h, watch as ne, h as R, resolveComponent as S, createElementBlock as C, openBlock as _, Fragment as O, normalizeClass as D, createElementVNode as k, createVNode as V, unref as t, isRef as j, withCtx as P, renderList as ie, createBlock as G, createCommentVNode as $, toDisplayString as I, withModifiers as H } from "vue";
2
- import { D as q, u as Q, O as W, J as N, G as z, H as L, A as se, at as J } from "./menu-ILWxqJQe.js";
2
+ import { D as q, u as Q, O as W, J as N, G as z, H as L, A as se, an as J } from "./menu-DTlhFcnq.js";
3
3
  import { useI18n as X, useCoreStore as re } from "@feedmepos/mf-common";
4
4
  import { useDialog as le, useSnackbar as Z, FmButtonVariant as A, components as ce, useBreakpoints as de } from "@feedmepos/ui-library";
5
- import { _ as ue } from "./app-CV_q8OdE.js";
5
+ import { _ as ue } from "./app-CU2frfPB.js";
6
6
  import { _ as me } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
7
- import { a as ye, l as ee, T as pe } from "./index-DJXrJdeQ.js";
7
+ import { a as ye, l as ee, T as pe } from "./index-CirrSmpA.js";
8
8
  import { u as fe } from "./search-BAPEUu1R.js";
9
- import { f as F } from "./currency-562bPc2l.js";
9
+ import { f as F } from "./currency-BQIQArxm.js";
10
10
  import { defineStore as _e } from "pinia";
11
- import { C as ke } from "./catalog-Wx88K6iI.js";
11
+ import { C as ke } from "./catalog-BudDGPc1.js";
12
12
  import { c as ve } from "./createComponentProgrammatically-Bt2rn1IQ.js";
13
13
  function we(T, U, l, m) {
14
14
  var y, v, w, g;