@feedmepos/mf-menu 0.32.63-dev.3 → 0.32.63-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-DHxlR--3.js → App-D8wf-3gk.js} +6 -6
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-6noIwjis.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BBMuf15P.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-CMI2Nh0n.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-CR7AGqfY.js} +3 -3
- package/dist/{Catalog-B-S0gygH.js → Catalog-Dzs2obez.js} +6 -6
- package/dist/{Category-DOhNama9.js → Category-CF-bfcWZ.js} +4 -4
- package/dist/{Category-DGDddfLx.js → Category-CRG_zlyN.js} +4 -4
- package/dist/{CookingGuide-CUR57F4P.js → CookingGuide-CumoLERq.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-bIONGM6k.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Cw0LfYWI.js} +1 -1
- package/dist/{Group-BsGJ0omP.js → Group-Bl6IXiL5.js} +1 -1
- package/dist/{Group-z-0jQPCd.js → Group-XPHRRll5.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-bBWkJ2Hx.js → Group.vue_vue_type_script_setup_true_lang-Dp41u-9T.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BbqcH4sM.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DBim4X7-.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-CVGilzd0.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-AK0_2AOY.js} +6 -6
- package/dist/{Ingredient-D38IVDXK.js → Ingredient-BBi88auU.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CKmyz9CP.js → InventoryBinding.vue_vue_type_script_setup_true_lang-D8C0do_V.js} +2 -2
- package/dist/{LinkProductSideSheet-DsBA_o9g.js → LinkProductSideSheet-BQc-iCkQ.js} +4 -4
- package/dist/{MenuSetting-D-tln58o.js → MenuSetting-FTo1hoSN.js} +7 -7
- package/dist/{OrderPacing-BdCEHKD9.js → OrderPacing-BUcd8nJm.js} +5 -5
- package/dist/{PrintRoute-DKFMqyeI.js → PrintRoute-DUnqYpDY.js} +5 -5
- package/dist/{Product-Dzo4ljes.js → Product-5jToTVxL.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-BtE2aiwU.js → Product.vue_vue_type_script_setup_true_lang-CvUR3VeZ.js} +13 -13
- package/dist/{ProductInternalTools-Z6XR4zko.js → ProductInternalTools-DVo8n6WR.js} +6 -6
- package/dist/{Products-CCo675Ee.js → Products-74l_V3s-.js} +51 -51
- package/dist/{Publish-tixV8Of1.js → Publish-C_N7lkj5.js} +4 -4
- package/dist/{Recipe-V9kzxmlf.js → Recipe-Ds_84fu9.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-DBhAzVz3.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-B1wtDQ9P.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-D9DqmAVY.js → RuleView.vue_vue_type_script_setup_true_lang-ntxQXlpV.js} +193 -193
- package/dist/{Scheduler-0UpDGQKJ.js → Scheduler--pD1opc1.js} +3 -3
- package/dist/{ServingSequence-CutiXht7.js → ServingSequence-B3xxkMbp.js} +3 -3
- package/dist/{Setting-jyYmoDiq.js → Setting-GBA945nB.js} +5 -5
- package/dist/{Subcategory-CQSKOLjU.js → Subcategory-BikyD-je.js} +6 -6
- package/dist/{Takeaway-CQ0m09TB.js → Takeaway-DqDIobRV.js} +1 -1
- package/dist/{Takeaway-DeCthkOI.js → Takeaway-XPKWPa1W.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-FHE6oQ0d.js → Takeaway.vue_vue_type_script_setup_true_lang-CJG-SwOd.js} +5 -5
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-D9Ga3fOj.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-ogrcEhDA.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-Bz32rpvX.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-BZfaB7Vl.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DCPGAyOm.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DaSfi9fx.js} +14 -14
- package/dist/{Unit-_XiPfauV.js → Unit-yJJmRvha.js} +2 -2
- package/dist/{Variant-DfdMywhn.js → Variant-DcCYBJS2.js} +3 -3
- package/dist/{_id_-Yj5av4B4.js → _id_-BpkYdn5i.js} +9 -9
- package/dist/{app-BcGgfvbE.js → app-BMI3O5C9.js} +32 -32
- package/dist/{app-CqdVluGs.js → app-BzMTHTrI.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/assets/{override-menu-CHL7Bynw.js → linked-status-C8NLd-zI.js} +4 -4
- package/dist/assets/{menu-export-CK5bJyLT.js → menu-export-hXupkCVZ.js} +3 -3
- package/dist/assets/{linked-status-DdDQXL8Y.js → override-menu-CwJOJV2k.js} +4 -4
- package/dist/assets/{validate-menu-g2fslPcE.js → validate-menu-BrXEl7Mi.js} +3 -3
- package/dist/{catalog-B_yk-l1-.js → catalog-L2sdRcQf.js} +1 -1
- package/dist/{catalogSetting-Dl7uIiJm.js → catalogSetting-CGSmZhMj.js} +1 -1
- package/dist/{currency-BpjSDqef.js → currency-QIXheiUu.js} +1 -1
- package/dist/{dayjs.min-CVH5LqOA.js → dayjs.min-CGH3EzsL.js} +2 -2
- package/dist/{discardConfirm-fCmrAVO1.js → discardConfirm-B61hQjlH.js} +1 -1
- package/dist/{index-LYc0WKDO.js → index-CUcUva0h.js} +6 -6
- package/dist/{index-Cru6sUb6.js → index-DCSeBwkM.js} +5 -5
- package/dist/{index.vue_vue_type_script_setup_true_lang-qgDBinUn.js → index.vue_vue_type_script_setup_true_lang-BVBi4Vvc.js} +439 -439
- package/dist/{item-EPxRgVm0.js → item-BMyRZqY8.js} +171 -170
- package/dist/{jszip.min-CNgWv4I3.js → jszip.min-BaD6pNmW.js} +3 -3
- package/dist/{linkProducts-DvQ0oP1V.js → linkProducts-CqH6KCgg.js} +4 -4
- package/dist/{memberPricing-deWSH2K0.js → memberPricing-DNAuPva3.js} +1 -1
- package/dist/{menu-DKJ7olgK.js → menu-BNrZkzpK.js} +1 -1
- package/dist/{menuV2-CB3eZiiP.js → menuV2-D1bGhwPG.js} +41 -41
- package/dist/{order_pacing-DvP19Nxa.js → order_pacing-CmC9xxja.js} +5 -5
- package/dist/{priceTier-DyxDcoSh.js → priceTier-DZ5JRGkT.js} +1 -1
- package/dist/{rules-GmuBnHtU.js → rules-B2yeUFyY.js} +3 -3
- package/dist/{scheduler-BWAzMbPl.js → scheduler-DVKJQGbT.js} +5 -5
- package/dist/{toExcel-BMOGsD6n.js → toExcel-D8feJ9ZC.js} +2 -2
- package/dist/{unit-BCREKGn9.js → unit-DI5JogzR.js} +3 -3
- package/package.json +1 -1
|
@@ -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-BaD6pNmW.js";
|
|
3
|
+
import { l as D } from "./discardConfirm-B61hQjlH.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-BVBi4Vvc.js";
|
|
7
7
|
import { _ as ue } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
|
-
import { u as pe, a as ge } from "./menu-
|
|
9
|
-
import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { aj as he, ak as ye, al as be, am as ve, an as _e } from "./item-
|
|
8
|
+
import { u as pe, a as ge } from "./menu-BNrZkzpK.js";
|
|
9
|
+
import { a as fe } from "./Product.vue_vue_type_script_setup_true_lang-CvUR3VeZ.js";
|
|
10
|
+
import { aj as he, ak as ye, al as be, am as ve, an as _e } from "./item-BMyRZqY8.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,22 +1,22 @@
|
|
|
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
|
|
2
|
-
import { D as
|
|
3
|
-
import { J as re, F as ie } from "./jszip.min-
|
|
4
|
-
import { l as R } from "./discardConfirm-
|
|
5
|
-
import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { h as V, A as j } from "./app-
|
|
7
|
-
import { u as
|
|
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-CGH3EzsL.js";
|
|
3
|
+
import { J as re, F as ie } from "./jszip.min-BaD6pNmW.js";
|
|
4
|
+
import { l as R } from "./discardConfirm-B61hQjlH.js";
|
|
5
|
+
import { w as le } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-AK0_2AOY.js";
|
|
6
|
+
import { h as V, A as j } from "./app-BMI3O5C9.js";
|
|
7
|
+
import { u as K, b as X, a as H, e as q, F as Q, m as ue, d as ce, f as me } from "./index.vue_vue_type_script_setup_true_lang-BVBi4Vvc.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
|
|
13
|
+
import { u as ge, a as be } from "./menu-BNrZkzpK.js";
|
|
14
|
+
import { w as ye } from "./item-BMyRZqY8.js";
|
|
15
|
+
import { _ as G, a as ke } from "./Product.vue_vue_type_script_setup_true_lang-CvUR3VeZ.js";
|
|
16
|
+
import { L as J } from "./LinkProductSideSheet-BQc-iCkQ.js";
|
|
17
|
+
import { _ as xe } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DaSfi9fx.js";
|
|
18
|
+
import { u as he } from "./linkProducts-CqH6KCgg.js";
|
|
19
|
+
import { m as Se } from "./toExcel-D8feJ9ZC.js";
|
|
20
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: {
|
|
@@ -24,17 +24,17 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
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: 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
|
-
d("div", null,
|
|
37
|
+
d("div", null, Z(v.description), 1),
|
|
38
38
|
d("div", { innerHTML: p.value }, null, 8, Ce),
|
|
39
39
|
d("div", null, [
|
|
40
40
|
u(M, {
|
|
@@ -67,8 +67,8 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
67
67
|
}
|
|
68
68
|
}), $e = /* @__PURE__ */ B({
|
|
69
69
|
__name: "Migrate",
|
|
70
|
-
setup(
|
|
71
|
-
const n =
|
|
70
|
+
setup(A) {
|
|
71
|
+
const n = K(), p = ee(), { isRestaurantLevelMenu: k } = p, o = ne(), { minor: S } = X(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" }, Ce = ["innerHTML"], we = { 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();
|
|
@@ -104,7 +104,7 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
104
104
|
});
|
|
105
105
|
return (x, c) => {
|
|
106
106
|
const b = F("FmSnackbar");
|
|
107
|
-
return !e(k) && !g.value && e(n).version !== e(
|
|
107
|
+
return !e(k) && !g.value && e(n).version !== e(Q).enum.v4 ? (l(), m(b, {
|
|
108
108
|
key: 0,
|
|
109
109
|
class: "!max-w-full",
|
|
110
110
|
title: "New version of menu is out now!",
|
|
@@ -116,10 +116,10 @@ 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-hXupkCVZ.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__ */ B({
|
|
120
120
|
__name: "Products",
|
|
121
|
-
setup(
|
|
122
|
-
const { t: n } = de(), p = ee(), k =
|
|
121
|
+
setup(A) {
|
|
122
|
+
const { t: n } = de(), p = ee(), k = X(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
|
|
@@ -132,13 +132,13 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
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
|
-
if (await o.readMenu(), o.version ===
|
|
141
|
-
const i = o.state.menu, t =
|
|
140
|
+
if (await o.readMenu(), o.version === Q.enum.v4) {
|
|
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 =
|
|
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,
|
|
@@ -166,13 +166,13 @@ 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:
|
|
175
|
-
} =
|
|
173
|
+
catalogManager: N,
|
|
174
|
+
schedulerManager: L
|
|
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,
|
|
@@ -197,10 +197,10 @@ 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", Ie,
|
|
200
|
+
d("div", Ae, [
|
|
201
|
+
d("div", Ee, [
|
|
202
|
+
d("div", Te, [
|
|
203
|
+
d("p", Ie, Z(x.value), 1)
|
|
204
204
|
])
|
|
205
205
|
]),
|
|
206
206
|
d("div", De, [
|
|
@@ -226,8 +226,8 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
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"])
|
|
@@ -236,8 +236,8 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
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
|
|
@@ -245,8 +245,8 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
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
|
|
@@ -256,17 +256,17 @@ const Me = { class: "space-y-24 mb-24" }, Ce = ["innerHTML"], we = { class: "fle
|
|
|
256
256
|
})) : w("", !0)
|
|
257
257
|
], 64)),
|
|
258
258
|
x.value > 0 ? (l(), U(z, { key: 2 }, [
|
|
259
|
-
|
|
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",
|
|
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(N).linkableItems.value,
|
|
267
|
+
"initial-value": e(N).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,
|
|
@@ -282,10 +282,10 @@ 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(L).linkableItems.value,
|
|
286
|
+
"initial-value": e(L).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,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as J, ref as M, computed as A, 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 E, 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 z } from "./dayjs.min-
|
|
2
|
+
import { D as z } from "./dayjs.min-CGH3EzsL.js";
|
|
3
3
|
import { useRouter as Ee } from "vue-router";
|
|
4
4
|
import { O as ze, b as Le } from "./app-5fxKLAzS.js";
|
|
5
|
-
import { a as je, e as Ke, b as Ce, M as Ye, _ as we, N as W, u as xe, d as ge, F as He } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { a as je, e as Ke, b as Ce, M as Ye, _ as we, N as W, u as xe, d as ge, F as He } from "./index.vue_vue_type_script_setup_true_lang-BVBi4Vvc.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 qe, useProxiedModel as Ge, useDialog as Se, components as ee, FmButtonVariant as ye } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as Je } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
9
|
-
import { _ as We } from "./app-
|
|
9
|
+
import { _ as We } from "./app-BMI3O5C9.js";
|
|
10
10
|
import { a as Qe, w as Xe } from "./tooltip-B5BiPMx9.js";
|
|
11
|
-
import { u as Fe, l as Ze } from "./discardConfirm-
|
|
11
|
+
import { u as Fe, l as Ze } from "./discardConfirm-B61hQjlH.js";
|
|
12
12
|
import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
function Me(D) {
|
|
14
14
|
return D ? z(D).format("DD/MM/YY HH:mm") : "-";
|
|
@@ -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 $, 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 { i as q, b as P, d as ie, m as B, e as D, g as O, h as A, u as H, _ as se } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-BMI3O5C9.js";
|
|
6
|
+
import { i as q, b as P, d as ie, m as B, e as D, g as O, h as A, u as H, _ as se } from "./index.vue_vue_type_script_setup_true_lang-BVBi4Vvc.js";
|
|
7
7
|
import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js";
|
|
8
8
|
import { defineStore as ce } from "pinia";
|
|
9
|
-
import { _ as Y, g as ue } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as me, l as de } from "./discardConfirm-
|
|
9
|
+
import { _ as Y, g as ue } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-D8C0do_V.js";
|
|
10
|
+
import { u as me, l as de } from "./discardConfirm-B61hQjlH.js";
|
|
11
11
|
import { c as pe } from "./check-C9mY6LiX.js";
|
|
12
|
-
import "./unit-
|
|
12
|
+
import "./unit-DI5JogzR.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-ntxQXlpV.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 = {
|