@feedmepos/mf-common 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/App.vue.d.ts +8 -1
- package/dist/app.d.ts +125 -648
- package/dist/app.js +3035 -3011
- package/dist/auth.d.ts +2 -9
- package/dist/store.d.ts +38 -219
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/app.d.ts
CHANGED
@@ -1,83 +1,13 @@
|
|
1
|
+
import { FeedMeAuth } from './auth';
|
1
2
|
export declare const useCoreStore: () => {
|
2
|
-
apps: import("vue").Ref<{
|
3
|
-
icon: string;
|
4
|
-
name: string;
|
5
|
-
description: string;
|
6
|
-
path: string;
|
7
|
-
color: string;
|
8
|
-
}[]>;
|
9
|
-
currentAppName: import("vue").Ref<string>;
|
10
3
|
sessionUser: import("vue").Ref<{
|
11
4
|
id: string;
|
12
5
|
email?: string | null | undefined;
|
13
6
|
photoURL?: string | null | undefined;
|
14
7
|
displayName?: string | null | undefined;
|
15
8
|
phoneNumber?: string | null | undefined;
|
16
|
-
token: string;
|
17
|
-
|
18
|
-
toString: () => string;
|
19
|
-
toDateString: () => string;
|
20
|
-
toTimeString: () => string;
|
21
|
-
toLocaleString: {
|
22
|
-
(): string;
|
23
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
24
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
25
|
-
};
|
26
|
-
toLocaleDateString: {
|
27
|
-
(): string;
|
28
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
29
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
30
|
-
};
|
31
|
-
toLocaleTimeString: {
|
32
|
-
(): string;
|
33
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
34
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
35
|
-
};
|
36
|
-
valueOf: () => number;
|
37
|
-
getTime: () => number;
|
38
|
-
getFullYear: () => number;
|
39
|
-
getUTCFullYear: () => number;
|
40
|
-
getMonth: () => number;
|
41
|
-
getUTCMonth: () => number;
|
42
|
-
getDate: () => number;
|
43
|
-
getUTCDate: () => number;
|
44
|
-
getDay: () => number;
|
45
|
-
getUTCDay: () => number;
|
46
|
-
getHours: () => number;
|
47
|
-
getUTCHours: () => number;
|
48
|
-
getMinutes: () => number;
|
49
|
-
getUTCMinutes: () => number;
|
50
|
-
getSeconds: () => number;
|
51
|
-
getUTCSeconds: () => number;
|
52
|
-
getMilliseconds: () => number;
|
53
|
-
getUTCMilliseconds: () => number;
|
54
|
-
getTimezoneOffset: () => number;
|
55
|
-
setTime: (time: number) => number;
|
56
|
-
setMilliseconds: (ms: number) => number;
|
57
|
-
setUTCMilliseconds: (ms: number) => number;
|
58
|
-
setSeconds: (sec: number, ms?: number | undefined) => number;
|
59
|
-
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
60
|
-
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
61
|
-
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
62
|
-
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
63
|
-
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
64
|
-
setDate: (date: number) => number;
|
65
|
-
setUTCDate: (date: number) => number;
|
66
|
-
setMonth: (month: number, date?: number | undefined) => number;
|
67
|
-
setUTCMonth: (month: number, date?: number | undefined) => number;
|
68
|
-
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
69
|
-
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
70
|
-
toUTCString: () => string;
|
71
|
-
toISOString: () => string;
|
72
|
-
toJSON: (key?: any) => string;
|
73
|
-
[Symbol.toPrimitive]: {
|
74
|
-
(hint: "default"): string;
|
75
|
-
(hint: "string"): string;
|
76
|
-
(hint: "number"): number;
|
77
|
-
(hint: string): string | number;
|
78
|
-
};
|
79
|
-
};
|
80
|
-
setToken: (token: string, tokenExpiredAt: Date) => void;
|
9
|
+
readonly token: string | null;
|
10
|
+
getCustomToken: () => Promise<string>;
|
81
11
|
setAdminPermisssions: (permissions: {
|
82
12
|
fields?: string[] | undefined;
|
83
13
|
conditions?: any;
|
@@ -87,7 +17,7 @@ export declare const useCoreStore: () => {
|
|
87
17
|
actions: string | string[];
|
88
18
|
subject: string | string[];
|
89
19
|
}[]) => void;
|
90
|
-
|
20
|
+
setPermissions: (permissions: {
|
91
21
|
fields?: string[] | undefined;
|
92
22
|
conditions?: any;
|
93
23
|
inverted?: boolean | undefined;
|
@@ -1130,86 +1060,29 @@ export declare const useCoreStore: () => {
|
|
1130
1060
|
regNo: string;
|
1131
1061
|
};
|
1132
1062
|
} | undefined>;
|
1063
|
+
apps: import("vue").Ref<{
|
1064
|
+
icon: string;
|
1065
|
+
name: string;
|
1066
|
+
description: string;
|
1067
|
+
path: string;
|
1068
|
+
color: string;
|
1069
|
+
}[]>;
|
1070
|
+
selectedApp: import("vue").Ref<{
|
1071
|
+
icon: string;
|
1072
|
+
name: string;
|
1073
|
+
description: string;
|
1074
|
+
path: string;
|
1075
|
+
color: string;
|
1076
|
+
} | undefined>;
|
1133
1077
|
$state: {
|
1134
|
-
apps: {
|
1135
|
-
icon: string;
|
1136
|
-
name: string;
|
1137
|
-
description: string;
|
1138
|
-
path: string;
|
1139
|
-
color: string;
|
1140
|
-
}[];
|
1141
|
-
currentAppName: string;
|
1142
1078
|
sessionUser: {
|
1143
1079
|
id: string;
|
1144
1080
|
email?: string | null | undefined;
|
1145
1081
|
photoURL?: string | null | undefined;
|
1146
1082
|
displayName?: string | null | undefined;
|
1147
1083
|
phoneNumber?: string | null | undefined;
|
1148
|
-
token: string;
|
1149
|
-
|
1150
|
-
toString: () => string;
|
1151
|
-
toDateString: () => string;
|
1152
|
-
toTimeString: () => string;
|
1153
|
-
toLocaleString: {
|
1154
|
-
(): string;
|
1155
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1156
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1157
|
-
};
|
1158
|
-
toLocaleDateString: {
|
1159
|
-
(): string;
|
1160
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1161
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1162
|
-
};
|
1163
|
-
toLocaleTimeString: {
|
1164
|
-
(): string;
|
1165
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1166
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1167
|
-
};
|
1168
|
-
valueOf: () => number;
|
1169
|
-
getTime: () => number;
|
1170
|
-
getFullYear: () => number;
|
1171
|
-
getUTCFullYear: () => number;
|
1172
|
-
getMonth: () => number;
|
1173
|
-
getUTCMonth: () => number;
|
1174
|
-
getDate: () => number;
|
1175
|
-
getUTCDate: () => number;
|
1176
|
-
getDay: () => number;
|
1177
|
-
getUTCDay: () => number;
|
1178
|
-
getHours: () => number;
|
1179
|
-
getUTCHours: () => number;
|
1180
|
-
getMinutes: () => number;
|
1181
|
-
getUTCMinutes: () => number;
|
1182
|
-
getSeconds: () => number;
|
1183
|
-
getUTCSeconds: () => number;
|
1184
|
-
getMilliseconds: () => number;
|
1185
|
-
getUTCMilliseconds: () => number;
|
1186
|
-
getTimezoneOffset: () => number;
|
1187
|
-
setTime: (time: number) => number;
|
1188
|
-
setMilliseconds: (ms: number) => number;
|
1189
|
-
setUTCMilliseconds: (ms: number) => number;
|
1190
|
-
setSeconds: (sec: number, ms?: number | undefined) => number;
|
1191
|
-
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
1192
|
-
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
1193
|
-
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
1194
|
-
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
1195
|
-
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
1196
|
-
setDate: (date: number) => number;
|
1197
|
-
setUTCDate: (date: number) => number;
|
1198
|
-
setMonth: (month: number, date?: number | undefined) => number;
|
1199
|
-
setUTCMonth: (month: number, date?: number | undefined) => number;
|
1200
|
-
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
1201
|
-
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
1202
|
-
toUTCString: () => string;
|
1203
|
-
toISOString: () => string;
|
1204
|
-
toJSON: (key?: any) => string;
|
1205
|
-
[Symbol.toPrimitive]: {
|
1206
|
-
(hint: "default"): string;
|
1207
|
-
(hint: "string"): string;
|
1208
|
-
(hint: "number"): number;
|
1209
|
-
(hint: string): string | number;
|
1210
|
-
};
|
1211
|
-
};
|
1212
|
-
setToken: (token: string, tokenExpiredAt: Date) => void;
|
1084
|
+
readonly token: string | null;
|
1085
|
+
getCustomToken: () => Promise<string>;
|
1213
1086
|
setAdminPermisssions: (permissions: {
|
1214
1087
|
fields?: string[] | undefined;
|
1215
1088
|
conditions?: any;
|
@@ -1219,7 +1092,7 @@ export declare const useCoreStore: () => {
|
|
1219
1092
|
actions: string | string[];
|
1220
1093
|
subject: string | string[];
|
1221
1094
|
}[]) => void;
|
1222
|
-
|
1095
|
+
setPermissions: (permissions: {
|
1223
1096
|
fields?: string[] | undefined;
|
1224
1097
|
conditions?: any;
|
1225
1098
|
inverted?: boolean | undefined;
|
@@ -2262,88 +2135,32 @@ export declare const useCoreStore: () => {
|
|
2262
2135
|
regNo: string;
|
2263
2136
|
};
|
2264
2137
|
} | undefined;
|
2265
|
-
|
2266
|
-
apps: import("vue").Ref<{
|
2138
|
+
apps: {
|
2267
2139
|
icon: string;
|
2268
2140
|
name: string;
|
2269
2141
|
description: string;
|
2270
2142
|
path: string;
|
2271
2143
|
color: string;
|
2272
|
-
}[]
|
2273
|
-
|
2274
|
-
|
2275
|
-
|
2144
|
+
}[];
|
2145
|
+
selectedApp: {
|
2146
|
+
icon: string;
|
2147
|
+
name: string;
|
2148
|
+
description: string;
|
2149
|
+
path: string;
|
2150
|
+
color: string;
|
2151
|
+
} | undefined;
|
2152
|
+
} & import("pinia").PiniaCustomStateProperties<import("pinia")._UnwrapAll<Pick<{
|
2153
|
+
signIn: () => Promise<void>;
|
2154
|
+
signInWithToken: (user: import("./auth").FeedMeUser, token: string) => Promise<void>;
|
2155
|
+
signOut: () => Promise<void>;
|
2276
2156
|
sessionUser: import("vue").Ref<{
|
2277
2157
|
id: string;
|
2278
2158
|
email?: string | null | undefined;
|
2279
2159
|
photoURL?: string | null | undefined;
|
2280
2160
|
displayName?: string | null | undefined;
|
2281
2161
|
phoneNumber?: string | null | undefined;
|
2282
|
-
token: string;
|
2283
|
-
|
2284
|
-
toString: () => string;
|
2285
|
-
toDateString: () => string;
|
2286
|
-
toTimeString: () => string;
|
2287
|
-
toLocaleString: {
|
2288
|
-
(): string;
|
2289
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
2290
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
2291
|
-
};
|
2292
|
-
toLocaleDateString: {
|
2293
|
-
(): string;
|
2294
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
2295
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
2296
|
-
};
|
2297
|
-
toLocaleTimeString: {
|
2298
|
-
(): string;
|
2299
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
2300
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
2301
|
-
};
|
2302
|
-
valueOf: () => number;
|
2303
|
-
getTime: () => number;
|
2304
|
-
getFullYear: () => number;
|
2305
|
-
getUTCFullYear: () => number;
|
2306
|
-
getMonth: () => number;
|
2307
|
-
getUTCMonth: () => number;
|
2308
|
-
getDate: () => number;
|
2309
|
-
getUTCDate: () => number;
|
2310
|
-
getDay: () => number;
|
2311
|
-
getUTCDay: () => number;
|
2312
|
-
getHours: () => number;
|
2313
|
-
getUTCHours: () => number;
|
2314
|
-
getMinutes: () => number;
|
2315
|
-
getUTCMinutes: () => number;
|
2316
|
-
getSeconds: () => number;
|
2317
|
-
getUTCSeconds: () => number;
|
2318
|
-
getMilliseconds: () => number;
|
2319
|
-
getUTCMilliseconds: () => number;
|
2320
|
-
getTimezoneOffset: () => number;
|
2321
|
-
setTime: (time: number) => number;
|
2322
|
-
setMilliseconds: (ms: number) => number;
|
2323
|
-
setUTCMilliseconds: (ms: number) => number;
|
2324
|
-
setSeconds: (sec: number, ms?: number | undefined) => number;
|
2325
|
-
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
2326
|
-
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
2327
|
-
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
2328
|
-
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
2329
|
-
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
2330
|
-
setDate: (date: number) => number;
|
2331
|
-
setUTCDate: (date: number) => number;
|
2332
|
-
setMonth: (month: number, date?: number | undefined) => number;
|
2333
|
-
setUTCMonth: (month: number, date?: number | undefined) => number;
|
2334
|
-
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
2335
|
-
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
2336
|
-
toUTCString: () => string;
|
2337
|
-
toISOString: () => string;
|
2338
|
-
toJSON: (key?: any) => string;
|
2339
|
-
[Symbol.toPrimitive]: {
|
2340
|
-
(hint: "default"): string;
|
2341
|
-
(hint: "string"): string;
|
2342
|
-
(hint: "number"): number;
|
2343
|
-
(hint: string): string | number;
|
2344
|
-
};
|
2345
|
-
};
|
2346
|
-
setToken: (token: string, tokenExpiredAt: Date) => void;
|
2162
|
+
readonly token: string | null;
|
2163
|
+
getCustomToken: () => Promise<string>;
|
2347
2164
|
setAdminPermisssions: (permissions: {
|
2348
2165
|
fields?: string[] | undefined;
|
2349
2166
|
conditions?: any;
|
@@ -2353,7 +2170,7 @@ export declare const useCoreStore: () => {
|
|
2353
2170
|
actions: string | string[];
|
2354
2171
|
subject: string | string[];
|
2355
2172
|
}[]) => void;
|
2356
|
-
|
2173
|
+
setPermissions: (permissions: {
|
2357
2174
|
fields?: string[] | undefined;
|
2358
2175
|
conditions?: any;
|
2359
2176
|
inverted?: boolean | undefined;
|
@@ -3402,87 +3219,26 @@ export declare const useCoreStore: () => {
|
|
3402
3219
|
};
|
3403
3220
|
}[] | undefined>;
|
3404
3221
|
changeRestaurant: (restaurant: import("./store").FmpRestaurant | undefined) => void;
|
3405
|
-
|
3406
|
-
$patch(partialState: import("pinia")._DeepPartial<{
|
3407
|
-
apps: {
|
3222
|
+
apps: import("vue").Ref<{
|
3408
3223
|
icon: string;
|
3409
3224
|
name: string;
|
3410
3225
|
description: string;
|
3411
3226
|
path: string;
|
3412
3227
|
color: string;
|
3413
|
-
}[]
|
3414
|
-
|
3228
|
+
}[]>;
|
3229
|
+
selectedApp: import("vue").Ref<import("./store").PortalApp | undefined>;
|
3230
|
+
registerApp: (app: import("./store").PortalApp) => void;
|
3231
|
+
selectApp: (app: import("./store").PortalApp) => void;
|
3232
|
+
}, "sessionUser" | "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant" | "apps" | "selectedApp">>>;
|
3233
|
+
$patch(partialState: import("pinia")._DeepPartial<{
|
3415
3234
|
sessionUser: {
|
3416
3235
|
id: string;
|
3417
3236
|
email?: string | null | undefined;
|
3418
3237
|
photoURL?: string | null | undefined;
|
3419
3238
|
displayName?: string | null | undefined;
|
3420
3239
|
phoneNumber?: string | null | undefined;
|
3421
|
-
token: string;
|
3422
|
-
|
3423
|
-
toString: () => string;
|
3424
|
-
toDateString: () => string;
|
3425
|
-
toTimeString: () => string;
|
3426
|
-
toLocaleString: {
|
3427
|
-
(): string;
|
3428
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
3429
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
3430
|
-
};
|
3431
|
-
toLocaleDateString: {
|
3432
|
-
(): string;
|
3433
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
3434
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
3435
|
-
};
|
3436
|
-
toLocaleTimeString: {
|
3437
|
-
(): string;
|
3438
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
3439
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
3440
|
-
};
|
3441
|
-
valueOf: () => number;
|
3442
|
-
getTime: () => number;
|
3443
|
-
getFullYear: () => number;
|
3444
|
-
getUTCFullYear: () => number;
|
3445
|
-
getMonth: () => number;
|
3446
|
-
getUTCMonth: () => number;
|
3447
|
-
getDate: () => number;
|
3448
|
-
getUTCDate: () => number;
|
3449
|
-
getDay: () => number;
|
3450
|
-
getUTCDay: () => number;
|
3451
|
-
getHours: () => number;
|
3452
|
-
getUTCHours: () => number;
|
3453
|
-
getMinutes: () => number;
|
3454
|
-
getUTCMinutes: () => number;
|
3455
|
-
getSeconds: () => number;
|
3456
|
-
getUTCSeconds: () => number;
|
3457
|
-
getMilliseconds: () => number;
|
3458
|
-
getUTCMilliseconds: () => number;
|
3459
|
-
getTimezoneOffset: () => number;
|
3460
|
-
setTime: (time: number) => number;
|
3461
|
-
setMilliseconds: (ms: number) => number;
|
3462
|
-
setUTCMilliseconds: (ms: number) => number;
|
3463
|
-
setSeconds: (sec: number, ms?: number | undefined) => number;
|
3464
|
-
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
3465
|
-
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
3466
|
-
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
3467
|
-
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
3468
|
-
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
3469
|
-
setDate: (date: number) => number;
|
3470
|
-
setUTCDate: (date: number) => number;
|
3471
|
-
setMonth: (month: number, date?: number | undefined) => number;
|
3472
|
-
setUTCMonth: (month: number, date?: number | undefined) => number;
|
3473
|
-
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
3474
|
-
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
3475
|
-
toUTCString: () => string;
|
3476
|
-
toISOString: () => string;
|
3477
|
-
toJSON: (key?: any) => string;
|
3478
|
-
[Symbol.toPrimitive]: {
|
3479
|
-
(hint: "default"): string;
|
3480
|
-
(hint: "string"): string;
|
3481
|
-
(hint: "number"): number;
|
3482
|
-
(hint: string): string | number;
|
3483
|
-
};
|
3484
|
-
};
|
3485
|
-
setToken: (token: string, tokenExpiredAt: Date) => void;
|
3240
|
+
readonly token: string | null;
|
3241
|
+
getCustomToken: () => Promise<string>;
|
3486
3242
|
setAdminPermisssions: (permissions: {
|
3487
3243
|
fields?: string[] | undefined;
|
3488
3244
|
conditions?: any;
|
@@ -3492,7 +3248,7 @@ export declare const useCoreStore: () => {
|
|
3492
3248
|
actions: string | string[];
|
3493
3249
|
subject: string | string[];
|
3494
3250
|
}[]) => void;
|
3495
|
-
|
3251
|
+
setPermissions: (permissions: {
|
3496
3252
|
fields?: string[] | undefined;
|
3497
3253
|
conditions?: any;
|
3498
3254
|
inverted?: boolean | undefined;
|
@@ -4535,8 +4291,6 @@ export declare const useCoreStore: () => {
|
|
4535
4291
|
regNo: string;
|
4536
4292
|
};
|
4537
4293
|
} | undefined;
|
4538
|
-
}>): void;
|
4539
|
-
$patch<F extends (state: {
|
4540
4294
|
apps: {
|
4541
4295
|
icon: string;
|
4542
4296
|
name: string;
|
@@ -4544,78 +4298,23 @@ export declare const useCoreStore: () => {
|
|
4544
4298
|
path: string;
|
4545
4299
|
color: string;
|
4546
4300
|
}[];
|
4547
|
-
|
4301
|
+
selectedApp: {
|
4302
|
+
icon: string;
|
4303
|
+
name: string;
|
4304
|
+
description: string;
|
4305
|
+
path: string;
|
4306
|
+
color: string;
|
4307
|
+
} | undefined;
|
4308
|
+
}>): void;
|
4309
|
+
$patch<F extends (state: {
|
4548
4310
|
sessionUser: {
|
4549
4311
|
id: string;
|
4550
4312
|
email?: string | null | undefined;
|
4551
4313
|
photoURL?: string | null | undefined;
|
4552
4314
|
displayName?: string | null | undefined;
|
4553
4315
|
phoneNumber?: string | null | undefined;
|
4554
|
-
token: string;
|
4555
|
-
|
4556
|
-
toString: () => string;
|
4557
|
-
toDateString: () => string;
|
4558
|
-
toTimeString: () => string;
|
4559
|
-
toLocaleString: {
|
4560
|
-
(): string;
|
4561
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
4562
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
4563
|
-
};
|
4564
|
-
toLocaleDateString: {
|
4565
|
-
(): string;
|
4566
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
4567
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
4568
|
-
};
|
4569
|
-
toLocaleTimeString: {
|
4570
|
-
(): string;
|
4571
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
4572
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
4573
|
-
};
|
4574
|
-
valueOf: () => number;
|
4575
|
-
getTime: () => number;
|
4576
|
-
getFullYear: () => number;
|
4577
|
-
getUTCFullYear: () => number;
|
4578
|
-
getMonth: () => number;
|
4579
|
-
getUTCMonth: () => number;
|
4580
|
-
getDate: () => number;
|
4581
|
-
getUTCDate: () => number;
|
4582
|
-
getDay: () => number;
|
4583
|
-
getUTCDay: () => number;
|
4584
|
-
getHours: () => number;
|
4585
|
-
getUTCHours: () => number;
|
4586
|
-
getMinutes: () => number;
|
4587
|
-
getUTCMinutes: () => number;
|
4588
|
-
getSeconds: () => number;
|
4589
|
-
getUTCSeconds: () => number;
|
4590
|
-
getMilliseconds: () => number;
|
4591
|
-
getUTCMilliseconds: () => number;
|
4592
|
-
getTimezoneOffset: () => number;
|
4593
|
-
setTime: (time: number) => number;
|
4594
|
-
setMilliseconds: (ms: number) => number;
|
4595
|
-
setUTCMilliseconds: (ms: number) => number;
|
4596
|
-
setSeconds: (sec: number, ms?: number | undefined) => number;
|
4597
|
-
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
4598
|
-
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
4599
|
-
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
4600
|
-
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
4601
|
-
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
4602
|
-
setDate: (date: number) => number;
|
4603
|
-
setUTCDate: (date: number) => number;
|
4604
|
-
setMonth: (month: number, date?: number | undefined) => number;
|
4605
|
-
setUTCMonth: (month: number, date?: number | undefined) => number;
|
4606
|
-
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
4607
|
-
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
4608
|
-
toUTCString: () => string;
|
4609
|
-
toISOString: () => string;
|
4610
|
-
toJSON: (key?: any) => string;
|
4611
|
-
[Symbol.toPrimitive]: {
|
4612
|
-
(hint: "default"): string;
|
4613
|
-
(hint: "string"): string;
|
4614
|
-
(hint: "number"): number;
|
4615
|
-
(hint: string): string | number;
|
4616
|
-
};
|
4617
|
-
};
|
4618
|
-
setToken: (token: string, tokenExpiredAt: Date) => void;
|
4316
|
+
readonly token: string | null;
|
4317
|
+
getCustomToken: () => Promise<string>;
|
4619
4318
|
setAdminPermisssions: (permissions: {
|
4620
4319
|
fields?: string[] | undefined;
|
4621
4320
|
conditions?: any;
|
@@ -4625,7 +4324,7 @@ export declare const useCoreStore: () => {
|
|
4625
4324
|
actions: string | string[];
|
4626
4325
|
subject: string | string[];
|
4627
4326
|
}[]) => void;
|
4628
|
-
|
4327
|
+
setPermissions: (permissions: {
|
4629
4328
|
fields?: string[] | undefined;
|
4630
4329
|
conditions?: any;
|
4631
4330
|
inverted?: boolean | undefined;
|
@@ -5668,90 +5367,34 @@ export declare const useCoreStore: () => {
|
|
5668
5367
|
regNo: string;
|
5669
5368
|
};
|
5670
5369
|
} | undefined;
|
5671
|
-
|
5672
|
-
$reset(): void;
|
5673
|
-
$subscribe(callback: import("pinia").SubscriptionCallback<import("pinia")._UnwrapAll<Pick<{
|
5674
|
-
apps: import("vue").Ref<{
|
5370
|
+
apps: {
|
5675
5371
|
icon: string;
|
5676
5372
|
name: string;
|
5677
5373
|
description: string;
|
5678
5374
|
path: string;
|
5679
5375
|
color: string;
|
5680
|
-
}[]
|
5681
|
-
|
5682
|
-
|
5683
|
-
|
5376
|
+
}[];
|
5377
|
+
selectedApp: {
|
5378
|
+
icon: string;
|
5379
|
+
name: string;
|
5380
|
+
description: string;
|
5381
|
+
path: string;
|
5382
|
+
color: string;
|
5383
|
+
} | undefined;
|
5384
|
+
}) => any>(stateMutator: ReturnType<F> extends Promise<any> ? never : F): void;
|
5385
|
+
$reset(): void;
|
5386
|
+
$subscribe(callback: import("pinia").SubscriptionCallback<import("pinia")._UnwrapAll<Pick<{
|
5387
|
+
signIn: () => Promise<void>;
|
5388
|
+
signInWithToken: (user: import("./auth").FeedMeUser, token: string) => Promise<void>;
|
5389
|
+
signOut: () => Promise<void>;
|
5684
5390
|
sessionUser: import("vue").Ref<{
|
5685
5391
|
id: string;
|
5686
5392
|
email?: string | null | undefined;
|
5687
5393
|
photoURL?: string | null | undefined;
|
5688
5394
|
displayName?: string | null | undefined;
|
5689
5395
|
phoneNumber?: string | null | undefined;
|
5690
|
-
token: string;
|
5691
|
-
|
5692
|
-
toString: () => string;
|
5693
|
-
toDateString: () => string;
|
5694
|
-
toTimeString: () => string;
|
5695
|
-
toLocaleString: {
|
5696
|
-
(): string;
|
5697
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
5698
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
5699
|
-
};
|
5700
|
-
toLocaleDateString: {
|
5701
|
-
(): string;
|
5702
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
5703
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
5704
|
-
};
|
5705
|
-
toLocaleTimeString: {
|
5706
|
-
(): string;
|
5707
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
5708
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
5709
|
-
};
|
5710
|
-
valueOf: () => number;
|
5711
|
-
getTime: () => number;
|
5712
|
-
getFullYear: () => number;
|
5713
|
-
getUTCFullYear: () => number;
|
5714
|
-
getMonth: () => number;
|
5715
|
-
getUTCMonth: () => number;
|
5716
|
-
getDate: () => number;
|
5717
|
-
getUTCDate: () => number;
|
5718
|
-
getDay: () => number;
|
5719
|
-
getUTCDay: () => number;
|
5720
|
-
getHours: () => number;
|
5721
|
-
getUTCHours: () => number;
|
5722
|
-
getMinutes: () => number;
|
5723
|
-
getUTCMinutes: () => number;
|
5724
|
-
getSeconds: () => number;
|
5725
|
-
getUTCSeconds: () => number;
|
5726
|
-
getMilliseconds: () => number;
|
5727
|
-
getUTCMilliseconds: () => number;
|
5728
|
-
getTimezoneOffset: () => number;
|
5729
|
-
setTime: (time: number) => number;
|
5730
|
-
setMilliseconds: (ms: number) => number;
|
5731
|
-
setUTCMilliseconds: (ms: number) => number;
|
5732
|
-
setSeconds: (sec: number, ms?: number | undefined) => number;
|
5733
|
-
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
5734
|
-
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
5735
|
-
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
5736
|
-
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
5737
|
-
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
5738
|
-
setDate: (date: number) => number;
|
5739
|
-
setUTCDate: (date: number) => number;
|
5740
|
-
setMonth: (month: number, date?: number | undefined) => number;
|
5741
|
-
setUTCMonth: (month: number, date?: number | undefined) => number;
|
5742
|
-
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
5743
|
-
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
5744
|
-
toUTCString: () => string;
|
5745
|
-
toISOString: () => string;
|
5746
|
-
toJSON: (key?: any) => string;
|
5747
|
-
[Symbol.toPrimitive]: {
|
5748
|
-
(hint: "default"): string;
|
5749
|
-
(hint: "string"): string;
|
5750
|
-
(hint: "number"): number;
|
5751
|
-
(hint: string): string | number;
|
5752
|
-
};
|
5753
|
-
};
|
5754
|
-
setToken: (token: string, tokenExpiredAt: Date) => void;
|
5396
|
+
readonly token: string | null;
|
5397
|
+
getCustomToken: () => Promise<string>;
|
5755
5398
|
setAdminPermisssions: (permissions: {
|
5756
5399
|
fields?: string[] | undefined;
|
5757
5400
|
conditions?: any;
|
@@ -5761,7 +5404,7 @@ export declare const useCoreStore: () => {
|
|
5761
5404
|
actions: string | string[];
|
5762
5405
|
subject: string | string[];
|
5763
5406
|
}[]) => void;
|
5764
|
-
|
5407
|
+
setPermissions: (permissions: {
|
5765
5408
|
fields?: string[] | undefined;
|
5766
5409
|
conditions?: any;
|
5767
5410
|
inverted?: boolean | undefined;
|
@@ -6810,10 +6453,6 @@ export declare const useCoreStore: () => {
|
|
6810
6453
|
};
|
6811
6454
|
}[] | undefined>;
|
6812
6455
|
changeRestaurant: (restaurant: import("./store").FmpRestaurant | undefined) => void;
|
6813
|
-
}, "apps" | "currentAppName" | "sessionUser" | "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant">>>, options?: ({
|
6814
|
-
detached?: boolean | undefined;
|
6815
|
-
} & import("vue").WatchOptions<boolean>) | undefined): () => void;
|
6816
|
-
$onAction(callback: import("pinia").StoreOnActionListener<"portal-core", import("pinia")._UnwrapAll<Pick<{
|
6817
6456
|
apps: import("vue").Ref<{
|
6818
6457
|
icon: string;
|
6819
6458
|
name: string;
|
@@ -6821,80 +6460,24 @@ export declare const useCoreStore: () => {
|
|
6821
6460
|
path: string;
|
6822
6461
|
color: string;
|
6823
6462
|
}[]>;
|
6824
|
-
|
6463
|
+
selectedApp: import("vue").Ref<import("./store").PortalApp | undefined>;
|
6825
6464
|
registerApp: (app: import("./store").PortalApp) => void;
|
6826
|
-
|
6465
|
+
selectApp: (app: import("./store").PortalApp) => void;
|
6466
|
+
}, "sessionUser" | "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant" | "apps" | "selectedApp">>>, options?: ({
|
6467
|
+
detached?: boolean | undefined;
|
6468
|
+
} & import("vue").WatchOptions<boolean>) | undefined): () => void;
|
6469
|
+
$onAction(callback: import("pinia").StoreOnActionListener<"portal-core", import("pinia")._UnwrapAll<Pick<{
|
6470
|
+
signIn: () => Promise<void>;
|
6471
|
+
signInWithToken: (user: import("./auth").FeedMeUser, token: string) => Promise<void>;
|
6472
|
+
signOut: () => Promise<void>;
|
6827
6473
|
sessionUser: import("vue").Ref<{
|
6828
6474
|
id: string;
|
6829
6475
|
email?: string | null | undefined;
|
6830
6476
|
photoURL?: string | null | undefined;
|
6831
6477
|
displayName?: string | null | undefined;
|
6832
6478
|
phoneNumber?: string | null | undefined;
|
6833
|
-
token: string;
|
6834
|
-
|
6835
|
-
toString: () => string;
|
6836
|
-
toDateString: () => string;
|
6837
|
-
toTimeString: () => string;
|
6838
|
-
toLocaleString: {
|
6839
|
-
(): string;
|
6840
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
6841
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
6842
|
-
};
|
6843
|
-
toLocaleDateString: {
|
6844
|
-
(): string;
|
6845
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
6846
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
6847
|
-
};
|
6848
|
-
toLocaleTimeString: {
|
6849
|
-
(): string;
|
6850
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
6851
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
6852
|
-
};
|
6853
|
-
valueOf: () => number;
|
6854
|
-
getTime: () => number;
|
6855
|
-
getFullYear: () => number;
|
6856
|
-
getUTCFullYear: () => number;
|
6857
|
-
getMonth: () => number;
|
6858
|
-
getUTCMonth: () => number;
|
6859
|
-
getDate: () => number;
|
6860
|
-
getUTCDate: () => number;
|
6861
|
-
getDay: () => number;
|
6862
|
-
getUTCDay: () => number;
|
6863
|
-
getHours: () => number;
|
6864
|
-
getUTCHours: () => number;
|
6865
|
-
getMinutes: () => number;
|
6866
|
-
getUTCMinutes: () => number;
|
6867
|
-
getSeconds: () => number;
|
6868
|
-
getUTCSeconds: () => number;
|
6869
|
-
getMilliseconds: () => number;
|
6870
|
-
getUTCMilliseconds: () => number;
|
6871
|
-
getTimezoneOffset: () => number;
|
6872
|
-
setTime: (time: number) => number;
|
6873
|
-
setMilliseconds: (ms: number) => number;
|
6874
|
-
setUTCMilliseconds: (ms: number) => number;
|
6875
|
-
setSeconds: (sec: number, ms?: number | undefined) => number;
|
6876
|
-
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
6877
|
-
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
6878
|
-
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
6879
|
-
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
6880
|
-
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
6881
|
-
setDate: (date: number) => number;
|
6882
|
-
setUTCDate: (date: number) => number;
|
6883
|
-
setMonth: (month: number, date?: number | undefined) => number;
|
6884
|
-
setUTCMonth: (month: number, date?: number | undefined) => number;
|
6885
|
-
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
6886
|
-
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
6887
|
-
toUTCString: () => string;
|
6888
|
-
toISOString: () => string;
|
6889
|
-
toJSON: (key?: any) => string;
|
6890
|
-
[Symbol.toPrimitive]: {
|
6891
|
-
(hint: "default"): string;
|
6892
|
-
(hint: "string"): string;
|
6893
|
-
(hint: "number"): number;
|
6894
|
-
(hint: string): string | number;
|
6895
|
-
};
|
6896
|
-
};
|
6897
|
-
setToken: (token: string, tokenExpiredAt: Date) => void;
|
6479
|
+
readonly token: string | null;
|
6480
|
+
getCustomToken: () => Promise<string>;
|
6898
6481
|
setAdminPermisssions: (permissions: {
|
6899
6482
|
fields?: string[] | undefined;
|
6900
6483
|
conditions?: any;
|
@@ -6904,7 +6487,7 @@ export declare const useCoreStore: () => {
|
|
6904
6487
|
actions: string | string[];
|
6905
6488
|
subject: string | string[];
|
6906
6489
|
}[]) => void;
|
6907
|
-
|
6490
|
+
setPermissions: (permissions: {
|
6908
6491
|
fields?: string[] | undefined;
|
6909
6492
|
conditions?: any;
|
6910
6493
|
inverted?: boolean | undefined;
|
@@ -7953,7 +7536,6 @@ export declare const useCoreStore: () => {
|
|
7953
7536
|
};
|
7954
7537
|
}[] | undefined>;
|
7955
7538
|
changeRestaurant: (restaurant: import("./store").FmpRestaurant | undefined) => void;
|
7956
|
-
}, "apps" | "currentAppName" | "sessionUser" | "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant">>, Pick<{
|
7957
7539
|
apps: import("vue").Ref<{
|
7958
7540
|
icon: string;
|
7959
7541
|
name: string;
|
@@ -7961,80 +7543,21 @@ export declare const useCoreStore: () => {
|
|
7961
7543
|
path: string;
|
7962
7544
|
color: string;
|
7963
7545
|
}[]>;
|
7964
|
-
|
7546
|
+
selectedApp: import("vue").Ref<import("./store").PortalApp | undefined>;
|
7965
7547
|
registerApp: (app: import("./store").PortalApp) => void;
|
7966
|
-
|
7548
|
+
selectApp: (app: import("./store").PortalApp) => void;
|
7549
|
+
}, "sessionUser" | "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant" | "apps" | "selectedApp">>, Pick<{
|
7550
|
+
signIn: () => Promise<void>;
|
7551
|
+
signInWithToken: (user: import("./auth").FeedMeUser, token: string) => Promise<void>;
|
7552
|
+
signOut: () => Promise<void>;
|
7967
7553
|
sessionUser: import("vue").Ref<{
|
7968
7554
|
id: string;
|
7969
7555
|
email?: string | null | undefined;
|
7970
7556
|
photoURL?: string | null | undefined;
|
7971
7557
|
displayName?: string | null | undefined;
|
7972
7558
|
phoneNumber?: string | null | undefined;
|
7973
|
-
token: string;
|
7974
|
-
|
7975
|
-
toString: () => string;
|
7976
|
-
toDateString: () => string;
|
7977
|
-
toTimeString: () => string;
|
7978
|
-
toLocaleString: {
|
7979
|
-
(): string;
|
7980
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
7981
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
7982
|
-
};
|
7983
|
-
toLocaleDateString: {
|
7984
|
-
(): string;
|
7985
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
7986
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
7987
|
-
};
|
7988
|
-
toLocaleTimeString: {
|
7989
|
-
(): string;
|
7990
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
7991
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
7992
|
-
};
|
7993
|
-
valueOf: () => number;
|
7994
|
-
getTime: () => number;
|
7995
|
-
getFullYear: () => number;
|
7996
|
-
getUTCFullYear: () => number;
|
7997
|
-
getMonth: () => number;
|
7998
|
-
getUTCMonth: () => number;
|
7999
|
-
getDate: () => number;
|
8000
|
-
getUTCDate: () => number;
|
8001
|
-
getDay: () => number;
|
8002
|
-
getUTCDay: () => number;
|
8003
|
-
getHours: () => number;
|
8004
|
-
getUTCHours: () => number;
|
8005
|
-
getMinutes: () => number;
|
8006
|
-
getUTCMinutes: () => number;
|
8007
|
-
getSeconds: () => number;
|
8008
|
-
getUTCSeconds: () => number;
|
8009
|
-
getMilliseconds: () => number;
|
8010
|
-
getUTCMilliseconds: () => number;
|
8011
|
-
getTimezoneOffset: () => number;
|
8012
|
-
setTime: (time: number) => number;
|
8013
|
-
setMilliseconds: (ms: number) => number;
|
8014
|
-
setUTCMilliseconds: (ms: number) => number;
|
8015
|
-
setSeconds: (sec: number, ms?: number | undefined) => number;
|
8016
|
-
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
8017
|
-
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
8018
|
-
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
8019
|
-
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
8020
|
-
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
8021
|
-
setDate: (date: number) => number;
|
8022
|
-
setUTCDate: (date: number) => number;
|
8023
|
-
setMonth: (month: number, date?: number | undefined) => number;
|
8024
|
-
setUTCMonth: (month: number, date?: number | undefined) => number;
|
8025
|
-
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
8026
|
-
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
8027
|
-
toUTCString: () => string;
|
8028
|
-
toISOString: () => string;
|
8029
|
-
toJSON: (key?: any) => string;
|
8030
|
-
[Symbol.toPrimitive]: {
|
8031
|
-
(hint: "default"): string;
|
8032
|
-
(hint: "string"): string;
|
8033
|
-
(hint: "number"): number;
|
8034
|
-
(hint: string): string | number;
|
8035
|
-
};
|
8036
|
-
};
|
8037
|
-
setToken: (token: string, tokenExpiredAt: Date) => void;
|
7559
|
+
readonly token: string | null;
|
7560
|
+
getCustomToken: () => Promise<string>;
|
8038
7561
|
setAdminPermisssions: (permissions: {
|
8039
7562
|
fields?: string[] | undefined;
|
8040
7563
|
conditions?: any;
|
@@ -8044,7 +7567,7 @@ export declare const useCoreStore: () => {
|
|
8044
7567
|
actions: string | string[];
|
8045
7568
|
subject: string | string[];
|
8046
7569
|
}[]) => void;
|
8047
|
-
|
7570
|
+
setPermissions: (permissions: {
|
8048
7571
|
fields?: string[] | undefined;
|
8049
7572
|
conditions?: any;
|
8050
7573
|
inverted?: boolean | undefined;
|
@@ -9093,7 +8616,6 @@ export declare const useCoreStore: () => {
|
|
9093
8616
|
};
|
9094
8617
|
}[] | undefined>;
|
9095
8618
|
changeRestaurant: (restaurant: import("./store").FmpRestaurant | undefined) => void;
|
9096
|
-
}, never>, Pick<{
|
9097
8619
|
apps: import("vue").Ref<{
|
9098
8620
|
icon: string;
|
9099
8621
|
name: string;
|
@@ -9101,80 +8623,21 @@ export declare const useCoreStore: () => {
|
|
9101
8623
|
path: string;
|
9102
8624
|
color: string;
|
9103
8625
|
}[]>;
|
9104
|
-
|
8626
|
+
selectedApp: import("vue").Ref<import("./store").PortalApp | undefined>;
|
9105
8627
|
registerApp: (app: import("./store").PortalApp) => void;
|
9106
|
-
|
8628
|
+
selectApp: (app: import("./store").PortalApp) => void;
|
8629
|
+
}, never>, Pick<{
|
8630
|
+
signIn: () => Promise<void>;
|
8631
|
+
signInWithToken: (user: import("./auth").FeedMeUser, token: string) => Promise<void>;
|
8632
|
+
signOut: () => Promise<void>;
|
9107
8633
|
sessionUser: import("vue").Ref<{
|
9108
8634
|
id: string;
|
9109
8635
|
email?: string | null | undefined;
|
9110
8636
|
photoURL?: string | null | undefined;
|
9111
8637
|
displayName?: string | null | undefined;
|
9112
8638
|
phoneNumber?: string | null | undefined;
|
9113
|
-
token: string;
|
9114
|
-
|
9115
|
-
toString: () => string;
|
9116
|
-
toDateString: () => string;
|
9117
|
-
toTimeString: () => string;
|
9118
|
-
toLocaleString: {
|
9119
|
-
(): string;
|
9120
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
9121
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
9122
|
-
};
|
9123
|
-
toLocaleDateString: {
|
9124
|
-
(): string;
|
9125
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
9126
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
9127
|
-
};
|
9128
|
-
toLocaleTimeString: {
|
9129
|
-
(): string;
|
9130
|
-
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
9131
|
-
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
9132
|
-
};
|
9133
|
-
valueOf: () => number;
|
9134
|
-
getTime: () => number;
|
9135
|
-
getFullYear: () => number;
|
9136
|
-
getUTCFullYear: () => number;
|
9137
|
-
getMonth: () => number;
|
9138
|
-
getUTCMonth: () => number;
|
9139
|
-
getDate: () => number;
|
9140
|
-
getUTCDate: () => number;
|
9141
|
-
getDay: () => number;
|
9142
|
-
getUTCDay: () => number;
|
9143
|
-
getHours: () => number;
|
9144
|
-
getUTCHours: () => number;
|
9145
|
-
getMinutes: () => number;
|
9146
|
-
getUTCMinutes: () => number;
|
9147
|
-
getSeconds: () => number;
|
9148
|
-
getUTCSeconds: () => number;
|
9149
|
-
getMilliseconds: () => number;
|
9150
|
-
getUTCMilliseconds: () => number;
|
9151
|
-
getTimezoneOffset: () => number;
|
9152
|
-
setTime: (time: number) => number;
|
9153
|
-
setMilliseconds: (ms: number) => number;
|
9154
|
-
setUTCMilliseconds: (ms: number) => number;
|
9155
|
-
setSeconds: (sec: number, ms?: number | undefined) => number;
|
9156
|
-
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
9157
|
-
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
9158
|
-
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
9159
|
-
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
9160
|
-
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
9161
|
-
setDate: (date: number) => number;
|
9162
|
-
setUTCDate: (date: number) => number;
|
9163
|
-
setMonth: (month: number, date?: number | undefined) => number;
|
9164
|
-
setUTCMonth: (month: number, date?: number | undefined) => number;
|
9165
|
-
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
9166
|
-
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
9167
|
-
toUTCString: () => string;
|
9168
|
-
toISOString: () => string;
|
9169
|
-
toJSON: (key?: any) => string;
|
9170
|
-
[Symbol.toPrimitive]: {
|
9171
|
-
(hint: "default"): string;
|
9172
|
-
(hint: "string"): string;
|
9173
|
-
(hint: "number"): number;
|
9174
|
-
(hint: string): string | number;
|
9175
|
-
};
|
9176
|
-
};
|
9177
|
-
setToken: (token: string, tokenExpiredAt: Date) => void;
|
8639
|
+
readonly token: string | null;
|
8640
|
+
getCustomToken: () => Promise<string>;
|
9178
8641
|
setAdminPermisssions: (permissions: {
|
9179
8642
|
fields?: string[] | undefined;
|
9180
8643
|
conditions?: any;
|
@@ -9184,7 +8647,7 @@ export declare const useCoreStore: () => {
|
|
9184
8647
|
actions: string | string[];
|
9185
8648
|
subject: string | string[];
|
9186
8649
|
}[]) => void;
|
9187
|
-
|
8650
|
+
setPermissions: (permissions: {
|
9188
8651
|
fields?: string[] | undefined;
|
9189
8652
|
conditions?: any;
|
9190
8653
|
inverted?: boolean | undefined;
|
@@ -10233,12 +9696,23 @@ export declare const useCoreStore: () => {
|
|
10233
9696
|
};
|
10234
9697
|
}[] | undefined>;
|
10235
9698
|
changeRestaurant: (restaurant: import("./store").FmpRestaurant | undefined) => void;
|
10236
|
-
|
9699
|
+
apps: import("vue").Ref<{
|
9700
|
+
icon: string;
|
9701
|
+
name: string;
|
9702
|
+
description: string;
|
9703
|
+
path: string;
|
9704
|
+
color: string;
|
9705
|
+
}[]>;
|
9706
|
+
selectedApp: import("vue").Ref<import("./store").PortalApp | undefined>;
|
9707
|
+
registerApp: (app: import("./store").PortalApp) => void;
|
9708
|
+
selectApp: (app: import("./store").PortalApp) => void;
|
9709
|
+
}, "signIn" | "signInWithToken" | "signOut" | "setUser" | "fetchUserAdminPermissions" | "fetchUserPermissions" | "setNamespace" | "changeCountry" | "readBusinesses" | "changeBusiness" | "readRestaurants" | "changeRestaurant" | "registerApp" | "selectApp">>, detached?: boolean | undefined): () => void;
|
10237
9710
|
$dispose(): void;
|
10238
9711
|
$id: "portal-core";
|
10239
9712
|
_customProperties: Set<string>;
|
10240
|
-
|
10241
|
-
|
9713
|
+
signIn: () => Promise<void>;
|
9714
|
+
signInWithToken: (user: import("./auth").FeedMeUser, token: string) => Promise<void>;
|
9715
|
+
signOut: () => Promise<void>;
|
10242
9716
|
setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
|
10243
9717
|
fetchUserAdminPermissions: () => Promise<void>;
|
10244
9718
|
fetchUserPermissions: () => Promise<void>;
|
@@ -10696,6 +10170,9 @@ export declare const useCoreStore: () => {
|
|
10696
10170
|
};
|
10697
10171
|
}[] | undefined>;
|
10698
10172
|
changeRestaurant: (restaurant: import("./store").FmpRestaurant | undefined) => void;
|
10173
|
+
registerApp: (app: import("./store").PortalApp) => void;
|
10174
|
+
selectApp: (app: import("./store").PortalApp) => void;
|
10699
10175
|
};
|
10700
|
-
export
|
10176
|
+
export declare function initialize(clientId: string): void;
|
10177
|
+
export declare const onAuthStateChanged: typeof FeedMeAuth.onAuthStateChanged;
|
10701
10178
|
export { default as FmNavBar } from './App.vue';
|