@feedmepos/mf-menu 0.23.10-prod.2 → 0.23.10-prod.3

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 (60) hide show
  1. package/dist/{App-C8YvLeTF.js → App-CUdOF1lD.js} +3 -3
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CTFJvWM4.js → ApplyProduct.vue_vue_type_script_setup_true_lang-C0EsSY5o.js} +2 -2
  3. package/dist/{Catalog-ClzUdFxt.js → Catalog-DQ3qzamR.js} +20 -20
  4. package/dist/{Category-Cmfpovi8.js → Category-BEfmTsto.js} +5 -5
  5. package/dist/{CookingGuide-iOt0swkn.js → CookingGuide-BlGNp0gD.js} +4 -4
  6. package/dist/{Group-DAvakz4L.js → Group-B_TWCv5p.js} +3 -3
  7. package/dist/{Group-DYmn8IOl.js → Group-msc3rkCR.js} +1 -1
  8. package/dist/Group.vue_vue_type_script_setup_true_lang-BZongvdE.js +589 -0
  9. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BUxXXG6k.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DZ7YvsYT.js} +2 -2
  10. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BZrQQSZJ.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-B4HjTI4n.js} +29495 -26316
  11. package/dist/{Ingredient-C1f4ZN7_.js → Ingredient-D6c6GtL9.js} +15 -15
  12. package/dist/InventoryBinding.vue_vue_type_script_setup_true_lang-D07Mn484.js +21909 -0
  13. package/dist/{LinkProductSideSheet-DtdP_0BL.js → LinkProductSideSheet-FGQN0RjX.js} +2 -2
  14. package/dist/{MenuSetting-DI38_4FS.js → MenuSetting-CROJoPLL.js} +2 -2
  15. package/dist/{PrintRoute-GTCRYqGb.js → PrintRoute-BQkAmutA.js} +4 -4
  16. package/dist/{Product-Dkasmjmt.js → Product-BCOosmBf.js} +1 -1
  17. package/dist/{Product.vue_vue_type_script_setup_true_lang-mGnQ2LUs.js → Product.vue_vue_type_script_setup_true_lang-wBpGPDSk.js} +10 -10
  18. package/dist/Products-DeT0VXY4.js +327 -0
  19. package/dist/{Publish-H42TQv2L.js → Publish-DqiH_qtX.js} +30 -30
  20. package/dist/{Recipe-DUoZ7TTF.js → Recipe-DoH-Zx-x.js} +14 -14
  21. package/dist/{Scheduler-CdO9E38B.js → Scheduler-BXnsSB0J.js} +3 -3
  22. package/dist/{SchedulerSelector.vue_vue_type_script_setup_true_lang-CJPgvvv7.js → SchedulerSelector.vue_vue_type_script_setup_true_lang-Dodk0Sro.js} +1 -1
  23. package/dist/{ServingSequence-9PQmhk2e.js → ServingSequence-CTl_2Eav.js} +3 -3
  24. package/dist/{Setting-nYK5jgil.js → Setting-Da-WTI2Q.js} +4 -4
  25. package/dist/{Takeaway-QpAn57vg.js → Takeaway-C0gEPnF9.js} +1 -1
  26. package/dist/{Takeaway-CFVXJXbf.js → Takeaway-DkB3Fedy.js} +4 -4
  27. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BMJwiQr6.js → Takeaway.vue_vue_type_script_setup_true_lang-DA-1Dbck.js} +5 -5
  28. package/dist/{Unit-CYIhqZeX.js → Unit-DHYLncIX.js} +2 -2
  29. package/dist/{Variant-D4yWn2iM.js → Variant-CBO_rkOu.js} +3 -3
  30. package/dist/{_id_-DCKaeAgj.js → _id_-0m5rPhWo.js} +7 -7
  31. package/dist/{app-BUcYRyrl.js → app-B8Q4Y-Fy.js} +1 -1
  32. package/dist/{app-DQYJxThv.js → app-CzifZMeS.js} +515 -679
  33. package/dist/app.js +1 -1
  34. package/dist/apps/mf-menu/src/app.d.ts +2 -0
  35. package/dist/apps/mf-menu/src/components/import/PreviewAddonContent.vue.d.ts +71 -0
  36. package/dist/apps/mf-menu/src/components/import/PreviewContent2.vue.d.ts +7 -3
  37. package/dist/apps/mf-menu/src/helper/import-export.d.ts +176 -116
  38. package/dist/apps/mf-menu/src/manager/menu/item.d.ts +2 -0
  39. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  40. package/dist/assets/{linked-status-BVq3G91g.js → linked-status-DYP1aR1Y.js} +3 -3
  41. package/dist/assets/{override-menu-BSF4at2W.js → override-menu-kB69jb7a.js} +3 -3
  42. package/dist/assets/{validate-menu-CecOIaf7.js → validate-menu-BfPd18qC.js} +3 -3
  43. package/dist/{catalog-D7Ldv7BK.js → catalog-BceRoIR7.js} +1 -1
  44. package/dist/{catalogSetting-BYgjjocH.js → catalogSetting-C4uMnH59.js} +1 -1
  45. package/dist/{currency-CN3EG_m3.js → currency-DE-aZP97.js} +1 -1
  46. package/dist/{discardConfirm-BQpwWpH7.js → discardConfirm-BBQeyzO_.js} +1 -1
  47. package/dist/{index-BZ4Y7cEu.js → index-DIUiBgC4.js} +3 -3
  48. package/dist/{index-BhU6NNaY.js → index-DkT8pmkQ.js} +4 -4
  49. package/dist/{item-C2drLoa9.js → item-BDe4ci28.js} +2445 -2389
  50. package/dist/{menu-BeISDKAr.js → menu-Cm-vmC2P.js} +1 -1
  51. package/dist/{menu-Cij6u5dZ.js → menu-q1fS_eLt.js} +19 -19
  52. package/dist/{remy-BGM4_GGa.js → remy-jsi7Gg_X.js} +2 -2
  53. package/dist/{scheduler-1DH1E_Uz.js → scheduler-CiZNsD7o.js} +4 -4
  54. package/dist/style.css +1 -1
  55. package/dist/{toExcel-C1OFwAWV.js → toExcel-CxZ1LIqR.js} +2 -2
  56. package/dist/{unit-TjPR0QL1.js → unit-BxL1Pe1l.js} +5 -5
  57. package/package.json +7 -6
  58. package/dist/Group.vue_vue_type_script_setup_true_lang-eHQf10NK.js +0 -576
  59. package/dist/InventoryBinding.vue_vue_type_script_setup_true_lang-5-qX5lbB.js +0 -7393
  60. package/dist/Products-WjNex4as.js +0 -244
