@feedmepos/mf-menu 0.31.71-prod → 0.31.72-prod.remy.1

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 (109) hide show
  1. package/dist/{App-B5R51HHK.js → App-D0if3wqP.js} +1303 -2464
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-Dflill79.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BGmnZ0fU.js} +3 -3
  3. package/dist/{Catalog-yv_fwu1h.js → Catalog-BtUfD8GQ.js} +26 -26
  4. package/dist/{Category-lOaUwRrB.js → Category-DM8VSsLr.js} +35 -35
  5. package/dist/{Category-DEkZ-IWE.js → Category-DnqbAJ8u.js} +22 -22
  6. package/dist/{CookingGuide-Db8VQK5V.js → CookingGuide-D6lkfqBt.js} +113 -113
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DwsVvlUq.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Bm_ojPwl.js} +1 -1
  8. package/dist/{Group-CFS8D5Uf.js → Group-C5dKF4Nh.js} +3 -3
  9. package/dist/{Group-B2EXYbcn.js → Group-DuzQnjaf.js} +1 -1
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-BdZ9K2Ht.js → Group.vue_vue_type_script_setup_true_lang-CmNA5T1e.js} +48 -48
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CtlyZlos.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DNB2JuCW.js} +5 -5
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-C-RPhKoA.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-ChBkZPAT.js} +21 -22
  13. package/dist/{Ingredient-C3B8G0Fd.js → Ingredient-D1WJiFol.js} +23 -23
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BrhhXwp8.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CtRlYhYV.js} +2 -2
  15. package/dist/{LinkProductSideSheet-DPn7KN3l.js → LinkProductSideSheet-C8rzleiM.js} +3 -3
  16. package/dist/{MenuSetting-Mph9Pc9s.js → MenuSetting-DMubRzJX.js} +31 -31
  17. package/dist/{PrintRoute-BwboeALA.js → PrintRoute-BtUchxJF.js} +26 -26
  18. package/dist/{Product-CNKnPt-z.js → Product-DgBa91qO.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-BksTc5Gm.js → Product.vue_vue_type_script_setup_true_lang-HlvAWI2U.js} +71 -71
  20. package/dist/{ProductInternalTools-DGkoIc6T.js → ProductInternalTools-DtnJTZU3.js} +16 -16
  21. package/dist/{Products-CkLZYybB.js → Products-DzYBiuui.js} +11 -11
  22. package/dist/{Publish-Bzq9aREC.js → Publish-ITuDTIzg.js} +56 -57
  23. package/dist/{Recipe-K55Bnscl.js → Recipe-Cr1UPTHj.js} +13 -13
  24. package/dist/{Scheduler-ChAmTqSR.js → Scheduler-BydXXFdb.js} +16 -16
  25. package/dist/{ServingSequence-ywa7-8rG.js → ServingSequence-BIlY0lhh.js} +20 -20
  26. package/dist/{Setting-CHUNtVho.js → Setting-D2mSH2_l.js} +20 -20
  27. package/dist/{Subcategory-0-99_i06.js → Subcategory-Dx7lCJaE.js} +19 -19
  28. package/dist/{Takeaway-BzvxZ_dA.js → Takeaway-DQCHnaxB.js} +10 -10
  29. package/dist/{Takeaway-CsJf5I8I.js → Takeaway-vZeqiYnK.js} +1 -1
  30. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Bh8mjdk4.js → Takeaway.vue_vue_type_script_setup_true_lang-BuWEny09.js} +20 -20
  31. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CbxgtwVa.js → Thumbnail.vue_vue_type_script_setup_true_lang-BlF5or9G.js} +20 -20
  32. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Dh_CA5gZ.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CIfdrBaX.js} +1505 -1522
  33. package/dist/{Unit-CbTkNhj2.js → Unit-DaIRAqj9.js} +13 -13
  34. package/dist/{Variant-NkbzEbF-.js → Variant-CwPHFHql.js} +15 -15
  35. package/dist/{_id_-mr4_eirX.js → _id_-gdzXnRkY.js} +14 -14
  36. package/dist/{app-BzsHQwP_.js → app-BRK18Pzq.js} +1 -1
  37. package/dist/app-C7idHkPU.js +363 -0
  38. package/dist/app.js +1 -1
  39. package/dist/apps/mf-menu/src/app.d.ts +1626 -1
  40. package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProduct.vue.d.ts +72 -0
  41. package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProductDialog.vue.d.ts +36 -0
  42. package/dist/apps/mf-menu/src/components/feature/ApplyProduct/index.d.ts +218 -0
  43. package/dist/apps/mf-menu/src/components/feature/Fields/OrderFrom.vue.d.ts +1 -1
  44. package/dist/apps/mf-menu/src/components/feature/GroupManager/OptionTable.vue.d.ts +52 -0
  45. package/dist/apps/mf-menu/src/components/feature/GroupManager/UpdateForm.vue.d.ts +36 -0
  46. package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierButton.vue.d.ts +110 -0
  47. package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierForm.vue.d.ts +110 -0
  48. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/item.d.ts +110 -0
  49. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/scheduler.d.ts +81 -0
  50. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/useItemFormManagement.d.ts +55 -0
  51. package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/OptionTable.vue.d.ts +52 -0
  52. package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/UpdateForm.vue.d.ts +36 -0
  53. package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/index.d.ts +144 -0
  54. package/dist/apps/mf-menu/src/components/feature/TreeEditor/item/ItemForm.vue.d.ts +165 -0
  55. package/dist/apps/mf-menu/src/components/feature/TreeEditor/menuUtils.d.ts +55 -0
  56. package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +375 -0
  57. package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/tree.d.ts +18 -18
  58. package/dist/apps/mf-menu/src/components/import/PreviewAddonContent.vue.d.ts +110 -0
  59. package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +81 -0
  60. package/dist/apps/mf-menu/src/helper/itemCategories.d.ts +55 -0
  61. package/dist/apps/mf-menu/src/helper/menu.d.ts +430 -0
  62. package/dist/apps/mf-menu/src/helper/menuImport.d.ts +375 -0
  63. package/dist/apps/mf-menu/src/manager/menu/item.d.ts +375 -0
  64. package/dist/apps/mf-menu/src/stores/manager/item.d.ts +165 -0
  65. package/dist/apps/mf-menu/src/stores/manager/scheduler.d.ts +81 -0
  66. package/dist/apps/mf-menu/src/stores/menu.d.ts +375 -0
  67. package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/Form.vue.d.ts +110 -0
  68. package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +220 -0
  69. package/dist/apps/mf-menu/src/views/Scheduler/FilterForm.vue.d.ts +52 -0
  70. package/dist/apps/mf-menu/src/views/Scheduler/SchedulerDialog.vue.d.ts +52 -0
  71. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  72. package/dist/assets/linked-status-CBDpK-sJ.js +13 -0
  73. package/dist/assets/override-menu-CKhoQX8C.js +13 -0
  74. package/dist/assets/validate-menu-Bd0HJtEE.js +13 -0
  75. package/dist/{catalog-C_6TM4e_.js → catalog-DUaNv8KG.js} +1 -1
  76. package/dist/{catalogSetting-pTMi5i6h.js → catalogSetting-Dv5gg8FZ.js} +1 -1
  77. package/dist/{category-CHNICcWp.js → category-bK12FQtW.js} +5 -5
  78. package/dist/{currency-Dx-pn9tw.js → currency-DY6dJBJl.js} +1 -1
  79. package/dist/{customAttributes-DvHKcDWb.js → customAttributes-DkW26Bc5.js} +1 -1
  80. package/dist/{index-X3RliLfv.js → index-B0vIEanV.js} +26 -26
  81. package/dist/{index-DGtoqrTo.js → index-BFUZvKOk.js} +1 -1
  82. package/dist/{index-CA3_R55p.js → index-C5eLCYqq.js} +13 -13
  83. package/dist/{index-DqIorABw.js → index-CII83JmK.js} +1 -1
  84. package/dist/{item-JhHKgoMj.js → item-ve_gbVz-.js} +2729 -2812
  85. package/dist/iteration-BJCvyPol.js +27 -0
  86. package/dist/{jszip.min-BQReTtS0.js → jszip.min-Cc_S6qRb.js} +353 -353
  87. package/dist/{menu-2ymqQnFE.js → menu-B0nEOY1F.js} +27904 -27336
  88. package/dist/{menu-Bhfx50bt.js → menu-C2TrhHCH.js} +1 -1
  89. package/dist/{menuV2-ZaA_QLdj.js → menuV2-TGyLK_nb.js} +56 -56
  90. package/dist/mf-menu.css +1 -1
  91. package/dist/packages/shared/src/components/form/SelectFilter.vue.d.ts +1 -1
  92. package/dist/packages/shared/src/components/info/TextChip.vue.d.ts +1 -1
  93. package/dist/{priceTier-IZtw6WUa.js → priceTier-DrwQuSKr.js} +1 -1
  94. package/dist/{scheduler-CzuGjuw5.js → scheduler-CQNnLYyx.js} +20 -20
  95. package/dist/{subcategory-Dt6tFvIu.js → subcategory-mEI4l24p.js} +6 -6
  96. package/dist/{toExcel-CUrEHCjB.js → toExcel--Sjhn3Fl.js} +2 -2
  97. package/dist/{unit-Ibbp0wZT.js → unit-C-k6t2BQ.js} +9 -9
  98. package/package.json +7 -7
  99. package/dist/app-DVB67WHZ.js +0 -2098
  100. package/dist/apps/mf-menu/src/components/Announcements.vue.d.ts +0 -19
  101. package/dist/apps/mf-menu/src/components/feature/RemyButton.vue.d.ts +0 -15
  102. package/dist/apps/mf-menu/src/components/feature/RemyDialog.vue.d.ts +0 -15
  103. package/dist/apps/mf-menu/src/helper/remy.d.ts +0 -5
  104. package/dist/apps/mf-menu/src/stores/announcement/announcement.d.ts +0 -11
  105. package/dist/assets/linked-status-Dwqdwyog.js +0 -13
  106. package/dist/assets/override-menu-CGexvHxV.js +0 -13
  107. package/dist/assets/validate-menu-C2daBpKY.js +0 -13
  108. package/dist/dayjs.min-BZu87fXJ.js +0 -6
  109. package/dist/iteration-BoeoXAHD.js +0 -23
