@feedmepos/mf-menu 0.31.40-prod → 0.31.41-prod

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/{App-aWEH-ZEk.js → App-5Lzy8zHZ.js} +8 -8
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-jJyinQZl.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BnKXsQH-.js} +3 -3
  3. package/dist/{Catalog-BoFfFdn8.js → Catalog-s5b8V8nw.js} +8 -9
  4. package/dist/{Category-CWYbb3Jn.js → Category-BJzScJEY.js} +4 -4
  5. package/dist/{Category-DZ45uikR.js → Category-DZ-xqIMI.js} +6 -6
  6. package/dist/{CookingGuide-BU0PRWIQ.js → CookingGuide-Bkd6GPww.js} +4 -4
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Z5xsKDIE.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-B8tIjKOW.js} +1 -1
  8. package/dist/{Group-BMQDeqiS.js → Group-0b2Qiov3.js} +1 -1
  9. package/dist/{Group-C0T_uknK.js → Group-BOaCcKiI.js} +3 -3
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-DyfmY6F1.js → Group.vue_vue_type_script_setup_true_lang-DUlUfMAs.js} +8 -8
  11. package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CouimeC4.js +399 -0
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Dl-Wvt3D.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DOvQmbrZ.js} +13 -14
  13. package/dist/{Ingredient-3lwDUQx_.js → Ingredient-ChcYUvOg.js} +3 -3
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-VLrrTkSC.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DE1HkipX.js} +2 -2
  15. package/dist/LinkProductSideSheet-BdzBGYxG.js +361 -0
  16. package/dist/MenuSetting-zAAttaoA.js +618 -0
  17. package/dist/{PrintRoute-DfJ-vUAb.js → PrintRoute-T-vuO5N8.js} +4 -4
  18. package/dist/{Product-F4PoLm9v.js → Product-B5q291VF.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-DT5gffpA.js → Product.vue_vue_type_script_setup_true_lang-DLRlT10W.js} +468 -465
  20. package/dist/{ProductInternalTools-DSGU-OqU.js → ProductInternalTools-BOlc0VUR.js} +5 -5
  21. package/dist/{Products-COzW2Z4g.js → Products-Cd4Mqhm3.js} +88 -85
  22. package/dist/{Publish-CDXVWCk2.js → Publish-SuRzt-_D.js} +3 -3
  23. package/dist/{Recipe-BZx4wrcP.js → Recipe-BKrjNs5g.js} +4 -4
  24. package/dist/{Scheduler-wHCWSeU2.js → Scheduler-DnDgImLC.js} +3 -3
  25. package/dist/{ServingSequence-BbYEhDYh.js → ServingSequence-D602bVnm.js} +3 -3
  26. package/dist/{Setting-C9Tlw1Iy.js → Setting-FMT4oBYH.js} +44 -45
  27. package/dist/{Subcategory-C8AwfrKb.js → Subcategory-CpYmjAvA.js} +4 -4
  28. package/dist/{Takeaway-t1053wg2.js → Takeaway-BXh3iuME.js} +1 -1
  29. package/dist/{Takeaway-DaEUn-yM.js → Takeaway-D4hjN5z5.js} +4 -4
  30. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-7XycP5fU.js → Takeaway.vue_vue_type_script_setup_true_lang-By1f-FCO.js} +5 -5
  31. package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-CZUwa5C_.js +440 -0
  32. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Ci6iqOry.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DfjtfcCh.js} +604 -600
  33. package/dist/{Unit-CnqptGCz.js → Unit-CsjHkV-h.js} +2 -2
  34. package/dist/{Variant-DiOYOwJs.js → Variant-Djra14ZX.js} +3 -3
  35. package/dist/{_id_-BSfU16VO.js → _id_-BXkqoCzB.js} +78 -75
  36. package/dist/{app-Ddb81PNo.js → app-CVqWWV4x.js} +278 -278
  37. package/dist/{LinkProductSideSheet.vue_vue_type_style_index_0_scoped_97fa9d58_lang-DvG3mOom.js → app-CiBqmBzO.js} +2120 -2084
  38. package/dist/{app-Cou6qPF2.js → app-PhBJNss_.js} +1 -1
  39. package/dist/app.js +1 -1
  40. package/dist/apps/mf-menu/src/api/menu.d.ts +2 -1
  41. package/dist/apps/mf-menu/src/app.d.ts +144 -0
  42. package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierRuleEditor.vue.d.ts +36 -0
  43. package/dist/apps/mf-menu/src/components/feature/RestaurantAttributesSelector.vue.d.ts +9 -3
  44. package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +294 -4
  45. package/dist/apps/mf-menu/src/composable/attributes.d.ts +26 -0
  46. package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +40 -0
  47. package/dist/apps/mf-menu/src/helper/import-export.d.ts +285 -0
  48. package/dist/apps/mf-menu/src/helper/menu.d.ts +285 -0
  49. package/dist/apps/mf-menu/src/manager/menu/item.d.ts +285 -0
  50. package/dist/apps/mf-menu/src/stores/menu.d.ts +293 -3
  51. package/dist/apps/mf-menu/src/utils/array.d.ts +1 -0
  52. package/dist/apps/mf-menu/src/utils/customAttributes.d.ts +12 -0
  53. package/dist/apps/mf-menu/src/views/MenuSetting/LinkProductRuleGroups.vue.d.ts +2 -0
  54. package/dist/apps/mf-menu/src/views/MenuSetting/RuleGroupSideSheet.vue.d.ts +176 -0
  55. package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +166 -0
  56. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  57. package/dist/assets/linked-status-WlVAcpRn.js +13 -0
  58. package/dist/assets/override-menu-__h4D7ac.js +13 -0
  59. package/dist/assets/validate-menu-DyPuzLRg.js +13 -0
  60. package/dist/{catalog-DSuJhsUb.js → catalog-C_TuQLxq.js} +1 -1
  61. package/dist/{catalogSetting-C3gEw9ov.js → catalogSetting-BUlJu6hG.js} +1 -1
  62. package/dist/{category-CwWq3KCE.js → category-CmVw1Kj-.js} +1 -1
  63. package/dist/{currency-g45Sh-t6.js → currency-OhOTnAqk.js} +1 -1
  64. package/dist/customAttributes-fpOfmGnw.js +180 -0
  65. package/dist/{dayjs.min-g3eN5z-V.js → dayjs.min-CDhP-7L5.js} +1 -1
  66. package/dist/{index-QsLFbxyG.js → index-BJZEWB5C.js} +4 -4
  67. package/dist/{index-BLQCYEc6.js → index-DHAYGEPp.js} +7 -8
  68. package/dist/{index-0yRUi7LL.js → index-DtwHmS38.js} +1 -1
  69. package/dist/index-N3cGc8ex.js +245 -0
  70. package/dist/{item-BvvQ9urP.js → item-BELLphR0.js} +16 -16
  71. package/dist/{jszip.min-DzdUiaR4.js → jszip.min-CZtcGb7A.js} +353 -353
  72. package/dist/{menu-QrVg2Ph7.js → menu-Csyr6W9A.js} +7 -7
  73. package/dist/{menu-DFNvhoNQ.js → menu-DS_ERmBf.js} +23355 -23206
  74. package/dist/{menuV2-Ezf_jW40.js → menuV2-DKzAZ4Ss.js} +151 -146
  75. package/dist/mf-menu.css +1 -1
  76. package/dist/{priceTier-zENsn3P_.js → priceTier-CYWS5lDS.js} +1 -1
  77. package/dist/{scheduler-BuwGSv6A.js → scheduler-DI5dXC7Y.js} +8 -8
  78. package/dist/{subcategory-O3L_zCJA.js → subcategory-D_ao-IV9.js} +2 -2
  79. package/dist/{toExcel-CpRy_4nG.js → toExcel-Cml-rkJQ.js} +2 -2
  80. package/dist/{unit-Ct_7Hfa2.js → unit-BWDp2LkV.js} +42 -41
  81. package/package.json +3 -3
  82. package/dist/FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js +0 -50
  83. package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D6qro5w_.js +0 -367
  84. package/dist/LinkProductSideSheet-LDZjKX95.js +0 -297
  85. package/dist/MenuSetting-AhutsCVy.js +0 -185
  86. package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-B7oLH9cP.js +0 -431
  87. package/dist/assets/linked-status-B_crHhZH.js +0 -24
  88. package/dist/assets/override-menu-BmlCEpHH.js +0 -24
  89. package/dist/assets/validate-menu-CF-psoB-.js +0 -24
  90. package/dist/index-0Q5T9VZV.js +0 -214
