@feedmepos/mf-menu 0.31.35-beta.1 → 0.31.36-beta

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 (63) hide show
  1. package/dist/{App-BkDEqZHN.js → App-Cui-XStB.js} +30 -53
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-YeaxfcJN.js → ApplyProduct.vue_vue_type_script_setup_true_lang-cUYW6sW5.js} +2 -2
  3. package/dist/{Catalog-6pOytZU3.js → Catalog-MktLa55D.js} +68 -68
  4. package/dist/{Category-PtVyxTJZ.js → Category-C-s_lW3M.js} +14 -14
  5. package/dist/{Category-CXk98gto.js → Category-CEMqueNk.js} +29 -29
  6. package/dist/{CookingGuide-Cy8w8cd9.js → CookingGuide-eWdk6mho.js} +65 -65
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Bxn29Ylq.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CcKt1abw.js} +1 -1
  8. package/dist/{Group-D_fipwz6.js → Group-Bg2Ylu9p.js} +1 -1
  9. package/dist/{Group-DmNtEt9J.js → Group-VircdSF_.js} +3 -3
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-C8W8uPvN.js → Group.vue_vue_type_script_setup_true_lang-CyW8Gh6c.js} +7 -7
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DfgXJWUw.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-yQjS-X1R.js} +4 -4
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-KFWive_R.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-26ogJPxR.js} +7 -7
  13. package/dist/{Ingredient-BbGs11gS.js → Ingredient-CegrU_cQ.js} +23 -23
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-fNVMd9PS.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CzhbZPKE.js} +2 -2
  15. package/dist/{LinkProductSideSheet-CIUQw7oo.js → LinkProductSideSheet-BJlrPykg.js} +24 -24
  16. package/dist/{MenuSetting-BXSAAPma.js → MenuSetting-D70NMQWp.js} +20 -20
  17. package/dist/{PrintRoute-Bb25Wqx5.js → PrintRoute-bAS3UL9d.js} +18 -18
  18. package/dist/{Product-qNa1EPNM.js → Product-Cu2f-ZSs.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-DI0d2huN.js → Product.vue_vue_type_script_setup_true_lang-CYfDGs7M.js} +65 -65
  20. package/dist/{ProductInternalTools-CyiAzThW.js → ProductInternalTools-6X6XUdH6.js} +16 -16
  21. package/dist/{Products-oCEkdzLE.js → Products-DYgr_65I.js} +11 -11
  22. package/dist/{Publish-CWGdR3nh.js → Publish-DhdYNYH2.js} +3 -3
  23. package/dist/{Recipe-DWlzfgXY.js → Recipe-Bb5gqrsE.js} +13 -13
  24. package/dist/{Scheduler-BGhRV9Yi.js → Scheduler-Tk0cPXz4.js} +7 -7
  25. package/dist/{ServingSequence-Dj6eZp3x.js → ServingSequence-DUghx8CU.js} +24 -24
  26. package/dist/{Setting-Di_Rn61o.js → Setting-DIl9WhmE.js} +11 -11
  27. package/dist/{Subcategory-CGinXMy8.js → Subcategory-C8Igjkze.js} +10 -10
  28. package/dist/{Takeaway-C1KdbLMw.js → Takeaway-ZfBLSZMG.js} +1 -1
  29. package/dist/{Takeaway-BSWrXSGI.js → Takeaway-xHGsoah-.js} +9 -9
  30. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-wONUlNNM.js → Takeaway.vue_vue_type_script_setup_true_lang-DItRiL8J.js} +11 -11
  31. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-_pWcSpCk.js → Thumbnail.vue_vue_type_script_setup_true_lang-Dmk-5eGV.js} +7 -7
  32. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-ncoMfO1b.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-OJ0A70lo.js} +13 -13
  33. package/dist/{Unit-B71wMP-S.js → Unit-CfmYi7kG.js} +13 -13
  34. package/dist/{Variant-B14TfXg7.js → Variant-D6hyic1A.js} +14 -14
  35. package/dist/{_id_-CjlhUxyd.js → _id_-DT2EQjcY.js} +32 -32
  36. package/dist/{app-C0_ZxHle.js → app-Do8sOqMh.js} +362 -367
  37. package/dist/{app-NhsMLypF.js → app-jvyTuOVi.js} +1 -1
  38. package/dist/app.js +1 -1
  39. package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +1 -1
  40. package/dist/apps/mf-menu/src/router/shared.d.ts +1 -3
  41. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  42. package/dist/assets/{linked-status-DaKKqv0U.js → linked-status-DQ161R27.js} +2 -2
  43. package/dist/assets/{override-menu-BzQzJzDM.js → override-menu-VGwIGccm.js} +2 -2
  44. package/dist/assets/{validate-menu-DH8daaxV.js → validate-menu-Dx9kwuMh.js} +2 -2
  45. package/dist/{catalog-DDA5CEEW.js → catalog-BL6h_DDN.js} +1 -1
  46. package/dist/{catalogSetting-B2UCaWJL.js → catalogSetting-DEabwfXZ.js} +1 -1
  47. package/dist/{category-B29E8Z6Z.js → category-CKujA-NM.js} +5 -5
  48. package/dist/{currency-D8F5PN67.js → currency-BFai41BQ.js} +1 -1
  49. package/dist/{dayjs.min-C5O_Xdlu.js → dayjs.min-B5ost3s4.js} +1 -1
  50. package/dist/{index-Chaiecso.js → index-D70F0uL_.js} +14 -14
  51. package/dist/{index-DzWK9GfE.js → index-D9PdlnOv.js} +14 -14
  52. package/dist/{index-D6qeYZH_.js → index-nSRvCNb9.js} +1 -1
  53. package/dist/{item-CRYbpxtN.js → item-DqdhjOW8.js} +15 -15
  54. package/dist/{jszip.min-CEFKmniH.js → jszip.min-_LmXapMc.js} +2 -2
  55. package/dist/{menu-CyVBU_ww.js → menu-Cj3d6im1.js} +9 -9
  56. package/dist/{menu-Bi0HvP-T.js → menu-S1W5eNCT.js} +1 -1
  57. package/dist/{menuV2-DUplflZy.js → menuV2-K6oaeFE4.js} +70 -70
  58. package/dist/{priceTier-BKUDkpVL.js → priceTier-Cnci8Hf5.js} +1 -1
  59. package/dist/{scheduler-BQnvljfv.js → scheduler-D7qY3sLN.js} +30 -30
  60. package/dist/{subcategory-DI_tttwh.js → subcategory-CHsH67ID.js} +6 -6
  61. package/dist/{toExcel-Cld55eZa.js → toExcel-DhVG55bK.js} +2 -2
  62. package/dist/{unit-DCXUBn-h.js → unit-C3zaQSoS.js} +6 -6
  63. package/package.json +2 -2
