mario-core 1.1.6 → 1.1.7-es

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.
Files changed (128) hide show
  1. package/dist/assets/Images.d.ts +6 -0
  2. package/dist/components/Buttons/UploadFileButton.d.ts +4 -0
  3. package/dist/components/Inputs/PasswordInput.d.ts +8 -0
  4. package/dist/components/Others/QuitPrompt.d.ts +2 -0
  5. package/dist/components/Scroll/ScrollToTop.d.ts +3 -0
  6. package/dist/components/Selectors/AcademicClassSelector.d.ts +3 -0
  7. package/dist/components/Selectors/CustomSelector.d.ts +1 -1
  8. package/dist/configs/editorConfig.d.ts +6 -1
  9. package/dist/containers/DistrictSchools/views/SchoolList.d.ts +3 -0
  10. package/dist/containers/EmailTemplate/components/AttachmentFile.d.ts +7 -0
  11. package/dist/containers/EmailTemplate/components/MailParam.d.ts +1 -0
  12. package/dist/containers/EmailTemplate/hooks/useEmailTemplateDetail.d.ts +14 -0
  13. package/dist/containers/EmailTemplate/hooks/useEmailTemplateList.d.ts +1 -2
  14. package/dist/containers/Faq/hooks/useFaqDetail.d.ts +5 -0
  15. package/dist/containers/Faq/hooks/useFaqList.d.ts +1 -2
  16. package/dist/containers/{Classes/components/ClassDetailModal.d.ts → Gallery/components/ActionModal.d.ts} +0 -0
  17. package/dist/containers/Gallery/components/Filter.d.ts +8 -0
  18. package/dist/containers/Gallery/components/Media.d.ts +8 -0
  19. package/dist/containers/Gallery/components/MediaDetail.d.ts +7 -0
  20. package/dist/containers/Gallery/components/MediaList.d.ts +7 -0
  21. package/dist/containers/Gallery/components/MediaNav.d.ts +18 -0
  22. package/dist/containers/Gallery/constants/gallery.types.d.ts +21 -0
  23. package/dist/containers/Gallery/extensions/helpers.d.ts +4 -0
  24. package/dist/containers/Gallery/hooks/useGalleryList.d.ts +31 -0
  25. package/dist/containers/Gallery/views/GalleryList.d.ts +6 -0
  26. package/dist/containers/Login/hooks/useForgotPassword.d.ts +21 -0
  27. package/dist/containers/Login/hooks/useLogin.d.ts +12 -0
  28. package/dist/containers/Login/hooks/useLoginTwoFactor.d.ts +4 -0
  29. package/dist/containers/Login/views/Login.d.ts +7 -1
  30. package/dist/containers/Login/views/block/BlockForgetPassword.d.ts +3 -0
  31. package/dist/containers/Login/views/block/{blockLogin.d.ts → BlockLogin.d.ts} +0 -1
  32. package/dist/containers/Login/views/block/BlockResetPassword.d.ts +3 -0
  33. package/dist/containers/Login/views/block/BlockSelectTeacher.d.ts +12 -0
  34. package/dist/containers/Login/views/block/BlockTwoFactorLogin.d.ts +3 -0
  35. package/dist/containers/Login/views/block/CloseBlock.d.ts +6 -0
  36. package/dist/containers/Login/views/block/QuoteContent.d.ts +0 -1
  37. package/dist/containers/Notifications/hooks/useNotificationList.d.ts +3 -0
  38. package/dist/containers/Skill/components/SkillSelector.d.ts +3 -0
  39. package/dist/containers/Skill/hooks/useSkillDetail.d.ts +8 -1
  40. package/dist/containers/Skill/hooks/useSkillList.d.ts +1 -2
  41. package/dist/containers/User/configs/changePasswordSchema.d.ts +10 -0
  42. package/dist/containers/User/configs/userSchema.d.ts +7 -0
  43. package/dist/containers/User/hooks/useUserDetail.d.ts +9 -1
  44. package/dist/containers/User/hooks/useUserList.d.ts +3 -3
  45. package/dist/hooks/useFilters.d.ts +8 -0
  46. package/dist/index.css +331 -37
  47. package/dist/index.d.ts +36 -5
  48. package/dist/index.js +6635 -2894
  49. package/dist/index.js.map +1 -1
  50. package/dist/index.modern.js +6578 -2890
  51. package/dist/index.modern.js.map +1 -1
  52. package/dist/redux/assistants/action.d.ts +1 -0
  53. package/dist/redux/assistants/reducer.d.ts +2 -0
  54. package/dist/redux/bandScores/action.d.ts +1 -0
  55. package/dist/{commons → redux/bandScores}/reducer.d.ts +0 -0
  56. package/dist/redux/certificate/action.d.ts +1 -0
  57. package/dist/redux/{assessmentStudent → certificate}/reducer.d.ts +0 -0
  58. package/dist/redux/commons/action.d.ts +12 -0
  59. package/dist/redux/customAlert/action.d.ts +1 -0
  60. package/dist/redux/customAlert/reducer.d.ts +2 -0
  61. package/dist/redux/dashboard/action.d.ts +5 -0
  62. package/dist/redux/dashboard/reducer.d.ts +2 -0
  63. package/dist/redux/dataPlayer/action.d.ts +2 -0
  64. package/dist/redux/dataPlayer/reducer.d.ts +2 -0
  65. package/dist/redux/gallery/action.d.ts +2 -0
  66. package/dist/redux/gallery/reducer.d.ts +2 -0
  67. package/dist/redux/improveMyClass/action.d.ts +1 -0
  68. package/dist/redux/improveMyClass/reducer.d.ts +2 -0
  69. package/dist/redux/learningSupportCategories/action.d.ts +1 -0
  70. package/dist/redux/learningSupportCategories/reducer.d.ts +2 -0
  71. package/dist/redux/navMobile/action.d.ts +1 -0
  72. package/dist/redux/navMobile/reducer.d.ts +2 -0
  73. package/dist/redux/reflectionResults/action.d.ts +1 -0
  74. package/dist/redux/reflectionResults/reducer.d.ts +2 -0
  75. package/dist/redux/schoolBlankDays/action.d.ts +1 -0
  76. package/dist/redux/schoolBlankDays/reducer.d.ts +2 -0
  77. package/dist/redux/semester/action.d.ts +1 -0
  78. package/dist/redux/semester/reducer.d.ts +2 -0
  79. package/dist/redux/sessionPlayers/action.d.ts +5 -0
  80. package/dist/redux/sessionPlayers/reducer.d.ts +2 -0
  81. package/dist/redux/sessionTemplateGeneralClasses/action.d.ts +1 -0
  82. package/dist/redux/sessionTemplateGeneralClasses/reducer.d.ts +2 -0
  83. package/dist/redux/sessionTemplates/action.d.ts +1 -0
  84. package/dist/redux/sessionTemplates/reducer.d.ts +2 -0
  85. package/dist/redux/tutorialScreen/action.d.ts +1 -0
  86. package/dist/redux/tutorialScreen/reducer.d.ts +5 -0
  87. package/dist/redux/widget/action.d.ts +1 -0
  88. package/dist/redux/widget/reducer.d.ts +2 -0
  89. package/dist/rootReducer.d.ts +21 -0
  90. package/dist/services/accountService.d.ts +12 -3
  91. package/dist/services/api.d.ts +3 -2
  92. package/dist/services/classService.d.ts +1 -0
  93. package/dist/services/emailTemplateService.d.ts +5 -5
  94. package/dist/services/faqService.d.ts +5 -5
  95. package/dist/services/fileServices.d.ts +13 -1
  96. package/dist/services/galleryService.d.ts +2 -0
  97. package/dist/services/mailCategoryService.d.ts +1 -1
  98. package/dist/services/notificationService.d.ts +7 -6
  99. package/dist/services/questionCategoryService.d.ts +1 -1
  100. package/dist/services/skillService.d.ts +5 -5
  101. package/dist/services/suggestionCategoryService.d.ts +1 -1
  102. package/dist/services/userService.d.ts +8 -6
  103. package/dist/types/Dashboard.d.ts +5 -0
  104. package/dist/types/Filter.d.ts +2 -0
  105. package/dist/types/Payload.d.ts +14 -0
  106. package/dist/utils/constants.d.ts +19 -4
  107. package/dist/utils/getTextFromHTML.d.ts +2 -0
  108. package/package.json +9 -4
  109. package/README.md +0 -30
  110. package/dist/commons/action.d.ts +0 -2
  111. package/dist/components/Alerts/Alert.d.ts +0 -10
  112. package/dist/containers/Classes/views/ClassList.d.ts +0 -3
  113. package/dist/containers/EmailTemplateDetail.d.ts +0 -3
  114. package/dist/containers/EmailTemplateList.d.ts +0 -3
  115. package/dist/containers/Login/views/block/blockForgetPass.d.ts +0 -7
  116. package/dist/containers/Login.d.ts +0 -3
  117. package/dist/containers/Notifications/components/NotificationList.d.ts +0 -11
  118. package/dist/containers/User.d.ts +0 -3
  119. package/dist/redux/assessmentStudent/action.d.ts +0 -1
  120. package/dist/types/ClassDetail.d.ts +0 -3
  121. package/dist/utils/alert.d.ts +0 -7
  122. package/dist/utils/index.d.ts +0 -1
  123. package/dist/views/TheContent.d.ts +0 -3
  124. package/dist/views/TheFooter.d.ts +0 -3
  125. package/dist/views/TheHeader.d.ts +0 -3
  126. package/dist/views/TheHeaderDropdown.d.ts +0 -3
  127. package/dist/views/TheLayout.d.ts +0 -3
  128. package/dist/views/TheSidebar.d.ts +0 -3