@@ -0,0 +1,399 @@
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";
2
+ import { useI18n as z, useCustomAttributes as ue, useCoreStore as re, isEmptyRule as oe, EMPTY_RULE as w } from "@feedmepos/mf-common";
3
+ import { m as j, f as O, u as ne, _ as ie, a as x } from "./customAttributes-fpOfmGnw.js";
4
+ import { u as D } from "./priceTier-CYWS5lDS.js";
5
+ import { b as G } from "./app-CiBqmBzO.js";
6
+ import { FmButtonVariant as Z, useDialog as se, components as me, FmButtonColorThemeVariant as H } from "@feedmepos/ui-library";
7
+ import { L as R } from "./catalogSetting-BUlJu6hG.js";
8
+ import { L as de } from "./LinkProductSideSheet-BdzBGYxG.js";
9
+ import { c as Y } from "./check-C9mY6LiX.js";
10
+ import { u as pe, H as J, aj as ce } from "./menu-DS_ERmBf.js";
11
+ import { c as ve } from "./string-DpfFixWH.js";
12
+ const fe = /* @__PURE__ */ N({
13
+ __name: "LinkPriceTier",
14
+ props: {
15
+ modelValue: { required: !0 },
16
+ modelModifiers: {}
17
+ },
18
+ emits: ["update:modelValue"],
19
+ setup(T) {
20
+ const { t: y } = z(), r = K(T, "modelValue"), o = D(), a = B(() => o.priceTiers.value.map((V) => ({
21
+ label: V.key,
22
+ value: V.key
23
+ })));
24
+ return (V, g) => {
25
+ const i = d("FmSelect");
26
+ return b(), U(i, {
27
+ items: a.value,
28
+ "model-value": r.value ?? [],
29
+ multiselect: !0,
30
+ keepSelectionOrder: !0,
31
+ "onUpdate:modelValue": g[0] || (g[0] = (s) => r.value = s)
32
+ }, null, 8, ["items", "model-value"]);
33
+ };
34
+ }
35
+ }), _e = {
36
+ class: "flex justify-end"
37
+ }, be = /* @__PURE__ */ N({
38
+ __name: "PriceTierRuleEditor",
39
+ props: {
40
+ modelValue: {
41
+ required: !0
42
+ },
43
+ modelModifiers: {}
44
+ },
45
+ emits: ["update:modelValue"],
46
+ setup(T) {
47
+ var k;
48
+ const {
49
+ t: y
50
+ } = z(), r = K(T, "modelValue"), o = L((k = r.value) == null ? void 0 : k.map((l) => {
51
+ var p, c;
52
+ return {
53
+ ...l,
54
+ restaurantRule: {
55
+ restaurantAttributes: j((p = l.restaurantRule) == null ? void 0 : p.restaurantAttributes),
56
+ restaurantCustomAttributes: j((c = l.restaurantRule) == null ? void 0 : c.restaurantCustomAttributes)
57
+ }
58
+ };
59
+ }));
60
+ W(o, (l) => {
61
+ r.value = l == null ? void 0 : l.map((p) => {
62
+ var c, n;
63
+ return {
64
+ priceTier: p.priceTier,
65
+ restaurantRule: {
66
+ restaurantAttributes: O((c = p.restaurantRule) == null ? void 0 : c.restaurantAttributes),
67
+ restaurantCustomAttributes: O((n = p.restaurantRule) == null ? void 0 : n.restaurantCustomAttributes)
68
+ }
69
+ };
70
+ });
71
+ }, {
72
+ deep: !0
73
+ });
74
+ const a = D(), {
75
+ attributes: V
76
+ } = ue({
77
+ valueSource: re().restaurants,
78
+ entity: "restaurant"
79
+ }), {
80
+ restaurantAttributes: g
81
+ } = ne();
82
+ function i(l, p, c) {
83
+ o.value && o.value[l] && (oe(p) ? o.value[l].restaurantRule[c] = w : o.value[l].restaurantRule[c] = p);
84
+ }
85
+ const s = B(() => a.priceTiers.value.map((l) => ({
86
+ value: l.key,
87
+ label: l.key
88
+ })));
89
+ function t() {
90
+ o.value = [...o.value || [], {
91
+ priceTier: "",
92
+ restaurantRule: {
93
+ restaurantAttributes: w,
94
+ restaurantCustomAttributes: w
95
+ }
96
+ }];
97
+ }
98
+ function A(l) {
99
+ o.value && o.value.splice(l, 1);
100
+ }
101
+ return (l, p) => {
102
+ const c = d("FmSelect"), n = d("fm-button"), v = d("FmCard"), E = d("FmButton");
103
+ return b(), U(ie, null, {
104
+ default: _(() => [(b(!0), F(q, null, X(o.value, (M, S) => (b(), U(v, {
105
+ key: S,
106
+ class: "p-16 space-y-16",
107
+ variant: "outlined"
108
+ }, {
109
+ default: _(() => [P("div", null, [u(c, {
110
+ label: "Price groups",
111
+ "label-mark": "required",
112
+ items: s.value,
113
+ "model-value": M.priceTier,
114
+ rules: [(f) => !!f || e(y)("menu.common.validation.required_field")],
115
+ "onUpdate:modelValue": (f) => M.priceTier = f
116
+ }, null, 8, ["items", "model-value", "rules", "onUpdate:modelValue"])]), u(x, {
117
+ label: e(y)("menu.link_product.rules.restaurant_filter")
118
+ }, {
119
+ default: _(() => {
120
+ var f;
121
+ return [u(e(G), {
122
+ attributes: e(g),
123
+ "model-value": (f = M.restaurantRule) == null ? void 0 : f.restaurantAttributes,
124
+ "onUpdate:modelValue": (C) => i(S, C, "restaurantAttributes")
125
+ }, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])];
126
+ }),
127
+ _: 2
128
+ }, 1032, ["label"]), u(x, {
129
+ label: e(y)("menu.link_product.rules.restaurant_custom_attributes_filter")
130
+ }, {
131
+ default: _(() => {
132
+ var f;
133
+ return [u(e(G), {
134
+ attributes: e(V),
135
+ "model-value": (f = M.restaurantRule) == null ? void 0 : f.restaurantCustomAttributes,
136
+ "onUpdate:modelValue": (C) => i(S, C, "restaurantCustomAttributes")
137
+ }, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])];
138
+ }),
139
+ _: 2
140
+ }, 1032, ["label"]), P("div", _e, [u(n, {
141
+ variant: e(Z).Tertiary,
142
+ "prepend-icon": "delete",
143
+ onClick: (f) => A(S)
144
+ }, null, 8, ["variant", "onClick"])])]),
145
+ _: 2
146
+ }, 1024))), 128)), P("div", null, [u(E, {
147
+ label: "Add rule",
148
+ onClick: t
149
+ })])]),
150
+ _: 1
151
+ });
152
+ };
153
+ }
154
+ }), Be = /* @__PURE__ */ N({
155
+ __name: "LinkPriceTierSection",
156
+ props: {
157
+ modelValue: {},
158
+ isMainCatalog: {
159
+ type: Boolean
160
+ },
161
+ isV4: {
162
+ type: Boolean
163
+ }
164
+ },
165
+ emits: ["update:modelValue"],
166
+ setup(T, {
167
+ emit: y
168
+ }) {
169
+ const r = T, o = y, {
170
+ t: a
171
+ } = z(), V = D(), g = L(r.modelValue.priceTierRules && r.modelValue.priceTierRules.length > 0 ? R.Rules : R.Normal);
172
+ function i(s) {
173
+ o("update:modelValue", {
174
+ ...r.modelValue,
175
+ ...s
176
+ });
177
+ }
178
+ return (s, t) => {
179
+ const A = d("fm-radio"), k = d("fm-radio-group");
180
+ return !s.isMainCatalog && s.isV4 && e(V).priceTiers.value.length > 0 ? (b(), U(x, {
181
+ key: 0,
182
+ label: e(a)("menu.price_tier.link_price_tier")
183
+ }, {
184
+ default: _(() => [u(k, {
185
+ "model-value": g.value,
186
+ "onUpdate:modelValue": t[4] || (t[4] = (l) => {
187
+ g.value = l, l === e(R).Normal && i({
188
+ priceTierRules: null
189
+ });
190
+ })
191
+ }, {
192
+ default: _(() => [u(A, {
193
+ value: e(R).Normal,
194
+ label: e(a)("menu.price_tier.link_price_group"),
195
+ sublabel: e(a)("menu.price_tier.link_price_group_description")
196
+ }, null, 8, ["value", "label", "sublabel"]), g.value === e(R).Normal ? (b(), F("div", {
197
+ key: 0,
198
+ onClick: t[1] || (t[1] = Q(() => {
199
+ }, ["prevent"])),
200
+ class: "pl-32"
201
+ }, [u(fe, {
202
+ "model-value": s.modelValue.usePriceTiers,
203
+ "onUpdate:modelValue": t[0] || (t[0] = (l) => i({
204
+ usePriceTiers: l
205
+ }))
206
+ }, null, 8, ["model-value"])])) : $("", !0), u(A, {
207
+ value: e(R).Rules,
208
+ label: e(a)("menu.price_tier.price_group_rule"),
209
+ sublabel: e(a)("menu.price_tier.price_group_rule_description")
210
+ }, null, 8, ["value", "label", "sublabel"]), g.value === e(R).Rules ? (b(), F("div", {
211
+ key: 1,
212
+ onClick: t[3] || (t[3] = Q(() => {
213
+ }, ["prevent"])),
214
+ class: "pl-32"
215
+ }, [u(be, {
216
+ "model-value": s.modelValue.priceTierRules,
217
+ "onUpdate:modelValue": t[2] || (t[2] = (l) => i({
218
+ priceTierRules: l
219
+ }))
220
+ }, null, 8, ["model-value"])])) : $("", !0)]),
221
+ _: 1
222
+ }, 8, ["model-value"])]),
223
+ _: 1
224
+ }, 8, ["label"])) : $("", !0);
225
+ };
226
+ }
227
+ }), ge = { class: "space-y-16" }, ke = { class: "ml-32 mt-16 space-y-8" }, Ve = {
228
+ key: 0,
229
+ class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary"
230
+ }, Le = /* @__PURE__ */ N({
231
+ __name: "GroupMarkupPriceDialog",
232
+ props: {
233
+ modelValue: {},
234
+ items: {},
235
+ categories: {},
236
+ action: {}
237
+ },
238
+ emits: ["update:model-value"],
239
+ setup(T, { emit: y }) {
240
+ const r = T, o = pe();
241
+ se();
242
+ const { t: a } = z(), V = y, g = B(() => r.action === "add" ? a("menu.markup.dialog.title.add") : a("menu.markup.dialog.title.update")), i = L(!1), s = (n) => {
243
+ Y.isBoolean(n) ? i.value = n : i.value = !i.value;
244
+ }, t = L(
245
+ r.modelValue ? J(r.modelValue) : {
246
+ percentage: 0,
247
+ includeItems: null
248
+ }
249
+ );
250
+ W(
251
+ () => i.value,
252
+ (n) => {
253
+ n && (t.value = r.modelValue ? J(r.modelValue) : {
254
+ percentage: 0,
255
+ includeItems: null
256
+ });
257
+ }
258
+ ), B(
259
+ () => ce(o.variants, r.categories, r.items)
260
+ );
261
+ function A(n) {
262
+ t.value = {
263
+ ...t.value,
264
+ includeItems: n
265
+ };
266
+ }
267
+ const k = L(
268
+ 0
269
+ /* ALL */
270
+ );
271
+ function l(n) {
272
+ k.value = n, t.value = {
273
+ ...t.value,
274
+ includeItems: n === 0 ? null : []
275
+ };
276
+ }
277
+ const p = B(() => [
278
+ {
279
+ label: a("menu.markup.dialog.options.all"),
280
+ value: 0
281
+ /* ALL */
282
+ },
283
+ {
284
+ label: a("menu.markup.dialog.options.custom"),
285
+ value: 1
286
+ /* CUSTOM */
287
+ }
288
+ ]);
289
+ async function c() {
290
+ V("update:model-value", t.value), s(!1);
291
+ }
292
+ return te(() => {
293
+ k.value = t.value && t.value.includeItems === null ? 0 : 1;
294
+ }), (n, v) => {
295
+ const E = d("fm-icon"), M = d("fm-stepper-field"), S = d("fm-radio"), f = d("fm-radio-group"), C = d("fm-button"), ee = d("fm-dialog");
296
+ return b(), F(q, null, [
297
+ le(n.$slots, "default", { trigger: s }),
298
+ u(ee, {
299
+ modelValue: i.value,
300
+ "onUpdate:modelValue": v[4] || (v[4] = (I) => i.value = I),
301
+ "is-component": e(me).FmForm,
302
+ "is-component-props": {
303
+ onValidationSuccess: c
304
+ }
305
+ }, {
306
+ "dialog-header": _(() => [
307
+ ae(h(g.value), 1)
308
+ ]),
309
+ "dialog-footer": _(() => [
310
+ u(C, {
311
+ class: "sm:w-full xs:w-full ml-auto",
312
+ label: "Cancel",
313
+ variant: "tertiary",
314
+ onClick: v[3] || (v[3] = (I) => s(!1))
315
+ }),
316
+ u(C, {
317
+ label: e(ve)(n.action),
318
+ class: "sm:w-full xs:w-full",
319
+ size: "md",
320
+ type: "submit",
321
+ variant: "primary"
322
+ }, null, 8, ["label"])
323
+ ]),
324
+ default: _(() => {
325
+ var I;
326
+ return [
327
+ P("div", ge, [
328
+ u(M, {
329
+ modelValue: t.value.percentage,
330
+ "onUpdate:modelValue": v[0] || (v[0] = (m) => t.value.percentage = m),
331
+ decimal: 0,
332
+ max: 100,
333
+ min: 0,
334
+ rules: [
335
+ (m) => e(Y).isSet(m) && m >= 0 || e(a)("menu.markup.dialog.fields.percentage.required")
336
+ ],
337
+ label: e(a)("menu.markup.dialog.fields.percentage.label"),
338
+ placeholder: e(a)("menu.markup.dialog.fields.percentage.placeholder")
339
+ }, {
340
+ prepend: _(() => [
341
+ u(E, { name: "percent" })
342
+ ]),
343
+ _: 1
344
+ }, 8, ["modelValue", "rules", "label", "placeholder"]),
345
+ P("div", null, [
346
+ u(f, {
347
+ modelValue: k.value,
348
+ "onUpdate:modelValue": [
349
+ v[1] || (v[1] = (m) => k.value = m),
350
+ l
351
+ ],
352
+ class: "space-y-8"
353
+ }, {
354
+ default: _(() => [
355
+ (b(!0), F(q, null, X(p.value, (m) => (b(), U(S, {
356
+ key: m.value,
357
+ label: m.label,
358
+ value: m.value
359
+ }, null, 8, ["label", "value"]))), 128))
360
+ ]),
361
+ _: 1
362
+ }, 8, ["modelValue"]),
363
+ P("div", ke, [
364
+ u(de, {
365
+ title: "Link products",
366
+ "categorized-items": e(o).categorizedItems,
367
+ "initial-value": t.value.includeItems || [],
368
+ "show-variant": !1,
369
+ onSubmit: v[2] || (v[2] = ({ items: m }) => A(m))
370
+ }, {
371
+ default: _(({ trigger: m }) => [
372
+ k.value === 1 ? (b(), U(C, {
373
+ key: 0,
374
+ "text-color": e(H).ColorPrimary,
375
+ "border-color": e(H).ColorPrimary,
376
+ variant: e(Z).Secondary,
377
+ label: e(a)("menu.markup.dialog.products.link"),
378
+ "prepend-icon": "link",
379
+ onClick: m
380
+ }, null, 8, ["text-color", "border-color", "variant", "label", "onClick"])) : $("", !0)
381
+ ]),
382
+ _: 1
383
+ }, 8, ["categorized-items", "initial-value"]),
384
+ (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
+ ])
386
+ ])
387
+ ])
388
+ ];
389
+ }),
390
+ _: 1
391
+ }, 8, ["modelValue", "is-component", "is-component-props"])
392
+ ], 64);
393
+ };
394
+ }
395
+ });
396
+ export {
397
+ Le as _,
398
+ Be as a
399
+ };
@@ -2,18 +2,17 @@ var C5 = Object.defineProperty;
2
2
  var T5 = (o, u, r) => u in o ? C5(o, u, { enumerable: !0, configurable: !0, writable: !0, value: r }) : o[u] = r;
3
3
  var qo = (o, u, r) => T5(o, typeof u != "symbol" ? u + "" : u, r);
4
4
  import { defineComponent as ps, ref as Pi, resolveComponent as Mi, createElementBlock as Lr, openBlock as Ar, createBlock as mu, normalizeClass as us, createVNode as Cn, createElementVNode as Jr, unref as Xi, toDisplayString as Ti, watch as E5, withModifiers as P_, Fragment as va, renderList as fs, computed as sn, renderSlot as qd, normalizeProps as Pw, guardReactiveProps as Bw, withCtx as ga, resolveDynamicComponent as XT, createCommentVNode as lo, createTextVNode as Ju, getCurrentInstance as x5 } from "vue";
5
- import { a2 as Ws, a1 as En, af as Dw, ag as Vm, G as ng, u as ig, D as hi, B as Oo, A as I1 } from "./menu-DFNvhoNQ.js";
5
+ import { a2 as Ws, a1 as En, af as Dw, ag as Vm, G as ng, u as ig, D as hi, B as Oo, A as I1 } from "./menu-DS_ERmBf.js";
6
6
  import { useI18n as Nw } from "@feedmepos/mf-common";
7
7
  import { FmButtonVariant as of, useSnackbar as ag, useBreakpoints as k5, useDialog as I5 } from "@feedmepos/ui-library";
8
8
  import { c as A5 } from "./createForm-BoUQeZTd.js";
9
9
  import { c as B1 } from "./object-DVUNCr7w.js";
10
- import { F as Lw, s as O5 } from "./index-0yRUi7LL.js";
10
+ import { F as Lw, s as O5 } from "./index-DtwHmS38.js";
11
11
  import { _ as pw } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
12
- import { a as R5 } from "./LinkProductSideSheet-LDZjKX95.js";
13
- import { _ as sg } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
14
- import { f as QT } from "./currency-g45Sh-t6.js";
15
- import { _ as M5 } from "./Thumbnail.vue_vue_type_script_setup_true_lang-B7oLH9cP.js";
16
- import { D as P5 } from "./dayjs.min-g3eN5z-V.js";
12
+ import { _ as sg, a as R5 } from "./customAttributes-fpOfmGnw.js";
13
+ import { f as QT } from "./currency-OhOTnAqk.js";
14
+ import { _ as M5 } from "./Thumbnail.vue_vue_type_script_setup_true_lang-CZUwa5C_.js";
15
+ import { D as P5 } from "./dayjs.min-CDhP-7L5.js";
17
16
  var US = { exports: {} };
18
17
  /*! ExcelJS 19-10-2023 */
19
18
  var CC;
@@ -47305,7 +47304,7 @@ function TB(o) {
47305
47304
  r.match(/^\.[a-z]+$/) && (o.bookType = r.slice(1)), o.bookType = u[o.bookType] || o.bookType;
47306
47305
  }
47307
47306
  }
