mario-core 2.9.168-level → 2.9.168-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/components/Inputs/PasswordInput.d.ts +1 -0
- package/dist/containers/Login/constant/type.d.ts +5 -0
- package/dist/containers/Login/constant/types.d.ts +7 -0
- package/dist/containers/Login/hooks/useCreatePassword.d.ts +13 -0
- package/dist/containers/Login/hooks/useForgotPassword.d.ts +2 -0
- package/dist/containers/Login/views/Login.d.ts +1 -0
- package/dist/containers/Login/views/ModelSelectRole.d.ts +4 -0
- package/dist/containers/Login/views/block/BlockBackground.d.ts +7 -0
- package/dist/containers/Login/views/block/BlockCreatePassword.d.ts +3 -0
- package/dist/containers/User/hooks/useUserDetail.d.ts +1 -0
- package/dist/index.css +34 -25
- package/dist/index.js +18859 -2082
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +18860 -2083
- package/dist/index.modern.js.map +1 -1
- package/dist/services/accountService.d.ts +3 -0
- package/dist/services/userService.d.ts +2 -0
- package/dist/types/user.d.ts +3 -0
- package/dist/utils/amplitude.d.ts +1 -0
- package/package.json +101 -101
- package/dist/components/Buttons/SyncButtonIcon.d.ts +0 -7
- package/dist/layouts/TheLayoutAdmin.d.ts +0 -4
|
@@ -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;
|
|
@@ -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,33 @@
|
|
|
291
298
|
margin-left: -30px;
|
|
292
299
|
margin-right: -30px; }
|
|
293
300
|
|
|
294
|
-
.
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
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
|
+
animation: _26nbh 1s ease-in-out forwards; }
|
|
320
|
+
._30npl img._3A7Vv {
|
|
321
|
+
z-index: 2; }
|
|
322
|
+
|
|
323
|
+
@keyframes _26nbh {
|
|
312
324
|
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"); }
|
|
325
|
+
opacity: 0; }
|
|
318
326
|
100% {
|
|
319
|
-
opacity:
|
|
320
|
-
background-image: url("/images/landing-page3.jpg"); } }
|
|
327
|
+
opacity: 1; } }
|
|
321
328
|
|
|
322
329
|
._F-hjL {
|
|
323
330
|
background-color: #336dda;
|
|
@@ -331,6 +338,8 @@
|
|
|
331
338
|
background-color: #336dda;
|
|
332
339
|
overflow: hidden; } }
|
|
333
340
|
._F-hjL ._149oA {
|
|
341
|
+
position: relative;
|
|
342
|
+
z-index: 2;
|
|
334
343
|
background: rgba(0, 0, 0, 0.57);
|
|
335
344
|
height: 100%;
|
|
336
345
|
padding: 20px 100px; }
|