@feedmepos/mf-menu 0.32.25 → 0.32.26-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-BhInUoKN.js → App-C-68S5Js.js} +7 -7
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-xgohdhi_.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DMwcLrWU.js} +3 -3
- package/dist/{Catalog-BMuCjiGt.js → Catalog-CJNoCcJq.js} +6 -6
- package/dist/{Category-CyEmotFt.js → Category-BgQDNQaR.js} +6 -6
- package/dist/{Category-DIy0UEip.js → Category-DnqxVJn8.js} +4 -4
- package/dist/CookingGuide-B5pjN87U.js +897 -0
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CZGtvZOY.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BooPj25p.js} +1 -1
- package/dist/{Group-DAxmY3Ck.js → Group-BO1A67ji.js} +3 -3
- package/dist/{Group-zLEjb0xH.js → Group-DUivSad8.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-un8R3wn5.js → Group.vue_vue_type_script_setup_true_lang-B6xJGpxN.js} +8 -8
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DnQrVAcp.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CFYWGtSE.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-V9S39Mvy.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BlQWRtnv.js} +1450 -1450
- package/dist/{Ingredient-IHyWyllE.js → Ingredient-trCkZCeu.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CUOspYLG.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DS3zWi74.js} +2 -2
- package/dist/{LinkProductSideSheet-Ly9aSaWk.js → LinkProductSideSheet-Cv2q4tn-.js} +3 -3
- package/dist/{MenuSetting-DiNAKj-a.js → MenuSetting-BQ8jYr9A.js} +5 -5
- package/dist/PrintRoute-DYzgLPeM.js +421 -0
- package/dist/{Product-BDyKBbJY.js → Product-YBV2jbhH.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-B11gackF.js → Product.vue_vue_type_script_setup_true_lang-D0ckjZbT.js} +12 -12
- package/dist/{ProductInternalTools-BtOQNqCq.js → ProductInternalTools-V-mxz1J7.js} +6 -6
- package/dist/{Products-CwuSlhEt.js → Products-B7JQD1yy.js} +48 -48
- package/dist/{Publish-B7ckvgqb.js → Publish-DDWi1SeO.js} +3 -3
- package/dist/{Recipe-KY-xA5wY.js → Recipe-DM7HKIjo.js} +4 -4
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-CJpwxk9I.js → RuleView.vue_vue_type_script_setup_true_lang-DyVE6RAn.js} +366 -366
- package/dist/{Scheduler-RZWHKI0g.js → Scheduler-BaYFidwx.js} +46 -48
- package/dist/{ServingSequence-CmsfRT5D.js → ServingSequence-CL93hjdN.js} +3 -3
- package/dist/{Setting-OYGSEZus.js → Setting-krD-ZEzt.js} +5 -5
- package/dist/{Subcategory-NU9fdC5-.js → Subcategory-Cf1QJNLz.js} +4 -4
- package/dist/{Takeaway-ZNuKwOhN.js → Takeaway-4RIqxERJ.js} +1 -1
- package/dist/{Takeaway-DjM7dKfV.js → Takeaway-CPT2x245.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BkcD-Lqc.js → Takeaway.vue_vue_type_script_setup_true_lang-CZsGRbj4.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CyJo71sr.js → Thumbnail.vue_vue_type_script_setup_true_lang-De5ZxLui.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Dlr4gHn1.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BM8B116x.js} +14 -14
- package/dist/{Unit-EdC4of9q.js → Unit-CBU2yeBv.js} +2 -2
- package/dist/{Variant-CrNRExr4.js → Variant-CaiofLVX.js} +3 -3
- package/dist/{_id_-CnjXjfz8.js → _id_-C9cH5P4C.js} +9 -9
- package/dist/{app-B_8wJ4F4.js → app-C6OAbEST.js} +1 -1
- package/dist/{app-CJA-WhTq.js → app-dr4L7s0e.js} +26 -26
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-Bvjq9sDQ.js → linked-status-kqf9YF01.js} +2 -2
- package/dist/assets/{menu-export-Cbu0nG8q.js → menu-export-DaWjS0T5.js} +2 -2
- package/dist/assets/{override-menu-_SPLovuD.js → override-menu-C3QQvMx-.js} +2 -2
- package/dist/assets/{validate-menu-SV3sMfRO.js → validate-menu-DPyw2109.js} +2 -2
- package/dist/{catalog-BSNJ6mIG.js → catalog-Cuz7ZRmB.js} +1 -1
- package/dist/{catalogSetting-Fp6VJZUZ.js → catalogSetting-DJFNv3uY.js} +1 -1
- package/dist/{category-Sp4vX_o9.js → category-Bam0rQG0.js} +1 -1
- package/dist/{currency-B6210cWU.js → currency-BlnPQEjW.js} +1 -1
- package/dist/{dayjs.min-BNIAth1A.js → dayjs.min-DJ9q1L6q.js} +1 -1
- package/dist/{index-CfiFRWSa.js → index-BRj2qZrI.js} +1 -1
- package/dist/{index-BYqjVZOi.js → index-DTYy_WLk.js} +4 -4
- package/dist/{index-Lcrmd6Rk.js → index-gGr9vxGG.js} +3 -3
- package/dist/{index.vue_vue_type_script_setup_true_lang-CwDbpnGk.js → index.vue_vue_type_script_setup_true_lang-CN4VSfTe.js} +6 -6
- package/dist/{item-BvsFVAAk.js → item-DCswFfZ7.js} +1524 -1529
- package/dist/{jszip.min-DVk3siNX.js → jszip.min-CDVcb3V1.js} +2 -2
- package/dist/{menu-d0PO1aSx.js → menu-OwE_CglC.js} +1 -1
- package/dist/{menuV2-BCg91Z2l.js → menuV2-DNKAeMnl.js} +91 -91
- package/dist/{priceTier-D8XJ-CyI.js → priceTier-BFqnCFgL.js} +1 -1
- package/dist/{scheduler-BdlqfPaI.js → scheduler-BvI0Ikm5.js} +4 -4
- package/dist/{subcategory-Ll36bics.js → subcategory-BVFmNnWI.js} +2 -2
- package/dist/{toExcel-DuTdzRLV.js → toExcel-BHGmkWkY.js} +2 -2
- package/dist/{unit-BBGppOP0.js → unit-Ft62NFNs.js} +2 -2
- package/package.json +1 -1
- package/dist/CookingGuide-DWgpLwLV.js +0 -896
- package/dist/PrintRoute-wiFmi52b.js +0 -420
|
@@ -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 { Q as re, G as X, u as Z, I as Ie, D as K, J as Oe, a5 as ce, H as le, M as q, A as H } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { Q as re, G as X, u as Z, I as Ie, D as K, J as Oe, a5 as ce, H as le, M as q, A as H } from "./index.vue_vue_type_script_setup_true_lang-CN4VSfTe.js";
|
|
6
6
|
import { _ as Te } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
7
7
|
import { defineStore as Be } 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-DS3zWi74.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-Ft62NFNs.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, H as ze, B as We, a6 as Qe, a as gt, a7 as Ft } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as pt, H as ze, B as We, a6 as Qe, a as gt, a7 as Ft } from "./index.vue_vue_type_script_setup_true_lang-CN4VSfTe.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_4156382e-cd32-4bcd-be98-67ca11417ff6", 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_4156382e-cd32-4bcd-be98-67ca11417ff6", 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", MENU_BACKEND_URL: "https://menu-v4-dev.feedmeapi.com", 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.4.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-ubuntu24", 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: "1937", ACTIONS_ORCHESTRATION_ID: "f71b4102-9b81-4d3c-aa4c-9f9bf9daae22.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: "20260323.65.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2-dev.feedmeapi.com", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15696", 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.8/x64", GITHUB_RUN_ID: "23854592783", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapidev.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "21d334e7366e16b73b61dcadc9a1a6512a5113e3", 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_51281774-49c0-4ed9-84b5-71119a2bf7b7", INVOCATION_ID: "e7ec0133cff846dca73ca847d2ccbfd0", 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: "523", GITHUB_TRIGGERING_ACTOR: "victorchai", 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 1000056937", 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.26-dev", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", GITHUB_SHA: "21d334e7366e16b73b61dcadc9a1a6512a5113e3", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", 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_4156382e-cd32-4bcd-be98-67ca11417ff6", 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_4156382e-cd32-4bcd-be98-67ca11417ff6", 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: "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_4156382e-cd32-4bcd-be98-67ca11417ff6", 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 J, withModifiers as oe, watch as re, renderSlot as pe } from "vue";
|
|
2
|
-
import { u as le, A as ue, I as ee, a5 as ve, J as ie } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as le, A as ue, I as ee, a5 as ve, J as ie } from "./index.vue_vue_type_script_setup_true_lang-CN4VSfTe.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-DNKAeMnl.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-DyVE6RAn.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 B, toDisplayString as A, withModifiers as oe } from "vue";
|
|
2
|
-
import { u as Z, J as K, a5 as ae, G as ne, B as re, I as le } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as Z, J as K, a5 as ae, G as ne, B as re, I as le } from "./index.vue_vue_type_script_setup_true_lang-CN4VSfTe.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-DyVE6RAn.js";
|
|
6
|
+
import { _ as se } from "./app-dr4L7s0e.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 z, a as M } from "./catalogSetting-
|
|
10
|
-
import { u as ge } from "./priceTier-
|
|
9
|
+
import { C as z, a as M } from "./catalogSetting-DJFNv3uY.js";
|
|
10
|
+
import { u as ge } from "./priceTier-BFqnCFgL.js";
|
|
11
11
|
const be = {
|
|
12
12
|
class: "fm-typo-en-title-md-600 mr-auto"
|
|
13
13
|
}, ye = {
|
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
import { defineComponent as J, ref as T, computed as p, resolveComponent as g, createBlock as k, openBlock as c, unref as l, withCtx as _, createElementVNode as d, createVNode as m, createCommentVNode as Q, toDisplayString as P, createElementBlock as M, Fragment as A, renderList as R, h as f, withModifiers as q } from "vue";
|
|
2
|
+
import { useI18n as H } from "@feedmepos/mf-common";
|
|
3
|
+
import { components as W, useBreakpoints as te, useSnackbar as oe, useDialog as ne } from "@feedmepos/ui-library";
|
|
4
|
+
import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
+
import { _ as le } from "./app-dr4L7s0e.js";
|
|
6
|
+
import { I as j, J as re, M as Y, A as V, u as se, Q as ie, G as ue, a5 as de } from "./index.vue_vue_type_script_setup_true_lang-CN4VSfTe.js";
|
|
7
|
+
import { _ as G } from "./RuleView.vue_vue_type_script_setup_true_lang-DyVE6RAn.js";
|
|
8
|
+
import { u as ce } from "./discardConfirm-BHni0LNu.js";
|
|
9
|
+
import { L as me } from "./LinkProductSideSheet-Cv2q4tn-.js";
|
|
10
|
+
import { _ as pe } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
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__ */ J({
|
|
12
|
+
__name: "PrintDepartmentDialog",
|
|
13
|
+
props: {
|
|
14
|
+
categorizedItems: {
|
|
15
|
+
type: Array,
|
|
16
|
+
required: !0
|
|
17
|
+
},
|
|
18
|
+
canApplyItems: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: !0
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
emits: ["onSave"],
|
|
24
|
+
setup(v, { expose: t, emit: x }) {
|
|
25
|
+
const N = v;
|
|
26
|
+
t({
|
|
27
|
+
showModal: O,
|
|
28
|
+
hideModal: S
|
|
29
|
+
});
|
|
30
|
+
function w() {
|
|
31
|
+
return {
|
|
32
|
+
_id: "",
|
|
33
|
+
name: "",
|
|
34
|
+
applyToItems: []
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
const F = T(!1), h = T(void 0);
|
|
38
|
+
function O(s) {
|
|
39
|
+
h.value = s ? j(s) : w(), r.value = j(h.value), F.value = !0;
|
|
40
|
+
}
|
|
41
|
+
function S() {
|
|
42
|
+
F.value = !1;
|
|
43
|
+
}
|
|
44
|
+
const r = T(w());
|
|
45
|
+
function U({ items: s }) {
|
|
46
|
+
r.value = {
|
|
47
|
+
...r.value,
|
|
48
|
+
applyToItems: s.map((o) => o._id)
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function L(s) {
|
|
52
|
+
r.value = {
|
|
53
|
+
...r.value,
|
|
54
|
+
applyToItems: r.value.applyToItems.filter((o) => o !== s)
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
const { t: a } = H(), z = p(() => r.value._id ? a("menu.print_route.department_dialog.update.title") : a("menu.print_route.department_dialog.add.title")), $ = p(() => r.value._id ? a("menu.print_route.department_dialog.update.action") : a("menu.print_route.department_dialog.add.action")), D = p(() => r.value.applyToItems.length), I = p(
|
|
58
|
+
() => r.value.applyToItems.reduce((s, o) => (s[o] = [], s), {})
|
|
59
|
+
), C = T(""), B = p(() => {
|
|
60
|
+
const s = C.value.toLowerCase();
|
|
61
|
+
return N.categorizedItems.reduce((o, b) => {
|
|
62
|
+
const E = b.items.filter(
|
|
63
|
+
(i) => (!s || i.name.toLowerCase().includes(s)) && !!I.value[i._id]
|
|
64
|
+
);
|
|
65
|
+
return E.length && o.push({ ...b, items: E }), o;
|
|
66
|
+
}, []);
|
|
67
|
+
}), e = x, n = ce(
|
|
68
|
+
() => !re.isEqual(h.value, r.value),
|
|
69
|
+
() => {
|
|
70
|
+
F.value = !1;
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
function y() {
|
|
74
|
+
S(), e("onSave", r.value);
|
|
75
|
+
}
|
|
76
|
+
return (s, o) => {
|
|
77
|
+
const b = g("FmTextField"), E = g("FmSpacer"), i = g("FmButton"), X = g("FmSearch"), Z = g("FmSideSheet");
|
|
78
|
+
return c(), k(Z, {
|
|
79
|
+
modelValue: F.value,
|
|
80
|
+
"onUpdate:modelValue": o[3] || (o[3] = (u) => F.value = u),
|
|
81
|
+
header: z.value,
|
|
82
|
+
"max-width": 560,
|
|
83
|
+
"is-container": l(W).FmForm,
|
|
84
|
+
"is-container-props": {
|
|
85
|
+
onValidationSuccess: y,
|
|
86
|
+
blameFormChildOnValidationFailed: !0,
|
|
87
|
+
class: "flex flex-col h-full"
|
|
88
|
+
},
|
|
89
|
+
"onOn:clickedAway": l(n)
|
|
90
|
+
}, {
|
|
91
|
+
"side-sheet-header": _(() => [
|
|
92
|
+
d("span", _e, P(z.value), 1)
|
|
93
|
+
]),
|
|
94
|
+
"side-sheet-footer": _(() => [
|
|
95
|
+
d("div", Ie, [
|
|
96
|
+
m(i, {
|
|
97
|
+
label: $.value,
|
|
98
|
+
size: "lg",
|
|
99
|
+
variant: "primary",
|
|
100
|
+
type: "submit"
|
|
101
|
+
}, null, 8, ["label"]),
|
|
102
|
+
m(i, {
|
|
103
|
+
label: l(a)("menu.print_route.department_dialog.actions.cancel"),
|
|
104
|
+
size: "lg",
|
|
105
|
+
variant: "tertiary",
|
|
106
|
+
onClick: S
|
|
107
|
+
}, null, 8, ["label"])
|
|
108
|
+
])
|
|
109
|
+
]),
|
|
110
|
+
default: _(() => [
|
|
111
|
+
d("div", fe, [
|
|
112
|
+
m(G, {
|
|
113
|
+
title: l(a)("menu.print_route.department_dialog.sections.route_detail.title")
|
|
114
|
+
}, {
|
|
115
|
+
default: _(() => [
|
|
116
|
+
m(b, {
|
|
117
|
+
autofocus: "",
|
|
118
|
+
modelValue: r.value.name,
|
|
119
|
+
"onUpdate:modelValue": o[0] || (o[0] = (u) => r.value.name = u),
|
|
120
|
+
rules: [
|
|
121
|
+
(u) => !!u || l(a)("menu.print_route.department_dialog.sections.route_detail.name.required")
|
|
122
|
+
],
|
|
123
|
+
label: l(a)("menu.print_route.department_dialog.sections.route_detail.name.label"),
|
|
124
|
+
placeholder: l(a)("menu.print_route.department_dialog.sections.route_detail.name.placeholder")
|
|
125
|
+
}, null, 8, ["modelValue", "rules", "label", "placeholder"])
|
|
126
|
+
]),
|
|
127
|
+
_: 1
|
|
128
|
+
}, 8, ["title"]),
|
|
129
|
+
v.canApplyItems ? (c(), k(G, {
|
|
130
|
+
key: 0,
|
|
131
|
+
title: l(a)("menu.print_route.department_dialog.sections.link_product.title")
|
|
132
|
+
}, {
|
|
133
|
+
"append-title": _(() => [
|
|
134
|
+
m(E),
|
|
135
|
+
m(me, {
|
|
136
|
+
"categorized-items": v.categorizedItems,
|
|
137
|
+
"initial-value": r.value.applyToItems.map((u) => ({
|
|
138
|
+
_id: u
|
|
139
|
+
})),
|
|
140
|
+
onSubmit: o[1] || (o[1] = (u) => U(u))
|
|
141
|
+
}, {
|
|
142
|
+
default: _(({ trigger: u }) => [
|
|
143
|
+
m(i, {
|
|
144
|
+
icon: "link",
|
|
145
|
+
label: l(a)("menu.scheduler.dialog.sections.products.link"),
|
|
146
|
+
variant: "secondary",
|
|
147
|
+
"text-color": "primary",
|
|
148
|
+
"border-color": "primary",
|
|
149
|
+
onClick: u
|
|
150
|
+
}, null, 8, ["label", "onClick"])
|
|
151
|
+
]),
|
|
152
|
+
_: 1
|
|
153
|
+
}, 8, ["categorized-items", "initial-value"])
|
|
154
|
+
]),
|
|
155
|
+
default: _(() => [
|
|
156
|
+
d("div", ve, [
|
|
157
|
+
d("div", ye, [
|
|
158
|
+
d("div", ge, P(l(a)("menu.print_route.department_dialog.sections.link_product.products_linked", {
|
|
159
|
+
count: D.value
|
|
160
|
+
})), 1),
|
|
161
|
+
d("div", he, [
|
|
162
|
+
m(X, {
|
|
163
|
+
modelValue: C.value,
|
|
164
|
+
"onUpdate:modelValue": o[2] || (o[2] = (u) => C.value = u),
|
|
165
|
+
placeholder: l(a)("menu.print_route.department_dialog.sections.link_product.search")
|
|
166
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
167
|
+
])
|
|
168
|
+
]),
|
|
169
|
+
d("div", be, [
|
|
170
|
+
(c(!0), M(A, null, R(B.value, (u, ee) => (c(), M("div", {
|
|
171
|
+
key: u.id || ee
|
|
172
|
+
}, [
|
|
173
|
+
d("div", ke, P(u.name), 1),
|
|
174
|
+
(c(!0), M(A, null, R(u.items, (K) => (c(), M("div", {
|
|
175
|
+
key: K._id,
|
|
176
|
+
class: "flex items-center border-b border-b-fm-color-neutral-gray-100"
|
|
177
|
+
}, [
|
|
178
|
+
d("div", xe, P(K.name), 1),
|
|
179
|
+
d("div", Fe, [
|
|
180
|
+
m(i, {
|
|
181
|
+
icon: "delete",
|
|
182
|
+
variant: "tertiary",
|
|
183
|
+
"text-color": "neutral-gray-400",
|
|
184
|
+
onClick: () => L(K._id)
|
|
185
|
+
}, null, 8, ["onClick"])
|
|
186
|
+
])
|
|
187
|
+
]))), 128))
|
|
188
|
+
]))), 128))
|
|
189
|
+
])
|
|
190
|
+
])
|
|
191
|
+
]),
|
|
192
|
+
_: 1
|
|
193
|
+
}, 8, ["title"])) : Q("", !0)
|
|
194
|
+
])
|
|
195
|
+
]),
|
|
196
|
+
_: 1
|
|
197
|
+
}, 8, ["modelValue", "header", "is-container", "is-container-props", "onOn:clickedAway"]);
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
});
|
|
201
|
+
function Ve(v, t) {
|
|
202
|
+
return {
|
|
203
|
+
module: V.F_MENU_MODULE_V4_KEY.enum.printDepartment,
|
|
204
|
+
operation: Y.F_OPERATION_TYPE.create,
|
|
205
|
+
data: V.FdoMenuPrintDepartment.parse(v),
|
|
206
|
+
link: t.map((x) => ({
|
|
207
|
+
module: V.F_MENU_MODULE_V4_KEY.enum.item,
|
|
208
|
+
id: x
|
|
209
|
+
}))
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
function we(v, t) {
|
|
213
|
+
return {
|
|
214
|
+
module: V.F_MENU_MODULE_V4_KEY.enum.printDepartment,
|
|
215
|
+
operation: Y.F_OPERATION_TYPE.update,
|
|
216
|
+
data: V.FdoMenuPrintDepartment.parse(v),
|
|
217
|
+
link: t.map((x) => ({
|
|
218
|
+
module: V.F_MENU_MODULE_V4_KEY.enum.item,
|
|
219
|
+
id: x
|
|
220
|
+
}))
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
function Ee(v) {
|
|
224
|
+
return {
|
|
225
|
+
module: V.F_MENU_MODULE_V4_KEY.enum.printDepartment,
|
|
226
|
+
operation: Y.F_OPERATION_TYPE.delete,
|
|
227
|
+
data: v._id
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
const Te = {
|
|
231
|
+
class: "flex flex-1 justify-end"
|
|
232
|
+
}, Pe = {
|
|
233
|
+
class: "flex justify-end items-center"
|
|
234
|
+
}, Me = {
|
|
235
|
+
class: "grow space-y-4"
|
|
236
|
+
}, Se = {
|
|
237
|
+
class: "fm-typo-en-body-lg-600"
|
|
238
|
+
}, Le = {
|
|
239
|
+
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
240
|
+
}, Ye = /* @__PURE__ */ J({
|
|
241
|
+
__name: "PrintRoute",
|
|
242
|
+
setup(v) {
|
|
243
|
+
const {
|
|
244
|
+
t
|
|
245
|
+
} = H(), x = te(), N = p(() => x.breakpoints.value.xs), w = se(), F = p(() => w.categorizedItems), h = p(() => {
|
|
246
|
+
const e = w.state.menu.modules.item;
|
|
247
|
+
return w.printDepartments.map((y) => ({
|
|
248
|
+
...y,
|
|
249
|
+
applyToItems: e.reduce((s, o) => {
|
|
250
|
+
var b;
|
|
251
|
+
return (b = o.print) != null && b.department.includes(y._id) && s.push(o), s;
|
|
252
|
+
}, [])
|
|
253
|
+
}), []);
|
|
254
|
+
}), O = p(() => h.value.length > 0), S = p(() => [{
|
|
255
|
+
accessorKey: "name",
|
|
256
|
+
header: () => t("menu.print_route.table.columns.name"),
|
|
257
|
+
cell: (e) => e.getValue(),
|
|
258
|
+
enableSorting: !1
|
|
259
|
+
}, {
|
|
260
|
+
accessorKey: "applyToItems",
|
|
261
|
+
header: () => t("menu.print_route.table.columns.products"),
|
|
262
|
+
cell: (e) => {
|
|
263
|
+
const n = e.getValue();
|
|
264
|
+
return t("menu.print_route.table.columns.products_count", {
|
|
265
|
+
count: n.length
|
|
266
|
+
});
|
|
267
|
+
},
|
|
268
|
+
enableSorting: !1
|
|
269
|
+
}, {
|
|
270
|
+
accessorKey: "_id",
|
|
271
|
+
header: "",
|
|
272
|
+
size: 52,
|
|
273
|
+
meta: {
|
|
274
|
+
cellClass: "pl-16",
|
|
275
|
+
headerContentClass: "-mx-16"
|
|
276
|
+
},
|
|
277
|
+
enableSorting: !1,
|
|
278
|
+
cell: (e) => f("div", {
|
|
279
|
+
class: "flex justify-end"
|
|
280
|
+
}, [f(W.FmButton, {
|
|
281
|
+
icon: "delete",
|
|
282
|
+
textColor: "neutral-gray-400",
|
|
283
|
+
variant: "tertiary",
|
|
284
|
+
onClick: q(() => {
|
|
285
|
+
D(e.row.original);
|
|
286
|
+
}, ["stop", "prevent"])
|
|
287
|
+
})])
|
|
288
|
+
}]);
|
|
289
|
+
function r() {
|
|
290
|
+
var e;
|
|
291
|
+
a.value || (e = C.value) == null || e.showModal();
|
|
292
|
+
}
|
|
293
|
+
function U(e) {
|
|
294
|
+
var n;
|
|
295
|
+
a.value || (n = C.value) == null || n.showModal({
|
|
296
|
+
...e,
|
|
297
|
+
applyToItems: e.applyToItems.map(({
|
|
298
|
+
_id: y
|
|
299
|
+
}) => y)
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
const L = ie(ue(oe())), a = p(() => L.checkMenuIsLoading());
|
|
303
|
+
async function z(e) {
|
|
304
|
+
const n = e._id ? we(e, e.applyToItems) : Ve(e, e.applyToItems);
|
|
305
|
+
await L.updateMenu(n, e.name);
|
|
306
|
+
}
|
|
307
|
+
const $ = ne();
|
|
308
|
+
function D(e) {
|
|
309
|
+
let n = [f("span", t("menu.print_route.dialogs.remove.message.prefix")), f("span", {
|
|
310
|
+
class: "fm-typo-en-body-lg-600"
|
|
311
|
+
}, e.name), f("span", "?")];
|
|
312
|
+
e.applyToItems.length && (n = [f("span", t("menu.print_route.dialogs.remove.message.products_using")), f("span", {
|
|
313
|
+
class: "fm-typo-en-body-lg-600"
|
|
314
|
+
}, e.applyToItems.length), f("span", t("menu.print_route.dialogs.remove.message.products_count")), ...n, f("div", {
|
|
315
|
+
class: "mt-8 fm-typo-en-body-md-400"
|
|
316
|
+
}, e.applyToItems.map((y) => f("li", {
|
|
317
|
+
class: "mt-4"
|
|
318
|
+
}, y.name)))]), $.open({
|
|
319
|
+
title: t("menu.print_route.dialogs.remove.title"),
|
|
320
|
+
contentComponent: f("div", n),
|
|
321
|
+
primaryActions: {
|
|
322
|
+
text: t("menu.print_route.actions.remove"),
|
|
323
|
+
close: !0,
|
|
324
|
+
variant: "destructive"
|
|
325
|
+
},
|
|
326
|
+
secondaryActions: {
|
|
327
|
+
text: t("menu.print_route.actions.cancel"),
|
|
328
|
+
close: !0
|
|
329
|
+
}
|
|
330
|
+
}).onPrimary(async () => {
|
|
331
|
+
await L.updateMenu(Ee(e), e.name, !0);
|
|
332
|
+
});
|
|
333
|
+
}
|
|
334
|
+
const I = T(""), C = T(), B = p(() => {
|
|
335
|
+
if (!I.value) return h.value;
|
|
336
|
+
const e = I.value.toLowerCase();
|
|
337
|
+
return h.value.filter((n) => n.name.toLowerCase().includes(e));
|
|
338
|
+
});
|
|
339
|
+
return (e, n) => {
|
|
340
|
+
const y = g("FmSearch"), s = g("FmTable"), o = g("FmButton"), b = g("FmListItem"), E = g("FmList");
|
|
341
|
+
return c(), k(pe, {
|
|
342
|
+
heading: l(t)("menu.print_route.title")
|
|
343
|
+
}, {
|
|
344
|
+
"append-heading": _(() => [d("div", Te, [O.value ? (c(), k(ae, {
|
|
345
|
+
key: 0,
|
|
346
|
+
disabled: a.value,
|
|
347
|
+
icon: "add",
|
|
348
|
+
label: l(t)("menu.print_route.actions.add"),
|
|
349
|
+
variant: "primary",
|
|
350
|
+
onClick: r
|
|
351
|
+
}, null, 8, ["disabled", "label"])) : Q("", !0)])]),
|
|
352
|
+
default: _(() => [O.value ? (c(), M(A, {
|
|
353
|
+
key: 1
|
|
354
|
+
}, [d("div", Pe, [m(y, {
|
|
355
|
+
autofocus: "",
|
|
356
|
+
modelValue: I.value,
|
|
357
|
+
"onUpdate:modelValue": n[0] || (n[0] = (i) => I.value = i),
|
|
358
|
+
class: "my-8 w-[320px] xs:w-full xs:px-16",
|
|
359
|
+
placeholder: l(t)("menu.print_route.table.search.placeholder")
|
|
360
|
+
}, null, 8, ["modelValue", "placeholder"])]), N.value ? (c(), k(E, {
|
|
361
|
+
key: 1,
|
|
362
|
+
class: "w-full px-16 flex-1 min-h-0 overflow-scroll pb-64",
|
|
363
|
+
separator: ""
|
|
364
|
+
}, {
|
|
365
|
+
default: _(() => [(c(!0), M(A, null, R(B.value, (i) => (c(), k(b, {
|
|
366
|
+
key: i._id,
|
|
367
|
+
label: i.name,
|
|
368
|
+
style: {
|
|
369
|
+
padding: "12px 0 !important"
|
|
370
|
+
},
|
|
371
|
+
onClick: () => U(i)
|
|
372
|
+
}, {
|
|
373
|
+
default: _(() => [d("div", Me, [d("div", Se, P(i.name), 1), d("div", Le, P(l(t)("menu.print_route.table.mobile.products_linked", {
|
|
374
|
+
count: i.applyToItems.length
|
|
375
|
+
})), 1)]), m(o, {
|
|
376
|
+
disabled: a.value,
|
|
377
|
+
icon: "delete",
|
|
378
|
+
variant: "tertiary",
|
|
379
|
+
"text-color": "neutral-gray-400",
|
|
380
|
+
onClick: q(() => D(i), ["stop"])
|
|
381
|
+
}, null, 8, ["disabled", "onClick"])]),
|
|
382
|
+
_: 2
|
|
383
|
+
}, 1032, ["label", "onClick"]))), 128))]),
|
|
384
|
+
_: 1
|
|
385
|
+
})) : (c(), k(le, {
|
|
386
|
+
key: 0
|
|
387
|
+
}, {
|
|
388
|
+
default: _(() => [m(s, {
|
|
389
|
+
"column-defs": S.value,
|
|
390
|
+
loading: a.value,
|
|
391
|
+
"page-size": h.value.length,
|
|
392
|
+
"row-data": h.value,
|
|
393
|
+
"search-value": I.value,
|
|
394
|
+
shrinkAt: !1,
|
|
395
|
+
"hide-footer": "",
|
|
396
|
+
"pin-header-row": "",
|
|
397
|
+
onRowClick: n[1] || (n[1] = (i) => U(i.original))
|
|
398
|
+
}, null, 8, ["column-defs", "loading", "page-size", "row-data", "search-value"])]),
|
|
399
|
+
_: 1
|
|
400
|
+
}))], 64)) : (c(), k(l(de), {
|
|
401
|
+
key: 0,
|
|
402
|
+
action: {
|
|
403
|
+
text: l(t)("menu.print_route.empty.action"),
|
|
404
|
+
callback: r
|
|
405
|
+
},
|
|
406
|
+
subtitle: l(t)("menu.print_route.empty.subtitle"),
|
|
407
|
+
title: l(t)("menu.print_route.empty.title")
|
|
408
|
+
}, null, 8, ["action", "subtitle", "title"])), m(Ce, {
|
|
409
|
+
ref_key: "printDepartmentRef",
|
|
410
|
+
ref: C,
|
|
411
|
+
"categorized-items": F.value,
|
|
412
|
+
onOnSave: z
|
|
413
|
+
}, null, 8, ["categorized-items"])]),
|
|
414
|
+
_: 1
|
|
415
|
+
}, 8, ["heading"]);
|
|
416
|
+
};
|
|
417
|
+
}
|
|
418
|
+
});
|
|
419
|
+
export {
|
|
420
|
+
Ye as default
|
|
421
|
+
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { ref as F, computed as h, defineComponent as N, resolveComponent as O, createBlock as I, openBlock as m, withCtx as T, createElementVNode as g, createVNode as d, unref as a, createElementBlock as k, Fragment as pe, renderList as we, createCommentVNode as M, normalizeClass as ve, toDisplayString as K, withModifiers as fe, mergeModels as Ze, useModel as Xe, renderSlot as _e, watch as de, createTextVNode as et, watchEffect as tt, nextTick as Ae, resolveDynamicComponent as lt, onMounted as at, h as W, isRef as je, normalizeStyle as ft } from "vue";
|
|
2
|
-
import { u as Fe, T as Ce, B as me, I as Re, J as ge, W as gt, af as bt, ag as _t, ah as Pe, ai as yt, R as ht, a5 as be, aj as Ee } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as Fe, T as Ce, B as me, I as Re, J as ge, W as gt, af as bt, ag as _t, ah as Pe, ai as yt, R as ht, a5 as be, aj as Ee } from "./index.vue_vue_type_script_setup_true_lang-CN4VSfTe.js";
|
|
3
3
|
import { useI18n as Ie, useCoreStore as ze, useCustomAttributes as xt } from "@feedmepos/mf-common";
|
|
4
|
-
import { u as Se } from "./menu-
|
|
5
|
-
import { L as Ge } from "./LinkProductSideSheet-
|
|
6
|
-
import { r as Ct, _ as Le } from "./index-
|
|
7
|
-
import { _ as Me, a as We } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as Ue, u as kt } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { f as wt, o as St, a as Vt, m as Ft } from "./menuV2-
|
|
10
|
-
import { u as ot, C as It } from "./item-
|
|
4
|
+
import { u as Se } from "./menu-OwE_CglC.js";
|
|
5
|
+
import { L as Ge } from "./LinkProductSideSheet-Cv2q4tn-.js";
|
|
6
|
+
import { r as Ct, _ as Le } from "./index-BRj2qZrI.js";
|
|
7
|
+
import { _ as Me, a as We } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-BooPj25p.js";
|
|
8
|
+
import { _ as Ue, u as kt } from "./Thumbnail.vue_vue_type_script_setup_true_lang-De5ZxLui.js";
|
|
9
|
+
import { f as wt, o as St, a as Vt, m as Ft } from "./menuV2-DNKAeMnl.js";
|
|
10
|
+
import { u as ot, C as It } from "./item-DCswFfZ7.js";
|
|
11
11
|
import { b as qe, H as $t } from "./app-5fxKLAzS.js";
|
|
12
12
|
import { useBreakpoints as rt, components as te, useDialog as Tt, FmButtonColorThemeVariant as q, FmButtonVariant as ee } from "@feedmepos/ui-library";
|
|
13
13
|
import { F as Pt } from "./index-CisutoS9.js";
|
|
14
|
-
import { _ as De, a as At } from "./app-
|
|
14
|
+
import { _ as De, a as At } from "./app-dr4L7s0e.js";
|
|
15
15
|
import { _ as ke } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
16
|
-
import { _ as Rt } from "./index-
|
|
17
|
-
import { r as Mt, _ as Ut } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
16
|
+
import { _ as Rt } from "./index-DTYy_WLk.js";
|
|
17
|
+
import { r as Mt, _ as Ut } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-BlQWRtnv.js";
|
|
18
18
|
import { c as zt } from "./check-C9mY6LiX.js";
|
|
19
|
-
import { f as Dt } from "./currency-
|
|
19
|
+
import { f as Dt } from "./currency-BlnPQEjW.js";
|
|
20
20
|
import { w as Ot } from "./tooltip-B5BiPMx9.js";
|
|
21
21
|
function Bt(C, e, i = C) {
|
|
22
22
|
const n = F(!0), t = 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 { G as le, u as ie, J as D, a2 as re, N as ce, O as de, P as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { J as A, F as ne } from "./jszip.min-CDVcb3V1.js";
|
|
3
|
+
import { G as le, u as ie, J as D, a2 as re, N as ce, O as de, P as me } from "./index.vue_vue_type_script_setup_true_lang-CN4VSfTe.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 M } 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 { t as be, v as ve, w as _e } from "./item-
|
|
7
|
+
import { u as fe, a as he } from "./menu-OwE_CglC.js";
|
|
8
|
+
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-D0ckjZbT.js";
|
|
9
|
+
import { t as be, v as ve, w as _e } from "./item-DCswFfZ7.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 qe = { firebase: { storageBucket: "image.
|
|
154
|
+
var qe = { firebase: { storageBucket: "image.feedmedev.cc" } };
|
|
155
155
|
const He = {
|
|
156
156
|
key: 0,
|
|
157
157
|
class: "h-screen"
|