@feedmepos/mf-menu 0.32.58-dev.1 → 0.32.58
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-Cu010rh6.js → App-DfUun7yx.js} +7 -7
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-B6a2IB4d.js → ApplyProduct.vue_vue_type_script_setup_true_lang-Db3V4FWf.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-BFaLXVm6.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-QnLOXk6w.js} +2 -2
- package/dist/{Catalog-XsNkNzBy.js → Catalog-CMKzTRzJ.js} +6 -6
- package/dist/{Category-BUAWwxVh.js → Category-ChSuwg8M.js} +4 -4
- package/dist/{Category-DuMHSMg5.js → Category-rBT0IClB.js} +4 -4
- package/dist/{CookingGuide-FQL3uJMA.js → CookingGuide-Dep5WgKp.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-B7k5HE5K.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-C39YAMZs.js} +1 -1
- package/dist/{Group-t2enQJJk.js → Group-DSv02uyB.js} +3 -3
- package/dist/{Group-DvvnKQeR.js → Group-pv3hOVGw.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-Dkv59o9J.js → Group.vue_vue_type_script_setup_true_lang-C4DKWMpP.js} +6 -6
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D_F7qAQj.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BpIXz3JX.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BRuZqASN.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-X7civFqp.js} +7 -7
- package/dist/{Ingredient-Db9WaDHm.js → Ingredient-DuJUeNCv.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BueqvvrP.js → InventoryBinding.vue_vue_type_script_setup_true_lang-B3fjn3Eq.js} +2 -2
- package/dist/{LinkProductSideSheet-CcKpJzuu.js → LinkProductSideSheet-CTP5S-Zg.js} +3 -3
- package/dist/{MenuSetting-CpsaSK2F.js → MenuSetting-ESQAFoul.js} +6 -6
- package/dist/{OrderPacing-CfJr4zLM.js → OrderPacing-wtlotr1V.js} +5 -5
- package/dist/{PrintRoute-st5l4z_o.js → PrintRoute-he0nST_J.js} +4 -4
- package/dist/{Product-dLBEfiMu.js → Product-DfNrujwF.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-dsm976qc.js → Product.vue_vue_type_script_setup_true_lang-DEjlIutB.js} +12 -12
- package/dist/{ProductInternalTools-m6pQW27F.js → ProductInternalTools-C6GvvEBe.js} +6 -6
- package/dist/{Products-COXcPc0r.js → Products-BJpriuKL.js} +49 -49
- package/dist/{Publish-CdAXNHho.js → Publish-BYqm0QMT.js} +3 -3
- package/dist/{Recipe-1_xPZA70.js → Recipe-DLgkivfd.js} +4 -4
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-iokZGhJ6.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-ck8eq4g-.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-COG3i-xY.js → RuleView.vue_vue_type_script_setup_true_lang-BNwtSwXa.js} +602 -602
- package/dist/{Scheduler-CFwvPIeC.js → Scheduler-BQXsaqdq.js} +3 -3
- package/dist/{ServingSequence-DRmhcARH.js → ServingSequence-eON_2NCq.js} +3 -3
- package/dist/{Setting-DFaLeSpK.js → Setting-EWeqXE6x.js} +5 -5
- package/dist/{Subcategory-B4rsI3k3.js → Subcategory-DYfuszjD.js} +5 -5
- package/dist/{Takeaway-DvZsjRLk.js → Takeaway-DMaABobh.js} +1 -1
- package/dist/{Takeaway-C-5ohbKU.js → Takeaway-DuO5zCDe.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-C0gIPYxv.js → Takeaway.vue_vue_type_script_setup_true_lang-BVV0b_VQ.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-BxUp8i1r.js → Thumbnail.vue_vue_type_script_setup_true_lang-h1mV0YPI.js} +4 -4
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-CrpW2qGo.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-BLz1VgYH.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-2Uyqt_CM.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-C4qUo_U2.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-B5ENFjqy.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-C0LKKDQR.js} +14 -14
- package/dist/{Unit-B_BfMiqd.js → Unit-Bfq_eLE0.js} +2 -2
- package/dist/{Variant-J-SuZHnI.js → Variant-DfO1USUM.js} +3 -3
- package/dist/{_id_-39Sg2EE9.js → _id_-aI4hkVmh.js} +9 -9
- package/dist/{app-B8HzzXDs.js → app-B9XTv0Xs.js} +1 -1
- package/dist/{app-C9kNrlAy.js → app-CyW5XJI3.js} +32 -32
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-Cp8FwUaT.js → linked-status-U1wmb4W5.js} +2 -2
- package/dist/assets/{menu-export-C-OckA4f.js → menu-export-T0iXp2XS.js} +2 -2
- package/dist/assets/{override-menu-C2HTFVjX.js → override-menu-Bebekq7W.js} +2 -2
- package/dist/assets/{validate-menu-DDCTccO2.js → validate-menu-CPmbcmm9.js} +2 -2
- package/dist/{catalog-CLMM1gFY.js → catalog-DICSt776.js} +1 -1
- package/dist/{catalogSetting-1TunwQ88.js → catalogSetting-DNX559ff.js} +1 -1
- package/dist/{currency-BLWl20fP.js → currency-D1OkTYPb.js} +1 -1
- package/dist/{dayjs.min-DHr1l5S_.js → dayjs.min-w8HGgSmB.js} +2 -2
- package/dist/{index-CN3s3H68.js → index-CbXeZmCS.js} +5 -5
- package/dist/{index-DEG0LWHU.js → index-Ce48kWSB.js} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-DtNW5Amu.js → index.vue_vue_type_script_setup_true_lang-D1e43ULb.js} +6 -6
- package/dist/{item-Be-o2PPD.js → item-CJiTQSdk.js} +18 -18
- package/dist/{jszip.min-FmA4ZFsQ.js → jszip.min-BhA-u0sg.js} +175 -175
- package/dist/{memberPricing-CMGWvEzf.js → memberPricing-HtOVFkPW.js} +1 -1
- package/dist/{menu-CJc25kms.js → menu-D2DXdpM7.js} +1 -1
- package/dist/{menuV2-Cwtxn2qd.js → menuV2-BijgRm69.js} +128 -128
- package/dist/{order_pacing-B2UTf2Yg.js → order_pacing-1DXoaQJO.js} +5 -5
- package/dist/{priceTier-BOG0g2nn.js → priceTier-KsTBGIxi.js} +1 -1
- package/dist/{rules-k6RKEkjE.js → rules-B9lCQsFG.js} +3 -3
- package/dist/{scheduler-B5Cdeq45.js → scheduler-Dngx6aIQ.js} +4 -4
- package/dist/{toExcel-D3InlPlu.js → toExcel-CFKx9Lmk.js} +2 -2
- package/dist/{unit-BPpW2Pih.js → unit-Cyx1Lmd7.js} +2 -2
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as Z, ref as v, computed as $, resolveComponent as G, 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 O, createBlock as oe, withCtx as R } from "vue";
|
|
2
|
-
import { J as A, F as ne } from "./jszip.min-
|
|
3
|
-
import { B as le, u as ie, H as D, a3 as re, M as ce, N as de, O as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { J as A, F as ne } from "./jszip.min-BhA-u0sg.js";
|
|
3
|
+
import { B as le, u as ie, H as D, a3 as re, M as ce, N as de, O as me } from "./index.vue_vue_type_script_setup_true_lang-D1e43ULb.js";
|
|
4
4
|
import { useI18n as ue } from "@feedmepos/mf-common";
|
|
5
5
|
import { FmButtonVariant as z, 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-BVmHMvKD.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 { E as be, G as ve, H as _e } from "./item-
|
|
7
|
+
import { u as fe, a as he } from "./menu-D2DXdpM7.js";
|
|
8
|
+
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-DEjlIutB.js";
|
|
9
|
+
import { E as be, G as ve, H as _e } from "./item-CJiTQSdk.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 qe = { firebase: { storageBucket: "image.
|
|
154
|
+
var qe = { firebase: { storageBucket: "image.feedme.cc" } };
|
|
155
155
|
const Je = {
|
|
156
156
|
key: 0,
|
|
157
157
|
class: "h-screen"
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineComponent as D, computed as
|
|
2
|
-
import { D as
|
|
3
|
-
import { J as re, F as ie } from "./jszip.min-
|
|
4
|
-
import { u as
|
|
5
|
-
import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { h as $, A as
|
|
1
|
+
import { defineComponent as D, computed as _, ref as W, resolveComponent as w, createBlock as m, openBlock as l, unref as e, withCtx as p, createElementVNode as d, toDisplayString as X, createVNode as u, createCommentVNode as C, createElementBlock as U, Fragment as L } from "vue";
|
|
2
|
+
import { D as T } from "./dayjs.min-w8HGgSmB.js";
|
|
3
|
+
import { J as re, F as ie } from "./jszip.min-BhA-u0sg.js";
|
|
4
|
+
import { u as Z, B as K, z as j, D as H, y as Q, A as le, G as ue, H as R, I as ce } from "./index.vue_vue_type_script_setup_true_lang-D1e43ULb.js";
|
|
5
|
+
import { w as me } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-X7civFqp.js";
|
|
6
|
+
import { h as $, A as q } from "./app-CyW5XJI3.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
|
|
8
|
+
import { useDialog as te, useDialogChild as pe, useSnackbar as ne, useBreakpoints as _e, FmButtonVariant as E, FmButtonColorThemeVariant as h } from "@feedmepos/ui-library";
|
|
9
9
|
import { _ as I } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
10
|
-
import { _ 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-BVmHMvKD.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 Se } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { m as he } from "./toExcel-
|
|
12
|
+
import { u as ve, a as be } from "./menu-D2DXdpM7.js";
|
|
13
|
+
import { u as ye } from "./item-CJiTQSdk.js";
|
|
14
|
+
import { _ as O, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-DEjlIutB.js";
|
|
15
|
+
import { L as J } from "./LinkProductSideSheet-CTP5S-Zg.js";
|
|
16
|
+
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-C0LKKDQR.js";
|
|
17
|
+
import { u as Se } from "./Thumbnail.vue_vue_type_script_setup_true_lang-h1mV0YPI.js";
|
|
18
|
+
import { m as he } from "./toExcel-CFKx9Lmk.js";
|
|
19
19
|
const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "flex justify-end gap-8" }, Fe = /* @__PURE__ */ D({
|
|
20
20
|
__name: "ConfirmActionDialog",
|
|
21
21
|
props: {
|
|
@@ -24,7 +24,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
24
24
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
25
25
|
},
|
|
26
26
|
setup(V) {
|
|
27
|
-
const n = V,
|
|
27
|
+
const n = V, f = _(() => n.message.replace("[[value]]", n.value)), y = W(""), o = te(), { emitAction: k } = pe();
|
|
28
28
|
return (g, i) => {
|
|
29
29
|
const x = w("FmTextField"), S = w("FmButton"), v = w("FmForm");
|
|
30
30
|
return l(), m(v, {
|
|
@@ -33,8 +33,8 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
33
33
|
}, {
|
|
34
34
|
default: p(() => [
|
|
35
35
|
d("div", Me, [
|
|
36
|
-
d("div", null,
|
|
37
|
-
d("div", { innerHTML:
|
|
36
|
+
d("div", null, X(g.description), 1),
|
|
37
|
+
d("div", { innerHTML: f.value }, null, 8, Ce),
|
|
38
38
|
d("div", null, [
|
|
39
39
|
u(x, {
|
|
40
40
|
modelValue: y.value,
|
|
@@ -67,7 +67,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
67
67
|
}), $e = /* @__PURE__ */ D({
|
|
68
68
|
__name: "Migrate",
|
|
69
69
|
setup(V) {
|
|
70
|
-
const n =
|
|
70
|
+
const n = Z(), f = ee(), y = ne(), { minor: o } = K(y), k = W(!1), g = te();
|
|
71
71
|
async function i() {
|
|
72
72
|
x.value || k.value || g.open({
|
|
73
73
|
title: "Migrate to new version",
|
|
@@ -92,18 +92,18 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
92
92
|
);
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
|
-
const x =
|
|
95
|
+
const x = _(() => {
|
|
96
96
|
var M;
|
|
97
|
-
if (((M =
|
|
97
|
+
if (((M = f.sessionUser.value) == null ? void 0 : M.role.isAdmin) === !0)
|
|
98
98
|
return null;
|
|
99
|
-
const v =
|
|
99
|
+
const v = f.restaurants.value;
|
|
100
100
|
if (!v.length) return "Required at least one restaurant to migrate";
|
|
101
101
|
const c = v.filter((b) => !b.posVersion || !j.Pos.canUse({ feature: H.F_FEATURE.enum.menuV4, posVersion: b.posVersion }));
|
|
102
102
|
return c.length ? `Upgrade POS to V${j.Pos.minVersionToUse(H.F_FEATURE.enum.menuV4)} to use new menu: ${c.map((b) => b.profile.name).join(", ")}` : null;
|
|
103
103
|
});
|
|
104
104
|
return (S, v) => {
|
|
105
105
|
const c = w("FmSnackbar");
|
|
106
|
-
return !x.value && e(n).version !== e(
|
|
106
|
+
return !x.value && e(n).version !== e(Q).enum.v4 ? (l(), m(c, {
|
|
107
107
|
key: 0,
|
|
108
108
|
class: "!max-w-full",
|
|
109
109
|
title: "New version of menu is out now!",
|
|
@@ -115,14 +115,14 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
115
115
|
})) : C("", !0);
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
|
-
}), Ve = "/assets/menu-export-
|
|
118
|
+
}), Ve = "/assets/menu-export-T0iXp2XS.js", Ae = { class: "flex-1 flex justify-between gap-8 pl-8" }, Te = { class: "flex items-center" }, Ee = { 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" }, Qe = /* @__PURE__ */ D({
|
|
119
119
|
__name: "Products",
|
|
120
120
|
setup(V) {
|
|
121
|
-
const { t: n } = de(),
|
|
121
|
+
const { t: n } = de(), f = ee(), y = K(ne()), o = Z(), k = _(() => o.rules.item), g = ye(), i = _(() => !o.state.currentSchedulerId), { selectedCategories: x } = ve(), S = _(() => ({
|
|
122
122
|
...le.menuV4ToV3(ue(o.state.menu)),
|
|
123
123
|
_id: o.state.menu._id,
|
|
124
124
|
_rev: o.state.menu._rev
|
|
125
|
-
})), v =
|
|
125
|
+
})), v = _(() => {
|
|
126
126
|
const r = R.flatten(x.value.map((t) => t.items));
|
|
127
127
|
return R.uniqBy(r, (t) => t._id).length;
|
|
128
128
|
});
|
|
@@ -131,13 +131,13 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
131
131
|
for (let F = 0; F < r.length; F++)
|
|
132
132
|
a.file(`${t[F]}.xlsx`, r[F]);
|
|
133
133
|
const s = await a.generateAsync({ type: "blob" });
|
|
134
|
-
ie.saveAs(s, `books_${
|
|
134
|
+
ie.saveAs(s, `books_${T().format("DD-MM-YYYY_HH-mm")}.zip`);
|
|
135
135
|
}
|
|
136
136
|
async function A() {
|
|
137
137
|
await y.minor(
|
|
138
138
|
async () => {
|
|
139
|
-
if (await o.readMenu(), o.version ===
|
|
140
|
-
const r = o.state.menu, t =
|
|
139
|
+
if (await o.readMenu(), o.version === Q.enum.v4) {
|
|
140
|
+
const r = o.state.menu, t = T().format("DD-MM-YYYY_HH-mm"), a = [
|
|
141
141
|
`menu_${t}`,
|
|
142
142
|
`addonGroup_${t}`,
|
|
143
143
|
`itemLinkedAddon_${t}`,
|
|
@@ -146,13 +146,13 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
146
146
|
Ve,
|
|
147
147
|
JSON.stringify({
|
|
148
148
|
menu: r,
|
|
149
|
-
attributeSettings:
|
|
149
|
+
attributeSettings: f.itemAttributeSettings.value,
|
|
150
150
|
localizationKeys: o.state.featureFlags.supportedLocales
|
|
151
151
|
})
|
|
152
152
|
);
|
|
153
153
|
await c(s, a);
|
|
154
154
|
} else {
|
|
155
|
-
const r = he(S.value), t = `menu_${
|
|
155
|
+
const r = he(S.value), t = `menu_${T().format("DD-MM-YYYY_HH-mm")}`;
|
|
156
156
|
await me(r, `${t}.xlsx`, {
|
|
157
157
|
bookType: "xlsx",
|
|
158
158
|
bookSST: !0,
|
|
@@ -171,20 +171,20 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
171
171
|
handleSubmit: Y,
|
|
172
172
|
catalogManager: N,
|
|
173
173
|
schedulerManager: z
|
|
174
|
-
} = Se(!1), oe =
|
|
174
|
+
} = Se(!1), oe = _e(), ae = _(() => oe.breakpoints.value.xs), se = _(() => {
|
|
175
175
|
var a;
|
|
176
|
-
const r = ((a =
|
|
176
|
+
const r = ((a = f.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
177
177
|
action: $.Action.manage,
|
|
178
178
|
subject: $.Subject.Business.menu_menuManagement
|
|
179
179
|
};
|
|
180
|
-
return
|
|
181
|
-
}), P =
|
|
180
|
+
return q([t], r).granted;
|
|
181
|
+
}), P = _(() => {
|
|
182
182
|
var a;
|
|
183
|
-
const r = ((a =
|
|
183
|
+
const r = ((a = f.sessionUser.value) == null ? void 0 : a.permissions) ?? [], t = {
|
|
184
184
|
action: $.Action.manage,
|
|
185
185
|
subject: $.Subject.Business.menu_importExport
|
|
186
186
|
};
|
|
187
|
-
return
|
|
187
|
+
return q([t], r).granted;
|
|
188
188
|
});
|
|
189
189
|
return be().resetOnMount(), (r, t) => {
|
|
190
190
|
const a = w("fm-button");
|
|
@@ -197,21 +197,21 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
197
197
|
]),
|
|
198
198
|
"append-heading": p(() => [
|
|
199
199
|
d("div", Ae, [
|
|
200
|
-
d("div",
|
|
201
|
-
d("div",
|
|
202
|
-
d("p", Ie,
|
|
200
|
+
d("div", Te, [
|
|
201
|
+
d("div", Ee, [
|
|
202
|
+
d("p", Ie, X(v.value), 1)
|
|
203
203
|
])
|
|
204
204
|
]),
|
|
205
205
|
d("div", De, [
|
|
206
|
-
ae.value ? (l(), m(
|
|
206
|
+
ae.value ? (l(), m(O, { key: 1 }, {
|
|
207
207
|
default: p(({ trigger: s }) => [
|
|
208
|
-
u(
|
|
208
|
+
u(fe, null, {
|
|
209
209
|
default: p(() => [
|
|
210
|
-
u(
|
|
210
|
+
u(G, {
|
|
211
211
|
label: e(n)("menu.products.actions.export"),
|
|
212
212
|
onClick: A
|
|
213
213
|
}, null, 8, ["label"]),
|
|
214
|
-
u(
|
|
214
|
+
u(G, {
|
|
215
215
|
label: e(n)("menu.products.actions.import"),
|
|
216
216
|
onClick: s
|
|
217
217
|
}, null, 8, ["label", "onClick"])
|
|
@@ -227,7 +227,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
227
227
|
label: e(n)("menu.tree_editor.title"),
|
|
228
228
|
"bg-color": e(h).NeutralGray100,
|
|
229
229
|
"text-color": e(h).TypoSecondary,
|
|
230
|
-
variant: e(
|
|
230
|
+
variant: e(E).Primary,
|
|
231
231
|
onClick: s
|
|
232
232
|
}, null, 8, ["label", "bg-color", "text-color", "variant", "onClick"])
|
|
233
233
|
]),
|
|
@@ -237,16 +237,16 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
237
237
|
key: 1,
|
|
238
238
|
"bg-color": e(h).NeutralGray100,
|
|
239
239
|
"text-color": e(h).TypoSecondary,
|
|
240
|
-
variant: e(
|
|
240
|
+
variant: e(E).Primary,
|
|
241
241
|
label: e(n)("menu.products.actions.export"),
|
|
242
242
|
onClick: A
|
|
243
243
|
}, null, 8, ["bg-color", "text-color", "variant", "label"])) : C("", !0),
|
|
244
|
-
P.value ? (l(), m(
|
|
244
|
+
P.value ? (l(), m(O, { key: 2 }, {
|
|
245
245
|
default: p(({ trigger: s }) => [
|
|
246
246
|
u(a, {
|
|
247
247
|
"bg-color": e(h).NeutralGray100,
|
|
248
248
|
"text-color": e(h).TypoSecondary,
|
|
249
|
-
variant: e(
|
|
249
|
+
variant: e(E).Primary,
|
|
250
250
|
label: e(n)("menu.products.actions.import"),
|
|
251
251
|
onClick: s
|
|
252
252
|
}, null, 8, ["bg-color", "text-color", "variant", "label", "onClick"])
|
|
@@ -308,5 +308,5 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
308
308
|
}
|
|
309
309
|
});
|
|
310
310
|
export {
|
|
311
|
-
|
|
311
|
+
Qe as default
|
|
312
312
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as J, ref as P, computed as D, onMounted as me, resolveComponent as $, createElementBlock as F, openBlock as y, createVNode as b, createElementVNode as f, toDisplayString as T, unref as c, Fragment as j, renderList as Q, createBlock as Y, watch as pe, withCtx as z, h as B, normalizeClass as ce, createCommentVNode as X, createTextVNode as _e, mergeProps as Ue, normalizeStyle as Oe, renderSlot as Be, withModifiers as le, onUnmounted as Te } from "vue";
|
|
2
|
-
import { D as E } from "./dayjs.min-
|
|
2
|
+
import { D as E } from "./dayjs.min-w8HGgSmB.js";
|
|
3
3
|
import { useRouter as ze } from "vue-router";
|
|
4
4
|
import { O as Ee, b as Le } from "./app-5fxKLAzS.js";
|
|
5
|
-
import { z as je, D as Ke, B as Ce, ah as Ye, a5 as we, ai as W, u as xe, G as ge, H as He, y as qe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { z as je, D as Ke, B as Ce, ah as Ye, a5 as we, ai as W, u as xe, G as ge, H as He, y as qe } from "./index.vue_vue_type_script_setup_true_lang-D1e43ULb.js";
|
|
6
6
|
import { useI18n as Z, useCoreStore as he, RestaurantSelector as Ve } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as fe, useDialogChild as Ge, useProxiedModel as Je, useDialog as Se, components as ee, FmButtonVariant as ye } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as We } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
9
|
-
import { _ as Qe } from "./app-
|
|
9
|
+
import { _ as Qe } from "./app-CyW5XJI3.js";
|
|
10
10
|
import { a as Xe, w as Ze } from "./tooltip-B5BiPMx9.js";
|
|
11
11
|
import { u as Fe } from "./discardConfirm-BHni0LNu.js";
|
|
12
12
|
import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -2,14 +2,14 @@ import { defineComponent as z, computed as h, ref as E, reactive as Q, watch as
|
|
|
2
2
|
import { useI18n as M } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as P, components as G, useDialog as ne, FmButtonVariant as K, 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 { P as q, B as $, G as ie, A as D, H as se, D as L, J as A, K as O, u as H, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-CyW5XJI3.js";
|
|
6
|
+
import { P as q, B as $, G as ie, A as D, H as se, D as L, J as A, K as O, u as H, a5 as re } from "./index.vue_vue_type_script_setup_true_lang-D1e43ULb.js";
|
|
7
7
|
import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.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-B3fjn3Eq.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-Cyx1Lmd7.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-BNwtSwXa.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 = {
|