@feedmepos/mf-menu 0.31.62-prod → 0.31.63-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 (63) hide show
  1. package/dist/{App-DlA3uekC.js → App-DdZ2oEAs.js} +8 -8
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CvYg6wUo.js → ApplyProduct.vue_vue_type_script_setup_true_lang-hgIaklws.js} +3 -3
  3. package/dist/{Catalog-pCWDkPMw.js → Catalog-BdStItBi.js} +6 -6
  4. package/dist/{Category-K5N2CBGJ.js → Category-BI8MuP1U.js} +6 -6
  5. package/dist/{Category-3439_r5Q.js → Category-DQHX1rHu.js} +4 -4
  6. package/dist/{CookingGuide-Cyyi7IeC.js → CookingGuide-7m8xMKhW.js} +4 -4
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Cnn9HS6e.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BFMtUSm2.js} +1 -1
  8. package/dist/{Group-DGuz80sx.js → Group-08qDreRT.js} +1 -1
  9. package/dist/{Group-BwZl7QvU.js → Group-Cri6NWP7.js} +3 -3
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-Dioi7hbp.js → Group.vue_vue_type_script_setup_true_lang-C0ufQsgj.js} +7 -7
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DrlPRHta.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CQeQ2QEJ.js} +5 -5
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-CYk54quA.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-C8dHUOS5.js} +7 -7
  13. package/dist/{Ingredient-C8R8JWkp.js → Ingredient-FiS5_yzS.js} +3 -3
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-B_ri8nAR.js → InventoryBinding.vue_vue_type_script_setup_true_lang-BrwDkOc1.js} +1052 -1052
  15. package/dist/{LinkProductSideSheet-Bm8qMaT7.js → LinkProductSideSheet-DRZFUlZi.js} +3 -3
  16. package/dist/{MenuSetting-Cpbxj3Ni.js → MenuSetting-DrttWc91.js} +5 -5
  17. package/dist/{PrintRoute-BgmijxYc.js → PrintRoute-BT8xHemW.js} +4 -4
  18. package/dist/{Product-DiqN1fdt.js → Product-VPpsqPv7.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-DMWjdZTa.js → Product.vue_vue_type_script_setup_true_lang-CRA6uX3q.js} +13 -13
  20. package/dist/{ProductInternalTools-BZP_1J5b.js → ProductInternalTools-B2tmSi0_.js} +5 -5
  21. package/dist/{Products-Bu08ZHA6.js → Products-BMv8eyPx.js} +11 -11
  22. package/dist/{Publish-B8-JfEe6.js → Publish-Djel7vAP.js} +3 -3
  23. package/dist/{Recipe-BN_GjdSr.js → Recipe-UtJti2KL.js} +4 -4
  24. package/dist/{Scheduler-O6ZnPNiY.js → Scheduler-CNERzIh9.js} +3 -3
  25. package/dist/{ServingSequence-14vqMsck.js → ServingSequence-D7wc3N9l.js} +3 -3
  26. package/dist/{Setting-B3eolrlX.js → Setting-CZQTLkGw.js} +5 -5
  27. package/dist/{Subcategory-oKlgvt_O.js → Subcategory-DKW5SGrQ.js} +4 -4
  28. package/dist/{Takeaway-CUp7gM3P.js → Takeaway-Dgbg8uEK.js} +1 -1
  29. package/dist/{Takeaway-DffxlQXM.js → Takeaway-grGzGY1S.js} +4 -4
  30. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DzdooZE-.js → Takeaway.vue_vue_type_script_setup_true_lang-DHNTa2g5.js} +5 -5
  31. package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-BrnUWSRw.js +399 -0
  32. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CWz63sPG.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-C-kpVC9N.js} +14 -14
  33. package/dist/{Unit-BS_4ijAX.js → Unit-CCB5fm7a.js} +2 -2
  34. package/dist/{Variant-B7K-0bVo.js → Variant-DRyxVBg8.js} +3 -3
  35. package/dist/{_id_-Ci5sMO0e.js → _id_-mDX318oW.js} +10 -10
  36. package/dist/{app-COwpNSVW.js → app-Dh3thmMV.js} +26 -26
  37. package/dist/{app-DgM8AcTU.js → app-mVaKnQIP.js} +1 -1
  38. package/dist/app.js +1 -1
  39. package/dist/assets/{linked-status-PUg9o5oJ.js → linked-status-eZ_uOuIa.js} +2 -2
  40. package/dist/assets/{override-menu-DRvWZtmh.js → override-menu-rrnNKu8y.js} +2 -2
  41. package/dist/assets/{validate-menu-Csd9sYUc.js → validate-menu-BYm74Q9a.js} +2 -2
  42. package/dist/{catalog-bC-_KizS.js → catalog-t62hszII.js} +54 -54
  43. package/dist/{catalogSetting-yoKSQufN.js → catalogSetting-DbDHweNg.js} +1 -1
  44. package/dist/{category-BvOpmGjK.js → category-IkpXMGtG.js} +1 -1
  45. package/dist/{currency-HB9XCGKo.js → currency-CJxtxQ0A.js} +1 -1
  46. package/dist/{customAttributes-Cr8yjY6Y.js → customAttributes-cKBPhg8g.js} +1 -1
  47. package/dist/{dayjs.min-DirUy8Ue.js → dayjs.min--s0X1YKh.js} +1 -1
  48. package/dist/{index-DFxThJuR.js → index-CUArLbcE.js} +4 -4
  49. package/dist/{index-io3Jgy-r.js → index-DDqP1En5.js} +3 -3
  50. package/dist/{index-wXbWvFwK.js → index-DKdZmv6x.js} +1 -1
  51. package/dist/{index-BBof9t9B.js → index-DN5EHvBB.js} +1 -1
  52. package/dist/{item--StDZzCb.js → item-BBdeals1.js} +16 -16
  53. package/dist/{jszip.min-otrURh_M.js → jszip.min-CG2qSmh-.js} +245 -245
  54. package/dist/{menu-DssZNS7R.js → menu-CY9ZHgu5.js} +1 -1
  55. package/dist/{menu-1yBiTG7L.js → menu-WB63i3Ai.js} +4 -4
  56. package/dist/{menuV2-BSwBRb60.js → menuV2-szCpC02L.js} +31 -31
  57. package/dist/{priceTier-DlnE8t1n.js → priceTier-BbCsDoWH.js} +1 -1
  58. package/dist/{scheduler-DGgJqtoA.js → scheduler-CBKgNj8G.js} +4 -4
  59. package/dist/{subcategory-DTdhZ0HZ.js → subcategory-BY-BRWF_.js} +2 -2
  60. package/dist/{toExcel-CQdSIOf9.js → toExcel-AF7i8kK6.js} +2 -2
  61. package/dist/{unit-0vP2uHmy.js → unit-B6Fo2ltJ.js} +2 -2
  62. package/package.json +1 -1
  63. package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-CrgRP9X1.js +0 -411