@@ -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-CyVBU_ww.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, e as le, J as q, G as H } from "./menu-Cj3d6im1.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-fNVMd9PS.js";
8
+ import { defineStore as Te } from "pinia";
9
+ import { _ as ae, g as Le } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-CzhbZPKE.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-DCXUBn-h.js";
12
+ import { u as Re } from "./unit-C3zaQSoS.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 ct, h as Ie } from "vue";
2
- import { u as mt, e as ze, B as We, a4 as Qe, c as gt, a5 as Ft } from "./menu-CyVBU_ww.js";
2
+ import { u as mt, e as ze, A as We, a4 as Qe, c as gt, a5 as Ft } from "./menu-Cj3d6im1.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_5690e42a-94dd-4c17-95cd-9d5fef324511", 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", 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_5690e42a-94dd-4c17-95cd-9d5fef324511", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.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-dev.feedmeapi.com", GTM_ID: "GTM-P7Z9FMS6", FIREBASE_MESSAGING_SENDER_ID: "458797803788", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", 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.2.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.1.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.2.13676358", 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-rsrq3ogsuq-as.a.run.app", SYSTEMD_EXEC_PID: "1742", npm_package_dependencies__feedmepos_ui_library: "1.7.4", 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", 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: "20250922.53.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.3", 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-dev.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:10074", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/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.7/x64", REMY_URL: "https://remy-dev.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", GITHUB_RUN_ID: "18182589437", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2c9c548cf72f4d427f75242dd8163ade3e6685f1", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", 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.yml@refs/heads/fix-portal-with-new-modules", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.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_50a4b0eb-69bb-4ed1-b471-876644c104df", INVOCATION_ID: "69962f2144294cf79e0081278de1ea51", 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: "439", GITHUB_TRIGGERING_ACTOR: "CXinyii", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", 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", 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 1000019978", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "fix-portal-with-new-modules", 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.36", 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_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.35-beta.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: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", 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_dependencies_lodash: "^4.17.21", GITHUB_SHA: "2c9c548cf72f4d427f75242dd8163ade3e6685f1", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", 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/fix-portal-with-new-modules", GITHUB_ACTOR: "CXinyii", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", 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_5690e42a-94dd-4c17-95cd-9d5fef324511", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "139468922", 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_5690e42a-94dd-4c17-95cd-9d5fef324511", 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: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", 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: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", npm_package_dependencies__feedmepos_menu: "1.7.12", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_5690e42a-94dd-4c17-95cd-9d5fef324511", 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_9d2ec5ff-00ec-4329-b06d-f44faf076de1", 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", 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_9d2ec5ff-00ec-4329-b06d-f44faf076de1", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.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-dev.feedmeapi.com", GTM_ID: "GTM-P7Z9FMS6", FIREBASE_MESSAGING_SENDER_ID: "458797803788", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", 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.2.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.1.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.2.13676358", 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-rsrq3ogsuq-as.a.run.app", SYSTEMD_EXEC_PID: "1758", npm_package_dependencies__feedmepos_ui_library: "1.7.4", 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", 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: "20250922.53.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.3", 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-dev.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:12825", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/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.7/x64", REMY_URL: "https://remy-dev.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", GITHUB_RUN_ID: "18182876063", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "ad4586f315df7be5cf0f15b97485aa73fee6a758", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", 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.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.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_a64b1686-1741-4a7b-ad2f-5dcee958a26b", INVOCATION_ID: "d4f0db656bce4f31bc4fec0ba97bece8", 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: "440", GITHUB_TRIGGERING_ACTOR: "victorchai", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", 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", 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 1000019992", 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.36", 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_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.36-beta", 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: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", 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_dependencies_lodash: "^4.17.21", GITHUB_SHA: "ad4586f315df7be5cf0f15b97485aa73fee6a758", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", 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: "victorchai", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", 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_9d2ec5ff-00ec-4329-b06d-f44faf076de1", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "49786844", 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_9d2ec5ff-00ec-4329-b06d-f44faf076de1", 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: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", 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: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", npm_package_dependencies__feedmepos_menu: "1.7.12", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_9d2ec5ff-00ec-4329-b06d-f44faf076de1", 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;
7
7
  D.scheduleImmediate = typeof setImmediate < "u" ? function(ge) {
8
8
  setImmediate(ge);
9
9
  } : function(ge) {
@@ -1,12 +1,12 @@
1
- import { defineComponent as G, createElementBlock as b, openBlock as c, createElementVNode as u, renderSlot as U, createCommentVNode as w, toDisplayString as B, ref as A, computed as S, watch as D, resolveComponent as R, Fragment as O, createVNode as n, unref as l, withCtx as v, createBlock as N, renderList as de } from "vue";
2
- import { H as V, Q as ce, u as pe, A as fe, I as j } from "./menu-CyVBU_ww.js";
1
+ import { defineComponent as q, createElementBlock as b, openBlock as c, createElementVNode as u, renderSlot as U, createCommentVNode as w, toDisplayString as B, ref as R, computed as S, watch as D, resolveComponent as A, Fragment as O, createVNode as n, unref as l, withCtx as v, createBlock as N, renderList as de } from "vue";
2
+ import { H as V, Q as ce, u as pe, G as fe, I as j } from "./menu-Cj3d6im1.js";
3
3
  import { N as Q, b as T, x as P } from "./LinkProductSideSheet.vue_vue_type_style_index_0_scoped_97fa9d58_lang-DvG3mOom.js";
4
- import { useI18n as ve, isEmptyRule as C, useCustomAttributes as H, useCoreStore as be, ItemSelector as _e, EMPTY_RULE as F, isEmptyMongoQuery as Y } from "@feedmepos/mf-common";
5
- import { components as ye, FmButtonVariant as q } from "@feedmepos/ui-library";
4
+ import { useI18n as ve, isEmptyRule as C, useCustomAttributes as G, useCoreStore as be, ItemSelector as _e, EMPTY_RULE as F, isEmptyMongoQuery as H } from "@feedmepos/mf-common";
5
+ import { components as ye, FmButtonVariant as Y } from "@feedmepos/ui-library";
6
6
  import { u as he } from "./discardConfirm-BHni0LNu.js";
7
- import { u as ke } from "./menuV2-DUplflZy.js";
8
- import { c as Ae } from "./check-C9mY6LiX.js";
9
- const Re = (r, p) => {
7
+ import { u as ke } from "./menuV2-K6oaeFE4.js";
8
+ import { c as Re } from "./check-C9mY6LiX.js";
9
+ const Ae = (r, p) => {
10
10
  const s = r.__vccOpts || r;
11
11
  for (const [g, i] of p)
12
12
  s[g] = i;
@@ -14,7 +14,7 @@ const Re = (r, p) => {
14
14
  }, ge = { class: "space-y-8" }, Ie = { class: "flex items-center justify-between" }, Se = { class: "space-y-8" }, Ve = { class: "fm-typo-en-body-lg-600" }, Ce = {
15
15
  key: 0,
16
16
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
17
- }, $ = /* @__PURE__ */ G({
17
+ }, $ = /* @__PURE__ */ q({
18
18
  __name: "FormItem",
19
19
  props: {
20
20
  label: {},
@@ -37,7 +37,7 @@ var m = /* @__PURE__ */ ((r) => (r[r.Normal = 0] = "Normal", r[r.Rules = 1] = "R
37
37
  const Fe = { class: "fm-typo-en-title-md-600 mr-auto" }, we = {
38
38
  key: 1,
39
39
  class: "flex items-center gap-12"
40
- }, Be = { class: "flex items-center gap-8" }, Ee = { class: "text-neutral-600 fm-typo-body-sm" }, Oe = { class: "grid md:grid-cols-3 gap-16" }, Ne = { class: "md:col-span-2 space-y-16" }, $e = { class: "flex justify-end" }, Ue = { class: "flex gap-8 items-center justify-start" }, Le = /* @__PURE__ */ G({
40
+ }, Be = { class: "flex items-center gap-8" }, Ee = { class: "text-neutral-600 fm-typo-body-sm" }, Oe = { class: "grid md:grid-cols-3 gap-16" }, Ne = { class: "md:col-span-2 space-y-16" }, $e = { class: "flex justify-end" }, Ue = { class: "flex gap-8 items-center justify-start" }, Le = /* @__PURE__ */ q({
41
41
  __name: "LinkProductSideSheet",
42
42
  props: {
43
43
  initialValue: { default: () => [] },
@@ -54,25 +54,25 @@ const Fe = { class: "fm-typo-en-title-md-600 mr-auto" }, we = {
54
54
  },
55
55
  emits: ["submit"],
56
56
  setup(r, { emit: p }) {
57
- const s = r, g = p, { t: i } = ve(), _ = A(m.Normal);
57
+ const s = r, g = p, { t: i } = ve(), _ = R(m.Normal);
58
58
  function J(t) {
59
59
  _.value = t;
60
60
  }
61
- const f = A(!1), L = (t) => {
62
- Ae.isBoolean(t) ? f.value = t : f.value = !f.value;
61
+ const f = R(!1), L = (t) => {
62
+ Re.isBoolean(t) ? f.value = t : f.value = !f.value;
63
63
  };
64
64
  function E(t) {
65
65
  return t.reduce((e, a) => (e[a._id] = [...e[a._id] ?? [], a], e), {});
66
66
  }
67
- const K = s.initialValue, h = A(E(V(K))), M = S(() => Object.values(h.value).flatMap((t) => t)), k = A(
67
+ const K = s.initialValue, h = R(E(V(K))), M = S(() => Object.values(h.value).flatMap((t) => t)), k = R(
68
68
  V(s.linkItemRules)
69
- ), o = A();
69
+ ), o = R();
70
70
  function x() {
71
71
  var t;
72
72
  return (t = k.value) == null ? void 0 : t.map((e) => ({
73
73
  ...e,
74
- restaurantAttributes: Y(e.restaurantAttributes) ? F : P.build(e.restaurantAttributes),
75
- itemAttributes: Y(e.itemAttributes) ? F : P.build(e.itemAttributes)
74
+ restaurantAttributes: H(e.restaurantAttributes) ? F : P.build(e.restaurantAttributes),
75
+ itemAttributes: H(e.itemAttributes) ? F : P.build(e.itemAttributes)
76
76
  }));
77
77
  }
78
78
  o.value = x(), D(
@@ -110,10 +110,10 @@ const Fe = { class: "fm-typo-en-title-md-600 mr-auto" }, we = {
110
110
  const Z = S(() => {
111
111
  const t = ce();
112
112
  return Object.values(t).sort((e, a) => a.sortingIndex - e.sortingIndex).map((e) => ({ label: e.label, value: e.value }));
113
- }), { attributes: ee } = H({
113
+ }), { attributes: ee } = G({
114
114
  valueSource: be().restaurants,
115
115
  entity: "restaurant"
116
- }), te = S(() => s.menuItems || []), { attributes: le } = H({
116
+ }), te = S(() => s.menuItems || []), { attributes: le } = G({
117
117
  valueSource: te,
118
118
  entity: "item"
119
119
  });
@@ -148,7 +148,7 @@ const Fe = { class: "fm-typo-en-title-md-600 mr-auto" }, we = {
148
148
  return s.noScheduler && t.currentCatalog;
149
149
  });
150
150
  return (t, e) => {
151
- const a = R("fm-button"), ue = R("fm-switch"), re = R("FmSelect"), ie = R("FmCard"), me = R("fm-side-sheet");
151
+ const a = A("fm-button"), ue = A("fm-switch"), re = A("FmSelect"), ie = A("FmCard"), me = A("fm-side-sheet");
152
152
  return c(), b(O, null, [
153
153
  U(t.$slots, "default", { trigger: L }, void 0, !0),
154
154
  n(me, {
@@ -167,7 +167,7 @@ const Fe = { class: "fm-typo-en-title-md-600 mr-auto" }, we = {
167
167
  "side-sheet-header": v(() => [
168
168
  t.useCloseBtn ? w("", !0) : (c(), N(a, {
169
169
  key: 0,
170
- variant: l(q).Tertiary,
170
+ variant: l(Y).Tertiary,
171
171
  class: "cursor-pointer mr-4",
172
172
  "prepend-icon": "arrow_back",
173
173
  onClick: L
@@ -266,7 +266,7 @@ const Fe = { class: "fm-typo-en-title-md-600 mr-auto" }, we = {
266
266
  ]),
267
267
  u("div", $e, [
268
268
  n(a, {
269
- variant: l(q).Tertiary,
269
+ variant: l(Y).Tertiary,
270
270
  "prepend-icon": "delete",
271
271
  onClick: (y) => se(I)
272
272
  }, null, 8, ["variant", "onClick"])
@@ -288,10 +288,10 @@ const Fe = { class: "fm-typo-en-title-md-600 mr-auto" }, we = {
288
288
  ], 64);
289
289
  };
290
290
  }
291
- }), He = /* @__PURE__ */ Re(Le, [["__scopeId", "data-v-97fa9d58"]]);
291
+ }), Ge = /* @__PURE__ */ Ae(Le, [["__scopeId", "data-v-97fa9d58"]]);
292
292
  export {
293
- He as L,
294
- Re as _,
293
+ Ge as L,
294
+ Ae as _,
295
295
  $ as a,
296
296
  m as b
297
297
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as P, computed as T, ref as F, watch as H, createVNode as n, resolveComponent as c, createBlock as V, openBlock as d, unref as e, withCtx as p, createElementVNode as _, createElementBlock as k, createCommentVNode as y, Fragment as K, renderList as q, toDisplayString as U } from "vue";
2
- import { u as J, G as Q, B as R, H as M } from "./menu-CyVBU_ww.js";
1
+ import { defineComponent as G, computed as T, ref as F, watch as H, createVNode as n, resolveComponent as c, createBlock as V, openBlock as d, unref as e, withCtx as p, createElementVNode as _, createElementBlock as k, createCommentVNode as y, Fragment as K, renderList as q, toDisplayString as U } from "vue";
2
+ import { u as J, D as Q, A as R, H as A } from "./menu-Cj3d6im1.js";
3
3
  import { useI18n as W, useCoreStore as X } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as Y, components as Z, FmButtonVariant as ee, FmButtonColorThemeVariant as te } from "@feedmepos/ui-library";
5
- import { _ as A } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
6
- import { _ as le } from "./app-C0_ZxHle.js";
5
+ import { _ as M } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
6
+ import { _ as le } from "./app-Do8sOqMh.js";
7
7
  import { _ as ne } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
8
- import { C as b, a as m } from "./catalogSetting-B2UCaWJL.js";
9
- import { u as oe } from "./priceTier-BKUDkpVL.js";
8
+ import { C as b, a as m } from "./catalogSetting-DEabwfXZ.js";
9
+ import { u as oe } from "./priceTier-Cnci8Hf5.js";
10
10
  const ae = {
11
11
  class: "py-16"
12
12
  }, se = {
@@ -25,13 +25,13 @@ const ae = {
25
25
  class: "fm-typo-en-title-md-600"
26
26
  }, de = {
27
27
  class: "text-fm-color-typo-secondary"
28
- }, ye = /* @__PURE__ */ P({
28
+ }, ye = /* @__PURE__ */ G({
29
29
  __name: "MenuSetting",
30
30
  setup(pe) {
31
31
  var h;
32
32
  const {
33
33
  t
34
- } = W(), v = J(), w = X(), B = Y(), N = Q(B), u = T(() => ({
34
+ } = W(), v = J(), w = X(), N = Y(), B = Q(N), u = T(() => ({
35
35
  lowStock: v.state.menu.lowStockThreshold,
36
36
  taxSetting: v.state.menu.masterCatalogSetting,
37
37
  priceTierSettings: v.state.menu.priceTierSettings
@@ -58,7 +58,7 @@ const ae = {
58
58
  });
59
59
  });
60
60
  function L(a) {
61
- const l = i.value, s = l.mode === m.AUTO ? b.manualTax(S.value) : M(l);
61
+ const l = i.value, s = l.mode === m.AUTO ? b.manualTax(S.value) : A(l);
62
62
  s.inclusive ?? (s.inclusive = []);
63
63
  const r = s.inclusive.findIndex((g) => g.systemCode === a.systemCode);
64
64
  r < 0 ? s.inclusive.push(a) : s.inclusive.splice(r, 1, a), i.value = s;
@@ -66,8 +66,8 @@ const ae = {
66
66
  async function O() {
67
67
  if (u.value.lowStock !== null && u.value.lowStock !== void 0 && !Number.isInteger(u.value.lowStock))
68
68
  return;
69
- const a = i.value.mode === m.AUTO ? null : M(i.value.inclusive);
70
- await N.minor(async () => {
69
+ const a = i.value.mode === m.AUTO ? null : A(i.value.inclusive);
70
+ await B.minor(async () => {
71
71
  const l = u.value.lowStock === null || u.value.lowStock === void 0 || u.value.lowStock === 0;
72
72
  await v.updateMenuSetting({
73
73
  masterCatalogSetting: {
@@ -97,7 +97,7 @@ const ae = {
97
97
  }, null)])
98
98
  }];
99
99
  return (a, l) => {
100
- const s = c("FmTabs"), r = c("fm-radio"), g = c("fm-radio-group"), E = c("fm-checkbox"), $ = c("FormItem"), j = c("FmStepperField"), C = c("FmButton"), D = c("FmTable");
100
+ const s = c("FmTabs"), r = c("fm-radio"), g = c("fm-radio-group"), D = c("fm-checkbox"), E = c("FormItem"), $ = c("FmStepperField"), C = c("FmButton"), j = c("FmTable");
101
101
  return d(), V(ne, {
102
102
  heading: e(t)("menu.menu_setting.title")
103
103
  }, {
@@ -105,10 +105,10 @@ const ae = {
105
105
  items: I.value,
106
106
  modelValue: x.value,
107
107
  "onUpdate:modelValue": l[0] || (l[0] = (o) => x.value = o)
108
- }, null, 8, ["items", "modelValue"]), _("div", ae, [x.value === "conf" ? (d(), k("div", se, [n(A, {
108
+ }, null, 8, ["items", "modelValue"]), _("div", ae, [x.value === "conf" ? (d(), k("div", se, [n(M, {
109
109
  title: "Tax setting"
110
110
  }, {
111
- default: p(() => [n($, {
111
+ default: p(() => [n(E, {
112
112
  label: e(t)("menu.setting.tax.title")
113
113
  }, {
114
114
  default: p(() => [n(g, {
@@ -127,26 +127,26 @@ const ae = {
127
127
  sublabel: e(t)("menu.setting.tax.modes.manual.sublabel")
128
128
  }, null, 8, ["value", "label", "sublabel"])]),
129
129
  _: 1
130
- }, 8, ["model-value"]), i.value.mode === e(m).MANUAL ? (d(), k("div", ue, [(d(!0), k(K, null, q(S.value, (o) => (d(), V(E, {
130
+ }, 8, ["model-value"]), i.value.mode === e(m).MANUAL ? (d(), k("div", ue, [(d(!0), k(K, null, q(S.value, (o) => (d(), V(D, {
131
131
  key: o.systemCode,
132
132
  "model-value": o.inclusive,
133
133
  value: !0,
134
134
  label: o.systemCode + " inclusive",
135
- "onUpdate:modelValue": (G) => {
135
+ "onUpdate:modelValue": (P) => {
136
136
  L({
137
137
  ...o,
138
- inclusive: G
138
+ inclusive: P
139
139
  });
140
140
  }
141
141
  }, null, 8, ["model-value", "label", "onUpdate:modelValue"]))), 128))])) : y("", !0)]),
142
142
  _: 1
143
143
  }, 8, ["label"])]),
144
144
  _: 1
145
- }), n(A, {
145
+ }), n(M, {
146
146
  title: e(t)("menu.menu_setting.fields.low_stock.title"),
147
147
  "sub-title": e(t)("menu.menu_setting.fields.low_stock.subtitle")
148
148
  }, {
149
- default: p(() => [n(j, {
149
+ default: p(() => [n($, {
150
150
  "model-value": u.value.lowStock || null,
151
151
  min: 0,
152
152
  max: 1e3,
@@ -167,7 +167,7 @@ const ae = {
167
167
  icon: "add",
168
168
  onClick: e(f).create
169
169
  }, null, 8, ["label", "onClick"])]), n(le, null, {
170
- default: p(() => [n(D, {
170
+ default: p(() => [n(j, {
171
171
  "column-defs": z,
172
172
  "row-data": e(f).priceTiers.value,
173
173
  "page-size": e(f).priceTiers.value.length,
@@ -2,11 +2,11 @@ import { defineComponent as H, ref as T, computed as f, resolveComponent as g, c
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-C0_ZxHle.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-CyVBU_ww.js";
5
+ import { _ as ae } from "./app-Do8sOqMh.js";
6
+ import { H as j, I as le, J as Y, G as C, u as re, O as se, D as ie } from "./menu-Cj3d6im1.js";
7
7
  import { _ as G } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
8
8
  import { u as ue } from "./discardConfirm-BHni0LNu.js";
9
- import { L as de } from "./LinkProductSideSheet-CIUQw7oo.js";
9
+ import { L as de } from "./LinkProductSideSheet-BJlrPykg.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
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({
@@ -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: U,
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 U(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")), D = 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 z = 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 z.length && a.push({ ...d, items: z }), 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"), z = 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),
@@ -132,7 +132,7 @@ const pe = { class: "fm-typo-en-title-md-600" }, _e = { class: "space-y-32" }, f
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(z),
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: D.value
161
161
  })), 1),
162
162
  i("div", ge, [
163
163
  c(X, {
@@ -287,13 +287,13 @@ const Ee = {
287
287
  }, ["stop", "prevent"])
288
288
  })])
289
289
  }]);
290
- function z() {
290
+ function U() {
291
291
  var e;
292
- k.value || (e = U.value) == null || e.showModal();
292
+ k.value || (e = D.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 = D.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(""), D = 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,7 +348,7 @@ const Ee = {
348
348
  icon: "add",
349
349
  label: l(t)("menu.print_route.actions.add"),
350
350
  variant: "primary",
351
- onClick: z
351
+ onClick: U
352
352
  }, null, 8, ["disabled", "label"])) : J("", !0)])]),
353
353
  default: m(() => [x.value ? (p(), L(A, {
354
354
  key: 1
@@ -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: U
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: D,
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-DI0d2huN.js";
1
+ import { a as f } from "./Product.vue_vue_type_script_setup_true_lang-CYfDGs7M.js";
2
2
  export {
3
3
  f as default
4
4
  };