mario-core 2.9.164-level → 2.9.164-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.
@@ -3,6 +3,7 @@ interface Props {
3
3
  isShowPassword: boolean;
4
4
  togglePasswordVisible: any;
5
5
  onChange: any;
6
+ placeholder?: string;
6
7
  }
7
8
  declare const PasswordInput: FC<Props>;
8
9
  export default PasswordInput;
@@ -0,0 +1,5 @@
1
+ export interface IModelSelectRoles {
2
+ isOpenModel: boolean;
3
+ userRoles: string[];
4
+ onSelectUserRoles: Function;
5
+ }
@@ -0,0 +1,7 @@
1
+ export interface ICreatePassword {
2
+ password: string;
3
+ reEnterPassword: string;
4
+ email: string;
5
+ userId: string;
6
+ token: string;
7
+ }
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { ICreatePassword } from "../constant/types";
3
+ declare const useCreatePassword: () => {
4
+ createPasswordRequest: (data: ICreatePassword) => Promise<void>;
5
+ isShowNewPassword: boolean;
6
+ setIsShowNewPassword: import("react").Dispatch<import("react").SetStateAction<boolean>>;
7
+ isShowReTypePassword: boolean;
8
+ setIsShowReTypePassword: import("react").Dispatch<import("react").SetStateAction<boolean>>;
9
+ clickHandler: () => Promise<any>;
10
+ handleVerify: () => void;
11
+ initialValues: ICreatePassword;
12
+ };
13
+ export default useCreatePassword;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import { ICreatePassword } from "../constant/types";
2
3
  declare type ForgotPasswordInfo = {
3
4
  email: string;
4
5
  captcha: string;
@@ -17,5 +18,6 @@ declare const useForgotPassword: () => {
17
18
  setIsShowReTypePassword: import("react").Dispatch<import("react").SetStateAction<boolean>>;
18
19
  clickHandler: () => Promise<any>;
19
20
  handleVerify: () => void;
21
+ initialValues: ICreatePassword;
20
22
  };
21
23
  export default useForgotPassword;
@@ -4,6 +4,7 @@ interface loginProps {
4
4
  isForgotPassword?: boolean;
5
5
  isResetPassword?: boolean;
6
6
  isLoginTwoFactor?: boolean;
7
+ isCreatePassword?: boolean;
7
8
  }
8
9
  declare const Login: (props: loginProps) => JSX.Element;
9
10
  export default Login;
@@ -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;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const BlockCreatePassword: () => JSX.Element;
3
+ export default BlockCreatePassword;
@@ -23,5 +23,6 @@ declare const useUserDetail: (id?: string | undefined) => {
23
23
  forgotPasswordRequest: (data: any) => Promise<void>;
24
24
  currentRoles: string[];
25
25
  handleDisableRoles: (currentRoles: string) => boolean;
26
+ handleResetPassword: (userId: string) => Promise<void>;
26
27
  };
27
28
  export default useUserDetail;
package/dist/index.css CHANGED
@@ -244,6 +244,8 @@
244
244
  padding: 4px; }
245
245
  ._wWIyO ._39BJD {
246
246
  margin-bottom: 30px; }
247
+ ._wWIyO ._39BJD ._ozRAq:disabled {
248
+ background: #E5E5E5; }
247
249
  ._wWIyO input[type="checkbox"]._2K9b2 {
248
250
  margin-left: 0; }
249
251
  ._wWIyO ._11FZt {
@@ -256,6 +258,11 @@
256
258
  ._wWIyO ._3IL10:hover {
257
259
  background-color: #2196f3;
258
260
  color: #ffffff; }
261
+ ._wWIyO ._2VvIr {
262
+ border-radius: 50px; }
263
+ ._wWIyO ._2A0HF {
264
+ background: #316CD9;
265
+ color: #FFFFFF; }
259
266
  ._wWIyO ._3LXoI {
260
267
  position: absolute;
261
268
  margin-left: auto;
@@ -294,19 +301,7 @@
294
301
  ._jOY7o {
295
302
  background-size: cover;
296
303
  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"); } }
304
+ animation: _wnn2_ 20s step-start infinite 0s; }
310
305
 
311
306
  @keyframes _wnn2_ {
312
307
  0% {