@@ -4,5 +4,11 @@ declare const Images: {
4
4
  LOGO: string;
5
5
  LOGO_HEADER: string;
6
6
  LOGO_MINIMIZED: string;
7
+ DOCS_IMAGE: string;
8
+ AUDIO_IMAGE: string;
9
+ PHOTO_IMAGE: string;
10
+ VIDEO_IMAGE: string;
11
+ FOLDER_IMAGE: string;
12
+ UNKNOW_IMAGE: string;
7
13
  };
8
14
  export default Images;
@@ -4,6 +4,10 @@ interface Props {
4
4
  maxWidth?: string;
5
5
  maxHeight?: string;
6
6
  setFile: any;
7
+ onAddImage?: any;
8
+ canDelete?: boolean;
9
+ onDelete?: () => void;
10
+ isCheckFeedBack?: boolean;
7
11
  }
8
12
  declare const UploadFileButton: FC<Props>;
9
13
  export default UploadFileButton;
@@ -0,0 +1,8 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ isShowPassword: boolean;
4
+ togglePasswordVisible: any;
5
+ onChange: any;
6
+ }
7
+ declare const PasswordInput: FC<Props>;
8
+ export default PasswordInput;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export default function QuitPrompt(props: any): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const ScrollToTop: FC;
3
+ export default ScrollToTop;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const AcademicClassSelector: (props: any) => JSX.Element;
3
+ export default AcademicClassSelector;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const CustomSelector: ({ defaultValue, options, ...rest }: any) => JSX.Element;
2
+ declare const CustomSelector: ({ defaultValue, options, isDisabled, scrollBottom, ...rest }: any) => JSX.Element;
3
3
  export default CustomSelector;
