@feedmepos/mf-menu 0.31.40-prod → 0.31.41-prod
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-aWEH-ZEk.js → App-5Lzy8zHZ.js} +8 -8
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-jJyinQZl.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BnKXsQH-.js} +3 -3
- package/dist/{Catalog-BoFfFdn8.js → Catalog-s5b8V8nw.js} +8 -9
- package/dist/{Category-CWYbb3Jn.js → Category-BJzScJEY.js} +4 -4
- package/dist/{Category-DZ45uikR.js → Category-DZ-xqIMI.js} +6 -6
- package/dist/{CookingGuide-BU0PRWIQ.js → CookingGuide-Bkd6GPww.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Z5xsKDIE.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-B8tIjKOW.js} +1 -1
- package/dist/{Group-BMQDeqiS.js → Group-0b2Qiov3.js} +1 -1
- package/dist/{Group-C0T_uknK.js → Group-BOaCcKiI.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DyfmY6F1.js → Group.vue_vue_type_script_setup_true_lang-DUlUfMAs.js} +8 -8
- package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CouimeC4.js +399 -0
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Dl-Wvt3D.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DOvQmbrZ.js} +13 -14
- package/dist/{Ingredient-3lwDUQx_.js → Ingredient-ChcYUvOg.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-VLrrTkSC.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DE1HkipX.js} +2 -2
- package/dist/LinkProductSideSheet-BdzBGYxG.js +361 -0
- package/dist/MenuSetting-zAAttaoA.js +618 -0
- package/dist/{PrintRoute-DfJ-vUAb.js → PrintRoute-T-vuO5N8.js} +4 -4
- package/dist/{Product-F4PoLm9v.js → Product-B5q291VF.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-DT5gffpA.js → Product.vue_vue_type_script_setup_true_lang-DLRlT10W.js} +468 -465
- package/dist/{ProductInternalTools-DSGU-OqU.js → ProductInternalTools-BOlc0VUR.js} +5 -5
- package/dist/{Products-COzW2Z4g.js → Products-Cd4Mqhm3.js} +88 -85
- package/dist/{Publish-CDXVWCk2.js → Publish-SuRzt-_D.js} +3 -3
- package/dist/{Recipe-BZx4wrcP.js → Recipe-BKrjNs5g.js} +4 -4
- package/dist/{Scheduler-wHCWSeU2.js → Scheduler-DnDgImLC.js} +3 -3
- package/dist/{ServingSequence-BbYEhDYh.js → ServingSequence-D602bVnm.js} +3 -3
- package/dist/{Setting-C9Tlw1Iy.js → Setting-FMT4oBYH.js} +44 -45
- package/dist/{Subcategory-C8AwfrKb.js → Subcategory-CpYmjAvA.js} +4 -4
- package/dist/{Takeaway-t1053wg2.js → Takeaway-BXh3iuME.js} +1 -1
- package/dist/{Takeaway-DaEUn-yM.js → Takeaway-D4hjN5z5.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-7XycP5fU.js → Takeaway.vue_vue_type_script_setup_true_lang-By1f-FCO.js} +5 -5
- package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-CZUwa5C_.js +440 -0
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Ci6iqOry.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DfjtfcCh.js} +604 -600
- package/dist/{Unit-CnqptGCz.js → Unit-CsjHkV-h.js} +2 -2
- package/dist/{Variant-DiOYOwJs.js → Variant-Djra14ZX.js} +3 -3
- package/dist/{_id_-BSfU16VO.js → _id_-BXkqoCzB.js} +78 -75
- package/dist/{app-Ddb81PNo.js → app-CVqWWV4x.js} +278 -278
- package/dist/{LinkProductSideSheet.vue_vue_type_style_index_0_scoped_97fa9d58_lang-DvG3mOom.js → app-CiBqmBzO.js} +2120 -2084
- package/dist/{app-Cou6qPF2.js → app-PhBJNss_.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/api/menu.d.ts +2 -1
- package/dist/apps/mf-menu/src/app.d.ts +144 -0
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierRuleEditor.vue.d.ts +36 -0
- package/dist/apps/mf-menu/src/components/feature/RestaurantAttributesSelector.vue.d.ts +9 -3
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +294 -4
- package/dist/apps/mf-menu/src/composable/attributes.d.ts +26 -0
- package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +40 -0
- package/dist/apps/mf-menu/src/helper/import-export.d.ts +285 -0
- package/dist/apps/mf-menu/src/helper/menu.d.ts +285 -0
- package/dist/apps/mf-menu/src/manager/menu/item.d.ts +285 -0
- package/dist/apps/mf-menu/src/stores/menu.d.ts +293 -3
- package/dist/apps/mf-menu/src/utils/array.d.ts +1 -0
- package/dist/apps/mf-menu/src/utils/customAttributes.d.ts +12 -0
- package/dist/apps/mf-menu/src/views/MenuSetting/LinkProductRuleGroups.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/MenuSetting/RuleGroupSideSheet.vue.d.ts +176 -0
- package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +166 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-WlVAcpRn.js +13 -0
- package/dist/assets/override-menu-__h4D7ac.js +13 -0
- package/dist/assets/validate-menu-DyPuzLRg.js +13 -0
- package/dist/{catalog-DSuJhsUb.js → catalog-C_TuQLxq.js} +1 -1
- package/dist/{catalogSetting-C3gEw9ov.js → catalogSetting-BUlJu6hG.js} +1 -1
- package/dist/{category-CwWq3KCE.js → category-CmVw1Kj-.js} +1 -1
- package/dist/{currency-g45Sh-t6.js → currency-OhOTnAqk.js} +1 -1
- package/dist/customAttributes-fpOfmGnw.js +180 -0
- package/dist/{dayjs.min-g3eN5z-V.js → dayjs.min-CDhP-7L5.js} +1 -1
- package/dist/{index-QsLFbxyG.js → index-BJZEWB5C.js} +4 -4
- package/dist/{index-BLQCYEc6.js → index-DHAYGEPp.js} +7 -8
- package/dist/{index-0yRUi7LL.js → index-DtwHmS38.js} +1 -1
- package/dist/index-N3cGc8ex.js +245 -0
- package/dist/{item-BvvQ9urP.js → item-BELLphR0.js} +16 -16
- package/dist/{jszip.min-DzdUiaR4.js → jszip.min-CZtcGb7A.js} +353 -353
- package/dist/{menu-QrVg2Ph7.js → menu-Csyr6W9A.js} +7 -7
- package/dist/{menu-DFNvhoNQ.js → menu-DS_ERmBf.js} +23355 -23206
- package/dist/{menuV2-Ezf_jW40.js → menuV2-DKzAZ4Ss.js} +151 -146
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-zENsn3P_.js → priceTier-CYWS5lDS.js} +1 -1
- package/dist/{scheduler-BuwGSv6A.js → scheduler-DI5dXC7Y.js} +8 -8
- package/dist/{subcategory-O3L_zCJA.js → subcategory-D_ao-IV9.js} +2 -2
- package/dist/{toExcel-CpRy_4nG.js → toExcel-Cml-rkJQ.js} +2 -2
- package/dist/{unit-Ct_7Hfa2.js → unit-BWDp2LkV.js} +42 -41
- package/package.json +3 -3
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js +0 -50
- package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D6qro5w_.js +0 -367
- package/dist/LinkProductSideSheet-LDZjKX95.js +0 -297
- package/dist/MenuSetting-AhutsCVy.js +0 -185
- package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-B7oLH9cP.js +0 -431
- package/dist/assets/linked-status-B_crHhZH.js +0 -24
- package/dist/assets/override-menu-BmlCEpHH.js +0 -24
- package/dist/assets/validate-menu-CF-psoB-.js +0 -24
- package/dist/index-0Q5T9VZV.js +0 -214
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as et, watch as st, computed as ve, resolveComponent as qe, createElementBlock as Ne, openBlock as Ae, createElementVNode as Le, createVNode as He, toDisplayString as tt, unref as Oe, isRef as ut, createBlock as dt, createCommentVNode as $t, Fragment as pt, renderList as mt, h as Ie } from "vue";
|
|
2
|
-
import { u as ct, e as ze, B as We, a4 as Qe, c as gt, a5 as Ft } from "./menu-
|
|
2
|
+
import { u as ct, e as ze, B as We, a4 as Qe, c as gt, a5 as Ft } from "./menu-DS_ERmBf.js";
|
|
3
3
|
import { useI18n as nt } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as ft, useProxiedModel as It, useDialog as yt, components as we, FmButtonColorThemeVariant as Ze, FmButtonVariant as Ke } from "@feedmepos/ui-library";
|
|
5
5
|
import { u as St } from "./search-BAPEUu1R.js";
|
|
6
|
-
var Be = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_119a13a6-1a60-46a8-9cf2-90abd1ac99e7", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies__feedmepos_remy_vue_client: "0.1.3-beta.8", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_119a13a6-1a60-46a8-9cf2-90abd1ac99e7", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4.feedmeapi.com", GTM_ID: "GTM-WR8XHXLH", FIREBASE_MESSAGING_SENDER_ID: "128512026847", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "production", npm_package_devDependencies_sass: "1.69.5", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.2.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.1.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.2.13676358", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-zzez732dna-as.a.run.app", SYSTEMD_EXEC_PID: "1737", npm_package_dependencies__feedmepos_ui_library: "1.7.4", npm_package_dependencies_dayjs: "^1.11.12", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_i18next: "^23.11.5", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "dotenv -e .env.dev pnpm build-only", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.25", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250929.60.1", npm_package_scripts_dev: "vite --mode dev --port 5176", npm_package_scripts_build_prod: "dotenv -e .env.prod pnpm build-only", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.3", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_dependencies_i18next_vue: "^4.0.0", npm_package_devDependencies_prettier: "^3.0.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13205", GITHUB_WORKFLOW: "Publish mf-menu prod", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.7/x64", REMY_URL: "https://remy.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "18457657180", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "ae7a4690649f952184bd72eee99765d8e4eb76ca", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "production", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu-prod.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", npm_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_607621d7-cc93-418c-aa8e-12c92a28fb38", INVOCATION_ID: "1f18f566c0c2457eaeecc06c9c60937f", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "92", GITHUB_TRIGGERING_ACTOR: "heiseshandian", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-2MP52PC24R", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000021676", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_package_exports___style_css: "./dist/style.css", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "2.14.36", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.31.40-prod", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "false", FIREBASE_PROJECT_ID: "feedme-253402", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "ae7a4690649f952184bd72eee99765d8e4eb76ca", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_119a13a6-1a60-46a8-9cf2-90abd1ac99e7", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "7780463", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_119a13a6-1a60-46a8-9cf2-90abd1ac99e7", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_inventory_core: "^0.2.6", npm_package_dependencies__feedmepos_zod_entity: "0.0.4-alpha.9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_devDependencies_eslint_plugin_vue: "^9.17.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", npm_package_dependencies__feedmepos_menu: "1.7.12", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_119a13a6-1a60-46a8-9cf2-90abd1ac99e7", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } }, rt = typeof Be < "u" && (Be.versions || {}).hasOwnProperty("node"), D = rt ? Object.create(globalThis) : globalThis;
|
|
6
|
+
var Be = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_2d254da0-7358-43ca-a395-f82d65ad6807", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies__feedmepos_remy_vue_client: "0.1.3-beta.8", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_2d254da0-7358-43ca-a395-f82d65ad6807", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4.feedmeapi.com", GTM_ID: "GTM-WR8XHXLH", FIREBASE_MESSAGING_SENDER_ID: "128512026847", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "production", npm_package_devDependencies_sass: "1.69.5", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.2.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.1.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.2.13676358", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-zzez732dna-as.a.run.app", SYSTEMD_EXEC_PID: "1737", npm_package_dependencies__feedmepos_ui_library: "1.7.4", npm_package_dependencies_dayjs: "^1.11.12", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_i18next: "^23.11.5", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "dotenv -e .env.dev pnpm build-only", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.25", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250929.60.1", npm_package_scripts_dev: "vite --mode dev --port 5176", npm_package_scripts_build_prod: "dotenv -e .env.prod pnpm build-only", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_dependencies_i18next_vue: "^4.0.0", npm_package_devDependencies_prettier: "^3.0.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13357", GITHUB_WORKFLOW: "Publish mf-menu prod", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.7/x64", REMY_URL: "https://remy.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "18483182662", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "944184ddc5ca359b273f0095e265efd5e74a9b54", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "production", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu-prod.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", npm_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_d76d3944-c3a9-4a02-89c1-ace06b6a3980", INVOCATION_ID: "ced687cbecc3440cb5bb0c6eae6acac9", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "93", GITHUB_TRIGGERING_ACTOR: "heiseshandian", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-2MP52PC24R", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000021782", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_package_exports___style_css: "./dist/style.css", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "2.14.36", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.31.41-prod", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "false", FIREBASE_PROJECT_ID: "feedme-253402", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "944184ddc5ca359b273f0095e265efd5e74a9b54", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_2d254da0-7358-43ca-a395-f82d65ad6807", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "7780463", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_2d254da0-7358-43ca-a395-f82d65ad6807", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_inventory_core: "^0.2.6", npm_package_dependencies__feedmepos_zod_entity: "0.0.4-alpha.9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_devDependencies_eslint_plugin_vue: "^9.17.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", npm_package_dependencies__feedmepos_menu: "1.7.14", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_2d254da0-7358-43ca-a395-f82d65ad6807", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } }, rt = typeof Be < "u" && (Be.versions || {}).hasOwnProperty("node"), D = rt ? Object.create(globalThis) : globalThis;
|
|
7
7
|
D.scheduleImmediate = typeof setImmediate < "u" ? function(ge) {
|
|
8
8
|
setImmediate(ge);
|
|
9
9
|
} : function(ge) {
|
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
import { defineComponent as fe, ref as g, computed as A, watch as ve, resolveComponent as I, createElementBlock as S, openBlock as v, Fragment as M, renderSlot as _e, createVNode as u, unref as l, withCtx as p, createBlock as T, createCommentVNode as z, createElementVNode as _, toDisplayString as Y, renderList as Re } from "vue";
|
|
2
|
+
import { H as F, Q as ye, u as q, A as Ae, I as J } from "./menu-DS_ERmBf.js";
|
|
3
|
+
import { b as U } from "./app-CiBqmBzO.js";
|
|
4
|
+
import { useI18n as ke, useCustomAttributes as K, useCoreStore as Ce, ItemSelector as he, EMPTY_RULE as B, isEmptyRule as W } from "@feedmepos/mf-common";
|
|
5
|
+
import { components as Ve, FmButtonVariant as X } from "@feedmepos/ui-library";
|
|
6
|
+
import { c as ge, u as Ie, a as h, m as O, f as E } from "./customAttributes-fpOfmGnw.js";
|
|
7
|
+
import { u as Se } from "./discardConfirm-BHni0LNu.js";
|
|
8
|
+
import { u as we } from "./menuV2-DKzAZ4Ss.js";
|
|
9
|
+
import { c as Fe } from "./check-C9mY6LiX.js";
|
|
10
|
+
/* empty css */
|
|
11
|
+
const Ue = (c, N) => {
|
|
12
|
+
const s = c.__vccOpts || c;
|
|
13
|
+
for (const [w, i] of N)
|
|
14
|
+
s[w] = i;
|
|
15
|
+
return s;
|
|
16
|
+
};
|
|
17
|
+
var d = /* @__PURE__ */ ((c) => (c[c.Normal = 0] = "Normal", c[c.Rules = 1] = "Rules", c))(d || {});
|
|
18
|
+
const Be = { class: "fm-typo-en-title-md-600 mr-auto" }, Oe = {
|
|
19
|
+
key: 1,
|
|
20
|
+
class: "flex items-center gap-12"
|
|
21
|
+
}, Ee = { class: "flex items-center gap-8" }, Ne = { class: "text-neutral-600 fm-typo-body-sm" }, Le = { class: "grid md:grid-cols-3 gap-16" }, Me = { class: "md:col-span-2 space-y-16" }, Te = { class: "flex justify-end" }, ze = { class: "flex gap-8 items-center justify-start" }, De = /* @__PURE__ */ fe({
|
|
22
|
+
__name: "LinkProductSideSheet",
|
|
23
|
+
props: {
|
|
24
|
+
initialValue: { default: () => [] },
|
|
25
|
+
linkItemRules: {},
|
|
26
|
+
menuItems: {},
|
|
27
|
+
categories: {},
|
|
28
|
+
noScheduler: { type: Boolean },
|
|
29
|
+
isLocalOnly: { type: Boolean, default: !1 },
|
|
30
|
+
categorizedItems: { default: () => [] },
|
|
31
|
+
selectVariant: { type: Boolean, default: !1 },
|
|
32
|
+
showVariant: { type: Boolean, default: !1 },
|
|
33
|
+
showAddon: { type: Boolean, default: !0 },
|
|
34
|
+
title: { default: void 0 },
|
|
35
|
+
useCloseBtn: { type: Boolean }
|
|
36
|
+
},
|
|
37
|
+
emits: ["submit"],
|
|
38
|
+
setup(c, { emit: N }) {
|
|
39
|
+
const s = c, w = N, { t: i } = ke(), k = g(d.Normal);
|
|
40
|
+
function Z(e) {
|
|
41
|
+
k.value = e;
|
|
42
|
+
}
|
|
43
|
+
const b = g(!1), D = (e) => {
|
|
44
|
+
Fe.isBoolean(e) ? b.value = e : b.value = !b.value;
|
|
45
|
+
};
|
|
46
|
+
function L(e) {
|
|
47
|
+
return e.reduce((t, a) => (t[a._id] = [...t[a._id] ?? [], a], t), {});
|
|
48
|
+
}
|
|
49
|
+
const ee = s.initialValue, V = g(L(F(ee))), Q = A(() => Object.values(V.value).flatMap((e) => e)), { itemAttributes: te, convertCategoryIdToName: le, convertCategoryNameToId: ae } = ge({
|
|
50
|
+
menuItems: A(() => s.menuItems || []),
|
|
51
|
+
categories: A(() => s.categories || [])
|
|
52
|
+
}), j = g(
|
|
53
|
+
F(s.linkItemRules)
|
|
54
|
+
), r = g();
|
|
55
|
+
function x() {
|
|
56
|
+
var e;
|
|
57
|
+
return (e = j.value) == null ? void 0 : e.map((t) => {
|
|
58
|
+
var a, n, f, R;
|
|
59
|
+
return {
|
|
60
|
+
...t,
|
|
61
|
+
restaurantRule: {
|
|
62
|
+
restaurantAttributes: O((a = t.restaurantRule) == null ? void 0 : a.restaurantAttributes),
|
|
63
|
+
restaurantCustomAttributes: O((n = t.restaurantRule) == null ? void 0 : n.restaurantCustomAttributes)
|
|
64
|
+
},
|
|
65
|
+
itemRule: {
|
|
66
|
+
itemAttributes: le(O((f = t.itemRule) == null ? void 0 : f.itemAttributes)),
|
|
67
|
+
itemCustomAttributes: O((R = t.itemRule) == null ? void 0 : R.itemCustomAttributes)
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
r.value = x();
|
|
73
|
+
function G() {
|
|
74
|
+
var e;
|
|
75
|
+
return (e = r.value) == null ? void 0 : e.map((t) => {
|
|
76
|
+
var a, n, f, R;
|
|
77
|
+
return {
|
|
78
|
+
...t,
|
|
79
|
+
restaurantRule: {
|
|
80
|
+
restaurantAttributes: E((a = t.restaurantRule) == null ? void 0 : a.restaurantAttributes),
|
|
81
|
+
restaurantCustomAttributes: E((n = t.restaurantRule) == null ? void 0 : n.restaurantCustomAttributes)
|
|
82
|
+
},
|
|
83
|
+
itemRule: {
|
|
84
|
+
itemAttributes: E(ae((f = t.itemRule) == null ? void 0 : f.itemAttributes)),
|
|
85
|
+
itemCustomAttributes: E((R = t.itemRule) == null ? void 0 : R.itemCustomAttributes)
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
const ue = Se(
|
|
91
|
+
() => {
|
|
92
|
+
const e = G();
|
|
93
|
+
return !J.isEqual(L(s.initialValue), V.value) || !J.isEqual(s.linkItemRules, e);
|
|
94
|
+
},
|
|
95
|
+
() => {
|
|
96
|
+
b.value = !1;
|
|
97
|
+
}
|
|
98
|
+
);
|
|
99
|
+
function se() {
|
|
100
|
+
k.value === d.Rules ? w("submit", {
|
|
101
|
+
mode: d.Rules,
|
|
102
|
+
linkItemRules: G() ?? []
|
|
103
|
+
}) : w("submit", {
|
|
104
|
+
mode: d.Normal,
|
|
105
|
+
items: Q.value
|
|
106
|
+
}), b.value = !1;
|
|
107
|
+
}
|
|
108
|
+
ve(
|
|
109
|
+
() => b.value,
|
|
110
|
+
() => {
|
|
111
|
+
V.value = L(F(s.initialValue)), j.value = F(s.linkItemRules), r.value = x(), k.value = s.noScheduler && s.linkItemRules && s.linkItemRules.length > 0 ? d.Rules : d.Normal;
|
|
112
|
+
}
|
|
113
|
+
);
|
|
114
|
+
const oe = A(() => {
|
|
115
|
+
const e = ye();
|
|
116
|
+
return Object.values(e).sort((t, a) => a.sortingIndex - t.sortingIndex).map((t) => ({ label: t.label, value: t.value }));
|
|
117
|
+
}), re = A(
|
|
118
|
+
() => {
|
|
119
|
+
var e;
|
|
120
|
+
return (((e = q().state.menu.ruleGroupSettings) == null ? void 0 : e.groups) || []).map((t) => ({
|
|
121
|
+
label: t.name,
|
|
122
|
+
value: t._id
|
|
123
|
+
}));
|
|
124
|
+
}
|
|
125
|
+
), { attributes: ne } = K({
|
|
126
|
+
valueSource: Ce().restaurants,
|
|
127
|
+
entity: "restaurant"
|
|
128
|
+
}), { restaurantAttributes: ie } = Ie(), me = A(() => s.menuItems || []), { attributes: de } = K({
|
|
129
|
+
valueSource: me,
|
|
130
|
+
entity: "item"
|
|
131
|
+
});
|
|
132
|
+
function ce() {
|
|
133
|
+
const e = [
|
|
134
|
+
...r.value || [],
|
|
135
|
+
{
|
|
136
|
+
orderFrom: Ae.F_ORDER_FROM.enum.ALL,
|
|
137
|
+
restaurantRule: {
|
|
138
|
+
restaurantAttributes: null,
|
|
139
|
+
restaurantCustomAttributes: null
|
|
140
|
+
},
|
|
141
|
+
itemRule: {
|
|
142
|
+
itemAttributes: null,
|
|
143
|
+
itemCustomAttributes: null
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
];
|
|
147
|
+
r.value = e;
|
|
148
|
+
}
|
|
149
|
+
function pe(e) {
|
|
150
|
+
if (!r.value) return;
|
|
151
|
+
const t = [...r.value];
|
|
152
|
+
t.splice(e, 1), r.value = t.length ? t : [];
|
|
153
|
+
}
|
|
154
|
+
function $(e, t, a) {
|
|
155
|
+
if (!r.value) return;
|
|
156
|
+
const n = [...r.value];
|
|
157
|
+
W(t) ? n[e].restaurantRule[a] = null : n[e].restaurantRule[a] = t, r.value = n;
|
|
158
|
+
}
|
|
159
|
+
function P(e, t, a) {
|
|
160
|
+
if (!r.value) return;
|
|
161
|
+
const n = [...r.value];
|
|
162
|
+
W(t) ? n[e].itemRule[a] = null : n[e].itemRule[a] = t, r.value = n;
|
|
163
|
+
}
|
|
164
|
+
const H = A(() => {
|
|
165
|
+
const e = s.isLocalOnly ? we() : q();
|
|
166
|
+
return s.noScheduler && e.currentCatalog;
|
|
167
|
+
});
|
|
168
|
+
return (e, t) => {
|
|
169
|
+
const a = I("fm-button"), n = I("fm-switch"), f = I("FmSelect"), R = I("FmCard"), be = I("fm-side-sheet");
|
|
170
|
+
return v(), S(M, null, [
|
|
171
|
+
_e(e.$slots, "default", { trigger: D }, void 0, !0),
|
|
172
|
+
u(be, {
|
|
173
|
+
id: "group-form",
|
|
174
|
+
modelValue: b.value,
|
|
175
|
+
"onUpdate:modelValue": t[3] || (t[3] = (m) => b.value = m),
|
|
176
|
+
"close-button": e.useCloseBtn,
|
|
177
|
+
"is-container": l(Ve).FmForm,
|
|
178
|
+
"is-container-props": {
|
|
179
|
+
onValidationSuccess: se,
|
|
180
|
+
blameFormChildOnValidationFailed: !0
|
|
181
|
+
},
|
|
182
|
+
"max-width": 760,
|
|
183
|
+
"onOn:clickedAway": l(ue)
|
|
184
|
+
}, {
|
|
185
|
+
"side-sheet-header": p(() => [
|
|
186
|
+
e.useCloseBtn ? z("", !0) : (v(), T(a, {
|
|
187
|
+
key: 0,
|
|
188
|
+
variant: l(X).Tertiary,
|
|
189
|
+
class: "cursor-pointer mr-4",
|
|
190
|
+
"prepend-icon": "arrow_back",
|
|
191
|
+
onClick: D
|
|
192
|
+
}, null, 8, ["variant"])),
|
|
193
|
+
_("p", Be, Y(e.title || l(i)("menu.link_product.title")), 1),
|
|
194
|
+
H.value ? (v(), S("div", Oe, [
|
|
195
|
+
_("div", Ee, [
|
|
196
|
+
u(n, {
|
|
197
|
+
label: l(i)("menu.link_product.rules.section_title"),
|
|
198
|
+
"model-value": k.value === l(d).Rules,
|
|
199
|
+
"onUpdate:modelValue": t[0] || (t[0] = (m) => Z(m ? l(d).Rules : l(d).Normal))
|
|
200
|
+
}, null, 8, ["label", "model-value"])
|
|
201
|
+
])
|
|
202
|
+
])) : z("", !0)
|
|
203
|
+
]),
|
|
204
|
+
"side-sheet-footer": p(() => [
|
|
205
|
+
_("div", ze, [
|
|
206
|
+
u(a, {
|
|
207
|
+
label: l(i)("menu.common.actions.confirm"),
|
|
208
|
+
size: "lg",
|
|
209
|
+
type: "submit",
|
|
210
|
+
variant: "primary"
|
|
211
|
+
}, null, 8, ["label"]),
|
|
212
|
+
u(a, {
|
|
213
|
+
label: l(i)("menu.common.actions.cancel"),
|
|
214
|
+
size: "lg",
|
|
215
|
+
variant: "tertiary",
|
|
216
|
+
onClick: t[2] || (t[2] = () => b.value = !1)
|
|
217
|
+
}, null, 8, ["label"])
|
|
218
|
+
])
|
|
219
|
+
]),
|
|
220
|
+
default: p(() => [
|
|
221
|
+
(v(), S("div", {
|
|
222
|
+
class: "py-8 px-8 overflow-y-auto space-y-24",
|
|
223
|
+
key: k.value
|
|
224
|
+
}, [
|
|
225
|
+
k.value === l(d).Normal ? (v(), T(l(he), {
|
|
226
|
+
key: 0,
|
|
227
|
+
"auto-focus-search": !0,
|
|
228
|
+
"categorized-items": e.categorizedItems,
|
|
229
|
+
data: V.value,
|
|
230
|
+
"select-variant": e.selectVariant,
|
|
231
|
+
"selected-items": Q.value,
|
|
232
|
+
"show-variant": e.showVariant,
|
|
233
|
+
"show-addon": e.showAddon,
|
|
234
|
+
"onUpdate:data": t[1] || (t[1] = (m) => V.value = m)
|
|
235
|
+
}, null, 8, ["categorized-items", "data", "select-variant", "selected-items", "show-variant", "show-addon"])) : H.value ? (v(), S(M, { key: 1 }, [
|
|
236
|
+
_("p", Ne, Y(l(i)("menu.link_product.rules.hint")), 1),
|
|
237
|
+
(v(!0), S(M, null, Re(r.value, (m, C) => (v(), T(R, {
|
|
238
|
+
key: C,
|
|
239
|
+
class: "p-16 space-y-16",
|
|
240
|
+
variant: "outlined"
|
|
241
|
+
}, {
|
|
242
|
+
default: p(() => [
|
|
243
|
+
_("div", Le, [
|
|
244
|
+
u(h, {
|
|
245
|
+
label: l(i)("menu.link_product.rules.order_from")
|
|
246
|
+
}, {
|
|
247
|
+
default: p(() => [
|
|
248
|
+
u(f, {
|
|
249
|
+
items: oe.value,
|
|
250
|
+
modelValue: m.orderFrom,
|
|
251
|
+
"onUpdate:modelValue": (o) => m.orderFrom = o
|
|
252
|
+
}, null, 8, ["items", "modelValue", "onUpdate:modelValue"])
|
|
253
|
+
]),
|
|
254
|
+
_: 2
|
|
255
|
+
}, 1032, ["label"]),
|
|
256
|
+
u(h, {
|
|
257
|
+
label: l(i)("menu.rule_groups.title")
|
|
258
|
+
}, {
|
|
259
|
+
default: p(() => [
|
|
260
|
+
u(f, {
|
|
261
|
+
items: re.value,
|
|
262
|
+
multiselect: "",
|
|
263
|
+
"model-value": m.ruleGroupIds || [],
|
|
264
|
+
"onUpdate:modelValue": (o) => m.ruleGroupIds = o
|
|
265
|
+
}, null, 8, ["items", "model-value", "onUpdate:modelValue"])
|
|
266
|
+
]),
|
|
267
|
+
_: 2
|
|
268
|
+
}, 1032, ["label"]),
|
|
269
|
+
_("div", Me, [
|
|
270
|
+
u(h, {
|
|
271
|
+
label: l(i)("menu.link_product.rules.restaurant_filter")
|
|
272
|
+
}, {
|
|
273
|
+
default: p(() => {
|
|
274
|
+
var o;
|
|
275
|
+
return [
|
|
276
|
+
u(l(U), {
|
|
277
|
+
attributes: l(ie),
|
|
278
|
+
"model-value": ((o = m.restaurantRule) == null ? void 0 : o.restaurantAttributes) || l(B),
|
|
279
|
+
"onUpdate:modelValue": (y) => $(C, y, "restaurantAttributes")
|
|
280
|
+
}, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])
|
|
281
|
+
];
|
|
282
|
+
}),
|
|
283
|
+
_: 2
|
|
284
|
+
}, 1032, ["label"]),
|
|
285
|
+
u(h, {
|
|
286
|
+
label: l(i)("menu.link_product.rules.restaurant_custom_attributes_filter")
|
|
287
|
+
}, {
|
|
288
|
+
default: p(() => {
|
|
289
|
+
var o;
|
|
290
|
+
return [
|
|
291
|
+
u(l(U), {
|
|
292
|
+
attributes: l(ne),
|
|
293
|
+
"model-value": ((o = m.restaurantRule) == null ? void 0 : o.restaurantCustomAttributes) || l(B),
|
|
294
|
+
"onUpdate:modelValue": (y) => $(C, y, "restaurantCustomAttributes")
|
|
295
|
+
}, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])
|
|
296
|
+
];
|
|
297
|
+
}),
|
|
298
|
+
_: 2
|
|
299
|
+
}, 1032, ["label"]),
|
|
300
|
+
u(h, {
|
|
301
|
+
label: l(i)("menu.link_product.rules.item_filter")
|
|
302
|
+
}, {
|
|
303
|
+
default: p(() => {
|
|
304
|
+
var o;
|
|
305
|
+
return [
|
|
306
|
+
u(l(U), {
|
|
307
|
+
attributes: l(te),
|
|
308
|
+
"model-value": ((o = m.itemRule) == null ? void 0 : o.itemAttributes) || l(B),
|
|
309
|
+
"onUpdate:modelValue": (y) => P(C, y, "itemAttributes")
|
|
310
|
+
}, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])
|
|
311
|
+
];
|
|
312
|
+
}),
|
|
313
|
+
_: 2
|
|
314
|
+
}, 1032, ["label"]),
|
|
315
|
+
u(h, {
|
|
316
|
+
label: l(i)("menu.link_product.rules.item_custom_attributes_filter")
|
|
317
|
+
}, {
|
|
318
|
+
default: p(() => {
|
|
319
|
+
var o;
|
|
320
|
+
return [
|
|
321
|
+
u(l(U), {
|
|
322
|
+
attributes: l(de),
|
|
323
|
+
"model-value": ((o = m.itemRule) == null ? void 0 : o.itemCustomAttributes) || l(B),
|
|
324
|
+
"onUpdate:modelValue": (y) => P(C, y, "itemCustomAttributes")
|
|
325
|
+
}, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])
|
|
326
|
+
];
|
|
327
|
+
}),
|
|
328
|
+
_: 2
|
|
329
|
+
}, 1032, ["label"])
|
|
330
|
+
])
|
|
331
|
+
]),
|
|
332
|
+
_("div", Te, [
|
|
333
|
+
u(a, {
|
|
334
|
+
variant: l(X).Tertiary,
|
|
335
|
+
"prepend-icon": "delete",
|
|
336
|
+
onClick: (o) => pe(C)
|
|
337
|
+
}, null, 8, ["variant", "onClick"])
|
|
338
|
+
])
|
|
339
|
+
]),
|
|
340
|
+
_: 2
|
|
341
|
+
}, 1024))), 128)),
|
|
342
|
+
_("div", null, [
|
|
343
|
+
u(a, {
|
|
344
|
+
label: l(i)("menu.link_product.rules.add_rule"),
|
|
345
|
+
onClick: ce
|
|
346
|
+
}, null, 8, ["label"])
|
|
347
|
+
])
|
|
348
|
+
], 64)) : z("", !0)
|
|
349
|
+
]))
|
|
350
|
+
]),
|
|
351
|
+
_: 1
|
|
352
|
+
}, 8, ["modelValue", "close-button", "is-container", "is-container-props", "onOn:clickedAway"])
|
|
353
|
+
], 64);
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
}), Ke = /* @__PURE__ */ Ue(De, [["__scopeId", "data-v-e233e211"]]);
|
|
357
|
+
export {
|
|
358
|
+
Ke as L,
|
|
359
|
+
Ue as _,
|
|
360
|
+
d as a
|
|
361
|
+
};
|