mario-core 3.0.3-admin → 3.0.3-es-staging

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 (251) hide show
  1. package/dist/assets/Images.d.ts +14 -14
  2. package/dist/components/Alerts/CommonAlert.d.ts +3 -3
  3. package/dist/components/Alerts/EmptyDataAlert.d.ts +8 -8
  4. package/dist/components/Alerts/ErrorHandler.d.ts +6 -6
  5. package/dist/components/Buttons/AddButton.d.ts +8 -7
  6. package/dist/components/Buttons/AddButtonIcon.d.ts +6 -6
  7. package/dist/components/Buttons/CloseButton.d.ts +8 -8
  8. package/dist/components/Buttons/DeleteButtonIcon.d.ts +6 -6
  9. package/dist/components/Buttons/DetailActionButtons.d.ts +9 -8
  10. package/dist/components/Buttons/EditButtonIcon.d.ts +6 -6
  11. package/dist/components/Buttons/LinkEditButton.d.ts +8 -7
  12. package/dist/components/Buttons/LoginNavButton.d.ts +8 -8
  13. package/dist/components/Buttons/ToggleButton.d.ts +10 -10
  14. package/dist/components/Buttons/UploadFileButton.d.ts +13 -13
  15. package/dist/components/Headers/CommonHeader.d.ts +7 -7
  16. package/dist/components/Image/UploadImage.d.ts +2 -3
  17. package/dist/components/Inputs/FileInput.d.ts +8 -8
  18. package/dist/components/Inputs/PasswordInput.d.ts +8 -8
  19. package/dist/components/Inputs/SearchBox.d.ts +10 -10
  20. package/dist/components/Inputs/SearchBoxContainer.d.ts +9 -10
  21. package/dist/components/Labels/RequiredLabel.d.ts +6 -6
  22. package/dist/components/Loading/Loading.d.ts +3 -3
  23. package/dist/components/Modals/CommonModal.d.ts +2 -3
  24. package/dist/components/Modals/ModelSelectRole.d.ts +7 -0
  25. package/dist/components/Modals/NotificationLogoutModal.d.ts +2 -0
  26. package/dist/components/Modals/NotificationModal.d.ts +2 -3
  27. package/dist/components/Others/QuitPrompt.d.ts +5 -2
  28. package/dist/components/Pagination/CustomPagination.d.ts +2 -3
  29. package/dist/components/Scroll/ScrollToTop.d.ts +3 -3
  30. package/dist/components/Selectors/AcademicClassSelector.d.ts +2 -3
  31. package/dist/components/Selectors/CreatableSelector.d.ts +2 -3
  32. package/dist/components/Selectors/CustomSelector.d.ts +2 -3
  33. package/dist/components/Selectors/MailCategorySelectors.d.ts +2 -3
  34. package/dist/components/Selectors/QuestionCategorySelector.d.ts +2 -3
  35. package/dist/components/Selectors/QuestionTypeSelector.d.ts +2 -3
  36. package/dist/components/Selectors/StarRatingSelector.d.ts +2 -3
  37. package/dist/components/Selectors/SuggestionCategorySelector.d.ts +2 -3
  38. package/dist/components/Tabs/CustomTab.d.ts +2 -3
  39. package/dist/configs/editorConfig.d.ts +7 -7
  40. package/dist/containers/Commons/NotFound.d.ts +3 -3
  41. package/dist/containers/DistrictSchools/views/SchoolList.d.ts +3 -3
  42. package/dist/containers/EmailTemplate/components/AttachmentFile.d.ts +8 -7
  43. package/dist/containers/EmailTemplate/components/MailParam.d.ts +8 -7
  44. package/dist/containers/EmailTemplate/configs/emailTemplateSchema.d.ts +13 -13
  45. package/dist/containers/EmailTemplate/hooks/useEmailTemplateDetail.d.ts +27 -28
  46. package/dist/containers/EmailTemplate/hooks/useEmailTemplateList.d.ts +11 -11
  47. package/dist/containers/EmailTemplate/views/EmailTemplateDetail.d.ts +3 -3
  48. package/dist/containers/EmailTemplate/views/EmailTemplateList.d.ts +3 -3
  49. package/dist/containers/Faq/components/FaqDetailModal.d.ts +2 -3
  50. package/dist/containers/Faq/hooks/useFaqDetail.d.ts +17 -18
  51. package/dist/containers/Faq/hooks/useFaqList.d.ts +9 -9
  52. package/dist/containers/Faq/views/FaqList.d.ts +3 -3
  53. package/dist/containers/Gallery/components/ActionModal.d.ts +2 -3
  54. package/dist/containers/Gallery/components/Filter.d.ts +9 -8
  55. package/dist/containers/Gallery/components/Media.d.ts +9 -8
  56. package/dist/containers/Gallery/components/MediaDetail.d.ts +7 -7
  57. package/dist/containers/Gallery/components/MediaList.d.ts +7 -7
  58. package/dist/containers/Gallery/components/MediaNav.d.ts +19 -18
  59. package/dist/containers/Gallery/constants/gallery.types.d.ts +21 -21
  60. package/dist/containers/Gallery/extensions/helpers.d.ts +4 -4
  61. package/dist/containers/Gallery/hooks/useGalleryList.d.ts +30 -31
  62. package/dist/containers/Gallery/views/GalleryList.d.ts +6 -6
  63. package/dist/containers/Login/components/GoogleLoginButton.d.ts +10 -0
  64. package/dist/containers/Login/constant/authConfig.d.ts +38 -0
  65. package/dist/containers/Login/constant/types.d.ts +27 -0
  66. package/dist/containers/Login/hooks/useForgotPassword.d.ts +20 -21
  67. package/dist/containers/Login/hooks/useLogin.d.ts +29 -23
  68. package/dist/containers/Login/hooks/useLoginTwoFactor.d.ts +4 -4
  69. package/dist/containers/Login/views/Dashboard.d.ts +3 -3
  70. package/dist/containers/Login/views/Login.d.ts +8 -9
  71. package/dist/containers/Login/views/block/BlockBackground.d.ts +7 -0
  72. package/dist/containers/Login/views/block/BlockForgetPassword.d.ts +6 -3
  73. package/dist/containers/Login/views/block/BlockLogin.d.ts +9 -7
  74. package/dist/containers/Login/views/block/BlockResetPassword.d.ts +2 -3
  75. package/dist/containers/Login/views/block/BlockSelectTeacher.d.ts +11 -12
  76. package/dist/containers/Login/views/block/BlockTwoFactorLogin.d.ts +2 -3
  77. package/dist/containers/Login/views/block/CloseBlock.d.ts +6 -6
  78. package/dist/containers/Login/views/block/ContentHomePage.d.ts +5 -5
  79. package/dist/containers/Login/views/block/IconContent.d.ts +7 -7
  80. package/dist/containers/Login/views/block/QuoteContent.d.ts +2 -3
  81. package/dist/containers/Notifications/components/NotificationButton.d.ts +5 -5
  82. package/dist/containers/Notifications/components/NotificationStatusSelector.d.ts +6 -7
  83. package/dist/containers/Notifications/hooks/useNotificationList.d.ts +17 -17
  84. package/dist/containers/Notifications/hooks/useUnreadNotification.d.ts +4 -4
  85. package/dist/containers/Notifications/views/NotificationList.d.ts +2 -3
  86. package/dist/containers/Skill/components/SkillDetailModal.d.ts +2 -3
  87. package/dist/containers/Skill/components/SkillSelector.d.ts +2 -3
  88. package/dist/containers/Skill/hooks/useSkillDetail.d.ts +19 -20
  89. package/dist/containers/Skill/hooks/useSkillList.d.ts +10 -9
  90. package/dist/containers/Skill/views/SkillList.d.ts +3 -3
  91. package/dist/containers/User/components/FilterPopover.d.ts +21 -0
  92. package/dist/containers/User/components/HeaderCell.d.ts +17 -0
  93. package/dist/containers/User/components/TableHeader.d.ts +10 -0
  94. package/dist/containers/User/components/TeacherSelector.d.ts +2 -0
  95. package/dist/containers/User/configs/changePasswordSchema.d.ts +11 -10
  96. package/dist/containers/User/configs/constants.d.ts +18 -0
  97. package/dist/containers/User/configs/type.d.ts +124 -0
  98. package/dist/containers/User/configs/userSchema.d.ts +15 -15
  99. package/dist/containers/User/hooks/useAssignStudent.d.ts +5 -0
  100. package/dist/containers/User/hooks/useAssignStudentList.d.ts +15 -0
  101. package/dist/containers/User/hooks/useAssistantList.d.ts +9 -0
  102. package/dist/containers/User/hooks/useClickOutside.d.ts +2 -0
  103. package/dist/containers/User/hooks/useCounselorList.d.ts +9 -0
  104. package/dist/containers/User/hooks/useFilterPopover.d.ts +36 -0
  105. package/dist/containers/User/hooks/useTableHeader.d.ts +15 -0
  106. package/dist/containers/User/hooks/useTeacherList.d.ts +9 -0
  107. package/dist/containers/User/hooks/useUserDetail.d.ts +31 -24
  108. package/dist/containers/User/hooks/useUserList.d.ts +14 -11
  109. package/dist/containers/User/hooks/userFilters.d.ts +7 -0
  110. package/dist/containers/User/views/AssignStudentList.d.ts +2 -0
  111. package/dist/containers/User/views/Profile.d.ts +15 -0
  112. package/dist/containers/User/views/UserContainer.d.ts +2 -0
  113. package/dist/containers/User/views/UserDetail.d.ts +2 -3
  114. package/dist/containers/User/views/UserList.d.ts +2 -3
  115. package/dist/hooks/useClassFontSize.d.ts +4 -0
  116. package/dist/hooks/useFilters.d.ts +7 -8
  117. package/dist/hooks/useLanguages.d.ts +10 -0
  118. package/dist/i18n.d.ts +2 -2
  119. package/dist/index.css +788 -296
  120. package/dist/index.d.ts +111 -110
  121. package/dist/index.js +33 -10350
  122. package/dist/index.js.map +1 -1
  123. package/dist/index.modern.js +25606 -9760
  124. package/dist/index.modern.js.map +1 -1
  125. package/dist/layouts/TheContent.d.ts +3 -3
  126. package/dist/layouts/TheHeader.d.ts +4 -1
  127. package/dist/layouts/TheHeaderDropdown.d.ts +4 -1
  128. package/dist/mario-core.css +5 -0
  129. package/dist/redux/assessments/action.d.ts +1 -1
  130. package/dist/redux/assessments/reducer.d.ts +10 -5
  131. package/dist/redux/assignment/action.d.ts +1 -1
  132. package/dist/redux/assignment/reducer.d.ts +4 -2
  133. package/dist/redux/assistants/action.d.ts +1 -1
  134. package/dist/redux/assistants/reducer.d.ts +4 -2
  135. package/dist/redux/badges/action.d.ts +1 -1
  136. package/dist/redux/badges/reducer.d.ts +4 -2
  137. package/dist/redux/bandScores/action.d.ts +1 -1
  138. package/dist/redux/bandScores/reducer.d.ts +4 -2
  139. package/dist/redux/certificate/action.d.ts +1 -1
  140. package/dist/redux/certificate/reducer.d.ts +4 -2
  141. package/dist/redux/classes/action.d.ts +1 -1
  142. package/dist/redux/classes/reducer.d.ts +4 -2
  143. package/dist/redux/commons/action.d.ts +18 -18
  144. package/dist/redux/commons/reducer.d.ts +4 -2
  145. package/dist/redux/conferenceRubrics/action.d.ts +1 -1
  146. package/dist/redux/conferenceRubrics/reducer.d.ts +4 -2
  147. package/dist/redux/customAlert/action.d.ts +1 -1
  148. package/dist/redux/customAlert/reducer.d.ts +4 -2
  149. package/dist/redux/dashboard/action.d.ts +5 -5
  150. package/dist/redux/dashboard/reducer.d.ts +4 -2
  151. package/dist/redux/dataPlayer/action.d.ts +2 -2
  152. package/dist/redux/dataPlayer/reducer.d.ts +4 -2
  153. package/dist/redux/emailTemplates/action.d.ts +1 -1
  154. package/dist/redux/emailTemplates/reducer.d.ts +4 -2
  155. package/dist/redux/faqs/action.d.ts +1 -1
  156. package/dist/redux/faqs/reducer.d.ts +4 -2
  157. package/dist/redux/feedback/action.d.ts +1 -1
  158. package/dist/redux/feedback/reducer.d.ts +4 -2
  159. package/dist/redux/gallery/action.d.ts +2 -2
  160. package/dist/redux/gallery/reducer.d.ts +4 -2
  161. package/dist/redux/goalExamples/action.d.ts +1 -1
  162. package/dist/redux/goalExamples/reducer.d.ts +4 -2
  163. package/dist/redux/improveMyClass/action.d.ts +1 -1
  164. package/dist/redux/improveMyClass/reducer.d.ts +4 -2
  165. package/dist/redux/learningStrategies/action.d.ts +1 -1
  166. package/dist/redux/learningStrategies/reducer.d.ts +4 -2
  167. package/dist/redux/learningSupportCategories/action.d.ts +1 -1
  168. package/dist/redux/learningSupportCategories/reducer.d.ts +4 -2
  169. package/dist/redux/mailCategories/action.d.ts +1 -1
  170. package/dist/redux/mailCategories/reducer.d.ts +4 -2
  171. package/dist/redux/navMobile/action.d.ts +1 -1
  172. package/dist/redux/navMobile/reducer.d.ts +4 -2
  173. package/dist/redux/notifications/action.d.ts +3 -3
  174. package/dist/redux/notifications/reducer.d.ts +4 -2
  175. package/dist/redux/questionBanks/action.d.ts +1 -1
  176. package/dist/redux/questionBanks/reducer.d.ts +4 -2
  177. package/dist/redux/questionByCategory/action.d.ts +8 -8
  178. package/dist/redux/questionByCategory/reducer.d.ts +4 -2
  179. package/dist/redux/questionCategory/action.d.ts +1 -1
  180. package/dist/redux/questionCategory/reducer.d.ts +4 -2
  181. package/dist/redux/reflectionForms/action.d.ts +1 -1
  182. package/dist/redux/reflectionForms/reducer.d.ts +4 -2
  183. package/dist/redux/reflectionResults/action.d.ts +1 -1
  184. package/dist/redux/reflectionResults/reducer.d.ts +4 -2
  185. package/dist/redux/schoolBlankDays/action.d.ts +1 -1
  186. package/dist/redux/schoolBlankDays/reducer.d.ts +4 -2
  187. package/dist/redux/semester/action.d.ts +1 -1
  188. package/dist/redux/semester/reducer.d.ts +4 -2
  189. package/dist/redux/sessionPlayers/action.d.ts +5 -5
  190. package/dist/redux/sessionPlayers/reducer.d.ts +4 -2
  191. package/dist/redux/sessionTemplateGeneralClasses/action.d.ts +1 -1
  192. package/dist/redux/sessionTemplateGeneralClasses/reducer.d.ts +4 -2
  193. package/dist/redux/sessionTemplates/action.d.ts +1 -1
  194. package/dist/redux/sessionTemplates/reducer.d.ts +4 -2
  195. package/dist/redux/skills/action.d.ts +1 -1
  196. package/dist/redux/skills/reducer.d.ts +4 -2
  197. package/dist/redux/subjects/action.d.ts +1 -1
  198. package/dist/redux/subjects/reducer.d.ts +4 -2
  199. package/dist/redux/suggestionBanks/action.d.ts +1 -1
  200. package/dist/redux/suggestionBanks/reducer.d.ts +4 -2
  201. package/dist/redux/teacher/myStudent/action.d.ts +1 -1
  202. package/dist/redux/teacher/myStudent/reducer.d.ts +4 -2
  203. package/dist/redux/tutorialScreen/action.d.ts +1 -1
  204. package/dist/redux/tutorialScreen/reducer.d.ts +10 -5
  205. package/dist/redux/unreadNotification/action.d.ts +1 -0
  206. package/dist/redux/users/action.d.ts +2 -2
  207. package/dist/redux/users/reducer.d.ts +4 -2
  208. package/dist/redux/widget/action.d.ts +1 -1
  209. package/dist/redux/widget/reducer.d.ts +4 -2
  210. package/dist/rootReducer.d.ts +96 -49
  211. package/dist/services/accountService.d.ts +13 -12
  212. package/dist/services/api.d.ts +3 -3
  213. package/dist/services/classService.d.ts +1 -1
  214. package/dist/services/emailTemplateService.d.ts +6 -6
  215. package/dist/services/faqService.d.ts +6 -6
  216. package/dist/services/fileServices.d.ts +13 -13
  217. package/dist/services/galleryService.d.ts +2 -2
  218. package/dist/services/languageService.d.ts +1 -0
  219. package/dist/services/mailCategoryService.d.ts +1 -1
  220. package/dist/services/notificationService.d.ts +7 -7
  221. package/dist/services/questionCategoryService.d.ts +1 -1
  222. package/dist/services/schoolService.d.ts +1 -0
  223. package/dist/services/skillService.d.ts +6 -6
  224. package/dist/services/suggestionCategoryService.d.ts +1 -1
  225. package/dist/services/userService.d.ts +18 -9
  226. package/dist/store.d.ts +3 -3
  227. package/dist/types/Conversation.d.ts +8 -8
  228. package/dist/types/ConversationMember.d.ts +5 -5
  229. package/dist/types/Dashboard.d.ts +5 -5
  230. package/dist/types/Filter.d.ts +10 -10
  231. package/dist/types/Language.d.ts +8 -0
  232. package/dist/types/Message.d.ts +13 -13
  233. package/dist/types/Notification.d.ts +8 -8
  234. package/dist/types/Payload.d.ts +1 -1
  235. package/dist/utils/canAccessRoute.d.ts +2 -2
  236. package/dist/utils/constants.d.ts +77 -67
  237. package/dist/utils/debounce.d.ts +2 -2
  238. package/dist/utils/domHelpers.d.ts +2 -2
  239. package/dist/utils/encodeParams.d.ts +2 -2
  240. package/dist/utils/firstCheckToken.d.ts +2 -2
  241. package/dist/utils/generateRandomString.d.ts +2 -2
  242. package/dist/utils/getAccessToken.d.ts +2 -2
  243. package/dist/utils/getCookieValue.d.ts +2 -0
  244. package/dist/utils/getFileUrl.d.ts +2 -2
  245. package/dist/utils/getStaticFileUrl.d.ts +2 -0
  246. package/dist/utils/getTextFromHTML.d.ts +2 -2
  247. package/dist/utils/utcToLocalTime.d.ts +2 -2
  248. package/package.json +67 -78
  249. package/dist/containers/Login/constant/type.d.ts +0 -5
  250. package/dist/containers/Login/views/ModelSelectRole.d.ts +0 -4
  251. package/dist/utils/amplitude.d.ts +0 -1