@@ -0,0 +1,399 @@
1
+ import { computed as d, defineComponent as x, ref as F, resolveComponent as b, createElementBlock as L, openBlock as w, normalizeClass as O, createVNode as K, normalizeStyle as $, withCtx as B, createBlock as U, createCommentVNode as j } from "vue";
2
+ import { A as h, J as E, G as R, O as C, ag as Y, u as y, c as G } from "./menu-WB63i3Ai.js";
3
+ import { u as S } from "./menuV2-szCpC02L.js";
4
+ import { C as v, h as N } from "./catalog-t62hszII.js";
5
+ import { useSnackbar as P, useDialog as z } from "@feedmepos/ui-library";
6
+ import { a as T } from "./LinkProductSideSheet-DRZFUlZi.js";
7
+ import { useI18n as J } from "@feedmepos/mf-common";
8
+ function q() {
9
+ const t = S(), o = d(() => t.categorizedRawMenuItems.filter((u) => u.items.length > 0)), i = d(() => {
10
+ const u = t.currentCatalog;
11
+ return u ? v.getItemAvailable(u).map((n) => ({ _id: n })) : [];
12
+ });
13
+ async function c(u) {
14
+ const n = t.currentCatalog;
15
+ if (!n) return;
16
+ const a = new Set(u), r = t.state.menu.modules.item.map((l) => l._id).reduce(
17
+ (l, m) => {
18
+ const f = n.override.items[m];
19
+ return l[m] = N(
20
+ m,
21
+ f,
22
+ a.has(m),
23
+ t.version === h.F_MENU_VERSION.enum.v3
24
+ ), l;
25
+ },
26
+ {}
27
+ ), s = {
28
+ ...n,
29
+ override: {
30
+ ...n.override,
31
+ items: r
32
+ },
33
+ /**
34
+ * linkItemRules and items under override are two ways to manage linked items under catalog,
35
+ * if we changed items under override, we should clear linkItemRules to avoid conflict.
36
+ */
37
+ linkItemRules: null
38
+ };
39
+ await t.updateMenu({
40
+ module: h.F_MENU_MODULE_V4_KEY.enum.catalog,
41
+ operation: E.F_OPERATION_TYPE.update,
42
+ data: s
43
+ });
44
+ }
45
+ async function g(u) {
46
+ await A(u, !0);
47
+ }
48
+ async function p(u) {
49
+ await A(u, !1);
50
+ }
51
+ async function _(u) {
52
+ const n = t.currentCatalog;
53
+ if (!n) return;
54
+ const a = {
55
+ ...n,
56
+ linkItemRules: u
57
+ };
58
+ await t.updateMenu({
59
+ module: h.F_MENU_MODULE_V4_KEY.enum.catalog,
60
+ operation: E.F_OPERATION_TYPE.update,
61
+ data: a
62
+ });
63
+ }
64
+ return {
65
+ linkableItems: o,
66
+ currentItems: i,
67
+ applyProduct: c,
68
+ addProduct: g,
69
+ removeProduct: p,
70
+ saveLinkItemRules: _
71
+ };
72
+ }
73
+ async function A(t, o) {
74
+ var u;
75
+ const i = S(), c = i.currentCatalog;
76
+ if (!c || t.length === 0) return;
77
+ const g = i.version === h.F_MENU_VERSION.enum.v3, p = t.reduce(
78
+ (n, a) => {
79
+ const e = c.override.items[a];
80
+ return n[a] = N(a, e, o, g), n;
81
+ },
82
+ {}
83
+ ), _ = {
84
+ ...c,
85
+ override: {
86
+ ...c.override,
87
+ items: {
88
+ ...((u = c.override) == null ? void 0 : u.items) || {},
89
+ ...p
90
+ }
91
+ }
92
+ };
93
+ await i.updateMenu({
94
+ module: h.F_MENU_MODULE_V4_KEY.enum.catalog,
95
+ operation: E.F_OPERATION_TYPE.update,
96
+ data: _
97
+ });
98
+ }
99
+ function H() {
100
+ const t = S(), o = P(), i = z(), c = R(o), g = C(c), p = d(() => {
101
+ const n = t.categorizedRawMenuItems, a = new Set(
102
+ t.currentCatalog ? v.getItemAvailable(t.currentCatalog) : t.state.menu.modules.item.map((e) => e._id)
103
+ );
104
+ return n.map((e) => ({
105
+ ...e,
106
+ items: e.items.filter((r) => a.has(r._id))
107
+ })).filter((e) => e.items.length > 0);
108
+ }), _ = d(() => {
109
+ var r;
110
+ const n = t.currentScheduler;
111
+ if (!n) return [];
112
+ const a = t.currentCatalog, e = a ? ((r = a.override.scheduler[n._id]) == null ? void 0 : r.items) ?? [] : n.items;
113
+ return [
114
+ ...new Set(e.filter((s) => s.orderFrom != h.F_ORDER_FROM.enum.NONE).map((s) => s._id))
115
+ ].map((s) => ({ _id: s }));
116
+ });
117
+ async function u(n) {
118
+ const a = t.currentScheduler;
119
+ if (!a) return;
120
+ const e = t.currentCatalog;
121
+ if (e && t.rules.scheduler.override) {
122
+ const r = new v(
123
+ e,
124
+ t,
125
+ g.updateMenu,
126
+ i
127
+ );
128
+ r.overrideCatalogSchedulerItems(n, a._id), await t.updateMenu({
129
+ module: h.F_MENU_MODULE_V4_KEY.enum.catalog,
130
+ operation: E.F_OPERATION_TYPE.update,
131
+ data: r.getCatalog()
132
+ });
133
+ } else {
134
+ const r = n.reduce(
135
+ (l, m) => {
136
+ const f = a.items.filter((I) => I._id == m) ?? [];
137
+ return l = l.concat(
138
+ Y(m, f, (I) => ({
139
+ ...I,
140
+ orderFrom: null
141
+ }))
142
+ ), l;
143
+ },
144
+ []
145
+ ), s = {
146
+ ...a,
147
+ items: r
148
+ };
149
+ await t.updateMenu({
150
+ module: h.F_MENU_MODULE_V4_KEY.enum.scheduler,
151
+ operation: E.F_OPERATION_TYPE.update,
152
+ data: s
153
+ });
154
+ }
155
+ }
156
+ return {
157
+ linkableItems: p,
158
+ currentItems: _,
159
+ applyProduct: u
160
+ };
161
+ }
162
+ const Q = () => {
163
+ const t = y(), o = P(), i = R(o), c = C(i), g = d(() => t.categorizedRawMenuItems.filter((n) => n.items.length > 0)), p = d(() => {
164
+ const n = t.currentCatalog;
165
+ return n ? v.getItemAvailable(n).map((a) => ({ _id: a })) : [];
166
+ });
167
+ async function _(n) {
168
+ const a = t.currentCatalog;
169
+ if (!a) return;
170
+ const e = new Set(n), s = t.state.menu.modules.item.map((m) => m._id).reduce(
171
+ (m, f) => {
172
+ const I = a.override.items[f];
173
+ return m[f] = N(
174
+ f,
175
+ I,
176
+ e.has(f),
177
+ t.version === G.F_MENU_VERSION.v3
178
+ ), m;
179
+ },
180
+ {}
181
+ ), l = {
182
+ ...a,
183
+ override: { ...a.override, items: s },
184
+ /**
185
+ * linkItemRules and items under override are two ways to manage linked items under catalog,
186
+ * if we changed items under override, we should clear linkItemRules to avoid conflict.
187
+ */
188
+ linkItemRules: null
189
+ };
190
+ await c.updateMenu(
191
+ {
192
+ module: h.F_MENU_MODULE_V4_KEY.enum.catalog,
193
+ operation: E.F_OPERATION_TYPE.update,
194
+ data: l
195
+ },
196
+ l.name
197
+ );
198
+ }
199
+ async function u(n) {
200
+ const a = t.currentCatalog;
201
+ if (!a) return;
202
+ const e = {
203
+ ...a,
204
+ linkItemRules: n
205
+ };
206
+ await c.updateMenu(
207
+ {
208
+ module: h.F_MENU_MODULE_V4_KEY.enum.catalog,
209
+ operation: E.F_OPERATION_TYPE.update,
210
+ data: e
211
+ },
212
+ e.name
213
+ );
214
+ }
215
+ return {
216
+ linkableItems: g,
217
+ currentItems: p,
218
+ applyProduct: _,
219
+ saveLinkItemRules: u
220
+ };
221
+ }, W = () => {
222
+ const t = y(), o = P(), i = z(), c = R(o), g = C(c), p = d(() => {
223
+ const n = t.categorizedRawMenuItems, a = new Set(
224
+ t.currentCatalog ? v.getItemAvailable(t.currentCatalog) : t.state.menu.modules.item.map((e) => e._id)
225
+ );
226
+ return n.map((e) => ({
227
+ ...e,
228
+ items: e.items.filter((r) => a.has(r._id))
229
+ })).filter((e) => e.items.length > 0);
230
+ }), _ = d(() => {
231
+ var r;
232
+ const n = t.currentScheduler;
233
+ if (!n) return [];
234
+ const a = t.currentCatalog, e = a ? ((r = a.override.scheduler[n._id]) == null ? void 0 : r.items) ?? [] : n.items;
235
+ return [
236
+ ...new Set(e.filter((s) => s.orderFrom != h.F_ORDER_FROM.enum.NONE).map((s) => s._id))
237
+ ].map((s) => ({ _id: s }));
238
+ });
239
+ async function u(n) {
240
+ const a = t.currentScheduler;
241
+ if (!a) return;
242
+ const e = t.currentCatalog;
243
+ if (e && t.rules.scheduler.override) {
244
+ const r = new v(e, t, g.updateMenu, i);
245
+ r.overrideCatalogSchedulerItems(n, a._id), await r.update();
246
+ } else {
247
+ const r = n.reduce(
248
+ (l, m) => {
249
+ const f = a.items.filter((I) => I._id == m) ?? [];
250
+ return l = l.concat(
251
+ Y(m, f, (I) => ({
252
+ ...I,
253
+ orderFrom: null
254
+ }))
255
+ ), l;
256
+ },
257
+ []
258
+ ), s = {
259
+ ...a,
260
+ items: r
261
+ };
262
+ await g.updateMenu(
263
+ {
264
+ module: h.F_MENU_MODULE_V4_KEY.enum.scheduler,
265
+ operation: E.F_OPERATION_TYPE.update,
266
+ data: s
267
+ },
268
+ s.name
269
+ );
270
+ }
271
+ }
272
+ return {
273
+ linkableItems: p,
274
+ currentItems: _,
275
+ applyProduct: u
276
+ };
277
+ };
278
+ function se(t) {
279
+ const o = {
280
+ // Under FdoMenuV4Category _id is string, but here we need null for Addon, so we bypass the type checking
281
+ // @ts-ignore
282
+ _id: null,
283
+ name: "Addon",
284
+ position: 0
285
+ };
286
+ if (!t) {
287
+ const e = y(), r = d(() => e.state.menu.modules.item ?? []), s = d(() => {
288
+ var M;
289
+ return ((M = e.currentCatalog) == null ? void 0 : M.linkItemRules) ?? null;
290
+ }), l = W(), m = Q(), f = d(() => !e.state.currentSchedulerId), I = (M) => {
291
+ if (M.mode === T.Rules)
292
+ m.saveLinkItemRules(M.linkItemRules);
293
+ else {
294
+ const k = M.items.map((V) => V._id);
295
+ f.value ? m.applyProduct(k) : l.applyProduct(k);
296
+ }
297
+ }, D = d(() => [o, ...e.state.menu.modules.category ?? []]);
298
+ return {
299
+ menuItems: r,
300
+ categories: D,
301
+ linkItemRules: s,
302
+ catalogManager: m,
303
+ schedulerManager: l,
304
+ noScheduler: f,
305
+ handleSubmit: I
306
+ };
307
+ }
308
+ const i = S(), c = d(() => i.state.menu.modules.item ?? []), g = d(() => {
309
+ var e;
310
+ return ((e = i.currentCatalog) == null ? void 0 : e.linkItemRules) ?? null;
311
+ }), p = H(), _ = q(), u = d(() => !i.state.currentSchedulerId), n = (e) => {
312
+ if (e.mode === T.Rules)
313
+ _.saveLinkItemRules(e.linkItemRules);
314
+ else {
315
+ const r = e.items.map((s) => s._id);
316
+ u.value ? _.applyProduct(r) : p.applyProduct(r);
317
+ }
318
+ }, a = d(() => [o, ...i.state.menu.modules.category ?? []]);
319
+ return {
320
+ menuItems: c,
321
+ categories: a,
322
+ linkItemRules: g,
323
+ catalogManager: _,
324
+ schedulerManager: p,
325
+ noScheduler: u,
326
+ handleSubmit: n
327
+ };
328
+ }
329
+ const X = ["alt", "src", "crossorigin"], ue = /* @__PURE__ */ x({
330
+ __name: "Thumbnail",
331
+ props: {
332
+ src: {},
333
+ alt: {},
334
+ className: {},
335
+ size: {},
336
+ crossorigin: { type: Boolean, default: !0 }
337
+ },
338
+ setup(t) {
339
+ const o = t, { t: i } = J(), c = F(!1), g = F(!o.src), p = () => {
340
+ c.value = !1, g.value = !0;
341
+ }, _ = () => {
342
+ c.value = !0, g.value = !0;
343
+ }, u = d(() => o.alt ? i("menu.thumbnail.alt.with_name", { name: o.alt }) : i("menu.thumbnail.alt.default")), n = d(() => typeof o.size == "number" ? {
344
+ width: o.size,
345
+ height: o.size
346
+ } : {
347
+ width: o.size.width,
348
+ height: o.size.height
349
+ }), a = d(() => {
350
+ if (!o.src) return null;
351
+ if (o.crossorigin) {
352
+ const e = o.src.includes("?") ? "&" : "?";
353
+ return `${o.src}${e}_cors=${Date.now()}`;
354
+ }
355
+ return o.src;
356
+ });
357
+ return (e, r) => {
358
+ const s = b("fm-icon"), l = b("fm-card");
359
+ return w(), L("div", {
360
+ class: O([e.className, "flex items-center justify-center"])
361
+ }, [
362
+ K(l, {
363
+ class: O(["flex items-center justify-center", "rounded-md"]),
364
+ style: $({ width: `${n.value.width}px`, height: `${n.value.height}px` }),
365
+ variant: "outlined"
366
+ }, {
367
+ default: B(() => [
368
+ a.value && !c.value ? (w(), L("img", {
369
+ key: 0,
370
+ alt: u.value,
371
+ class: O(["w-full h-full", "object-cover", g.value ? "" : "hidden"]),
372
+ src: a.value,
373
+ crossorigin: o.crossorigin ? "anonymous" : void 0,
374
+ onError: _,
375
+ onLoad: p
376
+ }, null, 42, X)) : (w(), U(s, {
377
+ key: 1,
378
+ color: "neutral-gray-300",
379
+ name: "image",
380
+ outline: ""
381
+ })),
382
+ g.value ? j("", !0) : (w(), U(s, {
383
+ key: 2,
384
+ class: "animate-spin",
385
+ name: "progress_activity",
386
+ spin: ""
387
+ }))
388
+ ]),
389
+ _: 1
390
+ }, 8, ["style"])
391
+ ], 2);
392
+ };
393
+ }
394
+ });
395
+ export {
396
+ ue as _,
397
+ q as a,
398
+ se as u
399
+ };
@@ -1,30 +1,30 @@
1
1
  import { computed as D, shallowRef as Wt, ref as q, watch as ye, nextTick as nt, getCurrentInstance as xn, onMounted as Ae, defineComponent as ae, resolveComponent as W, createElementBlock as J, openBlock as $, createBlock as H, normalizeClass as fe, createElementVNode as A, createVNode as C, unref as o, withCtx as B, toDisplayString as ge, mergeModels as qt, useModel as Ht, createCommentVNode as X, resolveDirective as Xt, withDirectives as ft, createTextVNode as Sn, renderSlot as Me, h as ve, Fragment as Oe, renderList as Ne, vShow as Jt, withModifiers as He, createSlots as Fn, onBeforeUnmount as Ot, watchEffect as On, onUnmounted as Dn, normalizeStyle as ct, mergeProps as Vn, normalizeProps as $n, guardReactiveProps as Pn, Teleport as Un, Transition as Rn, withKeys as Mn } from "vue";
