@feedmepos/mf-menu 0.32.38-dev.1 → 0.32.38-dev.2
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-DGdS9nht.js → App-Cfc6q7R4.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CBy3XScH.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BXtuSeAK.js} +3 -3
- package/dist/{Catalog-BuI0IVpf.js → Catalog-BwWG8aVq.js} +6 -6
- package/dist/{Category-DbL3CS-5.js → Category-CTSxrlD3.js} +4 -4
- package/dist/{Category-DSTt-Sl6.js → Category-lIONtEO5.js} +4 -4
- package/dist/{CookingGuide-Baw7iMDl.js → CookingGuide-Ba6fLxDH.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BDZDojOt.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BDUxrr9V.js} +1 -1
- package/dist/{Group-D158_Fr0.js → Group-Bs1GXOJ6.js} +3 -3
- package/dist/{Group-BnzmEllK.js → Group-C577jf-a.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-C3H6xvlY.js → Group.vue_vue_type_script_setup_true_lang-DwIQSBka.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D2G40Yc6.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DC41D4_B.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-D-JOSWUn.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DydOyrWz.js} +6 -6
- package/dist/{Ingredient-C-gP75uQ.js → Ingredient-DMdt_R8F.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BpuYVaKl.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DExCzIH7.js} +2 -2
- package/dist/{LinkProductSideSheet-DN5fbJVw.js → LinkProductSideSheet-C5EJF94w.js} +3 -3
- package/dist/{MenuSetting-CjQ6_Ti_.js → MenuSetting-DWPluEWH.js} +5 -5
- package/dist/{PrintRoute-DK25vS8X.js → PrintRoute-BmebtmN5.js} +4 -4
- package/dist/{Product-DCEMAuw3.js → Product-D2GO3tYo.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-DCutU0Ny.js → Product.vue_vue_type_script_setup_true_lang-r6xF3HkK.js} +12 -12
- package/dist/{ProductInternalTools-CiDa1V3D.js → ProductInternalTools-Dep9C9sT.js} +5 -5
- package/dist/{Products-DUxtMLiy.js → Products-kXzyZ-qw.js} +29 -29
- package/dist/{Publish-Bs5zVwDw.js → Publish-DiFxcujy.js} +3 -3
- package/dist/{Recipe-_WCpFOU6.js → Recipe-Bb0_R7pY.js} +4 -4
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-3AVOVYpW.js → RuleView.vue_vue_type_script_setup_true_lang-BZi9zjue.js} +207 -207
- package/dist/{Scheduler-BqFwfRlm.js → Scheduler-BosF_svj.js} +3 -3
- package/dist/{ServingSequence-ByNsE8ha.js → ServingSequence-Ka7ZszUb.js} +3 -3
- package/dist/{Setting-widqJGfT.js → Setting-ZZ-N5_ht.js} +5 -5
- package/dist/{Subcategory-DXaz2g4-.js → Subcategory-BGCzSst1.js} +5 -5
- package/dist/{Takeaway-Ce_y1_UW.js → Takeaway-CILmyRDs.js} +1 -1
- package/dist/{Takeaway-DVBJn6re.js → Takeaway-Daa_CJ-H.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DK2Cp2Dg.js → Takeaway.vue_vue_type_script_setup_true_lang-B1jejzX7.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CAiNaQMP.js → Thumbnail.vue_vue_type_script_setup_true_lang-CCBa35X7.js} +4 -4
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-BPs9D7Pq.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-PbYAxItr.js} +1 -1
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-nFLEeipN.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-j4xROEG7.js} +1507 -1505
- package/dist/{Unit-XJLHLSYf.js → Unit-D21SP540.js} +2 -2
- package/dist/{Variant-BA1AQl9-.js → Variant-BDf9DDmG.js} +3 -3
- package/dist/{_id_-CA2rV7Eb.js → _id_-R8SE-ZmQ.js} +9 -9
- package/dist/{app-C9zsFCoJ.js → app-BASWdzxI.js} +26 -26
- package/dist/{app-D2Sxejos.js → app-CqvEAGdq.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-BrleJSCp.js → linked-status-Cq9TLj-4.js} +2 -2
- package/dist/assets/{menu-export-Da3-wtnw.js → menu-export-Blxjlc7o.js} +2 -2
- package/dist/assets/{override-menu-ChjeVe4O.js → override-menu-Cny8YlWs.js} +2 -2
- package/dist/assets/{validate-menu-YVTxOfeq.js → validate-menu-CAWtxE9g.js} +2 -2
- package/dist/{catalog-YvUT-JIh.js → catalog-D1ldj55y.js} +1 -1
- package/dist/{catalogSetting-CXOYJZO3.js → catalogSetting-DdCMyQ1n.js} +1 -1
- package/dist/{currency-np4zdWW1.js → currency-CozWj5-6.js} +1 -1
- package/dist/{dayjs.min-CSuLNurY.js → dayjs.min-DjVUMZe1.js} +1 -1
- package/dist/{index-3wQe-6lg.js → index-B3uidhol.js} +1 -1
- package/dist/{index-Cek4Z9eM.js → index-CZ2slj-T.js} +3 -3
- package/dist/{index-CFbB7bM3.js → index-Cw3iqI80.js} +5 -5
- package/dist/{index.vue_vue_type_script_setup_true_lang-HZXySVXs.js → index.vue_vue_type_script_setup_true_lang-BMBAQiGH.js} +255 -255
- package/dist/{item-DR9qrNf6.js → item-ncimpz9a.js} +1818 -1815
- package/dist/{jszip.min-Bz8ZTO2s.js → jszip.min-DaMSaZr3.js} +383 -383
- package/dist/{menu-BWsDRctK.js → menu-Cb5CM_BJ.js} +1 -1
- package/dist/{menuV2-CfsbyMis.js → menuV2-2B1i4-4v.js} +28 -28
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-BNCJtFVM.js → priceTier-H4TWDspA.js} +1 -1
- package/dist/{rules-DU-MRKWH.js → rules-aP3AB4aS.js} +3 -3
- package/dist/{scheduler-BizSj8q8.js → scheduler-CnQo8MiW.js} +4 -4
- package/dist/{toExcel-DhRigI9c.js → toExcel-C99U873x.js} +2 -2
- package/dist/{unit-CaOym7HP.js → unit-DiCr5V9I.js} +2 -2
- package/package.json +1 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as E, computed as g, ref as
|
|
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-
|
|
1
|
+
import { defineComponent as E, computed as g, ref as O, 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-DjVUMZe1.js";
|
|
3
|
+
import { J as oe, F as ne } from "./jszip.min-DaMSaZr3.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-BMBAQiGH.js";
|
|
5
|
+
import { w as ie } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DydOyrWz.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
|
|
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-Cb5CM_BJ.js";
|
|
12
|
+
import { u as _e } from "./item-ncimpz9a.js";
|
|
13
|
+
import { _ as L, a as ve } from "./Product.vue_vue_type_script_setup_true_lang-r6xF3HkK.js";
|
|
14
|
+
import { L as j } from "./LinkProductSideSheet-C5EJF94w.js";
|
|
15
|
+
import { _ as ge } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-j4xROEG7.js";
|
|
16
|
+
import { u as be } from "./Thumbnail.vue_vue_type_script_setup_true_lang-CCBa35X7.js";
|
|
17
|
+
import { m as ye } from "./toExcel-C99U873x.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: {
|
|
@@ -23,7 +23,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
23
23
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
24
24
|
},
|
|
25
25
|
setup(C) {
|
|
26
|
-
const t = C, S = g(() => t.message.replace("[[value]]", t.value)), k =
|
|
26
|
+
const t = C, S = g(() => t.message.replace("[[value]]", t.value)), k = O(""), 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(_, {
|
|
@@ -66,7 +66,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
66
66
|
}), Me = /* @__PURE__ */ E({
|
|
67
67
|
__name: "Migrate",
|
|
68
68
|
setup(C) {
|
|
69
|
-
const t = J(), S = K(), k = X(), { minor: r } = W(k), x =
|
|
69
|
+
const t = J(), S = K(), k = X(), { minor: r } = W(k), x = O(!1), d = Q();
|
|
70
70
|
async function s() {
|
|
71
71
|
p.value || x.value || d.open({
|
|
72
72
|
title: "Migrate to new version",
|
|
@@ -111,7 +111,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
111
111
|
})) : G("", !0);
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
}), we = "/assets/menu-export-
|
|
114
|
+
}), we = "/assets/menu-export-Blxjlc7o.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
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(() => ({
|
|
@@ -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: I,
|
|
164
|
+
linkItemRules: D,
|
|
165
165
|
handleSubmit: N,
|
|
166
|
-
catalogManager:
|
|
167
|
-
schedulerManager:
|
|
166
|
+
catalogManager: B,
|
|
167
|
+
schedulerManager: Y
|
|
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");
|
|
@@ -239,14 +239,14 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
239
239
|
label: e(t)("menu.products.actions.add"),
|
|
240
240
|
"prepend-icon": "add",
|
|
241
241
|
onClick: n[0] || (n[0] = (a) => e(d).create(null))
|
|
242
|
-
}, null, 8, ["label"])) : s.value ? (m(), y(
|
|
242
|
+
}, null, 8, ["label"])) : s.value ? (m(), y(j, {
|
|
243
243
|
key: 1,
|
|
244
|
-
"categorized-items": e(
|
|
245
|
-
"initial-value": e(
|
|
244
|
+
"categorized-items": e(B).linkableItems.value,
|
|
245
|
+
"initial-value": e(B).currentItems.value,
|
|
246
246
|
"show-variant": !1,
|
|
247
247
|
"menu-items": e(T),
|
|
248
|
-
categories: e(
|
|
249
|
-
"link-item-rules": e(
|
|
248
|
+
categories: e(I),
|
|
249
|
+
"link-item-rules": e(D),
|
|
250
250
|
"no-scheduler": s.value,
|
|
251
251
|
onSubmit: e(N)
|
|
252
252
|
}, {
|
|
@@ -258,14 +258,14 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
258
258
|
}, null, 8, ["label", "onClick"])
|
|
259
259
|
]),
|
|
260
260
|
_: 1
|
|
261
|
-
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (m(), y(
|
|
261
|
+
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (m(), y(j, {
|
|
262
262
|
key: 2,
|
|
263
|
-
"categorized-items": e(
|
|
264
|
-
"initial-value": e(
|
|
263
|
+
"categorized-items": e(Y).linkableItems.value,
|
|
264
|
+
"initial-value": e(Y).currentItems.value,
|
|
265
265
|
"show-variant": !1,
|
|
266
266
|
"menu-items": e(T),
|
|
267
|
-
categories: e(
|
|
268
|
-
"link-item-rules": e(
|
|
267
|
+
categories: e(I),
|
|
268
|
+
"link-item-rules": e(D),
|
|
269
269
|
"no-scheduler": s.value,
|
|
270
270
|
onSubmit: e(N)
|
|
271
271
|
}, {
|
|
@@ -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-DjVUMZe1.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 { B as Ne, H as Re, G as ve, ac as Ee, a4 as be, A as q, u as _e, I as pe, J as Le } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { B as Ne, H as Re, G as ve, ac as Ee, a4 as be, A as q, u as _e, I as pe, J as Le } from "./index.vue_vue_type_script_setup_true_lang-BMBAQiGH.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-BASWdzxI.js";
|
|
10
10
|
import { a as Ye, w as Je } 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 U } 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 { Q as q, G as $, I as ie, D as P, J as se, H as Y, M as O, A as T, u as H, a4 as re } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./app-BASWdzxI.js";
|
|
6
|
+
import { Q as q, G as $, I as ie, D as P, J as se, H as Y, M as O, A as T, u as H, a4 as re } from "./index.vue_vue_type_script_setup_true_lang-BMBAQiGH.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 B, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as B, g as me } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-DExCzIH7.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-DiCr5V9I.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",
|