@feedmepos/mf-menu 0.31.30-beta.1 → 0.31.31-beta.1
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-CrQBq4gc.js → App-1TX8v7ZA.js} +10 -8
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-D00UOSsK.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CR7QrFUG.js} +12 -12
- package/dist/{Catalog-D4m8x_f2.js → Catalog-DWClc58s.js} +75 -74
- package/dist/{Category-sQll5ITQ.js → Category-BqKFvFam.js} +60 -60
- package/dist/{Category-Ql1kDDH-.js → Category-IYMtMoT-.js} +28 -28
- package/dist/{CookingGuide-CSutufcu.js → CookingGuide-BayJ6zj4.js} +103 -101
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BqhYFXNG.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Ceq86b3d.js} +1 -1
- package/dist/{Group-CnBE6CiB.js → Group-LqSX7ue6.js} +1 -1
- package/dist/{Group-YqVh5hC0.js → Group-RujTPTns.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-D9TSH4sS.js → Group.vue_vue_type_script_setup_true_lang-Dj9ZmkYe.js} +138 -137
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CqriuXVC.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D5GWkh3G.js} +16 -16
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-CaIU0RsG.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-C4IrA3es.js} +4616 -4610
- package/dist/{Ingredient-MhLxJzAU.js → Ingredient-_tc8llr1.js} +65 -64
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CIbExsMI.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DLFDf-VZ.js} +14 -12
- package/dist/{LinkProductSideSheet-D7vYZbFy.js → LinkProductSideSheet-C6rF-G1v.js} +14 -12
- package/dist/{MenuSetting-n0me5wY8.js → MenuSetting-xDHeeROY.js} +27 -26
- package/dist/{PrintRoute-CudZZYbe.js → PrintRoute-B_TFMn5e.js} +17 -15
- package/dist/{Product-DPZQgWET.js → Product-DdEEqrtc.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-CdaeZy_o.js → Product.vue_vue_type_script_setup_true_lang-zcistmwh.js} +257 -256
- package/dist/{ProductInternalTools-DgANHliV.js → ProductInternalTools-BcC7BF6W.js} +45 -45
- package/dist/{Products-Ez4R3jKW.js → Products-Cu0cJshV.js} +74 -72
- package/dist/{Publish-B4DEPe1I.js → Publish-Bm3Xiks1.js} +34 -32
- package/dist/{Recipe-Cripr-gY.js → Recipe-DWK-luIZ.js} +65 -63
- package/dist/{Scheduler-C-OV9d7d.js → Scheduler-Cb1TeBhW.js} +19 -19
- package/dist/{ServingSequence-DAumDXP1.js → ServingSequence-evSIET_8.js} +34 -34
- package/dist/{Setting-ByaHpIAN.js → Setting-Cn3kwC9F.js} +54 -53
- package/dist/{Subcategory-ro2aGt2H.js → Subcategory-q4m4qHsU.js} +34 -34
- package/dist/{Takeaway-CJb0ayDC.js → Takeaway-ClepHYGu.js} +14 -14
- package/dist/{Takeaway-AEg_0gKg.js → Takeaway-D-rdUZuh.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-Cjj4bxoL.js → Takeaway.vue_vue_type_script_setup_true_lang-y9Yxstu2.js} +41 -40
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Drf4n4rj.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BSeLfoOA.js} +1108 -1106
- package/dist/{Unit-1wzUBplb.js → Unit-IM8Naj82.js} +12 -12
- package/dist/{Variant-Dnz2v5u0.js → Variant-fzGvwaMo.js} +16 -16
- package/dist/{_id_-C3rBZ6zL.js → _id_-BsKNG9Qv.js} +22 -22
- package/dist/{app-sDPxNF11.js → app-BzQRUMTK.js} +3 -3
- package/dist/{app-CLY6CoaV.js → app-CoVUUCa_.js} +24 -24
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-BZ4FSJ_Z.js → linked-status-eQqjvOq_.js} +2 -2
- package/dist/assets/{override-menu-C-fWJdVd.js → override-menu-C8NTBJgN.js} +2 -2
- package/dist/assets/{validate-menu-BDEM_Odz.js → validate-menu-Dn-OO7Ed.js} +2 -2
- package/dist/{catalog-bkFntZNz.js → catalog-CaXceaA2.js} +1 -1
- package/dist/{catalogSetting-zrKwGJ_C.js → catalogSetting-BGvckFdh.js} +1 -1
- package/dist/{category-BuPYaEsy.js → category-u5eo_Vjd.js} +5 -3
- package/dist/currency-BPHwez-E.js +7 -0
- package/dist/{dayjs.min-CR2NIyKn.js → dayjs.min-Bsr3tJCn.js} +1 -1
- package/dist/{index-BNORpjos.js → index-Bbx4iZ6n.js} +27 -27
- package/dist/{index-Dp_vLFQp.js → index-DSAG0yWh.js} +22 -20
- package/dist/{index-D20u0bCl.js → index-tRQb7RN_.js} +1 -1
- package/dist/{item-D4DcBt7N.js → item-BAqzKh4O.js} +801 -799
- package/dist/{jszip.min-CRJ61J9H.js → jszip.min-BKJtvCjM.js} +353 -353
- package/dist/{menu-Dw-Hpy07.js → menu-CDrsBjmr.js} +11 -9
- package/dist/menu-CsIzrBEr.js +74044 -0
- package/dist/packages/shared/src/permission/posPermission.d.ts +6 -0
- package/dist/{priceTier-EDLTGEjz.js → priceTier-DfbHonGe.js} +4 -4
- package/dist/{scheduler-CpPn2BlK.js → scheduler-DTWaBudB.js} +13 -11
- package/dist/{subcategory-B_W6vbM8.js → subcategory-D-R5r1Tr.js} +86 -84
- package/dist/{toExcel-D02OlDJu.js → toExcel-84VTtSA7.js} +2 -2
- package/dist/{unit-fro9wz1K.js → unit-B4zscxzo.js} +24 -23
- package/package.json +1 -1
- package/dist/currency-BISImIgX.js +0 -7
- package/dist/menu-ibc-yXVt.js +0 -107745
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as L, computed as d, ref as g, h as k, withModifiers as x, resolveComponent as p, createBlock as b, openBlock as a, unref as e, withCtx as h, createElementVNode as o, createVNode as r, toDisplayString as f, createCommentVNode as N, createElementBlock as u, Fragment as v, normalizeClass as C, renderList as T } from "vue";
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { useSnackbar as
|
|
4
|
-
import { _ as
|
|
5
|
-
import {
|
|
2
|
+
import { useI18n as E } from "@feedmepos/mf-common";
|
|
3
|
+
import { useSnackbar as K, components as R, useBreakpoints as A, FmButtonVariant as D } from "@feedmepos/ui-library";
|
|
4
|
+
import { _ as I } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
+
import { A as q, u as G } from "./menu-CsIzrBEr.js";
|
|
6
6
|
import { _ as H } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
7
7
|
import { _ as J } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
8
|
-
import { u as O, U as P } from "./unit-
|
|
8
|
+
import { u as O, U as P } from "./unit-B4zscxzo.js";
|
|
9
9
|
const Q = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "h-[600px]"
|
|
@@ -32,11 +32,11 @@ const Q = {
|
|
|
32
32
|
}, be = /* @__PURE__ */ L({
|
|
33
33
|
__name: "Unit",
|
|
34
34
|
setup(re) {
|
|
35
|
-
const w =
|
|
36
|
-
|
|
35
|
+
const w = K();
|
|
36
|
+
q(w);
|
|
37
37
|
const S = G(), i = O(), {
|
|
38
38
|
t: n
|
|
39
|
-
} =
|
|
39
|
+
} = E(), m = d(() => S.units), _ = d(() => m.value.filter((s) => `${s.name} ${s.abbrev}`.toLowerCase().includes(c.value.toLowerCase()))), c = g(""), U = g([{
|
|
40
40
|
accessorKey: "name",
|
|
41
41
|
header: () => n("menu.unit.columns.name"),
|
|
42
42
|
enableSorting: !1
|
|
@@ -56,7 +56,7 @@ const Q = {
|
|
|
56
56
|
const l = s.row.original;
|
|
57
57
|
return k("div", {
|
|
58
58
|
class: "flex justify-end"
|
|
59
|
-
}, [k(
|
|
59
|
+
}, [k(R.FmButton, {
|
|
60
60
|
icon: "delete",
|
|
61
61
|
textColor: "neutral-gray-400",
|
|
62
62
|
variant: "tertiary",
|
|
@@ -69,7 +69,7 @@ const Q = {
|
|
|
69
69
|
function V(s) {
|
|
70
70
|
i.updateUnit(s);
|
|
71
71
|
}
|
|
72
|
-
const F = d(() => m.value.length), B =
|
|
72
|
+
const F = d(() => m.value.length), B = A(), M = d(() => B.breakpoints.value.xs);
|
|
73
73
|
return (s, l) => {
|
|
74
74
|
const y = p("FmSearch"), $ = p("FmTable"), j = p("fm-button"), z = p("FmSpacer");
|
|
75
75
|
return a(), b(H, {
|
|
@@ -102,7 +102,7 @@ const Q = {
|
|
|
102
102
|
class: C(["py-12 px-16", "flex space-x-8", "items-center"]),
|
|
103
103
|
onClick: () => e(i).updateUnit(t)
|
|
104
104
|
}, [o("div", ee, [o("p", te, f(t.name), 1), o("p", ne, f(e(n)("menu.common.labels.symbol")) + ": " + f(t.abbrev), 1)]), r(j, {
|
|
105
|
-
variant: e(
|
|
105
|
+
variant: e(D).Tertiary,
|
|
106
106
|
"prepend-icon": "delete",
|
|
107
107
|
"text-color": "neutral-gray-400",
|
|
108
108
|
onClick: x(() => e(i).deleteUnit(t), ["stop"])
|
|
@@ -126,7 +126,7 @@ const Q = {
|
|
|
126
126
|
"append-heading": h(() => [o("div", oe, [o("div", le, [o("div", ae, [o("p", se, f(F.value), 1)])]), r(z), r(e(P), null, {
|
|
127
127
|
default: h(({
|
|
128
128
|
trigger: t
|
|
129
|
-
}) => [m.value.length > 0 ? (a(), b(
|
|
129
|
+
}) => [m.value.length > 0 ? (a(), b(I, {
|
|
130
130
|
key: 0,
|
|
131
131
|
label: e(n)("menu.unit.add"),
|
|
132
132
|
"prepend-icon": "add",
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { getCurrentInstance as U, defineComponent as $, computed as g, onMounted as
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { useDialog as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as Q } from "./app-
|
|
6
|
-
import {
|
|
1
|
+
import { getCurrentInstance as U, defineComponent as $, computed as g, onMounted as O, h as z, resolveComponent as k, createBlock as F, openBlock as m, unref as e, withCtx as p, createElementBlock as f, Fragment as V, createElementVNode as r, createVNode as i, isRef as I, normalizeClass as L, renderList as R, toDisplayString as C, withModifiers as w, createCommentVNode as Y } from "vue";
|
|
2
|
+
import { useI18n as N } from "@feedmepos/mf-common";
|
|
3
|
+
import { useDialog as G, useSnackbar as D, FmButtonVariant as M, components as H, useBreakpoints as q } from "@feedmepos/ui-library";
|
|
4
|
+
import { _ as J } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
+
import { _ as Q } from "./app-CoVUUCa_.js";
|
|
6
|
+
import { A as K, u as P, M as j, H as W, B as X } from "./menu-CsIzrBEr.js";
|
|
7
7
|
import { _ as Z } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
8
|
-
import { V as S } from "./index-
|
|
8
|
+
import { V as S } from "./index-Bbx4iZ6n.js";
|
|
9
9
|
import { _ as ee } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
10
10
|
import { u as te } from "./search-BAPEUu1R.js";
|
|
11
11
|
import { defineStore as ae } from "pinia";
|
|
12
12
|
import { c as ne } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
const oe = ae("variant-manager", () => {
|
|
14
|
-
const B =
|
|
14
|
+
const B = G(), a = D(), _ = K(a), h = j(_);
|
|
15
15
|
P();
|
|
16
|
-
const d = U(), { t: c } =
|
|
16
|
+
const d = U(), { t: c } = N(), x = (s) => {
|
|
17
17
|
var y, o;
|
|
18
18
|
const { vNode: b } = ne(
|
|
19
19
|
S,
|
|
@@ -83,7 +83,7 @@ const oe = ae("variant-manager", () => {
|
|
|
83
83
|
setup(B) {
|
|
84
84
|
const {
|
|
85
85
|
t: a
|
|
86
|
-
} =
|
|
86
|
+
} = N(), _ = P(), h = j(K(D())), d = oe(), c = g(() => _.variants.map((o) => ({
|
|
87
87
|
...o,
|
|
88
88
|
usedBy: _.items.filter((n) => {
|
|
89
89
|
var u;
|
|
@@ -97,7 +97,7 @@ const oe = ae("variant-manager", () => {
|
|
|
97
97
|
filter: x,
|
|
98
98
|
searchKey: l
|
|
99
99
|
} = te(), v = g(() => c.value.filter((o) => x([o.name])));
|
|
100
|
-
|
|
100
|
+
O(() => _.selectCatalog(null));
|
|
101
101
|
const s = g(() => [{
|
|
102
102
|
accessorKey: "name",
|
|
103
103
|
header: () => a("menu.variant.columns.name"),
|
|
@@ -129,7 +129,7 @@ const oe = ae("variant-manager", () => {
|
|
|
129
129
|
},
|
|
130
130
|
cell: (o) => z("div", {
|
|
131
131
|
class: "w-full flex justify-end items-center"
|
|
132
|
-
}, [z(
|
|
132
|
+
}, [z(H.FmButton, {
|
|
133
133
|
prependIcon: "delete",
|
|
134
134
|
variant: M.Tertiary,
|
|
135
135
|
textColor: "neutral-gray-400",
|
|
@@ -139,7 +139,7 @@ const oe = ae("variant-manager", () => {
|
|
|
139
139
|
})])
|
|
140
140
|
}]), b = q(), y = g(() => b.breakpoints.value.xs);
|
|
141
141
|
return (o, n) => {
|
|
142
|
-
const u = k("fm-search"),
|
|
142
|
+
const u = k("fm-search"), A = k("fm-table"), E = k("fm-button");
|
|
143
143
|
return m(), F(ee, {
|
|
144
144
|
heading: e(a)("menu.variant.title")
|
|
145
145
|
}, {
|
|
@@ -148,14 +148,14 @@ const oe = ae("variant-manager", () => {
|
|
|
148
148
|
}, {
|
|
149
149
|
default: p(({
|
|
150
150
|
trigger: t
|
|
151
|
-
}) => [i(
|
|
151
|
+
}) => [i(J, {
|
|
152
152
|
class: "ml-auto",
|
|
153
153
|
label: e(a)("menu.variant.add"),
|
|
154
154
|
"prepend-icon": "add",
|
|
155
155
|
onClick: w(t, ["stop"])
|
|
156
156
|
}, null, 8, ["label", "onClick"])]),
|
|
157
157
|
_: 1
|
|
158
|
-
})) :
|
|
158
|
+
})) : Y("", !0)]),
|
|
159
159
|
default: p(() => [c.value.length ? (m(), f(V, {
|
|
160
160
|
key: 0
|
|
161
161
|
}, [y.value ? (m(), f(V, {
|
|
@@ -188,7 +188,7 @@ const oe = ae("variant-manager", () => {
|
|
|
188
188
|
type: "variants"
|
|
189
189
|
})
|
|
190
190
|
}, null, 8, ["modelValue", "placeholder"])])]), i(Q, null, {
|
|
191
|
-
default: p(() => [i(
|
|
191
|
+
default: p(() => [i(A, {
|
|
192
192
|
"column-defs": s.value,
|
|
193
193
|
loading: e(h).checkMenuIsLoading(),
|
|
194
194
|
"page-size": v.value.length,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { D as K } from "./dayjs.min-
|
|
1
|
+
import { defineComponent as B, computed as r, ref as p, watch as C, onMounted as q, resolveComponent as c, createElementBlock as F, openBlock as x, Fragment as H, createVNode as l, withCtx as u, createElementVNode as m, toDisplayString as w, unref as o, createBlock as A } from "vue";
|
|
2
|
+
import { D as K } from "./dayjs.min-Bsr3tJCn.js";
|
|
3
3
|
import { useRoute as W, useRouter as j } from "vue-router";
|
|
4
|
-
import { u as J, a as Q, _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import {
|
|
4
|
+
import { u as J, a as Q, _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-C4IrA3es.js";
|
|
5
|
+
import { A as ee, u as te, M as ae, z as oe, D as ne } from "./menu-CsIzrBEr.js";
|
|
6
6
|
import { useI18n as le } from "@feedmepos/mf-common";
|
|
7
7
|
import { useDialog as se, useSnackbar as re, useBreakpoints as ue } from "@feedmepos/ui-library";
|
|
8
|
-
import { _ as
|
|
9
|
-
import { L as
|
|
10
|
-
import { _ as ie } from "./index-
|
|
8
|
+
import { _ as I } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
9
|
+
import { L as M } from "./LinkProductSideSheet-C6rF-G1v.js";
|
|
10
|
+
import { _ as ie } from "./index-tRQb7RN_.js";
|
|
11
11
|
import { _ as me } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
12
|
-
import { a as ce } from "./menu-
|
|
13
|
-
import { m as de } from "./toExcel-
|
|
14
|
-
import { _ as pe, u as _e, c as fe } from "./scheduler-
|
|
15
|
-
import { R as i } from "./app-
|
|
16
|
-
const ve = { class: "px-12 py-8" }, ge = { class: "px-12 py-8" }, be = { class: "flex ml-auto space-x-8" }, ke = { class: "flex-1 flex flex-col overflow-hidden" }, Ge = /* @__PURE__ */
|
|
12
|
+
import { a as ce } from "./menu-CDrsBjmr.js";
|
|
13
|
+
import { m as de } from "./toExcel-84VTtSA7.js";
|
|
14
|
+
import { _ as pe, u as _e, c as fe } from "./scheduler-DTWaBudB.js";
|
|
15
|
+
import { R as i } from "./app-CoVUUCa_.js";
|
|
16
|
+
const ve = { class: "px-12 py-8" }, ge = { class: "px-12 py-8" }, be = { class: "flex ml-auto space-x-8" }, ke = { class: "flex-1 flex flex-col overflow-hidden" }, Ge = /* @__PURE__ */ B({
|
|
17
17
|
__name: "[id]",
|
|
18
18
|
setup(xe) {
|
|
19
|
-
const
|
|
19
|
+
const D = W(), _ = j();
|
|
20
20
|
se();
|
|
21
21
|
const y = ee(re()), S = ae(y), a = te(), f = J(), v = Q(), { t: s } = le(), R = r(() => a.categorizedRawMenuItems), V = r(() => !a.state.currentSchedulerId);
|
|
22
22
|
r(() => a.rules.item.multiScheduler), r(() => S.checkMenuIsLoading()), r(() => [
|
|
@@ -63,7 +63,7 @@ const ve = { class: "px-12 py-8" }, ge = { class: "px-12 py-8" }, be = { class:
|
|
|
63
63
|
}), C(
|
|
64
64
|
() => a.state.menu._id,
|
|
65
65
|
(t) => {
|
|
66
|
-
const e =
|
|
66
|
+
const e = D.params.id;
|
|
67
67
|
t && e !== "main" && a.selectCatalog(e);
|
|
68
68
|
}
|
|
69
69
|
);
|
|
@@ -89,8 +89,8 @@ const ve = { class: "px-12 py-8" }, ge = { class: "px-12 py-8" }, be = { class:
|
|
|
89
89
|
const g = p(!1), b = p(!1), z = ue();
|
|
90
90
|
return r(() => z.breakpoints.value.xs), ce().resetOnUnmount(), (t, e) => {
|
|
91
91
|
var T;
|
|
92
|
-
const $ = c("fm-bottom-sheet"), U = c("fm-button"), Y = c("router-link"),
|
|
93
|
-
return x(), H
|
|
92
|
+
const $ = c("fm-bottom-sheet"), U = c("fm-button"), Y = c("router-link"), N = c("fm-tabs"), P = c("router-view");
|
|
93
|
+
return x(), F(H, null, [
|
|
94
94
|
l(pe, {
|
|
95
95
|
ref_key: "schedulerDialogRef",
|
|
96
96
|
ref: E,
|
|
@@ -145,7 +145,7 @@ const ve = { class: "px-12 py-8" }, ge = { class: "px-12 py-8" }, be = { class:
|
|
|
145
145
|
]),
|
|
146
146
|
"append-heading": u(() => [
|
|
147
147
|
m("div", be, [
|
|
148
|
-
V.value ? (x(),
|
|
148
|
+
V.value ? (x(), A(M, {
|
|
149
149
|
key: 0,
|
|
150
150
|
"categorized-items": o(f).linkableItems.value,
|
|
151
151
|
"initial-value": o(f).currentItems.value,
|
|
@@ -153,14 +153,14 @@ const ve = { class: "px-12 py-8" }, ge = { class: "px-12 py-8" }, be = { class:
|
|
|
153
153
|
onSubmit: e[3] || (e[3] = (n) => o(f).applyProduct(n.map((k) => k._id)))
|
|
154
154
|
}, {
|
|
155
155
|
default: u(({ trigger: n }) => [
|
|
156
|
-
l(
|
|
156
|
+
l(I, {
|
|
157
157
|
label: o(s)("menu.catalog.edit.link_product"),
|
|
158
158
|
"prepend-icon": "link",
|
|
159
159
|
onClick: n
|
|
160
160
|
}, null, 8, ["label", "onClick"])
|
|
161
161
|
]),
|
|
162
162
|
_: 1
|
|
163
|
-
}, 8, ["categorized-items", "initial-value"])) : (x(),
|
|
163
|
+
}, 8, ["categorized-items", "initial-value"])) : (x(), A(M, {
|
|
164
164
|
key: 1,
|
|
165
165
|
"categorized-items": o(v).linkableItems.value,
|
|
166
166
|
"initial-value": o(v).currentItems.value,
|
|
@@ -168,7 +168,7 @@ const ve = { class: "px-12 py-8" }, ge = { class: "px-12 py-8" }, be = { class:
|
|
|
168
168
|
onSubmit: e[4] || (e[4] = (n) => o(v).applyProduct(n.map((k) => k._id)))
|
|
169
169
|
}, {
|
|
170
170
|
default: u(({ trigger: n }) => [
|
|
171
|
-
l(
|
|
171
|
+
l(I, {
|
|
172
172
|
label: o(s)("menu.catalog.edit.apply_scheduler"),
|
|
173
173
|
onClick: n
|
|
174
174
|
}, null, 8, ["label", "onClick"])
|
|
@@ -178,7 +178,7 @@ const ve = { class: "px-12 py-8" }, ge = { class: "px-12 py-8" }, be = { class:
|
|
|
178
178
|
])
|
|
179
179
|
]),
|
|
180
180
|
default: u(() => [
|
|
181
|
-
l(
|
|
181
|
+
l(N, {
|
|
182
182
|
modelValue: d.value,
|
|
183
183
|
"onUpdate:modelValue": e[5] || (e[5] = (n) => d.value = n),
|
|
184
184
|
items: h,
|
|
@@ -186,7 +186,7 @@ const ve = { class: "px-12 py-8" }, ge = { class: "px-12 py-8" }, be = { class:
|
|
|
186
186
|
}, null, 8, ["modelValue"]),
|
|
187
187
|
m("div", ke, [
|
|
188
188
|
l(ie, { "menu-store": o(a) }, null, 8, ["menu-store"]),
|
|
189
|
-
l(
|
|
189
|
+
l(P)
|
|
190
190
|
])
|
|
191
191
|
]),
|
|
192
192
|
_: 1
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineStore as r } from "pinia";
|
|
2
|
-
import {
|
|
2
|
+
import { an as a, ao as s, ap as l } from "./menu-CsIzrBEr.js";
|
|
3
3
|
const u = {
|
|
4
4
|
async read() {
|
|
5
5
|
return a(await s().get("/public-setting"));
|
|
@@ -8,7 +8,7 @@ const u = {
|
|
|
8
8
|
return a(await s().put("/public-setting", e));
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
|
-
function
|
|
11
|
+
function o() {
|
|
12
12
|
return {
|
|
13
13
|
loadingQueue: [],
|
|
14
14
|
publicSetting: {
|
|
@@ -32,7 +32,7 @@ function c() {
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
const d = r("menu-app", {
|
|
35
|
-
state: () =>
|
|
35
|
+
state: () => o(),
|
|
36
36
|
actions: {
|
|
37
37
|
addLoadingQueues(e) {
|
|
38
38
|
this.loadingQueue = [...this.loadingQueue, ...e];
|
|
@@ -1826,7 +1826,7 @@ const gi = [
|
|
|
1826
1826
|
{
|
|
1827
1827
|
path: "/product",
|
|
1828
1828
|
name: "$menu-products",
|
|
1829
|
-
component: b(() => import("./Products-
|
|
1829
|
+
component: b(() => import("./Products-Cu0cJshV.js")),
|
|
1830
1830
|
meta: {
|
|
1831
1831
|
isNavItem: !0,
|
|
1832
1832
|
i18nId: "menu.products.title"
|
|
@@ -1836,7 +1836,7 @@ const gi = [
|
|
|
1836
1836
|
path: "/product-internal-tools",
|
|
1837
1837
|
name: "$menu-product-internal-tools",
|
|
1838
1838
|
component: pt(
|
|
1839
|
-
b(() => import("./ProductInternalTools-
|
|
1839
|
+
b(() => import("./ProductInternalTools-BcC7BF6W.js"))
|
|
1840
1840
|
),
|
|
1841
1841
|
meta: {
|
|
1842
1842
|
i18nId: "menu.productInternalTools.title",
|
|
@@ -1849,7 +1849,7 @@ const gi = [
|
|
|
1849
1849
|
{
|
|
1850
1850
|
path: "/category",
|
|
1851
1851
|
name: "$menu-category",
|
|
1852
|
-
component: b(() => import("./Category-
|
|
1852
|
+
component: b(() => import("./Category-BqKFvFam.js")),
|
|
1853
1853
|
meta: {
|
|
1854
1854
|
isNavItem: !0,
|
|
1855
1855
|
i18nId: "menu.category.title"
|
|
@@ -1858,7 +1858,7 @@ const gi = [
|
|
|
1858
1858
|
{
|
|
1859
1859
|
path: "/subcategory",
|
|
1860
1860
|
name: "$menu-subcategory",
|
|
1861
|
-
component: b(() => import("./Subcategory-
|
|
1861
|
+
component: b(() => import("./Subcategory-q4m4qHsU.js")),
|
|
1862
1862
|
meta: {
|
|
1863
1863
|
isNavItem: () => R.value,
|
|
1864
1864
|
i18nId: "menu.subcategory.title"
|
|
@@ -1867,7 +1867,7 @@ const gi = [
|
|
|
1867
1867
|
{
|
|
1868
1868
|
path: "/group",
|
|
1869
1869
|
name: "$menu-group",
|
|
1870
|
-
component: b(() => import("./Group-
|
|
1870
|
+
component: b(() => import("./Group-RujTPTns.js")),
|
|
1871
1871
|
meta: {
|
|
1872
1872
|
isNavItem: !0,
|
|
1873
1873
|
i18nId: "menu.group.title"
|
|
@@ -1876,7 +1876,7 @@ const gi = [
|
|
|
1876
1876
|
{
|
|
1877
1877
|
path: "/takeaway",
|
|
1878
1878
|
name: "$menu-takeaway",
|
|
1879
|
-
component: b(() => import("./Takeaway-
|
|
1879
|
+
component: b(() => import("./Takeaway-ClepHYGu.js")),
|
|
1880
1880
|
meta: {
|
|
1881
1881
|
isNavItem: !0,
|
|
1882
1882
|
i18nId: "menu.takeaway.title"
|
|
@@ -1885,7 +1885,7 @@ const gi = [
|
|
|
1885
1885
|
{
|
|
1886
1886
|
path: "/scheduler",
|
|
1887
1887
|
name: "$menu-scheduler",
|
|
1888
|
-
component: b(() => import("./Scheduler-
|
|
1888
|
+
component: b(() => import("./Scheduler-Cb1TeBhW.js")),
|
|
1889
1889
|
meta: {
|
|
1890
1890
|
isNavItem: !0,
|
|
1891
1891
|
i18nId: "menu.scheduler.title"
|
|
@@ -1894,7 +1894,7 @@ const gi = [
|
|
|
1894
1894
|
{
|
|
1895
1895
|
path: "/variant",
|
|
1896
1896
|
name: "$menu-variant",
|
|
1897
|
-
component: b(() => import("./Variant-
|
|
1897
|
+
component: b(() => import("./Variant-fzGvwaMo.js")),
|
|
1898
1898
|
meta: {
|
|
1899
1899
|
isNavItem: !0,
|
|
1900
1900
|
i18nId: "menu.variant.title"
|
|
@@ -1903,7 +1903,7 @@ const gi = [
|
|
|
1903
1903
|
{
|
|
1904
1904
|
path: "/recipe",
|
|
1905
1905
|
name: "$menu-recipe",
|
|
1906
|
-
component: b(() => import("./Recipe-
|
|
1906
|
+
component: b(() => import("./Recipe-DWK-luIZ.js")),
|
|
1907
1907
|
meta: {
|
|
1908
1908
|
isNavItem: () => !R.value,
|
|
1909
1909
|
i18nId: "menu.recipe.title"
|
|
@@ -1912,7 +1912,7 @@ const gi = [
|
|
|
1912
1912
|
{
|
|
1913
1913
|
path: "/ingredient",
|
|
1914
1914
|
name: "$menu-ingredient",
|
|
1915
|
-
component: b(() => import("./Ingredient-
|
|
1915
|
+
component: b(() => import("./Ingredient-_tc8llr1.js")),
|
|
1916
1916
|
meta: {
|
|
1917
1917
|
isNavItem: () => !R.value,
|
|
1918
1918
|
i18nId: "menu.ingredient.title"
|
|
@@ -1921,7 +1921,7 @@ const gi = [
|
|
|
1921
1921
|
{
|
|
1922
1922
|
path: "/unit",
|
|
1923
1923
|
name: "$menu-unit",
|
|
1924
|
-
component: b(() => import("./Unit-
|
|
1924
|
+
component: b(() => import("./Unit-IM8Naj82.js")),
|
|
1925
1925
|
meta: {
|
|
1926
1926
|
isNavItem: () => !R.value,
|
|
1927
1927
|
i18nId: "menu.unit.title"
|
|
@@ -1930,7 +1930,7 @@ const gi = [
|
|
|
1930
1930
|
{
|
|
1931
1931
|
path: "/cooking-guide",
|
|
1932
1932
|
name: "$menu-cooking-guide",
|
|
1933
|
-
component: b(() => import("./CookingGuide-
|
|
1933
|
+
component: b(() => import("./CookingGuide-BayJ6zj4.js")),
|
|
1934
1934
|
meta: {
|
|
1935
1935
|
isNavItem: !0,
|
|
1936
1936
|
i18nId: "menu.cooking_guide.title"
|
|
@@ -1939,7 +1939,7 @@ const gi = [
|
|
|
1939
1939
|
{
|
|
1940
1940
|
path: "/print-route",
|
|
1941
1941
|
name: "$menu-print-route",
|
|
1942
|
-
component: b(() => import("./PrintRoute-
|
|
1942
|
+
component: b(() => import("./PrintRoute-B_TFMn5e.js")),
|
|
1943
1943
|
meta: {
|
|
1944
1944
|
isNavItem: !0,
|
|
1945
1945
|
i18nId: "menu.print_route.title"
|
|
@@ -1948,7 +1948,7 @@ const gi = [
|
|
|
1948
1948
|
{
|
|
1949
1949
|
path: "/serving-sequence",
|
|
1950
1950
|
name: "$menu-serving-sequence",
|
|
1951
|
-
component: b(() => import("./ServingSequence-
|
|
1951
|
+
component: b(() => import("./ServingSequence-evSIET_8.js")),
|
|
1952
1952
|
meta: {
|
|
1953
1953
|
isNavItem: () => R.value,
|
|
1954
1954
|
i18nId: "menu.serving_sequence.title"
|
|
@@ -1957,7 +1957,7 @@ const gi = [
|
|
|
1957
1957
|
{
|
|
1958
1958
|
path: "/publish",
|
|
1959
1959
|
name: "$menu-publish",
|
|
1960
|
-
component: b(() => import("./Publish-
|
|
1960
|
+
component: b(() => import("./Publish-Bm3Xiks1.js")),
|
|
1961
1961
|
meta: {
|
|
1962
1962
|
isNavItem: !0,
|
|
1963
1963
|
i18nId: "menu.publish.title"
|
|
@@ -1970,7 +1970,7 @@ const gi = [
|
|
|
1970
1970
|
{
|
|
1971
1971
|
path: "/setting",
|
|
1972
1972
|
name: "$menu-menu-setting",
|
|
1973
|
-
component: b(() => import("./MenuSetting-
|
|
1973
|
+
component: b(() => import("./MenuSetting-xDHeeROY.js")),
|
|
1974
1974
|
meta: {
|
|
1975
1975
|
isNavItem: !0,
|
|
1976
1976
|
i18nId: "menu.menu_setting.title"
|
|
@@ -1985,7 +1985,7 @@ const gi = [
|
|
|
1985
1985
|
{
|
|
1986
1986
|
path: "/catalog",
|
|
1987
1987
|
name: "$menu-catalog",
|
|
1988
|
-
component: b(() => import("./Catalog-
|
|
1988
|
+
component: b(() => import("./Catalog-DWClc58s.js")),
|
|
1989
1989
|
meta: {
|
|
1990
1990
|
isNavItem: !0,
|
|
1991
1991
|
i18nId: "menu.catalog.title"
|
|
@@ -1993,7 +1993,7 @@ const gi = [
|
|
|
1993
1993
|
},
|
|
1994
1994
|
{
|
|
1995
1995
|
path: "/catalog/edit/:id",
|
|
1996
|
-
component: b(() => import("./_id_-
|
|
1996
|
+
component: b(() => import("./_id_-BsKNG9Qv.js")),
|
|
1997
1997
|
name: "$menu-catalog-edit",
|
|
1998
1998
|
children: [
|
|
1999
1999
|
{
|
|
@@ -2005,31 +2005,31 @@ const gi = [
|
|
|
2005
2005
|
},
|
|
2006
2006
|
{
|
|
2007
2007
|
path: "/catalog/edit/:id/product",
|
|
2008
|
-
component: b(() => import("./Product-
|
|
2008
|
+
component: b(() => import("./Product-DdEEqrtc.js")),
|
|
2009
2009
|
name: "$menu-catalog-edit-product"
|
|
2010
2010
|
/* EDIT_CATALOG_PRODUCT */
|
|
2011
2011
|
},
|
|
2012
2012
|
{
|
|
2013
2013
|
path: "/catalog/edit/:id/category",
|
|
2014
|
-
component: b(() => import("./Category-
|
|
2014
|
+
component: b(() => import("./Category-IYMtMoT-.js")),
|
|
2015
2015
|
name: "$menu-catalog-edit-category"
|
|
2016
2016
|
/* EDIT_CATALOG_CATEGORY */
|
|
2017
2017
|
},
|
|
2018
2018
|
{
|
|
2019
2019
|
path: "/catalog/edit/:id/group",
|
|
2020
|
-
component: b(() => import("./Group-
|
|
2020
|
+
component: b(() => import("./Group-LqSX7ue6.js")),
|
|
2021
2021
|
name: "$menu-catalog-edit-group"
|
|
2022
2022
|
/* EDIT_CATALOG_GROUP */
|
|
2023
2023
|
},
|
|
2024
2024
|
{
|
|
2025
2025
|
path: "/catalog/edit/:id/takeaway",
|
|
2026
|
-
component: b(() => import("./Takeaway-
|
|
2026
|
+
component: b(() => import("./Takeaway-D-rdUZuh.js")),
|
|
2027
2027
|
name: "$menu-catalog-edit-takeaway"
|
|
2028
2028
|
/* EDIT_CATALOG_TAKEAWAY */
|
|
2029
2029
|
},
|
|
2030
2030
|
{
|
|
2031
2031
|
path: "/catalog/edit/:id/setting",
|
|
2032
|
-
component: b(() => import("./Setting-
|
|
2032
|
+
component: b(() => import("./Setting-Cn3kwC9F.js")),
|
|
2033
2033
|
name: "$menu-catalog-edit-setting"
|
|
2034
2034
|
/* EDIT_CATALOG_SETTING */
|
|
2035
2035
|
}
|
|
@@ -2037,7 +2037,7 @@ const gi = [
|
|
|
2037
2037
|
}
|
|
2038
2038
|
], si = "treeEditorOpen", bi = () => {
|
|
2039
2039
|
window.postMessage({ type: si }, "*");
|
|
2040
|
-
}, yi = b(() => import("./App-
|
|
2040
|
+
}, yi = b(() => import("./App-1TX8v7ZA.js"));
|
|
2041
2041
|
function hi(e, t) {
|
|
2042
2042
|
e.use(Wa);
|
|
2043
2043
|
}
|
package/dist/app.js
CHANGED