@feedmepos/mf-menu 0.31.40-beta.2 → 0.31.40-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 (91) hide show
  1. package/dist/{App-CoKv0BFp.js → App-aWEH-ZEk.js} +9 -9
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-B14Q0hS_.js → ApplyProduct.vue_vue_type_script_setup_true_lang-jJyinQZl.js} +3 -3
  3. package/dist/{Catalog-BRovMtuI.js → Catalog-BoFfFdn8.js} +9 -8
  4. package/dist/{Category-DytZqgIt.js → Category-CWYbb3Jn.js} +4 -4
  5. package/dist/{Category-CT8-B4zh.js → Category-DZ45uikR.js} +6 -6
  6. package/dist/{CookingGuide-Ct5qRLG0.js → CookingGuide-BU0PRWIQ.js} +4 -4
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-D3R3TCba.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Z5xsKDIE.js} +1 -1
  8. package/dist/FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js +50 -0
  9. package/dist/{Group-Dk1yQTTt.js → Group-BMQDeqiS.js} +1 -1
  10. package/dist/{Group-G_H8i5_8.js → Group-C0T_uknK.js} +3 -3
  11. package/dist/{Group.vue_vue_type_script_setup_true_lang-CoTdB2d5.js → Group.vue_vue_type_script_setup_true_lang-DyfmY6F1.js} +8 -8
  12. package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D6qro5w_.js +367 -0
  13. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BKx7uQtR.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Dl-Wvt3D.js} +14 -13
  14. package/dist/{Ingredient-ChynYQq6.js → Ingredient-3lwDUQx_.js} +3 -3
  15. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DyaUxnMx.js → InventoryBinding.vue_vue_type_script_setup_true_lang-VLrrTkSC.js} +2 -2
  16. package/dist/LinkProductSideSheet-LDZjKX95.js +297 -0
  17. package/dist/{app-CiBqmBzO.js → LinkProductSideSheet.vue_vue_type_style_index_0_scoped_97fa9d58_lang-DvG3mOom.js} +2084 -2120
  18. package/dist/MenuSetting-AhutsCVy.js +185 -0
  19. package/dist/{PrintRoute-DwAZHUrQ.js → PrintRoute-DfJ-vUAb.js} +4 -4
  20. package/dist/{Product-Bx2NPQvC.js → Product-F4PoLm9v.js} +1 -1
  21. package/dist/{Product.vue_vue_type_script_setup_true_lang-od_O6x7E.js → Product.vue_vue_type_script_setup_true_lang-DT5gffpA.js} +465 -468
  22. package/dist/{ProductInternalTools-BOguHh06.js → ProductInternalTools-DSGU-OqU.js} +6 -6
  23. package/dist/{Products-DA2hOsxr.js → Products-COzW2Z4g.js} +85 -88
  24. package/dist/{Publish-WATQWkjh.js → Publish-CDXVWCk2.js} +3 -3
  25. package/dist/{Recipe-WPwGgur3.js → Recipe-BZx4wrcP.js} +4 -4
  26. package/dist/{Scheduler-Djjggrh2.js → Scheduler-wHCWSeU2.js} +3 -3
  27. package/dist/{ServingSequence-CryZJTWA.js → ServingSequence-BbYEhDYh.js} +3 -3
  28. package/dist/{Setting-BtLsmoqY.js → Setting-C9Tlw1Iy.js} +45 -44
  29. package/dist/{Subcategory-BvlYDquD.js → Subcategory-C8AwfrKb.js} +4 -4
  30. package/dist/{Takeaway-8khxlcKQ.js → Takeaway-DaEUn-yM.js} +4 -4
  31. package/dist/{Takeaway-BBvFxAlx.js → Takeaway-t1053wg2.js} +1 -1
  32. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-B8blN-yJ.js → Takeaway.vue_vue_type_script_setup_true_lang-7XycP5fU.js} +5 -5
  33. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CA9RlNkt.js → Thumbnail.vue_vue_type_script_setup_true_lang-B7oLH9cP.js} +95 -97
  34. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Ci6iqOry.js +5998 -0
  35. package/dist/{Unit-Diu00sM2.js → Unit-CnqptGCz.js} +2 -2
  36. package/dist/{Variant-CO15W0wb.js → Variant-DiOYOwJs.js} +3 -3
  37. package/dist/{_id_-CxA_FzSG.js → _id_-BSfU16VO.js} +75 -78
  38. package/dist/{app-Blbof2Ga.js → app-Cou6qPF2.js} +1 -1
  39. package/dist/{app-5ESai6-B.js → app-Ddb81PNo.js} +278 -278
  40. package/dist/app.js +1 -1
  41. package/dist/apps/mf-menu/src/api/menu.d.ts +1 -2
  42. package/dist/apps/mf-menu/src/app.d.ts +0 -144
  43. package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierRuleEditor.vue.d.ts +0 -36
  44. package/dist/apps/mf-menu/src/components/feature/RestaurantAttributesSelector.vue.d.ts +3 -9
  45. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/useItemFormManagement.d.ts +9 -2
  46. package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +4 -294
  47. package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +0 -40
  48. package/dist/apps/mf-menu/src/helper/import-export.d.ts +0 -285
  49. package/dist/apps/mf-menu/src/helper/menu.d.ts +0 -285
  50. package/dist/apps/mf-menu/src/manager/menu/item.d.ts +0 -285
  51. package/dist/apps/mf-menu/src/stores/menu.d.ts +3 -293
  52. package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +0 -166
  53. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  54. package/dist/assets/linked-status-B_crHhZH.js +24 -0
  55. package/dist/assets/override-menu-BmlCEpHH.js +24 -0
  56. package/dist/assets/validate-menu-CF-psoB-.js +24 -0
  57. package/dist/{catalog-CXjEQ80k.js → catalog-DSuJhsUb.js} +1 -1
  58. package/dist/{catalogSetting-aJSUDY_z.js → catalogSetting-C3gEw9ov.js} +1 -1
  59. package/dist/{category-TqQULuHq.js → category-CwWq3KCE.js} +1 -1
  60. package/dist/{currency-CRjh8ne7.js → currency-g45Sh-t6.js} +1 -1
  61. package/dist/{dayjs.min-MBmYgyRY.js → dayjs.min-g3eN5z-V.js} +1 -1
  62. package/dist/index-0Q5T9VZV.js +214 -0
  63. package/dist/{index-dkHuztwB.js → index-0yRUi7LL.js} +1 -1
  64. package/dist/{index-CzjFGFvP.js → index-BLQCYEc6.js} +8 -7
  65. package/dist/{index-B1NS2hBa.js → index-QsLFbxyG.js} +4 -4
  66. package/dist/{item-Dj14On9a.js → item-BvvQ9urP.js} +386 -386
  67. package/dist/{jszip.min-Be1afVon.js → jszip.min-DzdUiaR4.js} +353 -353
  68. package/dist/{menu-C0Xu-iTb.js → menu-DFNvhoNQ.js} +31149 -31298
  69. package/dist/{menu-kRDoPBjm.js → menu-QrVg2Ph7.js} +7 -7
  70. package/dist/{menuV2-D6Gmxd9X.js → menuV2-Ezf_jW40.js} +137 -142
  71. package/dist/mf-menu.css +1 -1
  72. package/dist/{priceTier-CJlFGOpm.js → priceTier-zENsn3P_.js} +1 -1
  73. package/dist/{scheduler-B11d6fJr.js → scheduler-BuwGSv6A.js} +8 -8
  74. package/dist/{subcategory-D6hTbHP-.js → subcategory-O3L_zCJA.js} +2 -2
  75. package/dist/{toExcel-BedErXvS.js → toExcel-CpRy_4nG.js} +2 -2
  76. package/dist/{unit-D5jDzsM2.js → unit-Ct_7Hfa2.js} +41 -42
  77. package/package.json +3 -3
  78. package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B_Yv8Thl.js +0 -399
  79. package/dist/LinkProductSideSheet-DsoPo7Q_.js +0 -361
  80. package/dist/MenuSetting-CDSc-56P.js +0 -618
  81. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-LVWB5CIa.js +0 -5994
  82. package/dist/apps/mf-menu/src/composable/attributes.d.ts +0 -26
  83. package/dist/apps/mf-menu/src/utils/array.d.ts +0 -1
  84. package/dist/apps/mf-menu/src/utils/customAttributes.d.ts +0 -12
  85. package/dist/apps/mf-menu/src/views/MenuSetting/LinkProductRuleGroups.vue.d.ts +0 -2
  86. package/dist/apps/mf-menu/src/views/MenuSetting/RuleGroupSideSheet.vue.d.ts +0 -176
  87. package/dist/assets/linked-status-x1efKEih.js +0 -13
  88. package/dist/assets/override-menu-D8d9BWzy.js +0 -13
  89. package/dist/assets/validate-menu-DUJ20GHx.js +0 -13
  90. package/dist/customAttributes-32VmzFKZ.js +0 -177
  91. package/dist/index-FzHOAFSW.js +0 -246
