@feedmepos/mf-menu 0.31.18-prod → 0.31.19-beta
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-CA9Sl2_e.js → App-y2Q2D6AO.js} +2400 -1296
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DXC06G_p.js → ApplyProduct.vue_vue_type_script_setup_true_lang-XV96dt6h.js} +2 -2
- package/dist/{Catalog-DO0Z3SSz.js → Catalog-Di-YSP-w.js} +5 -5
- package/dist/{Category-B1kXrXpy.js → Category-BzydRf7k.js} +21 -21
- package/dist/{Category-DTh_5WI5.js → Category-CAccN9m6.js} +8 -8
- package/dist/{CookingGuide-eHhSbisd.js → CookingGuide-BQcVxx1R.js} +66 -66
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DKGEMS0s.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BjUqhzCZ.js} +1 -1
- package/dist/{Group-Bd61FXOa.js → Group-B8TuooWf.js} +3 -3
- package/dist/{Group-Dh5RNyxf.js → Group-CAV74Npz.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-p3ZeU8Ad.js → Group.vue_vue_type_script_setup_true_lang-ClnFek9W.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CuR3HOn4.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DsC5e95X.js} +3 -3
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BjwTTR43.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DV0-XcfW.js} +3078 -3074
- package/dist/{Ingredient-BLfFgX0g.js → Ingredient-DMLmjp-1.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-C2f4oQV_.js → InventoryBinding.vue_vue_type_script_setup_true_lang-C0tjGp89.js} +2 -2
- package/dist/{LinkProductSideSheet-DPIxXikN.js → LinkProductSideSheet-DIvOzMB8.js} +1 -1
- package/dist/{MenuSetting-UVUYswl1.js → MenuSetting-C5sIpDMN.js} +16 -16
- package/dist/{PrintRoute-B4WpCa5j.js → PrintRoute-NHoHTnMc.js} +26 -26
- package/dist/{Product-DMqUEuUP.js → Product-C2SOvPy4.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-DvqDdaNh.js → Product.vue_vue_type_script_setup_true_lang-BEHnUKcc.js} +62 -59
- package/dist/{ProductInternalTools-BjQILwqA.js → ProductInternalTools-eXFZoo1G.js} +14 -14
- package/dist/{Products-BR612MbF.js → Products-3J5DcGEc.js} +15 -15
- package/dist/{Publish-HQprte7i.js → Publish-BdWd54a5.js} +32 -32
- package/dist/{Recipe-CW8DpUib.js → Recipe-DrNJifKH.js} +9 -9
- package/dist/{Scheduler-jwxuWWBc.js → Scheduler-OLKgjhjM.js} +3 -3
- package/dist/{ServingSequence-DILOiy8d.js → ServingSequence-DZ-eaRkW.js} +25 -25
- package/dist/{Setting-DtHcu5eE.js → Setting-t5Edfa6F.js} +10 -10
- package/dist/{Subcategory-BuBhmpHK.js → Subcategory-B1BeXahn.js} +18 -18
- package/dist/{Takeaway-CFH-2jGX.js → Takeaway-CS31a0G6.js} +1 -1
- package/dist/{Takeaway-Dadg_p4p.js → Takeaway-q69U7AjK.js} +10 -10
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Ccm340Do.js → Takeaway.vue_vue_type_script_setup_true_lang-CNheVEqy.js} +17 -17
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BO_RY7Nb.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-0kXXOsyC.js} +356 -352
- package/dist/{Unit-BhC7HKdj.js → Unit-R0fBKDBQ.js} +8 -8
- package/dist/{Variant-op1jI8lu.js → Variant-DdIfbckf.js} +8 -8
- package/dist/{_id_-C8aH00wO.js → _id_-Cpxz3UoN.js} +17 -17
- package/dist/{app-CgdrcHjA.js → app-CMGlnsG5.js} +24 -24
- package/dist/{app-DTuhoxK_.js → app-DRorRq_c.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/components/Announcements.vue.d.ts +19 -0
- package/dist/apps/mf-menu/src/components/feature/Fields/OrderFrom.vue.d.ts +1 -1
- package/dist/apps/mf-menu/src/helper/menu.d.ts +1 -1
- package/dist/apps/mf-menu/src/stores/announcement/announcement.d.ts +11 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-CdVNB55V.js +24 -0
- package/dist/assets/override-menu-CjvOi-J-.js +24 -0
- package/dist/assets/validate-menu-BU_-Jge5.js +24 -0
- package/dist/{catalog-C_ivwYaQ.js → catalog-BXSv7rZo.js} +1 -1
- package/dist/{catalogSetting-DZueIrzX.js → catalogSetting-DhXLcwI_.js} +1 -1
- package/dist/{category-B3iKQFQ-.js → category-LHZTSH3_.js} +1 -1
- package/dist/{currency-CA5FQbXi.js → currency-C05JOYSJ.js} +1 -1
- package/dist/{dayjs.min-B5JdMy-O.js → dayjs.min-OqJAuW-9.js} +1 -1
- package/dist/{index-g0Su2v11.js → index-BgrBG_Iz.js} +11 -11
- package/dist/{index-jZfKRlag.js → index-CxytOxGX.js} +1 -1
- package/dist/{index-BFdAL_N3.js → index-kz099Vvw.js} +6 -6
- package/dist/{item-SVoStXDW.js → item-vz-nrIWG.js} +694 -691
- package/dist/{jszip.min-DYjqumCW.js → jszip.min-C2aY4t8L.js} +2 -2
- package/dist/menu-CAVt_lFp.js +107896 -0
- package/dist/{menu-CTQtotYO.js → menu-DJkyk-fC.js} +1 -1
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-D7hqwCP7.js → priceTier-xvRS9QN2.js} +1 -1
- package/dist/{scheduler-sOWjTP9q.js → scheduler-Du42t5zf.js} +3 -3
- package/dist/{subcategory-DzOnwchb.js → subcategory-CqKHknsQ.js} +219 -219
- package/dist/{toExcel-CXiBEHW2.js → toExcel-BvBlj-X5.js} +2 -2
- package/dist/{unit-CejxJLsQ.js → unit-DENherye.js} +1 -1
- package/package.json +3 -2
- package/dist/assets/linked-status-DjuegQzl.js +0 -24
- package/dist/assets/override-menu-SwLrxhgz.js +0 -24
- package/dist/assets/validate-menu-kf0hkaus.js +0 -24
- package/dist/menu-GZ7mL7Mu.js +0 -132202
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { getCurrentInstance as te, defineComponent as oe, computed as h, watch as ne, h as R, resolveComponent as S, createElementBlock as C, openBlock as _, Fragment as O, normalizeClass as D, createElementVNode as k, createVNode as V, unref as t, isRef as j, withCtx as P, renderList as ie, createBlock as G, createCommentVNode as $, toDisplayString as
|
|
2
|
-
import {
|
|
1
|
+
import { getCurrentInstance as te, defineComponent as oe, computed as h, watch as ne, h as R, resolveComponent as S, createElementBlock as C, openBlock as _, Fragment as O, normalizeClass as D, createElementVNode as k, createVNode as V, unref as t, isRef as j, withCtx as P, renderList as ie, createBlock as G, createCommentVNode as $, toDisplayString as I, withModifiers as H } from "vue";
|
|
2
|
+
import { D as q, u as Q, O as W, J as N, G as z, H as L, A as se, ar as J } from "./menu-CAVt_lFp.js";
|
|
3
3
|
import { useI18n as X, useCoreStore as re } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as le, useSnackbar as Z, FmButtonVariant as A, components as ce, useBreakpoints as de } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as ue } from "./app-
|
|
5
|
+
import { _ as ue } from "./app-CMGlnsG5.js";
|
|
6
6
|
import { _ as me } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
7
|
-
import { a as ye, l as ee, T as pe } from "./index-
|
|
7
|
+
import { a as ye, l as ee, T as pe } from "./index-kz099Vvw.js";
|
|
8
8
|
import { u as fe } from "./search-BAPEUu1R.js";
|
|
9
|
-
import { f as F } from "./currency-
|
|
9
|
+
import { f as F } from "./currency-C05JOYSJ.js";
|
|
10
10
|
import { defineStore as _e } from "pinia";
|
|
11
|
-
import { C as ke } from "./catalog-
|
|
11
|
+
import { C as ke } from "./catalog-BXSv7rZo.js";
|
|
12
12
|
import { c as ve } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
function we(T, U, l, m) {
|
|
14
14
|
var y, v, w, g;
|
|
@@ -79,8 +79,8 @@ const ge = _e("takeaway-manager", () => {
|
|
|
79
79
|
"onUpdate:takeaway": async (d) => {
|
|
80
80
|
await m.updateMenu(
|
|
81
81
|
{
|
|
82
|
-
module:
|
|
83
|
-
operation:
|
|
82
|
+
module: z.F_MENU_MODULE_V4_KEY.enum.takeaway,
|
|
83
|
+
operation: N.F_OPERATION_TYPE.update,
|
|
84
84
|
data: d,
|
|
85
85
|
link: ee(d.usedBy || [])
|
|
86
86
|
},
|
|
@@ -108,8 +108,8 @@ const ge = _e("takeaway-manager", () => {
|
|
|
108
108
|
}).onPrimary(async () => {
|
|
109
109
|
await m.updateMenu(
|
|
110
110
|
{
|
|
111
|
-
module:
|
|
112
|
-
operation:
|
|
111
|
+
module: z.F_MENU_MODULE_V4_KEY.enum.takeaway,
|
|
112
|
+
operation: N.F_OPERATION_TYPE.delete,
|
|
113
113
|
data: a._id
|
|
114
114
|
},
|
|
115
115
|
a.name,
|
|
@@ -140,7 +140,7 @@ const ge = _e("takeaway-manager", () => {
|
|
|
140
140
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
141
141
|
}, Ke = {
|
|
142
142
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
143
|
-
},
|
|
143
|
+
}, Ie = {
|
|
144
144
|
key: 1,
|
|
145
145
|
class: "xs:pt-24"
|
|
146
146
|
}, je = /* @__PURE__ */ oe({
|
|
@@ -227,7 +227,7 @@ const ge = _e("takeaway-manager", () => {
|
|
|
227
227
|
}) : null])
|
|
228
228
|
}]), M = de(), b = h(() => M.breakpoints.value.xs);
|
|
229
229
|
return (o, s) => {
|
|
230
|
-
const p = S("fm-search"), x = S("fm-table"),
|
|
230
|
+
const p = S("fm-search"), x = S("fm-table"), B = S("fm-button");
|
|
231
231
|
return g.value.length ? (_(), C(O, {
|
|
232
232
|
key: 0
|
|
233
233
|
}, [b.value ? (_(), C(O, {
|
|
@@ -244,7 +244,7 @@ const ge = _e("takeaway-manager", () => {
|
|
|
244
244
|
onClick: () => {
|
|
245
245
|
f.value.edit && t(m).updateTakeaway(n);
|
|
246
246
|
}
|
|
247
|
-
}, [k("div", Ue, [k("p", Me,
|
|
247
|
+
}, [k("div", Ue, [k("p", Me, I(n.name), 1), k("p", Ee, I(`${t(J)(t(l).categorizedItems, n.usedBy).flatMap((E) => E.items).length ?? 0} items linked`), 1), k("p", Ke, " Price: " + I(w.value.symbol) + I(t(F)(n.price, !1)), 1)]), f.value.delete ? (_(), G(B, {
|
|
248
248
|
key: 0,
|
|
249
249
|
variant: t(A).Tertiary,
|
|
250
250
|
"text-color": "neutral-gray-400",
|
|
@@ -271,7 +271,7 @@ const ge = _e("takeaway-manager", () => {
|
|
|
271
271
|
})
|
|
272
272
|
}, null, 8, ["column-defs", "loading", "page-size", "row-data", "search-value"])]),
|
|
273
273
|
_: 1
|
|
274
|
-
})]))], 64)) : (_(), C("div",
|
|
274
|
+
})]))], 64)) : (_(), C("div", Ie, [V(t(me), {
|
|
275
275
|
subtitle: t(e)("menu.takeaway.empty.subtitle"),
|
|
276
276
|
title: t(e)("menu.takeaway.empty.title")
|
|
277
277
|
}, {
|
|
@@ -281,15 +281,15 @@ const ge = _e("takeaway-manager", () => {
|
|
|
281
281
|
action: "add",
|
|
282
282
|
"apply-product": "",
|
|
283
283
|
"onUpdate:takeaway": s[3] || (s[3] = (n) => t(y).updateMenu({
|
|
284
|
-
module: t(
|
|
285
|
-
operation: t(
|
|
284
|
+
module: t(z.F_MENU_MODULE_V4_KEY).enum.takeaway,
|
|
285
|
+
operation: t(N.F_OPERATION_TYPE).create,
|
|
286
286
|
data: n,
|
|
287
287
|
link: t(ee)(n.usedBy || [])
|
|
288
288
|
}, n.name))
|
|
289
289
|
}, {
|
|
290
290
|
default: P(({
|
|
291
291
|
trigger: n
|
|
292
|
-
}) => [V(
|
|
292
|
+
}) => [V(B, {
|
|
293
293
|
"prepend-icon": "add",
|
|
294
294
|
label: t(e)("menu.takeaway.empty.action"),
|
|
295
295
|
onClick: H(n, ["stop"])
|