@feedmepos/mf-menu 0.32.60-dev.1 → 0.32.61-dev.1
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-21Fh45As.js → App-BlPyUGB_.js} +1455 -1330
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-l0PLyvfS.js → ApplyProduct.vue_vue_type_script_setup_true_lang-B4PAatkS.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-D9F_qZUW.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-DwANkY0s.js} +2 -2
- package/dist/{Catalog-BNFBfeVl.js → Catalog-B5MZeM6K.js} +6 -6
- package/dist/{Category-KedP0bLk.js → Category-CI_NWg74.js} +4 -4
- package/dist/{Category-D46Zh0U2.js → Category-D9KrU2k8.js} +4 -4
- package/dist/{CookingGuide-L_yCYzVo.js → CookingGuide-Cf1CHQ-X.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CWnwBGb4.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CCHkXBZD.js} +1 -1
- package/dist/{Group-BnogWBW3.js → Group-CWi-0hkW.js} +3 -3
- package/dist/{Group-C6f8CbIA.js → Group-CuZ7PCKT.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-0YR_ZV8F.js → Group.vue_vue_type_script_setup_true_lang-BfMyMQ_H.js} +6 -6
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CXjapKCh.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-1ghoDbrV.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-CFjS_1Ws.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BEkD_xvB.js} +2696 -2696
- package/dist/{Ingredient-fTfAFfrQ.js → Ingredient-rn2OM-W7.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BUZjQ6V4.js → InventoryBinding.vue_vue_type_script_setup_true_lang-BMBNdxYT.js} +2 -2
- package/dist/{LinkProductSideSheet-CQRvO3h0.js → LinkProductSideSheet-BAVjkhSM.js} +3 -3
- package/dist/{MenuSetting-Dh8ZUdTV.js → MenuSetting-B76zY-2b.js} +6 -6
- package/dist/{OrderPacing-BAyNtquU.js → OrderPacing-CJfw_U60.js} +5 -5
- package/dist/{PrintRoute-Cwjj0Yjh.js → PrintRoute-CDcbOaGr.js} +4 -4
- package/dist/{Product-DyPD27o5.js → Product-8RzjWAbu.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-D8VJf6ck.js → Product.vue_vue_type_script_setup_true_lang-CI7XYUGZ.js} +12 -12
- package/dist/{ProductInternalTools-CjtfIem0.js → ProductInternalTools-wpawK_Db.js} +5 -5
- package/dist/Products-B8vYu4il.js +312 -0
- package/dist/{Publish-B-d-HDdC.js → Publish-C5FqsnW3.js} +3 -3
- package/dist/{Recipe-B6XhSSjL.js → Recipe-CJKji-0v.js} +4 -4
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-B5NNOtuC.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-Dv69QGDe.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-C7MR2OwK.js → RuleView.vue_vue_type_script_setup_true_lang-CnEkf8GW.js} +531 -531
- package/dist/{Scheduler-aTMeXc1J.js → Scheduler-Bp_4ZoUj.js} +3 -3
- package/dist/{ServingSequence-u10_LImJ.js → ServingSequence-DchLB7W1.js} +55 -54
- package/dist/{Setting-mqRO9M3A.js → Setting-DpAnRneC.js} +5 -5
- package/dist/{Subcategory-Dws247zO.js → Subcategory-Bp_U6b_a.js} +5 -5
- package/dist/{Takeaway-l6t2P0CM.js → Takeaway-C6Yvjf9C.js} +1 -1
- package/dist/{Takeaway-xrF-l_5-.js → Takeaway-eBz0avMT.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CTGqjfPL.js → Takeaway.vue_vue_type_script_setup_true_lang-s7cuAP0v.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-ny91N8sC.js → Thumbnail.vue_vue_type_script_setup_true_lang-DBYG98Xu.js} +4 -4
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-D2i3w3vg.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-BFwvDgDG.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-YLRlDi4-.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-BVxnZnzd.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D5YGS6OF.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-mEghCiPA.js} +13 -13
- package/dist/{Unit-CWgfilET.js → Unit-B6bKPZIQ.js} +2 -2
- package/dist/{Variant-Bz1KfxAa.js → Variant-CJdpBl1K.js} +3 -3
- package/dist/{_id_-L2rFq9_N.js → _id_-Cf17CNOX.js} +9 -9
- package/dist/{app-B-k_3Xub.js → app-BoMWSx89.js} +33 -33
- package/dist/{app-CHE3ax6p.js → app-w1kUpkW5.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/api/index.d.ts +1 -0
- package/dist/apps/mf-menu/src/components/MenuHeaderContext.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/components/MenuRestaurantSelector.vue.d.ts +29 -0
- package/dist/apps/mf-menu/src/stores/menu.d.ts +1 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-BJ87x0uc.js → linked-status-BqJWUcVj.js} +2 -2
- package/dist/assets/menu-export-Dnxo90z1.js +186 -0
- package/dist/assets/{override-menu-Bbcn8K2b.js → override-menu-CYXqVELM.js} +2 -2
- package/dist/assets/{validate-menu-DV2Q2SYz.js → validate-menu-C8UamASu.js} +2 -2
- package/dist/{catalog-DaO8QBSU.js → catalog-DBmh4WAG.js} +1 -1
- package/dist/{catalogSetting-Bks6N0Pq.js → catalogSetting-DU1xmy0f.js} +1 -1
- package/dist/{currency-BVqmQ8Pm.js → currency-kg9-zbPt.js} +1 -1
- package/dist/{dayjs.min-C5JlG2KX.js → dayjs.min-sFCfvj7o.js} +2 -2
- package/dist/{index-CCO0ZsOp.js → index-Dsfx6bUc.js} +5 -5
- package/dist/{index-B__5-vsM.js → index-y8EZTw6Z.js} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-DsMFmYGf.js → index.vue_vue_type_script_setup_true_lang-BJLNbe5R.js} +49975 -39440
- package/dist/{item-DBtmeIW9.js → item-COrHMvzn.js} +17 -17
- package/dist/{jszip.min-BIg_yHC8.js → jszip.min-DUDMau14.js} +153 -153
- package/dist/{memberPricing-C0qx6TEN.js → memberPricing-CeRIT6MO.js} +1 -1
- package/dist/{menu-DzWUnx8X.js → menu-CHgRB67k.js} +1 -1
- package/dist/{menuV2-COSJ__9Q.js → menuV2-BD8ZEaQH.js} +110 -106
- package/dist/mf-menu.css +1 -1
- package/dist/{order_pacing-C8jdjM6u.js → order_pacing-D1AnXxBm.js} +5 -5
- package/dist/{priceTier-BP2_Mn24.js → priceTier-CoMN4KMU.js} +1 -1
- package/dist/{rules-4DOmc5Ho.js → rules-DMR9hBYD.js} +3 -3
- package/dist/{scheduler-Dn9jQp6E.js → scheduler-CKoiMRzw.js} +4 -4
- package/dist/{toExcel-CXdU7vZw.js → toExcel-CwIaZ36w.js} +2 -2
- package/dist/{unit-UV-cxB98.js → unit-CQPZOeGq.js} +2 -2
- package/package.json +3 -3
- package/dist/Products-B4zwJdTK.js +0 -312
- package/dist/assets/menu-export-JPnS6OhL.js +0 -186
|
@@ -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-BJLNbe5R.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-BMBNdxYT.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-CQPZOeGq.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-BJLNbe5R.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_ea3c9acc-7c62-4da8-bec6-951d35a19e5e", 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_ea3c9acc-7c62-4da8-bec6-951d35a19e5e", 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: "1868", ACTIONS_ORCHESTRATION_ID: "e1f8a72b-ba0e-4115-b7b9-dad6bc18f841.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: "20260714.240.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:14775", 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: "29552551025", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapidev.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "299605137663dc47bd101580e1857b25d8586610", 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_8fce8d50-d8f6-4b3e-b586-cc71f411a5dd", INVOCATION_ID: "4367c72e1f794aec830e506064cf5d86", 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: "576", 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 1000091138", 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.60-dev.1", 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: "299605137663dc47bd101580e1857b25d8586610", 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_ea3c9acc-7c62-4da8-bec6-951d35a19e5e", 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_ea3c9acc-7c62-4da8-bec6-951d35a19e5e", 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_ea3c9acc-7c62-4da8-bec6-951d35a19e5e", 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_3b429bb4-0629-4216-a3d6-b40f53addfcf", 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_3b429bb4-0629-4216-a3d6-b40f53addfcf", 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: "1790", ACTIONS_ORCHESTRATION_ID: "bb267e55-4df9-4fec-9bca-a39179701c4f.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_3b429bb4-0629-4216-a3d6-b40f53addfcf", 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:11470", 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: "30101343176", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapidev.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "4790eb43751d7492bed833b4fd2ee78c7d6c3e7a", 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_bdb0fac0-72ac-46a2-be0f-a387ee1e4745", INVOCATION_ID: "588c3fb5ca03455e844398174d92dfc6", 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: "577", 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 1000097076", 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.61-dev.1", 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: "4790eb43751d7492bed833b4fd2ee78c7d6c3e7a", 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_3b429bb4-0629-4216-a3d6-b40f53addfcf", 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_3b429bb4-0629-4216-a3d6-b40f53addfcf", 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_3b429bb4-0629-4216-a3d6-b40f53addfcf", 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_3b429bb4-0629-4216-a3d6-b40f53addfcf", 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-BJLNbe5R.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-BD8ZEaQH.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-CnEkf8GW.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-BJLNbe5R.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-CnEkf8GW.js";
|
|
6
|
+
import { _ as ee } from "./app-BoMWSx89.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-CeRIT6MO.js";
|
|
12
|
+
import { C as L, a as N } from "./catalogSetting-DU1xmy0f.js";
|
|
13
|
+
import { u as xe } from "./priceTier-CoMN4KMU.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-BJLNbe5R.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-CnEkf8GW.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-BoMWSx89.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-DwANkY0s.js";
|
|
13
|
+
import { O as de, u as ue, m as me } from "./order_pacing-D1AnXxBm.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-BoMWSx89.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-BJLNbe5R.js";
|
|
7
|
+
import { _ as G } from "./RuleView.vue_vue_type_script_setup_true_lang-CnEkf8GW.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-BAVjkhSM.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
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-
|
|
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-BJLNbe5R.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-CHgRB67k.js";
|
|
5
|
+
import { L as qe } from "./LinkProductSideSheet-BAVjkhSM.js";
|
|
6
|
+
import { _ as He } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-Dv69QGDe.js";
|
|
7
|
+
import { _ as ze, a as Qe } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-CCHkXBZD.js";
|
|
8
|
+
import { _ as Oe, u as Ft } from "./Thumbnail.vue_vue_type_script_setup_true_lang-DBYG98Xu.js";
|
|
9
|
+
import { f as It, o as $t, a as Tt, m as Pt } from "./menuV2-BD8ZEaQH.js";
|
|
10
|
+
import { u as ut, C as At, S as Rt } from "./item-COrHMvzn.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-BoMWSx89.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-Dsfx6bUc.js";
|
|
17
|
+
import { r as Kt, _ as Bt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-BEkD_xvB.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-kg9-zbPt.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(() => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as Z, ref as v, computed as $, resolveComponent as G, createElementBlock as c, openBlock as r, createElementVNode as s, createVNode as I, unref as h, createCommentVNode as T, normalizeClass as E, toDisplayString as U, createStaticVNode as B, Fragment as P, renderList as O, createBlock as oe, withCtx as R } from "vue";
|
|
2
|
-
import { J as A, F as ne } from "./jszip.min-
|
|
3
|
-
import { B as le, u as ie, H as D, a3 as re, M as ce, N as de, O as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { J as A, F as ne } from "./jszip.min-DUDMau14.js";
|
|
3
|
+
import { B as le, u as ie, H as D, a3 as re, M as ce, N as de, O as me } from "./index.vue_vue_type_script_setup_true_lang-BJLNbe5R.js";
|
|
4
4
|
import { useI18n as ue } from "@feedmepos/mf-common";
|
|
5
5
|
import { FmButtonVariant as z, useSnackbar as V, useDialog as ge, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as pe } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
7
|
-
import { u as fe, a as he } from "./menu-
|
|
8
|
-
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { E as be, G as ve, H as _e } from "./item-
|
|
7
|
+
import { u as fe, a as he } from "./menu-CHgRB67k.js";
|
|
8
|
+
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-CI7XYUGZ.js";
|
|
9
|
+
import { E as be, G as ve, H as _e } from "./item-COrHMvzn.js";
|
|
10
10
|
const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center justify-between p-16 border-b border-gray-200" }, Ie = { class: "flex gap-8" }, ke = { class: "border-b border-gray-200" }, Ce = { class: "flex" }, Ue = { class: "flex-1 overflow-hidden" }, je = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "h-full flex flex-col"
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
import { defineComponent as B, computed as f, ref as W, resolveComponent as F, createBlock as m, openBlock as l, unref as e, withCtx as _, createElementVNode as d, toDisplayString as Z, createVNode as u, createCommentVNode as w, createElementBlock as P, Fragment as U } from "vue";
|
|
2
|
+
import { D as T } from "./dayjs.min-sFCfvj7o.js";
|
|
3
|
+
import { J as re, F as ie } from "./jszip.min-DUDMau14.js";
|
|
4
|
+
import { u as K, B as Q, z as R, D as j, y as X, A as le, G as ue, H, I as ce } from "./index.vue_vue_type_script_setup_true_lang-BJLNbe5R.js";
|
|
5
|
+
import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-BEkD_xvB.js";
|
|
6
|
+
import { h as V, A as q } from "./app-BoMWSx89.js";
|
|
7
|
+
import { useCoreStore as ee, useI18n as de } from "@feedmepos/mf-common";
|
|
8
|
+
import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as _e, FmButtonVariant as D, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
|
|
9
|
+
import { _ as I } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
10
|
+
import { _ as fe, a as G } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
11
|
+
import { _ as ve } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
12
|
+
import { u as ge, a as be } from "./menu-CHgRB67k.js";
|
|
13
|
+
import { u as ye } from "./item-COrHMvzn.js";
|
|
14
|
+
import { _ as O, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-CI7XYUGZ.js";
|
|
15
|
+
import { L as J } from "./LinkProductSideSheet-BAVjkhSM.js";
|
|
16
|
+
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-mEghCiPA.js";
|
|
17
|
+
import { u as Se } from "./Thumbnail.vue_vue_type_script_setup_true_lang-DBYG98Xu.js";
|
|
18
|
+
import { m as he } from "./toExcel-CwIaZ36w.js";
|
|
19
|
+
const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ B({
|
|
20
|
+
__name: "ConfirmActionDialog",
|
|
21
|
+
props: {
|
|
22
|
+
description: {},
|
|
23
|
+
value: {},
|
|
24
|
+
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
25
|
+
},
|
|
26
|
+
setup(A) {
|
|
27
|
+
const n = A, p = f(() => n.message.replace("[[value]]", n.value)), k = W(""), o = te(), { emitAction: h } = pe();
|
|
28
|
+
return (v, r) => {
|
|
29
|
+
const M = F("FmTextField"), g = F("FmButton"), x = F("FmForm");
|
|
30
|
+
return l(), m(x, {
|
|
31
|
+
"on-validation-success": () => e(h)("primary"),
|
|
32
|
+
"blame-form-child-on-validation-failed": ""
|
|
33
|
+
}, {
|
|
34
|
+
default: _(() => [
|
|
35
|
+
d("div", Me, [
|
|
36
|
+
d("div", null, Z(v.description), 1),
|
|
37
|
+
d("div", { innerHTML: p.value }, null, 8, Ce),
|
|
38
|
+
d("div", null, [
|
|
39
|
+
u(M, {
|
|
40
|
+
modelValue: k.value,
|
|
41
|
+
"onUpdate:modelValue": [
|
|
42
|
+
r[0] || (r[0] = (c) => k.value = c),
|
|
43
|
+
r[1] || (r[1] = () => {
|
|
44
|
+
})
|
|
45
|
+
],
|
|
46
|
+
placeholder: v.value,
|
|
47
|
+
rules: [(c) => c === v.value || "Value does not match"]
|
|
48
|
+
}, null, 8, ["modelValue", "placeholder", "rules"])
|
|
49
|
+
]),
|
|
50
|
+
d("div", we, [
|
|
51
|
+
u(g, {
|
|
52
|
+
label: "Cancel",
|
|
53
|
+
variant: "secondary",
|
|
54
|
+
onClick: r[2] || (r[2] = (c) => e(o).close())
|
|
55
|
+
}),
|
|
56
|
+
u(g, {
|
|
57
|
+
label: "Confirm",
|
|
58
|
+
type: "submit"
|
|
59
|
+
})
|
|
60
|
+
])
|
|
61
|
+
])
|
|
62
|
+
]),
|
|
63
|
+
_: 1
|
|
64
|
+
}, 8, ["on-validation-success"]);
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
}), $e = /* @__PURE__ */ B({
|
|
68
|
+
__name: "Migrate",
|
|
69
|
+
setup(A) {
|
|
70
|
+
const n = K(), p = ee(), { isRestaurantLevelMenu: k } = p, o = ne(), { minor: h } = Q(o), v = W(!1), r = te();
|
|
71
|
+
async function M() {
|
|
72
|
+
g.value || v.value || r.open({
|
|
73
|
+
title: "Migrate to new version",
|
|
74
|
+
contentComponent: Fe,
|
|
75
|
+
contentComponentProps: {
|
|
76
|
+
value: "MIGRATE",
|
|
77
|
+
description: "Do you want to migrate to new version? Once migrate it will unable to revert to the older version."
|
|
78
|
+
}
|
|
79
|
+
}).onPrimary(async () => {
|
|
80
|
+
r.close(), await h(
|
|
81
|
+
async () => {
|
|
82
|
+
await n.migrate(), setTimeout(() => {
|
|
83
|
+
window.location.reload();
|
|
84
|
+
}, 2e3);
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
isLoading: v,
|
|
88
|
+
customId: n.state.menu._id,
|
|
89
|
+
message: "Migrating menu",
|
|
90
|
+
successMessage: "Migration completed"
|
|
91
|
+
}
|
|
92
|
+
);
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
const g = f(() => {
|
|
96
|
+
var C;
|
|
97
|
+
if (((C = p.sessionUser.value) == null ? void 0 : C.role.isAdmin) === !0)
|
|
98
|
+
return null;
|
|
99
|
+
const c = p.restaurants.value;
|
|
100
|
+
if (!c.length) return "Required at least one restaurant to migrate";
|
|
101
|
+
const b = c.filter((y) => !y.posVersion || !R.Pos.canUse({ feature: j.F_FEATURE.enum.menuV4, posVersion: y.posVersion }));
|
|
102
|
+
return b.length ? `Upgrade POS to V${R.Pos.minVersionToUse(j.F_FEATURE.enum.menuV4)} to use new menu: ${b.map((y) => y.profile.name).join(", ")}` : null;
|
|
103
|
+
});
|
|
104
|
+
return (x, c) => {
|
|
105
|
+
const b = F("FmSnackbar");
|
|
106
|
+
return !e(k) && !g.value && e(n).version !== e(X).enum.v4 ? (l(), m(b, {
|
|
107
|
+
key: 0,
|
|
108
|
+
class: "!max-w-full",
|
|
109
|
+
title: "New version of menu is out now!",
|
|
110
|
+
description: "Migrate your current menu version to the latest to enjoy more features such as product sequential dispatch, serving sequence, scheduler and more! Your content and current setting will be preserved.",
|
|
111
|
+
variant: "info",
|
|
112
|
+
action: "Migrate",
|
|
113
|
+
"z-index": 0,
|
|
114
|
+
onOnAction: M
|
|
115
|
+
})) : w("", !0);
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
}), Ve = "/assets/menu-export-Dnxo90z1.js", Ae = { class: "flex-1 flex justify-between gap-8 pl-8" }, Ee = { class: "flex items-center" }, Te = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, De = { class: "fm-typo-en-body-md-600 font-semibold" }, Ie = { class: "flex gap-8" }, Xe = /* @__PURE__ */ B({
|
|
119
|
+
__name: "Products",
|
|
120
|
+
setup(A) {
|
|
121
|
+
const { t: n } = de(), p = ee(), k = Q(ne()), o = K(), h = f(() => o.rules.item), v = ye(), r = f(() => !o.state.currentSchedulerId), { selectedCategories: M } = ge(), g = f(() => ({
|
|
122
|
+
...le.menuV4ToV3(ue(o.state.menu)),
|
|
123
|
+
_id: o.state.menu._id,
|
|
124
|
+
_rev: o.state.menu._rev
|
|
125
|
+
})), x = f(() => {
|
|
126
|
+
const i = H.flatten(M.value.map((t) => t.items));
|
|
127
|
+
return H.uniqBy(i, (t) => t._id).length;
|
|
128
|
+
});
|
|
129
|
+
async function c(i, t) {
|
|
130
|
+
const a = new re();
|
|
131
|
+
for (let $ = 0; $ < i.length; $++)
|
|
132
|
+
a.file(`${t[$]}.xlsx`, i[$]);
|
|
133
|
+
const s = await a.generateAsync({ type: "blob" });
|
|
134
|
+
ie.saveAs(s, `books_${T().format("DD-MM-YYYY_HH-mm")}.zip`);
|
|
135
|
+
}
|
|
136
|
+
async function b() {
|
|
137
|
+
await k.minor(
|
|
138
|
+
async () => {
|
|
139
|
+
if (await o.readMenu(), o.version === X.enum.v4) {
|
|
140
|
+
const i = o.state.menu, t = T().format("DD-MM-YYYY_HH-mm"), a = [
|
|
141
|
+
`menu_${t}`,
|
|
142
|
+
`addonGroup_${t}`,
|
|
143
|
+
`itemLinkedAddon_${t}`,
|
|
144
|
+
`translationLocalization_${t}`
|
|
145
|
+
], s = await ce(
|
|
146
|
+
Ve,
|
|
147
|
+
JSON.stringify({
|
|
148
|
+
menu: i,
|
|
149
|
+
attributeSettings: p.itemAttributeSettings.value,
|
|
150
|
+
localizationKeys: o.state.featureFlags.supportedLocales
|
|
151
|
+
})
|
|
152
|
+
);
|
|
153
|
+
await c(s, a);
|
|
154
|
+
} else {
|
|
155
|
+
const i = he(g.value), t = `menu_${T().format("DD-MM-YYYY_HH-mm")}`;
|
|
156
|
+
await me(i, `${t}.xlsx`, {
|
|
157
|
+
bookType: "xlsx",
|
|
158
|
+
bookSST: !0,
|
|
159
|
+
type: "array",
|
|
160
|
+
compression: !0
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
{ successMessage: "Menu exported", customId: o.state.menu._id }
|
|
165
|
+
);
|
|
166
|
+
}
|
|
167
|
+
const {
|
|
168
|
+
menuItems: E,
|
|
169
|
+
categories: C,
|
|
170
|
+
linkItemRules: y,
|
|
171
|
+
handleSubmit: Y,
|
|
172
|
+
catalogManager: z,
|
|
173
|
+
schedulerManager: N
|
|
174
|
+
} = Se(!1), oe = _e(), ae = f(() => oe.breakpoints.value.xs), se = f(() => {
|
|
175
|
+
var a;
|
|
176
|
+
const i = ((a = p.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
177
|
+
action: V.Action.manage,
|
|
178
|
+
subject: V.Subject.Business.menu_menuManagement
|
|
179
|
+
};
|
|
180
|
+
return q([t], i).granted;
|
|
181
|
+
}), L = f(() => {
|
|
182
|
+
var a;
|
|
183
|
+
const i = ((a = p.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
184
|
+
action: V.Action.manage,
|
|
185
|
+
subject: V.Subject.Business.menu_importExport
|
|
186
|
+
};
|
|
187
|
+
return q([t], i).granted;
|
|
188
|
+
});
|
|
189
|
+
return be().resetOnMount(), (i, t) => {
|
|
190
|
+
const a = F("fm-button");
|
|
191
|
+
return l(), m(ve, {
|
|
192
|
+
heading: e(n)("menu.products.title")
|
|
193
|
+
}, {
|
|
194
|
+
default: _(() => [
|
|
195
|
+
u($e),
|
|
196
|
+
u(ke)
|
|
197
|
+
]),
|
|
198
|
+
"append-heading": _(() => [
|
|
199
|
+
d("div", Ae, [
|
|
200
|
+
d("div", Ee, [
|
|
201
|
+
d("div", Te, [
|
|
202
|
+
d("p", De, Z(x.value), 1)
|
|
203
|
+
])
|
|
204
|
+
]),
|
|
205
|
+
d("div", Ie, [
|
|
206
|
+
ae.value ? (l(), m(O, { key: 1 }, {
|
|
207
|
+
default: _(({ trigger: s }) => [
|
|
208
|
+
u(fe, null, {
|
|
209
|
+
default: _(() => [
|
|
210
|
+
u(G, {
|
|
211
|
+
label: e(n)("menu.products.actions.export"),
|
|
212
|
+
onClick: b
|
|
213
|
+
}, null, 8, ["label"]),
|
|
214
|
+
u(G, {
|
|
215
|
+
label: e(n)("menu.products.actions.import"),
|
|
216
|
+
onClick: s
|
|
217
|
+
}, null, 8, ["label", "onClick"])
|
|
218
|
+
]),
|
|
219
|
+
_: 2
|
|
220
|
+
}, 1024)
|
|
221
|
+
]),
|
|
222
|
+
_: 1
|
|
223
|
+
})) : (l(), P(U, { key: 0 }, [
|
|
224
|
+
se.value ? (l(), m(xe, { key: 0 }, {
|
|
225
|
+
default: _(({ trigger: s }) => [
|
|
226
|
+
u(a, {
|
|
227
|
+
label: e(n)("menu.tree_editor.title"),
|
|
228
|
+
"bg-color": e(S).NeutralGray100,
|
|
229
|
+
"text-color": e(S).TypoSecondary,
|
|
230
|
+
variant: e(D).Primary,
|
|
231
|
+
onClick: s
|
|
232
|
+
}, null, 8, ["label", "bg-color", "text-color", "variant", "onClick"])
|
|
233
|
+
]),
|
|
234
|
+
_: 1
|
|
235
|
+
})) : w("", !0),
|
|
236
|
+
L.value ? (l(), m(a, {
|
|
237
|
+
key: 1,
|
|
238
|
+
"bg-color": e(S).NeutralGray100,
|
|
239
|
+
"text-color": e(S).TypoSecondary,
|
|
240
|
+
variant: e(D).Primary,
|
|
241
|
+
label: e(n)("menu.products.actions.export"),
|
|
242
|
+
onClick: b
|
|
243
|
+
}, null, 8, ["bg-color", "text-color", "variant", "label"])) : w("", !0),
|
|
244
|
+
L.value ? (l(), m(O, { key: 2 }, {
|
|
245
|
+
default: _(({ trigger: s }) => [
|
|
246
|
+
u(a, {
|
|
247
|
+
"bg-color": e(S).NeutralGray100,
|
|
248
|
+
"text-color": e(S).TypoSecondary,
|
|
249
|
+
variant: e(D).Primary,
|
|
250
|
+
label: e(n)("menu.products.actions.import"),
|
|
251
|
+
onClick: s
|
|
252
|
+
}, null, 8, ["bg-color", "text-color", "variant", "label", "onClick"])
|
|
253
|
+
]),
|
|
254
|
+
_: 1
|
|
255
|
+
})) : w("", !0)
|
|
256
|
+
], 64)),
|
|
257
|
+
x.value > 0 ? (l(), P(U, { key: 2 }, [
|
|
258
|
+
h.value.create ? (l(), m(I, {
|
|
259
|
+
key: 0,
|
|
260
|
+
label: e(n)("menu.products.actions.add"),
|
|
261
|
+
"prepend-icon": "add",
|
|
262
|
+
onClick: t[0] || (t[0] = (s) => e(v).create(null))
|
|
263
|
+
}, null, 8, ["label"])) : r.value ? (l(), m(J, {
|
|
264
|
+
key: 1,
|
|
265
|
+
"categorized-items": e(z).linkableItems.value,
|
|
266
|
+
"initial-value": e(z).currentItems.value,
|
|
267
|
+
"show-variant": !1,
|
|
268
|
+
"menu-items": e(E),
|
|
269
|
+
categories: e(C),
|
|
270
|
+
"link-item-rules": e(y),
|
|
271
|
+
"no-scheduler": r.value,
|
|
272
|
+
onSubmit: e(Y)
|
|
273
|
+
}, {
|
|
274
|
+
default: _(({ trigger: s }) => [
|
|
275
|
+
u(I, {
|
|
276
|
+
label: e(n)("menu.products.actions.link"),
|
|
277
|
+
"prepend-icon": "link",
|
|
278
|
+
onClick: s
|
|
279
|
+
}, null, 8, ["label", "onClick"])
|
|
280
|
+
]),
|
|
281
|
+
_: 1
|
|
282
|
+
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (l(), m(J, {
|
|
283
|
+
key: 2,
|
|
284
|
+
"categorized-items": e(N).linkableItems.value,
|
|
285
|
+
"initial-value": e(N).currentItems.value,
|
|
286
|
+
"show-variant": !1,
|
|
287
|
+
"menu-items": e(E),
|
|
288
|
+
categories: e(C),
|
|
289
|
+
"link-item-rules": e(y),
|
|
290
|
+
"no-scheduler": r.value,
|
|
291
|
+
onSubmit: e(Y)
|
|
292
|
+
}, {
|
|
293
|
+
default: _(({ trigger: s }) => [
|
|
294
|
+
u(I, {
|
|
295
|
+
label: e(n)("menu.products.actions.apply_scheduler"),
|
|
296
|
+
onClick: s
|
|
297
|
+
}, null, 8, ["label", "onClick"])
|
|
298
|
+
]),
|
|
299
|
+
_: 1
|
|
300
|
+
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"]))
|
|
301
|
+
], 64)) : w("", !0)
|
|
302
|
+
])
|
|
303
|
+
])
|
|
304
|
+
]),
|
|
305
|
+
_: 1
|
|
306
|
+
}, 8, ["heading"]);
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
});
|
|
310
|
+
export {
|
|
311
|
+
Xe as default
|
|
312
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as J, ref as P, computed as D, onMounted as me, resolveComponent as $, createElementBlock as F, openBlock as y, createVNode as b, createElementVNode as f, toDisplayString as T, unref as c, Fragment as j, renderList as Q, createBlock as Y, watch as pe, withCtx as z, h as B, normalizeClass as ce, createCommentVNode as X, createTextVNode as _e, mergeProps as Ue, normalizeStyle as Oe, renderSlot as Be, withModifiers as le, onUnmounted as Te } from "vue";
|
|
2
|
-
import { D as E } from "./dayjs.min-
|
|
2
|
+
import { D as E } from "./dayjs.min-sFCfvj7o.js";
|
|
3
3
|
import { useRouter as ze } from "vue-router";
|
|
4
4
|
import { O as Ee, b as Le } from "./app-5fxKLAzS.js";
|
|
5
|
-
import { z as je, D as Ke, B as Ce, ah as Ye, a5 as we, ai as W, u as xe, G as ge, H as He, y as qe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { z as je, D as Ke, B as Ce, ah as Ye, a5 as we, ai as W, u as xe, G as ge, H as He, y as qe } from "./index.vue_vue_type_script_setup_true_lang-BJLNbe5R.js";
|
|
6
6
|
import { useI18n as Z, useCoreStore as he, RestaurantSelector as Ve } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as fe, useDialogChild as Ge, useProxiedModel as Je, useDialog as Se, components as ee, FmButtonVariant as ye } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as We } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
9
|
-
import { _ as Qe } from "./app-
|
|
9
|
+
import { _ as Qe } from "./app-BoMWSx89.js";
|
|
10
10
|
import { a as Xe, w as Ze } from "./tooltip-B5BiPMx9.js";
|
|
11
11
|
import { u as Fe } from "./discardConfirm-BHni0LNu.js";
|
|
12
12
|
import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -2,14 +2,14 @@ import { defineComponent as z, computed as h, ref as E, reactive as Q, watch as
|
|
|
2
2
|
import { useI18n as M } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as P, components as G, useDialog as ne, FmButtonVariant as K, useBreakpoints as oe } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as le } from "./app-
|
|
6
|
-
import { P as q, B as $, G as ie, A as D, H as se, D as L, J as A, K as O, u as H, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-BoMWSx89.js";
|
|
6
|
+
import { P as q, B as $, G as ie, A as D, H as se, D as L, J as A, K as O, u as H, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-BJLNbe5R.js";
|
|
7
7
|
import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
8
|
import { defineStore as ue } from "pinia";
|
|
9
|
-
import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-BMBNdxYT.js";
|
|
10
10
|
import { u as de } from "./discardConfirm-BHni0LNu.js";
|
|
11
11
|
import { c as pe } from "./check-C9mY6LiX.js";
|
|
12
|
-
import "./unit-
|
|
12
|
+
import "./unit-CQPZOeGq.js";
|
|
13
13
|
import { c as fe } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
14
14
|
const _e = { class: "fm-typo-en-title-md-600" }, ve = { class: "pt-8 space-y-40" }, ye = { class: "flex flex-row gap-16" }, ge = { class: "flex gap-8 items-center justify-start" }, be = /* @__PURE__ */ z({
|
|
15
15
|
__name: "Form",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as D, ref as R, resolveComponent as u, createElementBlock as E, openBlock as P, Fragment as B, createElementVNode as d, createVNode as l, normalizeClass as A, withCtx as i, toDisplayString as g, unref as o, h as I } from "vue";
|
|
2
2
|
import { useI18n as T, useCustomAttributes as K, useCoreStore as N } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as U } from "@feedmepos/ui-library";
|
|
4
|
-
import { e as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { e as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-CnEkf8GW.js";
|
|
5
5
|
const j = {
|
|
6
6
|
class: /* @__PURE__ */ A(["fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap", "text-fm-color-neutral-gray-400"])
|
|
7
7
|
}, O = {
|