@@ -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-C0Xu-iTb.js";
5
+ import { G as q, u as A } from "./menu-DFNvhoNQ.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-D5jDzsM2.js";
8
+ import { u as O, U as P } from "./unit-Ct_7Hfa2.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-5ESai6-B.js";
6
- import { G as K, u as P, O as j, J as W, A as X } from "./menu-C0Xu-iTb.js";
5
+ import { _ as Q } from "./app-Ddb81PNo.js";
6
+ import { G as K, u as P, O as j, J as W, A as X } from "./menu-DFNvhoNQ.js";
7
7
  import { _ as Z } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
8
- import { V as S } from "./index-CzjFGFvP.js";
8
+ import { V as S } from "./index-BLQCYEc6.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,26 +1,26 @@
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-MBmYgyRY.js";
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-BKx7uQtR.js";
5
- import { G as ee, u as te, D as ae, H as oe, O as ne } from "./menu-C0Xu-iTb.js";
6
- import { useI18n as le } from "@feedmepos/mf-common";
7
- import { useSnackbar as se } from "@feedmepos/ui-library";
8
- import { _ as R } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
9
- import { L as V } from "./LinkProductSideSheet-DsoPo7Q_.js";
10
- import { _ as ue } from "./index-dkHuztwB.js";
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-CA9RlNkt.js";
13
- import { a as me } from "./menu-kRDoPBjm.js";
14
- import { m as ce } from "./toExcel-BedErXvS.js";
15
- import { _ as de, u as pe, c as _e } from "./scheduler-B11d6fJr.js";
16
- import { R as r } from "./app-5ESai6-B.js";
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({
1
+ import { defineComponent as B, computed as d, ref as p, watch as I, onMounted as H, resolveComponent as i, createElementBlock as F, openBlock as b, Fragment as K, createVNode as n, withCtx as u, createElementVNode as m, toDisplayString as A, unref as e, createBlock as M } from "vue";
2
+ import { D as W } from "./dayjs.min-g3eN5z-V.js";
3
+ import { useRoute as j, useRouter as J } from "vue-router";
4
+ import { _ as Q, w as X } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-Dl-Wvt3D.js";
5
+ import { G as Z, u as ee, D as te, H as ae, O as oe } from "./menu-DFNvhoNQ.js";
6
+ import { useI18n as ne } from "@feedmepos/mf-common";
7
+ import { useSnackbar as le } from "@feedmepos/ui-library";
8
+ import { _ as D } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
9
+ import { L as R } from "./LinkProductSideSheet-LDZjKX95.js";
10
+ import { _ as se } from "./index-0yRUi7LL.js";
11
+ import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
12
+ import { u as re } from "./Thumbnail.vue_vue_type_script_setup_true_lang-B7oLH9cP.js";
13
+ import { a as me } from "./menu-QrVg2Ph7.js";
14
+ import { m as ie } from "./toExcel-CpRy_4nG.js";
15
+ import { _ as ce, u as de, c as pe } from "./scheduler-BuwGSv6A.js";
16
+ import { R as r } from "./app-Ddb81PNo.js";
17
+ const _e = { class: "px-12 py-8" }, fe = { class: "px-12 py-8" }, ve = { class: "flex ml-auto space-x-8" }, ge = { class: "flex-1 flex flex-col overflow-hidden" }, Oe = /* @__PURE__ */ B({
18
18
  __name: "[id]",
19
- setup(ke) {
20
- const E = J(), _ = Q(), k = ee(se()), L = ne(k), a = te(), { t: l } = le(), O = d(() => a.categorizedRawMenuItems), f = d(() => !a.state.currentSchedulerId), G = p();
21
- async function z(o) {
22
- const t = o._id ? pe(o) : _e(o);
23
- await L.updateMenu(t, o.name);
19
+ setup(be) {
20
+ const V = j(), _ = J(), k = Z(le()), E = oe(k), a = ee(), { t: l } = ne(), L = d(() => a.categorizedRawMenuItems), f = d(() => !a.state.currentSchedulerId), O = p();
21
+ async function G(o) {
22
+ const t = o._id ? de(o) : pe(o);
23
+ await E.updateMenu(t, o.name);
24
24
  }
25
25
  const h = d(() => [
26
26
  {
@@ -44,30 +44,30 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
44
44
  value: r.EDIT_CATALOG_SETTING
45
45
  }
46
46
  ]), c = p(h.value[0].value);
47
- A(c, (o) => {
47
+ I(c, (o) => {
48
48
  _.replace({
49
49
  name: o
50
50
  });
51
- }), F(() => {
51
+ }), H(() => {
52
52
  _.currentRoute.value.name !== r.EDIT_CATALOG && (c.value = _.currentRoute.value.name);
53
- }), A(
53
+ }), I(
54
54
  () => a.state.menu._id,
55
55
  (o) => {
56
- const t = E.params.id;
56
+ const t = V.params.id;
57
57
  o && t !== "main" && a.selectCatalog(t);
58
58
  }
59
59
  );
60
- const $ = d(() => ({
61
- ...ae.menuV4ToV3(oe(a.state.menu)),
60
+ const z = d(() => ({
61
+ ...te.menuV4ToV3(ae(a.state.menu)),
62
62
  _id: a.state.menu._id,
63
63
  _rev: a.state.menu._rev
64
64
  }));
65
- async function U() {
65
+ async function $() {
66
66
  await k.minor(
67
67
  async () => {
68
68
  await a.readMenu();
69
- const o = await ce($.value), t = `menu_${j().format("DD-MM-YYYY_HH-mm")}`;
70
- await Z(o, `${t}.xlsx`, {
69
+ const o = await ie(z.value), t = `menu_${W().format("DD-MM-YYYY_HH-mm")}`;
70
+ await X(o, `${t}.xlsx`, {
71
71
  bookType: "xlsx",
72
72
  bookSST: !1,
73
73
  type: "array"
@@ -78,61 +78,60 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
78
78
  }
79
79
  const v = p(!1), g = p(!1), {
80
80
  menuItems: x,
81
- categories: S,
82
- linkItemRules: T,
83
- handleSubmit: y,
84
- catalogManager: C,
85
- schedulerManager: w
86
- } = ie(!1);
81
+ linkItemRules: S,
82
+ handleSubmit: T,
83
+ catalogManager: y,
84
+ schedulerManager: C
85
+ } = re(!1);
87
86
  return me().resetOnUnmount(), (o, t) => {
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");
90
- return b(), K(W, null, [
91
- n(de, {
87
+ var w;
88
+ const U = i("fm-bottom-sheet"), Y = i("fm-button"), N = i("router-link"), P = i("fm-tabs"), q = i("router-view");
89
+ return b(), F(K, null, [
90
+ n(ce, {
92
91
  ref_key: "schedulerDialogRef",
93
- ref: G,
94
- "categorized-items": O.value,
95
- onOnComplete: z
92
+ ref: O,
93
+ "categorized-items": L.value,
94
+ onOnComplete: G
96
95
  }, null, 8, ["categorized-items"]),
97
- n(X, {
96
+ n(Q, {
98
97
  modelValue: v.value,
99
98
  "onUpdate:modelValue": t[0] || (t[0] = (s) => v.value = s)
100
99
  }, null, 8, ["modelValue"]),
101
- n(Y, {
100
+ n(U, {
102
101
  modelValue: g.value,
103
102
  "onUpdate:modelValue": t[2] || (t[2] = (s) => g.value = s),
104
103
  "no-header": ""
105
104
  }, {
106
105
  default: u(() => [
107
- i("div", fe, [
108
- i("p", {
106
+ m("div", _e, [
107
+ m("p", {
109
108
  class: "fm-typo-en-body-md-400",
110
- onClick: U
111
- }, M(e(l)("menu.catalog.edit.export")), 1)
109
+ onClick: $
110
+ }, A(e(l)("menu.catalog.edit.export")), 1)
112
111
  ]),
113
- i("div", ve, [
114
- i("p", {
112
+ m("div", fe, [
113
+ m("p", {
115
114
  class: "fm-typo-en-body-md-400",
116
115
  onClick: t[1] || (t[1] = () => {
117
116
  v.value = !0, g.value = !1;
118
117
  })
119
- }, M(e(l)("menu.catalog.edit.import")), 1)
118
+ }, A(e(l)("menu.catalog.edit.import")), 1)
120
119
  ])
121
120
  ]),
122
121
  _: 1
123
122
  }, 8, ["modelValue"]),
124
- n(re, {
125
- heading: ((I = e(a).currentCatalog) == null ? void 0 : I.name) ?? "Main",
123
+ n(ue, {
124
+ heading: ((w = e(a).currentCatalog) == null ? void 0 : w.name) ?? "Main",
126
125
  class: "flex flex-col max-h-[calc(100vh-56px)] overflow-hidden"
127
126
  }, {
128
127
  "prepend-heading": u(() => [
129
- n(P, {
128
+ n(N, {
130
129
  to: { name: e(r).CATALOG },
131
130
  class: "mr-8",
132
131
  title: e(l)("menu.catalog.edit.back")
133
132
  }, {
134
133
  default: u(() => [
135
- n(N, {
134
+ n(Y, {
136
135
  "prepend-icon": "arrow_back",
137
136
  variant: "tertiary"
138
137
  })
@@ -141,57 +140,55 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
141
140
  }, 8, ["to", "title"])
142
141
  ]),
143
142
  "append-heading": u(() => [
144
- i("div", ge, [
145
- f.value ? (b(), D(V, {
143
+ m("div", ve, [
144
+ f.value ? (b(), M(R, {
146
145
  key: 0,
147
- "categorized-items": e(C).linkableItems.value,
148
- "initial-value": e(C).currentItems.value,
146
+ "categorized-items": e(y).linkableItems.value,
147
+ "initial-value": e(y).currentItems.value,
149
148
  "show-variant": !1,
150
149
  "menu-items": e(x),
151
- categories: e(S),
152
- "link-item-rules": e(T),
150
+ "link-item-rules": e(S),
153
151
  "no-scheduler": f.value,
154
- onSubmit: e(y)
152
+ onSubmit: e(T)
155
153
  }, {
156
154
  default: u(({ trigger: s }) => [
157
- n(R, {
155
+ n(D, {
158
156
  label: e(l)("menu.catalog.edit.link_product"),
159
157
  "prepend-icon": "link",
160
158
  onClick: s
161
159
  }, null, 8, ["label", "onClick"])
162
160
  ]),
163
161
  _: 1
164
- }, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (b(), D(V, {
162
+ }, 8, ["categorized-items", "initial-value", "menu-items", "link-item-rules", "no-scheduler", "onSubmit"])) : (b(), M(R, {
165
163
  key: 1,
166
- "categorized-items": e(w).linkableItems.value,
167
- "initial-value": e(w).currentItems.value,
164
+ "categorized-items": e(C).linkableItems.value,
165
+ "initial-value": e(C).currentItems.value,
168
166
  "show-variant": !1,
169
167
  "menu-items": e(x),
170
- categories: e(S),
171
- "link-item-rules": e(T),
168
+ "link-item-rules": e(S),
172
169
  "no-scheduler": f.value,
173
- onSubmit: e(y)
170
+ onSubmit: e(T)
174
171
  }, {
175
172
  default: u(({ trigger: s }) => [
176
- n(R, {
173
+ n(D, {
177
174
  label: e(l)("menu.catalog.edit.apply_scheduler"),
178
175
  onClick: s
179
176
  }, null, 8, ["label", "onClick"])
180
177
  ]),
181
178
  _: 1
182
- }, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"]))
179
+ }, 8, ["categorized-items", "initial-value", "menu-items", "link-item-rules", "no-scheduler", "onSubmit"]))
183
180
  ])
184
181
  ]),
185
182
  default: u(() => [
186
- n(q, {
183
+ n(P, {
187
184
  modelValue: c.value,
188
185
  "onUpdate:modelValue": t[3] || (t[3] = (s) => c.value = s),
189
186
  items: h.value,
190
187
  class: "mb-7 xs:mb-0 xs:px-32"
191
188
  }, null, 8, ["modelValue", "items"]),
192
- i("div", be, [
193
- n(ue, { "menu-store": e(a) }, null, 8, ["menu-store"]),
194
- n(B)
189
+ m("div", ge, [
190
+ n(se, { "menu-store": e(a) }, null, 8, ["menu-store"]),
191
+ n(q)
195
192
  ])
196
193
  ]),
197
194
  _: 1
@@ -201,5 +198,5 @@ const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class:
201
198
  }
202
199
  });
203
200
  export {
204
- Ge as default
201
+ Oe as default
205
202
  };
@@ -1,5 +1,5 @@
1
1
  import { defineStore as r } from "pinia";
2
- import { ak as a, al as s, am as l } from "./menu-C0Xu-iTb.js";
2
+ import { ak as a, al as s, am as l } from "./menu-DFNvhoNQ.js";
3
3
  const u = {
4
4
  async read() {
5
5
  return a(await s().get("/public-setting"));