mario-core 2.9.160-level → 2.9.160-survey
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/containers/Login/constant/type.d.ts +5 -0
- package/dist/containers/Login/views/ModelSelectRole.d.ts +4 -0
- package/dist/containers/User/constants/types.d.ts +0 -58
- package/dist/containers/User/hooks/useUserList.d.ts +2 -3
- package/dist/index.css +1 -51
- package/dist/index.js +1567 -2850
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1570 -2853
- package/dist/index.modern.js.map +1 -1
- package/dist/services/userService.d.ts +4 -3
- package/dist/utils/amplitude.d.ts +1 -0
- package/package.json +101 -101
- package/dist/components/Buttons/SyncButtonIcon.d.ts +0 -7
- package/dist/containers/User/components/FilterPopover.d.ts +0 -20
- package/dist/containers/User/components/HeaderCell.d.ts +0 -17
- package/dist/containers/User/components/TableHeader.d.ts +0 -10
- package/dist/containers/User/constants/constants.d.ts +0 -19
- package/dist/containers/User/hooks/useClickOutside.d.ts +0 -2
- package/dist/containers/User/hooks/useExportUsersCsv.d.ts +0 -5
- package/dist/containers/User/hooks/useFilterPopover.d.ts +0 -35
- package/dist/containers/User/hooks/useTableHeader.d.ts +0 -15
- package/dist/containers/User/hooks/userFilters.d.ts +0 -8
- package/dist/layouts/TheLayoutAdmin.d.ts +0 -4
|
@@ -1,23 +1,5 @@
|
|
|
1
|
-
export declare type User = {
|
|
2
|
-
id: string;
|
|
3
|
-
firstName: string;
|
|
4
|
-
lastName: string;
|
|
5
|
-
firstInitial: string;
|
|
6
|
-
email: string;
|
|
7
|
-
phoneNumber: string;
|
|
8
|
-
roles: string[];
|
|
9
|
-
dateOfBirth: string;
|
|
10
|
-
createTime: string;
|
|
11
|
-
isActive: boolean;
|
|
12
|
-
profileImageFileName: string;
|
|
13
|
-
fullName: string;
|
|
14
|
-
sourcedId: string;
|
|
15
|
-
rosterUser: RosterStudent;
|
|
16
|
-
};
|
|
17
1
|
export declare type RosterStudent = {
|
|
18
2
|
sourcedId: string;
|
|
19
|
-
username: string;
|
|
20
|
-
status: string;
|
|
21
3
|
givenName: string;
|
|
22
4
|
middleName: string;
|
|
23
5
|
familyName: string;
|
|
@@ -29,43 +11,3 @@ export declare type Option = {
|
|
|
29
11
|
label: string;
|
|
30
12
|
value: string;
|
|
31
13
|
};
|
|
32
|
-
export declare type UserFilter = {
|
|
33
|
-
currentPage?: number;
|
|
34
|
-
pageSize?: number;
|
|
35
|
-
searchString?: string;
|
|
36
|
-
isDescending?: boolean;
|
|
37
|
-
sortBy?: UserOrder;
|
|
38
|
-
searchBy?: SearchBy;
|
|
39
|
-
searchStringBy?: string;
|
|
40
|
-
searchByStrings?: string[];
|
|
41
|
-
};
|
|
42
|
-
export declare type UserColumn = {
|
|
43
|
-
name: string;
|
|
44
|
-
sortBy?: UserOrder;
|
|
45
|
-
className?: string;
|
|
46
|
-
searchBy?: SearchBy;
|
|
47
|
-
getOption?: (user: any, t?: any) => FilterOption;
|
|
48
|
-
options?: FilterOption[];
|
|
49
|
-
};
|
|
50
|
-
export declare type FilterOption = {
|
|
51
|
-
label: string;
|
|
52
|
-
value: string;
|
|
53
|
-
};
|
|
54
|
-
export declare enum UserOrder {
|
|
55
|
-
Id = 0,
|
|
56
|
-
Name = 1,
|
|
57
|
-
Email = 2,
|
|
58
|
-
Age = 3,
|
|
59
|
-
Role = 4,
|
|
60
|
-
Status = 5,
|
|
61
|
-
CreatedAt = 6,
|
|
62
|
-
RosterUser = 7
|
|
63
|
-
}
|
|
64
|
-
export declare enum SearchBy {
|
|
65
|
-
Id = 0,
|
|
66
|
-
Name = 1,
|
|
67
|
-
Email = 2,
|
|
68
|
-
Role = 3,
|
|
69
|
-
RosterUser = 4,
|
|
70
|
-
Status = 5
|
|
71
|
-
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
declare const useUserList: () => {
|
|
2
2
|
userList: any;
|
|
3
3
|
totalItems: any;
|
|
4
|
-
filters: import("
|
|
4
|
+
filters: import("../../..").Filter;
|
|
5
5
|
queryName: string | null;
|
|
6
|
-
|
|
7
|
-
getData: () => Promise<void>;
|
|
6
|
+
getData: (fullName?: string | undefined) => Promise<void>;
|
|
8
7
|
removeData: (id: string) => void;
|
|
9
8
|
changeFilters: (updatedFilters: any) => void;
|
|
10
9
|
reDirectDetailPage: (id?: number | undefined) => void;
|
package/dist/index.css
CHANGED
|
@@ -294,19 +294,7 @@
|
|
|
294
294
|
._jOY7o {
|
|
295
295
|
background-size: cover;
|
|
296
296
|
opacity: 0;
|
|
297
|
-
|
|
298
|
-
animation: _wnn2_ 20s step-start infinite 0s; }
|
|
299
|
-
|
|
300
|
-
@-webkit-keyframes _wnn2_ {
|
|
301
|
-
0% {
|
|
302
|
-
opacity: 0;
|
|
303
|
-
background-image: url("/images/landing-page.jpg"); }
|
|
304
|
-
50% {
|
|
305
|
-
opacity: 1;
|
|
306
|
-
background-image: url("/images/landing-page2.jpg"); }
|
|
307
|
-
100% {
|
|
308
|
-
opacity: 2;
|
|
309
|
-
background-image: url("/images/landing-page3.jpg"); } }
|
|
297
|
+
animation: _wnn2_ 20s step-start infinite 0s; }
|
|
310
298
|
|
|
311
299
|
@keyframes _wnn2_ {
|
|
312
300
|
0% {
|
|
@@ -535,44 +523,6 @@
|
|
|
535
523
|
background-color: #f1faff;
|
|
536
524
|
color: #009ef7; }
|
|
537
525
|
|
|
538
|
-
._1ocBa {
|
|
539
|
-
cursor: pointer;
|
|
540
|
-
font-weight: 500; }
|
|
541
|
-
._18NhM, ._1ocBa:hover {
|
|
542
|
-
color: #316cd9; }
|
|
543
|
-
._1ocBa svg {
|
|
544
|
-
width: 16px;
|
|
545
|
-
height: 16px; }
|
|
546
|
-
|
|
547
|
-
._2bquW {
|
|
548
|
-
top: 50%;
|
|
549
|
-
transform: translateY(-50%);
|
|
550
|
-
left: 12px;
|
|
551
|
-
font-size: 14px; }
|
|
552
|
-
|
|
553
|
-
._3A4G4 {
|
|
554
|
-
padding-left: 28px !important; }
|
|
555
|
-
|
|
556
|
-
._1MsEW {
|
|
557
|
-
max-height: 200px;
|
|
558
|
-
overflow-y: auto;
|
|
559
|
-
border-radius: 8px; }
|
|
560
|
-
._1MsEW input {
|
|
561
|
-
margin-bottom: 5px; }
|
|
562
|
-
|
|
563
|
-
._2rTzM {
|
|
564
|
-
border-radius: 4px;
|
|
565
|
-
background: #ffff; }
|
|
566
|
-
|
|
567
|
-
._18y0w {
|
|
568
|
-
padding: 6px 12px 6px 0px;
|
|
569
|
-
border-radius: 0 4px 4px 0;
|
|
570
|
-
color: #fff; }
|
|
571
|
-
|
|
572
|
-
._3cZAT {
|
|
573
|
-
padding: 5px 8px 7px 6px;
|
|
574
|
-
border-radius: 4px 0 0 4px; }
|
|
575
|
-
|
|
576
526
|
@media (max-width: 575px) {
|
|
577
527
|
._1INnO {
|
|
578
528
|
display: none; }
|