@@ -1,14 +1,14 @@
1
- declare const Images: {
2
- USER_CONVERSATION_AVATAR: string;
3
- GROUP_CONVERSATION_AVATAR: string;
4
- LOGO: string;
5
- LOGO_HEADER: string;
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;
13
- };
14
- export default Images;
1
+ declare const Images: {
2
+ USER_CONVERSATION_AVATAR: string;
3
+ GROUP_CONVERSATION_AVATAR: string;
4
+ LOGO: string;
5
+ LOGO_HEADER: string;
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;
13
+ };
14
+ export default Images;
@@ -1,3 +1,3 @@
1
- import { FC } from "react";
2
- declare const CommonAlert: FC;
3
- export default CommonAlert;
1
+ import { FC } from "react";
2
+ declare const CommonAlert: FC;
3
+ export default CommonAlert;
@@ -1,8 +1,8 @@
1
- import { CSSProperties, FC } from "react";
2
- interface Props {
3
- label: string;
4
- className?: string;
5
- style?: CSSProperties;
6
- }
7
- declare const EmptyDataAlert: FC<Props>;
8
- export default EmptyDataAlert;
1
+ import { CSSProperties } from "react";
2
+ interface Props {
3
+ label: string;
4
+ className?: string;
5
+ style?: CSSProperties;
6
+ }
7
+ declare const EmptyDataAlert: ({ label, className, style }: Props) => import("react/jsx-runtime").JSX.Element;
8
+ export default EmptyDataAlert;
@@ -1,6 +1,6 @@
1
- import { FC } from "react";
2
- interface Props {
3
- text: string;
4
- }
5
- declare const ErrorHandler: FC<Props>;
6
- export default ErrorHandler;
1
+ import { FC } from "react";
2
+ interface Props {
3
+ text: string;
4
+ }
5
+ declare const ErrorHandler: FC<Props>;
6
+ export default ErrorHandler;
@@ -1,7 +1,8 @@
1
- import { FC } from 'react';
2
- interface Props {
3
- text?: string;
4
- onClick?(): void;
5
- }
6
- declare const AddButton: FC<Props>;
7
- export default AddButton;
1
+ import { FC } from 'react';
2
+ interface Props {
3
+ text?: string;
4
+ onClick?(): void;
5
+ className?: string;
6
+ }
7
+ declare const AddButton: FC<Props>;
8
+ export default AddButton;
@@ -1,6 +1,6 @@
1
- import { FC } from "react";
2
- interface Props {
3
- onClick: () => any;
4
- }
5
- declare const AddButtonIcon: FC<Props>;
6
- export default AddButtonIcon;
1
+ import { FC } from "react";
2
+ interface Props {
3
+ onClick: () => any;
4
+ }
5
+ declare const AddButtonIcon: FC<Props>;
6
+ export default AddButtonIcon;
@@ -1,8 +1,8 @@
1
- import { FC } from "react";
2
- interface Props {
3
- defaultInfo?: any;
4
- userLogin?: any;
5
- toggle?: any;
6
- }
7
- declare const CloseButton: FC<Props>;
8
- export default CloseButton;
1
+ import { FC } from "react";
2
+ interface Props {
3
+ defaultInfo?: any;
4
+ userLogin?: any;
5
+ toggle?: any;
6
+ }
7
+ declare const CloseButton: FC<Props>;
8
+ export default CloseButton;
@@ -1,6 +1,6 @@
1
- import { FC } from "react";
2
- interface Props {
3
- onClick?: () => any;
4
- }
5
- declare const DeleteButtonIcon: FC<Props>;
6
- export default DeleteButtonIcon;
1
+ import { FC } from "react";
2
+ interface Props {
3
+ onClick?: () => any;
4
+ }
5
+ declare const DeleteButtonIcon: FC<Props>;
6
+ export default DeleteButtonIcon;
@@ -1,8 +1,9 @@
1
- import { FC } from "react";
2
- interface Props {
3
- confirmText: string;
4
- onConfirm: () => any;
5
- onCancel: () => any;
6
- }
7
- declare const DetailActionButtons: FC<Props>;
8
- export default DetailActionButtons;
1
+ import { FC } from "react";
2
+ interface Props {
3
+ confirmText: string;
4
+ onConfirm: () => any;
5
+ onCancel: () => any;
6
+ className?: string;
7
+ }
8
+ declare const DetailActionButtons: FC<Props>;
9
+ export default DetailActionButtons;
@@ -1,6 +1,6 @@
1
- import { FC } from "react";
2
- interface Props {
3
- onClick: () => any;
4
- }
5
- declare const EditButtonIcon: FC<Props>;
6
- export default EditButtonIcon;
1
+ import { FC } from "react";
2
+ interface Props {
3
+ onClick: () => any;
4
+ }
5
+ declare const EditButtonIcon: FC<Props>;
6
+ export default EditButtonIcon;
@@ -1,7 +1,8 @@
1
- import { FC } from "react";
2
- interface Props {
3
- label: string;
4
- onClick: () => any;
5
- }
6
- declare const LinkEditButton: FC<Props>;
7
- export default LinkEditButton;
1
+ import { FC } from "react";
2
+ interface Props {
3
+ label: string;
4
+ onClick: () => any;
5
+ className?: string;
6
+ }
7
+ declare const LinkEditButton: FC<Props>;
8
+ export default LinkEditButton;
@@ -1,8 +1,8 @@
1
- import { FC } from "react";
2
- interface Props {
3
- link?: string;
4
- text?: string;
5
- toggle?: any;
6
- }
7
- declare const LoginNavButton: FC<Props>;
8
- export default LoginNavButton;
1
+ import { FC } from "react";
2
+ interface Props {
3
+ link?: string;
4
+ text?: string;
5
+ toggle?: any;
6
+ }
7
+ declare const LoginNavButton: FC<Props>;
8
+ export default LoginNavButton;
@@ -1,10 +1,10 @@
1
- import { FC } from "react";
2
- interface Props {
3
- textLeft: string;
4
- textRight: string;
5
- isLeft: boolean;
6
- clickLeft: any;
7
- clickRight: any;
8
- }
9
- declare const ToggleButton: FC<Props>;
10
- export default ToggleButton;
1
+ import { FC } from "react";
2
+ interface Props {
3
+ textLeft: string;
4
+ textRight: string;
5
+ isLeft: boolean;
6
+ clickLeft: any;
7
+ clickRight: any;
8
+ }
9
+ declare const ToggleButton: FC<Props>;
10
+ export default ToggleButton;
@@ -1,13 +1,13 @@
1
- import { FC } from "react";
2
- interface Props {
3
- fileName?: string;
4
- maxWidth?: string;
5
- maxHeight?: string;
6
- setFile: any;
7
- onAddImage?: any;
8
- canDelete?: boolean;
9
- onDelete?: () => void;
10
- isCheckFeedBack?: boolean;
11
- }
12
- declare const UploadFileButton: FC<Props>;
13
- export default UploadFileButton;
1
+ import { FC } from "react";
2
+ interface Props {
3
+ fileName?: string;
4
+ maxWidth?: string;
5
+ maxHeight?: string;
6
+ setFile: any;
7
+ onAddImage?: any;
8
+ canDelete?: boolean;
9
+ onDelete?: () => void;
10
+ isCheckFeedBack?: boolean;
11
+ }
12
+ declare const UploadFileButton: FC<Props>;
13
+ export default UploadFileButton;
@@ -1,7 +1,7 @@
1
- import { FC } from "react";
2
- interface Props {
3
- header: string;
4
- rootHeader?: string;
5
- }
6
- declare const CommonHeader: FC<Props>;
7
- export default CommonHeader;
1
+ import { FC } from "react";
2
+ interface Props {
3
+ header: string;
4
+ rootHeader?: string;
5
+ }
6
+ declare const CommonHeader: FC<Props>;
7
+ export default CommonHeader;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare const UploadImage: () => JSX.Element;
3
- export default UploadImage;
1
+ declare const UploadImage: () => import("react/jsx-runtime").JSX.Element;
2
+ export default UploadImage;
@@ -1,8 +1,8 @@
1
- import React, { FC } from "react";
2
- interface Props {
3
- icon: React.ReactNode;
4
- accept?: string | undefined;
5
- callback: (fileName: string, filePath: string, fileType: string) => void;
6
- }
7
- declare const InputFile: FC<Props>;
8
- export default InputFile;
1
+ import React from "react";
2
+ interface Props {
3
+ icon: React.ReactNode;
4
+ accept?: string | undefined;
5
+ callback: (fileName: string, filePath: string, fileType: string) => void;
6
+ }
7
+ declare const InputFile: ({ icon, accept, callback }: Props) => import("react/jsx-runtime").JSX.Element;
8
+ export default InputFile;
@@ -1,8 +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;
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;
@@ -1,10 +1,10 @@
1
- import React, { CSSProperties } from "react";
2
- interface Props {
3
- initValue: string;
4
- onSearch: (searchString?: string) => any;
5
- placeholder?: string;
6
- className?: string;
7
- style?: CSSProperties;
8
- }
9
- declare const _default: React.NamedExoticComponent<Props>;
10
- export default _default;
1
+ import { CSSProperties } from "react";
2
+ interface Props {
3
+ initValue: string;
4
+ onSearch: (searchString?: string) => any;
5
+ placeholder?: string;
6
+ className?: string;
7
+ style?: CSSProperties;
8
+ }
9
+ declare const _default: import("react").NamedExoticComponent<Props>;
10
+ export default _default;
@@ -1,10 +1,9 @@
1
- import { FC } from "react";
2
- interface Props {
3
- text: string;
4
- onClick: () => void;
5
- initValue: string;
6
- onSearch: (searchString?: string) => void;
7
- placeholder: string;
8
- }
9
- declare const SearchBoxContainer: FC<Props>;
10
- export default SearchBoxContainer;
1
+ interface Props {
2
+ text: string;
3
+ onClick: () => void;
4
+ initValue: string;
5
+ onSearch: (searchString?: string) => void;
6
+ placeholder: string;
7
+ }
8
+ declare const SearchBoxContainer: ({ text, initValue, onClick, onSearch, placeholder }: Props) => import("react/jsx-runtime").JSX.Element;
9
+ export default SearchBoxContainer;
@@ -1,6 +1,6 @@
1
- import React from "react";
2
- interface Props {
3
- text: string;
4
- }
5
- declare const _default: React.NamedExoticComponent<Props>;
6
- export default _default;
1
+ interface Props {
2
+ text: string;
3
+ className?: string;
4
+ }
5
+ declare const _default: import("react").NamedExoticComponent<Props>;
6
+ export default _default;
@@ -1,3 +1,3 @@
1
- import { FC } from "react";
2
- declare const Loading: FC;
3
- export default Loading;
1
+ import { FC } from "react";
2
+ declare const Loading: FC;
3
+ export default Loading;
@@ -1,3 +1,2 @@
1
- import React from "react";
2
- declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
- export default _default;
1
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<unknown>>;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ export interface IModelSelectRole {
3
+ open: boolean;
4
+ onToggleModel: Function;
5
+ }
6
+ declare const ModelSelectRole: ({ open, onToggleModel }: IModelSelectRole) => JSX.Element;
7
+ export default ModelSelectRole;
@@ -0,0 +1,2 @@
1
+ declare const NotificationLogoutModal: () => import("react/jsx-runtime").JSX.Element;
2
+ export default NotificationLogoutModal;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare const NotificationModal: () => JSX.Element;
3
- export default NotificationModal;
1
+ declare const NotificationModal: () => import("react/jsx-runtime").JSX.Element;
2
+ export default NotificationModal;
@@ -1,2 +1,5 @@
1
- /// <reference types="react" />
2
- export default function QuitPrompt(props: any): JSX.Element;
1
+ interface Props {
2
+ when: boolean;
3
+ }
4
+ export default function QuitPrompt({ when }: Props): null;
5
+ export {};
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare const CustomPagination: (props: any) => JSX.Element;
3
- export default CustomPagination;
1
+ declare const CustomPagination: (props: any) => import("react/jsx-runtime").JSX.Element;
2
+ export default CustomPagination;
@@ -1,3 +1,3 @@
1
- import { FC } from "react";
2
- declare const ScrollToTop: FC;
3
- export default ScrollToTop;
1
+ import { FC } from "react";
2
+ declare const ScrollToTop: FC;
3
+ export default ScrollToTop;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare const AcademicClassSelector: (props: any) => JSX.Element;
3
- export default AcademicClassSelector;
1
+ declare const AcademicClassSelector: (props: any) => import("react/jsx-runtime").JSX.Element;
2
+ export default AcademicClassSelector;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare const CreatableSelector: (props: any) => JSX.Element;
3
- export default CreatableSelector;
1
+ declare const CreatableSelector: (props: any) => import("react/jsx-runtime").JSX.Element;
2
+ export default CreatableSelector;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare const CustomSelector: ({ defaultValue, options, isDisabled, scrollBottom, ...rest }: any) => JSX.Element;
3
- export default CustomSelector;
1
+ declare const CustomSelector: ({ defaultValue, options, isDisabled, scrollBottom, className, ...rest }: any) => import("react/jsx-runtime").JSX.Element;
2
+ export default CustomSelector;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare const MailCategorySelector: (props: any) => JSX.Element;
3
- export default MailCategorySelector;
1
+ declare const MailCategorySelector: (props: any) => import("react/jsx-runtime").JSX.Element;
2
+ export default MailCategorySelector;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare const QuestionCategorySelector: (props: any) => JSX.Element;
3
- export default QuestionCategorySelector;
1
+ declare const QuestionCategorySelector: (props: any) => import("react/jsx-runtime").JSX.Element;
2
+ export default QuestionCategorySelector;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare const QuestionTypeSelector: (props: any) => JSX.Element;
3
- export default QuestionTypeSelector;
1
+ declare const QuestionTypeSelector: (props: any) => import("react/jsx-runtime").JSX.Element;
2
+ export default QuestionTypeSelector;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare const StarRatingSelector: (props: any) => JSX.Element;
3
- export default StarRatingSelector;
1
+ declare const StarRatingSelector: (props: any) => import("react/jsx-runtime").JSX.Element;
2
+ export default StarRatingSelector;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare const SuggestionCategorySelector: (props: any) => JSX.Element;
3
- export default SuggestionCategorySelector;
1
+ declare const SuggestionCategorySelector: (props: any) => import("react/jsx-runtime").JSX.Element;
2
+ export default SuggestionCategorySelector;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare const CustomTabs: (props: any) => JSX.Element;
3
- export default CustomTabs;
1
+ declare const CustomTabs: (props: any) => import("react/jsx-runtime").JSX.Element;
2
+ export default CustomTabs;
@@ -1,7 +1,7 @@
1
- declare const editorConfig: {
2
- email: any;
3
- question: any;
4
- answer: any;
5
- tutorial: any;
6
- };
7
- export default editorConfig;
1
+ declare const editorConfig: {
2
+ email: any;
3
+ question: any;
4
+ answer: any;
5
+ tutorial: any;
6
+ };
7
+ export default editorConfig;
@@ -1,3 +1,3 @@
1
- import { FC } from "react";
2
- declare const NotFound: FC;
3
- export default NotFound;
1
+ import { FC } from "react";
2
+ declare const NotFound: FC;
3
+ export default NotFound;
@@ -1,3 +1,3 @@
1
- import { FC } from "react";
2
- declare const SchoolList: FC;
3
- export default SchoolList;
1
+ import { FC } from "react";
2
+ declare const SchoolList: FC;
3
+ export default SchoolList;
@@ -1,7 +1,8 @@
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
+ import { FC } from "react";
2
+ interface Props {
3
+ label: string;
4
+ onRemove: any;
5
+ className?: string;
6
+ }
7
+ declare const AttachmentFile: FC<Props>;
8
+ export default AttachmentFile;
@@ -1,7 +1,8 @@
1
- import { FC } from "react";
2
- interface Props {
3
- onClick: any;
4
- isResetPasswordTemplate: any;
5
- }
6
- declare const MailSubject: FC<Props>;
7
- export default MailSubject;
1
+ import { FC } from "react";
2
+ interface Props {
3
+ onClick: any;
4
+ isResetPasswordTemplate: any;
5
+ className?: string;
6
+ }
7
+ declare const MailSubject: FC<Props>;
8
+ export default MailSubject;
@@ -1,13 +1,13 @@
1
- import * as yup from "yup";
2
- declare const schema: import("yup/lib/object").OptionalObjectSchema<{
3
- subject: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
4
- categoryId: import("yup/lib/number").RequiredNumberSchema<number | undefined, Record<string, any>>;
5
- comment: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
6
- body: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
7
- }, Record<string, any>, import("yup/lib/object").TypeOfShape<{
8
- subject: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
9
- categoryId: import("yup/lib/number").RequiredNumberSchema<number | undefined, Record<string, any>>;
10
- comment: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
11
- body: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
12
- }>>;
13
- export default schema;
1
+ import * as yup from "yup";
2
+ declare const schema: yup.ObjectSchema<{
3
+ subject: string;
4
+ categoryId: number;
5
+ comment: string | undefined;
6
+ body: string;
7
+ }, yup.AnyObject, {
8
+ subject: undefined;
9
+ categoryId: undefined;
10
+ comment: undefined;
11
+ body: undefined;
12
+ }, "">;
13
+ export default schema;