@@ -1,15 +1,15 @@
1
- import { defineComponent as ie, computed as b, ref as $, reactive as Ve, watch as Ce, resolveComponent as d, createElementBlock as y, openBlock as m, Fragment as V, renderSlot as Me, createVNode as s, unref as e, withCtx as k, createBlock as T, createCommentVNode as G, createElementVNode as v, renderList as j, normalizeClass as J, createTextVNode as we, toDisplayString as U, getCurrentInstance as Ee, h as te, withModifiers as oe } from "vue";
1
+ import { defineComponent as ie, computed as b, ref as $, reactive as Ve, watch as Ce, resolveComponent as d, createElementBlock as y, openBlock as m, Fragment as V, renderSlot as Me, createVNode as s, unref as e, withCtx as k, createBlock as I, createCommentVNode as G, createElementVNode as v, renderList as j, normalizeClass as J, createTextVNode as we, toDisplayString as U, getCurrentInstance as Ee, h as te, withModifiers as oe } from "vue";
2
2
  import { useI18n as Q } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as W, components as se, useDialog as $e, FmButtonVariant as ue, useBreakpoints as Ue } from "@feedmepos/ui-library";
4
4
  import { _ as Ne } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { O as re, G as X, u as Z, H as Oe, D as K, I as Ie, e as le, J as q, A as H } from "./menu-2ymqQnFE.js";
6
- import { _ as Te } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
5
+ import { O as re, D as X, u as Z, H as Oe, B as K, I as Be, G as le, J as q, z as H } from "./menu-B0nEOY1F.js";
6
+ import { _ as Ie } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
7
7
  import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
8
- import { defineStore as Be } from "pinia";
9
- import { _ as ae, g as Le } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-BrhhXwp8.js";
8
+ import { defineStore as Te } from "pinia";
9
+ import { _ as ae, g as Le } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-CtRlYhYV.js";
10
10
  import { u as De } from "./discardConfirm-BHni0LNu.js";
11
11
  import { c as Pe } from "./check-C9mY6LiX.js";
12
- import { u as Re } from "./unit-Ibbp0wZT.js";
12
+ import { u as Re } from "./unit-C-k6t2BQ.js";
13
13
  import { c as Ae } from "./createComponentProgrammatically-Bt2rn1IQ.js";
14
14
  const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
15
15
  key: 0,
@@ -24,12 +24,12 @@ const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
24
24
  usedCodes: { default: () => [] },
25
25
  invalidSkuAndRecipe: {}
26
26
  },