2
- import { g as An, o as Nn, f as Ln, a as Gn, n as Qt, _ as Zt, I as Kn, S as Bn, b as Dt, C as zn, R as We, c as en, d as Et, e as tn, h as Yn, m as jn, F as Wn, M as nn, j as qn, r as Hn, k as on, l as Nt, p as rn, q as Xn, P as Jn, s as Qn, t as an, u as Zn, T as Be } from "./item--StDZzCb.js";
3
- import { _ as eo, T as to } from "./app-COwpNSVW.js";
4
- import { B as be, J as _e, A as te, G as ot, K as no, M as oo, N as ro, O as Vt, P as ao, D as Le, Q as lo, H as me, R as io, T as $t, I as ke, U as vt, V as so, W as uo, X as bt, Y as Lt, Z as co, u as ln, $ as mo } from "./menu-1yBiTG7L.js";
2
+ import { g as An, o as Nn, f as Ln, a as Gn, n as Qt, _ as Zt, I as Kn, S as Bn, b as Dt, C as zn, R as We, c as en, d as Et, e as tn, h as Yn, m as jn, F as Wn, M as nn, j as qn, r as Hn, k as on, l as Nt, p as rn, q as Xn, P as Jn, s as Qn, t as an, u as Zn, T as Be } from "./item-BBdeals1.js";
3
+ import { _ as eo, T as to } from "./app-Dh3thmMV.js";
4
+ import { B as be, J as _e, A as te, G as ot, K as no, M as oo, N as ro, O as Vt, P as ao, D as Le, Q as lo, H as me, R as io, T as $t, I as ke, U as vt, V as so, W as uo, X as bt, Y as Lt, Z as co, u as ln, $ as mo } from "./menu-WB63i3Ai.js";
5
5
  import { useI18n as ce, useCoreStore as rt, CustomAttributesForm as sn } from "@feedmepos/mf-common";
