mario-core 2.9.169-level → 2.9.169-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,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,7 @@
1
+ import { FC } from 'react';
2
+ interface Props {
3
+ data: string[];
4
+ duration?: number;
5
+ }
6
+ declare const BlockBackground: FC<Props>;
7
+ export default BlockBackground;
@@ -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;
@@ -291,33 +298,40 @@
291
298
  margin-left: -30px;
292
299
  margin-right: -30px; }
293
300
 
294
- ._jOY7o {
295
- background-size: cover;
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
+ ._30npl {
302
+ width: 100%;
303
+ height: 100%;
304
+ z-index: 1; }
305
+ ._30npl img {
306
+ width: 100%;
307
+ height: 100%;
308
+ -o-object-fit: cover;
309
+ object-fit: cover;
310
+ -o-object-position: center;
311
+ object-position: center;
312
+ position: absolute;
313
+ z-index: 1;
314
+ top: 0;
315
+ left: 0; }
316
+ ._30npl img._3oAH- {
317
+ z-index: 3; }
318
+ ._30npl img._3oAH-._16rY4 {
319
+ -webkit-animation: _26nbh 1s ease-in-out forwards;
320
+ animation: _26nbh 1s ease-in-out forwards; }
321
+ ._30npl img._3A7Vv {
322
+ z-index: 2; }
323
+
324
+ @-webkit-keyframes _26nbh {
301
325
  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"); }
326
+ opacity: 0; }
307
327
  100% {
308
- opacity: 2;
309
- background-image: url("/images/landing-page3.jpg"); } }
328
+ opacity: 1; } }
310
329
 
311
- @keyframes _wnn2_ {
330
+ @keyframes _26nbh {
312
331
  0% {
313
- opacity: 0;
314
- background-image: url("/images/landing-page.jpg"); }
315
- 50% {
316
- opacity: 1;
317
- background-image: url("/images/landing-page2.jpg"); }
332
+ opacity: 0; }
318
333
  100% {
319
- opacity: 2;
320
- background-image: url("/images/landing-page3.jpg"); } }
334
+ opacity: 1; } }
321
335
 
322
336
  ._F-hjL {
323
337
  background-color: #336dda;
@@ -331,6 +345,8 @@
331
345
  background-color: #336dda;
332
346
  overflow: hidden; } }
333
347
  ._F-hjL ._149oA {
348
+ position: relative;
349
+ z-index: 2;
334
350
  background: rgba(0, 0, 0, 0.57);
335
351
  height: 100%;
336
352
  padding: 20px 100px; }