mario-core 2.9.170-level → 2.9.171-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/Alerts/SandboxAlert.d.ts +3 -0
- package/dist/components/Inputs/PasswordInput.d.ts +1 -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/block/BlockCreatePassword.d.ts +3 -0
- package/dist/containers/User/hooks/useUserDetail.d.ts +1 -0
- package/dist/index.css +7 -0
- package/dist/index.js +18665 -1118
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +18666 -1119
- package/dist/index.modern.js.map +1 -1
- package/dist/services/accountService.d.ts +3 -0
- package/dist/services/schoolService.d.ts +1 -0
- package/dist/services/userService.d.ts +2 -0
- package/dist/types/user.d.ts +3 -0
- package/package.json +1 -1
|
@@ -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;
|