6
6
  import { useDialog as Ge, useDialogChild as Pt, useSnackbar as Re, FmButtonColorThemeVariant as Fe, components as Ie, FmButtonVariant as qe, useBreakpoints as po } from "@feedmepos/ui-library";
7
7
  import { u as Ut } from "./discardConfirm-BHni0LNu.js";
8
8
  import { defineStore as fo } from "pinia";
9
- import { _ as De, a as Ue, b as go } from "./customAttributes-Cr8yjY6Y.js";
10
- import { u as se, g as un, m as vo } from "./menuV2-BSwBRb60.js";
11
- import { s as Tt, _ as bo } from "./index-wXbWvFwK.js";
12
- import { _ as Gt } from "./category-BvOpmGjK.js";
13
- import { _ as _o, a as yo, u as ho } from "./Thumbnail.vue_vue_type_script_setup_true_lang-CrgRP9X1.js";
14
- import { _ as Ze, L as xt } from "./LinkProductSideSheet-Bm8qMaT7.js";
9
+ import { _ as De, a as Ue, b as go } from "./customAttributes-cKBPhg8g.js";
10
+ import { u as se, g as un, m as vo } from "./menuV2-szCpC02L.js";
11
+ import { s as Tt, _ as bo } from "./index-DKdZmv6x.js";
12
+ import { _ as Gt } from "./category-IkpXMGtG.js";
13
+ import { _ as _o, a as yo, u as ho } from "./Thumbnail.vue_vue_type_script_setup_true_lang-BrnUWSRw.js";
14
+ import { _ as Ze, L as xt } from "./LinkProductSideSheet-DRZFUlZi.js";
15
15
  import { _ as dn } from "./tooltip-CQW9YRO5.js";
