@feedmepos/mf-menu 0.32.42-dev.3 → 0.32.43-dev

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 (66) hide show
  1. package/dist/{App-1oMjfIcc.js → App-CrjDDWL_.js} +5 -5
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-AIw0Zgzf.js → ApplyProduct.vue_vue_type_script_setup_true_lang-C9_vvfQ0.js} +3 -3
  3. package/dist/{Catalog-CvQo24ck.js → Catalog-B0smQVC5.js} +6 -6
  4. package/dist/{Category-C8bM8EwO.js → Category--CBhhHgr.js} +4 -4
  5. package/dist/{Category-DmIaxrrK.js → Category-CRnTrk7Z.js} +5 -5
  6. package/dist/{CookingGuide-CKEbyk4o.js → CookingGuide-pLzJqj05.js} +4 -4
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Ci4gwgnH.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BescRkpm.js} +1 -1
  8. package/dist/{Group-EnJDk54z.js → Group-BoVi0Rcg.js} +3 -3
  9. package/dist/{Group-CoYyRvcx.js → Group-h2MxylAR.js} +1 -1
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-tH2U82rV.js → Group.vue_vue_type_script_setup_true_lang-DoSZp0U5.js} +8 -8
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BDxjuWcY.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CBOntQef.js} +5 -5
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-gVXNoAaN.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DshK6DwV.js} +210 -210
  13. package/dist/{Ingredient-7PPPp7Yf.js → Ingredient-DjZmix9T.js} +3 -3
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DQPjpqtv.js → InventoryBinding.vue_vue_type_script_setup_true_lang-fSRrfMjQ.js} +2 -2
  15. package/dist/{LinkProductSideSheet-BS-MEIOG.js → LinkProductSideSheet-1CEGjcHq.js} +3 -3
  16. package/dist/{MenuSetting-BNVyT0oG.js → MenuSetting-umNE52d9.js} +5 -5
  17. package/dist/{PrintRoute-BMdk0zDv.js → PrintRoute-BnFG1IjW.js} +4 -4
  18. package/dist/{Product-DbIK7Eog.js → Product-B_FPUoEN.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-FnX_M8lJ.js → Product.vue_vue_type_script_setup_true_lang-Bs8eI9g5.js} +13 -13
  20. package/dist/{ProductInternalTools-BC8jWpQd.js → ProductInternalTools-Bp2gz3QJ.js} +5 -5
  21. package/dist/{Products-CPi2vuUO.js → Products-Ddtfvm7l.js} +34 -34
  22. package/dist/{Publish-BcxHXZ1J.js → Publish-C0W6ofjm.js} +3 -3
  23. package/dist/{Recipe-egyxyFfA.js → Recipe-BhnMIcc7.js} +4 -4
  24. package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-CP1NjxzF.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-D9VL-PzK.js} +1 -1
  25. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-CPMCeAK9.js → RuleView.vue_vue_type_script_setup_true_lang-Bj4O3uSe.js} +2 -2
  26. package/dist/{Scheduler-Cb-IJtj8.js → Scheduler-BRwPYceV.js} +3 -3
  27. package/dist/{ServingSequence-B46n34xA.js → ServingSequence-MObSgHV2.js} +3 -3
  28. package/dist/{Setting-B_dZG5ZC.js → Setting-D7jNJPYo.js} +5 -5
  29. package/dist/{Subcategory-DbjLfXvf.js → Subcategory-D0i9wZms.js} +6 -6
  30. package/dist/{Takeaway-DNu6jYFC.js → Takeaway-B0rN8xm3.js} +1 -1
  31. package/dist/{Takeaway-D4axornr.js → Takeaway-DSZV63GV.js} +4 -4
  32. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Dvm8Lfp3.js → Takeaway.vue_vue_type_script_setup_true_lang-jLe2HU1c.js} +6 -6
  33. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-BjPOOURv.js → Thumbnail.vue_vue_type_script_setup_true_lang-b_0rh_qC.js} +4 -4
  34. package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-CXGsdChM.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-CHTaPIEV.js} +68 -66
  35. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-C9eskCL4.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DKveCAMk.js} +13 -13
  36. package/dist/{Unit-jV5Bee8E.js → Unit-D8r8gc_c.js} +2 -2
  37. package/dist/{Variant-jGcgA-W8.js → Variant-x9Q2azsr.js} +4 -4
  38. package/dist/{_id_-CtvQ64EN.js → _id_-BwgaCrRc.js} +9 -9
  39. package/dist/{app-eq7TaFfk.js → app-D8DICtN-.js} +1 -1
  40. package/dist/{app-B6laFmet.js → app-ProVGxGi.js} +31 -31
  41. package/dist/app.js +1 -1
  42. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  43. package/dist/assets/{linked-status-Db18QnYH.js → linked-status-Ck-5QNWw.js} +2 -2
  44. package/dist/assets/{menu-export-24uzPEwW.js → menu-export-CCvx9iiX.js} +2 -2
  45. package/dist/assets/{override-menu-DreGPEa-.js → override-menu-y10fUcKT.js} +2 -2
  46. package/dist/assets/{validate-menu-BSFHH8O3.js → validate-menu-Dw-TOpPc.js} +2 -2
  47. package/dist/{catalog-CXcQ-QmP.js → catalog-Bzeh9lHl.js} +1 -1
  48. package/dist/{catalogSetting-DnUHD0I1.js → catalogSetting-WYVwRyqN.js} +1 -1
  49. package/dist/{currency-CwtLEvAZ.js → currency-CkevBlpn.js} +1 -1
  50. package/dist/{dayjs.min-BgQgGKeN.js → dayjs.min-DcCQ_MAV.js} +2 -2
  51. package/dist/{index-Cx1Nqii7.js → index-BIvW0NKj.js} +6 -6
  52. package/dist/index-r4bszgqF.js +545 -0
  53. package/dist/{index.vue_vue_type_script_setup_true_lang-CA1qH7Vf.js → index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js} +5 -5
  54. package/dist/{item-CKRLnCIs.js → item-CDOMAerF.js} +2587 -2587
  55. package/dist/{jszip.min-DOHC0a7i.js → jszip.min-CaR1xyCC.js} +3 -3
  56. package/dist/{menu-BduvULfe.js → menu-vnpCb5nt.js} +1 -1
  57. package/dist/{menuV2-Da1zBhkS.js → menuV2-wfldXb10.js} +71 -71
  58. package/dist/packages/shared/src/helpers/actionButton.d.ts +2 -2
  59. package/dist/{priceTier-tObdSj6z.js → priceTier-BgYIRc-s.js} +1 -1
  60. package/dist/{rules-DD816lrT.js → rules-XWOGU9mA.js} +4 -4
  61. package/dist/{scheduler-CDhxmmVX.js → scheduler-B7oIfXlC.js} +4 -4
  62. package/dist/{toExcel-tz6MIiQY.js → toExcel-DMfq-sYZ.js} +2 -2
  63. package/dist/{translation-Cdap0IVg.js → translation-BCZ1Ruvv.js} +35 -21
  64. package/dist/{unit-NGl3h7Qh.js → unit-BicSjw1Q.js} +2 -2
  65. package/package.json +2 -2
  66. package/dist/index-D-Saeea8.js +0 -545