47308
- function FY(o, u, r) {
47307
+ function wY(o, u, r) {
47309
47308
  var c = r || {};
47310
47309
  return c.type = "file", c.file = u, TB(c), iE(o, c);
47311
47310
  }
@@ -48864,7 +48863,7 @@ function tD() {
48864
48863
  var aw = {}, U4;
48865
48864
  function EF() {
48866
48865
  return U4 || (U4 = 1, function(o) {
48867
- var u = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_119a13a6-1a60-46a8-9cf2-90abd1ac99e7", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies__feedmepos_remy_vue_client: "0.1.3-beta.8", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_119a13a6-1a60-46a8-9cf2-90abd1ac99e7", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4.feedmeapi.com", GTM_ID: "GTM-WR8XHXLH", FIREBASE_MESSAGING_SENDER_ID: "128512026847", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "production", npm_package_devDependencies_sass: "1.69.5", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.2.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.1.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.2.13676358", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-zzez732dna-as.a.run.app", SYSTEMD_EXEC_PID: "1737", npm_package_dependencies__feedmepos_ui_library: "1.7.4", npm_package_dependencies_dayjs: "^1.11.12", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_i18next: "^23.11.5", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "dotenv -e .env.dev pnpm build-only", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.25", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250929.60.1", npm_package_scripts_dev: "vite --mode dev --port 5176", npm_package_scripts_build_prod: "dotenv -e .env.prod pnpm build-only", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.3", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_dependencies_i18next_vue: "^4.0.0", npm_package_devDependencies_prettier: "^3.0.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13205", GITHUB_WORKFLOW: "Publish mf-menu prod", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.7/x64", REMY_URL: "https://remy.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "18457657180", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "ae7a4690649f952184bd72eee99765d8e4eb76ca", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "production", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu-prod.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", npm_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_607621d7-cc93-418c-aa8e-12c92a28fb38", INVOCATION_ID: "1f18f566c0c2457eaeecc06c9c60937f", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "92", GITHUB_TRIGGERING_ACTOR: "heiseshandian", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-2MP52PC24R", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000021676", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_package_exports___style_css: "./dist/style.css", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "2.14.36", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.31.40-prod", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "false", FIREBASE_PROJECT_ID: "feedme-253402", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "ae7a4690649f952184bd72eee99765d8e4eb76ca", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_119a13a6-1a60-46a8-9cf2-90abd1ac99e7", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "7780463", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_119a13a6-1a60-46a8-9cf2-90abd1ac99e7", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_inventory_core: "^0.2.6", npm_package_dependencies__feedmepos_zod_entity: "0.0.4-alpha.9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_devDependencies_eslint_plugin_vue: "^9.17.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", npm_package_dependencies__feedmepos_menu: "1.7.12", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_119a13a6-1a60-46a8-9cf2-90abd1ac99e7", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } }, r = typeof En < "u" ? En : window, c = Object.create(r);
48866
+ var u = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_2d254da0-7358-43ca-a395-f82d65ad6807", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies__feedmepos_remy_vue_client: "0.1.3-beta.8", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_2d254da0-7358-43ca-a395-f82d65ad6807", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4.feedmeapi.com", GTM_ID: "GTM-WR8XHXLH", FIREBASE_MESSAGING_SENDER_ID: "128512026847", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "production", npm_package_devDependencies_sass: "1.69.5", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.2.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.1.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.2.13676358", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-zzez732dna-as.a.run.app", SYSTEMD_EXEC_PID: "1737", npm_package_dependencies__feedmepos_ui_library: "1.7.4", npm_package_dependencies_dayjs: "^1.11.12", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_i18next: "^23.11.5", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "dotenv -e .env.dev pnpm build-only", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.25", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250929.60.1", npm_package_scripts_dev: "vite --mode dev --port 5176", npm_package_scripts_build_prod: "dotenv -e .env.prod pnpm build-only", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_dependencies_i18next_vue: "^4.0.0", npm_package_devDependencies_prettier: "^3.0.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13357", GITHUB_WORKFLOW: "Publish mf-menu prod", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.7/x64", REMY_URL: "https://remy.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "18483182662", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "944184ddc5ca359b273f0095e265efd5e74a9b54", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "production", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu-prod.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", npm_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_d76d3944-c3a9-4a02-89c1-ace06b6a3980", INVOCATION_ID: "ced687cbecc3440cb5bb0c6eae6acac9", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "93", GITHUB_TRIGGERING_ACTOR: "heiseshandian", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-2MP52PC24R", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000021782", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_package_exports___style_css: "./dist/style.css", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "2.14.36", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.31.41-prod", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "false", FIREBASE_PROJECT_ID: "feedme-253402", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "944184ddc5ca359b273f0095e265efd5e74a9b54", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_2d254da0-7358-43ca-a395-f82d65ad6807", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "7780463", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_2d254da0-7358-43ca-a395-f82d65ad6807", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_inventory_core: "^0.2.6", npm_package_dependencies__feedmepos_zod_entity: "0.0.4-alpha.9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_devDependencies_eslint_plugin_vue: "^9.17.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", npm_package_dependencies__feedmepos_menu: "1.7.14", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_2d254da0-7358-43ca-a395-f82d65ad6807", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } }, r = typeof En < "u" ? En : window, c = Object.create(r);
48868
48867
  c.scheduleImmediate = typeof setImmediate < "u" ? function(f) {
48869
48868
  setImmediate(f);
48870
48869
  } : function(f) {
@@ -94790,7 +94789,7 @@ const Tz = { class: "flex" }, Ez = {
94790
94789
  itemName: "Item Name",
94791
94790
  defaultCatalog: "Default Catalog"
94792
94791
  }, j_ = "ADDON", KH = 31;
94793
- class CY {
94792
+ class FY {
94794
94793
  constructor(u) {
94795
94794
  qo(this, "menu");
94796
94795
  qo(this, "categoryMap");
@@ -96085,7 +96084,7 @@ const rY = { class: "flex relative justify-between w-full" }, nY = { class: "rel
96085
96084
  "bg-fm-color-system-info-100 rounded-lg",
96086
96085
  "flex items-center"
96087
96086
  ])
96088
- }, sY = { class: "fm-typo-en-body-lg-400" }, oY = { key: 0 }, lY = { key: 1 }, uY = { class: "flex justify-end space-x-8 w-full" }, TY = /* @__PURE__ */ ps({
96087
+ }, sY = { class: "fm-typo-en-body-lg-400" }, oY = { key: 0 }, lY = { key: 1 }, uY = { class: "flex justify-end space-x-8 w-full" }, CY = /* @__PURE__ */ ps({
96089
96088
  __name: "ImportProductDialog",
96090
96089
  props: {
96091
96090
  modelValue: { type: Boolean }
@@ -96307,9 +96306,9 @@ const rY = { class: "flex relative justify-between w-full" }, nY = { class: "rel
96307
96306
  }
96308
96307
  });
96309
96308
  export {
96310
- CY as M,
96311
- TY as _,
96309
+ FY as M,
96310
+ CY as _,
96312
96311
  xF as r,
96313
96312
  rw as u,
96314
- FY as w
96313
+ wY as w
96315
96314
  };
@@ -2,14 +2,14 @@ import { defineComponent as ie, computed as b, ref as $, reactive as Ve, watch a
2
2
  import { useI18n as Q } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as W, components as se, useDialog as $e, FmButtonVariant as ue, useBreakpoints as Ue } from "@feedmepos/ui-library";
4
4
  import { _ as Ne } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { O as re, G as X, u as Z, H as Oe, D as K, I as Ie, e as le, J as q, A as H } from "./menu-DFNvhoNQ.js";
5
+ import { O as re, G as X, u as Z, H as Oe, D as K, I as Ie, e as le, J as q, A as H } from "./menu-DS_ERmBf.js";
6
6
  import { _ as Te } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
7
7
  import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
8
8
  import { defineStore as Be } from "pinia";
9
- import { _ as ae, g as Le } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-VLrrTkSC.js";
9
+ import { _ as ae, g as Le } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-DE1HkipX.js";
10
10
  import { u as De } from "./discardConfirm-BHni0LNu.js";
11
11
  import { c as Pe } from "./check-C9mY6LiX.js";
12
- import { u as Re } from "./unit-Ct_7Hfa2.js";
12
+ import { u as Re } from "./unit-BWDp2LkV.js";
13
13
  import { c as Ae } from "./createComponentProgrammatically-Bt2rn1IQ.js";
14
14
  const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
15
15
  key: 0,