@feedmepos/mf-hrm-portal 2.0.15-dev → 2.0.15-dev.3
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/{AuditLogList-DBIsI4YF.js → AuditLogList-eyzJecZc.js} +4 -4
- package/dist/EmployeeList-QibdsTN-.js +736 -0
- package/dist/{Main-BAZAQTWi.js → Main-B_QCpWOx.js} +4 -4
- package/dist/{Main-D7yzD5SW.js → Main-Bjfm9a6M.js} +5 -5
- package/dist/{Main-B3YiMuFq.js → Main-DX1aet8y.js} +1298 -1294
- package/dist/{PermissionSetList-DBT9LtfT.js → PermissionSetList-fE9Zfrl6.js} +30 -30
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BfqnjeTK.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-JpCfRxA9.js} +500 -500
- package/dist/RoleList-ByXZemFz.js +528 -0
- package/dist/{TeamMemberList-BCv5Vixx.js → TeamMemberList-D-_icv19.js} +327 -324
- package/dist/{TimesheetList-DpMBgVtY.js → TimesheetList-DVvz6id4.js} +7 -7
- package/dist/{app-pvHHFjbx.js → app-DJG3HGqG.js} +220 -261
- package/dist/app.js +2 -2
- package/dist/{dayjs.min-BK_bM9xY.js → dayjs.min-CN6o-ax9.js} +1 -1
- package/dist/{employee-DhkixwiI.js → employee-CU-G-rAZ.js} +71 -74
- package/dist/{index-DK4fVbTF.js → index-ynxje0mm.js} +1 -1
- package/dist/{iteration-Bk3cnP07.js → iteration-C6Km_Rno.js} +1 -1
- package/dist/{lodash-TrOlqj07.js → lodash-DZvG4gEx.js} +1 -1
- package/dist/rule-X41LxaES.js +991 -0
- package/dist/src/helpers/rule.d.ts +1 -1
- package/dist/src/stores/employee.d.ts +124 -19
- package/dist/src/types/employee.d.ts +3 -0
- package/dist/src/views/hr/employee/EmployeeList.vue.d.ts +4 -0
- package/dist/style.css +1 -1
- package/dist/{timesheet-DSQeCVfL.js → timesheet-DUtxTIA4.js} +9 -9
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/useAppStore-CrUYEAtX.js +171 -0
- package/dist/useDiscardConfirm-BHni0LNu.js +28 -0
- package/dist/{useLoading-fEAOlgoV.js → useLoading-hGUqfW4U.js} +1 -1
- package/dist/{useReportPermissions-CkOk_2tl.js → useReportPermissions-BgTdISQy.js} +3 -3
- package/dist/utils-BZkjJbju.js +17 -0
- package/package.json +1 -1
- package/dist/EmployeeList-BOSxLZbY.js +0 -702
- package/dist/RoleList-DeE5tN-5.js +0 -519
- package/dist/index-Bckj5jnu.js +0 -998
- package/dist/useAppStore-DwfwjZpc.js +0 -168
- package/dist/useRestaurantMap-e9fQJiLC.js +0 -39
|
@@ -10,9 +10,11 @@ export declare const useEmployeeStore: () => {
|
|
|
10
10
|
isMasterUser: boolean;
|
|
11
11
|
restaurantId: string;
|
|
12
12
|
code?: string | undefined;
|
|
13
|
+
isRestricted: boolean;
|
|
13
14
|
restaurants: {
|
|
14
15
|
restaurantId: string;
|
|
15
16
|
restaurantName: string;
|
|
17
|
+
restaurantCode?: string | undefined;
|
|
16
18
|
roleId: string;
|
|
17
19
|
roleName: string;
|
|
18
20
|
}[];
|
|
@@ -26,9 +28,11 @@ export declare const useEmployeeStore: () => {
|
|
|
26
28
|
passcode: string;
|
|
27
29
|
isMasterUser: boolean;
|
|
28
30
|
restaurantId: string;
|
|
31
|
+
isRestricted: boolean;
|
|
29
32
|
restaurants: {
|
|
30
33
|
restaurantId: string;
|
|
31
34
|
restaurantName: string;
|
|
35
|
+
restaurantCode?: string | undefined;
|
|
32
36
|
roleId: string;
|
|
33
37
|
roleName: string;
|
|
34
38
|
}[];
|
|
@@ -42,9 +46,11 @@ export declare const useEmployeeStore: () => {
|
|
|
42
46
|
isMasterUser: boolean;
|
|
43
47
|
restaurantId: string;
|
|
44
48
|
code?: string | undefined;
|
|
49
|
+
isRestricted: boolean;
|
|
45
50
|
restaurants: {
|
|
46
51
|
restaurantId: string;
|
|
47
52
|
restaurantName: string;
|
|
53
|
+
restaurantCode?: string | undefined;
|
|
48
54
|
roleId: string;
|
|
49
55
|
roleName: string;
|
|
50
56
|
}[];
|
|
@@ -58,9 +64,11 @@ export declare const useEmployeeStore: () => {
|
|
|
58
64
|
passcode: string;
|
|
59
65
|
isMasterUser: boolean;
|
|
60
66
|
restaurantId: string;
|
|
67
|
+
isRestricted: boolean;
|
|
61
68
|
restaurants: {
|
|
62
69
|
restaurantId: string;
|
|
63
70
|
restaurantName: string;
|
|
71
|
+
restaurantCode?: string | undefined;
|
|
64
72
|
roleId: string;
|
|
65
73
|
roleName: string;
|
|
66
74
|
}[];
|
|
@@ -75,9 +83,11 @@ export declare const useEmployeeStore: () => {
|
|
|
75
83
|
isMasterUser: boolean;
|
|
76
84
|
restaurantId: string;
|
|
77
85
|
code?: string | undefined;
|
|
86
|
+
isRestricted: boolean;
|
|
78
87
|
restaurants: {
|
|
79
88
|
restaurantId: string;
|
|
80
89
|
restaurantName: string;
|
|
90
|
+
restaurantCode?: string | undefined;
|
|
81
91
|
roleId: string;
|
|
82
92
|
roleName: string;
|
|
83
93
|
}[];
|
|
@@ -91,9 +101,11 @@ export declare const useEmployeeStore: () => {
|
|
|
91
101
|
passcode: string;
|
|
92
102
|
isMasterUser: boolean;
|
|
93
103
|
restaurantId: string;
|
|
104
|
+
isRestricted: boolean;
|
|
94
105
|
restaurants: {
|
|
95
106
|
restaurantId: string;
|
|
96
107
|
restaurantName: string;
|
|
108
|
+
restaurantCode?: string | undefined;
|
|
97
109
|
roleId: string;
|
|
98
110
|
roleName: string;
|
|
99
111
|
}[];
|
|
@@ -107,9 +119,11 @@ export declare const useEmployeeStore: () => {
|
|
|
107
119
|
isMasterUser: boolean;
|
|
108
120
|
restaurantId: string;
|
|
109
121
|
code?: string | undefined;
|
|
122
|
+
isRestricted: boolean;
|
|
110
123
|
restaurants: {
|
|
111
124
|
restaurantId: string;
|
|
112
125
|
restaurantName: string;
|
|
126
|
+
restaurantCode?: string | undefined;
|
|
113
127
|
roleId: string;
|
|
114
128
|
roleName: string;
|
|
115
129
|
}[];
|
|
@@ -123,16 +137,17 @@ export declare const useEmployeeStore: () => {
|
|
|
123
137
|
passcode: string;
|
|
124
138
|
isMasterUser: boolean;
|
|
125
139
|
restaurantId: string;
|
|
140
|
+
isRestricted: boolean;
|
|
126
141
|
restaurants: {
|
|
127
142
|
restaurantId: string;
|
|
128
143
|
restaurantName: string;
|
|
144
|
+
restaurantCode?: string | undefined;
|
|
129
145
|
roleId: string;
|
|
130
146
|
roleName: string;
|
|
131
147
|
}[];
|
|
132
148
|
since: string;
|
|
133
149
|
})[]>;
|
|
134
150
|
totalEmployees: import("vue").Ref<number, number>;
|
|
135
|
-
restrictEmployeeIds: import("vue").Ref<string[], string[]>;
|
|
136
151
|
$state: {
|
|
137
152
|
isLoading: boolean;
|
|
138
153
|
employees: ({
|
|
@@ -144,9 +159,11 @@ export declare const useEmployeeStore: () => {
|
|
|
144
159
|
isMasterUser: boolean;
|
|
145
160
|
restaurantId: string;
|
|
146
161
|
code?: string | undefined;
|
|
162
|
+
isRestricted: boolean;
|
|
147
163
|
restaurants: {
|
|
148
164
|
restaurantId: string;
|
|
149
165
|
restaurantName: string;
|
|
166
|
+
restaurantCode?: string | undefined;
|
|
150
167
|
roleId: string;
|
|
151
168
|
roleName: string;
|
|
152
169
|
}[];
|
|
@@ -160,9 +177,11 @@ export declare const useEmployeeStore: () => {
|
|
|
160
177
|
passcode: string;
|
|
161
178
|
isMasterUser: boolean;
|
|
162
179
|
restaurantId: string;
|
|
180
|
+
isRestricted: boolean;
|
|
163
181
|
restaurants: {
|
|
164
182
|
restaurantId: string;
|
|
165
183
|
restaurantName: string;
|
|
184
|
+
restaurantCode?: string | undefined;
|
|
166
185
|
roleId: string;
|
|
167
186
|
roleName: string;
|
|
168
187
|
}[];
|
|
@@ -177,9 +196,11 @@ export declare const useEmployeeStore: () => {
|
|
|
177
196
|
isMasterUser: boolean;
|
|
178
197
|
restaurantId: string;
|
|
179
198
|
code?: string | undefined;
|
|
199
|
+
isRestricted: boolean;
|
|
180
200
|
restaurants: {
|
|
181
201
|
restaurantId: string;
|
|
182
202
|
restaurantName: string;
|
|
203
|
+
restaurantCode?: string | undefined;
|
|
183
204
|
roleId: string;
|
|
184
205
|
roleName: string;
|
|
185
206
|
}[];
|
|
@@ -193,16 +214,17 @@ export declare const useEmployeeStore: () => {
|
|
|
193
214
|
passcode: string;
|
|
194
215
|
isMasterUser: boolean;
|
|
195
216
|
restaurantId: string;
|
|
217
|
+
isRestricted: boolean;
|
|
196
218
|
restaurants: {
|
|
197
219
|
restaurantId: string;
|
|
198
220
|
restaurantName: string;
|
|
221
|
+
restaurantCode?: string | undefined;
|
|
199
222
|
roleId: string;
|
|
200
223
|
roleName: string;
|
|
201
224
|
}[];
|
|
202
225
|
since: string;
|
|
203
226
|
})[];
|
|
204
227
|
totalEmployees: number;
|
|
205
|
-
restrictEmployeeIds: string[];
|
|
206
228
|
} & import("pinia").PiniaCustomStateProperties<Pick<{
|
|
207
229
|
employees: import("vue").Ref<({
|
|
208
230
|
faceId?: unknown;
|
|
@@ -213,9 +235,11 @@ export declare const useEmployeeStore: () => {
|
|
|
213
235
|
isMasterUser: boolean;
|
|
214
236
|
restaurantId: string;
|
|
215
237
|
code?: string | undefined;
|
|
238
|
+
isRestricted: boolean;
|
|
216
239
|
restaurants: {
|
|
217
240
|
restaurantId: string;
|
|
218
241
|
restaurantName: string;
|
|
242
|
+
restaurantCode?: string | undefined;
|
|
219
243
|
roleId: string;
|
|
220
244
|
roleName: string;
|
|
221
245
|
}[];
|
|
@@ -229,9 +253,11 @@ export declare const useEmployeeStore: () => {
|
|
|
229
253
|
passcode: string;
|
|
230
254
|
isMasterUser: boolean;
|
|
231
255
|
restaurantId: string;
|
|
256
|
+
isRestricted: boolean;
|
|
232
257
|
restaurants: {
|
|
233
258
|
restaurantId: string;
|
|
234
259
|
restaurantName: string;
|
|
260
|
+
restaurantCode?: string | undefined;
|
|
235
261
|
roleId: string;
|
|
236
262
|
roleName: string;
|
|
237
263
|
}[];
|
|
@@ -245,9 +271,11 @@ export declare const useEmployeeStore: () => {
|
|
|
245
271
|
isMasterUser: boolean;
|
|
246
272
|
restaurantId: string;
|
|
247
273
|
code?: string | undefined;
|
|
274
|
+
isRestricted: boolean;
|
|
248
275
|
restaurants: {
|
|
249
276
|
restaurantId: string;
|
|
250
277
|
restaurantName: string;
|
|
278
|
+
restaurantCode?: string | undefined;
|
|
251
279
|
roleId: string;
|
|
252
280
|
roleName: string;
|
|
253
281
|
}[];
|
|
@@ -261,9 +289,11 @@ export declare const useEmployeeStore: () => {
|
|
|
261
289
|
passcode: string;
|
|
262
290
|
isMasterUser: boolean;
|
|
263
291
|
restaurantId: string;
|
|
292
|
+
isRestricted: boolean;
|
|
264
293
|
restaurants: {
|
|
265
294
|
restaurantId: string;
|
|
266
295
|
restaurantName: string;
|
|
296
|
+
restaurantCode?: string | undefined;
|
|
267
297
|
roleId: string;
|
|
268
298
|
roleName: string;
|
|
269
299
|
}[];
|
|
@@ -278,9 +308,11 @@ export declare const useEmployeeStore: () => {
|
|
|
278
308
|
isMasterUser: boolean;
|
|
279
309
|
restaurantId: string;
|
|
280
310
|
code?: string | undefined;
|
|
311
|
+
isRestricted: boolean;
|
|
281
312
|
restaurants: {
|
|
282
313
|
restaurantId: string;
|
|
283
314
|
restaurantName: string;
|
|
315
|
+
restaurantCode?: string | undefined;
|
|
284
316
|
roleId: string;
|
|
285
317
|
roleName: string;
|
|
286
318
|
}[];
|
|
@@ -294,9 +326,11 @@ export declare const useEmployeeStore: () => {
|
|
|
294
326
|
passcode: string;
|
|
295
327
|
isMasterUser: boolean;
|
|
296
328
|
restaurantId: string;
|
|
329
|
+
isRestricted: boolean;
|
|
297
330
|
restaurants: {
|
|
298
331
|
restaurantId: string;
|
|
299
332
|
restaurantName: string;
|
|
333
|
+
restaurantCode?: string | undefined;
|
|
300
334
|
roleId: string;
|
|
301
335
|
roleName: string;
|
|
302
336
|
}[];
|
|
@@ -310,9 +344,11 @@ export declare const useEmployeeStore: () => {
|
|
|
310
344
|
isMasterUser: boolean;
|
|
311
345
|
restaurantId: string;
|
|
312
346
|
code?: string | undefined;
|
|
347
|
+
isRestricted: boolean;
|
|
313
348
|
restaurants: {
|
|
314
349
|
restaurantId: string;
|
|
315
350
|
restaurantName: string;
|
|
351
|
+
restaurantCode?: string | undefined;
|
|
316
352
|
roleId: string;
|
|
317
353
|
roleName: string;
|
|
318
354
|
}[];
|
|
@@ -326,16 +362,17 @@ export declare const useEmployeeStore: () => {
|
|
|
326
362
|
passcode: string;
|
|
327
363
|
isMasterUser: boolean;
|
|
328
364
|
restaurantId: string;
|
|
365
|
+
isRestricted: boolean;
|
|
329
366
|
restaurants: {
|
|
330
367
|
restaurantId: string;
|
|
331
368
|
restaurantName: string;
|
|
369
|
+
restaurantCode?: string | undefined;
|
|
332
370
|
roleId: string;
|
|
333
371
|
roleName: string;
|
|
334
372
|
}[];
|
|
335
373
|
since: string;
|
|
336
374
|
})[]>;
|
|
337
375
|
totalEmployees: import("vue").Ref<number, number>;
|
|
338
|
-
restrictEmployeeIds: import("vue").Ref<string[], string[]>;
|
|
339
376
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
340
377
|
readEmployees: () => Promise<void>;
|
|
341
378
|
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
@@ -347,9 +384,8 @@ export declare const useEmployeeStore: () => {
|
|
|
347
384
|
updateMasterEmployee: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
348
385
|
deleteMasterEmployee: (employee: Employee) => Promise<void>;
|
|
349
386
|
migrateToMasterUser: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
350
|
-
readTeamMemberPosUserIds: () => Promise<void>;
|
|
351
387
|
syncUsersMeta: () => Promise<void>;
|
|
352
|
-
}, "isLoading" | "employees" | "listEmployees" | "totalEmployees"
|
|
388
|
+
}, "isLoading" | "employees" | "listEmployees" | "totalEmployees">>;
|
|
353
389
|
$patch(partialState: import("pinia")._DeepPartial<{
|
|
354
390
|
isLoading: boolean;
|
|
355
391
|
employees: ({
|
|
@@ -361,9 +397,11 @@ export declare const useEmployeeStore: () => {
|
|
|
361
397
|
isMasterUser: boolean;
|
|
362
398
|
restaurantId: string;
|
|
363
399
|
code?: string | undefined;
|
|
400
|
+
isRestricted: boolean;
|
|
364
401
|
restaurants: {
|
|
365
402
|
restaurantId: string;
|
|
366
403
|
restaurantName: string;
|
|
404
|
+
restaurantCode?: string | undefined;
|
|
367
405
|
roleId: string;
|
|
368
406
|
roleName: string;
|
|
369
407
|
}[];
|
|
@@ -377,9 +415,11 @@ export declare const useEmployeeStore: () => {
|
|
|
377
415
|
passcode: string;
|
|
378
416
|
isMasterUser: boolean;
|
|
379
417
|
restaurantId: string;
|
|
418
|
+
isRestricted: boolean;
|
|
380
419
|
restaurants: {
|
|
381
420
|
restaurantId: string;
|
|
382
421
|
restaurantName: string;
|
|
422
|
+
restaurantCode?: string | undefined;
|
|
383
423
|
roleId: string;
|
|
384
424
|
roleName: string;
|
|
385
425
|
}[];
|
|
@@ -394,9 +434,11 @@ export declare const useEmployeeStore: () => {
|
|
|
394
434
|
isMasterUser: boolean;
|
|
395
435
|
restaurantId: string;
|
|
396
436
|
code?: string | undefined;
|
|
437
|
+
isRestricted: boolean;
|
|
397
438
|
restaurants: {
|
|
398
439
|
restaurantId: string;
|
|
399
440
|
restaurantName: string;
|
|
441
|
+
restaurantCode?: string | undefined;
|
|
400
442
|
roleId: string;
|
|
401
443
|
roleName: string;
|
|
402
444
|
}[];
|
|
@@ -410,16 +452,17 @@ export declare const useEmployeeStore: () => {
|
|
|
410
452
|
passcode: string;
|
|
411
453
|
isMasterUser: boolean;
|
|
412
454
|
restaurantId: string;
|
|
455
|
+
isRestricted: boolean;
|
|
413
456
|
restaurants: {
|
|
414
457
|
restaurantId: string;
|
|
415
458
|
restaurantName: string;
|
|
459
|
+
restaurantCode?: string | undefined;
|
|
416
460
|
roleId: string;
|
|
417
461
|
roleName: string;
|
|
418
462
|
}[];
|
|
419
463
|
since: string;
|
|
420
464
|
})[];
|
|
421
465
|
totalEmployees: number;
|
|
422
|
-
restrictEmployeeIds: string[];
|
|
423
466
|
}>): void;
|
|
424
467
|
$patch<F extends (state: {
|
|
425
468
|
isLoading: boolean;
|
|
@@ -432,9 +475,11 @@ export declare const useEmployeeStore: () => {
|
|
|
432
475
|
isMasterUser: boolean;
|
|
433
476
|
restaurantId: string;
|
|
434
477
|
code?: string | undefined;
|
|
478
|
+
isRestricted: boolean;
|
|
435
479
|
restaurants: {
|
|
436
480
|
restaurantId: string;
|
|
437
481
|
restaurantName: string;
|
|
482
|
+
restaurantCode?: string | undefined;
|
|
438
483
|
roleId: string;
|
|
439
484
|
roleName: string;
|
|
440
485
|
}[];
|
|
@@ -448,9 +493,11 @@ export declare const useEmployeeStore: () => {
|
|
|
448
493
|
passcode: string;
|
|
449
494
|
isMasterUser: boolean;
|
|
450
495
|
restaurantId: string;
|
|
496
|
+
isRestricted: boolean;
|
|
451
497
|
restaurants: {
|
|
452
498
|
restaurantId: string;
|
|
453
499
|
restaurantName: string;
|
|
500
|
+
restaurantCode?: string | undefined;
|
|
454
501
|
roleId: string;
|
|
455
502
|
roleName: string;
|
|
456
503
|
}[];
|
|
@@ -465,9 +512,11 @@ export declare const useEmployeeStore: () => {
|
|
|
465
512
|
isMasterUser: boolean;
|
|
466
513
|
restaurantId: string;
|
|
467
514
|
code?: string | undefined;
|
|
515
|
+
isRestricted: boolean;
|
|
468
516
|
restaurants: {
|
|
469
517
|
restaurantId: string;
|
|
470
518
|
restaurantName: string;
|
|
519
|
+
restaurantCode?: string | undefined;
|
|
471
520
|
roleId: string;
|
|
472
521
|
roleName: string;
|
|
473
522
|
}[];
|
|
@@ -481,16 +530,17 @@ export declare const useEmployeeStore: () => {
|
|
|
481
530
|
passcode: string;
|
|
482
531
|
isMasterUser: boolean;
|
|
483
532
|
restaurantId: string;
|
|
533
|
+
isRestricted: boolean;
|
|
484
534
|
restaurants: {
|
|
485
535
|
restaurantId: string;
|
|
486
536
|
restaurantName: string;
|
|
537
|
+
restaurantCode?: string | undefined;
|
|
487
538
|
roleId: string;
|
|
488
539
|
roleName: string;
|
|
489
540
|
}[];
|
|
490
541
|
since: string;
|
|
491
542
|
})[];
|
|
492
543
|
totalEmployees: number;
|
|
493
|
-
restrictEmployeeIds: string[];
|
|
494
544
|
}) => any>(stateMutator: ReturnType<F> extends Promise<any> ? never : F): void;
|
|
495
545
|
$reset(): void;
|
|
496
546
|
$subscribe(callback: import("pinia").SubscriptionCallback<Pick<{
|
|
@@ -503,9 +553,11 @@ export declare const useEmployeeStore: () => {
|
|
|
503
553
|
isMasterUser: boolean;
|
|
504
554
|
restaurantId: string;
|
|
505
555
|
code?: string | undefined;
|
|
556
|
+
isRestricted: boolean;
|
|
506
557
|
restaurants: {
|
|
507
558
|
restaurantId: string;
|
|
508
559
|
restaurantName: string;
|
|
560
|
+
restaurantCode?: string | undefined;
|
|
509
561
|
roleId: string;
|
|
510
562
|
roleName: string;
|
|
511
563
|
}[];
|
|
@@ -519,9 +571,11 @@ export declare const useEmployeeStore: () => {
|
|
|
519
571
|
passcode: string;
|
|
520
572
|
isMasterUser: boolean;
|
|
521
573
|
restaurantId: string;
|
|
574
|
+
isRestricted: boolean;
|
|
522
575
|
restaurants: {
|
|
523
576
|
restaurantId: string;
|
|
524
577
|
restaurantName: string;
|
|
578
|
+
restaurantCode?: string | undefined;
|
|
525
579
|
roleId: string;
|
|
526
580
|
roleName: string;
|
|
527
581
|
}[];
|
|
@@ -535,9 +589,11 @@ export declare const useEmployeeStore: () => {
|
|
|
535
589
|
isMasterUser: boolean;
|
|
536
590
|
restaurantId: string;
|
|
537
591
|
code?: string | undefined;
|
|
592
|
+
isRestricted: boolean;
|
|
538
593
|
restaurants: {
|
|
539
594
|
restaurantId: string;
|
|
540
595
|
restaurantName: string;
|
|
596
|
+
restaurantCode?: string | undefined;
|
|
541
597
|
roleId: string;
|
|
542
598
|
roleName: string;
|
|
543
599
|
}[];
|
|
@@ -551,9 +607,11 @@ export declare const useEmployeeStore: () => {
|
|
|
551
607
|
passcode: string;
|
|
552
608
|
isMasterUser: boolean;
|
|
553
609
|
restaurantId: string;
|
|
610
|
+
isRestricted: boolean;
|
|
554
611
|
restaurants: {
|
|
555
612
|
restaurantId: string;
|
|
556
613
|
restaurantName: string;
|
|
614
|
+
restaurantCode?: string | undefined;
|
|
557
615
|
roleId: string;
|
|
558
616
|
roleName: string;
|
|
559
617
|
}[];
|
|
@@ -568,9 +626,11 @@ export declare const useEmployeeStore: () => {
|
|
|
568
626
|
isMasterUser: boolean;
|
|
569
627
|
restaurantId: string;
|
|
570
628
|
code?: string | undefined;
|
|
629
|
+
isRestricted: boolean;
|
|
571
630
|
restaurants: {
|
|
572
631
|
restaurantId: string;
|
|
573
632
|
restaurantName: string;
|
|
633
|
+
restaurantCode?: string | undefined;
|
|
574
634
|
roleId: string;
|
|
575
635
|
roleName: string;
|
|
576
636
|
}[];
|
|
@@ -584,9 +644,11 @@ export declare const useEmployeeStore: () => {
|
|
|
584
644
|
passcode: string;
|
|
585
645
|
isMasterUser: boolean;
|
|
586
646
|
restaurantId: string;
|
|
647
|
+
isRestricted: boolean;
|
|
587
648
|
restaurants: {
|
|
588
649
|
restaurantId: string;
|
|
589
650
|
restaurantName: string;
|
|
651
|
+
restaurantCode?: string | undefined;
|
|
590
652
|
roleId: string;
|
|
591
653
|
roleName: string;
|
|
592
654
|
}[];
|
|
@@ -600,9 +662,11 @@ export declare const useEmployeeStore: () => {
|
|
|
600
662
|
isMasterUser: boolean;
|
|
601
663
|
restaurantId: string;
|
|
602
664
|
code?: string | undefined;
|
|
665
|
+
isRestricted: boolean;
|
|
603
666
|
restaurants: {
|
|
604
667
|
restaurantId: string;
|
|
605
668
|
restaurantName: string;
|
|
669
|
+
restaurantCode?: string | undefined;
|
|
606
670
|
roleId: string;
|
|
607
671
|
roleName: string;
|
|
608
672
|
}[];
|
|
@@ -616,16 +680,17 @@ export declare const useEmployeeStore: () => {
|
|
|
616
680
|
passcode: string;
|
|
617
681
|
isMasterUser: boolean;
|
|
618
682
|
restaurantId: string;
|
|
683
|
+
isRestricted: boolean;
|
|
619
684
|
restaurants: {
|
|
620
685
|
restaurantId: string;
|
|
621
686
|
restaurantName: string;
|
|
687
|
+
restaurantCode?: string | undefined;
|
|
622
688
|
roleId: string;
|
|
623
689
|
roleName: string;
|
|
624
690
|
}[];
|
|
625
691
|
since: string;
|
|
626
692
|
})[]>;
|
|
627
693
|
totalEmployees: import("vue").Ref<number, number>;
|
|
628
|
-
restrictEmployeeIds: import("vue").Ref<string[], string[]>;
|
|
629
694
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
630
695
|
readEmployees: () => Promise<void>;
|
|
631
696
|
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
@@ -637,9 +702,8 @@ export declare const useEmployeeStore: () => {
|
|
|
637
702
|
updateMasterEmployee: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
638
703
|
deleteMasterEmployee: (employee: Employee) => Promise<void>;
|
|
639
704
|
migrateToMasterUser: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
640
|
-
readTeamMemberPosUserIds: () => Promise<void>;
|
|
641
705
|
syncUsersMeta: () => Promise<void>;
|
|
642
|
-
}, "isLoading" | "employees" | "listEmployees" | "totalEmployees"
|
|
706
|
+
}, "isLoading" | "employees" | "listEmployees" | "totalEmployees">>, options?: {
|
|
643
707
|
detached?: boolean;
|
|
644
708
|
} & import("vue").WatchOptions): () => void;
|
|
645
709
|
$onAction(callback: import("pinia").StoreOnActionListener<"employee", Pick<{
|
|
@@ -652,9 +716,11 @@ export declare const useEmployeeStore: () => {
|
|
|
652
716
|
isMasterUser: boolean;
|
|
653
717
|
restaurantId: string;
|
|
654
718
|
code?: string | undefined;
|
|
719
|
+
isRestricted: boolean;
|
|
655
720
|
restaurants: {
|
|
656
721
|
restaurantId: string;
|
|
657
722
|
restaurantName: string;
|
|
723
|
+
restaurantCode?: string | undefined;
|
|
658
724
|
roleId: string;
|
|
659
725
|
roleName: string;
|
|
660
726
|
}[];
|
|
@@ -668,9 +734,11 @@ export declare const useEmployeeStore: () => {
|
|
|
668
734
|
passcode: string;
|
|
669
735
|
isMasterUser: boolean;
|
|
670
736
|
restaurantId: string;
|
|
737
|
+
isRestricted: boolean;
|
|
671
738
|
restaurants: {
|
|
672
739
|
restaurantId: string;
|
|
673
740
|
restaurantName: string;
|
|
741
|
+
restaurantCode?: string | undefined;
|
|
674
742
|
roleId: string;
|
|
675
743
|
roleName: string;
|
|
676
744
|
}[];
|
|
@@ -684,9 +752,11 @@ export declare const useEmployeeStore: () => {
|
|
|
684
752
|
isMasterUser: boolean;
|
|
685
753
|
restaurantId: string;
|
|
686
754
|
code?: string | undefined;
|
|
755
|
+
isRestricted: boolean;
|
|
687
756
|
restaurants: {
|
|
688
757
|
restaurantId: string;
|
|
689
758
|
restaurantName: string;
|
|
759
|
+
restaurantCode?: string | undefined;
|
|
690
760
|
roleId: string;
|
|
691
761
|
roleName: string;
|
|
692
762
|
}[];
|
|
@@ -700,9 +770,11 @@ export declare const useEmployeeStore: () => {
|
|
|
700
770
|
passcode: string;
|
|
701
771
|
isMasterUser: boolean;
|
|
702
772
|
restaurantId: string;
|
|
773
|
+
isRestricted: boolean;
|
|
703
774
|
restaurants: {
|
|
704
775
|
restaurantId: string;
|
|
705
776
|
restaurantName: string;
|
|
777
|
+
restaurantCode?: string | undefined;
|
|
706
778
|
roleId: string;
|
|
707
779
|
roleName: string;
|
|
708
780
|
}[];
|
|
@@ -717,9 +789,11 @@ export declare const useEmployeeStore: () => {
|
|
|
717
789
|
isMasterUser: boolean;
|
|
718
790
|
restaurantId: string;
|
|
719
791
|
code?: string | undefined;
|
|
792
|
+
isRestricted: boolean;
|
|
720
793
|
restaurants: {
|
|
721
794
|
restaurantId: string;
|
|
722
795
|
restaurantName: string;
|
|
796
|
+
restaurantCode?: string | undefined;
|
|
723
797
|
roleId: string;
|
|
724
798
|
roleName: string;
|
|
725
799
|
}[];
|
|
@@ -733,9 +807,11 @@ export declare const useEmployeeStore: () => {
|
|
|
733
807
|
passcode: string;
|
|
734
808
|
isMasterUser: boolean;
|
|
735
809
|
restaurantId: string;
|
|
810
|
+
isRestricted: boolean;
|
|
736
811
|
restaurants: {
|
|
737
812
|
restaurantId: string;
|
|
738
813
|
restaurantName: string;
|
|
814
|
+
restaurantCode?: string | undefined;
|
|
739
815
|
roleId: string;
|
|
740
816
|
roleName: string;
|
|
741
817
|
}[];
|
|
@@ -749,9 +825,11 @@ export declare const useEmployeeStore: () => {
|
|
|
749
825
|
isMasterUser: boolean;
|
|
750
826
|
restaurantId: string;
|
|
751
827
|
code?: string | undefined;
|
|
828
|
+
isRestricted: boolean;
|
|
752
829
|
restaurants: {
|
|
753
830
|
restaurantId: string;
|
|
754
831
|
restaurantName: string;
|
|
832
|
+
restaurantCode?: string | undefined;
|
|
755
833
|
roleId: string;
|
|
756
834
|
roleName: string;
|
|
757
835
|
}[];
|
|
@@ -765,16 +843,17 @@ export declare const useEmployeeStore: () => {
|
|
|
765
843
|
passcode: string;
|
|
766
844
|
isMasterUser: boolean;
|
|
767
845
|
restaurantId: string;
|
|
846
|
+
isRestricted: boolean;
|
|
768
847
|
restaurants: {
|
|
769
848
|
restaurantId: string;
|
|
770
849
|
restaurantName: string;
|
|
850
|
+
restaurantCode?: string | undefined;
|
|
771
851
|
roleId: string;
|
|
772
852
|
roleName: string;
|
|
773
853
|
}[];
|
|
774
854
|
since: string;
|
|
775
855
|
})[]>;
|
|
776
856
|
totalEmployees: import("vue").Ref<number, number>;
|
|
777
|
-
restrictEmployeeIds: import("vue").Ref<string[], string[]>;
|
|
778
857
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
779
858
|
readEmployees: () => Promise<void>;
|
|
780
859
|
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
@@ -786,9 +865,8 @@ export declare const useEmployeeStore: () => {
|
|
|
786
865
|
updateMasterEmployee: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
787
866
|
deleteMasterEmployee: (employee: Employee) => Promise<void>;
|
|
788
867
|
migrateToMasterUser: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
789
|
-
readTeamMemberPosUserIds: () => Promise<void>;
|
|
790
868
|
syncUsersMeta: () => Promise<void>;
|
|
791
|
-
}, "isLoading" | "employees" | "listEmployees" | "totalEmployees"
|
|
869
|
+
}, "isLoading" | "employees" | "listEmployees" | "totalEmployees">, Pick<{
|
|
792
870
|
employees: import("vue").Ref<({
|
|
793
871
|
faceId?: unknown;
|
|
794
872
|
name: string;
|
|
@@ -798,9 +876,11 @@ export declare const useEmployeeStore: () => {
|
|
|
798
876
|
isMasterUser: boolean;
|
|
799
877
|
restaurantId: string;
|
|
800
878
|
code?: string | undefined;
|
|
879
|
+
isRestricted: boolean;
|
|
801
880
|
restaurants: {
|
|
802
881
|
restaurantId: string;
|
|
803
882
|
restaurantName: string;
|
|
883
|
+
restaurantCode?: string | undefined;
|
|
804
884
|
roleId: string;
|
|
805
885
|
roleName: string;
|
|
806
886
|
}[];
|
|
@@ -814,9 +894,11 @@ export declare const useEmployeeStore: () => {
|
|
|
814
894
|
passcode: string;
|
|
815
895
|
isMasterUser: boolean;
|
|
816
896
|
restaurantId: string;
|
|
897
|
+
isRestricted: boolean;
|
|
817
898
|
restaurants: {
|
|
818
899
|
restaurantId: string;
|
|
819
900
|
restaurantName: string;
|
|
901
|
+
restaurantCode?: string | undefined;
|
|
820
902
|
roleId: string;
|
|
821
903
|
roleName: string;
|
|
822
904
|
}[];
|
|
@@ -830,9 +912,11 @@ export declare const useEmployeeStore: () => {
|
|
|
830
912
|
isMasterUser: boolean;
|
|
831
913
|
restaurantId: string;
|
|
832
914
|
code?: string | undefined;
|
|
915
|
+
isRestricted: boolean;
|
|
833
916
|
restaurants: {
|
|
834
917
|
restaurantId: string;
|
|
835
918
|
restaurantName: string;
|
|
919
|
+
restaurantCode?: string | undefined;
|
|
836
920
|
roleId: string;
|
|
837
921
|
roleName: string;
|
|
838
922
|
}[];
|
|
@@ -846,9 +930,11 @@ export declare const useEmployeeStore: () => {
|
|
|
846
930
|
passcode: string;
|
|
847
931
|
isMasterUser: boolean;
|
|
848
932
|
restaurantId: string;
|
|
933
|
+
isRestricted: boolean;
|
|
849
934
|
restaurants: {
|
|
850
935
|
restaurantId: string;
|
|
851
936
|
restaurantName: string;
|
|
937
|
+
restaurantCode?: string | undefined;
|
|
852
938
|
roleId: string;
|
|
853
939
|
roleName: string;
|
|
854
940
|
}[];
|
|
@@ -863,9 +949,11 @@ export declare const useEmployeeStore: () => {
|
|
|
863
949
|
isMasterUser: boolean;
|
|
864
950
|
restaurantId: string;
|
|
865
951
|
code?: string | undefined;
|
|
952
|
+
isRestricted: boolean;
|
|
866
953
|
restaurants: {
|
|
867
954
|
restaurantId: string;
|
|
868
955
|
restaurantName: string;
|
|
956
|
+
restaurantCode?: string | undefined;
|
|
869
957
|
roleId: string;
|
|
870
958
|
roleName: string;
|
|
871
959
|
}[];
|
|
@@ -879,9 +967,11 @@ export declare const useEmployeeStore: () => {
|
|
|
879
967
|
passcode: string;
|
|
880
968
|
isMasterUser: boolean;
|
|
881
969
|
restaurantId: string;
|
|
970
|
+
isRestricted: boolean;
|
|
882
971
|
restaurants: {
|
|
883
972
|
restaurantId: string;
|
|
884
973
|
restaurantName: string;
|
|
974
|
+
restaurantCode?: string | undefined;
|
|
885
975
|
roleId: string;
|
|
886
976
|
roleName: string;
|
|
887
977
|
}[];
|
|
@@ -895,9 +985,11 @@ export declare const useEmployeeStore: () => {
|
|
|
895
985
|
isMasterUser: boolean;
|
|
896
986
|
restaurantId: string;
|
|
897
987
|
code?: string | undefined;
|
|
988
|
+
isRestricted: boolean;
|
|
898
989
|
restaurants: {
|
|
899
990
|
restaurantId: string;
|
|
900
991
|
restaurantName: string;
|
|
992
|
+
restaurantCode?: string | undefined;
|
|
901
993
|
roleId: string;
|
|
902
994
|
roleName: string;
|
|
903
995
|
}[];
|
|
@@ -911,16 +1003,17 @@ export declare const useEmployeeStore: () => {
|
|
|
911
1003
|
passcode: string;
|
|
912
1004
|
isMasterUser: boolean;
|
|
913
1005
|
restaurantId: string;
|
|
1006
|
+
isRestricted: boolean;
|
|
914
1007
|
restaurants: {
|
|
915
1008
|
restaurantId: string;
|
|
916
1009
|
restaurantName: string;
|
|
1010
|
+
restaurantCode?: string | undefined;
|
|
917
1011
|
roleId: string;
|
|
918
1012
|
roleName: string;
|
|
919
1013
|
}[];
|
|
920
1014
|
since: string;
|
|
921
1015
|
})[]>;
|
|
922
1016
|
totalEmployees: import("vue").Ref<number, number>;
|
|
923
|
-
restrictEmployeeIds: import("vue").Ref<string[], string[]>;
|
|
924
1017
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
925
1018
|
readEmployees: () => Promise<void>;
|
|
926
1019
|
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
@@ -932,7 +1025,6 @@ export declare const useEmployeeStore: () => {
|
|
|
932
1025
|
updateMasterEmployee: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
933
1026
|
deleteMasterEmployee: (employee: Employee) => Promise<void>;
|
|
934
1027
|
migrateToMasterUser: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
935
|
-
readTeamMemberPosUserIds: () => Promise<void>;
|
|
936
1028
|
syncUsersMeta: () => Promise<void>;
|
|
937
1029
|
}, never>, Pick<{
|
|
938
1030
|
employees: import("vue").Ref<({
|
|
@@ -944,9 +1036,11 @@ export declare const useEmployeeStore: () => {
|
|
|
944
1036
|
isMasterUser: boolean;
|
|
945
1037
|
restaurantId: string;
|
|
946
1038
|
code?: string | undefined;
|
|
1039
|
+
isRestricted: boolean;
|
|
947
1040
|
restaurants: {
|
|
948
1041
|
restaurantId: string;
|
|
949
1042
|
restaurantName: string;
|
|
1043
|
+
restaurantCode?: string | undefined;
|
|
950
1044
|
roleId: string;
|
|
951
1045
|
roleName: string;
|
|
952
1046
|
}[];
|
|
@@ -960,9 +1054,11 @@ export declare const useEmployeeStore: () => {
|
|
|
960
1054
|
passcode: string;
|
|
961
1055
|
isMasterUser: boolean;
|
|
962
1056
|
restaurantId: string;
|
|
1057
|
+
isRestricted: boolean;
|
|
963
1058
|
restaurants: {
|
|
964
1059
|
restaurantId: string;
|
|
965
1060
|
restaurantName: string;
|
|
1061
|
+
restaurantCode?: string | undefined;
|
|
966
1062
|
roleId: string;
|
|
967
1063
|
roleName: string;
|
|
968
1064
|
}[];
|
|
@@ -976,9 +1072,11 @@ export declare const useEmployeeStore: () => {
|
|
|
976
1072
|
isMasterUser: boolean;
|
|
977
1073
|
restaurantId: string;
|
|
978
1074
|
code?: string | undefined;
|
|
1075
|
+
isRestricted: boolean;
|
|
979
1076
|
restaurants: {
|
|
980
1077
|
restaurantId: string;
|
|
981
1078
|
restaurantName: string;
|
|
1079
|
+
restaurantCode?: string | undefined;
|
|
982
1080
|
roleId: string;
|
|
983
1081
|
roleName: string;
|
|
984
1082
|
}[];
|
|
@@ -992,9 +1090,11 @@ export declare const useEmployeeStore: () => {
|
|
|
992
1090
|
passcode: string;
|
|
993
1091
|
isMasterUser: boolean;
|
|
994
1092
|
restaurantId: string;
|
|
1093
|
+
isRestricted: boolean;
|
|
995
1094
|
restaurants: {
|
|
996
1095
|
restaurantId: string;
|
|
997
1096
|
restaurantName: string;
|
|
1097
|
+
restaurantCode?: string | undefined;
|
|
998
1098
|
roleId: string;
|
|
999
1099
|
roleName: string;
|
|
1000
1100
|
}[];
|
|
@@ -1009,9 +1109,11 @@ export declare const useEmployeeStore: () => {
|
|
|
1009
1109
|
isMasterUser: boolean;
|
|
1010
1110
|
restaurantId: string;
|
|
1011
1111
|
code?: string | undefined;
|
|
1112
|
+
isRestricted: boolean;
|
|
1012
1113
|
restaurants: {
|
|
1013
1114
|
restaurantId: string;
|
|
1014
1115
|
restaurantName: string;
|
|
1116
|
+
restaurantCode?: string | undefined;
|
|
1015
1117
|
roleId: string;
|
|
1016
1118
|
roleName: string;
|
|
1017
1119
|
}[];
|
|
@@ -1025,9 +1127,11 @@ export declare const useEmployeeStore: () => {
|
|
|
1025
1127
|
passcode: string;
|
|
1026
1128
|
isMasterUser: boolean;
|
|
1027
1129
|
restaurantId: string;
|
|
1130
|
+
isRestricted: boolean;
|
|
1028
1131
|
restaurants: {
|
|
1029
1132
|
restaurantId: string;
|
|
1030
1133
|
restaurantName: string;
|
|
1134
|
+
restaurantCode?: string | undefined;
|
|
1031
1135
|
roleId: string;
|
|
1032
1136
|
roleName: string;
|
|
1033
1137
|
}[];
|
|
@@ -1041,9 +1145,11 @@ export declare const useEmployeeStore: () => {
|
|
|
1041
1145
|
isMasterUser: boolean;
|
|
1042
1146
|
restaurantId: string;
|
|
1043
1147
|
code?: string | undefined;
|
|
1148
|
+
isRestricted: boolean;
|
|
1044
1149
|
restaurants: {
|
|
1045
1150
|
restaurantId: string;
|
|
1046
1151
|
restaurantName: string;
|
|
1152
|
+
restaurantCode?: string | undefined;
|
|
1047
1153
|
roleId: string;
|
|
1048
1154
|
roleName: string;
|
|
1049
1155
|
}[];
|
|
@@ -1057,16 +1163,17 @@ export declare const useEmployeeStore: () => {
|
|
|
1057
1163
|
passcode: string;
|
|
1058
1164
|
isMasterUser: boolean;
|
|
1059
1165
|
restaurantId: string;
|
|
1166
|
+
isRestricted: boolean;
|
|
1060
1167
|
restaurants: {
|
|
1061
1168
|
restaurantId: string;
|
|
1062
1169
|
restaurantName: string;
|
|
1170
|
+
restaurantCode?: string | undefined;
|
|
1063
1171
|
roleId: string;
|
|
1064
1172
|
roleName: string;
|
|
1065
1173
|
}[];
|
|
1066
1174
|
since: string;
|
|
1067
1175
|
})[]>;
|
|
1068
1176
|
totalEmployees: import("vue").Ref<number, number>;
|
|
1069
|
-
restrictEmployeeIds: import("vue").Ref<string[], string[]>;
|
|
1070
1177
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
1071
1178
|
readEmployees: () => Promise<void>;
|
|
1072
1179
|
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
@@ -1078,9 +1185,8 @@ export declare const useEmployeeStore: () => {
|
|
|
1078
1185
|
updateMasterEmployee: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
1079
1186
|
deleteMasterEmployee: (employee: Employee) => Promise<void>;
|
|
1080
1187
|
migrateToMasterUser: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
1081
|
-
readTeamMemberPosUserIds: () => Promise<void>;
|
|
1082
1188
|
syncUsersMeta: () => Promise<void>;
|
|
1083
|
-
}, "readEmployees" | "readEmployeesPage" | "readAllEmployeesPage" | "createEmployee" | "updateEmployee" | "deleteEmployee" | "createMasterEmployee" | "updateMasterEmployee" | "deleteMasterEmployee" | "migrateToMasterUser" | "
|
|
1189
|
+
}, "readEmployees" | "readEmployeesPage" | "readAllEmployeesPage" | "createEmployee" | "updateEmployee" | "deleteEmployee" | "createMasterEmployee" | "updateMasterEmployee" | "deleteMasterEmployee" | "migrateToMasterUser" | "syncUsersMeta">>, detached?: boolean): () => void;
|
|
1084
1190
|
$dispose(): void;
|
|
1085
1191
|
$id: "employee";
|
|
1086
1192
|
_customProperties: Set<string>;
|
|
@@ -1094,6 +1200,5 @@ export declare const useEmployeeStore: () => {
|
|
|
1094
1200
|
updateMasterEmployee: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
1095
1201
|
deleteMasterEmployee: (employee: Employee) => Promise<void>;
|
|
1096
1202
|
migrateToMasterUser: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
1097
|
-
readTeamMemberPosUserIds: () => Promise<void>;
|
|
1098
1203
|
syncUsersMeta: () => Promise<void>;
|
|
1099
1204
|
};
|