@feedmepos/mf-menu 0.32.66-dev.3 → 0.32.66-dev.4
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-bCL9DMmd.js → App-DdmEswyc.js} +6 -6
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CnoYMg6T.js → ApplyProduct.vue_vue_type_script_setup_true_lang-ChxM7qYy.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-Ccw08-Uw.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-bZiXME9Z.js} +3 -3
- package/dist/{Catalog-Ds6GYriM.js → Catalog-GcX5VX2M.js} +6 -6
- package/dist/{Category-DY_XSrsn.js → Category-B2Kv3yJp.js} +4 -4
- package/dist/{Category-CnFL0t4m.js → Category-BwH-wVv2.js} +4 -4
- package/dist/{CookingGuide-BTk8BaAd.js → CookingGuide-CWDprGu6.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BgI4r-xU.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CmACeNnV.js} +1 -1
- package/dist/{Group-860k7lB8.js → Group-BavmrRXD.js} +3 -3
- package/dist/{Group-BSMIM376.js → Group-YNbaHa27.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DWA-dDCM.js → Group.vue_vue_type_script_setup_true_lang-9rGR3rec.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-dKJjPwe3.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D12xx6Vd.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-H2rtSZTK.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-NAKJ0sFP.js} +7 -7
- package/dist/{Ingredient-BYDjOmNr.js → Ingredient-DHjSUUIP.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-Bdhyk7wJ.js → InventoryBinding.vue_vue_type_script_setup_true_lang-U5AkGUri.js} +2 -2
- package/dist/{LinkProductSideSheet-CQS8yW-C.js → LinkProductSideSheet-BkNMJOiZ.js} +4 -4
- package/dist/{MenuSetting-BmK8AlkW.js → MenuSetting-Bm4O6MZ6.js} +7 -7
- package/dist/{OrderPacing-TJ6ZYLYV.js → OrderPacing-DliNofLl.js} +5 -5
- package/dist/{PrintRoute-CR9yyKNK.js → PrintRoute-1Py1_tzI.js} +5 -5
- package/dist/{Product-UVz9VsGm.js → Product-D3kyQmwQ.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-DaUlfmGn.js → Product.vue_vue_type_script_setup_true_lang-D-heQeQu.js} +14 -14
- package/dist/{ProductInternalTools-D-SOeCcO.js → ProductInternalTools-87_B55Fr.js} +6 -6
- package/dist/{Products-DhNIR6E7.js → Products-B-J389Ks.js} +34 -34
- package/dist/Publish-BlYboQl0.js +1532 -0
- package/dist/{Recipe-uwZYJm_N.js → Recipe-qb3ZdJGw.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-CF-r4vAJ.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-CXqE4HLg.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-BfdS-xS1.js → RuleView.vue_vue_type_script_setup_true_lang-CODY5qdL.js} +3 -3
- package/dist/{Scheduler-B1_i4bRR.js → Scheduler-CeM3y0Ha.js} +3 -3
- package/dist/{ServingSequence-B7TO7rNV.js → ServingSequence-BCzXUO9n.js} +124 -121
- package/dist/{Setting-ByrEh4BA.js → Setting-sy6vMuPB.js} +5 -5
- package/dist/{Subcategory-BWqzLw-d.js → Subcategory-BZti9kYo.js} +6 -6
- package/dist/{Takeaway-BJpHwTck.js → Takeaway-C9puqL8n.js} +4 -4
- package/dist/{Takeaway-BDtDA3Oz.js → Takeaway-D5JlmD6u.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DaqAIPrd.js → Takeaway.vue_vue_type_script_setup_true_lang-j8d0lXOL.js} +5 -5
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-Ctua4piB.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-DX_DRNF2.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-CaIv_N0Y.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-DesC2w1k.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BXJsNMO4.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CmuuSoGs.js} +15 -15
- package/dist/{Unit-CztcKfU8.js → Unit-Cc42yyN6.js} +2 -2
- package/dist/{Variant-DoKsw2Kp.js → Variant-D19fCBB3.js} +3 -3
- package/dist/{_id_-Bm8i0F1E.js → _id_-B9MKg_D-.js} +10 -10
- package/dist/{app-BGCDoU-0.js → app-BN0HgwNB.js} +37 -37
- package/dist/{app-Du5OtlE9.js → app-kMpCkgGC.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/app.d.ts +10 -0
- package/dist/apps/mf-menu/src/stores/menu.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/Publish/publishStatus.d.ts +27 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-CGYWO8Yo.js → linked-status-CfzY6n0e.js} +2 -2
- package/dist/assets/{menu-export-D32WVYBV.js → menu-export-CALDQ8k1.js} +3 -3
- package/dist/assets/{override-menu-B2muNR2b.js → override-menu-CmqrughS.js} +2 -2
- package/dist/assets/{validate-menu-DRc93ut_.js → validate-menu-BgjAdwUE.js} +2 -2
- package/dist/{catalog-B1szIMSS.js → catalog-BuKsorK6.js} +1 -1
- package/dist/{catalogSetting-D317tpwX.js → catalogSetting-B5EtNHwb.js} +1 -1
- package/dist/{currency-DDMkadDP.js → currency-BTbX6PWL.js} +1 -1
- package/dist/{dayjs.min-BAfSpgzt.js → dayjs.min-KeFRLajb.js} +2 -2
- package/dist/{discardConfirm-ulS7oH8I.js → discardConfirm-zfX1nuye.js} +1 -1
- package/dist/{index-DVh6Gi2K.js → index-DDJHOjwR.js} +1 -1
- package/dist/{index-ClAWU743.js → index-DTakcRjO.js} +5 -5
- package/dist/{index-BNCGppNp.js → index-DfoDRA0k.js} +6 -6
- package/dist/{index.vue_vue_type_script_setup_true_lang-Cf2AKbC7.js → index.vue_vue_type_script_setup_true_lang-DybNA4Np.js} +8839 -8798
- package/dist/{item-D3jvuhGD.js → item-jpOmJGLW.js} +19 -19
- package/dist/{jszip.min-t1qkoubE.js → jszip.min-DyvQ41lT.js} +3 -3
- package/dist/{linkProducts-IK0-iQJR.js → linkProducts-DFJMpL5n.js} +4 -4
- package/dist/{memberPricing-DagiXBzk.js → memberPricing-BZgeIGmU.js} +1 -1
- package/dist/{menu-B-BBAQKK.js → menu-BupVgTY-.js} +1 -1
- package/dist/{menuV2-0X1EYaDt.js → menuV2-B9-ODrLW.js} +82 -82
- package/dist/{order_pacing-Cz0wFd_o.js → order_pacing-Dfey1efO.js} +5 -5
- package/dist/{priceTier-DBzOsSgm.js → priceTier-eGLFeyfY.js} +1 -1
- package/dist/{rules-C6WjUylO.js → rules-BS6BLc8X.js} +3 -3
- package/dist/{scheduler-aKSniDdK.js → scheduler-3BGOjjCO.js} +5 -5
- package/dist/{toExcel-SxxuXoXI.js → toExcel-BmTqFf7v.js} +2 -2
- package/dist/{unit-CltVM3dM.js → unit-D2oVUlp4.js} +3 -3
- package/package.json +1 -1
- package/dist/Publish-CsjlWTjc.js +0 -1434
|
@@ -2,14 +2,14 @@ import { defineComponent as z, computed as h, ref as E, reactive as Q, watch as
|
|
|
2
2
|
import { useI18n as M } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as $, components as G, useDialog as ne, FmButtonVariant as K, useBreakpoints as oe } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as le } from "./app-
|
|
6
|
-
import { i as q, b as P, d as ie, m as B, e as D, g as O, h as A, u as H, _ as se } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-BN0HgwNB.js";
|
|
6
|
+
import { i as q, b as P, d as ie, m as B, e as D, g as O, h as A, u as H, _ as se } from "./index.vue_vue_type_script_setup_true_lang-DybNA4Np.js";
|
|
7
7
|
import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
8
|
import { defineStore as ce } from "pinia";
|
|
9
|
-
import { _ as Y, g as ue } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as me, l as de } from "./discardConfirm-
|
|
9
|
+
import { _ as Y, g as ue } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-U5AkGUri.js";
|
|
10
|
+
import { u as me, l as de } from "./discardConfirm-zfX1nuye.js";
|
|
11
11
|
import { c as pe } from "./check-C9mY6LiX.js";
|
|
12
|
-
import "./unit-
|
|
12
|
+
import "./unit-D2oVUlp4.js";
|
|
13
13
|
import { c as fe } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
14
14
|
const _e = { class: "fm-typo-en-title-md-600" }, ve = { class: "pt-8 space-y-40" }, ye = { class: "flex flex-row gap-16" }, ge = { class: "flex gap-8 items-center justify-start" }, be = /* @__PURE__ */ z({
|
|
15
15
|
__name: "Form",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as D, ref as R, resolveComponent as u, createElementBlock as E, openBlock as P, Fragment as B, createElementVNode as d, createVNode as l, normalizeClass as A, withCtx as i, toDisplayString as g, unref as o, h as I } from "vue";
|
|
2
2
|
import { useI18n as T, useCustomAttributes as K, useCoreStore as N } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as U } from "@feedmepos/ui-library";
|
|
4
|
-
import { e as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { e as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-CODY5qdL.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 = {
|
|
@@ -2,9 +2,9 @@ import { defineComponent as ie, createElementBlock as j, openBlock as x, normali
|
|
|
2
2
|
import { x as xn, N as Kn } from "./app-5fxKLAzS.js";
|
|
3
3
|
import { useCoreStore as wt, useI18n as Ge, useCustomAttributes as xt, EMPTY_RULE as Yn, isEmptyMongoQuery as jn, isEmptyRule as Xn } from "@feedmepos/mf-common";
|
|
4
4
|
import "@vue/devtools-api";
|
|
5
|
-
import { u as Tn, k as vt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as Tn, k as vt } from "./index.vue_vue_type_script_setup_true_lang-DybNA4Np.js";
|
|
6
6
|
import { FmButtonVariant as he, components as qn } from "@feedmepos/ui-library";
|
|
7
|
-
import { l as Kt } from "./discardConfirm-
|
|
7
|
+
import { l as Kt } from "./discardConfirm-zfX1nuye.js";
|
|
8
8
|
import "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
|
|
9
9
|
const Jn = /* @__PURE__ */ ie({
|
|
10
10
|
__name: "FormColumn",
|
|
@@ -1893,7 +1893,7 @@ function Vo(e, t, n, r) {
|
|
|
1893
1893
|
return e.processor && (p.processor = e.processor), r.list && (p.list = r.list), r.named && (p.named = r.named), ee(r.plural) && (p.pluralIndex = r.plural), p;
|
|
1894
1894
|
}
|
|
1895
1895
|
wr();
|
|
1896
|
-
var $o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/
|
|
1896
|
+
var $o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_42b86956-4163-44e3-95a8-ee692a701584", 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_42b86956-4163-44e3-95a8-ee692a701584", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", GTM_ID: "GTM-P7Z9FMS6", FIREBASE_MESSAGING_SENDER_ID: "458797803788", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.7.0", 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: "1887", ACTIONS_ORCHESTRATION_ID: "6e82e2b1-c17a-4c73-8d70-d1d5530fbc45.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: "20260816.277.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_42b86956-4163-44e3-95a8-ee692a701584", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2-dev.feedmeapi.com", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:13085", 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.13/x64", GITHUB_RUN_ID: "32862973742", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapidev.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "abfa928bfabc431ab9b32c959efc24e654f2805f", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.6/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_4b49ad7c-95b5-4b09-aec1-046a813758b7", INVOCATION_ID: "2f907cc31a5942dab4091e2bbdb063a8", 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: "590", GITHUB_TRIGGERING_ACTOR: "heiseshandian", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", VITE_LICENSE_API_URL: "https://license-v2-dev.feedmeapi.com", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000121836", 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.66-dev.4", 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: "abfa928bfabc431ab9b32c959efc24e654f2805f", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_42b86956-4163-44e3-95a8-ee692a701584", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "7780463", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_42b86956-4163-44e3-95a8-ee692a701584", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_42b86956-4163-44e3-95a8-ee692a701584", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_42b86956-4163-44e3-95a8-ee692a701584", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
|
|
1897
1897
|
const Ho = "10.0.5";
|
|
1898
1898
|
function Go() {
|
|
1899
1899
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Te().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Te().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Te().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Te().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as W, computed as y, h as p, withModifiers as E, ref as I, resolveComponent as h, createBlock as k, openBlock as c, unref as i, withCtx as _, createElementBlock as F, createVNode as f, Fragment as M, createElementVNode as s, renderList as H, toDisplayString as x, createCommentVNode as q } from "vue";
|
|
2
|
-
import { z as d, A as Y, i as Q, u as G, b as J, _ as X } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { z as d, A as Y, i as Q, u as G, b as J, _ as X } from "./index.vue_vue_type_script_setup_true_lang-DybNA4Np.js";
|
|
3
3
|
import { useI18n as Z } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as ee, useDialog as te, useSnackbar as ne } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
6
|
-
import { _ as oe } from "./app-
|
|
7
|
-
import { d as le, _ as se, u as re, c as ue } from "./scheduler-
|
|
6
|
+
import { _ as oe } from "./app-BN0HgwNB.js";
|
|
7
|
+
import { d as le, _ as se, u as re, c as ue } from "./scheduler-3BGOjjCO.js";
|
|
8
8
|
import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
9
9
|
const ie = {
|
|
10
10
|
class: "flex flex-1 justify-end"
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as J, ref as
|
|
1
|
+
import { defineComponent as J, ref as F, computed as E, resolveComponent as y, createElementBlock as h, openBlock as m, Fragment as x, renderSlot as ae, createVNode as l, unref as t, withCtx as f, createElementVNode as b, toDisplayString as U, onBeforeMount as oe, watch as D, watchEffect as se, h as T, getCurrentInstance as le, onMounted as re, createBlock as j, createCommentVNode as G, isRef as ie, normalizeClass as Q, renderList as ue } from "vue";
|
|
2
2
|
import { useRouter as ce } from "vue-router";
|
|
3
|
-
import { d as H, u as W, b as X, i as Z, g as I, h as
|
|
3
|
+
import { d as H, u as W, b as X, i as Z, g as I, h as M, _ as de, F as me } from "./index.vue_vue_type_script_setup_true_lang-DybNA4Np.js";
|
|
4
4
|
import { useI18n as ee, ItemSelector as pe, useCoreStore as fe } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as ne, components as K, useDialog as _e, FmButtonVariant as z, useBreakpoints as ve } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as ge } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
7
|
-
import { _ as he, R as ye } from "./app-
|
|
7
|
+
import { _ as he, R as ye } from "./app-BN0HgwNB.js";
|
|
8
8
|
import { c as be } from "./check-C9mY6LiX.js";
|
|
9
9
|
import { _ as ke } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
10
10
|
import { u as xe } from "./search-BAPEUu1R.js";
|
|
11
|
-
import { u as Se } from "./app-
|
|
11
|
+
import { u as Se } from "./app-kMpCkgGC.js";
|
|
12
12
|
import { c as Ce } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex flex-col h-full" }, Ve = { class: "flex gap-8 items-center justify-start" }, Fe = /* @__PURE__ */ J({
|
|
14
14
|
__name: "Form",
|
|
@@ -17,104 +17,107 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
17
17
|
initialValue: {}
|
|
18
18
|
},
|
|
19
19
|
emits: ["submitted"],
|
|
20
|
-
setup(Y, { expose: k, emit:
|
|
21
|
-
const { t: r } = ee(),
|
|
22
|
-
|
|
20
|
+
setup(Y, { expose: k, emit: L }) {
|
|
21
|
+
const { t: r } = ee(), _ = Y, R = L, o = F(
|
|
22
|
+
_.initialValue ? H(_.initialValue) : {
|
|
23
23
|
_id: "",
|
|
24
24
|
name: "",
|
|
25
25
|
position: 0,
|
|
26
26
|
items: []
|
|
27
27
|
}
|
|
28
|
-
),
|
|
29
|
-
be.isBoolean(
|
|
30
|
-
},
|
|
31
|
-
async function
|
|
28
|
+
), S = W(), i = ne(), P = X(i), C = Z(P), d = F(!1), u = F(!1), v = (c) => {
|
|
29
|
+
be.isBoolean(c) ? u.value = c : u.value = !u.value;
|
|
30
|
+
}, q = E(() => _.action === "add" ? r("menu.serving_sequence.add") : r("menu.serving_sequence.update"));
|
|
31
|
+
async function B() {
|
|
32
32
|
try {
|
|
33
|
-
if (
|
|
34
|
-
await
|
|
33
|
+
if (_.action === "add")
|
|
34
|
+
await C.updateMenu(
|
|
35
35
|
{
|
|
36
|
-
module:
|
|
36
|
+
module: M.enum.serveSequence,
|
|
37
37
|
operation: I.F_OPERATION_TYPE.create,
|
|
38
38
|
data: {
|
|
39
|
-
...
|
|
40
|
-
position:
|
|
39
|
+
...o.value,
|
|
40
|
+
position: S.serveSequence.length
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
|
|
43
|
+
o.value.name
|
|
44
44
|
);
|
|
45
|
-
else if (
|
|
46
|
-
await
|
|
45
|
+
else if (_.action === "update")
|
|
46
|
+
await C.updateMenu(
|
|
47
47
|
{
|
|
48
|
-
module:
|
|
48
|
+
module: M.enum.serveSequence,
|
|
49
49
|
operation: I.F_OPERATION_TYPE.update,
|
|
50
|
-
data:
|
|
50
|
+
data: o.value
|
|
51
51
|
},
|
|
52
|
-
|
|
52
|
+
o.value.name
|
|
53
53
|
);
|
|
54
54
|
else
|
|
55
55
|
throw new Error("Invalid action");
|
|
56
56
|
} finally {
|
|
57
|
-
u.value = !1,
|
|
57
|
+
u.value = !1, R("submitted");
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
k({
|
|
61
|
-
trigger:
|
|
61
|
+
trigger: v,
|
|
62
62
|
show: u
|
|
63
63
|
});
|
|
64
|
-
function
|
|
65
|
-
return
|
|
66
|
-
const
|
|
67
|
-
_id:
|
|
68
|
-
combinationKey:
|
|
69
|
-
orderFrom:
|
|
64
|
+
function O(c) {
|
|
65
|
+
return c.reduce((s, g) => {
|
|
66
|
+
const e = {
|
|
67
|
+
_id: g._id,
|
|
68
|
+
combinationKey: g.combinationKey,
|
|
69
|
+
orderFrom: g.orderFrom
|
|
70
70
|
};
|
|
71
|
-
return
|
|
71
|
+
return s[g._id] = [...s[e._id] ?? [], e], s;
|
|
72
72
|
}, {});
|
|
73
73
|
}
|
|
74
|
-
const
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
74
|
+
const N = E(() => O(H(o.value.items)));
|
|
75
|
+
function $(c) {
|
|
76
|
+
o.value.items = Object.values(c).flatMap((s) => s);
|
|
77
|
+
}
|
|
78
|
+
return (c, s) => {
|
|
79
|
+
const g = y("fm-text-field"), e = y("fm-button"), n = y("fm-side-sheet");
|
|
80
|
+
return m(), h(x, null, [
|
|
81
|
+
ae(c.$slots, "default", { trigger: v }),
|
|
82
|
+
l(n, {
|
|
80
83
|
id: "group-form",
|
|
81
84
|
modelValue: u.value,
|
|
82
|
-
"onUpdate:modelValue":
|
|
85
|
+
"onUpdate:modelValue": s[2] || (s[2] = (p) => u.value = p),
|
|
83
86
|
"is-container": t(K).FmForm,
|
|
84
87
|
"is-container-props": {
|
|
85
|
-
onValidationSuccess:
|
|
88
|
+
onValidationSuccess: B,
|
|
86
89
|
blameFormChildOnValidationFailed: !0
|
|
87
90
|
},
|
|
88
91
|
"max-width": 560
|
|
89
92
|
}, {
|
|
90
|
-
"side-sheet-header":
|
|
91
|
-
b("p", qe, U(
|
|
93
|
+
"side-sheet-header": f(() => [
|
|
94
|
+
b("p", qe, U(q.value), 1)
|
|
92
95
|
]),
|
|
93
|
-
"side-sheet-footer":
|
|
96
|
+
"side-sheet-footer": f(() => [
|
|
94
97
|
b("div", Ve, [
|
|
95
|
-
l(
|
|
96
|
-
label: t(r)(
|
|
97
|
-
loading:
|
|
98
|
+
l(e, {
|
|
99
|
+
label: t(r)(_.action === "add" ? "menu.serving_sequence.add" : "menu.serving_sequence.update"),
|
|
100
|
+
loading: d.value,
|
|
98
101
|
size: "lg",
|
|
99
102
|
type: "submit",
|
|
100
103
|
variant: "primary"
|
|
101
104
|
}, null, 8, ["label", "loading"]),
|
|
102
|
-
l(
|
|
105
|
+
l(e, {
|
|
103
106
|
label: t(r)("menu.common.actions.cancel"),
|
|
104
107
|
size: "lg",
|
|
105
108
|
variant: "tertiary",
|
|
106
|
-
onClick:
|
|
109
|
+
onClick: s[1] || (s[1] = () => u.value = !1)
|
|
107
110
|
}, null, 8, ["label"])
|
|
108
111
|
])
|
|
109
112
|
]),
|
|
110
|
-
default:
|
|
113
|
+
default: f(() => [
|
|
111
114
|
b("div", we, [
|
|
112
|
-
l(
|
|
115
|
+
l(g, {
|
|
113
116
|
autofocus: "",
|
|
114
|
-
modelValue:
|
|
115
|
-
"onUpdate:modelValue":
|
|
117
|
+
modelValue: o.value.name,
|
|
118
|
+
"onUpdate:modelValue": s[0] || (s[0] = (p) => o.value.name = p),
|
|
116
119
|
rules: [
|
|
117
|
-
(
|
|
120
|
+
(p) => !!p || t(r)("menu.common.validation.required", {
|
|
118
121
|
field: t(r)("menu.serving_sequence.columns.name").toLowerCase()
|
|
119
122
|
})
|
|
120
123
|
],
|
|
@@ -122,12 +125,12 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
122
125
|
placeholder: t(r)("menu.common.labels.enter_name")
|
|
123
126
|
}, null, 8, ["modelValue", "rules", "label", "placeholder"]),
|
|
124
127
|
l(t(pe), {
|
|
125
|
-
"categorized-items": t(
|
|
126
|
-
data:
|
|
128
|
+
"categorized-items": t(S).categorizedItems,
|
|
129
|
+
data: N.value,
|
|
127
130
|
class: "flex-1",
|
|
128
131
|
"select-variant": "",
|
|
129
132
|
"show-variant": "",
|
|
130
|
-
"onUpdate:data":
|
|
133
|
+
"onUpdate:data": $
|
|
131
134
|
}, null, 8, ["categorized-items", "data"])
|
|
132
135
|
])
|
|
133
136
|
]),
|
|
@@ -139,9 +142,9 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
139
142
|
}), A = Fe, Ee = {
|
|
140
143
|
key: 0,
|
|
141
144
|
class: "xs:pt-24"
|
|
142
|
-
}, Me = {
|
|
143
|
-
class: "flex justify-end mb-8 xs:mt-8"
|
|
144
145
|
}, Ie = {
|
|
146
|
+
class: "flex justify-end mb-8 xs:mt-8"
|
|
147
|
+
}, Me = {
|
|
145
148
|
key: 1,
|
|
146
149
|
class: /* @__PURE__ */ Q(["flex-1", "overflow-scroll", "divide-y divide-fm-color-neutral-gray-100", "pb-64"])
|
|
147
150
|
}, Le = ["onClick"], Re = {
|
|
@@ -155,11 +158,11 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
155
158
|
setup(Y) {
|
|
156
159
|
const {
|
|
157
160
|
searchKey: k,
|
|
158
|
-
filter:
|
|
159
|
-
} = xe(), r = W(),
|
|
160
|
-
t:
|
|
161
|
+
filter: L
|
|
162
|
+
} = xe(), r = W(), _ = ne(), R = X(_), o = Z(R), S = _e(), i = fe(), P = Se(), C = ce(), {
|
|
163
|
+
t: d
|
|
161
164
|
} = ee(), u = (e) => {
|
|
162
|
-
e && e !== me.enum.v4 &&
|
|
165
|
+
e && e !== me.enum.v4 && C.push({
|
|
163
166
|
name: ye.CATALOG
|
|
164
167
|
});
|
|
165
168
|
};
|
|
@@ -172,7 +175,7 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
172
175
|
}, (e) => {
|
|
173
176
|
u(e);
|
|
174
177
|
}), D(() => i.sessionUser.value, (e) => {
|
|
175
|
-
e &&
|
|
178
|
+
e && P.getPublicSetting();
|
|
176
179
|
}), D(() => i.currentBusiness.value, async (e, n) => {
|
|
177
180
|
e && e._id !== (n == null ? void 0 : n._id) && (i.isRestaurantLevelMenu.value || await r.readRestaurants());
|
|
178
181
|
}), se(() => {
|
|
@@ -181,11 +184,11 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
181
184
|
e && i.changeRestaurant(e);
|
|
182
185
|
}
|
|
183
186
|
});
|
|
184
|
-
const
|
|
187
|
+
const v = E(() => r.serveSequence.filter(({
|
|
185
188
|
name: e
|
|
186
|
-
}) =>
|
|
187
|
-
function
|
|
188
|
-
|
|
189
|
+
}) => L([e])) ?? []);
|
|
190
|
+
function q(e) {
|
|
191
|
+
S.open({
|
|
189
192
|
title: "Delete sequence",
|
|
190
193
|
message: `Are you sure to delete sequence ${e.name} ?`,
|
|
191
194
|
primaryActions: {
|
|
@@ -198,33 +201,33 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
198
201
|
close: !0
|
|
199
202
|
}
|
|
200
203
|
}).onPrimary(async () => {
|
|
201
|
-
await
|
|
202
|
-
module:
|
|
204
|
+
await o.updateMenu({
|
|
205
|
+
module: M.enum.serveSequence,
|
|
203
206
|
operation: I.F_OPERATION_TYPE.delete,
|
|
204
207
|
data: e._id
|
|
205
208
|
}, e.name, !0);
|
|
206
209
|
});
|
|
207
210
|
}
|
|
208
|
-
const
|
|
211
|
+
const B = ({
|
|
209
212
|
servingSequence: e
|
|
210
213
|
}) => T(K.FmButton, {
|
|
211
214
|
prependIcon: "delete",
|
|
212
215
|
variant: z.Tertiary,
|
|
213
216
|
textColor: "neutral-gray-400",
|
|
214
217
|
onClick: (n) => {
|
|
215
|
-
n.stopPropagation(),
|
|
218
|
+
n.stopPropagation(), q(e);
|
|
216
219
|
}
|
|
217
220
|
});
|
|
218
|
-
async function
|
|
219
|
-
await
|
|
220
|
-
module:
|
|
221
|
+
async function O(e) {
|
|
222
|
+
await o.updateMenu({
|
|
223
|
+
module: M.enum.serveSequence,
|
|
221
224
|
operation: I.F_OPERATION_TYPE.rearrange,
|
|
222
225
|
data: e.map((n) => n._id)
|
|
223
226
|
}, "sequences");
|
|
224
227
|
}
|
|
225
|
-
const
|
|
228
|
+
const N = F([{
|
|
226
229
|
accessorKey: "name",
|
|
227
|
-
header: () =>
|
|
230
|
+
header: () => d("menu.serving_sequence.columns.name"),
|
|
228
231
|
enableSorting: !1,
|
|
229
232
|
size: 360
|
|
230
233
|
}, {
|
|
@@ -247,98 +250,98 @@ const qe = { class: "fm-typo-en-title-md-600" }, we = { class: "space-y-32 flex
|
|
|
247
250
|
variant: z.Tertiary,
|
|
248
251
|
textColor: "neutral-gray-400",
|
|
249
252
|
onClick: (n) => {
|
|
250
|
-
n.stopPropagation(),
|
|
253
|
+
n.stopPropagation(), q(e.row.original);
|
|
251
254
|
}
|
|
252
255
|
})])
|
|
253
|
-
}]),
|
|
254
|
-
function
|
|
255
|
-
var
|
|
256
|
+
}]), $ = le();
|
|
257
|
+
function c(e) {
|
|
258
|
+
var w, V;
|
|
256
259
|
const {
|
|
257
260
|
container: n,
|
|
258
|
-
vNode:
|
|
259
|
-
} = Ce(A,
|
|
261
|
+
vNode: p
|
|
262
|
+
} = Ce(A, $, {
|
|
260
263
|
initialValue: e,
|
|
261
264
|
action: "update",
|
|
262
265
|
onSubmitted: () => {
|
|
263
266
|
n == null || n.remove();
|
|
264
267
|
}
|
|
265
268
|
});
|
|
266
|
-
(
|
|
269
|
+
(V = (w = p.component) == null ? void 0 : w.exposed) == null || V.trigger();
|
|
267
270
|
}
|
|
268
271
|
re(() => r.selectCatalog(null));
|
|
269
|
-
const
|
|
272
|
+
const s = ve(), g = E(() => s.breakpoints.value.xs);
|
|
270
273
|
return (e, n) => {
|
|
271
|
-
const
|
|
272
|
-
return
|
|
274
|
+
const p = y("FmSpacer"), w = y("fm-button"), V = y("fm-search"), te = y("fm-table");
|
|
275
|
+
return m(), j(ke, {
|
|
273
276
|
class: "max-h-full",
|
|
274
|
-
heading: t(
|
|
277
|
+
heading: t(d)("menu.serving_sequence.title")
|
|
275
278
|
}, {
|
|
276
|
-
"append-heading":
|
|
279
|
+
"append-heading": f(() => [!t(o).checkMenuIsLoading() && v.value.length ? (m(), h(x, {
|
|
277
280
|
key: 0
|
|
278
|
-
}, [l(
|
|
281
|
+
}, [l(p), l(t(A), {
|
|
279
282
|
action: "add"
|
|
280
283
|
}, {
|
|
281
|
-
default:
|
|
282
|
-
trigger:
|
|
284
|
+
default: f(({
|
|
285
|
+
trigger: a
|
|
283
286
|
}) => [l(ge, {
|
|
284
287
|
class: "ml-auto",
|
|
285
|
-
label: t(
|
|
288
|
+
label: t(d)("menu.serving_sequence.add"),
|
|
286
289
|
"prepend-icon": "add",
|
|
287
|
-
onClick:
|
|
290
|
+
onClick: a
|
|
288
291
|
}, null, 8, ["label", "onClick"])]),
|
|
289
292
|
_: 1
|
|
290
293
|
})], 64)) : G("", !0)]),
|
|
291
|
-
default:
|
|
294
|
+
default: f(() => [t(o).checkMenuIsLoading() ? G("", !0) : (m(), h(x, {
|
|
292
295
|
key: 0
|
|
293
|
-
}, [
|
|
296
|
+
}, [v.value.length ? (m(), h(x, {
|
|
294
297
|
key: 1
|
|
295
|
-
}, [b("div",
|
|
298
|
+
}, [b("div", Ie, [l(V, {
|
|
296
299
|
autofocus: "",
|
|
297
300
|
modelValue: t(k),
|
|
298
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
299
|
-
placeholder: t(
|
|
301
|
+
"onUpdate:modelValue": n[0] || (n[0] = (a) => ie(k) ? k.value = a : null),
|
|
302
|
+
placeholder: t(d)("menu.common.labels.search_placeholder", {
|
|
300
303
|
type: "sequences"
|
|
301
304
|
}),
|
|
302
305
|
class: "w-[320px] xs:w-full xs:px-16"
|
|
303
|
-
}, null, 8, ["modelValue", "placeholder"])]),
|
|
304
|
-
key:
|
|
306
|
+
}, null, 8, ["modelValue", "placeholder"])]), g.value ? (m(), h("div", Me, [(m(!0), h(x, null, ue(v.value, (a) => (m(), h("div", {
|
|
307
|
+
key: a._id,
|
|
305
308
|
class: Q(["py-12 px-16", "flex items-center space-x-8"]),
|
|
306
|
-
onClick: (Oe) => a
|
|
307
|
-
}, [b("div", Re, [b("p", Pe, U(
|
|
308
|
-
count:
|
|
309
|
-
})), 1)]), l(
|
|
310
|
-
servingSequence:
|
|
311
|
-
}, null, 8, ["servingSequence"])], 8, Le))), 128))])) : (
|
|
309
|
+
onClick: (Oe) => c(a)
|
|
310
|
+
}, [b("div", Re, [b("p", Pe, U(a.name), 1), b("p", Be, U(t(d)("menu.common.labels.products_linked", {
|
|
311
|
+
count: a.items.length
|
|
312
|
+
})), 1)]), l(B, {
|
|
313
|
+
servingSequence: a
|
|
314
|
+
}, null, 8, ["servingSequence"])], 8, Le))), 128))])) : (m(), j(he, {
|
|
312
315
|
key: 0
|
|
313
316
|
}, {
|
|
314
|
-
default:
|
|
315
|
-
"column-defs":
|
|
316
|
-
loading: t(
|
|
317
|
-
"page-size":
|
|
318
|
-
"row-data":
|
|
317
|
+
default: f(() => [l(te, {
|
|
318
|
+
"column-defs": N.value,
|
|
319
|
+
loading: t(o).checkMenuIsLoading(),
|
|
320
|
+
"page-size": v.value.length,
|
|
321
|
+
"row-data": v.value,
|
|
319
322
|
"search-value": t(k),
|
|
320
323
|
"shrink-at": !1,
|
|
321
324
|
class: "flex-1 overflow-hidden",
|
|
322
325
|
draggable: "",
|
|
323
326
|
"hide-footer": "",
|
|
324
327
|
"pin-header-row": "",
|
|
325
|
-
onDndChanged: n[1] || (n[1] = (
|
|
326
|
-
onRowClick: n[2] || (n[2] = (
|
|
328
|
+
onDndChanged: n[1] || (n[1] = (a) => O(a)),
|
|
329
|
+
onRowClick: n[2] || (n[2] = (a) => c(a.original))
|
|
327
330
|
}, null, 8, ["column-defs", "loading", "page-size", "row-data", "search-value"])]),
|
|
328
331
|
_: 1
|
|
329
|
-
}))], 64)) : (
|
|
330
|
-
subtitle: t(
|
|
331
|
-
title: t(
|
|
332
|
+
}))], 64)) : (m(), h("div", Ee, [l(t(de), {
|
|
333
|
+
subtitle: t(d)("menu.serving_sequence.empty.subtitle"),
|
|
334
|
+
title: t(d)("menu.serving_sequence.empty.title")
|
|
332
335
|
}, {
|
|
333
|
-
action:
|
|
336
|
+
action: f(() => [l(t(A), {
|
|
334
337
|
action: "add"
|
|
335
338
|
}, {
|
|
336
|
-
default:
|
|
337
|
-
trigger:
|
|
338
|
-
}) => [l(
|
|
339
|
-
label: t(
|
|
339
|
+
default: f(({
|
|
340
|
+
trigger: a
|
|
341
|
+
}) => [l(w, {
|
|
342
|
+
label: t(d)("menu.serving_sequence.add"),
|
|
340
343
|
"prepend-icon": "add",
|
|
341
|
-
onClick:
|
|
344
|
+
onClick: a
|
|
342
345
|
}, null, 8, ["label", "onClick"])]),
|
|
343
346
|
_: 1
|
|
344
347
|
})]),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as ne, computed as p, ref as se, watch as ue, watchEffect as ie, resolveComponent as m, createElementBlock as M, openBlock as r, normalizeClass as H, createVNode as s, withCtx as c, createElementVNode as v, createBlock as g, createCommentVNode as y, unref as e, Fragment as D, renderList as $, createTextVNode as re, toDisplayString as F } from "vue";
|
|
2
|
-
import { u as me, b as ce, F as de, i as pe, a as ve, k, d as T } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as me, b as ce, F as de, i as pe, a as ve, k, d as T } from "./index.vue_vue_type_script_setup_true_lang-DybNA4Np.js";
|
|
3
3
|
import { useCoreStore as ge, useI18n as fe } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as _e, useDialog as be, FmButtonVariant as P, FmButtonColorThemeVariant as R, components as ye } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as A } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
6
|
-
import { _ as ke } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as z, a as xe } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { C as f, a as x } from "./catalogSetting-
|
|
9
|
-
import { C as Ce } from "./catalog-
|
|
6
|
+
import { _ as ke } from "./RuleView.vue_vue_type_script_setup_true_lang-CODY5qdL.js";
|
|
7
|
+
import { _ as z, a as xe } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D12xx6Vd.js";
|
|
8
|
+
import { C as f, a as x } from "./catalogSetting-B5EtNHwb.js";
|
|
9
|
+
import { C as Ce } from "./catalog-BuKsorK6.js";
|
|
10
10
|
const Oe = {
|
|
11
11
|
class: /* @__PURE__ */ H(["overflow-scroll", "flex-1", "xs:px-16 xs:py-16", "pt-16"])
|
|
12
12
|
}, Se = {
|
|
@@ -2,18 +2,18 @@ import { defineComponent as A, ref as x, computed as V, watch as te, resolveComp
|
|
|
2
2
|
import { useI18n as R } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as j, components as W, useDialog as X, FmButtonVariant as q, useBreakpoints as se, FmButtonColorThemeVariant as ie } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as re } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { b as P, i as Y, u as J, g as Z, h as ee, _ as ce } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { b as P, i as Y, u as J, g as Z, h as ee, _ as ce } from "./index.vue_vue_type_script_setup_true_lang-DybNA4Np.js";
|
|
6
6
|
import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
7
|
-
import { _ as me } from "./app-
|
|
7
|
+
import { _ as me } from "./app-BN0HgwNB.js";
|
|
8
8
|
import { c as de } from "./createForm-BoUQeZTd.js";
|
|
9
|
-
import { u as pe } from "./discardConfirm-
|
|
9
|
+
import { u as pe } from "./discardConfirm-zfX1nuye.js";
|
|
10
10
|
import { c as G } from "./object-DVUNCr7w.js";
|
|
11
|
-
import { r as _e, u as ae } from "./rules-
|
|
12
|
-
import { _ as fe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { r as _e, u as ae } from "./rules-BS6BLc8X.js";
|
|
12
|
+
import { _ as fe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-DesC2w1k.js";
|
|
13
13
|
import { c as ve } from "./check-C9mY6LiX.js";
|
|
14
14
|
import { g as H } from "./translation-fNx6yEpy.js";
|
|
15
15
|
import { _ as ge } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
16
|
-
import { a as ye } from "./menu-
|
|
16
|
+
import { a as ye } from "./menu-BupVgTY-.js";
|
|
17
17
|
const be = {
|
|
18
18
|
class: "fm-typo-en-title-md-600"
|
|
19
19
|
}, he = {
|