@@ -1,15 +1,15 @@
1
- import { defineComponent as ie, computed as b, ref as E, reactive as Ve, watch as Ce, resolveComponent as d, openBlock as m, createElementBlock as y, Fragment as V, renderSlot as Me, createVNode as s, unref as e, withCtx as k, createElementVNode as v, toDisplayString as U, createBlock as T, createCommentVNode as j, normalizeClass as J, createTextVNode as we, renderList as G, getCurrentInstance as $e, h as te, withModifiers as oe } from "vue";
1
+ import { defineComponent as ie, computed as b, ref as E, reactive as Ve, watch as Ce, resolveComponent as d, openBlock as m, createElementBlock as y, Fragment as V, renderSlot as Me, createVNode as s, unref as e, withCtx as k, createElementVNode as v, toDisplayString as U, createBlock as T, createCommentVNode as G, normalizeClass as J, createTextVNode as we, renderList as j, getCurrentInstance as $e, h as te, withModifiers as oe } from "vue";
2
2
  import { useI18n as Q } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as W, components as se, useDialog as Ee, FmButtonVariant as ue, useBreakpoints as Ue } from "@feedmepos/ui-library";
4
4
  import { _ as Ne } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-CdVvtXw-.js";
5
- import { K as re, B as X, u as Z, H as Be, A as z, D as le, G as q, J as H } from "./menu-Cij6u5dZ.js";
5
+ import { K as re, B as X, u as Z, H as Be, A as z, D as le, G as q, J as H } from "./menu-q1fS_eLt.js";
6
6
  import { _ as Oe } from "./PageLayout.vue_vue_type_script_setup_true_lang-BJCuL4EK.js";
7
7
  import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
8
8
  import { defineStore as Te } from "pinia";
9
- import { _ as ae, j as Ie } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-5-qX5lbB.js";
10
- import { u as Le, l as De } from "./discardConfirm-BQpwWpH7.js";
9
+ import { _ as ae, g as Ie } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-D07Mn484.js";
10
+ import { u as Le, l as De } from "./discardConfirm-BBQeyzO_.js";
11
11
  import { c as Pe } from "./check-C9mY6LiX.js";
12
- import { u as Re } from "./unit-TjPR0QL1.js";
12
+ import { u as Re } from "./unit-BxL1Pe1l.js";
13
13
  import { c as Ae } from "./search-7ZYHUW7s.js";