16
- import { _ as Xe, T as wo, l as Co } from "./index-DFxThJuR.js";
16
+ import { _ as Xe, T as wo, l as Co } from "./index-CUArLbcE.js";
17
17
  import { u as Io } from "./search-BAPEUu1R.js";
18
18
  import { c as Rt } from "./check-C9mY6LiX.js";
19
- import { f as tt } from "./currency-HB9XCGKo.js";
19
+ import { f as tt } from "./currency-CJxtxQ0A.js";
20
20
  import { c as ko } from "./string-DpfFixWH.js";
21
21
  import { useInventoryStore as Eo, InventoryBindingSummary as To } from "@feedmepos/mf-inventory-portal";
22
- import { u as xo } from "./priceTier-DlnE8t1n.js";
22
+ import { u as xo } from "./priceTier-BbCsDoWH.js";
23
23
  import { d as Mt } from "./vuedraggable-CK8z7qA8.js";
24
- import { _ as So } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-CvYg6wUo.js";
24
+ import { _ as So } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-hgIaklws.js";
25
25
  import "./app-CiBqmBzO.js";
26
26
  /* empty css */
27
- import { i as Fo, t as At, w as Oo, a as cn, b as mn, n as Do, c as Vo, r as $o, _ as Po } from "./index-BBof9t9B.js";
27
+ import { i as Fo, t as At, w as Oo, a as cn, b as mn, n as Do, c as Vo, r as $o, _ as Po } from "./index-DN5EHvBB.js";
28
28
  import { c as mt } from "./object-DVUNCr7w.js";
