@feedmepos/mf-menu 0.32.64-dev.1 → 0.32.65
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.
- package/dist/{App-CcCpnDUd.js → App-rjcnTQzq.js} +6 -6
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-uCZ06pwL.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BlX-ygeo.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-YlaEocnO.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-DTEZouRz.js} +3 -3
- package/dist/{Catalog-BLpYToaa.js → Catalog-nWzKN1u3.js} +6 -6
- package/dist/{Category-huIVx-Pq.js → Category-DoUtDyuB.js} +14 -14
- package/dist/{Category-slad1Kl9.js → Category-Q42BO86t.js} +8 -8
- package/dist/{CookingGuide-k6g5-DZS.js → CookingGuide-DGVhn_Yb.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Be5sbD3J.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Dc_Ec9Pf.js} +1 -1
- package/dist/{Group-B8QPt_Mf.js → Group-B9vMDg2m.js} +3 -3
- package/dist/{Group-DuclGQ8D.js → Group-D8st1q0o.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DvBL8b_Z.js → Group.vue_vue_type_script_setup_true_lang-CV_w5c7T.js} +48 -48
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-C9na_pxa.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-36kp3qi8.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-C7y1o_cK.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-ZbhwNALE.js} +4830 -4828
- package/dist/{Ingredient-Z1niNy7S.js → Ingredient-DWN4vTKf.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BtM5R-5S.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DJrz0wWm.js} +2 -2
- package/dist/{LinkProductSideSheet-CUx5qi-A.js → LinkProductSideSheet-DXmxJs-1.js} +4 -4
- package/dist/{MenuSetting-CQzIlzZp.js → MenuSetting-BSlQXo8m.js} +7 -7
- package/dist/{OrderPacing-BiL0cgx1.js → OrderPacing-B8pgEMjf.js} +5 -5
- package/dist/{PrintRoute-D1pZkpH_.js → PrintRoute-agfebph4.js} +5 -5
- package/dist/{Product-Bg-dwe6e.js → Product-CaA1CdTN.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-BVQVhWAh.js → Product.vue_vue_type_script_setup_true_lang-Bsx6JceZ.js} +108 -108
- package/dist/{ProductInternalTools-B0kk7L-u.js → ProductInternalTools-DHQz_Z8o.js} +24 -24
- package/dist/{Products-Y7qUSXGq.js → Products-CeVnRRFO.js} +40 -40
- package/dist/{Publish-BgBw1yYD.js → Publish-rN34cEkS.js} +4 -4
- package/dist/{Recipe-BQWy65kw.js → Recipe-C_qTZ_E1.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-DN09681x.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-C6lkwlc5.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-C7kaYvTF.js → RuleView.vue_vue_type_script_setup_true_lang-LbagGtcn.js} +3 -3
- package/dist/{Scheduler-3c53XS3M.js → Scheduler-DeixLUzk.js} +3 -3
- package/dist/{ServingSequence-COJkc08j.js → ServingSequence-CAmQBzaK.js} +3 -3
- package/dist/{Setting-DY-P5PAu.js → Setting-C_Dl4MiB.js} +5 -5
- package/dist/{Subcategory-1-uYipz9.js → Subcategory-C8DHzzkd.js} +6 -6
- package/dist/{Takeaway-C3dwSDye.js → Takeaway-CIRpXPFx.js} +1 -1
- package/dist/{Takeaway-DTcdrd4N.js → Takeaway-CxYihXC0.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BQ60zhzJ.js → Takeaway.vue_vue_type_script_setup_true_lang-CcSjxPY4.js} +5 -5
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-DOQjcZde.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-D-ojP61R.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-CoK2Y57Z.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-BztGh7n9.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BM1nnTTV.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Cv4iVhML.js} +341 -340
- package/dist/{Unit-CkJp-MxR.js → Unit-Cd0y2m5k.js} +2 -2
- package/dist/{Variant-Ck8V9o_n.js → Variant-B2CKhSOl.js} +3 -3
- package/dist/{_id_-DVko2hJ3.js → _id_-DZiXY0H3.js} +10 -10
- package/dist/{app-idZd8GBJ.js → app-T7VNSy7v.js} +1 -1
- package/dist/{app-CMpNs1Lv.js → app-T8AXgSEa.js} +32 -32
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/helper/itemCategories.d.ts +18 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{override-menu-2ehtF8h1.js → linked-status-CCYZRm4Q.js} +3 -3
- package/dist/assets/{menu-export-BZTDjkcV.js → menu-export-CAHQqTea.js} +3 -3
- package/dist/assets/{linked-status-Oe5zalYU.js → override-menu-CHSXJZzL.js} +3 -3
- package/dist/assets/{validate-menu-wNmLgJZW.js → validate-menu-B4fZvuxj.js} +2 -2
- package/dist/{catalog-C4zqfdRz.js → catalog-JKO0yOoK.js} +1 -1
- package/dist/{catalogSetting-CdrKAkWc.js → catalogSetting-88ecNK3c.js} +1 -1
- package/dist/{currency-zP5t_q3e.js → currency-FtZ1Kndg.js} +1 -1
- package/dist/{dayjs.min-CVaDPO4u.js → dayjs.min-4vLGgFCE.js} +2 -2
- package/dist/{discardConfirm-D5TZC0up.js → discardConfirm-CM6g-V_v.js} +1 -1
- package/dist/{index-CY_PF4JI.js → index-BRKz6YXB.js} +5 -5
- package/dist/{index-Bdjp_HoJ.js → index-DJLvriHh.js} +6 -6
- package/dist/index-wiJWDZ8Q.js +310 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-Cxq1w0By.js → index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js} +6 -6
- package/dist/{item-DF4sY8Lz.js → item-DZ7QwbXg.js} +1261 -1337
- package/dist/{jszip.min-CfredHU3.js → jszip.min-CMMOVzck.js} +3 -3
- package/dist/{linkProducts-_ZMDyksQ.js → linkProducts-H4GRfufL.js} +4 -4
- package/dist/{memberPricing-K5VG3VIu.js → memberPricing-DHWy5fqz.js} +1 -1
- package/dist/{menu-CZxNlbpe.js → menu-CIm-Royr.js} +1 -1
- package/dist/{menuV2-BHwuCExt.js → menuV2-BAdmIxrF.js} +92 -92
- package/dist/{order_pacing-Cme5qoFR.js → order_pacing-D58D3fak.js} +5 -5
- package/dist/{priceTier-DSYN-IAO.js → priceTier-BQ8NefKy.js} +1 -1
- package/dist/{rules-D4rAL20Q.js → rules-CCMx9A-T.js} +3 -3
- package/dist/{scheduler-J5Ea4WSr.js → scheduler-CV0r5tCc.js} +5 -5
- package/dist/{toExcel-XoL9W3Ev.js → toExcel-D4fh3tgH.js} +2 -2
- package/dist/{unit-Bi2EnEOF.js → unit-p_16wmg2.js} +3 -3
- package/package.json +1 -1
- package/dist/index-CD_omf3p.js +0 -222
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as ct, g as Bt } from "./app-
|
|
2
|
-
import { y as wt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { c as ct, g as Bt } from "./app-T8AXgSEa.js";
|
|
2
|
+
import { y as wt } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js";
|
|
3
3
|
var yt = { exports: {} }, Nt = yt.exports, It;
|
|
4
4
|
function Dt() {
|
|
5
5
|
return It || (It = 1, function(kt, Ot) {
|
|
@@ -74,7 +74,7 @@ function Dt() {
|
|
|
74
74
|
var Mt = Dt(), At = { exports: {} }, Rt;
|
|
75
75
|
function Ut() {
|
|
76
76
|
return Rt || (Rt = 1, function(kt, Ot) {
|
|
77
|
-
var gt = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/
|
|
77
|
+
var gt = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_6c21208a-e5a4-40d6-a48c-b0b1c34fee5a", 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_6c21208a-e5a4-40d6-a48c-b0b1c34fee5a", 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", HCA_CLOUD_PROVIDER: "azure", 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.7.0", 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: "1874", ACTIONS_ORCHESTRATION_ID: "68fdb1ff-8a63-406a-9fb2-e17fbd88d994.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: "20260816.277.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_6c21208a-e5a4-40d6-a48c-b0b1c34fee5a", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2-dev.feedmeapi.com", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:13709", 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.13/x64", GITHUB_RUN_ID: "32683295110", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapidev.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "c372d08b81824d82261e4bec9856fca722bd500d", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.6/x64", 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_45c3e646-1104-45a2-b2eb-aa56c232538d", INVOCATION_ID: "3364beb33ba94683b5a75640fc719b43", 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: "586", 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 1000119018", 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.65", 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: "c372d08b81824d82261e4bec9856fca722bd500d", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", 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_6c21208a-e5a4-40d6-a48c-b0b1c34fee5a", 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_6c21208a-e5a4-40d6-a48c-b0b1c34fee5a", 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", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_6c21208a-e5a4-40d6-a48c-b0b1c34fee5a", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", 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_6c21208a-e5a4-40d6-a48c-b0b1c34fee5a", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
|
|
78
78
|
/*!
|
|
79
79
|
|
|
80
80
|
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { computed as m } from "vue";
|
|
2
|
-
import { F, g as h, h as S, b as v, i as C, k as N, T, u as P, c as z } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as R } from "./menuV2-
|
|
4
|
-
import { C as w, h as E } from "./catalog-
|
|
2
|
+
import { F, g as h, h as S, b as v, i as C, k as N, T, u as P, c as z } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js";
|
|
3
|
+
import { u as R } from "./menuV2-BAdmIxrF.js";
|
|
4
|
+
import { C as w, h as E } from "./catalog-JKO0yOoK.js";
|
|
5
5
|
import { useSnackbar as O, useDialog as A } from "@feedmepos/ui-library";
|
|
6
|
-
import { a as b } from "./LinkProductSideSheet-
|
|
6
|
+
import { a as b } from "./LinkProductSideSheet-DXmxJs-1.js";
|
|
7
7
|
function D() {
|
|
8
8
|
const e = R(), p = m(() => e.categorizedRawMenuItems.filter((o) => o.items.length > 0)), l = m(() => {
|
|
9
9
|
const o = e.currentCatalog;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as d, ref as _, watch as S, resolveComponent as b, createBlock as f, openBlock as y, unref as M, computed as T } from "vue";
|
|
2
|
-
import { u as h, b as w } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as h, b as w } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js";
|
|
3
3
|
import { useI18n as l } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as x, useDialog as C, useSnackbar as P } from "@feedmepos/ui-library";
|
|
5
5
|
const k = /* @__PURE__ */ d({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as n, onMounted as d, onBeforeUnmount as m } from "vue";
|
|
2
|
-
import { u as c } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as c } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js";
|
|
3
3
|
import "@feedmepos/mf-common";
|
|
4
4
|
import "@feedmepos/ui-library";
|
|
5
5
|
function p() {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var ne = (e, t, n) =>
|
|
4
|
-
import { l as ae } from "./discardConfirm-
|
|
1
|
+
var Le = Object.defineProperty;
|
|
2
|
+
var We = (e, t, n) => t in e ? Le(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var ne = (e, t, n) => We(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
+
import { l as ae } from "./discardConfirm-CM6g-V_v.js";
|
|
5
5
|
import { defineStore as ze } from "pinia";
|
|
6
6
|
import { shallowRef as N, ref as H, computed as S, shallowReactive as qe, effectScope as He, watch as Be } from "vue";
|
|
7
|
-
import { d as
|
|
7
|
+
import { d as A, f as ue, m as T, k as ie, ak as re, g as B, O as x, c as W, s as V, X as oe, al as Ge, am as Je, a as Ye, Q as Qe, an as Xe, ao as Ze, M as et } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js";
|
|
8
8
|
import { useCoreStore as se } from "@feedmepos/mf-common";
|
|
9
9
|
import { useSnackbar as tt } from "@feedmepos/ui-library";
|
|
10
10
|
function nt(e) {
|
|
11
11
|
var s, r, u;
|
|
12
|
-
const t =
|
|
12
|
+
const t = A(e), n = (s = t.variant) == null ? void 0 : s.variantCombinations;
|
|
13
13
|
if (t.images !== void 0) {
|
|
14
14
|
const c = ((r = t.images) == null ? void 0 : r.find((a) => a.isDefault)) ?? ((u = t.images) == null ? void 0 : u[0]);
|
|
15
15
|
t.image = (c == null ? void 0 : c._id) ?? null;
|
|
16
16
|
}
|
|
17
17
|
return delete t.variant, delete t.thumbnail, delete t.images, [t, ...n || []];
|
|
18
18
|
}
|
|
19
|
-
const rt = "/assets/linked-status-
|
|
19
|
+
const rt = "/assets/linked-status-CCYZRm4Q.js", ot = "/assets/override-menu-CHSXJZzL.js";
|
|
20
20
|
function st(e, t, n, s) {
|
|
21
|
-
const r =
|
|
21
|
+
const r = A(t), u = n ? r.modules.catalog.find((f) => f._id === n) : null, c = s ? r.modules.scheduler.find((f) => f._id === s) : null, a = u ? A(u) : void 0, d = n ? r.modules.catalog.filter((f) => f._id !== n) : [], l = c ? A(c) : void 0, g = e.reduce((f, v) => (f[v._id] = nt(v), f), {});
|
|
22
22
|
function y(f = []) {
|
|
23
|
-
const v = e.map((
|
|
23
|
+
const v = e.map((p) => p._id);
|
|
24
24
|
return [
|
|
25
|
-
...f.filter((
|
|
26
|
-
...Object.values(g).flatMap((
|
|
25
|
+
...f.filter((p) => !v.includes(p._id)),
|
|
26
|
+
...Object.values(g).flatMap((p) => p)
|
|
27
27
|
];
|
|
28
28
|
}
|
|
29
29
|
return a && s ? (a.override.scheduler = {
|
|
@@ -65,8 +65,8 @@ function F(e, t, n) {
|
|
|
65
65
|
const a = (l = e == null ? void 0 : e.groups) == null ? void 0 : l.find((f) => f._id === c._id);
|
|
66
66
|
let d;
|
|
67
67
|
return a ? d = ((g = c.items) == null ? void 0 : g.map((f) => {
|
|
68
|
-
var
|
|
69
|
-
const v = (
|
|
68
|
+
var p;
|
|
69
|
+
const v = (p = a.items) == null ? void 0 : p.find(
|
|
70
70
|
(b) => b._id === f._id && b.combinationKey === f.combinationKey
|
|
71
71
|
);
|
|
72
72
|
return F(v || f, t, n + 1);
|
|
@@ -158,7 +158,7 @@ function ut(e, t) {
|
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
160
|
async function Vt(e, t, n, s, r, u = !0) {
|
|
161
|
-
const c =
|
|
161
|
+
const c = A(n), a = u ? st(t, c, s, r) : c, d = t.reduce((y, f) => (y[f._id] = a.modules.item.find((v) => v._id === f._id), y), {}), l = t.reduce((y, f) => {
|
|
162
162
|
const v = f._id;
|
|
163
163
|
return y[v] = at(d[v], e), y;
|
|
164
164
|
}, {}), g = T.getFallbackPrices({
|
|
@@ -220,7 +220,7 @@ async function it(e, t, n) {
|
|
|
220
220
|
async function Pt(e, t, n) {
|
|
221
221
|
var c, a;
|
|
222
222
|
const s = await it(e, t, null), r = [], u = (d, l) => {
|
|
223
|
-
const g =
|
|
223
|
+
const g = A(d);
|
|
224
224
|
for (const y in l)
|
|
225
225
|
l[y] && (g[y] = l[y]);
|
|
226
226
|
return g;
|
|
@@ -230,9 +230,9 @@ async function Pt(e, t, n) {
|
|
|
230
230
|
if (l) {
|
|
231
231
|
const y = (a = d.items) == null ? void 0 : a.filter((v) => v._id === n && v.combinationKey), f = [l, ...y].map((v) => {
|
|
232
232
|
var M, I;
|
|
233
|
-
const
|
|
233
|
+
const p = v.combinationKey ? (I = (M = g == null ? void 0 : g.variant) == null ? void 0 : M.variantCombinations) == null ? void 0 : I.find(
|
|
234
234
|
(k) => k.combinationKey === v.combinationKey
|
|
235
|
-
) : g, b =
|
|
235
|
+
) : g, b = p && g ? u(g, p) : v;
|
|
236
236
|
return u(b, v);
|
|
237
237
|
});
|
|
238
238
|
r.push({
|
|
@@ -319,32 +319,32 @@ function dt(e, t, n) {
|
|
|
319
319
|
const s = { _t: "a" }, r = ((f = n == null ? void 0 : n.arrays) == null ? void 0 : f.detectMove) !== !1, u = ((v = n == null ? void 0 : n.arrays) == null ? void 0 : v.includeValueOnMove) === !0, c = n == null ? void 0 : n.objectHash;
|
|
320
320
|
let a = r ? lt(e, t, c) : [];
|
|
321
321
|
if (!c && e.length === t.length && e.length > 0 && a.length < e.length) {
|
|
322
|
-
const
|
|
323
|
-
if (
|
|
322
|
+
const p = E(e[0]) || Array.isArray(e[0]), b = a.length > 0;
|
|
323
|
+
if (p || b) {
|
|
324
324
|
a = [];
|
|
325
325
|
for (let M = 0; M < e.length; M++)
|
|
326
326
|
a.push({ leftIndex: M, rightIndex: M });
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
-
new Set(a.map((
|
|
330
|
-
const d = new Set(a.map((
|
|
331
|
-
for (const
|
|
332
|
-
l.set(
|
|
333
|
-
for (let
|
|
334
|
-
const b = l.get(
|
|
329
|
+
new Set(a.map((p) => p.leftIndex));
|
|
330
|
+
const d = new Set(a.map((p) => p.rightIndex)), l = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map();
|
|
331
|
+
for (const p of a)
|
|
332
|
+
l.set(p.leftIndex, p.rightIndex), g.set(p.rightIndex, p.leftIndex);
|
|
333
|
+
for (let p = 0; p < e.length; p++) {
|
|
334
|
+
const b = l.get(p);
|
|
335
335
|
if (b !== void 0) {
|
|
336
|
-
const M = J(e[
|
|
337
|
-
if (M !== void 0 && (s[b] = M), r && b !==
|
|
338
|
-
const I = `_${
|
|
336
|
+
const M = J(e[p], t[b], n);
|
|
337
|
+
if (M !== void 0 && (s[b] = M), r && b !== p) {
|
|
338
|
+
const I = `_${p}`, k = u ? [e[p], b, K] : ["", b, K];
|
|
339
339
|
s[I] = k;
|
|
340
340
|
}
|
|
341
341
|
} else {
|
|
342
|
-
const M = `_${
|
|
343
|
-
s[M] = [e[
|
|
342
|
+
const M = `_${p}`;
|
|
343
|
+
s[M] = [e[p], w, w];
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
|
-
for (let
|
|
347
|
-
d.has(
|
|
346
|
+
for (let p = 0; p < t.length; p++)
|
|
347
|
+
d.has(p) || (s[p] = [t[p]]);
|
|
348
348
|
const y = Object.keys(s);
|
|
349
349
|
if (!(y.length === 1 && y[0] === "_t"))
|
|
350
350
|
return s;
|
|
@@ -472,7 +472,7 @@ function gt(e) {
|
|
|
472
472
|
}
|
|
473
473
|
return t;
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function pt(e) {
|
|
476
476
|
const t = {};
|
|
477
477
|
for (const n in e) {
|
|
478
478
|
const s = e[n];
|
|
@@ -497,13 +497,13 @@ function Q(e) {
|
|
|
497
497
|
if (e.length === 3 && e[2] === K)
|
|
498
498
|
return e;
|
|
499
499
|
}
|
|
500
|
-
return E(e) && e._t === "a" ? gt(e) : E(e) ?
|
|
500
|
+
return E(e) && e._t === "a" ? gt(e) : E(e) ? pt(e) : e;
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
503
|
function de(e) {
|
|
504
504
|
return Q(e);
|
|
505
505
|
}
|
|
506
|
-
function
|
|
506
|
+
function ht(e, t, n) {
|
|
507
507
|
const s = de(t);
|
|
508
508
|
return le(e, s);
|
|
509
509
|
}
|
|
@@ -522,7 +522,7 @@ class _t {
|
|
|
522
522
|
return de(t);
|
|
523
523
|
}
|
|
524
524
|
unpatch(t, n) {
|
|
525
|
-
return
|
|
525
|
+
return ht(t, n, this.options);
|
|
526
526
|
}
|
|
527
527
|
clone(t) {
|
|
528
528
|
return O(t);
|
|
@@ -544,37 +544,37 @@ function bt({
|
|
|
544
544
|
}), n = N(null), s = N([]), r = H(-1), u = N(null), c = S(() => r.value > 0), a = S(() => r.value < s.value.length - 1);
|
|
545
545
|
function d(v) {
|
|
546
546
|
if (n.value === null) {
|
|
547
|
-
n.value =
|
|
547
|
+
n.value = A(v), u.value = A(v), s.value = [{ delta: null }], r.value = 0;
|
|
548
548
|
return;
|
|
549
549
|
}
|
|
550
|
-
const
|
|
551
|
-
if (r.value < s.value.length - 1 && (s.value = s.value.slice(0, r.value + 1)), s.value.push({ delta:
|
|
550
|
+
const p = t.diff(u.value, v);
|
|
551
|
+
if (r.value < s.value.length - 1 && (s.value = s.value.slice(0, r.value + 1)), s.value.push({ delta: p }), r.value++, u.value = A(v), s.value.length > e) {
|
|
552
552
|
const b = s.value[1].delta;
|
|
553
|
-
b && n.value && (n.value = t.patch(
|
|
553
|
+
b && n.value && (n.value = t.patch(A(n.value), b)), s.value.shift(), r.value--;
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
function l(v) {
|
|
557
557
|
if (!n.value || v < 0 || v >= s.value.length)
|
|
558
558
|
return;
|
|
559
|
-
let
|
|
559
|
+
let p = A(n.value);
|
|
560
560
|
for (let b = 1; b <= v; b++) {
|
|
561
561
|
const M = s.value[b];
|
|
562
|
-
M.delta && (
|
|
562
|
+
M.delta && (p = t.patch(p, M.delta));
|
|
563
563
|
}
|
|
564
|
-
return
|
|
564
|
+
return p;
|
|
565
565
|
}
|
|
566
566
|
function g() {
|
|
567
567
|
if (c.value) {
|
|
568
568
|
r.value--;
|
|
569
569
|
const v = l(r.value);
|
|
570
|
-
return v && (u.value =
|
|
570
|
+
return v && (u.value = A(v)), v;
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
573
|
function y() {
|
|
574
574
|
if (a.value) {
|
|
575
575
|
r.value++;
|
|
576
576
|
const v = l(r.value);
|
|
577
|
-
return v && (u.value =
|
|
577
|
+
return v && (u.value = A(v)), v;
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
function f() {
|
|
@@ -646,8 +646,8 @@ const $t = ze(
|
|
|
646
646
|
selector: "position"
|
|
647
647
|
}) : []), r = S(() => {
|
|
648
648
|
var o;
|
|
649
|
-
return ((o = t.currentBusiness.value) == null ? void 0 : o.menuVersion) ||
|
|
650
|
-
}), u = S(() => r.value ===
|
|
649
|
+
return ((o = t.currentBusiness.value) == null ? void 0 : o.menuVersion) || W.F_MENU_VERSION.v3;
|
|
650
|
+
}), u = S(() => r.value === W.F_MENU_VERSION.v4), c = S(() => {
|
|
651
651
|
const o = e.menu.modules.catalog;
|
|
652
652
|
return x(o, { selector: "name" });
|
|
653
653
|
}), a = S(() => {
|
|
@@ -668,18 +668,18 @@ const $t = ze(
|
|
|
668
668
|
e.menu = { ...o, _rev: e.menu._rev }, i && D.push(e.menu);
|
|
669
669
|
}
|
|
670
670
|
const y = N(me()), f = H(!1), v = H(1);
|
|
671
|
-
async function
|
|
671
|
+
async function p() {
|
|
672
672
|
var m;
|
|
673
673
|
f.value = !0;
|
|
674
674
|
let o = e.menu.modules.catalog;
|
|
675
675
|
if (a.value && ((m = a.value.linkItemRules) != null && m.length)) {
|
|
676
|
-
const
|
|
676
|
+
const h = T.populateCatalog({
|
|
677
677
|
catalog: a.value,
|
|
678
678
|
ruleGroupSettings: e.menu.ruleGroupSettings,
|
|
679
679
|
items: e.menu.modules.item,
|
|
680
680
|
...e.currentRestaurantAttrParams ?? {}
|
|
681
681
|
});
|
|
682
|
-
o = e.menu.modules.catalog.map((_) => _._id === (
|
|
682
|
+
o = e.menu.modules.catalog.map((_) => _._id === (h == null ? void 0 : h._id) ? h : _);
|
|
683
683
|
}
|
|
684
684
|
const i = await ce(
|
|
685
685
|
{
|
|
@@ -693,16 +693,16 @@ const $t = ze(
|
|
|
693
693
|
e.currentSchedulerId
|
|
694
694
|
);
|
|
695
695
|
if (e.currentSchedulerId != null) {
|
|
696
|
-
const
|
|
696
|
+
const h = e.menu.modules.catalog.find(
|
|
697
697
|
(R) => R._id === e.currentCatalogId
|
|
698
|
-
), _ =
|
|
698
|
+
), _ = h ? h.override.scheduler[e.currentSchedulerId] : e.menu.modules.scheduler.find(
|
|
699
699
|
(R) => R._id === e.currentSchedulerId
|
|
700
|
-
),
|
|
701
|
-
i.modules.item = i.modules.item.filter((R) =>
|
|
700
|
+
), C = new Set(((_ == null ? void 0 : _.items) || []).map((R) => R._id));
|
|
701
|
+
i.modules.item = i.modules.item.filter((R) => C.has(R._id));
|
|
702
702
|
}
|
|
703
703
|
return y.value = i, f.value = !1, v.value = v.value + 1, i;
|
|
704
704
|
}
|
|
705
|
-
const M = ae.debounce(
|
|
705
|
+
const M = ae.debounce(p, 200);
|
|
706
706
|
let I = null, k = null;
|
|
707
707
|
function X() {
|
|
708
708
|
k && (k(), k = null), I && I.stop(), I = He(!0), k = I.run(() => Be(
|
|
@@ -742,9 +742,9 @@ const $t = ze(
|
|
|
742
742
|
let o = y.value.modules.item;
|
|
743
743
|
if (a.value) {
|
|
744
744
|
const m = (i = a.value) == null ? void 0 : i.override.items;
|
|
745
|
-
o = o.filter((
|
|
746
|
-
var
|
|
747
|
-
const _ = (
|
|
745
|
+
o = o.filter((h) => {
|
|
746
|
+
var C;
|
|
747
|
+
const _ = (C = m == null ? void 0 : m[h._id]) == null ? void 0 : C.find(
|
|
748
748
|
(R) => !R.combinationKey
|
|
749
749
|
);
|
|
750
750
|
return (_ == null ? void 0 : _.orderFrom) !== ie.enum.NONE;
|
|
@@ -752,15 +752,15 @@ const $t = ze(
|
|
|
752
752
|
}
|
|
753
753
|
return V(o, (m) => m.code || m.name);
|
|
754
754
|
}), ye = S(() => {
|
|
755
|
-
const o = e.menu.modules.category, i = V(o, (
|
|
756
|
-
(
|
|
755
|
+
const o = e.menu.modules.category, i = V(o, (h) => h.name).reduce(
|
|
756
|
+
(h, _, C) => (h[_._id] = C, h),
|
|
757
757
|
{ "": 0 }
|
|
758
758
|
), m = e.menu.modules.item;
|
|
759
759
|
return V(
|
|
760
760
|
m,
|
|
761
|
-
(
|
|
762
|
-
).reduce((
|
|
763
|
-
}), ge = S(() => oe(j.value, Z.value, ee.value)),
|
|
761
|
+
(h) => h.code || h.name
|
|
762
|
+
).reduce((h, _, C) => (h[_._id] = C + i[_.category || ""], h), {});
|
|
763
|
+
}), ge = S(() => oe(j.value, Z.value, ee.value)), pe = S(() => {
|
|
764
764
|
const o = U.value.item.addon ? [
|
|
765
765
|
{
|
|
766
766
|
_id: e.currentCatalogId ? "" : null,
|
|
@@ -778,34 +778,34 @@ const $t = ze(
|
|
|
778
778
|
const o = y.value.modules.variant;
|
|
779
779
|
return x(o, { selector: "name" });
|
|
780
780
|
});
|
|
781
|
-
function
|
|
782
|
-
const i = o.map((
|
|
783
|
-
return T.fullVariantCombination(i).reduce((
|
|
781
|
+
function he(o = []) {
|
|
782
|
+
const i = o.map((h) => j.value.find((_) => _._id === h)).filter((h) => !!h);
|
|
783
|
+
return T.fullVariantCombination(i).reduce((h, _) => (h[_.combinationKey] = _.selectionName.join(" / "), h), {});
|
|
784
784
|
}
|
|
785
785
|
const _e = S(() => V(y.value.modules.group, (o) => o.name)), Se = S(() => x(y.value.modules.takeaway, { selector: "name" })), be = S(() => x(e.menu.modules.printDepartment || [], {
|
|
786
786
|
selector: "name"
|
|
787
787
|
})), Me = S(() => x(e.menu.modules.unit, { selector: "name" })), we = S(() => x(Ge(e.menu.modules.recipe, e.menu.modules.sku), {
|
|
788
788
|
selector: "name"
|
|
789
|
-
})),
|
|
789
|
+
})), Ce = S(() => e.menu.modules.cookingGuide), Ae = S(() => {
|
|
790
790
|
const o = Je(e.menu.modules.sku);
|
|
791
791
|
return x(o, { selector: "code" });
|
|
792
792
|
}), Ie = S(() => {
|
|
793
793
|
const o = /* @__PURE__ */ new Map();
|
|
794
794
|
return e.menu.modules.item.forEach((i) => {
|
|
795
|
-
var m,
|
|
796
|
-
i.code && o.set(i.code, (o.get(i.code) || 0) + 1), (
|
|
795
|
+
var m, h;
|
|
796
|
+
i.code && o.set(i.code, (o.get(i.code) || 0) + 1), (h = (m = i.variant) == null ? void 0 : m.variantCombinations) == null || h.forEach((_) => {
|
|
797
797
|
_.code && o.set(_.code, (o.get(_.code) || 0) + 1);
|
|
798
798
|
});
|
|
799
799
|
}), o;
|
|
800
800
|
}), U = S(() => {
|
|
801
|
-
const o = !e.currentCatalogId, i = r.value ===
|
|
801
|
+
const o = !e.currentCatalogId, i = r.value === W.F_MENU_VERSION.v4, m = !e.currentSchedulerId, h = {
|
|
802
802
|
create: o && m,
|
|
803
803
|
edit: o && m,
|
|
804
804
|
delete: o && m
|
|
805
805
|
};
|
|
806
806
|
return {
|
|
807
807
|
item: {
|
|
808
|
-
...
|
|
808
|
+
...h,
|
|
809
809
|
edit: i || m,
|
|
810
810
|
sort: i && o && m,
|
|
811
811
|
addon: i,
|
|
@@ -841,12 +841,12 @@ const $t = ze(
|
|
|
841
841
|
takeawayConfig: i
|
|
842
842
|
},
|
|
843
843
|
category: {
|
|
844
|
-
...
|
|
844
|
+
...h,
|
|
845
845
|
sort: o,
|
|
846
846
|
overrideSequence: i
|
|
847
847
|
},
|
|
848
848
|
group: {
|
|
849
|
-
...
|
|
849
|
+
...h,
|
|
850
850
|
edit: i || m,
|
|
851
851
|
sort: o,
|
|
852
852
|
applyProduct: o,
|
|
@@ -860,7 +860,7 @@ const $t = ze(
|
|
|
860
860
|
override: i
|
|
861
861
|
},
|
|
862
862
|
takeaway: {
|
|
863
|
-
...
|
|
863
|
+
...h,
|
|
864
864
|
edit: (i || o) && m,
|
|
865
865
|
name: o
|
|
866
866
|
},
|
|
@@ -871,7 +871,7 @@ const $t = ze(
|
|
|
871
871
|
}
|
|
872
872
|
};
|
|
873
873
|
});
|
|
874
|
-
function
|
|
874
|
+
function L(o) {
|
|
875
875
|
return `${o.systemCode}/${o.taxCode}`;
|
|
876
876
|
}
|
|
877
877
|
function ke(o) {
|
|
@@ -879,21 +879,21 @@ const $t = ze(
|
|
|
879
879
|
return { systemCode: i, taxCode: m };
|
|
880
880
|
}
|
|
881
881
|
function Ee(o, i, m) {
|
|
882
|
-
return (o ?? i ?? []).map((
|
|
882
|
+
return (o ?? i ?? []).map((h) => L(h)).find((h) => m.some((_) => _.value === h));
|
|
883
883
|
}
|
|
884
884
|
const Re = S(() => {
|
|
885
|
-
var
|
|
885
|
+
var h;
|
|
886
886
|
const o = ["SV5", "SV10"], i = Ye.Country.getCountryFlattenTaxes(
|
|
887
887
|
se().currentCountry.value
|
|
888
888
|
), m = i.filter((_) => u.value || !o.includes(_.taxCode)).map((_) => ({
|
|
889
889
|
label: `${_.name} (${Qe(_.rate)}%)`,
|
|
890
|
-
value:
|
|
890
|
+
value: L(_),
|
|
891
891
|
meta: {
|
|
892
892
|
rate: _.rate
|
|
893
893
|
}
|
|
894
894
|
}));
|
|
895
|
-
return m.sort((_,
|
|
896
|
-
systemCode: (
|
|
895
|
+
return m.sort((_, C) => _.label.localeCompare(C.label, void 0, { numeric: !0 })), {
|
|
896
|
+
systemCode: (h = i[0]) == null ? void 0 : h.systemCode,
|
|
897
897
|
countryTaxOptions: m
|
|
898
898
|
};
|
|
899
899
|
}), xe = async () => {
|
|
@@ -921,19 +921,19 @@ const $t = ze(
|
|
|
921
921
|
}, Ke = async (o, i) => {
|
|
922
922
|
const m = Array.isArray(o) ? o : [o];
|
|
923
923
|
if (!m.length) return;
|
|
924
|
-
const
|
|
924
|
+
const h = m.map((_) => ({
|
|
925
925
|
..._,
|
|
926
926
|
_id: e.menu._id,
|
|
927
927
|
_rev: e.menu._rev
|
|
928
928
|
}));
|
|
929
929
|
try {
|
|
930
|
-
if (i ||
|
|
931
|
-
(
|
|
930
|
+
if (i || h.some(
|
|
931
|
+
(C) => [B.F_OPERATION_TYPE.delete, B.F_OPERATION_TYPE.deleteMany].includes(C.operation)
|
|
932
932
|
)) {
|
|
933
|
-
const
|
|
934
|
-
if (
|
|
933
|
+
const C = await Xe(h, e.menu.modules);
|
|
934
|
+
if (C !== !0) throw new Error(C);
|
|
935
935
|
}
|
|
936
|
-
const _ = await Mt.updateMenuModule(e.menu,
|
|
936
|
+
const _ = await Mt.updateMenuModule(e.menu, h);
|
|
937
937
|
return g(_.menu), _;
|
|
938
938
|
} catch (_) {
|
|
939
939
|
n.open({
|
|
@@ -981,15 +981,15 @@ const $t = ze(
|
|
|
981
981
|
sortedItems: ye,
|
|
982
982
|
itemCodeMap: Ie,
|
|
983
983
|
categorizedItems: ge,
|
|
984
|
-
categorizedRawMenuItems:
|
|
984
|
+
categorizedRawMenuItems: pe,
|
|
985
985
|
variants: j,
|
|
986
986
|
groups: _e,
|
|
987
987
|
takeaways: Se,
|
|
988
988
|
printDepartments: be,
|
|
989
989
|
units: Me,
|
|
990
990
|
recipes: we,
|
|
991
|
-
cookingGuide:
|
|
992
|
-
skus:
|
|
991
|
+
cookingGuide: Ce,
|
|
992
|
+
skus: Ae,
|
|
993
993
|
rules: U,
|
|
994
994
|
taxSetting: Re,
|
|
995
995
|
// Action
|
|
@@ -1002,12 +1002,12 @@ const $t = ze(
|
|
|
1002
1002
|
setRestaurantAttrParams: Te,
|
|
1003
1003
|
updateMenu: Ke,
|
|
1004
1004
|
updateMenuSetting: Pe,
|
|
1005
|
-
computeMergedMenu:
|
|
1005
|
+
computeMergedMenu: p,
|
|
1006
1006
|
// helper
|
|
1007
|
-
encodeTax:
|
|
1007
|
+
encodeTax: L,
|
|
1008
1008
|
decodeTax: ke,
|
|
1009
1009
|
getSelectedTax: Ee,
|
|
1010
|
-
mapVariant:
|
|
1010
|
+
mapVariant: he,
|
|
1011
1011
|
// history
|
|
1012
1012
|
canUndoHistory: $e,
|
|
1013
1013
|
canRedoHistory: Fe,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as q, ref as V, h as S, computed as N, resolveComponent as I, createBlock as X, openBlock as w, unref as l, withCtx as x, createElementVNode as k, createVNode as v, watch as Z, createElementBlock as L, Fragment as M, renderSlot as ee, renderList as H, toDisplayString as $, createCommentVNode as ae, getCurrentInstance as te, render as ne } from "vue";
|
|
2
|
-
import { u as Y, i as oe, b as le, g as B, h as K } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as Y, i as oe, b as le, g as B, h as K } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js";
|
|
3
3
|
import { useI18n as R } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as A, FmButtonVariant as re, FmButtonColorThemeVariant as j, useSnackbar as ie } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as J, u as se } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as J, u as se } from "./RuleView.vue_vue_type_script_setup_true_lang-LbagGtcn.js";
|
|
6
6
|
import { c as de } from "./object-DVUNCr7w.js";
|
|
7
|
-
import { _ as ue } from "./app-
|
|
8
|
-
import { L as ce } from "./LinkProductSideSheet-
|
|
7
|
+
import { _ as ue } from "./app-T8AXgSEa.js";
|
|
8
|
+
import { L as ce } from "./LinkProductSideSheet-DXmxJs-1.js";
|
|
9
9
|
import { u as me } from "./search-BAPEUu1R.js";
|
|
10
|
-
import { _ as pe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { _ as pe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-BztGh7n9.js";
|
|
11
11
|
import { c as ge } from "./check-C9mY6LiX.js";
|
|
12
12
|
import { g as G } from "./translation-fNx6yEpy.js";
|
|
13
13
|
import { c as _e } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as d, ref as g, watch as _, resolveComponent as S, createBlock as T, openBlock as f, unref as y, computed as h } from "vue";
|
|
2
2
|
import { useI18n as m } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialogChild as w, useDialog as x, useSnackbar as C } from "@feedmepos/ui-library";
|
|
4
|
-
import { u as k, b as M } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as k, b as M } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js";
|
|
5
5
|
const b = /* @__PURE__ */ d({
|
|
6
6
|
__name: "AddPriceGroupDialog",
|
|
7
7
|
setup(s) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as I, watch as P, ref as E, computed as w, resolveComponent as _, createElementBlock as h, openBlock as F, Fragment as M, createVNode as f, unref as g, withCtx as b, createElementVNode as O, renderList as q, toDisplayString as S } from "vue";
|
|
2
|
-
import { g as v, h as C, u as Y } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { g as v, h as C, u as Y } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js";
|
|
3
3
|
import { useI18n as D } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as k } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as R } from "./menuV2-
|
|
6
|
-
import { _ as $ } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as R } from "./menuV2-BAdmIxrF.js";
|
|
6
|
+
import { _ as $ } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-BztGh7n9.js";
|
|
7
7
|
import { g as N } from "./translation-fNx6yEpy.js";
|
|
8
8
|
const B = { class: "py-12 px-16 space-y-4" }, U = /* @__PURE__ */ I({
|
|
9
9
|
__name: "AddSubcategoryDialogContentComponent",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as re, computed as N, resolveComponent as v, createElementBlock as d, openBlock as u, createVNode as t, createCommentVNode as V, unref as n, toDisplayString as O, createElementVNode as _, withCtx as p, Fragment as R, renderList as I, createBlock as q, ref as B, Transition as de, createTextVNode as fe } from "vue";
|
|
2
|
-
import { u as ye, l as _e } from "./discardConfirm-
|
|
3
|
-
import { d as w, z as $, u as he, F as ge, A as L, g as se, h as ie, P as ce } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as ye, l as _e } from "./discardConfirm-CM6g-V_v.js";
|
|
3
|
+
import { d as w, z as $, u as he, F as ge, A as L, g as se, h as ie, P as ce } from "./index.vue_vue_type_script_setup_true_lang-qm3HbXBN.js";
|
|
4
4
|
import { useI18n as me } from "@feedmepos/mf-common";
|
|
5
5
|
import { components as Ve } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as ke } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
7
|
-
import { _ as ue } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as Fe } from "./menu-
|
|
9
|
-
import { L as be } from "./LinkProductSideSheet-
|
|
7
|
+
import { _ as ue } from "./RuleView.vue_vue_type_script_setup_true_lang-LbagGtcn.js";
|
|
8
|
+
import { u as Fe } from "./menu-CIm-Royr.js";
|
|
9
|
+
import { L as be } from "./LinkProductSideSheet-DXmxJs-1.js";
|
|
10
10
|
const xe = { class: "space-y-8" }, Ce = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "space-y-16"
|