@feedmepos/mf-menu 0.32.43-dev → 0.32.43-dev.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 (63) hide show
  1. package/dist/{App-CrjDDWL_.js → App-CiqMdAvF.js} +5 -5
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-C9_vvfQ0.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CVs7MfmX.js} +3 -3
  3. package/dist/{Catalog-B0smQVC5.js → Catalog-KzftKfOt.js} +6 -6
  4. package/dist/{Category-CRnTrk7Z.js → Category-em6K5yk3.js} +4 -4
  5. package/dist/{Category--CBhhHgr.js → Category-pNQdkIvn.js} +4 -4
  6. package/dist/{CookingGuide-pLzJqj05.js → CookingGuide-Bp9CvTAi.js} +4 -4
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BescRkpm.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BbsxEs6O.js} +1 -1
  8. package/dist/{Group-h2MxylAR.js → Group-eE_snSRq.js} +1 -1
  9. package/dist/{Group-BoVi0Rcg.js → Group-mIwdwq58.js} +3 -3
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-DoSZp0U5.js → Group.vue_vue_type_script_setup_true_lang-C5l4ycJB.js} +7 -7
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CBOntQef.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B4PznWDZ.js} +5 -5
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DshK6DwV.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-eS8pMvVG.js} +7 -7
  13. package/dist/{Ingredient-DjZmix9T.js → Ingredient-BNvYYdb5.js} +3 -3
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-fSRrfMjQ.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CzQIddna.js} +2 -2
  15. package/dist/{LinkProductSideSheet-1CEGjcHq.js → LinkProductSideSheet-BQQtUuCr.js} +3 -3
  16. package/dist/{MenuSetting-umNE52d9.js → MenuSetting-s9syqMsT.js} +5 -5
  17. package/dist/{PrintRoute-BnFG1IjW.js → PrintRoute-BqMxtnus.js} +4 -4
  18. package/dist/{Product-B_FPUoEN.js → Product-CHhpb-2E.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-Bs8eI9g5.js → Product.vue_vue_type_script_setup_true_lang-DHny0uGc.js} +12 -12
  20. package/dist/{ProductInternalTools-Bp2gz3QJ.js → ProductInternalTools-DEB8Xhnv.js} +5 -5
  21. package/dist/{Products-Ddtfvm7l.js → Products-C7UtJMGZ.js} +13 -13
  22. package/dist/{Publish-C0W6ofjm.js → Publish-tnJY6n8r.js} +3 -3
  23. package/dist/{Recipe-BhnMIcc7.js → Recipe-DDPXv3AU.js} +4 -4
  24. package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-D9VL-PzK.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-PFRwBb1c.js} +1 -1
  25. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-Bj4O3uSe.js → RuleView.vue_vue_type_script_setup_true_lang-roEHTZnU.js} +2 -2
  26. package/dist/{Scheduler-BRwPYceV.js → Scheduler-CMKwUkNN.js} +3 -3
  27. package/dist/{ServingSequence-MObSgHV2.js → ServingSequence-NA0yeDMF.js} +3 -3
  28. package/dist/{Setting-D7jNJPYo.js → Setting-BRfi_hxY.js} +5 -5
  29. package/dist/{Subcategory-D0i9wZms.js → Subcategory-W9faZY7n.js} +5 -5
  30. package/dist/{Takeaway-B0rN8xm3.js → Takeaway-5DKxdpZ3.js} +1 -1
  31. package/dist/{Takeaway-DSZV63GV.js → Takeaway-fijUedLA.js} +4 -4
  32. package/dist/Takeaway.vue_vue_type_script_setup_true_lang-BhiFnON_.js +324 -0
  33. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-b_0rh_qC.js → Thumbnail.vue_vue_type_script_setup_true_lang-BUNPf1OD.js} +4 -4
  34. package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-CHTaPIEV.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-DZp38dX4.js} +1 -1
  35. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DKveCAMk.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DC4naR16.js} +12 -12
  36. package/dist/{Unit-D8r8gc_c.js → Unit-582FVjPq.js} +2 -2
  37. package/dist/{Variant-x9Q2azsr.js → Variant-Cb02SmoL.js} +3 -3
  38. package/dist/{_id_-BwgaCrRc.js → _id_-BYU1xwzB.js} +9 -9
  39. package/dist/{app-ProVGxGi.js → app-0m01R0SM.js} +31 -31
  40. package/dist/{app-D8DICtN-.js → app-CcPyLfvj.js} +1 -1
  41. package/dist/app.js +1 -1
  42. package/dist/assets/{linked-status-Ck-5QNWw.js → linked-status-C1DHqpkR.js} +2 -2
  43. package/dist/assets/{menu-export-CCvx9iiX.js → menu-export-Ci-MXpn1.js} +2 -2
  44. package/dist/assets/{override-menu-y10fUcKT.js → override-menu-CajXgOdO.js} +2 -2
  45. package/dist/assets/{validate-menu-Dw-TOpPc.js → validate-menu-DDPswAia.js} +2 -2
  46. package/dist/{catalog-Bzeh9lHl.js → catalog-Bs3SNL7n.js} +1 -1
  47. package/dist/{catalogSetting-WYVwRyqN.js → catalogSetting-BN4d_FvT.js} +1 -1
  48. package/dist/{currency-CkevBlpn.js → currency-Cma3AX0v.js} +1 -1
  49. package/dist/{dayjs.min-DcCQ_MAV.js → dayjs.min-D-HR3H5W.js} +2 -2
  50. package/dist/{index-BIvW0NKj.js → index-3wsuY29D.js} +5 -5
  51. package/dist/{index-r4bszgqF.js → index-DXY5zcNA.js} +3 -3
  52. package/dist/{index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js → index.vue_vue_type_script_setup_true_lang-DotsunNI.js} +5 -5
  53. package/dist/{item-CDOMAerF.js → item-DOcT7NVT.js} +14 -14
  54. package/dist/{jszip.min-CaR1xyCC.js → jszip.min-h2cXUF_-.js} +3 -3
  55. package/dist/{menu-vnpCb5nt.js → menu-CAmS3pcT.js} +1 -1
  56. package/dist/{menuV2-wfldXb10.js → menuV2-COwLB3e1.js} +72 -72
  57. package/dist/{priceTier-BgYIRc-s.js → priceTier-DrrQcFCh.js} +1 -1
  58. package/dist/{rules-XWOGU9mA.js → rules-DGRdKiV6.js} +3 -3
  59. package/dist/{scheduler-B7oIfXlC.js → scheduler-BpEV0N8K.js} +4 -4
  60. package/dist/{toExcel-DMfq-sYZ.js → toExcel-eN1zgiqN.js} +2 -2
  61. package/dist/{unit-BicSjw1Q.js → unit-BAcozp9s.js} +2 -2
  62. package/package.json +1 -1
  63. package/dist/Takeaway.vue_vue_type_script_setup_true_lang-jLe2HU1c.js +0 -316
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as G, ref as M, computed as R, onMounted as ie, resolveComponent as $, createElementBlock as V, openBlock as y, createVNode as h, createElementVNode as f, toDisplayString as L, unref as p, Fragment as j, renderList as Q, createBlock as Y, watch as de, withCtx as E, h as T, normalizeClass as re, createCommentVNode as X, createTextVNode as me, mergeProps as $e, normalizeStyle as Ae, renderSlot as Ue, withModifiers as te, onUnmounted as Be } from "vue";
2
- import { D as z } from "./dayjs.min-DcCQ_MAV.js";
2
+ import { D as z } from "./dayjs.min-D-HR3H5W.js";
3
3
  import { useRouter as De } from "vue-router";
