@feedmepos/mf-menu 0.32.7 → 0.32.8-dev
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-6Q1nmlfA.js → App-B5S9byVJ.js} +5457 -4622
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-xLPJOt02.js → ApplyProduct.vue_vue_type_script_setup_true_lang-bSXFWpq_.js} +3 -3
- package/dist/{Catalog-Bf5JieUH.js → Catalog-CTfF5FmI.js} +52 -52
- package/dist/{Category-BBATgN1o.js → Category-BntCVeoT.js} +57 -57
- package/dist/{Category-BSBZlBHF.js → Category-Z3bphlCX.js} +26 -26
- package/dist/{CookingGuide-BnjSTAL4.js → CookingGuide-CoPo2Alx.js} +127 -127
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BXdLDaBB.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DJ3sb3XV.js} +1 -1
- package/dist/{Group-Dpbz5j1x.js → Group-B7rZfFlT.js} +3 -3
- package/dist/{Group-BqXtHWr2.js → Group-CblWJOl1.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-Bz5hEPov.js → Group.vue_vue_type_script_setup_true_lang-wX7yqw0Z.js} +33 -33
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-3a6eV6cB.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DW1gBCBA.js} +27 -27
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-C6Z7OJz7.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CcQBD0I8.js} +3127 -3127
- package/dist/{Ingredient-BZfbbI--.js → Ingredient-Bn-jeNeI.js} +46 -46
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DfyUAd9n.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DbGNFA3D.js} +2 -2
- package/dist/{LinkProductSideSheet-C-CcvD1Y.js → LinkProductSideSheet-BjcQDT4U.js} +61 -61
- package/dist/{MenuSetting-CRCXtk6n.js → MenuSetting-BT5YSMgK.js} +14 -14
- package/dist/{PrintRoute-BqRkve5U.js → PrintRoute-B0j0eqNM.js} +34 -34
- package/dist/{Product-cj-wKww4.js → Product-BOMprFhc.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-DtCzSk94.js → Product.vue_vue_type_script_setup_true_lang-q9xFzQ0v.js} +142 -142
- package/dist/{ProductInternalTools-B5V7Hs15.js → ProductInternalTools-O5d2jMAH.js} +39 -39
- package/dist/{Products-a0N50IJw.js → Products-BnMrK40x.js} +15 -15
- package/dist/{Publish-CyiUajCw.js → Publish-dTP5mQS3.js} +26 -26
- package/dist/{Recipe-CKIoGrBI.js → Recipe-DnftcZPO.js} +26 -26
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-fp_IdVVZ.js → RuleView.vue_vue_type_script_setup_true_lang-DSfiVSBV.js} +2 -2
- package/dist/{Scheduler-CwTdAm-V.js → Scheduler-DRLaQK_V.js} +22 -22
- package/dist/{ServingSequence-BAxm0bx1.js → ServingSequence-CPIyJ7T8.js} +39 -39
- package/dist/{Setting-J9s4VpKm.js → Setting-CLtISC4c.js} +22 -22
- package/dist/{Subcategory-BXJ2H9cr.js → Subcategory-b0bXCYYY.js} +32 -32
- package/dist/{Takeaway-CPPrIbb0.js → Takeaway-CCIKDCoF.js} +12 -12
- package/dist/{Takeaway-Cm9DdUdf.js → Takeaway-h9uUxFJd.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-PRAGlbyK.js → Takeaway.vue_vue_type_script_setup_true_lang-BOG_W-2a.js} +26 -26
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-BQcHroCG.js → Thumbnail.vue_vue_type_script_setup_true_lang-D4KcX3XQ.js} +26 -26
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-B3EByLES.js +6016 -0
- package/dist/{Unit-9pTm3F5W.js → Unit-B0kiwrN6.js} +13 -13
- package/dist/{Variant-qGJvwVW3.js → Variant-CJSk0kTW.js} +18 -18
- package/dist/{_id_-BPgTKleB.js → _id_-108G3lsv.js} +22 -22
- package/dist/{app-BYd7KCR0.js → app-BTn28hDr.js} +1 -1
- package/dist/{app-BoVVV8kG.js → app-CPJH5bgs.js} +26 -26
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/stores/menu.d.ts +4 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{validate-menu-C55soZke.js → linked-status-Bp5piT25.js} +7 -7
- package/dist/assets/{override-menu-D2ffZ3LE.js → override-menu-D47qVZAi.js} +2 -2
- package/dist/assets/{linked-status-YBCdx1_k.js → validate-menu-YuXYm9iE.js} +7 -7
- package/dist/{catalog-DjMrJdom.js → catalog-CpFTifAS.js} +1 -1
- package/dist/{catalogSetting-DMUZ11RQ.js → catalogSetting-DjGqI2Vf.js} +1 -1
- package/dist/{category-DRr-IdFP.js → category-DaRWiQd8.js} +5 -5
- package/dist/{currency-CAUInXnj.js → currency-DbURufyM.js} +1 -1
- package/dist/{index-CG5i_sE7.js → index-C6AkIinM.js} +1 -1
- package/dist/{index-DOwV5hqi.js → index-D67GKEzf.js} +1 -1
- package/dist/{index-hDyuidIm.js → index-kjRAsH_h.js} +38 -38
- package/dist/{index-By_yIps1.js → index-pJtym1c6.js} +21 -21
- package/dist/{index.vue_vue_type_script_setup_true_lang-Dcq1bwDq.js → index.vue_vue_type_script_setup_true_lang-BvohjQ00.js} +440 -430
- package/dist/item-2WoPAnNJ.js +6838 -0
- package/dist/{iteration-V9L5Rk-0.js → iteration-BGItxpWj.js} +1 -1
- package/dist/{jszip.min-Danu3otn.js → jszip.min-D8NeBCPG.js} +353 -353
- package/dist/{menu-D1PHF11v.js → menu-DVdMR0zo.js} +1 -1
- package/dist/{menuV2-BfvbnMWo.js → menuV2-CcBdUc80.js} +73 -73
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-DszOAydN.js → priceTier-CTfRyTuS.js} +1 -1
- package/dist/{scheduler-BbQrleYX.js → scheduler-DOMDX4d7.js} +20 -20
- package/dist/{subcategory-BnW2z6Vy.js → subcategory-NsslZ1my.js} +6 -6
- package/dist/{toExcel-De8V6KyO.js → toExcel-Bdne-Dw_.js} +2 -2
- package/dist/{unit-BjQ-Hi7b.js → unit-DKyvdauo.js} +29 -29
- package/package.json +1 -1
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BRmrp3_3.js +0 -6038
- package/dist/item-Cq7YkZBk.js +0 -7685
|
@@ -2,7 +2,7 @@ import { defineComponent as ie, createElementBlock as j, openBlock as W, normali
|
|
|
2
2
|
import { x as Wn, N as Kn } from "./app-5fxKLAzS.js";
|
|
3
3
|
import { useCoreStore as Pt, useI18n as Ge, useCustomAttributes as Bt, EMPTY_RULE as jn, isEmptyMongoQuery as Yn, isEmptyRule as Xn } from "@feedmepos/mf-common";
|
|
4
4
|
import "@vue/devtools-api";
|
|
5
|
-
import { u as kn,
|
|
5
|
+
import { u as kn, J as Wt, A as yt } from "./index.vue_vue_type_script_setup_true_lang-BvohjQ00.js";
|
|
6
6
|
import { FmButtonVariant as Fe, components as qn } from "@feedmepos/ui-library";
|
|
7
7
|
const Jn = /* @__PURE__ */ ie({
|
|
8
8
|
__name: "FormColumn",
|
|
@@ -1891,7 +1891,7 @@ function Ua(e, t, n, r) {
|
|
|
1891
1891
|
return e.processor && (g.processor = e.processor), r.list && (g.list = r.list), r.named && (g.named = r.named), ee(r.plural) && (g.pluralIndex = r.plural), g;
|
|
1892
1892
|
}
|
|
1893
1893
|
wr();
|
|
1894
|
-
var Va = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_59027f41-e311-4cea-93e3-b18d95583db7", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^2.1.8", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_59027f41-e311-4cea-93e3-b18d95583db7", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4.feedmeapi.com", GTM_ID: "GTM-WR8XHXLH", FIREBASE_MESSAGING_SENDER_ID: "128512026847", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "production", npm_package_devDependencies_sass: "1.69.5", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.4.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.3.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-zzez732dna-as.a.run.app", SYSTEMD_EXEC_PID: "1825", ACTIONS_ORCHESTRATION_ID: "9145ac5e-d3ef-4e3e-af4b-e4e0bd1deef2.publish.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.8.8", 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: "20260201.15.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:13177", 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.12/x64", REMY_URL: "https://remy.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.6/x64", GITHUB_RUN_ID: "21891763608", VITE_REMY_BACKEND_URL: "https://remy-agent.feedmeapi.com", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "ec14617aaa2e7da3819c8ea88a9c13a01d50f08d", 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_18620cbc-19d4-4031-b1b9-029ba6d4deb6", INVOCATION_ID: "c85388a56d1c4a78b307f3540337f6f1", 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: "132", GITHUB_TRIGGERING_ACTOR: "victorchai", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-2MP52PC24R", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", npm_package_devDependencies__vitest_ui: "^2.1.8", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000046755", 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.15.3", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.32.7", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "false", FIREBASE_PROJECT_ID: "feedme-253402", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_scripts_test_coverage: "vitest --coverage", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "ec14617aaa2e7da3819c8ea88a9c13a01d50f08d", 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: "victorchai", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_test_ui: "vitest --ui", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_59027f41-e311-4cea-93e3-b18d95583db7", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "49786844", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_59027f41-e311-4cea-93e3-b18d95583db7", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "0.0.15", 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", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "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.32", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_59027f41-e311-4cea-93e3-b18d95583db7", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_dependencies__feedmepos_mf_remy_panel: "^0.1.0", NODE_ENV: "production" } };
|
|
1894
|
+
var Va = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_4c5a662e-e82a-4e21-98f9-94f239caf9c4", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^2.1.8", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_4c5a662e-e82a-4e21-98f9-94f239caf9c4", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4-dev.feedmeapi.com", GTM_ID: "GTM-P7Z9FMS6", FIREBASE_MESSAGING_SENDER_ID: "458797803788", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", npm_package_devDependencies_sass: "1.69.5", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.4.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.3.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", SYSTEMD_EXEC_PID: "1845", ACTIONS_ORCHESTRATION_ID: "ccfe2384-d0b0-4405-b276-084f8e1dd55d.publish.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.8.8", 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: "20260201.15.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-dev.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13158", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.12/x64", REMY_URL: "https://remy-dev.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.6/x64", GITHUB_RUN_ID: "21893571623", VITE_REMY_BACKEND_URL: "https://remy-agent.feedmeapidev.com", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "42d6f12a6fa4e784aba0dd755c10aa50265240e7", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", npm_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_962a9ea5-774e-4163-aec8-b6cac8cca666", INVOCATION_ID: "2865914665e640d6b060aaf6a52777e3", 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: "501", GITHUB_TRIGGERING_ACTOR: "victorchai", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", npm_package_devDependencies__vitest_ui: "^2.1.8", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000046801", 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.15.3", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.32.8-dev", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_scripts_test_coverage: "vitest --coverage", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "42d6f12a6fa4e784aba0dd755c10aa50265240e7", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "victorchai", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_test_ui: "vitest --ui", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_4c5a662e-e82a-4e21-98f9-94f239caf9c4", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "49786844", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_4c5a662e-e82a-4e21-98f9-94f239caf9c4", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "0.0.15", 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", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", npm_package_dependencies__feedmepos_menu: "1.7.32", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_4c5a662e-e82a-4e21-98f9-94f239caf9c4", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_dependencies__feedmepos_mf_remy_panel: "^0.1.0", NODE_ENV: "production" } };
|
|
1895
1895
|
const $a = "10.0.5";
|
|
1896
1896
|
function Ha() {
|
|
1897
1897
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (he().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (he().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (he().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (he().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as N, computed as y, h as c, withModifiers as U, ref as V, resolveComponent as _, createBlock as k, openBlock as d, unref as m, withCtx as h, createElementBlock as D, createVNode as f, Fragment as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as N, computed as y, h as c, withModifiers as U, ref as V, resolveComponent as _, createBlock as k, openBlock as d, unref as m, withCtx as h, createElementBlock as D, createVNode as f, Fragment as H, createElementVNode as l, renderList as T, toDisplayString as S, createCommentVNode as I } from "vue";
|
|
2
|
+
import { A as i, P as W, u as G, G as Q, a3 as J } from "./index.vue_vue_type_script_setup_true_lang-BvohjQ00.js";
|
|
3
3
|
import { useI18n as X } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as Z, useDialog as ee, useSnackbar as te } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as ne } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
6
|
-
import { _ as ae } from "./app-
|
|
7
|
-
import { d as oe, _ as se, u as le, c as re } from "./scheduler-
|
|
6
|
+
import { _ as ae } from "./app-CPJH5bgs.js";
|
|
7
|
+
import { d as oe, _ as se, u as le, c as re } from "./scheduler-DOMDX4d7.js";
|
|
8
8
|
import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
9
9
|
const ce = {
|
|
10
10
|
class: "flex flex-1 justify-end"
|
|
@@ -27,7 +27,7 @@ const ce = {
|
|
|
27
27
|
setup(he) {
|
|
28
28
|
const {
|
|
29
29
|
t: a
|
|
30
|
-
} = X(),
|
|
30
|
+
} = X(), M = y(() => [{
|
|
31
31
|
accessorKey: "name",
|
|
32
32
|
header: () => a("menu.scheduler.table.columns.name"),
|
|
33
33
|
cell: (e) => e.getValue(),
|
|
@@ -75,7 +75,7 @@ const ce = {
|
|
|
75
75
|
outline: !0,
|
|
76
76
|
color: "neutral-gray-400",
|
|
77
77
|
onClick: U(() => {
|
|
78
|
-
|
|
78
|
+
A(e.row.original);
|
|
79
79
|
}, ["stop", "prevent"])
|
|
80
80
|
})])
|
|
81
81
|
}]), r = {
|
|
@@ -86,7 +86,7 @@ const ce = {
|
|
|
86
86
|
[i.F_SCHEDULE_DAY.enum.friday]: "Friday",
|
|
87
87
|
[i.F_SCHEDULE_DAY.enum.saturday]: "Saturday",
|
|
88
88
|
[i.F_SCHEDULE_DAY.enum.sunday]: "Sunday"
|
|
89
|
-
},
|
|
89
|
+
}, Y = Object.keys(r).slice(0, 5), z = Object.keys(r).slice(5);
|
|
90
90
|
function F(e, t) {
|
|
91
91
|
if (e === i.F_SCHEDULE_FREQUENCY.enum.daily || t.length === Object.keys(r).length)
|
|
92
92
|
return "Daily";
|
|
@@ -97,9 +97,9 @@ const ce = {
|
|
|
97
97
|
includes: [],
|
|
98
98
|
excludes: []
|
|
99
99
|
});
|
|
100
|
-
return v.length === 1 ? `Daily except ${r[v[0]]}` : E(o,
|
|
100
|
+
return v.length === 1 ? `Daily except ${r[v[0]]}` : E(o, Y) ? "Weekdays" : E(o, z) ? "Weekends" : o.every((u, n) => {
|
|
101
101
|
if (n === 0) return !0;
|
|
102
|
-
const b = s.findIndex((
|
|
102
|
+
const b = s.findIndex((K) => K === u);
|
|
103
103
|
return o[n - 1] === s[b - 1];
|
|
104
104
|
}) ? o.length === 1 ? r[o[0]] : `${r[o[0]]} to ${r[o[o.length - 1]]}` : o.map((u) => r[u]).join(", ");
|
|
105
105
|
}
|
|
@@ -115,14 +115,14 @@ const ce = {
|
|
|
115
115
|
var t;
|
|
116
116
|
C.value || (t = x.value) == null || t.show(e);
|
|
117
117
|
}
|
|
118
|
-
const
|
|
119
|
-
function
|
|
118
|
+
const q = ee();
|
|
119
|
+
function A(e) {
|
|
120
120
|
let t = [c("span", a("menu.scheduler.dialogs.remove.message", {
|
|
121
121
|
name: e.name
|
|
122
122
|
})), c("span", {
|
|
123
123
|
class: "fm-typo-en-body-lg-600"
|
|
124
124
|
}, e.name), c("span", "?")];
|
|
125
|
-
|
|
125
|
+
q.open({
|
|
126
126
|
title: a("menu.scheduler.dialogs.remove.title"),
|
|
127
127
|
contentComponent: c("div", t),
|
|
128
128
|
primaryActions: {
|
|
@@ -138,11 +138,11 @@ const ce = {
|
|
|
138
138
|
await w.updateMenu(oe(e), e.name, !0);
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
|
-
async function
|
|
141
|
+
async function O(e) {
|
|
142
142
|
const t = e._id ? le(e) : re(e);
|
|
143
143
|
await w.updateMenu(t, e.name);
|
|
144
144
|
}
|
|
145
|
-
const
|
|
145
|
+
const j = G(), P = y(() => j.categorizedRawMenuItems), p = y(() => j.state.menu.modules.scheduler), w = W(Q(te())), C = y(() => w.checkMenuIsLoading()), g = V(""), B = y(() => {
|
|
146
146
|
const e = g.value.toLowerCase();
|
|
147
147
|
return e ? p.value.filter((t) => t.name.toLowerCase().includes(e)) : p.value;
|
|
148
148
|
});
|
|
@@ -158,7 +158,7 @@ const ce = {
|
|
|
158
158
|
label: m(a)("menu.scheduler.empty.action"),
|
|
159
159
|
variant: "primary",
|
|
160
160
|
onClick: L
|
|
161
|
-
}, null, 8, ["disabled", "label"])) :
|
|
161
|
+
}, null, 8, ["disabled", "label"])) : I("", !0)])]),
|
|
162
162
|
default: h(() => [p.value.length === 0 ? (d(), k(m(J), {
|
|
163
163
|
key: 0,
|
|
164
164
|
action: {
|
|
@@ -167,7 +167,7 @@ const ce = {
|
|
|
167
167
|
},
|
|
168
168
|
subtitle: m(a)("menu.scheduler.empty.subtitle"),
|
|
169
169
|
title: m(a)("menu.scheduler.empty.title")
|
|
170
|
-
}, null, 8, ["action", "subtitle", "title"])) : (d(), D(
|
|
170
|
+
}, null, 8, ["action", "subtitle", "title"])) : (d(), D(H, {
|
|
171
171
|
key: 1
|
|
172
172
|
}, [l("div", ie, [l("div", de, [f(s, {
|
|
173
173
|
modelValue: g.value,
|
|
@@ -179,7 +179,7 @@ const ce = {
|
|
|
179
179
|
class: "xs:hidden block"
|
|
180
180
|
}, {
|
|
181
181
|
default: h(() => [f(o, {
|
|
182
|
-
"column-defs":
|
|
182
|
+
"column-defs": M.value,
|
|
183
183
|
"page-size": p.value.length,
|
|
184
184
|
"row-data": p.value,
|
|
185
185
|
"search-value": g.value,
|
|
@@ -193,7 +193,7 @@ const ce = {
|
|
|
193
193
|
class: "flex-col flex-1 min-h-0 overflow-auto xs:flex hidden w-full px-16 pb-64",
|
|
194
194
|
separator: ""
|
|
195
195
|
}, {
|
|
196
|
-
default: h(() => [(d(!0), D(
|
|
196
|
+
default: h(() => [(d(!0), D(H, null, T(B.value, (n) => (d(), k(R, {
|
|
197
197
|
key: n._id,
|
|
198
198
|
label: n.name,
|
|
199
199
|
style: {
|
|
@@ -201,11 +201,11 @@ const ce = {
|
|
|
201
201
|
},
|
|
202
202
|
onClick: () => $(n)
|
|
203
203
|
}, {
|
|
204
|
-
default: h(() => [l("div", me, [l("div", pe, S(n.name), 1), l("div", null, [l("div", fe, S(Object.keys(n.items).length) + " product(s) linked ", 1), l("div", ye, [l("div", null, " Repeat: " + S(F(n.repeat, n.weekDay)), 1), n.timePeriod.length > 0 ? (d(), D("span", _e, "Period: ")) :
|
|
204
|
+
default: h(() => [l("div", me, [l("div", pe, S(n.name), 1), l("div", null, [l("div", fe, S(Object.keys(n.items).length) + " product(s) linked ", 1), l("div", ye, [l("div", null, " Repeat: " + S(F(n.repeat, n.weekDay)), 1), n.timePeriod.length > 0 ? (d(), D("span", _e, "Period: ")) : I("", !0), l("span", null, S(n.timePeriod.map((b) => `${b.start} - ${b.end}`).join(", ")), 1)])])]), f(v, {
|
|
205
205
|
icon: "delete",
|
|
206
206
|
variant: "tertiary",
|
|
207
207
|
"text-color": "neutral-gray-400",
|
|
208
|
-
onClick: U(() =>
|
|
208
|
+
onClick: U(() => A(n), ["stop"])
|
|
209
209
|
}, null, 8, ["onClick"])]),
|
|
210
210
|
_: 2
|
|
211
211
|
}, 1032, ["label", "onClick"]))), 128))]),
|
|
@@ -213,8 +213,8 @@ const ce = {
|
|
|
213
213
|
})], 64)), f(se, {
|
|
214
214
|
ref_key: "schedulerDialogRef",
|
|
215
215
|
ref: x,
|
|
216
|
-
"categorized-items":
|
|
217
|
-
onOnComplete:
|
|
216
|
+
"categorized-items": P.value,
|
|
217
|
+
onOnComplete: O
|
|
218
218
|
}, null, 8, ["categorized-items"])]),
|
|
219
219
|
_: 1
|
|
220
220
|
}, 8, ["heading"]);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as J, ref as
|
|
1
|
+
import { defineComponent as J, ref as I, computed as L, resolveComponent as h, createElementBlock as g, openBlock as d, Fragment as x, renderSlot as ae, createVNode as l, unref as t, withCtx as m, createElementVNode as y, toDisplayString as z, onBeforeMount as oe, watch as F, watchEffect as se, h as $, getCurrentInstance as le, onMounted as re, createBlock as j, createCommentVNode as G, isRef as ie, normalizeClass as Q, renderList as ue } from "vue";
|
|
2
2
|
import { useRouter as ce } from "vue-router";
|
|
3
|
-
import { H, u as W,
|
|
3
|
+
import { I as H, u as W, G as X, P as Z, K as O, A as S, a3 as de } from "./index.vue_vue_type_script_setup_true_lang-BvohjQ00.js";
|
|
4
4
|
import { useI18n as ee, ItemSelector as me, useCoreStore as pe } from "@feedmepos/mf-common";
|
|
5
|
-
import { useSnackbar as ne, components as
|
|
5
|
+
import { useSnackbar as ne, components as K, useDialog as _e, FmButtonVariant as A, useBreakpoints as fe } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as ge } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
7
|
-
import { _ as ve, R as he } from "./app-
|
|
7
|
+
import { _ as ve, R as he } from "./app-CPJH5bgs.js";
|
|
8
8
|
import { c as ye } from "./check-C9mY6LiX.js";
|
|
9
9
|
import { _ as be } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
10
10
|
import { u as ke } from "./search-BAPEUu1R.js";
|
|
11
|
-
import { u as xe } from "./app-
|
|
11
|
+
import { u as xe } from "./app-BTn28hDr.js";
|
|
12
12
|
import { c as Se } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex flex-col h-full" }, Ee = { class: "flex gap-8 items-center justify-start" }, Ve = /* @__PURE__ */ J({
|
|
14
14
|
__name: "Form",
|
|
@@ -17,24 +17,24 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
|
|
|
17
17
|
initialValue: {}
|
|
18
18
|
},
|
|
19
19
|
emits: ["submitted"],
|
|
20
|
-
setup(
|
|
21
|
-
const { t: r } = ee(), p =
|
|
20
|
+
setup(Y, { expose: b, emit: N }) {
|
|
21
|
+
const { t: r } = ee(), p = Y, P = N, s = I(
|
|
22
22
|
p.initialValue ? H(p.initialValue) : {
|
|
23
23
|
_id: "",
|
|
24
24
|
name: "",
|
|
25
25
|
position: 0,
|
|
26
26
|
items: []
|
|
27
27
|
}
|
|
28
|
-
), C = W(), i = ne(), R = X(i), q = Z(R), c =
|
|
28
|
+
), C = W(), i = ne(), R = X(i), q = Z(R), c = I(!1), u = I(!1), _ = (f) => {
|
|
29
29
|
ye.isBoolean(f) ? u.value = f : u.value = !u.value;
|
|
30
|
-
}, E =
|
|
31
|
-
async function
|
|
30
|
+
}, E = L(() => p.action === "add" ? r("menu.serving_sequence.add") : r("menu.serving_sequence.update"));
|
|
31
|
+
async function D() {
|
|
32
32
|
try {
|
|
33
33
|
if (p.action === "add")
|
|
34
34
|
await q.updateMenu(
|
|
35
35
|
{
|
|
36
36
|
module: S.F_MENU_MODULE_V4_KEY.enum.serveSequence,
|
|
37
|
-
operation:
|
|
37
|
+
operation: O.F_OPERATION_TYPE.create,
|
|
38
38
|
data: {
|
|
39
39
|
...s.value,
|
|
40
40
|
position: C.serveSequence.length
|
|
@@ -46,7 +46,7 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
|
|
|
46
46
|
await q.updateMenu(
|
|
47
47
|
{
|
|
48
48
|
module: S.F_MENU_MODULE_V4_KEY.enum.serveSequence,
|
|
49
|
-
operation:
|
|
49
|
+
operation: O.F_OPERATION_TYPE.update,
|
|
50
50
|
data: s.value
|
|
51
51
|
},
|
|
52
52
|
s.value.name
|
|
@@ -54,7 +54,7 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
|
|
|
54
54
|
else
|
|
55
55
|
throw new Error("Invalid action");
|
|
56
56
|
} finally {
|
|
57
|
-
u.value = !1,
|
|
57
|
+
u.value = !1, P("submitted");
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
b({
|
|
@@ -64,7 +64,7 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
|
|
|
64
64
|
function U(f) {
|
|
65
65
|
return f.reduce((a, v) => (a[v._id] = [...a[v._id] ?? [], v], a), {});
|
|
66
66
|
}
|
|
67
|
-
const B =
|
|
67
|
+
const B = L(() => U(H(s.value.items)));
|
|
68
68
|
return (f, a) => {
|
|
69
69
|
const v = h("fm-text-field"), V = h("fm-button"), e = h("fm-side-sheet");
|
|
70
70
|
return d(), g(x, null, [
|
|
@@ -73,15 +73,15 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
|
|
|
73
73
|
id: "group-form",
|
|
74
74
|
modelValue: u.value,
|
|
75
75
|
"onUpdate:modelValue": a[3] || (a[3] = (n) => u.value = n),
|
|
76
|
-
"is-container": t(
|
|
76
|
+
"is-container": t(K).FmForm,
|
|
77
77
|
"is-container-props": {
|
|
78
|
-
onValidationSuccess:
|
|
78
|
+
onValidationSuccess: D,
|
|
79
79
|
blameFormChildOnValidationFailed: !0
|
|
80
80
|
},
|
|
81
81
|
"max-width": 560
|
|
82
82
|
}, {
|
|
83
83
|
"side-sheet-header": m(() => [
|
|
84
|
-
y("p", Ce,
|
|
84
|
+
y("p", Ce, z(E.value), 1)
|
|
85
85
|
]),
|
|
86
86
|
"side-sheet-footer": m(() => [
|
|
87
87
|
y("div", Ee, [
|
|
@@ -137,19 +137,19 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
|
|
|
137
137
|
}, Fe = {
|
|
138
138
|
key: 1,
|
|
139
139
|
class: /* @__PURE__ */ Q(["flex-1", "overflow-scroll", "divide-y divide-fm-color-neutral-gray-100", "pb-64"])
|
|
140
|
-
},
|
|
140
|
+
}, Ie = ["onClick"], Le = {
|
|
141
141
|
class: "flex-1 space-y-4"
|
|
142
|
-
},
|
|
142
|
+
}, Oe = {
|
|
143
143
|
class: "fm-typo-en-body-lg-600"
|
|
144
|
-
},
|
|
144
|
+
}, Ne = {
|
|
145
145
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
146
146
|
}, He = /* @__PURE__ */ J({
|
|
147
147
|
__name: "ServingSequence",
|
|
148
|
-
setup(
|
|
148
|
+
setup(Y) {
|
|
149
149
|
const {
|
|
150
150
|
searchKey: b,
|
|
151
|
-
filter:
|
|
152
|
-
} = ke(), r = W(), p = ne(),
|
|
151
|
+
filter: N
|
|
152
|
+
} = ke(), r = W(), p = ne(), P = X(p), s = Z(P), C = _e(), i = pe(), R = xe(), q = ce(), {
|
|
153
153
|
t: c
|
|
154
154
|
} = ee(), u = (e) => {
|
|
155
155
|
e && e !== S.F_MENU_VERSION.enum.v4 && q.push({
|
|
@@ -173,9 +173,9 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
|
|
|
173
173
|
}), se(() => {
|
|
174
174
|
i.restaurants.value.length && (i.currentRestaurant.value || i.changeRestaurant(i.restaurants.value[0]));
|
|
175
175
|
});
|
|
176
|
-
const _ =
|
|
176
|
+
const _ = L(() => r.serveSequence.filter(({
|
|
177
177
|
name: e
|
|
178
|
-
}) =>
|
|
178
|
+
}) => N([e])) ?? []);
|
|
179
179
|
function E(e) {
|
|
180
180
|
C.open({
|
|
181
181
|
title: "Delete sequence",
|
|
@@ -183,7 +183,7 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
|
|
|
183
183
|
primaryActions: {
|
|
184
184
|
text: "Delete",
|
|
185
185
|
close: !0,
|
|
186
|
-
variant:
|
|
186
|
+
variant: A.Destructive
|
|
187
187
|
},
|
|
188
188
|
secondaryActions: {
|
|
189
189
|
text: "Cancel",
|
|
@@ -192,16 +192,16 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
|
|
|
192
192
|
}).onPrimary(async () => {
|
|
193
193
|
await s.updateMenu({
|
|
194
194
|
module: S.F_MENU_MODULE_V4_KEY.enum.serveSequence,
|
|
195
|
-
operation:
|
|
195
|
+
operation: O.F_OPERATION_TYPE.delete,
|
|
196
196
|
data: e._id
|
|
197
197
|
}, e.name, !0);
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
|
-
const
|
|
200
|
+
const D = ({
|
|
201
201
|
servingSequence: e
|
|
202
|
-
}) => $(
|
|
202
|
+
}) => $(K.FmButton, {
|
|
203
203
|
prependIcon: "delete",
|
|
204
|
-
variant:
|
|
204
|
+
variant: A.Tertiary,
|
|
205
205
|
textColor: "neutral-gray-400",
|
|
206
206
|
onClick: (n) => {
|
|
207
207
|
n.stopPropagation(), E(e);
|
|
@@ -210,11 +210,11 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
|
|
|
210
210
|
async function U(e) {
|
|
211
211
|
await s.updateMenu({
|
|
212
212
|
module: S.F_MENU_MODULE_V4_KEY.enum.serveSequence,
|
|
213
|
-
operation:
|
|
213
|
+
operation: O.F_OPERATION_TYPE.rearrange,
|
|
214
214
|
data: e.map((n) => n._id)
|
|
215
215
|
}, "sequences");
|
|
216
216
|
}
|
|
217
|
-
const B =
|
|
217
|
+
const B = I([{
|
|
218
218
|
accessorKey: "name",
|
|
219
219
|
header: () => c("menu.serving_sequence.columns.name"),
|
|
220
220
|
enableSorting: !1,
|
|
@@ -234,9 +234,9 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
|
|
|
234
234
|
header: "",
|
|
235
235
|
cell: (e) => $("div", {
|
|
236
236
|
class: "w-full flex justify-end items-center"
|
|
237
|
-
}, [$(
|
|
237
|
+
}, [$(K.FmButton, {
|
|
238
238
|
prependIcon: "delete",
|
|
239
|
-
variant:
|
|
239
|
+
variant: A.Tertiary,
|
|
240
240
|
textColor: "neutral-gray-400",
|
|
241
241
|
onClick: (n) => {
|
|
242
242
|
n.stopPropagation(), E(e.row.original);
|
|
@@ -258,7 +258,7 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
|
|
|
258
258
|
(M = (w = k.component) == null ? void 0 : w.exposed) == null || M.trigger();
|
|
259
259
|
}
|
|
260
260
|
re(() => r.selectCatalog(null));
|
|
261
|
-
const v = fe(), V =
|
|
261
|
+
const v = fe(), V = L(() => v.breakpoints.value.xs);
|
|
262
262
|
return (e, n) => {
|
|
263
263
|
const k = h("FmSpacer"), w = h("fm-button"), M = h("fm-search"), te = h("fm-table");
|
|
264
264
|
return d(), j(be, {
|
|
@@ -295,12 +295,12 @@ const Ce = { class: "fm-typo-en-title-md-600" }, qe = { class: "space-y-32 flex
|
|
|
295
295
|
}, null, 8, ["modelValue", "placeholder"])]), V.value ? (d(), g("div", Fe, [(d(!0), g(x, null, ue(_.value, (o) => (d(), g("div", {
|
|
296
296
|
key: o._id,
|
|
297
297
|
class: Q(["py-12 px-16", "flex items-center space-x-8"]),
|
|
298
|
-
onClick: (
|
|
299
|
-
}, [y("div",
|
|
298
|
+
onClick: (Pe) => a(o)
|
|
299
|
+
}, [y("div", Le, [y("p", Oe, z(o.name), 1), y("p", Ne, z(t(c)("menu.common.labels.products_linked", {
|
|
300
300
|
count: o.items.length
|
|
301
|
-
})), 1)]), l(
|
|
301
|
+
})), 1)]), l(D, {
|
|
302
302
|
servingSequence: o
|
|
303
|
-
}, null, 8, ["servingSequence"])], 8,
|
|
303
|
+
}, null, 8, ["servingSequence"])], 8, Ie))), 128))])) : (d(), j(ve, {
|
|
304
304
|
key: 0
|
|
305
305
|
}, {
|
|
306
306
|
default: m(() => [l(te, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as ne, computed as p, ref as se, watch as ue, watchEffect as ie, resolveComponent as m, createElementBlock as V, openBlock as r, normalizeClass as H, createVNode as s, withCtx as c, createElementVNode as v, createBlock as g, createCommentVNode as k, unref as e, Fragment as
|
|
2
|
-
import { u as me,
|
|
1
|
+
import { defineComponent as ne, computed as p, ref as se, watch as ue, watchEffect as ie, resolveComponent as m, createElementBlock as V, openBlock as r, normalizeClass as H, createVNode as s, withCtx as c, createElementVNode as v, createBlock as g, createCommentVNode as k, unref as e, Fragment as D, renderList as B, createTextVNode as re, toDisplayString as N } from "vue";
|
|
2
|
+
import { u as me, G as ce, A as f, P as de, B as pe, I as w } from "./index.vue_vue_type_script_setup_true_lang-BvohjQ00.js";
|
|
3
3
|
import { useCoreStore as ve, useI18n as ge } from "@feedmepos/mf-common";
|
|
4
|
-
import { useSnackbar as fe, useDialog as _e, FmButtonVariant as
|
|
4
|
+
import { useSnackbar as fe, useDialog as _e, FmButtonVariant as P, FmButtonColorThemeVariant as $, components as be } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as E } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
6
|
-
import { _ as ye } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as z, a as ke } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { C as _, a as x } from "./catalogSetting-
|
|
9
|
-
import { C as xe } from "./catalog-
|
|
6
|
+
import { _ as ye } from "./RuleView.vue_vue_type_script_setup_true_lang-DSfiVSBV.js";
|
|
7
|
+
import { _ as z, a as ke } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DW1gBCBA.js";
|
|
8
|
+
import { C as _, a as x } from "./catalogSetting-DjGqI2Vf.js";
|
|
9
|
+
import { C as xe } from "./catalog-CpFTifAS.js";
|
|
10
10
|
const Ce = {
|
|
11
11
|
class: /* @__PURE__ */ H(["overflow-scroll", "flex-1", "xs:px-16 xs:py-16", "pt-16"])
|
|
12
12
|
}, Oe = {
|
|
@@ -31,13 +31,13 @@ const Ce = {
|
|
|
31
31
|
setup(Ne) {
|
|
32
32
|
const F = ve(), u = me(), j = fe(), A = ce(j), {
|
|
33
33
|
minor: q
|
|
34
|
-
} = A,
|
|
34
|
+
} = A, G = _e(), {
|
|
35
35
|
t: n
|
|
36
36
|
} = ge(), O = p(() => u.currentCatalog), b = p(() => !O.value), S = p(() => u.version === f.F_MENU_VERSION.enum.v4), {
|
|
37
|
-
updateMenu:
|
|
38
|
-
} = de(A), l = se(_.initCatalogSetting()),
|
|
37
|
+
updateMenu: J
|
|
38
|
+
} = de(A), l = se(_.initCatalogSetting()), W = p(() => u.catalogs.filter((t) => t._id !== u.state.currentCatalogId).map((t) => t.name)), Y = p(() => u.state.restaurants.filter((t) => [...t.additionalCatalogs, t.inHouseDelivery, ...t.linkedDeliveryCatalogs.map((o) => o.catalog), t.pickupCatalog, t.takeawayCatalog, t.catalogId].includes(u.state.currentCatalogId)).map((t) => t.name));
|
|
39
39
|
function T() {
|
|
40
|
-
return
|
|
40
|
+
return Y.value.length > 0 ? s("div", {
|
|
41
41
|
class: ["flex items-center", "bg-fm-color-system-warning-100", "rounded-lg", "py-16 px-24 space-x-8"]
|
|
42
42
|
}, [s(be.FmIcon, {
|
|
43
43
|
color: "system-warning-300",
|
|
@@ -81,7 +81,7 @@ const Ce = {
|
|
|
81
81
|
O.value ? await new xe({
|
|
82
82
|
...O.value,
|
|
83
83
|
...t
|
|
84
|
-
}, u,
|
|
84
|
+
}, u, J, G).update() : await q(async () => {
|
|
85
85
|
await u.updateMainCatalogSetting({
|
|
86
86
|
inclusiveTaxes: t.inclusiveTaxes
|
|
87
87
|
});
|
|
@@ -99,7 +99,7 @@ const Ce = {
|
|
|
99
99
|
o.markupOptions && (o.markupOptions.splice(t, 1), l.value = o);
|
|
100
100
|
}
|
|
101
101
|
return (t, o) => {
|
|
102
|
-
const i = m("fm-text-field"), d = m("fm-radio"), C = m("fm-radio-group"), ee = m("fm-checkbox"),
|
|
102
|
+
const i = m("fm-text-field"), d = m("fm-radio"), C = m("fm-radio-group"), ee = m("fm-checkbox"), L = m("fm-switch"), te = m("fm-select"), h = m("fm-button"), ae = m("fm-chip"), le = m("fm-card"), oe = m("fm-form");
|
|
103
103
|
return r(), V("div", Ce, [s(oe, {
|
|
104
104
|
class: H(["space-y-40 max-w-[751px]", "h-fit"]),
|
|
105
105
|
"blame-form-child-on-validation-failed": "",
|
|
@@ -112,7 +112,7 @@ const Ce = {
|
|
|
112
112
|
default: c(() => [s(i, {
|
|
113
113
|
modelValue: l.value.name,
|
|
114
114
|
"onUpdate:modelValue": o[0] || (o[0] = (a) => l.value.name = a),
|
|
115
|
-
rules: [(a) => !
|
|
115
|
+
rules: [(a) => !W.value.includes(a.trim()) || e(n)("menu.setting.catalog.fields.name.used"), (a) => !!a.trim() || e(n)("menu.setting.catalog.fields.name.required")],
|
|
116
116
|
label: e(n)("menu.setting.catalog.fields.name.label")
|
|
117
117
|
}, null, 8, ["modelValue", "rules", "label"]), s(T)]),
|
|
118
118
|
_: 1
|
|
@@ -135,7 +135,7 @@ const Ce = {
|
|
|
135
135
|
sublabel: e(n)("menu.setting.tax.modes.manual.sublabel")
|
|
136
136
|
}, null, 8, ["value", "label", "sublabel"])]),
|
|
137
137
|
_: 1
|
|
138
|
-
}, 8, ["model-value"]), l.value.taxSetting.mode === e(x).MANUAL ? (r(), V("div", Se, [(r(!0), V(
|
|
138
|
+
}, 8, ["model-value"]), l.value.taxSetting.mode === e(x).MANUAL ? (r(), V("div", Se, [(r(!0), V(D, null, B(R.value, (a) => (r(), g(ee, {
|
|
139
139
|
key: a.systemCode,
|
|
140
140
|
"model-value": a.inclusive,
|
|
141
141
|
value: !0,
|
|
@@ -152,7 +152,7 @@ const Ce = {
|
|
|
152
152
|
key: 1,
|
|
153
153
|
label: e(n)("menu.setting.link.title")
|
|
154
154
|
}, {
|
|
155
|
-
default: c(() => [s(
|
|
155
|
+
default: c(() => [s(L, {
|
|
156
156
|
"model-value": l.value.orderFrom && l.value.orderFrom !== e(f.F_ORDER_FROM).enum.NONE,
|
|
157
157
|
label: e(n)("menu.setting.link.auto_link.label"),
|
|
158
158
|
"label-placement": "right",
|
|
@@ -176,7 +176,7 @@ const Ce = {
|
|
|
176
176
|
key: 2,
|
|
177
177
|
label: e(n)("menu.setting.markup.title")
|
|
178
178
|
}, {
|
|
179
|
-
default: c(() => [s(
|
|
179
|
+
default: c(() => [s(L, {
|
|
180
180
|
"model-value": !!l.value.markupOptions,
|
|
181
181
|
label: e(n)("menu.setting.markup.auto_markup.label"),
|
|
182
182
|
"label-placement": "right",
|
|
@@ -193,15 +193,15 @@ const Ce = {
|
|
|
193
193
|
default: c(({
|
|
194
194
|
trigger: a
|
|
195
195
|
}) => [s(h, {
|
|
196
|
-
"text-color": e(
|
|
197
|
-
"border-color": e(
|
|
198
|
-
variant: e(
|
|
196
|
+
"text-color": e($).ColorPrimary,
|
|
197
|
+
"border-color": e($).ColorPrimary,
|
|
198
|
+
variant: e(P).Secondary,
|
|
199
199
|
label: "Add markup configuration",
|
|
200
200
|
"prepend-icon": "add",
|
|
201
201
|
onClick: a
|
|
202
202
|
}, null, 8, ["text-color", "border-color", "variant", "onClick"])]),
|
|
203
203
|
_: 1
|
|
204
|
-
}, 8, ["categories", "items"]), (r(!0), V(
|
|
204
|
+
}, 8, ["categories", "items"]), (r(!0), V(D, null, B(l.value.markupOptions, (a, y) => (r(), g(z, {
|
|
205
205
|
key: y,
|
|
206
206
|
categories: e(u).categories,
|
|
207
207
|
items: e(u).items,
|
|
@@ -229,7 +229,7 @@ const Ce = {
|
|
|
229
229
|
})), 1), v("p", Ue, N(a.includeItems ? e(n)("menu.setting.markup.products.linked", {
|
|
230
230
|
count: a.includeItems.length
|
|
231
231
|
}) : e(n)("menu.setting.markup.products.all")), 1)]), s(h, {
|
|
232
|
-
variant: e(
|
|
232
|
+
variant: e(P).Tertiary,
|
|
233
233
|
"prepend-icon": "delete",
|
|
234
234
|
onClick: (we) => Z(y)
|
|
235
235
|
}, null, 8, ["variant", "onClick"])])]),
|