27
- setup(B, { expose: N }) {
28
- const { t: l } = Q(), r = B, u = re(X(W())), S = Re(), h = b(() => r.initialValue ? l("menu.sku.update") : l("menu.sku.add")), x = b(
27
+ setup(T, { expose: N }) {
28
+ const { t: l } = Q(), r = T, u = re(X(W())), S = Re(), h = b(() => r.initialValue ? l("menu.sku.update") : l("menu.sku.add")), x = b(
29
29
  () => r.initialValue ? l("menu.common.actions.update") : l("menu.common.actions.add")
30
30
  ), C = $(!1), f = $(!1), M = (t) => {
31
31
  Pe.isBoolean(t) ? f.value = t : f.value = !f.value;
32
- }, O = Z(), a = b(() => O.units), i = b(() => a.value.map(({ name: t, _id: o, abbrev: g, measurements: I }) => ({
32
+ }, O = Z(), a = b(() => O.units), i = b(() => a.value.map(({ name: t, _id: o, abbrev: g, measurements: B }) => ({
33
33
  label: t,
34
34
  value: o,
35
35
  options: [
@@ -37,7 +37,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
37
37
  label: `${t} (${g})`,
38
38
  value: null
39
39
  },
40
- ...I.map(({ name: A, id: Y, abbrev: z }) => ({
40
+ ...B.map(({ name: A, id: Y, abbrev: z }) => ({
41
41
  label: `${A} (${z})`,
42
42
  value: Y
43
43
  }))
@@ -54,7 +54,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
54
54
  }), D = (t) => n.unit._id === t.value && n.trackingMeasurement === (t.value || null);
55
55
  function _(t, o) {
56
56
  const g = o || void 0;
57
- n.unit._id === t && n.trackingMeasurement === g || (n.unit = a.value.find((I) => I._id === t), n.trackingMeasurement = g, n.convert && (n.convert.measurement = g));
57
+ n.unit._id === t && n.trackingMeasurement === g || (n.unit = a.value.find((B) => B._id === t), n.trackingMeasurement = g, n.convert && (n.convert.measurement = g));
58
58
  }
59
59
  const de = b(() => {
60
60
  const t = i.value.find((o) => o.value === n.unit._id);
@@ -85,7 +85,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
85
85
  return R.value = (((t = n.convert) == null ? void 0 : t.inventoryBindings) || []).length === 0, !R.value;
86
86
  }
87
87
  const fe = De(
88
- () => !Ie.isEqual(n, r.initialValue || K.generator.initSku()),
88
+ () => !Be.isEqual(n, r.initialValue || K.generator.initSku()),
89
89
  () => {
90
90
  f.value = !1;
91
91
  }
@@ -123,7 +123,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
123
123
  show: f,
124
124
  trigger: M
125
125
  }), (t, o) => {
126
- const g = d("FmTextField"), I = d("FmLabel"), A = d("FmField"), Y = d("FmMenuHeader"), z = d("FmMenuDivider"), ge = d("FmMenuItem"), ye = d("FmMenu"), ke = d("FmFormGroup"), he = d("FmSwitch"), xe = d("FmSelect"), Fe = d("FmCard"), ne = d("fm-button"), Se = d("fm-side-sheet");
126
+ const g = d("FmTextField"), B = d("FmLabel"), A = d("FmField"), Y = d("FmMenuHeader"), z = d("FmMenuDivider"), ge = d("FmMenuItem"), ye = d("FmMenu"), ke = d("FmFormGroup"), he = d("FmSwitch"), xe = d("FmSelect"), Fe = d("FmCard"), ne = d("fm-button"), Se = d("fm-side-sheet");
127
127
  return m(), y(V, null, [
128
128
  Me(t.$slots, "default", { trigger: M }),
129
129
  s(Se, {
@@ -191,7 +191,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
191
191
  "model-value": L.value
192
192
  }, {
193
193
  label: k(() => [
194
- s(I, {
194
+ s(B, {
195
195
  label: e(l)("menu.sku.columns.unit")
196
196
  }, null, 8, ["label"])
197
197
  ]),
@@ -221,7 +221,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
221
221
  label: w.label
222
222
  }, null, 8, ["label"]),
223
223
  s(z),
224
- (m(!0), y(V, null, j(w.options, (E, dn) => (m(), T(ge, {
224
+ (m(!0), y(V, null, j(w.options, (E, dn) => (m(), I(ge, {
225
225
  label: E.label,
226
226
  "model-value": D(E),
227
227
  onClick: (mn) => _(w.value, E.value),
@@ -277,7 +277,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
277
277
  _: 1
278
278
  })
279
279
  ])) : (m(), y("div", ze, [
280
- a.value.length === 0 ? (m(), T(e(ce), {
280
+ a.value.length === 0 ? (m(), I(e(ce), {
281
281
  key: 0,
282
282
  action: {
283
283
  text: e(l)("menu.unit.add"),
@@ -295,8 +295,8 @@ const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
295
295
  ], 64);
296
296
  };
297
297
  }
298
- }), Je = He, Qe = Be("sku-manager", () => {
299
- const B = $e(), N = W(), l = X(N), r = re(l), u = Z(), S = Ee(), { t: h } = Q(), x = (a) => {
298
+ }), Je = He, Qe = Te("sku-manager", () => {
299
+ const T = $e(), N = W(), l = X(N), r = re(l), u = Z(), S = Ee(), { t: h } = Q(), x = (a) => {
300
300
  var c, n;
301
301
  const { vNode: i } = Ae(
302
302
  Je,
@@ -323,7 +323,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
323
323
  C(a);
324
324
  }
325
325
  async function O(a) {
326
- B.open({
326
+ T.open({
327
327
  title: h("menu.common.dialog.remove.ingredient.title"),
328
328
  message: h("menu.common.dialog.remove.ingredient.message", { name: a.name }),
329
329
  primaryActions: {
@@ -379,7 +379,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
379
379
  class: "fm-typo-en-body-md-600 font-semibold"
380
380
  }, Cn = /* @__PURE__ */ ie({
381
381
  __name: "Ingredient",
382
- setup(B) {
382
+ setup(T) {
383
383
  const N = W();
384
384
  X(N);
385
385
  const l = Z(), r = Qe(), {
@@ -428,10 +428,10 @@ const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
428
428
  const M = b(() => S.value.length), O = Ue(), a = b(() => O.breakpoints.value.xs);
429
429
  return (i, c) => {
430
430
  const n = d("FmSearch"), F = d("FmTable"), L = d("fm-button"), D = d("FmSpacer");
431
- return m(), T(Te, {
431
+ return m(), I(Ie, {
432
432
  heading: e(u)("menu.ingredient.title")
433
433
  }, {
434
- default: k(() => [S.value.length === 0 ? (m(), T(e(ce), {
434
+ default: k(() => [S.value.length === 0 ? (m(), I(e(ce), {
435
435
  key: 0,
436
436
  action: {
437
437
  text: e(u)("menu.ingredient.empty.action"),
@@ -479,7 +479,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
479
479
  "pin-header-row": "",
480
480
  onRowClick: c[1] || (c[1] = (_) => f(_.original))
481
481
  }, null, 8, ["column-defs", "row-data", "page-size"])]))], 64))]),
482
- "append-heading": k(() => [v("div", sn, [v("div", un, [v("div", rn, [v("p", cn, U(M.value), 1)])]), s(D), S.value.length > 0 ? (m(), T(Ne, {
482
+ "append-heading": k(() => [v("div", sn, [v("div", un, [v("div", rn, [v("p", cn, U(M.value), 1)])]), s(D), S.value.length > 0 ? (m(), I(Ne, {
483
483
  key: 0,
484
484
  label: e(u)("menu.ingredient.actions.add"),
485
485
  "prepend-icon": "add",
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as et, watch as st, computed as ve, resolveComponent as qe, createElementBlock as Ne, openBlock as Ae, createElementVNode as Le, createVNode as He, toDisplayString as tt, unref as Oe, isRef as ut, createBlock as dt, createCommentVNode as $t, Fragment as pt, renderList as mt, h as Ie } from "vue";
2
- import { u as ct, e as ze, B as We, a3 as Qe, c as gt, a4 as Ft } from "./menu-2ymqQnFE.js";
2
+ import { u as ct, G as ze, A as We, a3 as Qe, c as gt, a4 as Ft } from "./menu-B0nEOY1F.js";
3
3
  import { useI18n as nt } from "@feedmepos/mf-common";
4
4
  import { useDialogChild as ft, useProxiedModel as It, useDialog as yt, components as we, FmButtonColorThemeVariant as Ze, FmButtonVariant as Ke } from "@feedmepos/ui-library";
5
5
  import { u as St } from "./search-BAPEUu1R.js";
6
- var Be = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_ed443a72-bd0d-41d7-aa67-4dca18841611", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies__feedmepos_remy_vue_client: "0.1.3-beta.8", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^2.1.8", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_ed443a72-bd0d-41d7-aa67-4dca18841611", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4.feedmeapi.com", GTM_ID: "GTM-WR8XHXLH", FIREBASE_MESSAGING_SENDER_ID: "128512026847", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "production", npm_package_devDependencies_sass: "1.69.5", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.4.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.2.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-zzez732dna-as.a.run.app", SYSTEMD_EXEC_PID: "1773", npm_package_dependencies__feedmepos_ui_library: "1.8.7", npm_package_dependencies_dayjs: "^1.11.12", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_i18next: "^23.11.5", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "dotenv -e .env.dev pnpm build-only", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.25", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20251215.174.1", npm_package_scripts_dev: "vite --mode dev --port 5176", npm_package_scripts_build_prod: "dotenv -e .env.prod pnpm build-only", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_dependencies_i18next_vue: "^4.0.0", npm_package_devDependencies_prettier: "^3.0.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13418", GITHUB_WORKFLOW: "Publish mf-menu prod", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.11/x64", REMY_URL: "https://remy.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.5/x64", GITHUB_RUN_ID: "20693481254", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "d3813a8fb504049cd33259f2d8faf6b784924947", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "production", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu-prod.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", npm_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_c749343d-75e6-48b1-ac74-bfbb7531c500", INVOCATION_ID: "508c902b406e4556b88adc0b33d6bf7e", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "121", GITHUB_TRIGGERING_ACTOR: "heiseshandian", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-2MP52PC24R", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", npm_package_devDependencies__vitest_ui: "^2.1.8", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000035943", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_package_exports___style_css: "./dist/style.css", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "2.14.49", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.31.71-prod", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "false", FIREBASE_PROJECT_ID: "feedme-253402", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_scripts_test_coverage: "vitest --coverage", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "d3813a8fb504049cd33259f2d8faf6b784924947", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_test_ui: "vitest --ui", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_ed443a72-bd0d-41d7-aa67-4dca18841611", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "7780463", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_ed443a72-bd0d-41d7-aa67-4dca18841611", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_inventory_core: "^0.2.6", npm_package_dependencies__feedmepos_zod_entity: "0.0.4-alpha.9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_devDependencies_eslint_plugin_vue: "^9.17.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", npm_package_dependencies__feedmepos_menu: "1.7.21", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_ed443a72-bd0d-41d7-aa67-4dca18841611", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } }, rt = typeof Be < "u" && (Be.versions || {}).hasOwnProperty("node"), D = rt ? Object.create(globalThis) : globalThis;
6
+ var Be = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_e03a2608-fba6-47e8-8fe4-b3a19447b5f5", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^2.1.8", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_e03a2608-fba6-47e8-8fe4-b3a19447b5f5", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4.feedmeapi.com", GTM_ID: "GTM-WR8XHXLH", FIREBASE_MESSAGING_SENDER_ID: "128512026847", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "production", npm_package_devDependencies_sass: "1.69.5", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.4.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.2.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-zzez732dna-as.a.run.app", SYSTEMD_EXEC_PID: "1781", npm_package_dependencies__feedmepos_ui_library: "1.8.7", npm_package_dependencies_dayjs: "^1.11.12", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_i18next: "^23.11.5", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "dotenv -e .env.dev pnpm build-only", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.25", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260105.202.1", npm_package_scripts_dev: "vite --mode dev --port 5176", npm_package_scripts_build_prod: "dotenv -e .env.prod pnpm build-only", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_dependencies_i18next_vue: "^4.0.0", npm_package_devDependencies_prettier: "^3.0.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:12665", GITHUB_WORKFLOW: "Publish mf-menu prod", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.11/x64", REMY_URL: "https://remy.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.5/x64", GITHUB_RUN_ID: "20929888806", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "d2c7b6ee62210705454f247362504848e53d1caf", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "production", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu-prod.yml@refs/heads/feat/new-remy-portal", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", npm_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_699ed852-fb87-4c58-b791-361838a685fc", INVOCATION_ID: "79cc7754b13f4320a9e1b49669143ac1", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "123", GITHUB_TRIGGERING_ACTOR: "lokingwei", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-2MP52PC24R", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", npm_package_devDependencies__vitest_ui: "^2.1.8", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000038137", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/new-remy-portal", GITHUB_REPOSITORY: "feedmepos/portal", npm_package_exports___style_css: "./dist/style.css", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "2.14.58", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@2.6.1_lightningcss@1.30.2_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@2.6.1_lightningcss@1.30.2_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@2.6.1_lightningcss@1.30.2_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.31.72-prod.remy.1", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "false", FIREBASE_PROJECT_ID: "feedme-253402", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_scripts_test_coverage: "vitest --coverage", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "d2c7b6ee62210705454f247362504848e53d1caf", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/feat/new-remy-portal", GITHUB_ACTOR: "lokingwei", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_test_ui: "vitest --ui", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_e03a2608-fba6-47e8-8fe4-b3a19447b5f5", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "10398988", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_e03a2608-fba6-47e8-8fe4-b3a19447b5f5", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_inventory_core: "^0.2.6", npm_package_dependencies__feedmepos_zod_entity: "0.0.4-alpha.9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_devDependencies_eslint_plugin_vue: "^9.17.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", npm_package_dependencies__feedmepos_menu: "1.7.31", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_e03a2608-fba6-47e8-8fe4-b3a19447b5f5", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_dependencies__feedmepos_mf_remy_panel: "^0.1.0", NODE_ENV: "production" } }, rt = typeof Be < "u" && (Be.versions || {}).hasOwnProperty("node"), D = rt ? Object.create(globalThis) : globalThis;
7
7
  D.scheduleImmediate = typeof setImmediate < "u" ? function(ge) {
8
8
  setImmediate(ge);
9
9
  } : function(ge) {
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as be, ref as g, computed as A, watch as ve, resolveComponent as I, createElementBlock as S, openBlock as v, Fragment as M, renderSlot as _e, createVNode as u, unref as l, withCtx as p, createBlock as T, createCommentVNode as z, createElementVNode as _, toDisplayString as Y, renderList as Re } from "vue";
2
- import { H as F, Q as ye, u as q, A as Ae, I as J } from "./menu-2ymqQnFE.js";
2
+ import { H as F, Q as ye, u as q, z as Ae, I as J } from "./menu-B0nEOY1F.js";
3
3
  import { b as U } from "./app-5fxKLAzS.js";
4
4
  import { useI18n as ke, useCustomAttributes as K, useCoreStore as Ce, ItemSelector as he, EMPTY_RULE as B, isEmptyRule as W } from "@feedmepos/mf-common";
5
5
  import { components as Ve, FmButtonVariant as X } from "@feedmepos/ui-library";
6
- import { c as ge, u as Ie, a as h, m as O, f as E } from "./customAttributes-DvHKcDWb.js";
6
+ import { c as ge, u as Ie, a as h, m as O, f as E } from "./customAttributes-DkW26Bc5.js";
7
7
  import { u as Se } from "./discardConfirm-BHni0LNu.js";
8
- import { u as we } from "./menuV2-ZaA_QLdj.js";
8
+ import { u as we } from "./menuV2-TGyLK_nb.js";
9
9
  import { c as Fe } from "./check-C9mY6LiX.js";
10
10
  /* empty css */
11
11
  const Ue = (c, N) => {
@@ -1,14 +1,14 @@
1
- import { defineComponent as le, ref as U, computed as V, watch as P, resolveComponent as g, createBlock as J, openBlock as y, unref as e, withCtx as p, createElementVNode as r, createVNode as l, createElementBlock as R, Fragment as ue, renderList as oe, toDisplayString as D, createCommentVNode as z, withModifiers as be } from "vue";
2
- import { u as se, I as W, G as ce, B as ge, H as re } from "./menu-2ymqQnFE.js";
1
+ import { defineComponent as le, ref as $, computed as V, watch as P, resolveComponent as g, createBlock as J, openBlock as y, unref as e, withCtx as p, createElementVNode as r, createVNode as l, createElementBlock as R, Fragment as ue, renderList as oe, toDisplayString as D, createCommentVNode as z, withModifiers as be } from "vue";
2
+ import { u as se, I as W, D as ce, A as ge, H as re } from "./menu-B0nEOY1F.js";
3
3
  import { useI18n as ae, useCustomAttributes as ie, useCoreStore as de, EMPTY_RULE as Q, isEmptyRule as me } from "@feedmepos/mf-common";
4
4
  import { components as ne, FmButtonVariant as E, useDialog as ye, useSnackbar as pe, useBreakpoints as he, FmButtonColorThemeVariant as te } from "@feedmepos/ui-library";
5
- import { u as ke, c as Ce, m as q, _ as X, a as K, f as H } from "./customAttributes-DvHKcDWb.js";
6
- import { _ as _e } from "./app-DVB67WHZ.js";
5
+ import { u as ke, c as Ce, m as q, _ as X, a as K, f as H } from "./customAttributes-DkW26Bc5.js";
6
+ import { _ as _e } from "./app-C7idHkPU.js";
7
7
  import { b as Y } from "./app-5fxKLAzS.js";
8
8
  import { u as Se } from "./discardConfirm-BHni0LNu.js";
9
9
  import { _ as xe } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
10
- import { C as j, a as N } from "./catalogSetting-pTMi5i6h.js";
11
- import { u as we } from "./priceTier-IZtw6WUa.js";
10
+ import { C as j, a as N } from "./catalogSetting-Dv5gg8FZ.js";
11
+ import { u as we } from "./priceTier-DrwQuSKr.js";
12
12
  const Re = {
13
13
  class: "fm-typo-en-title-md-600 mr-auto"
14
14
  }, Ae = {
@@ -19,11 +19,11 @@ const Re = {
19
19
  class: "grid md:grid-cols-3 gap-16"
20
20
  }, Fe = {
21
21
  class: "md:col-span-2 space-y-16"
22
- }, Ge = {
23
- class: "flex justify-end"
24
22
  }, Ue = {
23
+ class: "flex justify-end"
24
+ }, $e = {
25
25
  class: "flex gap-8 items-center justify-start"
26
- }, $e = /* @__PURE__ */ le({
26
+ }, Ge = /* @__PURE__ */ le({
27
27
  __name: "RuleGroupSideSheet",
28
28
  props: {
29
29
  modelValue: {
@@ -35,9 +35,9 @@ const Re = {
35
35
  setup(Z, {
36
36
  emit: o
37
37
  }) {
38
- const S = Z, $ = o, {
38
+ const S = Z, G = o, {
39
39
  t: i
40
- } = ae(), A = se(), t = U({
40
+ } = ae(), A = se(), t = $({
41
41
  name: "",
42
42
  description: "",
43
43
  rules: []
@@ -62,8 +62,8 @@ const Re = {
62
62
  categories: V(() => A.categories || [])
63
63
  }), x = V({
64
64
  get: () => S.modelValue,
65
- set: (u) => $("update:modelValue", u)
66
- }), L = U(null);
65
+ set: (u) => G("update:modelValue", u)
66
+ }), L = $(null);
67
67
  P(() => S.editingGroup, (u) => {
68
68
  u ? t.value = {
69
69
  name: u.name,
@@ -93,13 +93,13 @@ const Re = {
93
93
  rules: []
94
94
  });
95
95
  });
96
- function G(u) {
96
+ function U(u) {
97
97
  return `${u}_${(/* @__PURE__ */ new Date()).toISOString()}`;
98
98
  }
99
99
  async function _() {
100
100
  var a;
101
101
  const u = {
102
- _id: ((a = S.editingGroup) == null ? void 0 : a._id) ?? G("group"),
102
+ _id: ((a = S.editingGroup) == null ? void 0 : a._id) ?? U("group"),
103
103
  name: t.value.name,
104
104
  description: t.value.description,
105
105
  rules: t.value.rules.map((s) => ({
@@ -114,11 +114,11 @@ const Re = {
114
114
  } : void 0
115
115
  }))
116
116
  };
117
- $("submit", u);
117
+ G("submit", u);
118
118
  }
119
119
  function m() {
120
120
  t.value.rules.push({
121
- _id: G("rule"),
121
+ _id: U("rule"),
122
122
  restaurantRule: {
123
123
  restaurantAttributes: null,
124
124
  restaurantCustomAttributes: null
@@ -163,7 +163,7 @@ const Re = {
163
163
  "prepend-icon": "arrow_back",
164
164
  onClick: a[0] || (a[0] = () => x.value = !1)
165
165
  }, null, 8, ["variant"]), r("p", Re, D(u.editingGroup ? e(i)("menu.rule_groups.edit_group") : e(i)("menu.rule_groups.create_group")), 1)]),
166
- "side-sheet-footer": p(() => [r("div", Ue, [l(s, {
166
+ "side-sheet-footer": p(() => [r("div", $e, [l(s, {
167
167
  label: e(i)("common.save"),
168
168
  size: "lg",
169
169
  type: "submit",
@@ -257,7 +257,7 @@ const Re = {
257
257
  }, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])];
258
258
  }),
259
259
  _: 2
260
- }, 1032, ["label"])])]), r("div", Ge, [l(s, {
260
+ }, 1032, ["label"])])]), r("div", Ue, [l(s, {
261
261
  variant: e(E).Tertiary,
262
262
  "prepend-icon": "delete",
263
263
  onClick: (w) => v(O)
@@ -309,7 +309,7 @@ const Re = {
309
309
  setup(Z) {
310
310
  const {
311
311
  t: o
312
- } = ae(), S = ye(), $ = pe(), i = ce($), A = se(), t = U(A.state.menu.ruleGroupSettings || {
312
+ } = ae(), S = ye(), G = pe(), i = ce(G), A = se(), t = $(A.state.menu.ruleGroupSettings || {
313
313
  groups: []
314
314
  });
315
315
  P(() => A.state.menu.ruleGroupSettings, (n) => {
@@ -319,7 +319,7 @@ const Re = {
319
319
  }, {
320
320
  deep: !0
321
321
  });
322
- const k = U(!1), F = U(null), h = he(), M = V(() => h.breakpoints.value.xs), T = U(""), I = V(() => t.value.groups.filter((n) => n.name.toLowerCase().includes(T.value.toLowerCase()))), x = [{
322
+ const k = $(!1), F = $(null), h = he(), M = V(() => h.breakpoints.value.xs), T = $(""), I = V(() => t.value.groups.filter((n) => n.name.toLowerCase().includes(T.value.toLowerCase()))), x = [{
323
323
  header: o("menu.rule_groups.table.columns.name"),
324
324
  accessorKey: "name",
325
325
  enableSorting: !0
@@ -344,7 +344,7 @@ const Re = {
344
344
  function L(n) {
345
345
  _(n.original);
346
346
  }
347
- function G() {
347
+ function U() {
348
348
  F.value = null, k.value = !0;
349
349
  }
350
350
  function _(n) {
@@ -398,7 +398,7 @@ const Re = {
398
398
  }, null, 8, ["modelValue", "placeholder"])]), l(f, {
399
399
  icon: "add",
400
400
  variant: e(E).Secondary,
401
- onClick: G
401
+ onClick: U
402
402
  }, null, 8, ["variant"])]), r("div", ze, [(y(!0), R(ue, null, oe(I.value, (s) => (y(), R("div", {
403
403
  key: s._id,
404
404
  class: "flex flex-row py-12 px-16 cursor-pointer",
@@ -411,7 +411,7 @@ const Re = {
411
411
  }, null, 8, ["text-color", "variant", "onClick"])], 8, Pe))), 128))])])) : (y(), R("div", Me, [r("div", Ie, [r("div", null, [r("h1", Be, D(e(o)("menu.rule_groups.title")), 1), r("p", Ne, D(e(o)("menu.rule_groups.description")), 1)]), l(f, {
412
412
  label: e(o)("menu.rule_groups.create_group"),
413
413
  icon: "add",
414
- onClick: G
414
+ onClick: U
415
415
  }, null, 8, ["label"])]), r("div", De, [r("div", Ee, [l(u, {
416
416
  modelValue: T.value,
417
417
  "onUpdate:modelValue": c[0] || (c[0] = (s) => T.value = s),
@@ -427,7 +427,7 @@ const Re = {
427
427
  onRowClick: L
428
428
  }, null, 8, ["row-data", "page-size"])]),
429
429
  _: 1
430
- })])), l($e, {
430
+ })])), l(Ge, {
431
431
  modelValue: k.value,
432
432
  "onUpdate:modelValue": c[2] || (c[2] = (s) => k.value = s),
433
433
  "editing-group": F.value,
@@ -458,14 +458,14 @@ const Re = {
458
458
  }, vt = /* @__PURE__ */ le({
459
459
  __name: "MenuSetting",
460
460
  setup(Z) {
461
- var G;
461
+ var U;
462
462
  const {
463
463
  t: o
464
- } = ae(), S = se(), $ = de(), i = pe(), A = ce(i), t = V(() => ({
464
+ } = ae(), S = se(), G = de(), i = pe(), A = ce(i), t = V(() => ({
465
465
  lowStock: S.state.menu.lowStockThreshold,
466
466
  taxSetting: S.state.menu.masterCatalogSetting,
467
467
  priceTierSettings: S.state.menu.priceTierSettings
468
- })), k = U("conf"), F = V(() => [{
468
+ })), k = $("conf"), F = V(() => [{
469
469
  label: o("menu.menu_setting.tabs.menu_configuration"),
470
470
  value: "conf"
471
471
  }, ...S.isV4 ? [{
@@ -474,15 +474,15 @@ const Re = {
474
474
  }, {
475
475
  label: o("menu.menu_setting.tabs.link_product_rule_groups"),
476
476
  value: "link-product-rule-groups"
477
- }] : []]), h = U(j.transformTax((G = t.value.taxSetting) == null ? void 0 : G.inclusiveTaxes));
477
+ }] : []]), h = $(j.transformTax((U = t.value.taxSetting) == null ? void 0 : U.inclusiveTaxes));
478
478
  P(() => t.value, (_) => {
479
479
  var m;
480
480
  h.value = j.transformTax((m = _.taxSetting) == null ? void 0 : m.inclusiveTaxes);
481
481
  });
482
482
  const M = V(() => {
483
- if (!$.currentCountry.value) return [];
483
+ if (!G.currentCountry.value) return [];
484
484
  const _ = h.value.mode === N.MANUAL ? h.value.inclusive ?? [] : [];
485
- return ge.Country.getCountry($.currentCountry.value).taxSystems.map((v) => {
485
+ return ge.Country.getCountry(G.currentCountry.value).taxSystems.map((v) => {
486
486
  const C = _.find((n) => n.systemCode === v.code);
487
487
  return {
488
488
  inclusive: (C == null ? void 0 : C.inclusive) || !1,
@@ -1,15 +1,15 @@
1
- import { defineComponent as H, ref as T, computed as f, resolveComponent as g, createBlock as P, openBlock as p, unref as l, withCtx as m, createElementVNode as i, createVNode as c, createCommentVNode as J, toDisplayString as S, createElementBlock as L, Fragment as A, renderList as B, h as _, withModifiers as q } from "vue";
1
+ import { defineComponent as J, ref as T, computed as f, resolveComponent as g, createBlock as P, openBlock as p, unref as l, withCtx as m, createElementVNode as i, createVNode as c, createCommentVNode as G, toDisplayString as S, createElementBlock as L, Fragment as A, renderList as B, h as _, withModifiers as q } from "vue";
2
2
  import { useI18n as Q } from "@feedmepos/mf-common";
3
3
  import { components as W, useSnackbar as te, useDialog as oe } from "@feedmepos/ui-library";
4
4
  import { _ as ne } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { _ as ae } from "./app-DVB67WHZ.js";
6
- import { H as j, I as le, J as Y, A as C, u as re, O as se, G as ie } from "./menu-2ymqQnFE.js";
7
- import { _ as G } from "./customAttributes-DvHKcDWb.js";
5
+ import { _ as ae } from "./app-C7idHkPU.js";
6
+ import { H as j, I as le, J as Y, z as C, u as re, O as se, D as ie } from "./menu-B0nEOY1F.js";
7
+ import { _ as H } from "./customAttributes-DkW26Bc5.js";
8
8
  import { u as ue } from "./discardConfirm-BHni0LNu.js";
9
- import { L as de } from "./LinkProductSideSheet-DPn7KN3l.js";
9
+ import { L as de } from "./LinkProductSideSheet-C8rzleiM.js";
10
10
  import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
11
11
  import { _ as me } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
12
- const pe = { class: "fm-typo-en-title-md-600" }, _e = { class: "space-y-32" }, fe = { class: "space-y-16" }, ve = { class: "flex items-center gap-8" }, ye = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, ge = { class: "flex-1" }, he = { class: "grow overflow-y-auto" }, be = { class: "text-fm-color-typo-secondary bg-fm-color-neutral-gray-100 px-16 py-8 border-b border-b-fm-color-neutral-gray-200" }, xe = { class: "px-16 py-8 flex-1" }, ke = { class: "py-8" }, Fe = { class: "flex gap-8 items-center justify-start" }, Ie = /* @__PURE__ */ H({
12
+ const pe = { class: "fm-typo-en-title-md-600" }, _e = { class: "space-y-32" }, fe = { class: "space-y-16" }, ve = { class: "flex items-center gap-8" }, ye = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, ge = { class: "flex-1" }, he = { class: "grow overflow-y-auto" }, be = { class: "text-fm-color-typo-secondary bg-fm-color-neutral-gray-100 px-16 py-8 border-b border-b-fm-color-neutral-gray-200" }, xe = { class: "px-16 py-8 flex-1" }, ke = { class: "py-8" }, Fe = { class: "flex gap-8 items-center justify-start" }, Ie = /* @__PURE__ */ J({
13
13
  __name: "PrintDepartmentDialog",
14
14
  props: {
15
15
  categorizedItems: {
@@ -25,7 +25,7 @@ const pe = { class: "fm-typo-en-title-md-600" }, _e = { class: "space-y-32" }, f
25
25
  setup(v, { expose: t, emit: h }) {
26
26
  const N = v;
27
27
  t({
28
- showModal: z,
28
+ showModal: D,
29
29
  hideModal: V
30
30
  });
31
31
  function b() {
@@ -36,7 +36,7 @@ const pe = { class: "fm-typo-en-title-md-600" }, _e = { class: "space-y-32" }, f
36
36
  };
37
37
  }
38
38
  const x = T(!1), M = T(void 0);
39
- function z(r) {
39
+ function D(r) {
40
40
  M.value = r ? j(r) : b(), n.value = j(M.value), x.value = !0;
41
41
  }
42
42
  function V() {
@@ -55,15 +55,15 @@ const pe = { class: "fm-typo-en-title-md-600" }, _e = { class: "space-y-32" }, f
55
55
  applyToItems: n.value.applyToItems.filter((a) => a !== r)
56
56
  };
57
57
  }
58
- const { t: u } = Q(), O = f(() => n.value._id ? u("menu.print_route.department_dialog.update.title") : u("menu.print_route.department_dialog.add.title")), F = f(() => n.value._id ? u("menu.print_route.department_dialog.update.action") : u("menu.print_route.department_dialog.add.action")), U = f(() => n.value.applyToItems.length), K = f(
58
+ const { t: u } = Q(), O = f(() => n.value._id ? u("menu.print_route.department_dialog.update.title") : u("menu.print_route.department_dialog.add.title")), F = f(() => n.value._id ? u("menu.print_route.department_dialog.update.action") : u("menu.print_route.department_dialog.add.action")), z = f(() => n.value.applyToItems.length), K = f(
59
59
  () => n.value.applyToItems.reduce((r, a) => (r[a] = [], r), {})
60
60
  ), e = T(""), o = f(() => {
61
61
  const r = e.value.toLowerCase();
62
62
  return N.categorizedItems.reduce((a, d) => {
63
- const D = d.items.filter(
63
+ const U = d.items.filter(
64
64
  (I) => (!r || I.name.toLowerCase().includes(r)) && !!K.value[I._id]
65
65
  );
66
- return D.length && a.push({ ...d, items: D }), a;
66
+ return U.length && a.push({ ...d, items: U }), a;
67
67
  }, []);
68
68
  }), y = h, w = ue(
69
69
  () => !le.isEqual(M.value, n.value),
@@ -75,7 +75,7 @@ const pe = { class: "fm-typo-en-title-md-600" }, _e = { class: "space-y-32" }, f
75
75
  V(), y("onSave", n.value);
76
76
  }
77
77
  return (r, a) => {
78
- const d = g("FmTextField"), D = g("FmSpacer"), I = g("FmButton"), X = g("FmSearch"), Z = g("FmSideSheet");
78
+ const d = g("FmTextField"), U = g("FmSpacer"), I = g("FmButton"), X = g("FmSearch"), Z = g("FmSideSheet");
79
79
  return p(), P(Z, {
80
80
  modelValue: x.value,
81
81
  "onUpdate:modelValue": a[3] || (a[3] = (s) => x.value = s),
@@ -110,7 +110,7 @@ const pe = { class: "fm-typo-en-title-md-600" }, _e = { class: "space-y-32" }, f
110
110
  ]),
111
111
  default: m(() => [
112
112
  i("div", _e, [
113
- c(G, {
113
+ c(H, {
114
114
  title: l(u)("menu.print_route.department_dialog.sections.route_detail.title")
115
115
  }, {
116
116
  default: m(() => [
@@ -127,12 +127,12 @@ const pe = { class: "fm-typo-en-title-md-600" }, _e = { class: "space-y-32" }, f
127
127
  ]),
128
128
  _: 1
129
129
  }, 8, ["title"]),
130
- v.canApplyItems ? (p(), P(G, {
130
+ v.canApplyItems ? (p(), P(H, {
131
131
  key: 0,
132
132
  title: l(u)("menu.print_route.department_dialog.sections.link_product.title")
133
133
  }, {
134
134
  "append-title": m(() => [
135
- c(D),
135
+ c(U),
136
136
  c(de, {
137
137
  "categorized-items": v.categorizedItems,
138
138
  "initial-value": n.value.applyToItems.map((s) => ({
@@ -157,7 +157,7 @@ const pe = { class: "fm-typo-en-title-md-600" }, _e = { class: "space-y-32" }, f
157
157
  i("div", fe, [
158
158
  i("div", ve, [
159
159
  i("div", ye, S(l(u)("menu.print_route.department_dialog.sections.link_product.products_linked", {
160
- count: U.value
160
+ count: z.value
161
161
  })), 1),
162
162
  i("div", ge, [
163
163
  c(X, {
@@ -191,7 +191,7 @@ const pe = { class: "fm-typo-en-title-md-600" }, _e = { class: "space-y-32" }, f
191
191
  ])
192
192
  ]),
193
193
  _: 1
194
- }, 8, ["title"])) : J("", !0)
194
+ }, 8, ["title"])) : G("", !0)
195
195
  ])
196
196
  ]),
197
197
  _: 1
@@ -238,7 +238,7 @@ const Ee = {
238
238
  class: "fm-typo-en-body-lg-600"
239
239
  }, Le = {
240
240
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
241
- }, Ye = /* @__PURE__ */ H({
241
+ }, Ye = /* @__PURE__ */ J({
242
242
  __name: "PrintRoute",
243
243
  setup(v) {
244
244
  const {
@@ -287,13 +287,13 @@ const Ee = {
287
287
  }, ["stop", "prevent"])
288
288
  })])
289
289
  }]);
290
- function z() {
290
+ function D() {
291
291
  var e;
292
- k.value || (e = U.value) == null || e.showModal();
292
+ k.value || (e = z.value) == null || e.showModal();
293
293
  }
294
294
  function V(e) {
295
295
  var o;
296
- k.value || (o = U.value) == null || o.showModal({
296
+ k.value || (o = z.value) == null || o.showModal({
297
297
  ...e,
298
298
  applyToItems: e.applyToItems.map(({
299
299
  _id: y
@@ -332,7 +332,7 @@ const Ee = {
332
332
  await n.updateMenu(we(e), e.name, !0);
333
333
  });
334
334
  }
335
- const F = T(""), U = T(), K = f(() => {
335
+ const F = T(""), z = T(), K = f(() => {
336
336
  if (!F.value) return b.value;
337
337
  const e = F.value.toLowerCase();
338
338
  return b.value.filter((o) => o.name.toLowerCase().includes(e));
@@ -348,8 +348,8 @@ const Ee = {
348
348
  icon: "add",
349
349
  label: l(t)("menu.print_route.actions.add"),
350
350
  variant: "primary",
351
- onClick: z
352
- }, null, 8, ["disabled", "label"])) : J("", !0)])]),
351
+ onClick: D
352
+ }, null, 8, ["disabled", "label"])) : G("", !0)])]),
353
353
  default: m(() => [x.value ? (p(), L(A, {
354
354
  key: 1
355
355
  }, [i("div", Te, [c(y, {
@@ -401,13 +401,13 @@ const Ee = {
401
401
  key: 0,
402
402
  action: {
403
403
  text: l(t)("menu.print_route.empty.action"),
404
- callback: z
404
+ callback: D
405
405
  },
406
406
  subtitle: l(t)("menu.print_route.empty.subtitle"),
407
407
  title: l(t)("menu.print_route.empty.title")
408
408
  }, null, 8, ["action", "subtitle", "title"])), c(Ie, {
409
409
  ref_key: "printDepartmentRef",
410
- ref: U,
410
+ ref: z,
411
411
  "categorized-items": N.value,
412
412
  onOnSave: $
413
413
  }, null, 8, ["categorized-items"])]),
@@ -1,4 +1,4 @@
1
- import { a as f } from "./Product.vue_vue_type_script_setup_true_lang-BksTc5Gm.js";
1
+ import { a as f } from "./Product.vue_vue_type_script_setup_true_lang-HlvAWI2U.js";
2
2
  export {
3
3
  f as default
4
4
  };