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.
- 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/BlockCreatePassword.d.ts +3 -0
- package/dist/containers/User/hooks/useUserDetail.d.ts +1 -0
- package/dist/index.css +8 -13
- package/dist/index.js +25432 -8602
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +25435 -8605
- 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;
|
|
@@ -294,19 +301,7 @@
|
|
|
294
301
|
._jOY7o {
|
|
295
302
|
background-size: cover;
|
|
296
303
|
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"); } }
|
|
304
|
+
animation: _wnn2_ 20s step-start infinite 0s; }
|
|
310
305
|
|
|
311
306
|
@keyframes _wnn2_ {
|
|
312
307
|
0% {
|