29
29
  import { _ as Uo } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
30
30
  import { _ as Kt } from "./MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js";
@@ -2,10 +2,10 @@ import { defineComponent as L, computed as d, ref as g, h as k, withModifiers as
2
2
  import { useI18n as E } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as K, components as R, useBreakpoints as D, FmButtonVariant as G } from "@feedmepos/ui-library";
4
4
  import { _ as I } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { G as q, u as A } from "./menu-1yBiTG7L.js";
5
+ import { G as q, u as A } from "./menu-WB63i3Ai.js";
6
6
  import { _ as H } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
7
7
  import { _ as J } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
8
- import { u as O, U as P } from "./unit-0vP2uHmy.js";
8
+ import { u as O, U as P } from "./unit-B6Fo2ltJ.js";
9
9
  const Q = {
10
10
  key: 0,
11
11
  class: "h-[600px]"
@@ -2,10 +2,10 @@ import { getCurrentInstance as T, defineComponent as U, computed as g, onMounted
2
2
  import { useI18n as N } from "@feedmepos/mf-common";
3
3
  import { useDialog as Y, useSnackbar as D, FmButtonVariant as M, components as J, useBreakpoints as q } from "@feedmepos/ui-library";
4
4
  import { _ as H } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { _ as Q } from "./app-COwpNSVW.js";
6
- import { G as K, u as P, O as j, J as W, A as X } from "./menu-1yBiTG7L.js";
5
+ import { _ as Q } from "./app-Dh3thmMV.js";
6
+ import { G as K, u as P, O as j, J as W, A as X } from "./menu-WB63i3Ai.js";
7
7
  import { _ as Z } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
8
- import { V as S } from "./index-io3Jgy-r.js";
8
+ import { V as S } from "./index-DDqP1En5.js";
9
9
  import { _ as ee } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
10
10
  import { u as te } from "./search-BAPEUu1R.js";
11
11
  import { defineStore as ae } from "pinia";
@@ -1,19 +1,19 @@
1
1
  import { defineComponent as H, computed as d, ref as p, watch as A, onMounted as F, resolveComponent as m, createElementBlock as K, openBlock as b, Fragment as W, createVNode as n, withCtx as u, createElementVNode as i, toDisplayString as M, unref as e, createBlock as D } from "vue";
2
- import { D as j } from "./dayjs.min-DirUy8Ue.js";
2
+ import { D as j } from "./dayjs.min--s0X1YKh.js";
3
3
  import { useRoute as J, useRouter as Q } from "vue-router";
4
- import { _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-CYk54quA.js";
5
- import { G as ee, u as te, D as ae, H as oe, O as ne } from "./menu-1yBiTG7L.js";
4
+ import { _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-C8dHUOS5.js";
5
+ import { G as ee, u as te, D as ae, H as oe, O as ne } from "./menu-WB63i3Ai.js";
6
6
  import { useI18n as le } from "@feedmepos/mf-common";
7
7
  import { useSnackbar as se } from "@feedmepos/ui-library";
8
8
  import { _ as R } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
9
- import { L as V } from "./LinkProductSideSheet-Bm8qMaT7.js";
10
- import { _ as ue } from "./index-wXbWvFwK.js";
9
+ import { L as V } from "./LinkProductSideSheet-DRZFUlZi.js";
10
+ import { _ as ue } from "./index-DKdZmv6x.js";
11
11
  import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
12
- import { u as ie } from "./Thumbnail.vue_vue_type_script_setup_true_lang-CrgRP9X1.js";
13
- import { a as me } from "./menu-DssZNS7R.js";
14
- import { m as ce } from "./toExcel-CQdSIOf9.js";
15
- import { _ as de, u as pe, c as _e } from "./scheduler-DGgJqtoA.js";
16
- import { R as r } from "./app-COwpNSVW.js";
12
+ import { u as ie } from "./Thumbnail.vue_vue_type_script_setup_true_lang-BrnUWSRw.js";
13
+ import { a as me } from "./menu-CY9ZHgu5.js";
14
+ import { m as ce } from "./toExcel-AF7i8kK6.js";
15
+ import { _ as de, u as pe, c as _e } from "./scheduler-CBKgNj8G.js";
16
+ import { R as r } from "./app-Dh3thmMV.js";
17
17
  const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class: "flex ml-auto space-x-8" }, be = { class: "flex-1 flex flex-col overflow-hidden" }, Ge = /* @__PURE__ */ H({
18
18
  __name: "[id]",
19
19
  setup(ke) {