@feedmepos/mf-settings 0.0.54 → 0.0.56-prod
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-129e0e7f.js +4343 -0
- package/dist/Business-c3128898.js +12002 -0
- package/dist/{CreateBusiness-a7386de7.js → CreateBusiness-1170607c.js} +3 -3
- package/dist/FoodCourt-0b078e7e.js +47791 -0
- package/dist/{RestaurantSelector.vue_vue_type_script_setup_true_lang-e9712a4d.js → RestaurantSelector.vue_vue_type_script_setup_true_lang-030a97dd.js} +1 -1
- package/dist/{Tagging-f578f89a.js → Tagging-dd278f34.js} +4 -4
- package/dist/TemplateBuilder-3e34e9e8.js +27 -0
- package/dist/{app-1f5f4a9b.js → app-f112a90e.js} +46 -30
- package/dist/app.js +1 -1
- package/dist/apps/mf-settings/src/app.d.ts +12 -0
- package/dist/apps/mf-settings/src/components/tagging/TaggingForm.vue.d.ts +3 -3
- package/dist/apps/mf-settings/src/store/attributeSettings.d.ts +15 -15
- package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{business-906742ba.js → business-deac65cf.js} +1 -1
- package/dist/{index-f1e5e565.js → index-759f69a1.js} +304 -283
- package/dist/index-80dd9e14.js +8413 -0
- package/dist/index-e68421c3.js +18030 -0
- package/dist/{map-695afd6f.js → map-54b71412.js} +527 -410
- package/package.json +3 -3
- package/dist/App-1dab65c3.js +0 -22098
- package/dist/Business-efd67008.js +0 -3899
- package/dist/FoodCourt-40732589.js +0 -71535
- package/dist/TemplateBuilder-54a34178.js +0 -27
- package/dist/_commonjs-dynamic-modules-bed80856.js +0 -6
- package/dist/index-72d7bc88.js +0 -2384
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as K, computed as N, resolveComponent as z, openBlock as j, createBlock as P, normalizeProps as it, mergeProps as G, createElementBlock as X, createVNode as tt, mergeModels as ot, useModel as ut, watchEffect as ct, withCtx as Q, Fragment as lt, renderList as ft } from "vue";
|
|
2
2
|
import { useBreakpoints as dt, useSnackbar as ht } from "@feedmepos/ui-library";
|
|
3
|
-
import { c as mt, g as $t } from "./index-
|
|
3
|
+
import { c as mt, g as $t } from "./index-759f69a1.js";
|
|
4
4
|
import { useCoreStore as pt } from "@feedmepos/mf-common";
|
|
5
5
|
const vt = {
|
|
6
6
|
key: 1,
|
|
@@ -2,13 +2,13 @@ import { defineComponent as Fr, h as bo, getCurrentInstance as Pi, inject as Mm,
|
|
|
2
2
|
import "@vue/devtools-api";
|
|
3
3
|
import { useI18n as wo, useCoreStore as Do } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as Po, useSnackbar as xo, components as Ym, useBreakpoints as Xm, FmButtonVariant as qm } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as Jm } from "./app-
|
|
5
|
+
import { _ as Jm } from "./app-f112a90e.js";
|
|
6
6
|
import { c as Ci, _ as Zm, a as Qm } from "./object-8ac0c0d8.js";
|
|
7
|
-
import { u as Fo } from "./index-
|
|
7
|
+
import { u as Fo } from "./index-80dd9e14.js";
|
|
8
8
|
import { _ as zm, c as jm } from "./FormSection.vue_vue_type_script_setup_true_lang-6aab82f2.js";
|
|
9
|
-
import { c as br } from "./index-
|
|
9
|
+
import { c as br } from "./index-759f69a1.js";
|
|
10
10
|
import { defineStore as eE } from "pinia";
|
|
11
|
-
import { b as es } from "./business-
|
|
11
|
+
import { b as es } from "./business-deac65cf.js";
|
|
12
12
|
import "@feedmepos/mf-mdm";
|
|
13
13
|
import "vue-router";
|
|
14
14
|
import "@feedmepos/mf-e-invoice";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent as o, computed as n, resolveComponent as d, openBlock as s, createElementBlock as c, createVNode as m } from "vue";
|
|
2
|
+
import { useCoreStore as u, FeedMeAuth as i } from "@feedmepos/mf-common";
|
|
3
|
+
const l = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "w-full h-full flex items-center justify-center"
|
|
6
|
+
}, p = ["src"], h = /* @__PURE__ */ o({
|
|
7
|
+
__name: "TemplateBuilder",
|
|
8
|
+
setup(f) {
|
|
9
|
+
const e = u(), t = n(() => {
|
|
10
|
+
var r;
|
|
11
|
+
return e.currentBusiness.value ? `https://print-template-builder.feedme.cc//#/receipt-info?businessId=${(r = e.currentBusiness.value) == null ? void 0 : r.id}&country=${e.currentCountry.value}&token=${i.token}` : "";
|
|
12
|
+
});
|
|
13
|
+
return (r, b) => {
|
|
14
|
+
const a = d("FmCircularProgress");
|
|
15
|
+
return t.value ? (s(), c("iframe", {
|
|
16
|
+
key: 1,
|
|
17
|
+
class: "w-full h-full",
|
|
18
|
+
src: t.value
|
|
19
|
+
}, null, 8, p)) : (s(), c("div", l, [
|
|
20
|
+
m(a, { size: "lg" })
|
|
21
|
+
]));
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export {
|
|
26
|
+
h as default
|
|
27
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { FmApp as b, routers as _, i18nMessages as s } from "@feedmepos/mf-mdm";
|
|
2
|
-
import { ref as m, watch as c, nextTick as u, onMounted as v, onBeforeUnmount as h, defineComponent as
|
|
3
|
-
import { useBreakpoints as
|
|
2
|
+
import { ref as m, watch as c, nextTick as u, onMounted as v, onBeforeUnmount as h, defineComponent as g, computed as y, openBlock as p, createElementBlock as f, normalizeStyle as R, renderSlot as L, resolveComponent as w, createBlock as U, withCtx as C, createElementVNode as q, createVNode as T, defineAsyncComponent as A } from "vue";
|
|
3
|
+
import { useBreakpoints as x } from "@feedmepos/ui-library";
|
|
4
4
|
import "vue-router";
|
|
5
5
|
import { withPermission as k } from "@feedmepos/mf-common";
|
|
6
|
-
import { FmApp as F, routers as
|
|
7
|
-
function
|
|
8
|
-
const
|
|
6
|
+
import { FmApp as F, routers as S } from "@feedmepos/mf-e-invoice";
|
|
7
|
+
function $(e, n) {
|
|
8
|
+
const o = m({ top: 0, bottom: 0, left: 0, right: 0 });
|
|
9
9
|
function t() {
|
|
10
10
|
if (e.value) {
|
|
11
11
|
const a = e.value.getBoundingClientRect();
|
|
12
|
-
|
|
12
|
+
o.value = {
|
|
13
13
|
top: a.top,
|
|
14
14
|
bottom: a.bottom,
|
|
15
15
|
left: a.left,
|
|
@@ -17,7 +17,7 @@ function S(e, o) {
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
return c(
|
|
20
|
+
return c(n, async () => {
|
|
21
21
|
await u(), t();
|
|
22
22
|
}), c(e, async (a) => {
|
|
23
23
|
a && (await u(), t());
|
|
@@ -25,34 +25,34 @@ function S(e, o) {
|
|
|
25
25
|
window.addEventListener("resize", t);
|
|
26
26
|
}), h(() => {
|
|
27
27
|
window.removeEventListener("resize", t);
|
|
28
|
-
}),
|
|
28
|
+
}), o;
|
|
29
29
|
}
|
|
30
|
-
const I = /* @__PURE__ */
|
|
30
|
+
const I = /* @__PURE__ */ g({
|
|
31
31
|
__name: "FullWrapper",
|
|
32
32
|
setup(e) {
|
|
33
|
-
const
|
|
33
|
+
const n = x(), o = m(null), t = $(o), a = y(() => {
|
|
34
34
|
var d;
|
|
35
|
-
const l =
|
|
35
|
+
const l = n.isAtMost("sm") ? 56 : 0;
|
|
36
36
|
return {
|
|
37
37
|
height: `calc(100dvh - ${((d = t.value) == null ? void 0 : d.top) + 24 + l}px)`
|
|
38
38
|
};
|
|
39
39
|
});
|
|
40
|
-
return (r, l) => (
|
|
40
|
+
return (r, l) => (p(), f("div", {
|
|
41
41
|
ref_key: "wrapper",
|
|
42
|
-
ref:
|
|
42
|
+
ref: o,
|
|
43
43
|
style: R(a.value)
|
|
44
44
|
}, [
|
|
45
45
|
L(r.$slots, "default")
|
|
46
46
|
], 4));
|
|
47
47
|
}
|
|
48
|
-
}), N = { class: "flex justify-center items-center h-full w-full" }, P = /* @__PURE__ */
|
|
48
|
+
}), N = { class: "flex justify-center items-center h-full w-full" }, P = /* @__PURE__ */ g({
|
|
49
49
|
__name: "PageLoading",
|
|
50
50
|
setup(e) {
|
|
51
|
-
return (
|
|
51
|
+
return (n, o) => {
|
|
52
52
|
const t = w("FmCircularProgress");
|
|
53
|
-
return
|
|
54
|
-
default:
|
|
55
|
-
|
|
53
|
+
return p(), U(I, null, {
|
|
54
|
+
default: C(() => [
|
|
55
|
+
q("div", N, [
|
|
56
56
|
T(t, { size: "xl" })
|
|
57
57
|
])
|
|
58
58
|
]),
|
|
@@ -60,7 +60,7 @@ const I = /* @__PURE__ */ p({
|
|
|
60
60
|
});
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
|
-
}), i = (e) =>
|
|
63
|
+
}), i = (e) => A({
|
|
64
64
|
loader: e,
|
|
65
65
|
loadingComponent: P
|
|
66
66
|
}), B = {
|
|
@@ -179,6 +179,10 @@ const I = /* @__PURE__ */ p({
|
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
+
},
|
|
183
|
+
codeConfirmation: {
|
|
184
|
+
title: "Set code for this restaurant?",
|
|
185
|
+
message: 'Are you sure you want to set the code of restaurant "{name}" to "{code}"? You can only set the code once.'
|
|
182
186
|
}
|
|
183
187
|
},
|
|
184
188
|
form: {
|
|
@@ -493,6 +497,10 @@ const I = /* @__PURE__ */ p({
|
|
|
493
497
|
}
|
|
494
498
|
}
|
|
495
499
|
}
|
|
500
|
+
},
|
|
501
|
+
codeConfirmation: {
|
|
502
|
+
title: "ตั้งค่ารหัสสำหรับร้านอาหารนี้?",
|
|
503
|
+
message: "คุณแน่ใจหรือไม่ว่าต้องการตั้งค่ารหัสสำหรับร้านอาหาร {name} เป็น {code}? รหัสสามารถตั้งค่าได้เพียงครั้งเดียวเท่านั้น"
|
|
496
504
|
}
|
|
497
505
|
},
|
|
498
506
|
form: {
|
|
@@ -806,7 +814,15 @@ const I = /* @__PURE__ */ p({
|
|
|
806
814
|
label: "轮播图片"
|
|
807
815
|
}
|
|
808
816
|
}
|
|
817
|
+
},
|
|
818
|
+
codeConfirmation: {
|
|
819
|
+
title: "设置餐厅代码",
|
|
820
|
+
message: '确定要设置餐厅 "{name}" 的代码为 "{code}" 吗?代码只能设置一次。'
|
|
809
821
|
}
|
|
822
|
+
},
|
|
823
|
+
codeConfirmation: {
|
|
824
|
+
title: "设置餐厅代码",
|
|
825
|
+
message: '确定要设置餐厅 "{name}" 的代码为 "{code}" 吗?代码只能设置一次。'
|
|
810
826
|
}
|
|
811
827
|
},
|
|
812
828
|
form: {
|
|
@@ -1004,7 +1020,7 @@ const I = /* @__PURE__ */ p({
|
|
|
1004
1020
|
}
|
|
1005
1021
|
}, K = {
|
|
1006
1022
|
settings: z
|
|
1007
|
-
},
|
|
1023
|
+
}, G = [
|
|
1008
1024
|
{
|
|
1009
1025
|
path: "/",
|
|
1010
1026
|
redirect: "$settings-my-business"
|
|
@@ -1012,7 +1028,7 @@ const I = /* @__PURE__ */ p({
|
|
|
1012
1028
|
{
|
|
1013
1029
|
path: "/business",
|
|
1014
1030
|
name: "$settings-my-business",
|
|
1015
|
-
component: i(() => import("./Business-
|
|
1031
|
+
component: i(() => import("./Business-c3128898.js")),
|
|
1016
1032
|
meta: {
|
|
1017
1033
|
i18nKey: "settings.business.title"
|
|
1018
1034
|
}
|
|
@@ -1020,7 +1036,7 @@ const I = /* @__PURE__ */ p({
|
|
|
1020
1036
|
{
|
|
1021
1037
|
path: "/create-business",
|
|
1022
1038
|
name: "$settings-create-business",
|
|
1023
|
-
component: i(() => import("./CreateBusiness-
|
|
1039
|
+
component: i(() => import("./CreateBusiness-1170607c.js")),
|
|
1024
1040
|
meta: {
|
|
1025
1041
|
hideNavigation: !0
|
|
1026
1042
|
}
|
|
@@ -1028,7 +1044,7 @@ const I = /* @__PURE__ */ p({
|
|
|
1028
1044
|
{
|
|
1029
1045
|
path: "/foodcourt",
|
|
1030
1046
|
name: "$settings-food-court",
|
|
1031
|
-
component: i(() => import("./FoodCourt-
|
|
1047
|
+
component: i(() => import("./FoodCourt-0b078e7e.js")),
|
|
1032
1048
|
meta: {
|
|
1033
1049
|
i18nKey: "settings.food_court.list.title"
|
|
1034
1050
|
}
|
|
@@ -1045,7 +1061,7 @@ const I = /* @__PURE__ */ p({
|
|
|
1045
1061
|
{
|
|
1046
1062
|
path: "/template-builder",
|
|
1047
1063
|
name: "$settings-template-builder",
|
|
1048
|
-
component: i(() => import("./TemplateBuilder-
|
|
1064
|
+
component: i(() => import("./TemplateBuilder-3e34e9e8.js")),
|
|
1049
1065
|
meta: {
|
|
1050
1066
|
i18nKey: "settings.templateBuilder.title"
|
|
1051
1067
|
}
|
|
@@ -1062,7 +1078,7 @@ const I = /* @__PURE__ */ p({
|
|
|
1062
1078
|
path: "/e-invoice",
|
|
1063
1079
|
name: "$settings-e-invoice",
|
|
1064
1080
|
component: F,
|
|
1065
|
-
children:
|
|
1081
|
+
children: S.map((e) => ({ ...e, path: `/e-invoice${e.path}` })),
|
|
1066
1082
|
meta: {
|
|
1067
1083
|
i18nKey: "settings.eInvoice.title"
|
|
1068
1084
|
}
|
|
@@ -1070,7 +1086,7 @@ const I = /* @__PURE__ */ p({
|
|
|
1070
1086
|
{
|
|
1071
1087
|
path: "/tagging",
|
|
1072
1088
|
name: "$settings-tagging",
|
|
1073
|
-
component: k(i(() => import("./Tagging-
|
|
1089
|
+
component: k(i(() => import("./Tagging-dd278f34.js"))),
|
|
1074
1090
|
meta: {
|
|
1075
1091
|
i18nKey: "settings.tagging.title",
|
|
1076
1092
|
validationManifest: {
|
|
@@ -1079,7 +1095,7 @@ const I = /* @__PURE__ */ p({
|
|
|
1079
1095
|
hideNavigation: !0
|
|
1080
1096
|
}
|
|
1081
1097
|
}
|
|
1082
|
-
],
|
|
1098
|
+
], Q = i(() => import("./App-129e0e7f.js")), J = {
|
|
1083
1099
|
"en-US": {
|
|
1084
1100
|
...D,
|
|
1085
1101
|
...s["en-US"]
|
|
@@ -1094,9 +1110,9 @@ const I = /* @__PURE__ */ p({
|
|
|
1094
1110
|
}
|
|
1095
1111
|
};
|
|
1096
1112
|
export {
|
|
1097
|
-
|
|
1113
|
+
Q as F,
|
|
1098
1114
|
I as _,
|
|
1099
1115
|
J as i,
|
|
1100
|
-
|
|
1101
|
-
|
|
1116
|
+
G as r,
|
|
1117
|
+
$ as u
|
|
1102
1118
|
};
|
package/dist/app.js
CHANGED
|
@@ -388,6 +388,10 @@ export declare const i18nMessages: {
|
|
|
388
388
|
};
|
|
389
389
|
};
|
|
390
390
|
};
|
|
391
|
+
codeConfirmation: {
|
|
392
|
+
title: string;
|
|
393
|
+
message: string;
|
|
394
|
+
};
|
|
391
395
|
};
|
|
392
396
|
form: {
|
|
393
397
|
title: string;
|
|
@@ -971,6 +975,14 @@ export declare const i18nMessages: {
|
|
|
971
975
|
};
|
|
972
976
|
};
|
|
973
977
|
};
|
|
978
|
+
codeConfirmation: {
|
|
979
|
+
title: string;
|
|
980
|
+
message: string;
|
|
981
|
+
};
|
|
982
|
+
};
|
|
983
|
+
codeConfirmation: {
|
|
984
|
+
title: string;
|
|
985
|
+
message: string;
|
|
974
986
|
};
|
|
975
987
|
};
|
|
976
988
|
form: {
|
|
@@ -4,7 +4,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
4
4
|
type: PropType<{
|
|
5
5
|
type: "string" | "number" | "boolean" | "date";
|
|
6
6
|
key: string;
|
|
7
|
-
entity: "restaurant" | "item";
|
|
7
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
8
8
|
}>;
|
|
9
9
|
default: undefined;
|
|
10
10
|
};
|
|
@@ -16,7 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
16
16
|
type: PropType<{
|
|
17
17
|
type: "string" | "number" | "boolean" | "date";
|
|
18
18
|
key: string;
|
|
19
|
-
entity: "restaurant" | "item";
|
|
19
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
20
20
|
}>;
|
|
21
21
|
default: undefined;
|
|
22
22
|
};
|
|
@@ -24,7 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
24
24
|
initialValue: {
|
|
25
25
|
type: "string" | "number" | "boolean" | "date";
|
|
26
26
|
key: string;
|
|
27
|
-
entity: "restaurant" | "item";
|
|
27
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
28
28
|
};
|
|
29
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
30
30
|
default?(_: {
|
|
@@ -3,25 +3,25 @@ export declare const useAttributeSettingsStore: import("pinia").StoreDefinition<
|
|
|
3
3
|
customAttributes: import("vue").Ref<{
|
|
4
4
|
type: "string" | "number" | "boolean" | "date";
|
|
5
5
|
key: string;
|
|
6
|
-
entity: "restaurant" | "item";
|
|
6
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
7
7
|
}[], {
|
|
8
8
|
type: "string" | "number" | "boolean" | "date";
|
|
9
9
|
key: string;
|
|
10
|
-
entity: "restaurant" | "item";
|
|
10
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
11
11
|
}[] | {
|
|
12
12
|
type: "string" | "number" | "boolean" | "date";
|
|
13
13
|
key: string;
|
|
14
|
-
entity: "restaurant" | "item";
|
|
14
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
15
15
|
}[]>;
|
|
16
16
|
restaurantAttributes: import("vue").ComputedRef<{
|
|
17
17
|
type: "string" | "number" | "boolean" | "date";
|
|
18
18
|
key: string;
|
|
19
|
-
entity: "restaurant" | "item";
|
|
19
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
20
20
|
}[]>;
|
|
21
21
|
itemAttributes: import("vue").ComputedRef<{
|
|
22
22
|
type: "string" | "number" | "boolean" | "date";
|
|
23
23
|
key: string;
|
|
24
|
-
entity: "restaurant" | "item";
|
|
24
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
25
25
|
}[]>;
|
|
26
26
|
readAttributeSettings: () => Promise<void>;
|
|
27
27
|
addOrUpdateAttribute: (attribute: FdoCustomAttribute) => Promise<void>;
|
|
@@ -30,25 +30,25 @@ export declare const useAttributeSettingsStore: import("pinia").StoreDefinition<
|
|
|
30
30
|
customAttributes: import("vue").Ref<{
|
|
31
31
|
type: "string" | "number" | "boolean" | "date";
|
|
32
32
|
key: string;
|
|
33
|
-
entity: "restaurant" | "item";
|
|
33
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
34
34
|
}[], {
|
|
35
35
|
type: "string" | "number" | "boolean" | "date";
|
|
36
36
|
key: string;
|
|
37
|
-
entity: "restaurant" | "item";
|
|
37
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
38
38
|
}[] | {
|
|
39
39
|
type: "string" | "number" | "boolean" | "date";
|
|
40
40
|
key: string;
|
|
41
|
-
entity: "restaurant" | "item";
|
|
41
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
42
42
|
}[]>;
|
|
43
43
|
restaurantAttributes: import("vue").ComputedRef<{
|
|
44
44
|
type: "string" | "number" | "boolean" | "date";
|
|
45
45
|
key: string;
|
|
46
|
-
entity: "restaurant" | "item";
|
|
46
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
47
47
|
}[]>;
|
|
48
48
|
itemAttributes: import("vue").ComputedRef<{
|
|
49
49
|
type: "string" | "number" | "boolean" | "date";
|
|
50
50
|
key: string;
|
|
51
|
-
entity: "restaurant" | "item";
|
|
51
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
52
52
|
}[]>;
|
|
53
53
|
readAttributeSettings: () => Promise<void>;
|
|
54
54
|
addOrUpdateAttribute: (attribute: FdoCustomAttribute) => Promise<void>;
|
|
@@ -57,25 +57,25 @@ export declare const useAttributeSettingsStore: import("pinia").StoreDefinition<
|
|
|
57
57
|
customAttributes: import("vue").Ref<{
|
|
58
58
|
type: "string" | "number" | "boolean" | "date";
|
|
59
59
|
key: string;
|
|
60
|
-
entity: "restaurant" | "item";
|
|
60
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
61
61
|
}[], {
|
|
62
62
|
type: "string" | "number" | "boolean" | "date";
|
|
63
63
|
key: string;
|
|
64
|
-
entity: "restaurant" | "item";
|
|
64
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
65
65
|
}[] | {
|
|
66
66
|
type: "string" | "number" | "boolean" | "date";
|
|
67
67
|
key: string;
|
|
68
|
-
entity: "restaurant" | "item";
|
|
68
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
69
69
|
}[]>;
|
|
70
70
|
restaurantAttributes: import("vue").ComputedRef<{
|
|
71
71
|
type: "string" | "number" | "boolean" | "date";
|
|
72
72
|
key: string;
|
|
73
|
-
entity: "restaurant" | "item";
|
|
73
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
74
74
|
}[]>;
|
|
75
75
|
itemAttributes: import("vue").ComputedRef<{
|
|
76
76
|
type: "string" | "number" | "boolean" | "date";
|
|
77
77
|
key: string;
|
|
78
|
-
entity: "restaurant" | "item";
|
|
78
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
79
79
|
}[]>;
|
|
80
80
|
readAttributeSettings: () => Promise<void>;
|
|
81
81
|
addOrUpdateAttribute: (attribute: FdoCustomAttribute) => Promise<void>;
|