@feedmepos/mf-menu 0.32.63-dev.1 → 0.32.63-dev.3
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-DhfTGlgM.js → App-DHxlR--3.js} +6 -6
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-C5-8qdJK.js → ApplyProduct.vue_vue_type_script_setup_true_lang-6noIwjis.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-CXm-0H18.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-CMI2Nh0n.js} +3 -3
- package/dist/{Catalog-WuZJfM6l.js → Catalog-B-S0gygH.js} +22 -22
- package/dist/{Category-BeIo7XWY.js → Category-DGDddfLx.js} +4 -4
- package/dist/{Category-D-cQQCPS.js → Category-DOhNama9.js} +4 -4
- package/dist/{CookingGuide-B-yvD9ZA.js → CookingGuide-CUR57F4P.js} +29 -29
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-2_yzXoa4.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-bIONGM6k.js} +1 -1
- package/dist/{Group-CY8lUzQG.js → Group-BsGJ0omP.js} +1 -1
- package/dist/{Group-13i5igrS.js → Group-z-0jQPCd.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DZhxy0tb.js → Group.vue_vue_type_script_setup_true_lang-bBWkJ2Hx.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CWqv-oUd.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BbqcH4sM.js} +19 -19
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DTs4Vpdi.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CVGilzd0.js} +4210 -4210
- package/dist/{Ingredient-vrUOW6gk.js → Ingredient-D38IVDXK.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-xcVjRjqD.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CKmyz9CP.js} +2 -2
- package/dist/{LinkProductSideSheet-DMbJG6wf.js → LinkProductSideSheet-DsBA_o9g.js} +4 -4
- package/dist/{MenuSetting-Di2xwm00.js → MenuSetting-D-tln58o.js} +7 -7
- package/dist/{OrderPacing-CCe-IcGO.js → OrderPacing-BdCEHKD9.js} +7 -7
- package/dist/{PrintRoute-CcfObcHY.js → PrintRoute-DKFMqyeI.js} +10 -10
- package/dist/{Product-ChUVnMgG.js → Product-Dzo4ljes.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-C9Qp50hL.js → Product.vue_vue_type_script_setup_true_lang-BtE2aiwU.js} +58 -58
- package/dist/{ProductInternalTools-D9HXhgo5.js → ProductInternalTools-Z6XR4zko.js} +14 -14
- package/dist/{Products-Bly2ktEC.js → Products-CCo675Ee.js} +63 -63
- package/dist/{Publish-C8ubb8Qf.js → Publish-tixV8Of1.js} +107 -107
- package/dist/{Recipe-BpMRLsyO.js → Recipe-V9kzxmlf.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BD5OCDRn.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-DBhAzVz3.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-Ba3djmX1.js → RuleView.vue_vue_type_script_setup_true_lang-D9DqmAVY.js} +3 -3
- package/dist/{Scheduler-CiB4b2Fn.js → Scheduler-0UpDGQKJ.js} +17 -17
- package/dist/{ServingSequence-BlcyW-dv.js → ServingSequence-CutiXht7.js} +3 -3
- package/dist/{Setting-DqkL6YYU.js → Setting-jyYmoDiq.js} +5 -5
- package/dist/{Subcategory-B4Jg_wtT.js → Subcategory-CQSKOLjU.js} +10 -10
- package/dist/{Takeaway-5G3f7jWT.js → Takeaway-CQ0m09TB.js} +1 -1
- package/dist/{Takeaway-5rFPYYNA.js → Takeaway-DeCthkOI.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CVsOhg_E.js → Takeaway.vue_vue_type_script_setup_true_lang-FHE6oQ0d.js} +7 -7
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-CPqxA6JD.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-D9Ga3fOj.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-yrNuTD-3.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-Bz32rpvX.js} +2 -2
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DCPGAyOm.js +5858 -0
- package/dist/{Unit-CAkdmQLg.js → Unit-_XiPfauV.js} +2 -2
- package/dist/{Variant-BbLQqbAK.js → Variant-DfdMywhn.js} +6 -6
- package/dist/{_id_-Dzacr40I.js → _id_-Yj5av4B4.js} +12 -12
- package/dist/{app-4yWs09Fr.js → app-BcGgfvbE.js} +102 -102
- package/dist/{app-Deov1985.js → app-CqdVluGs.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/api/media.d.ts +10 -3
- package/dist/apps/mf-menu/src/app.d.ts +60 -10
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/productImages.d.ts +67 -21
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ManageImageDrawer.vue.d.ts +33 -3
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ProductImageField.vue.d.ts +31 -1
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/RegenerateImageDialog.vue.d.ts +10 -0
- package/dist/apps/mf-menu/src/helper/menuImport.d.ts +22 -0
- package/dist/apps/mf-menu/src/manager/menu/itemOverrider.d.ts +17 -0
- package/dist/apps/mf-menu/src/stores/manager/item.d.ts +0 -1
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/ProductDetail.vue.d.ts +9 -3
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-B2WLhKkV.js → linked-status-DdDQXL8Y.js} +3 -3
- package/dist/assets/{menu-export-Dcw5a_dN.js → menu-export-CK5bJyLT.js} +4 -4
- package/dist/assets/{override-menu-cBe2aMY6.js → override-menu-CHL7Bynw.js} +3 -3
- package/dist/assets/{validate-menu-BM-5GK85.js → validate-menu-g2fslPcE.js} +2 -2
- package/dist/{catalog-DKygS2Cs.js → catalog-B_yk-l1-.js} +1 -1
- package/dist/{catalogSetting-Bn2TplvM.js → catalogSetting-Dl7uIiJm.js} +1 -1
- package/dist/{currency-DXgNHtK8.js → currency-BpjSDqef.js} +1 -1
- package/dist/dayjs.min-CVH5LqOA.js +7 -0
- package/dist/{discardConfirm-DZwzKO-Q.js → discardConfirm-fCmrAVO1.js} +1 -1
- package/dist/{index-K-MBqJJo.js → index-CD_omf3p.js} +1 -1
- package/dist/{index-B48KLyqg.js → index-Cru6sUb6.js} +5 -5
- package/dist/{index-BEocaqRK.js → index-LYc0WKDO.js} +6 -6
- package/dist/{index.vue_vue_type_script_setup_true_lang-Nl505vPi.js → index.vue_vue_type_script_setup_true_lang-qgDBinUn.js} +7932 -7868
- package/dist/{item-Da3ArD-G.js → item-EPxRgVm0.js} +4904 -4654
- package/dist/{jszip.min-Cc2eR4Cq.js → jszip.min-CNgWv4I3.js} +52 -52
- package/dist/{linkProducts-GNuUxFEE.js → linkProducts-DvQ0oP1V.js} +6 -6
- package/dist/{memberPricing-T-jr7tn1.js → memberPricing-deWSH2K0.js} +1 -1
- package/dist/{menu-DSDRAil-.js → menu-DKJ7olgK.js} +1 -1
- package/dist/{menuV2-fTlJdjxi.js → menuV2-CB3eZiiP.js} +318 -313
- package/dist/mf-menu.css +1 -1
- package/dist/{order_pacing-Dgo1fySS.js → order_pacing-DvP19Nxa.js} +5 -5
- package/dist/{priceTier-aT_gIfrN.js → priceTier-DyxDcoSh.js} +1 -1
- package/dist/{rules-Cx2hkV20.js → rules-GmuBnHtU.js} +3 -3
- package/dist/{scheduler-Bd-q7yF8.js → scheduler-BWAzMbPl.js} +28 -28
- package/dist/{toExcel-qfjR83qT.js → toExcel-BMOGsD6n.js} +2 -2
- package/dist/{unit-n1T9grbM.js → unit-BCREKGn9.js} +24 -24
- package/package.json +1 -1
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-T71R68sq.js +0 -5836
- package/dist/dayjs.min-DpX65tgj.js +0 -7
|
@@ -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 Ne } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { i as re, b as X, u as Z, d as Te, m as K, _ as ce, e as le, g as G, h as H } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { i as re, b as X, u as Z, d as Te, m as K, _ as ce, e as le, g as G, h as H } from "./index.vue_vue_type_script_setup_true_lang-qgDBinUn.js";
|
|
6
6
|
import { _ as Be } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
7
7
|
import { defineStore as Ie } from "pinia";
|
|
8
|
-
import { _ as ae, g as Oe } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { u as Pe, l as Re } from "./discardConfirm-
|
|
8
|
+
import { _ as ae, g as Oe } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-CKmyz9CP.js";
|
|
9
|
+
import { u as Pe, l as Re } from "./discardConfirm-fCmrAVO1.js";
|
|
10
10
|
import { c as Le } from "./check-C9mY6LiX.js";
|
|
11
|
-
import { u as Ae } from "./unit-
|
|
11
|
+
import { u as Ae } from "./unit-BCREKGn9.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, e as ze, a as We,
|
|
2
|
+
import { u as pt, e as ze, a as We, B as Qe, c as gt, C as Ft } from "./index.vue_vue_type_script_setup_true_lang-qgDBinUn.js";
|
|
3
3
|
import { useI18n as nt } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as ft, useProxiedModel as It, useDialog as yt, components as we, FmButtonColorThemeVariant as Ze, FmButtonVariant as Ke } from "@feedmepos/ui-library";
|
|
5
5
|
import { u as St } from "./search-BAPEUu1R.js";
|
|
6
|
-
var Be = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_7568684a-b6a9-48f6-b82b-c05a92ab0064", 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_7568684a-b6a9-48f6-b82b-c05a92ab0064", 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: "1802", ACTIONS_ORCHESTRATION_ID: "03686535-356d-4815-a3a1-1bfe0edc3374.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: "20260720.247.2", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_7568684a-b6a9-48f6-b82b-c05a92ab0064", 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:12630", 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.12/x64", GITHUB_RUN_ID: "31193639463", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapidev.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "b26c69a65b69f0618de8663106f6f6255e8fd04b", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.5/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/KDI-5049-multiple-images-aspect-ratios", 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_3b8bf86f-521b-47fd-b285-36a33db911d5", INVOCATION_ID: "046a3876256a428fa8fe2bfb6c4c299b", 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: "580", 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 1000106815", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "KDI-5049-multiple-images-aspect-ratios", 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.63-dev.1", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", GITHUB_SHA: "b26c69a65b69f0618de8663106f6f6255e8fd04b", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/KDI-5049-multiple-images-aspect-ratios", GITHUB_ACTOR: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_7568684a-b6a9-48f6-b82b-c05a92ab0064", 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_7568684a-b6a9-48f6-b82b-c05a92ab0064", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_7568684a-b6a9-48f6-b82b-c05a92ab0064", 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_7568684a-b6a9-48f6-b82b-c05a92ab0064", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } }, rt = typeof Be < "u" && (Be.versions || {}).hasOwnProperty("node"), D = rt ? Object.create(globalThis) : globalThis;
|
|
6
|
+
var Be = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_b8008d48-a17c-493c-b5fb-6054393316b2", 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_b8008d48-a17c-493c-b5fb-6054393316b2", 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: "1784", ACTIONS_ORCHESTRATION_ID: "a81c646e-7657-4df5-a703-ba8f1b82dc5a.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: "20260720.247.2", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_b8008d48-a17c-493c-b5fb-6054393316b2", 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:10784", 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.12/x64", GITHUB_RUN_ID: "31572891686", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapidev.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2c9513451ffba6f723b5e09a780b28c324e2b902", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.5/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_aa29ee52-e72c-48fc-a379-2d3a1f2dc5c4", INVOCATION_ID: "e527c29afab84544985cf259156a124a", 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: "582", 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 1000108712", 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.63-dev.3", 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: "2c9513451ffba6f723b5e09a780b28c324e2b902", 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_b8008d48-a17c-493c-b5fb-6054393316b2", 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_b8008d48-a17c-493c-b5fb-6054393316b2", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_b8008d48-a17c-493c-b5fb-6054393316b2", 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_b8008d48-a17c-493c-b5fb-6054393316b2", 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 { l as ne, u as _e } from "./discardConfirm-
|
|
2
|
+
import { l as ne, u as _e } from "./discardConfirm-fCmrAVO1.js";
|
|
3
3
|
import { d as ye } from "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
|
|
4
|
-
import { u as re, k as oe, d as ee, _ as Re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as re, k as oe, d as ee, _ as Re } from "./index.vue_vue_type_script_setup_true_lang-qgDBinUn.js";
|
|
5
5
|
import { useI18n as me, ItemSelector as be } from "@feedmepos/mf-common";
|
|
6
6
|
import { components as ce, FmButtonVariant as Z } from "@feedmepos/ui-library";
|
|
7
|
-
import { u as ge } from "./menuV2-
|
|
7
|
+
import { u as ge } from "./menuV2-CB3eZiiP.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-D9DqmAVY.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, _ as ae, b as se, a as me, d as le } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as Z, _ as ae, b as se, a as me, d as le } from "./index.vue_vue_type_script_setup_true_lang-qgDBinUn.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-
|
|
7
|
-
import { l as z, u as fe } from "./discardConfirm-
|
|
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-D9DqmAVY.js";
|
|
6
|
+
import { _ as ee } from "./app-BcGgfvbE.js";
|
|
7
|
+
import { l as z, u as fe } from "./discardConfirm-fCmrAVO1.js";
|
|
8
8
|
import { d as be } from "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.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-deWSH2K0.js";
|
|
12
|
+
import { C as L, a as N } from "./catalogSetting-Dl7uIiJm.js";
|
|
13
|
+
import { u as xe } from "./priceTier-DyxDcoSh.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,
|
|
6
|
+
import { b as A, i as Y, u as j, g as R, h as U, _ as ne } from "./index.vue_vue_type_script_setup_true_lang-qgDBinUn.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-D9DqmAVY.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-BcGgfvbE.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-CMI2Nh0n.js";
|
|
13
|
+
import { O as de, u as ue, m as me } from "./order_pacing-DvP19Nxa.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"
|
|
@@ -21,7 +21,7 @@ const pe = { key: 0 }, _e = { class: "flex justify-end items-center" }, ge = { c
|
|
|
21
21
|
},
|
|
22
22
|
emits: ["delete:group"],
|
|
23
23
|
setup(B, { emit: c }) {
|
|
24
|
-
const { t } = re(), w = X(), V = P(() => w.breakpoints.value.xs), O = z(), F = A(O), v =
|
|
24
|
+
const { t } = re(), w = X(), V = P(() => w.breakpoints.value.xs), O = z(), F = A(O), v = Y(F), h = B, y = j(), _ = c, s = L(""), b = L([
|
|
25
25
|
{
|
|
26
26
|
accessorKey: "name",
|
|
27
27
|
header: () => t("menu.order_pacing.columns.timing_label")
|
|
@@ -199,7 +199,7 @@ const pe = { key: 0 }, _e = { class: "flex justify-end items-center" }, ge = { c
|
|
|
199
199
|
}), Pe = { class: "flex-1 flex justify-between gap-8 pl-8" }, Ce = { class: "flex items-center" }, we = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Ve = { class: "fm-typo-en-body-md-600 font-semibold" }, Ue = /* @__PURE__ */ K({
|
|
200
200
|
__name: "OrderPacing",
|
|
201
201
|
setup(B) {
|
|
202
|
-
const { t: c } = W(), t = oe(), w = z(), V = A(w), O =
|
|
202
|
+
const { t: c } = W(), t = oe(), w = z(), V = A(w), O = Y(V), F = j(), { items: v, orderPacings: h } = Q(F), y = ue({ dialog: t, menuLoader: O }), _ = P(() => me(h.value, v.value)), s = P(() => h.value.length);
|
|
203
203
|
function b() {
|
|
204
204
|
y.create();
|
|
205
205
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as G, ref as P, computed as p, resolveComponent as g, createBlock as k, openBlock as c, unref as l, withCtx as _, createElementVNode as d, createVNode as m, createCommentVNode as J, toDisplayString as S, createElementBlock as V, Fragment as B, renderList as K, h as f, withModifiers as j } from "vue";
|
|
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 { d as Y, g as U, h as M,
|
|
7
|
-
import { u as ce, l as me } from "./discardConfirm-
|
|
8
|
-
import { _ as
|
|
9
|
-
import { L as pe } from "./LinkProductSideSheet-
|
|
5
|
+
import { _ as re } from "./app-BcGgfvbE.js";
|
|
6
|
+
import { d as Y, g as U, h as M, H as X, u as se, i as ie, b as ue, _ as de } from "./index.vue_vue_type_script_setup_true_lang-qgDBinUn.js";
|
|
7
|
+
import { u as ce, l as me } from "./discardConfirm-fCmrAVO1.js";
|
|
8
|
+
import { _ as H } from "./RuleView.vue_vue_type_script_setup_true_lang-D9DqmAVY.js";
|
|
9
|
+
import { L as pe } from "./LinkProductSideSheet-DsBA_o9g.js";
|
|
10
10
|
import { _ as _e } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
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__ */
|
|
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__ */ G({
|
|
12
12
|
__name: "PrintDepartmentDialog",
|
|
13
13
|
props: {
|
|
14
14
|
categorizedItems: {
|
|
@@ -109,7 +109,7 @@ const fe = { class: "fm-typo-en-title-md-600" }, ve = { class: "space-y-32" }, y
|
|
|
109
109
|
]),
|
|
110
110
|
default: _(() => [
|
|
111
111
|
d("div", ve, [
|
|
112
|
-
m(
|
|
112
|
+
m(H, {
|
|
113
113
|
title: l(a)("menu.print_route.department_dialog.sections.route_detail.title")
|
|
114
114
|
}, {
|
|
115
115
|
default: _(() => [
|
|
@@ -126,7 +126,7 @@ const fe = { class: "fm-typo-en-title-md-600" }, ve = { class: "space-y-32" }, y
|
|
|
126
126
|
]),
|
|
127
127
|
_: 1
|
|
128
128
|
}, 8, ["title"]),
|
|
129
|
-
v.canApplyItems ? (c(), k(
|
|
129
|
+
v.canApplyItems ? (c(), k(H, {
|
|
130
130
|
key: 0,
|
|
131
131
|
title: l(a)("menu.print_route.department_dialog.sections.link_product.title")
|
|
132
132
|
}, {
|
|
@@ -237,7 +237,7 @@ const Ve = {
|
|
|
237
237
|
class: "fm-typo-en-body-lg-600"
|
|
238
238
|
}, ze = {
|
|
239
239
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
240
|
-
}, je = /* @__PURE__ */
|
|
240
|
+
}, je = /* @__PURE__ */ G({
|
|
241
241
|
__name: "PrintRoute",
|
|
242
242
|
setup(v) {
|
|
243
243
|
const {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { ref as F, computed as h, defineComponent as G, resolveComponent as B, 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
|
|
2
|
-
import { l as be } from "./discardConfirm-
|
|
3
|
-
import { u as Ie, o as we, a as ce, d as
|
|
1
|
+
import { ref as F, computed as h, defineComponent as G, resolveComponent as B, 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 { l as be } from "./discardConfirm-fCmrAVO1.js";
|
|
3
|
+
import { u as Ie, o as we, a as ce, d as Ue, I as xt, Q as Ct, _ as _e } from "./index.vue_vue_type_script_setup_true_lang-qgDBinUn.js";
|
|
4
4
|
import { useI18n as $e, useCoreStore as ze, useCustomAttributes as wt } from "@feedmepos/mf-common";
|
|
5
|
-
import { u as Ve } from "./menu-
|
|
6
|
-
import { L as qe } from "./LinkProductSideSheet-
|
|
7
|
-
import { _ as We } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as
|
|
9
|
-
import { u as kt } from "./linkProducts-
|
|
10
|
-
import { f as St, o as Vt, a as Ft, m as It } from "./menuV2-
|
|
11
|
-
import { w as ut, aq as $t, ar as Re, as as Tt, B as Pt, N as At, H as Rt, at as Qe } from "./item-
|
|
5
|
+
import { u as Ve } from "./menu-DKJ7olgK.js";
|
|
6
|
+
import { L as qe } from "./LinkProductSideSheet-DsBA_o9g.js";
|
|
7
|
+
import { _ as We } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-DBhAzVz3.js";
|
|
8
|
+
import { _ as Ne, a as He } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-bIONGM6k.js";
|
|
9
|
+
import { u as kt } from "./linkProducts-DvQ0oP1V.js";
|
|
10
|
+
import { f as St, o as Vt, a as Ft, m as It } from "./menuV2-CB3eZiiP.js";
|
|
11
|
+
import { w as ut, aq as $t, ar as Re, as as Tt, B as Pt, N as At, H as Rt, at as Qe } from "./item-EPxRgVm0.js";
|
|
12
12
|
import { b as Ye, H as Mt } from "./app-5fxKLAzS.js";
|
|
13
|
-
import { useBreakpoints as it, components as ee, useDialog as
|
|
14
|
-
import { a as Oe, F as
|
|
15
|
-
import { _ as De, d as Ot, e as zt } from "./app-
|
|
13
|
+
import { useBreakpoints as it, components as ee, useDialog as Ut, FmButtonColorThemeVariant as W, FmButtonVariant as X } from "@feedmepos/ui-library";
|
|
14
|
+
import { a as Oe, F as Nt } from "./index-CD_omf3p.js";
|
|
15
|
+
import { _ as De, d as Ot, e as zt } from "./app-BcGgfvbE.js";
|
|
16
16
|
import { _ as ke } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
17
|
-
import { _ as Dt } from "./index-
|
|
18
|
-
import { r as Bt, _ as Kt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
17
|
+
import { _ as Dt } from "./index-LYc0WKDO.js";
|
|
18
|
+
import { r as Bt, _ as Kt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-CVGilzd0.js";
|
|
19
19
|
import { _ as Ze } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
20
20
|
import { c as jt } from "./check-C9mY6LiX.js";
|
|
21
|
-
import { f as Et } from "./currency-
|
|
21
|
+
import { f as Et } from "./currency-BpjSDqef.js";
|
|
22
22
|
import { w as Gt } from "./tooltip-B5BiPMx9.js";
|
|
23
23
|
function Lt(C, l, c = C) {
|
|
24
24
|
const n = F(!0), o = h(() => {
|
|
@@ -135,7 +135,7 @@ const qt = { class: "inline-flex items-center" }, Wt = {
|
|
|
135
135
|
label: P.label,
|
|
136
136
|
"has-checkbox": "",
|
|
137
137
|
"model-value": r(z) || ((T = k.value) == null ? void 0 : T.includes(P.value)),
|
|
138
|
-
onClick: (
|
|
138
|
+
onClick: (N) => r(S)(P.value)
|
|
139
139
|
}, null, 8, ["label", "model-value", "onClick"]);
|
|
140
140
|
}), 128))
|
|
141
141
|
])
|
|
@@ -435,7 +435,7 @@ const qt = { class: "inline-flex items-center" }, Wt = {
|
|
|
435
435
|
_.badge = () => d(ee.FmCircularProgress, {
|
|
436
436
|
size: "md"
|
|
437
437
|
}, null);
|
|
438
|
-
const y = await St(
|
|
438
|
+
const y = await St(Ue(l.menu), s, l.itemId);
|
|
439
439
|
_.badge = y.length, _.disabled = y.length <= 0, _.itemInGroup = y;
|
|
440
440
|
}
|
|
441
441
|
}
|
|
@@ -523,9 +523,9 @@ const qt = { class: "inline-flex items-center" }, Wt = {
|
|
|
523
523
|
var a;
|
|
524
524
|
return o(u, ((a = l.menu.modules.scheduler.find((v) => v._id === u)) == null ? void 0 : a.name) || "Unknown");
|
|
525
525
|
})], n.value.forEach(async (u) => {
|
|
526
|
-
const v = (await Vt(
|
|
526
|
+
const v = (await Vt(Ue(l.menu), l.catalogId, u.schedulerId)).modules.item.find((s) => s._id === l.itemId), f = n.value.findIndex((s) => s.schedulerId === u.schedulerId);
|
|
527
527
|
if (v) {
|
|
528
|
-
const s =
|
|
528
|
+
const s = Ue(n.value);
|
|
529
529
|
s[f].loading = !1, s[f].code = v.code || "--", s[f].productName = v.name || "--", s[f].price = ce.Dinero.fromFdoDinero(v.price).toFormat(), s[f].orderFrom = v.orderFrom || "--", n.value = s;
|
|
530
530
|
}
|
|
531
531
|
});
|
|
@@ -634,7 +634,7 @@ const qt = { class: "inline-flex items-center" }, Wt = {
|
|
|
634
634
|
(y = c.value) != null && y.customAttributes ? (m(), w("div", wl, [
|
|
635
635
|
b("div", kl, [
|
|
636
636
|
u[0] || (u[0] = b("span", null, "Tagging:", -1)),
|
|
637
|
-
d(
|
|
637
|
+
d(Ne, {
|
|
638
638
|
ellipsis: !1,
|
|
639
639
|
"custom-attributes": (k = c.value) == null ? void 0 : k.customAttributes
|
|
640
640
|
}, null, 8, ["custom-attributes"])
|
|
@@ -783,9 +783,9 @@ const et = /* @__PURE__ */ G({
|
|
|
783
783
|
class: "flex justify-between items-center space-x-8"
|
|
784
784
|
}, Ml = {
|
|
785
785
|
class: "flex space-x-8 items-center"
|
|
786
|
-
}, Nl = {
|
|
787
|
-
class: "w-[320px]"
|
|
788
786
|
}, Ul = {
|
|
787
|
+
class: "w-[320px]"
|
|
788
|
+
}, Nl = {
|
|
789
789
|
key: 0
|
|
790
790
|
}, Ol = {
|
|
791
791
|
key: 1,
|
|
@@ -851,7 +851,7 @@ const et = /* @__PURE__ */ G({
|
|
|
851
851
|
}) {
|
|
852
852
|
const n = C, {
|
|
853
853
|
t: o
|
|
854
|
-
} = $e(), u = ze(), a = Ie(), v =
|
|
854
|
+
} = $e(), u = ze(), a = Ie(), v = Ut(), f = ut(), s = u.currentCountry, _ = h(() => s.value ? ce.Country.getCountry(s.value) : null), y = h(() => a.rules.item), {
|
|
855
855
|
selectedCategories: k
|
|
856
856
|
} = Ve(), z = h(() => {
|
|
857
857
|
const t = be.flatten(k.value.map((e) => e.items));
|
|
@@ -890,9 +890,9 @@ const et = /* @__PURE__ */ G({
|
|
|
890
890
|
}))), T = h(() => a.subcategories.map((t) => ({
|
|
891
891
|
label: t.name,
|
|
892
892
|
value: t._id
|
|
893
|
-
}))),
|
|
893
|
+
}))), N = h(() => a.subcategories.reduce((t, e) => (t[e._id] = e.name, t), {}));
|
|
894
894
|
function A(t) {
|
|
895
|
-
return (t == null ? void 0 : t.map((e) =>
|
|
895
|
+
return (t == null ? void 0 : t.map((e) => N.value[e]).filter(Boolean).join("/")) || "--";
|
|
896
896
|
}
|
|
897
897
|
const te = (t, e, i) => {
|
|
898
898
|
let p = be.clone(n.modelValue);
|
|
@@ -919,7 +919,7 @@ const et = /* @__PURE__ */ G({
|
|
|
919
919
|
},
|
|
920
920
|
cell: (t) => {
|
|
921
921
|
var e, i;
|
|
922
|
-
return
|
|
922
|
+
return U(Oe, {
|
|
923
923
|
src: t.getValue(),
|
|
924
924
|
alt: (i = (e = t == null ? void 0 : t.row) == null ? void 0 : e.original) == null ? void 0 : i.name,
|
|
925
925
|
className: "my-8 mx-12",
|
|
@@ -939,7 +939,7 @@ const et = /* @__PURE__ */ G({
|
|
|
939
939
|
class: "break-all"
|
|
940
940
|
}, [i]);
|
|
941
941
|
const p = Pe(e._id);
|
|
942
|
-
return
|
|
942
|
+
return U(ee.FmTextField, {
|
|
943
943
|
disabled: !y.value.code,
|
|
944
944
|
modelValue: j(e._id, "code") ?? (p == null ? void 0 : p.code),
|
|
945
945
|
placeholder: n.modelValue[e._id].fallbackCode,
|
|
@@ -955,9 +955,9 @@ const et = /* @__PURE__ */ G({
|
|
|
955
955
|
size: 250,
|
|
956
956
|
cell: (t) => {
|
|
957
957
|
const e = t.row.original, i = t.getValue();
|
|
958
|
-
return S.value ?
|
|
958
|
+
return S.value ? U("div", {
|
|
959
959
|
class: "flex items-center gap-8"
|
|
960
|
-
}, [
|
|
960
|
+
}, [U(ee.FmTextField, {
|
|
961
961
|
disabled: !y.value.name,
|
|
962
962
|
modelValue: j(e._id, "name") ?? e.name,
|
|
963
963
|
"onUpdate:modelValue": (p) => {
|
|
@@ -965,14 +965,14 @@ const et = /* @__PURE__ */ G({
|
|
|
965
965
|
},
|
|
966
966
|
rules: L,
|
|
967
967
|
placeholder: e.fallbackName
|
|
968
|
-
}), e.name_locale ?
|
|
968
|
+
}), e.name_locale ? U(Ze, {
|
|
969
969
|
nameLocale: e.name_locale ?? {},
|
|
970
970
|
showNumber: 1
|
|
971
|
-
}) : null]) :
|
|
971
|
+
}) : null]) : U("div", {
|
|
972
972
|
class: "flex items-center gap-8"
|
|
973
|
-
}, [
|
|
973
|
+
}, [U("span", {
|
|
974
974
|
class: "text-wrap"
|
|
975
|
-
}, i), e.name_locale ?
|
|
975
|
+
}, i), e.name_locale ? U(Ze, {
|
|
976
976
|
nameLocale: e.name_locale ?? {},
|
|
977
977
|
showNumber: 1
|
|
978
978
|
}) : null]);
|
|
@@ -995,7 +995,7 @@ const et = /* @__PURE__ */ G({
|
|
|
995
995
|
const e = t.getValue();
|
|
996
996
|
if (!S.value) return ce.Dinero.fromFdoDinero(e).toFormat();
|
|
997
997
|
const i = n.modelValue[t.row.original._id], p = i.fallbackPrice;
|
|
998
|
-
return
|
|
998
|
+
return U(Dt, {
|
|
999
999
|
min: 0,
|
|
1000
1000
|
disabled: !i.editPrice,
|
|
1001
1001
|
// @ts-ignore
|
|
@@ -1021,7 +1021,7 @@ const et = /* @__PURE__ */ G({
|
|
|
1021
1021
|
if (!S.value)
|
|
1022
1022
|
return `${V != null && V.meta.rate ? Ct(V.meta.rate) : 0}%`;
|
|
1023
1023
|
const g = a.getSelectedTax(j(i._id, "taxes") ?? e, i.fallbackTaxes, a.taxSetting.countryTaxOptions);
|
|
1024
|
-
return
|
|
1024
|
+
return U(ee.FmSelect, {
|
|
1025
1025
|
disabled: !y.value.tax,
|
|
1026
1026
|
items: a.taxSetting.countryTaxOptions,
|
|
1027
1027
|
modelValue: g,
|
|
@@ -1039,11 +1039,11 @@ const et = /* @__PURE__ */ G({
|
|
|
1039
1039
|
cell: (t) => {
|
|
1040
1040
|
const e = t.row.original;
|
|
1041
1041
|
if (!S.value)
|
|
1042
|
-
return
|
|
1042
|
+
return U(Xe, {
|
|
1043
1043
|
categories: Re(ne.value, e)
|
|
1044
1044
|
});
|
|
1045
1045
|
const i = Tt(n.originalValue, n.modelValue, e._id) ?? Pt(e), p = (i == null ? void 0 : i.map((V) => V._id)) ?? [], x = i == null ? void 0 : i.reduce((V, g) => (V[g._id] = g, V), {});
|
|
1046
|
-
return
|
|
1046
|
+
return U(At, {
|
|
1047
1047
|
shouldShowChips: !1,
|
|
1048
1048
|
shouldShowSelectedItemsWithinPlaceholder: !0,
|
|
1049
1049
|
modelValue: p.length > 0 ? p : [null],
|
|
@@ -1074,7 +1074,7 @@ const et = /* @__PURE__ */ G({
|
|
|
1074
1074
|
size: 180,
|
|
1075
1075
|
cell: (t) => {
|
|
1076
1076
|
const e = t.row.original;
|
|
1077
|
-
return S.value ?
|
|
1077
|
+
return S.value ? U(Rt, {
|
|
1078
1078
|
// Keep virtual table row height stable while editing.
|
|
1079
1079
|
shouldShowChips: !1,
|
|
1080
1080
|
modelValue: j(e._id, "subCategories") ?? e.subCategories ?? [],
|
|
@@ -1085,7 +1085,7 @@ const et = /* @__PURE__ */ G({
|
|
|
1085
1085
|
"onUpdate:modelValue": async (i) => {
|
|
1086
1086
|
O(e._id, "subCategories", i);
|
|
1087
1087
|
}
|
|
1088
|
-
}) :
|
|
1088
|
+
}) : U("span", {
|
|
1089
1089
|
class: "break-all"
|
|
1090
1090
|
}, A(e.subCategories));
|
|
1091
1091
|
}
|
|
@@ -1097,7 +1097,7 @@ const et = /* @__PURE__ */ G({
|
|
|
1097
1097
|
size: 140,
|
|
1098
1098
|
cell: (t) => {
|
|
1099
1099
|
const e = t.row.original;
|
|
1100
|
-
return
|
|
1100
|
+
return U(Ne, {
|
|
1101
1101
|
customAttributes: e.customAttributes
|
|
1102
1102
|
});
|
|
1103
1103
|
}
|
|
@@ -1112,14 +1112,14 @@ const et = /* @__PURE__ */ G({
|
|
|
1112
1112
|
size: 140,
|
|
1113
1113
|
cell: (t) => {
|
|
1114
1114
|
const e = t.getValue(), i = t.row.original;
|
|
1115
|
-
return S.value ?
|
|
1115
|
+
return S.value ? U(ee.FmSelect, {
|
|
1116
1116
|
disabled: !y.value.orderFrom,
|
|
1117
1117
|
items: Object.values(we()),
|
|
1118
1118
|
modelValue: j(i._id, "orderFrom") ?? e,
|
|
1119
1119
|
"onUpdate:modelValue": async (p) => {
|
|
1120
1120
|
te(i._id, "orderFrom", p);
|
|
1121
1121
|
}
|
|
1122
|
-
}) :
|
|
1122
|
+
}) : U(Fe, {
|
|
1123
1123
|
orderFrom: e
|
|
1124
1124
|
});
|
|
1125
1125
|
}
|
|
@@ -1131,9 +1131,9 @@ const et = /* @__PURE__ */ G({
|
|
|
1131
1131
|
headerClass: "py-4",
|
|
1132
1132
|
textAlign: "right"
|
|
1133
1133
|
},
|
|
1134
|
-
header: () =>
|
|
1134
|
+
header: () => U("div", {
|
|
1135
1135
|
class: "w-full px-4 flex justify-end"
|
|
1136
|
-
}, [Gt(
|
|
1136
|
+
}, [Gt(U(ee.FmButton, {
|
|
1137
1137
|
variant: X.Tertiary,
|
|
1138
1138
|
textColor: W.NeutralGray400,
|
|
1139
1139
|
prependIcon: "edit",
|
|
@@ -1299,7 +1299,7 @@ const et = /* @__PURE__ */ G({
|
|
|
1299
1299
|
"order-from": g.orderFrom
|
|
1300
1300
|
}, null, 8, ["order-from"])]), b("p", ea, E(Ke(g)), 1), b("p", ta, E(r(o)("menu.product.table.columns.code")) + ": " + E(((le = Pe(g._id)) == null ? void 0 : le.code) || "--"), 1), b("p", la, [d(Xe, {
|
|
1301
1301
|
categories: r(Re)(r(ne), g)
|
|
1302
|
-
}, null, 8, ["categories"])]), d(
|
|
1302
|
+
}, null, 8, ["categories"])]), d(Ne, {
|
|
1303
1303
|
"custom-attributes": g.customAttributes
|
|
1304
1304
|
}, null, 8, ["custom-attributes"])])]), d(p, {
|
|
1305
1305
|
"text-color": r(W).NeutralGray400,
|
|
@@ -1340,12 +1340,12 @@ const et = /* @__PURE__ */ G({
|
|
|
1340
1340
|
class: "flex flex-col flex-1 space-y-8 overflow-hidden",
|
|
1341
1341
|
onValidationSuccess: Be
|
|
1342
1342
|
}, {
|
|
1343
|
-
default: $(() => [b("div", Rl, [b("div", Ml, [ye(t.$slots, "filter")]), b("div",
|
|
1343
|
+
default: $(() => [b("div", Rl, [b("div", Ml, [ye(t.$slots, "filter")]), b("div", Ul, [d(i, {
|
|
1344
1344
|
"model-value": J.value,
|
|
1345
1345
|
"onUpdate:modelValue": e[0] || (e[0] = (g) => J.value = g),
|
|
1346
1346
|
autofocus: "",
|
|
1347
1347
|
placeholder: r(o)("menu.product.table.search.placeholder")
|
|
1348
|
-
}, null, 8, ["model-value", "placeholder"])])]), Z.value ? (m(), w("div",
|
|
1348
|
+
}, null, 8, ["model-value", "placeholder"])])]), Z.value ? (m(), w("div", Nl, [d(r(Ye), {
|
|
1349
1349
|
ref_key: "attributeFilterRef",
|
|
1350
1350
|
ref: oe,
|
|
1351
1351
|
attributes: r(K),
|
|
@@ -1383,7 +1383,7 @@ const et = /* @__PURE__ */ G({
|
|
|
1383
1383
|
}, null, 8, ["borderColor", "textColor", "variant", "label"])])) : M("", !0), b("div", {
|
|
1384
1384
|
ref_key: "tableWrapper",
|
|
1385
1385
|
ref: je
|
|
1386
|
-
}, [(m(), I(nt(S.value ?
|
|
1386
|
+
}, [(m(), I(nt(S.value ? Nt : "div"), {
|
|
1387
1387
|
ref: "fullWrapper",
|
|
1388
1388
|
title: S.value ? r(o)("menu.product.table.bulk_edit.title") : "",
|
|
1389
1389
|
show: S.value,
|
|
@@ -1463,7 +1463,7 @@ const et = /* @__PURE__ */ G({
|
|
|
1463
1463
|
__name: "Product",
|
|
1464
1464
|
setup(C) {
|
|
1465
1465
|
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(() => {
|
|
1466
|
-
var T,
|
|
1466
|
+
var T, N, A, te;
|
|
1467
1467
|
if (o.value && a.value) return;
|
|
1468
1468
|
if (a.value) {
|
|
1469
1469
|
const j = (T = l.currentCatalog) == null ? void 0 : T.override.items;
|
|
@@ -1472,11 +1472,11 @@ const et = /* @__PURE__ */ G({
|
|
|
1472
1472
|
return L && (O[R] = L), O;
|
|
1473
1473
|
}, {}) : {};
|
|
1474
1474
|
}
|
|
1475
|
-
return ((o.value ? (
|
|
1475
|
+
return ((o.value ? (N = l.currentScheduler) == null ? void 0 : N.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), {});
|
|
1476
1476
|
}), _ = F({}), y = F({}), k = async () => {
|
|
1477
1477
|
var te, j;
|
|
1478
1478
|
f.value = !0;
|
|
1479
|
-
const P = !!s.value, T = be.flatten(Y.value.map((O) => O.items)),
|
|
1479
|
+
const P = !!s.value, T = be.flatten(Y.value.map((O) => O.items)), N = P && v.value ? await It(
|
|
1480
1480
|
l.mergedMenu,
|
|
1481
1481
|
T,
|
|
1482
1482
|
l.state.menu,
|
|
@@ -1497,10 +1497,10 @@ const et = /* @__PURE__ */ G({
|
|
|
1497
1497
|
orderFrom: P ? L == null ? void 0 : L.orderFrom : R.orderFrom,
|
|
1498
1498
|
taxes: P ? null : R.taxes,
|
|
1499
1499
|
thumbnail: R.thumbnail,
|
|
1500
|
-
fallbackPrice: (he =
|
|
1500
|
+
fallbackPrice: (he = N == null ? void 0 : N[se]) == null ? void 0 : he.price,
|
|
1501
1501
|
fallbackName: P ? R.name : void 0,
|
|
1502
|
-
fallbackCode: (xe =
|
|
1503
|
-
fallbackOrder: (ge =
|
|
1502
|
+
fallbackCode: (xe = N == null ? void 0 : N[se]) == null ? void 0 : xe.code,
|
|
1503
|
+
fallbackOrder: (ge = N == null ? void 0 : N[se]) == null ? void 0 : ge.orderFrom,
|
|
1504
1504
|
fallbackTaxes: P ? R.taxes : null
|
|
1505
1505
|
}, O;
|
|
1506
1506
|
}, {});
|
|
@@ -1529,7 +1529,7 @@ const et = /* @__PURE__ */ G({
|
|
|
1529
1529
|
schedulerManager: ne
|
|
1530
1530
|
} = kt(!1);
|
|
1531
1531
|
return (P, T) => {
|
|
1532
|
-
const
|
|
1532
|
+
const N = B("fm-button");
|
|
1533
1533
|
return r(z).length ? (m(), w("div", na, [
|
|
1534
1534
|
b("div", sa, [
|
|
1535
1535
|
b("div", ua, [
|
|
@@ -1593,7 +1593,7 @@ const et = /* @__PURE__ */ G({
|
|
|
1593
1593
|
onSubmit: r(re)
|
|
1594
1594
|
}, {
|
|
1595
1595
|
default: $(({ trigger: A }) => [
|
|
1596
|
-
d(
|
|
1596
|
+
d(N, {
|
|
1597
1597
|
label: r(q)("menu.common.actions.link_product"),
|
|
1598
1598
|
"prepend-icon": "link",
|
|
1599
1599
|
onClick: A
|
|
@@ -1621,7 +1621,7 @@ const et = /* @__PURE__ */ G({
|
|
|
1621
1621
|
onSubmit: r(re)
|
|
1622
1622
|
}, {
|
|
1623
1623
|
default: $(({ trigger: A }) => [
|
|
1624
|
-
d(
|
|
1624
|
+
d(N, {
|
|
1625
1625
|
label: r(q)("menu.common.actions.apply_product"),
|
|
1626
1626
|
onClick: A
|
|
1627
1627
|
}, null, 8, ["label", "onClick"])
|