@feedmepos/mf-menu 0.31.71-alpha.1 → 0.31.72

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 (104) hide show
  1. package/dist/{App-C1efkJzL.js → App-CvauiBxh.js} +1441 -2545
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-BHDnLuRy.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BK9XcgvQ.js} +3 -3
  3. package/dist/{Catalog-BJjTCl9l.js → Catalog-CBdU6H-7.js} +26 -26
  4. package/dist/{Category-C35HseX2.js → Category-BFO9_FCp.js} +35 -35
  5. package/dist/{Category-CxrTHk1Y.js → Category-DkKEXvEF.js} +22 -22
  6. package/dist/{CookingGuide-BwEQicZ8.js → CookingGuide-E34vwLgw.js} +113 -113
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DhiJEKXO.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DlnAxQwE.js} +1 -1
  8. package/dist/{Group-2MAzdN5P.js → Group-Bcc1Z7D-.js} +1 -1
  9. package/dist/{Group-C_AO4FGn.js → Group-CpSycfFA.js} +3 -3
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-DjEPQI2w.js → Group.vue_vue_type_script_setup_true_lang-CWIHfDqh.js} +7 -7
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Cttg3YhQ.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B8tJzkEO.js} +5 -5
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-8pgeYhp4.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BGWmkL9R.js} +21 -22
  13. package/dist/{Ingredient-CL_5yWPs.js → Ingredient-0Cg2IcHV.js} +23 -23
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-Di42poKp.js → InventoryBinding.vue_vue_type_script_setup_true_lang-Dztd7mAs.js} +2 -2
  15. package/dist/{LinkProductSideSheet-Buso155W.js → LinkProductSideSheet-CiRZO3uN.js} +3 -3
  16. package/dist/{MenuSetting-CnREg4Yu.js → MenuSetting-Bv4sWdlj.js} +31 -31
  17. package/dist/{PrintRoute-C9sWURzn.js → PrintRoute-DP-fjMrF.js} +26 -26
  18. package/dist/{Product-BLRDuiIG.js → Product-DgZcdRkv.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-BpKLqY3j.js → Product.vue_vue_type_script_setup_true_lang-CpthNypU.js} +71 -71
  20. package/dist/{ProductInternalTools-Cn2WRqm6.js → ProductInternalTools-CLmYNGLn.js} +16 -16
  21. package/dist/{Products-BQBfz9A8.js → Products-KrRu9cnx.js} +11 -11
  22. package/dist/{Publish-DMQ9O69V.js → Publish-C9Wi7dG1.js} +56 -57
  23. package/dist/{Recipe-CXEZt0zY.js → Recipe-BPdgYfvy.js} +13 -13
  24. package/dist/{Scheduler-hJTrqBhn.js → Scheduler-C9LCR2Oj.js} +16 -16
  25. package/dist/{ServingSequence-CctiqLbz.js → ServingSequence-D-OBo-oY.js} +20 -20
  26. package/dist/{Setting-BrKRjfTn.js → Setting-qITT89Lg.js} +20 -20
  27. package/dist/{Subcategory-K0jGgZtU.js → Subcategory-kl6ncKqB.js} +19 -19
  28. package/dist/{Takeaway-o5KBa5oX.js → Takeaway-BOxto2HZ.js} +1 -1
  29. package/dist/{Takeaway-DiJwhBwl.js → Takeaway-D9GOXVdh.js} +10 -10
  30. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BpgD3grk.js → Takeaway.vue_vue_type_script_setup_true_lang-CbhZLN-r.js} +20 -20
  31. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-BCejAD3E.js → Thumbnail.vue_vue_type_script_setup_true_lang-CH9jzjP0.js} +20 -20
  32. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CMZfeg2n.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-C0NgcFQK.js} +15 -16
  33. package/dist/{Unit-BAy6O7xD.js → Unit-Dr0n8Nl-.js} +13 -13
  34. package/dist/{Variant-BtXJASw_.js → Variant-BVvjuGqK.js} +15 -15
  35. package/dist/{_id_-HD8T1NGg.js → _id_-DqqSN5Lt.js} +14 -14
  36. package/dist/{app-C7AqPK-c.js → app-B3_2cau3.js} +1 -1
  37. package/dist/{app-Bp1A4ItJ.js → app-DJ-rQRBU.js} +26 -26
  38. package/dist/app.js +1 -1
  39. package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProduct.vue.d.ts +72 -0
  40. package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProductDialog.vue.d.ts +36 -0
  41. package/dist/apps/mf-menu/src/components/feature/ApplyProduct/index.d.ts +218 -0
  42. package/dist/apps/mf-menu/src/components/feature/Fields/OrderFrom.vue.d.ts +1 -1
  43. package/dist/apps/mf-menu/src/components/feature/GroupManager/OptionTable.vue.d.ts +52 -0
  44. package/dist/apps/mf-menu/src/components/feature/GroupManager/UpdateForm.vue.d.ts +36 -0
  45. package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierButton.vue.d.ts +110 -0
  46. package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierForm.vue.d.ts +110 -0
  47. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/item.d.ts +110 -0
  48. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/scheduler.d.ts +81 -0
  49. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/useItemFormManagement.d.ts +55 -0
  50. package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/OptionTable.vue.d.ts +52 -0
  51. package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/UpdateForm.vue.d.ts +36 -0
  52. package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/index.d.ts +144 -0
  53. package/dist/apps/mf-menu/src/components/feature/TreeEditor/item/ItemForm.vue.d.ts +165 -0
  54. package/dist/apps/mf-menu/src/components/feature/TreeEditor/menuUtils.d.ts +55 -0
  55. package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +375 -0
  56. package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/tree.d.ts +18 -18
  57. package/dist/apps/mf-menu/src/components/import/PreviewAddonContent.vue.d.ts +110 -0
  58. package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +81 -0
  59. package/dist/apps/mf-menu/src/helper/itemCategories.d.ts +55 -0
  60. package/dist/apps/mf-menu/src/helper/menu.d.ts +430 -0
  61. package/dist/apps/mf-menu/src/helper/menuImport.d.ts +375 -0
  62. package/dist/apps/mf-menu/src/manager/menu/item.d.ts +375 -0
  63. package/dist/apps/mf-menu/src/stores/manager/item.d.ts +165 -0
  64. package/dist/apps/mf-menu/src/stores/manager/scheduler.d.ts +81 -0
  65. package/dist/apps/mf-menu/src/stores/menu.d.ts +375 -0
  66. package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/Form.vue.d.ts +110 -0
  67. package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +220 -0
  68. package/dist/apps/mf-menu/src/views/Scheduler/FilterForm.vue.d.ts +52 -0
  69. package/dist/apps/mf-menu/src/views/Scheduler/SchedulerDialog.vue.d.ts +52 -0
  70. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  71. package/dist/assets/linked-status-qkReSi42.js +13 -0
  72. package/dist/assets/override-menu-Dyv1SsFk.js +13 -0
  73. package/dist/assets/validate-menu-DpF5os-S.js +13 -0
  74. package/dist/{catalog-XPyE5k4t.js → catalog-DeBJkQdk.js} +1 -1
  75. package/dist/{catalogSetting-C-A9fWEC.js → catalogSetting-CkZSHD-W.js} +1 -1
  76. package/dist/{category-DXZrXFYj.js → category-CJKIi291.js} +5 -5
  77. package/dist/{currency-D939gSij.js → currency-NcUCHGGN.js} +1 -1
  78. package/dist/{customAttributes-bw8OCoHr.js → customAttributes-Cf1e7I1m.js} +1 -1
  79. package/dist/{index-BU5aiCzu.js → index-B7ZCIQp2.js} +13 -13
  80. package/dist/{index-CPb1lDPU.js → index-BaeTP7Ku.js} +1 -1
  81. package/dist/{index-B4t_Uzk7.js → index-DQqxmq0e.js} +26 -26
  82. package/dist/{index-Cq9qqaCC.js → index-EBL2mPva.js} +1 -1
  83. package/dist/{item-D4uNJyVR.js → item-BsvsZcce.js} +16 -16
  84. package/dist/iteration-CxQwvFbX.js +27 -0
  85. package/dist/{jszip.min-15VIwqfl.js → jszip.min-DoZyvEEd.js} +353 -353
  86. package/dist/{menu-CPLvXPJu.js → menu-Dlsf52hs.js} +27998 -27430
  87. package/dist/{menu-BSAn1m0K.js → menu-zMO5M1Ur.js} +1 -1
  88. package/dist/{menuV2-DZpI5Elt.js → menuV2-Ss7NpjF_.js} +48 -48
  89. package/dist/mf-menu.css +1 -1
  90. package/dist/packages/shared/src/components/form/SelectFilter.vue.d.ts +1 -1
  91. package/dist/packages/shared/src/components/info/TextChip.vue.d.ts +1 -1
  92. package/dist/{priceTier-Bs5Ve98k.js → priceTier-Dhh2TKAL.js} +1 -1
  93. package/dist/{scheduler-BKwB9GfG.js → scheduler-CA9RiMAg.js} +20 -20
  94. package/dist/{subcategory-DJW1_br9.js → subcategory-tJjY3seO.js} +6 -6
  95. package/dist/{toExcel-C_lOM1fZ.js → toExcel-C6zcyUsq.js} +2 -2
  96. package/dist/{unit-ioVHtQya.js → unit-D4M4cm2W.js} +9 -9
  97. package/package.json +3 -3
  98. package/dist/apps/mf-menu/src/components/Announcements.vue.d.ts +0 -19
  99. package/dist/apps/mf-menu/src/stores/announcement/announcement.d.ts +0 -11
  100. package/dist/assets/linked-status-DmzniV97.js +0 -13
  101. package/dist/assets/override-menu-CdzhzFFi.js +0 -13
  102. package/dist/assets/validate-menu-BSL_Zd2w.js +0 -13
  103. package/dist/dayjs.min-C3Ch6D78.js +0 -6
  104. package/dist/iteration-BoeoXAHD.js +0 -23