@@ -1,2 +1,7 @@
1
- declare const editorConfig: any;
1
+ declare const editorConfig: {
2
+ email: any;
3
+ question: any;
4
+ answer: any;
5
+ tutorial: any;
6
+ };
2
7
  export default editorConfig;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const SchoolList: FC;
3
+ export default SchoolList;
@@ -0,0 +1,7 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ label: string;
4
+ onRemove: any;
5
+ }
6
+ declare const AttachmentFile: FC<Props>;
7
+ export default AttachmentFile;
@@ -1,6 +1,7 @@
1
1
  import { FC } from "react";
2
2
  interface Props {
3
3
  onClick: any;
4
+ isResetPasswordTemplate: any;
4
5
  }
5
6
  declare const MailSubject: FC<Props>;
6
7
  export default MailSubject;
@@ -1,8 +1,15 @@
1
+ /// <reference types="react" />
2
+ declare type Attachment = {
3
+ id?: number;
4
+ name: string;
5
+ key: string;
6
+ };
1
7
  declare type EmailTemplateDetail = {
2
8
  id?: number;
3
9
  subject: string;
4
10
  categoryId: number;
5
11
  body: string;
12
+ attachments: Attachment[];
6
13
  };
7
14
  declare const useEmailTemplateDetail: (id?: number | undefined) => {
8
15
  emailTemplateDetail: EmailTemplateDetail;
@@ -10,5 +17,12 @@ declare const useEmailTemplateDetail: (id?: number | undefined) => {
10
17
  addParams: (params: any) => void;
11
18
  backToList: () => void;
12
19
  confirmData: (data: any) => Promise<void>;
20
+ edited: boolean;
21
+ setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
22
+ setEditedTrue: () => Promise<void>;
23
+ onAttachFile: () => void;
24
+ updateAttachment: () => void;
25
+ fileUpload: any;
26
+ removeAttachment: (inputId: string, fileName: string) => void;
13
27
  };
14
28
  export default useEmailTemplateDetail;
@@ -1,8 +1,7 @@
1
- import { Filter } from "../../../types/Filter";
2
1
  declare const useEmailTemplateList: () => {
3
2
  emailTemplateList: any;
4
3
  totalItems: any;
5
- filters: Filter;
4
+ filters: import("../../..").Filter;
6
5
  changeFilters: (updatedFilters: any) => void;
7
6
  getData: () => Promise<void>;
8
7
  removeData: (id: number) => void;
@@ -9,5 +9,10 @@ declare const useFaqDetail: () => {
9
9
  faqDetail: FaqDetail;
10
10
  confirmData: (values: any, cb: any) => Promise<void>;
11
11
  initValue: FaqDetail;
12
+ reset: () => void;
13
+ edited: boolean;
14
+ setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
15
+ setEditedTrue: () => Promise<void>;
16
+ setEditedFalse: () => Promise<void>;
12
17
  };
13
18
  export default useFaqDetail;
@@ -1,8 +1,7 @@
1
- import { Filter } from "../../../types/Filter";
2
1
  declare const useFaqList: () => {
3
2
  faqList: any;
4
3
  totalItems: any;
5
- filters: Filter;
4
+ filters: import("../../..").Filter;
6
5
  changeFilters: (updatedFilters: any) => void;
7
6
  getData: () => Promise<void>;
8
7
  removeData: (id: number) => void;
@@ -0,0 +1,8 @@
1
+ import { FC } from "react";
2
+ import { FilterType } from "../constants/gallery.types";
3
+ interface FilterInterface {
4
+ changeFilters: (filter: FilterType) => void;
5
+ filters: FilterType;
6
+ }
7
+ declare const Filter: FC<FilterInterface>;
8
+ export default Filter;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { S3Object } from '../constants/gallery.types';
3
+ interface MediaInterface {
4
+ media: S3Object;
5
+ isTarget: boolean;
6
+ }
7
+ declare const _default: React.NamedExoticComponent<MediaInterface>;
8
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { S3Object } from "../constants/gallery.types";
3
+ interface MediaDetailInterface {
4
+ targetMedia: S3Object;
5
+ }
6
+ declare const _default: React.NamedExoticComponent<MediaDetailInterface>;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ height: string;
4
+ isLibrary?: boolean;
5
+ }
6
+ declare const MediaList: FC<Props>;
7
+ export default MediaList;
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ import { S3Object } from "../constants/gallery.types";
3
+ interface MediaNavInterface {
4
+ isLibrary?: boolean;
5
+ step: number;
6
+ breadcumb: string;
7
+ currentPrefix: string;
8
+ targetMedia: S3Object;
9
+ handleSelectFile: Function;
10
+ handleCreateFolder: Function;
11
+ handleRenameFile: Function;
12
+ handleGoBack: () => void;
13
+ handleDownloadMedia: () => void;
14
+ handleDeleteMediaOrFolder: () => void;
15
+ showErrorAlert: (message: string) => void;
16
+ }
17
+ declare const _default: React.NamedExoticComponent<MediaNavInterface>;
18
+ export default _default;
@@ -0,0 +1,21 @@
1
+ export declare type S3Object = {
2
+ name?: string;
3
+ key?: string;
4
+ extension?: string;
5
+ isFolder?: boolean;
6
+ };
7
+ export declare enum MediaType {
8
+ IMAGE = 0,
9
+ VIDEO = 1,
10
+ AUDIO = 2,
11
+ DOC = 3,
12
+ UNKNOW = 4
13
+ }
14
+ export declare type FilterType = {
15
+ searchString?: string;
16
+ types?: MediaType[];
17
+ prefix?: string;
18
+ fromDate?: number;
19
+ toDate?: number;
20
+ isLibrary?: boolean;
21
+ };
@@ -0,0 +1,4 @@
1
+ import { MediaType, S3Object } from '../constants/gallery.types';
2
+ export declare const getTypeByExtension: (extension: string | undefined) => MediaType;
3
+ export declare const getMediaThumbnail: (media: S3Object) => string;
4
+ export declare const getMediaImage: (media: S3Object) => string;
@@ -0,0 +1,31 @@
1
+ /// <reference types="react" />
2
+ import { FilterType } from "../constants/gallery.types";
3
+ import { S3Object } from "../constants/gallery.types";
4
+ interface FormDataMediaType {
5
+ file: File;
6
+ key?: string;
7
+ }
8
+ interface RouterType {
9
+ link: string;
10
+ step: number;
11
+ }
12
+ declare const useGalleryList: (isLibrary?: boolean) => {
13
+ mediaList: any;
14
+ filters: FilterType;
15
+ totalItems: any;
16
+ targetMedia: S3Object;
17
+ router: RouterType;
18
+ breadcrumb: string;
19
+ getData: () => Promise<void>;
20
+ changeFilters: (updatedFilters: FilterType) => void;
21
+ handleSelectFile: import("react").Dispatch<import("react").SetStateAction<FormDataMediaType | undefined>>;
22
+ handleOpenFolder: (media: S3Object) => void;
23
+ handleSelectMedia: (media: S3Object) => void;
24
+ handleRenameFile: (name: string) => Promise<void>;
25
+ handleDownloadMedia: () => void;
26
+ handleDeleteMediaOrFolder: () => Promise<void>;
27
+ handleCreateFolder: (prefix: string, folderName: string) => Promise<void>;
28
+ handleGoBack: () => void;
29
+ showErrorAlert: (message: string) => void;
30
+ };
31
+ export default useGalleryList;
@@ -0,0 +1,6 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ isLibrary?: boolean;
4
+ }
5
+ declare const GalleryList: FC<Props>;
6
+ export default GalleryList;
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ declare type ForgotPasswordInfo = {
3
+ email: string;
4
+ captcha: string;
5
+ };
6
+ declare const useForgotPassword: () => {
7
+ defaultInfo: ForgotPasswordInfo;
8
+ forgotPasswordRequest: (data: any) => Promise<void>;
9
+ checkResetTokenRequest: (token: string) => Promise<void>;
10
+ validLink: boolean;
11
+ resetPasswordRequest: (data: any) => Promise<void>;
12
+ openLogin: boolean;
13
+ toggle: () => void;
14
+ isShowNewPassword: boolean;
15
+ setIsShowNewPassword: import("react").Dispatch<import("react").SetStateAction<boolean>>;
16
+ isShowReTypePassword: boolean;
17
+ setIsShowReTypePassword: import("react").Dispatch<import("react").SetStateAction<boolean>>;
18
+ clickHandler: () => Promise<any>;
19
+ handleVerify: () => void;
20
+ };
21
+ export default useForgotPassword;
@@ -1,11 +1,23 @@
1
+ /// <reference types="react" />
1
2
  declare type LoginInfo = {
2
3
  email: string;
3
4
  password: string;
5
+ captcha: string;
6
+ rememberMe: boolean;
4
7
  };
5
8
  declare const useLogin: () => {
6
9
  defaultInfo: LoginInfo;
7
10
  userLogin: (data: any) => Promise<void>;
8
11
  openLogin: boolean;
9
12
  toggle: () => void;
13
+ isShowPassword: boolean;
14
+ setIsShowPassword: import("react").Dispatch<import("react").SetStateAction<boolean>>;
15
+ fnIsCheckLogin: (data: any, token: string, clickHandler: any) => Promise<void>;
16
+ isLoginGoogle: boolean;
17
+ infoUser: any;
18
+ setInfoUser: import("react").Dispatch<any>;
19
+ submitLogin: (teacherId: number, clickHandler: any) => Promise<void>;
20
+ setIsLoginGoogle: import("react").Dispatch<import("react").SetStateAction<boolean>>;
21
+ googleClientId: string;
10
22
  };
11
23
  export default useLogin;
@@ -0,0 +1,4 @@
1
+ declare const useLoginTwoFactor: () => {
2
+ userLoginTwoFactor: (data: any) => Promise<void>;
3
+ };
4
+ export default useLoginTwoFactor;
@@ -1,3 +1,9 @@
1
1
  /// <reference types="react" />
2
- declare const Login: () => JSX.Element;
2
+ interface loginProps {
3
+ isLogin?: boolean;
4
+ isForgotPassword?: boolean;
5
+ isResetPassword?: boolean;
6
+ isLoginTwoFactor?: boolean;
7
+ }
8
+ declare const Login: (props: loginProps) => JSX.Element;
3
9
  export default Login;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const BlockForgetPassword: () => JSX.Element;
3
+ export default BlockForgetPassword;
@@ -2,7 +2,6 @@ import { FC } from "react";
2
2
  interface Props {
3
3
  defaultInfo?: any;
4
4
  userLogin?: any;
5
- toggle?: any;
6
5
  }
7
6
  declare const BlockLogin: FC<Props>;
8
7
  export default BlockLogin;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const BlockResetPassword: () => JSX.Element;
3
+ export default BlockResetPassword;
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ interface Props {
3
+ defaultValue?: any;
4
+ isDisabled?: boolean;
5
+ openModal: boolean;
6
+ onSubmit: any;
7
+ token: string;
8
+ email: string;
9
+ setOpenModal: any;
10
+ }
11
+ declare const _default: React.ForwardRefExoticComponent<Props & React.RefAttributes<unknown>>;
12
+ export default _default;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const BlockTwoFactorLogin: () => JSX.Element;
3
+ export default BlockTwoFactorLogin;
@@ -0,0 +1,6 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ to: string;
4
+ }
5
+ declare const CloseBlock: FC<Props>;
6
+ export default CloseBlock;
@@ -1,6 +1,5 @@
1
1
  import { FC } from "react";
