@feedmepos/mf-menu 0.32.61-dev.1 → 0.32.61-dev.2
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-BlPyUGB_.js → App-DUt038mF.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-B4PAatkS.js → ApplyProduct.vue_vue_type_script_setup_true_lang-8XZvSlHK.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-DwANkY0s.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-DmdKxvs_.js} +2 -2
- package/dist/{Catalog-B5MZeM6K.js → Catalog-DdMwXA7l.js} +6 -6
- package/dist/{Category-CI_NWg74.js → Category-BKagB0Qu.js} +4 -4
- package/dist/{Category-D9KrU2k8.js → Category-cqGYih0q.js} +4 -4
- package/dist/{CookingGuide-Cf1CHQ-X.js → CookingGuide-EOLACWPf.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CCHkXBZD.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-HTrbh3tV.js} +1 -1
- package/dist/{Group-CWi-0hkW.js → Group-B7JXb7k7.js} +3 -3
- package/dist/{Group-CuZ7PCKT.js → Group-tr1rtesX.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-BfMyMQ_H.js → Group.vue_vue_type_script_setup_true_lang-CExX5fDG.js} +6 -6
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-1ghoDbrV.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-_g6dUTHu.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BEkD_xvB.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-k7CnGG7K.js} +7 -7
- package/dist/{Ingredient-rn2OM-W7.js → Ingredient-Bd82FJnE.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BMBNdxYT.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DWxCttOu.js} +2 -2
- package/dist/{LinkProductSideSheet-BAVjkhSM.js → LinkProductSideSheet-C1Is5snR.js} +3 -3
- package/dist/{MenuSetting-B76zY-2b.js → MenuSetting-DAGfRWb7.js} +6 -6
- package/dist/{OrderPacing-CJfw_U60.js → OrderPacing-zYRFIqzx.js} +5 -5
- package/dist/{PrintRoute-CDcbOaGr.js → PrintRoute-CX9NKEPF.js} +4 -4
- package/dist/{Product-8RzjWAbu.js → Product-CepWViSA.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-CI7XYUGZ.js → Product.vue_vue_type_script_setup_true_lang-DWwarm2J.js} +12 -12
- package/dist/{ProductInternalTools-wpawK_Db.js → ProductInternalTools-CkiPolTA.js} +5 -5
- package/dist/{Products-B8vYu4il.js → Products-BI7Xs8YJ.js} +54 -54
- package/dist/{Publish-C5FqsnW3.js → Publish-B06qAu0a.js} +3 -3
- package/dist/{Recipe-CJKji-0v.js → Recipe-B5RW-9g1.js} +4 -4
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-Dv69QGDe.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-DxDz2_gw.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-CnEkf8GW.js → RuleView.vue_vue_type_script_setup_true_lang-nbLJkTJe.js} +192 -192
- package/dist/{Scheduler-Bp_4ZoUj.js → Scheduler-CZ1N34rG.js} +3 -3
- package/dist/{ServingSequence-DchLB7W1.js → ServingSequence-CK2arny7.js} +3 -3
- package/dist/{Setting-DpAnRneC.js → Setting-DBqGbCgy.js} +5 -5
- package/dist/{Subcategory-Bp_U6b_a.js → Subcategory-CCz_qMzk.js} +5 -5
- package/dist/{Takeaway-C6Yvjf9C.js → Takeaway-BWrzhPBX.js} +1 -1
- package/dist/{Takeaway-eBz0avMT.js → Takeaway-BuiSCftN.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-s7cuAP0v.js → Takeaway.vue_vue_type_script_setup_true_lang-vV2lhPWV.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-DBYG98Xu.js → Thumbnail.vue_vue_type_script_setup_true_lang-C-i4CHTB.js} +4 -4
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-BFwvDgDG.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-DLJwnBIq.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-BVxnZnzd.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-DoREJPR8.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-mEghCiPA.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CRR0Ci1u.js} +13 -13
- package/dist/{Unit-B6bKPZIQ.js → Unit-CGIwmmMP.js} +2 -2
- package/dist/{Variant-CJdpBl1K.js → Variant-SsrpGySq.js} +3 -3
- package/dist/{_id_-Cf17CNOX.js → _id_-C-7ghnY0.js} +9 -9
- package/dist/{app-w1kUpkW5.js → app-DRqZMdCh.js} +1 -1
- package/dist/{app-BoMWSx89.js → app-q92Gn0OH.js} +32 -32
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-BqJWUcVj.js → linked-status-CRFHwqWc.js} +2 -2
- package/dist/assets/{menu-export-Dnxo90z1.js → menu-export-gQAO_Q6k.js} +3 -3
- package/dist/assets/{override-menu-CYXqVELM.js → override-menu-D5m_8es8.js} +2 -2
- package/dist/assets/{validate-menu-C8UamASu.js → validate-menu-BBVa2Trx.js} +2 -2
- package/dist/{catalog-DBmh4WAG.js → catalog-Bd88n8IK.js} +1 -1
- package/dist/{catalogSetting-DU1xmy0f.js → catalogSetting-LR4qvMEa.js} +1 -1
- package/dist/{currency-kg9-zbPt.js → currency-DhHENaZR.js} +1 -1
- package/dist/{dayjs.min-sFCfvj7o.js → dayjs.min-CZqypuw3.js} +2 -2
- package/dist/{index-y8EZTw6Z.js → index-DzSez1zL.js} +4 -4
- package/dist/{index-Dsfx6bUc.js → index-IauYgr3e.js} +5 -5
- package/dist/{index.vue_vue_type_script_setup_true_lang-BJLNbe5R.js → index.vue_vue_type_script_setup_true_lang-C1hN9sPe.js} +274 -274
- package/dist/{item-COrHMvzn.js → item-CVS5ZVk6.js} +17 -17
- package/dist/{jszip.min-DUDMau14.js → jszip.min-DWTTYUlX.js} +3 -3
- package/dist/{memberPricing-CeRIT6MO.js → memberPricing-CfeMDF8p.js} +1 -1
- package/dist/{menu-CHgRB67k.js → menu-Dgc-vdR6.js} +1 -1
- package/dist/{menuV2-BD8ZEaQH.js → menuV2-CIfcjp73.js} +76 -76
- package/dist/{order_pacing-D1AnXxBm.js → order_pacing-SE9LBqpl.js} +5 -5
- package/dist/{priceTier-CoMN4KMU.js → priceTier-5Kktie2X.js} +1 -1
- package/dist/{rules-DMR9hBYD.js → rules-QaMigqy7.js} +3 -3
- package/dist/{scheduler-CKoiMRzw.js → scheduler-BkYvTBSI.js} +4 -4
- package/dist/{toExcel-CwIaZ36w.js → toExcel-CG4SySCx.js} +2 -2
- package/dist/{unit-CQPZOeGq.js → unit-mg1Fnb2d.js} +2 -2
- package/package.json +1 -1
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { defineStore as ai } from "pinia";
|
|
2
2
|
import { defineComponent as pe, resolveComponent as U, createElementBlock as Y, createBlock as X, openBlock as k, createElementVNode as F, createVNode as h, toDisplayString as ae, Fragment as ve, renderList as Ie, h as Me, ref as H, computed as T, watch as xe, unref as m, renderSlot as Ve, withCtx as R, createCommentVNode as ne, Transition as Gi, normalizeClass as Ne, resolveDynamicComponent as Bt, withDirectives as ut, vShow as Jt, mergeProps as ri, withModifiers as zt, onMounted as wt, onUnmounted as Ki, createTextVNode as jt, getCurrentInstance as zn, render as Gt, resolveDirective as Kt, markRaw as Wi, mergeModels as Bn, useModel as Hi, nextTick as si, normalizeProps as Yi, guardReactiveProps as qi, normalizeStyle as Xi } from "vue";
|
|
3
|
-
import { J as Pe, K as Re, U as Te, as as Zi, au as Qi, a0 as li, G as _e, A as Ye, R as Se, z as Le, X as Ji, u as Fe, H as ze, B as nt, P as it, a2 as eo, y as pt, av as to, M as Wt, N as yn, O as jn, Q as no, T as io, V as oo, W as mn, am as ao, Y as ro } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { J as Pe, K as Re, U as Te, as as Zi, au as Qi, a0 as li, G as _e, A as Ye, R as Se, z as Le, X as Ji, u as Fe, H as ze, B as nt, P as it, a2 as eo, y as pt, av as to, M as Wt, N as yn, O as jn, Q as no, T as io, V as oo, W as mn, am as ao, Y as ro } from "./index.vue_vue_type_script_setup_true_lang-C1hN9sPe.js";
|
|
4
4
|
import { useI18n as fe, useCoreStore as xt, CustomAttributesForm as ui } from "@feedmepos/mf-common";
|
|
5
5
|
import { useDialog as Ze, useSnackbar as qe, components as Ae, useDialogChild as en, FmButtonVariant as je, FmButtonColorThemeVariant as Je, useBreakpoints as ci } from "@feedmepos/ui-library";
|
|
6
|
-
import { C as rt } from "./catalog-
|
|
6
|
+
import { C as rt } from "./catalog-Bd88n8IK.js";
|
|
7
7
|
import { c as di } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
8
8
|
import { a as Gn, _ as Ft } from "./tooltip-B5BiPMx9.js";
|
|
9
|
-
import { H as so, L as lo } from "./LinkProductSideSheet-
|
|
10
|
-
import { u as uo, _ as Be, a as co } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { H as so, L as lo } from "./LinkProductSideSheet-C1Is5snR.js";
|
|
10
|
+
import { u as uo, _ as Be, a as co } from "./RuleView.vue_vue_type_script_setup_true_lang-nbLJkTJe.js";
|
|
11
11
|
import { s as _n, F as mo, _ as po } from "./index-CisutoS9.js";
|
|
12
|
-
import { e as fo } from "./app-
|
|
12
|
+
import { e as fo } from "./app-q92Gn0OH.js";
|
|
13
13
|
import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
-
import { g as mi, a as ho, m as vo } from "./menuV2-
|
|
14
|
+
import { g as mi, a as ho, m as vo } from "./menuV2-CIfcjp73.js";
|
|
15
15
|
import { useAppStore as tn, RemyButton as Ht } from "@feedmepos/mf-remy-panel";
|
|
16
16
|
import { _ as ct } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
17
|
-
import { u as go, r as bo } from "./rules-
|
|
17
|
+
import { u as go, r as bo } from "./rules-QaMigqy7.js";
|
|
18
18
|
import { u as At } from "./discardConfirm-BHni0LNu.js";
|
|
19
|
-
import { _ as pi, a as Yt, b as qt, c as Xt } from "./TranslationFieldSection.vue_vue_type_script_setup_true_lang-
|
|
19
|
+
import { _ as pi, a as Yt, b as qt, c as Xt } from "./TranslationFieldSection.vue_vue_type_script_setup_true_lang-DLJwnBIq.js";
|
|
20
20
|
import { a as wn, g as mt } from "./translation-fNx6yEpy.js";
|
|
21
21
|
import { c as Zt } from "./object-DVUNCr7w.js";
|
|
22
|
-
import { _ as Pn } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-
|
|
23
|
-
import { u as yo } from "./menu-
|
|
22
|
+
import { _ as Pn } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-DoREJPR8.js";
|
|
23
|
+
import { u as yo } from "./menu-Dgc-vdR6.js";
|
|
24
24
|
import { c as yt } from "./check-C9mY6LiX.js";
|
|
25
|
-
import { _ as lt, l as kn, T as _o } from "./index-
|
|
25
|
+
import { _ as lt, l as kn, T as _o } from "./index-IauYgr3e.js";
|
|
26
26
|
import { useInventoryStore as fi, InventoryBindingForm as wo, InventoryBindingSummary as ko } from "@feedmepos/mf-inventory-portal";
|
|
27
|
-
import { f as Xe } from "./currency-
|
|
28
|
-
import { u as nn } from "./memberPricing-
|
|
29
|
-
import { u as hi } from "./priceTier-
|
|
27
|
+
import { f as Xe } from "./currency-DhHENaZR.js";
|
|
28
|
+
import { u as nn } from "./memberPricing-CfeMDF8p.js";
|
|
29
|
+
import { u as hi } from "./priceTier-5Kktie2X.js";
|
|
30
30
|
import { u as Co } from "./search-BAPEUu1R.js";
|
|
31
31
|
import { c as So } from "./string-DpfFixWH.js";
|
|
32
32
|
import { d as vi } from "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
|
|
33
|
-
import { _ as xo } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
34
|
-
import { u as Ao, a as Vo } from "./order_pacing-
|
|
35
|
-
import { V as Kn } from "./index-
|
|
33
|
+
import { _ as xo } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-8XZvSlHK.js";
|
|
34
|
+
import { u as Ao, a as Vo } from "./order_pacing-SE9LBqpl.js";
|
|
35
|
+
import { V as Kn } from "./index-DzSez1zL.js";
|
|
36
36
|
function To(e, n) {
|
|
37
37
|
if (!e)
|
|
38
38
|
return [];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as ct, g as Bt } from "./app-
|
|
2
|
-
import { a4 as wt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { c as ct, g as Bt } from "./app-q92Gn0OH.js";
|
|
2
|
+
import { a4 as wt } from "./index.vue_vue_type_script_setup_true_lang-C1hN9sPe.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_122b4fb0-1d02-4cdd-a6e7-24c8ffb171c7", 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_122b4fb0-1d02-4cdd-a6e7-24c8ffb171c7", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", GTM_ID: "GTM-P7Z9FMS6", FIREBASE_MESSAGING_SENDER_ID: "458797803788", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.6.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", VITE_FEATURE_FLAG_API_KEY: "MaGoXrEWuEJNpWgKTqseee", SYSTEMD_EXEC_PID: "1781", ACTIONS_ORCHESTRATION_ID: "75514742-65a7-4c18-8373-000bc94257b6.publish.deploy.__default", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260720.247.2", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_122b4fb0-1d02-4cdd-a6e7-24c8ffb171c7", 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:11448", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", REMY_URL: "https://remy-dev.feedmeapi.com/v1", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.12/x64", GITHUB_RUN_ID: "30470136209", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapidev.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2fef3974421fd1f2773b83a125287cd71ceea9f2", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.5/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_c716bd4e-68c2-47f4-87f0-0347ae5e80e6", INVOCATION_ID: "87f4ec6653df4b8ba998c7f44f6a1abd", 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: "578", 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 1000099815", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.32.61-dev.2", 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: "2fef3974421fd1f2773b83a125287cd71ceea9f2", 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_122b4fb0-1d02-4cdd-a6e7-24c8ffb171c7", 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_122b4fb0-1d02-4cdd-a6e7-24c8ffb171c7", 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_122b4fb0-1d02-4cdd-a6e7-24c8ffb171c7", 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_122b4fb0-1d02-4cdd-a6e7-24c8ffb171c7", 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 { defineComponent as d, ref as _, watch as S, resolveComponent as b, createBlock as f, openBlock as y, unref as M, computed as T } from "vue";
|
|
2
|
-
import { u as h, B as w } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as h, B as w } from "./index.vue_vue_type_script_setup_true_lang-C1hN9sPe.js";
|
|
3
3
|
import { useI18n as l } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as x, useDialog as C, useSnackbar as P } from "@feedmepos/ui-library";
|
|
5
5
|
const k = /* @__PURE__ */ d({
|
|
@@ -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-C1hN9sPe.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, U as ue, ax as re, J as
|
|
5
|
-
import { defineStore as
|
|
6
|
-
import { shallowRef as j, ref as
|
|
4
|
+
import { I as ae, G as C, A as T, U as ue, ax as re, J as H, H as ie, aj as x, c as L, a0 as V, au as oe, ay as ze, az as qe, z as He, am as Be, aA as Ge, aB as Je, ah as Ye } from "./index.vue_vue_type_script_setup_true_lang-C1hN9sPe.js";
|
|
5
|
+
import { defineStore as Qe } from "pinia";
|
|
6
|
+
import { shallowRef as j, ref as B, 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-CRFHwqWc.js", rt = "/assets/override-menu-D5m_8es8.js";
|
|
10
10
|
function ot(e) {
|
|
11
11
|
var s;
|
|
12
12
|
const t = C(e), n = (s = t.variant) == null ? void 0 : s.variantCombinations;
|
|
@@ -152,7 +152,7 @@ function ut(e, t) {
|
|
|
152
152
|
price: (s == null ? void 0 : s.price) || t.price
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
|
-
async function
|
|
155
|
+
async function Dt(e, t, n, s, o, u = !0) {
|
|
156
156
|
const l = C(n), a = u ? st(t, l, s, o) : l, d = t.reduce((y, f) => (y[f._id] = a.modules.item.find((v) => v._id === f._id), y), {}), c = t.reduce((y, f) => {
|
|
157
157
|
const v = f._id;
|
|
158
158
|
return y[v] = at(d[v], e), y;
|
|
@@ -170,7 +170,7 @@ async function Vt(e, t, n, s, o, u = !0) {
|
|
|
170
170
|
};
|
|
171
171
|
});
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function Vt(e, t) {
|
|
174
174
|
if (e.length === 0) return "";
|
|
175
175
|
const n = e == null ? void 0 : e.split("variant");
|
|
176
176
|
return ((n == null ? void 0 : n.reduce((o, u) => {
|
|
@@ -183,11 +183,11 @@ function Dt(e, t) {
|
|
|
183
183
|
return o;
|
|
184
184
|
}, [])) || []).join(" / ");
|
|
185
185
|
}
|
|
186
|
-
const
|
|
186
|
+
const z = /* @__PURE__ */ new Map();
|
|
187
187
|
async function Tt(e, t) {
|
|
188
188
|
const n = `${e._id}-${e.updatedAt}-${t}`;
|
|
189
|
-
if (
|
|
190
|
-
return
|
|
189
|
+
if (z.has(n))
|
|
190
|
+
return z.get(n);
|
|
191
191
|
const s = await ae(
|
|
192
192
|
nt,
|
|
193
193
|
JSON.stringify({
|
|
@@ -195,7 +195,7 @@ async function Tt(e, t) {
|
|
|
195
195
|
itemId: t
|
|
196
196
|
})
|
|
197
197
|
);
|
|
198
|
-
return
|
|
198
|
+
return z.set(n, s), s;
|
|
199
199
|
}
|
|
200
200
|
async function ce(e, t, n) {
|
|
201
201
|
return await ae(rt, {
|
|
@@ -204,13 +204,13 @@ async function ce(e, t, n) {
|
|
|
204
204
|
schedulerId: n
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
|
-
const
|
|
207
|
+
const q = /* @__PURE__ */ new Map();
|
|
208
208
|
async function it(e, t, n) {
|
|
209
209
|
const s = `${e._id}-${e.updatedAt}-${t || "null"}-${n || "null"}`;
|
|
210
|
-
if (
|
|
211
|
-
return
|
|
210
|
+
if (q.has(s))
|
|
211
|
+
return q.get(s);
|
|
212
212
|
const o = await ce(e, t, n);
|
|
213
|
-
return
|
|
213
|
+
return q.set(s, o), o;
|
|
214
214
|
}
|
|
215
215
|
async function Kt(e, t, n) {
|
|
216
216
|
var l, a;
|
|
@@ -224,8 +224,8 @@ async function Kt(e, t, n) {
|
|
|
224
224
|
const c = (l = d.items) == null ? void 0 : l.find((y) => y._id === n && !y.combinationKey), g = e.modules.item.find((y) => y._id === n);
|
|
225
225
|
if (c) {
|
|
226
226
|
const y = (a = d.items) == null ? void 0 : a.filter((v) => v._id === n && v.combinationKey), f = [c, ...y].map((v) => {
|
|
227
|
-
var
|
|
228
|
-
const h = v.combinationKey ? (I = (
|
|
227
|
+
var w, I;
|
|
228
|
+
const h = v.combinationKey ? (I = (w = g == null ? void 0 : g.variant) == null ? void 0 : w.variantCombinations) == null ? void 0 : I.find(
|
|
229
229
|
(E) => E.combinationKey === v.combinationKey
|
|
230
230
|
) : g, b = h && g ? u(g, h) : v;
|
|
231
231
|
return u(b, v);
|
|
@@ -238,7 +238,7 @@ async function Kt(e, t, n) {
|
|
|
238
238
|
}
|
|
239
239
|
return o;
|
|
240
240
|
}
|
|
241
|
-
const
|
|
241
|
+
const M = 0, K = 3;
|
|
242
242
|
function ct(e) {
|
|
243
243
|
const t = /^\/(.*)\/([gimyu]*)$/.exec(e.toString());
|
|
244
244
|
if (!t)
|
|
@@ -317,8 +317,8 @@ function dt(e, t, n) {
|
|
|
317
317
|
const h = k(e[0]) || Array.isArray(e[0]), b = a.length > 0;
|
|
318
318
|
if (h || b) {
|
|
319
319
|
a = [];
|
|
320
|
-
for (let
|
|
321
|
-
a.push({ leftIndex:
|
|
320
|
+
for (let w = 0; w < e.length; w++)
|
|
321
|
+
a.push({ leftIndex: w, rightIndex: w });
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
new Set(a.map((h) => h.leftIndex));
|
|
@@ -328,14 +328,14 @@ function dt(e, t, n) {
|
|
|
328
328
|
for (let h = 0; h < e.length; h++) {
|
|
329
329
|
const b = c.get(h);
|
|
330
330
|
if (b !== void 0) {
|
|
331
|
-
const
|
|
332
|
-
if (
|
|
331
|
+
const w = J(e[h], t[b], n);
|
|
332
|
+
if (w !== void 0 && (s[b] = w), o && b !== h) {
|
|
333
333
|
const I = `_${h}`, E = u ? [e[h], b, K] : ["", b, K];
|
|
334
334
|
s[I] = E;
|
|
335
335
|
}
|
|
336
336
|
} else {
|
|
337
|
-
const
|
|
338
|
-
s[
|
|
337
|
+
const w = `_${h}`;
|
|
338
|
+
s[w] = [e[h], M, M];
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
for (let h = 0; h < t.length; h++)
|
|
@@ -356,7 +356,7 @@ function mt(e, t, n) {
|
|
|
356
356
|
g !== void 0 && (s[a] = g);
|
|
357
357
|
} else if (d && !c) {
|
|
358
358
|
const g = n != null && n.omitRemovedValues ? 0 : e[a];
|
|
359
|
-
s[a] = [g,
|
|
359
|
+
s[a] = [g, M, M];
|
|
360
360
|
} else !d && c && (s[a] = [t[a]]);
|
|
361
361
|
}
|
|
362
362
|
return Object.keys(s).length > 0 ? s : void 0;
|
|
@@ -386,7 +386,7 @@ function vt(e, t, n) {
|
|
|
386
386
|
for (const a in t) {
|
|
387
387
|
if (a === "_t" || !a.startsWith("_")) continue;
|
|
388
388
|
const d = parseInt(a.slice(1)), c = t[a];
|
|
389
|
-
Array.isArray(c) && (c.length === 3 && c[2] ===
|
|
389
|
+
Array.isArray(c) && (c.length === 3 && c[2] === M ? s.add(d) : c.length === 3 && c[2] === K && o.set(d, c[1]));
|
|
390
390
|
}
|
|
391
391
|
const u = [];
|
|
392
392
|
let l = 0;
|
|
@@ -423,7 +423,7 @@ function yt(e, t, n) {
|
|
|
423
423
|
const s = { ...e };
|
|
424
424
|
for (const o in t) {
|
|
425
425
|
const u = t[o];
|
|
426
|
-
Array.isArray(u) ? u.length === 1 ? s[o] = u[0] : u.length === 3 && u[2] ===
|
|
426
|
+
Array.isArray(u) ? u.length === 1 ? s[o] = u[0] : u.length === 3 && u[2] === M ? delete s[o] : u.length === 2 && (s[o] = u[1]) : s[o] = Y(s[o], u);
|
|
427
427
|
}
|
|
428
428
|
return s;
|
|
429
429
|
}
|
|
@@ -434,7 +434,7 @@ function Y(e, t, n) {
|
|
|
434
434
|
return t[0];
|
|
435
435
|
if (t.length === 2)
|
|
436
436
|
return t[1];
|
|
437
|
-
if (t.length === 3 && t[2] ===
|
|
437
|
+
if (t.length === 3 && t[2] === M)
|
|
438
438
|
return;
|
|
439
439
|
}
|
|
440
440
|
return k(t) && t._t === "a" ? vt(e, t) : k(t) && k(e) ? yt(e, t) : e;
|
|
@@ -449,7 +449,7 @@ function gt(e) {
|
|
|
449
449
|
if (n.startsWith("_")) {
|
|
450
450
|
const s = parseInt(n.slice(1)), o = e[n];
|
|
451
451
|
if (Array.isArray(o)) {
|
|
452
|
-
if (o.length === 3 && o[2] ===
|
|
452
|
+
if (o.length === 3 && o[2] === M)
|
|
453
453
|
t[s] = [o[0]];
|
|
454
454
|
else if (o.length === 3 && o[2] === K) {
|
|
455
455
|
const u = o[1];
|
|
@@ -459,9 +459,9 @@ function gt(e) {
|
|
|
459
459
|
} else {
|
|
460
460
|
const s = parseInt(n), o = e[n];
|
|
461
461
|
if (Array.isArray(o) && o.length === 1)
|
|
462
|
-
t[`_${s}`] = [o[0],
|
|
462
|
+
t[`_${s}`] = [o[0], M, M];
|
|
463
463
|
else {
|
|
464
|
-
const u =
|
|
464
|
+
const u = Q(o);
|
|
465
465
|
u !== void 0 && (t[n] = u);
|
|
466
466
|
}
|
|
467
467
|
}
|
|
@@ -472,22 +472,22 @@ function ht(e) {
|
|
|
472
472
|
for (const n in e) {
|
|
473
473
|
const s = e[n];
|
|
474
474
|
if (Array.isArray(s))
|
|
475
|
-
s.length === 1 ? t[n] = [s[0],
|
|
475
|
+
s.length === 1 ? t[n] = [s[0], M, M] : s.length === 3 && s[2] === M ? t[n] = [s[0]] : s.length === 2 && (t[n] = [s[1], s[0]]);
|
|
476
476
|
else {
|
|
477
|
-
const o =
|
|
477
|
+
const o = Q(s);
|
|
478
478
|
o !== void 0 && (t[n] = o);
|
|
479
479
|
}
|
|
480
480
|
}
|
|
481
481
|
return t;
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function Q(e) {
|
|
484
484
|
if (e !== void 0) {
|
|
485
485
|
if (Array.isArray(e)) {
|
|
486
486
|
if (e.length === 1)
|
|
487
|
-
return [e[0],
|
|
487
|
+
return [e[0], M, M];
|
|
488
488
|
if (e.length === 2)
|
|
489
489
|
return [e[1], e[0]];
|
|
490
|
-
if (e.length === 3 && e[2] ===
|
|
490
|
+
if (e.length === 3 && e[2] === M)
|
|
491
491
|
return [e[0]];
|
|
492
492
|
if (e.length === 3 && e[2] === K)
|
|
493
493
|
return e;
|
|
@@ -496,7 +496,7 @@ function X(e) {
|
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
function de(e) {
|
|
499
|
-
return
|
|
499
|
+
return Q(e);
|
|
500
500
|
}
|
|
501
501
|
function pt(e, t, n) {
|
|
502
502
|
const s = de(t);
|
|
@@ -536,7 +536,7 @@ function bt({
|
|
|
536
536
|
includeValueOnMove: !1
|
|
537
537
|
},
|
|
538
538
|
cloneDiffValues: !1
|
|
539
|
-
}), n = j(null), s = j([]), o =
|
|
539
|
+
}), n = j(null), s = j([]), o = B(-1), u = j(null), l = S(() => o.value > 0), a = S(() => o.value < s.value.length - 1);
|
|
540
540
|
function d(v) {
|
|
541
541
|
if (n.value === null) {
|
|
542
542
|
n.value = C(v), u.value = C(v), s.value = [{ delta: null }], o.value = 0;
|
|
@@ -553,8 +553,8 @@ function bt({
|
|
|
553
553
|
return;
|
|
554
554
|
let h = C(n.value);
|
|
555
555
|
for (let b = 1; b <= v; b++) {
|
|
556
|
-
const
|
|
557
|
-
|
|
556
|
+
const w = s.value[b];
|
|
557
|
+
w.delta && (h = t.patch(h, w.delta));
|
|
558
558
|
}
|
|
559
559
|
return h;
|
|
560
560
|
}
|
|
@@ -584,9 +584,9 @@ function bt({
|
|
|
584
584
|
clear: f
|
|
585
585
|
};
|
|
586
586
|
}
|
|
587
|
-
const
|
|
587
|
+
const wt = {
|
|
588
588
|
async updateMenuModule(e, t) {
|
|
589
|
-
const n =
|
|
589
|
+
const n = H.RequestRunner.operation(t, e.modules);
|
|
590
590
|
if (n.validateError.length > 0)
|
|
591
591
|
throw new Error(n.validateError.join(`
|
|
592
592
|
`));
|
|
@@ -621,7 +621,7 @@ function me() {
|
|
|
621
621
|
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
622
622
|
};
|
|
623
623
|
}
|
|
624
|
-
function
|
|
624
|
+
function Mt() {
|
|
625
625
|
return {
|
|
626
626
|
restaurants: [],
|
|
627
627
|
menu: { ...me(), _rev: "" },
|
|
@@ -634,10 +634,10 @@ function wt() {
|
|
|
634
634
|
}
|
|
635
635
|
};
|
|
636
636
|
}
|
|
637
|
-
const Pt =
|
|
637
|
+
const Pt = Qe(
|
|
638
638
|
"mf-menu-store-v2",
|
|
639
639
|
() => {
|
|
640
|
-
const e =
|
|
640
|
+
const e = Xe(Mt()), t = se(), n = tt(), s = S(() => e.menu.modules.serveSequence ? x(e.menu.modules.serveSequence, {
|
|
641
641
|
selector: "position"
|
|
642
642
|
}) : []), o = S(() => {
|
|
643
643
|
var r;
|
|
@@ -660,9 +660,9 @@ const Pt = Xe(
|
|
|
660
660
|
(r) => r._id === e.currentSchedulerId
|
|
661
661
|
));
|
|
662
662
|
function g(r, i = !0) {
|
|
663
|
-
e.menu = { ...r, _rev: e.menu._rev }, i &&
|
|
663
|
+
e.menu = { ...r, _rev: e.menu._rev }, i && D.push(e.menu);
|
|
664
664
|
}
|
|
665
|
-
const y = j(me()), f =
|
|
665
|
+
const y = j(me()), f = B(!1), v = B(1);
|
|
666
666
|
async function h() {
|
|
667
667
|
var m;
|
|
668
668
|
f.value = !0;
|
|
@@ -697,17 +697,17 @@ const Pt = Xe(
|
|
|
697
697
|
}
|
|
698
698
|
return y.value = i, f.value = !1, v.value = v.value + 1, i;
|
|
699
699
|
}
|
|
700
|
-
const
|
|
700
|
+
const w = ie.debounce(h, 200);
|
|
701
701
|
let I = null, E = null;
|
|
702
|
-
function
|
|
702
|
+
function X() {
|
|
703
703
|
E && (E(), E = null), I && I.stop(), I = Ze(!0), E = I.run(() => et(
|
|
704
704
|
() => [e.menu, e.currentCatalogId, e.currentSchedulerId],
|
|
705
705
|
() => {
|
|
706
|
-
f.value ||
|
|
706
|
+
f.value || w();
|
|
707
707
|
}
|
|
708
708
|
)) || null;
|
|
709
709
|
}
|
|
710
|
-
|
|
710
|
+
X();
|
|
711
711
|
const fe = S(() => [
|
|
712
712
|
{
|
|
713
713
|
label: "Main",
|
|
@@ -727,11 +727,11 @@ const Pt = Xe(
|
|
|
727
727
|
position: 0
|
|
728
728
|
}
|
|
729
729
|
] : [],
|
|
730
|
-
...
|
|
730
|
+
...V(r, (i) => i.name)
|
|
731
731
|
];
|
|
732
732
|
}), ve = S(() => {
|
|
733
733
|
const r = y.value.modules.subCategory || [];
|
|
734
|
-
return
|
|
734
|
+
return V(r, (i) => i.name);
|
|
735
735
|
}), ee = S(() => {
|
|
736
736
|
var i;
|
|
737
737
|
let r = y.value.modules.item;
|
|
@@ -745,13 +745,13 @@ const Pt = Xe(
|
|
|
745
745
|
return (_ == null ? void 0 : _.orderFrom) !== ue.enum.NONE;
|
|
746
746
|
});
|
|
747
747
|
}
|
|
748
|
-
return
|
|
748
|
+
return V(r, (m) => m.code || m.name);
|
|
749
749
|
}), ye = S(() => {
|
|
750
|
-
const r = e.menu.modules.category, i =
|
|
750
|
+
const r = e.menu.modules.category, i = V(r, (p) => p.name).reduce(
|
|
751
751
|
(p, _, A) => (p[_._id] = A, p),
|
|
752
752
|
{ "": 0 }
|
|
753
753
|
), m = e.menu.modules.item;
|
|
754
|
-
return
|
|
754
|
+
return V(
|
|
755
755
|
m,
|
|
756
756
|
(p) => p.code || p.name
|
|
757
757
|
).reduce((p, _, A) => (p[_._id] = A + i[_.category || ""], p), {});
|
|
@@ -777,12 +777,12 @@ const Pt = Xe(
|
|
|
777
777
|
const i = r.map((p) => N.value.find((_) => _._id === p)).filter((p) => !!p);
|
|
778
778
|
return T.fullVariantCombination(i).reduce((p, _) => (p[_.combinationKey] = _.selectionName.join(" / "), p), {});
|
|
779
779
|
}
|
|
780
|
-
const _e = S(() =>
|
|
780
|
+
const _e = S(() => V(y.value.modules.group, (r) => r.name)), Se = S(() => x(y.value.modules.takeaway, { selector: "name" })), be = S(() => x(e.menu.modules.printDepartment || [], {
|
|
781
781
|
selector: "name"
|
|
782
|
-
})),
|
|
782
|
+
})), we = S(() => x(e.menu.modules.unit, { selector: "name" })), Me = S(() => x(ze(e.menu.modules.recipe, e.menu.modules.sku), {
|
|
783
783
|
selector: "name"
|
|
784
784
|
})), Ae = S(() => e.menu.modules.cookingGuide), Ce = S(() => {
|
|
785
|
-
const r =
|
|
785
|
+
const r = qe(e.menu.modules.sku);
|
|
786
786
|
return x(r, { selector: "code" });
|
|
787
787
|
}), Ie = S(() => {
|
|
788
788
|
const r = /* @__PURE__ */ new Map();
|
|
@@ -877,10 +877,10 @@ const Pt = Xe(
|
|
|
877
877
|
}
|
|
878
878
|
const Re = S(() => {
|
|
879
879
|
var p;
|
|
880
|
-
const r = ["SV5", "SV10"], i =
|
|
880
|
+
const r = ["SV5", "SV10"], i = He.Country.getCountryFlattenTaxes(
|
|
881
881
|
se().currentCountry.value
|
|
882
882
|
), m = i.filter((_) => u.value || !r.includes(_.taxCode)).map((_) => ({
|
|
883
|
-
label: `${_.name} (${
|
|
883
|
+
label: `${_.name} (${Be(_.rate)}%)`,
|
|
884
884
|
value: W(_),
|
|
885
885
|
meta: {
|
|
886
886
|
rate: _.rate
|
|
@@ -906,9 +906,9 @@ const Pt = Xe(
|
|
|
906
906
|
});
|
|
907
907
|
}, te = (r) => {
|
|
908
908
|
e.currentCatalogId = r;
|
|
909
|
-
}, Ve = (r) => {
|
|
910
|
-
e.currentSchedulerId = r;
|
|
911
909
|
}, De = (r) => {
|
|
910
|
+
e.currentSchedulerId = r;
|
|
911
|
+
}, Ve = (r) => {
|
|
912
912
|
e.currentCategoryIds = r;
|
|
913
913
|
}, Te = (r) => {
|
|
914
914
|
e.currentRestaurantAttrParams = r;
|
|
@@ -922,12 +922,12 @@ const Pt = Xe(
|
|
|
922
922
|
}));
|
|
923
923
|
try {
|
|
924
924
|
if (i || p.some(
|
|
925
|
-
(A) => [
|
|
925
|
+
(A) => [H.F_OPERATION_TYPE.delete, H.F_OPERATION_TYPE.deleteMany].includes(A.operation)
|
|
926
926
|
)) {
|
|
927
927
|
const A = await Ge(p, e.menu.modules);
|
|
928
928
|
if (A !== !0) throw new Error(A);
|
|
929
929
|
}
|
|
930
|
-
const _ = await
|
|
930
|
+
const _ = await wt.updateMenuModule(e.menu, p);
|
|
931
931
|
return g(_.menu), _;
|
|
932
932
|
} catch (_) {
|
|
933
933
|
n.open({
|
|
@@ -944,14 +944,14 @@ const Pt = Xe(
|
|
|
944
944
|
priceTierSettings: r.priceTierSettings
|
|
945
945
|
};
|
|
946
946
|
return g(i), i;
|
|
947
|
-
},
|
|
948
|
-
const r =
|
|
947
|
+
}, D = bt({ maxHistorySize: 50 }), $e = S(() => D.canUndo.value), Fe = S(() => D.canRedo.value), je = () => {
|
|
948
|
+
const r = D.undo();
|
|
949
949
|
r && g(r, !1);
|
|
950
950
|
}, Ne = () => {
|
|
951
|
-
const r =
|
|
951
|
+
const r = D.redo();
|
|
952
952
|
r && g(r, !1);
|
|
953
953
|
}, Ue = () => {
|
|
954
|
-
|
|
954
|
+
D.clear();
|
|
955
955
|
};
|
|
956
956
|
return {
|
|
957
957
|
state: e,
|
|
@@ -980,8 +980,8 @@ const Pt = Xe(
|
|
|
980
980
|
groups: _e,
|
|
981
981
|
takeaways: Se,
|
|
982
982
|
printDepartments: be,
|
|
983
|
-
units:
|
|
984
|
-
recipes:
|
|
983
|
+
units: we,
|
|
984
|
+
recipes: Me,
|
|
985
985
|
cookingGuide: Ae,
|
|
986
986
|
skus: Ce,
|
|
987
987
|
rules: U,
|
|
@@ -991,8 +991,8 @@ const Pt = Xe(
|
|
|
991
991
|
readMenu: xe,
|
|
992
992
|
readRestaurants: Oe,
|
|
993
993
|
selectCatalog: te,
|
|
994
|
-
selectScheduler:
|
|
995
|
-
selectCategory:
|
|
994
|
+
selectScheduler: De,
|
|
995
|
+
selectCategory: Ve,
|
|
996
996
|
setRestaurantAttrParams: Te,
|
|
997
997
|
updateMenu: Ke,
|
|
998
998
|
updateMenuSetting: Pe,
|
|
@@ -1009,10 +1009,10 @@ const Pt = Xe(
|
|
|
1009
1009
|
redoHistory: Ne,
|
|
1010
1010
|
// cleanup
|
|
1011
1011
|
$dispose: () => {
|
|
1012
|
-
|
|
1012
|
+
w.cancel(), E && (E(), E = null), I && (I.stop(), I = null), Ue();
|
|
1013
1013
|
},
|
|
1014
1014
|
$reinitialize: () => {
|
|
1015
|
-
|
|
1015
|
+
X();
|
|
1016
1016
|
}
|
|
1017
1017
|
};
|
|
1018
1018
|
}
|
|
@@ -1020,8 +1020,8 @@ const Pt = Xe(
|
|
|
1020
1020
|
export {
|
|
1021
1021
|
Tt as a,
|
|
1022
1022
|
Kt as f,
|
|
1023
|
-
|
|
1024
|
-
|
|
1023
|
+
Vt as g,
|
|
1024
|
+
Dt as m,
|
|
1025
1025
|
it as o,
|
|
1026
1026
|
Pt as u
|
|
1027
1027
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as q, ref as V, h as S, computed as N, resolveComponent as I, createBlock as X, openBlock as w, unref as l, withCtx as x, createElementVNode as k, createVNode as v, watch as Z, createElementBlock as L, Fragment as B, renderSlot as ee, renderList as G, toDisplayString as $, createCommentVNode as ae, getCurrentInstance as te, render as ne } from "vue";
|
|
2
|
-
import { u as Y, P as oe, B as le, J as M, K } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as Y, P as oe, B as le, J as M, K } from "./index.vue_vue_type_script_setup_true_lang-C1hN9sPe.js";
|
|
3
3
|
import { useI18n as R } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as A, FmButtonVariant as re, FmButtonColorThemeVariant as j, useSnackbar as ie } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as H, u as se } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as H, u as se } from "./RuleView.vue_vue_type_script_setup_true_lang-nbLJkTJe.js";
|
|
6
6
|
import { c as de } from "./object-DVUNCr7w.js";
|
|
7
|
-
import { _ as ue } from "./app-
|
|
8
|
-
import { L as ce } from "./LinkProductSideSheet-
|
|
7
|
+
import { _ as ue } from "./app-q92Gn0OH.js";
|
|
8
|
+
import { L as ce } from "./LinkProductSideSheet-C1Is5snR.js";
|
|
9
9
|
import { u as me } from "./search-BAPEUu1R.js";
|
|
10
|
-
import { _ as pe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { _ as pe } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-DoREJPR8.js";
|
|
11
11
|
import { c as ge } from "./check-C9mY6LiX.js";
|
|
12
12
|
import { g as J } from "./translation-fNx6yEpy.js";
|
|
13
13
|
import { c as _e } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
@@ -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-C1hN9sPe.js";
|
|
5
5
|
const v = /* @__PURE__ */ d({
|
|
6
6
|
__name: "AddPriceGroupDialog",
|
|
7
7
|
setup(s) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as I, watch as h, ref as E, computed as w, resolveComponent as _, createElementBlock as F, openBlock as P, Fragment as M, createVNode as f, unref as g, withCtx as b, createElementVNode as O, renderList as q, toDisplayString as S } from "vue";
|
|
2
|
-
import { J as v, K as C, u as Y } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { J as v, K as C, u as Y } from "./index.vue_vue_type_script_setup_true_lang-C1hN9sPe.js";
|
|
3
3
|
import { useI18n as D } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as k } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as R } from "./menuV2-
|
|
6
|
-
import { _ as $ } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as R } from "./menuV2-CIfcjp73.js";
|
|
6
|
+
import { _ as $ } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-DoREJPR8.js";
|
|
7
7
|
import { g as N } from "./translation-fNx6yEpy.js";
|
|
8
8
|
const B = { class: "py-12 px-16 space-y-4" }, U = /* @__PURE__ */ I({
|
|
9
9
|
__name: "AddSubcategoryDialogContentComponent",
|