@feedmepos/mf-menu 0.32.49-dev → 0.32.49
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-B01olmCo.js → App-DWwqICgN.js} +7 -7
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-Bu_IpREq.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DGM-pqCB.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-DZwJeAGh.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-Bt0T0Q9-.js} +2 -2
- package/dist/{Catalog-BgrrIuxf.js → Catalog-Bj04dO46.js} +6 -6
- package/dist/{Category-CDGXCGQN.js → Category-B0c9uXCq.js} +4 -4
- package/dist/{Category-YxTmAvys.js → Category-CvpBi1HT.js} +4 -4
- package/dist/{CookingGuide-BVtJs_Kn.js → CookingGuide-YzbN_xWq.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DfGBraA0.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CnspihW3.js} +1 -1
- package/dist/{Group-Bjv6mYE2.js → Group-BqlrVpS1.js} +3 -3
- package/dist/{Group-oZVciF9U.js → Group-CjNy_UQt.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DG8xGjYM.js → Group.vue_vue_type_script_setup_true_lang-vST-RMKe.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B1NvTvHU.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-E_WkJitJ.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BpgCEGWp.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Bi8JIOa6.js} +7 -7
- package/dist/{Ingredient-C3w_k7cs.js → Ingredient-CzWptpJk.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CWzd2Hgc.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CAcRjeYO.js} +2 -2
- package/dist/{LinkProductSideSheet-FMv4heTJ.js → LinkProductSideSheet-Bja4Cszh.js} +3 -3
- package/dist/{MenuSetting-CdG0CM4v.js → MenuSetting-BKz8Lc0o.js} +5 -5
- package/dist/{OrderPacing-DoHRQq6z.js → OrderPacing-hlKmIQe9.js} +5 -5
- package/dist/{PrintRoute-B3ZOdkWb.js → PrintRoute-CIcsTl5w.js} +4 -4
- package/dist/{Product-Bk033TSz.js → Product-DwuCexEe.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-Cj6YUmHX.js → Product.vue_vue_type_script_setup_true_lang-UwOYzxUw.js} +12 -12
- package/dist/{ProductInternalTools-hksQOO2B.js → ProductInternalTools-DXnnpR8K.js} +6 -6
- package/dist/{Products-Dot3BMR_.js → Products-D9ZEXzTI.js} +51 -51
- package/dist/{Publish-YBItRkDe.js → Publish-RXSNXPhJ.js} +3 -3
- package/dist/{Recipe-CsltmH36.js → Recipe-DVWLtSQ_.js} +4 -4
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-CDFLaIlX.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-CiZHJDhR.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DQ59tQmi.js → RuleView.vue_vue_type_script_setup_true_lang-DX9vKQdX.js} +176 -176
- package/dist/{Scheduler-0w8DL3Q_.js → Scheduler-Do-a3Cfo.js} +3 -3
- package/dist/{ServingSequence-CJYonk8g.js → ServingSequence-CwZ325jQ.js} +3 -3
- package/dist/{Setting-D0WgF4wm.js → Setting-BSszW7wy.js} +5 -5
- package/dist/{Subcategory-Byk1LOXo.js → Subcategory-Dht6gqhP.js} +5 -5
- package/dist/{Takeaway-Bn8HxGmV.js → Takeaway-BupuOrs5.js} +1 -1
- package/dist/{Takeaway-DQ-QWxj0.js → Takeaway-CwldkuES.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BpTYQzV-.js → Takeaway.vue_vue_type_script_setup_true_lang-CMx4MCzX.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-D-FGnIw4.js → Thumbnail.vue_vue_type_script_setup_true_lang-B4F6XwEL.js} +4 -4
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-BhhaNpqT.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-C1WI2rIi.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-B2Nzi_cG.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-BQn-Iym4.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Cs-pvp01.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Dn57GJ7T.js} +114 -114
- package/dist/{Unit-DA0hunXt.js → Unit-D3Fpe664.js} +2 -2
- package/dist/{Variant-xzGvnmWi.js → Variant-AtN90DMV.js} +3 -3
- package/dist/{_id_-Bo8nUn6W.js → _id_-B76MDa4v.js} +9 -9
- package/dist/{app-B_pjPiJt.js → app-CDxIgV5P.js} +1 -1
- package/dist/{app-CxwU6oD_.js → app-DpeCSTH8.js} +32 -32
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-CLi0ZaMP.js → linked-status-BslgSQ_X.js} +2 -2
- package/dist/assets/{menu-export-tgemEoin.js → menu-export-Cz7GqhAg.js} +3 -3
- package/dist/assets/{override-menu-B2_pGKQ5.js → override-menu-DHtDBJkL.js} +2 -2
- package/dist/assets/{validate-menu-zFkBYOrT.js → validate-menu-D2RWU23-.js} +5 -5
- package/dist/{catalog-DCmaXyCR.js → catalog-DggxiDFI.js} +1 -1
- package/dist/{catalogSetting-BMdkGbQA.js → catalogSetting-CsodrJyH.js} +1 -1
- package/dist/{currency-BJl6Cdom.js → currency-Dik39bFt.js} +1 -1
- package/dist/{dayjs.min-CrqXlTYe.js → dayjs.min-CtPRPF6H.js} +2 -2
- package/dist/{index-DCQdFiEM.js → index-CZ0zKCWR.js} +5 -5
- package/dist/{index-5AaSAY-w.js → index-CnD7dG32.js} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-B1eRJHco.js → index.vue_vue_type_script_setup_true_lang-ayMUXcas.js} +7 -7
- package/dist/{item-Bkin6GCJ.js → item-vne0HbEn.js} +364 -364
- package/dist/{jszip.min-C7u5SEBq.js → jszip.min-CZGbdgZ_.js} +153 -153
- package/dist/{menu-CqrBIw8_.js → menu-BO6E5Ts_.js} +1 -1
- package/dist/{menuV2-DbnFxkWz.js → menuV2-B83JGuiX.js} +53 -53
- package/dist/mf-menu.css +1 -1
- package/dist/{order_pacing-Sk-V86me.js → order_pacing-AsrGCnda.js} +5 -5
- package/dist/{priceTier-0-_3YORa.js → priceTier-BSeu0mIP.js} +1 -1
- package/dist/{rules-CSn8QaHv.js → rules-DrZ6Uil3.js} +3 -3
- package/dist/{scheduler-CrOEXWb4.js → scheduler-CN9BIv5w.js} +4 -4
- package/dist/{toExcel-fLdoWcMu.js → toExcel-4AZNWspR.js} +2 -2
- package/dist/{unit-SuZbxNh5.js → unit-Dn2l5Mz-.js} +2 -2
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as Z, ref as v, computed as z, resolveComponent as W, createElementBlock as c, openBlock as r, createElementVNode as s, createVNode as I, unref as h, createCommentVNode as T, normalizeClass as B, toDisplayString as U, createStaticVNode as E, Fragment as P, renderList as A, createBlock as oe, withCtx as R } from "vue";
|
|
2
|
-
import { J as O, F as ne } from "./jszip.min-
|
|
3
|
-
import { B as le, u as ie, H as D, a0 as re, K as ce, M as de, N as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { J as O, F as ne } from "./jszip.min-CZGbdgZ_.js";
|
|
3
|
+
import { B as le, u as ie, H as D, a0 as re, K as ce, M as de, N as me } from "./index.vue_vue_type_script_setup_true_lang-ayMUXcas.js";
|
|
4
4
|
import { useI18n as ue } from "@feedmepos/mf-common";
|
|
5
5
|
import { FmButtonVariant as $, useSnackbar as V, useDialog as ge, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as pe } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
7
|
-
import { u as fe, a as he } from "./menu-
|
|
8
|
-
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { y as be, z as ve, A as _e } from "./item-
|
|
7
|
+
import { u as fe, a as he } from "./menu-BO6E5Ts_.js";
|
|
8
|
+
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-UwOYzxUw.js";
|
|
9
|
+
import { y as be, z as ve, A as _e } from "./item-vne0HbEn.js";
|
|
10
10
|
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 = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "h-full flex flex-col"
|
|
@@ -151,7 +151,7 @@ const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center j
|
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
153
|
});
|
|
154
|
-
var He = { firebase: { storageBucket: "image.
|
|
154
|
+
var He = { firebase: { storageBucket: "image.feedme.cc" } };
|
|
155
155
|
const Je = {
|
|
156
156
|
key: 0,
|
|
157
157
|
class: "h-screen"
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { D as V } from "./dayjs.min-
|
|
3
|
-
import { J as re, F as ie } from "./jszip.min-
|
|
4
|
-
import { u as K, B as Q, z as L, D as R, y as X, A as le, G as ue, H, I as ce } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { h as F, A as
|
|
1
|
+
import { defineComponent as A, computed as m, ref as W, resolveComponent as C, createBlock as c, openBlock as l, unref as e, withCtx as _, createElementVNode as d, toDisplayString as Z, createVNode as u, createCommentVNode as M, createElementBlock as U, Fragment as j } from "vue";
|
|
2
|
+
import { D as V } from "./dayjs.min-CtPRPF6H.js";
|
|
3
|
+
import { J as re, F as ie } from "./jszip.min-CZGbdgZ_.js";
|
|
4
|
+
import { u as K, B as Q, z as L, D as R, y as X, A as le, G as ue, H, I as ce } from "./index.vue_vue_type_script_setup_true_lang-ayMUXcas.js";
|
|
5
|
+
import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-Bi8JIOa6.js";
|
|
6
|
+
import { h as F, A as q } from "./app-DpeCSTH8.js";
|
|
7
7
|
import { useCoreStore as ee, useI18n as de } from "@feedmepos/mf-common";
|
|
8
|
-
import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as _e, FmButtonVariant as E, FmButtonColorThemeVariant as
|
|
8
|
+
import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as _e, FmButtonVariant as E, FmButtonColorThemeVariant as S } from "@feedmepos/ui-library";
|
|
9
9
|
import { _ as T } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
10
|
-
import { _ as fe, a as
|
|
10
|
+
import { _ as fe, a as G } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
11
11
|
import { _ as ge } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
12
|
-
import { u as ve, a as be } from "./menu-
|
|
13
|
-
import { u as ye } from "./item-
|
|
14
|
-
import { _ as
|
|
15
|
-
import { L as J } from "./LinkProductSideSheet-
|
|
16
|
-
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { u as
|
|
18
|
-
import { m as
|
|
19
|
-
const Me = { class: "space-y-24 mb-24" },
|
|
12
|
+
import { u as ve, a as be } from "./menu-BO6E5Ts_.js";
|
|
13
|
+
import { u as ye } from "./item-vne0HbEn.js";
|
|
14
|
+
import { _ as O, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-UwOYzxUw.js";
|
|
15
|
+
import { L as J } from "./LinkProductSideSheet-Bja4Cszh.js";
|
|
16
|
+
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Dn57GJ7T.js";
|
|
17
|
+
import { u as he } from "./Thumbnail.vue_vue_type_script_setup_true_lang-B4F6XwEL.js";
|
|
18
|
+
import { m as Se } from "./toExcel-4AZNWspR.js";
|
|
19
|
+
const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ A({
|
|
20
20
|
__name: "ConfirmActionDialog",
|
|
21
21
|
props: {
|
|
22
22
|
description: {},
|
|
@@ -24,17 +24,17 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
24
24
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
25
25
|
},
|
|
26
26
|
setup($) {
|
|
27
|
-
const n = $, y = m(() => n.message.replace("[[value]]", n.value)), x = W(""), o = te(), { emitAction:
|
|
27
|
+
const n = $, y = m(() => n.message.replace("[[value]]", n.value)), x = W(""), o = te(), { emitAction: h } = pe();
|
|
28
28
|
return (f, i) => {
|
|
29
|
-
const g =
|
|
29
|
+
const g = C("FmTextField"), v = C("FmButton"), b = C("FmForm");
|
|
30
30
|
return l(), c(b, {
|
|
31
|
-
"on-validation-success": () => e(
|
|
31
|
+
"on-validation-success": () => e(h)("primary"),
|
|
32
32
|
"blame-form-child-on-validation-failed": ""
|
|
33
33
|
}, {
|
|
34
34
|
default: _(() => [
|
|
35
35
|
d("div", Me, [
|
|
36
36
|
d("div", null, Z(f.description), 1),
|
|
37
|
-
d("div", { innerHTML: y.value }, null, 8,
|
|
37
|
+
d("div", { innerHTML: y.value }, null, 8, Ce),
|
|
38
38
|
d("div", null, [
|
|
39
39
|
u(g, {
|
|
40
40
|
modelValue: x.value,
|
|
@@ -47,7 +47,7 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
47
47
|
rules: [(p) => p === f.value || "Value does not match"]
|
|
48
48
|
}, null, 8, ["modelValue", "placeholder", "rules"])
|
|
49
49
|
]),
|
|
50
|
-
d("div",
|
|
50
|
+
d("div", we, [
|
|
51
51
|
u(v, {
|
|
52
52
|
label: "Cancel",
|
|
53
53
|
variant: "secondary",
|
|
@@ -64,12 +64,12 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
64
64
|
}, 8, ["on-validation-success"]);
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
|
-
}), $e = /* @__PURE__ */
|
|
67
|
+
}), $e = /* @__PURE__ */ A({
|
|
68
68
|
__name: "Migrate",
|
|
69
69
|
setup($) {
|
|
70
|
-
const n = K(), y = ee(), x = ne(), { minor: o } = Q(x),
|
|
70
|
+
const n = K(), y = ee(), x = ne(), { minor: o } = Q(x), h = W(!1), f = te();
|
|
71
71
|
async function i() {
|
|
72
|
-
g.value ||
|
|
72
|
+
g.value || h.value || f.open({
|
|
73
73
|
title: "Migrate to new version",
|
|
74
74
|
contentComponent: Fe,
|
|
75
75
|
contentComponentProps: {
|
|
@@ -84,7 +84,7 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
84
84
|
}, 2e3);
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
|
-
isLoading:
|
|
87
|
+
isLoading: h,
|
|
88
88
|
customId: n.state.menu._id,
|
|
89
89
|
message: "Migrating menu",
|
|
90
90
|
successMessage: "Migration completed"
|
|
@@ -99,7 +99,7 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
99
99
|
return b.length ? `Upgrade POS to V${L.Pos.minVersionToUse(R.F_FEATURE.enum.menuV4)} to use new menu: ${b.map((k) => k.profile.name).join(", ")}` : null;
|
|
100
100
|
});
|
|
101
101
|
return m(() => g.value ? g.value : "Migrate your menu to new version to enjoy more features. Content of new menu will remain the same as current."), (v, b) => {
|
|
102
|
-
const p =
|
|
102
|
+
const p = C("FmSnackbar");
|
|
103
103
|
return !g.value && e(n).version !== e(X.F_MENU_VERSION).enum.v4 ? (l(), c(p, {
|
|
104
104
|
key: 0,
|
|
105
105
|
class: "!max-w-full",
|
|
@@ -112,10 +112,10 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
112
112
|
})) : M("", !0);
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
-
}), Ve = "/assets/menu-export-
|
|
115
|
+
}), Ve = "/assets/menu-export-Cz7GqhAg.js", Ee = { class: "flex-1 flex justify-between gap-8 pl-8" }, Te = { class: "flex items-center" }, Ae = { 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" }, Xe = /* @__PURE__ */ A({
|
|
116
116
|
__name: "Products",
|
|
117
117
|
setup($) {
|
|
118
|
-
const { t: n } = de(), y = ee(), x = Q(ne()), o = K(),
|
|
118
|
+
const { t: n } = de(), y = ee(), x = Q(ne()), o = K(), h = m(() => o.rules.item), f = ye(), i = m(() => !o.state.currentSchedulerId), { selectedCategories: g } = ve(), v = m(() => ({
|
|
119
119
|
...le.menuV4ToV3(ue(o.state.menu)),
|
|
120
120
|
_id: o.state.menu._id,
|
|
121
121
|
_rev: o.state.menu._rev
|
|
@@ -125,8 +125,8 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
125
125
|
});
|
|
126
126
|
async function p(r, t) {
|
|
127
127
|
const a = new re();
|
|
128
|
-
for (let
|
|
129
|
-
a.file(`${t[
|
|
128
|
+
for (let w = 0; w < r.length; w++)
|
|
129
|
+
a.file(`${t[w]}.xlsx`, r[w]);
|
|
130
130
|
const s = await a.generateAsync({ type: "blob" });
|
|
131
131
|
ie.saveAs(s, `books_${V().format("DD-MM-YYYY_HH-mm")}.zip`);
|
|
132
132
|
}
|
|
@@ -149,7 +149,7 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
149
149
|
);
|
|
150
150
|
await p(s, a);
|
|
151
151
|
} else {
|
|
152
|
-
const r =
|
|
152
|
+
const r = Se(v.value), t = `menu_${V().format("DD-MM-YYYY_HH-mm")}`;
|
|
153
153
|
await me(r, `${t}.xlsx`, {
|
|
154
154
|
bookType: "xlsx",
|
|
155
155
|
bookSST: !0,
|
|
@@ -162,29 +162,29 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
162
162
|
);
|
|
163
163
|
}
|
|
164
164
|
const {
|
|
165
|
-
menuItems:
|
|
165
|
+
menuItems: I,
|
|
166
166
|
categories: D,
|
|
167
167
|
linkItemRules: B,
|
|
168
168
|
handleSubmit: N,
|
|
169
169
|
catalogManager: Y,
|
|
170
170
|
schedulerManager: z
|
|
171
|
-
} =
|
|
171
|
+
} = he(!1), oe = _e(), ae = m(() => oe.breakpoints.value.xs), se = m(() => {
|
|
172
172
|
var a;
|
|
173
173
|
const r = ((a = y.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
174
174
|
action: F.Action.manage,
|
|
175
175
|
subject: F.Subject.Business.menu_menuManagement
|
|
176
176
|
};
|
|
177
|
-
return
|
|
177
|
+
return q([t], r).granted;
|
|
178
178
|
}), P = m(() => {
|
|
179
179
|
var a;
|
|
180
180
|
const r = ((a = y.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
181
181
|
action: F.Action.manage,
|
|
182
182
|
subject: F.Subject.Business.menu_importExport
|
|
183
183
|
};
|
|
184
|
-
return
|
|
184
|
+
return q([t], r).granted;
|
|
185
185
|
});
|
|
186
186
|
return be().resetOnMount(), (r, t) => {
|
|
187
|
-
const a =
|
|
187
|
+
const a = C("fm-button");
|
|
188
188
|
return l(), c(ge, {
|
|
189
189
|
heading: e(n)("menu.products.title")
|
|
190
190
|
}, {
|
|
@@ -195,20 +195,20 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
195
195
|
"append-heading": _(() => [
|
|
196
196
|
d("div", Ee, [
|
|
197
197
|
d("div", Te, [
|
|
198
|
-
d("div",
|
|
199
|
-
d("p",
|
|
198
|
+
d("div", Ae, [
|
|
199
|
+
d("p", Ie, Z(b.value), 1)
|
|
200
200
|
])
|
|
201
201
|
]),
|
|
202
202
|
d("div", De, [
|
|
203
|
-
ae.value ? (l(), c(
|
|
203
|
+
ae.value ? (l(), c(O, { key: 1 }, {
|
|
204
204
|
default: _(({ trigger: s }) => [
|
|
205
205
|
u(fe, null, {
|
|
206
206
|
default: _(() => [
|
|
207
|
-
u(
|
|
207
|
+
u(G, {
|
|
208
208
|
label: e(n)("menu.products.actions.export"),
|
|
209
209
|
onClick: k
|
|
210
210
|
}, null, 8, ["label"]),
|
|
211
|
-
u(
|
|
211
|
+
u(G, {
|
|
212
212
|
label: e(n)("menu.products.actions.import"),
|
|
213
213
|
onClick: s
|
|
214
214
|
}, null, 8, ["label", "onClick"])
|
|
@@ -222,8 +222,8 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
222
222
|
default: _(({ trigger: s }) => [
|
|
223
223
|
u(a, {
|
|
224
224
|
label: e(n)("menu.tree_editor.title"),
|
|
225
|
-
"bg-color": e(
|
|
226
|
-
"text-color": e(
|
|
225
|
+
"bg-color": e(S).NeutralGray100,
|
|
226
|
+
"text-color": e(S).TypoSecondary,
|
|
227
227
|
variant: e(E).Primary,
|
|
228
228
|
onClick: s
|
|
229
229
|
}, null, 8, ["label", "bg-color", "text-color", "variant", "onClick"])
|
|
@@ -232,17 +232,17 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
232
232
|
})) : M("", !0),
|
|
233
233
|
P.value ? (l(), c(a, {
|
|
234
234
|
key: 1,
|
|
235
|
-
"bg-color": e(
|
|
236
|
-
"text-color": e(
|
|
235
|
+
"bg-color": e(S).NeutralGray100,
|
|
236
|
+
"text-color": e(S).TypoSecondary,
|
|
237
237
|
variant: e(E).Primary,
|
|
238
238
|
label: e(n)("menu.products.actions.export"),
|
|
239
239
|
onClick: k
|
|
240
240
|
}, null, 8, ["bg-color", "text-color", "variant", "label"])) : M("", !0),
|
|
241
|
-
P.value ? (l(), c(
|
|
241
|
+
P.value ? (l(), c(O, { key: 2 }, {
|
|
242
242
|
default: _(({ trigger: s }) => [
|
|
243
243
|
u(a, {
|
|
244
|
-
"bg-color": e(
|
|
245
|
-
"text-color": e(
|
|
244
|
+
"bg-color": e(S).NeutralGray100,
|
|
245
|
+
"text-color": e(S).TypoSecondary,
|
|
246
246
|
variant: e(E).Primary,
|
|
247
247
|
label: e(n)("menu.products.actions.import"),
|
|
248
248
|
onClick: s
|
|
@@ -252,7 +252,7 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
252
252
|
})) : M("", !0)
|
|
253
253
|
], 64)),
|
|
254
254
|
b.value > 0 ? (l(), U(j, { key: 2 }, [
|
|
255
|
-
|
|
255
|
+
h.value.create ? (l(), c(T, {
|
|
256
256
|
key: 0,
|
|
257
257
|
label: e(n)("menu.products.actions.add"),
|
|
258
258
|
"prepend-icon": "add",
|
|
@@ -262,7 +262,7 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
262
262
|
"categorized-items": e(Y).linkableItems.value,
|
|
263
263
|
"initial-value": e(Y).currentItems.value,
|
|
264
264
|
"show-variant": !1,
|
|
265
|
-
"menu-items": e(
|
|
265
|
+
"menu-items": e(I),
|
|
266
266
|
categories: e(D),
|
|
267
267
|
"link-item-rules": e(B),
|
|
268
268
|
"no-scheduler": i.value,
|
|
@@ -281,7 +281,7 @@ const Me = { class: "space-y-24 mb-24" }, we = ["innerHTML"], Ce = { class: "fle
|
|
|
281
281
|
"categorized-items": e(z).linkableItems.value,
|
|
282
282
|
"initial-value": e(z).currentItems.value,
|
|
283
283
|
"show-variant": !1,
|
|
284
|
-
"menu-items": e(
|
|
284
|
+
"menu-items": e(I),
|
|
285
285
|
categories: e(D),
|
|
286
286
|
"link-item-rules": e(B),
|
|
287
287
|
"no-scheduler": i.value,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as G, ref as M, computed as R, onMounted as ie, resolveComponent as $, createElementBlock as V, openBlock as y, createVNode as h, createElementVNode as f, toDisplayString as L, unref as p, Fragment as j, renderList as Q, createBlock as Y, watch as de, withCtx as E, h as T, normalizeClass as re, createCommentVNode as X, createTextVNode as me, mergeProps as $e, normalizeStyle as Ae, renderSlot as Ue, withModifiers as te, onUnmounted as Be } from "vue";
|
|
2
|
-
import { D as z } from "./dayjs.min-
|
|
2
|
+
import { D as z } from "./dayjs.min-CtPRPF6H.js";
|
|
3
3
|
import { useRouter as De } from "vue-router";
|
|
4
4
|
import { O as Oe, b as Te } from "./app-5fxKLAzS.js";
|
|
5
|
-
import { z as Ne, D as Re, B as ve, aa as Ee, a2 as be, y as q, u as _e, G as pe, H as Le } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { z as Ne, D as Re, B as ve, aa as Ee, a2 as be, y as q, u as _e, G as pe, H as Le } from "./index.vue_vue_type_script_setup_true_lang-ayMUXcas.js";
|
|
6
6
|
import { useI18n as Z, useCoreStore as ge, RestaurantSelector as ye } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as ce, useDialogChild as ze, useProxiedModel as je, useDialog as ke, FmButtonVariant as fe, components as W } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as He } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
9
|
-
import { _ as Ce } from "./app-
|
|
9
|
+
import { _ as Ce } from "./app-DpeCSTH8.js";
|
|
10
10
|
import { a as Ye, w as Ke } from "./tooltip-B5BiPMx9.js";
|
|
11
11
|
import { u as we } from "./discardConfirm-BHni0LNu.js";
|
|
12
12
|
import { _ as xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -2,14 +2,14 @@ import { defineComponent as z, computed as h, ref as w, reactive as Q, watch as
|
|
|
2
2
|
import { useI18n as I } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as A, components as j, useDialog as ne, FmButtonVariant as G, useBreakpoints as oe } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as le } from "./app-
|
|
6
|
-
import { O as q, B as $, G as ie, A as P, H as se, D as B, J as T, y as U, u as H, a2 as re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-DpeCSTH8.js";
|
|
6
|
+
import { O as q, B as $, G as ie, A as P, H as se, D as B, J as T, y as U, u as H, a2 as re } from "./index.vue_vue_type_script_setup_true_lang-ayMUXcas.js";
|
|
7
7
|
import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
8
8
|
import { defineStore as ue } from "pinia";
|
|
9
|
-
import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as Y, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-CAcRjeYO.js";
|
|
10
10
|
import { u as de } from "./discardConfirm-BHni0LNu.js";
|
|
11
11
|
import { c as pe } from "./check-C9mY6LiX.js";
|
|
12
|
-
import "./unit-
|
|
12
|
+
import "./unit-Dn2l5Mz-.js";
|
|
13
13
|
import { c as fe } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
14
14
|
const _e = { class: "fm-typo-en-title-md-600" }, ve = { class: "pt-8 space-y-40" }, ye = { class: "flex flex-row gap-16" }, ge = { class: "flex gap-8 items-center justify-start" }, be = /* @__PURE__ */ z({
|
|
15
15
|
__name: "Form",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as D, ref as R, resolveComponent as u, createElementBlock as E, openBlock as P, Fragment as B, createElementVNode as d, createVNode as l, normalizeClass as A, withCtx as i, toDisplayString as g, unref as o, h as I } from "vue";
|
|
2
2
|
import { useI18n as T, useCustomAttributes as K, useCoreStore as N } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as U } from "@feedmepos/ui-library";
|
|
4
|
-
import { e as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { e as W, _ as y } from "./RuleView.vue_vue_type_script_setup_true_lang-DX9vKQdX.js";
|
|
5
5
|
const j = {
|
|
6
6
|
class: /* @__PURE__ */ A(["fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap", "text-fm-color-neutral-gray-400"])
|
|
7
7
|
}, O = {
|