@feedmepos/mf-menu 0.32.13 → 0.32.15

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 (73) hide show
  1. package/dist/{App-D70-FH5L.js → App-BFUyUrdi.js} +16 -9
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-BJdja2N0.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BbjRIN7Z.js} +20 -20
  3. package/dist/{Catalog-WMpN3a0p.js → Catalog-B6VFmr6e.js} +20 -20
  4. package/dist/{Category-C_VsQIHU.js → Category-B-bTjNFI.js} +24 -24
  5. package/dist/{Category-BwHhFTZ-.js → Category-C8uGxpST.js} +84 -84
  6. package/dist/{CookingGuide-D9RNkYDL.js → CookingGuide-BL3uetlO.js} +65 -65
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DtmrxDZm.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-8yIVwc8E.js} +1 -1
  8. package/dist/{Group-DexONgr2.js → Group-BvO-gQZe.js} +1 -1
  9. package/dist/{Group-qRZlg5ST.js → Group-DT9UkkOx.js} +3 -3
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-DtPY9uUt.js → Group.vue_vue_type_script_setup_true_lang-DZhM1Tpb.js} +56 -56
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B5Qpmj2f.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D48u_DHq.js} +5 -5
  12. package/dist/ImportProductDialog.vue_vue_type_script_setup_true_lang-C_X-lTnN.js +72979 -0
  13. package/dist/{Ingredient-BuOS_Wvm.js → Ingredient-7qWDD9e6.js} +26 -26
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DFvXklj9.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CwjW0wfz.js} +2 -2
  15. package/dist/{LinkProductSideSheet-DJj8Nn4X.js → LinkProductSideSheet-BXW6eNgZ.js} +3 -3
  16. package/dist/{MenuSetting-D6B0gCGV.js → MenuSetting-BSF7O2NL.js} +5 -5
  17. package/dist/{PrintRoute-B7G8f1iC.js → PrintRoute-b1ii5Uz9.js} +20 -20
  18. package/dist/{Product-DpS5EepJ.js → Product-Ce0GJb3c.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-CdIukLqA.js → Product.vue_vue_type_script_setup_true_lang-BZVvTAOX.js} +49 -49
  20. package/dist/{ProductInternalTools-CBCyWHOS.js → ProductInternalTools-igbOLRap.js} +20 -20
  21. package/dist/Products-GAyUdhnN.js +292 -0
  22. package/dist/Publish-g60odzhM.js +1300 -0
  23. package/dist/{Recipe-D14rkATU.js → Recipe-B6aye_iC.js} +9 -9
  24. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-CdH2ius3.js → RuleView.vue_vue_type_script_setup_true_lang-By8kwuMB.js} +134 -134
  25. package/dist/{Scheduler-DWZqa-jf.js → Scheduler-CyaG6Y5v.js} +7 -7
  26. package/dist/{ServingSequence-Mx7ovvJ1.js → ServingSequence-BXeypgrN.js} +27 -27
  27. package/dist/{Setting-DmHuVXVn.js → Setting-D7GcaNTk.js} +17 -17
  28. package/dist/{Subcategory-DixZPdnT.js → Subcategory-DNUp9ojI.js} +37 -37
  29. package/dist/{Takeaway-BVIymFV_.js → Takeaway-Baqvq5nP.js} +9 -9
  30. package/dist/{Takeaway-DDKeDEbV.js → Takeaway-BjXPeYRv.js} +1 -1
  31. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CTaCQgRv.js → Takeaway.vue_vue_type_script_setup_true_lang-CgXT2UVL.js} +54 -54
  32. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-DveI9xvU.js → Thumbnail.vue_vue_type_script_setup_true_lang-CX8cSbDe.js} +12 -12
  33. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-2nBbq_Yk.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DcjGVQEO.js} +756 -763
  34. package/dist/{Unit-utuaNZBw.js → Unit-mI7lLzCf.js} +2 -2
  35. package/dist/{Variant-CzuJNwen.js → Variant-CVwnODRz.js} +14 -14
  36. package/dist/{_id_-DMDhPQCr.js → _id_-fpn0nBru.js} +14 -14
  37. package/dist/{app-BQUkvrAS.js → app-CCKI85Te.js} +26 -26
  38. package/dist/{app-Bqj3cAPJ.js → app-U5MEN4U1.js} +1 -1
  39. package/dist/app.js +1 -1
  40. package/dist/apps/mf-menu/src/Entry.vue.d.ts +1 -0
  41. package/dist/apps/mf-menu/src/components/feature/Fields/ImageDropField.vue.d.ts +0 -2
  42. package/dist/apps/mf-menu/src/composable/useClientEvent.d.ts +14 -0
  43. package/dist/apps/mf-menu/src/helper/import-export-utils.d.ts +22 -22
  44. package/dist/apps/mf-menu/src/helper/menuExport.d.ts +59 -33
  45. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  46. package/dist/assets/{linked-status-ILQVL8r9.js → linked-status-6Jt70XBp.js} +2 -2
  47. package/dist/assets/menu-export-CR0a98CA.js +107 -0
  48. package/dist/assets/{override-menu-DVkGhbA9.js → override-menu-Chsc0CSI.js} +2 -2
  49. package/dist/assets/{validate-menu-y_NQUL02.js → validate-menu-pb0aN4gj.js} +2 -2
  50. package/dist/{catalog-BYzITAmC.js → catalog-BgQmytEA.js} +1 -1
  51. package/dist/{catalogSetting-DAo5tN3P.js → catalogSetting-BS5IaQKq.js} +1 -1
  52. package/dist/{category-D4x8r_lY.js → category-DJMVbmzx.js} +1 -1
  53. package/dist/{currency-CvoBdMM2.js → currency-FHrLDvzy.js} +1 -1
  54. package/dist/dayjs.min-DJGdQr-B.js +6 -0
  55. package/dist/{index-LuH6PJzW.js → index-BywPDIFW.js} +4 -4
  56. package/dist/{index-BLUIaanj.js → index-DYxLHjeC.js} +1 -1
  57. package/dist/{index-6lju0f3r.js → index-XVWDnyu-.js} +17 -17
  58. package/dist/{index.vue_vue_type_script_setup_true_lang-DxF14kn9.js → index.vue_vue_type_script_setup_true_lang-kj6HkxwD.js} +2306 -2306
  59. package/dist/{item-lXMLaKOb.js → item-cmnP2N-a.js} +1089 -1091
  60. package/dist/{jszip.min-CdZ-wY5m.js → jszip.min-psVCZNVl.js} +545 -545
  61. package/dist/{menu-PJc2dQHQ.js → menu-CgQPOu3W.js} +1 -1
  62. package/dist/{menuV2-DinFmdTL.js → menuV2-DHO9OmzU.js} +159 -159
  63. package/dist/mf-menu.css +1 -1
  64. package/dist/{priceTier-CzKIo11g.js → priceTier-CLm9vzaK.js} +1 -1
  65. package/dist/{scheduler-DQjxnoCk.js → scheduler-BMdZdtpj.js} +4 -4
  66. package/dist/{subcategory-CLkDImEU.js → subcategory-Dj_DOvFt.js} +2 -2
  67. package/dist/{toExcel-DPh8DaM0.js → toExcel-XwFFiTiA.js} +2 -2
  68. package/dist/{unit-QYkVoC6_.js → unit-CsuAQsy7.js} +12 -12
  69. package/package.json +3 -3
  70. package/dist/ImportProductDialog.vue_vue_type_script_setup_true_lang-BqhNkaw_.js +0 -96043
  71. package/dist/Products-CcyGNlUl.js +0 -794
  72. package/dist/Publish-rZLHFaJ5.js +0 -1264
  73. package/dist/dayjs.min-C6xioui7.js +0 -6
