@feedmepos/mf-menu 0.32.42-dev.2 → 0.32.43-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-DyZQZRjQ.js → App-CrjDDWL_.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-Dmc7Gawc.js → ApplyProduct.vue_vue_type_script_setup_true_lang-C9_vvfQ0.js} +3 -3
- package/dist/{Catalog-DJK-TFnH.js → Catalog-B0smQVC5.js} +6 -6
- package/dist/{Category-BuI4C-2a.js → Category--CBhhHgr.js} +4 -4
- package/dist/{Category-CPzzDgEf.js → Category-CRnTrk7Z.js} +5 -5
- package/dist/{CookingGuide-DUhJyB8k.js → CookingGuide-pLzJqj05.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CNFPeZwz.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BescRkpm.js} +1 -1
- package/dist/{Group-B3FUEieg.js → Group-BoVi0Rcg.js} +3 -3
- package/dist/{Group-BOzJII7-.js → Group-h2MxylAR.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DnkI2_Oa.js → Group.vue_vue_type_script_setup_true_lang-DoSZp0U5.js} +8 -8
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-KRANAiR_.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CBOntQef.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Dossu1rN.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DshK6DwV.js} +7 -7
- package/dist/{Ingredient-D2ikFdFk.js → Ingredient-DjZmix9T.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-C_8s8d6S.js → InventoryBinding.vue_vue_type_script_setup_true_lang-fSRrfMjQ.js} +2 -2
- package/dist/{LinkProductSideSheet-D4rj-g7A.js → LinkProductSideSheet-1CEGjcHq.js} +3 -3
- package/dist/{MenuSetting-DoLdFE5R.js → MenuSetting-umNE52d9.js} +5 -5
- package/dist/{PrintRoute-CCmnaHAm.js → PrintRoute-BnFG1IjW.js} +4 -4
- package/dist/{Product-BN6HXtCO.js → Product-B_FPUoEN.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-C0G-qKY-.js → Product.vue_vue_type_script_setup_true_lang-Bs8eI9g5.js} +26 -26
- package/dist/{ProductInternalTools-C0z1uq-O.js → ProductInternalTools-Bp2gz3QJ.js} +5 -5
- package/dist/Products-Ddtfvm7l.js +307 -0
- package/dist/{Publish-CH1SAEmF.js → Publish-C0W6ofjm.js} +3 -3
- package/dist/{Recipe-Bv7Xvvig.js → Recipe-BhnMIcc7.js} +4 -4
- package/dist/RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-D9VL-PzK.js +144 -0
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-yK04zs8F.js → RuleView.vue_vue_type_script_setup_true_lang-Bj4O3uSe.js} +2 -2
- package/dist/{Scheduler-34IfrdGd.js → Scheduler-BRwPYceV.js} +3 -3
- package/dist/{ServingSequence-BZV2R5sJ.js → ServingSequence-MObSgHV2.js} +3 -3
- package/dist/{Setting-C2tFfdTn.js → Setting-D7jNJPYo.js} +5 -5
- package/dist/{Subcategory-867aDkMq.js → Subcategory-D0i9wZms.js} +6 -6
- package/dist/{Takeaway-DA67zMKW.js → Takeaway-B0rN8xm3.js} +1 -1
- package/dist/{Takeaway-DG6W-5rb.js → Takeaway-DSZV63GV.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-oTjvIuW5.js → Takeaway.vue_vue_type_script_setup_true_lang-jLe2HU1c.js} +6 -6
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-XOx8U70f.js → Thumbnail.vue_vue_type_script_setup_true_lang-b_0rh_qC.js} +4 -4
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-CaWVsB5J.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-CHTaPIEV.js} +68 -66
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DKveCAMk.js +5767 -0
- package/dist/{Unit-BrnUnuKe.js → Unit-D8r8gc_c.js} +2 -2
- package/dist/{Variant-DNqNIjGo.js → Variant-x9Q2azsr.js} +4 -4
- package/dist/{_id_-C3f3DoB2.js → _id_-BwgaCrRc.js} +9 -9
- package/dist/{app-B-QXUPPG.js → app-D8DICtN-.js} +1 -1
- package/dist/app-ProVGxGi.js +2286 -0
- package/dist/app.js +2 -2
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-dZQn0E-t.js → linked-status-Ck-5QNWw.js} +2 -2
- package/dist/assets/{menu-export-DjmfmMlF.js → menu-export-CCvx9iiX.js} +2 -2
- package/dist/assets/{override-menu-VI40pTYL.js → override-menu-y10fUcKT.js} +2 -2
- package/dist/assets/{validate-menu-Bx6Q4XmI.js → validate-menu-Dw-TOpPc.js} +2 -2
- package/dist/{catalog-lpCtSLwi.js → catalog-Bzeh9lHl.js} +1 -1
- package/dist/{catalogSetting-CjkTvvES.js → catalogSetting-WYVwRyqN.js} +1 -1
- package/dist/{currency-CvxKEiUE.js → currency-CkevBlpn.js} +1 -1
- package/dist/{dayjs.min-CIOb7sxL.js → dayjs.min-DcCQ_MAV.js} +2 -2
- package/dist/{index-D2CiC7yd.js → index-BIvW0NKj.js} +6 -6
- package/dist/index-r4bszgqF.js +545 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-DJ_7qEQX.js → index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js} +5 -5
- package/dist/{item-BpsW9Dh2.js → item-CDOMAerF.js} +2587 -2587
- package/dist/{jszip.min-Cu3w0lqa.js → jszip.min-CaR1xyCC.js} +3 -3
- package/dist/{menu-BDPvT1K5.js → menu-vnpCb5nt.js} +1 -1
- package/dist/{menuV2-D_qXpcQq.js → menuV2-wfldXb10.js} +42 -42
- package/dist/packages/shared/src/helpers/actionButton.d.ts +2 -2
- package/dist/{priceTier-BfGUaC4W.js → priceTier-BgYIRc-s.js} +1 -1
- package/dist/{rules-Dyypmwof.js → rules-XWOGU9mA.js} +4 -4
- package/dist/{scheduler-4eaMAOaq.js → scheduler-B7oIfXlC.js} +4 -4
- package/dist/{toExcel-BBKjTeeK.js → toExcel-DMfq-sYZ.js} +2 -2
- package/dist/{translation-Cdap0IVg.js → translation-BCZ1Ruvv.js} +35 -21
- package/dist/{unit-gujLoxgg.js → unit-BicSjw1Q.js} +2 -2
- package/package.json +2 -2
- package/dist/Products-TpbvQRuF.js +0 -334
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-EvzBnFBA.js +0 -6130
- package/dist/app-C6mqBuy7.js +0 -1643
- package/dist/index-ByYyYErE.js +0 -246
- package/dist/index-vQOhdIJK.js +0 -545
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as ct, g as Bt } from "./app-
|
|
2
|
-
import { a1 as wt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { c as ct, g as Bt } from "./app-ProVGxGi.js";
|
|
2
|
+
import { a1 as wt } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
|
|
3
3
|
var yt = { exports: {} }, Nt = yt.exports, It;
|
|
4
4
|
function Dt() {
|
|
5
5
|
return It || (It = 1, function(kt, Ot) {
|
|
@@ -74,7 +74,7 @@ function Dt() {
|
|
|
74
74
|
var Mt = Dt(), At = { exports: {} }, Rt;
|
|
75
75
|
function Ut() {
|
|
76
76
|
return Rt || (Rt = 1, function(kt, Ot) {
|
|
77
|
-
var gt = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/
|
|
77
|
+
var gt = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_cc20e2fd-e96d-42b3-99e5-06d39d43943d", 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_cc20e2fd-e96d-42b3-99e5-06d39d43943d", 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.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-rsrq3ogsuq-as.a.run.app", VITE_FEATURE_FLAG_API_KEY: "MaGoXrEWuEJNpWgKTqseee", SYSTEMD_EXEC_PID: "1851", ACTIONS_ORCHESTRATION_ID: "32e52943-4dae-4899-8b70-876fb3b9c03f.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-dev.feedmeapi.com", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13583", 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.10/x64", GITHUB_RUN_ID: "25856707052", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapidev.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "a81a3fbb05446934b84068d2a118e6934ae76ed5", 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_29671d36-9e61-43df-9c3d-44cbee21dc3c", INVOCATION_ID: "b6161e0ec647444a9033a97675b1af2f", 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: "554", 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 1000068899", 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.43-dev", 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: "a81a3fbb05446934b84068d2a118e6934ae76ed5", 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_cc20e2fd-e96d-42b3-99e5-06d39d43943d", 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_cc20e2fd-e96d-42b3-99e5-06d39d43943d", 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_cc20e2fd-e96d-42b3-99e5-06d39d43943d", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
|
|
78
78
|
/*!
|
|
79
79
|
|
|
80
80
|
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as n, onMounted as d, onBeforeUnmount as m } from "vue";
|
|
2
|
-
import { u as c } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as c } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
|
|
3
3
|
import "@feedmepos/mf-common";
|
|
4
4
|
import "@feedmepos/ui-library";
|
|
5
5
|
function p() {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var We = Object.defineProperty;
|
|
2
2
|
var Le = (e, t, n) => t in e ? We(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var ne = (e, t, n) => Le(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { I as ae, G as C, A as T, y as ue, an as re, J as G, H as ie, ab as x, c as L, Y as D, ak as oe, ao as qe, ap as ze, z as Ge, ad as He, aq as Be, ar as Je, aa as Ye } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { I as ae, G as C, A as T, y as ue, an as re, J as G, H as ie, ab as x, c as L, Y as D, ak as oe, ao as qe, ap as ze, z as Ge, ad as He, aq as Be, ar as Je, aa as Ye } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
|
|
5
5
|
import { defineStore as Qe } from "pinia";
|
|
6
|
-
import { shallowRef as N, ref as H, computed as S, shallowReactive as
|
|
6
|
+
import { shallowRef as N, ref as H, computed as S, shallowReactive as Xe, effectScope as Ze, watch as et } from "vue";
|
|
7
7
|
import { useCoreStore as se } from "@feedmepos/mf-common";
|
|
8
8
|
import { useSnackbar as tt } from "@feedmepos/ui-library";
|
|
9
|
-
const nt = "/assets/linked-status-
|
|
9
|
+
const nt = "/assets/linked-status-Ck-5QNWw.js", rt = "/assets/override-menu-y10fUcKT.js";
|
|
10
10
|
function ot(e) {
|
|
11
11
|
var o;
|
|
12
12
|
const t = C(e), n = (o = t.variant) == null ? void 0 : o.variantCombinations;
|
|
@@ -204,7 +204,7 @@ async function ce(e, t, n) {
|
|
|
204
204
|
schedulerId: n
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function Kt(e, t, n) {
|
|
208
208
|
const o = /* @__PURE__ */ new Set();
|
|
209
209
|
function r(u, l) {
|
|
210
210
|
if (!e || !u || !l || o.has(l)) return !1;
|
|
@@ -219,7 +219,7 @@ function Ft(e, t, n) {
|
|
|
219
219
|
}
|
|
220
220
|
return r(t, n);
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function Ft(e, t, n) {
|
|
223
223
|
const o = /* @__PURE__ */ new Set();
|
|
224
224
|
function r(u, l) {
|
|
225
225
|
if (!e || !u || !l || o.has(u)) return !1;
|
|
@@ -254,9 +254,9 @@ async function Pt(e, t, n) {
|
|
|
254
254
|
const i = (l = c.items) == null ? void 0 : l.find((p) => p._id === n && !p.combinationKey), f = e.modules.item.find((p) => p._id === n);
|
|
255
255
|
if (i) {
|
|
256
256
|
const p = (a = c.items) == null ? void 0 : a.filter((y) => y._id === n && y.combinationKey), v = [i, ...p].map((y) => {
|
|
257
|
-
var w,
|
|
258
|
-
const h = y.combinationKey ? (
|
|
259
|
-
(
|
|
257
|
+
var w, k;
|
|
258
|
+
const h = y.combinationKey ? (k = (w = f == null ? void 0 : f.variant) == null ? void 0 : w.variantCombinations) == null ? void 0 : k.find(
|
|
259
|
+
(I) => I.combinationKey === y.combinationKey
|
|
260
260
|
) : f, b = h && f ? u(f, h) : y;
|
|
261
261
|
return u(b, y);
|
|
262
262
|
});
|
|
@@ -268,7 +268,7 @@ async function Pt(e, t, n) {
|
|
|
268
268
|
}
|
|
269
269
|
return r;
|
|
270
270
|
}
|
|
271
|
-
const M = 0,
|
|
271
|
+
const M = 0, K = 3;
|
|
272
272
|
function ct(e) {
|
|
273
273
|
const t = /^\/(.*)\/([gimyu]*)$/.exec(e.toString());
|
|
274
274
|
if (!t)
|
|
@@ -297,7 +297,7 @@ function P(e) {
|
|
|
297
297
|
function E(e) {
|
|
298
298
|
return typeof e == "object" && e !== null && !Array.isArray(e) && !(e instanceof Date) && !(e instanceof RegExp);
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function F(e, t) {
|
|
301
301
|
if (e === t) return !0;
|
|
302
302
|
if (typeof e != typeof t) return !1;
|
|
303
303
|
if (e instanceof Date && t instanceof Date)
|
|
@@ -307,14 +307,14 @@ function K(e, t) {
|
|
|
307
307
|
if (Array.isArray(e) && Array.isArray(t)) {
|
|
308
308
|
if (e.length !== t.length) return !1;
|
|
309
309
|
for (let n = 0; n < e.length; n++)
|
|
310
|
-
if (!
|
|
310
|
+
if (!F(e[n], t[n])) return !1;
|
|
311
311
|
return !0;
|
|
312
312
|
}
|
|
313
313
|
if (E(e) && E(t)) {
|
|
314
314
|
const n = Object.keys(e), o = Object.keys(t);
|
|
315
315
|
if (n.length !== o.length) return !1;
|
|
316
316
|
for (const r of n)
|
|
317
|
-
if (!Object.prototype.hasOwnProperty.call(t, r) || !
|
|
317
|
+
if (!Object.prototype.hasOwnProperty.call(t, r) || !F(e[r], t[r])) return !1;
|
|
318
318
|
return !0;
|
|
319
319
|
}
|
|
320
320
|
return !1;
|
|
@@ -330,7 +330,7 @@ function lt(e, t, n) {
|
|
|
330
330
|
const i = e[c], f = n ? n(i) : JSON.stringify(i), p = u.get(f);
|
|
331
331
|
if (p) {
|
|
332
332
|
for (const v of p)
|
|
333
|
-
if (!a.has(v) &&
|
|
333
|
+
if (!a.has(v) && F(i, t[v])) {
|
|
334
334
|
l.push({ leftIndex: c, rightIndex: v }), a.add(v);
|
|
335
335
|
break;
|
|
336
336
|
}
|
|
@@ -340,7 +340,7 @@ function lt(e, t, n) {
|
|
|
340
340
|
}
|
|
341
341
|
function dt(e, t, n) {
|
|
342
342
|
var v, y;
|
|
343
|
-
if (
|
|
343
|
+
if (F(e, t)) return;
|
|
344
344
|
const o = { _t: "a" }, r = ((v = n == null ? void 0 : n.arrays) == null ? void 0 : v.detectMove) !== !1, u = ((y = n == null ? void 0 : n.arrays) == null ? void 0 : y.includeValueOnMove) === !0, l = n == null ? void 0 : n.objectHash;
|
|
345
345
|
let a = r ? lt(e, t, l) : [];
|
|
346
346
|
if (!l && e.length === t.length && e.length > 0 && a.length < e.length) {
|
|
@@ -360,8 +360,8 @@ function dt(e, t, n) {
|
|
|
360
360
|
if (b !== void 0) {
|
|
361
361
|
const w = J(e[h], t[b], n);
|
|
362
362
|
if (w !== void 0 && (o[b] = w), r && b !== h) {
|
|
363
|
-
const
|
|
364
|
-
o[
|
|
363
|
+
const k = `_${h}`, I = u ? [e[h], b, K] : ["", b, K];
|
|
364
|
+
o[k] = I;
|
|
365
365
|
}
|
|
366
366
|
} else {
|
|
367
367
|
const w = `_${h}`;
|
|
@@ -375,7 +375,7 @@ function dt(e, t, n) {
|
|
|
375
375
|
return o;
|
|
376
376
|
}
|
|
377
377
|
function ft(e, t, n) {
|
|
378
|
-
if (
|
|
378
|
+
if (F(e, t)) return;
|
|
379
379
|
const o = {}, r = Object.keys(e), u = Object.keys(t), l = /* @__PURE__ */ new Set([...r, ...u]);
|
|
380
380
|
for (const a of l) {
|
|
381
381
|
if (n != null && n.propertyFilter && !n.propertyFilter(a, { left: e, right: t }))
|
|
@@ -392,7 +392,7 @@ function ft(e, t, n) {
|
|
|
392
392
|
return Object.keys(o).length > 0 ? o : void 0;
|
|
393
393
|
}
|
|
394
394
|
function J(e, t, n) {
|
|
395
|
-
if (
|
|
395
|
+
if (F(e, t)) return;
|
|
396
396
|
if (e === void 0 && t !== void 0) {
|
|
397
397
|
const a = n != null && n.cloneDiffValues ? O(t) : t;
|
|
398
398
|
return [P(a)];
|
|
@@ -416,7 +416,7 @@ function vt(e, t, n) {
|
|
|
416
416
|
for (const a in t) {
|
|
417
417
|
if (a === "_t" || !a.startsWith("_")) continue;
|
|
418
418
|
const c = parseInt(a.slice(1)), i = t[a];
|
|
419
|
-
Array.isArray(i) && (i.length === 3 && i[2] === M ? o.add(c) : i.length === 3 && i[2] ===
|
|
419
|
+
Array.isArray(i) && (i.length === 3 && i[2] === M ? o.add(c) : i.length === 3 && i[2] === K && r.set(c, i[1]));
|
|
420
420
|
}
|
|
421
421
|
const u = [];
|
|
422
422
|
let l = 0;
|
|
@@ -481,9 +481,9 @@ function pt(e) {
|
|
|
481
481
|
if (Array.isArray(r)) {
|
|
482
482
|
if (r.length === 3 && r[2] === M)
|
|
483
483
|
t[o] = [r[0]];
|
|
484
|
-
else if (r.length === 3 && r[2] ===
|
|
484
|
+
else if (r.length === 3 && r[2] === K) {
|
|
485
485
|
const u = r[1];
|
|
486
|
-
t[`_${u}`] = [r[0], o,
|
|
486
|
+
t[`_${u}`] = [r[0], o, K];
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
489
|
} else {
|
|
@@ -519,7 +519,7 @@ function Q(e) {
|
|
|
519
519
|
return [e[1], e[0]];
|
|
520
520
|
if (e.length === 3 && e[2] === M)
|
|
521
521
|
return [e[0]];
|
|
522
|
-
if (e.length === 3 && e[2] ===
|
|
522
|
+
if (e.length === 3 && e[2] === K)
|
|
523
523
|
return e;
|
|
524
524
|
}
|
|
525
525
|
return E(e) && e._t === "a" ? pt(e) : E(e) ? ht(e) : e;
|
|
@@ -667,7 +667,7 @@ function Mt() {
|
|
|
667
667
|
const $t = Qe(
|
|
668
668
|
"mf-menu-store-v2",
|
|
669
669
|
() => {
|
|
670
|
-
const e =
|
|
670
|
+
const e = Xe(Mt()), t = se(), n = tt(), o = S(() => e.menu.modules.serveSequence ? x(e.menu.modules.serveSequence, {
|
|
671
671
|
selector: "position"
|
|
672
672
|
}) : []), r = S(() => {
|
|
673
673
|
var s;
|
|
@@ -728,16 +728,16 @@ const $t = Qe(
|
|
|
728
728
|
return p.value = d, v.value = !1, y.value = y.value + 1, d;
|
|
729
729
|
}
|
|
730
730
|
const w = ie.debounce(h, 200);
|
|
731
|
-
let
|
|
732
|
-
function
|
|
733
|
-
|
|
731
|
+
let k = null, I = null;
|
|
732
|
+
function X() {
|
|
733
|
+
I && (I(), I = null), k && k.stop(), k = Ze(!0), I = k.run(() => et(
|
|
734
734
|
() => [e.menu, e.currentCatalogId, e.currentSchedulerId],
|
|
735
735
|
() => {
|
|
736
736
|
v.value || w();
|
|
737
737
|
}
|
|
738
738
|
)) || null;
|
|
739
739
|
}
|
|
740
|
-
|
|
740
|
+
X();
|
|
741
741
|
const me = S(() => [
|
|
742
742
|
{
|
|
743
743
|
label: "Main",
|
|
@@ -747,7 +747,7 @@ const $t = Qe(
|
|
|
747
747
|
label: s.name,
|
|
748
748
|
value: s._id
|
|
749
749
|
}))
|
|
750
|
-
]),
|
|
750
|
+
]), Z = S(() => {
|
|
751
751
|
const s = p.value.modules.category;
|
|
752
752
|
return [
|
|
753
753
|
...U.value.item.addon ? [
|
|
@@ -785,7 +785,7 @@ const $t = Qe(
|
|
|
785
785
|
m,
|
|
786
786
|
(g) => g.code || g.name
|
|
787
787
|
).reduce((g, _, A) => (g[_._id] = A + d[_.category || ""], g), {});
|
|
788
|
-
}), pe = S(() => oe(j.value,
|
|
788
|
+
}), pe = S(() => oe(j.value, Z.value, ee.value)), he = S(() => {
|
|
789
789
|
const s = U.value.item.addon ? [
|
|
790
790
|
{
|
|
791
791
|
_id: e.currentCatalogId ? "" : null,
|
|
@@ -814,7 +814,7 @@ const $t = Qe(
|
|
|
814
814
|
})), Ae = S(() => e.menu.modules.cookingGuide), Ce = S(() => {
|
|
815
815
|
const s = ze(e.menu.modules.sku);
|
|
816
816
|
return x(s, { selector: "code" });
|
|
817
|
-
}),
|
|
817
|
+
}), ke = S(() => {
|
|
818
818
|
const s = /* @__PURE__ */ new Map();
|
|
819
819
|
return e.menu.modules.item.forEach((d) => {
|
|
820
820
|
var m, g;
|
|
@@ -897,7 +897,7 @@ const $t = Qe(
|
|
|
897
897
|
function W(s) {
|
|
898
898
|
return `${s.systemCode}/${s.taxCode}`;
|
|
899
899
|
}
|
|
900
|
-
function
|
|
900
|
+
function Ie(s) {
|
|
901
901
|
const [d, m] = s.split("/");
|
|
902
902
|
return { systemCode: d, taxCode: m };
|
|
903
903
|
}
|
|
@@ -937,7 +937,7 @@ const $t = Qe(
|
|
|
937
937
|
e.currentCategoryIds = s;
|
|
938
938
|
}, Te = (s) => {
|
|
939
939
|
e.currentRestaurantAttrParams = s;
|
|
940
|
-
},
|
|
940
|
+
}, Ke = async (s, d) => {
|
|
941
941
|
const m = Array.isArray(s) ? s : [s];
|
|
942
942
|
if (!m.length) return;
|
|
943
943
|
const g = m.map((_) => ({
|
|
@@ -961,7 +961,7 @@ const $t = Qe(
|
|
|
961
961
|
message: _
|
|
962
962
|
});
|
|
963
963
|
}
|
|
964
|
-
},
|
|
964
|
+
}, Fe = async (s) => {
|
|
965
965
|
const d = {
|
|
966
966
|
...e.menu,
|
|
967
967
|
masterCatalogSetting: s.masterCatalogSetting,
|
|
@@ -994,11 +994,11 @@ const $t = Qe(
|
|
|
994
994
|
schedulers: c,
|
|
995
995
|
currentScheduler: i,
|
|
996
996
|
catalogOptions: me,
|
|
997
|
-
categories:
|
|
997
|
+
categories: Z,
|
|
998
998
|
subcategories: ve,
|
|
999
999
|
items: ee,
|
|
1000
1000
|
sortedItems: ye,
|
|
1001
|
-
itemCodeMap:
|
|
1001
|
+
itemCodeMap: ke,
|
|
1002
1002
|
categorizedItems: pe,
|
|
1003
1003
|
categorizedRawMenuItems: he,
|
|
1004
1004
|
variants: j,
|
|
@@ -1019,12 +1019,12 @@ const $t = Qe(
|
|
|
1019
1019
|
selectScheduler: Ve,
|
|
1020
1020
|
selectCategory: De,
|
|
1021
1021
|
setRestaurantAttrParams: Te,
|
|
1022
|
-
updateMenu:
|
|
1023
|
-
updateMenuSetting:
|
|
1022
|
+
updateMenu: Ke,
|
|
1023
|
+
updateMenuSetting: Fe,
|
|
1024
1024
|
computeMergedMenu: h,
|
|
1025
1025
|
// helper
|
|
1026
1026
|
encodeTax: W,
|
|
1027
|
-
decodeTax:
|
|
1027
|
+
decodeTax: Ie,
|
|
1028
1028
|
getSelectedTax: Ee,
|
|
1029
1029
|
mapVariant: ge,
|
|
1030
1030
|
// history
|
|
@@ -1034,18 +1034,18 @@ const $t = Qe(
|
|
|
1034
1034
|
redoHistory: je,
|
|
1035
1035
|
// cleanup
|
|
1036
1036
|
$dispose: () => {
|
|
1037
|
-
w.cancel(),
|
|
1037
|
+
w.cancel(), I && (I(), I = null), k && (k.stop(), k = null), Ue();
|
|
1038
1038
|
},
|
|
1039
1039
|
$reinitialize: () => {
|
|
1040
|
-
|
|
1040
|
+
X();
|
|
1041
1041
|
}
|
|
1042
1042
|
};
|
|
1043
1043
|
}
|
|
1044
1044
|
);
|
|
1045
1045
|
export {
|
|
1046
1046
|
Tt as a,
|
|
1047
|
-
|
|
1048
|
-
|
|
1047
|
+
Kt as b,
|
|
1048
|
+
Ft as c,
|
|
1049
1049
|
Pt as f,
|
|
1050
1050
|
Dt as g,
|
|
1051
1051
|
Vt as m,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
interface ActionIconOption {
|
|
1
|
+
export interface ActionIconOption {
|
|
2
2
|
name: string;
|
|
3
|
+
disabled?: boolean;
|
|
3
4
|
onClick: () => void;
|
|
4
5
|
}
|
|
5
6
|
export declare function createIconActionButtonsCell(buttons: ActionIconOption[]): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
6
7
|
[key: string]: any;
|
|
7
8
|
}>;
|
|
8
|
-
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as d, ref as g, watch as _, resolveComponent as S, createBlock as T, openBlock as f, unref as y, computed as h } from "vue";
|
|
2
2
|
import { useI18n as m } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialogChild as w, useDialog as x, useSnackbar as C } from "@feedmepos/ui-library";
|
|
4
|
-
import { u as k, B as M } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as k, B as M } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
|
|
5
5
|
const v = /* @__PURE__ */ d({
|
|
6
6
|
__name: "AddPriceGroupDialog",
|
|
7
7
|
setup(s) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as O, watch as T, ref as V, computed as N, resolveComponent as g, createElementBlock as F, openBlock as A, Fragment as P, createVNode as f, unref as _, withCtx as b, createElementVNode as Y, renderList as I, toDisplayString as h } from "vue";
|
|
2
|
-
import { J as v, y as E, u as q } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { J as v, y as E, u as q } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
|
|
3
3
|
import { useI18n as S } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as L } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as k } from "./menuV2-
|
|
6
|
-
import { _ as K } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { g as w } from "./translation-
|
|
5
|
+
import { u as k } from "./menuV2-wfldXb10.js";
|
|
6
|
+
import { _ as K } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-CHTaPIEV.js";
|
|
7
|
+
import { g as w } from "./translation-BCZ1Ruvv.js";
|
|
8
8
|
const R = { class: "py-12 px-16 space-y-4" }, D = /* @__PURE__ */ O({
|
|
9
9
|
__name: "AddSubcategoryDialogContentComponent",
|
|
10
10
|
props: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as ie, computed as Y, resolveComponent as _, createElementBlock as d, openBlock as u, createVNode as t, createCommentVNode as F, unref as n, toDisplayString as A, createElementVNode as h, withCtx as v, Fragment as N, renderList as M, createBlock as I, ref as H, Transition as se, createTextVNode as me } from "vue";
|
|
2
|
-
import { G as S, y as r, u as pe, H as ve, J as ue } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { G as S, y as r, u as pe, H as ve, J as ue } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
|
|
3
3
|
import { useI18n as de } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as _e } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as fe } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
6
|
-
import { _ as ne } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as ne } from "./RuleView.vue_vue_type_script_setup_true_lang-Bj4O3uSe.js";
|
|
7
7
|
import { u as ye } from "./discardConfirm-BHni0LNu.js";
|
|
8
|
-
import { u as he } from "./menu-
|
|
9
|
-
import { L as ge } from "./LinkProductSideSheet-
|
|
8
|
+
import { u as he } from "./menu-vnpCb5nt.js";
|
|
9
|
+
import { L as ge } from "./LinkProductSideSheet-1CEGjcHq.js";
|
|
10
10
|
const Ve = { class: "space-y-8" }, Fe = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "space-y-16"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as C } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import "./index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { u as C } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DshK6DwV.js";
|
|
2
|
+
import "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
|
|
3
3
|
var Z = {
|
|
4
4
|
defaultAmount: 0,
|
|
5
5
|
defaultCurrency: "USD",
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as p, createElementBlock as u, openBlock as t, normalizeClass as f, unref as
|
|
1
|
+
import { defineComponent as p, createElementBlock as u, openBlock as t, normalizeClass as f, unref as c, toDisplayString as y, resolveComponent as s, createVNode as b, createBlock as d } from "vue";
|
|
2
2
|
const g = /* @__PURE__ */ p({
|
|
3
3
|
__name: "TranslationBadge",
|
|
4
4
|
props: {
|
|
5
5
|
label: {},
|
|
6
6
|
spacing: { default: "md" }
|
|
7
7
|
},
|
|
8
|
-
setup(
|
|
9
|
-
const
|
|
10
|
-
return (e,
|
|
8
|
+
setup(l) {
|
|
9
|
+
const a = l.spacing === "sm" ? "mb-4" : "mb-8";
|
|
10
|
+
return (e, o) => (t(), u("p", {
|
|
11
11
|
class: f([
|
|
12
12
|
"fm-typo-en-body-sm-600 text-fm-color-typo-secondary border inline-block rounded-full px-8 py-4",
|
|
13
|
-
|
|
13
|
+
c(a)
|
|
14
14
|
])
|
|
15
15
|
}, y(e.label), 3));
|
|
16
16
|
}
|
|
17
|
-
}),
|
|
17
|
+
}), h = /* @__PURE__ */ p({
|
|
18
18
|
__name: "TranslationFieldSection",
|
|
19
19
|
props: {
|
|
20
20
|
label: {},
|
|
@@ -25,34 +25,36 @@ const g = /* @__PURE__ */ p({
|
|
|
25
25
|
readonly: { type: Boolean, default: !1 }
|
|
26
26
|
},
|
|
27
27
|
emits: ["update:modelValue"],
|
|
28
|
-
setup(
|
|
29
|
-
const
|
|
30
|
-
return (e,
|
|
31
|
-
const
|
|
28
|
+
setup(l, { emit: n }) {
|
|
29
|
+
const a = n;
|
|
30
|
+
return (e, o) => {
|
|
31
|
+
const m = s("FmTextField"), i = s("fm-textarea");
|
|
32
32
|
return t(), u("div", null, [
|
|
33
33
|
b(g, {
|
|
34
34
|
label: e.label,
|
|
35
35
|
spacing: e.spacing
|
|
36
36
|
}, null, 8, ["label", "spacing"]),
|
|
37
|
-
e.type === "text" ? (t(),
|
|
37
|
+
e.type === "text" ? (t(), d(m, {
|
|
38
38
|
key: 0,
|
|
39
39
|
"model-value": e.modelValue,
|
|
40
40
|
placeholder: e.placeholder,
|
|
41
41
|
readonly: e.readonly,
|
|
42
|
-
"onUpdate:modelValue":
|
|
43
|
-
}, null, 8, ["model-value", "placeholder", "readonly"])) : (t(),
|
|
42
|
+
"onUpdate:modelValue": o[0] || (o[0] = (r) => a("update:modelValue", r))
|
|
43
|
+
}, null, 8, ["model-value", "placeholder", "readonly"])) : (t(), d(i, {
|
|
44
44
|
key: 1,
|
|
45
45
|
"model-value": e.modelValue,
|
|
46
46
|
placeholder: e.placeholder,
|
|
47
47
|
readonly: e.readonly,
|
|
48
|
-
"onUpdate:modelValue":
|
|
48
|
+
"onUpdate:modelValue": o[1] || (o[1] = (r) => a("update:modelValue", r))
|
|
49
49
|
}, null, 8, ["model-value", "placeholder", "readonly"]))
|
|
50
50
|
]);
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
|
-
function k(
|
|
55
|
-
|
|
54
|
+
function k(l) {
|
|
55
|
+
var a;
|
|
56
|
+
const n = ((a = l.split("-")[1]) == null ? void 0 : a.toLowerCase()) ?? "";
|
|
57
|
+
switch (l) {
|
|
56
58
|
case "en-US":
|
|
57
59
|
return "EN";
|
|
58
60
|
case "zh-CN":
|
|
@@ -63,16 +65,28 @@ function k(a) {
|
|
|
63
65
|
return "JP";
|
|
64
66
|
case "zh-Hant":
|
|
65
67
|
return "繁";
|
|
68
|
+
case "id-ID":
|
|
69
|
+
return "ID";
|
|
70
|
+
case "vi-VN":
|
|
71
|
+
return "VN";
|
|
72
|
+
case "ms-MY":
|
|
73
|
+
return "MY";
|
|
74
|
+
case "ph-PH":
|
|
75
|
+
return "PH";
|
|
76
|
+
case "ko-KR":
|
|
77
|
+
return "KR";
|
|
78
|
+
case "fr-MA":
|
|
79
|
+
return "FR";
|
|
66
80
|
default:
|
|
67
|
-
return
|
|
81
|
+
return n;
|
|
68
82
|
}
|
|
69
83
|
}
|
|
70
|
-
function v(
|
|
71
|
-
const
|
|
72
|
-
return (
|
|
84
|
+
function v(l, n) {
|
|
85
|
+
const a = c(n).find((e) => e.code === l);
|
|
86
|
+
return (a == null ? void 0 : a.name) || l;
|
|
73
87
|
}
|
|
74
88
|
export {
|
|
75
|
-
|
|
89
|
+
h as _,
|
|
76
90
|
v as a,
|
|
77
91
|
g as b,
|
|
78
92
|
k as g
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineStore as J } from "pinia";
|
|
2
2
|
import { defineComponent as O, computed as U, ref as h, watch as T, resolveComponent as y, createBlock as W, openBlock as F, withCtx as w, createVNode as m, createElementVNode as f, normalizeClass as Q, createElementBlock as A, toDisplayString as M, unref as l, Fragment as q, renderSlot as X, renderList as Z, getCurrentInstance as ee } from "vue";
|
|
3
|
-
import { a5 as B, a6 as te, a3 as P, G as k, O as $, B as j, A as E, a4 as ne, J as C, y as D, H as oe, u as ae } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { a5 as B, a6 as te, a3 as P, G as k, O as $, B as j, A as E, a4 as ne, J as C, y as D, H as oe, u as ae } from "./index.vue_vue_type_script_setup_true_lang-gt4Ll4Ng.js";
|
|
4
4
|
import { useI18n as L } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as I, components as le, useDialog as ue, FmButtonVariant as ie } from "@feedmepos/ui-library";
|
|
6
6
|
import { u as se } from "./discardConfirm-BHni0LNu.js";
|
|
7
7
|
import { c as re } from "./check-C9mY6LiX.js";
|
|
8
8
|
import "./vuedraggable-CK8z7qA8.js";
|
|
9
|
-
import "./menuV2-
|
|
9
|
+
import "./menuV2-wfldXb10.js";
|
|
10
10
|
import "./app-5fxKLAzS.js";
|
|
11
11
|
/* empty css */
|
|
12
12
|
import { c as me } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-menu",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.43-dev",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"vue3-lottie": "^3.3.0",
|
|
56
56
|
"vuedraggable": "^4.1.0",
|
|
57
57
|
"xlsx": "^0.18.5",
|
|
58
|
-
"@feedmepos/mf-common": "^1.29.
|
|
58
|
+
"@feedmepos/mf-common": "^1.29.21"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@rollup/plugin-commonjs": "^28.0.2",
|