@@ -2,17 +2,17 @@ import { defineComponent as A, ref as x, computed as V, watch as te, resolveComp
2
2
  import { useI18n as R } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as P, components as W, useDialog as X, FmButtonVariant as G, useBreakpoints as se, FmButtonColorThemeVariant as ie } from "@feedmepos/ui-library";
4
4
  import { _ as re } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { B as Y, u as J, O as K, J as Z, y as ee, a2 as ce } from "./index.vue_vue_type_script_setup_true_lang-CA1qH7Vf.js";
5
+ import { B as Y, u as J, O as K, J as Z, y as ee, a2 as ce } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
6
6
  import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
7
- import { _ as me } from "./app-B6laFmet.js";
7
+ import { _ as me } from "./app-ProVGxGi.js";
8
8
  import { c as de } from "./createForm-BoUQeZTd.js";
9
9
  import { u as pe } from "./discardConfirm-BHni0LNu.js";
10
10
  import { c as H } from "./object-DVUNCr7w.js";
11
- import { r as _e, u as ae } from "./rules-DD816lrT.js";
12
- import { _ as fe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-CXGsdChM.js";
11
+ import { r as _e, u as ae } from "./rules-XWOGU9mA.js";
12
+ import { _ as fe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-CHTaPIEV.js";
13
13
  import { c as ve } from "./check-C9mY6LiX.js";
14
- import { g as z } from "./translation-Cdap0IVg.js";
15
- import { a as ge } from "./menu-BduvULfe.js";
14
+ import { g as z } from "./translation-BCZ1Ruvv.js";
15
+ import { a as ge } from "./menu-vnpCb5nt.js";
16
16
  const ye = {
17
17
  class: "fm-typo-en-title-md-600"
18
18
  }, be = {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Takeaway.vue_vue_type_script_setup_true_lang-Dvm8Lfp3.js";
1
+ import { _ as f } from "./Takeaway.vue_vue_type_script_setup_true_lang-jLe2HU1c.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as f, computed as y, ref as k, createBlock as i, openBlock as d, unref as a, withCtx as s, createElementVNode as t, toDisplayString as b, createCommentVNode as g, createVNode as m } from "vue";
2
- import { B as x, u as v, O as w, J as E, y as M } from "./index.vue_vue_type_script_setup_true_lang-CA1qH7Vf.js";
2
+ import { B as x, u as v, O as w, J as E, y as M } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
3
3
  import { useI18n as T } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as V } from "@feedmepos/ui-library";
5
5
  import { _ as h } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
6
6
  import { _ as C } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
7
- import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-Dvm8Lfp3.js";
8
- import { T as O, l as S } from "./index-Cx1Nqii7.js";
9
- import { a as B } from "./menu-BduvULfe.js";
7
+ import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-jLe2HU1c.js";
8
+ import { T as O, l as S } from "./index-BIvW0NKj.js";
9
+ import { a as B } from "./menu-vnpCb5nt.js";
10
10
  const L = { class: "flex-1 flex justify-between gap-8 pl-8" }, U = { class: "flex items-center" }, F = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, D = { class: "fm-typo-en-body-md-600 font-semibold" }, G = /* @__PURE__ */ f({
11
11
  __name: "Takeaway",
12
12
  setup(I) {
@@ -1,15 +1,15 @@
1
1
  import { getCurrentInstance as te, defineComponent as oe, computed as x, watch as ne, h as E, resolveComponent as S, createElementBlock as C, openBlock as _, Fragment as P, normalizeClass as Y, createElementVNode as k, createVNode as V, unref as n, isRef as j, withCtx as F, renderList as ie, createBlock as G, createCommentVNode as $, toDisplayString as O, withModifiers as J } from "vue";
2
- import { B as H, u as Q, O as W, J as L, y as N, G as A, z as se, am as q, a2 as re } from "./index.vue_vue_type_script_setup_true_lang-CA1qH7Vf.js";
2
+ import { B as H, u as Q, O as W, J as L, y as N, G as A, z as se, am as q, a2 as re } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
3
3
  import { useI18n as X, useCoreStore as le } from "@feedmepos/mf-common";
4
4
  import { useDialog as ce, useSnackbar as Z, FmButtonVariant as D, components as de, useBreakpoints as me } from "@feedmepos/ui-library";
5
- import { _ as ue } from "./app-B6laFmet.js";
6
- import { a as pe, l as ee, T as ye } from "./index-Cx1Nqii7.js";
5
+ import { _ as ue } from "./app-ProVGxGi.js";
6
+ import { a as pe, l as ee, T as ye } from "./index-BIvW0NKj.js";
7
7
  import { u as fe } from "./search-BAPEUu1R.js";
8
- import { f as z } from "./currency-CwtLEvAZ.js";
8
+ import { f as z } from "./currency-CkevBlpn.js";
9
9
  import { defineStore as _e } from "pinia";
10
- import { C as ke } from "./catalog-CXcQ-QmP.js";
10
+ import { C as ke } from "./catalog-Bzeh9lHl.js";
11
11
  import { c as ve } from "./createComponentProgrammatically-Bt2rn1IQ.js";
12
- import { g as we } from "./translation-Cdap0IVg.js";
12
+ import { g as we } from "./translation-BCZ1Ruvv.js";
13
13
  function ge(T, U, l, p) {
14
14
  var y, v, w, g;
15
15
  const s = A(T);
@@ -1,9 +1,9 @@
1
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 B, withCtx as $, createBlock as U, createCommentVNode as j } from "vue";
2
- import { y as h, J as E, B as R, O as C, ai as z, u as y, c as J } from "./index.vue_vue_type_script_setup_true_lang-CA1qH7Vf.js";
3
- import { u as S } from "./menuV2-Da1zBhkS.js";
4
- import { C as v, h as N } from "./catalog-CXcQ-QmP.js";
2
+ import { y as h, J as E, B as R, O as C, ai as z, u as y, c as J } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
3
+ import { u as S } from "./menuV2-wfldXb10.js";
4
+ import { C as v, h as N } from "./catalog-Bzeh9lHl.js";
5
5
  import { useSnackbar as P, useDialog as A } from "@feedmepos/ui-library";
6
- import { a as T } from "./LinkProductSideSheet-BS-MEIOG.js";
6
+ import { a as T } from "./LinkProductSideSheet-1CEGjcHq.js";
7
7
  import { useI18n as q } from "@feedmepos/mf-common";
8
8
  function G() {
9
9
  const t = S(), o = d(() => t.categorizedRawMenuItems.filter((u) => u.items.length > 0)), i = d(() => {
@@ -1,12 +1,12 @@
1
- import { defineComponent as K, ref as y, watch as E, computed as F, unref as a, resolveComponent as _, createBlock as T, openBlock as i, withCtx as v, createElementVNode as t, toDisplayString as m, createElementBlock as p, createCommentVNode as B, Fragment as x, renderList as C, createVNode as r } from "vue";
2
- import { H as D } from "./index.vue_vue_type_script_setup_true_lang-CA1qH7Vf.js";
3
- import { useI18n as P, useLocale as Q } from "@feedmepos/mf-common";
4
- import { u as R } from "./discardConfirm-BHni0LNu.js";
5
- import { g as V, a as I, _ as W, b as X } from "./translation-Cdap0IVg.js";
6
- const Y = { class: "fm-typo-en-title-md-600" }, Z = { class: "pt-8 space-y-24" }, ee = { class: "flex flex-col gap-8" }, oe = { class: "text-fm-color-typo-primary fm-typo-en-body-lg-600" }, le = { class: "flex items-center gap-8 flex-wrap" }, te = { class: "w-24 h-24 rounded-full bg-fm-color-primary-oats text-fm-color-primary flex items-center justify-center fm-typo-en-body-sm-600" }, ae = { class: "fm-typo-en-body-md-600" }, ne = ["onClick"], se = { class: "flex items-center gap-8" }, ce = { class: "w-24 h-24 rounded-full bg-fm-color-opacity-sm flex items-center justify-center fm-typo-en-body-sm-600" }, me = { class: "fm-typo-en-body-md-400" }, ie = { class: "flex flex-col gap-16 border p-16 rounded-lg" }, de = { class: "flex items-center gap-16" }, re = { class: "fm-typo-en-body-lg-600" }, ue = { class: "flex flex-col gap-32 pl-32" }, pe = {
1
+ import { defineComponent as J, ref as h, watch as O, computed as j, resolveComponent as _, createBlock as T, openBlock as d, unref as a, withCtx as v, createElementVNode as t, toDisplayString as m, createElementBlock as p, createCommentVNode as F, Fragment as x, renderList as C, createVNode as r } from "vue";
2
+ import { H as I } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
3
+ import { useI18n as K, ALL_LOCALE_OPTIONS as y } from "@feedmepos/mf-common";
4
+ import { u as Q } from "./discardConfirm-BHni0LNu.js";
5
+ import { g as V, a as S, _ as R, b as W } from "./translation-BCZ1Ruvv.js";
6
+ const X = { class: "fm-typo-en-title-md-600" }, Y = { class: "pt-8 space-y-24" }, Z = { class: "flex flex-col gap-8" }, ee = { class: "text-fm-color-typo-primary fm-typo-en-body-lg-600" }, oe = { class: "flex items-center gap-8 flex-wrap" }, le = { class: "w-24 h-24 rounded-full bg-fm-color-primary-oats text-fm-color-primary flex items-center justify-center fm-typo-en-body-sm-600" }, te = { class: "fm-typo-en-body-md-600" }, ae = ["onClick"], ne = { class: "flex items-center gap-8" }, se = { class: "w-24 h-24 rounded-full bg-fm-color-opacity-sm flex items-center justify-center fm-typo-en-body-sm-600" }, ce = { class: "fm-typo-en-body-md-400" }, me = { class: "flex flex-col gap-16 border p-16 rounded-lg" }, de = { class: "flex items-center gap-16" }, ie = { class: "fm-typo-en-body-lg-600" }, re = { class: "flex flex-col gap-32 pl-32" }, ue = {
7
7
  key: 0,
8
8
  class: "space-y-8"
9
- }, fe = { class: "flex w-[100px] items-center gap-8" }, _e = { class: "w-24 h-24 rounded-full bg-fm-color-opacity-sm flex items-center justify-center fm-typo-en-body-sm-600" }, ve = { class: "fm-typo-en-body-md-400" }, he = { class: "flex-1" }, ye = { class: "flex gap-8 items-center justify-start" }, ke = /* @__PURE__ */ K({
9
+ }, pe = { class: "flex w-[100px] items-center gap-8" }, fe = { class: "w-24 h-24 rounded-full bg-fm-color-opacity-sm flex items-center justify-center fm-typo-en-body-sm-600" }, _e = { class: "fm-typo-en-body-md-400" }, ve = { class: "flex-1" }, he = { class: "flex gap-8 items-center justify-start" }, Ve = /* @__PURE__ */ J({
10
10
  __name: "TranslationSideSheet",
11
11
  props: {
12
12
  modelValue: { type: Boolean },
@@ -15,47 +15,49 @@ const Y = { class: "fm-typo-en-title-md-600" }, Z = { class: "pt-8 space-y-24" }
15
15
  nameLocale: {}
16
16
  },
17
17
  emits: ["update:modelValue", "update:name", "update:nameLocale"],
18
- setup(O, { emit: S }) {
19
- const s = O, f = S, { t: d } = P(), { localeList: h } = Q(), c = y([]), k = y([]), u = y(s.name), L = y(s.name);
20
- E(
18
+ setup(A, { emit: B }) {
19
+ const s = A, f = B, { t: i } = K(), c = h([]), k = h([]), u = h(s.name), L = h(s.name);
20
+ O(
21
21
  () => s.name,
22
22
  (e) => {
23
23
  u.value = e;
24
24
  }
25
25
  );
26
- function U() {
26
+ function D() {
27
27
  return !s.nameLocale || Object.keys(s.nameLocale).length === 0 ? [] : Object.entries(s.nameLocale).map(([e, o]) => ({
28
28
  localeCode: e,
29
29
  value: o
30
30
  }));
31
31
  }
32
- E(
32
+ O(
33
33
  () => [s.modelValue, s.nameLocale],
34
34
  ([e]) => {
35
- e && (c.value = U(), k.value = D.clone(c.value), u.value = s.name, L.value = s.name);
35
+ e && (c.value = D(), k.value = I.clone(c.value), u.value = s.name, L.value = s.name);
36
36
  },
37
37
  { immediate: !0 }
38
38
  );
39
- const w = F(() => {
39
+ const w = j(() => {
40
40
  const e = new Set(c.value.map((n) => n.localeCode));
41
- return a(h).filter((n) => !e.has(n.code)).map((n) => ({
42
- code: n.code,
43
- name: n.name,
44
- icon: V(n.code)
45
- }));
41
+ return y.filter((n) => !e.has(n.code)).map(
42
+ (n) => ({
43
+ code: n.code,
44
+ name: n.name,
45
+ icon: V(n.code)
46
+ })
47
+ );
46
48
  });
47
- function $(e) {
48
- const o = a(h).find((n) => n.code === e);
49
+ function U(e) {
50
+ const o = y.find((n) => n.code === e);
49
51
  o && c.value.push({
50
52
  localeCode: o.code,
51
53
  value: ""
52
54
  });
53
55
  }
54
- function z(e) {
56
+ function $(e) {
55
57
  c.value = c.value.filter((o) => o.localeCode !== e);
56
58
  }
57
- function A() {
58
- const e = u.value !== L.value, o = !D.isEqual(c.value, k.value);
59
+ function z() {
60
+ const e = u.value !== L.value, o = !I.isEqual(c.value, k.value);
59
61
  return e || o;
60
62
  }
61
63
  function M() {
@@ -74,31 +76,31 @@ const Y = { class: "fm-typo-en-title-md-600" }, Z = { class: "pt-8 space-y-24" }
74
76
  function q() {
75
77
  f("update:modelValue", !1);
76
78
  }
77
- const N = R(A, q), j = F({
79
+ const N = Q(z, q), E = j({
78
80
  get: () => s.modelValue,
79
81
  set: (e) => f("update:modelValue", e)
80
82
  });
81
83
  return (e, o) => {
82
- const n = _("FmIcon"), g = _("fm-button"), H = _("FmMenu"), G = _("fm-text-field"), J = _("fm-side-sheet");
83
- return i(), T(J, {
84
- modelValue: j.value,
85
- "onUpdate:modelValue": o[1] || (o[1] = (l) => j.value = l),
84
+ const n = _("FmIcon"), g = _("fm-button"), H = _("FmMenu"), P = _("fm-text-field"), G = _("fm-side-sheet");
85
+ return d(), T(G, {
86
+ modelValue: E.value,
87
+ "onUpdate:modelValue": o[1] || (o[1] = (l) => E.value = l),
86
88
  "max-width": 720,
87
89
  "onOn:clickedAway": a(N)
88
90
  }, {
89
91
  "side-sheet-header": v(() => [
90
- t("p", Y, m(e.title) + " " + m(a(d)("menu.common.translation.title_suffix")), 1)
92
+ t("p", X, m(e.title) + " " + m(a(i)("menu.common.translation.title_suffix")), 1)
91
93
  ]),
92
94
  "side-sheet-footer": v(() => [
93
- t("div", ye, [
95
+ t("div", he, [
94
96
  r(g, {
95
- label: a(d)("common.save"),
97
+ label: a(i)("common.save"),
96
98
  size: "lg",
97
99
  variant: "primary",
98
100
  onClick: M
99
101
  }, null, 8, ["label"]),
100
102
  r(g, {
101
- label: a(d)("common.cancel"),
103
+ label: a(i)("common.cancel"),
102
104
  size: "lg",
103
105
  variant: "tertiary",
104
106
  onClick: a(N)
@@ -106,24 +108,24 @@ const Y = { class: "fm-typo-en-title-md-600" }, Z = { class: "pt-8 space-y-24" }
106
108
  ])
107
109
  ]),
108
110
  default: v(() => [
109
- t("div", Z, [
110
- t("div", ee, [
111
- t("p", oe, m(a(d)("menu.common.translation.language")), 1),
112
- t("div", le, [
113
- (i(!0), p(x, null, C(c.value, (l) => (i(), p("div", {
111
+ t("div", Y, [
112
+ t("div", Z, [
113
+ t("p", ee, m(a(i)("menu.common.translation.language")), 1),
114
+ t("div", oe, [
115
+ (d(!0), p(x, null, C(c.value, (l) => (d(), p("div", {
114
116
  key: l.localeCode,
115
117
  class: "flex items-center gap-8 p-8 border border-fm-color-primary text-fm-color-primary rounded-full"
116
118
  }, [
117
- t("div", te, m(a(V)(l.localeCode)), 1),
118
- t("span", ae, m(a(I)(l.localeCode, a(h))), 1),
119
+ t("div", le, m(a(V)(l.localeCode)), 1),
120
+ t("span", te, m(a(S)(l.localeCode, a(y))), 1),
119
121
  r(n, {
120
122
  name: "close",
121
123
  class: "cursor-pointer",
122
124
  variant: "secondary",
123
- onClick: (b) => z(l.localeCode)
125
+ onClick: (b) => $(l.localeCode)
124
126
  }, null, 8, ["onClick"])
125
127
  ]))), 128)),
126
- w.value.length > 0 ? (i(), T(H, { key: 0 }, {
128
+ w.value.length > 0 ? (d(), T(H, { key: 0 }, {
127
129
  "menu-button": v(() => [
128
130
  r(g, {
129
131
  variant: "secondary",
@@ -133,53 +135,53 @@ const Y = { class: "fm-typo-en-title-md-600" }, Z = { class: "pt-8 space-y-24" }
133
135
  })
134
136
  ]),
135
137
  default: v(() => [
136
- (i(!0), p(x, null, C(w.value, (l) => (i(), p("div", {
138
+ (d(!0), p(x, null, C(w.value, (l) => (d(), p("div", {
137
139
  class: "p-12 cursor-pointer hover:bg-fm-color-opacity-md rounded-sm",
138
140
  key: l.code,
139
- onClick: (b) => $(l.code)
141
+ onClick: (b) => U(l.code)
140
142
  }, [
141
- t("div", se, [
142
- t("div", ce, m(l.icon), 1),
143
- t("span", me, m(l.name), 1)
143
+ t("div", ne, [
144
+ t("div", se, m(l.icon), 1),
145
+ t("span", ce, m(l.name), 1)
144
146
  ])
145
- ], 8, ne))), 128))
147
+ ], 8, ae))), 128))
146
148
  ]),
147
149
  _: 1
148
- })) : B("", !0)
150
+ })) : F("", !0)
149
151
  ])
150
152
  ]),
151
- t("div", ie, [
153
+ t("div", me, [
152
154
  t("div", de, [
153
155
  r(n, { name: "keyboard_arrow_down" }),
154
- t("p", re, m(a(d)("menu.common.translation.name_section", { entity: e.title })), 1)
156
+ t("p", ie, m(a(i)("menu.common.translation.name_section", { entity: e.title })), 1)
155
157
  ]),
156
- t("div", ue, [
157
- r(W, {
158
- label: a(d)("menu.common.translation.default"),
158
+ t("div", re, [
159
+ r(R, {
160
+ label: a(i)("menu.common.translation.default"),
159
161
  modelValue: u.value,
160
162
  "onUpdate:modelValue": o[0] || (o[0] = (l) => u.value = l)
161
163
  }, null, 8, ["label", "modelValue"]),
162
- c.value.length > 0 ? (i(), p("div", pe, [
163
- r(X, {
164
- label: a(d)("menu.common.translation.translation_label")
164
+ c.value.length > 0 ? (d(), p("div", ue, [
165
+ r(W, {
166
+ label: a(i)("menu.common.translation.translation_label")
165
167
  }, null, 8, ["label"]),
166
- (i(!0), p(x, null, C(c.value, (l) => (i(), p("div", {
168
+ (d(!0), p(x, null, C(c.value, (l) => (d(), p("div", {
167
169
  key: l.localeCode,
168
170
  class: "flex items-center gap-16"
169
171
  }, [
170
- t("div", fe, [
171
- t("div", _e, m(a(V)(l.localeCode)), 1),
172
- t("span", ve, m(a(I)(l.localeCode, a(h))), 1)
172
+ t("div", pe, [
173
+ t("div", fe, m(a(V)(l.localeCode)), 1),
174
+ t("span", _e, m(a(S)(l.localeCode, a(y))), 1)
173
175
  ]),
174
- t("div", he, [
175
- r(G, {
176
+ t("div", ve, [
177
+ r(P, {
176
178
  modelValue: l.value,
177
179
  "onUpdate:modelValue": (b) => l.value = b,
178
- placeholder: a(d)("menu.group.translation.placeholder")
180
+ placeholder: a(i)("menu.group.translation.placeholder")
179
181
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
180
182
  ])
181
183
  ]))), 128))
182
- ])) : B("", !0)
184
+ ])) : F("", !0)
183
185
  ])
184
186
  ])
185
187
  ])
@@ -190,5 +192,5 @@ const Y = { class: "fm-typo-en-title-md-600" }, Z = { class: "pt-8 space-y-24" }
190
192
  }
191
193
  });
192
194
  export {
193
- ke as _
195
+ Ve as _
194
196
  };
@@ -1,37 +1,37 @@
1
1
  import { ref as Z, computed as U, getCurrentInstance as cn, render as mn, defineComponent as de, resolveComponent as q, createElementBlock as H, openBlock as D, createBlock as te, normalizeClass as he, createElementVNode as A, createVNode as f, unref as e, withCtx as G, toDisplayString as _e, mergeModels as Kt, useModel as Bt, createCommentVNode as J, onMounted as je, resolveDirective as Yt, Fragment as Ie, renderList as Pe, createTextVNode as pn, withDirectives as Ze, renderSlot as Ne, h as we, watch as De, nextTick as mt, vShow as zt, withModifiers as We, createSlots as fn, onBeforeUnmount as Ot, watchEffect as gn, onUnmounted as vn, normalizeStyle as ut, mergeProps as bn, normalizeProps as _n, guardReactiveProps as yn, Teleport as hn, Transition as wn, withKeys as kn } from "vue";
2
- import { g as Cn, o as In, _ as En, a as Tn, f as xn, b as Fn, c as jt, n as qt, I as Sn, S as On, d as Dt, e as Dn, C as Vn, h as Wt, i as It, j as Ht, k as $n, m as Un, F as Pn, M as Xt, l as Mn, r as Rn, p as Qt, q as Rt, s as Jt, t as An, P as Nn, v as Ln, w as Zt, u as Gn, T as Be } from "./item-CKRLnCIs.js";
3
- import { a as Kn, b as Bn, d as Yn, _ as zn, T as jn } from "./app-B6laFmet.js";
4
- import { z as Ce, J as xe, y as re, B as tt, K as qn, M as Wn, N as Hn, u as pt, O as Vt, P as Xn, A as Le, Q as Qn, G as ye, R as Jn, H as Fe, T as gt, U as en, V as Zn, W as eo, X as to, Y as vt, Z as At, $ as no, a0 as oo } from "./index.vue_vue_type_script_setup_true_lang-CA1qH7Vf.js";
2
+ import { g as Cn, o as In, _ as En, a as Tn, f as xn, b as Fn, c as jt, n as qt, I as Sn, S as On, d as Dt, e as Dn, C as Vn, h as Wt, i as It, j as Ht, k as $n, m as Un, F as Pn, M as Xt, l as Mn, r as Rn, p as Qt, q as Rt, s as Jt, t as An, P as Nn, v as Ln, w as Zt, u as Gn, T as Be } from "./item-CDOMAerF.js";
3
+ import { a as Kn, b as Bn, d as Yn, _ as zn, T as jn } from "./app-ProVGxGi.js";
4
+ import { z as Ce, J as xe, y as re, B as tt, K as qn, M as Wn, N as Hn, u as pt, O as Vt, P as Xn, A as Le, Q as Qn, G as ye, R as Jn, H as Fe, T as gt, U as en, V as Zn, W as eo, X as to, Y as vt, Z as At, $ as no, a0 as oo } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
5
5
  import { useI18n as be, useCoreStore as nt, CustomAttributesForm as tn } from "@feedmepos/mf-common";
6
6
  import { useDialog as Ge, useDialogChild as $t, useSnackbar as Ke, FmButtonColorThemeVariant as Ue, components as Se, FmButtonVariant as qe, useBreakpoints as ao } from "@feedmepos/ui-library";
7
7
  import { u as Ut } from "./discardConfirm-BHni0LNu.js";
8
8
  import { defineStore as ro } from "pinia";
9
- import { _ as Ve, a as lo } from "./RuleView.vue_vue_type_script_setup_true_lang-CPMCeAK9.js";
10
- import { u as ve, g as nn, m as io } from "./menuV2-Da1zBhkS.js";
9
+ import { _ as Ve, a as lo } from "./RuleView.vue_vue_type_script_setup_true_lang-Bj4O3uSe.js";
10
+ import { u as ve, g as nn, m as io } from "./menuV2-wfldXb10.js";
11
11
  import { s as Et, _ as so } from "./index-CisutoS9.js";
12
12
  import { useAppStore as on, RemyButton as an } from "@feedmepos/mf-remy-panel";
13
13
  import { _ as Ae } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
14
14
  import { c as uo } from "./createComponentProgrammatically-Bt2rn1IQ.js";
15
- import { _ as co, a as mo, u as po } from "./Thumbnail.vue_vue_type_script_setup_true_lang-BjPOOURv.js";
15
+ import { _ as co, a as mo, u as po } from "./Thumbnail.vue_vue_type_script_setup_true_lang-b_0rh_qC.js";
16
16
  import { _ as Qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  import { _ as Tt } from "./tooltip-B5BiPMx9.js";
18
- import { g as rt } from "./translation-Cdap0IVg.js";
19
- import { _ as He, T as fo, l as go } from "./index-Cx1Nqii7.js";
20
- import { L as xt } from "./LinkProductSideSheet-BS-MEIOG.js";
18
+ import { g as rt } from "./translation-BCZ1Ruvv.js";
19
+ import { _ as He, T as fo, l as go } from "./index-BIvW0NKj.js";
20
+ import { L as xt } from "./LinkProductSideSheet-1CEGjcHq.js";
21
21
  import { u as vo } from "./search-BAPEUu1R.js";
22
22
  import { c as Pt } from "./check-C9mY6LiX.js";
23
- import { f as et } from "./currency-CwtLEvAZ.js";
23
+ import { f as et } from "./currency-CkevBlpn.js";
24
24
  import { c as bo } from "./string-DpfFixWH.js";
25
25
  import { useInventoryStore as _o, InventoryBindingSummary as yo } from "@feedmepos/mf-inventory-portal";
26
- import { u as ho } from "./priceTier-tObdSj6z.js";
26
+ import { u as ho } from "./priceTier-BgYIRc-s.js";
27
27
  import { d as Mt } from "./vuedraggable-CK8z7qA8.js";
28
- import { _ as wo } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-AIw0Zgzf.js";
28
+ import { _ as wo } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-C9_vvfQ0.js";
29
29
  import "./app-5fxKLAzS.js";
30
30
  /* empty css */
31
31
  import { c as dt } from "./object-DVUNCr7w.js";
32
32
  import { _ as ko } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
33
33
  import { _ as Nt } from "./MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js";
34
- import { _ as Co } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-CP1NjxzF.js";
34
+ import { _ as Co } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-D9VL-PzK.js";
35
35
  var Xe = /* @__PURE__ */ ((s) => (s.PRIMARY = "primary", s.PLAIN = "plain", s))(Xe || {}), Me = /* @__PURE__ */ ((s) => (s.CATEGORY = "view_list", s.ITEM = "fastfood", s.VARIANT = "lunch_dining", s.GROUP = "database", s.FOLDER = "folder", s))(Me || {});
36
36
  function bt(s, l) {
37
37
  return s <= 0 ? null : { label: l };
@@ -2,9 +2,9 @@ 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 I } from "@feedmepos/ui-library";
4
4
  import { _ as q } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { B as A, u as G, a2 as H } from "./index.vue_vue_type_script_setup_true_lang-CA1qH7Vf.js";
5
+ import { B as A, u as G, a2 as H } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
6
6
  import { _ as J } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
7
- import { u as O, U as P } from "./unit-NGl3h7Qh.js";
7
+ import { u as O, U as P } from "./unit-BicSjw1Q.js";
8
8
  const Q = {
9
9
  key: 0,
10
10
  class: "h-[600px]"
@@ -2,14 +2,14 @@ import { getCurrentInstance as U, defineComponent as $, computed as x, onMounted
2
2
  import { useI18n as N } from "@feedmepos/mf-common";
3
3
  import { useDialog as J, useSnackbar as D, FmButtonVariant as j, components as q, useBreakpoints as H } from "@feedmepos/ui-library";
4
4
  import { _ as Q } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { _ as W } from "./app-B6laFmet.js";
6
- import { B as K, u as P, O as A, J as X, y as Z, a2 as ee } from "./index.vue_vue_type_script_setup_true_lang-CA1qH7Vf.js";
7
- import { V as E } from "./index-D-Saeea8.js";
5
+ import { _ as W } from "./app-ProVGxGi.js";
6
+ import { B as K, u as P, O as A, J as X, y as Z, a2 as ee } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
7
+ import { V as E } from "./index-r4bszgqF.js";
8
8
  import { _ as ae } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
9
9
  import { u as oe } from "./search-BAPEUu1R.js";
10
10
  import { defineStore as te } from "pinia";
11
11
  import { c as ne } from "./createComponentProgrammatically-Bt2rn1IQ.js";
12
- import { g as F } from "./translation-Cdap0IVg.js";
12
+ import { g as F } from "./translation-BCZ1Ruvv.js";
13
13
  const le = te("variant-manager", () => {
14
14
  const I = J(), n = D(), g = K(n), k = A(g);
15
15
  P();
@@ -1,19 +1,19 @@
1
1
  import { defineComponent as F, computed as d, ref as p, watch as A, onMounted as H, 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 R } from "vue";
2
- import { D as j } from "./dayjs.min-BgQgGKeN.js";
2
+ import { D as j } from "./dayjs.min-DcCQ_MAV.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-gVXNoAaN.js";
5
- import { B as ee, u as te, A as ae, G as oe, O as ne } from "./index.vue_vue_type_script_setup_true_lang-CA1qH7Vf.js";
4
+ import { _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DshK6DwV.js";
5
+ import { B as ee, u as te, A as ae, G as oe, O as ne } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.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 D } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
9
- import { L as V } from "./LinkProductSideSheet-BS-MEIOG.js";
9
+ import { L as V } from "./LinkProductSideSheet-1CEGjcHq.js";
10
10
  import { _ as ue } from "./index-CisutoS9.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-BjPOOURv.js";
13
- import { a as me } from "./menu-BduvULfe.js";
14
- import { m as ce } from "./toExcel-tz6MIiQY.js";
15
- import { _ as de, u as pe, c as _e } from "./scheduler-CDhxmmVX.js";
16
- import { R as r } from "./app-B6laFmet.js";
12
+ import { u as ie } from "./Thumbnail.vue_vue_type_script_setup_true_lang-b_0rh_qC.js";
13
+ import { a as me } from "./menu-vnpCb5nt.js";
14
+ import { m as ce } from "./toExcel-DMfq-sYZ.js";
15
+ import { _ as de, u as pe, c as _e } from "./scheduler-B7oIfXlC.js";
16
+ import { R as r } from "./app-ProVGxGi.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__ */ F({
18
18
  __name: "[id]",
19
19
  setup(ke) {
@@ -1,5 +1,5 @@
1
1
  import { defineStore as r } from "pinia";
2
- import { a7 as a, a8 as s, a9 as l } from "./index.vue_vue_type_script_setup_true_lang-CA1qH7Vf.js";
2
+ import { a7 as a, a8 as s, a9 as l } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
3
3
  const u = {
4
4
  async read() {
5
5
  return a(await s().get("/public-setting"));