14
14
  const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
15
15
  key: 0,
@@ -17,7 +17,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
17
17
  }, ze = {
18
18
  key: 1,
19
19
  class: "pt-8 space-y-40"
20
- }, je = { class: "flex flex-row gap-16" }, Ge = { class: "overflow-x-hidden overflow-y-auto max-h-[300px]" }, qe = { class: "flex gap-8 items-center justify-start" }, He = /* @__PURE__ */ ie({
20
+ }, Ge = { class: "flex flex-row gap-16" }, je = { class: "overflow-x-hidden overflow-y-auto max-h-[300px]" }, qe = { class: "flex gap-8 items-center justify-start" }, He = /* @__PURE__ */ ie({
21
21
  __name: "Form",
22
22
  props: {
23
23
  initialValue: { default: void 0 },
@@ -160,7 +160,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
160
160
  ]),
161
161
  default: k(() => [
162
162
  c.value ? (m(), y("div", ze, [
163
- v("div", je, [
163
+ v("div", Ge, [
164
164
  s(g, {
165
165
  class: "flex-2",
166
166
  label: e(l)("menu.sku.columns.code"),
@@ -215,13 +215,13 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
215
215
  }, 1032, ["invalid"])
216
216
  ]),
217
217
  default: k(() => [
218
- v("div", Ge, [
219
- (m(!0), y(V, null, G(i.value, (w, P) => (m(), y(V, { key: P }, [
218
+ v("div", je, [
219
+ (m(!0), y(V, null, j(i.value, (w, P) => (m(), y(V, { key: P }, [
220
220
  s(Y, {
221
221
  label: w.label
222
222
  }, null, 8, ["label"]),
223
223
  s(K),
224
- (m(!0), y(V, null, G(w.options, ($, dn) => (m(), T(ge, {
224
+ (m(!0), y(V, null, j(w.options, ($, dn) => (m(), T(ge, {
225
225
  label: $.label,
226
226
  "model-value": D($),
227
227
  onClick: (mn) => _(w.value, $.value),
@@ -271,7 +271,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
271
271
  "filter-option-ids": pe.value,
272
272
  "onUpdate:modelValue": ee
273
273
  }, null, 8, ["model-value", "type", "filter-option-ids"])
274
- ], 64)) : j("", !0)
274
+ ], 64)) : G("", !0)
275
275
  ];
276
276
  }),
277
277
  _: 1
@@ -287,7 +287,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
287
287
  },
288
288
  subtitle: e(l)("menu.sku.empty.subtitle"),
289
289
  title: e(l)("menu.sku.empty.no_unit")
290
- }, null, 8, ["action", "subtitle", "title"])) : j("", !0)
290
+ }, null, 8, ["action", "subtitle", "title"])) : G("", !0)
291
291
  ]))
292
292
  ]),
293
293
  _: 1
@@ -309,7 +309,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
309
309
  x({
310
310
  initialValue: a,
311
311
  usedCodes: u.skus.filter(({ _id: i }) => i !== (a == null ? void 0 : a._id)).map((i) => i.code),
312
- invalidSkuAndRecipe: a ? Ie.getInvalidSkuAndRecipe({
312
+ invalidSkuAndRecipe: a ? Ie({
313
313
  id: a._id,
314
314
  skus: u.skus,
315
315
  recipes: u.state.menu.modules.recipe
@@ -451,7 +451,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
451
451
  "onUpdate:modelValue": c[2] || (c[2] = (_) => x.value = _),
452
452
  placeholder: e(u)("menu.ingredient.table.search.placeholder"),
453
453
  class: "w-full"
454
- }, null, 8, ["modelValue", "placeholder"])]), v("div", en, [(m(!0), y(V, null, G(h.value, (_) => (m(), y("div", {
454
+ }, null, 8, ["modelValue", "placeholder"])]), v("div", en, [(m(!0), y(V, null, j(h.value, (_) => (m(), y("div", {
455
455
  key: _._id,
456
456
  class: J(["py-12 px-16", "flex space-x-8", "items-center"]),
457
457
  onClick: () => e(r).updateSku(_)
@@ -484,7 +484,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
484
484
  label: e(u)("menu.ingredient.actions.add"),
485
485
  "prepend-icon": "add",
486
486
  onClick: e(r).createSku
487
- }, null, 8, ["label", "onClick"])) : j("", !0)])]),
487
+ }, null, 8, ["label", "onClick"])) : G("", !0)])]),
488
488
  _: 1
489
489
  }, 8, ["heading"]);
490
490
  };