@feedmepos/mf-menu 0.32.66-dev.2 → 0.32.66-dev.4
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-D0YpNkYr.js → App-DdmEswyc.js} +6 -6
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-YPM2sgEJ.js → ApplyProduct.vue_vue_type_script_setup_true_lang-ChxM7qYy.js} +7 -7
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-CAXhUciI.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-bZiXME9Z.js} +3 -3
- package/dist/{Catalog-I3XpPLoT.js → Catalog-GcX5VX2M.js} +6 -6
- package/dist/{Category-BTmqDRbK.js → Category-B2Kv3yJp.js} +4 -4
- package/dist/{Category-CfCp_M4X.js → Category-BwH-wVv2.js} +4 -4
- package/dist/{CookingGuide-BRHwTegP.js → CookingGuide-CWDprGu6.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-ksv-RMn2.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CmACeNnV.js} +1 -1
- package/dist/{Group-Bwj6UATr.js → Group-BavmrRXD.js} +3 -3
- package/dist/{Group-BvrANEY8.js → Group-YNbaHa27.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-CYLH4YhA.js → Group.vue_vue_type_script_setup_true_lang-9rGR3rec.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DWpeinru.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D12xx6Vd.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DEvUaDcb.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-NAKJ0sFP.js} +9 -8
- package/dist/{Ingredient-B8n9cRsp.js → Ingredient-DHjSUUIP.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-92V2JZvW.js → InventoryBinding.vue_vue_type_script_setup_true_lang-U5AkGUri.js} +2 -2
- package/dist/{LinkProductSideSheet-LF2pdsYn.js → LinkProductSideSheet-BkNMJOiZ.js} +4 -4
- package/dist/{MenuSetting-DrObZATH.js → MenuSetting-Bm4O6MZ6.js} +7 -7
- package/dist/{OrderPacing-CIP1oshR.js → OrderPacing-DliNofLl.js} +5 -5
- package/dist/{PrintRoute-BUErmYxT.js → PrintRoute-1Py1_tzI.js} +5 -5
- package/dist/{Product-DBRc2y1I.js → Product-D3kyQmwQ.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-BvtMo0M4.js → Product.vue_vue_type_script_setup_true_lang-D-heQeQu.js} +622 -610
- package/dist/{ProductInternalTools-CnYr5piv.js → ProductInternalTools-87_B55Fr.js} +6 -6
- package/dist/{Products-DkqJELto.js → Products-B-J389Ks.js} +52 -52
- package/dist/Publish-BlYboQl0.js +1532 -0
- package/dist/{Recipe-DxTc4llT.js → Recipe-qb3ZdJGw.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BC59l-9q.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-CXqE4HLg.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-BpGitWig.js → RuleView.vue_vue_type_script_setup_true_lang-CODY5qdL.js} +3 -3
- package/dist/{Scheduler-CtdYHGoQ.js → Scheduler-CeM3y0Ha.js} +3 -3
- package/dist/{ServingSequence-Bx0Z7ob9.js → ServingSequence-BCzXUO9n.js} +124 -121
- package/dist/{Setting-BWKT6o_d.js → Setting-sy6vMuPB.js} +5 -5
- package/dist/{Subcategory-BckJmrDm.js → Subcategory-BZti9kYo.js} +6 -6
- package/dist/{Takeaway-Dvt7GRhi.js → Takeaway-C9puqL8n.js} +4 -4
- package/dist/{Takeaway-DULjBrov.js → Takeaway-D5JlmD6u.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BanPhJ_p.js → Takeaway.vue_vue_type_script_setup_true_lang-j8d0lXOL.js} +10 -10
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-BA1GwxTn.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-DX_DRNF2.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-B45Qj3ka.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-DesC2w1k.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-mlqLqR9u.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CmuuSoGs.js} +15 -15
- package/dist/{Unit-C2rVtZXW.js → Unit-Cc42yyN6.js} +2 -2
- package/dist/{Variant-C1aRShIB.js → Variant-D19fCBB3.js} +3 -3
- package/dist/{_id_-TNQRaQmS.js → _id_-B9MKg_D-.js} +10 -10
- package/dist/{app-Cbzk6cOz.js → app-BN0HgwNB.js} +328 -328
- package/dist/{app-DwyLCetV.js → app-kMpCkgGC.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/api/media.d.ts +63 -10
- package/dist/apps/mf-menu/src/app.d.ts +130 -10
- package/dist/apps/mf-menu/src/components/feature/Fields/RangeSlider.vue.d.ts +62 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/productImages.d.ts +95 -12
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ImageEditorDialog.vue.d.ts +56 -0
- package/dist/apps/mf-menu/src/composable/imageSource.d.ts +7 -0
- package/dist/apps/mf-menu/src/composable/imageVersion.d.ts +11 -0
- package/dist/apps/mf-menu/src/helper/itemOverrider.d.ts +10 -0
- package/dist/apps/mf-menu/src/stores/menu.d.ts +2 -0
- package/dist/apps/mf-menu/src/views/Publish/publishStatus.d.ts +27 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{override-menu-Ccftxk6t.js → linked-status-CfzY6n0e.js} +4 -4
- package/dist/assets/{menu-export-BaTSKjZt.js → menu-export-CALDQ8k1.js} +3 -3
- package/dist/assets/{linked-status-BY2u9ovw.js → override-menu-CmqrughS.js} +4 -4
- package/dist/assets/{validate-menu-CLI_SnXI.js → validate-menu-BgjAdwUE.js} +4 -4
- package/dist/{catalog-CVzF_mVG.js → catalog-BuKsorK6.js} +1 -1
- package/dist/{catalogSetting-C1g9ndFL.js → catalogSetting-B5EtNHwb.js} +1 -1
- package/dist/{currency-BMMqzZYC.js → currency-BTbX6PWL.js} +1 -1
- package/dist/{dayjs.min-BozAuX2f.js → dayjs.min-KeFRLajb.js} +2 -2
- package/dist/{discardConfirm-CFESnGLS.js → discardConfirm-zfX1nuye.js} +1 -1
- package/dist/{index-BNzLcju2.js → index-DDJHOjwR.js} +1 -1
- package/dist/{index-CyomkF6Q.js → index-DTakcRjO.js} +5 -5
- package/dist/{index-BRt5TwuO.js → index-DfoDRA0k.js} +6 -6
- package/dist/{index.vue_vue_type_script_setup_true_lang-CESDAztS.js → index.vue_vue_type_script_setup_true_lang-DybNA4Np.js} +24886 -24717
- package/dist/{item-Bg78_1Z3.js → item-jpOmJGLW.js} +5058 -4584
- package/dist/{jszip.min-CfmqMq7-.js → jszip.min-DyvQ41lT.js} +3 -3
- package/dist/{linkProducts-Dk-7vVTM.js → linkProducts-DFJMpL5n.js} +4 -4
- package/dist/{memberPricing-BeLPeWJc.js → memberPricing-BZgeIGmU.js} +1 -1
- package/dist/{menu-Cn6vin1M.js → menu-BupVgTY-.js} +1 -1
- package/dist/{menuV2-DMl-WMCG.js → menuV2-B9-ODrLW.js} +85 -85
- package/dist/mf-menu.css +1 -1
- package/dist/{order_pacing-SVJqBJun.js → order_pacing-Dfey1efO.js} +5 -5
- package/dist/{priceTier-BOIqyyMG.js → priceTier-eGLFeyfY.js} +1 -1
- package/dist/{rules-Bw94jp35.js → rules-BS6BLc8X.js} +3 -3
- package/dist/{scheduler-BooRYOi1.js → scheduler-3BGOjjCO.js} +5 -5
- package/dist/{toExcel-FAK9N74s.js → toExcel-BmTqFf7v.js} +2 -2
- package/dist/{unit-BiH3semx.js → unit-D2oVUlp4.js} +3 -3
- package/package.json +1 -1
- package/dist/Publish-C94D_B2o.js +0 -1434
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ImageUploadDialog.vue.d.ts +0 -18
|
@@ -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-DyvQ41lT.js";
|
|
3
|
+
import { l as D } from "./discardConfirm-zfX1nuye.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-DybNA4Np.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 { ae as he, af as ye, ag as be, ah as ve, ai as _e } from "./item-
|
|
8
|
+
import { u as ge, a as pe } from "./menu-BupVgTY-.js";
|
|
9
|
+
import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-D-heQeQu.js";
|
|
10
|
+
import { ae as he, af as ye, ag as be, ah as ve, ai as _e } from "./item-jpOmJGLW.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"
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { D as
|
|
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 B, 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 z } from "vue";
|
|
2
|
+
import { D as T } from "./dayjs.min-KeFRLajb.js";
|
|
3
|
+
import { J as re, F as ie } from "./jszip.min-DyvQ41lT.js";
|
|
4
|
+
import { l as R } from "./discardConfirm-zfX1nuye.js";
|
|
5
|
+
import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-NAKJ0sFP.js";
|
|
6
|
+
import { h as V, A as j } from "./app-BN0HgwNB.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-DybNA4Np.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
|
|
10
|
-
import { _ as
|
|
9
|
+
import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as fe, FmButtonVariant as D, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
|
|
10
|
+
import { _ as I } 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 Se } from "./linkProducts-
|
|
19
|
-
import { m as he } from "./toExcel-
|
|
20
|
-
const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */
|
|
13
|
+
import { u as ge, a as be } from "./menu-BupVgTY-.js";
|
|
14
|
+
import { w as ye } from "./item-jpOmJGLW.js";
|
|
15
|
+
import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-D-heQeQu.js";
|
|
16
|
+
import { L as J } from "./LinkProductSideSheet-BkNMJOiZ.js";
|
|
17
|
+
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CmuuSoGs.js";
|
|
18
|
+
import { u as Se } from "./linkProducts-DFJMpL5n.js";
|
|
19
|
+
import { m as he } from "./toExcel-BmTqFf7v.js";
|
|
20
|
+
const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ B({
|
|
21
21
|
__name: "ConfirmActionDialog",
|
|
22
22
|
props: {
|
|
23
23
|
description: {},
|
|
24
24
|
value: {},
|
|
25
25
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
26
26
|
},
|
|
27
|
-
setup(
|
|
28
|
-
const n =
|
|
27
|
+
setup(A) {
|
|
28
|
+
const n = A, p = _(() => n.message.replace("[[value]]", n.value)), k = W(""), o = te(), { emitAction: h } = pe();
|
|
29
29
|
return (v, r) => {
|
|
30
30
|
const M = F("FmTextField"), g = F("FmButton"), x = F("FmForm");
|
|
31
31
|
return l(), m(x, {
|
|
@@ -65,9 +65,9 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
65
65
|
}, 8, ["on-validation-success"]);
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
}), $e = /* @__PURE__ */
|
|
68
|
+
}), $e = /* @__PURE__ */ B({
|
|
69
69
|
__name: "Migrate",
|
|
70
|
-
setup(
|
|
70
|
+
setup(A) {
|
|
71
71
|
const n = K(), p = ee(), { isRestaurantLevelMenu: k } = p, o = ne(), { minor: h } = Q(o), v = W(!1), r = te();
|
|
72
72
|
async function M() {
|
|
73
73
|
g.value || v.value || r.open({
|
|
@@ -116,29 +116,29 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
116
116
|
})) : w("", !0);
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
|
-
}), Ve = "/assets/menu-export-
|
|
119
|
+
}), Ve = "/assets/menu-export-CALDQ8k1.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" }, De = { class: "fm-typo-en-body-md-600 font-semibold" }, Ie = { class: "flex gap-8" }, et = /* @__PURE__ */ B({
|
|
120
120
|
__name: "Products",
|
|
121
|
-
setup(
|
|
121
|
+
setup(A) {
|
|
122
122
|
const { t: n } = de(), p = ee(), k = Q(ne()), o = K(), h = _(() => 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 = R.flatten(M.value.map((t) => t.items));
|
|
128
|
+
return R.uniqBy(i, (t) => t._id).length;
|
|
129
129
|
});
|
|
130
130
|
async function c(i, t) {
|
|
131
131
|
const a = new re();
|
|
132
132
|
for (let $ = 0; $ < i.length; $++)
|
|
133
133
|
a.file(`${t[$]}.xlsx`, i[$]);
|
|
134
134
|
const s = await a.generateAsync({ type: "blob" });
|
|
135
|
-
ie.saveAs(s, `books_${
|
|
135
|
+
ie.saveAs(s, `books_${T().format("DD-MM-YYYY_HH-mm")}.zip`);
|
|
136
136
|
}
|
|
137
137
|
async function b() {
|
|
138
138
|
await k.minor(
|
|
139
139
|
async () => {
|
|
140
140
|
if (await o.readMenu(), o.version === X.enum.v4) {
|
|
141
|
-
const i = o.state.menu, t =
|
|
141
|
+
const i = o.state.menu, t = T().format("DD-MM-YYYY_HH-mm"), a = [
|
|
142
142
|
`menu_${t}`,
|
|
143
143
|
`addonGroup_${t}`,
|
|
144
144
|
`itemLinkedAddon_${t}`,
|
|
@@ -153,7 +153,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
153
153
|
);
|
|
154
154
|
await c(s, a);
|
|
155
155
|
} else {
|
|
156
|
-
const i = he(g.value), t = `menu_${
|
|
156
|
+
const i = he(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,
|
|
@@ -166,26 +166,26 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
166
166
|
);
|
|
167
167
|
}
|
|
168
168
|
const {
|
|
169
|
-
menuItems:
|
|
169
|
+
menuItems: E,
|
|
170
170
|
categories: C,
|
|
171
171
|
linkItemRules: y,
|
|
172
172
|
handleSubmit: Y,
|
|
173
|
-
catalogManager:
|
|
174
|
-
schedulerManager:
|
|
173
|
+
catalogManager: L,
|
|
174
|
+
schedulerManager: N
|
|
175
175
|
} = Se(!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 j([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 j([t], i).granted;
|
|
189
189
|
});
|
|
190
190
|
return be().resetOnMount(), (i, t) => {
|
|
191
191
|
const a = F("fm-button");
|
|
@@ -197,13 +197,13 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
197
197
|
u(ke)
|
|
198
198
|
]),
|
|
199
199
|
"append-heading": f(() => [
|
|
200
|
-
d("div",
|
|
201
|
-
d("div",
|
|
202
|
-
d("div",
|
|
203
|
-
d("p",
|
|
200
|
+
d("div", Ae, [
|
|
201
|
+
d("div", Ee, [
|
|
202
|
+
d("div", Te, [
|
|
203
|
+
d("p", De, Z(x.value), 1)
|
|
204
204
|
])
|
|
205
205
|
]),
|
|
206
|
-
d("div",
|
|
206
|
+
d("div", Ie, [
|
|
207
207
|
ae.value ? (l(), m(G, { key: 1 }, {
|
|
208
208
|
default: f(({ trigger: s }) => [
|
|
209
209
|
u(_e, null, {
|
|
@@ -221,14 +221,14 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
221
221
|
}, 1024)
|
|
222
222
|
]),
|
|
223
223
|
_: 1
|
|
224
|
-
})) : (l(), U(
|
|
224
|
+
})) : (l(), U(z, { 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
229
|
"bg-color": e(S).NeutralGray100,
|
|
230
230
|
"text-color": e(S).TypoSecondary,
|
|
231
|
-
variant: e(
|
|
231
|
+
variant: e(D).Primary,
|
|
232
232
|
onClick: s
|
|
233
233
|
}, null, 8, ["label", "bg-color", "text-color", "variant", "onClick"])
|
|
234
234
|
]),
|
|
@@ -238,7 +238,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
238
238
|
key: 1,
|
|
239
239
|
"bg-color": e(S).NeutralGray100,
|
|
240
240
|
"text-color": e(S).TypoSecondary,
|
|
241
|
-
variant: e(
|
|
241
|
+
variant: e(D).Primary,
|
|
242
242
|
label: e(n)("menu.products.actions.export"),
|
|
243
243
|
onClick: b
|
|
244
244
|
}, null, 8, ["bg-color", "text-color", "variant", "label"])) : w("", !0),
|
|
@@ -247,7 +247,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
247
247
|
u(a, {
|
|
248
248
|
"bg-color": e(S).NeutralGray100,
|
|
249
249
|
"text-color": e(S).TypoSecondary,
|
|
250
|
-
variant: e(
|
|
250
|
+
variant: e(D).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"])
|
|
@@ -255,25 +255,25 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
255
255
|
_: 1
|
|
256
256
|
})) : w("", !0)
|
|
257
257
|
], 64)),
|
|
258
|
-
x.value > 0 ? (l(), U(
|
|
259
|
-
h.value.create ? (l(), m(
|
|
258
|
+
x.value > 0 ? (l(), U(z, { key: 2 }, [
|
|
259
|
+
h.value.create ? (l(), m(I, {
|
|
260
260
|
key: 0,
|
|
261
261
|
label: e(n)("menu.products.actions.add"),
|
|
262
262
|
"prepend-icon": "add",
|
|
263
263
|
onClick: t[0] || (t[0] = (s) => e(v).create(null))
|
|
264
264
|
}, null, 8, ["label"])) : r.value ? (l(), m(J, {
|
|
265
265
|
key: 1,
|
|
266
|
-
"categorized-items": e(
|
|
267
|
-
"initial-value": e(
|
|
266
|
+
"categorized-items": e(L).linkableItems.value,
|
|
267
|
+
"initial-value": e(L).currentItems.value,
|
|
268
268
|
"show-variant": !1,
|
|
269
|
-
"menu-items": e(
|
|
269
|
+
"menu-items": e(E),
|
|
270
270
|
categories: e(C),
|
|
271
271
|
"link-item-rules": e(y),
|
|
272
272
|
"no-scheduler": r.value,
|
|
273
273
|
onSubmit: e(Y)
|
|
274
274
|
}, {
|
|
275
275
|
default: f(({ trigger: s }) => [
|
|
276
|
-
u(
|
|
276
|
+
u(I, {
|
|
277
277
|
label: e(n)("menu.products.actions.link"),
|
|
278
278
|
"prepend-icon": "link",
|
|
279
279
|
onClick: s
|
|
@@ -282,17 +282,17 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
282
282
|
_: 1
|
|
283
283
|
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (l(), m(J, {
|
|
284
284
|
key: 2,
|
|
285
|
-
"categorized-items": e(
|
|
286
|
-
"initial-value": e(
|
|
285
|
+
"categorized-items": e(N).linkableItems.value,
|
|
286
|
+
"initial-value": e(N).currentItems.value,
|
|
287
287
|
"show-variant": !1,
|
|
288
|
-
"menu-items": e(
|
|
288
|
+
"menu-items": e(E),
|
|
289
289
|
categories: e(C),
|
|
290
290
|
"link-item-rules": e(y),
|
|
291
291
|
"no-scheduler": r.value,
|
|
292
292
|
onSubmit: e(Y)
|
|
293
293
|
}, {
|
|
294
294
|
default: f(({ trigger: s }) => [
|
|
295
|
-
u(
|
|
295
|
+
u(I, {
|
|
296
296
|
label: e(n)("menu.products.actions.apply_scheduler"),
|
|
297
297
|
onClick: s
|
|
298
298
|
}, null, 8, ["label", "onClick"])
|