@@ -1,4 +1,4 @@
1
- import { u as h, A as n, K as d, ak as _ } from "./index.vue_vue_type_script_setup_true_lang-DxF14kn9.js";
1
+ import { u as h, A as n, M as d, al as _ } from "./index.vue_vue_type_script_setup_true_lang-kj6HkxwD.js";
2
2
  import "@feedmepos/ui-library";
3
3
  class u {
4
4
  constructor(t, e, r, a) {
@@ -1,4 +1,4 @@
1
- import { A as u, I as i } from "./index.vue_vue_type_script_setup_true_lang-DxF14kn9.js";
1
+ import { A as u, I as i } from "./index.vue_vue_type_script_setup_true_lang-kj6HkxwD.js";
2
2
  var a = /* @__PURE__ */ ((e) => (e.AUTO = "auto", e.MANUAL = "manual", e))(a || {}), m = /* @__PURE__ */ ((e) => (e[e.Normal = 0] = "Normal", e[e.Rules = 1] = "Rules", e))(m || {});
3
3
  class s {
4
4
  static fromCatalog(r, n) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as M, watch as _, ref as f, resolveComponent as g, createBlock as x, openBlock as A, unref as l, withCtx as C, createVNode as V } from "vue";
2
- import { K as s, A as u, u as F } from "./index.vue_vue_type_script_setup_true_lang-DxF14kn9.js";
2
+ import { M as s, A as u, u as F } from "./index.vue_vue_type_script_setup_true_lang-kj6HkxwD.js";
3
3
  import { useI18n as E } from "@feedmepos/mf-common";
4
4
  import { useDialogChild as O } from "@feedmepos/ui-library";
5
5
  const y = /* @__PURE__ */ M({
@@ -1,4 +1,4 @@
1
- import { B as e } from "./index.vue_vue_type_script_setup_true_lang-DxF14kn9.js";
1
+ import { B as e } from "./index.vue_vue_type_script_setup_true_lang-kj6HkxwD.js";
2
2
  function n(r, o = !0) {
3
3
  return e.Dinero.fromFdoDinero(r).toFormat(o).replaceAll(" ", "");
4
4
  }
@@ -0,0 +1,6 @@
1
+ import { g as a, am as r } from "./index.vue_vue_type_script_setup_true_lang-kj6HkxwD.js";
2
+ var s = r();
3
+ const t = /* @__PURE__ */ a(s);
4
+ export {
5
+ t as D
6
+ };
@@ -1,12 +1,12 @@
1
- import { B as S, A, u as K, I as O, D as q, J as R } from "./index.vue_vue_type_script_setup_true_lang-DxF14kn9.js";
1
+ import { B as S, A, u as K, I as O, D as q, J as R } from "./index.vue_vue_type_script_setup_true_lang-kj6HkxwD.js";
2
2
  import { defineComponent as T, ref as f, computed as B, watch as L, onMounted as z, onBeforeUnmount as P, resolveComponent as F, createBlock as N, openBlock as M, withModifiers as D, withCtx as g, renderSlot as U, createElementBlock as W, Fragment as j, createVNode as c, unref as i, createElementVNode as C, createCommentVNode as H, toDisplayString as J } from "vue";
3
3
  import { useI18n as I } from "@feedmepos/mf-common";
4
4
  import { components as Y } from "@feedmepos/ui-library";
5
- import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-CdH2ius3.js";
5
+ import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-By8kwuMB.js";
6
6
  import { u as G } from "./discardConfirm-BHni0LNu.js";
7
- import { _ as Q } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-BJdja2N0.js";
7
+ import { _ as Q } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-BbjRIN7Z.js";
8
8
  import { c as X } from "./check-C9mY6LiX.js";
9
- import { f as ee } from "./currency-CvoBdMM2.js";
9
+ import { f as ee } from "./currency-FHrLDvzy.js";
10
10
  import { c as ae } from "./string-DpfFixWH.js";
11
11
  const te = /* @__PURE__ */ T({
12
12
  __name: "CurrencyInput",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as W, ref as A, resolveComponent as v, createElementBlock as E, openBlock as I, Fragment as B, createElementVNode as g, createVNode as c, normalizeClass as T, withCtx as _, toDisplayString as S, unref as i, h as G, watch as O, onMounted as K, nextTick as M, readonly as N, getCurrentInstance as U, getCurrentScope as L, onScopeDispose as $ } from "vue";
2
2
  import { useI18n as q, useCustomAttributes as H, useCoreStore as J } from "@feedmepos/mf-common";
3
3
  import { components as Q } from "@feedmepos/ui-library";
4
- import { d as X, _ as k } from "./RuleView.vue_vue_type_script_setup_true_lang-CdH2ius3.js";
4
+ import { d as X, _ as k } from "./RuleView.vue_vue_type_script_setup_true_lang-By8kwuMB.js";
5
5
  const Y = {
6
6
  class: /* @__PURE__ */ T(["fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap", "text-fm-color-neutral-gray-400"])
7
7
  }, Z = {
@@ -1,17 +1,17 @@
1
- import { defineComponent as K, computed as w, ref as E, watch as C, resolveComponent as g, createElementBlock as F, openBlock as V, Fragment as R, renderSlot as j, createVNode as s, unref as n, withCtx as m, createElementVNode as d, createBlock as M, createCommentVNode as U, normalizeClass as J, createSlots as H, toDisplayString as Q } from "vue";
2
- import { P as W, G as X, I as f, D, K as I, A as S, J as Z } from "./index.vue_vue_type_script_setup_true_lang-DxF14kn9.js";
1
+ import { defineComponent as R, computed as w, ref as E, watch as C, resolveComponent as g, createElementBlock as M, openBlock as V, Fragment as K, renderSlot as j, createVNode as s, unref as n, withCtx as m, createElementVNode as d, createBlock as F, createCommentVNode as U, normalizeClass as J, createSlots as Q, toDisplayString as H } from "vue";
2
+ import { Q as W, G as X, I as f, D, M as I, A as S, J as Z } from "./index.vue_vue_type_script_setup_true_lang-kj6HkxwD.js";
3
3
  import { d as ee } from "./vuedraggable-CK8z7qA8.js";
4
4
  import { useI18n as te } from "@feedmepos/mf-common";
5
5
  import { useSnackbar as ae, components as ne } from "@feedmepos/ui-library";
6
6
  import { _ as oe } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
7
- import { _ as le } from "./RuleView.vue_vue_type_script_setup_true_lang-CdH2ius3.js";
7
+ import { _ as le } from "./RuleView.vue_vue_type_script_setup_true_lang-By8kwuMB.js";
8
8
  import { u as ie } from "./discardConfirm-BHni0LNu.js";
9
- import { _ as se } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-BJdja2N0.js";
9
+ import { _ as se } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-BbjRIN7Z.js";
10
10
  import { c as re } from "./check-C9mY6LiX.js";
11
11
  const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32" }, de = ["data-not-allow-sort"], ce = {
12
12
  key: 1,
13
13
  class: "w-24"
14
- }, pe = { class: "flex-1" }, fe = { class: "flex gap-8 items-center justify-start" }, ve = /* @__PURE__ */ K({
14
+ }, pe = { class: "flex-1" }, fe = { class: "flex gap-8 items-center justify-start" }, ve = /* @__PURE__ */ R({
15
15
  __name: "Form",
16
16
  props: {
17
17
  initialValue: {}
@@ -31,10 +31,10 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
31
31
  }, t = E(k()), y = E(!1), i = E(!1), x = (e) => {
32
32
  re.isBoolean(e) ? i.value = e : i.value = !i.value;
33
33
  };
34
- function P(e) {
34
+ function $(e) {
35
35
  t.value.options = e;
36
36
  }
37
- function $(e, a) {
37
+ function q(e, a) {
38
38
  const l = f(t.value.options), c = l.findIndex((v) => v._id == e);
39
39
  l[c].name = a, t.value.options = l, c === t.value.options.length - 1 && O();
40
40
  }
@@ -48,7 +48,7 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
48
48
  }
49
49
  ];
50
50
  }
51
- function q(e) {
51
+ function P(e) {
52
52
  const a = f(t.value.options);
53
53
  t.value.options = a.filter((l) => l._id !== e);
54
54
  }
@@ -109,7 +109,7 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
109
109
  trigger: x
110
110
  }), (e, a) => {
111
111
  const l = g("fm-text-field"), c = g("fm-icon"), v = g("fm-button"), G = g("fm-side-sheet");
112
- return V(), F(R, null, [
112
+ return V(), M(K, null, [
113
113
  j(e.$slots, "default", { trigger: x }),
114
114
  s(G, {
115
115
  id: "variant-form",
@@ -124,7 +124,7 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
124
124
  "onOn:clickedAway": n(Y)
125
125
  }, {
126
126
  "side-sheet-header": m(() => [
127
- d("p", ue, Q(A.value), 1)
127
+ d("p", ue, H(A.value), 1)
128
128
  ]),
129
129
  "side-sheet-footer": m(() => [
130
130
  d("div", fe, [
@@ -172,18 +172,18 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
172
172
  group: "categories",
173
173
  handle: ".handle",
174
174
  "item-key": "_id",
175
- "onUpdate:modelValue": P
175
+ "onUpdate:modelValue": $
176
176
  }, {
177
177
  item: m(({ element: u, index: p }) => [
178
178
  d("div", {
179
179
  class: J(["flex items-center", "space-x-8"]),
180
180
  "data-not-allow-sort": p === t.value.options.length - 1
181
181
  }, [
182
- p !== t.value.options.length - 1 ? (V(), M(c, {
182
+ p !== t.value.options.length - 1 ? (V(), F(c, {
183
183
  key: 0,
184
184
  class: "handle",
185
185
  name: "drag_handle"
186
- })) : p > 0 ? (V(), F("div", ce)) : U("", !0),
186
+ })) : p > 0 ? (V(), M("div", ce)) : U("", !0),
187
187
  d("div", pe, [
188
188
  s(l, {
189
189
  "model-value": u.name,
@@ -193,14 +193,14 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
193
193
  ],
194
194
  class: "flex-1",
195
195
  placeholder: n(o)("menu.variant.form.options.placeholder"),
196
- "onUpdate:modelValue": (h) => $(u._id, h)
197
- }, H({ _: 2 }, [
196
+ "onUpdate:modelValue": (h) => q(u._id, h)
197
+ }, Q({ _: 2 }, [
198
198
  p !== t.value.options.length - 1 ? {
199
199
  name: "append",
200
200
  fn: m(() => [
201
201
  s(c, {
202
202
  name: "close",
203
- onClick: (h) => q(u._id)
203
+ onClick: (h) => P(u._id)
204
204
  }, null, 8, ["onClick"])
205
205
  ]),
206
206
  key: "0"
@@ -218,7 +218,7 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
218
218
  ]),
219
219
  _: 1
220
220
  }, 8, ["title"]),
221
- (_ = t.value.usedBy) != null && _.length ? (V(), M(se, {
221
+ (_ = t.value.usedBy) != null && _.length ? (V(), F(se, {
222
222
  key: 0,
223
223
  editable: !1,
224
224
  overrides: t.value.usedBy || [],