@feedmepos/mf-menu 0.32.66 → 0.32.68
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-CLFnWEv5.js → App-C_wzmb6P.js} +8 -8
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CVlLKIvY.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DJ-Yyl-y.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-CifmNu2u.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-DHTKM2Rk.js} +3 -3
- package/dist/{Catalog-BC3jLsPs.js → Catalog-Brdx3vwv.js} +6 -6
- package/dist/{Category-Bmwlq6nL.js → Category-Clan4Fwx.js} +22 -22
- package/dist/{Category-DMkvEdKc.js → Category-Kr7zDqaR.js} +8 -8
- package/dist/{CookingGuide-qy0LTm-D.js → CookingGuide-D8K1T0Wk.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-JiZiBeEH.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DDAz6tmK.js} +1 -1
- package/dist/{Group-BPwmyZZp.js → Group-DkEH1W-l.js} +1 -1
- package/dist/{Group-D0Xv55no.js → Group-DyOCkcWz.js} +8 -8
- package/dist/{Group.vue_vue_type_script_setup_true_lang-D8nAO7h0.js → Group.vue_vue_type_script_setup_true_lang-CMvaZV7r.js} +20 -20
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CjEnnnQj.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D0dxZUHg.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DMzqbxts.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BCKgLffo.js} +7 -7
- package/dist/{Ingredient-BqaX4rlX.js → Ingredient-ele1Xkxq.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-sKJRkcCq.js → InventoryBinding.vue_vue_type_script_setup_true_lang-Cd5pXFbz.js} +2 -2
- package/dist/{LinkProductSideSheet-C6R0KLzF.js → LinkProductSideSheet-BpRT3ZyK.js} +4 -4
- package/dist/{MenuSetting-BedGpIZE.js → MenuSetting-DlRwd2RR.js} +7 -7
- package/dist/{OrderPacing-C7i8LWNy.js → OrderPacing-bAAj3I9B.js} +5 -5
- package/dist/{PrintRoute-CIuQv57y.js → PrintRoute-DeiR2NvQ.js} +5 -5
- package/dist/{Product-DRcYcCoB.js → Product-VcKOCdv9.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-C1jETJyk.js → Product.vue_vue_type_script_setup_true_lang-Bz5Rr6Oo.js} +14 -14
- package/dist/{ProductInternalTools-BKZ3Z3o8.js → ProductInternalTools-BnMKscNT.js} +7 -7
- package/dist/{Products-BOz9WFoU.js → Products-DFyBBzjn.js} +59 -59
- package/dist/Publish-hJOLwfsE.js +1565 -0
- package/dist/{Recipe-DNFAMy0c.js → Recipe-DFeTDvuk.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-B8P0xkMT.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BX-hs3g7.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DxpvosGG.js → RuleView.vue_vue_type_script_setup_true_lang-D7TpK5fD.js} +636 -636
- package/dist/{Scheduler-DFc4fCB9.js → Scheduler-CacvSBtZ.js} +78 -72
- package/dist/{ServingSequence-DjIUv0-b.js → ServingSequence-Dg0-u71Y.js} +3 -3
- package/dist/{Setting-DnTMpvqy.js → Setting-BBVrC3ML.js} +5 -5
- package/dist/{Subcategory-B3HfpruL.js → Subcategory-RhioZvac.js} +6 -6
- package/dist/{Takeaway-CCJDLPwz.js → Takeaway-C_Yocsm8.js} +4 -4
- package/dist/{Takeaway-DYoO1ATi.js → Takeaway-DyIJ2dAt.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-B8RUqBww.js → Takeaway.vue_vue_type_script_setup_true_lang-iIM7kEEk.js} +5 -5
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-D1gjP1Yk.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-CyhcbrTQ.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-Cixm7NMC.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-DQelKdQf.js} +2 -2
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BN7PkI9l.js +5865 -0
- package/dist/{Unit-DTswZFER.js → Unit-bu2YYoAr.js} +2 -2
- package/dist/{Variant-hqEsHL1u.js → Variant-D4HSAKaA.js} +3 -3
- package/dist/{_id_-CGEwOGPW.js → _id_-TNWD2yHG.js} +10 -10
- package/dist/{app-Bl1kXtqs.js → app-BwvStTgj.js} +1 -1
- package/dist/{app-Da1XriaA.js → app-D8hc9pO3.js} +32 -32
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/components/feature/publish.d.ts +2 -2
- package/dist/apps/mf-menu/src/helper/overrideForm.d.ts +17 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-BvskCt3K.js → linked-status-D3zBIZmV.js} +3 -3
- package/dist/assets/{menu-export-Do1iuDTl.js → menu-export-DKP_2V0H.js} +3 -3
- package/dist/assets/{override-menu-6Z3zlZar.js → override-menu-C_m4eXlt.js} +3 -3
- package/dist/assets/{validate-menu-B5dZxzSc.js → validate-menu-DF53PcFi.js} +2 -2
- package/dist/{catalog-UnHoIEYX.js → catalog-sB0wljWA.js} +1 -1
- package/dist/{catalogSetting-DNkG_w_s.js → catalogSetting-DnRDwn_7.js} +1 -1
- package/dist/{currency-DI_9wOEf.js → currency-CJMH7GL8.js} +1 -1
- package/dist/{dayjs.min-B1nGfqJL.js → dayjs.min-BPMljI-8.js} +2 -2
- package/dist/{discardConfirm-C65bh13g.js → discardConfirm-DVc_4r3v.js} +1 -1
- package/dist/{index-CJoXwoxN.js → index-BuyOfZQk.js} +5 -5
- package/dist/{index-Uv8d5BUd.js → index-C3-Fsu9G.js} +1 -1
- package/dist/{index-rj_-6l1M.js → index-D02xcA-8.js} +6 -6
- package/dist/{index.vue_vue_type_script_setup_true_lang-BRtju05_.js → index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js} +4563 -4563
- package/dist/{item-Cl-8exj2.js → item-4qAhCGxc.js} +2956 -2943
- package/dist/{jszip.min-5yjRwCyp.js → jszip.min-C7GdBMKl.js} +167 -167
- package/dist/{linkProducts-CimT6rLW.js → linkProducts-Xj0pwao2.js} +4 -4
- package/dist/{memberPricing-CZwLOzMR.js → memberPricing-DrnYW8GA.js} +1 -1
- package/dist/{menu-C4c62Xvw.js → menu-AX8l-jmp.js} +1 -1
- package/dist/{menuV2-BxVmtfZ3.js → menuV2-DyTvIOlq.js} +33 -33
- package/dist/mf-menu.css +1 -1
- package/dist/{order_pacing-C0bYumFm.js → order_pacing-0tZW1wH_.js} +5 -5
- package/dist/{priceTier-C08rb71L.js → priceTier-C3S0kEKr.js} +1 -1
- package/dist/{rules-DEd-yB4f.js → rules-BrCS7pk7.js} +3 -3
- package/dist/scheduler-Dgi_Z-de.js +519 -0
- package/dist/{toExcel-Ca_J-aHT.js → toExcel-BmRSTeYh.js} +2 -2
- package/dist/{unit-CDMOEbey.js → unit-fWmA4WXX.js} +3 -3
- package/package.json +3 -3
- package/dist/Publish-COiwVeUS.js +0 -1532
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CNs2BM3V.js +0 -5861
- package/dist/scheduler-B_-N10Gf.js +0 -515
|
@@ -2,15 +2,15 @@ var tt = Object.defineProperty;
|
|
|
2
2
|
var At = (t, e, A) => e in t ? tt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: A }) : t[e] = A;
|
|
3
3
|
var Te = (t, e, A) => At(t, typeof e != "symbol" ? e + "" : e, A);
|
|
4
4
|
import { readonly, ref, defineComponent, watchEffect, computed, watch, createElementBlock, openBlock, normalizeStyle, onBeforeUnmount, createBlock, unref, resolveComponent, normalizeClass, createSlots, withCtx, createElementVNode, createVNode, toDisplayString, createCommentVNode, onUnmounted, onMounted, Fragment } from "vue";
|
|
5
|
-
import { u as useMenuStore, c as coreDartExports, F as F_MENU_VERSION, a as coreExports, m as menuExports } from "./index.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as routers, R as RouteName, u as useMenuNavigatorStatus } from "./app-
|
|
5
|
+
import { u as useMenuStore, c as coreDartExports, F as F_MENU_VERSION, a as coreExports, m as menuExports } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js";
|
|
6
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as routers, R as RouteName, u as useMenuNavigatorStatus } from "./app-D8hc9pO3.js";
|
|
7
7
|
import { installBusinessQueryStatePlugin, useCoreStore, RestaurantSelector, useI18n, FeedMeAuth, useLocale } from "@feedmepos/mf-common";
|
|
8
8
|
import { useBreakpoints } from "@feedmepos/ui-library";
|
|
9
9
|
import { createRouter, createWebHistory, useRouter } from "vue-router";
|
|
10
|
-
import { _ as _sfc_main$7 } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { _ as _sfc_main$7 } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BN7PkI9l.js";
|
|
11
11
|
import { _ as _export_sfc$1 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
-
import { r as registerVersion, g as getApp, _ as _getProvider, a as getExperimentalSetting, b as getDefaultEmulatorHost, c as _isFirebaseServerApp, d as deepEqual, e as getModularInstance, f as getUA, E as ErrorFactory, i as isIE, h as isEmpty, S as SDK_VERSION, q as querystring, F as FirebaseError, j as isMobileCordova, k as isReactNative, l as base64Decode, L as Logger, m as LogLevel, n as isBrowserExtension, o as isCloudflareWorker, p as _registerComponent, C as Component, s as createSubscribe, t as getApps, u as initializeApp, v as getStorage } from "./item-
|
|
13
|
-
import { u as useAppStore } from "./app-
|
|
12
|
+
import { r as registerVersion, g as getApp, _ as _getProvider, a as getExperimentalSetting, b as getDefaultEmulatorHost, c as _isFirebaseServerApp, d as deepEqual, e as getModularInstance, f as getUA, E as ErrorFactory, i as isIE, h as isEmpty, S as SDK_VERSION, q as querystring, F as FirebaseError, j as isMobileCordova, k as isReactNative, l as base64Decode, L as Logger, m as LogLevel, n as isBrowserExtension, o as isCloudflareWorker, p as _registerComponent, C as Component, s as createSubscribe, t as getApps, u as initializeApp, v as getStorage } from "./item-4qAhCGxc.js";
|
|
13
|
+
import { u as useAppStore } from "./app-BwvStTgj.js";
|
|
14
14
|
var flagsmith$1 = { exports: {} }, flagsmith = flagsmith$1.exports, hasRequiredFlagsmith;
|
|
15
15
|
function requireFlagsmith() {
|
|
16
16
|
return hasRequiredFlagsmith || (hasRequiredFlagsmith = 1, function(t, e) {
|
|
@@ -13455,7 +13455,7 @@ registerAuth(
|
|
|
13455
13455
|
"Browser"
|
|
13456
13456
|
/* ClientPlatform.BROWSER */
|
|
13457
13457
|
);
|
|
13458
|
-
var define_appEndpoint_default = { firebase: { apiKey: "
|
|
13458
|
+
var define_appEndpoint_default = { firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "image.feedmedev.cc", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" } };
|
|
13459
13459
|
async function initFirebase() {
|
|
13460
13460
|
if (getApps().length) {
|
|
13461
13461
|
console.warn("mf-menu:firebase already initialized by another app");
|
|
@@ -13488,7 +13488,7 @@ const _hoisted_1 = {
|
|
|
13488
13488
|
async function m(I) {
|
|
13489
13489
|
try {
|
|
13490
13490
|
if (!S.value) {
|
|
13491
|
-
const T = "
|
|
13491
|
+
const T = "MaGoXrEWuEJNpWgKTqseee";
|
|
13492
13492
|
console.log(`Initialize feature flag with key *${T.slice(T.length - 4)}`), await p({ apiKey: T });
|
|
13493
13493
|
}
|
|
13494
13494
|
await f(I);
|
|
@@ -13543,7 +13543,7 @@ const _hoisted_1 = {
|
|
|
13543
13543
|
I && I === F_MENU_VERSION.enum.v4 && router.addRoute({
|
|
13544
13544
|
path: "/serving-sequence",
|
|
13545
13545
|
name: "serving-sequence",
|
|
13546
|
-
component: () => import("./ServingSequence-
|
|
13546
|
+
component: () => import("./ServingSequence-Dg0-u71Y.js")
|
|
13547
13547
|
});
|
|
13548
13548
|
}
|
|
13549
13549
|
), watch(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as K, computed as i, h as u, ref as U, resolveComponent as b, createElementBlock as p, openBlock as d, createVNode as f, withCtx as g, createElementVNode as V, createCommentVNode as C, toDisplayString as j, unref as n, isRef as A, createBlock as D, Fragment as G, renderList as H } from "vue";
|
|
2
2
|
import { useI18n as M } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as B, FmButtonColorThemeVariant as h, FmButtonVariant as I } from "@feedmepos/ui-library";
|
|
4
|
-
import { _ as O } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { L as $ } from "./LinkProductSideSheet-
|
|
4
|
+
import { _ as O } from "./RuleView.vue_vue_type_script_setup_true_lang-D7TpK5fD.js";
|
|
5
|
+
import { L as $ } from "./LinkProductSideSheet-BpRT3ZyK.js";
|
|
6
6
|
import { u as q } from "./search-BAPEUu1R.js";
|
|
7
|
-
import { u as J, ap as Q } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { u as J, ap as Q } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js";
|
|
8
8
|
const W = { class: "space-y-16" }, X = { class: "flex items-center space-x-24" }, Y = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as C, ref as d, resolveComponent as f, createElementBlock as w, openBlock as z, Fragment as F, renderSlot as S, createVNode as l, unref as i, withCtx as r, createElementVNode as v, toDisplayString as B } from "vue";
|
|
2
|
-
import { l as _, u as D } from "./discardConfirm-
|
|
2
|
+
import { l as _, u as D } from "./discardConfirm-DVc_4r3v.js";
|
|
3
3
|
import { useI18n as E } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as x } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as A } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as A } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-DJ-Yyl-y.js";
|
|
6
6
|
import { c as O } from "./check-C9mY6LiX.js";
|
|
7
|
-
import { u as I } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { u as I } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js";
|
|
8
8
|
const N = { class: "fm-typo-en-title-md-600" }, P = { class: "flex gap-8 items-center justify-start" }, J = /* @__PURE__ */ C({
|
|
9
9
|
__name: "ApplyProductDialog",
|
|
10
10
|
props: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as se, computed as x, resolveComponent as _, createBlock as V, openBlock as p, createVNode as o, ref as j, createElementBlock as F, Fragment as G, renderSlot as xe, unref as e, withCtx as g, createElementVNode as v, createCommentVNode as z, renderList as X, createTextVNode as ke, toDisplayString as $, markRaw as Ce, toRaw as he, h as J, withModifiers as Q, normalizeClass as Fe } from "vue";
|
|
2
2
|
import { useRouter as Oe } from "vue-router";
|
|
3
|
-
import { u as pe, F as Ve, i as fe, b as ge, m as re, a as Me, k as N, d as le, g as ve, h as _e, O as ie, _ as Se } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { u as pe, F as Ve, i as fe, b as ge, m as re, a as Me, k as N, d as le, g as ve, h as _e, O as ie, _ as Se } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js";
|
|
4
4
|
import { useI18n as ue, useCoreStore as ye } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as be, components as ne, FmButtonVariant as W, FmButtonColorThemeVariant as Z, useDialog as Te, useBreakpoints as we } from "@feedmepos/ui-library";
|
|
6
|
-
import { _ as Ue, R as ce } from "./app-
|
|
6
|
+
import { _ as Ue, R as ce } from "./app-D8hc9pO3.js";
|
|
7
7
|
import { _ as Ae } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
8
8
|
import { _ as te } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
9
|
-
import { _ as De } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { _ as me, a as Ne } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as De } from "./RuleView.vue_vue_type_script_setup_true_lang-D7TpK5fD.js";
|
|
10
|
+
import { _ as me, a as Ne } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D0dxZUHg.js";
|
|
11
11
|
import { c as $e } from "./check-C9mY6LiX.js";
|
|
12
|
-
import { C as P, a as R } from "./catalogSetting-
|
|
12
|
+
import { C as P, a as R } from "./catalogSetting-DnRDwn_7.js";
|
|
13
13
|
import { _ as Le } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
14
|
-
import { C as Ee } from "./catalog-
|
|
14
|
+
import { C as Ee } from "./catalog-sB0wljWA.js";
|
|
15
15
|
const Ie = /* @__PURE__ */ se({
|
|
16
16
|
__name: "CatalogUsageTable",
|
|
17
17
|
props: {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as L, ref as $, computed as
|
|
1
|
+
import { defineComponent as L, ref as $, computed as k, h as m, withModifiers as M, getCurrentInstance as G, resolveComponent as x, createElementBlock as f, openBlock as c, createElementVNode as s, createVNode as u, unref as o, withCtx as C, Fragment as q, renderList as H, toDisplayString as w, createBlock as y, createCommentVNode as J } from "vue";
|
|
2
2
|
import { useI18n as E } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialog as S, useSnackbar as T, components as Q, FmButtonVariant as B, useBreakpoints as W, FmButtonColorThemeVariant as X } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as Z } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { b as N, i as D, g as ee, h as te, _ as oe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { b as N, i as D, g as ee, h as te, _ as oe } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js";
|
|
6
6
|
import { _ as ae } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
7
|
-
import { _ as ne } from "./app-
|
|
7
|
+
import { _ as ne } from "./app-D8hc9pO3.js";
|
|
8
8
|
import { c as le } from "./createForm-BoUQeZTd.js";
|
|
9
|
-
import { A as se,
|
|
9
|
+
import { A as se, ak as R } from "./item-4qAhCGxc.js";
|
|
10
10
|
import { _ as re } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
11
|
-
import { u as
|
|
11
|
+
import { u as z, a as ce } from "./menu-AX8l-jmp.js";
|
|
12
12
|
const ie = se, me = {
|
|
13
13
|
key: 0
|
|
14
14
|
}, ue = {
|
|
@@ -30,13 +30,13 @@ const ie = se, me = {
|
|
|
30
30
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
31
31
|
}, be = /* @__PURE__ */ L({
|
|
32
32
|
__name: "CategoryTable",
|
|
33
|
-
setup(
|
|
33
|
+
setup(A) {
|
|
34
34
|
const d = S(), p = T(), h = N(p), _ = D(h), v = R({
|
|
35
35
|
dialog: d,
|
|
36
36
|
menuLoader: _
|
|
37
37
|
}), {
|
|
38
38
|
categories: i
|
|
39
|
-
} =
|
|
39
|
+
} = z(), n = $(""), g = k(() => i.value.filter((e) => e.name.toLowerCase().includes(n.value.toLowerCase()))), {
|
|
40
40
|
t: l
|
|
41
41
|
} = E(), V = $([{
|
|
42
42
|
accessorKey: "name",
|
|
@@ -120,20 +120,20 @@ const ie = se, me = {
|
|
|
120
120
|
}, e.name, !0);
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
|
-
async function
|
|
123
|
+
async function I(e) {
|
|
124
124
|
const t = e.map((r) => r.id).filter((r) => !!r);
|
|
125
125
|
await v.rearrange(t);
|
|
126
126
|
}
|
|
127
|
-
const
|
|
127
|
+
const O = G();
|
|
128
128
|
async function F(e) {
|
|
129
|
-
le(
|
|
129
|
+
le(O, ie, {
|
|
130
130
|
initialValue: e
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
|
-
const
|
|
133
|
+
const U = W(), j = k(() => U.breakpoints.value.xs);
|
|
134
134
|
return (e, t) => {
|
|
135
135
|
const r = x("FmSearch"), K = x("FmTable"), P = x("FmButton");
|
|
136
|
-
return
|
|
136
|
+
return j.value ? (c(), f("div", pe, [s("div", _e, [u(r, {
|
|
137
137
|
autofocus: "",
|
|
138
138
|
modelValue: n.value,
|
|
139
139
|
"onUpdate:modelValue": t[2] || (t[2] = (a) => n.value = a),
|
|
@@ -162,7 +162,7 @@ const ie = se, me = {
|
|
|
162
162
|
type: o(l)("menu.category.title")
|
|
163
163
|
})
|
|
164
164
|
}, null, 8, ["modelValue", "placeholder"])])]), u(ne, null, {
|
|
165
|
-
default:
|
|
165
|
+
default: C(() => [u(K, {
|
|
166
166
|
"column-defs": V.value,
|
|
167
167
|
draggable: !0,
|
|
168
168
|
"page-size": o(i).length,
|
|
@@ -171,25 +171,25 @@ const ie = se, me = {
|
|
|
171
171
|
"shrink-at": !1,
|
|
172
172
|
"hide-footer": "",
|
|
173
173
|
"pin-header-row": "",
|
|
174
|
-
onDndChanged:
|
|
174
|
+
onDndChanged: I,
|
|
175
175
|
onRowClick: t[1] || (t[1] = (a) => F(a.original))
|
|
176
176
|
}, null, 8, ["column-defs", "page-size", "row-data", "search-value"])]),
|
|
177
177
|
_: 1
|
|
178
178
|
})]));
|
|
179
179
|
};
|
|
180
180
|
}
|
|
181
|
-
}), xe = { class: "flex-1 flex justify-between gap-8 pl-8" },
|
|
181
|
+
}), xe = { class: "flex-1 flex justify-between gap-8 pl-8" }, ke = { class: "flex items-center" }, Ce = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, we = { class: "fm-typo-en-body-md-600 font-semibold" }, Re = /* @__PURE__ */ L({
|
|
182
182
|
__name: "Category",
|
|
183
|
-
setup(
|
|
184
|
-
const d = S(), p = T(), h = N(p), _ = D(h), v = R({ dialog: d, menuLoader: _ }), { categories: i } =
|
|
183
|
+
setup(A) {
|
|
184
|
+
const d = S(), p = T(), h = N(p), _ = D(h), v = R({ dialog: d, menuLoader: _ }), { categories: i } = z(), { t: n } = E();
|
|
185
185
|
function g() {
|
|
186
186
|
v.create();
|
|
187
187
|
}
|
|
188
|
-
const l =
|
|
188
|
+
const l = k(() => i.value.length);
|
|
189
189
|
return ce().resetOnMount(), (V, b) => (c(), y(ae, {
|
|
190
190
|
heading: o(n)("menu.category.title")
|
|
191
191
|
}, {
|
|
192
|
-
default:
|
|
192
|
+
default: C(() => [
|
|
193
193
|
o(i).length > 0 ? (c(), y(be, { key: 0 })) : (c(), y(o(oe), {
|
|
194
194
|
key: 1,
|
|
195
195
|
action: {
|
|
@@ -200,10 +200,10 @@ const ie = se, me = {
|
|
|
200
200
|
title: o(n)("menu.category.empty.title")
|
|
201
201
|
}, null, 8, ["action", "subtitle", "title"]))
|
|
202
202
|
]),
|
|
203
|
-
"append-heading":
|
|
203
|
+
"append-heading": C(() => [
|
|
204
204
|
s("div", xe, [
|
|
205
|
-
s("div",
|
|
206
|
-
s("div",
|
|
205
|
+
s("div", ke, [
|
|
206
|
+
s("div", Ce, [
|
|
207
207
|
s("p", we, w(l.value), 1)
|
|
208
208
|
])
|
|
209
209
|
]),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as E, computed as k, ref as C, resolveComponent as w, createElementBlock as g, openBlock as u, createElementVNode as i, createVNode as _, unref as a, withCtx as K, Fragment as P, renderList as U, toDisplayString as S, createBlock as V } from "vue";
|
|
2
2
|
import { useI18n as L } from "@feedmepos/mf-common";
|
|
3
|
-
import { useSnackbar as M, useBreakpoints as $, useDialog as
|
|
4
|
-
import { b as F, i as T, u as
|
|
5
|
-
import { _ as G } from "./app-
|
|
6
|
-
import { u as B } from "./menu-
|
|
7
|
-
import {
|
|
3
|
+
import { useSnackbar as M, useBreakpoints as $, useDialog as I } from "@feedmepos/ui-library";
|
|
4
|
+
import { b as F, i as T, u as Y, s as j, g as q, h as A, _ as R } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js";
|
|
5
|
+
import { _ as G } from "./app-D8hc9pO3.js";
|
|
6
|
+
import { u as B } from "./menu-AX8l-jmp.js";
|
|
7
|
+
import { ak as H } from "./item-4qAhCGxc.js";
|
|
8
8
|
const J = {
|
|
9
9
|
key: 0
|
|
10
10
|
}, Q = {
|
|
@@ -27,7 +27,7 @@ const J = {
|
|
|
27
27
|
}, ne = /* @__PURE__ */ E({
|
|
28
28
|
__name: "CategoryTable",
|
|
29
29
|
setup(D) {
|
|
30
|
-
const f = M(), y = F(f), h = T(y), d =
|
|
30
|
+
const f = M(), y = F(f), h = T(y), d = Y(), {
|
|
31
31
|
categories: v
|
|
32
32
|
} = B(), b = k(() => {
|
|
33
33
|
var r, t;
|
|
@@ -39,7 +39,7 @@ const J = {
|
|
|
39
39
|
position: e.id ? ((p = l[e.id]) == null ? void 0 : p.position) ?? c + 1 : null
|
|
40
40
|
};
|
|
41
41
|
});
|
|
42
|
-
return
|
|
42
|
+
return j(o, (e) => e.name);
|
|
43
43
|
}), n = C(""), m = k(() => b.value.filter((l) => l.name.toLowerCase().includes(n.value.toLowerCase()))), {
|
|
44
44
|
t: s
|
|
45
45
|
} = L(), x = C([{
|
|
@@ -129,7 +129,7 @@ const J = {
|
|
|
129
129
|
}), me = /* @__PURE__ */ E({
|
|
130
130
|
__name: "Category",
|
|
131
131
|
setup(D) {
|
|
132
|
-
const f =
|
|
132
|
+
const f = I(), y = M(), h = F(y), d = T(h), v = H({ dialog: f, menuLoader: d }), { categories: b } = B(), { t: n } = L();
|
|
133
133
|
function m() {
|
|
134
134
|
v.create();
|
|
135
135
|
}
|
|
@@ -2,12 +2,12 @@ import { defineComponent as ae, ref as F, computed as V, resolveComponent as x,
|
|
|
2
2
|
import { useI18n as le } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as ue, useBreakpoints as ye, useSnackbar as ke, useDialog as he } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as xe } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as Ce } from "./app-
|
|
6
|
-
import { d as ee, g as de, h as re, G as me, u as we, i as Ve, b as Fe, _ as Se } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { u as pe, l as ge } from "./discardConfirm-
|
|
5
|
+
import { _ as Ce } from "./app-D8hc9pO3.js";
|
|
6
|
+
import { d as ee, g as de, h as re, G as me, u as we, i as Ve, b as Fe, _ as Se } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js";
|
|
7
|
+
import { u as pe, l as ge } from "./discardConfirm-DVc_4r3v.js";
|
|
8
8
|
import { d as $e } from "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
|
|
9
|
-
import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { L as Ie } from "./LinkProductSideSheet-
|
|
9
|
+
import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-D7TpK5fD.js";
|
|
10
|
+
import { L as Ie } from "./LinkProductSideSheet-BpRT3ZyK.js";
|
|
11
11
|
import { _ as Oe } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
12
12
|
const Ke = { class: "flex items-center gap-8" }, Le = { class: "grow" }, Ne = { class: "space-y-32" }, Be = { class: "flex bg-fm-color-neutral-gray-100 border-b border-b-fm-color-neutral-gray-200" }, De = { class: "px-16 py-8 w-[40%]" }, Ge = { class: "px-16 py-8 grow" }, Te = { class: "px-16 py-8 w-[40%]" }, ze = { class: "px-16 py-8 grow" }, Ee = { class: "space-y-16" }, Ue = { class: "flex flex-wrap gap-8 overflow-hidden mb-8" }, Me = { class: "flex gap-8 items-center justify-start" }, Re = /* @__PURE__ */ ae({
|
|
13
13
|
__name: "CookingGuideStepDialog",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as S, computed as o, createBlock as v, openBlock as t, unref as c, withCtx as g, renderSlot as B, ref as A, resolveComponent as I, createElementBlock as a, createElementVNode as m, createCommentVNode as b, Fragment as f, renderList as C, toDisplayString as d, withModifiers as F } from "vue";
|
|
2
2
|
import { useI18n as V } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as M } from "./MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js";
|
|
4
|
-
import { u as D } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as D } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js";
|
|
5
5
|
import { useBreakpoints as E } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as y } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
7
7
|
const X = /* @__PURE__ */ S({
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as m, ref as p, createBlock as i, openBlock as
|
|
1
|
+
import { defineComponent as m, ref as p, createBlock as i, openBlock as l, unref as n, withCtx as a, createElementVNode as e, toDisplayString as c, createCommentVNode as u, createVNode as d } from "vue";
|
|
2
2
|
import { useI18n as _ } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as f } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
4
4
|
import { _ as g } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
5
|
-
import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import {
|
|
7
|
-
import { a as h } from "./menu-
|
|
5
|
+
import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-CMvaZV7r.js";
|
|
6
|
+
import { al as b } from "./item-4qAhCGxc.js";
|
|
7
|
+
import { a as h } from "./menu-AX8l-jmp.js";
|
|
8
8
|
const v = { class: "flex-1 flex justify-between gap-8 pl-8" }, x = { class: "flex items-center" }, k = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, C = { class: "fm-typo-en-body-md-600 font-semibold" }, A = /* @__PURE__ */ m({
|
|
9
9
|
__name: "Group",
|
|
10
10
|
setup(N) {
|
|
11
11
|
const o = p(0), { t: r } = _();
|
|
12
|
-
return h().resetOnMount(), (V, s) => (
|
|
12
|
+
return h().resetOnMount(), (V, s) => (l(), i(g, {
|
|
13
13
|
heading: n(r)("menu.group.title")
|
|
14
14
|
}, {
|
|
15
15
|
default: a(() => [
|
|
16
|
-
|
|
16
|
+
d(y, {
|
|
17
17
|
"onUpdate:count": s[0] || (s[0] = (t) => o.value = t)
|
|
18
18
|
})
|
|
19
19
|
]),
|
|
@@ -25,9 +25,9 @@ const v = { class: "flex-1 flex justify-between gap-8 pl-8" }, x = { class: "fle
|
|
|
25
25
|
])
|
|
26
26
|
]),
|
|
27
27
|
e("div", null, [
|
|
28
|
-
o.value > 0 ? (
|
|
28
|
+
o.value > 0 ? (l(), i(n(b), { key: 0 }, {
|
|
29
29
|
default: a(({ trigger: t }) => [
|
|
30
|
-
|
|
30
|
+
d(f, {
|
|
31
31
|
label: n(r)("menu.group.actions.add"),
|
|
32
32
|
"prepend-icon": "add",
|
|
33
33
|
type: "button",
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as oe, computed as f, resolveComponent as F, createBlock as $, openBlock as m, withCtx as x, createElementBlock as y, Fragment as E, renderList as ne, createElementVNode as d, normalizeClass as
|
|
2
|
-
import { l as ee } from "./discardConfirm-
|
|
1
|
+
import { defineComponent as oe, computed as f, resolveComponent as F, createBlock as $, openBlock as m, withCtx as x, createElementBlock as y, Fragment as E, renderList as ne, createElementVNode as d, normalizeClass as Q, toDisplayString as A, createVNode as i, createCommentVNode as O, unref as u, ref as P, watch as De, h as Y, mergeProps as Re, createSlots as Te, withModifiers as Pe, isRef as q, nextTick as de } from "vue";
|
|
2
|
+
import { l as ee } from "./discardConfirm-DVc_4r3v.js";
|
|
3
3
|
import { d as Ee } from "./RuleConditionSelector.vue_vue_type_style_index_0_lang-CK8z7qA8.js";
|
|
4
|
-
import { u as ye, i as Le, b as Ue, F as te, j as w, m as je, _ as ze, a as Be, h as fe, g as Ke } from "./index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as ye, i as Le, b as Ue, F as te, j as w, m as je, _ as ze, a as Be, h as fe, g as Ke } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js";
|
|
5
5
|
import { b as ve, H as Ye } from "./app-5fxKLAzS.js";
|
|
6
|
-
import { useI18n as _e, useCoreStore as He, useCustomAttributes as
|
|
7
|
-
import { useBreakpoints as be, useSnackbar as
|
|
8
|
-
import { _ as Ze, a as et } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as tt } from "./app-
|
|
6
|
+
import { useI18n as _e, useCoreStore as He, useCustomAttributes as qe } from "@feedmepos/mf-common";
|
|
7
|
+
import { useBreakpoints as be, useSnackbar as Qe, useDialog as We, components as Je, FmButtonVariant as Xe } from "@feedmepos/ui-library";
|
|
8
|
+
import { _ as Ze, a as et } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-DDAz6tmK.js";
|
|
9
|
+
import { _ as tt } from "./app-D8hc9pO3.js";
|
|
10
10
|
import { _ as nt, a as ot } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
11
11
|
import { c as lt } from "./object-DVUNCr7w.js";
|
|
12
|
-
import { _ as rt } from "./ApplyProductDialog.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { N as ge,
|
|
12
|
+
import { _ as rt } from "./ApplyProductDialog.vue_vue_type_script_setup_true_lang-DHTKM2Rk.js";
|
|
13
|
+
import { N as ge, ap as at, aq as ut, al as st, O as it, a5 as ct, a1 as mt, Q as pt } from "./item-4qAhCGxc.js";
|
|
14
14
|
import { _ as dt } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-DiK3fi9J.js";
|
|
15
15
|
import { u as ft } from "./search-BAPEUu1R.js";
|
|
16
|
-
import { C as vt } from "./catalog-
|
|
16
|
+
import { C as vt } from "./catalog-sB0wljWA.js";
|
|
17
17
|
const gt = /* @__PURE__ */ oe({
|
|
18
18
|
__name: "ResponsiveContextMenu",
|
|
19
19
|
props: {
|
|
@@ -62,7 +62,7 @@ const gt = /* @__PURE__ */ oe({
|
|
|
62
62
|
}, {
|
|
63
63
|
label: x(() => [
|
|
64
64
|
d("span", {
|
|
65
|
-
class:
|
|
65
|
+
class: Q(h ? "text-fm-color-typo-disabled" : U)
|
|
66
66
|
}, A(G), 3)
|
|
67
67
|
]),
|
|
68
68
|
_: 2
|
|
@@ -103,7 +103,7 @@ const gt = /* @__PURE__ */ oe({
|
|
|
103
103
|
class: "xs:pt-24"
|
|
104
104
|
}, wt = {
|
|
105
105
|
key: 0,
|
|
106
|
-
class: /* @__PURE__ */
|
|
106
|
+
class: /* @__PURE__ */ Q(["flex-1 overflow-hidden", "space-y-8", "flex flex-col", "overflow-hidden", "pt-16"])
|
|
107
107
|
}, Ct = {
|
|
108
108
|
class: "flex justify-between items-center space-x-8"
|
|
109
109
|
}, xt = {
|
|
@@ -134,14 +134,14 @@ const gt = /* @__PURE__ */ oe({
|
|
|
134
134
|
setup(W, {
|
|
135
135
|
emit: L
|
|
136
136
|
}) {
|
|
137
|
-
const a = ye(), I = He(), N =
|
|
137
|
+
const a = ye(), I = He(), N = Qe(), b = Le(Ue(N)), k = We(), v = f(() => a.rules.group), V = f(() => new ge(a, b.updateMenu, k)), G = f(() => V.value.mapGroups(a.groups, !1)), {
|
|
138
138
|
searchKey: h,
|
|
139
139
|
filter: U
|
|
140
140
|
} = ft(), S = P(!1), _ = P(null), {
|
|
141
141
|
attributes: le,
|
|
142
142
|
filterRule: D,
|
|
143
143
|
mongoQuery: re
|
|
144
|
-
} =
|
|
144
|
+
} = qe({
|
|
145
145
|
valueSource: G,
|
|
146
146
|
entity: "group"
|
|
147
147
|
}), j = f(() => {
|
|
@@ -503,7 +503,7 @@ const gt = /* @__PURE__ */ oe({
|
|
|
503
503
|
}, [d("div", At, [i(p, {
|
|
504
504
|
autofocus: "",
|
|
505
505
|
modelValue: u(h),
|
|
506
|
-
"onUpdate:modelValue": e[9] || (e[9] = (n) =>
|
|
506
|
+
"onUpdate:modelValue": e[9] || (e[9] = (n) => q(h) ? h.value = n : null),
|
|
507
507
|
placeholder: u(l)("menu.group.search.placeholder")
|
|
508
508
|
}, null, 8, ["modelValue", "placeholder"])]), e[17] || (e[17] = d("div", {
|
|
509
509
|
class: "bg-fm-color-neutral-gray-100 w-full h-px rounded-md"
|
|
@@ -538,9 +538,9 @@ const gt = /* @__PURE__ */ oe({
|
|
|
538
538
|
ref: H,
|
|
539
539
|
attributes: u(le),
|
|
540
540
|
modelValue: u(D),
|
|
541
|
-
"onUpdate:modelValue": e[15] || (e[15] = (n) =>
|
|
541
|
+
"onUpdate:modelValue": e[15] || (e[15] = (n) => q(D) ? D.value = n : null)
|
|
542
542
|
}, null, 8, ["attributes", "modelValue"])])) : O("", !0), i(u(Ee), {
|
|
543
|
-
class:
|
|
543
|
+
class: Q(["flex-1", "overflow-scroll", "divide-y divide-fm-color-neutral-gray-100", "pb-64"]),
|
|
544
544
|
"model-value": j.value,
|
|
545
545
|
group: "categories",
|
|
546
546
|
handle: ".handle",
|
|
@@ -551,7 +551,7 @@ const gt = /* @__PURE__ */ oe({
|
|
|
551
551
|
element: n
|
|
552
552
|
}) => [(m(), y("div", {
|
|
553
553
|
key: n._id,
|
|
554
|
-
class:
|
|
554
|
+
class: Q(["py-12 px-16", "flex space-x-16", "items-center"])
|
|
555
555
|
}, [d("div", Ft, [d("div", Vt, [d("p", It, A(n.name), 1), d("div", null, [J.value ? (m(), y("p", Nt, A(u(ee.capitalize)(n.type)) + " type ", 1)) : O("", !0), d("p", Ot, A(u(l)("menu.group.list.products_linked", {
|
|
556
556
|
count: n.itemsLinked.length
|
|
557
557
|
})), 1)])]), i(ie, {
|
|
@@ -589,14 +589,14 @@ const gt = /* @__PURE__ */ oe({
|
|
|
589
589
|
})) : O("", !0), d("div", xt, [i(p, {
|
|
590
590
|
autofocus: "",
|
|
591
591
|
modelValue: u(h),
|
|
592
|
-
"onUpdate:modelValue": e[6] || (e[6] = (n) =>
|
|
592
|
+
"onUpdate:modelValue": e[6] || (e[6] = (n) => q(h) ? h.value = n : null),
|
|
593
593
|
placeholder: u(l)("menu.group.search.placeholder")
|
|
594
594
|
}, null, 8, ["modelValue", "placeholder"])])]), K.value ? (m(), y("div", Mt, [i(u(ve), {
|
|
595
595
|
ref_key: "attributeFilterRef",
|
|
596
596
|
ref: H,
|
|
597
597
|
attributes: u(le),
|
|
598
598
|
modelValue: u(D),
|
|
599
|
-
"onUpdate:modelValue": e[7] || (e[7] = (n) =>
|
|
599
|
+
"onUpdate:modelValue": e[7] || (e[7] = (n) => q(D) ? D.value = n : null)
|
|
600
600
|
}, null, 8, ["attributes", "modelValue"])])) : O("", !0), i(tt, null, {
|
|
601
601
|
default: x(() => [i(M, {
|
|
602
602
|
"column-defs": Ae.value,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as N, useModel as J, computed as B, resolveComponent as d, createBlock as I, openBlock as b, ref as L, watch as K, withCtx as f, createElementBlock as F, createElementVNode as U, Fragment as q, renderList as W, createVNode as u, unref as e, createCommentVNode as $, withModifiers as Q, onMounted as te, renderSlot as le, toDisplayString as h, createTextVNode as ae } from "vue";
|
|
2
2
|
import { useI18n as z, useCustomAttributes as ue, useCoreStore as re, isEmptyRule as oe, EMPTY_RULE as w } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as x } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
4
|
-
import { u as D } from "./priceTier-
|
|
4
|
+
import { u as D } from "./priceTier-C3S0kEKr.js";
|
|
5
5
|
import { b as O } from "./app-5fxKLAzS.js";
|
|
6
6
|
import { FmButtonVariant as Z, useDialog as ne, components as ie, FmButtonColorThemeVariant as j } from "@feedmepos/ui-library";
|
|
7
|
-
import { m as G, f as X, e as se, _ as me } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { L as R } from "./catalogSetting-
|
|
9
|
-
import { L as de } from "./LinkProductSideSheet-
|
|
7
|
+
import { m as G, f as X, e as se, _ as me } from "./RuleView.vue_vue_type_script_setup_true_lang-D7TpK5fD.js";
|
|
8
|
+
import { L as R } from "./catalogSetting-DnRDwn_7.js";
|
|
9
|
+
import { L as de } from "./LinkProductSideSheet-BpRT3ZyK.js";
|
|
10
10
|
import { c as Y } from "./check-C9mY6LiX.js";
|
|
11
|
-
import { u as pe, d as H, X as ce } from "./index.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { u as pe, d as H, X as ce } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js";
|
|
12
12
|
import { c as ve } from "./string-DpfFixWH.js";
|
|
13
13
|
const _e = /* @__PURE__ */ N({
|
|
14
14
|
__name: "LinkPriceTier",
|
|
@@ -2,19 +2,19 @@ var Sx = Object.defineProperty;
|
|
|
2
2
|
var Cx = (i, l, s) => l in i ? Sx(i, l, { enumerable: !0, configurable: !0, writable: !0, value: s }) : i[l] = s;
|
|
3
3
|
var os = (i, l, s) => Cx(i, typeof l != "symbol" ? l + "" : l, s);
|
|
4
4
|
import { defineComponent as ba, ref as ti, resolveComponent as Un, createElementBlock as ir, openBlock as Qt, createBlock as jl, normalizeClass as ji, createVNode as Wr, createElementVNode as lr, unref as Ui, toDisplayString as Nn, watch as Tx, withModifiers as bh, Fragment as Pi, renderList as $a, computed as Cr, renderSlot as Bf, normalizeProps as xS, guardReactiveProps as AS, withCtx as Ti, resolveDynamicComponent as Ww, createCommentVNode as Ai, createTextVNode as Jl, getCurrentInstance as Ex } from "vue";
|
|
5
|
-
import { f as OS, c as ul } from "./app-
|
|
6
|
-
import { y as cl, R as Nm, b as X1, u as j1, m as oi, a as Ho, k as wx, F as FT, S as Ix } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { f as OS, c as ul } from "./app-D8hc9pO3.js";
|
|
6
|
+
import { y as cl, R as Nm, b as X1, u as j1, m as oi, a as Ho, k as wx, F as FT, S as Ix } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js";
|
|
7
7
|
import { useI18n as RS, useCoreStore as bx } from "@feedmepos/mf-common";
|
|
8
8
|
import { FmButtonVariant as Wc, useSnackbar as Q1, useBreakpoints as kx, useDialog as xx } from "@feedmepos/ui-library";
|
|
9
9
|
import { c as Ax } from "./createForm-BoUQeZTd.js";
|
|
10
10
|
import { c as k1 } from "./object-DVUNCr7w.js";
|
|
11
|
-
import { F as PS, s as Ox, f as Rx, a as Px } from "./index-
|
|
11
|
+
import { F as PS, s as Ox, f as Rx, a as Px } from "./index-C3-Fsu9G.js";
|
|
12
12
|
import { _ as uS } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
13
13
|
import { _ as Mx } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
14
|
-
import { _ as Z1 } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { f as Gw } from "./currency-
|
|
14
|
+
import { _ as Z1 } from "./RuleView.vue_vue_type_script_setup_true_lang-D7TpK5fD.js";
|
|
15
|
+
import { f as Gw } from "./currency-CJMH7GL8.js";
|
|
16
16
|
import { g as Df } from "./translation-fNx6yEpy.js";
|
|
17
|
-
import { D as Bx } from "./dayjs.min-
|
|
17
|
+
import { D as Bx } from "./dayjs.min-BPMljI-8.js";
|
|
18
18
|
var D2 = {};
|
|
19
19
|
/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
20
20
|
var x1 = {};
|
|
@@ -25848,7 +25848,7 @@ function t8() {
|
|
|
25848
25848
|
var eS = {}, ME;
|
|
25849
25849
|
function SC() {
|
|
25850
25850
|
return ME || (ME = 1, function(i) {
|
|
25851
|
-
var l = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/
|
|
25851
|
+
var l = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_4b21a88e-0265-4524-b1a3-2504452f6d1f", 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_4b21a88e-0265-4524-b1a3-2504452f6d1f", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", GTM_ID: "GTM-P7Z9FMS6", FIREBASE_MESSAGING_SENDER_ID: "458797803788", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "development", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.7.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", VITE_FEATURE_FLAG_API_KEY: "MaGoXrEWuEJNpWgKTqseee", SYSTEMD_EXEC_PID: "1878", ACTIONS_ORCHESTRATION_ID: "f3ed4e4d-e9d0-4109-9896-7403afd0386e.publish.deploy.__default", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260816.277.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_4b21a88e-0265-4524-b1a3-2504452f6d1f", 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:12939", GITHUB_WORKFLOW: "Publish mf-menu dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", REMY_URL: "https://remy-dev.feedmeapi.com/v1", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.13/x64", GITHUB_RUN_ID: "32926481302", VITE_REMY_BACKEND_URL: "https://remy-agent-api.feedmeapidev.com", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "a30cad11a0c7da2102966e6e20466a8ed4262ffc", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.6/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "development", FIREBASE_STORAGE_BUCKET: "image.feedmedev.cc", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_4968aefa-3ae7-43cc-8743-b0856e18e9fd", INVOCATION_ID: "984f42a31897401cb8640285db865606", 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: "594", GITHUB_TRIGGERING_ACTOR: "BeerPoldet", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-759WBZPF06", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", VITE_LICENSE_API_URL: "https://license-v2-dev.feedmeapi.com", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000122214", 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.68", 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: "a30cad11a0c7da2102966e6e20466a8ed4262ffc", 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: "BeerPoldet", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_4b21a88e-0265-4524-b1a3-2504452f6d1f", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "7531231", 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_4b21a88e-0265-4524-b1a3-2504452f6d1f", 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_4b21a88e-0265-4524-b1a3-2504452f6d1f", 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_4b21a88e-0265-4524-b1a3-2504452f6d1f", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } }, s = typeof ul < "u" ? ul : window, c = Object.create(s);
|
|
25852
25852
|
c.scheduleImmediate = typeof setImmediate < "u" ? function(m) {
|
|
25853
25853
|
setImmediate(m);
|
|
25854
25854
|
} : function(m) {
|
|
@@ -2,13 +2,13 @@ import { defineComponent as ie, computed as b, ref as E, reactive as Ve, watch a
|
|
|
2
2
|
import { useI18n as Q } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as W, components as se, useDialog as Ee, FmButtonVariant as ue, useBreakpoints as Ue } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as Ne } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { i as re, b as X, u as Z, d as Te, m as K, _ as ce, e as le, g as G, h as H } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { i as re, b as X, u as Z, d as Te, m as K, _ as ce, e as le, g as G, h as H } from "./index.vue_vue_type_script_setup_true_lang-kdkFlB2a.js";
|
|
6
6
|
import { _ as Be } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
7
7
|
import { defineStore as Ie } from "pinia";
|
|
8
|
-
import { _ as ae, g as Oe } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { u as Pe, l as Re } from "./discardConfirm-
|
|
8
|
+
import { _ as ae, g as Oe } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-Cd5pXFbz.js";
|
|
9
|
+
import { u as Pe, l as Re } from "./discardConfirm-DVc_4r3v.js";
|
|
10
10
|
import { c as Le } from "./check-C9mY6LiX.js";
|
|
11
|
-
import { u as Ae } from "./unit-
|
|
11
|
+
import { u as Ae } from "./unit-fWmA4WXX.js";
|
|
12
12
|
import { c as De } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
|
|
14
14
|
key: 0,
|