@feedmepos/mf-menu 0.32.56 → 0.32.57-dev.2
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-BUePFRjb.js → App-CE5s0l9A.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-oPq3AcV2.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DZ5sZWpU.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-r2W9cuVe.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-B0POr6JV.js} +2 -2
- package/dist/{Catalog-uo0vO8uy.js → Catalog-CY6RvjyS.js} +6 -6
- package/dist/{Category-CHN6aSPS.js → Category-BoVnd_-a.js} +10 -10
- package/dist/{Category-BvetZzck.js → Category-DIpJlX_N.js} +13 -13
- package/dist/{CookingGuide-DU8D0T0w.js → CookingGuide-CHzasZA9.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DIxKLpe8.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DIhsGYRl.js} +1 -1
- package/dist/{Group-Cd1OoALN.js → Group-CwBojMky.js} +1 -1
- package/dist/{Group-BFGFyGhC.js → Group-SUmVQxSU.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-Dyb9On55.js → Group.vue_vue_type_script_setup_true_lang-BBqXiV3r.js} +57 -58
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-XcNt0ZBv.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CcQdvzMy.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Dw3IXPUL.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-C8VMeXoW.js} +193 -190
- package/dist/{Ingredient-CXU04qIu.js → Ingredient-DmsJNTi3.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-q9DVgfMD.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CZ3Ti5o-.js} +2 -2
- package/dist/{LinkProductSideSheet-CaFKMMSd.js → LinkProductSideSheet-D8Dvdhk0.js} +3 -3
- package/dist/{MenuSetting-EeJdFNfx.js → MenuSetting-CmFx4CKw.js} +6 -6
- package/dist/{OrderPacing-Db4P-2ea.js → OrderPacing-CFuteZjm.js} +5 -5
- package/dist/{PrintRoute-CSScKjFa.js → PrintRoute-CeHNsLcv.js} +4 -4
- package/dist/{Product-tvbYvK5u.js → Product-bJfbi1yz.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-BQ_PgMDP.js → Product.vue_vue_type_script_setup_true_lang-kvqrUjei.js} +66 -66
- package/dist/{ProductInternalTools-D2rmgEby.js → ProductInternalTools-BkKbXFdG.js} +16 -16
- package/dist/{Products-WPvLY_wr.js → Products-Bv9gINb8.js} +24 -24
- package/dist/{Publish-BJ9rz75C.js → Publish-CSMkGRiV.js} +3 -3
- package/dist/{Recipe-BMRTd58L.js → Recipe-CDK1f07t.js} +4 -4
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BefgcG34.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-hYs_2e94.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DlzIboPc.js → RuleView.vue_vue_type_script_setup_true_lang-DdSe-i8f.js} +187 -187
- package/dist/{Scheduler-CHQ5YcBq.js → Scheduler-Ce6qK5xo.js} +3 -3
- package/dist/{ServingSequence-BtXSEzfn.js → ServingSequence-BSX_g50j.js} +3 -3
- package/dist/{Setting-BnXj1uTa.js → Setting-BNS9ggtX.js} +5 -5
- package/dist/{Subcategory-miGPIoku.js → Subcategory-62g1JEwl.js} +5 -5
- package/dist/{Takeaway-DtVvfRQy.js → Takeaway-DR0Ax44B.js} +1 -1
- package/dist/{Takeaway-zaChLDgt.js → Takeaway-f4VO0ZJ-.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BFnbiGsG.js → Takeaway.vue_vue_type_script_setup_true_lang-B3UE1p7X.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CNYxe969.js → Thumbnail.vue_vue_type_script_setup_true_lang-CTw2lKns.js} +4 -4
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-D4fWF46n.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-hd6JGri0.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-DLqeQRkH.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-BRXHWG5s.js} +2 -2
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-ClDRf-88.js +5986 -0
- package/dist/{Unit-BaLVANd9.js → Unit-DnrLxe1V.js} +2 -2
- package/dist/{Variant-Bnb4SllS.js → Variant-DM2r3Of9.js} +3 -3
- package/dist/{_id_-btH88hnV.js → _id_-BhFeSJIu.js} +9 -9
- package/dist/{app-D1a9CqKF.js → app-CO3nuOc3.js} +1 -1
- package/dist/{app-BO16t-ps.js → app-DH7q5VuL.js} +32 -32
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/helper/import-export-utils.d.ts +2 -0
- package/dist/apps/mf-menu/src/manager/menu/circularLink.d.ts +3 -0
- package/dist/apps/mf-menu/src/manager/menu/item.d.ts +1 -2
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-zxrRiX3x.js → linked-status-BR-paOgW.js} +2 -2
- package/dist/assets/{menu-export-DXB8Py6r.js → menu-export-Dwpl4c_S.js} +4 -4
- package/dist/assets/{override-menu-CEIJGR_x.js → override-menu-BS1DhRTo.js} +2 -2
- package/dist/assets/{validate-menu-DN3P-OR7.js → validate-menu-B-YCNUDR.js} +2 -2
- package/dist/{catalog-COu1SO_p.js → catalog-DN1unMjl.js} +1 -1
- package/dist/{catalogSetting-D34fLwdB.js → catalogSetting-CI8dXYw5.js} +1 -1
- package/dist/{currency-DlfcFoj5.js → currency-BFqLFFOP.js} +1 -1
- package/dist/{dayjs.min-xM9KAjrx.js → dayjs.min-BXDB3ec6.js} +2 -2
- package/dist/{index-B5d_uvVc.js → index-CCKQLhW1.js} +4 -4
- package/dist/{index-ByEp1JD0.js → index-CYexEfd8.js} +5 -5
- package/dist/{index.vue_vue_type_script_setup_true_lang-DAJSG8i1.js → index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js} +5 -5
- package/dist/{item-CtfWra_w.js → item-eua4dBDT.js} +516 -488
- package/dist/{jszip.min-CNLaYb3p.js → jszip.min-C10zcIsO.js} +3 -3
- package/dist/{memberPricing-DSqwOAgM.js → memberPricing-BlITNLhE.js} +1 -1
- package/dist/{menu-DUsES-YM.js → menu-C4vsCvFL.js} +1 -1
- package/dist/menuV2-DB-VttRA.js +1023 -0
- package/dist/{order_pacing-B5a8Fch-.js → order_pacing-CDQ6wUL_.js} +5 -5
- package/dist/{priceTier-bxvu4c84.js → priceTier-pJMZysfK.js} +1 -1
- package/dist/{rules-CTd3QZhN.js → rules-BScEYhiY.js} +3 -3
- package/dist/{scheduler-DIl9SPsA.js → scheduler-BTiyl-EY.js} +4 -4
- package/dist/{toExcel-CUAEPhEv.js → toExcel-CSdnEWqk.js} +2 -2
- package/dist/{unit-DThoovpF.js → unit-BcPS3VM3.js} +2 -2
- package/package.json +1 -1
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DUxEgL0r.js +0 -5974
- package/dist/menuV2-BaY8Z_1c.js +0 -1055
|
@@ -2,13 +2,13 @@ import { defineComponent as ie, computed as b, ref as E, reactive as Ve, watch a
|
|
|
2
2
|
import { useI18n as Q } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as W, components as se, useDialog as Ee, FmButtonVariant as ue, useBreakpoints as Ue } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as Be } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { P as re, B as X, u as Z, G as Ne, A as K, H as Te, a5 as ce, D as le, J as q, K as H } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { P as re, B as X, u as Z, G as Ne, A as K, H as Te, a5 as ce, D as le, J as q, K as H } from "./index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js";
|
|
6
6
|
import { _ as Ie } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
7
7
|
import { defineStore as Oe } from "pinia";
|
|
8
|
-
import { _ as ae, g as Pe } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as ae, g as Pe } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-CZ3Ti5o-.js";
|
|
9
9
|
import { u as Re } from "./discardConfirm-BHni0LNu.js";
|
|
10
10
|
import { c as Ae } from "./check-C9mY6LiX.js";
|
|
11
|
-
import { u as Le } from "./unit-
|
|
11
|
+
import { u as Le } from "./unit-BcPS3VM3.js";
|
|
12
12
|
import { c as De } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
|
|
14
14
|
key: 0,
|
|
@@ -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 mt, renderList as ct, h as Ie } from "vue";
|
|
2
|
-
import { u as pt, D as ze, z as We, a8 as Qe, c as gt, a9 as Ft } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as pt, D as ze, z as We, a8 as Qe, c as gt, a9 as Ft } from "./index.vue_vue_type_script_setup_true_lang-BbQF5cdO.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/
|
|
6
|
+
var Be = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_46664bda-719f-41da-aa94-88104655396e", DOTNET_NOLOGO: "1", USER: "runner", npm_config_user_agent: "pnpm/10.8.0 npm/? node/v18.20.8 linux x64", CI: "true", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_46664bda-719f-41da-aa94-88104655396e", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", GTM_ID: "GTM-P7Z9FMS6", FIREBASE_MESSAGING_SENDER_ID: "458797803788", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.6.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", VITE_FEATURE_FLAG_API_KEY: "MaGoXrEWuEJNpWgKTqseee", SYSTEMD_EXEC_PID: "1770", ACTIONS_ORCHESTRATION_ID: "4c563853-7d42-4b84-a8a7-372ce2d93152.publish.deploy.__default", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260705.232.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2-dev.feedmeapi.com", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:13451", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", REMY_URL: "https://remy-dev.feedmeapi.com/v1", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.11/x64", GITHUB_RUN_ID: "29260295230", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapidev.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "7b23b3aeb6e299e43f92faab6788b21a17956991", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.4/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_7e54b936-9f3a-45ae-8e6d-f958fdf57a5d", INVOCATION_ID: "64b1958e5feb4063aa7ebd0b370e4c3c", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "573", GITHUB_TRIGGERING_ACTOR: "heiseshandian", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", VITE_LICENSE_API_URL: "https://license-v2-dev.feedmeapi.com", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000088056", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.32.57-dev.2", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", GTM_DEBUG: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", GITHUB_SHA: "7b23b3aeb6e299e43f92faab6788b21a17956991", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_46664bda-719f-41da-aa94-88104655396e", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "7780463", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_46664bda-719f-41da-aa94-88104655396e", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_46664bda-719f-41da-aa94-88104655396e", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } }, rt = typeof Be < "u" && (Be.versions || {}).hasOwnProperty("node"), D = rt ? Object.create(globalThis) : globalThis;
|
|
7
7
|
D.scheduleImmediate = typeof setImmediate < "u" ? function(ge) {
|
|
8
8
|
setImmediate(ge);
|
|
9
9
|
} : function(ge) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { createElementBlock as k, openBlock as d, createElementVNode as C, defineComponent as ie, ref as A, computed as z, resolveComponent as x, createBlock as T, unref as t, withCtx as G, createVNode as f, toDisplayString as M, Fragment as X, renderList as ue, createCommentVNode as Q, withModifiers as ae, watch as se, renderSlot as fe } from "vue";
|
|
2
|
-
import { u as re, U as oe, H as ne, G as ee, a5 as _e } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as re, U as oe, H as ne, G as ee, a5 as _e } from "./index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js";
|
|
3
3
|
import { d as ye } from "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
|
|
4
4
|
import { useI18n as me, ItemSelector as Re } from "@feedmepos/mf-common";
|
|
5
5
|
import { components as ce, FmButtonVariant as Z } from "@feedmepos/ui-library";
|
|
6
6
|
import { u as be } from "./discardConfirm-BHni0LNu.js";
|
|
7
|
-
import { u as ge } from "./menuV2-
|
|
7
|
+
import { u as ge } from "./menuV2-DB-VttRA.js";
|
|
8
8
|
import { _ as pe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
import { m as B, g as Ce, h as he, c as ke, b as Ae, f as le } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { m as B, g as Ce, h as he, c as ke, b as Ae, f as le } from "./RuleView.vue_vue_type_script_setup_true_lang-DdSe-i8f.js";
|
|
10
10
|
import { c as Fe } from "./check-C9mY6LiX.js";
|
|
11
11
|
/* empty css */
|
|
12
12
|
const Ve = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as X, ref as A, computed as M, watch as q, resolveComponent as y, createBlock as G, openBlock as d, unref as e, withCtx as g, createElementVNode as r, createVNode as o, createElementBlock as k, createCommentVNode as $, toDisplayString as B, withModifiers as ne, Fragment as oe, renderList as ue } from "vue";
|
|
2
|
-
import { u as Z, H as z, a5 as ae, B as se, z as me, G as le } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as Z, H as z, a5 as ae, B as se, z as me, G as le } from "./index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js";
|
|
3
3
|
import { useI18n as Y, useCoreStore as ce } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as K, FmButtonVariant as F, useDialog as de, useSnackbar as re, useBreakpoints as pe, FmButtonColorThemeVariant as E } from "@feedmepos/ui-library";
|
|
5
|
-
import { b as _e, m as H, _ as W, c as ve, d as ge, f as J } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as ee } from "./app-
|
|
5
|
+
import { b as _e, m as H, _ as W, c as ve, d as ge, f as J } from "./RuleView.vue_vue_type_script_setup_true_lang-DdSe-i8f.js";
|
|
6
|
+
import { _ as ee } from "./app-DH7q5VuL.js";
|
|
7
7
|
import { d as fe } from "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
|
|
8
8
|
import { u as be } from "./discardConfirm-BHni0LNu.js";
|
|
9
9
|
import { _ as ye } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
10
10
|
import { _ as ie } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
11
|
-
import { u as he } from "./memberPricing-
|
|
12
|
-
import { C as L, a as N } from "./catalogSetting-
|
|
13
|
-
import { u as xe } from "./priceTier-
|
|
11
|
+
import { u as he } from "./memberPricing-BlITNLhE.js";
|
|
12
|
+
import { C as L, a as N } from "./catalogSetting-CI8dXYw5.js";
|
|
13
|
+
import { u as xe } from "./priceTier-pJMZysfK.js";
|
|
14
14
|
const ke = {
|
|
15
15
|
class: "fm-typo-en-title-md-600 mr-auto"
|
|
16
16
|
}, we = {
|
|
@@ -3,14 +3,14 @@ import { storeToRefs as Q } from "pinia";
|
|
|
3
3
|
import { useI18n as W } from "@feedmepos/mf-common";
|
|
4
4
|
import { useBreakpoints as X, useSnackbar as z, components as Z, FmButtonVariant as D, FmButtonColorThemeVariant as ee, useDialog as oe } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
6
|
-
import { B as A, u as Y, J as K, K as R, P as j, a5 as ne } from "./index.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { B as A, u as Y, J as K, K as R, P as j, a5 as ne } from "./index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js";
|
|
7
7
|
import { _ as te } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
|
-
import { u as re } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { u as re } from "./RuleView.vue_vue_type_script_setup_true_lang-DdSe-i8f.js";
|
|
9
9
|
import { d as le } from "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
|
|
10
|
-
import { _ as se } from "./app-
|
|
10
|
+
import { _ as se } from "./app-DH7q5VuL.js";
|
|
11
11
|
import { c as ie } from "./createForm-BoUQeZTd.js";
|
|
12
|
-
import { _ as ce } from "./ApplyProductDialog.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { O as de, u as ue, m as me } from "./order_pacing-
|
|
12
|
+
import { _ as ce } from "./ApplyProductDialog.vue_vue_type_script_setup_true_lang-B0POr6JV.js";
|
|
13
|
+
import { O as de, u as ue, m as me } from "./order_pacing-CDQ6wUL_.js";
|
|
14
14
|
const pe = { key: 0 }, _e = { class: "flex justify-end items-center" }, ge = { class: "w-[320px]" }, fe = {
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "flex-1 flex flex-col min-h-0"
|
|
@@ -2,11 +2,11 @@ import { defineComponent as H, ref as P, computed as p, resolveComponent as g, c
|
|
|
2
2
|
import { useI18n as Q } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as W, useBreakpoints as oe, useSnackbar as ne, useDialog as ae } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as le } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as re } from "./app-
|
|
6
|
-
import { G as Y, H as se, J as U, K as M, ad as X, u as ie, P as ue, B as de, a5 as ce } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as G } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as re } from "./app-DH7q5VuL.js";
|
|
6
|
+
import { G as Y, H as se, J as U, K as M, ad as X, u as ie, P as ue, B as de, a5 as ce } from "./index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js";
|
|
7
|
+
import { _ as G } from "./RuleView.vue_vue_type_script_setup_true_lang-DdSe-i8f.js";
|
|
8
8
|
import { u as me } from "./discardConfirm-BHni0LNu.js";
|
|
9
|
-
import { L as pe } from "./LinkProductSideSheet-
|
|
9
|
+
import { L as pe } from "./LinkProductSideSheet-D8Dvdhk0.js";
|
|
10
10
|
import { _ as _e } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
11
11
|
const fe = { class: "fm-typo-en-title-md-600" }, ve = { class: "space-y-32" }, ye = { class: "space-y-16" }, ge = { class: "flex items-center gap-8" }, he = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, be = { class: "flex-1" }, ke = { class: "grow overflow-y-auto" }, xe = { class: "text-fm-color-typo-secondary bg-fm-color-neutral-gray-100 px-16 py-8 border-b border-b-fm-color-neutral-gray-200" }, Fe = { class: "px-16 py-8 flex-1" }, Ie = { class: "py-8" }, Ce = { class: "flex gap-8 items-center justify-start" }, we = /* @__PURE__ */ H({
|
|
12
12
|
__name: "PrintDepartmentDialog",
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { ref as F, computed as h, defineComponent as G, resolveComponent as K, createBlock as I, openBlock as m, withCtx as $, createElementVNode as b, createVNode as d, unref as r, createElementBlock as w, Fragment as de, renderList as Se, createCommentVNode as
|
|
2
|
-
import { u as Ie, T as we, z as ce, G as Ue, H as be, W as xt, al as Ct, am as wt, an as Re, ao as kt, Q as St, a5 as _e, ap as We } from "./index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { ref as F, computed as h, defineComponent as G, resolveComponent as K, createBlock as I, openBlock as m, withCtx as $, createElementVNode as b, createVNode as d, unref as r, createElementBlock as w, Fragment as de, renderList as Se, createCommentVNode as M, normalizeClass as me, toDisplayString as E, withModifiers as fe, mergeModels as lt, useModel as at, renderSlot as ye, watch as ie, createTextVNode as ot, watchEffect as rt, nextTick as Me, resolveDynamicComponent as nt, onMounted as st, h as U, isRef as Le, normalizeStyle as ht } from "vue";
|
|
2
|
+
import { u as Ie, T as we, z as ce, G as Ue, H as be, W as xt, al as Ct, am as wt, an as Re, ao as kt, Q as St, a5 as _e, ap as We } from "./index.vue_vue_type_script_setup_true_lang-BbQF5cdO.js";
|
|
3
3
|
import { useI18n as $e, useCoreStore as Ne, useCustomAttributes as Vt } from "@feedmepos/mf-common";
|
|
4
|
-
import { u as Ve } from "./menu-
|
|
5
|
-
import { L as qe } from "./LinkProductSideSheet-
|
|
6
|
-
import { _ as He } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as ze, a as Qe } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as Oe, u as Ft } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { f as It, o as $t, a as Tt, m as Pt } from "./menuV2-
|
|
10
|
-
import { u as ut, C as At, S as Rt } from "./item-
|
|
4
|
+
import { u as Ve } from "./menu-C4vsCvFL.js";
|
|
5
|
+
import { L as qe } from "./LinkProductSideSheet-D8Dvdhk0.js";
|
|
6
|
+
import { _ as He } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-hYs_2e94.js";
|
|
7
|
+
import { _ as ze, a as Qe } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-DIhsGYRl.js";
|
|
8
|
+
import { _ as Oe, u as Ft } from "./Thumbnail.vue_vue_type_script_setup_true_lang-CTw2lKns.js";
|
|
9
|
+
import { f as It, o as $t, a as Tt, m as Pt } from "./menuV2-DB-VttRA.js";
|
|
10
|
+
import { u as ut, C as At, S as Rt } from "./item-eua4dBDT.js";
|
|
11
11
|
import { b as Ye, H as Mt } from "./app-5fxKLAzS.js";
|
|
12
12
|
import { useBreakpoints as it, components as ee, useDialog as Ut, FmButtonColorThemeVariant as q, FmButtonVariant as X } from "@feedmepos/ui-library";
|
|
13
13
|
import { F as zt } from "./index-CisutoS9.js";
|
|
14
|
-
import { _ as De, d as Ot, e as Nt } from "./app-
|
|
14
|
+
import { _ as De, d as Ot, e as Nt } from "./app-DH7q5VuL.js";
|
|
15
15
|
import { _ as ke } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
16
|
-
import { _ as Dt } from "./index-
|
|
17
|
-
import { r as Kt, _ as Bt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
16
|
+
import { _ as Dt } from "./index-CYexEfd8.js";
|
|
17
|
+
import { r as Kt, _ as Bt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-C8VMeXoW.js";
|
|
18
18
|
import { _ as Ze } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
19
19
|
import { c as jt } from "./check-C9mY6LiX.js";
|
|
20
|
-
import { f as Et } from "./currency-
|
|
20
|
+
import { f as Et } from "./currency-BFqLFFOP.js";
|
|
21
21
|
import { w as Gt } from "./tooltip-B5BiPMx9.js";
|
|
22
22
|
function Lt(C, l, c = C) {
|
|
23
23
|
const n = F(!0), o = h(() => {
|
|
@@ -85,7 +85,7 @@ const Wt = { class: "inline-flex items-center" }, qt = {
|
|
|
85
85
|
b("div", Wt, [
|
|
86
86
|
d(J, null, {
|
|
87
87
|
default: $(() => [
|
|
88
|
-
_.value ? (m(), w("div", qt, E(r(s)("menu.category.selector.title", { label: _.value })), 1)) :
|
|
88
|
+
_.value ? (m(), w("div", qt, E(r(s)("menu.category.selector.title", { label: _.value })), 1)) : M("", !0),
|
|
89
89
|
d(H, {
|
|
90
90
|
color: "neutral-gray-400",
|
|
91
91
|
name: "expand_more",
|
|
@@ -104,7 +104,7 @@ const Wt = { class: "inline-flex items-center" }, qt = {
|
|
|
104
104
|
onClick: D[0] || (D[0] = fe(() => {
|
|
105
105
|
}, ["prevent"]))
|
|
106
106
|
})
|
|
107
|
-
])) :
|
|
107
|
+
])) : M("", !0)
|
|
108
108
|
]),
|
|
109
109
|
_: 1
|
|
110
110
|
})
|
|
@@ -176,8 +176,8 @@ const Wt = { class: "inline-flex items-center" }, qt = {
|
|
|
176
176
|
onClick: _[0] || (_[0] = fe((k) => v.value = !v.value, ["stop", "prevent"]))
|
|
177
177
|
}, [
|
|
178
178
|
v.value ? (m(), w("span", al, E(r(c)("menu.product.table.category.expand", { count: s.categories.length - u.value })), 1)) : (m(), w("span", ol, E(r(c)("menu.product.table.category.collapse")), 1))
|
|
179
|
-
])) :
|
|
180
|
-
])) :
|
|
179
|
+
])) : M("", !0)
|
|
180
|
+
])) : M("", !0)
|
|
181
181
|
], 64)) : (m(), I(y, {
|
|
182
182
|
key: 0,
|
|
183
183
|
class: "flex",
|
|
@@ -208,7 +208,7 @@ const Wt = { class: "inline-flex items-center" }, qt = {
|
|
|
208
208
|
key: 0,
|
|
209
209
|
label: "...",
|
|
210
210
|
variant: "neutral"
|
|
211
|
-
})) :
|
|
211
|
+
})) : M("", !0)
|
|
212
212
|
])
|
|
213
213
|
]),
|
|
214
214
|
_: 1
|
|
@@ -269,7 +269,7 @@ const Wt = { class: "inline-flex items-center" }, qt = {
|
|
|
269
269
|
b("p", il, E(c.title), 1),
|
|
270
270
|
c.titleBadge !== void 0 ? (m(), w("div", cl, [
|
|
271
271
|
b("p", dl, E(c.titleBadge), 1)
|
|
272
|
-
])) :
|
|
272
|
+
])) : M("", !0)
|
|
273
273
|
]),
|
|
274
274
|
d(De, null, {
|
|
275
275
|
default: $(() => [
|
|
@@ -626,7 +626,7 @@ const Wt = { class: "inline-flex items-center" }, qt = {
|
|
|
626
626
|
}, null, 8, ["alt", "src"]),
|
|
627
627
|
b("div", yl, [
|
|
628
628
|
b("p", hl, [
|
|
629
|
-
(f = c.value) != null && f.code ? (m(), w("span", xl, E((s = c.value) == null ? void 0 : s.code) + ", ", 1)) :
|
|
629
|
+
(f = c.value) != null && f.code ? (m(), w("span", xl, E((s = c.value) == null ? void 0 : s.code) + ", ", 1)) : M("", !0),
|
|
630
630
|
b("span", null, E((_ = c.value) == null ? void 0 : _.name), 1)
|
|
631
631
|
]),
|
|
632
632
|
b("p", Cl, "Base price: " + E(n.value), 1),
|
|
@@ -638,7 +638,7 @@ const Wt = { class: "inline-flex items-center" }, qt = {
|
|
|
638
638
|
"custom-attributes": (k = c.value) == null ? void 0 : k.customAttributes
|
|
639
639
|
}, null, 8, ["custom-attributes"])
|
|
640
640
|
])
|
|
641
|
-
])) :
|
|
641
|
+
])) : M("", !0)
|
|
642
642
|
])
|
|
643
643
|
]);
|
|
644
644
|
};
|
|
@@ -706,13 +706,13 @@ const Wt = { class: "inline-flex items-center" }, qt = {
|
|
|
706
706
|
"helper-text": "Quickly find products and view their prices across different catalogs and schedules.",
|
|
707
707
|
menu: r(c).state.menu
|
|
708
708
|
}, null, 8, ["modelValue", "menu"])
|
|
709
|
-
])) :
|
|
709
|
+
])) : M("", !0),
|
|
710
710
|
b("div", null, [
|
|
711
711
|
n.value ? (m(), I(Fl, {
|
|
712
712
|
key: 0,
|
|
713
713
|
"item-id": n.value,
|
|
714
714
|
menu: r(c).state.menu
|
|
715
|
-
}, null, 8, ["item-id", "menu"])) :
|
|
715
|
+
}, null, 8, ["item-id", "menu"])) : M("", !0)
|
|
716
716
|
])
|
|
717
717
|
]));
|
|
718
718
|
}
|
|
@@ -742,7 +742,7 @@ const Wt = { class: "inline-flex items-center" }, qt = {
|
|
|
742
742
|
c.value && l.value ? (m(), I(Tl, {
|
|
743
743
|
key: 0,
|
|
744
744
|
"item-id": l.value
|
|
745
|
-
}, null, 8, ["item-id"])) :
|
|
745
|
+
}, null, 8, ["item-id"])) : M("", !0)
|
|
746
746
|
])
|
|
747
747
|
]),
|
|
748
748
|
_: 1
|
|
@@ -878,7 +878,7 @@ const et = /* @__PURE__ */ G({
|
|
|
878
878
|
}), J = F(""), re = Ot(J, 300), Q = h(() => {
|
|
879
879
|
const t = (i) => {
|
|
880
880
|
var x;
|
|
881
|
-
return !re.value || !re.value.trim() ? !0 : [i.code, i.name, Be(i), ...Re(ne.value, i), (x = we()[i.orderFrom]) == null ? void 0 : x.label, Object.values(i.customAttributes ?? {}).join(" ")].join(" ").toLowerCase().includes(re.value.toLowerCase());
|
|
881
|
+
return !re.value || !re.value.trim() ? !0 : [i.code, i.name, Be(i), ...Re(ne.value, i), A(i.subCategories), (x = we()[i.orderFrom]) == null ? void 0 : x.label, Object.values(i.customAttributes ?? {}).join(" ")].join(" ").toLowerCase().includes(re.value.toLowerCase());
|
|
882
882
|
}, e = (i) => H.value ? Mt(i.customAttributes, H.value) : !0;
|
|
883
883
|
return N.value.filter((i) => t(i) && e(i));
|
|
884
884
|
}), {
|
|
@@ -890,7 +890,7 @@ const et = /* @__PURE__ */ G({
|
|
|
890
890
|
label: t.name,
|
|
891
891
|
value: t._id
|
|
892
892
|
}))), z = h(() => a.subcategories.reduce((t, e) => (t[e._id] = e.name, t), {}));
|
|
893
|
-
function
|
|
893
|
+
function A(t) {
|
|
894
894
|
return (t == null ? void 0 : t.map((e) => z.value[e]).filter(Boolean).join("/")) || "--";
|
|
895
895
|
}
|
|
896
896
|
const te = (t, e, i) => {
|
|
@@ -903,9 +903,9 @@ const et = /* @__PURE__ */ G({
|
|
|
903
903
|
...x,
|
|
904
904
|
[e]: i
|
|
905
905
|
}, Y("update:model-value", p));
|
|
906
|
-
}, j = Ct(() => n.originalValue, () => n.modelValue), O = be.debounce(te, 300),
|
|
906
|
+
}, j = Ct(() => n.originalValue, () => n.modelValue), O = be.debounce(te, 300), R = (t) => (e) => !!e || o("menu.product.table.validation.name_required", {
|
|
907
907
|
field: t
|
|
908
|
-
}), se = (t) => t >= 0 || o("menu.product.table.validation.price_min"), L = [
|
|
908
|
+
}), se = (t) => t >= 0 || o("menu.product.table.validation.price_min"), L = [R("Name")], pe = () => [(t) => se(typeof t == "number" ? t : Number(t) ?? 0)], he = we(), xe = h(() => {
|
|
909
909
|
const t = a.isV4;
|
|
910
910
|
return xt.setCoreStore(u).taxSetting(t);
|
|
911
911
|
}), ge = h(() => [{
|
|
@@ -1086,7 +1086,7 @@ const et = /* @__PURE__ */ G({
|
|
|
1086
1086
|
}
|
|
1087
1087
|
}) : U("span", {
|
|
1088
1088
|
class: "break-all"
|
|
1089
|
-
},
|
|
1089
|
+
}, A(e.subCategories));
|
|
1090
1090
|
}
|
|
1091
1091
|
}] : [], {
|
|
1092
1092
|
id: "tagging",
|
|
@@ -1284,7 +1284,7 @@ const et = /* @__PURE__ */ G({
|
|
|
1284
1284
|
attributes: r(B),
|
|
1285
1285
|
modelValue: r(D),
|
|
1286
1286
|
"onUpdate:modelValue": e[6] || (e[6] = (g) => Le(D) ? D.value = g : null)
|
|
1287
|
-
}, null, 8, ["attributes", "modelValue"])])) :
|
|
1287
|
+
}, null, 8, ["attributes", "modelValue"])])) : M("", !0)]), N.value.length ? (m(), w("div", Hl, [(m(!0), w(de, null, Se(Q.value, (g) => {
|
|
1288
1288
|
var le;
|
|
1289
1289
|
return m(), w("div", {
|
|
1290
1290
|
key: g._id,
|
|
@@ -1350,7 +1350,7 @@ const et = /* @__PURE__ */ G({
|
|
|
1350
1350
|
attributes: r(B),
|
|
1351
1351
|
modelValue: r(D),
|
|
1352
1352
|
"onUpdate:modelValue": e[1] || (e[1] = (g) => Le(D) ? D.value = g : null)
|
|
1353
|
-
}, null, 8, ["attributes", "modelValue"])])) :
|
|
1353
|
+
}, null, 8, ["attributes", "modelValue"])])) : M("", !0), N.value.length ? (m(), w("div", Ol, [ue.value.length && !S.value ? (m(), w("div", Nl, [b("p", Dl, E(r(o)("menu.product.table.selection.count", {
|
|
1354
1354
|
count: ue.value.length
|
|
1355
1355
|
})), 1), d(p, {
|
|
1356
1356
|
label: r(o)("menu.product.table.selection.actions.deselect_all"),
|
|
@@ -1365,7 +1365,7 @@ const et = /* @__PURE__ */ G({
|
|
|
1365
1365
|
"prepend-icon": "delete",
|
|
1366
1366
|
variant: "secondary",
|
|
1367
1367
|
onClick: mt
|
|
1368
|
-
}, null, 8, ["border-color", "text-color", "label"])])) :
|
|
1368
|
+
}, null, 8, ["border-color", "text-color", "label"])])) : M("", !0), S.value ? (m(), w("div", Kl, [d(p, {
|
|
1369
1369
|
variant: r(X).Tertiary,
|
|
1370
1370
|
label: r(o)("menu.product.table.bulk_edit.actions.reset_all"),
|
|
1371
1371
|
onClick: Ce
|
|
@@ -1379,7 +1379,7 @@ const et = /* @__PURE__ */ G({
|
|
|
1379
1379
|
variant: r(X).Secondary,
|
|
1380
1380
|
label: r(o)("menu.product.table.bulk_edit.actions.save"),
|
|
1381
1381
|
type: "submit"
|
|
1382
|
-
}, null, 8, ["borderColor", "textColor", "variant", "label"])])) :
|
|
1382
|
+
}, null, 8, ["borderColor", "textColor", "variant", "label"])])) : M("", !0), b("div", {
|
|
1383
1383
|
ref_key: "tableWrapper",
|
|
1384
1384
|
ref: je
|
|
1385
1385
|
}, [(m(), I(nt(S.value ? zt : "div"), {
|
|
@@ -1462,16 +1462,16 @@ const et = /* @__PURE__ */ G({
|
|
|
1462
1462
|
__name: "Product",
|
|
1463
1463
|
setup(C) {
|
|
1464
1464
|
const l = Ie(), c = h(() => l.rules.item), n = ut(), o = h(() => !l.state.currentCatalogId), u = h(() => l.rules.item), a = h(() => !l.state.currentSchedulerId), v = F(!1), f = F(!1), s = h(() => {
|
|
1465
|
-
var T, z,
|
|
1465
|
+
var T, z, A, te;
|
|
1466
1466
|
if (o.value && a.value) return;
|
|
1467
1467
|
if (a.value) {
|
|
1468
1468
|
const j = (T = l.currentCatalog) == null ? void 0 : T.override.items;
|
|
1469
|
-
return j ? Object.entries(j).reduce((O, [
|
|
1469
|
+
return j ? Object.entries(j).reduce((O, [R, se]) => {
|
|
1470
1470
|
const L = se.find((pe) => !pe.combinationKey);
|
|
1471
|
-
return L && (O[
|
|
1471
|
+
return L && (O[R] = L), O;
|
|
1472
1472
|
}, {}) : {};
|
|
1473
1473
|
}
|
|
1474
|
-
return ((o.value ? (z = l.currentScheduler) == null ? void 0 : z.items : (te = (
|
|
1474
|
+
return ((o.value ? (z = l.currentScheduler) == null ? void 0 : z.items : (te = (A = l.currentCatalog) == null ? void 0 : A.override.scheduler[l.state.currentSchedulerId]) == null ? void 0 : te.items) ?? []).reduce((j, O) => (O.combinationKey || (j[O._id] = O), j), {});
|
|
1475
1475
|
}), _ = F({}), y = F({}), k = async () => {
|
|
1476
1476
|
var te, j;
|
|
1477
1477
|
f.value = !0;
|
|
@@ -1482,28 +1482,28 @@ const et = /* @__PURE__ */ G({
|
|
|
1482
1482
|
(te = l.currentCatalog) == null ? void 0 : te._id,
|
|
1483
1483
|
(j = l.currentScheduler) == null ? void 0 : j._id,
|
|
1484
1484
|
!1
|
|
1485
|
-
) : void 0,
|
|
1485
|
+
) : void 0, A = T.reduce((O, R, se) => {
|
|
1486
1486
|
var pe, he, xe, ge;
|
|
1487
|
-
const L = (pe = s.value) == null ? void 0 : pe[
|
|
1488
|
-
return O[
|
|
1489
|
-
_id:
|
|
1490
|
-
name:
|
|
1491
|
-
code: P ? L == null ? void 0 : L.code :
|
|
1492
|
-
category:
|
|
1493
|
-
additionalCategories:
|
|
1494
|
-
subCategories:
|
|
1495
|
-
price: P && u.value.editPrice ? L == null ? void 0 : L.price :
|
|
1496
|
-
orderFrom: P ? L == null ? void 0 : L.orderFrom :
|
|
1497
|
-
taxes: P ? null :
|
|
1498
|
-
thumbnail:
|
|
1487
|
+
const L = (pe = s.value) == null ? void 0 : pe[R._id];
|
|
1488
|
+
return O[R._id] = {
|
|
1489
|
+
_id: R._id,
|
|
1490
|
+
name: R.name,
|
|
1491
|
+
code: P ? L == null ? void 0 : L.code : R == null ? void 0 : R.code,
|
|
1492
|
+
category: R.category,
|
|
1493
|
+
additionalCategories: R.additionalCategories,
|
|
1494
|
+
subCategories: R.subCategories,
|
|
1495
|
+
price: P && u.value.editPrice ? L == null ? void 0 : L.price : R.price,
|
|
1496
|
+
orderFrom: P ? L == null ? void 0 : L.orderFrom : R.orderFrom,
|
|
1497
|
+
taxes: P ? null : R.taxes,
|
|
1498
|
+
thumbnail: R.thumbnail,
|
|
1499
1499
|
fallbackPrice: (he = z == null ? void 0 : z[se]) == null ? void 0 : he.price,
|
|
1500
|
-
fallbackName: P ?
|
|
1500
|
+
fallbackName: P ? R.name : void 0,
|
|
1501
1501
|
fallbackCode: (xe = z == null ? void 0 : z[se]) == null ? void 0 : xe.code,
|
|
1502
1502
|
fallbackOrder: (ge = z == null ? void 0 : z[se]) == null ? void 0 : ge.orderFrom,
|
|
1503
|
-
fallbackTaxes: P ?
|
|
1503
|
+
fallbackTaxes: P ? R.taxes : null
|
|
1504
1504
|
}, O;
|
|
1505
1505
|
}, {});
|
|
1506
|
-
_.value =
|
|
1506
|
+
_.value = A, y.value = { ...A }, f.value = !1;
|
|
1507
1507
|
}, { categories: N, selectedCategories: Y } = Ve(), S = F(null);
|
|
1508
1508
|
function ae() {
|
|
1509
1509
|
S.value && S.value.toggleAttributeFilter();
|
|
@@ -1539,32 +1539,32 @@ const et = /* @__PURE__ */ G({
|
|
|
1539
1539
|
"is-calculating": f.value,
|
|
1540
1540
|
"model-value": _.value,
|
|
1541
1541
|
"original-value": y.value,
|
|
1542
|
-
"onUpdate:modelValue": T[1] || (T[1] = (
|
|
1542
|
+
"onUpdate:modelValue": T[1] || (T[1] = (A) => _.value = A),
|
|
1543
1543
|
"onReset:modelValue": oe,
|
|
1544
|
-
"onUpdate:editing": T[2] || (T[2] = (
|
|
1544
|
+
"onUpdate:editing": T[2] || (T[2] = (A) => v.value = A)
|
|
1545
1545
|
}, {
|
|
1546
1546
|
filter: $(() => [
|
|
1547
1547
|
d(Je, { onToggleAttributeFilter: ae }),
|
|
1548
|
-
u.value.multiScheduler ? (m(), I(Qe, { key: 0 })) :
|
|
1548
|
+
u.value.multiScheduler ? (m(), I(Qe, { key: 0 })) : M("", !0),
|
|
1549
1549
|
B.value ? (m(), I(He, {
|
|
1550
1550
|
key: 1,
|
|
1551
1551
|
"current-restaurant-attr-params": r(l).state.currentRestaurantAttrParams,
|
|
1552
|
-
onConfirm: T[0] || (T[0] = (
|
|
1553
|
-
}, null, 8, ["current-restaurant-attr-params"])) :
|
|
1552
|
+
onConfirm: T[0] || (T[0] = (A) => r(l).setRestaurantAttrParams(A))
|
|
1553
|
+
}, null, 8, ["current-restaurant-attr-params"])) : M("", !0)
|
|
1554
1554
|
]),
|
|
1555
1555
|
_: 1
|
|
1556
|
-
}, 8, ["is-calculating", "model-value", "original-value"])) :
|
|
1556
|
+
}, 8, ["is-calculating", "model-value", "original-value"])) : M("", !0)
|
|
1557
1557
|
])
|
|
1558
1558
|
])
|
|
1559
1559
|
])) : (m(), w("div", ia, [
|
|
1560
1560
|
b("div", ca, [
|
|
1561
1561
|
d(Je),
|
|
1562
|
-
u.value.multiScheduler ? (m(), I(Qe, { key: 0 })) :
|
|
1562
|
+
u.value.multiScheduler ? (m(), I(Qe, { key: 0 })) : M("", !0),
|
|
1563
1563
|
B.value ? (m(), I(He, {
|
|
1564
1564
|
key: 1,
|
|
1565
1565
|
"current-restaurant-attr-params": r(l).state.currentRestaurantAttrParams,
|
|
1566
|
-
onConfirm: T[3] || (T[3] = (
|
|
1567
|
-
}, null, 8, ["current-restaurant-attr-params"])) :
|
|
1566
|
+
onConfirm: T[3] || (T[3] = (A) => r(l).setRestaurantAttrParams(A))
|
|
1567
|
+
}, null, 8, ["current-restaurant-attr-params"])) : M("", !0)
|
|
1568
1568
|
]),
|
|
1569
1569
|
c.value.create ? (m(), I(_e, {
|
|
1570
1570
|
key: 0,
|
|
@@ -1591,11 +1591,11 @@ const et = /* @__PURE__ */ G({
|
|
|
1591
1591
|
"is-local-only": !0,
|
|
1592
1592
|
onSubmit: r(re)
|
|
1593
1593
|
}, {
|
|
1594
|
-
default: $(({ trigger:
|
|
1594
|
+
default: $(({ trigger: A }) => [
|
|
1595
1595
|
d(z, {
|
|
1596
1596
|
label: r(W)("menu.common.actions.link_product"),
|
|
1597
1597
|
"prepend-icon": "link",
|
|
1598
|
-
onClick:
|
|
1598
|
+
onClick: A
|
|
1599
1599
|
}, null, 8, ["label", "onClick"])
|
|
1600
1600
|
]),
|
|
1601
1601
|
_: 1
|
|
@@ -1619,10 +1619,10 @@ const et = /* @__PURE__ */ G({
|
|
|
1619
1619
|
"is-local-only": !0,
|
|
1620
1620
|
onSubmit: r(re)
|
|
1621
1621
|
}, {
|
|
1622
|
-
default: $(({ trigger:
|
|
1622
|
+
default: $(({ trigger: A }) => [
|
|
1623
1623
|
d(z, {
|
|
1624
1624
|
label: r(W)("menu.common.actions.apply_product"),
|
|
1625
|
-
onClick:
|
|
1625
|
+
onClick: A
|
|
1626
1626
|
}, null, 8, ["label", "onClick"])
|
|
1627
1627
|
]),
|
|
1628
1628
|
_: 1
|