@feedmepos/mf-menu 0.32.83 → 0.32.84-dev.1
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-Bw-ozzec.js → App-C0CJza2q.js} +8 -8
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DHDH7KKi.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BSoX-vdS.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-BXUoYPtC.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-Zb_wxRhM.js} +3 -3
- package/dist/{Catalog-Dmi4r1Zs.js → Catalog-DBM3kYSx.js} +6 -6
- package/dist/{CatalogBinding-B7H-nEwM.js → CatalogBinding-DZrL3XdA.js} +3 -3
- package/dist/{Category-BKwpeCXh.js → Category-Bn4gKAEx.js} +4 -4
- package/dist/{Category-CwBmbR5g.js → Category-DFTUBtuz.js} +4 -4
- package/dist/{CookingGuide-Dhsu1zWp.js → CookingGuide-B1ck6hOY.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DvGdDV9p.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang--qmx0gaj.js} +1 -1
- package/dist/{Group-Ceu7Copf.js → Group-Btvfhg2_.js} +3 -3
- package/dist/{Group-DNC-Usx0.js → Group-CxbrS8LX.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-D7J8SXa7.js → Group.vue_vue_type_script_setup_true_lang-WlKR7vnP.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CHdTcTM3.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BdGLiSeH.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-pBlcLv-w.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Ck4OcekO.js} +7 -7
- package/dist/{Ingredient-CC0JhuTG.js → Ingredient-C6BmEu3Y.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-hv2j96xE.js → InventoryBinding.vue_vue_type_script_setup_true_lang-yvo4FOzt.js} +2 -2
- package/dist/{LinkProductSideSheet-TN2_U83N.js → LinkProductSideSheet-BciRCFgw.js} +4 -4
- package/dist/{MenuSetting-CVvexu1x.js → MenuSetting-ua6e0J96.js} +7 -7
- package/dist/{OrderPacing-Bdwdg02x.js → OrderPacing-DsSb0d82.js} +5 -5
- package/dist/{PrintRoute-CjFa5lDf.js → PrintRoute-By7rKEeY.js} +5 -5
- package/dist/{Product-CJju3e91.js → Product-BvuX4kla.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-CgyRlUfF.js → Product.vue_vue_type_script_setup_true_lang-Q92ZObBx.js} +14 -14
- package/dist/{ProductInternalTools-x58c-Eqi.js → ProductInternalTools-BtNmXtBF.js} +7 -7
- package/dist/{Products-C1kMAf09.js → Products-BDP44ubL.js} +61 -61
- package/dist/{Publish-CWU3b98i.js → Publish-B_sq_Rdm.js} +4 -4
- package/dist/{Recipe-DzzZnDyw.js → Recipe-DB7b28aL.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-C1SJG0VC.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-DxiI6Yg2.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DKCI5FWu.js → RuleView.vue_vue_type_script_setup_true_lang-DHnqK3HS.js} +609 -609
- package/dist/{Scheduler-BNfWt8Dg.js → Scheduler-DSWgbQqO.js} +3 -3
- package/dist/{ServingSequence-Cd4h0cg6.js → ServingSequence-DGmKHdVL.js} +3 -3
- package/dist/{Setting-Doi12dmL.js → Setting-CLrVzQni.js} +5 -5
- package/dist/{Subcategory-DWeszc_Q.js → Subcategory-RGVFEs_8.js} +6 -6
- package/dist/{Takeaway-BN4ALKLd.js → Takeaway-C0B2-YY0.js} +4 -4
- package/dist/{Takeaway-hxK-Doql.js → Takeaway-q1XPt-xG.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-6IZPDhaJ.js → Takeaway.vue_vue_type_script_setup_true_lang-D2xNekdv.js} +5 -5
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-CoJ6I8th.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-DG4rqFP5.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-R8Uq2q8a.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-DeOLLmms.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CDE3C737.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BM_TcYip.js} +16 -16
- package/dist/{Unit-eH2N7G3C.js → Unit-CaDn4AB7.js} +2 -2
- package/dist/{Variant-6Le_fght.js → Variant-BlZkFuwb.js} +3 -3
- package/dist/{_id_-DEsYj32K.js → _id_-7CmnuauP.js} +10 -10
- package/dist/{app-BchMdmn0.js → app-DDg9y6nS.js} +1 -1
- package/dist/{app-C3fvLdk6.js → app-DvfEk_tx.js} +33 -33
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-6gBSlnSK.js → linked-status-CqHj18wq.js} +17 -17
- package/dist/assets/{menu-export--ku4LX8B.js → menu-export-BEuvHQDu.js} +53 -53
- package/dist/assets/{override-menu-Cfr4mD2N.js → override-menu-ioMaRcaH.js} +17 -17
- package/dist/assets/{validate-menu-p5dTyV3b.js → validate-menu-BN1dXwXL.js} +20 -20
- package/dist/{catalog-BBW_JOmi.js → catalog-D9azICZp.js} +1 -1
- package/dist/{catalogSetting-FUxG-o8e.js → catalogSetting-C6S9C3VK.js} +1 -1
- package/dist/{currency-dN61r7Dj.js → currency-Ip3nWHBD.js} +1 -1
- package/dist/{dayjs.min-zUn0kE7h.js → dayjs.min-D8s9B1CS.js} +2 -2
- package/dist/{discardConfirm-JSuBPCBO.js → discardConfirm-BjinlfVb.js} +1 -1
- package/dist/{index-26hFA0dv.js → index-B-rFt9Jy.js} +1 -1
- package/dist/{index-BXf2ffOW.js → index-B1rT1gBF.js} +5 -5
- package/dist/{index-wndkX4SS.js → index-DiF-CeuH.js} +6 -6
- package/dist/{index.vue_vue_type_script_setup_true_lang-BAVu4NTt.js → index.vue_vue_type_script_setup_true_lang-HQ-O91gV.js} +2210 -2189
- package/dist/{item-D6itBJWi.js → item-Cyw-rGsb.js} +20 -20
- package/dist/{jszip.min-CJAQHq0K.js → jszip.min-DyzVhWhL.js} +3 -3
- package/dist/{linkProducts-BCBOugXd.js → linkProducts-Dvljyse1.js} +4 -4
- package/dist/{memberPricing-D4BvlT66.js → memberPricing-COMDAgBA.js} +1 -1
- package/dist/{menu-Bn85J25r.js → menu-_pIw2GFF.js} +1 -1
- package/dist/{menuV2-DwgKWOb1.js → menuV2--SWLAQrl.js} +58 -58
- package/dist/{order_pacing-DlMIzFpD.js → order_pacing-DvvQbf-W.js} +5 -5
- package/dist/{priceTier-mtlQOB7P.js → priceTier-COyenLLF.js} +1 -1
- package/dist/{rules-CpmrQrSF.js → rules-D6Tuu57X.js} +3 -3
- package/dist/{scheduler-574B11my.js → scheduler-Y40zEk8u.js} +5 -5
- package/dist/{toExcel-B-Qbf0yE.js → toExcel-sjWRPlid.js} +2 -2
- package/dist/{unit-BvrDtd_s.js → unit-BBIfO-BP.js} +3 -3
- package/package.json +3 -3
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { defineStore as Qi } from "pinia";
|
|
2
2
|
import { defineComponent as ye, resolveComponent as z, createElementBlock as j, createBlock as te, openBlock as y, createElementVNode as _, createVNode as h, toDisplayString as ne, Fragment as we, renderList as Re, h as Ue, ref as H, computed as A, watch as Ae, unref as m, renderSlot as $e, withCtx as U, createCommentVNode as ee, Transition as yr, normalizeClass as Le, resolveDynamicComponent as Sn, withDirectives as qe, vShow as Fn, mergeProps as Ji, withModifiers as it, normalizeStyle as fo, onBeforeUnmount as Mo, resolveDirective as Vt, onMounted as Gt, onUnmounted as Uo, createTextVNode as Ht, getCurrentInstance as zo, render as An, useSlots as _r, markRaw as wr, mergeModels as ri, useModel as kr, isVNode as Cr, nextTick as ea, normalizeProps as xr, guardReactiveProps as Sr } from "vue";
|
|
3
|
-
import { Y as Ar, Z as Tr, h as ze, i as Ne, l as Pe, W as Rr, $ as Ir, s as ta, f as Te, m as st, k as Ie, a as Ze, p as Er, u as De, b as ut, j as ht, a0 as si, a1 as Or, a2 as li, a3 as Kn, a4 as na, a5 as ho, y as go, a6 as $r, a7 as Dr, a8 as ui, a9 as qn, aa as Lt, ab as Pr, ac as Vr, ad as Fr, ae as Mr, af as Ur, ag as ci, ah as zr, ai as Nr, aj as Br, ak as Lr, al as jr, am as di, an as mi, ao as Gr, v as oa, ap as Hr, F as It, z as pi, r as Wr, o as Kr, n as qr, I as Yn, d as Yr, aq as Xr, T as Zr, w as fi, x as Qr, ar as Jr } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { Y as Ar, Z as Tr, h as ze, i as Ne, l as Pe, W as Rr, $ as Ir, s as ta, f as Te, m as st, k as Ie, a as Ze, p as Er, u as De, b as ut, j as ht, a0 as si, a1 as Or, a2 as li, a3 as Kn, a4 as na, a5 as ho, y as go, a6 as $r, a7 as Dr, a8 as ui, a9 as qn, aa as Lt, ab as Pr, ac as Vr, ad as Fr, ae as Mr, af as Ur, ag as ci, ah as zr, ai as Nr, aj as Br, ak as Lr, al as jr, am as di, an as mi, ao as Gr, v as oa, ap as Hr, F as It, z as pi, r as Wr, o as Kr, n as qr, I as Yn, d as Yr, aq as Xr, T as Zr, w as fi, x as Qr, ar as Jr } from "./index.vue_vue_type_script_setup_true_lang-HQ-O91gV.js";
|
|
4
4
|
import { useI18n as Ce, useCoreStore as Ut, CustomAttributesForm as ia } from "@feedmepos/mf-common";
|
|
5
5
|
import { useDialog as nt, useSnackbar as Je, useDialogChild as zt, FmButtonVariant as Be, components as Oe, FmButtonColorThemeVariant as ot, useBreakpoints as aa } from "@feedmepos/ui-library";
|
|
6
|
-
import { g as Tn, f as tn, e as es, i as ts, s as vo, F as ns, _ as os, a as is } from "./index-
|
|
7
|
-
import { p as as, C as bt, e as Rn, d as rs } from "./catalog-
|
|
8
|
-
import { g as bo, a as ss, m as ls, i as us } from "./menuV2
|
|
6
|
+
import { g as Tn, f as tn, e as es, i as ts, s as vo, F as ns, _ as os, a as is } from "./index-B-rFt9Jy.js";
|
|
7
|
+
import { p as as, C as bt, e as Rn, d as rs } from "./catalog-D9azICZp.js";
|
|
8
|
+
import { g as bo, a as ss, m as ls, i as us } from "./menuV2--SWLAQrl.js";
|
|
9
9
|
import { c as ra } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
10
10
|
import { a as hi, _ as Wt } from "./tooltip-B5BiPMx9.js";
|
|
11
|
-
import { H as cs, L as ds } from "./LinkProductSideSheet-
|
|
12
|
-
import { _ as Ye, u as ms, a as ps } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { e as fs } from "./app-
|
|
14
|
-
import { l as Ve, u as Xt } from "./discardConfirm-
|
|
11
|
+
import { H as cs, L as ds } from "./LinkProductSideSheet-BciRCFgw.js";
|
|
12
|
+
import { _ as Ye, u as ms, a as ps } from "./RuleView.vue_vue_type_script_setup_true_lang-DHnqK3HS.js";
|
|
13
|
+
import { e as fs } from "./app-DvfEk_tx.js";
|
|
14
|
+
import { l as Ve, u as Xt } from "./discardConfirm-BjinlfVb.js";
|
|
15
15
|
import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
import { useAppStore as mn, RemyButton as In } from "@feedmepos/mf-remy-panel";
|
|
17
17
|
import { _ as ft } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
18
|
-
import { u as hs, r as gs } from "./rules-
|
|
19
|
-
import { _ as sa, a as En, b as On, c as $n } from "./TranslationFieldSection.vue_vue_type_script_setup_true_lang-
|
|
18
|
+
import { u as hs, r as gs } from "./rules-D6Tuu57X.js";
|
|
19
|
+
import { _ as sa, a as En, b as On, c as $n } from "./TranslationFieldSection.vue_vue_type_script_setup_true_lang-DG4rqFP5.js";
|
|
20
20
|
import { a as yo, g as At } from "./translation-fNx6yEpy.js";
|
|
21
21
|
import { c as Dn } from "./object-DVUNCr7w.js";
|
|
22
|
-
import { _ as No } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-
|
|
23
|
-
import { u as vs } from "./menu-
|
|
22
|
+
import { _ as No } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-DeOLLmms.js";
|
|
23
|
+
import { u as vs } from "./menu-_pIw2GFF.js";
|
|
24
24
|
import { c as Nt } from "./check-C9mY6LiX.js";
|
|
25
|
-
import { _ as _t, l as _o, T as bs, w as ys } from "./index-
|
|
25
|
+
import { _ as _t, l as _o, T as bs, w as ys } from "./index-DiF-CeuH.js";
|
|
26
26
|
import { useInventoryStore as la, InventoryBindingForm as _s, InventoryBindingSummary as ws } from "@feedmepos/mf-inventory-portal";
|
|
27
|
-
import { f as lt, a as ks } from "./currency-
|
|
28
|
-
import { u as Mn } from "./memberPricing-
|
|
29
|
-
import { u as ua } from "./priceTier-
|
|
27
|
+
import { f as lt, a as ks } from "./currency-Ip3nWHBD.js";
|
|
28
|
+
import { u as Mn } from "./memberPricing-COMDAgBA.js";
|
|
29
|
+
import { u as ua } from "./priceTier-COyenLLF.js";
|
|
30
30
|
import { u as Cs } from "./search-BAPEUu1R.js";
|
|
31
31
|
import { c as xs } from "./string-DpfFixWH.js";
|
|
32
32
|
import { d as ca } from "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
|
|
33
|
-
import { _ as Ss } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
34
|
-
import { u as As, a as Ts } from "./order_pacing-
|
|
35
|
-
import { V as gi } from "./index-
|
|
33
|
+
import { _ as Ss } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-BSoX-vdS.js";
|
|
34
|
+
import { u as As, a as Ts } from "./order_pacing-DvvQbf-W.js";
|
|
35
|
+
import { V as gi } from "./index-B1rT1gBF.js";
|
|
36
36
|
var Xn, fn, Zn = 0, Qn = 0;
|
|
37
37
|
function Rs(e, t, n) {
|
|
38
38
|
var o = 0, i = new Array(16);
|
|
@@ -7693,7 +7693,7 @@ const Yi = {
|
|
|
7693
7693
|
await af(o);
|
|
7694
7694
|
}
|
|
7695
7695
|
};
|
|
7696
|
-
var Xi = { firebase: { storageBucket: "image.
|
|
7696
|
+
var Xi = { firebase: { storageBucket: "image.feedmedev.cc" } };
|
|
7697
7697
|
const uf = {
|
|
7698
7698
|
class: "fm-typo-en-title-md-600"
|
|
7699
7699
|
}, cf = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as ct, g as Bt } from "./app-
|
|
2
|
-
import { A as wt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { c as ct, g as Bt } from "./app-DvfEk_tx.js";
|
|
2
|
+
import { A as wt } from "./index.vue_vue_type_script_setup_true_lang-HQ-O91gV.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_d7498b80-85b6-4b38-b9a7-6d5bda612730", 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_d7498b80-85b6-4b38-b9a7-6d5bda612730", 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.8.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", 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: "1808", ACTIONS_ORCHESTRATION_ID: "fd76c6fc-595e-4103-9ed7-9453292d11f3.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: "20261023.334.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_d7498b80-85b6-4b38-b9a7-6d5bda612730", 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:11101", 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.14/x64", GITHUB_RUN_ID: "40405548564", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "252fd5e16d6e06b6f93a9c3533aaae2dd473f20f", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.9/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_50ef9d6e-c197-4cd1-a320-16a3f190b7eb", INVOCATION_ID: "fd9c86286d7d4478841a66ba2c713214", 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: "611", GITHUB_TRIGGERING_ACTOR: "fanhousanbu", 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", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000229037", 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.84-dev.1", 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: "252fd5e16d6e06b6f93a9c3533aaae2dd473f20f", 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: "fanhousanbu", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_d7498b80-85b6-4b38-b9a7-6d5bda612730", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "6702542", 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_d7498b80-85b6-4b38-b9a7-6d5bda612730", 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_d7498b80-85b6-4b38-b9a7-6d5bda612730", 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_d7498b80-85b6-4b38-b9a7-6d5bda612730", 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,9 +1,9 @@
|
|
|
1
1
|
import { computed as m } from "vue";
|
|
2
|
-
import { F, h, i as S, b as v, j as C, l as N, W as T, u as P, c as z } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as R } from "./menuV2
|
|
4
|
-
import { C as w, h as E } from "./catalog-
|
|
2
|
+
import { F, h, i as S, b as v, j as C, l as N, W as T, u as P, c as z } from "./index.vue_vue_type_script_setup_true_lang-HQ-O91gV.js";
|
|
3
|
+
import { u as R } from "./menuV2--SWLAQrl.js";
|
|
4
|
+
import { C as w, h as E } from "./catalog-D9azICZp.js";
|
|
5
5
|
import { useSnackbar as O, useDialog as A } from "@feedmepos/ui-library";
|
|
6
|
-
import { a as b } from "./LinkProductSideSheet-
|
|
6
|
+
import { a as b } from "./LinkProductSideSheet-BciRCFgw.js";
|
|
7
7
|
function D() {
|
|
8
8
|
const e = R(), p = m(() => e.categorizedRawMenuItems.filter((o) => o.items.length > 0)), l = m(() => {
|
|
9
9
|
const o = e.currentCatalog;
|
|
@@ -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-HQ-O91gV.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-HQ-O91gV.js";
|
|
3
3
|
import "@feedmepos/mf-common";
|
|
4
4
|
import "@feedmepos/ui-library";
|
|
5
5
|
function p() {
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { l as ae } from "./discardConfirm-
|
|
4
|
+
import { l as ae } from "./discardConfirm-BjinlfVb.js";
|
|
5
5
|
import { defineStore as qe } from "pinia";
|
|
6
|
-
import { shallowRef as
|
|
7
|
-
import { f as C, g as ue, m as T, l as ie, at as re, h as
|
|
6
|
+
import { shallowRef as j, ref as z, computed as S, shallowReactive as He, effectScope as ze, watch as Be } from "vue";
|
|
7
|
+
import { f as C, g as ue, m as T, l as ie, at as re, h as B, R as x, c as L, s as V, $ as oe, au as Ge, av as Je, a as Ye, T as Qe, aw as Xe, ax as Ze, O as et } from "./index.vue_vue_type_script_setup_true_lang-HQ-O91gV.js";
|
|
8
8
|
import { useCoreStore as se } from "@feedmepos/mf-common";
|
|
9
9
|
import { useSnackbar as tt } from "@feedmepos/ui-library";
|
|
10
10
|
function nt(e) {
|
|
@@ -16,7 +16,7 @@ function nt(e) {
|
|
|
16
16
|
}
|
|
17
17
|
return delete t.variant, delete t.thumbnail, delete t.images, [t, ...n || []];
|
|
18
18
|
}
|
|
19
|
-
const rt = "/assets/linked-status-
|
|
19
|
+
const rt = "/assets/linked-status-CqHj18wq.js", ot = "/assets/override-menu-ioMaRcaH.js";
|
|
20
20
|
function st(e, t, n, s) {
|
|
21
21
|
const r = C(t), u = n ? r.modules.catalog.find((f) => f._id === n) : null, c = s ? r.modules.scheduler.find((f) => f._id === s) : null, a = u ? C(u) : void 0, d = n ? r.modules.catalog.filter((f) => f._id !== n) : [], l = c ? C(c) : void 0, g = e.reduce((f, v) => (f[v._id] = nt(v), f), {});
|
|
22
22
|
function y(f = []) {
|
|
@@ -189,7 +189,7 @@ function Tt(e, t) {
|
|
|
189
189
|
}, [])) || []).join(" / ");
|
|
190
190
|
}
|
|
191
191
|
const q = /* @__PURE__ */ new Map();
|
|
192
|
-
async function
|
|
192
|
+
async function $t(e, t) {
|
|
193
193
|
const n = `${e._id}-${e.updatedAt}-${t}`;
|
|
194
194
|
if (q.has(n))
|
|
195
195
|
return q.get(n);
|
|
@@ -209,15 +209,15 @@ async function ce(e, t, n) {
|
|
|
209
209
|
schedulerId: n
|
|
210
210
|
});
|
|
211
211
|
}
|
|
212
|
-
const
|
|
212
|
+
const H = /* @__PURE__ */ new Map();
|
|
213
213
|
async function it(e, t, n) {
|
|
214
214
|
const s = `${e._id}-${e.updatedAt}-${t || "null"}-${n || "null"}`;
|
|
215
|
-
if (
|
|
216
|
-
return
|
|
215
|
+
if (H.has(s))
|
|
216
|
+
return H.get(s);
|
|
217
217
|
const r = await ce(e, t, n);
|
|
218
|
-
return
|
|
218
|
+
return H.set(s, r), r;
|
|
219
219
|
}
|
|
220
|
-
async function
|
|
220
|
+
async function Kt(e, t, n) {
|
|
221
221
|
var c, a;
|
|
222
222
|
const s = await it(e, t, null), r = [], u = (d, l) => {
|
|
223
223
|
const g = C(d);
|
|
@@ -243,7 +243,7 @@ async function $t(e, t, n) {
|
|
|
243
243
|
}
|
|
244
244
|
return r;
|
|
245
245
|
}
|
|
246
|
-
const M = 0,
|
|
246
|
+
const M = 0, $ = 3;
|
|
247
247
|
function ct(e) {
|
|
248
248
|
const t = /^\/(.*)\/([gimyu]*)$/.exec(e.toString());
|
|
249
249
|
if (!t)
|
|
@@ -269,10 +269,10 @@ function O(e) {
|
|
|
269
269
|
function P(e) {
|
|
270
270
|
return e instanceof RegExp ? e.toString() : e;
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function R(e) {
|
|
273
273
|
return typeof e == "object" && e !== null && !Array.isArray(e) && !(e instanceof Date) && !(e instanceof RegExp);
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function K(e, t) {
|
|
276
276
|
if (e === t) return !0;
|
|
277
277
|
if (typeof e != typeof t) return !1;
|
|
278
278
|
if (e instanceof Date && t instanceof Date)
|
|
@@ -282,14 +282,14 @@ function $(e, t) {
|
|
|
282
282
|
if (Array.isArray(e) && Array.isArray(t)) {
|
|
283
283
|
if (e.length !== t.length) return !1;
|
|
284
284
|
for (let n = 0; n < e.length; n++)
|
|
285
|
-
if (
|
|
285
|
+
if (!K(e[n], t[n])) return !1;
|
|
286
286
|
return !0;
|
|
287
287
|
}
|
|
288
|
-
if (
|
|
288
|
+
if (R(e) && R(t)) {
|
|
289
289
|
const n = Object.keys(e), s = Object.keys(t);
|
|
290
290
|
if (n.length !== s.length) return !1;
|
|
291
291
|
for (const r of n)
|
|
292
|
-
if (!Object.prototype.hasOwnProperty.call(t, r) ||
|
|
292
|
+
if (!Object.prototype.hasOwnProperty.call(t, r) || !K(e[r], t[r])) return !1;
|
|
293
293
|
return !0;
|
|
294
294
|
}
|
|
295
295
|
return !1;
|
|
@@ -305,7 +305,7 @@ function lt(e, t, n) {
|
|
|
305
305
|
const l = e[d], g = n ? n(l) : JSON.stringify(l), y = u.get(g);
|
|
306
306
|
if (y) {
|
|
307
307
|
for (const f of y)
|
|
308
|
-
if (!a.has(f) &&
|
|
308
|
+
if (!a.has(f) && K(l, t[f])) {
|
|
309
309
|
c.push({ leftIndex: d, rightIndex: f }), a.add(f);
|
|
310
310
|
break;
|
|
311
311
|
}
|
|
@@ -315,11 +315,11 @@ function lt(e, t, n) {
|
|
|
315
315
|
}
|
|
316
316
|
function dt(e, t, n) {
|
|
317
317
|
var f, v;
|
|
318
|
-
if (
|
|
318
|
+
if (K(e, t)) return;
|
|
319
319
|
const s = { _t: "a" }, r = ((f = n == null ? void 0 : n.arrays) == null ? void 0 : f.detectMove) !== !1, u = ((v = n == null ? void 0 : n.arrays) == null ? void 0 : v.includeValueOnMove) === !0, c = n == null ? void 0 : n.objectHash;
|
|
320
320
|
let a = r ? lt(e, t, c) : [];
|
|
321
321
|
if (!c && e.length === t.length && e.length > 0 && a.length < e.length) {
|
|
322
|
-
const h =
|
|
322
|
+
const h = R(e[0]) || Array.isArray(e[0]), b = a.length > 0;
|
|
323
323
|
if (h || b) {
|
|
324
324
|
a = [];
|
|
325
325
|
for (let w = 0; w < e.length; w++)
|
|
@@ -335,7 +335,7 @@ function dt(e, t, n) {
|
|
|
335
335
|
if (b !== void 0) {
|
|
336
336
|
const w = J(e[h], t[b], n);
|
|
337
337
|
if (w !== void 0 && (s[b] = w), r && b !== h) {
|
|
338
|
-
const I = `_${h}`, E = u ? [e[h], b,
|
|
338
|
+
const I = `_${h}`, E = u ? [e[h], b, $] : ["", b, $];
|
|
339
339
|
s[I] = E;
|
|
340
340
|
}
|
|
341
341
|
} else {
|
|
@@ -350,7 +350,7 @@ function dt(e, t, n) {
|
|
|
350
350
|
return s;
|
|
351
351
|
}
|
|
352
352
|
function mt(e, t, n) {
|
|
353
|
-
if (
|
|
353
|
+
if (K(e, t)) return;
|
|
354
354
|
const s = {}, r = Object.keys(e), u = Object.keys(t), c = /* @__PURE__ */ new Set([...r, ...u]);
|
|
355
355
|
for (const a of c) {
|
|
356
356
|
if (n != null && n.propertyFilter && !n.propertyFilter(a, { left: e, right: t }))
|
|
@@ -367,7 +367,7 @@ function mt(e, t, n) {
|
|
|
367
367
|
return Object.keys(s).length > 0 ? s : void 0;
|
|
368
368
|
}
|
|
369
369
|
function J(e, t, n) {
|
|
370
|
-
if (
|
|
370
|
+
if (K(e, t)) return;
|
|
371
371
|
if (e === void 0 && t !== void 0) {
|
|
372
372
|
const a = n != null && n.cloneDiffValues ? O(t) : t;
|
|
373
373
|
return [P(a)];
|
|
@@ -378,7 +378,7 @@ function J(e, t, n) {
|
|
|
378
378
|
}
|
|
379
379
|
if (Array.isArray(e) && Array.isArray(t))
|
|
380
380
|
return dt(e, t, n);
|
|
381
|
-
if (
|
|
381
|
+
if (R(e) && R(t))
|
|
382
382
|
return mt(e, t, n);
|
|
383
383
|
const u = n != null && n.cloneDiffValues ? O(e) : e, c = n != null && n.cloneDiffValues ? O(t) : t;
|
|
384
384
|
return [P(u), P(c)];
|
|
@@ -391,7 +391,7 @@ function vt(e, t, n) {
|
|
|
391
391
|
for (const a in t) {
|
|
392
392
|
if (a === "_t" || !a.startsWith("_")) continue;
|
|
393
393
|
const d = parseInt(a.slice(1)), l = t[a];
|
|
394
|
-
Array.isArray(l) && (l.length === 3 && l[2] === M ? s.add(d) : l.length === 3 && l[2] ===
|
|
394
|
+
Array.isArray(l) && (l.length === 3 && l[2] === M ? s.add(d) : l.length === 3 && l[2] === $ && r.set(d, l[1]));
|
|
395
395
|
}
|
|
396
396
|
const u = [];
|
|
397
397
|
let c = 0;
|
|
@@ -442,7 +442,7 @@ function Y(e, t, n) {
|
|
|
442
442
|
if (t.length === 3 && t[2] === M)
|
|
443
443
|
return;
|
|
444
444
|
}
|
|
445
|
-
return
|
|
445
|
+
return R(t) && t._t === "a" ? vt(e, t) : R(t) && R(e) ? yt(e, t) : e;
|
|
446
446
|
}
|
|
447
447
|
function le(e, t, n) {
|
|
448
448
|
return Y(e, t);
|
|
@@ -456,9 +456,9 @@ function gt(e) {
|
|
|
456
456
|
if (Array.isArray(r)) {
|
|
457
457
|
if (r.length === 3 && r[2] === M)
|
|
458
458
|
t[s] = [r[0]];
|
|
459
|
-
else if (r.length === 3 && r[2] ===
|
|
459
|
+
else if (r.length === 3 && r[2] === $) {
|
|
460
460
|
const u = r[1];
|
|
461
|
-
t[`_${u}`] = [r[0], s,
|
|
461
|
+
t[`_${u}`] = [r[0], s, $];
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
464
|
} else {
|
|
@@ -494,10 +494,10 @@ function Q(e) {
|
|
|
494
494
|
return [e[1], e[0]];
|
|
495
495
|
if (e.length === 3 && e[2] === M)
|
|
496
496
|
return [e[0]];
|
|
497
|
-
if (e.length === 3 && e[2] ===
|
|
497
|
+
if (e.length === 3 && e[2] === $)
|
|
498
498
|
return e;
|
|
499
499
|
}
|
|
500
|
-
return
|
|
500
|
+
return R(e) && e._t === "a" ? gt(e) : R(e) ? ht(e) : e;
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
503
|
function de(e) {
|
|
@@ -541,7 +541,7 @@ function bt({
|
|
|
541
541
|
includeValueOnMove: !1
|
|
542
542
|
},
|
|
543
543
|
cloneDiffValues: !1
|
|
544
|
-
}), n =
|
|
544
|
+
}), n = j(null), s = j([]), r = z(-1), u = j(null), c = S(() => r.value > 0), a = S(() => r.value < s.value.length - 1);
|
|
545
545
|
function d(v) {
|
|
546
546
|
if (n.value === null) {
|
|
547
547
|
n.value = C(v), u.value = C(v), s.value = [{ delta: null }], r.value = 0;
|
|
@@ -591,7 +591,7 @@ function bt({
|
|
|
591
591
|
}
|
|
592
592
|
const wt = {
|
|
593
593
|
async updateMenuModule(e, t) {
|
|
594
|
-
const n =
|
|
594
|
+
const n = B.RequestRunner.operation(t, e.modules);
|
|
595
595
|
if (n.validateError.length > 0)
|
|
596
596
|
throw new Error(n.validateError.join(`
|
|
597
597
|
`));
|
|
@@ -642,7 +642,7 @@ function Mt() {
|
|
|
642
642
|
const Pt = qe(
|
|
643
643
|
"mf-menu-store-v2",
|
|
644
644
|
() => {
|
|
645
|
-
const e =
|
|
645
|
+
const e = He(Mt()), t = se(), n = tt(), s = S(() => e.menu.modules.serveSequence ? x(e.menu.modules.serveSequence, {
|
|
646
646
|
selector: "position"
|
|
647
647
|
}) : []), r = S(() => {
|
|
648
648
|
var o;
|
|
@@ -667,7 +667,7 @@ const Pt = qe(
|
|
|
667
667
|
function g(o, i = !0) {
|
|
668
668
|
e.menu = { ...o, _rev: e.menu._rev }, i && D.push(e.menu);
|
|
669
669
|
}
|
|
670
|
-
const y =
|
|
670
|
+
const y = j(me()), f = z(!1), v = z(1);
|
|
671
671
|
async function h() {
|
|
672
672
|
var m;
|
|
673
673
|
f.value = !0;
|
|
@@ -694,18 +694,18 @@ const Pt = qe(
|
|
|
694
694
|
);
|
|
695
695
|
if (e.currentSchedulerId != null) {
|
|
696
696
|
const p = e.menu.modules.catalog.find(
|
|
697
|
-
(
|
|
697
|
+
(k) => k._id === e.currentCatalogId
|
|
698
698
|
), _ = p ? p.override.scheduler[e.currentSchedulerId] : e.menu.modules.scheduler.find(
|
|
699
|
-
(
|
|
700
|
-
), A = new Set(((_ == null ? void 0 : _.items) || []).map((
|
|
701
|
-
i.modules.item = i.modules.item.filter((
|
|
699
|
+
(k) => k._id === e.currentSchedulerId
|
|
700
|
+
), A = new Set(((_ == null ? void 0 : _.items) || []).map((k) => k._id));
|
|
701
|
+
i.modules.item = i.modules.item.filter((k) => A.has(k._id));
|
|
702
702
|
}
|
|
703
703
|
return y.value = i, f.value = !1, v.value = v.value + 1, i;
|
|
704
704
|
}
|
|
705
705
|
const w = ae.debounce(h, 200);
|
|
706
706
|
let I = null, E = null;
|
|
707
707
|
function X() {
|
|
708
|
-
E && (E(), E = null), I && I.stop(), I =
|
|
708
|
+
E && (E(), E = null), I && I.stop(), I = ze(!0), E = I.run(() => Be(
|
|
709
709
|
() => [e.menu, e.currentCatalogId, e.currentSchedulerId],
|
|
710
710
|
() => {
|
|
711
711
|
f.value || w();
|
|
@@ -745,7 +745,7 @@ const Pt = qe(
|
|
|
745
745
|
o = o.filter((p) => {
|
|
746
746
|
var A;
|
|
747
747
|
const _ = (A = m == null ? void 0 : m[p._id]) == null ? void 0 : A.find(
|
|
748
|
-
(
|
|
748
|
+
(k) => !k.combinationKey
|
|
749
749
|
);
|
|
750
750
|
return (_ == null ? void 0 : _.orderFrom) !== ie.enum.NONE;
|
|
751
751
|
});
|
|
@@ -760,7 +760,7 @@ const Pt = qe(
|
|
|
760
760
|
m,
|
|
761
761
|
(p) => p.code || p.name
|
|
762
762
|
).reduce((p, _, A) => (p[_._id] = A + i[_.category || ""], p), {});
|
|
763
|
-
}), ge = S(() => oe(
|
|
763
|
+
}), ge = S(() => oe(N.value, Z.value, ee.value)), he = S(() => {
|
|
764
764
|
const o = U.value.item.addon ? [
|
|
765
765
|
{
|
|
766
766
|
_id: e.currentCatalogId ? "" : null,
|
|
@@ -774,12 +774,12 @@ const Pt = qe(
|
|
|
774
774
|
o,
|
|
775
775
|
e.menu.modules.item
|
|
776
776
|
);
|
|
777
|
-
}),
|
|
777
|
+
}), N = S(() => {
|
|
778
778
|
const o = y.value.modules.variant;
|
|
779
779
|
return x(o, { selector: "name" });
|
|
780
780
|
});
|
|
781
781
|
function pe(o = []) {
|
|
782
|
-
const i = o.map((p) =>
|
|
782
|
+
const i = o.map((p) => N.value.find((_) => _._id === p)).filter((p) => !!p);
|
|
783
783
|
return T.fullVariantCombination(i).reduce((p, _) => (p[_.combinationKey] = _.selectionName.join(" / "), p), {});
|
|
784
784
|
}
|
|
785
785
|
const _e = S(() => V(y.value.modules.group, (o) => o.name)), Se = S(() => x(y.value.modules.takeaway, { selector: "name" })), be = S(() => x(e.menu.modules.printDepartment || [], {
|
|
@@ -878,10 +878,10 @@ const Pt = qe(
|
|
|
878
878
|
const [i, m] = o.split("/");
|
|
879
879
|
return { systemCode: i, taxCode: m };
|
|
880
880
|
}
|
|
881
|
-
function
|
|
881
|
+
function Re(o, i, m) {
|
|
882
882
|
return (o ?? i ?? []).map((p) => W(p)).find((p) => m.some((_) => _.value === p));
|
|
883
883
|
}
|
|
884
|
-
const
|
|
884
|
+
const ke = S(() => {
|
|
885
885
|
var p;
|
|
886
886
|
const o = ["SV5", "SV10"], i = Ye.Country.getCountryFlattenTaxes(
|
|
887
887
|
se().currentCountry.value
|
|
@@ -918,7 +918,7 @@ const Pt = qe(
|
|
|
918
918
|
e.currentCategoryIds = o;
|
|
919
919
|
}, Te = (o) => {
|
|
920
920
|
e.currentRestaurantAttrParams = o;
|
|
921
|
-
},
|
|
921
|
+
}, $e = async (o, i) => {
|
|
922
922
|
const m = Array.isArray(o) ? o : [o];
|
|
923
923
|
if (!m.length) return;
|
|
924
924
|
const p = m.map((_) => ({
|
|
@@ -928,7 +928,7 @@ const Pt = qe(
|
|
|
928
928
|
}));
|
|
929
929
|
try {
|
|
930
930
|
if (i || p.some(
|
|
931
|
-
(A) => [
|
|
931
|
+
(A) => [B.F_OPERATION_TYPE.delete, B.F_OPERATION_TYPE.deleteMany].includes(A.operation)
|
|
932
932
|
)) {
|
|
933
933
|
const A = await Xe(p, e.menu.modules);
|
|
934
934
|
if (A !== !0) throw new Error(A);
|
|
@@ -942,7 +942,7 @@ const Pt = qe(
|
|
|
942
942
|
message: _
|
|
943
943
|
});
|
|
944
944
|
}
|
|
945
|
-
},
|
|
945
|
+
}, Ke = async (o) => {
|
|
946
946
|
const i = {
|
|
947
947
|
...e.menu,
|
|
948
948
|
masterCatalogSetting: o.masterCatalogSetting,
|
|
@@ -950,10 +950,10 @@ const Pt = qe(
|
|
|
950
950
|
priceTierSettings: o.priceTierSettings
|
|
951
951
|
};
|
|
952
952
|
return g(i), i;
|
|
953
|
-
}, D = bt({ maxHistorySize: 50 }), Pe = S(() => D.canUndo.value), Fe = S(() => D.canRedo.value),
|
|
953
|
+
}, D = bt({ maxHistorySize: 50 }), Pe = S(() => D.canUndo.value), Fe = S(() => D.canRedo.value), je = () => {
|
|
954
954
|
const o = D.undo();
|
|
955
955
|
o && g(o, !1);
|
|
956
|
-
},
|
|
956
|
+
}, Ne = () => {
|
|
957
957
|
const o = D.redo();
|
|
958
958
|
o && g(o, !1);
|
|
959
959
|
}, Ue = () => {
|
|
@@ -982,7 +982,7 @@ const Pt = qe(
|
|
|
982
982
|
itemCodeMap: Ie,
|
|
983
983
|
categorizedItems: ge,
|
|
984
984
|
categorizedRawMenuItems: he,
|
|
985
|
-
variants:
|
|
985
|
+
variants: N,
|
|
986
986
|
groups: _e,
|
|
987
987
|
takeaways: Se,
|
|
988
988
|
printDepartments: be,
|
|
@@ -991,7 +991,7 @@ const Pt = qe(
|
|
|
991
991
|
cookingGuide: Ae,
|
|
992
992
|
skus: Ce,
|
|
993
993
|
rules: U,
|
|
994
|
-
taxSetting:
|
|
994
|
+
taxSetting: ke,
|
|
995
995
|
// Action
|
|
996
996
|
setMenu: g,
|
|
997
997
|
readMenu: xe,
|
|
@@ -1000,19 +1000,19 @@ const Pt = qe(
|
|
|
1000
1000
|
selectScheduler: De,
|
|
1001
1001
|
selectCategory: Ve,
|
|
1002
1002
|
setRestaurantAttrParams: Te,
|
|
1003
|
-
updateMenu:
|
|
1004
|
-
updateMenuSetting:
|
|
1003
|
+
updateMenu: $e,
|
|
1004
|
+
updateMenuSetting: Ke,
|
|
1005
1005
|
computeMergedMenu: h,
|
|
1006
1006
|
// helper
|
|
1007
1007
|
encodeTax: W,
|
|
1008
1008
|
decodeTax: Ee,
|
|
1009
|
-
getSelectedTax:
|
|
1009
|
+
getSelectedTax: Re,
|
|
1010
1010
|
mapVariant: pe,
|
|
1011
1011
|
// history
|
|
1012
1012
|
canUndoHistory: Pe,
|
|
1013
1013
|
canRedoHistory: Fe,
|
|
1014
|
-
undoHistory:
|
|
1015
|
-
redoHistory:
|
|
1014
|
+
undoHistory: je,
|
|
1015
|
+
redoHistory: Ne,
|
|
1016
1016
|
// cleanup
|
|
1017
1017
|
$dispose: () => {
|
|
1018
1018
|
w.cancel(), E && (E(), E = null), I && (I.stop(), I = null), Ue();
|
|
@@ -1024,8 +1024,8 @@ const Pt = qe(
|
|
|
1024
1024
|
}
|
|
1025
1025
|
);
|
|
1026
1026
|
export {
|
|
1027
|
-
|
|
1028
|
-
|
|
1027
|
+
$t as a,
|
|
1028
|
+
Kt as f,
|
|
1029
1029
|
Tt as g,
|
|
1030
1030
|
nt as i,
|
|
1031
1031
|
Vt as m,
|
|
@@ -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 M, renderSlot as ee, renderList as H, toDisplayString as $, createCommentVNode as ae, getCurrentInstance as te, render as ne } from "vue";
|
|
2
|
-
import { u as Y, j as oe, b as le, h as B, i as K } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as Y, j as oe, b as le, h as B, i as K } from "./index.vue_vue_type_script_setup_true_lang-HQ-O91gV.js";
|
|
3
3
|
import { useI18n as j } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as A, FmButtonVariant as re, FmButtonColorThemeVariant as R, useSnackbar as ie } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as J, u as se } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as J, u as se } from "./RuleView.vue_vue_type_script_setup_true_lang-DHnqK3HS.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-DvfEk_tx.js";
|
|
8
|
+
import { L as ce } from "./LinkProductSideSheet-BciRCFgw.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-DeOLLmms.js";
|
|
11
11
|
import { c as ge } from "./check-C9mY6LiX.js";
|
|
12
12
|
import { g as G } 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-HQ-O91gV.js";
|
|
5
5
|
const b = /* @__PURE__ */ d({
|
|
6
6
|
__name: "AddPriceGroupDialog",
|
|
7
7
|
setup(s) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as I, watch as P, ref as E, computed as w, resolveComponent as _, createElementBlock as h, openBlock as F, 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 { h as v, i as C, u as Y } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { h as v, i as C, u as Y } from "./index.vue_vue_type_script_setup_true_lang-HQ-O91gV.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--SWLAQrl.js";
|
|
6
|
+
import { _ as $ } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-DeOLLmms.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",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as ce, computed as T, resolveComponent as p, createElementBlock as r, openBlock as s, createVNode as t, createCommentVNode as k, unref as a, toDisplayString as D, createElementVNode as y, withCtx as m, Fragment as $, renderList as N, createBlock as Y, ref as L, Transition as de, createTextVNode as he } from "vue";
|
|
2
|
-
import { u as ge, l as Ve } from "./discardConfirm-
|
|
3
|
-
import { f as w, B as U, u as ke, F as Fe, C as q, h as ie, i as re, S as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as ge, l as Ve } from "./discardConfirm-BjinlfVb.js";
|
|
3
|
+
import { f as w, B as U, u as ke, F as Fe, C as q, h as ie, i as re, S as me } from "./index.vue_vue_type_script_setup_true_lang-HQ-O91gV.js";
|
|
4
4
|
import { useI18n as pe, useAppLocale as be, prefersHour12 as xe } from "@feedmepos/mf-common";
|
|
5
5
|
import { components as Ce } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as Se } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
7
|
-
import { _ as se } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as we } from "./menu-
|
|
9
|
-
import { L as Pe } from "./LinkProductSideSheet-
|
|
7
|
+
import { _ as se } from "./RuleView.vue_vue_type_script_setup_true_lang-DHnqK3HS.js";
|
|
8
|
+
import { u as we } from "./menu-_pIw2GFF.js";
|
|
9
|
+
import { L as Pe } from "./LinkProductSideSheet-BciRCFgw.js";
|
|
10
10
|
const Ee = { class: "space-y-8" }, Ue = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "space-y-16"
|