4
4
  import { O as Oe, b as Te } from "./app-5fxKLAzS.js";
5
- import { z as Ne, D as Re, B as ve, aa as Ee, a2 as be, y as q, u as _e, G as pe, H as Le } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
5
+ import { z as Ne, D as Re, B as ve, aa as Ee, a2 as be, y as q, u as _e, G as pe, H as Le } from "./index.vue_vue_type_script_setup_true_lang-DotsunNI.js";
6
6
  import { useI18n as Z, useCoreStore as ge, RestaurantSelector as ye } from "@feedmepos/mf-common";
7
7
  import { useSnackbar as ce, useDialogChild as ze, useProxiedModel as je, useDialog as ke, FmButtonVariant as fe, components as W } from "@feedmepos/ui-library";
8
8
  import { _ as He } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
9
- import { _ as Ce } from "./app-ProVGxGi.js";
9
+ import { _ as Ce } from "./app-0m01R0SM.js";
10
10
  import { a as Ye, w as Ke } from "./tooltip-B5BiPMx9.js";
11
11
  import { u as we } from "./discardConfirm-BHni0LNu.js";
12
12
  import { _ as xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -2,14 +2,14 @@ import { defineComponent as z, computed as h, ref as w, reactive as Q, watch as
2
2
  import { useI18n as I } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as A, components as j, useDialog as ne, FmButtonVariant as G, useBreakpoints as oe } from "@feedmepos/ui-library";
4
4
  import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { _ as le } from "./app-ProVGxGi.js";
6
- import { O as q, B as $, G as ie, A as P, H as se, D as B, J as T, y as U, u as H, a2 as re } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
5
+ import { _ as le } from "./app-0m01R0SM.js";
6
+ import { O as q, B as $, G as ie, A as P, H as se, D as B, J as T, y as U, u as H, a2 as re } from "./index.vue_vue_type_script_setup_true_lang-DotsunNI.js";
7
7
  import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
8
8
  import { defineStore as ue } from "pinia";
9
- import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-fSRrfMjQ.js";
9
+ import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-CzQIddna.js";
10
10
  import { u as de } from "./discardConfirm-BHni0LNu.js";
11
11
  import { c as pe } from "./check-C9mY6LiX.js";
12
- import "./unit-BicSjw1Q.js";
12
+ import "./unit-BAcozp9s.js";
13
13
  import { c as fe } from "./createComponentProgrammatically-Bt2rn1IQ.js";
14
14
  const _e = { class: "fm-typo-en-title-md-600" }, ve = { class: "pt-8 space-y-40" }, ye = { class: "flex flex-row gap-16" }, ge = { class: "flex gap-8 items-center justify-start" }, be = /* @__PURE__ */ z({
15
15
  __name: "Form",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as D, ref as R, resolveComponent as u, createElementBlock as E, openBlock as P, Fragment as B, createElementVNode as f, createVNode as l, normalizeClass as A, withCtx as i, toDisplayString as g, unref as o, h as I } from "vue";
2
2
  import { useI18n as T, useCustomAttributes as K, useCoreStore as N } from "@feedmepos/mf-common";
3
3
  import { components as U } from "@feedmepos/ui-library";
4
- import { d as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-Bj4O3uSe.js";
4
+ import { d as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-roEHTZnU.js";
5
5
  const j = {
6
6
  class: /* @__PURE__ */ A(["fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap", "text-fm-color-neutral-gray-400"])
7
7
  }, O = {
@@ -2,7 +2,7 @@ import { defineComponent as ie, createElementBlock as Y, openBlock as x, normali
2
2
  import { x as xn, N as Kn } from "./app-5fxKLAzS.js";
3
3
  import { useCoreStore as Dt, useI18n as He, useCustomAttributes as Bt, EMPTY_RULE as Yn, isEmptyMongoQuery as jn, isEmptyRule as Xn } from "@feedmepos/mf-common";
4
4
  import "@vue/devtools-api";
5
- import { u as Tn, H as xt, y as vt } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
5
+ import { u as Tn, H as xt, y as vt } from "./index.vue_vue_type_script_setup_true_lang-DotsunNI.js";
6
6
  import { FmButtonVariant as Fe, components as qn } from "@feedmepos/ui-library";
7
7
  const Jn = /* @__PURE__ */ ie({
8
8
  __name: "FormColumn",
@@ -1891,7 +1891,7 @@ function Vo(e, t, n, r) {
1891
1891
  return e.processor && (E.processor = e.processor), r.list && (E.list = r.list), r.named && (E.named = r.named), ee(r.plural) && (E.pluralIndex = r.plural), E;
1892
1892
  }
1893
1893
  wr();
1894
- var $o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_cc20e2fd-e96d-42b3-99e5-06d39d43943d", DOTNET_NOLOGO: "1", USER: "runner", npm_config_user_agent: "pnpm/10.8.0 npm/? node/v18.20.8 linux x64", CI: "true", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_cc20e2fd-e96d-42b3-99e5-06d39d43943d", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", 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", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", 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", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.5.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", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", VITE_FEATURE_FLAG_API_KEY: "MaGoXrEWuEJNpWgKTqseee", SYSTEMD_EXEC_PID: "1851", ACTIONS_ORCHESTRATION_ID: "32e52943-4dae-4899-8b70-876fb3b9c03f.publish.deploy.__default", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260513.135.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", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13583", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", REMY_URL: "https://remy-dev.feedmeapi.com/v1", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.10/x64", GITHUB_RUN_ID: "25856707052", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapidev.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "a81a3fbb05446934b84068d2a118e6934ae76ed5", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", 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_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/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@10.8.0/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@10.8.0/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@10.8.0/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_29671d36-9e61-43df-9c3d-44cbee21dc3c", INVOCATION_ID: "b6161e0ec647444a9033a97675b1af2f", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "554", GITHUB_TRIGGERING_ACTOR: "victorchai", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", VITE_LICENSE_API_URL: "https://license-v2-dev.feedmeapi.com", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000068899", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", 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", 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@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/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@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.32.43-dev", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", GTM_DEBUG: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", GITHUB_SHA: "a81a3fbb05446934b84068d2a118e6934ae76ed5", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "victorchai", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_cc20e2fd-e96d-42b3-99e5-06d39d43943d", 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@10.8.0/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_cc20e2fd-e96d-42b3-99e5-06d39d43943d", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", 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", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_cc20e2fd-e96d-42b3-99e5-06d39d43943d", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
1894
+ var $o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_aaac07cd-5f4c-42af-acdf-9e9161b11d8a", DOTNET_NOLOGO: "1", USER: "runner", npm_config_user_agent: "pnpm/10.8.0 npm/? node/v18.20.8 linux x64", CI: "true", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_aaac07cd-5f4c-42af-acdf-9e9161b11d8a", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", 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", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", 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", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.4.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", 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", VITE_FEATURE_FLAG_API_KEY: "MaGoXrEWuEJNpWgKTqseee", SYSTEMD_EXEC_PID: "1869", ACTIONS_ORCHESTRATION_ID: "5ad29396-07af-493d-a376-b75d933c7511.publish.deploy.__default", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260413.86.1", 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", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15542", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", REMY_URL: "https://remy-dev.feedmeapi.com/v1", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.9/x64", GITHUB_RUN_ID: "25864715678", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapidev.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "fe3897434fe5c993254ef9bed77f00c1afe073c8", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", 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_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/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@10.8.0/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@10.8.0/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@10.8.0/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_c4ff2dd1-48da-40b5-bf99-be9c1d99b4a0", INVOCATION_ID: "d0caf781cf244052965ae713c0e58ce4", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "555", GITHUB_TRIGGERING_ACTOR: "heiseshandian", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", VITE_LICENSE_API_URL: "https://license-v2-dev.feedmeapi.com", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000068974", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", 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", 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@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/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@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.32.43-dev.1", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", GTM_DEBUG: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", GITHUB_SHA: "fe3897434fe5c993254ef9bed77f00c1afe073c8", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_aaac07cd-5f4c-42af-acdf-9e9161b11d8a", 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@10.8.0/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_aaac07cd-5f4c-42af-acdf-9e9161b11d8a", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", 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", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_aaac07cd-5f4c-42af-acdf-9e9161b11d8a", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
1895
1895
  const Go = "10.0.5";
1896
1896
  function Ho() {
1897
1897
  typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (he().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (he().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (he().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (he().__INTLIFY_PROD_DEVTOOLS__ = !1);
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as N, computed as y, h as p, withModifiers as U, ref as V, resolveComponent as _, createBlock as k, openBlock as i, unref as d, withCtx as h, createElementBlock as D, createVNode as f, Fragment as H, createElementVNode as s, renderList as T, toDisplayString as S, createCommentVNode as I } from "vue";
2
- import { y as c, O as W, u as Q, B as G, a2 as J } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
2
+ import { y as c, O as W, u as Q, B as G, a2 as J } from "./index.vue_vue_type_script_setup_true_lang-DotsunNI.js";
3
3
  import { useI18n as X } from "@feedmepos/mf-common";
4
4
  import { components as Z, useDialog as ee, useSnackbar as te } from "@feedmepos/ui-library";
5
5
  import { _ as ne } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
6
- import { _ as ae } from "./app-ProVGxGi.js";
7
- import { d as oe, _ as le, u as se, c as re } from "./scheduler-B7oIfXlC.js";
6
+ import { _ as ae } from "./app-0m01R0SM.js";
7
+ import { d as oe, _ as le, u as se, c as re } from "./scheduler-BpEV0N8K.js";
8
8
  import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
9
9
  const ce = {
10
10
  class: "flex flex-1 justify-end"
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as H, ref as L, computed as O, resolveComponent as h, createElementBlock as g, openBlock as d, Fragment as x, renderSlot as ae, createVNode as l, unref as t, withCtx as m, createElementVNode as y, toDisplayString as A, onBeforeMount as oe, watch as F, watchEffect as se, h as $, getCurrentInstance as le, onMounted as re, createBlock as j, createCommentVNode as G, isRef as ie, normalizeClass as Q, renderList as ue } from "vue";
2
2
  import { useRouter as ce } from "vue-router";
3
- import { G as J, u as W, B as X, O as Z, J as I, y as S, a2 as de } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
3
+ import { G as J, u as W, B as X, O as Z, J as I, y as S, a2 as de } from "./index.vue_vue_type_script_setup_true_lang-DotsunNI.js";
4
4
  import { useI18n as ee, ItemSelector as me, useCoreStore as pe } from "@feedmepos/mf-common";
5
5
  import { useSnackbar as ne, components as Y, useDialog as _e, FmButtonVariant as T, useBreakpoints as fe } from "@feedmepos/ui-library";
6
6
  import { _ as ge } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
7
- import { _ as ve, R as he } from "./app-ProVGxGi.js";
7
+ import { _ as ve, R as he } from "./app-0m01R0SM.js";
8
8
  import { c as ye } from "./check-C9mY6LiX.js";
9
9
  import { _ as be } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
10
10
  import { u as ke } from "./search-BAPEUu1R.js";
11
- import { u as xe } from "./app-D8DICtN-.js";
11
+ import { u as xe } from "./app-CcPyLfvj.js";
12
12
  import { c as Se } from "./createComponentProgrammatically-Bt2rn1IQ.js";
13
13
  const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex flex-col h-full" }, Ee = { class: "flex gap-8 items-center justify-start" }, Ve = /* @__PURE__ */ H({
14
14
  __name: "Form",
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as ne, computed as p, ref as se, watch as ue, watchEffect as ie, resolveComponent as m, createElementBlock as V, openBlock as r, normalizeClass as H, createVNode as s, withCtx as c, createElementVNode as v, createBlock as g, createCommentVNode as k, unref as e, Fragment as D, renderList as B, createTextVNode as re, toDisplayString as N } from "vue";
2
- import { u as me, B as ce, y as f, O as de, z as pe, G as w } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
2
+ import { u as me, B as ce, y as f, O as de, z as pe, G as w } from "./index.vue_vue_type_script_setup_true_lang-DotsunNI.js";
3
3
  import { useCoreStore as ve, useI18n as ge } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as fe, useDialog as _e, FmButtonVariant as $, FmButtonColorThemeVariant as P, components as be } from "@feedmepos/ui-library";
5
5
  import { _ as E } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
6
- import { _ as ye } from "./RuleView.vue_vue_type_script_setup_true_lang-Bj4O3uSe.js";
7
- import { _ as z, a as ke } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CBOntQef.js";
8
- import { C as _, a as x } from "./catalogSetting-WYVwRyqN.js";
9
- import { C as xe } from "./catalog-Bzeh9lHl.js";
6
+ import { _ as ye } from "./RuleView.vue_vue_type_script_setup_true_lang-roEHTZnU.js";
7
+ import { _ as z, a as ke } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B4PznWDZ.js";
8
+ import { C as _, a as x } from "./catalogSetting-BN4d_FvT.js";
9
+ import { C as xe } from "./catalog-Bs3SNL7n.js";
10
10
  const Ce = {
11
11
  class: /* @__PURE__ */ H(["overflow-scroll", "flex-1", "xs:px-16 xs:py-16", "pt-16"])
12
12
  }, Oe = {
@@ -2,17 +2,17 @@ import { defineComponent as A, ref as x, computed as V, watch as te, resolveComp
2
2
  import { useI18n as R } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as P, components as W, useDialog as X, FmButtonVariant as G, useBreakpoints as se, FmButtonColorThemeVariant as ie } from "@feedmepos/ui-library";
4
4
  import { _ as re } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { B as Y, u as J, O as K, J as Z, y as ee, a2 as ce } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
5
+ import { B as Y, u as J, O as K, J as Z, y as ee, a2 as ce } from "./index.vue_vue_type_script_setup_true_lang-DotsunNI.js";
6
6
  import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
7
- import { _ as me } from "./app-ProVGxGi.js";
7
+ import { _ as me } from "./app-0m01R0SM.js";
8
8
  import { c as de } from "./createForm-BoUQeZTd.js";
9
9
  import { u as pe } from "./discardConfirm-BHni0LNu.js";
10
10
  import { c as H } from "./object-DVUNCr7w.js";
11
- import { r as _e, u as ae } from "./rules-XWOGU9mA.js";
12
- import { _ as fe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-CHTaPIEV.js";
11
+ import { r as _e, u as ae } from "./rules-DGRdKiV6.js";
12
+ import { _ as fe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-DZp38dX4.js";
13
13
  import { c as ve } from "./check-C9mY6LiX.js";
14
14
  import { g as z } from "./translation-BCZ1Ruvv.js";
15
- import { a as ge } from "./menu-vnpCb5nt.js";
15
+ import { a as ge } from "./menu-CAmS3pcT.js";
16
16
  const ye = {
17
17
  class: "fm-typo-en-title-md-600"
18
18
  }, be = {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Takeaway.vue_vue_type_script_setup_true_lang-jLe2HU1c.js";
1
+ import { _ as f } from "./Takeaway.vue_vue_type_script_setup_true_lang-BhiFnON_.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as f, computed as y, ref as k, createBlock as i, openBlock as d, unref as a, withCtx as s, createElementVNode as t, toDisplayString as b, createCommentVNode as g, createVNode as m } from "vue";
2
- import { B as x, u as v, O as w, J as E, y as M } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
2
+ import { B as x, u as v, O as w, J as E, y as M } from "./index.vue_vue_type_script_setup_true_lang-DotsunNI.js";
3
3
  import { useI18n as T } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as V } from "@feedmepos/ui-library";
5
5
  import { _ as h } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
6
6
  import { _ as C } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
7
- import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-jLe2HU1c.js";
8
- import { T as O, l as S } from "./index-BIvW0NKj.js";
9
- import { a as B } from "./menu-vnpCb5nt.js";
7
+ import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-BhiFnON_.js";
8
+ import { T as O, l as S } from "./index-3wsuY29D.js";
9
+ import { a as B } from "./menu-CAmS3pcT.js";
10
10
  const L = { class: "flex-1 flex justify-between gap-8 pl-8" }, U = { class: "flex items-center" }, F = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, D = { class: "fm-typo-en-body-md-600 font-semibold" }, G = /* @__PURE__ */ f({
11
11
  __name: "Takeaway",
12
12
  setup(I) {
@@ -0,0 +1,324 @@
1
+ import { getCurrentInstance as te, defineComponent as ne, computed as T, watch as oe, h as M, resolveComponent as O, createElementBlock as V, openBlock as w, Fragment as L, normalizeClass as D, createElementVNode as g, createVNode as I, unref as i, isRef as j, withCtx as P, renderList as ie, createBlock as G, createCommentVNode as $, toDisplayString as B, withModifiers as q } from "vue";
2
+ import { B as H, u as Q, O as W, J as z, y as N, G as Y, z as se, am as J, a2 as re } from "./index.vue_vue_type_script_setup_true_lang-DotsunNI.js";
3
+ import { useI18n as X, useCoreStore as le } from "@feedmepos/mf-common";
4
+ import { useDialog as ce, useSnackbar as Z, FmButtonVariant as A, components as de, useBreakpoints as me } from "@feedmepos/ui-library";
5
+ import { _ as ue } from "./app-0m01R0SM.js";
6
+ import { a as ye, l as ee, T as pe } from "./index-3wsuY29D.js";
7
+ import { u as fe } from "./search-BAPEUu1R.js";
8
+ import { f as F } from "./currency-Cma3AX0v.js";
9
+ import { defineStore as _e } from "pinia";
10
+ import { C as ke } from "./catalog-Bs3SNL7n.js";
11
+ import { c as ve } from "./createComponentProgrammatically-Bt2rn1IQ.js";
12
+ import { g as we } from "./translation-BCZ1Ruvv.js";
13
+ function ge(b, _, l, m) {
14
+ var y, p, k;
15
+ if (m >= 0) {
16
+ const u = (y = b.override.items[_._id][m]) == null ? void 0 : y.takeawayUsed;
17
+ return u == null ? void 0 : Y(u);
18
+ }
19
+ const e = l.find((u) => u._id === _._id);
20
+ return _.combinationKey ? ((k = (p = e == null ? void 0 : e.variant) == null ? void 0 : p.variantCombinations.find((u) => u.combinationKey === _.combinationKey)) == null ? void 0 : k.takeawayUsed) ?? (e == null ? void 0 : e.takeawayUsed) : e == null ? void 0 : e.takeawayUsed;
21
+ }
22
+ function be(b, _, l, m) {
23
+ var k, u;
24
+ const e = Y(b);
25
+ e.override.takeaway[l._id] = { price: l.price || void 0 };
26
+ const y = [...l.usedBy, ..._.usedBy];
27
+ for (const o of y) {
28
+ const c = l.usedBy.some(
29
+ (s) => s._id === o._id && s.combinationKey === o.combinationKey
30
+ ) ? l._id : "", a = (e.override.items[o._id] || []).findIndex(
31
+ (s) => s.combinationKey === o.combinationKey
32
+ ), d = ge(e, o, m, a);
33
+ if (a >= 0)
34
+ e.override.items[o._id][a].takeawayUsed = c;
35
+ else if (d !== c) {
36
+ const s = {
37
+ _id: o._id,
38
+ combinationKey: o.combinationKey,
39
+ takeawayUsed: c
40
+ };
41
+ e.override.items[o._id] = [...e.override.items[o._id] || [], s];
42
+ }
43
+ }
44
+ const p = [...new Set(y.map((o) => o._id))];
45
+ for (const o of p) {
46
+ const v = m.find((d) => d._id === o);
47
+ if (!((u = (k = v == null ? void 0 : v.variant) == null ? void 0 : k.variantCombinations) != null && u.length)) continue;
48
+ const c = (e.override.items[o] || []).findIndex(
49
+ (d) => !d.combinationKey
50
+ );
51
+ if (c < 0) continue;
52
+ l.usedBy.some((d) => d._id === o) || (e.override.items[o][c].takeawayUsed = "");
53
+ }
54
+ return e;
55
+ }
56
+ const he = _e("takeaway-manager", () => {
57
+ const b = ce(), _ = Z(), l = H(_), m = W(l), e = Q(), y = te(), { t: p } = X(), k = (a) => {
58
+ var s, h;
59
+ const { vNode: d } = ve(
60
+ ye,
61
+ y,
62
+ a
63
+ );
64
+ (h = (s = d.component) == null ? void 0 : s.exposed) == null || h.trigger();
65
+ };
66
+ async function u(a) {
67
+ var h, E;
68
+ const s = ((E = (h = e.currentCatalog) == null ? void 0 : h.override.takeaway[a._id]) == null ? void 0 : E.price) ? null : e.state.menu.modules.takeaway.find((x) => x._id === a._id);
69
+ k({
70
+ initialValue: a,
71
+ applyProduct: !0,
72
+ bindToVariant: e.rules.item.bindToVariant,
73
+ fallback: s,
74
+ action: "update",
75
+ "onUpdate:takeaway": async (x) => {
76
+ let n = Y(e.currentCatalog);
77
+ x.price ? n.override.takeaway[a._id] = { price: x.price } : delete n.override.takeaway[a._id], n = be(n, a, x, e.state.menu.modules.item), await new ke(n, e, m.updateMenu, b).update();
78
+ }
79
+ });
80
+ }
81
+ async function o(a) {
82
+ k({
83
+ initialValue: a,
84
+ bindToVariant: e.rules.item.bindToVariant,
85
+ applyProduct: !0,
86
+ action: "update",
87
+ "onUpdate:takeaway": async (d) => {
88
+ await m.updateMenu(
89
+ {
90
+ module: N.F_MENU_MODULE_V4_KEY.enum.takeaway,
91
+ operation: z.F_OPERATION_TYPE.update,
92
+ data: d,
93
+ link: ee(d.usedBy || [])
94
+ },
95
+ d.name
96
+ );
97
+ }
98
+ });
99
+ }
100
+ async function v(a) {
101
+ e.currentCatalog ? await u(a) : await o(a);
102
+ }
103
+ async function c(a) {
104
+ b.open({
105
+ title: p("menu.common.dialog.remove.takeaway.title"),
106
+ message: p("menu.common.dialog.remove.takeaway.message", { name: a.name }),
107
+ primaryActions: {
108
+ text: p("menu.common.actions.remove"),
109
+ close: !0,
110
+ variant: A.Destructive
111
+ },
112
+ secondaryActions: {
113
+ text: p("menu.common.actions.cancel"),
114
+ close: !0
115
+ }
116
+ }).onPrimary(async () => {
117
+ await m.updateMenu(
118
+ {
119
+ module: N.F_MENU_MODULE_V4_KEY.enum.takeaway,
120
+ operation: z.F_OPERATION_TYPE.delete,
121
+ data: a._id
122
+ },
123
+ a.name,
124
+ !0
125
+ );
126
+ });
127
+ }
128
+ return {
129
+ deleteTakeaway: c,
130
+ updateTakeaway: v
131
+ };
132
+ }), xe = {
133
+ key: 0,
134
+ class: /* @__PURE__ */ D(["flex-1 overflow-hidden", "space-y-16", "flex flex-col", "overflow-hidden", "pt-16"])
135
+ }, Ce = {
136
+ class: "flex items-center space-x-8 justify-end"
137
+ }, Te = {
138
+ class: "w-[320px]"
139
+ }, Ve = {
140
+ class: "px-16 pt-8"
141
+ }, Ie = {
142
+ class: /* @__PURE__ */ D(["flex-1", "overflow-scroll", "divide-y divide-fm-color-neutral-gray-100"])
143
+ }, Ue = ["onClick"], Me = {
144
+ class: "flex-1"
145
+ }, Ee = {
146
+ class: "fm-typo-en-body-lg-600 mb-4"
147
+ }, Ke = {
148
+ class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
149
+ }, Se = {
150
+ class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
151
+ }, Be = {
152
+ key: 1,
153
+ class: "xs:pt-24"
154
+ }, $e = /* @__PURE__ */ ne({
155
+ __name: "Takeaway",
156
+ emits: ["update:count"],
157
+ setup(b, {
158
+ emit: _
159
+ }) {
160
+ const l = Q(), m = he(), e = T(() => l.rules.item.bindToVariant), y = T(() => l.rules.takeaway), p = W(H(Z())), k = le(), u = T(() => se.Country.getCountry(k.currentCountry.value).currency), o = T(() => l.takeaways.map((n) => ({
161
+ ...n,
162
+ usedBy: l.items.reduce((r, f) => {
163
+ var t, K, R;
164
+ const C = f.takeawayUsed === n._id;
165
+ if ((!e.value || !((K = (t = f.variant) == null ? void 0 : t.variantGroupIds) != null && K.length)) && C)
166
+ r.push({
167
+ _id: f._id
168
+ });
169
+ else {
170
+ const ae = (((R = f.variant) == null ? void 0 : R.variantCombinations) || []).filter((S) => S.takeawayUsed === n._id || S.takeawayUsed == null && C).map((S) => ({
171
+ _id: f._id,
172
+ combinationKey: S.combinationKey
173
+ }));
174
+ r = [...r, ...ae];
175
+ }
176
+ return r;
177
+ }, [])
178
+ }))), {
179
+ filter: v,
180
+ searchKey: c
181
+ } = fe(), a = T(() => o.value.filter((n) => v([n.name, F(n.price, !1)]))), d = _;
182
+ oe(() => a.value.length, (n) => {
183
+ d("update:count", n);
184
+ }, {
185
+ immediate: !0
186
+ });
187
+ const {
188
+ t: s
189
+ } = X(), h = T(() => [{
190
+ accessorKey: "name",
191
+ header: () => s("menu.takeaway.table.columns.name"),
192
+ enableSorting: !1,
193
+ size: 700,
194
+ cell: (n) => {
195
+ const r = n.row.original, f = n.getValue(), U = Object.keys(r.name_locale ?? {}).map((t) => we(t));
196
+ return M("div", {
197
+ class: "flex items-center gap-8"
198
+ }, [M("span", {
199
+ class: "break-all"
200
+ }, f), ...U.map((t) => M("div", {
201
+ class: "rounded-lg border border-fm-color-primary text-fm-color-primary flex items-center justify-center fm-typo-en-body-sm-600 px-8"
202
+ }, t))]);
203
+ }
204
+ }, {
205
+ accessorKey: "price",
206
+ header: () => s("menu.takeaway.table.columns.price", {
207
+ symbol: u.value.symbol
208
+ }),
209
+ enableSorting: !1,
210
+ size: 200,
211
+ meta: {
212
+ textAlign: "right"
213
+ },
214
+ cell: (n) => {
215
+ const r = n.getValue();
216
+ return F(r, !1);
217
+ }
218
+ }, {
219
+ accessorKey: "usedBy",
220
+ header: () => s("menu.takeaway.table.columns.products"),
221
+ enableSorting: !1,
222
+ size: 200,
223
+ cell: (n) => {
224
+ const r = n.getValue(), f = J(l.categorizedItems, r).flatMap((C) => C.items).length ?? 0;
225
+ return s("menu.takeaway.table.items_linked", {
226
+ count: f
227
+ });
228
+ }
229
+ }, {
230
+ id: "action",
231
+ size: 52,
232
+ meta: {
233
+ cellClass: "pl-16",
234
+ headerContentClass: "-mx-16"
235
+ },
236
+ cell: (n) => M("div", {
237
+ class: "flex justify-end items-center"
238
+ }, [y.value.delete ? M(de.FmButton, {
239
+ prependIcon: "delete",
240
+ variant: A.Tertiary,
241
+ textColor: "neutral-gray-400",
242
+ onClick: (r) => {
243
+ r.stopPropagation(), m.deleteTakeaway(n.row.original);
244
+ }
245
+ }) : null])
246
+ }]), E = me(), x = T(() => E.breakpoints.value.xs);
247
+ return (n, r) => {
248
+ const f = O("fm-search"), C = O("fm-table"), U = O("fm-button");
249
+ return o.value.length ? (w(), V(L, {
250
+ key: 0
251
+ }, [x.value ? (w(), V(L, {
252
+ key: 1
253
+ }, [g("div", Ve, [I(f, {
254
+ class: "w-full",
255
+ autofocus: "",
256
+ modelValue: i(c),
257
+ "onUpdate:modelValue": r[2] || (r[2] = (t) => j(c) ? c.value = t : null),
258
+ placeholder: i(s)("menu.takeaway.table.search.placeholder")
259
+ }, null, 8, ["modelValue", "placeholder"])]), g("div", Ie, [(w(!0), V(L, null, ie(a.value, (t) => (w(), V("div", {
260
+ key: t._id,
261
+ class: D(["py-12 px-16", "flex space-x-8", "items-center"]),
262
+ onClick: () => {
263
+ y.value.edit && i(m).updateTakeaway(t);
264
+ }
265
+ }, [g("div", Me, [g("p", Ee, B(t.name), 1), g("p", Ke, B(`${i(J)(i(l).categorizedItems, t.usedBy).flatMap((K) => K.items).length ?? 0} items linked`), 1), g("p", Se, " Price: " + B(u.value.symbol) + B(i(F)(t.price, !1)), 1)]), y.value.delete ? (w(), G(U, {
266
+ key: 0,
267
+ variant: i(A).Tertiary,
268
+ "text-color": "neutral-gray-400",
269
+ "prepend-icon": "delete",
270
+ onClick: q(() => i(m).deleteTakeaway(t), ["stop"])
271
+ }, null, 8, ["variant", "onClick"])) : $("", !0)], 8, Ue))), 128))])], 64)) : (w(), V("div", xe, [g("div", Ce, [g("div", Te, [I(f, {
272
+ autofocus: "",
273
+ modelValue: i(c),
274
+ "onUpdate:modelValue": r[0] || (r[0] = (t) => j(c) ? c.value = t : null),
275
+ placeholder: i(s)("menu.takeaway.table.search.placeholder")
276
+ }, null, 8, ["modelValue", "placeholder"])])]), I(ue, null, {
277
+ default: P(() => [I(C, {
278
+ "column-defs": h.value,
279
+ loading: i(p).checkMenuIsLoading(),
280
+ "page-size": a.value.length,
281
+ "row-data": a.value,
282
+ "search-value": i(c),
283
+ "shrink-at": !1,
284
+ class: "flex-1 overflow-hidden",
285
+ "hide-footer": "",
286
+ "pin-header-row": "",
287
+ onRowClick: r[1] || (r[1] = (t) => {
288
+ y.value.edit && i(m).updateTakeaway(t.original);
289
+ })
290
+ }, null, 8, ["column-defs", "loading", "page-size", "row-data", "search-value"])]),
291
+ _: 1
292
+ })]))], 64)) : (w(), V("div", Be, [I(i(re), {
293
+ subtitle: i(s)("menu.takeaway.empty.subtitle"),
294
+ title: i(s)("menu.takeaway.empty.title")
295
+ }, {
296
+ action: P(() => [y.value.create ? (w(), G(i(pe), {
297
+ key: 0,
298
+ "bind-to-variant": e.value,
299
+ action: "add",
300
+ "apply-product": "",
301
+ "onUpdate:takeaway": r[3] || (r[3] = (t) => i(p).updateMenu({
302
+ module: i(N.F_MENU_MODULE_V4_KEY).enum.takeaway,
303
+ operation: i(z.F_OPERATION_TYPE).create,
304
+ data: t,
305
+ link: i(ee)(t.usedBy || [])
306
+ }, t.name))
307
+ }, {
308
+ default: P(({
309
+ trigger: t
310
+ }) => [I(U, {
311
+ "prepend-icon": "add",
312
+ label: i(s)("menu.takeaway.empty.action"),
313
+ onClick: q(t, ["stop"])
314
+ }, null, 8, ["label", "onClick"])]),
315
+ _: 1
316
+ }, 8, ["bind-to-variant"])) : $("", !0)]),
317
+ _: 1
318
+ }, 8, ["subtitle", "title"])]));
319
+ };
320
+ }
321
+ });
322
+ export {
323
+ $e as _
324
+ };
@@ -1,9 +1,9 @@
1
1
  import { computed as d, defineComponent as x, ref as F, resolveComponent as b, createElementBlock as L, openBlock as w, normalizeClass as O, createVNode as K, normalizeStyle as B, withCtx as $, createBlock as U, createCommentVNode as j } from "vue";
2
- import { y as h, J as E, B as R, O as C, ai as z, u as y, c as J } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
3
- import { u as S } from "./menuV2-wfldXb10.js";
4
- import { C as v, h as N } from "./catalog-Bzeh9lHl.js";
2
+ import { y as h, J as E, B as R, O as C, ai as z, u as y, c as J } from "./index.vue_vue_type_script_setup_true_lang-DotsunNI.js";
3
+ import { u as S } from "./menuV2-COwLB3e1.js";
4
+ import { C as v, h as N } from "./catalog-Bs3SNL7n.js";
5
5
  import { useSnackbar as P, useDialog as A } from "@feedmepos/ui-library";
6
- import { a as T } from "./LinkProductSideSheet-1CEGjcHq.js";
6
+ import { a as T } from "./LinkProductSideSheet-BQQtUuCr.js";
7
7
  import { useI18n as q } from "@feedmepos/mf-common";
8
8
  function G() {
9
9
  const t = S(), o = d(() => t.categorizedRawMenuItems.filter((u) => u.items.length > 0)), i = d(() => {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as J, ref as h, watch as O, computed as j, resolveComponent as _, createBlock as T, openBlock as d, unref as a, withCtx as v, createElementVNode as t, toDisplayString as m, createElementBlock as p, createCommentVNode as F, Fragment as x, renderList as C, createVNode as r } from "vue";
2
- import { H as I } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
2
+ import { H as I } from "./index.vue_vue_type_script_setup_true_lang-DotsunNI.js";
3
3
  import { useI18n as K, ALL_LOCALE_OPTIONS as y } from "@feedmepos/mf-common";
4
4
  import { u as Q } from "./discardConfirm-BHni0LNu.js";
5
5
  import { g as V, a as S, _ as R, b as W } from "./translation-BCZ1Ruvv.js";