@feedmepos/mf-menu 0.32.24-dev.1 → 0.32.25-dev
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-DWa2ro-f.js → App-oBJtlZZ-.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CdIdJY4-.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CFRqNwMm.js} +3 -3
- package/dist/{Catalog-gxjwLBL8.js → Catalog-X6QeStHF.js} +6 -6
- package/dist/{Category-CnQgEoXv.js → Category-BHCqHC6_.js} +4 -4
- package/dist/{Category-b1T4-gOH.js → Category-CQ_F51om.js} +6 -6
- package/dist/{CookingGuide-CUJSj1Un.js → CookingGuide-DnSW4CJb.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-5gt-nLhG.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-27kAtFHA.js} +1 -1
- package/dist/{Group-Dc2EDFF3.js → Group-C17RhtoU.js} +3 -3
- package/dist/{Group-CYhZLZdB.js → Group-CWqVRWu_.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-D-Gl4zab.js → Group.vue_vue_type_script_setup_true_lang-KgrTRiaw.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-_GEQ9BZ6.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Bw9a1p80.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-1mMSNX61.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-C8T16h_U.js} +6 -6
- package/dist/{Ingredient-CH9SBRIS.js → Ingredient-BqFjj0Xf.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-C2nNtBUN.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CW301d2i.js} +2 -2
- package/dist/{LinkProductSideSheet-DiZ3OmeY.js → LinkProductSideSheet-BMSjNF-X.js} +3 -3
- package/dist/{MenuSetting-oQ-pE6-k.js → MenuSetting-BP_PDUER.js} +5 -5
- package/dist/{PrintRoute-DV4KaeiV.js → PrintRoute-l4v-zJrc.js} +5 -5
- package/dist/{Product-ClXRVbms.js → Product-puUjkbSq.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-C78UpW8f.js → Product.vue_vue_type_script_setup_true_lang-Dp7a5bRf.js} +12 -12
- package/dist/{ProductInternalTools-gyVV8L3d.js → ProductInternalTools-VKGI7Fzy.js} +5 -5
- package/dist/{Products-oahICCSP.js → Products-BP6XXI57.js} +32 -32
- package/dist/{Publish-DF3d_3rw.js → Publish-BDEbXjcu.js} +151 -153
- package/dist/{Recipe-49fLn6eg.js → Recipe-IvNkA5o_.js} +4 -4
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-GvOgZC22.js → RuleView.vue_vue_type_script_setup_true_lang-D24M0F3F.js} +2 -2
- package/dist/{Scheduler-Csc7bE5a.js → Scheduler-BV-sG3U0.js} +3 -3
- package/dist/{ServingSequence-CrTHHVER.js → ServingSequence-Dy32GBOv.js} +3 -3
- package/dist/{Setting-x8ttMcXv.js → Setting-2hEKNRPz.js} +5 -5
- package/dist/{Subcategory-5D4NhMF_.js → Subcategory-CA11HBJX.js} +4 -4
- package/dist/{Takeaway-B0ycYVS9.js → Takeaway-8W2PJMhc.js} +4 -4
- package/dist/{Takeaway-n9uPsp_D.js → Takeaway-ds24Rc3p.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BydMa7xB.js → Takeaway.vue_vue_type_script_setup_true_lang-BSyiOhP3.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CEI3II1k.js → Thumbnail.vue_vue_type_script_setup_true_lang-CXQa2QSR.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D-83EMI0.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-rI6agknT.js} +13 -13
- package/dist/{Unit-DTolggPS.js → Unit-CFs9Bypt.js} +2 -2
- package/dist/{Variant-B6w7MCjS.js → Variant-BeBI3fwC.js} +3 -3
- package/dist/{_id_-Ba11JoSh.js → _id_-DEN0fizp.js} +9 -9
- package/dist/{app-TKCPYgHk.js → app-BkrpZ1F6.js} +1 -1
- package/dist/{app-BrxjOGCM.js → app-DXTOSCE8.js} +26 -26
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-j7iSFteX.js → linked-status-DT4GsKB9.js} +2 -2
- package/dist/assets/{menu-export-Ca019WiB.js → menu-export-DFMvZ9lh.js} +2 -2
- package/dist/assets/{override-menu-Co5QYVz1.js → override-menu-C-1OWgCr.js} +2 -2
- package/dist/assets/{validate-menu-DmioO-4V.js → validate-menu-C5aog612.js} +2 -2
- package/dist/{catalog-DC-VBcyF.js → catalog-ClDJiP0g.js} +1 -1
- package/dist/{catalogSetting-DJfq2idY.js → catalogSetting-DFOIszZw.js} +1 -1
- package/dist/{category-C76JJbHE.js → category-iVQCtSHT.js} +1 -1
- package/dist/{currency-DtU-NGcm.js → currency-BK-5iUrj.js} +1 -1
- package/dist/{dayjs.min-B7AQ2t3u.js → dayjs.min-BRGHPywQ.js} +1 -1
- package/dist/{index-BjeV1NsI.js → index-Bgxpsz4y.js} +3 -3
- package/dist/{index-C4K8XMtw.js → index-CIrQEHaA.js} +1 -1
- package/dist/{index-C_w1SduC.js → index-D3j5gcJd.js} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-PaZUOl8m.js → index.vue_vue_type_script_setup_true_lang-Bl5gVHZN.js} +4 -4
- package/dist/{item-D0Bi2cpK.js → item-qo4jr-BY.js} +13 -13
- package/dist/{jszip.min-r9UHwmze.js → jszip.min-CE-l7St7.js} +2 -2
- package/dist/{menu-mRn5dsWt.js → menu-Chjaib3T.js} +1 -1
- package/dist/{menuV2-m5ZdhFyl.js → menuV2-D5wN00Wx.js} +57 -57
- package/dist/{priceTier-2OP34EBo.js → priceTier-B-jiVm5I.js} +1 -1
- package/dist/{scheduler-CkgI9i8e.js → scheduler-aFOgeFS0.js} +4 -4
- package/dist/{subcategory-D8ilv4ln.js → subcategory-UKvVvM-z.js} +2 -2
- package/dist/{toExcel-CeAZQsHE.js → toExcel-BPzszwzN.js} +2 -2
- package/dist/{unit-BgDtOYqv.js → unit-DIRVLvnx.js} +2 -2
- package/package.json +1 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { defineComponent as E, computed as g, ref as j, resolveComponent as M, createBlock as y, openBlock as m, unref as e, withCtx as c, createElementVNode as i, toDisplayString as q, createVNode as o, createCommentVNode as G, createElementBlock as A, Fragment as P } from "vue";
|
|
2
|
-
import { D as F } from "./dayjs.min-
|
|
3
|
-
import { J as oe, F as ne } from "./jszip.min-
|
|
4
|
-
import { u as J, G as W, B as R, H, A as Z, D as ae, I as re, J as U, K as se } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { w as ie } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { D as F } from "./dayjs.min-BRGHPywQ.js";
|
|
3
|
+
import { J as oe, F as ne } from "./jszip.min-CE-l7St7.js";
|
|
4
|
+
import { u as J, G as W, B as R, H, A as Z, D as ae, I as re, J as U, K as se } from "./index.vue_vue_type_script_setup_true_lang-Bl5gVHZN.js";
|
|
5
|
+
import { w as ie } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-C8T16h_U.js";
|
|
6
6
|
import { useCoreStore as K, useI18n as le } from "@feedmepos/mf-common";
|
|
7
7
|
import { useDialog as Q, useDialogChild as ue, useSnackbar as X, useBreakpoints as ce, FmButtonVariant as $, FmButtonColorThemeVariant as h } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as V } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
9
9
|
import { _ as me, a as z } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
10
10
|
import { _ as de } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
11
|
-
import { u as pe, a as fe } from "./menu-
|
|
12
|
-
import { u as _e } from "./item-
|
|
13
|
-
import { _ as L, a as ve } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { L as O } from "./LinkProductSideSheet-
|
|
15
|
-
import { _ as ge } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as be } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { m as ye } from "./toExcel-
|
|
11
|
+
import { u as pe, a as fe } from "./menu-Chjaib3T.js";
|
|
12
|
+
import { u as _e } from "./item-qo4jr-BY.js";
|
|
13
|
+
import { _ as L, a as ve } from "./Product.vue_vue_type_script_setup_true_lang-Dp7a5bRf.js";
|
|
14
|
+
import { L as O } from "./LinkProductSideSheet-BMSjNF-X.js";
|
|
15
|
+
import { _ as ge } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-rI6agknT.js";
|
|
16
|
+
import { u as be } from "./Thumbnail.vue_vue_type_script_setup_true_lang-CXQa2QSR.js";
|
|
17
|
+
import { m as ye } from "./toExcel-BPzszwzN.js";
|
|
18
18
|
const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "flex justify-end gap-8" }, Se = /* @__PURE__ */ E({
|
|
19
19
|
__name: "ConfirmActionDialog",
|
|
20
20
|
props: {
|
|
@@ -22,8 +22,8 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
22
22
|
value: {},
|
|
23
23
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
24
24
|
},
|
|
25
|
-
setup(
|
|
26
|
-
const t =
|
|
25
|
+
setup(C) {
|
|
26
|
+
const t = C, S = g(() => t.message.replace("[[value]]", t.value)), k = j(""), r = Q(), { emitAction: x } = ue();
|
|
27
27
|
return (d, s) => {
|
|
28
28
|
const p = M("FmTextField"), f = M("FmButton"), _ = M("FmForm");
|
|
29
29
|
return m(), y(_, {
|
|
@@ -65,7 +65,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
65
65
|
}
|
|
66
66
|
}), Me = /* @__PURE__ */ E({
|
|
67
67
|
__name: "Migrate",
|
|
68
|
-
setup(
|
|
68
|
+
setup(C) {
|
|
69
69
|
const t = J(), S = K(), k = X(), { minor: r } = W(k), x = j(!1), d = Q();
|
|
70
70
|
async function s() {
|
|
71
71
|
p.value || x.value || d.open({
|
|
@@ -111,9 +111,9 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
111
111
|
})) : G("", !0);
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
}),
|
|
114
|
+
}), we = "/assets/menu-export-DFMvZ9lh.js", Ce = { class: "flex-1 flex justify-between gap-8 pl-8" }, Fe = { class: "flex items-center" }, $e = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Ve = { class: "fm-typo-en-body-md-600 font-semibold" }, Ee = { class: "flex gap-8" }, Je = /* @__PURE__ */ E({
|
|
115
115
|
__name: "Products",
|
|
116
|
-
setup(
|
|
116
|
+
setup(C) {
|
|
117
117
|
const { t } = le(), S = K(), k = W(X()), r = J(), x = g(() => r.rules.item), d = _e(), s = g(() => !r.state.currentSchedulerId), { selectedCategories: p } = pe(), f = g(() => ({
|
|
118
118
|
...ae.menuV4ToV3(re(r.state.menu)),
|
|
119
119
|
_id: r.state.menu._id,
|
|
@@ -124,8 +124,8 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
124
124
|
});
|
|
125
125
|
async function l(u, n) {
|
|
126
126
|
const v = new oe();
|
|
127
|
-
for (let
|
|
128
|
-
v.file(`${n[
|
|
127
|
+
for (let w = 0; w < u.length; w++)
|
|
128
|
+
v.file(`${n[w]}.xlsx`, u[w]);
|
|
129
129
|
const a = await v.generateAsync({ type: "blob" });
|
|
130
130
|
ne.saveAs(a, `books_${F().format("DD-MM-YYYY_HH-mm")}.zip`);
|
|
131
131
|
}
|
|
@@ -138,7 +138,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
138
138
|
`addonGroup_${n}`,
|
|
139
139
|
`itemLinkedAddon_${n}`
|
|
140
140
|
], a = await se(
|
|
141
|
-
|
|
141
|
+
we,
|
|
142
142
|
JSON.stringify({
|
|
143
143
|
menu: u,
|
|
144
144
|
attributeSettings: S.itemAttributeSettings.value
|
|
@@ -160,11 +160,11 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
160
160
|
}
|
|
161
161
|
const {
|
|
162
162
|
menuItems: T,
|
|
163
|
-
categories:
|
|
164
|
-
linkItemRules:
|
|
163
|
+
categories: D,
|
|
164
|
+
linkItemRules: I,
|
|
165
165
|
handleSubmit: N,
|
|
166
|
-
catalogManager:
|
|
167
|
-
schedulerManager:
|
|
166
|
+
catalogManager: Y,
|
|
167
|
+
schedulerManager: B
|
|
168
168
|
} = be(!1), ee = ce(), te = g(() => ee.breakpoints.value.xs);
|
|
169
169
|
return fe().resetOnMount(), (u, n) => {
|
|
170
170
|
const v = M("fm-button");
|
|
@@ -176,7 +176,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
176
176
|
o(ve)
|
|
177
177
|
]),
|
|
178
178
|
"append-heading": c(() => [
|
|
179
|
-
i("div",
|
|
179
|
+
i("div", Ce, [
|
|
180
180
|
i("div", Fe, [
|
|
181
181
|
i("div", $e, [
|
|
182
182
|
i("p", Ve, q(_.value), 1)
|
|
@@ -241,12 +241,12 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
241
241
|
onClick: n[0] || (n[0] = (a) => e(d).create(null))
|
|
242
242
|
}, null, 8, ["label"])) : s.value ? (m(), y(O, {
|
|
243
243
|
key: 1,
|
|
244
|
-
"categorized-items": e(
|
|
245
|
-
"initial-value": e(
|
|
244
|
+
"categorized-items": e(Y).linkableItems.value,
|
|
245
|
+
"initial-value": e(Y).currentItems.value,
|
|
246
246
|
"show-variant": !1,
|
|
247
247
|
"menu-items": e(T),
|
|
248
|
-
categories: e(
|
|
249
|
-
"link-item-rules": e(
|
|
248
|
+
categories: e(D),
|
|
249
|
+
"link-item-rules": e(I),
|
|
250
250
|
"no-scheduler": s.value,
|
|
251
251
|
onSubmit: e(N)
|
|
252
252
|
}, {
|
|
@@ -260,12 +260,12 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
260
260
|
_: 1
|
|
261
261
|
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (m(), y(O, {
|
|
262
262
|
key: 2,
|
|
263
|
-
"categorized-items": e(
|
|
264
|
-
"initial-value": e(
|
|
263
|
+
"categorized-items": e(B).linkableItems.value,
|
|
264
|
+
"initial-value": e(B).currentItems.value,
|
|
265
265
|
"show-variant": !1,
|
|
266
266
|
"menu-items": e(T),
|
|
267
|
-
categories: e(
|
|
268
|
-
"link-item-rules": e(
|
|
267
|
+
categories: e(D),
|
|
268
|
+
"link-item-rules": e(I),
|
|
269
269
|
"no-scheduler": s.value,
|
|
270
270
|
onSubmit: e(N)
|
|
271
271
|
}, {
|