@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,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
|
|
2
|
+
import { useI18n as D } from "@feedmepos/mf-common";
|
|
3
|
+
import { useSnackbar as E, components as K, useBreakpoints as R, FmButtonVariant as I } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as q } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import {
|
|
5
|
+
import { D as A, u as G } from "./menu-CAVt_lFp.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-DENherye.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 =
|
|
35
|
+
const w = E();
|
|
36
36
|
A(w);
|
|
37
37
|
const S = G(), i = O(), {
|
|
38
38
|
t: n
|
|
39
|
-
} =
|
|
39
|
+
} = D(), 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(K.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 = R(), 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, {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { getCurrentInstance as U, defineComponent as $, computed as g, onMounted as A, 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 G } from "vue";
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { useDialog as Y, useSnackbar as
|
|
2
|
+
import { useI18n as D } from "@feedmepos/mf-common";
|
|
3
|
+
import { useDialog as Y, useSnackbar as N, FmButtonVariant as M, components as J, useBreakpoints as q } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as H } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as Q } from "./app-
|
|
6
|
-
import {
|
|
5
|
+
import { _ as Q } from "./app-CMGlnsG5.js";
|
|
6
|
+
import { D as K, u as P, O as j, J as W, G as X } from "./menu-CAVt_lFp.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-BgrBG_Iz.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 = Y(), a =
|
|
14
|
+
const B = Y(), a = N(), _ = K(a), h = j(_);
|
|
15
15
|
P();
|
|
16
|
-
const d = U(), { t: c } =
|
|
16
|
+
const d = U(), { t: c } = D(), 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
|
+
} = D(), _ = P(), h = j(K(N())), d = oe(), c = g(() => _.variants.map((o) => ({
|
|
87
87
|
...o,
|
|
88
88
|
usedBy: _.items.filter((n) => {
|
|
89
89
|
var u;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as P, computed as r, ref as p, watch as C, onMounted as q, resolveComponent as c, createElementBlock as H, openBlock as x, Fragment as F, createVNode as l, withCtx as u, createElementVNode as m, toDisplayString as w, unref as o, createBlock as
|
|
2
|
-
import { D as K } from "./dayjs.min-
|
|
1
|
+
import { defineComponent as P, computed as r, ref as p, watch as C, onMounted as q, resolveComponent as c, createElementBlock as H, openBlock as x, Fragment as F, createVNode as l, withCtx as u, createElementVNode as m, toDisplayString as w, unref as o, createBlock as I } from "vue";
|
|
2
|
+
import { D as K } from "./dayjs.min-OqJAuW-9.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-DV0-XcfW.js";
|
|
5
|
+
import { D as ee, u as te, O as ae, B as oe, H as ne } from "./menu-CAVt_lFp.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 A } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
9
|
+
import { L as D } from "./LinkProductSideSheet-DIvOzMB8.js";
|
|
10
|
+
import { _ as ie } from "./index-CxytOxGX.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-
|
|
12
|
+
import { a as ce } from "./menu-DJkyk-fC.js";
|
|
13
|
+
import { m as de } from "./toExcel-BvBlj-X5.js";
|
|
14
|
+
import { _ as pe, u as _e, c as fe } from "./scheduler-Du42t5zf.js";
|
|
15
|
+
import { R as i } from "./app-CMGlnsG5.js";
|
|
16
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__ */ P({
|
|
17
17
|
__name: "[id]",
|
|
18
18
|
setup(xe) {
|
|
19
|
-
const
|
|
19
|
+
const M = 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 = M.params.id;
|
|
67
67
|
t && e !== "main" && a.selectCatalog(e);
|
|
68
68
|
}
|
|
69
69
|
);
|
|
@@ -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(), I(D, {
|
|
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(A, {
|
|
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(), I(D, {
|
|
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(A, {
|
|
172
172
|
label: o(s)("menu.catalog.edit.apply_scheduler"),
|
|
173
173
|
onClick: n
|
|
174
174
|
}, null, 8, ["label", "onClick"])
|
|
@@ -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-3J5DcGEc.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-eXFZoo1G.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-BzydRf7k.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-B1BeXahn.js")),
|
|
1862
1862
|
meta: {
|
|
1863
1863
|
isNavItem: () => P.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-B8TuooWf.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-q69U7AjK.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-OLKgjhjM.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-DdIfbckf.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-DrNJifKH.js")),
|
|
1907
1907
|
meta: {
|
|
1908
1908
|
isNavItem: () => !P.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-DMLmjp-1.js")),
|
|
1916
1916
|
meta: {
|
|
1917
1917
|
isNavItem: () => !P.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-R0fBKDBQ.js")),
|
|
1925
1925
|
meta: {
|
|
1926
1926
|
isNavItem: () => !P.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-BQcVxx1R.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-NHoHTnMc.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-DZ-eaRkW.js")),
|
|
1952
1952
|
meta: {
|
|
1953
1953
|
isNavItem: () => P.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-BdWd54a5.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-C5sIpDMN.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-Di-YSP-w.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_-Cpxz3UoN.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-C2SOvPy4.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-CAccN9m6.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-CAV74Npz.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-CS31a0G6.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-t5Edfa6F.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-y2Q2D6AO.js"));
|
|
2041
2041
|
function hi(e, t) {
|
|
2042
2042
|
e.use(Wa);
|
|
2043
2043
|
}
|
package/dist/app.js
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import "vue3-carousel/carousel.css";
|
|
3
|
+
import { type Announcement } from "../stores/announcement/announcement";
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
+
announcements: {
|
|
6
|
+
type: PropType<Announcement[]>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"dialog:primary-action": (...args: any[]) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
announcements: {
|
|
13
|
+
type: PropType<Announcement[]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
}>> & Readonly<{
|
|
17
|
+
"onDialog:primary-action"?: ((...args: any[]) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -79,8 +79,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
79
79
|
"onUpdate:model-value"?: ((value: any) => any) | undefined;
|
|
80
80
|
}>, {
|
|
81
81
|
required: boolean;
|
|
82
|
-
label: string;
|
|
83
82
|
modelValue: any;
|
|
83
|
+
label: string;
|
|
84
84
|
menuZIndex: number;
|
|
85
85
|
editActiveOnly: boolean;
|
|
86
86
|
orderFromNone: boolean;
|
|
@@ -870,7 +870,7 @@ export declare class ItemTax {
|
|
|
870
870
|
static setCoreStore(coreStore: ReturnType<typeof useCoreStore>): typeof ItemTax;
|
|
871
871
|
static encodeTax(tax: FdoProductTaxSetting): string;
|
|
872
872
|
static decodeTax(identifier: string): FdoProductTaxSetting;
|
|
873
|
-
static taxSetting(): {
|
|
873
|
+
static taxSetting(isV4: boolean): {
|
|
874
874
|
systemCode: string;
|
|
875
875
|
countryTaxOptions: {
|
|
876
876
|
label: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { F_COUNTRY } from "@feedmepos/core/entity";
|
|
2
|
+
export type Announcement = {
|
|
3
|
+
key: string;
|
|
4
|
+
title: string;
|
|
5
|
+
message: string;
|
|
6
|
+
startDate: string;
|
|
7
|
+
forceUntilDate?: string | null;
|
|
8
|
+
image?: string | null;
|
|
9
|
+
countries?: F_COUNTRY[] | null;
|
|
10
|
+
};
|
|
11
|
+
export declare const announcements: Announcement[];
|