@feedmepos/mf-menu 0.32.39-dev.1 → 0.32.40-dev
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-DRncp_Ei.js → App-_MLzeklD.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CkxXD8WW.js → ApplyProduct.vue_vue_type_script_setup_true_lang-UstB0HCf.js} +3 -3
- package/dist/{Catalog-DUiSF-WF.js → Catalog-CmM9e7VE.js} +6 -6
- package/dist/{Category-DE197NW1.js → Category-C72bnp32.js} +5 -5
- package/dist/{Category-DVPD4xrP.js → Category-ab7o-IpT.js} +4 -4
- package/dist/{CookingGuide-CHoGojcW.js → CookingGuide-CcW7ludO.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-dLiFrsWf.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CfBX_YEE.js} +1 -1
- package/dist/{Group-BXV1pM34.js → Group-BSoAjpHp.js} +3 -3
- package/dist/{Group-DMegQbpX.js → Group-DD1lzsQY.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-C_fcE1nx.js → Group.vue_vue_type_script_setup_true_lang-BUeaIf4N.js} +116 -116
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-wPIx9YCb.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CFeyZvxS.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-CPMD7DRL.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-C8nNRSHM.js} +1958 -1942
- package/dist/{Ingredient-Dfibdd-o.js → Ingredient-824DB4pP.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BN4dh1LS.js → InventoryBinding.vue_vue_type_script_setup_true_lang-NpqmWdGE.js} +2 -2
- package/dist/{LinkProductSideSheet-D6Mqf5Hl.js → LinkProductSideSheet-DdyUWMWm.js} +3 -3
- package/dist/{MenuSetting-BESOJBlx.js → MenuSetting-DUX-xalJ.js} +5 -5
- package/dist/{PrintRoute-TPhGObk9.js → PrintRoute-CdTJK7Pp.js} +4 -4
- package/dist/{Product-Dp6HbElI.js → Product-Cbto_NJg.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-PDIUXdAC.js → Product.vue_vue_type_script_setup_true_lang-CP2VvoZ6.js} +13 -13
- package/dist/{ProductInternalTools-LWUFfPxo.js → ProductInternalTools-C_314g2l.js} +5 -5
- package/dist/{Products-Do5CagOW.js → Products-BEKsOtCj.js} +19 -19
- package/dist/{Publish-BD-AclFq.js → Publish-CN9S-t8t.js} +3 -3
- package/dist/{Recipe-Hzo2Izmw.js → Recipe-BCSIDC6j.js} +4 -4
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DhSvT1fH.js → RuleView.vue_vue_type_script_setup_true_lang-DlW4Zx5S.js} +2 -2
- package/dist/{Scheduler-pTJ_CkJq.js → Scheduler-ZG2xvJvE.js} +3 -3
- package/dist/{ServingSequence-CvwLzA7G.js → ServingSequence-D8moUhOq.js} +3 -3
- package/dist/{Setting-BiUPxIvh.js → Setting-BKq7u_IL.js} +5 -5
- package/dist/Subcategory-BgTadpyj.js +349 -0
- package/dist/{Takeaway-CWNo49PD.js → Takeaway-C9bpWn4s.js} +4 -4
- package/dist/{Takeaway-C9dqWzrT.js → Takeaway-DyJrzpN-.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CpUGSiIF.js → Takeaway.vue_vue_type_script_setup_true_lang-aFnWB49Z.js} +6 -6
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-D8oVVt5f.js → Thumbnail.vue_vue_type_script_setup_true_lang-MKl8NdrG.js} +4 -4
- package/dist/TranslationSideSheet.vue_vue_type_script_setup_true_lang-wnFIuSpr.js +194 -0
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Bye20Huu.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-B556mEdE.js} +1907 -1899
- package/dist/{Unit-DKV2cfnv.js → Unit-CG_GyiVH.js} +2 -2
- package/dist/{Variant-CBr8tub8.js → Variant-D_ZlWQ43.js} +4 -4
- package/dist/{_id_-Ce6NN5vT.js → _id_-CSInNRCp.js} +9 -9
- package/dist/{app-CImDLyt0.js → app-b4ZmiMK2.js} +26 -26
- package/dist/{app-B7B_bbMc.js → app-vIXTx6c7.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/components/ProductTranslationDialog.vue.d.ts +4 -0
- package/dist/apps/mf-menu/src/components/TranslationFieldSection.vue.d.ts +7 -3
- package/dist/apps/mf-menu/src/components/TranslationSideSheet.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/index.d.ts +6 -0
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierButton.vue.d.ts +6 -0
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierForm.vue.d.ts +6 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/item.d.ts +6 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/scheduler.d.ts +3 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/useItemFormManagement.d.ts +3 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/item/ItemForm.vue.d.ts +9 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/menuUtils.d.ts +3 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +7 -0
- package/dist/apps/mf-menu/src/components/import/PreviewAddonContent.vue.d.ts +6 -0
- package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +3 -0
- package/dist/apps/mf-menu/src/helper/import-export-utils.d.ts +17 -0
- package/dist/apps/mf-menu/src/helper/itemCategories.d.ts +3 -0
- package/dist/apps/mf-menu/src/helper/menu.d.ts +3 -0
- package/dist/apps/mf-menu/src/helper/menuExport.d.ts +2 -2
- package/dist/apps/mf-menu/src/helper/menuImport.d.ts +7 -0
- package/dist/apps/mf-menu/src/helper/menuSanitizer.d.ts +7 -0
- package/dist/apps/mf-menu/src/manager/menu/item.d.ts +7 -0
- package/dist/apps/mf-menu/src/stores/manager/item.d.ts +9 -0
- package/dist/apps/mf-menu/src/stores/manager/scheduler.d.ts +3 -0
- package/dist/apps/mf-menu/src/stores/menu.d.ts +7 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/Form.vue.d.ts +6 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-J1LJXkYU.js +13 -0
- package/dist/assets/{menu-export-C2ctrNOt.js → menu-export-C4zy8Etx.js} +45 -45
- package/dist/assets/override-menu-CwpHJJ36.js +13 -0
- package/dist/assets/validate-menu-WYp7xh5-.js +13 -0
- package/dist/{catalog-RXap_5ft.js → catalog-Ce7o_N7a.js} +1 -1
- package/dist/{catalogSetting-D10sgkdu.js → catalogSetting-CeTOf9lJ.js} +1 -1
- package/dist/{currency-CPC6-Naj.js → currency-hq_koFDw.js} +1 -1
- package/dist/{dayjs.min-BgxdFykA.js → dayjs.min-UytF3izD.js} +1 -1
- package/dist/index-BydcrqXX.js +545 -0
- package/dist/{index-D35XBgVx.js → index-DYh6XlbG.js} +1 -1
- package/dist/{index-BWlfJ1Hv.js → index-WFUD7oh5.js} +58 -54
- package/dist/{index.vue_vue_type_script_setup_true_lang-CbdGF_YP.js → index.vue_vue_type_script_setup_true_lang-DOhr-m71.js} +14226 -14185
- package/dist/{item-Chx3oZ7b.js → item-BBqfgtk1.js} +2968 -2926
- package/dist/{jszip.min-DH0CoV5k.js → jszip.min-C4UMTEuA.js} +2 -2
- package/dist/{menu-DZhJl6lE.js → menu-CGK50Gwb.js} +1 -1
- package/dist/{menuV2-B1fegOdA.js → menuV2-DiyUO2p3.js} +50 -50
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-C-ocPg-3.js → priceTier-eEeeQpw0.js} +1 -1
- package/dist/rules-BDtO9_2x.js +216 -0
- package/dist/{scheduler-J-XrlyVY.js → scheduler-C-UR0pvC.js} +4 -4
- package/dist/{toExcel-C9btsoRs.js → toExcel-Dr3CybYc.js} +2 -2
- package/dist/translation-Cdap0IVg.js +79 -0
- package/dist/{unit-Gtkb_1WB.js → unit-DMQom_GI.js} +2 -2
- package/package.json +3 -3
- package/dist/Subcategory-BpWPnu4s.js +0 -345
- package/dist/TranslationSideSheet.vue_vue_type_script_setup_true_lang-BSfPHkEr.js +0 -185
- package/dist/assets/linked-status-uqBsZwlR.js +0 -13
- package/dist/assets/override-menu-C-S-pdcA.js +0 -13
- package/dist/assets/validate-menu-D4bw2s4G.js +0 -13
- package/dist/index-B6yzhB_O.js +0 -539
- package/dist/rules-BBgzPaJ8.js +0 -212
- package/dist/translation-BeqjfyEb.js +0 -75
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { defineComponent as Z, computed as
|
|
2
|
-
import { J as q, u as le, Q as
|
|
3
|
-
import { d as
|
|
4
|
-
import { b as ve, H as
|
|
5
|
-
import { useI18n as ae, useCoreStore as
|
|
6
|
-
import { useBreakpoints as ye, components as _e, useSnackbar as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { c as
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { c as
|
|
14
|
-
import { M as ge, D as
|
|
15
|
-
import { u as
|
|
16
|
-
import { C as
|
|
17
|
-
import { c as
|
|
18
|
-
import { g as
|
|
19
|
-
const
|
|
1
|
+
import { defineComponent as Z, computed as v, resolveComponent as M, createBlock as U, openBlock as m, withCtx as D, createElementBlock as C, Fragment as T, renderList as ne, createElementVNode as p, normalizeClass as X, toDisplayString as G, createVNode as i, ref as R, renderSlot as Ee, unref as r, createCommentVNode as I, watch as Re, h as H, mergeProps as Se, createSlots as Ie, withModifiers as Ue, isRef as W, nextTick as fe } from "vue";
|
|
2
|
+
import { J as q, u as le, Q as Te, G as $e, A as g, D as Ye, a4 as Le, B as ze, M as je } from "./index.vue_vue_type_script_setup_true_lang-DOhr-m71.js";
|
|
3
|
+
import { d as Be } from "./vuedraggable-CK8z7qA8.js";
|
|
4
|
+
import { b as ve, H as Ke } from "./app-5fxKLAzS.js";
|
|
5
|
+
import { useI18n as ae, useCoreStore as He, useCustomAttributes as qe } from "@feedmepos/mf-common";
|
|
6
|
+
import { useBreakpoints as ye, components as _e, useSnackbar as Qe, useDialog as Je, FmButtonVariant as We } from "@feedmepos/ui-library";
|
|
7
|
+
import { _ as Xe, a as Ze } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-CfBX_YEE.js";
|
|
8
|
+
import { _ as et } from "./app-b4ZmiMK2.js";
|
|
9
|
+
import { _ as tt, a as ot } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
10
|
+
import { c as nt } from "./object-DVUNCr7w.js";
|
|
11
|
+
import { u as lt } from "./discardConfirm-BHni0LNu.js";
|
|
12
|
+
import { _ as at } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-UstB0HCf.js";
|
|
13
|
+
import { c as rt } from "./check-C9mY6LiX.js";
|
|
14
|
+
import { M as ge, D as ut, E as st, B as it, j as ct, l as mt, r as pt } from "./item-BBqfgtk1.js";
|
|
15
|
+
import { u as dt } from "./search-BAPEUu1R.js";
|
|
16
|
+
import { C as ft } from "./catalog-Ce7o_N7a.js";
|
|
17
|
+
import { c as vt } from "./menuV2-DiyUO2p3.js";
|
|
18
|
+
import { g as gt } from "./translation-Cdap0IVg.js";
|
|
19
|
+
const yt = /* @__PURE__ */ Z({
|
|
20
20
|
__name: "ResponsiveContextMenu",
|
|
21
21
|
props: {
|
|
22
22
|
items: {}
|
|
23
23
|
},
|
|
24
24
|
setup(L) {
|
|
25
|
-
const S = ye(), u =
|
|
25
|
+
const S = ye(), u = v(() => S.breakpoints.value.xs);
|
|
26
26
|
return (E, V) => {
|
|
27
27
|
const k = M("FmButton"), f = M("FmMenuItem"), y = M("FmMenu");
|
|
28
|
-
return u.value ? (m(), U(
|
|
28
|
+
return u.value ? (m(), U(tt, { key: 0 }, {
|
|
29
29
|
default: D(() => [
|
|
30
|
-
(m(!0), C(T, null, ne(E.items, ({ icon: h, label: A, disabled: x, itemClass: F, onClick: _ }) => (m(), U(
|
|
30
|
+
(m(!0), C(T, null, ne(E.items, ({ icon: h, label: A, disabled: x, itemClass: F, onClick: _ }) => (m(), U(ot, {
|
|
31
31
|
key: A,
|
|
32
32
|
icon: h,
|
|
33
33
|
label: A,
|
|
@@ -74,7 +74,7 @@ const gt = /* @__PURE__ */ Z({
|
|
|
74
74
|
}));
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
|
-
}),
|
|
77
|
+
}), _t = { class: "fm-typo-en-title-md-600" }, bt = { class: "flex gap-8 items-center justify-start" }, kt = /* @__PURE__ */ Z({
|
|
78
78
|
__name: "ApplyProductDialog",
|
|
79
79
|
props: {
|
|
80
80
|
title: {},
|
|
@@ -84,18 +84,18 @@ const gt = /* @__PURE__ */ Z({
|
|
|
84
84
|
},
|
|
85
85
|
emits: ["apply:product"],
|
|
86
86
|
setup(L, { emit: S }) {
|
|
87
|
-
const u = L, E = S, { t: V } = ae(), k = u.initialValue.map((F) => ({ _id: F })), f = R(q.clone(k)), y =
|
|
87
|
+
const u = L, E = S, { t: V } = ae(), k = u.initialValue.map((F) => ({ _id: F })), f = R(q.clone(k)), y = lt(
|
|
88
88
|
() => !q.isEqual(f.value, k),
|
|
89
89
|
() => {
|
|
90
90
|
h.value = !1;
|
|
91
91
|
}
|
|
92
92
|
), h = R(!1), A = (F) => {
|
|
93
|
-
|
|
93
|
+
rt.isBoolean(F) ? h.value = F : h.value = !h.value, h.value && (f.value = u.initialValue.map((_) => ({ _id: _ })));
|
|
94
94
|
}, x = le();
|
|
95
95
|
return (F, _) => {
|
|
96
96
|
const b = M("fm-button"), Q = M("fm-side-sheet");
|
|
97
97
|
return m(), C(T, null, [
|
|
98
|
-
|
|
98
|
+
Ee(F.$slots, "default", { trigger: A }),
|
|
99
99
|
i(Q, {
|
|
100
100
|
id: "group-form",
|
|
101
101
|
modelValue: h.value,
|
|
@@ -111,10 +111,10 @@ const gt = /* @__PURE__ */ Z({
|
|
|
111
111
|
"onOn:clickedAway": r(y)
|
|
112
112
|
}, {
|
|
113
113
|
"side-sheet-header": D(() => [
|
|
114
|
-
p("p",
|
|
114
|
+
p("p", _t, G(F.title), 1)
|
|
115
115
|
]),
|
|
116
116
|
"side-sheet-footer": D(() => [
|
|
117
|
-
p("div",
|
|
117
|
+
p("div", bt, [
|
|
118
118
|
i(b, {
|
|
119
119
|
label: r(V)("common.save"),
|
|
120
120
|
size: "lg",
|
|
@@ -130,7 +130,7 @@ const gt = /* @__PURE__ */ Z({
|
|
|
130
130
|
])
|
|
131
131
|
]),
|
|
132
132
|
default: D(() => [
|
|
133
|
-
i(
|
|
133
|
+
i(at, {
|
|
134
134
|
overrides: f.value,
|
|
135
135
|
"onUpdate:overrides": _[0] || (_[0] = (N) => f.value = N),
|
|
136
136
|
"categorized-items": r(x).categorizedItems,
|
|
@@ -146,24 +146,24 @@ const gt = /* @__PURE__ */ Z({
|
|
|
146
146
|
], 64);
|
|
147
147
|
};
|
|
148
148
|
}
|
|
149
|
-
}),
|
|
149
|
+
}), ht = {
|
|
150
150
|
key: 0,
|
|
151
151
|
class: "mt-4"
|
|
152
|
-
},
|
|
152
|
+
}, wt = { class: "text-fm-color-typo-secondary mb-2" }, Ct = { class: "list-disc list-inside text-fm-color-typo-secondary ml-4 space-y-1" }, xt = /* @__PURE__ */ Z({
|
|
153
153
|
__name: "DeleteGroupDialog",
|
|
154
154
|
props: {
|
|
155
155
|
group: {}
|
|
156
156
|
},
|
|
157
157
|
setup(L) {
|
|
158
|
-
const S = L, { t: u } = ae(), E = le(), V =
|
|
158
|
+
const S = L, { t: u } = ae(), E = le(), V = v(() => S.group.itemsLinked.map((k) => {
|
|
159
159
|
const f = E.state.menu.modules.item.find((y) => y._id === k);
|
|
160
160
|
return (f == null ? void 0 : f.name) || k;
|
|
161
161
|
}).filter(Boolean));
|
|
162
162
|
return (k, f) => (m(), C("div", null, [
|
|
163
163
|
p("div", null, G(r(u)("menu.group.dialogs.delete.message", { name: k.group.name })), 1),
|
|
164
|
-
V.value.length > 0 ? (m(), C("div",
|
|
165
|
-
p("div",
|
|
166
|
-
p("ul",
|
|
164
|
+
V.value.length > 0 ? (m(), C("div", ht, [
|
|
165
|
+
p("div", wt, G(r(u)("menu.group.dialogs.delete.unlink_warning", { count: V.value.length })), 1),
|
|
166
|
+
p("ul", Ct, [
|
|
167
167
|
(m(!0), C(T, null, ne(V.value, (y) => (m(), C("li", {
|
|
168
168
|
key: y,
|
|
169
169
|
class: "text-sm"
|
|
@@ -172,111 +172,111 @@ const gt = /* @__PURE__ */ Z({
|
|
|
172
172
|
])) : I("", !0)
|
|
173
173
|
]));
|
|
174
174
|
}
|
|
175
|
-
}),
|
|
175
|
+
}), Ot = {
|
|
176
176
|
key: 1,
|
|
177
177
|
class: "xs:pt-24"
|
|
178
|
-
},
|
|
178
|
+
}, Dt = {
|
|
179
179
|
key: 0,
|
|
180
180
|
class: /* @__PURE__ */ X(["flex-1 overflow-hidden", "space-y-8", "flex flex-col", "overflow-hidden", "pt-16"])
|
|
181
|
-
}, Dt = {
|
|
182
|
-
class: "flex justify-between items-center space-x-8"
|
|
183
181
|
}, At = {
|
|
184
|
-
class: "
|
|
182
|
+
class: "flex justify-between items-center space-x-8"
|
|
185
183
|
}, Ft = {
|
|
186
|
-
|
|
184
|
+
class: "w-[320px]"
|
|
187
185
|
}, Mt = {
|
|
188
|
-
|
|
186
|
+
key: 0
|
|
189
187
|
}, Gt = {
|
|
190
|
-
class: "py-8
|
|
188
|
+
class: "px-16 py-8"
|
|
191
189
|
}, Pt = {
|
|
190
|
+
class: "py-8 px-16"
|
|
191
|
+
}, Vt = {
|
|
192
192
|
key: 0,
|
|
193
193
|
class: "px-16 py-8"
|
|
194
|
-
}, Vt = {
|
|
195
|
-
class: "flex items-center flex-1"
|
|
196
194
|
}, Nt = {
|
|
197
|
-
class: "flex-
|
|
195
|
+
class: "flex items-center flex-1"
|
|
198
196
|
}, Et = {
|
|
199
|
-
class: "
|
|
197
|
+
class: "flex-1 space-y-4"
|
|
200
198
|
}, Rt = {
|
|
199
|
+
class: "fm-typo-en-body-lg-600"
|
|
200
|
+
}, St = {
|
|
201
201
|
key: 0,
|
|
202
202
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
203
|
-
},
|
|
203
|
+
}, It = {
|
|
204
204
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
205
|
-
},
|
|
205
|
+
}, oo = /* @__PURE__ */ Z({
|
|
206
206
|
__name: "Group",
|
|
207
207
|
emits: ["update:count"],
|
|
208
208
|
setup(L, {
|
|
209
209
|
emit: S
|
|
210
210
|
}) {
|
|
211
|
-
const u = le(), E =
|
|
211
|
+
const u = le(), E = He(), V = Qe(), k = Te($e(V)), f = Je(), y = v(() => u.rules.group), h = v(() => new ge(u, k.updateMenu, f)), A = v(() => h.value.mapGroups(u.groups, !1)), {
|
|
212
212
|
searchKey: x,
|
|
213
213
|
filter: F
|
|
214
|
-
} =
|
|
214
|
+
} = dt(), _ = R(!1), b = R(null), {
|
|
215
215
|
attributes: Q,
|
|
216
216
|
filterRule: N,
|
|
217
217
|
mongoQuery: re
|
|
218
|
-
} =
|
|
218
|
+
} = qe({
|
|
219
219
|
valueSource: A,
|
|
220
220
|
entity: "group"
|
|
221
|
-
}), z =
|
|
222
|
-
const t = (a) => F([a.name, ...Object.values(a.items).flatMap((n) => `${n.code} ${n.name ?? n.fallbackName} ${
|
|
221
|
+
}), z = v(() => {
|
|
222
|
+
const t = (a) => F([a.name, ...Object.values(a.items).flatMap((n) => `${n.code} ${n.name ?? n.fallbackName} ${ze.Dinero.fromFdoDinero(n.price).toFormat()}`), a.type]), e = (a) => !a.customAttributes && !re.value ? !0 : Ke(a.customAttributes ?? {}, re.value);
|
|
223
223
|
return A.value.filter((a) => t(a) && e(a)).filter((a) => !b.value || a.type === b.value);
|
|
224
224
|
}), be = S;
|
|
225
|
-
|
|
225
|
+
Re(() => z.value.length, () => {
|
|
226
226
|
be("update:count", z.value.length);
|
|
227
227
|
}, {
|
|
228
228
|
immediate: !0
|
|
229
229
|
});
|
|
230
|
-
const c =
|
|
230
|
+
const c = v(() => !!u.state.currentCatalogId || !!u.state.currentSchedulerId);
|
|
231
231
|
function ue(t) {
|
|
232
232
|
var Y, o;
|
|
233
|
-
const e = !u.state.currentCatalogId, a = !u.state.currentSchedulerId, n = ((Y = u.currentCatalog) == null ? void 0 : Y.priceTierRules) ?? ((o = u.currentCatalog) == null ? void 0 : o.usePriceTiers), s = u.rules.item.bindToVariant, w = u.rules.group.type, d = u.version ===
|
|
233
|
+
const e = !u.state.currentCatalogId, a = !u.state.currentSchedulerId, n = ((Y = u.currentCatalog) == null ? void 0 : Y.priceTierRules) ?? ((o = u.currentCatalog) == null ? void 0 : o.usePriceTiers), s = u.rules.item.bindToVariant, w = u.rules.group.type, d = u.version === g.F_MENU_VERSION.enum.v3, P = u.rules.item.orderFromActiveOnly;
|
|
234
234
|
return {
|
|
235
235
|
link: (O) => !c.value && (!O || s),
|
|
236
236
|
name: (O) => !c.value && !O,
|
|
237
237
|
isDefault: (O) => !c.value,
|
|
238
238
|
type: w && !t._id && !c.value,
|
|
239
|
-
price: !d || t.type !==
|
|
239
|
+
price: !d || t.type !== g.F_ADDON_GROUP_TYPE.enum.DYNAMIC,
|
|
240
240
|
priceEdit: !(n && n.length > 0 && !d && a),
|
|
241
241
|
priceTier: !d && a && e,
|
|
242
|
-
inventory: a ? d ? !c.value && t.type ===
|
|
243
|
-
orderFrom: (O) => a ? d ? t.type ===
|
|
242
|
+
inventory: a ? d ? !c.value && t.type === g.F_ADDON_GROUP_TYPE.enum.NORMAL : !c.value : !1,
|
|
243
|
+
orderFrom: (O) => a ? d ? t.type === g.F_ADDON_GROUP_TYPE.enum.DYNAMIC ? c.value : !!c.value == !O : c.value : !1,
|
|
244
244
|
orderFromActiveOnly: P,
|
|
245
|
-
showOrderFrom: a ? d ? c.value ? !0 : t.type ===
|
|
245
|
+
showOrderFrom: a ? d ? c.value ? !0 : t.type === g.F_ADDON_GROUP_TYPE.enum.PRODUCT : !0 : !1,
|
|
246
246
|
bindToVariant: s,
|
|
247
247
|
isOverride: c.value,
|
|
248
248
|
isItemGroup: !1,
|
|
249
249
|
isV4: !d
|
|
250
250
|
};
|
|
251
251
|
}
|
|
252
|
-
const ke =
|
|
253
|
-
const t = !u.state.currentSchedulerId, e = u.rules.group.type, a = u.version ===
|
|
252
|
+
const ke = v(() => {
|
|
253
|
+
const t = !u.state.currentSchedulerId, e = u.rules.group.type, a = u.version === g.F_MENU_VERSION.enum.v3, n = u.rules.item.orderFromActiveOnly, s = u.rules.item.bindToVariant;
|
|
254
254
|
return function(d) {
|
|
255
255
|
return {
|
|
256
256
|
link: (P) => !c.value && (!P || s),
|
|
257
257
|
name: (P) => !c.value && !P,
|
|
258
258
|
isDefault: (P) => !c.value,
|
|
259
259
|
type: e && !d._id && !c.value,
|
|
260
|
-
price: d.type !==
|
|
260
|
+
price: d.type !== g.F_ADDON_GROUP_TYPE.enum.DYNAMIC,
|
|
261
261
|
priceEdit: !0,
|
|
262
262
|
priceTier: u.isV4,
|
|
263
|
-
inventory: t ? a ? !c.value && d.type ===
|
|
264
|
-
orderFrom: (P) => t ? a ? d.type ===
|
|
263
|
+
inventory: t ? a ? !c.value && d.type === g.F_ADDON_GROUP_TYPE.enum.NORMAL : !c.value : !1,
|
|
264
|
+
orderFrom: (P) => t ? a ? d.type === g.F_ADDON_GROUP_TYPE.enum.DYNAMIC ? c.value : !!c.value == !P : c.value : !1,
|
|
265
265
|
orderFromActiveOnly: n,
|
|
266
|
-
showOrderFrom: t ? a ? c.value ? !0 : d.type ===
|
|
266
|
+
showOrderFrom: t ? a ? c.value ? !0 : d.type === g.F_ADDON_GROUP_TYPE.enum.PRODUCT : c.value : !1,
|
|
267
267
|
bindToVariant: s,
|
|
268
268
|
isOverride: c.value,
|
|
269
269
|
isItemGroup: !1,
|
|
270
270
|
isV4: !a
|
|
271
271
|
};
|
|
272
272
|
};
|
|
273
|
-
}), he =
|
|
274
|
-
|
|
275
|
-
type: u.version ===
|
|
273
|
+
}), he = v(() => ({
|
|
274
|
+
...Ye.generator.initMenuV4Group(),
|
|
275
|
+
type: u.version === g.F_MENU_VERSION.enum.v4 ? g.F_ADDON_GROUP_TYPE.enum.PRODUCT : g.F_ADDON_GROUP_TYPE.enum.NORMAL,
|
|
276
276
|
items: {},
|
|
277
277
|
position: u.groups.length - 1,
|
|
278
278
|
itemsLinked: []
|
|
279
|
-
})), ee =
|
|
279
|
+
})), ee = v(() => ke.value(he.value).type);
|
|
280
280
|
function se(t) {
|
|
281
281
|
h.value.sortGroups(t);
|
|
282
282
|
}
|
|
@@ -296,7 +296,7 @@ const gt = /* @__PURE__ */ Z({
|
|
|
296
296
|
}
|
|
297
297
|
}).onPrimary(() => h.value.duplicateGroup(t));
|
|
298
298
|
}
|
|
299
|
-
const te =
|
|
299
|
+
const te = v(() => u.currentCatalog), j = v(() => u.currentScheduler), B = v(() => new ft(te.value, u, k.updateMenu, f)), oe = v(() => new ut(j.value, u, k.updateMenu, f)), Ce = (t) => {
|
|
300
300
|
let e = t;
|
|
301
301
|
function a(n) {
|
|
302
302
|
const w = u.state.menu.modules.group.find((o) => o._id === n._id), d = (n.items ?? []).reduce((o, O) => (o[O._id] = [...o[O._id] || [], O.combinationKey || ""], o), {}), Y = (w.items ?? []).filter((o) => {
|
|
@@ -328,14 +328,14 @@ const gt = /* @__PURE__ */ Z({
|
|
|
328
328
|
function xe(t) {
|
|
329
329
|
f.open({
|
|
330
330
|
title: l("menu.group.dialogs.delete.title"),
|
|
331
|
-
contentComponent:
|
|
331
|
+
contentComponent: xt,
|
|
332
332
|
contentComponentProps: {
|
|
333
333
|
group: t
|
|
334
334
|
},
|
|
335
335
|
primaryActions: {
|
|
336
336
|
text: l("menu.common.actions.delete"),
|
|
337
337
|
close: !0,
|
|
338
|
-
variant:
|
|
338
|
+
variant: We.Destructive
|
|
339
339
|
},
|
|
340
340
|
secondaryActions: {
|
|
341
341
|
text: l("menu.common.actions.cancel"),
|
|
@@ -346,15 +346,15 @@ const gt = /* @__PURE__ */ Z({
|
|
|
346
346
|
});
|
|
347
347
|
}
|
|
348
348
|
function ie(t, e) {
|
|
349
|
-
return H(
|
|
349
|
+
return H(kt, {
|
|
350
350
|
key: t._id,
|
|
351
351
|
initialValue: t.itemsLinked,
|
|
352
|
-
group:
|
|
352
|
+
group: ct(t),
|
|
353
353
|
editable: y.value.applyProduct,
|
|
354
354
|
"onApply:product": async (a) => {
|
|
355
355
|
var n;
|
|
356
356
|
for (const s of a)
|
|
357
|
-
if (
|
|
357
|
+
if (vt(u.state.menu, t._id, s._id)) {
|
|
358
358
|
const w = (n = u.state.menu.modules.item.find((d) => d._id === s._id)) == null ? void 0 : n.name;
|
|
359
359
|
V.open({
|
|
360
360
|
type: "error",
|
|
@@ -393,17 +393,17 @@ const gt = /* @__PURE__ */ Z({
|
|
|
393
393
|
disabled: !y.value.delete,
|
|
394
394
|
onClick: () => xe(e)
|
|
395
395
|
}];
|
|
396
|
-
return i(
|
|
396
|
+
return i(yt, {
|
|
397
397
|
class: t.className,
|
|
398
398
|
items: s
|
|
399
399
|
}, null);
|
|
400
400
|
});
|
|
401
|
-
}, Oe =
|
|
401
|
+
}, Oe = v(() => [{
|
|
402
402
|
accessorKey: "name",
|
|
403
403
|
header: () => l("menu.group.list.columns.name"),
|
|
404
404
|
enableSorting: !1,
|
|
405
405
|
cell: (t) => {
|
|
406
|
-
const e = t.row.original, a = t.getValue(), s = Object.keys(e.name_locale ?? {}).map((w) =>
|
|
406
|
+
const e = t.row.original, a = t.getValue(), s = Object.keys(e.name_locale ?? {}).map((w) => gt(w));
|
|
407
407
|
return H("div", {
|
|
408
408
|
class: "flex items-center gap-8"
|
|
409
409
|
}, [H("span", {
|
|
@@ -435,9 +435,9 @@ const gt = /* @__PURE__ */ Z({
|
|
|
435
435
|
cell: (t) => {
|
|
436
436
|
const e = t.row.original;
|
|
437
437
|
return {
|
|
438
|
-
[
|
|
439
|
-
[
|
|
440
|
-
[
|
|
438
|
+
[g.F_ADDON_GROUP_TYPE.enum.NORMAL]: l("menu.group.list.types.normal"),
|
|
439
|
+
[g.F_ADDON_GROUP_TYPE.enum.PRODUCT]: l("menu.group.list.types.product"),
|
|
440
|
+
[g.F_ADDON_GROUP_TYPE.enum.DYNAMIC]: l("menu.group.list.types.dynamic")
|
|
441
441
|
}[e.type] || "-";
|
|
442
442
|
},
|
|
443
443
|
meta: {
|
|
@@ -451,7 +451,7 @@ const gt = /* @__PURE__ */ Z({
|
|
|
451
451
|
size: 140,
|
|
452
452
|
cell: (t) => {
|
|
453
453
|
const e = t.row.original;
|
|
454
|
-
return H(
|
|
454
|
+
return H(Xe, {
|
|
455
455
|
// FIXME:FdoCustomAttribute under "@feedmepos/custom-attributes" is not compatible
|
|
456
456
|
// with FdoCustomAttribute from "@feedmepos/core", ! mark should be removed when fixed
|
|
457
457
|
customAttributes: e.customAttributes
|
|
@@ -487,7 +487,7 @@ const gt = /* @__PURE__ */ Z({
|
|
|
487
487
|
className: "flex justify-end w-full"
|
|
488
488
|
});
|
|
489
489
|
}
|
|
490
|
-
}]), De =
|
|
490
|
+
}]), De = v(() => {
|
|
491
491
|
var t;
|
|
492
492
|
return {
|
|
493
493
|
itemsLinked: y.value.showAppliedProduct,
|
|
@@ -495,43 +495,43 @@ const gt = /* @__PURE__ */ Z({
|
|
|
495
495
|
tagging: ((t = E.groupAttributeSettings) == null ? void 0 : t.value.length) > 0
|
|
496
496
|
};
|
|
497
497
|
}), Ae = async (t) => {
|
|
498
|
-
const e =
|
|
498
|
+
const e = mt(t), a = e.group, n = pt(a, ue(t));
|
|
499
499
|
if (c.value)
|
|
500
500
|
te.value ? (j.value ? B.value.overrideCatalogSchedulerGroups([n], j.value._id) : B.value.overrideCatalogGroups([n]), await B.value.update()) : (oe.value.overrideSchedulerGroups([n]), await oe.value.update());
|
|
501
501
|
else {
|
|
502
502
|
const s = {
|
|
503
|
-
module:
|
|
504
|
-
operation:
|
|
503
|
+
module: g.F_MENU_MODULE_V4_KEY.enum.group,
|
|
504
|
+
operation: je.F_OPERATION_TYPE.update,
|
|
505
505
|
data: n,
|
|
506
506
|
link: [{
|
|
507
|
-
module:
|
|
507
|
+
module: g.F_MENU_MODULE_V4_KEY.enum.item,
|
|
508
508
|
id: "",
|
|
509
509
|
data: e.linkItems
|
|
510
510
|
}]
|
|
511
511
|
};
|
|
512
512
|
await k.updateMenu(s, n.name);
|
|
513
513
|
}
|
|
514
|
-
}, $ = R(null), me = R(null), pe = async (t) => {
|
|
514
|
+
}, $ = R(null), Fe = v(() => Ce($.value)), me = R(null), pe = async (t) => {
|
|
515
515
|
var e;
|
|
516
|
-
$.value =
|
|
516
|
+
$.value = nt(t), await fe(), (e = me.value) == null || e.trigger(!0);
|
|
517
517
|
};
|
|
518
|
-
function
|
|
518
|
+
function Me(t) {
|
|
519
519
|
pe(t.original);
|
|
520
520
|
}
|
|
521
|
-
const
|
|
521
|
+
const Ge = ye(), Pe = v(() => Ge.breakpoints.value.xs), {
|
|
522
522
|
t: l
|
|
523
|
-
} = ae(),
|
|
523
|
+
} = ae(), Ve = v(() => {
|
|
524
524
|
var t;
|
|
525
525
|
return ((t = E.groupAttributeSettings) == null ? void 0 : t.value.length) > 0;
|
|
526
526
|
}), K = R(!1), J = R(null);
|
|
527
|
-
async function
|
|
527
|
+
async function Ne() {
|
|
528
528
|
K.value = !K.value, K.value && (await fe(), J.value && J.value.toggleProperty(!0));
|
|
529
529
|
}
|
|
530
|
-
const de = () => y.value.multiScheduler ? i(
|
|
531
|
-
append: () =>
|
|
530
|
+
const de = () => y.value.multiScheduler ? i(Ze, null, {
|
|
531
|
+
append: () => Ve.value ? i("div", {
|
|
532
532
|
class: "pl-8 flex items-center justify-center border-l border-fm-color-neutral-gray-200",
|
|
533
533
|
onClick: (t) => {
|
|
534
|
-
t.stopPropagation(),
|
|
534
|
+
t.stopPropagation(), Ne();
|
|
535
535
|
}
|
|
536
536
|
}, [i(_e.FmIcon, {
|
|
537
537
|
name: "filter_alt",
|
|
@@ -542,46 +542,46 @@ const gt = /* @__PURE__ */ Z({
|
|
|
542
542
|
}) : null;
|
|
543
543
|
return (t, e) => {
|
|
544
544
|
const a = M("fm-button"), n = M("fm-chip"), s = M("fm-menu-item"), w = M("fm-menu"), d = M("fm-search"), P = M("fm-table"), Y = M("fm-bottom-sheet");
|
|
545
|
-
return m(), C(T, null, [$.value ? (m(), U(
|
|
545
|
+
return m(), C(T, null, [$.value ? (m(), U(st, Se({
|
|
546
546
|
ref_key: "groupManagerFormRef",
|
|
547
547
|
ref: me,
|
|
548
548
|
key: $.value._id
|
|
549
|
-
},
|
|
549
|
+
}, Fe.value, {
|
|
550
550
|
action: "update",
|
|
551
551
|
title: r(l)("menu.group.dialogs.update.title"),
|
|
552
552
|
group: $.value,
|
|
553
553
|
"onUpdate:group": e[0] || (e[0] = (o) => $.value = o),
|
|
554
554
|
"onSubmit:group": e[1] || (e[1] = (o) => Ae(o))
|
|
555
|
-
}), null, 16, ["title", "group"])) : I("", !0), A.value.length === 0 ? (m(), C("div",
|
|
555
|
+
}), null, 16, ["title", "group"])) : I("", !0), A.value.length === 0 ? (m(), C("div", Ot, [i(Le, {
|
|
556
556
|
subtitle: r(l)("menu.group.empty.subtitle"),
|
|
557
557
|
title: r(l)("menu.group.empty.title")
|
|
558
|
-
},
|
|
558
|
+
}, Ie({
|
|
559
559
|
_: 2
|
|
560
560
|
}, [y.value.create ? {
|
|
561
561
|
name: "action",
|
|
562
|
-
fn: D(() => [i(r(
|
|
562
|
+
fn: D(() => [i(r(it), null, {
|
|
563
563
|
default: D(({
|
|
564
564
|
trigger: o
|
|
565
565
|
}) => [i(a, {
|
|
566
566
|
"prepend-icon": "add",
|
|
567
567
|
label: r(l)("menu.group.actions.add"),
|
|
568
|
-
onClick:
|
|
568
|
+
onClick: Ue(o, ["stop"])
|
|
569
569
|
}, null, 8, ["label", "onClick"])]),
|
|
570
570
|
_: 1
|
|
571
571
|
})]),
|
|
572
572
|
key: "0"
|
|
573
573
|
} : void 0]), 1032, ["subtitle", "title"])])) : (m(), C(T, {
|
|
574
574
|
key: 2
|
|
575
|
-
}, [
|
|
575
|
+
}, [Pe.value ? (m(), C(T, {
|
|
576
576
|
key: 1
|
|
577
|
-
}, [p("div",
|
|
577
|
+
}, [p("div", Gt, [i(d, {
|
|
578
578
|
autofocus: "",
|
|
579
579
|
modelValue: r(x),
|
|
580
580
|
"onUpdate:modelValue": e[9] || (e[9] = (o) => W(x) ? x.value = o : null),
|
|
581
581
|
placeholder: r(l)("menu.group.search.placeholder")
|
|
582
582
|
}, null, 8, ["modelValue", "placeholder"])]), e[17] || (e[17] = p("div", {
|
|
583
583
|
class: "bg-fm-color-neutral-gray-100 w-full h-px rounded-md"
|
|
584
|
-
}, null, -1)), p("div",
|
|
584
|
+
}, null, -1)), p("div", Pt, [i(de), ee.value ? (m(), U(Y, {
|
|
585
585
|
key: 0,
|
|
586
586
|
modelValue: _.value,
|
|
587
587
|
"onUpdate:modelValue": e[14] || (e[14] = (o) => _.value = o)
|
|
@@ -607,13 +607,13 @@ const gt = /* @__PURE__ */ Z({
|
|
|
607
607
|
onClick: e[13] || (e[13] = (o) => b.value = "DYNAMIC")
|
|
608
608
|
}, G(r(l)("menu.group.type.dynamic")), 1)])]),
|
|
609
609
|
_: 1
|
|
610
|
-
}, 8, ["modelValue"])) : I("", !0)]), K.value ? (m(), C("div",
|
|
610
|
+
}, 8, ["modelValue"])) : I("", !0)]), K.value ? (m(), C("div", Vt, [i(r(ve), {
|
|
611
611
|
ref_key: "attributeFilterRef",
|
|
612
612
|
ref: J,
|
|
613
613
|
attributes: r(Q),
|
|
614
614
|
modelValue: r(N),
|
|
615
615
|
"onUpdate:modelValue": e[15] || (e[15] = (o) => W(N) ? N.value = o : null)
|
|
616
|
-
}, null, 8, ["attributes", "modelValue"])])) : I("", !0), i(r(
|
|
616
|
+
}, null, 8, ["attributes", "modelValue"])])) : I("", !0), i(r(Be), {
|
|
617
617
|
class: X(["flex-1", "overflow-scroll", "divide-y divide-fm-color-neutral-gray-100", "pb-64"]),
|
|
618
618
|
"model-value": z.value,
|
|
619
619
|
group: "categories",
|
|
@@ -626,13 +626,13 @@ const gt = /* @__PURE__ */ Z({
|
|
|
626
626
|
}) => [(m(), C("div", {
|
|
627
627
|
key: o._id,
|
|
628
628
|
class: X(["py-12 px-16", "flex space-x-16", "items-center"])
|
|
629
|
-
}, [p("div",
|
|
629
|
+
}, [p("div", Nt, [p("div", Et, [p("p", Rt, G(o.name), 1), p("div", null, [ee.value ? (m(), C("p", St, G(r(q.capitalize)(o.type)) + " type ", 1)) : I("", !0), p("p", It, G(r(l)("menu.group.list.products_linked", {
|
|
630
630
|
count: o.itemsLinked.length
|
|
631
631
|
})), 1)])]), i(ce, {
|
|
632
632
|
group: o
|
|
633
633
|
}, null, 8, ["group"])])]))]),
|
|
634
634
|
_: 1
|
|
635
|
-
}, 8, ["model-value"])], 64)) : (m(), C("div",
|
|
635
|
+
}, 8, ["model-value"])], 64)) : (m(), C("div", Dt, [p("div", At, [i(de), ee.value ? (m(), U(w, {
|
|
636
636
|
key: 0
|
|
637
637
|
}, {
|
|
638
638
|
"menu-button": D(() => [i(n, {
|
|
@@ -660,18 +660,18 @@ const gt = /* @__PURE__ */ Z({
|
|
|
660
660
|
onClick: e[5] || (e[5] = (o) => b.value = "DYNAMIC")
|
|
661
661
|
}, null, 8, ["label"])])]),
|
|
662
662
|
_: 1
|
|
663
|
-
})) : I("", !0), p("div",
|
|
663
|
+
})) : I("", !0), p("div", Ft, [i(d, {
|
|
664
664
|
autofocus: "",
|
|
665
665
|
modelValue: r(x),
|
|
666
666
|
"onUpdate:modelValue": e[6] || (e[6] = (o) => W(x) ? x.value = o : null),
|
|
667
667
|
placeholder: r(l)("menu.group.search.placeholder")
|
|
668
|
-
}, null, 8, ["modelValue", "placeholder"])])]), K.value ? (m(), C("div",
|
|
668
|
+
}, null, 8, ["modelValue", "placeholder"])])]), K.value ? (m(), C("div", Mt, [i(r(ve), {
|
|
669
669
|
ref_key: "attributeFilterRef",
|
|
670
670
|
ref: J,
|
|
671
671
|
attributes: r(Q),
|
|
672
672
|
modelValue: r(N),
|
|
673
673
|
"onUpdate:modelValue": e[7] || (e[7] = (o) => W(N) ? N.value = o : null)
|
|
674
|
-
}, null, 8, ["attributes", "modelValue"])])) : I("", !0), i(
|
|
674
|
+
}, null, 8, ["attributes", "modelValue"])])) : I("", !0), i(et, null, {
|
|
675
675
|
default: D(() => [i(P, {
|
|
676
676
|
"column-defs": Oe.value,
|
|
677
677
|
"column-visibility": De.value,
|
|
@@ -683,7 +683,7 @@ const gt = /* @__PURE__ */ Z({
|
|
|
683
683
|
draggable: "",
|
|
684
684
|
"hide-footer": "",
|
|
685
685
|
"pin-header-row": "",
|
|
686
|
-
onRowClick:
|
|
686
|
+
onRowClick: Me,
|
|
687
687
|
onDndChanged: e[8] || (e[8] = (o) => se(o))
|
|
688
688
|
}, null, 8, ["column-defs", "column-visibility", "loading", "page-size", "row-data"])]),
|
|
689
689
|
_: 1
|
|
@@ -692,5 +692,5 @@ const gt = /* @__PURE__ */ Z({
|
|
|
692
692
|
}
|
|
693
693
|
});
|
|
694
694
|
export {
|
|
695
|
-
|
|
695
|
+
oo as _
|
|
696
696
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as N, useModel as K, computed as B, resolveComponent as d, createBlock as P, openBlock as b, ref as L, watch as W, withCtx as _, createElementBlock as F, createElementVNode as I, Fragment as q, renderList as X, 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-eEeeQpw0.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 Y, d 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 Y, d as se, _ as me } from "./RuleView.vue_vue_type_script_setup_true_lang-DlW4Zx5S.js";
|
|
8
|
+
import { L as R } from "./catalogSetting-CeTOf9lJ.js";
|
|
9
|
+
import { L as de } from "./LinkProductSideSheet-DdyUWMWm.js";
|
|
10
10
|
import { c as H } from "./check-C9mY6LiX.js";
|
|
11
|
-
import { u as pe, I as J, an as ce } from "./index.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { u as pe, I as J, an as ce } from "./index.vue_vue_type_script_setup_true_lang-DOhr-m71.js";
|
|
12
12
|
import { c as ve } from "./string-DpfFixWH.js";
|
|
13
13
|
const fe = /* @__PURE__ */ N({
|
|
14
14
|
__name: "LinkPriceTier",
|