@feedmepos/mf-menu 0.32.69 → 0.32.70
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-CkqcWg7S.js → App-D2qKBNOI.js} +8 -8
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-BhG20Otb.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DpuE1Txi.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-VtSDhyxF.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-CuhfoI6u.js} +3 -3
- package/dist/{Catalog-DFt5sHAc.js → Catalog-B8DQ8HuW.js} +6 -6
- package/dist/{Category-Ky71Gp-v.js → Category-BlfQyXMP.js} +4 -4
- package/dist/{Category-CsunLGhh.js → Category-DXRKc5oR.js} +4 -4
- package/dist/{CookingGuide-CCtT6m33.js → CookingGuide-jNeTimU7.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BoL0i1uZ.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BMKqOTc3.js} +1 -1
- package/dist/{Group-CPF8_pyC.js → Group-BDS80Kj0.js} +1 -1
- package/dist/{Group-llBpSqev.js → Group-BmU0_HFA.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-B1eL9TxG.js → Group.vue_vue_type_script_setup_true_lang-hSxGRxop.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CXWmmLn6.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CUNcxRnJ.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-xAjv38VK.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DjLnCfC5.js} +7 -7
- package/dist/{Ingredient-10tyBIdU.js → Ingredient-Czl2K5rQ.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DHdCl7qE.js → InventoryBinding.vue_vue_type_script_setup_true_lang-M8HxDzxj.js} +2 -2
- package/dist/{LinkProductSideSheet-DvzRszmI.js → LinkProductSideSheet-iwH-Ft7_.js} +4 -4
- package/dist/{MenuSetting-D_fJ0Nh1.js → MenuSetting-D-PtnHh_.js} +7 -7
- package/dist/{OrderPacing-BLGBL00l.js → OrderPacing-DpajUDfR.js} +5 -5
- package/dist/{PrintRoute-CTJePpsK.js → PrintRoute-CWzUI3D1.js} +5 -5
- package/dist/{Product-B1BEM32b.js → Product-C341g4w7.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-lUGzPr_a.js → Product.vue_vue_type_script_setup_true_lang-BRLo39YE.js} +14 -14
- package/dist/{ProductInternalTools-DO1On9V6.js → ProductInternalTools-BUku68VS.js} +7 -7
- package/dist/{Products-Dw1aYtPB.js → Products-Dco1XgQd.js} +53 -53
- package/dist/Publish-sDveejeh.js +1581 -0
- package/dist/{Recipe-p8OmyzT8.js → Recipe-MfXgmqtt.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-7Ab3OzAU.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-vtJwWImA.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DMRyx0V7.js → RuleView.vue_vue_type_script_setup_true_lang-ZnrzCXu3.js} +817 -817
- package/dist/{Scheduler-bJIwoxJQ.js → Scheduler-DKyhr6p8.js} +65 -64
- package/dist/{ServingSequence-DXpq5-Sv.js → ServingSequence-nEoPok72.js} +3 -3
- package/dist/{Setting-BOxDPwyd.js → Setting-RWyx1jq2.js} +5 -5
- package/dist/{Subcategory-CtapgQWV.js → Subcategory-B0smFoMD.js} +6 -6
- package/dist/{Takeaway-CKo0enwK.js → Takeaway-BVMZewQ0.js} +4 -4
- package/dist/{Takeaway-BOvGqe0f.js → Takeaway-BpwBR54Y.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BWoq54ru.js → Takeaway.vue_vue_type_script_setup_true_lang-BTnFR11p.js} +5 -5
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-VYrjC7c8.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-KNIxHJsf.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-CGCx6D5Y.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-Dznh3-H8.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-xHzhKbpN.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-k3m88FlR.js} +15 -15
- package/dist/{Unit-CtFTRvvy.js → Unit-BzbHDW_L.js} +2 -2
- package/dist/{Variant-D4QMrOee.js → Variant-BF_zXLDM.js} +3 -3
- package/dist/{_id_-BYr-NECf.js → _id_-BjGIzI2V.js} +10 -10
- package/dist/{app-DNh5SqEy.js → app-DDrm4hOt.js} +32 -32
- package/dist/{app-B0TUeVKL.js → app-qoGPYaSq.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/components/feature/publish.d.ts +2 -2
- package/dist/assets/{linked-status-VS3D4vr6.js → linked-status-CXL9skR7.js} +2 -2
- package/dist/assets/{menu-export-wMnl913u.js → menu-export-rYnoju7h.js} +34 -34
- package/dist/assets/{override-menu-0N_qNcuX.js → override-menu-D1btUpWP.js} +2 -2
- package/dist/assets/{validate-menu-CUOc0Cpy.js → validate-menu-R6zi6RGb.js} +2 -2
- package/dist/{catalog-D7lA7mT_.js → catalog-ByfbV1WF.js} +1 -1
- package/dist/{catalogSetting-O0tJo-T7.js → catalogSetting-qvKbsi8t.js} +1 -1
- package/dist/{currency-CHsj_J0b.js → currency-C5kmu6Ku.js} +1 -1
- package/dist/{dayjs.min-DeBV2WG7.js → dayjs.min-D3WVCWf8.js} +2 -2
- package/dist/{discardConfirm-CYxTrfx-.js → discardConfirm-rDbUqsKj.js} +1 -1
- package/dist/{index-BFldIBpf.js → index-B2Hnb8WK.js} +6 -6
- package/dist/{index-D5gtDsAd.js → index-BoVuN9fk.js} +5 -5
- package/dist/{index-DQUODrNy.js → index-COu9fsyr.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-C7ZQI7Ck.js → index.vue_vue_type_script_setup_true_lang-Wm3L_CDm.js} +4129 -4129
- package/dist/{item-KLAdfYvM.js → item-CcaqdD88.js} +20 -20
- package/dist/{jszip.min-Vn2-CH88.js → jszip.min-B-GfzNS3.js} +529 -529
- package/dist/{linkProducts-BC3LTMzZ.js → linkProducts-DXSk9ntt.js} +4 -4
- package/dist/{memberPricing-CoFY9U1J.js → memberPricing-Bmv0qRtK.js} +1 -1
- package/dist/{menu-BwtqZ_Yz.js → menu-BLbZDh7_.js} +1 -1
- package/dist/{menuV2-Cadt2gJu.js → menuV2-BSGYEEJI.js} +39 -39
- package/dist/{order_pacing-Dr7DHsai.js → order_pacing-DLrwnijs.js} +5 -5
- package/dist/{priceTier-DnD28JYo.js → priceTier-Bw0-wJJ0.js} +1 -1
- package/dist/{rules-BL4uMD7m.js → rules-Ciu45JMO.js} +3 -3
- package/dist/{scheduler-B0UE4CHB.js → scheduler-DYZ2PnDh.js} +166 -166
- package/dist/{toExcel-OdTMnhFs.js → toExcel-D6Rp5oOB.js} +2 -2
- package/dist/{unit-MUk9trKB.js → unit-BR60ZgDQ.js} +3 -3
- package/package.json +2 -2
- package/dist/Publish-ZTiUf2NT.js +0 -1565
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as Z, ref as v, computed as $, resolveComponent as W, createElementBlock as c, openBlock as r, createElementVNode as s, createVNode as I, unref as h, createCommentVNode as T, normalizeClass as E, toDisplayString as U, createStaticVNode as B, Fragment as P, renderList as R, createBlock as oe, withCtx as A } from "vue";
|
|
2
|
-
import { J as O, F as ne } from "./jszip.min-
|
|
3
|
-
import { l as D } from "./discardConfirm-
|
|
2
|
+
import { J as O, F as ne } from "./jszip.min-B-GfzNS3.js";
|
|
3
|
+
import { l as D } from "./discardConfirm-rDbUqsKj.js";
|
|
4
4
|
import { useI18n as le } from "@feedmepos/mf-common";
|
|
5
5
|
import { FmButtonVariant as z, useSnackbar as V, useDialog as ie, FmButtonColorThemeVariant as M } from "@feedmepos/ui-library";
|
|
6
|
-
import { b as re, u as ce, p as de, x as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { b as re, u as ce, p as de, x as me } from "./index.vue_vue_type_script_setup_true_lang-Wm3L_CDm.js";
|
|
7
7
|
import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
|
-
import { u as ge, a as pe } from "./menu-
|
|
9
|
-
import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { af as he, ag as ye, ah as be, ai as ve, aj as _e } from "./item-
|
|
8
|
+
import { u as ge, a as pe } from "./menu-BLbZDh7_.js";
|
|
9
|
+
import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-BRLo39YE.js";
|
|
10
|
+
import { af as he, ag as ye, ah as be, ai as ve, aj as _e } from "./item-CcaqdD88.js";
|
|
11
11
|
const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center justify-between p-16 border-b border-gray-200" }, Ie = { class: "flex gap-8" }, ke = { class: "border-b border-gray-200" }, Ce = { class: "flex" }, Ue = { class: "flex-1 overflow-hidden" }, je = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "h-full flex flex-col"
|
|
@@ -152,7 +152,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
|
|
|
152
152
|
};
|
|
153
153
|
}
|
|
154
154
|
});
|
|
155
|
-
var Je = { firebase: { storageBucket: "image.
|
|
155
|
+
var Je = { firebase: { storageBucket: "image.feedmedev.cc" } };
|
|
156
156
|
const He = {
|
|
157
157
|
key: 0,
|
|
158
158
|
class: "h-screen"
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { D as T } from "./dayjs.min-
|
|
3
|
-
import { J as re, F as ie } from "./jszip.min-
|
|
4
|
-
import { l as
|
|
5
|
-
import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { h as V, A as
|
|
7
|
-
import { u as K, b as Q, a as H, e as q, F as X, m as ue, d as ce, f as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as Y, computed as _, ref as W, resolveComponent as F, createBlock as m, openBlock as l, unref as e, withCtx as f, createElementVNode as d, toDisplayString as Z, createVNode as u, createCommentVNode as w, createElementBlock as U, Fragment as j } from "vue";
|
|
2
|
+
import { D as T } from "./dayjs.min-D3WVCWf8.js";
|
|
3
|
+
import { J as re, F as ie } from "./jszip.min-B-GfzNS3.js";
|
|
4
|
+
import { l as z } from "./discardConfirm-rDbUqsKj.js";
|
|
5
|
+
import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DjLnCfC5.js";
|
|
6
|
+
import { h as V, A as R } from "./app-DDrm4hOt.js";
|
|
7
|
+
import { u as K, b as Q, a as H, e as q, F as X, m as ue, d as ce, f as me } from "./index.vue_vue_type_script_setup_true_lang-Wm3L_CDm.js";
|
|
8
8
|
import { useCoreStore as ee, useI18n as de } from "@feedmepos/mf-common";
|
|
9
|
-
import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as fe, FmButtonVariant as I, FmButtonColorThemeVariant as
|
|
9
|
+
import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as fe, FmButtonVariant as I, FmButtonColorThemeVariant as h } from "@feedmepos/ui-library";
|
|
10
10
|
import { _ as D } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
11
11
|
import { _ as _e, a as O } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
12
12
|
import { _ as ve } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
13
|
-
import { u as ge, a as be } from "./menu-
|
|
14
|
-
import { w as ye } from "./item-
|
|
15
|
-
import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { L as J } from "./LinkProductSideSheet-
|
|
17
|
-
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { u as
|
|
19
|
-
import { m as
|
|
20
|
-
const Me = { class: "space-y-24 mb-24" },
|
|
13
|
+
import { u as ge, a as be } from "./menu-BLbZDh7_.js";
|
|
14
|
+
import { w as ye } from "./item-CcaqdD88.js";
|
|
15
|
+
import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-BRLo39YE.js";
|
|
16
|
+
import { L as J } from "./LinkProductSideSheet-iwH-Ft7_.js";
|
|
17
|
+
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-k3m88FlR.js";
|
|
18
|
+
import { u as he } from "./linkProducts-DXSk9ntt.js";
|
|
19
|
+
import { m as Se } from "./toExcel-D6Rp5oOB.js";
|
|
20
|
+
const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ Y({
|
|
21
21
|
__name: "ConfirmActionDialog",
|
|
22
22
|
props: {
|
|
23
23
|
description: {},
|
|
@@ -25,17 +25,17 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
25
25
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
26
26
|
},
|
|
27
27
|
setup(A) {
|
|
28
|
-
const n = A, p = _(() => n.message.replace("[[value]]", n.value)), k = W(""), o = te(), { emitAction:
|
|
28
|
+
const n = A, p = _(() => n.message.replace("[[value]]", n.value)), k = W(""), o = te(), { emitAction: S } = pe();
|
|
29
29
|
return (v, r) => {
|
|
30
30
|
const M = F("FmTextField"), g = F("FmButton"), x = F("FmForm");
|
|
31
31
|
return l(), m(x, {
|
|
32
|
-
"on-validation-success": () => e(
|
|
32
|
+
"on-validation-success": () => e(S)("primary"),
|
|
33
33
|
"blame-form-child-on-validation-failed": ""
|
|
34
34
|
}, {
|
|
35
35
|
default: f(() => [
|
|
36
36
|
d("div", Me, [
|
|
37
37
|
d("div", null, Z(v.description), 1),
|
|
38
|
-
d("div", { innerHTML: p.value }, null, 8,
|
|
38
|
+
d("div", { innerHTML: p.value }, null, 8, Ce),
|
|
39
39
|
d("div", null, [
|
|
40
40
|
u(M, {
|
|
41
41
|
modelValue: k.value,
|
|
@@ -48,7 +48,7 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
48
48
|
rules: [(c) => c === v.value || "Value does not match"]
|
|
49
49
|
}, null, 8, ["modelValue", "placeholder", "rules"])
|
|
50
50
|
]),
|
|
51
|
-
d("div",
|
|
51
|
+
d("div", we, [
|
|
52
52
|
u(g, {
|
|
53
53
|
label: "Cancel",
|
|
54
54
|
variant: "secondary",
|
|
@@ -65,10 +65,10 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
65
65
|
}, 8, ["on-validation-success"]);
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
}), $e = /* @__PURE__ */
|
|
68
|
+
}), $e = /* @__PURE__ */ Y({
|
|
69
69
|
__name: "Migrate",
|
|
70
70
|
setup(A) {
|
|
71
|
-
const n = K(), p = ee(), { isRestaurantLevelMenu: k } = p, o = ne(), { minor:
|
|
71
|
+
const n = K(), p = ee(), { isRestaurantLevelMenu: k } = p, o = ne(), { minor: S } = Q(o), v = W(!1), r = te();
|
|
72
72
|
async function M() {
|
|
73
73
|
g.value || v.value || r.open({
|
|
74
74
|
title: "Migrate to new version",
|
|
@@ -78,7 +78,7 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
78
78
|
description: "Do you want to migrate to new version? Once migrate it will unable to revert to the older version."
|
|
79
79
|
}
|
|
80
80
|
}).onPrimary(async () => {
|
|
81
|
-
r.close(), await
|
|
81
|
+
r.close(), await S(
|
|
82
82
|
async () => {
|
|
83
83
|
await n.migrate(), setTimeout(() => {
|
|
84
84
|
window.location.reload();
|
|
@@ -94,8 +94,8 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
96
|
const g = _(() => {
|
|
97
|
-
var
|
|
98
|
-
if (((
|
|
97
|
+
var C;
|
|
98
|
+
if (((C = p.sessionUser.value) == null ? void 0 : C.role.isAdmin) === !0)
|
|
99
99
|
return null;
|
|
100
100
|
const c = p.restaurants.value;
|
|
101
101
|
if (!c.length) return "Required at least one restaurant to migrate";
|
|
@@ -113,19 +113,19 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
113
113
|
action: "Migrate",
|
|
114
114
|
"z-index": 0,
|
|
115
115
|
onOnAction: M
|
|
116
|
-
})) :
|
|
116
|
+
})) : w("", !0);
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
|
-
}), Ve = "/assets/menu-export-
|
|
119
|
+
}), Ve = "/assets/menu-export-rYnoju7h.js", Ae = { class: "flex-1 flex justify-between gap-8 pl-8" }, Ee = { class: "flex items-center" }, Te = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Ie = { class: "fm-typo-en-body-md-600 font-semibold" }, De = { class: "flex gap-8" }, et = /* @__PURE__ */ Y({
|
|
120
120
|
__name: "Products",
|
|
121
121
|
setup(A) {
|
|
122
|
-
const { t: n } = de(), p = ee(), k = Q(ne()), o = K(),
|
|
122
|
+
const { t: n } = de(), p = ee(), k = Q(ne()), o = K(), S = _(() => o.rules.item), v = ye(), r = _(() => !o.state.currentSchedulerId), { selectedCategories: M } = ge(), g = _(() => ({
|
|
123
123
|
...ue.menuV4ToV3(ce(o.state.menu)),
|
|
124
124
|
_id: o.state.menu._id,
|
|
125
125
|
_rev: o.state.menu._rev
|
|
126
126
|
})), x = _(() => {
|
|
127
|
-
const i =
|
|
128
|
-
return
|
|
127
|
+
const i = z.flatten(M.value.map((t) => t.items));
|
|
128
|
+
return z.uniqBy(i, (t) => t._id).length;
|
|
129
129
|
});
|
|
130
130
|
async function c(i, t) {
|
|
131
131
|
const a = new re();
|
|
@@ -153,7 +153,7 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
153
153
|
);
|
|
154
154
|
await c(s, a);
|
|
155
155
|
} else {
|
|
156
|
-
const i =
|
|
156
|
+
const i = Se(g.value), t = `menu_${T().format("DD-MM-YYYY_HH-mm")}`;
|
|
157
157
|
await le(i, `${t}.xlsx`, {
|
|
158
158
|
bookType: "xlsx",
|
|
159
159
|
bookSST: !0,
|
|
@@ -167,25 +167,25 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
167
167
|
}
|
|
168
168
|
const {
|
|
169
169
|
menuItems: E,
|
|
170
|
-
categories:
|
|
170
|
+
categories: C,
|
|
171
171
|
linkItemRules: y,
|
|
172
|
-
handleSubmit:
|
|
172
|
+
handleSubmit: B,
|
|
173
173
|
catalogManager: N,
|
|
174
174
|
schedulerManager: L
|
|
175
|
-
} =
|
|
175
|
+
} = he(!1), oe = fe(), ae = _(() => oe.breakpoints.value.xs), se = _(() => {
|
|
176
176
|
var a;
|
|
177
177
|
const i = ((a = p.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
178
178
|
action: V.Action.manage,
|
|
179
179
|
subject: V.Subject.Business.menu_menuManagement
|
|
180
180
|
};
|
|
181
|
-
return
|
|
181
|
+
return R([t], i).granted;
|
|
182
182
|
}), P = _(() => {
|
|
183
183
|
var a;
|
|
184
184
|
const i = ((a = p.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
185
185
|
action: V.Action.manage,
|
|
186
186
|
subject: V.Subject.Business.menu_importExport
|
|
187
187
|
};
|
|
188
|
-
return
|
|
188
|
+
return R([t], i).granted;
|
|
189
189
|
});
|
|
190
190
|
return be().resetOnMount(), (i, t) => {
|
|
191
191
|
const a = F("fm-button");
|
|
@@ -221,42 +221,42 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
221
221
|
}, 1024)
|
|
222
222
|
]),
|
|
223
223
|
_: 1
|
|
224
|
-
})) : (l(), U(
|
|
224
|
+
})) : (l(), U(j, { key: 0 }, [
|
|
225
225
|
se.value ? (l(), m(xe, { key: 0 }, {
|
|
226
226
|
default: f(({ trigger: s }) => [
|
|
227
227
|
u(a, {
|
|
228
228
|
label: e(n)("menu.tree_editor.title"),
|
|
229
|
-
"bg-color": e(
|
|
230
|
-
"text-color": e(
|
|
229
|
+
"bg-color": e(h).NeutralGray100,
|
|
230
|
+
"text-color": e(h).TypoSecondary,
|
|
231
231
|
variant: e(I).Primary,
|
|
232
232
|
onClick: s
|
|
233
233
|
}, null, 8, ["label", "bg-color", "text-color", "variant", "onClick"])
|
|
234
234
|
]),
|
|
235
235
|
_: 1
|
|
236
|
-
})) :
|
|
236
|
+
})) : w("", !0),
|
|
237
237
|
P.value ? (l(), m(a, {
|
|
238
238
|
key: 1,
|
|
239
|
-
"bg-color": e(
|
|
240
|
-
"text-color": e(
|
|
239
|
+
"bg-color": e(h).NeutralGray100,
|
|
240
|
+
"text-color": e(h).TypoSecondary,
|
|
241
241
|
variant: e(I).Primary,
|
|
242
242
|
label: e(n)("menu.products.actions.export"),
|
|
243
243
|
onClick: b
|
|
244
|
-
}, null, 8, ["bg-color", "text-color", "variant", "label"])) :
|
|
244
|
+
}, null, 8, ["bg-color", "text-color", "variant", "label"])) : w("", !0),
|
|
245
245
|
P.value ? (l(), m(G, { key: 2 }, {
|
|
246
246
|
default: f(({ trigger: s }) => [
|
|
247
247
|
u(a, {
|
|
248
|
-
"bg-color": e(
|
|
249
|
-
"text-color": e(
|
|
248
|
+
"bg-color": e(h).NeutralGray100,
|
|
249
|
+
"text-color": e(h).TypoSecondary,
|
|
250
250
|
variant: e(I).Primary,
|
|
251
251
|
label: e(n)("menu.products.actions.import"),
|
|
252
252
|
onClick: s
|
|
253
253
|
}, null, 8, ["bg-color", "text-color", "variant", "label", "onClick"])
|
|
254
254
|
]),
|
|
255
255
|
_: 1
|
|
256
|
-
})) :
|
|
256
|
+
})) : w("", !0)
|
|
257
257
|
], 64)),
|
|
258
|
-
x.value > 0 ? (l(), U(
|
|
259
|
-
|
|
258
|
+
x.value > 0 ? (l(), U(j, { key: 2 }, [
|
|
259
|
+
S.value.create ? (l(), m(D, {
|
|
260
260
|
key: 0,
|
|
261
261
|
label: e(n)("menu.products.actions.add"),
|
|
262
262
|
"prepend-icon": "add",
|
|
@@ -267,10 +267,10 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
267
267
|
"initial-value": e(N).currentItems.value,
|
|
268
268
|
"show-variant": !1,
|
|
269
269
|
"menu-items": e(E),
|
|
270
|
-
categories: e(
|
|
270
|
+
categories: e(C),
|
|
271
271
|
"link-item-rules": e(y),
|
|
272
272
|
"no-scheduler": r.value,
|
|
273
|
-
onSubmit: e(
|
|
273
|
+
onSubmit: e(B)
|
|
274
274
|
}, {
|
|
275
275
|
default: f(({ trigger: s }) => [
|
|
276
276
|
u(D, {
|
|
@@ -286,10 +286,10 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
286
286
|
"initial-value": e(L).currentItems.value,
|
|
287
287
|
"show-variant": !1,
|
|
288
288
|
"menu-items": e(E),
|
|
289
|
-
categories: e(
|
|
289
|
+
categories: e(C),
|
|
290
290
|
"link-item-rules": e(y),
|
|
291
291
|
"no-scheduler": r.value,
|
|
292
|
-
onSubmit: e(
|
|
292
|
+
onSubmit: e(B)
|
|
293
293
|
}, {
|
|
294
294
|
default: f(({ trigger: s }) => [
|
|
295
295
|
u(D, {
|
|
@@ -299,7 +299,7 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
299
299
|
]),
|
|
300
300
|
_: 1
|
|
301
301
|
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"]))
|
|
302
|
-
], 64)) :
|
|
302
|
+
], 64)) : w("", !0)
|
|
303
303
|
])
|
|
304
304
|
])
|
|
305
305
|
]),
|