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.
@@ -0,0 +1,5 @@
1
+ export interface IModelSelectRoles {
2
+ isOpenModel: boolean;
3
+ userRoles: string[];
4
+ onSelectUserRoles: Function;
5
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IModelSelectRoles } from "../constant/type";
3
+ declare const ModelSelectRole: ({ isOpenModel, userRoles, onSelectUserRoles }: IModelSelectRoles) => JSX.Element;
4
+ export default ModelSelectRole;
@@ -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("../constants/types").UserFilter;
4
+ filters: import("../../..").Filter;
5
5
  queryName: string | null;
6
- fullName: string;
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
- -webkit-animation: _wnn2_ 20s step-start infinite 0s;
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; }