@@ -1,19 +1,19 @@
1
- import { getCurrentInstance as T, defineComponent as U, computed as g, onMounted as $, h as z, resolveComponent as k, createBlock as F, openBlock as u, unref as t, withCtx as p, createElementBlock as f, Fragment as V, createElementVNode as r, createVNode as i, isRef as I, normalizeClass as L, renderList as R, toDisplayString as C, withModifiers as w, createCommentVNode as G } from "vue";
2
- import { useI18n as N } from "@feedmepos/mf-common";
3
- import { useDialog as Y, useSnackbar as D, FmButtonVariant as M, components as J, useBreakpoints as q } from "@feedmepos/ui-library";
1
+ import { getCurrentInstance as U, defineComponent as $, computed as g, onMounted as A, h as z, resolveComponent as k, createBlock as F, openBlock as u, unref as t, withCtx as p, createElementBlock as f, Fragment as V, createElementVNode as r, createVNode as i, isRef as I, normalizeClass as L, renderList as R, toDisplayString as C, withModifiers as w, createCommentVNode as Y } from "vue";
2
+ import { useI18n as D } from "@feedmepos/mf-common";
3
+ import { useDialog as G, useSnackbar as N, 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-Bp1A4ItJ.js";
6
- import { G as K, u as P, O as j, J as W, A as X } from "./menu-CPLvXPJu.js";
5
+ import { _ as Q } from "./app-DJ-rQRBU.js";
6
+ import { D as K, u as P, O as j, J as W, z as X } from "./menu-Dlsf52hs.js";
7
7
  import { _ as Z } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
8
- import { V as S } from "./index-B4t_Uzk7.js";
8
+ import { V as S } from "./index-DQqxmq0e.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 oe } from "pinia";
12
12
  import { c as ne } from "./createComponentProgrammatically-Bt2rn1IQ.js";
13
13
  const ae = oe("variant-manager", () => {
14
- const B = Y(), n = D(), _ = K(n), h = j(_);
14
+ const B = G(), n = N(), _ = K(n), h = j(_);
15
15
  P();
16
- const d = T(), { t: c } = N(), x = (l) => {
16
+ const d = U(), { t: c } = D(), x = (l) => {
17
17
  var y, a;
18
18
  const { vNode: b } = ne(
19
19
  S,
@@ -78,12 +78,12 @@ const ae = oe("variant-manager", () => {
78
78
  }, _e = {
79
79
  key: 1,
80
80
  class: "xs:pt-16"
81
- }, Be = /* @__PURE__ */ U({
81
+ }, Be = /* @__PURE__ */ $({
82
82
  __name: "Variant",
83
83
  setup(B) {
84
84
  const {
85
85
  t: n
86
- } = N(), _ = P(), h = j(K(D())), d = ae(), c = g(() => _.variants.map((a) => ({
86
+ } = D(), _ = P(), h = j(K(N())), d = ae(), c = g(() => _.variants.map((a) => ({
87
87
  ...a,
88
88
  usedBy: _.items.filter((e) => {
89
89
  var s;
@@ -100,7 +100,7 @@ const ae = oe("variant-manager", () => {
100
100
  var e;
101
101
  return x([a.name, ...((e = a.options) == null ? void 0 : e.map((s) => s.name)) ?? []]);
102
102
  }));
103
- $(() => _.selectCatalog(null));
103
+ A(() => _.selectCatalog(null));
104
104
  const l = g(() => [{
105
105
  accessorKey: "name",
106
106
  header: () => n("menu.variant.columns.name"),
@@ -142,7 +142,7 @@ const ae = oe("variant-manager", () => {
142
142
  })])
143
143
  }]), b = q(), y = g(() => b.breakpoints.value.xs);
144
144
  return (a, e) => {
145
- const s = k("fm-search"), A = k("fm-table"), E = k("fm-button");
145
+ const s = k("fm-search"), O = k("fm-table"), E = k("fm-button");
146
146
  return u(), F(ee, {
147
147
  heading: t(n)("menu.variant.title")
148
148
  }, {
@@ -158,7 +158,7 @@ const ae = oe("variant-manager", () => {
158
158
  onClick: w(o, ["stop"])
159
159
  }, null, 8, ["label", "onClick"])]),
160
160
  _: 1
161
- })) : G("", !0)]),
161
+ })) : Y("", !0)]),
162
162
  default: p(() => [c.value.length ? (u(), f(V, {
163
163
  key: 0
164
164
  }, [y.value ? (u(), f(V, {
@@ -177,7 +177,7 @@ const ae = oe("variant-manager", () => {
177
177
  }, [r("div", ue, [r("p", de, C(o.name), 1), r("div", null, [r("p", pe, C(t(n)("menu.common.labels.items_linked", {
178
178
  count: o.usedBy.length
179
179
  })), 1), r("p", fe, C(t(n)("menu.variant.mobile.value", {
180
- values: o.options.map((O) => O.name).join(", ")
180
+ values: o.options.map((T) => T.name).join(", ")
181
181
  })), 1)])]), i(E, {
182
182
  variant: t(M).Tertiary,
183
183
  "prepend-icon": "delete",
@@ -191,7 +191,7 @@ const ae = oe("variant-manager", () => {
191
191
  type: "variants"
192
192
  })
193
193
  }, null, 8, ["modelValue", "placeholder"])])]), i(Q, null, {
194
- default: p(() => [i(A, {
194
+ default: p(() => [i(O, {
195
195
  "column-defs": l.value,
196
196
  loading: t(h).checkMenuIsLoading(),
197
197
  "page-size": v.value.length,
@@ -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-C3Ch6D78.js";
2
+ import { D as j } from "./iteration-CxQwvFbX.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-8pgeYhp4.js";
5
- import { G as ee, u as te, D as ae, H as oe, O as ne } from "./menu-CPLvXPJu.js";
4
+ import { _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-BGWmkL9R.js";
5
+ import { D as ee, u as te, B as ae, H as oe, O as ne } from "./menu-Dlsf52hs.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-Buso155W.js";
10
- import { _ as ue } from "./index-Cq9qqaCC.js";
9
+ import { L as V } from "./LinkProductSideSheet-CiRZO3uN.js";
10
+ import { _ as ue } from "./index-EBL2mPva.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-BCejAD3E.js";
13
- import { a as me } from "./menu-BSAn1m0K.js";
14
- import { m as ce } from "./toExcel-C_lOM1fZ.js";
15
- import { _ as de, u as pe, c as _e } from "./scheduler-BKwB9GfG.js";
16
- import { R as r } from "./app-Bp1A4ItJ.js";
12
+ import { u as ie } from "./Thumbnail.vue_vue_type_script_setup_true_lang-CH9jzjP0.js";
13
+ import { a as me } from "./menu-zMO5M1Ur.js";
14
+ import { m as ce } from "./toExcel-C6zcyUsq.js";
15
+ import { _ as de, u as pe, c as _e } from "./scheduler-CA9RiMAg.js";
16
+ import { R as r } from "./app-DJ-rQRBU.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) {
@@ -86,7 +86,7 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
86
86
  } = ie(!1);
87
87
  return me().resetOnUnmount(), (o, t) => {
88
88
  var I;
89
- const Y = m("fm-bottom-sheet"), N = m("fm-button"), P = m("router-link"), q = m("fm-tabs"), B = m("router-view");
89
+ const Y = m("fm-bottom-sheet"), N = m("fm-button"), B = m("router-link"), P = m("fm-tabs"), q = m("router-view");
90
90
  return b(), K(W, null, [
91
91
  n(de, {
92
92
  ref_key: "schedulerDialogRef",
@@ -126,7 +126,7 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
126
126
  class: "flex flex-col max-h-[calc(100vh-56px)] overflow-hidden"
127
127
  }, {
128
128
  "prepend-heading": u(() => [
129
- n(P, {
129
+ n(B, {
130
130
  to: { name: e(r).CATALOG },
131
131
  class: "mr-8",
132
132
  title: e(l)("menu.catalog.edit.back")
@@ -183,7 +183,7 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
183
183
  ])
184
184
  ]),
185
185
  default: u(() => [
186
- n(q, {
186
+ n(P, {
187
187
  modelValue: c.value,
188
188
  "onUpdate:modelValue": t[3] || (t[3] = (s) => c.value = s),
189
189
  items: h.value,
@@ -191,7 +191,7 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
191
191
  }, null, 8, ["modelValue", "items"]),
192
192
  i("div", be, [
193
193
  n(ue, { "menu-store": e(a) }, null, 8, ["menu-store"]),
194
- n(B)
194
+ n(q)
195
195
  ])
196
196
  ]),
197
197
  _: 1
@@ -1,5 +1,5 @@
1
1
  import { defineStore as r } from "pinia";
2
- import { aj as a, ak as s, al as l } from "./menu-CPLvXPJu.js";
2
+ import { aj as a, ak as s, al as l } from "./menu-Dlsf52hs.js";
3
3
  const u = {
4
4
  async read() {
5
5
  return a(await s().get("/public-setting"));
@@ -1831,7 +1831,7 @@ const h = {
1831
1831
  {
1832
1832
  path: "/product",
1833
1833
  name: "$menu-products",
1834
- component: y(b(() => import("./Products-BQBfz9A8.js"))),
1834
+ component: y(b(() => import("./Products-KrRu9cnx.js"))),
1835
1835
  meta: {
1836
1836
  ...h,
1837
1837
  isNavItem: !0,
@@ -1842,7 +1842,7 @@ const h = {
1842
1842
  path: "/product-internal-tools",
1843
1843
  name: "$menu-product-internal-tools",
1844
1844
  component: y(
1845
- b(() => import("./ProductInternalTools-Cn2WRqm6.js"))
1845
+ b(() => import("./ProductInternalTools-CLmYNGLn.js"))
1846
1846
  ),
1847
1847
  meta: {
1848
1848
  i18nId: "menu.productInternalTools.title",
@@ -1855,7 +1855,7 @@ const h = {
1855
1855
  {
1856
1856
  path: "/category",
1857
1857
  name: "$menu-category",
1858
- component: y(b(() => import("./Category-C35HseX2.js"))),
1858
+ component: y(b(() => import("./Category-BFO9_FCp.js"))),
1859
1859
  meta: {
1860
1860
  ...h,
1861
1861
  isNavItem: !0,
@@ -1865,7 +1865,7 @@ const h = {
1865
1865
  {
1866
1866
  path: "/subcategory",
1867
1867
  name: "$menu-subcategory",
1868
- component: y(b(() => import("./Subcategory-K0jGgZtU.js"))),
1868
+ component: y(b(() => import("./Subcategory-kl6ncKqB.js"))),
1869
1869
  meta: {
1870
1870
  ...h,
1871
1871
  isNavItem: () => T.value,
@@ -1875,7 +1875,7 @@ const h = {
1875
1875
  {
1876
1876
  path: "/group",
1877
1877
  name: "$menu-group",
1878
- component: y(b(() => import("./Group-C_AO4FGn.js"))),
1878
+ component: y(b(() => import("./Group-CpSycfFA.js"))),
1879
1879
  meta: {
1880
1880
  ...h,
1881
1881
  isNavItem: !0,
@@ -1885,7 +1885,7 @@ const h = {
1885
1885
  {
1886
1886
  path: "/takeaway",
1887
1887
  name: "$menu-takeaway",
1888
- component: y(b(() => import("./Takeaway-DiJwhBwl.js"))),
1888
+ component: y(b(() => import("./Takeaway-D9GOXVdh.js"))),
1889
1889
  meta: {
1890
1890
  ...h,
1891
1891
  isNavItem: !0,
@@ -1895,7 +1895,7 @@ const h = {
1895
1895
  {
1896
1896
  path: "/scheduler",
1897
1897
  name: "$menu-scheduler",
1898
- component: y(b(() => import("./Scheduler-hJTrqBhn.js"))),
1898
+ component: y(b(() => import("./Scheduler-C9LCR2Oj.js"))),
1899
1899
  meta: {
1900
1900
  ...h,
1901
1901
  isNavItem: !0,
@@ -1905,7 +1905,7 @@ const h = {
1905
1905
  {
1906
1906
  path: "/variant",
1907
1907
  name: "$menu-variant",
1908
- component: y(b(() => import("./Variant-BtXJASw_.js"))),
1908
+ component: y(b(() => import("./Variant-BVvjuGqK.js"))),
1909
1909
  meta: {
1910
1910
  ...h,
1911
1911
  isNavItem: !0,
@@ -1915,7 +1915,7 @@ const h = {
1915
1915
  {
1916
1916
  path: "/recipe",
1917
1917
  name: "$menu-recipe",
1918
- component: y(b(() => import("./Recipe-CXEZt0zY.js"))),
1918
+ component: y(b(() => import("./Recipe-BPdgYfvy.js"))),
1919
1919
  meta: {
1920
1920
  ...h,
1921
1921
  isNavItem: () => !T.value,
@@ -1925,7 +1925,7 @@ const h = {
1925
1925
  {
1926
1926
  path: "/ingredient",
1927
1927
  name: "$menu-ingredient",
1928
- component: y(b(() => import("./Ingredient-CL_5yWPs.js"))),
1928
+ component: y(b(() => import("./Ingredient-0Cg2IcHV.js"))),
1929
1929
  meta: {
1930
1930
  ...h,
1931
1931
  isNavItem: () => !T.value,
@@ -1935,7 +1935,7 @@ const h = {
1935
1935
  {
1936
1936
  path: "/unit",
1937
1937
  name: "$menu-unit",
1938
- component: y(b(() => import("./Unit-BAy6O7xD.js"))),
1938
+ component: y(b(() => import("./Unit-Dr0n8Nl-.js"))),
1939
1939
  meta: {
1940
1940
  ...h,
1941
1941
  isNavItem: () => !T.value,
@@ -1945,7 +1945,7 @@ const h = {
1945
1945
  {
1946
1946
  path: "/cooking-guide",
1947
1947
  name: "$menu-cooking-guide",
1948
- component: y(b(() => import("./CookingGuide-BwEQicZ8.js"))),
1948
+ component: y(b(() => import("./CookingGuide-E34vwLgw.js"))),
1949
1949
  meta: {
1950
1950
  ...h,
1951
1951
  isNavItem: !0,
@@ -1955,7 +1955,7 @@ const h = {
1955
1955
  {
1956
1956
  path: "/print-route",
1957
1957
  name: "$menu-print-route",
1958
- component: y(b(() => import("./PrintRoute-C9sWURzn.js"))),
1958
+ component: y(b(() => import("./PrintRoute-DP-fjMrF.js"))),
1959
1959
  meta: {
1960
1960
  ...h,
1961
1961
  isNavItem: !0,
@@ -1966,7 +1966,7 @@ const h = {
1966
1966
  path: "/serving-sequence",
1967
1967
  name: "$menu-serving-sequence",
1968
1968
  component: y(
1969
- b(() => import("./ServingSequence-CctiqLbz.js"))
1969
+ b(() => import("./ServingSequence-D-OBo-oY.js"))
1970
1970
  ),
1971
1971
  meta: {
1972
1972
  ...h,
@@ -1977,7 +1977,7 @@ const h = {
1977
1977
  {
1978
1978
  path: "/publish",
1979
1979
  name: "$menu-publish",
1980
- component: y(b(() => import("./Publish-DMQ9O69V.js"))),
1980
+ component: y(b(() => import("./Publish-C9Wi7dG1.js"))),
1981
1981
  meta: {
1982
1982
  ...h,
1983
1983
  isNavItem: !0,
@@ -1991,7 +1991,7 @@ const h = {
1991
1991
  {
1992
1992
  path: "/setting",
1993
1993
  name: "$menu-menu-setting",
1994
- component: y(b(() => import("./MenuSetting-CnREg4Yu.js"))),
1994
+ component: y(b(() => import("./MenuSetting-Bv4sWdlj.js"))),
1995
1995
  meta: {
1996
1996
  ...h,
1997
1997
  isNavItem: !0,
@@ -2006,7 +2006,7 @@ const h = {
2006
2006
  {
2007
2007
  path: "/catalog",
2008
2008
  name: "$menu-catalog",
2009
- component: y(b(() => import("./Catalog-BJjTCl9l.js"))),
2009
+ component: y(b(() => import("./Catalog-CBdU6H-7.js"))),
2010
2010
  meta: {
2011
2011
  ...h,
2012
2012
  isNavItem: !0,
@@ -2015,7 +2015,7 @@ const h = {
2015
2015
  },
2016
2016
  {
2017
2017
  path: "/catalog/edit/:id",
2018
- component: y(b(() => import("./_id_-HD8T1NGg.js"))),
2018
+ component: y(b(() => import("./_id_-DqqSN5Lt.js"))),
2019
2019
  name: "$menu-catalog-edit",
2020
2020
  meta: {
2021
2021
  ...h
@@ -2030,31 +2030,31 @@ const h = {
2030
2030
  },
2031
2031
  {
2032
2032
  path: "/catalog/edit/:id/product",
2033
- component: y(b(() => import("./Product-BLRDuiIG.js"))),
2033
+ component: y(b(() => import("./Product-DgZcdRkv.js"))),
2034
2034
  name: "$menu-catalog-edit-product",
2035
2035
  meta: { ...h }
2036
2036
  },
2037
2037
  {
2038
2038
  path: "/catalog/edit/:id/category",
2039
- component: y(b(() => import("./Category-CxrTHk1Y.js"))),
2039
+ component: y(b(() => import("./Category-DkKEXvEF.js"))),
2040
2040
  name: "$menu-catalog-edit-category",
2041
2041
  meta: { ...h }
2042
2042
  },
2043
2043
  {
2044
2044
  path: "/catalog/edit/:id/group",
2045
- component: y(b(() => import("./Group-2MAzdN5P.js"))),
2045
+ component: y(b(() => import("./Group-Bcc1Z7D-.js"))),
2046
2046
  name: "$menu-catalog-edit-group",
2047
2047
  meta: { ...h }
2048
2048
  },
2049
2049
  {
2050
2050
  path: "/catalog/edit/:id/takeaway",
2051
- component: y(b(() => import("./Takeaway-o5KBa5oX.js"))),
2051
+ component: y(b(() => import("./Takeaway-BOxto2HZ.js"))),
2052
2052
  name: "$menu-catalog-edit-takeaway",
2053
2053
  meta: { ...h }
2054
2054
  },
2055
2055
  {
2056
2056
  path: "/catalog/edit/:id/setting",
2057
- component: y(b(() => import("./Setting-BrKRjfTn.js"))),
2057
+ component: y(b(() => import("./Setting-qITT89Lg.js"))),
2058
2058
  name: "$menu-catalog-edit-setting",
2059
2059
  meta: { ...h }
2060
2060
  }
@@ -2068,12 +2068,12 @@ ae.push({
2068
2068
  name: ((Ie = ae[0].children) == null ? void 0 : Ie[0].name) || ae[0].name
2069
2069
  }
2070
2070
  });
2071
- y(b(() => import("./Catalog-BJjTCl9l.js"))), {
2071
+ y(b(() => import("./Catalog-CBdU6H-7.js"))), {
2072
2072
  ...h
2073
- }, y(b(() => import("./_id_-HD8T1NGg.js"))), { ...h }, y(b(() => import("./Product-BLRDuiIG.js"))), { ...h }, y(b(() => import("./Category-CxrTHk1Y.js"))), { ...h }, y(b(() => import("./Group-2MAzdN5P.js"))), { ...h }, y(b(() => import("./Takeaway-o5KBa5oX.js"))), { ...h }, y(b(() => import("./Setting-BrKRjfTn.js"))), { ...h };
2073
+ }, y(b(() => import("./_id_-DqqSN5Lt.js"))), { ...h }, y(b(() => import("./Product-DgZcdRkv.js"))), { ...h }, y(b(() => import("./Category-DkKEXvEF.js"))), { ...h }, y(b(() => import("./Group-Bcc1Z7D-.js"))), { ...h }, y(b(() => import("./Takeaway-BOxto2HZ.js"))), { ...h }, y(b(() => import("./Setting-qITT89Lg.js"))), { ...h };
2074
2074
  const pi = "treeEditorOpen", hi = () => {
2075
2075
  window.postMessage({ type: pi }, "*");
2076
- }, fi = b(() => import("./App-C1efkJzL.js"));
2076
+ }, fi = b(() => import("./App-CvauiBxh.js"));
2077
2077
  function vi(e, t) {
2078
2078
  e.use(Xa);
2079
2079
  }
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { F as e, i as r, b as o, o as t, r as i, u as p } from "./app-Bp1A4ItJ.js";
1
+ import { F as e, i as r, b as o, o as t, r as i, u as p } from "./app-DJ-rQRBU.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -168,6 +168,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
168
168
  _id: string;
169
169
  }>, "many">>>;
170
170
  subCategories: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
171
+ takeawayConfig: z.ZodNullable<z.ZodOptional<z.ZodObject<{
172
+ pos: z.ZodBoolean;
173
+ app: z.ZodBoolean;
174
+ }, "strip", z.ZodTypeAny, {
175
+ pos: boolean;
176
+ app: boolean;
177
+ }, {
178
+ pos: boolean;
179
+ app: boolean;
180
+ }>>>;
171
181
  }, "strip", z.ZodTypeAny, {
172
182
  groups?: import("@feedmepos/menu/entity").FdoGroupOverriderV4[] | null | undefined;
173
183
  code?: string | null | undefined;
@@ -225,6 +235,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
225
235
  position?: number | null | undefined;
226
236
  _id: string;
227
237
  }[] | null | undefined;
238
+ takeawayConfig?: {
239
+ pos: boolean;
240
+ app: boolean;
241
+ } | null | undefined;
228
242
  _id: string;
229
243
  }, {
230
244
  groups?: import("@feedmepos/menu/entity").FdoGroupOverriderV4[] | null | undefined;
@@ -283,6 +297,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
283
297
  position?: number | null | undefined;
284
298
  _id: string;
285
299
  }[] | null | undefined;
300
+ takeawayConfig?: {
301
+ pos: boolean;
302
+ app: boolean;
303
+ } | null | undefined;
286
304
  _id: string;
287
305
  }>>[]) => void;
288
306
  "row-click": (row: z.infer<z.ZodObject<{
@@ -441,6 +459,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
441
459
  _id: string;
442
460
  }>, "many">>>;
443
461
  subCategories: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
462
+ takeawayConfig: z.ZodNullable<z.ZodOptional<z.ZodObject<{
463
+ pos: z.ZodBoolean;
464
+ app: z.ZodBoolean;
465
+ }, "strip", z.ZodTypeAny, {
466
+ pos: boolean;
467
+ app: boolean;
468
+ }, {
469
+ pos: boolean;
470
+ app: boolean;
471
+ }>>>;
444
472
  }, "strip", z.ZodTypeAny, {
445
473
  groups?: import("@feedmepos/menu/entity").FdoGroupOverriderV4[] | null | undefined;
446
474
  code?: string | null | undefined;
@@ -498,6 +526,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
498
526
  position?: number | null | undefined;
499
527
  _id: string;
500
528
  }[] | null | undefined;
529
+ takeawayConfig?: {
530
+ pos: boolean;
531
+ app: boolean;
532
+ } | null | undefined;
501
533
  _id: string;
502
534
  }, {
503
535
  groups?: import("@feedmepos/menu/entity").FdoGroupOverriderV4[] | null | undefined;
@@ -556,6 +588,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
556
588
  position?: number | null | undefined;
557
589
  _id: string;
558
590
  }[] | null | undefined;
591
+ takeawayConfig?: {
592
+ pos: boolean;
593
+ app: boolean;
594
+ } | null | undefined;
559
595
  _id: string;
560
596
  }>>) => void;
561
597
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
@@ -715,6 +751,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
715
751
  _id: string;
716
752
  }>, "many">>>;
717
753
  subCategories: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
754
+ takeawayConfig: z.ZodNullable<z.ZodOptional<z.ZodObject<{
755
+ pos: z.ZodBoolean;
756
+ app: z.ZodBoolean;
757
+ }, "strip", z.ZodTypeAny, {
758
+ pos: boolean;
759
+ app: boolean;
760
+ }, {
761
+ pos: boolean;
762
+ app: boolean;
763
+ }>>>;
718
764
  }, "strip", z.ZodTypeAny, {
719
765
  groups?: import("@feedmepos/menu/entity").FdoGroupOverriderV4[] | null | undefined;
720
766
  code?: string | null | undefined;
@@ -772,6 +818,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
772
818
  position?: number | null | undefined;
773
819
  _id: string;
774
820
  }[] | null | undefined;
821
+ takeawayConfig?: {
822
+ pos: boolean;
823
+ app: boolean;
824
+ } | null | undefined;
775
825
  _id: string;
776
826
  }, {
777
827
  groups?: import("@feedmepos/menu/entity").FdoGroupOverriderV4[] | null | undefined;
@@ -830,6 +880,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
830
880
  position?: number | null | undefined;
831
881
  _id: string;
832
882
  }[] | null | undefined;
883
+ takeawayConfig?: {
884
+ pos: boolean;
885
+ app: boolean;
886
+ } | null | undefined;
833
887
  _id: string;
834
888
  }>>) => any) | undefined;
835
889
  "onUpdate:overrides"?: ((value: z.infer<z.ZodObject<{
@@ -988,6 +1042,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
988
1042
  _id: string;
989
1043
  }>, "many">>>;
990
1044
  subCategories: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1045
+ takeawayConfig: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1046
+ pos: z.ZodBoolean;
1047
+ app: z.ZodBoolean;
1048
+ }, "strip", z.ZodTypeAny, {
1049
+ pos: boolean;
1050
+ app: boolean;
1051
+ }, {
1052
+ pos: boolean;
1053
+ app: boolean;
1054
+ }>>>;
991
1055
  }, "strip", z.ZodTypeAny, {
992
1056
  groups?: import("@feedmepos/menu/entity").FdoGroupOverriderV4[] | null | undefined;
993
1057
  code?: string | null | undefined;
@@ -1045,6 +1109,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1045
1109
  position?: number | null | undefined;
1046
1110
  _id: string;
1047
1111
  }[] | null | undefined;
1112
+ takeawayConfig?: {
1113
+ pos: boolean;
1114
+ app: boolean;
1115
+ } | null | undefined;
1048
1116
  _id: string;
1049
1117
  }, {
1050
1118
  groups?: import("@feedmepos/menu/entity").FdoGroupOverriderV4[] | null | undefined;
@@ -1103,6 +1171,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1103
1171
  position?: number | null | undefined;
1104
1172
  _id: string;
1105
1173
  }[] | null | undefined;
1174
+ takeawayConfig?: {
1175
+ pos: boolean;
1176
+ app: boolean;
1177
+ } | null | undefined;
1106
1178
  _id: string;
1107
1179
  }>>[]) => any) | undefined;
1108
1180
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -162,6 +162,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
162
162
  _id: string;
163
163
  }>, "many">>>;
164
164
  subCategories: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
165
+ takeawayConfig: z.ZodNullable<z.ZodOptional<z.ZodObject<{
166
+ pos: z.ZodBoolean;
167
+ app: z.ZodBoolean;
168
+ }, "strip", z.ZodTypeAny, {
169
+ pos: boolean;
170
+ app: boolean;
171
+ }, {
172
+ pos: boolean;
173
+ app: boolean;
174
+ }>>>;
165
175
  }, "strip", z.ZodTypeAny, {
166
176
  groups?: import("@feedmepos/menu/entity").FdoGroupOverriderV4[] | null | undefined;
167
177
  code?: string | null | undefined;
@@ -219,6 +229,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
219
229
  position?: number | null | undefined;
220
230
  _id: string;
221
231
  }[] | null | undefined;
232
+ takeawayConfig?: {
233
+ pos: boolean;
234
+ app: boolean;
235
+ } | null | undefined;
222
236
  _id: string;
223
237
  }, {
224
238
  groups?: import("@feedmepos/menu/entity").FdoGroupOverriderV4[] | null | undefined;
@@ -277,6 +291,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
277
291
  position?: number | null | undefined;
278
292
  _id: string;
279
293
  }[] | null | undefined;
294
+ takeawayConfig?: {
295
+ pos: boolean;
296
+ app: boolean;
297
+ } | null | undefined;
280
298
  _id: string;
281
299
  }>>[]) => void;
282
300
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
@@ -436,6 +454,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
436
454
  _id: string;
437
455
  }>, "many">>>;
438
456
  subCategories: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
457
+ takeawayConfig: z.ZodNullable<z.ZodOptional<z.ZodObject<{
458
+ pos: z.ZodBoolean;
459
+ app: z.ZodBoolean;
460
+ }, "strip", z.ZodTypeAny, {
461
+ pos: boolean;
462
+ app: boolean;
463
+ }, {
464
+ pos: boolean;
465
+ app: boolean;
466
+ }>>>;
439
467
  }, "strip", z.ZodTypeAny, {
440
468
  groups?: import("@feedmepos/menu/entity").FdoGroupOverriderV4[] | null | undefined;
441
469
  code?: string | null | undefined;
@@ -493,6 +521,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
493
521
  position?: number | null | undefined;
494
522
  _id: string;
495
523
  }[] | null | undefined;
524
+ takeawayConfig?: {
525
+ pos: boolean;
526
+ app: boolean;
527
+ } | null | undefined;
496
528
  _id: string;
497
529
  }, {
498
530
  groups?: import("@feedmepos/menu/entity").FdoGroupOverriderV4[] | null | undefined;
@@ -551,6 +583,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
551
583
  position?: number | null | undefined;
552
584
  _id: string;
553
585
  }[] | null | undefined;
586
+ takeawayConfig?: {
587
+ pos: boolean;
588
+ app: boolean;
589
+ } | null | undefined;
554
590
  _id: string;
555
591
  }>>[]) => any) | undefined;
556
592
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {