@feedmepos/mf-common 1.21.0-beta.2 → 1.23.0
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/{CustomAttributesForm-d0b2a1f7.js → CustomAttributesForm-b36128e5.js} +1 -1
- package/dist/Entry.vue.d.ts.map +1 -1
- package/dist/ItemSelector-77dd8a63.js +24794 -0
- package/dist/{RestaurantSelector-a3a15102.js → RestaurantSelector-e51cdfba.js} +4 -4
- package/dist/{app-46718ad9.js → app-1da70dba.js} +31633 -29762
- package/dist/app.d.ts +9 -7
- package/dist/app.d.ts.map +1 -1
- package/dist/app.js +32 -29
- package/dist/components/Portal/PortalDesktop.vue.d.ts +2 -74
- package/dist/components/Portal/PortalDesktop.vue.d.ts.map +1 -1
- package/dist/components/Portal/PortalMobile.vue.d.ts +3 -75
- package/dist/components/Portal/PortalMobile.vue.d.ts.map +1 -1
- package/dist/components/Portal/PortalTablet.vue.d.ts +2 -74
- package/dist/components/Portal/PortalTablet.vue.d.ts.map +1 -1
- package/dist/components/Portal/index.d.ts +3 -2
- package/dist/components/Portal/index.d.ts.map +1 -1
- package/dist/components/Portal/index.vue.d.ts +2 -74
- package/dist/components/Portal/index.vue.d.ts.map +1 -1
- package/dist/components/RestaurantSelector.vue.d.ts.map +1 -1
- package/dist/components/UserInfo/index.vue.d.ts +5 -148
- package/dist/components/UserInfo/index.vue.d.ts.map +1 -1
- package/dist/composables/usePaginatedBusinesses.d.ts +2 -2
- package/dist/main.d.ts.map +1 -1
- package/dist/store.d.ts +94 -100
- package/dist/store.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/utils/country.d.ts +9 -8
- package/dist/utils/country.d.ts.map +1 -1
- package/package.json +4 -3
- package/dist/ItemSelector-31ba16ee.js +0 -48533
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type PropType } from "vue";
|
2
2
|
import type { FeedMeUser } from "@feedmepos/auth";
|
3
|
+
import type { Country } from "@/components/Portal/index";
|
3
4
|
import { type FmpBusiness } from "@/store";
|
4
5
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
5
6
|
user: {
|
@@ -15,43 +16,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
15
16
|
default: undefined;
|
16
17
|
};
|
17
18
|
countries: {
|
18
|
-
type: PropType<
|
19
|
-
taxLevel?: number | null | undefined;
|
20
|
-
currency: {
|
21
|
-
locale?: string | null | undefined;
|
22
|
-
symbol: string;
|
23
|
-
code: string;
|
24
|
-
precision: number;
|
25
|
-
format: string;
|
26
|
-
};
|
27
|
-
code: string;
|
28
|
-
name: string;
|
29
|
-
callingCode: string;
|
30
|
-
roundingOptions: {
|
31
|
-
amount: number;
|
32
|
-
precision: number;
|
33
|
-
}[];
|
34
|
-
taxSystems: {
|
35
|
-
code: string;
|
36
|
-
name: string;
|
37
|
-
variants: {
|
38
|
-
default?: boolean | null | undefined;
|
39
|
-
rateByTime?: {
|
40
|
-
rate: {
|
41
|
-
amount: number;
|
42
|
-
precision: number;
|
43
|
-
};
|
44
|
-
startDate: string;
|
45
|
-
}[] | null | undefined;
|
46
|
-
code: string;
|
47
|
-
name: string;
|
48
|
-
rate: {
|
49
|
-
amount: number;
|
50
|
-
precision: number;
|
51
|
-
};
|
52
|
-
}[];
|
53
|
-
}[];
|
54
|
-
}[]>;
|
19
|
+
type: PropType<Country[]>;
|
55
20
|
required: true;
|
56
21
|
};
|
57
22
|
currentCountry: {
|
@@ -63,43 +28,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
63
28
|
logout: () => void;
|
64
29
|
"select-business": (business: FmpBusiness, shouldReload: boolean) => void;
|
65
30
|
"open-my-business": () => void;
|
66
|
-
"select-country": (country:
|
67
|
-
taxLevel?: number | null | undefined;
|
68
|
-
currency: {
|
69
|
-
locale?: string | null | undefined;
|
70
|
-
symbol: string;
|
71
|
-
code: string;
|
72
|
-
precision: number;
|
73
|
-
format: string;
|
74
|
-
};
|
75
|
-
code: string;
|
76
|
-
name: string;
|
77
|
-
callingCode: string;
|
78
|
-
roundingOptions: {
|
79
|
-
amount: number;
|
80
|
-
precision: number;
|
81
|
-
}[];
|
82
|
-
taxSystems: {
|
83
|
-
code: string;
|
84
|
-
name: string;
|
85
|
-
variants: {
|
86
|
-
default?: boolean | null | undefined;
|
87
|
-
rateByTime?: {
|
88
|
-
rate: {
|
89
|
-
amount: number;
|
90
|
-
precision: number;
|
91
|
-
};
|
92
|
-
startDate: string;
|
93
|
-
}[] | null | undefined;
|
94
|
-
code: string;
|
95
|
-
name: string;
|
96
|
-
rate: {
|
97
|
-
amount: number;
|
98
|
-
precision: number;
|
99
|
-
};
|
100
|
-
}[];
|
101
|
-
}[];
|
102
|
-
}, shouldReload: boolean) => void;
|
31
|
+
"select-country": (country: Country, shouldReload: boolean) => void;
|
103
32
|
"select-app": (app: import("@/store").PortalApp) => void;
|
104
33
|
"update:dropdownOpened": (value: boolean) => void;
|
105
34
|
"goto:settings": () => void;
|
@@ -118,43 +47,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
118
47
|
default: undefined;
|
119
48
|
};
|
120
49
|
countries: {
|
121
|
-
type: PropType<
|
122
|
-
taxLevel?: number | null | undefined;
|
123
|
-
currency: {
|
124
|
-
locale?: string | null | undefined;
|
125
|
-
symbol: string;
|
126
|
-
code: string;
|
127
|
-
precision: number;
|
128
|
-
format: string;
|
129
|
-
};
|
130
|
-
code: string;
|
131
|
-
name: string;
|
132
|
-
callingCode: string;
|
133
|
-
roundingOptions: {
|
134
|
-
amount: number;
|
135
|
-
precision: number;
|
136
|
-
}[];
|
137
|
-
taxSystems: {
|
138
|
-
code: string;
|
139
|
-
name: string;
|
140
|
-
variants: {
|
141
|
-
default?: boolean | null | undefined;
|
142
|
-
rateByTime?: {
|
143
|
-
rate: {
|
144
|
-
amount: number;
|
145
|
-
precision: number;
|
146
|
-
};
|
147
|
-
startDate: string;
|
148
|
-
}[] | null | undefined;
|
149
|
-
code: string;
|
150
|
-
name: string;
|
151
|
-
rate: {
|
152
|
-
amount: number;
|
153
|
-
precision: number;
|
154
|
-
};
|
155
|
-
}[];
|
156
|
-
}[];
|
157
|
-
}[]>;
|
50
|
+
type: PropType<Country[]>;
|
158
51
|
required: true;
|
159
52
|
};
|
160
53
|
currentCountry: {
|
@@ -166,43 +59,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
166
59
|
onLogout?: (() => any) | undefined;
|
167
60
|
"onSelect-business"?: ((business: FmpBusiness, shouldReload: boolean) => any) | undefined;
|
168
61
|
"onOpen-my-business"?: (() => any) | undefined;
|
169
|
-
"onSelect-country"?: ((country:
|
170
|
-
taxLevel?: number | null | undefined;
|
171
|
-
currency: {
|
172
|
-
locale?: string | null | undefined;
|
173
|
-
symbol: string;
|
174
|
-
code: string;
|
175
|
-
precision: number;
|
176
|
-
format: string;
|
177
|
-
};
|
178
|
-
code: string;
|
179
|
-
name: string;
|
180
|
-
callingCode: string;
|
181
|
-
roundingOptions: {
|
182
|
-
amount: number;
|
183
|
-
precision: number;
|
184
|
-
}[];
|
185
|
-
taxSystems: {
|
186
|
-
code: string;
|
187
|
-
name: string;
|
188
|
-
variants: {
|
189
|
-
default?: boolean | null | undefined;
|
190
|
-
rateByTime?: {
|
191
|
-
rate: {
|
192
|
-
amount: number;
|
193
|
-
precision: number;
|
194
|
-
};
|
195
|
-
startDate: string;
|
196
|
-
}[] | null | undefined;
|
197
|
-
code: string;
|
198
|
-
name: string;
|
199
|
-
rate: {
|
200
|
-
amount: number;
|
201
|
-
precision: number;
|
202
|
-
};
|
203
|
-
}[];
|
204
|
-
}[];
|
205
|
-
}, shouldReload: boolean) => any) | undefined;
|
62
|
+
"onSelect-country"?: ((country: Country, shouldReload: boolean) => any) | undefined;
|
206
63
|
"onSelect-app"?: ((app: import("@/store").PortalApp) => any) | undefined;
|
207
64
|
"onUpdate:dropdownOpened"?: ((value: boolean) => any) | undefined;
|
208
65
|
"onGoto:settings"?: (() => any) | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/UserInfo/index.vue.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/UserInfo/index.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,QAAQ,EAAoB,MAAM,KAAK,CAAA;AAG/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAQjD,OAAO,KAAK,EAAE,OAAO,EAAgB,MAAM,2BAA2B,CAAA;AAGtE,OAAO,EAAE,KAAK,WAAW,EAAgB,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAglBxD,wBA4BG"}
|
@@ -12,7 +12,7 @@ export declare function usePaginatedBusinesses(): {
|
|
12
12
|
attributeSettings?: {
|
13
13
|
type: "string" | "number" | "boolean" | "date";
|
14
14
|
key: string;
|
15
|
-
entity: "restaurant" | "item";
|
15
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
16
16
|
}[] | null | undefined;
|
17
17
|
pf_agent?: {
|
18
18
|
clickupId?: string | null | undefined;
|
@@ -79,7 +79,7 @@ export declare function usePaginatedBusinesses(): {
|
|
79
79
|
attributeSettings?: {
|
80
80
|
type: "string" | "number" | "boolean" | "date";
|
81
81
|
key: string;
|
82
|
-
entity: "restaurant" | "item";
|
82
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
83
83
|
}[] | null | undefined;
|
84
84
|
pf_agent?: {
|
85
85
|
clickupId?: string | null | undefined;
|
package/dist/main.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":"AAKA,OAAO,mBAAmB,CAAA"}
|