@feedmepos/mf-settings 0.0.74 → 0.0.75-dev.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-35971c1b.js +4378 -0
- package/dist/Business-f606024e.js +11276 -0
- package/dist/{CreateBusiness-c881b40e.js → CreateBusiness-8709fcdc.js} +117 -149
- package/dist/FoodCourt-b54debb1.js +47800 -0
- package/dist/{FormSection.vue_vue_type_script_setup_true_lang-6aab82f2.js → FormSection.vue_vue_type_script_setup_true_lang-f34c8596.js} +17 -16
- package/dist/{Tagging-4337306c.js → Tagging-a5f9efca.js} +8 -9
- package/dist/TemplateBuilder-54a34178.js +27 -0
- package/dist/app-3b03b910.js +4270 -0
- package/dist/app.js +3 -4
- package/dist/apps/mf-settings/src/app.d.ts +1 -1
- package/dist/apps/mf-settings/src/components/tagging/TaggingForm.vue.d.ts +6 -3
- package/dist/apps/mf-settings/src/extensions/business.d.ts +7 -2
- package/dist/apps/mf-settings/src/router/shared.d.ts +1 -1
- package/dist/apps/mf-settings/src/store/attributeSettings.d.ts +30 -15
- package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{business-f739dad4.js → business-1f49af71.js} +1 -1
- package/dist/dayjs.min-a3e17295.js +345 -0
- package/dist/index-406cc08d.js +19758 -0
- package/dist/{index-b9ef9a01.js → index-4d304b46.js} +5520 -5366
- package/dist/index-fdc00332.js +8047 -0
- package/dist/{map-54b71412.js → map-695afd6f.js} +410 -527
- package/dist/object-8ac0c0d8.js +63 -0
- package/dist/packages/shared/src/helpers/actionButton.d.ts +2 -2
- package/dist/rules-c9fa22f8.js +13 -0
- package/package.json +5 -4
- package/dist/App-12cbd13e.js +0 -23257
- package/dist/Business-c6660aea.js +0 -20073
- package/dist/FoodCourt-67ab2a1a.js +0 -72969
- package/dist/ReasonTemplate-b4e2346e.js +0 -2235
- package/dist/ResponsiveFabButton.vue_vue_type_script_setup_true_lang-8f929a2d.js +0 -38
- package/dist/TemplateBuilder-3e34e9e8.js +0 -27
- package/dist/_commonjs-dynamic-modules-bed80856.js +0 -6
- package/dist/_plugin-vue_export-helper-dad06003.js +0 -9
- package/dist/app-df7c7bf8.js +0 -1853
- package/dist/apps/mf-settings/src/View/ReasonTemplate.vue.d.ts +0 -2
- package/dist/apps/mf-settings/src/components/reason/ReasonTemplateForm.vue.d.ts +0 -28
- package/dist/apps/mf-settings/src/types/reasonTemplate.d.ts +0 -9
- package/dist/createForm-d3b97d2e.js +0 -50
- package/dist/dayjs.min-6eec923a.js +0 -310
- package/dist/index-6d139c6d.js +0 -2395
- package/dist/object-27ce045b.js +0 -16
- package/dist/rules-2bee6632.js +0 -6
package/dist/app.js
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import "@feedmepos/mf-mdm";
|
|
2
2
|
import "@feedmepos/mf-order-setting";
|
|
3
|
-
import { F
|
|
3
|
+
import { F, d, r as f } from "./app-3b03b910.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "@feedmepos/ui-library";
|
|
6
6
|
import "vue-router";
|
|
7
7
|
import "@feedmepos/mf-common";
|
|
8
8
|
import "@feedmepos/mf-e-invoice";
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
R as i18nMessages,
|
|
10
|
+
F as FmApp,
|
|
11
|
+
d as i18nMessages,
|
|
13
12
|
f as routers
|
|
14
13
|
};
|
|
@@ -3,9 +3,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
3
3
|
initialValue: {
|
|
4
4
|
type: PropType<{
|
|
5
5
|
options?: any[] | null | undefined;
|
|
6
|
+
readonly?: boolean | null | undefined;
|
|
6
7
|
type: "string" | "number" | "boolean" | "date";
|
|
7
8
|
key: string;
|
|
8
|
-
entity: "restaurant" | "group" | "item" | "
|
|
9
|
+
entity: "restaurant" | "group" | "item" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
|
|
9
10
|
}>;
|
|
10
11
|
default: undefined;
|
|
11
12
|
};
|
|
@@ -16,18 +17,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
16
17
|
initialValue: {
|
|
17
18
|
type: PropType<{
|
|
18
19
|
options?: any[] | null | undefined;
|
|
20
|
+
readonly?: boolean | null | undefined;
|
|
19
21
|
type: "string" | "number" | "boolean" | "date";
|
|
20
22
|
key: string;
|
|
21
|
-
entity: "restaurant" | "group" | "item" | "
|
|
23
|
+
entity: "restaurant" | "group" | "item" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
|
|
22
24
|
}>;
|
|
23
25
|
default: undefined;
|
|
24
26
|
};
|
|
25
27
|
}>> & Readonly<{}>, {
|
|
26
28
|
initialValue: {
|
|
27
29
|
options?: any[] | null | undefined;
|
|
30
|
+
readonly?: boolean | null | undefined;
|
|
28
31
|
type: "string" | "number" | "boolean" | "date";
|
|
29
32
|
key: string;
|
|
30
|
-
entity: "restaurant" | "group" | "item" | "
|
|
33
|
+
entity: "restaurant" | "group" | "item" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
|
|
31
34
|
};
|
|
32
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
33
36
|
default?(_: {
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
import type { FdoBusiness
|
|
2
|
-
|
|
1
|
+
import type { FdoBusiness } from "@feedmepos/core/entity";
|
|
2
|
+
type BusinessRestaurant = {
|
|
3
|
+
businessId?: string | null;
|
|
4
|
+
};
|
|
5
|
+
export declare function canCreateRestaurant(business: FdoBusiness, restaurants: BusinessRestaurant[]): boolean | undefined;
|
|
6
|
+
export declare function canUpdateBusinessProfile(business: FdoBusiness): boolean | undefined;
|
|
7
|
+
export {};
|
|
@@ -2,31 +2,36 @@ import { type FdoCustomAttribute } from "@feedmepos/core/entity";
|
|
|
2
2
|
export declare const useAttributeSettingsStore: import("pinia").StoreDefinition<"mf-settings-attribute-settings", Pick<{
|
|
3
3
|
customAttributes: import("vue").Ref<{
|
|
4
4
|
options?: any[] | null | undefined;
|
|
5
|
+
readonly?: boolean | null | undefined;
|
|
5
6
|
type: "string" | "number" | "boolean" | "date";
|
|
6
7
|
key: string;
|
|
7
|
-
entity: "restaurant" | "group" | "item" | "
|
|
8
|
+
entity: "restaurant" | "group" | "item" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
|
|
8
9
|
}[], {
|
|
9
10
|
options?: any[] | null | undefined;
|
|
11
|
+
readonly?: boolean | null | undefined;
|
|
10
12
|
type: "string" | "number" | "boolean" | "date";
|
|
11
13
|
key: string;
|
|
12
|
-
entity: "restaurant" | "group" | "item" | "
|
|
14
|
+
entity: "restaurant" | "group" | "item" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
|
|
13
15
|
}[] | {
|
|
14
16
|
options?: any[] | null | undefined;
|
|
17
|
+
readonly?: boolean | null | undefined;
|
|
15
18
|
type: "string" | "number" | "boolean" | "date";
|
|
16
19
|
key: string;
|
|
17
|
-
entity: "restaurant" | "group" | "item" | "
|
|
20
|
+
entity: "restaurant" | "group" | "item" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
|
|
18
21
|
}[]>;
|
|
19
22
|
restaurantAttributes: import("vue").ComputedRef<{
|
|
20
23
|
options?: any[] | null | undefined;
|
|
24
|
+
readonly?: boolean | null | undefined;
|
|
21
25
|
type: "string" | "number" | "boolean" | "date";
|
|
22
26
|
key: string;
|
|
23
|
-
entity: "restaurant" | "group" | "item" | "
|
|
27
|
+
entity: "restaurant" | "group" | "item" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
|
|
24
28
|
}[]>;
|
|
25
29
|
itemAttributes: import("vue").ComputedRef<{
|
|
26
30
|
options?: any[] | null | undefined;
|
|
31
|
+
readonly?: boolean | null | undefined;
|
|
27
32
|
type: "string" | "number" | "boolean" | "date";
|
|
28
33
|
key: string;
|
|
29
|
-
entity: "restaurant" | "group" | "item" | "
|
|
34
|
+
entity: "restaurant" | "group" | "item" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
|
|
30
35
|
}[]>;
|
|
31
36
|
readAttributeSettings: () => Promise<void>;
|
|
32
37
|
addOrUpdateAttribute: (attribute: FdoCustomAttribute & {
|
|
@@ -36,31 +41,36 @@ export declare const useAttributeSettingsStore: import("pinia").StoreDefinition<
|
|
|
36
41
|
}, "customAttributes">, Pick<{
|
|
37
42
|
customAttributes: import("vue").Ref<{
|
|
38
43
|
options?: any[] | null | undefined;
|
|
44
|
+
readonly?: boolean | null | undefined;
|
|
39
45
|
type: "string" | "number" | "boolean" | "date";
|
|
40
46
|
key: string;
|
|
41
|
-
entity: "restaurant" | "group" | "item" | "
|
|
47
|
+
entity: "restaurant" | "group" | "item" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
|
|
42
48
|
}[], {
|
|
43
49
|
options?: any[] | null | undefined;
|
|
50
|
+
readonly?: boolean | null | undefined;
|
|
44
51
|
type: "string" | "number" | "boolean" | "date";
|
|
45
52
|
key: string;
|
|
46
|
-
entity: "restaurant" | "group" | "item" | "
|
|
53
|
+
entity: "restaurant" | "group" | "item" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
|
|
47
54
|
}[] | {
|
|
48
55
|
options?: any[] | null | undefined;
|
|
56
|
+
readonly?: boolean | null | undefined;
|
|
49
57
|
type: "string" | "number" | "boolean" | "date";
|
|
50
58
|
key: string;
|
|
51
|
-
entity: "restaurant" | "group" | "item" | "
|
|
59
|
+
entity: "restaurant" | "group" | "item" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
|
|
52
60
|
}[]>;
|
|
53
61
|
restaurantAttributes: import("vue").ComputedRef<{
|
|
54
62
|
options?: any[] | null | undefined;
|
|
63
|
+
readonly?: boolean | null | undefined;
|
|
55
64
|
type: "string" | "number" | "boolean" | "date";
|
|
56
65
|
key: string;
|
|
57
|
-
entity: "restaurant" | "group" | "item" | "
|
|
66
|
+
entity: "restaurant" | "group" | "item" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
|
|
58
67
|
}[]>;
|
|
59
68
|
itemAttributes: import("vue").ComputedRef<{
|
|
60
69
|
options?: any[] | null | undefined;
|
|
70
|
+
readonly?: boolean | null | undefined;
|
|
61
71
|
type: "string" | "number" | "boolean" | "date";
|
|
62
72
|
key: string;
|
|
63
|
-
entity: "restaurant" | "group" | "item" | "
|
|
73
|
+
entity: "restaurant" | "group" | "item" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
|
|
64
74
|
}[]>;
|
|
65
75
|
readAttributeSettings: () => Promise<void>;
|
|
66
76
|
addOrUpdateAttribute: (attribute: FdoCustomAttribute & {
|
|
@@ -70,31 +80,36 @@ export declare const useAttributeSettingsStore: import("pinia").StoreDefinition<
|
|
|
70
80
|
}, "restaurantAttributes" | "itemAttributes">, Pick<{
|
|
71
81
|
customAttributes: import("vue").Ref<{
|
|
72
82
|
options?: any[] | null | undefined;
|
|
83
|
+
readonly?: boolean | null | undefined;
|
|
73
84
|
type: "string" | "number" | "boolean" | "date";
|
|
74
85
|
key: string;
|
|
75
|
-
entity: "restaurant" | "group" | "item" | "
|
|
86
|
+
entity: "restaurant" | "group" | "item" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
|
|
76
87
|
}[], {
|
|
77
88
|
options?: any[] | null | undefined;
|
|
89
|
+
readonly?: boolean | null | undefined;
|
|
78
90
|
type: "string" | "number" | "boolean" | "date";
|
|
79
91
|
key: string;
|
|
80
|
-
entity: "restaurant" | "group" | "item" | "
|
|
92
|
+
entity: "restaurant" | "group" | "item" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
|
|
81
93
|
}[] | {
|
|
82
94
|
options?: any[] | null | undefined;
|
|
95
|
+
readonly?: boolean | null | undefined;
|
|
83
96
|
type: "string" | "number" | "boolean" | "date";
|
|
84
97
|
key: string;
|
|
85
|
-
entity: "restaurant" | "group" | "item" | "
|
|
98
|
+
entity: "restaurant" | "group" | "item" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
|
|
86
99
|
}[]>;
|
|
87
100
|
restaurantAttributes: import("vue").ComputedRef<{
|
|
88
101
|
options?: any[] | null | undefined;
|
|
102
|
+
readonly?: boolean | null | undefined;
|
|
89
103
|
type: "string" | "number" | "boolean" | "date";
|
|
90
104
|
key: string;
|
|
91
|
-
entity: "restaurant" | "group" | "item" | "
|
|
105
|
+
entity: "restaurant" | "group" | "item" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
|
|
92
106
|
}[]>;
|
|
93
107
|
itemAttributes: import("vue").ComputedRef<{
|
|
94
108
|
options?: any[] | null | undefined;
|
|
109
|
+
readonly?: boolean | null | undefined;
|
|
95
110
|
type: "string" | "number" | "boolean" | "date";
|
|
96
111
|
key: string;
|
|
97
|
-
entity: "restaurant" | "group" | "item" | "
|
|
112
|
+
entity: "restaurant" | "group" | "item" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
|
|
98
113
|
}[]>;
|
|
99
114
|
readAttributeSettings: () => Promise<void>;
|
|
100
115
|
addOrUpdateAttribute: (attribute: FdoCustomAttribute & {
|