@feedmepos/mf-menu 0.32.46-dev.3 → 0.32.46
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-npeQTqd2.js → App-CNSCmSlO.js} +7 -7
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang--prlJD_G.js → ApplyProduct.vue_vue_type_script_setup_true_lang-Dfp2ANHQ.js} +3 -3
- package/dist/{Catalog-jPzJ-CrL.js → Catalog-beKeWiZH.js} +6 -6
- package/dist/{Category-BWZpgiNC.js → Category-BFLuZkJe.js} +5 -5
- package/dist/{Category-B7pQ08QL.js → Category-DUbQ4H7b.js} +4 -4
- package/dist/{CookingGuide-BFEE1EJc.js → CookingGuide-DFfSrALI.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-D69zZiPR.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Bdwyjy4v.js} +1 -1
- package/dist/{Group-M4tXSj5P.js → Group-DOwOFlWe.js} +3 -3
- package/dist/{Group-DvZUfjSC.js → Group-Dd2aZOB4.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DeVE8KLf.js → Group.vue_vue_type_script_setup_true_lang-_KWjLLDJ.js} +8 -8
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-pbZw9da3.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-C8eQ7e1r.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Byzowjkm.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Ckv9GH8J.js} +3364 -3364
- package/dist/{Ingredient-BdHJVta5.js → Ingredient-DmMRcId1.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BSwR_wpJ.js → InventoryBinding.vue_vue_type_script_setup_true_lang-BCYTY2mq.js} +2 -2
- package/dist/{LinkProductSideSheet-B03Oabpv.js → LinkProductSideSheet-ClQgUxuK.js} +3 -3
- package/dist/{MenuSetting-DTWJOTMd.js → MenuSetting-BvcvlLdQ.js} +5 -5
- package/dist/{PrintRoute-CPux5kB3.js → PrintRoute-CkBY25oP.js} +4 -4
- package/dist/{Product-laMGJ8d-.js → Product-BaBnkf6b.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-41pkSI-X.js → Product.vue_vue_type_script_setup_true_lang-Cp6mMmyN.js} +13 -13
- package/dist/{ProductInternalTools-zNNMVjtn.js → ProductInternalTools-DSUvws12.js} +6 -6
- package/dist/{Products-BwKBLOcx.js → Products-DFIdy__F.js} +60 -60
- package/dist/{Publish-DVWIjGI_.js → Publish-DHdq__q3.js} +3 -3
- package/dist/{Recipe-DfDGxruI.js → Recipe-BMRmhxa7.js} +4 -4
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-Dqec903W.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BG9ShMmO.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-COsEN8g1.js → RuleView.vue_vue_type_script_setup_true_lang-DvlHPa_5.js} +366 -366
- package/dist/{Scheduler-Cai-wMn7.js → Scheduler-BJvpYBQS.js} +3 -3
- package/dist/{ServingSequence-Do-C3Sn4.js → ServingSequence-BIt86YO4.js} +3 -3
- package/dist/{Setting-DSjLtPBJ.js → Setting-DrfwhTG3.js} +5 -5
- package/dist/{Subcategory-DSeuxOGy.js → Subcategory-wVEIoIa-.js} +7 -7
- package/dist/{Takeaway-DwSbGolk.js → Takeaway-3yve0nwN.js} +4 -4
- package/dist/{Takeaway-C1srIF8q.js → Takeaway-DpG5pggY.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Bx8gpmLd.js → Takeaway.vue_vue_type_script_setup_true_lang-CDrDWuLP.js} +6 -6
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-DDjpVFJj.js → Thumbnail.vue_vue_type_script_setup_true_lang-DgKx0aBJ.js} +4 -4
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-Cd4RGHXf.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-DGzGvWli.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-Bwo49sg8.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-Cg1_gsJZ.js} +2 -2
- package/dist/{TranslationViewChip.vue_vue_type_script_setup_true_lang-COt8eJR8.js → TranslationViewChip.vue_vue_type_script_setup_true_lang-w63nUs1m.js} +1 -1
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BG9vXVnJ.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D4q-luQO.js} +14 -14
- package/dist/{Unit-CLIdovqU.js → Unit-BTKfmyIp.js} +2 -2
- package/dist/{Variant-CbX_HaWr.js → Variant-w-2yYwaD.js} +5 -5
- package/dist/{_id_-CF6hSxMn.js → _id_-CDuA4GHw.js} +9 -9
- package/dist/{app-DXWLC6wZ.js → app-CK_a6mY6.js} +1 -1
- package/dist/{app-jYjowude.js → app-D8o1IXBC.js} +31 -31
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-Dz4kVy3U.js → linked-status-DbomyNrO.js} +5 -5
- package/dist/assets/{menu-export-Bjrlg38p.js → menu-export-CW4q2pkh.js} +2 -2
- package/dist/assets/{override-menu-h6635NTp.js → override-menu-B_mBG1eT.js} +5 -5
- package/dist/assets/{validate-menu-ILBC_n35.js → validate-menu-DbDPxacI.js} +2 -2
- package/dist/{catalog-ByziW0k0.js → catalog-DldA6Q9b.js} +1 -1
- package/dist/{catalogSetting-DFtnnh_u.js → catalogSetting-B-_kbwka.js} +1 -1
- package/dist/{currency-Dow_7SjH.js → currency-BykSseoo.js} +1 -1
- package/dist/{dayjs.min-J4d4ye_W.js → dayjs.min-DHfnEad1.js} +2 -2
- package/dist/{index-Cud1HVR_.js → index-CcpNd77G.js} +4 -4
- package/dist/{index-Bx_mNoGq.js → index-DvCo6KWo.js} +6 -6
- package/dist/{index.vue_vue_type_script_setup_true_lang-BBIM8-iI.js → index.vue_vue_type_script_setup_true_lang-BaJS8yWr.js} +85 -85
- package/dist/{item-CFhsU4ZX.js → item-0l56gmoR.js} +16 -16
- package/dist/{jszip.min-C6M7_p-M.js → jszip.min-D-L87l7W.js} +3 -3
- package/dist/{menu-ByysjB4i.js → menu-PgW6AVCf.js} +1 -1
- package/dist/{menuV2-Clp-zydr.js → menuV2-Ddb0Onkc.js} +38 -38
- package/dist/{priceTier-DMPEyXYB.js → priceTier-DuXEtDOE.js} +1 -1
- package/dist/{rules-D7jis1av.js → rules-BU13b5QQ.js} +4 -4
- package/dist/{scheduler-Cdam4laD.js → scheduler-CGODPah6.js} +4 -4
- package/dist/{toExcel-B2mXomTF.js → toExcel-YqRbHTty.js} +2 -2
- package/dist/{unit-BWhsHi2q.js → unit-CumoTkJV.js} +2 -2
- package/package.json +1 -1
|
@@ -2,13 +2,13 @@ import { defineComponent as ie, computed as b, ref as $, 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 $e, 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 { O as re, B as X, u as Z, G as Oe, A as K, H as Be, a2 as ce, D as le, J as q, y as H } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { O as re, B as X, u as Z, G as Oe, A as K, H as Be, a2 as ce, D as le, J as q, y as H } from "./index.vue_vue_type_script_setup_true_lang-BaJS8yWr.js";
|
|
6
6
|
import { _ as Te } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
7
7
|
import { defineStore as Ie } from "pinia";
|
|
8
|
-
import { _ as ae, g as Le } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as ae, g as Le } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-BCYTY2mq.js";
|
|
9
9
|
import { u as De } from "./discardConfirm-BHni0LNu.js";
|
|
10
10
|
import { c as Pe } from "./check-C9mY6LiX.js";
|
|
11
|
-
import { u as Re } from "./unit-
|
|
11
|
+
import { u as Re } from "./unit-CumoTkJV.js";
|
|
12
12
|
import { c as Ae } 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, a3 as Qe, c as gt, a4 as Ft } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as pt, D as ze, z as We, a3 as Qe, c as gt, a4 as Ft } from "./index.vue_vue_type_script_setup_true_lang-BaJS8yWr.js";
|
|
3
3
|
import { useI18n as nt } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as ft, useProxiedModel as It, useDialog as yt, components as we, FmButtonColorThemeVariant as Ze, FmButtonVariant as Ke } from "@feedmepos/ui-library";
|
|
5
5
|
import { u as St } from "./search-BAPEUu1R.js";
|
|
6
|
-
var Be = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/
|
|
6
|
+
var Be = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_b9a20aed-ccee-43c7-9fec-8820ad6917b0", 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_b9a20aed-ccee-43c7-9fec-8820ad6917b0", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-253402.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", GTM_ID: "GTM-WR8XHXLH", FIREBASE_MESSAGING_SENDER_ID: "128512026847", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "production", 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.5.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-zzez732dna-as.a.run.app", VITE_FEATURE_FLAG_API_KEY: "6GhcttsJ9Rj9cTevcdrpin", SYSTEMD_EXEC_PID: "1871", ACTIONS_ORCHESTRATION_ID: "d1507298-fa7c-4cf3-87ab-b83ad716b6ee.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: "20260513.135.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2.feedmeapi.com", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15795", GITHUB_WORKFLOW: "Publish mf-menu prod", _: "/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.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.10/x64", GITHUB_RUN_ID: "26103356531", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapi.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "18b019e1c9ddc3b94ddd38b64be3774c637abe5d", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "production", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu-prod.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", npm_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_63b874da-cce0-4aca-b48d-17ebdc7d0c6e", INVOCATION_ID: "8b8b4ea0431c4698a58f1abf51e59370", 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: "167", GITHUB_TRIGGERING_ACTOR: "victorchai", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-2MP52PC24R", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", VITE_LICENSE_API_URL: "https://license-v2.feedmeapi.com", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000070209", 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.46", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", GTM_DEBUG: "false", FIREBASE_PROJECT_ID: "feedme-253402", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", GITHUB_SHA: "18b019e1c9ddc3b94ddd38b64be3774c637abe5d", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "victorchai", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_b9a20aed-ccee-43c7-9fec-8820ad6917b0", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "49786844", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@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_b9a20aed-ccee-43c7-9fec-8820ad6917b0", 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_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_b9a20aed-ccee-43c7-9fec-8820ad6917b0", 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,11 +1,11 @@
|
|
|
1
1
|
import { createElementBlock as R, openBlock as i, createElementVNode as F, defineComponent as ae, ref as A, computed as j, resolveComponent as x, createBlock as T, unref as u, withCtx as M, createVNode as y, toDisplayString as E, Fragment as z, renderList as X, createCommentVNode as Y, withModifiers as oe, watch as re, renderSlot as pe } from "vue";
|
|
2
|
-
import { u as le, y as ue, G as ee, a2 as ve, H as ie } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as le, y as ue, G as ee, a2 as ve, H as ie } from "./index.vue_vue_type_script_setup_true_lang-BaJS8yWr.js";
|
|
3
3
|
import { useI18n as se, ItemSelector as fe } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as de, FmButtonVariant as Z } from "@feedmepos/ui-library";
|
|
5
5
|
import { u as _e } from "./discardConfirm-BHni0LNu.js";
|
|
6
|
-
import { u as ye } from "./menuV2-
|
|
6
|
+
import { u as ye } from "./menuV2-Ddb0Onkc.js";
|
|
7
7
|
import { _ as ce } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
-
import { m as O, g as Re, h as be, b as ge, u as he, f as te } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { m as O, g as Re, h as be, b as ge, u as he, f as te } from "./RuleView.vue_vue_type_script_setup_true_lang-DvlHPa_5.js";
|
|
9
9
|
import { c as Ce } from "./check-C9mY6LiX.js";
|
|
10
10
|
/* empty css */
|
|
11
11
|
const Ae = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as X, ref as C, computed as $, watch as j, resolveComponent as g, createBlock as L, openBlock as d, unref as t, withCtx as y, createElementVNode as r, createVNode as u, createElementBlock as h, Fragment as q, renderList as Y, createCommentVNode as I, toDisplayString as A, withModifiers as oe } from "vue";
|
|
2
|
-
import { u as Z, H as K, a2 as ae, B as ne, z as re, G as le } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as Z, H as K, a2 as ae, B as ne, z as re, G as le } from "./index.vue_vue_type_script_setup_true_lang-BaJS8yWr.js";
|
|
3
3
|
import { useI18n as ee, useCoreStore as ie } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as te, FmButtonVariant as N, useDialog as ce, useSnackbar as ue, useBreakpoints as me, FmButtonColorThemeVariant as W } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as de, m as E, _ as Q, b as pe, c as _e, f as P } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as se } from "./app-
|
|
5
|
+
import { u as de, m as E, _ as Q, b as pe, c as _e, f as P } from "./RuleView.vue_vue_type_script_setup_true_lang-DvlHPa_5.js";
|
|
6
|
+
import { _ as se } from "./app-D8o1IXBC.js";
|
|
7
7
|
import { u as ve } from "./discardConfirm-BHni0LNu.js";
|
|
8
8
|
import { _ as fe } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
9
|
-
import { C as O, a as B } from "./catalogSetting-
|
|
10
|
-
import { u as ge } from "./priceTier-
|
|
9
|
+
import { C as O, a as B } from "./catalogSetting-B-_kbwka.js";
|
|
10
|
+
import { u as ge } from "./priceTier-DuXEtDOE.js";
|
|
11
11
|
const be = {
|
|
12
12
|
class: "fm-typo-en-title-md-600 mr-auto"
|
|
13
13
|
}, ye = {
|
|
@@ -2,11 +2,11 @@ import { defineComponent as H, ref as T, 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 te, useSnackbar as oe, useDialog as ne } 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 { G as j, H as re, J as Y, y as V, u as se, O as ie, B as ue, a2 as de } 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 le } from "./app-D8o1IXBC.js";
|
|
6
|
+
import { G as j, H as re, J as Y, y as V, u as se, O as ie, B as ue, a2 as de } from "./index.vue_vue_type_script_setup_true_lang-BaJS8yWr.js";
|
|
7
|
+
import { _ as G } from "./RuleView.vue_vue_type_script_setup_true_lang-DvlHPa_5.js";
|
|
8
8
|
import { u as ce } from "./discardConfirm-BHni0LNu.js";
|
|
9
|
-
import { L as me } from "./LinkProductSideSheet-
|
|
9
|
+
import { L as me } from "./LinkProductSideSheet-ClQgUxuK.js";
|
|
10
10
|
import { _ as pe } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
11
11
|
const _e = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, ve = { class: "space-y-16" }, ye = { class: "flex items-center gap-8" }, ge = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, he = { class: "flex-1" }, be = { class: "grow overflow-y-auto" }, ke = { 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" }, xe = { class: "px-16 py-8 flex-1" }, Fe = { class: "py-8" }, Ie = { class: "flex gap-8 items-center justify-start" }, Ce = /* @__PURE__ */ H({
|
|
12
12
|
__name: "PrintDepartmentDialog",
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { ref as F, computed as h, defineComponent as j, resolveComponent as N, createBlock as I, openBlock as m, withCtx as T, createElementVNode as g, createVNode as d, unref as o, createElementBlock as w, Fragment as pe, renderList as ke, createCommentVNode as M, normalizeClass as ve, toDisplayString as B, withModifiers as fe, mergeModels as Xe, useModel as et, renderSlot as _e, watch as de, createTextVNode as tt, watchEffect as lt, nextTick as Ae, resolveDynamicComponent as at, onMounted as ot, h as O, isRef as je, normalizeStyle as gt } from "vue";
|
|
2
|
-
import { u as Fe, Q as Ce, z as me, G as Re, H as ge, T as bt, ac as _t, ad as yt, ae as Pe, af as ht, P as xt, a2 as be, ag as Ee } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as Fe, Q as Ce, z as me, G as Re, H as ge, T as bt, ac as _t, ad as yt, ae as Pe, af as ht, P as xt, a2 as be, ag as Ee } from "./index.vue_vue_type_script_setup_true_lang-BaJS8yWr.js";
|
|
3
3
|
import { useI18n as Ie, useCoreStore as ze, useCustomAttributes as Ct } from "@feedmepos/mf-common";
|
|
4
|
-
import { u as Se } from "./menu-
|
|
5
|
-
import { L as Ge } from "./LinkProductSideSheet-
|
|
6
|
-
import { _ as Le } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as Me, a as qe } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as Ue, u as wt } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { f as kt, o as St, a as Vt, m as Ft } from "./menuV2-
|
|
10
|
-
import { u as rt, C as It } from "./item-
|
|
4
|
+
import { u as Se } from "./menu-PgW6AVCf.js";
|
|
5
|
+
import { L as Ge } from "./LinkProductSideSheet-ClQgUxuK.js";
|
|
6
|
+
import { _ as Le } from "./RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BG9ShMmO.js";
|
|
7
|
+
import { _ as Me, a as qe } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-Bdwyjy4v.js";
|
|
8
|
+
import { _ as Ue, u as wt } from "./Thumbnail.vue_vue_type_script_setup_true_lang-DgKx0aBJ.js";
|
|
9
|
+
import { f as kt, o as St, a as Vt, m as Ft } from "./menuV2-Ddb0Onkc.js";
|
|
10
|
+
import { u as rt, C as It } from "./item-0l56gmoR.js";
|
|
11
11
|
import { b as We, H as $t } from "./app-5fxKLAzS.js";
|
|
12
12
|
import { useBreakpoints as nt, components as te, useDialog as Tt, FmButtonColorThemeVariant as W, FmButtonVariant as ee } from "@feedmepos/ui-library";
|
|
13
13
|
import { F as Pt } from "./index-CisutoS9.js";
|
|
14
|
-
import { _ as De, d as At, e as Rt } from "./app-
|
|
14
|
+
import { _ as De, d as At, e as Rt } from "./app-D8o1IXBC.js";
|
|
15
15
|
import { _ as we } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
16
|
-
import { _ as Mt } from "./index-
|
|
17
|
-
import { r as Ut, _ as zt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { _ as He } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-
|
|
16
|
+
import { _ as Mt } from "./index-DvCo6KWo.js";
|
|
17
|
+
import { r as Ut, _ as zt } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-Ckv9GH8J.js";
|
|
18
|
+
import { _ as He } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-w63nUs1m.js";
|
|
19
19
|
import { c as Dt } from "./check-C9mY6LiX.js";
|
|
20
|
-
import { f as Ot } from "./currency-
|
|
20
|
+
import { f as Ot } from "./currency-BykSseoo.js";
|
|
21
21
|
import { w as Nt } from "./tooltip-B5BiPMx9.js";
|
|
22
22
|
function Kt(C, e, i = C) {
|
|
23
23
|
const n = F(!0), t = h(() => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as Z, ref as v, computed as z, resolveComponent as W, createElementBlock as c, openBlock as r, createElementVNode as s, createVNode as I, unref as h, createCommentVNode as T, normalizeClass as B, toDisplayString as U, createStaticVNode as E, Fragment as P, renderList as R, createBlock as oe, withCtx as A } from "vue";
|
|
2
|
-
import { J as O, F as ne } from "./jszip.min-
|
|
3
|
-
import { B as le, u as ie, H as D, a0 as re, K as ce, M as de, N as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { J as O, F as ne } from "./jszip.min-D-L87l7W.js";
|
|
3
|
+
import { B as le, u as ie, H as D, a0 as re, K as ce, M as de, N as me } from "./index.vue_vue_type_script_setup_true_lang-BaJS8yWr.js";
|
|
4
4
|
import { useI18n as ue } from "@feedmepos/mf-common";
|
|
5
5
|
import { FmButtonVariant as $, 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-2f0QfweQ.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 { x as be, y as ve, z as _e } from "./item-
|
|
7
|
+
import { u as fe, a as he } from "./menu-PgW6AVCf.js";
|
|
8
|
+
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-Cp6mMmyN.js";
|
|
9
|
+
import { x as be, y as ve, z as _e } from "./item-0l56gmoR.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"
|
|
@@ -151,7 +151,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
|
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
153
|
});
|
|
154
|
-
var He = { firebase: { storageBucket: "image.
|
|
154
|
+
var He = { firebase: { storageBucket: "image.feedme.cc" } };
|
|
155
155
|
const Je = {
|
|
156
156
|
key: 0,
|
|
157
157
|
class: "h-screen"
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as I, computed as m, ref as
|
|
2
|
-
import { D as V } from "./dayjs.min-
|
|
3
|
-
import { J as re, F as ie } from "./jszip.min-
|
|
4
|
-
import { u as K, B as Q, z, D as H, y as X, A as le, G as ue, H as L, I as ce } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { h as F, A as
|
|
1
|
+
import { defineComponent as I, computed as m, ref as J, resolveComponent as C, createBlock as c, openBlock as l, unref as e, withCtx as _, createElementVNode as d, toDisplayString as Z, createVNode as u, createCommentVNode as M, createElementBlock as j, Fragment as R } from "vue";
|
|
2
|
+
import { D as V } from "./dayjs.min-DHfnEad1.js";
|
|
3
|
+
import { J as re, F as ie } from "./jszip.min-D-L87l7W.js";
|
|
4
|
+
import { u as K, B as Q, z, D as H, y as X, A as le, G as ue, H as L, I as ce } from "./index.vue_vue_type_script_setup_true_lang-BaJS8yWr.js";
|
|
5
|
+
import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-Ckv9GH8J.js";
|
|
6
|
+
import { h as F, A as q } from "./app-D8o1IXBC.js";
|
|
7
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 E, FmButtonColorThemeVariant as
|
|
8
|
+
import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as _e, FmButtonVariant as E, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
|
|
9
9
|
import { _ as T } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
10
|
-
import { _ as fe, a as
|
|
10
|
+
import { _ as fe, a as O } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
11
11
|
import { _ as ve } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
12
|
-
import { u as ge, a as be } from "./menu-
|
|
13
|
-
import { u as ye } from "./item-
|
|
14
|
-
import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { L as
|
|
16
|
-
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { u as
|
|
18
|
-
import { m as
|
|
19
|
-
const Me = { class: "space-y-24 mb-24" },
|
|
12
|
+
import { u as ge, a as be } from "./menu-PgW6AVCf.js";
|
|
13
|
+
import { u as ye } from "./item-0l56gmoR.js";
|
|
14
|
+
import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-Cp6mMmyN.js";
|
|
15
|
+
import { L as W } from "./LinkProductSideSheet-ClQgUxuK.js";
|
|
16
|
+
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D4q-luQO.js";
|
|
17
|
+
import { u as he } from "./Thumbnail.vue_vue_type_script_setup_true_lang-DgKx0aBJ.js";
|
|
18
|
+
import { m as Se } from "./toExcel-YqRbHTty.js";
|
|
19
|
+
const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ I({
|
|
20
20
|
__name: "ConfirmActionDialog",
|
|
21
21
|
props: {
|
|
22
22
|
description: {},
|
|
@@ -24,17 +24,17 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
24
24
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
25
25
|
},
|
|
26
26
|
setup($) {
|
|
27
|
-
const n = $, y = m(() => n.message.replace("[[value]]", n.value)), x =
|
|
27
|
+
const n = $, y = m(() => n.message.replace("[[value]]", n.value)), x = J(""), s = te(), { emitAction: h } = pe();
|
|
28
28
|
return (f, i) => {
|
|
29
|
-
const v =
|
|
29
|
+
const v = C("FmTextField"), g = C("FmButton"), b = C("FmForm");
|
|
30
30
|
return l(), c(b, {
|
|
31
|
-
"on-validation-success": () => e(
|
|
31
|
+
"on-validation-success": () => e(h)("primary"),
|
|
32
32
|
"blame-form-child-on-validation-failed": ""
|
|
33
33
|
}, {
|
|
34
34
|
default: _(() => [
|
|
35
35
|
d("div", Me, [
|
|
36
36
|
d("div", null, Z(f.description), 1),
|
|
37
|
-
d("div", { innerHTML: y.value }, null, 8,
|
|
37
|
+
d("div", { innerHTML: y.value }, null, 8, Ce),
|
|
38
38
|
d("div", null, [
|
|
39
39
|
u(v, {
|
|
40
40
|
modelValue: x.value,
|
|
@@ -47,7 +47,7 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
47
47
|
rules: [(p) => p === f.value || "Value does not match"]
|
|
48
48
|
}, null, 8, ["modelValue", "placeholder", "rules"])
|
|
49
49
|
]),
|
|
50
|
-
d("div",
|
|
50
|
+
d("div", we, [
|
|
51
51
|
u(g, {
|
|
52
52
|
label: "Cancel",
|
|
53
53
|
variant: "secondary",
|
|
@@ -67,9 +67,9 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
67
67
|
}), $e = /* @__PURE__ */ I({
|
|
68
68
|
__name: "Migrate",
|
|
69
69
|
setup($) {
|
|
70
|
-
const n = K(), y = ee(), x = ne(), { minor: s } = Q(x),
|
|
70
|
+
const n = K(), y = ee(), x = ne(), { minor: s } = Q(x), h = J(!1), f = te();
|
|
71
71
|
async function i() {
|
|
72
|
-
v.value ||
|
|
72
|
+
v.value || h.value || f.open({
|
|
73
73
|
title: "Migrate to new version",
|
|
74
74
|
contentComponent: Fe,
|
|
75
75
|
contentComponentProps: {
|
|
@@ -84,7 +84,7 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
84
84
|
}, 2e3);
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
|
-
isLoading:
|
|
87
|
+
isLoading: h,
|
|
88
88
|
customId: n.state.menu._id,
|
|
89
89
|
message: "Migrating menu",
|
|
90
90
|
successMessage: "Migration completed"
|
|
@@ -99,7 +99,7 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
99
99
|
return b.length ? `Upgrade POS to V${z.Pos.minVersionToUse(H.F_FEATURE.enum.menuV4)} to use new menu: ${b.map((k) => k.profile.name).join(", ")}` : null;
|
|
100
100
|
});
|
|
101
101
|
return m(() => v.value ? v.value : "Migrate your menu to new version to enjoy more features. Content of new menu will remain the same as current."), (g, b) => {
|
|
102
|
-
const p =
|
|
102
|
+
const p = C("FmSnackbar");
|
|
103
103
|
return !v.value && e(n).version !== e(X.F_MENU_VERSION).enum.v4 ? (l(), c(p, {
|
|
104
104
|
key: 0,
|
|
105
105
|
class: "!max-w-full",
|
|
@@ -112,10 +112,10 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
112
112
|
})) : M("", !0);
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
-
}), Ve = "/assets/menu-export-
|
|
115
|
+
}), Ve = "/assets/menu-export-CW4q2pkh.js", Ee = { class: "flex-1 flex justify-between gap-8 pl-8" }, Te = { class: "flex items-center" }, Ie = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Ae = { class: "fm-typo-en-body-md-600 font-semibold" }, De = { class: "flex gap-8" }, Xe = /* @__PURE__ */ I({
|
|
116
116
|
__name: "Products",
|
|
117
117
|
setup($) {
|
|
118
|
-
const { t: n } = de(), y = ee(), x = Q(ne()), s = K(),
|
|
118
|
+
const { t: n } = de(), y = ee(), x = Q(ne()), s = K(), h = m(() => s.rules.item), f = ye(), i = m(() => !s.state.currentSchedulerId), { selectedCategories: v } = ge(), g = m(() => ({
|
|
119
119
|
...le.menuV4ToV3(ue(s.state.menu)),
|
|
120
120
|
_id: s.state.menu._id,
|
|
121
121
|
_rev: s.state.menu._rev
|
|
@@ -125,8 +125,8 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
125
125
|
});
|
|
126
126
|
async function p(r, t) {
|
|
127
127
|
const o = new re();
|
|
128
|
-
for (let
|
|
129
|
-
o.file(`${t[
|
|
128
|
+
for (let w = 0; w < r.length; w++)
|
|
129
|
+
o.file(`${t[w]}.xlsx`, r[w]);
|
|
130
130
|
const a = await o.generateAsync({ type: "blob" });
|
|
131
131
|
ie.saveAs(a, `books_${V().format("DD-MM-YYYY_HH-mm")}.zip`);
|
|
132
132
|
}
|
|
@@ -147,7 +147,7 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
147
147
|
);
|
|
148
148
|
await p(a, o);
|
|
149
149
|
} else {
|
|
150
|
-
const r =
|
|
150
|
+
const r = Se(g.value), t = `menu_${V().format("DD-MM-YYYY_HH-mm")}`;
|
|
151
151
|
await me(r, `${t}.xlsx`, {
|
|
152
152
|
bookType: "xlsx",
|
|
153
153
|
bookSST: !0,
|
|
@@ -161,28 +161,28 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
161
161
|
}
|
|
162
162
|
const {
|
|
163
163
|
menuItems: A,
|
|
164
|
-
categories:
|
|
165
|
-
linkItemRules:
|
|
164
|
+
categories: D,
|
|
165
|
+
linkItemRules: B,
|
|
166
166
|
handleSubmit: N,
|
|
167
167
|
catalogManager: Y,
|
|
168
|
-
schedulerManager:
|
|
169
|
-
} =
|
|
168
|
+
schedulerManager: P
|
|
169
|
+
} = he(!1), oe = _e(), ae = m(() => oe.breakpoints.value.xs), se = m(() => {
|
|
170
170
|
var o;
|
|
171
171
|
const r = ((o = y.sessionUser.value) == null ? void 0 : o.permissions) ?? [], t = {
|
|
172
172
|
action: F.Action.manage,
|
|
173
173
|
subject: F.Subject.Business.menu_menuManagement
|
|
174
174
|
};
|
|
175
|
-
return
|
|
176
|
-
}),
|
|
175
|
+
return q([t], r).granted;
|
|
176
|
+
}), U = m(() => {
|
|
177
177
|
var o;
|
|
178
178
|
const r = ((o = y.sessionUser.value) == null ? void 0 : o.permissions) ?? [], t = {
|
|
179
179
|
action: F.Action.manage,
|
|
180
180
|
subject: F.Subject.Business.menu_importExport
|
|
181
181
|
};
|
|
182
|
-
return
|
|
182
|
+
return q([t], r).granted;
|
|
183
183
|
});
|
|
184
184
|
return be().resetOnMount(), (r, t) => {
|
|
185
|
-
const o =
|
|
185
|
+
const o = C("fm-button");
|
|
186
186
|
return l(), c(ve, {
|
|
187
187
|
heading: e(n)("menu.products.title")
|
|
188
188
|
}, {
|
|
@@ -197,16 +197,16 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
197
197
|
d("p", Ae, Z(b.value), 1)
|
|
198
198
|
])
|
|
199
199
|
]),
|
|
200
|
-
d("div",
|
|
200
|
+
d("div", De, [
|
|
201
201
|
ae.value ? (l(), c(G, { key: 1 }, {
|
|
202
202
|
default: _(({ trigger: a }) => [
|
|
203
203
|
u(fe, null, {
|
|
204
204
|
default: _(() => [
|
|
205
|
-
u(
|
|
205
|
+
u(O, {
|
|
206
206
|
label: e(n)("menu.products.actions.export"),
|
|
207
207
|
onClick: k
|
|
208
208
|
}, null, 8, ["label"]),
|
|
209
|
-
u(
|
|
209
|
+
u(O, {
|
|
210
210
|
label: e(n)("menu.products.actions.import"),
|
|
211
211
|
onClick: a
|
|
212
212
|
}, null, 8, ["label", "onClick"])
|
|
@@ -215,32 +215,32 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
215
215
|
}, 1024)
|
|
216
216
|
]),
|
|
217
217
|
_: 1
|
|
218
|
-
})) : (l(),
|
|
218
|
+
})) : (l(), j(R, { key: 0 }, [
|
|
219
219
|
se.value ? (l(), c(xe, { key: 0 }, {
|
|
220
220
|
default: _(({ trigger: a }) => [
|
|
221
221
|
u(o, {
|
|
222
222
|
label: e(n)("menu.tree_editor.title"),
|
|
223
|
-
"bg-color": e(
|
|
224
|
-
"text-color": e(
|
|
223
|
+
"bg-color": e(S).NeutralGray100,
|
|
224
|
+
"text-color": e(S).TypoSecondary,
|
|
225
225
|
variant: e(E).Primary,
|
|
226
226
|
onClick: a
|
|
227
227
|
}, null, 8, ["label", "bg-color", "text-color", "variant", "onClick"])
|
|
228
228
|
]),
|
|
229
229
|
_: 1
|
|
230
230
|
})) : M("", !0),
|
|
231
|
-
|
|
231
|
+
U.value ? (l(), c(o, {
|
|
232
232
|
key: 1,
|
|
233
|
-
"bg-color": e(
|
|
234
|
-
"text-color": e(
|
|
233
|
+
"bg-color": e(S).NeutralGray100,
|
|
234
|
+
"text-color": e(S).TypoSecondary,
|
|
235
235
|
variant: e(E).Primary,
|
|
236
236
|
label: e(n)("menu.products.actions.export"),
|
|
237
237
|
onClick: k
|
|
238
238
|
}, null, 8, ["bg-color", "text-color", "variant", "label"])) : M("", !0),
|
|
239
|
-
|
|
239
|
+
U.value ? (l(), c(G, { key: 2 }, {
|
|
240
240
|
default: _(({ trigger: a }) => [
|
|
241
241
|
u(o, {
|
|
242
|
-
"bg-color": e(
|
|
243
|
-
"text-color": e(
|
|
242
|
+
"bg-color": e(S).NeutralGray100,
|
|
243
|
+
"text-color": e(S).TypoSecondary,
|
|
244
244
|
variant: e(E).Primary,
|
|
245
245
|
label: e(n)("menu.products.actions.import"),
|
|
246
246
|
onClick: a
|
|
@@ -249,20 +249,20 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
249
249
|
_: 1
|
|
250
250
|
})) : M("", !0)
|
|
251
251
|
], 64)),
|
|
252
|
-
b.value > 0 ? (l(),
|
|
253
|
-
|
|
252
|
+
b.value > 0 ? (l(), j(R, { key: 2 }, [
|
|
253
|
+
h.value.create ? (l(), c(T, {
|
|
254
254
|
key: 0,
|
|
255
255
|
label: e(n)("menu.products.actions.add"),
|
|
256
256
|
"prepend-icon": "add",
|
|
257
257
|
onClick: t[0] || (t[0] = (a) => e(f).create(null))
|
|
258
|
-
}, null, 8, ["label"])) : i.value ? (l(), c(
|
|
258
|
+
}, null, 8, ["label"])) : i.value ? (l(), c(W, {
|
|
259
259
|
key: 1,
|
|
260
260
|
"categorized-items": e(Y).linkableItems.value,
|
|
261
261
|
"initial-value": e(Y).currentItems.value,
|
|
262
262
|
"show-variant": !1,
|
|
263
263
|
"menu-items": e(A),
|
|
264
|
-
categories: e(
|
|
265
|
-
"link-item-rules": e(
|
|
264
|
+
categories: e(D),
|
|
265
|
+
"link-item-rules": e(B),
|
|
266
266
|
"no-scheduler": i.value,
|
|
267
267
|
onSubmit: e(N)
|
|
268
268
|
}, {
|
|
@@ -274,14 +274,14 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
274
274
|
}, null, 8, ["label", "onClick"])
|
|
275
275
|
]),
|
|
276
276
|
_: 1
|
|
277
|
-
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (l(), c(
|
|
277
|
+
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (l(), c(W, {
|
|
278
278
|
key: 2,
|
|
279
|
-
"categorized-items": e(
|
|
280
|
-
"initial-value": e(
|
|
279
|
+
"categorized-items": e(P).linkableItems.value,
|
|
280
|
+
"initial-value": e(P).currentItems.value,
|
|
281
281
|
"show-variant": !1,
|
|
282
282
|
"menu-items": e(A),
|
|
283
|
-
categories: e(
|
|
284
|
-
"link-item-rules": e(
|
|
283
|
+
categories: e(D),
|
|
284
|
+
"link-item-rules": e(B),
|
|
285
285
|
"no-scheduler": i.value,
|
|
286
286
|
onSubmit: e(N)
|
|
287
287
|
}, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as G, ref as M, computed as R, onMounted as ie, resolveComponent as $, createElementBlock as V, openBlock as y, createVNode as h, createElementVNode as f, toDisplayString as L, unref as p, Fragment as j, renderList as Q, createBlock as Y, watch as de, withCtx as E, h as T, normalizeClass as re, createCommentVNode as X, createTextVNode as me, mergeProps as $e, normalizeStyle as Ae, renderSlot as Ue, withModifiers as te, onUnmounted as Be } from "vue";
|
|
2
|
-
import { D as z } from "./dayjs.min-
|
|
2
|
+
import { D as z } from "./dayjs.min-DHfnEad1.js";
|
|
3
3
|
import { useRouter as De } from "vue-router";
|
|
4
4
|
import { O as Oe, b as Te } from "./app-5fxKLAzS.js";
|
|
5
|
-
import { z as Ne, D as Re, B as ve, aa as Ee, a2 as be, y as q, u as _e, G as pe, H as Le } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { z as Ne, D as Re, B as ve, aa as Ee, a2 as be, y as q, u as _e, G as pe, H as Le } from "./index.vue_vue_type_script_setup_true_lang-BaJS8yWr.js";
|
|
6
6
|
import { useI18n as Z, useCoreStore as ge, RestaurantSelector as ye } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as ce, useDialogChild as ze, useProxiedModel as je, useDialog as ke, FmButtonVariant as fe, components as W } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as He } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
9
|
-
import { _ as Ce } from "./app-
|
|
9
|
+
import { _ as Ce } from "./app-D8o1IXBC.js";
|
|
10
10
|
import { a as Ye, w as Ke } from "./tooltip-B5BiPMx9.js";
|
|
11
11
|
import { u as we } from "./discardConfirm-BHni0LNu.js";
|
|
12
12
|
import { _ as xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -2,14 +2,14 @@ import { defineComponent as z, computed as h, ref as w, reactive as Q, watch as
|
|
|
2
2
|
import { useI18n as I } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as A, components as j, useDialog as ne, FmButtonVariant as G, 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 { O as q, B as $, G as ie, A as P, H as se, D as B, J as T, y as U, u as H, a2 as re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-D8o1IXBC.js";
|
|
6
|
+
import { O as q, B as $, G as ie, A as P, H as se, D as B, J as T, y as U, u as H, a2 as re } from "./index.vue_vue_type_script_setup_true_lang-BaJS8yWr.js";
|
|
7
7
|
import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.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-BCYTY2mq.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-CumoTkJV.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 f, 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 { d as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { d as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-DvlHPa_5.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 = {
|