@feedmepos/mf-menu 0.31.33-beta.7 → 0.31.33-beta.9
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-CZEABsQj.js → App-WQChaTIO.js} +6 -6
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-D_ak48OL.js → ApplyProduct.vue_vue_type_script_setup_true_lang-t1K3plXk.js} +20 -20
- package/dist/{Catalog-DS7IAwCI.js → Catalog-BX_1g0ru.js} +6 -6
- package/dist/{Category-Bi3vbTgq.js → Category-C6BSLYTZ.js} +19 -19
- package/dist/{Category-DKes4JxR.js → Category-COTd0h8i.js} +14 -14
- package/dist/{CookingGuide-Cl-JvfNC.js → CookingGuide-DTTGVOtZ.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-C01PGALf.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-UQQSF2Fv.js} +1 -1
- package/dist/{Group-CDmNdtn6.js → Group-BKhYr_XK.js} +3 -3
- package/dist/{Group-CPd33rHj.js → Group-tv4NRLFA.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DLhPMn7r.js → Group.vue_vue_type_script_setup_true_lang-Cql0J4TN.js} +38 -36
- package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DIUX09XZ.js +367 -0
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DZgnCsAY.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-azTd9oJY.js} +12597 -12946
- package/dist/{Ingredient-C5iKMG5S.js → Ingredient-EhrV45jG.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CYb8p8df.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DNLOCn6Z.js} +2 -2
- package/dist/LinkProductSideSheet-CLUkYMJx.js +297 -0
- package/dist/{MenuSetting-DeLFW5Q0.js → MenuSetting-DMYnqQqF.js} +4 -4
- package/dist/{PrintRoute-BptA-_Yt.js → PrintRoute-Ct0vYBI0.js} +89 -88
- package/dist/{Product-D5WYsf9P.js → Product-CVOGBfGP.js} +1 -1
- package/dist/Product.vue_vue_type_script_setup_true_lang-3qo4KHwM.js +1578 -0
- package/dist/{ProductInternalTools-_ml77R5u.js → ProductInternalTools-BD4pbpTq.js} +5 -5
- package/dist/Products-DiqJJi0G.js +283 -0
- package/dist/{Publish-BB_8J3PJ.js → Publish-DNW7kAyt.js} +3 -3
- package/dist/{Recipe-Dc7mD-Mu.js → Recipe-DB59Oilo.js} +4 -4
- package/dist/{Scheduler-H2mx0WJm.js → Scheduler-CdvXOmD9.js} +3 -3
- package/dist/{ServingSequence-GYdFh7RK.js → ServingSequence-BJidBanx.js} +3 -3
- package/dist/{Setting-B_-Bv8NR.js → Setting-CT0-ErCV.js} +5 -5
- package/dist/{Subcategory-CHcCMqcS.js → Subcategory-Qss-q16J.js} +4 -4
- package/dist/{Takeaway-BeDox-sK.js → Takeaway-Cco68UWM.js} +1 -1
- package/dist/{Takeaway-BaDz1y8l.js → Takeaway-DJZrAOhK.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CwWyzrey.js → Takeaway.vue_vue_type_script_setup_true_lang-_UIxFm40.js} +5 -5
- package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-DQ8A_b8N.js +431 -0
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-C-GQNgOs.js +5990 -0
- package/dist/{Unit-D4uSc8lg.js → Unit-jNMtjCqg.js} +2 -2
- package/dist/{Variant-MVe8LhBc.js → Variant-vgkCtn6k.js} +3 -3
- package/dist/_id_-VWD7FuB8.js +202 -0
- package/dist/{app-BbIBgy7D.js → app-DCfZrw5q.js} +1 -1
- package/dist/{app-B0ogzdm0.js → app-FT-17pdN.js} +24 -24
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/components/feature/RestaurantAttributesSelector.vue.d.ts +33 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/catalog.d.ts +2 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +3 -1
- package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +1276 -0
- package/dist/apps/mf-menu/src/types/linkProducts.d.ts +21 -0
- package/dist/apps/mf-menu/src/views/PrintRoute/PrintDepartmentDialog.vue.d.ts +5 -3
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-DepVvcGX.js → linked-status-CgdauMC-.js} +8 -8
- package/dist/assets/{override-menu-Cb7cvOj9.js → override-menu-BjjuzKpf.js} +8 -8
- package/dist/assets/{validate-menu-Hc7m9hHC.js → validate-menu-C0NftO2y.js} +8 -8
- package/dist/{catalog-_R7Bi_aW.js → catalog-Cu3xX3Ij.js} +1 -1
- package/dist/{catalogSetting-Bnr55VnE.js → catalogSetting-MeAAWjBX.js} +1 -1
- package/dist/{category-C0kozMAs.js → category-D5yCmLTw.js} +1 -1
- package/dist/{currency-DFA-7C9k.js → currency-DQtVpVAB.js} +1 -1
- package/dist/{dayjs.min-BzOsbxFW.js → dayjs.min-B17nF95f.js} +1 -1
- package/dist/{index-asthzgeW.js → index-1CsXkVcJ.js} +1 -1
- package/dist/{index-y3TkmTDS.js → index-B6mBc4vZ.js} +3 -3
- package/dist/{index-LrL2OIsF.js → index-CAsg0n3_.js} +3 -3
- package/dist/index-D7yR1j9C.js +215 -0
- package/dist/{item-BHFMgTjL.js → item-BXuPBp61.js} +196 -194
- package/dist/{jszip.min-BYCWga7V.js → jszip.min-Dzj1bdkj.js} +245 -245
- package/dist/{menu-UNNs3oeu.js → menu-CpOCeOvo.js} +1201 -1192
- package/dist/{menu-7YBc_V0y.js → menu-CzQXSBCu.js} +1 -1
- package/dist/menuV2-Cw9jPRug.js +707 -0
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-I7O5kuz-.js → priceTier-DmDrpMES.js} +1 -1
- package/dist/{scheduler-c0cSXqeD.js → scheduler-f8MIyGun.js} +16 -17
- package/dist/subcategory-C3sMuoGj.js +148 -0
- package/dist/{toExcel-C8d-m0RH.js → toExcel-BoLqUKHC.js} +2 -2
- package/dist/{unit-B0Bl56gY.js → unit-CAKmah7M.js} +5 -4
- package/package.json +3 -3
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js +0 -26
- package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DW1ET8Ys.js +0 -372
- package/dist/LinkProductSideSheet-QUllj_xC.js +0 -112
- package/dist/Product.vue_vue_type_script_setup_true_lang-TwmxZaik.js +0 -1644
- package/dist/Products-BA-G2Yya.js +0 -270
- package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-DzQ8_6Bi.js +0 -71
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Dp2eaieu.js +0 -6149
- package/dist/_id_-CoMVzmjC.js +0 -178
- package/dist/apps/mf-menu/src/components/feature/AttributesSelector.vue.d.ts +0 -2
- package/dist/apps/mf-menu/src/components/feature/LinkProduct/LinkProductSideSheet.vue.d.ts +0 -70
- package/dist/apps/mf-menu/src/components/feature/LinkProduct/LinkProductUnifiedSideSheet.vue.d.ts +0 -12
- package/dist/apps/mf-menu/src/composable/customAttributes.d.ts +0 -88
- package/dist/customAttributes-C1FljtXt.js +0 -33
- package/dist/index-Ce4v8o7D.js +0 -106
- package/dist/subcategory-YHkkwrLj.js +0 -817
- /package/dist/{app-DvG3mOom.js → LinkProductSideSheet.vue_vue_type_style_index_0_scoped_97fa9d58_lang-DvG3mOom.js} +0 -0
- /package/dist/{apps/mf-menu/src/components → packages/shared/src/components/info}/CustomAttributeChip.vue.d.ts +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { defineStore as mo } from "pinia";
|
|
2
2
|
import { createElementBlock as re, openBlock as U, createElementVNode as B, defineComponent as ge, resolveComponent as K, createBlock as J, createVNode as O, toDisplayString as Ee, Fragment as Ve, renderList as rt, h as Fe, ref as oe, computed as V, watch as Le, unref as b, renderSlot as Ce, withCtx as W, createCommentVNode as se, Transition as ha, getCurrentInstance as an, inject as ga, shallowRef as va, onMounted as $t, onUnmounted as _a, Text as ba, normalizeClass as Ke, resolveDynamicComponent as wn, withDirectives as Xt, vShow as kn, mergeProps as po, withModifiers as Rn, createTextVNode as Bn, resolveDirective as fo, markRaw as ya, render as Wn, mergeModels as wa, useModel as Ea, nextTick as ho, onBeforeUnmount as Sa, normalizeProps as ka, guardReactiveProps as Ra, normalizeStyle as Oa } from "vue";
|
|
3
|
-
import { J as ze, G as q,
|
|
3
|
+
import { J as ze, G as q, ah as Ca, aj as Aa, X as Ia, H as be, B as Je, T as go, u as Me, A as Ge, I as at, a0 as Ta, D as kt, O as Rt, P as Ma, Q as Da, R as Fa, U as Fn, ab as Na, M as Pa, K as ki } from "./menu-CpOCeOvo.js";
|
|
4
4
|
import { useI18n as ke, useCoreStore as rn, CustomAttributesForm as vo } from "@feedmepos/mf-common";
|
|
5
5
|
import { useDialog as lt, useSnackbar as Qe, components as Be, FmButtonColorThemeVariant as ft, FmButtonVariant as Ot, useBreakpoints as _o, useDialogChild as bo } from "@feedmepos/ui-library";
|
|
6
|
-
import { C as ht } from "./catalog-
|
|
6
|
+
import { C as ht } from "./catalog-Cu3xX3Ij.js";
|
|
7
7
|
import { c as La } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
8
8
|
import { a as Ri, _ as yo } from "./tooltip-B5BiPMx9.js";
|
|
9
|
-
import { _ as Ct, L as xa } from "./LinkProductSideSheet-
|
|
9
|
+
import { _ as Ct, a as bt, L as xa } from "./LinkProductSideSheet-CLUkYMJx.js";
|
|
10
10
|
import { _ as ut, a as Ua } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
|
|
11
|
-
import { s as Hn, F as Va, _ as za } from "./index-
|
|
12
|
-
import { I as $a, u as Ga } from "./app-
|
|
13
|
-
import { u as Ba } from "./app-
|
|
14
|
-
import {
|
|
15
|
-
import { _ as bt } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
11
|
+
import { s as Hn, F as Va, _ as za } from "./index-1CsXkVcJ.js";
|
|
12
|
+
import { I as $a, u as Ga } from "./app-FT-17pdN.js";
|
|
13
|
+
import { u as Ba } from "./app-DCfZrw5q.js";
|
|
14
|
+
import { g as wo, b as Wa, c as Ha, a as ja, m as Ka } from "./menuV2-Cw9jPRug.js";
|
|
16
15
|
import "@vue/devtools-api";
|
|
17
|
-
import { u as
|
|
16
|
+
import { u as Ya } from "./subcategory-C3sMuoGj.js";
|
|
17
|
+
import { u as Xa } from "./category-D5yCmLTw.js";
|
|
18
18
|
import { u as ui } from "./discardConfirm-BHni0LNu.js";
|
|
19
|
-
import { _ as Ft, l as jn, T as qa } from "./index-
|
|
19
|
+
import { _ as Ft, l as jn, T as qa } from "./index-CAsg0n3_.js";
|
|
20
20
|
import { useInventoryStore as Eo, InventoryBindingForm as Ja, InventoryBindingSummary as Za } from "@feedmepos/mf-inventory-portal";
|
|
21
21
|
import { c as sn } from "./check-C9mY6LiX.js";
|
|
22
22
|
import { c as Qa } from "./object-DVUNCr7w.js";
|
|
23
|
-
import { f as Gt } from "./currency-
|
|
24
|
-
import { u as So } from "./priceTier-
|
|
23
|
+
import { f as Gt } from "./currency-DQtVpVAB.js";
|
|
24
|
+
import { u as So } from "./priceTier-DmDrpMES.js";
|
|
25
25
|
import { u as er } from "./search-BAPEUu1R.js";
|
|
26
26
|
import { c as tr } from "./string-DpfFixWH.js";
|
|
27
27
|
import { d as ko } from "./vuedraggable-CK8z7qA8.js";
|
|
28
|
-
import { _ as nr } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
29
|
-
import { V as Oi } from "./index-
|
|
28
|
+
import { _ as nr } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-t1K3plXk.js";
|
|
29
|
+
import { V as Oi } from "./index-B6mBc4vZ.js";
|
|
30
30
|
class _n {
|
|
31
31
|
constructor(t, n, i, a) {
|
|
32
32
|
this.scheduler = t, this.menuStore = n, this.updateMenu = i, this.dialog = a;
|
|
@@ -1050,7 +1050,7 @@ function Jr(e, t = {}) {
|
|
|
1050
1050
|
L += g;
|
|
1051
1051
|
return L;
|
|
1052
1052
|
}
|
|
1053
|
-
function
|
|
1053
|
+
function H(f) {
|
|
1054
1054
|
let g = "";
|
|
1055
1055
|
for (; ; ) {
|
|
1056
1056
|
const L = f.currentChar();
|
|
@@ -1076,18 +1076,18 @@ function Jr(e, t = {}) {
|
|
|
1076
1076
|
L += g;
|
|
1077
1077
|
return f.currentChar() === Et && d(_e.UNTERMINATED_CLOSING_BRACE, o(), 0), L;
|
|
1078
1078
|
}
|
|
1079
|
-
function
|
|
1079
|
+
function ie(f) {
|
|
1080
1080
|
w(f);
|
|
1081
1081
|
let g = "";
|
|
1082
1082
|
return f.currentChar() === "-" ? (f.next(), g += `-${G(f)}`) : g += G(f), f.currentChar() === Et && d(_e.UNTERMINATED_CLOSING_BRACE, o(), 0), g;
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1084
|
+
function ne(f) {
|
|
1085
1085
|
return f !== Mi && f !== $e;
|
|
1086
1086
|
}
|
|
1087
1087
|
function ee(f) {
|
|
1088
1088
|
w(f), E(f, "'");
|
|
1089
1089
|
let g = "", L = "";
|
|
1090
|
-
for (; g = M(f,
|
|
1090
|
+
for (; g = M(f, ne); )
|
|
1091
1091
|
g === "\\" ? L += Q(f) : L += g;
|
|
1092
1092
|
const Y = f.currentChar();
|
|
1093
1093
|
return Y === $e || Y === Et ? (d(_e.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), Y === $e && (f.next(), E(f, "'")), L) : (E(f, "'"), L);
|
|
@@ -1179,7 +1179,7 @@ function Jr(e, t = {}) {
|
|
|
1179
1179
|
if (X = k(f, g))
|
|
1180
1180
|
return L = c(g, 4, Z(f)), w(f), L;
|
|
1181
1181
|
if (ue = R(f, g))
|
|
1182
|
-
return L = c(g, 5,
|
|
1182
|
+
return L = c(g, 5, ie(f)), w(f), L;
|
|
1183
1183
|
if (F = A(f, g))
|
|
1184
1184
|
return L = c(g, 6, ee(f)), w(f), L;
|
|
1185
1185
|
if (!X && !ue && !F)
|
|
@@ -1244,7 +1244,7 @@ function Jr(e, t = {}) {
|
|
|
1244
1244
|
if (I(f))
|
|
1245
1245
|
return L = c(g, 1, yt(f)), g.braceNest = 0, g.inLinked = !1, L;
|
|
1246
1246
|
if (N(f))
|
|
1247
|
-
return c(g, 0,
|
|
1247
|
+
return c(g, 0, H(f));
|
|
1248
1248
|
break;
|
|
1249
1249
|
}
|
|
1250
1250
|
}
|
|
@@ -2607,7 +2607,7 @@ function gl(e, t, n, i) {
|
|
|
2607
2607
|
return e.processor && (c.processor = e.processor), i.list && (c.list = i.list), i.named && (c.named = i.named), Ne(i.plural) && (c.pluralIndex = i.plural), c;
|
|
2608
2608
|
}
|
|
2609
2609
|
ps();
|
|
2610
|
-
var vl = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_03f9c159-583a-486d-aae9-3ae7e49a519e", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies__feedmepos_remy_vue_client: "0.1.3-beta.8", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_03f9c159-583a-486d-aae9-3ae7e49a519e", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4-dev.feedmeapi.com", GTM_ID: "GTM-P7Z9FMS6", FIREBASE_MESSAGING_SENDER_ID: "458797803788", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", npm_package_devDependencies_sass: "1.69.5", 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", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.2.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.1.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.2.13676358", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", SYSTEMD_EXEC_PID: "1738", npm_package_dependencies__feedmepos_ui_library: "1.7.3", npm_package_dependencies_dayjs: "^1.11.12", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_i18next: "^23.11.5", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.2.2", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "dotenv -e .env.dev pnpm build-only", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.25", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250922.53.1", npm_package_scripts_dev: "vite --mode dev --port 5176", npm_package_scripts_build_prod: "dotenv -e .env.prod pnpm build-only", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.3", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_dependencies_i18next_vue: "^4.0.0", npm_package_devDependencies_prettier: "^3.0.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2-dev.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:11090", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.7/x64", REMY_URL: "https://remy-dev.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "18044610309", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "cc6de361dabc61f987423f169ede7d4813f841c3", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu.yml@refs/heads/KDI-2152_menu-catalog-should-support-choose-price-tier-by-restaurant-attributes", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", npm_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/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@9.15.9/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@9.15.9/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@9.15.9/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_d5f5a598-e3b8-4dc9-96e2-856c01168d38", INVOCATION_ID: "1b6d196775db4d8892042015c2c9e93f", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "421", GITHUB_TRIGGERING_ACTOR: "victorchai", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000018917", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "KDI-2152_menu-catalog-should-support-choose-price-tier-by-restaurant-attributes", GITHUB_REPOSITORY: "feedmepos/portal", npm_package_exports___style_css: "./dist/style.css", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "2.14.36", 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", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", 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@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/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@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.31.33-beta.7", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "cc6de361dabc61f987423f169ede7d4813f841c3", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/KDI-2152_menu-catalog-should-support-choose-price-tier-by-restaurant-attributes", GITHUB_ACTOR: "victorchai", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_03f9c159-583a-486d-aae9-3ae7e49a519e", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "49786844", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/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_03f9c159-583a-486d-aae9-3ae7e49a519e", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_inventory_core: "^0.2.6", npm_package_dependencies__feedmepos_zod_entity: "0.0.4-alpha.9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_devDependencies_eslint_plugin_vue: "^9.17.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", 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", npm_package_dependencies__feedmepos_menu: "1.7.12", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_03f9c159-583a-486d-aae9-3ae7e49a519e", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
|
|
2610
|
+
var vl = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_532a012e-208e-46bf-89ce-4dfd292600f6", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies__feedmepos_remy_vue_client: "0.1.3-beta.8", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_532a012e-208e-46bf-89ce-4dfd292600f6", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4-dev.feedmeapi.com", GTM_ID: "GTM-P7Z9FMS6", FIREBASE_MESSAGING_SENDER_ID: "458797803788", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", npm_package_devDependencies_sass: "1.69.5", 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", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.2.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.1.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.2.13676358", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", SYSTEMD_EXEC_PID: "1745", npm_package_dependencies__feedmepos_ui_library: "1.7.4", npm_package_dependencies_dayjs: "^1.11.12", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_i18next: "^23.11.5", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.2.2", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "dotenv -e .env.dev pnpm build-only", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.25", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250922.53.1", npm_package_scripts_dev: "vite --mode dev --port 5176", npm_package_scripts_build_prod: "dotenv -e .env.prod pnpm build-only", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.3", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_dependencies_i18next_vue: "^4.0.0", npm_package_devDependencies_prettier: "^3.0.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2-dev.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:12826", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.7/x64", REMY_URL: "https://remy-dev.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "18072782255", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "5cd5180ac928d00cb9fd5bcd6c4f96cf5e98e7c9", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", 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_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/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@9.15.9/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@9.15.9/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@9.15.9/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_7e18d30d-176d-421b-b2ae-6be3c392f94f", INVOCATION_ID: "c221ef9098a9427d8fd25174da415634", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "424", GITHUB_TRIGGERING_ACTOR: "heiseshandian", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000019012", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_package_exports___style_css: "./dist/style.css", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "2.14.36", 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", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", 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@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/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@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.31.33-beta.9", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "true", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "5cd5180ac928d00cb9fd5bcd6c4f96cf5e98e7c9", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_532a012e-208e-46bf-89ce-4dfd292600f6", 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@9.15.9/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_532a012e-208e-46bf-89ce-4dfd292600f6", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_inventory_core: "^0.2.6", npm_package_dependencies__feedmepos_zod_entity: "0.0.4-alpha.9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_devDependencies_eslint_plugin_vue: "^9.17.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", 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", npm_package_dependencies__feedmepos_menu: "1.7.12", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_532a012e-208e-46bf-89ce-4dfd292600f6", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
|
|
2611
2611
|
const _l = "10.0.5";
|
|
2612
2612
|
function bl() {
|
|
2613
2613
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Dt().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Dt().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Dt().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Dt().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -2739,8 +2739,8 @@ function kl(e = {}) {
|
|
|
2739
2739
|
__meta: { framework: "vue" }
|
|
2740
2740
|
};
|
|
2741
2741
|
F.datetimeFormats = m.value, F.numberFormats = d.value, F.__datetimeFormatters = pe(y) ? y.__datetimeFormatters : void 0, F.__numberFormatters = pe(y) ? y.__numberFormatters : void 0;
|
|
2742
|
-
const
|
|
2743
|
-
return i && zi(
|
|
2742
|
+
const j = nl(F);
|
|
2743
|
+
return i && zi(j), j;
|
|
2744
2744
|
})(), Jt(y, l.value, s.value);
|
|
2745
2745
|
function S() {
|
|
2746
2746
|
return [
|
|
@@ -2774,7 +2774,7 @@ function kl(e = {}) {
|
|
|
2774
2774
|
function le(F) {
|
|
2775
2775
|
F !== null && (v = Qi(F)), w = F, y.missing = v;
|
|
2776
2776
|
}
|
|
2777
|
-
const ce = (F,
|
|
2777
|
+
const ce = (F, j, he, Se, tt, un) => {
|
|
2778
2778
|
S();
|
|
2779
2779
|
let Ut;
|
|
2780
2780
|
try {
|
|
@@ -2784,7 +2784,7 @@ function kl(e = {}) {
|
|
|
2784
2784
|
}
|
|
2785
2785
|
if (he !== "translate exists" && // for not `te` (e.g `t`)
|
|
2786
2786
|
Ne(Ut) && Ut === In || he === "translate exists" && !Ut) {
|
|
2787
|
-
const [fa, Kd] =
|
|
2787
|
+
const [fa, Kd] = j();
|
|
2788
2788
|
return t && E ? Se(t) : tt(fa);
|
|
2789
2789
|
} else {
|
|
2790
2790
|
if (un(Ut))
|
|
@@ -2793,110 +2793,110 @@ function kl(e = {}) {
|
|
|
2793
2793
|
}
|
|
2794
2794
|
};
|
|
2795
2795
|
function we(...F) {
|
|
2796
|
-
return ce((
|
|
2796
|
+
return ce((j) => Reflect.apply(Yi, null, [j, ...F]), () => Jn(...F), "translate", (j) => Reflect.apply(j.t, j, [...F]), (j) => j, (j) => te(j));
|
|
2797
2797
|
}
|
|
2798
2798
|
function G(...F) {
|
|
2799
|
-
const [
|
|
2799
|
+
const [j, he, Se] = F;
|
|
2800
2800
|
if (Se && !fe(Se))
|
|
2801
2801
|
throw tn(Ht.INVALID_ARGUMENT);
|
|
2802
|
-
return we(
|
|
2802
|
+
return we(j, he, Pe({ resolvedMessage: !0 }, Se || {}));
|
|
2803
2803
|
}
|
|
2804
|
-
function
|
|
2805
|
-
return ce((
|
|
2804
|
+
function H(...F) {
|
|
2805
|
+
return ce((j) => Reflect.apply(Gi, null, [j, ...F]), () => Xn(...F), "datetime format", (j) => Reflect.apply(j.d, j, [...F]), () => Ui, (j) => te(j));
|
|
2806
2806
|
}
|
|
2807
2807
|
function Z(...F) {
|
|
2808
|
-
return ce((
|
|
2808
|
+
return ce((j) => Reflect.apply(Wi, null, [j, ...F]), () => qn(...F), "number format", (j) => Reflect.apply(j.n, j, [...F]), () => Ui, (j) => te(j));
|
|
2809
2809
|
}
|
|
2810
|
-
function
|
|
2811
|
-
return F.map((
|
|
2810
|
+
function ie(F) {
|
|
2811
|
+
return F.map((j) => te(j) || Ne(j) || Oe(j) ? Xi(String(j)) : j);
|
|
2812
2812
|
}
|
|
2813
2813
|
const ee = {
|
|
2814
|
-
normalize:
|
|
2814
|
+
normalize: ie,
|
|
2815
2815
|
interpolate: (F) => F,
|
|
2816
2816
|
type: "vnode"
|
|
2817
2817
|
};
|
|
2818
2818
|
function Q(...F) {
|
|
2819
|
-
return ce((
|
|
2819
|
+
return ce((j) => {
|
|
2820
2820
|
let he;
|
|
2821
|
-
const Se =
|
|
2821
|
+
const Se = j;
|
|
2822
2822
|
try {
|
|
2823
2823
|
Se.processor = ee, he = Reflect.apply(Yi, null, [Se, ...F]);
|
|
2824
2824
|
} finally {
|
|
2825
2825
|
Se.processor = null;
|
|
2826
2826
|
}
|
|
2827
2827
|
return he;
|
|
2828
|
-
}, () => Jn(...F), "translate", (
|
|
2828
|
+
}, () => Jn(...F), "translate", (j) => j[Zn](...F), (j) => [Xi(j)], (j) => Te(j));
|
|
2829
2829
|
}
|
|
2830
2830
|
function ve(...F) {
|
|
2831
|
-
return ce((
|
|
2831
|
+
return ce((j) => Reflect.apply(Wi, null, [j, ...F]), () => qn(...F), "number format", (j) => j[ei](...F), Ji, (j) => te(j) || Te(j));
|
|
2832
2832
|
}
|
|
2833
2833
|
function Ae(...F) {
|
|
2834
|
-
return ce((
|
|
2834
|
+
return ce((j) => Reflect.apply(Gi, null, [j, ...F]), () => Xn(...F), "datetime format", (j) => j[Qn](...F), Ji, (j) => te(j) || Te(j));
|
|
2835
2835
|
}
|
|
2836
2836
|
function je(F) {
|
|
2837
2837
|
T = F, y.pluralRules = T;
|
|
2838
2838
|
}
|
|
2839
|
-
function Lt(F,
|
|
2839
|
+
function Lt(F, j) {
|
|
2840
2840
|
return ce(() => {
|
|
2841
2841
|
if (!F)
|
|
2842
2842
|
return !1;
|
|
2843
|
-
const he = te(
|
|
2843
|
+
const he = te(j) ? j : l.value, Se = ct(he), tt = y.messageResolver(Se, F);
|
|
2844
2844
|
return Wt(tt) || Ye(tt) || te(tt);
|
|
2845
|
-
}, () => [F], "translate exists", (he) => Reflect.apply(he.te, he, [F,
|
|
2845
|
+
}, () => [F], "translate exists", (he) => Reflect.apply(he.te, he, [F, j]), El, (he) => Oe(he));
|
|
2846
2846
|
}
|
|
2847
2847
|
function qt(F) {
|
|
2848
|
-
let
|
|
2848
|
+
let j = null;
|
|
2849
2849
|
const he = Io(y, s.value, l.value);
|
|
2850
2850
|
for (let Se = 0; Se < he.length; Se++) {
|
|
2851
2851
|
const tt = u.value[he[Se]] || {}, un = y.messageResolver(tt, F);
|
|
2852
2852
|
if (un != null) {
|
|
2853
|
-
|
|
2853
|
+
j = un;
|
|
2854
2854
|
break;
|
|
2855
2855
|
}
|
|
2856
2856
|
}
|
|
2857
|
-
return
|
|
2857
|
+
return j;
|
|
2858
2858
|
}
|
|
2859
2859
|
function yt(F) {
|
|
2860
|
-
const
|
|
2861
|
-
return
|
|
2860
|
+
const j = qt(F);
|
|
2861
|
+
return j ?? (t ? t.tm(F) || {} : {});
|
|
2862
2862
|
}
|
|
2863
2863
|
function ct(F) {
|
|
2864
2864
|
return u.value[F] || {};
|
|
2865
2865
|
}
|
|
2866
|
-
function dt(F,
|
|
2866
|
+
function dt(F, j) {
|
|
2867
2867
|
if (a) {
|
|
2868
|
-
const he = { [F]:
|
|
2868
|
+
const he = { [F]: j };
|
|
2869
2869
|
for (const Se in he)
|
|
2870
2870
|
Ze(he, Se) && nn(he[Se]);
|
|
2871
|
-
|
|
2871
|
+
j = he[F];
|
|
2872
2872
|
}
|
|
2873
|
-
u.value[F] =
|
|
2873
|
+
u.value[F] = j, y.messages = u.value;
|
|
2874
2874
|
}
|
|
2875
|
-
function wt(F,
|
|
2875
|
+
function wt(F, j) {
|
|
2876
2876
|
u.value[F] = u.value[F] || {};
|
|
2877
|
-
const he = { [F]:
|
|
2877
|
+
const he = { [F]: j };
|
|
2878
2878
|
if (a)
|
|
2879
2879
|
for (const Se in he)
|
|
2880
2880
|
Ze(he, Se) && nn(he[Se]);
|
|
2881
|
-
|
|
2881
|
+
j = he[F], bn(j, u.value[F]), y.messages = u.value;
|
|
2882
2882
|
}
|
|
2883
2883
|
function xt(F) {
|
|
2884
2884
|
return m.value[F] || {};
|
|
2885
2885
|
}
|
|
2886
|
-
function f(F,
|
|
2887
|
-
m.value[F] =
|
|
2886
|
+
function f(F, j) {
|
|
2887
|
+
m.value[F] = j, y.datetimeFormats = m.value, Bi(y, F, j);
|
|
2888
2888
|
}
|
|
2889
|
-
function g(F,
|
|
2890
|
-
m.value[F] = Pe(m.value[F] || {},
|
|
2889
|
+
function g(F, j) {
|
|
2890
|
+
m.value[F] = Pe(m.value[F] || {}, j), y.datetimeFormats = m.value, Bi(y, F, j);
|
|
2891
2891
|
}
|
|
2892
2892
|
function L(F) {
|
|
2893
2893
|
return d.value[F] || {};
|
|
2894
2894
|
}
|
|
2895
|
-
function Y(F,
|
|
2896
|
-
d.value[F] =
|
|
2895
|
+
function Y(F, j) {
|
|
2896
|
+
d.value[F] = j, y.numberFormats = d.value, Hi(y, F, j);
|
|
2897
2897
|
}
|
|
2898
|
-
function X(F,
|
|
2899
|
-
d.value[F] = Pe(d.value[F] || {},
|
|
2898
|
+
function X(F, j) {
|
|
2899
|
+
d.value[F] = Pe(d.value[F] || {}, j), y.numberFormats = d.value, Hi(y, F, j);
|
|
2900
2900
|
}
|
|
2901
2901
|
Zi++, t && Ai && (Le(t.locale, (F) => {
|
|
2902
2902
|
r && (l.value = F, y.locale = F, Jt(y, l.value, s.value));
|
|
@@ -2972,7 +2972,7 @@ function kl(e = {}) {
|
|
|
2972
2972
|
setMissingHandler: le,
|
|
2973
2973
|
[yl]: je
|
|
2974
2974
|
};
|
|
2975
|
-
return ue.datetimeFormats = P, ue.numberFormats = z, ue.rt = G, ue.te = Lt, ue.tm = yt, ue.d =
|
|
2975
|
+
return ue.datetimeFormats = P, ue.numberFormats = z, ue.rt = G, ue.te = Lt, ue.tm = yt, ue.d = H, ue.n = Z, ue.getDateTimeFormat = xt, ue.setDateTimeFormat = f, ue.mergeDateTimeFormat = g, ue.getNumberFormat = L, ue.setNumberFormat = Y, ue.mergeNumberFormat = X, ue[Vo] = n, ue[Zn] = Q, ue[Qn] = Ae, ue[ei] = ve, ue;
|
|
2976
2976
|
}
|
|
2977
2977
|
const vi = {
|
|
2978
2978
|
tag: {
|
|
@@ -4916,7 +4916,7 @@ const Pu = { render: Nu }, sa = /* @__PURE__ */ ge({
|
|
|
4916
4916
|
},
|
|
4917
4917
|
emits: ["update:modelValue"],
|
|
4918
4918
|
setup(e, { emit: t }) {
|
|
4919
|
-
const n = e, i = t, a = lt(), o = Qe(), r = kt(o), l = Rt(r), { t: s } = ln(), u = oe(null), m = oe([]), d =
|
|
4919
|
+
const n = e, i = t, a = lt(), o = Qe(), r = kt(o), l = Rt(r), { t: s } = ln(), u = oe(null), m = oe([]), d = Ya({
|
|
4920
4920
|
dialog: a,
|
|
4921
4921
|
menuLoader: l,
|
|
4922
4922
|
isLocalOnly: n.isLocalOnly
|
|
@@ -5182,15 +5182,15 @@ const ec = /* @__PURE__ */ ge({
|
|
|
5182
5182
|
t: z
|
|
5183
5183
|
} = ke();
|
|
5184
5184
|
return (D, C) => {
|
|
5185
|
-
const $ = K("fm-text-field"), le = K("fm-textarea"), ce = K("fm-radio"), we = K("FmSnackbar"), G = K("FmButton"),
|
|
5185
|
+
const $ = K("fm-text-field"), le = K("fm-textarea"), ce = K("fm-radio"), we = K("FmSnackbar"), G = K("FmButton"), H = K("fm-radio-group"), Z = K("FmFormGroup"), ie = fo("tooltip");
|
|
5186
5186
|
return U(), J(ut, {
|
|
5187
5187
|
title: b(z)("menu.product.form.detail.title")
|
|
5188
5188
|
}, {
|
|
5189
5189
|
default: W(() => {
|
|
5190
|
-
var
|
|
5190
|
+
var ne, ee;
|
|
5191
5191
|
return [B("div", Gu, [B("div", Bu, [B("div", Wu, [B("div", Hu, [O($, {
|
|
5192
5192
|
"model-value": D.form.code,
|
|
5193
|
-
placeholder: ((
|
|
5193
|
+
placeholder: ((ne = D.fallback) == null ? void 0 : ne.code) || b(z)("menu.product.form.detail.fields.code.placeholder"),
|
|
5194
5194
|
label: b(z)("menu.product.form.detail.fields.code.label"),
|
|
5195
5195
|
"onUpdate:modelValue": C[0] || (C[0] = (Q) => d("update:form", "code", b(la)(Q, D.isOverride)))
|
|
5196
5196
|
}, null, 8, ["model-value", "placeholder", "label"])]), B("div", ju, [O($, {
|
|
@@ -5218,7 +5218,7 @@ const ec = /* @__PURE__ */ ge({
|
|
|
5218
5218
|
}, 8, ["disabled", "model-value", "placeholder"]), Xt(O(sa, {
|
|
5219
5219
|
class: "absolute top-32 right-4 cursor-pointer",
|
|
5220
5220
|
onClick: I
|
|
5221
|
-
}, null, 512), [[
|
|
5221
|
+
}, null, 512), [[ie, b(yo)("Suggest description")]])])]), O(Iu, {
|
|
5222
5222
|
disabled: !c.value.thumbnail,
|
|
5223
5223
|
"model-value": D.thumbnail,
|
|
5224
5224
|
"onUpdate:modelValue": C[3] || (C[3] = (Q) => d("update:thumbnail", Q)),
|
|
@@ -5226,7 +5226,7 @@ const ec = /* @__PURE__ */ ge({
|
|
|
5226
5226
|
}, null, 8, ["disabled", "model-value"])]), O(bt, {
|
|
5227
5227
|
label: b(z)("menu.product.form.detail.category.label")
|
|
5228
5228
|
}, {
|
|
5229
|
-
default: W(() => [_.value ? (U(), J(
|
|
5229
|
+
default: W(() => [_.value ? (U(), J(H, {
|
|
5230
5230
|
key: 0,
|
|
5231
5231
|
disabled: !c.value.category,
|
|
5232
5232
|
"model-value": y.value,
|
|
@@ -5702,14 +5702,14 @@ const ca = /* @__PURE__ */ ge({
|
|
|
5702
5702
|
const a = rn(), o = Me(), r = V(() => Ge.Country.getCountry(a.currentCountry.value)), l = oe(!1), s = V(() => n.config.isV4 || n.group.type === q.F_ADDON_GROUP_TYPE.enum.PRODUCT), u = V(() => s.value), m = V(() => s.value), d = V(() => Object.values(n.group.items).flatMap((G) => [{
|
|
5703
5703
|
_id: G._id,
|
|
5704
5704
|
combinationKey: void 0
|
|
5705
|
-
}, ...(G.items ?? []).filter((
|
|
5706
|
-
_id:
|
|
5707
|
-
combinationKey:
|
|
5705
|
+
}, ...(G.items ?? []).filter((H) => H.orderFrom !== q.F_ORDER_FROM.enum.NONE).map((H) => ({
|
|
5706
|
+
_id: H._id,
|
|
5707
|
+
combinationKey: H.combinationKey
|
|
5708
5708
|
}))])), {
|
|
5709
5709
|
searchKey: c,
|
|
5710
5710
|
filter: p
|
|
5711
5711
|
} = er(), E = V(() => {
|
|
5712
|
-
const G = Object.entries(n.group.items).filter(([,
|
|
5712
|
+
const G = Object.entries(n.group.items).filter(([, H]) => p([H.code || "", H.name || H.fallbackName, v(H.price ?? H.fallbackPrice), h(H.orderFrom || H.fallbackOrder), ...(H.items || []).map((Z) => [Z.code || "", Z.name || Z.fallbackName, v(Z.price ?? Z.fallbackPrice), h(Z.orderFrom || Z.fallbackOrder)].join(""))]));
|
|
5713
5713
|
return Object.fromEntries(G);
|
|
5714
5714
|
}), _ = (G) => ({
|
|
5715
5715
|
...n.config,
|
|
@@ -5718,8 +5718,8 @@ const ca = /* @__PURE__ */ ge({
|
|
|
5718
5718
|
name: n.config.name(G),
|
|
5719
5719
|
orderFrom: n.config.orderFrom(G)
|
|
5720
5720
|
}), w = V(() => !0), v = (G) => G ? Gt(G, !1) : "", h = (G) => {
|
|
5721
|
-
var
|
|
5722
|
-
return G == null ? "" : (
|
|
5721
|
+
var H;
|
|
5722
|
+
return G == null ? "" : (H = Da()[G]) == null ? void 0 : H.label;
|
|
5723
5723
|
}, k = V(() => Object.values(E.value)), R = oe({}), {
|
|
5724
5724
|
t: A
|
|
5725
5725
|
} = ke(), T = oe([{
|
|
@@ -5731,14 +5731,14 @@ const ca = /* @__PURE__ */ ge({
|
|
|
5731
5731
|
var ee, Q;
|
|
5732
5732
|
if ((Q = (ee = G.row.original) == null ? void 0 : ee.items) != null && Q.length)
|
|
5733
5733
|
return null;
|
|
5734
|
-
const
|
|
5734
|
+
const H = G.row.depth > 0, Z = G.row.original, ie = !_(Z.combinationKey).isDefault || Z.orderFrom === q.F_ORDER_FROM.enum.NONE, ne = !!G.getValue();
|
|
5735
5735
|
return O(Be.FmCheckbox, {
|
|
5736
5736
|
value: "default",
|
|
5737
|
-
modelValue:
|
|
5738
|
-
disabled:
|
|
5737
|
+
modelValue: ne,
|
|
5738
|
+
disabled: ie,
|
|
5739
5739
|
"onUpdate:modelValue": (ve) => {
|
|
5740
5740
|
var Ae;
|
|
5741
|
-
if (
|
|
5741
|
+
if (H) {
|
|
5742
5742
|
const je = (Ae = G.row.getParentRow()) == null ? void 0 : Ae.original;
|
|
5743
5743
|
if (!je) return;
|
|
5744
5744
|
I(je._id, Z.combinationKey ?? "", "isDefault", ve);
|
|
@@ -5753,15 +5753,15 @@ const ca = /* @__PURE__ */ ge({
|
|
|
5753
5753
|
enableSorting: !1,
|
|
5754
5754
|
size: 100,
|
|
5755
5755
|
cell: (G) => {
|
|
5756
|
-
const
|
|
5756
|
+
const H = G.getValue();
|
|
5757
5757
|
return O(Be.FmTooltip, {
|
|
5758
5758
|
class: "flex",
|
|
5759
|
-
content:
|
|
5759
|
+
content: H,
|
|
5760
5760
|
zIndex: 110
|
|
5761
5761
|
}, {
|
|
5762
5762
|
default: () => [O("div", {
|
|
5763
5763
|
class: "break-all max-w-[100px]"
|
|
5764
|
-
}, [
|
|
5764
|
+
}, [H])]
|
|
5765
5765
|
});
|
|
5766
5766
|
}
|
|
5767
5767
|
}, {
|
|
@@ -5769,15 +5769,15 @@ const ca = /* @__PURE__ */ ge({
|
|
|
5769
5769
|
header: () => A("menu.group.option.product_title"),
|
|
5770
5770
|
enableSorting: !1,
|
|
5771
5771
|
cell: (G) => {
|
|
5772
|
-
const
|
|
5772
|
+
const H = G.getValue(), Z = G.row.original, ie = !_(Z.combinationKey).name || Z.orderFrom === q.F_ORDER_FROM.enum.NONE, ne = G.row.depth > 0, ee = Z.combinationKey ? wo(Z.combinationKey, Me().variants) : null;
|
|
5773
5773
|
return Fe("div", Fe(Be.FmTextField, {
|
|
5774
|
-
modelValue:
|
|
5774
|
+
modelValue: H,
|
|
5775
5775
|
placeholder: ee ?? "",
|
|
5776
|
-
disabled:
|
|
5776
|
+
disabled: ie,
|
|
5777
5777
|
rules: ee ? void 0 : [(Q) => Q.length > 0 || A("menu.group.option.product_title_required")],
|
|
5778
5778
|
"onUpdate:modelValue": (Q) => {
|
|
5779
5779
|
var ve;
|
|
5780
|
-
if (
|
|
5780
|
+
if (ne) {
|
|
5781
5781
|
const Ae = (ve = G.row.getParentRow()) == null ? void 0 : ve.original;
|
|
5782
5782
|
if (!Ae) return;
|
|
5783
5783
|
I(Ae._id, Z.combinationKey ?? "", "name", Q);
|
|
@@ -5808,13 +5808,13 @@ const ca = /* @__PURE__ */ ge({
|
|
|
5808
5808
|
},
|
|
5809
5809
|
size: 100,
|
|
5810
5810
|
cell: (G) => {
|
|
5811
|
-
const
|
|
5811
|
+
const H = G.getValue(), Z = G.row.original, ie = !_(null).priceEdit || Z.orderFrom === q.F_ORDER_FROM.enum.NONE, ne = Z.fallbackPrice, ee = G.row.depth > 0;
|
|
5812
5812
|
return Fe(Ft, {
|
|
5813
|
-
disable:
|
|
5814
|
-
placeholder:
|
|
5815
|
-
modelValue:
|
|
5816
|
-
required: !
|
|
5817
|
-
nullable: !!
|
|
5813
|
+
disable: ie,
|
|
5814
|
+
placeholder: ne ? Gt(ne) : void 0,
|
|
5815
|
+
modelValue: H,
|
|
5816
|
+
required: !ne,
|
|
5817
|
+
nullable: !!ne,
|
|
5818
5818
|
min: w.value ? void 0 : 0,
|
|
5819
5819
|
"onUpdate:modelValue": (Q) => {
|
|
5820
5820
|
var ve;
|
|
@@ -5841,16 +5841,16 @@ const ca = /* @__PURE__ */ ge({
|
|
|
5841
5841
|
size: 100,
|
|
5842
5842
|
enableSorting: !1,
|
|
5843
5843
|
cell: (G) => {
|
|
5844
|
-
const
|
|
5844
|
+
const H = G.getValue(), Z = G.row.original, ie = Z.fallbackOrder, ne = G.row.depth > 0;
|
|
5845
5845
|
return Fe(Ei, {
|
|
5846
|
-
modelValue:
|
|
5847
|
-
fallback:
|
|
5846
|
+
modelValue: H,
|
|
5847
|
+
fallback: ie,
|
|
5848
5848
|
disable: !_(Z.combinationKey).orderFrom,
|
|
5849
5849
|
required: !0,
|
|
5850
5850
|
editActiveOnly: _(Z.combinationKey).orderFromActiveOnly,
|
|
5851
5851
|
"onUpdate:modelValue": (ee) => {
|
|
5852
5852
|
var Q;
|
|
5853
|
-
if (
|
|
5853
|
+
if (ne) {
|
|
5854
5854
|
const ve = (Q = G.row.getParentRow()) == null ? void 0 : Q.original;
|
|
5855
5855
|
if (!ve) return;
|
|
5856
5856
|
I(
|
|
@@ -5876,50 +5876,50 @@ const ca = /* @__PURE__ */ ge({
|
|
|
5876
5876
|
// size: rules.value.inventory && rules.value.link ? 80 : 40,
|
|
5877
5877
|
size: 80,
|
|
5878
5878
|
cell: (G) => {
|
|
5879
|
-
const
|
|
5879
|
+
const H = G.row.original, Z = H.orderFrom === q.F_ORDER_FROM.enum.NONE, ie = G.row.depth > 0;
|
|
5880
5880
|
return O("div", {
|
|
5881
5881
|
class: "flex items-center justify-end"
|
|
5882
5882
|
}, [_(null).priceTier && O(da, {
|
|
5883
|
-
priceTiers:
|
|
5883
|
+
priceTiers: H.priceTiers,
|
|
5884
5884
|
disabled: Z,
|
|
5885
|
-
"onUpdate:priceTiers": (
|
|
5885
|
+
"onUpdate:priceTiers": (ne) => {
|
|
5886
5886
|
var ee;
|
|
5887
|
-
if (
|
|
5887
|
+
if (ie) {
|
|
5888
5888
|
const Q = (ee = G.row.getParentRow()) == null ? void 0 : ee.original;
|
|
5889
5889
|
if (!Q) return;
|
|
5890
5890
|
I(
|
|
5891
5891
|
Q._id,
|
|
5892
|
-
|
|
5892
|
+
H.combinationKey ?? "",
|
|
5893
5893
|
// @ts-ignore
|
|
5894
5894
|
"priceTiers",
|
|
5895
|
-
|
|
5895
|
+
ne
|
|
5896
5896
|
);
|
|
5897
5897
|
} else
|
|
5898
|
-
S(
|
|
5898
|
+
S(H._id, "priceTiers", ne);
|
|
5899
5899
|
}
|
|
5900
|
-
}, null), _(
|
|
5900
|
+
}, null), _(H.combinationKey).inventory && O(li, {
|
|
5901
5901
|
title: "Inventory",
|
|
5902
|
-
initialValue:
|
|
5903
|
-
name:
|
|
5902
|
+
initialValue: H.inventoryBindings ?? [],
|
|
5903
|
+
name: H.name ?? H.fallbackName ?? "",
|
|
5904
5904
|
allowRefund: n.allowRefundInventory,
|
|
5905
|
-
"onUpdate:inventory": (
|
|
5905
|
+
"onUpdate:inventory": (ne) => {
|
|
5906
5906
|
var ee;
|
|
5907
|
-
if (
|
|
5907
|
+
if (ie) {
|
|
5908
5908
|
const Q = (ee = G.row.getParentRow()) == null ? void 0 : ee.original;
|
|
5909
5909
|
if (!Q) return;
|
|
5910
5910
|
I(
|
|
5911
5911
|
Q._id,
|
|
5912
|
-
|
|
5912
|
+
H.combinationKey ?? "",
|
|
5913
5913
|
// @ts-ignore
|
|
5914
5914
|
"inventoryBindings",
|
|
5915
|
-
|
|
5915
|
+
ne
|
|
5916
5916
|
);
|
|
5917
5917
|
} else
|
|
5918
|
-
S(
|
|
5918
|
+
S(H._id, "inventoryBindings", ne);
|
|
5919
5919
|
}
|
|
5920
5920
|
}, {
|
|
5921
5921
|
default: ({
|
|
5922
|
-
trigger:
|
|
5922
|
+
trigger: ne
|
|
5923
5923
|
}) => O(K("fm-tooltip"), {
|
|
5924
5924
|
content: "Inventory",
|
|
5925
5925
|
zIndex: 110
|
|
@@ -5930,19 +5930,19 @@ const ca = /* @__PURE__ */ ge({
|
|
|
5930
5930
|
variant: Ot.Tertiary,
|
|
5931
5931
|
disabled: Z,
|
|
5932
5932
|
prependIcon: "inventory_2",
|
|
5933
|
-
overwriteIconOutline: (ee =
|
|
5933
|
+
overwriteIconOutline: (ee = H.inventoryBindings) != null && ee.length ? "filled" : "outline",
|
|
5934
5934
|
textColor: ft.NeutralGray400,
|
|
5935
|
-
onClick:
|
|
5935
|
+
onClick: ne
|
|
5936
5936
|
}, null)];
|
|
5937
5937
|
}
|
|
5938
5938
|
})
|
|
5939
|
-
}), _(
|
|
5939
|
+
}), _(H.combinationKey).link && O(K("fm-button"), {
|
|
5940
5940
|
variant: Ot.Tertiary,
|
|
5941
5941
|
prependIcon: "delete",
|
|
5942
5942
|
textColor: ft.NeutralGray400,
|
|
5943
|
-
disabled:
|
|
5943
|
+
disabled: ie,
|
|
5944
5944
|
onClick: () => {
|
|
5945
|
-
N(
|
|
5945
|
+
N(H._id);
|
|
5946
5946
|
}
|
|
5947
5947
|
}, null)]);
|
|
5948
5948
|
}
|
|
@@ -5971,96 +5971,96 @@ const ca = /* @__PURE__ */ ge({
|
|
|
5971
5971
|
}
|
|
5972
5972
|
});
|
|
5973
5973
|
}
|
|
5974
|
-
function S(G,
|
|
5975
|
-
const
|
|
5976
|
-
if (!
|
|
5977
|
-
const
|
|
5978
|
-
...
|
|
5974
|
+
function S(G, H, Z) {
|
|
5975
|
+
const ie = n.group.items[G];
|
|
5976
|
+
if (!ie) return;
|
|
5977
|
+
const ne = {
|
|
5978
|
+
...ie
|
|
5979
5979
|
};
|
|
5980
|
-
|
|
5980
|
+
H === "price" ? ne[H] = !Z && !ie.fallbackPrice ? Ge.Dinero.zero().toObject() : Z : ne[H] = Z, i("update:group", {
|
|
5981
5981
|
...n.group,
|
|
5982
5982
|
items: {
|
|
5983
5983
|
...n.group.items,
|
|
5984
|
-
[G]:
|
|
5984
|
+
[G]: ne
|
|
5985
5985
|
}
|
|
5986
5986
|
});
|
|
5987
5987
|
}
|
|
5988
|
-
function I(G,
|
|
5988
|
+
function I(G, H, Z, ie) {
|
|
5989
5989
|
var ve, Ae;
|
|
5990
|
-
const
|
|
5990
|
+
const ne = be(n.group), ee = (ve = ne.items[G].items) == null ? void 0 : ve.findIndex((je) => je.combinationKey === H);
|
|
5991
5991
|
if (!sn.isSet(ee)) return;
|
|
5992
|
-
let Q = (Ae =
|
|
5992
|
+
let Q = (Ae = ne.items[G].items) == null ? void 0 : Ae[ee];
|
|
5993
5993
|
Q && (Q = {
|
|
5994
5994
|
...Q,
|
|
5995
|
-
[Z]:
|
|
5996
|
-
},
|
|
5995
|
+
[Z]: ie
|
|
5996
|
+
}, ne.items[G].items[ee] = Q, i("update:group", ne));
|
|
5997
5997
|
}
|
|
5998
5998
|
function N(G) {
|
|
5999
|
-
const
|
|
6000
|
-
delete
|
|
5999
|
+
const H = be(n.group);
|
|
6000
|
+
delete H.items[G], i("update:group", H);
|
|
6001
6001
|
}
|
|
6002
|
-
const M = V(() => n.categorizedItems.flatMap((G) => G.items).reduce((G,
|
|
6002
|
+
const M = V(() => n.categorizedItems.flatMap((G) => G.items).reduce((G, H) => {
|
|
6003
6003
|
var Z;
|
|
6004
|
-
return G[
|
|
6005
|
-
price:
|
|
6006
|
-
variants: Fa(((Z =
|
|
6004
|
+
return G[H._id] = {
|
|
6005
|
+
price: H.price,
|
|
6006
|
+
variants: Fa(((Z = H.variant) == null ? void 0 : Z.variantCombinations) || [], "combinationKey")
|
|
6007
6007
|
}, G;
|
|
6008
6008
|
}, {})), P = (G) => {
|
|
6009
|
-
var
|
|
6010
|
-
const Z = o.state.menu.modules.item.find((Q) => Q._id === G._id),
|
|
6011
|
-
...(
|
|
6009
|
+
var ne, ee;
|
|
6010
|
+
const Z = o.state.menu.modules.item.find((Q) => Q._id === G._id), ie = G.combinationKey ? {
|
|
6011
|
+
...(ne = Z == null ? void 0 : Z.variant) == null ? void 0 : ne.variantCombinations.find((Q) => Q.combinationKey === G.combinationKey),
|
|
6012
6012
|
name: go(Me().variants, ((ee = Z == null ? void 0 : Z.variant) == null ? void 0 : ee.variantGroupIds) || [])[G.combinationKey]
|
|
6013
6013
|
} : Z;
|
|
6014
|
-
return
|
|
6015
|
-
}, z = V(() => o.state.menu.modules.item.reduce((G,
|
|
6014
|
+
return ie == null ? void 0 : ie.name;
|
|
6015
|
+
}, z = V(() => o.state.menu.modules.item.reduce((G, H) => (G[H._id] = H, G), {}));
|
|
6016
6016
|
function D(G) {
|
|
6017
|
-
const
|
|
6018
|
-
return G.forEach((
|
|
6017
|
+
const H = [], Z = new Set(G.filter((ie) => ie.combinationKey).map((ie) => `${ie._id}:${ie.combinationKey}`));
|
|
6018
|
+
return G.forEach((ie) => {
|
|
6019
6019
|
var Q;
|
|
6020
|
-
if (
|
|
6020
|
+
if (ie.combinationKey)
|
|
6021
6021
|
return;
|
|
6022
|
-
|
|
6023
|
-
const
|
|
6024
|
-
if (!
|
|
6022
|
+
H.push(ie);
|
|
6023
|
+
const ne = z.value[ie._id];
|
|
6024
|
+
if (!ne || !ne.variant || ((Q = ne.variant.variantCombinations) == null ? void 0 : Q.length) === 0)
|
|
6025
6025
|
return;
|
|
6026
|
-
(
|
|
6026
|
+
(ne.variant.variantCombinations || []).forEach((ve) => {
|
|
6027
6027
|
const Ae = `${ve._id}:${ve.combinationKey}`, je = !Z.has(Ae);
|
|
6028
|
-
|
|
6028
|
+
H.push({
|
|
6029
6029
|
_id: ve._id,
|
|
6030
6030
|
combinationKey: ve.combinationKey,
|
|
6031
6031
|
orderFrom: je ? q.F_ORDER_FROM.enum.NONE : q.F_ORDER_FROM.enum.ALL
|
|
6032
6032
|
});
|
|
6033
6033
|
});
|
|
6034
|
-
}),
|
|
6034
|
+
}), H;
|
|
6035
6035
|
}
|
|
6036
6036
|
const C = async (G) => {
|
|
6037
|
-
let
|
|
6037
|
+
let H = ci(n.group);
|
|
6038
6038
|
const Z = D(G);
|
|
6039
|
-
|
|
6040
|
-
...
|
|
6041
|
-
items: Z.map((
|
|
6042
|
-
const
|
|
6043
|
-
|
|
6044
|
-
const ee = M.value[
|
|
6045
|
-
return
|
|
6046
|
-
...
|
|
6047
|
-
name: P(
|
|
6048
|
-
price:
|
|
6049
|
-
orderFrom:
|
|
6039
|
+
H = {
|
|
6040
|
+
...H,
|
|
6041
|
+
items: Z.map((ie) => {
|
|
6042
|
+
const ne = H.items.find((Q) => Q._id == ie._id && Q.combinationKey == ie.combinationKey);
|
|
6043
|
+
ie.orderFrom && ne && (ne.orderFrom = ie.orderFrom);
|
|
6044
|
+
const ee = M.value[ie._id];
|
|
6045
|
+
return ne || {
|
|
6046
|
+
...ie,
|
|
6047
|
+
name: P(ie),
|
|
6048
|
+
price: ie.combinationKey ? ee.variants[ie.combinationKey || ""].price : ee.price,
|
|
6049
|
+
orderFrom: ie.orderFrom ?? q.F_ORDER_FROM.enum.ALL
|
|
6050
6050
|
};
|
|
6051
6051
|
})
|
|
6052
|
-
}, i("update:unmap-group",
|
|
6052
|
+
}, i("update:unmap-group", H);
|
|
6053
6053
|
}, $ = (G) => G.items;
|
|
6054
6054
|
function le(G) {
|
|
6055
|
-
const
|
|
6056
|
-
|
|
6055
|
+
const H = be(n.group);
|
|
6056
|
+
H.items = G.reduce((Z, ie) => ({
|
|
6057
6057
|
...Z,
|
|
6058
|
-
[
|
|
6059
|
-
}), {}), i("update:group",
|
|
6058
|
+
[ie._id]: ie
|
|
6059
|
+
}), {}), i("update:group", H);
|
|
6060
6060
|
}
|
|
6061
6061
|
const ce = _o(), we = V(() => ce.breakpoints.value.xs);
|
|
6062
|
-
return (G,
|
|
6063
|
-
const Z = K("fm-button"),
|
|
6062
|
+
return (G, H) => {
|
|
6063
|
+
const Z = K("fm-button"), ie = K("fm-table");
|
|
6064
6064
|
return U(), J(ut, {
|
|
6065
6065
|
title: b(A)("menu.group.option.title"),
|
|
6066
6066
|
"sub-title": G.config.link() && u.value ? b(A)("menu.group.option.subtitle") : ""
|
|
@@ -6073,17 +6073,19 @@ const ca = /* @__PURE__ */ ge({
|
|
|
6073
6073
|
"show-variant": G.config.bindToVariant,
|
|
6074
6074
|
"select-variant": "",
|
|
6075
6075
|
title: b(A)("menu.group.option.link_products"),
|
|
6076
|
-
onSubmit:
|
|
6076
|
+
onSubmit: H[0] || (H[0] = ({
|
|
6077
|
+
items: ne
|
|
6078
|
+
}) => C(ne))
|
|
6077
6079
|
}, {
|
|
6078
6080
|
default: W(({
|
|
6079
|
-
trigger:
|
|
6081
|
+
trigger: ne
|
|
6080
6082
|
}) => [O(Z, {
|
|
6081
6083
|
"text-color": b(ft).ColorPrimary,
|
|
6082
6084
|
"border-color": b(ft).ColorPrimary,
|
|
6083
6085
|
variant: "secondary",
|
|
6084
6086
|
label: b(A)("menu.group.option.link_products"),
|
|
6085
6087
|
"prepend-icon": "link",
|
|
6086
|
-
onClick:
|
|
6088
|
+
onClick: ne
|
|
6087
6089
|
}, null, 8, ["text-color", "border-color", "label", "onClick"])]),
|
|
6088
6090
|
_: 1
|
|
6089
6091
|
}, 8, ["categorized-items", "initial-value", "show-variant", "title"])])) : (U(), re("div", wc, [O(Z, {
|
|
@@ -6094,7 +6096,7 @@ const ca = /* @__PURE__ */ ge({
|
|
|
6094
6096
|
"prepend-icon": "add",
|
|
6095
6097
|
onClick: x
|
|
6096
6098
|
}, null, 8, ["text-color", "border-color", "label"])]))], 64)) : se("", !0)]),
|
|
6097
|
-
default: W(() => [B("div", Ec, [B("div", Sc, [O(
|
|
6099
|
+
default: W(() => [B("div", Ec, [B("div", Sc, [O(ie, {
|
|
6098
6100
|
"column-defs": T.value,
|
|
6099
6101
|
"column-visibility": y.value,
|
|
6100
6102
|
draggable: !we.value && _(null).name,
|
|
@@ -6105,9 +6107,9 @@ const ca = /* @__PURE__ */ ge({
|
|
|
6105
6107
|
"search-value": b(c),
|
|
6106
6108
|
"shrink-at": !1,
|
|
6107
6109
|
"hide-footer": "",
|
|
6108
|
-
"onUpdate:expandedState":
|
|
6109
|
-
onDndChanged:
|
|
6110
|
-
"onUpdate:dragging":
|
|
6110
|
+
"onUpdate:expandedState": H[1] || (H[1] = (ne) => R.value = ne),
|
|
6111
|
+
onDndChanged: H[2] || (H[2] = (ne) => le(ne)),
|
|
6112
|
+
"onUpdate:dragging": H[3] || (H[3] = (ne) => l.value = ne)
|
|
6111
6113
|
}, null, 8, ["column-defs", "column-visibility", "draggable", "expanded-state", "row-data", "search-value"])])])]),
|
|
6112
6114
|
_: 1
|
|
6113
6115
|
}, 8, ["title", "sub-title"]);
|
|
@@ -6251,7 +6253,7 @@ const Oc = { class: "fm-typo-en-title-md-600" }, Cc = {
|
|
|
6251
6253
|
await u.updateMenu(ce, $.name), a("submit:group", i.group);
|
|
6252
6254
|
} else if (i.action === "update") {
|
|
6253
6255
|
for (const $ of Object.values(((C = i.group) == null ? void 0 : C.items) ?? {}))
|
|
6254
|
-
if (
|
|
6256
|
+
if (Wa(o.state.menu, i.group._id, $._id)) {
|
|
6255
6257
|
s.open({
|
|
6256
6258
|
type: "error",
|
|
6257
6259
|
message: D("menu.product.form.group.circularError", {
|
|
@@ -6298,10 +6300,10 @@ const Oc = { class: "fm-typo-en-title-md-600" }, Cc = {
|
|
|
6298
6300
|
});
|
|
6299
6301
|
const { t: D } = ke();
|
|
6300
6302
|
return (C, $) => {
|
|
6301
|
-
const le = K("fm-text-field"), ce = K("fm-stepper-field"), we = K("FmFormGroup"), G = K("fm-radio"),
|
|
6303
|
+
const le = K("fm-text-field"), ce = K("fm-stepper-field"), we = K("FmFormGroup"), G = K("fm-radio"), H = K("fm-radio-group"), Z = K("fm-switch"), ie = K("fm-button"), ne = K("fm-side-sheet");
|
|
6302
6304
|
return U(), re(Ve, null, [
|
|
6303
6305
|
Ce(C.$slots, "default", { trigger: _ }),
|
|
6304
|
-
O(
|
|
6306
|
+
O(ne, {
|
|
6305
6307
|
id: "group-form",
|
|
6306
6308
|
modelValue: E.value,
|
|
6307
6309
|
"onUpdate:modelValue": $[8] || ($[8] = (ee) => E.value = ee),
|
|
@@ -6318,14 +6320,14 @@ const Oc = { class: "fm-typo-en-title-md-600" }, Cc = {
|
|
|
6318
6320
|
]),
|
|
6319
6321
|
"side-sheet-footer": W(() => [
|
|
6320
6322
|
B("div", Ac, [
|
|
6321
|
-
O(
|
|
6323
|
+
O(ie, {
|
|
6322
6324
|
label: b(tr)(S.value),
|
|
6323
6325
|
loading: p.value,
|
|
6324
6326
|
size: "lg",
|
|
6325
6327
|
type: "submit",
|
|
6326
6328
|
variant: "primary"
|
|
6327
6329
|
}, null, 8, ["label", "loading"]),
|
|
6328
|
-
O(
|
|
6330
|
+
O(ie, {
|
|
6329
6331
|
label: b(D)("menu.common.actions.cancel"),
|
|
6330
6332
|
size: "lg",
|
|
6331
6333
|
variant: "tertiary",
|
|
@@ -6382,7 +6384,7 @@ const Oc = { class: "fm-typo-en-title-md-600" }, Cc = {
|
|
|
6382
6384
|
label: b(D)("menu.common.labels.group_type")
|
|
6383
6385
|
}, {
|
|
6384
6386
|
default: W(() => [
|
|
6385
|
-
O(
|
|
6387
|
+
O(H, {
|
|
6386
6388
|
disabled: h("type"),
|
|
6387
6389
|
"model-value": C.group.type,
|
|
6388
6390
|
"onUpdate:modelValue": $[3] || ($[3] = (ee) => A(ee))
|
|
@@ -6903,7 +6905,7 @@ const Oc = { class: "fm-typo-en-title-md-600" }, Cc = {
|
|
|
6903
6905
|
}).onPrimary((M) => {
|
|
6904
6906
|
var P;
|
|
6905
6907
|
for (const z of M)
|
|
6906
|
-
if (
|
|
6908
|
+
if (Ha(a.state.menu, z, n.form._id)) {
|
|
6907
6909
|
const D = (P = w.value[z]) == null ? void 0 : P.name;
|
|
6908
6910
|
i.open({
|
|
6909
6911
|
type: "error",
|
|
@@ -8343,7 +8345,7 @@ const bd = /* @__PURE__ */ ge({
|
|
|
8343
8345
|
() => n.initialForm,
|
|
8344
8346
|
async () => {
|
|
8345
8347
|
if (n.initialForm)
|
|
8346
|
-
E.value = await
|
|
8348
|
+
E.value = await ja(
|
|
8347
8349
|
a.state.menu,
|
|
8348
8350
|
n.initialForm._id
|
|
8349
8351
|
);
|
|
@@ -8379,7 +8381,7 @@ const bd = /* @__PURE__ */ ge({
|
|
|
8379
8381
|
};
|
|
8380
8382
|
async function R() {
|
|
8381
8383
|
var f, g;
|
|
8382
|
-
c.value = p.value._id && A.value ? (await
|
|
8384
|
+
c.value = p.value._id && A.value ? (await Ka(
|
|
8383
8385
|
a.mergedMenu,
|
|
8384
8386
|
[p.value],
|
|
8385
8387
|
a.state.menu,
|
|
@@ -8406,7 +8408,7 @@ const bd = /* @__PURE__ */ ge({
|
|
|
8406
8408
|
h.value = null, p.value.thumbnail = null;
|
|
8407
8409
|
}
|
|
8408
8410
|
const I = V(() => {
|
|
8409
|
-
var f, g, L, Y, X, ue, F,
|
|
8411
|
+
var f, g, L, Y, X, ue, F, j, he;
|
|
8410
8412
|
return {
|
|
8411
8413
|
title: r("menu.product.form.summary.title"),
|
|
8412
8414
|
items: [
|
|
@@ -8436,7 +8438,7 @@ const bd = /* @__PURE__ */ ge({
|
|
|
8436
8438
|
},
|
|
8437
8439
|
{
|
|
8438
8440
|
name: r("menu.product.form.summary.fields.inventory"),
|
|
8439
|
-
value: (ue = p.value.inventoryBindings) != null && ue.length ? String(p.value.inventoryBindings.length) : (
|
|
8441
|
+
value: (ue = p.value.inventoryBindings) != null && ue.length ? String(p.value.inventoryBindings.length) : (j = (F = c.value) == null ? void 0 : F.inventoryBindings) != null && j.length ? String(c.value.inventoryBindings.length) : "-"
|
|
8440
8442
|
},
|
|
8441
8443
|
{
|
|
8442
8444
|
name: r("menu.product.form.summary.fields.takeaway"),
|
|
@@ -8531,17 +8533,17 @@ const bd = /* @__PURE__ */ ge({
|
|
|
8531
8533
|
}
|
|
8532
8534
|
});
|
|
8533
8535
|
}
|
|
8534
|
-
const
|
|
8536
|
+
const H = oe(!!p.value.print);
|
|
8535
8537
|
function Z(f) {
|
|
8536
8538
|
f || (p.value = { ...p.value, print: void 0 });
|
|
8537
8539
|
}
|
|
8538
|
-
const
|
|
8540
|
+
const ie = oe(
|
|
8539
8541
|
!!((wt = p.value.groups) != null && wt.length) != null || (((xt = p.value.variant) == null ? void 0 : xt.variantCombinations) || []).some((f) => {
|
|
8540
8542
|
var g;
|
|
8541
8543
|
return !!((g = f.groups) != null && g.length);
|
|
8542
8544
|
}) || !1
|
|
8543
8545
|
);
|
|
8544
|
-
function
|
|
8546
|
+
function ne(f) {
|
|
8545
8547
|
var g, L;
|
|
8546
8548
|
f || (p.value = {
|
|
8547
8549
|
...p.value,
|
|
@@ -8729,9 +8731,9 @@ const bd = /* @__PURE__ */ ge({
|
|
|
8729
8731
|
s.value.print && !A.value ? (U(), re("div", xd)) : se("", !0),
|
|
8730
8732
|
s.value.print ? (U(), J(Tt, {
|
|
8731
8733
|
key: 5,
|
|
8732
|
-
toggle:
|
|
8734
|
+
toggle: H.value,
|
|
8733
8735
|
"onUpdate:toggle": [
|
|
8734
|
-
g[7] || (g[7] = (X) =>
|
|
8736
|
+
g[7] || (g[7] = (X) => H.value = X),
|
|
8735
8737
|
g[8] || (g[8] = (X) => Z(X))
|
|
8736
8738
|
],
|
|
8737
8739
|
description: "Use a different print setting",
|
|
@@ -8778,10 +8780,10 @@ const bd = /* @__PURE__ */ ge({
|
|
|
8778
8780
|
s.value.group && !A.value ? (U(), re("div", Vd)) : se("", !0),
|
|
8779
8781
|
s.value.group ? (U(), J(Tt, {
|
|
8780
8782
|
key: 8,
|
|
8781
|
-
toggle:
|
|
8783
|
+
toggle: ie.value,
|
|
8782
8784
|
"onUpdate:toggle": [
|
|
8783
|
-
g[13] || (g[13] = (X) =>
|
|
8784
|
-
g[14] || (g[14] = (X) =>
|
|
8785
|
+
g[13] || (g[13] = (X) => ie.value = X),
|
|
8786
|
+
g[14] || (g[14] = (X) => ne(X))
|
|
8785
8787
|
],
|
|
8786
8788
|
disabled: !A.value,
|
|
8787
8789
|
description: "Use a different group setting",
|