2
2
  interface Props {
3
- title?: string;
4
3
  descriptions?: string;
5
4
  }
6
5
  declare const QuoteContent: FC<Props>;
@@ -10,5 +10,8 @@ declare const useNotificationList: () => {
10
10
  };
11
11
  changeFilters: (objectValue: any) => void;
12
12
  updateNotification: (id: any, isRead: any) => void;
13
+ viewNotification: (notification: any) => void;
14
+ updateAll: () => Promise<void>;
15
+ toggleUpdateAllStatus: boolean;
13
16
  };
14
17
  export default useNotificationList;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const SkillSelector: (props: any) => JSX.Element;
3
+ export default SkillSelector;
@@ -1,7 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  declare type SkillDetail = {
3
3
  name: string;
4
- comment: string;
4
+ description: string;
5
+ path: string;
6
+ parentSkillId?: number | null;
5
7
  };
6
8
  declare const useSkillDetail: () => {
7
9
  id: number;
@@ -9,5 +11,10 @@ declare const useSkillDetail: () => {
9
11
  skillDetail: SkillDetail;
10
12
  confirmData: (values: any, cb: any) => Promise<void>;
11
13
  initValue: SkillDetail;
14
+ reset: () => void;
15
+ edited: boolean;
16
+ setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
17
+ setEditedTrue: () => Promise<void>;
18
+ setEditedFalse: () => Promise<void>;
12
19
  };
13
20
  export default useSkillDetail;
@@ -1,8 +1,7 @@
1
- import { Filter } from "../../../types/Filter";
2
1
  declare const useSkillList: () => {
3
2
  skillList: any;
4
3
  totalItems: any;
5
- filters: Filter;
4
+ filters: import("../../..").Filter;
6
5
  changeFilters: (updatedFilters: any) => void;
7
6
  getData: () => Promise<void>;
8
7
  removeData: (id: number) => void;
@@ -0,0 +1,10 @@
1
+ declare const changePasswordSchema: import("yup/lib/object").OptionalObjectSchema<{
2
+ oldPassword: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
3
+ newPassword: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
4
+ confirmedNewPassword: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
5
+ }, Record<string, any>, import("yup/lib/object").TypeOfShape<{
6
+ oldPassword: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
7
+ newPassword: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
8
+ confirmedNewPassword: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
9
+ }>>;
10
+ export default changePasswordSchema;
@@ -1,8 +1,15 @@
1
+ import * as yup from "yup";
1
2
  declare const userSchema: import("yup/lib/object").OptionalObjectSchema<{
2
3
  firstName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
3
4
  lastName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
5
+ dateOfBirth: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
6
+ email: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
7
+ roles: yup.ArraySchema<yup.StringSchema<string | undefined, Record<string, any>, string | undefined>, Record<string, any>, (string | undefined)[] | undefined, (string | undefined)[] | undefined>;
4
8
  }, Record<string, any>, import("yup/lib/object").TypeOfShape<{
5
9
  firstName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
6
10
  lastName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
11
+ dateOfBirth: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
12
+ email: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
13
+ roles: yup.ArraySchema<yup.StringSchema<string | undefined, Record<string, any>, string | undefined>, Record<string, any>, (string | undefined)[] | undefined, (string | undefined)[] | undefined>;
7
14
  }>>;
8
15
  export default userSchema;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type UserDetail = {
2
3
  id?: string;
3
4
  firstName: string;
@@ -10,7 +11,14 @@ declare type UserDetail = {
10
11
  };
11
12
  declare const useUserDetail: (id?: string | undefined) => {
12
13
  userDetail: UserDetail;
13
- backToList: () => void;
14
+ backToList: (user?: string | undefined) => void;
14
15
  confirmData: (data: any) => Promise<void>;
16
+ file: any;
17
+ setFile: import("react").Dispatch<any>;
18
+ edited: boolean;
19
+ setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
20
+ setEditedTrue: () => Promise<void>;
21
+ confirmChangePassword: (data: any) => Promise<void>;
22
+ forgotPasswordRequest: (data: any) => Promise<void>;
15
23
  };
16
24
  export default useUserDetail;
@@ -1,9 +1,9 @@
1
- import { Filter } from "../../../types/Filter";
2
1
  declare const useUserList: () => {
3
2
  userList: any;
4
3
  totalItems: any;
5
- filters: Filter;
6
- getData: () => Promise<void>;
4
+ filters: import("../../..").Filter;
5
+ queryName: string | null;
6
+ getData: (fullName?: string | undefined) => Promise<void>;
7
7
  removeData: (id: string) => void;
8
8
  changeFilters: (updatedFilters: any) => void;
9
9
  reDirectDetailPage: (id?: number | undefined) => void;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { Filter } from "../types/Filter";
3
+ declare const useFilters: () => {
4
+ filters: Filter;
5
+ setFilters: import("react").Dispatch<import("react").SetStateAction<Filter>>;
6
+ changeFilters: (updatedFilters: any) => void;
7
+ };
8
+ export default useFilters;