analytica-frontend-lib 1.2.25 → 1.2.29
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/Accordation/index.d.ts +4 -5
- package/dist/Accordation/index.d.ts.map +1 -0
- package/dist/ActivityDetails/index.css +19293 -0
- package/dist/ActivityDetails/index.css.map +1 -0
- package/dist/ActivityDetails/index.d.ts +31 -0
- package/dist/ActivityDetails/index.d.ts.map +1 -0
- package/dist/ActivityDetails/index.js +7389 -0
- package/dist/ActivityDetails/index.js.map +1 -0
- package/dist/ActivityDetails/index.mjs +7438 -0
- package/dist/ActivityDetails/index.mjs.map +1 -0
- package/dist/ActivityFilters/index.css +112 -0
- package/dist/ActivityFilters/index.css.map +1 -1
- package/dist/ActivityFilters/index.d.ts +44 -5
- package/dist/ActivityFilters/index.d.ts.map +1 -0
- package/dist/ActivityFilters/index.js +67 -33
- package/dist/ActivityFilters/index.js.map +1 -1
- package/dist/ActivityFilters/index.mjs +89 -55
- package/dist/ActivityFilters/index.mjs.map +1 -1
- package/dist/Alert/index.d.ts +3 -5
- package/dist/Alert/index.d.ts.map +1 -0
- package/dist/AlertDialog/index.d.ts +2 -4
- package/dist/AlertDialog/index.d.ts.map +1 -0
- package/dist/AlertManager/index.css +112 -0
- package/dist/AlertManager/index.css.map +1 -1
- package/dist/AlertManager/index.d.ts +4 -8
- package/dist/AlertManager/index.d.ts.map +1 -0
- package/dist/AlertManager/index.js +56 -22
- package/dist/AlertManager/index.js.map +1 -1
- package/dist/AlertManager/index.mjs +78 -44
- package/dist/AlertManager/index.mjs.map +1 -1
- package/dist/AlertManagerView/index.d.ts +6 -10
- package/dist/AlertManagerView/index.d.ts.map +1 -0
- package/dist/Alternative/index.d.ts +6 -9
- package/dist/Alternative/index.d.ts.map +1 -0
- package/dist/Auth/AuthProvider/index.d.ts +324 -3
- package/dist/Auth/AuthProvider/index.d.ts.map +1 -0
- package/dist/Auth/ProtectedRoute/index.d.ts +324 -3
- package/dist/Auth/ProtectedRoute/index.d.ts.map +1 -0
- package/dist/Auth/PublicRoute/index.d.ts +324 -3
- package/dist/Auth/PublicRoute/index.d.ts.map +1 -0
- package/dist/Auth/getRootDomain/index.d.ts +324 -3
- package/dist/Auth/getRootDomain/index.d.ts.map +1 -0
- package/dist/Auth/index.d.ts +24 -26
- package/dist/Auth/index.d.ts.map +1 -0
- package/dist/Auth/useApiConfig/index.d.ts +3 -3
- package/dist/Auth/useApiConfig/index.d.ts.map +1 -0
- package/dist/Auth/useAuth/index.d.ts +324 -3
- package/dist/Auth/useAuth/index.d.ts.map +1 -0
- package/dist/Auth/useAuthGuard/index.d.ts +324 -3
- package/dist/Auth/useAuthGuard/index.d.ts.map +1 -0
- package/dist/Auth/useRouteAuth/index.d.ts +324 -3
- package/dist/Auth/useRouteAuth/index.d.ts.map +1 -0
- package/dist/Auth/useUrlAuthentication/index.d.ts +3 -4
- package/dist/Auth/useUrlAuthentication/index.d.ts.map +1 -0
- package/dist/Auth/withAuth/index.d.ts +324 -3
- package/dist/Auth/withAuth/index.d.ts.map +1 -0
- package/dist/Auth/zustandAuthAdapter/index.d.ts +2 -3
- package/dist/Auth/zustandAuthAdapter/index.d.ts.map +1 -0
- package/dist/Badge/index.d.ts +4 -6
- package/dist/Badge/index.d.ts.map +1 -0
- package/dist/BreadcrumbMenu/breadcrumbStore/index.d.ts +5 -7
- package/dist/BreadcrumbMenu/breadcrumbStore/index.d.ts.map +1 -0
- package/dist/BreadcrumbMenu/index.d.ts +4 -8
- package/dist/BreadcrumbMenu/index.d.ts.map +1 -0
- package/dist/BreadcrumbMenu/useBreadcrumbBuilder/index.d.ts +7 -10
- package/dist/BreadcrumbMenu/useBreadcrumbBuilder/index.d.ts.map +1 -0
- package/dist/BreadcrumbMenu/useUrlParams/index.d.ts +3 -4
- package/dist/BreadcrumbMenu/useUrlParams/index.d.ts.map +1 -0
- package/dist/Button/index.d.ts +4 -6
- package/dist/Button/index.d.ts.map +1 -0
- package/dist/Calendar/index.d.ts +9 -11
- package/dist/Calendar/index.d.ts.map +1 -0
- package/dist/Card/index.d.ts +17 -19
- package/dist/Card/index.d.ts.map +1 -0
- package/dist/CheckBox/index.d.ts +6 -8
- package/dist/CheckBox/index.d.ts.map +1 -0
- package/dist/Chips/index.d.ts +4 -6
- package/dist/Chips/index.d.ts.map +1 -0
- package/dist/CorrectActivityModal/index.d.ts +39 -0
- package/dist/CorrectActivityModal/index.d.ts.map +1 -0
- package/dist/CorrectActivityModal/index.js +3674 -0
- package/dist/CorrectActivityModal/index.js.map +1 -0
- package/dist/CorrectActivityModal/index.mjs +3689 -0
- package/dist/CorrectActivityModal/index.mjs.map +1 -0
- package/dist/Divider/index.d.ts +3 -5
- package/dist/Divider/index.d.ts.map +1 -0
- package/dist/DownloadButton/index.d.ts +5 -7
- package/dist/DownloadButton/index.d.ts.map +1 -0
- package/dist/DropdownMenu/index.d.ts +26 -28
- package/dist/DropdownMenu/index.d.ts.map +1 -0
- package/dist/EmptyState/index.d.ts +5 -7
- package/dist/EmptyState/index.d.ts.map +1 -0
- package/dist/FileAttachment/index.d.ts +72 -0
- package/dist/FileAttachment/index.d.ts.map +1 -0
- package/dist/FileAttachment/index.js +239 -0
- package/dist/FileAttachment/index.js.map +1 -0
- package/dist/FileAttachment/index.mjs +213 -0
- package/dist/FileAttachment/index.mjs.map +1 -0
- package/dist/IconButton/index.d.ts +6 -8
- package/dist/IconButton/index.d.ts.map +1 -0
- package/dist/IconRender/index.d.ts +5 -6
- package/dist/IconRender/index.d.ts.map +1 -0
- package/dist/IconRoundedButton/index.d.ts +4 -6
- package/dist/IconRoundedButton/index.d.ts.map +1 -0
- package/dist/Input/index.d.ts +5 -7
- package/dist/Input/index.d.ts.map +1 -0
- package/dist/LatexRenderer/index.d.ts +5 -6
- package/dist/LatexRenderer/index.d.ts.map +1 -0
- package/dist/LoadingModal/index.d.ts +3 -5
- package/dist/LoadingModal/index.d.ts.map +1 -0
- package/dist/Menu/index.d.ts +12 -14
- package/dist/Menu/index.d.ts.map +1 -0
- package/dist/Modal/index.d.ts +3 -5
- package/dist/Modal/index.d.ts.map +1 -0
- package/dist/Modal/utils/videoUtils/index.d.ts +4 -5
- package/dist/Modal/utils/videoUtils/index.d.ts.map +1 -0
- package/dist/MultipleChoice/index.d.ts +2 -4
- package/dist/MultipleChoice/index.d.ts.map +1 -0
- package/dist/NavButton/index.d.ts +5 -7
- package/dist/NavButton/index.d.ts.map +1 -0
- package/dist/NoSearchResult/index.d.ts +4 -6
- package/dist/NoSearchResult/index.d.ts.map +1 -0
- package/dist/NotFound/index.d.ts +4 -6
- package/dist/NotFound/index.d.ts.map +1 -0
- package/dist/NotificationCard/index.d.ts +218 -3
- package/dist/NotificationCard/index.d.ts.map +1 -0
- package/dist/ProgressBar/index.d.ts +4 -6
- package/dist/ProgressBar/index.d.ts.map +1 -0
- package/dist/ProgressCircle/index.d.ts +4 -6
- package/dist/ProgressCircle/index.d.ts.map +1 -0
- package/dist/Quiz/index.d.ts +19 -23
- package/dist/Quiz/index.d.ts.map +1 -0
- package/dist/Quiz/useQuizStore/index.d.ts +14 -17
- package/dist/Quiz/useQuizStore/index.d.ts.map +1 -0
- package/dist/Radio/index.d.ts +14 -15
- package/dist/Radio/index.d.ts.map +1 -0
- package/dist/Search/index.d.ts +4 -6
- package/dist/Search/index.d.ts.map +1 -0
- package/dist/Select/index.d.ts +12 -14
- package/dist/Select/index.d.ts.map +1 -0
- package/dist/SelectionButton/index.d.ts +5 -7
- package/dist/SelectionButton/index.d.ts.map +1 -0
- package/dist/Skeleton/index.d.ts +10 -12
- package/dist/Skeleton/index.d.ts.map +1 -0
- package/dist/StatisticsCard/index.d.ts +3 -5
- package/dist/StatisticsCard/index.d.ts.map +1 -0
- package/dist/Stepper/index.d.ts +6 -8
- package/dist/Stepper/index.d.ts.map +1 -0
- package/dist/SubjectInfo/index.d.ts +17 -2
- package/dist/SubjectInfo/index.d.ts.map +1 -0
- package/dist/Support/TicketModal/index.d.ts +14 -0
- package/dist/Support/TicketModal/index.d.ts.map +1 -0
- package/dist/Support/TicketModal/index.js +1279 -0
- package/dist/Support/TicketModal/index.js.map +1 -0
- package/dist/Support/TicketModal/index.mjs +1248 -0
- package/dist/Support/TicketModal/index.mjs.map +1 -0
- package/dist/Support/index.d.ts +8 -0
- package/dist/Support/index.d.ts.map +1 -0
- package/dist/Support/index.js +2686 -0
- package/dist/Support/index.js.map +1 -0
- package/dist/Support/index.mjs +2676 -0
- package/dist/Support/index.mjs.map +1 -0
- package/dist/Table/TablePagination/index.d.ts +4 -6
- package/dist/Table/TablePagination/index.d.ts.map +1 -0
- package/dist/Table/index.d.ts +18 -19
- package/dist/Table/index.d.ts.map +1 -0
- package/dist/TableProvider/index.css +112 -0
- package/dist/TableProvider/index.css.map +1 -1
- package/dist/TableProvider/index.d.ts +198 -4
- package/dist/TableProvider/index.d.ts.map +1 -0
- package/dist/TableProvider/index.js +56 -22
- package/dist/TableProvider/index.js.map +1 -1
- package/dist/TableProvider/index.mjs +78 -44
- package/dist/TableProvider/index.mjs.map +1 -1
- package/dist/Text/index.d.ts +4 -6
- package/dist/Text/index.d.ts.map +1 -0
- package/dist/TextArea/index.d.ts +6 -8
- package/dist/TextArea/index.d.ts.map +1 -0
- package/dist/ThemeToggle/index.d.ts +4 -8
- package/dist/ThemeToggle/index.d.ts.map +1 -0
- package/dist/Toast/ToastStore/index.d.ts +3 -5
- package/dist/Toast/ToastStore/index.d.ts.map +1 -0
- package/dist/Toast/Toaster/index.d.ts +4 -6
- package/dist/Toast/Toaster/index.d.ts.map +1 -0
- package/dist/Toast/index.d.ts +3 -5
- package/dist/Toast/index.d.ts.map +1 -0
- package/dist/VideoPlayer/index.d.ts +4 -6
- package/dist/VideoPlayer/index.d.ts.map +1 -0
- package/dist/Whiteboard/index.d.ts +5 -7
- package/dist/Whiteboard/index.d.ts.map +1 -0
- package/dist/assets/icons/subjects/BookOpenText.d.ts +5 -0
- package/dist/assets/icons/subjects/BookOpenText.d.ts.map +1 -0
- package/dist/assets/icons/subjects/ChatEN.d.ts +5 -0
- package/dist/assets/icons/subjects/ChatEN.d.ts.map +1 -0
- package/dist/assets/icons/subjects/ChatES.d.ts +5 -0
- package/dist/assets/icons/subjects/ChatES.d.ts.map +1 -0
- package/dist/assets/icons/subjects/ChatPT.d.ts +5 -0
- package/dist/assets/icons/subjects/ChatPT.d.ts.map +1 -0
- package/dist/assets/icons/subjects/HeadCircuit.d.ts +5 -0
- package/dist/assets/icons/subjects/HeadCircuit.d.ts.map +1 -0
- package/dist/assets/icons/subjects/Microscope.d.ts +5 -0
- package/dist/assets/icons/subjects/Microscope.d.ts.map +1 -0
- package/dist/enums/SubjectEnum.d.ts +19 -0
- package/dist/enums/SubjectEnum.d.ts.map +1 -0
- package/dist/hooks/useAppContent.d.ts +55 -0
- package/dist/hooks/useAppContent.d.ts.map +1 -0
- package/dist/hooks/useAppInitialization.d.ts +21 -0
- package/dist/hooks/useAppInitialization.d.ts.map +1 -0
- package/dist/hooks/useInstitution.d.ts +2 -0
- package/dist/hooks/useInstitution.d.ts.map +1 -0
- package/dist/hooks/useMobile/index.d.ts +4 -5
- package/dist/hooks/useMobile/index.d.ts.map +1 -0
- package/dist/hooks/useNotificationStore.d.ts +34 -0
- package/dist/hooks/useNotificationStore.d.ts.map +1 -0
- package/dist/hooks/useNotifications.d.ts +129 -0
- package/dist/hooks/useNotifications.d.ts.map +1 -0
- package/dist/hooks/useScreen.d.ts +38 -0
- package/dist/hooks/useScreen.d.ts.map +1 -0
- package/dist/hooks/useTheme/index.d.ts +4 -7
- package/dist/hooks/useTheme/index.d.ts.map +1 -0
- package/dist/index.css +112 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +127 -789
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9031 -7012
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9093 -7085
- package/dist/index.mjs.map +1 -1
- package/dist/store/appStore.d.ts +27 -0
- package/dist/store/appStore.d.ts.map +1 -0
- package/dist/store/authStore.d.ts +75 -0
- package/dist/store/authStore.d.ts.map +1 -0
- package/dist/store/notificationStore.d.ts +89 -0
- package/dist/store/notificationStore.d.ts.map +1 -0
- package/dist/{themeStore-P2X64zC-.d.ts → store/themeStore.d.ts} +8 -12
- package/dist/store/themeStore.d.ts.map +1 -0
- package/dist/styles.css +112 -0
- package/dist/styles.css.map +1 -1
- package/dist/suporthistory-W5LBGAUP.png +0 -0
- package/dist/types/activityDetails.d.ts +127 -0
- package/dist/types/activityDetails.d.ts.map +1 -0
- package/dist/types/activityFilters.d.ts +51 -0
- package/dist/types/activityFilters.d.ts.map +1 -0
- package/dist/types/auth.d.ts +53 -0
- package/dist/types/auth.d.ts.map +1 -0
- package/dist/types/notifications.d.ts +199 -0
- package/dist/types/notifications.d.ts.map +1 -0
- package/dist/types/questionTypes.d.ts +6 -0
- package/dist/types/questionTypes.d.ts.map +1 -0
- package/dist/types/studentActivityCorrection.d.ts +57 -0
- package/dist/types/studentActivityCorrection.d.ts.map +1 -0
- package/dist/types/support/index.d.ts +111 -0
- package/dist/types/support/index.d.ts.map +1 -0
- package/dist/types/support/index.js +115 -0
- package/dist/types/support/index.js.map +1 -0
- package/dist/types/support/index.mjs +84 -0
- package/dist/types/support/index.mjs.map +1 -0
- package/dist/utils/activityFilters.d.ts +23 -0
- package/dist/utils/activityFilters.d.ts.map +1 -0
- package/dist/utils/dropdown.d.ts +12 -0
- package/dist/utils/dropdown.d.ts.map +1 -0
- package/dist/utils/index.d.ts +6 -43
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/keys.d.ts +24 -0
- package/dist/utils/keys.d.ts.map +1 -0
- package/package.json +20 -4
- package/dist/Accordation/index.d.mts +0 -15
- package/dist/ActivityFilters/index.d.mts +0 -5
- package/dist/ActivityFilters-Cs3TpGAY.d.ts +0 -97
- package/dist/ActivityFilters-CsX8y41f.d.mts +0 -97
- package/dist/Alert/index.d.mts +0 -13
- package/dist/AlertDialog/index.d.mts +0 -36
- package/dist/AlertManager/index.d.mts +0 -17
- package/dist/AlertManagerView/index.d.mts +0 -31
- package/dist/Alternative/index.d.mts +0 -81
- package/dist/Auth/AuthProvider/index.d.mts +0 -3
- package/dist/Auth/ProtectedRoute/index.d.mts +0 -3
- package/dist/Auth/PublicRoute/index.d.mts +0 -3
- package/dist/Auth/getRootDomain/index.d.mts +0 -3
- package/dist/Auth/index.d.mts +0 -326
- package/dist/Auth/useApiConfig/index.d.mts +0 -43
- package/dist/Auth/useAuth/index.d.mts +0 -3
- package/dist/Auth/useAuthGuard/index.d.mts +0 -3
- package/dist/Auth/useRouteAuth/index.d.mts +0 -3
- package/dist/Auth/useUrlAuthentication/index.d.mts +0 -69
- package/dist/Auth/withAuth/index.d.mts +0 -3
- package/dist/Auth/zustandAuthAdapter/index.d.mts +0 -75
- package/dist/Badge/index.d.mts +0 -46
- package/dist/BreadcrumbMenu/breadcrumbStore/index.d.mts +0 -77
- package/dist/BreadcrumbMenu/index.d.mts +0 -31
- package/dist/BreadcrumbMenu/useBreadcrumbBuilder/index.d.mts +0 -48
- package/dist/BreadcrumbMenu/useUrlParams/index.d.mts +0 -28
- package/dist/Button/index.d.mts +0 -45
- package/dist/Calendar/index.d.mts +0 -60
- package/dist/Card/index.d.mts +0 -150
- package/dist/CheckBox/index.d.mts +0 -74
- package/dist/CheckBoxGroup-9n5C0OH4.d.mts +0 -24
- package/dist/CheckBoxGroup-9n5C0OH4.d.ts +0 -24
- package/dist/Chips/index.d.mts +0 -41
- package/dist/Divider/index.d.mts +0 -32
- package/dist/DownloadButton/index.d.mts +0 -46
- package/dist/DropdownMenu/index.d.mts +0 -82
- package/dist/EmptyState/index.d.mts +0 -65
- package/dist/IconButton/index.d.mts +0 -76
- package/dist/IconRender/index.d.mts +0 -36
- package/dist/IconRoundedButton/index.d.mts +0 -34
- package/dist/Input/index.d.mts +0 -27
- package/dist/LatexRenderer/index.d.mts +0 -50
- package/dist/LoadingModal/index.d.mts +0 -11
- package/dist/Menu/index.d.mts +0 -48
- package/dist/Modal/index.d.mts +0 -76
- package/dist/Modal/utils/videoUtils/index.d.mts +0 -28
- package/dist/MultipleChoice/index.d.mts +0 -20
- package/dist/NavButton/index.d.mts +0 -57
- package/dist/NoSearchResult/index.d.mts +0 -37
- package/dist/NotFound/index.d.mts +0 -58
- package/dist/NotificationCard/index.d.mts +0 -3
- package/dist/NotificationCard-4GgB0Nsf.d.mts +0 -417
- package/dist/NotificationCard-4GgB0Nsf.d.ts +0 -417
- package/dist/ProgressBar/index.d.mts +0 -95
- package/dist/ProgressCircle/index.d.mts +0 -60
- package/dist/Quiz/index.d.mts +0 -55
- package/dist/Quiz/useQuizStore/index.d.mts +0 -258
- package/dist/Radio/index.d.mts +0 -203
- package/dist/Search/index.d.mts +0 -27
- package/dist/Select/index.d.mts +0 -59
- package/dist/SelectionButton/index.d.mts +0 -57
- package/dist/Skeleton/index.d.mts +0 -40
- package/dist/StatisticsCard/index.d.mts +0 -79
- package/dist/Stepper/index.d.mts +0 -169
- package/dist/SubjectInfo/index.d.mts +0 -2
- package/dist/SubjectInfo-Dvt0OodP.d.mts +0 -37
- package/dist/SubjectInfo-Dvt0OodP.d.ts +0 -37
- package/dist/Table/TablePagination/index.d.mts +0 -64
- package/dist/Table/index.d.mts +0 -93
- package/dist/TableProvider/index.d.mts +0 -4
- package/dist/TableProvider-BnAnv3OV.d.mts +0 -239
- package/dist/TableProvider-GfPlLqzg.d.ts +0 -239
- package/dist/Text/index.d.mts +0 -58
- package/dist/TextArea/index.d.mts +0 -74
- package/dist/ThemeToggle/index.d.mts +0 -12
- package/dist/Toast/ToastStore/index.d.mts +0 -19
- package/dist/Toast/Toaster/index.d.mts +0 -16
- package/dist/Toast/index.d.mts +0 -17
- package/dist/VideoPlayer/index.d.mts +0 -52
- package/dist/Whiteboard/index.d.mts +0 -34
- package/dist/hooks/useMobile/index.d.mts +0 -29
- package/dist/hooks/useTheme/index.d.mts +0 -17
- package/dist/index.d.mts +0 -789
- package/dist/styles.d.mts +0 -2
- package/dist/styles.d.ts +0 -2
- package/dist/themeStore-P2X64zC-.d.mts +0 -79
- package/dist/types-DqZRjqxh.d.ts +0 -67
- package/dist/types-pd3QVhSu.d.mts +0 -67
- package/dist/utils/index.d.mts +0 -51
package/dist/index.d.ts
CHANGED
|
@@ -1,789 +1,127 @@
|
|
|
1
|
-
|
|
2
|
-
export { default as
|
|
3
|
-
export { default as
|
|
4
|
-
export { default as
|
|
5
|
-
export { default as
|
|
6
|
-
export { default as
|
|
7
|
-
export {
|
|
8
|
-
export { default as
|
|
9
|
-
export { default as
|
|
10
|
-
export { default as
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
export { AlertsManager } from './AlertManager/
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export { default as
|
|
23
|
-
export { default as
|
|
24
|
-
export { default as
|
|
25
|
-
export { default as
|
|
26
|
-
export { default as
|
|
27
|
-
export { default as
|
|
28
|
-
export { default as
|
|
29
|
-
export { default as
|
|
30
|
-
export { default as
|
|
31
|
-
export { default as
|
|
32
|
-
export { default as
|
|
33
|
-
export { default as
|
|
34
|
-
export {
|
|
35
|
-
export { default as
|
|
36
|
-
|
|
37
|
-
export {
|
|
38
|
-
export {
|
|
39
|
-
export {
|
|
40
|
-
|
|
41
|
-
export {
|
|
42
|
-
export {
|
|
43
|
-
export {
|
|
44
|
-
export {
|
|
45
|
-
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
48
|
-
export {
|
|
49
|
-
export {
|
|
50
|
-
export {
|
|
51
|
-
export {
|
|
52
|
-
export {
|
|
53
|
-
export {
|
|
54
|
-
export {
|
|
55
|
-
export {
|
|
56
|
-
export {
|
|
57
|
-
export {
|
|
58
|
-
export {
|
|
59
|
-
export {
|
|
60
|
-
export {
|
|
61
|
-
export {
|
|
62
|
-
export {
|
|
63
|
-
export {
|
|
64
|
-
export {
|
|
65
|
-
export {
|
|
66
|
-
export {
|
|
67
|
-
export {
|
|
68
|
-
export {
|
|
69
|
-
export {
|
|
70
|
-
export {
|
|
71
|
-
export {
|
|
72
|
-
export {
|
|
73
|
-
export {
|
|
74
|
-
|
|
75
|
-
export {
|
|
76
|
-
export { default as
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
name: string;
|
|
129
|
-
}
|
|
130
|
-
type CheckboxListStoreApi = StoreApi<CheckboxListStore>;
|
|
131
|
-
/**
|
|
132
|
-
* CheckboxList component for flexible checkbox group composition
|
|
133
|
-
*
|
|
134
|
-
* Uses Zustand for state management with automatic store injection.
|
|
135
|
-
* Allows complete control over layout and styling by composing with CheckboxListItem.
|
|
136
|
-
*
|
|
137
|
-
* @example
|
|
138
|
-
* ```tsx
|
|
139
|
-
* <CheckboxList defaultValues={["option1"]} onValuesChange={setValues}>
|
|
140
|
-
* <div className="flex items-center gap-3">
|
|
141
|
-
* <CheckboxListItem value="option1" id="c1" />
|
|
142
|
-
* <label htmlFor="c1">Option 1</label>
|
|
143
|
-
* </div>
|
|
144
|
-
* <div className="flex items-center gap-3">
|
|
145
|
-
* <CheckboxListItem value="option2" id="c2" />
|
|
146
|
-
* <label htmlFor="c2">Option 2</label>
|
|
147
|
-
* </div>
|
|
148
|
-
* </CheckboxList>
|
|
149
|
-
* ```
|
|
150
|
-
*/
|
|
151
|
-
declare const CheckboxList: react.ForwardRefExoticComponent<{
|
|
152
|
-
/** Current selected values */
|
|
153
|
-
values?: string[];
|
|
154
|
-
/** Default selected values for uncontrolled usage */
|
|
155
|
-
defaultValues?: string[];
|
|
156
|
-
/** Callback when selection changes */
|
|
157
|
-
onValuesChange?: (values: string[]) => void;
|
|
158
|
-
/** Group name for all checkboxes */
|
|
159
|
-
name?: string;
|
|
160
|
-
/** Disabled state for the entire group */
|
|
161
|
-
disabled?: boolean;
|
|
162
|
-
/** Additional CSS classes */
|
|
163
|
-
className?: string;
|
|
164
|
-
/** Children components */
|
|
165
|
-
children: ReactNode;
|
|
166
|
-
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValues"> & react.RefAttributes<HTMLDivElement>>;
|
|
167
|
-
/**
|
|
168
|
-
* CheckboxListItem component for use within CheckboxList
|
|
169
|
-
*
|
|
170
|
-
* A checkbox without label that works within CheckboxList context.
|
|
171
|
-
* Provides just the checkbox input for maximum flexibility in composition.
|
|
172
|
-
*
|
|
173
|
-
* @example
|
|
174
|
-
* ```tsx
|
|
175
|
-
* <CheckboxList defaultValues={["option1"]}>
|
|
176
|
-
* <div className="flex items-center gap-3">
|
|
177
|
-
* <CheckboxListItem value="option1" id="c1" />
|
|
178
|
-
* <label htmlFor="c1">Option 1</label>
|
|
179
|
-
* </div>
|
|
180
|
-
* </CheckboxList>
|
|
181
|
-
* ```
|
|
182
|
-
*/
|
|
183
|
-
declare const CheckboxListItem: react.ForwardRefExoticComponent<{
|
|
184
|
-
/** Value for this checkbox item */
|
|
185
|
-
value: string;
|
|
186
|
-
/** Store reference (automatically injected by CheckboxList) */
|
|
187
|
-
store?: CheckboxListStoreApi;
|
|
188
|
-
/** Disabled state for this specific item */
|
|
189
|
-
disabled?: boolean;
|
|
190
|
-
/** Size variant */
|
|
191
|
-
size?: CheckboxListSize;
|
|
192
|
-
/** Visual state */
|
|
193
|
-
state?: CheckboxListState;
|
|
194
|
-
/** Additional CSS classes */
|
|
195
|
-
className?: string;
|
|
196
|
-
} & Omit<InputHTMLAttributes<HTMLInputElement>, "name" | "type" | "value" | "onChange" | "size" | "checked"> & react.RefAttributes<HTMLInputElement>>;
|
|
197
|
-
|
|
198
|
-
interface RecipientItem {
|
|
199
|
-
id: string;
|
|
200
|
-
name: string;
|
|
201
|
-
[key: string]: unknown;
|
|
202
|
-
}
|
|
203
|
-
interface RecipientCategory {
|
|
204
|
-
key: string;
|
|
205
|
-
label: string;
|
|
206
|
-
availableItems: RecipientItem[];
|
|
207
|
-
selectedIds: string[];
|
|
208
|
-
allSelected: boolean;
|
|
209
|
-
parentKey?: string;
|
|
210
|
-
dependsOn?: string[];
|
|
211
|
-
}
|
|
212
|
-
interface AlertFormData {
|
|
213
|
-
title: string;
|
|
214
|
-
message: string;
|
|
215
|
-
image: File | string | null;
|
|
216
|
-
date: string;
|
|
217
|
-
time: string;
|
|
218
|
-
sendToday: boolean;
|
|
219
|
-
sendCopyToEmail: boolean;
|
|
220
|
-
recipientCategories: Record<string, RecipientCategory>;
|
|
221
|
-
}
|
|
222
|
-
interface AlertFormStore extends AlertFormData {
|
|
223
|
-
setTitle: (title: string) => void;
|
|
224
|
-
setMessage: (message: string) => void;
|
|
225
|
-
setImage: (image: File | string | null) => void;
|
|
226
|
-
setDate: (date: string) => void;
|
|
227
|
-
setTime: (time: string) => void;
|
|
228
|
-
setSendToday: (sendToday: boolean) => void;
|
|
229
|
-
setSendCopyToEmail: (sendCopyToEmail: boolean) => void;
|
|
230
|
-
initializeCategory: (category: RecipientCategory) => void;
|
|
231
|
-
updateCategoryItems: (key: string, items: RecipientItem[]) => void;
|
|
232
|
-
updateCategorySelection: (key: string, selectedIds: string[], allSelected: boolean) => void;
|
|
233
|
-
clearCategorySelection: (key: string) => void;
|
|
234
|
-
resetForm: () => void;
|
|
235
|
-
}
|
|
236
|
-
declare const useAlertFormStore: zustand.UseBoundStore<zustand.StoreApi<AlertFormStore>>;
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* Notification store state interface
|
|
240
|
-
*/
|
|
241
|
-
interface NotificationState {
|
|
242
|
-
/**
|
|
243
|
-
* List of all notifications
|
|
244
|
-
*/
|
|
245
|
-
notifications: Notification[];
|
|
246
|
-
/**
|
|
247
|
-
* Number of unread notifications
|
|
248
|
-
*/
|
|
249
|
-
unreadCount: number;
|
|
250
|
-
/**
|
|
251
|
-
* Loading state
|
|
252
|
-
*/
|
|
253
|
-
loading: boolean;
|
|
254
|
-
/**
|
|
255
|
-
* Error state
|
|
256
|
-
*/
|
|
257
|
-
error: string | null;
|
|
258
|
-
/**
|
|
259
|
-
* Whether there are more notifications to load
|
|
260
|
-
*/
|
|
261
|
-
hasMore: boolean;
|
|
262
|
-
/**
|
|
263
|
-
* Current page for pagination
|
|
264
|
-
*/
|
|
265
|
-
currentPage: number;
|
|
266
|
-
}
|
|
267
|
-
/**
|
|
268
|
-
* Notification store actions interface
|
|
269
|
-
*/
|
|
270
|
-
interface NotificationActions {
|
|
271
|
-
/**
|
|
272
|
-
* Fetch notifications from API
|
|
273
|
-
*/
|
|
274
|
-
fetchNotifications: (params?: FetchNotificationsParams) => Promise<void>;
|
|
275
|
-
/**
|
|
276
|
-
* Mark a specific notification as read
|
|
277
|
-
*/
|
|
278
|
-
markAsRead: (id: string) => Promise<void>;
|
|
279
|
-
/**
|
|
280
|
-
* Mark all notifications as read
|
|
281
|
-
*/
|
|
282
|
-
markAllAsRead: () => Promise<void>;
|
|
283
|
-
/**
|
|
284
|
-
* Delete a notification
|
|
285
|
-
*/
|
|
286
|
-
deleteNotification: (id: string) => Promise<void>;
|
|
287
|
-
/**
|
|
288
|
-
* Clear all notifications
|
|
289
|
-
*/
|
|
290
|
-
clearNotifications: () => void;
|
|
291
|
-
/**
|
|
292
|
-
* Reset error state
|
|
293
|
-
*/
|
|
294
|
-
resetError: () => void;
|
|
295
|
-
/**
|
|
296
|
-
* Group notifications by time periods
|
|
297
|
-
*/
|
|
298
|
-
getGroupedNotifications: () => NotificationGroup[];
|
|
299
|
-
}
|
|
300
|
-
type NotificationStore = NotificationState & NotificationActions;
|
|
301
|
-
/**
|
|
302
|
-
* Format time relative to now
|
|
303
|
-
*/
|
|
304
|
-
declare const formatTimeAgo: (date: Date) => string;
|
|
305
|
-
/**
|
|
306
|
-
* Create notification store with injected API client
|
|
307
|
-
*/
|
|
308
|
-
declare const createNotificationStore: (apiClient: NotificationApiClient) => zustand.UseBoundStore<Omit<zustand.StoreApi<NotificationStore>, "setState" | "devtools"> & {
|
|
309
|
-
setState(partial: NotificationStore | Partial<NotificationStore> | ((state: NotificationStore) => NotificationStore | Partial<NotificationStore>), replace?: false | undefined, action?: (string | {
|
|
310
|
-
[x: string]: unknown;
|
|
311
|
-
[x: number]: unknown;
|
|
312
|
-
[x: symbol]: unknown;
|
|
313
|
-
type: string;
|
|
314
|
-
}) | undefined): void;
|
|
315
|
-
setState(state: NotificationStore | ((state: NotificationStore) => NotificationStore), replace: true, action?: (string | {
|
|
316
|
-
[x: string]: unknown;
|
|
317
|
-
[x: number]: unknown;
|
|
318
|
-
[x: symbol]: unknown;
|
|
319
|
-
type: string;
|
|
320
|
-
}) | undefined): void;
|
|
321
|
-
devtools: {
|
|
322
|
-
cleanup: () => void;
|
|
323
|
-
};
|
|
324
|
-
}>;
|
|
325
|
-
|
|
326
|
-
/**
|
|
327
|
-
* Create a notification store hook with injected API client
|
|
328
|
-
* This allows different applications to provide their own API implementation
|
|
329
|
-
*
|
|
330
|
-
* @param apiClient - API client instance that implements NotificationApiClient interface
|
|
331
|
-
* @returns Zustand hook for notification store
|
|
332
|
-
*
|
|
333
|
-
* @example
|
|
334
|
-
* ```typescript
|
|
335
|
-
* import { createUseNotificationStore } from 'analytica-frontend-lib';
|
|
336
|
-
* import api from './services/apiService';
|
|
337
|
-
*
|
|
338
|
-
* const useNotificationStore = createUseNotificationStore(api);
|
|
339
|
-
* ```
|
|
340
|
-
*/
|
|
341
|
-
declare const createUseNotificationStore: (apiClient: NotificationApiClient) => zustand.UseBoundStore<Omit<zustand.StoreApi<NotificationStore>, "setState" | "devtools"> & {
|
|
342
|
-
setState(partial: NotificationStore | Partial<NotificationStore> | ((state: NotificationStore) => NotificationStore | Partial<NotificationStore>), replace?: false | undefined, action?: (string | {
|
|
343
|
-
[x: string]: unknown;
|
|
344
|
-
[x: number]: unknown;
|
|
345
|
-
[x: symbol]: unknown;
|
|
346
|
-
type: string;
|
|
347
|
-
}) | undefined): void;
|
|
348
|
-
setState(state: NotificationStore | ((state: NotificationStore) => NotificationStore), replace: true, action?: (string | {
|
|
349
|
-
[x: string]: unknown;
|
|
350
|
-
[x: number]: unknown;
|
|
351
|
-
[x: symbol]: unknown;
|
|
352
|
-
type: string;
|
|
353
|
-
}) | undefined): void;
|
|
354
|
-
devtools: {
|
|
355
|
-
cleanup: () => void;
|
|
356
|
-
};
|
|
357
|
-
}>;
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* Create a comprehensive notifications hook with formatting and navigation
|
|
361
|
-
* This hook provides all notification functionality in a single interface
|
|
362
|
-
*
|
|
363
|
-
* @param apiClient - API client instance for notifications
|
|
364
|
-
* @returns Hook with notification state, actions, and utilities
|
|
365
|
-
*/
|
|
366
|
-
declare const createUseNotifications: (apiClient: NotificationApiClient) => () => {
|
|
367
|
-
notifications: Notification[];
|
|
368
|
-
unreadCount: number;
|
|
369
|
-
loading: boolean;
|
|
370
|
-
error: string | null;
|
|
371
|
-
hasMore: boolean;
|
|
372
|
-
currentPage: number;
|
|
373
|
-
fetchNotifications: (params?: FetchNotificationsParams) => Promise<void>;
|
|
374
|
-
markAsRead: (id: string) => Promise<void>;
|
|
375
|
-
markAllAsRead: () => Promise<void>;
|
|
376
|
-
deleteNotification: (id: string) => Promise<void>;
|
|
377
|
-
clearNotifications: () => void;
|
|
378
|
-
resetError: () => void;
|
|
379
|
-
markAsReadAndNavigate: (id: string, entityType?: string, entityId?: string, onAfterNavigate?: () => void) => Promise<void>;
|
|
380
|
-
refreshNotifications: () => Promise<void>;
|
|
381
|
-
handleNavigate: (entityType?: string, entityId?: string, onAfterNavigate?: () => void) => void;
|
|
382
|
-
getActionLabel: (entityType?: string) => string | undefined;
|
|
383
|
-
getGroupedNotifications: () => NotificationGroup[];
|
|
384
|
-
getFormattedGroupedNotifications: () => {
|
|
385
|
-
notifications: {
|
|
386
|
-
time: string;
|
|
387
|
-
entityType: NotificationEntityType | undefined;
|
|
388
|
-
entityId: string | undefined;
|
|
389
|
-
id: string;
|
|
390
|
-
title: string;
|
|
391
|
-
message: string;
|
|
392
|
-
type: NotificationType;
|
|
393
|
-
isRead: boolean;
|
|
394
|
-
createdAt: Date;
|
|
395
|
-
actionLink?: string | null;
|
|
396
|
-
sender?: {
|
|
397
|
-
id: string;
|
|
398
|
-
user: {
|
|
399
|
-
id: string;
|
|
400
|
-
name: string;
|
|
401
|
-
email: string;
|
|
402
|
-
};
|
|
403
|
-
} | null;
|
|
404
|
-
activity?: {
|
|
405
|
-
id: string;
|
|
406
|
-
title: string;
|
|
407
|
-
type: string;
|
|
408
|
-
} | null;
|
|
409
|
-
goal?: {
|
|
410
|
-
id: string;
|
|
411
|
-
title: string;
|
|
412
|
-
} | null;
|
|
413
|
-
}[];
|
|
414
|
-
label: string;
|
|
415
|
-
}[];
|
|
416
|
-
};
|
|
417
|
-
/**
|
|
418
|
-
* Create a pre-configured notifications hook
|
|
419
|
-
* This is a convenience function that returns a hook ready to use
|
|
420
|
-
*
|
|
421
|
-
* @param apiClient - API client instance for notifications
|
|
422
|
-
* @returns Pre-configured useNotifications hook
|
|
423
|
-
*
|
|
424
|
-
* @example
|
|
425
|
-
* // In your app setup
|
|
426
|
-
* import { createNotificationsHook } from 'analytica-frontend-lib';
|
|
427
|
-
* import api from './services/api';
|
|
428
|
-
*
|
|
429
|
-
* export const useNotifications = createNotificationsHook(api);
|
|
430
|
-
*
|
|
431
|
-
* // Then use directly in components
|
|
432
|
-
* const { unreadCount, fetchNotifications } = useNotifications();
|
|
433
|
-
*/
|
|
434
|
-
declare const createNotificationsHook: (apiClient: NotificationApiClient) => () => {
|
|
435
|
-
notifications: Notification[];
|
|
436
|
-
unreadCount: number;
|
|
437
|
-
loading: boolean;
|
|
438
|
-
error: string | null;
|
|
439
|
-
hasMore: boolean;
|
|
440
|
-
currentPage: number;
|
|
441
|
-
fetchNotifications: (params?: FetchNotificationsParams) => Promise<void>;
|
|
442
|
-
markAsRead: (id: string) => Promise<void>;
|
|
443
|
-
markAllAsRead: () => Promise<void>;
|
|
444
|
-
deleteNotification: (id: string) => Promise<void>;
|
|
445
|
-
clearNotifications: () => void;
|
|
446
|
-
resetError: () => void;
|
|
447
|
-
markAsReadAndNavigate: (id: string, entityType?: string, entityId?: string, onAfterNavigate?: () => void) => Promise<void>;
|
|
448
|
-
refreshNotifications: () => Promise<void>;
|
|
449
|
-
handleNavigate: (entityType?: string, entityId?: string, onAfterNavigate?: () => void) => void;
|
|
450
|
-
getActionLabel: (entityType?: string) => string | undefined;
|
|
451
|
-
getGroupedNotifications: () => NotificationGroup[];
|
|
452
|
-
getFormattedGroupedNotifications: () => {
|
|
453
|
-
notifications: {
|
|
454
|
-
time: string;
|
|
455
|
-
entityType: NotificationEntityType | undefined;
|
|
456
|
-
entityId: string | undefined;
|
|
457
|
-
id: string;
|
|
458
|
-
title: string;
|
|
459
|
-
message: string;
|
|
460
|
-
type: NotificationType;
|
|
461
|
-
isRead: boolean;
|
|
462
|
-
createdAt: Date;
|
|
463
|
-
actionLink?: string | null;
|
|
464
|
-
sender?: {
|
|
465
|
-
id: string;
|
|
466
|
-
user: {
|
|
467
|
-
id: string;
|
|
468
|
-
name: string;
|
|
469
|
-
email: string;
|
|
470
|
-
};
|
|
471
|
-
} | null;
|
|
472
|
-
activity?: {
|
|
473
|
-
id: string;
|
|
474
|
-
title: string;
|
|
475
|
-
type: string;
|
|
476
|
-
} | null;
|
|
477
|
-
goal?: {
|
|
478
|
-
id: string;
|
|
479
|
-
title: string;
|
|
480
|
-
} | null;
|
|
481
|
-
}[];
|
|
482
|
-
label: string;
|
|
483
|
-
}[];
|
|
484
|
-
};
|
|
485
|
-
|
|
486
|
-
/**
|
|
487
|
-
* Map question types to display labels
|
|
488
|
-
*/
|
|
489
|
-
declare const questionTypeLabels: Record<QUESTION_TYPE, string>;
|
|
490
|
-
|
|
491
|
-
type FilterModalProps = {
|
|
492
|
-
/**
|
|
493
|
-
* Controls modal visibility
|
|
494
|
-
*/
|
|
495
|
-
isOpen: boolean;
|
|
496
|
-
/**
|
|
497
|
-
* Callback when modal should close
|
|
498
|
-
*/
|
|
499
|
-
onClose: () => void;
|
|
500
|
-
/**
|
|
501
|
-
* Filter configurations with categories
|
|
502
|
-
*/
|
|
503
|
-
filterConfigs: FilterConfig[];
|
|
504
|
-
/**
|
|
505
|
-
* Callback when filters change (temporary, before applying)
|
|
506
|
-
*/
|
|
507
|
-
onFiltersChange: (configs: FilterConfig[]) => void;
|
|
508
|
-
/**
|
|
509
|
-
* Callback when "Aplicar" button is clicked
|
|
510
|
-
*/
|
|
511
|
-
onApply: () => void;
|
|
512
|
-
/**
|
|
513
|
-
* Callback when "Limpar filtros" button is clicked
|
|
514
|
-
*/
|
|
515
|
-
onClear: () => void;
|
|
516
|
-
/**
|
|
517
|
-
* Modal title
|
|
518
|
-
* @default "Filtros"
|
|
519
|
-
*/
|
|
520
|
-
title?: string;
|
|
521
|
-
/**
|
|
522
|
-
* Modal size
|
|
523
|
-
* @default "md"
|
|
524
|
-
*/
|
|
525
|
-
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
526
|
-
/**
|
|
527
|
-
* Apply button label
|
|
528
|
-
* @default "Aplicar"
|
|
529
|
-
*/
|
|
530
|
-
applyLabel?: string;
|
|
531
|
-
/**
|
|
532
|
-
* Clear button label
|
|
533
|
-
* @default "Limpar filtros"
|
|
534
|
-
*/
|
|
535
|
-
clearLabel?: string;
|
|
536
|
-
};
|
|
537
|
-
/**
|
|
538
|
-
* FilterModal component - A modal for table filtering with CheckboxGroup
|
|
539
|
-
*
|
|
540
|
-
* Integrates Modal, CheckboxGroup, and Button components to create a
|
|
541
|
-
* complete filtering interface. Works with useTableFilter hook for URL synchronization.
|
|
542
|
-
*
|
|
543
|
-
* @example
|
|
544
|
-
* ```tsx
|
|
545
|
-
* const { filterConfigs, updateFilters, applyFilters, clearFilters } = useTableFilter(
|
|
546
|
-
* initialConfigs,
|
|
547
|
-
* { syncWithUrl: true }
|
|
548
|
-
* );
|
|
549
|
-
*
|
|
550
|
-
* <FilterModal
|
|
551
|
-
* isOpen={isOpen}
|
|
552
|
-
* onClose={() => setIsOpen(false)}
|
|
553
|
-
* filterConfigs={filterConfigs}
|
|
554
|
-
* onFiltersChange={updateFilters}
|
|
555
|
-
* onApply={() => {
|
|
556
|
-
* applyFilters();
|
|
557
|
-
* setIsOpen(false);
|
|
558
|
-
* }}
|
|
559
|
-
* onClear={clearFilters}
|
|
560
|
-
* />
|
|
561
|
-
* ```
|
|
562
|
-
*/
|
|
563
|
-
declare const FilterModal: ({ isOpen, onClose, filterConfigs, onFiltersChange, onApply, onClear, title, size, applyLabel, clearLabel, }: FilterModalProps) => react_jsx_runtime.JSX.Element;
|
|
564
|
-
|
|
565
|
-
interface AccordionGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
566
|
-
type?: 'single' | 'multiple';
|
|
567
|
-
defaultValue?: string | string[];
|
|
568
|
-
value?: string | string[];
|
|
569
|
-
onValueChange?: (value: string | string[]) => void;
|
|
570
|
-
collapsible?: boolean;
|
|
571
|
-
children: ReactNode;
|
|
572
|
-
}
|
|
573
|
-
declare const AccordionGroup: react.ForwardRefExoticComponent<AccordionGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
574
|
-
|
|
575
|
-
declare const getStatusBadge: (status?: "correct" | "incorrect") => react_jsx_runtime.JSX.Element | null;
|
|
576
|
-
interface QuizVariantInterface {
|
|
577
|
-
paddingBottom?: string;
|
|
578
|
-
}
|
|
579
|
-
declare const QuizAlternative: ({ paddingBottom }: QuizVariantInterface) => react_jsx_runtime.JSX.Element;
|
|
580
|
-
declare const QuizMultipleChoice: ({ paddingBottom }: QuizVariantInterface) => react_jsx_runtime.JSX.Element;
|
|
581
|
-
declare const QuizDissertative: ({ paddingBottom }: QuizVariantInterface) => react_jsx_runtime.JSX.Element;
|
|
582
|
-
declare const QuizTrueOrFalse: ({ paddingBottom }: QuizVariantInterface) => react_jsx_runtime.JSX.Element;
|
|
583
|
-
declare const QuizConnectDots: ({ paddingBottom }: QuizVariantInterface) => react_jsx_runtime.JSX.Element;
|
|
584
|
-
declare const QuizImageQuestion: ({ paddingBottom }: QuizVariantInterface) => react_jsx_runtime.JSX.Element;
|
|
585
|
-
|
|
586
|
-
declare const QuizHeaderResult: react.ForwardRefExoticComponent<{
|
|
587
|
-
className?: string;
|
|
588
|
-
} & react.RefAttributes<HTMLDivElement>>;
|
|
589
|
-
declare const QuizResultHeaderTitle: react.ForwardRefExoticComponent<{
|
|
590
|
-
className?: string;
|
|
591
|
-
showBadge?: boolean;
|
|
592
|
-
onRepeat?: () => void;
|
|
593
|
-
canRetry?: boolean;
|
|
594
|
-
} & react.RefAttributes<HTMLDivElement>>;
|
|
595
|
-
declare const QuizResultTitle: react.ForwardRefExoticComponent<{
|
|
596
|
-
className?: string;
|
|
597
|
-
} & react.RefAttributes<HTMLParagraphElement>>;
|
|
598
|
-
declare const QuizResultPerformance: react.ForwardRefExoticComponent<{
|
|
599
|
-
showDetails?: boolean;
|
|
600
|
-
} & react.RefAttributes<HTMLDivElement>>;
|
|
601
|
-
declare const QuizListResult: react.ForwardRefExoticComponent<{
|
|
602
|
-
className?: string;
|
|
603
|
-
onSubjectClick?: (subject: string) => void;
|
|
604
|
-
} & react.RefAttributes<HTMLDivElement>>;
|
|
605
|
-
declare const QuizListResultByMateria: ({ subject, onQuestionClick, subjectName, }: {
|
|
606
|
-
subject: string;
|
|
607
|
-
onQuestionClick: (question: Question) => void;
|
|
608
|
-
subjectName?: string;
|
|
609
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
610
|
-
|
|
611
|
-
/**
|
|
612
|
-
* Interface representing user authentication tokens.
|
|
613
|
-
*/
|
|
614
|
-
interface AuthTokens {
|
|
615
|
-
token: string;
|
|
616
|
-
refreshToken: string;
|
|
617
|
-
[key: string]: unknown;
|
|
618
|
-
}
|
|
619
|
-
/**
|
|
620
|
-
* Interface representing a user profile.
|
|
621
|
-
*/
|
|
622
|
-
interface UserProfile {
|
|
623
|
-
id: string;
|
|
624
|
-
name?: string;
|
|
625
|
-
email?: string;
|
|
626
|
-
[key: string]: unknown;
|
|
627
|
-
}
|
|
628
|
-
/**
|
|
629
|
-
* Interface representing a user.
|
|
630
|
-
*/
|
|
631
|
-
interface User {
|
|
632
|
-
id: string;
|
|
633
|
-
name?: string;
|
|
634
|
-
email?: string;
|
|
635
|
-
[key: string]: unknown;
|
|
636
|
-
}
|
|
637
|
-
/**
|
|
638
|
-
* Interface representing session information from the API.
|
|
639
|
-
*/
|
|
640
|
-
interface SessionInfo {
|
|
641
|
-
sessionId: string;
|
|
642
|
-
userId: string;
|
|
643
|
-
profileId: string;
|
|
644
|
-
institutionId: string;
|
|
645
|
-
schoolId: string;
|
|
646
|
-
schoolYearId: string;
|
|
647
|
-
classId: string;
|
|
648
|
-
subjects: string[];
|
|
649
|
-
schools: string[];
|
|
650
|
-
[key: string]: unknown;
|
|
651
|
-
}
|
|
652
|
-
/**
|
|
653
|
-
* Interface defining the authentication state.
|
|
654
|
-
*/
|
|
655
|
-
interface AuthState {
|
|
656
|
-
user: User | null;
|
|
657
|
-
tokens: AuthTokens | null;
|
|
658
|
-
isAuthenticated: boolean;
|
|
659
|
-
profiles: UserProfile[];
|
|
660
|
-
selectedProfile: UserProfile | null;
|
|
661
|
-
sessionInfo: SessionInfo | null;
|
|
662
|
-
setUser: (user: User | null) => void;
|
|
663
|
-
setTokens: (tokens: AuthTokens | null) => void;
|
|
664
|
-
setProfiles: (profiles: UserProfile[]) => void;
|
|
665
|
-
setSelectedProfile: (profile: UserProfile | null) => void;
|
|
666
|
-
setSessionInfo: (sessionInfo: SessionInfo | null) => void;
|
|
667
|
-
signIn: (user: User, tokens: AuthTokens, profiles: UserProfile[]) => void;
|
|
668
|
-
signOut: () => void;
|
|
669
|
-
updateUserSession: (sessionData: Partial<User>) => void;
|
|
670
|
-
}
|
|
671
|
-
/**
|
|
672
|
-
* Zustand store for managing authentication state with persistence.
|
|
673
|
-
*/
|
|
674
|
-
declare const useAuthStore: zustand.UseBoundStore<Omit<zustand.StoreApi<AuthState>, "persist"> & {
|
|
675
|
-
persist: {
|
|
676
|
-
setOptions: (options: Partial<zustand_middleware.PersistOptions<AuthState, unknown>>) => void;
|
|
677
|
-
clearStorage: () => void;
|
|
678
|
-
rehydrate: () => Promise<void> | void;
|
|
679
|
-
hasHydrated: () => boolean;
|
|
680
|
-
onHydrate: (fn: (state: AuthState) => void) => () => void;
|
|
681
|
-
onFinishHydration: (fn: (state: AuthState) => void) => () => void;
|
|
682
|
-
getOptions: () => Partial<zustand_middleware.PersistOptions<AuthState, unknown>>;
|
|
683
|
-
};
|
|
684
|
-
}>;
|
|
685
|
-
|
|
686
|
-
/**
|
|
687
|
-
* Hook que gerencia a inicialização da aplicação e funções de autenticação
|
|
688
|
-
* Combina a lógica de obtenção do institutionId, inicialização do app store e funções de auth
|
|
689
|
-
*
|
|
690
|
-
* @param {UseAppInitializationProps} props - Propriedades do hook
|
|
691
|
-
* @returns {object} Estado da inicialização, funções relacionadas e funções de autenticação
|
|
692
|
-
*/
|
|
693
|
-
declare function useAppInitialization(): {
|
|
694
|
-
getInstitutionId: string | null;
|
|
695
|
-
initialize: (id: string | null) => void;
|
|
696
|
-
initialized: boolean;
|
|
697
|
-
institutionId: string | null;
|
|
698
|
-
authFunctions: {
|
|
699
|
-
checkAuth: () => Promise<boolean>;
|
|
700
|
-
signOut: () => void;
|
|
701
|
-
getUser: () => User | null;
|
|
702
|
-
getSessionInfo: () => SessionInfo | null;
|
|
703
|
-
getTokens: () => AuthTokens | null;
|
|
704
|
-
};
|
|
705
|
-
};
|
|
706
|
-
|
|
707
|
-
/**
|
|
708
|
-
* Interface para as configurações do hook useAppContent
|
|
709
|
-
*/
|
|
710
|
-
interface UseAppContentConfig {
|
|
711
|
-
/** API instance para configuração */
|
|
712
|
-
api: {
|
|
713
|
-
get: (endpoint: string, config: unknown) => Promise<unknown>;
|
|
714
|
-
};
|
|
715
|
-
/** ID da instituição obtido externamente */
|
|
716
|
-
getInstitutionId: string | null | undefined;
|
|
717
|
-
/** Função de inicialização obtida externamente */
|
|
718
|
-
initialize: (institutionId: string) => void;
|
|
719
|
-
/** Estado de inicialização obtido externamente */
|
|
720
|
-
initialized: boolean;
|
|
721
|
-
/** Endpoint para autenticação via URL */
|
|
722
|
-
endpoint?: string;
|
|
723
|
-
/** Número máximo de tentativas em caso de erro */
|
|
724
|
-
maxRetries?: number;
|
|
725
|
-
/** Delay entre tentativas em ms */
|
|
726
|
-
retryDelay?: number;
|
|
727
|
-
/** Callback para limpeza de parâmetros da URL */
|
|
728
|
-
onClearParamsFromURL?: () => void;
|
|
729
|
-
/** Callback para tratamento de erro */
|
|
730
|
-
onError?: (error: unknown) => void;
|
|
731
|
-
/** Callback para navegação quando página não encontrada */
|
|
732
|
-
onNotFoundNavigation?: () => void;
|
|
733
|
-
}
|
|
734
|
-
/**
|
|
735
|
-
* Hook que encapsula toda a lógica do componente AppContent
|
|
736
|
-
* Centraliza a configuração de autenticação, tema, navegação e inicialização
|
|
737
|
-
*
|
|
738
|
-
* @param {UseAppContentConfig} config - Configurações do hook
|
|
739
|
-
* @returns {object} Funções e estado necessários para o AppContent
|
|
740
|
-
*/
|
|
741
|
-
declare function useAppContent(config: UseAppContentConfig): {
|
|
742
|
-
handleNotFoundNavigation: () => void;
|
|
743
|
-
urlAuthConfig: {
|
|
744
|
-
setTokens: (tokens: AuthTokens | null) => void;
|
|
745
|
-
setSessionInfo: (sessionInfo: SessionInfo | null) => void;
|
|
746
|
-
setSelectedProfile: (profile: {
|
|
747
|
-
id: string;
|
|
748
|
-
}) => void;
|
|
749
|
-
api: {
|
|
750
|
-
get: (endpoint: string, config: unknown) => Promise<unknown>;
|
|
751
|
-
};
|
|
752
|
-
endpoint: string;
|
|
753
|
-
clearParamsFromURL: () => void;
|
|
754
|
-
maxRetries: number;
|
|
755
|
-
retryDelay: number;
|
|
756
|
-
onError: (error: unknown) => void;
|
|
757
|
-
};
|
|
758
|
-
institutionIdToUse: string | null | undefined;
|
|
759
|
-
};
|
|
760
|
-
|
|
761
|
-
declare function useInstitutionId(): string | null;
|
|
762
|
-
|
|
763
|
-
/**
|
|
764
|
-
* Interface defining the application state
|
|
765
|
-
*/
|
|
766
|
-
interface AppState {
|
|
767
|
-
institutionId: string | null;
|
|
768
|
-
initialized: boolean;
|
|
769
|
-
setInstitutionId: (institutionId: string | null) => void;
|
|
770
|
-
setInitialized: (initialized: boolean) => void;
|
|
771
|
-
initialize: (id: string | null) => void;
|
|
772
|
-
}
|
|
773
|
-
/**
|
|
774
|
-
* Zustand store for managing application-wide state with persistence
|
|
775
|
-
* @returns {AppState} The application state store
|
|
776
|
-
*/
|
|
777
|
-
declare const useAppStore: zustand.UseBoundStore<Omit<zustand.StoreApi<AppState>, "persist"> & {
|
|
778
|
-
persist: {
|
|
779
|
-
setOptions: (options: Partial<zustand_middleware.PersistOptions<AppState, unknown>>) => void;
|
|
780
|
-
clearStorage: () => void;
|
|
781
|
-
rehydrate: () => Promise<void> | void;
|
|
782
|
-
hasHydrated: () => boolean;
|
|
783
|
-
onHydrate: (fn: (state: AppState) => void) => () => void;
|
|
784
|
-
onFinishHydration: (fn: (state: AppState) => void) => () => void;
|
|
785
|
-
getOptions: () => Partial<zustand_middleware.PersistOptions<AppState, unknown>>;
|
|
786
|
-
};
|
|
787
|
-
}>;
|
|
788
|
-
|
|
789
|
-
export { AccordionGroup, type AuthState, CheckboxList, CheckboxListItem, FetchNotificationsParams, FilterConfig, FilterModal, type FilterModalProps, ImageUpload, type ImageUploadProps, Notification, type NotificationActions, NotificationApiClient, NotificationEntityType, NotificationGroup, type NotificationState, type NotificationStore, NotificationType, QUESTION_TYPE, Question, QuizAlternative, QuizConnectDots, QuizDissertative, QuizHeaderResult, QuizImageQuestion, QuizListResult, QuizListResultByMateria, QuizMultipleChoice, QuizResultHeaderTitle, QuizResultPerformance, QuizResultTitle, QuizTrueOrFalse, type RecipientItem, createNotificationStore, createNotificationsHook, createUseNotificationStore, createUseNotifications, formatTimeAgo, getStatusBadge, questionTypeLabels, useAlertFormStore, useAppContent, useAppInitialization, useAppStore, useAuthStore, useInstitutionId };
|
|
1
|
+
import './styles.css';
|
|
2
|
+
export { default as Text } from './components/Text/Text';
|
|
3
|
+
export { default as Button } from './components/Button/Button';
|
|
4
|
+
export { default as Badge } from './components/Badge/Badge';
|
|
5
|
+
export { default as Alert } from './components/Alert/Alert';
|
|
6
|
+
export { default as LatexRenderer } from './components/LatexRenderer/LatexRenderer';
|
|
7
|
+
export type { LatexRendererProps } from './components/LatexRenderer/LatexRenderer';
|
|
8
|
+
export { default as IconButton } from './components/IconButton/IconButton';
|
|
9
|
+
export { default as IconRoundedButton } from './components/IconRoundedButton/IconRoundedButton';
|
|
10
|
+
export { default as NavButton } from './components/NavButton/NavButton';
|
|
11
|
+
export { default as SelectionButton } from './components/SelectionButton/SelectionButton';
|
|
12
|
+
export { default as CheckBox } from './components/CheckBox/CheckBox';
|
|
13
|
+
export { default as ImageUpload } from './components/ImageUpload/ImageUpload';
|
|
14
|
+
export type { ImageUploadProps } from './components/ImageUpload/ImageUpload';
|
|
15
|
+
export { default as CheckboxList, CheckboxListItem, } from './components/CheckBox/CheckboxList';
|
|
16
|
+
export { CheckboxGroup, type CategoryConfig, type Item, } from './components/CheckBoxGroup/CheckBoxGroup';
|
|
17
|
+
export { AlertsManager } from './components/AlertManager/AlertsManager';
|
|
18
|
+
export { useAlertFormStore } from './components/AlertManager/useAlertForm';
|
|
19
|
+
export { AlertsManagerView } from './components/AlertManagerView/AlertsManagerView';
|
|
20
|
+
export type { AlertViewData, RecipientStatus, } from './components/AlertManagerView/AlertsManagerView';
|
|
21
|
+
export type { AlertsConfig, AlertData, RecipientItem, } from './components/AlertManager/types';
|
|
22
|
+
export { default as Radio, RadioGroup, RadioGroupItem, } from './components/Radio/Radio';
|
|
23
|
+
export { default as TextArea } from './components/TextArea/TextArea';
|
|
24
|
+
export { default as Toast } from './components/Toast/Toast';
|
|
25
|
+
export { default as Toaster } from './components/Toast/utils/Toaster';
|
|
26
|
+
export { default as Divider } from './components/Divider/Divider';
|
|
27
|
+
export { default as useToastStore } from './components/Toast/utils/ToastStore';
|
|
28
|
+
export { default as Input } from './components/Input/Input';
|
|
29
|
+
export { default as Search } from './components/Search/Search';
|
|
30
|
+
export { default as Chips } from './components/Chips/Chips';
|
|
31
|
+
export { default as ProgressBar } from './components/ProgressBar/ProgressBar';
|
|
32
|
+
export { default as ProgressCircle } from './components/ProgressCircle/ProgressCircle';
|
|
33
|
+
export { default as Stepper } from './components/Stepper/Stepper';
|
|
34
|
+
export { default as Calendar } from './components/Calendar/Calendar';
|
|
35
|
+
export { default as Modal } from './components/Modal/Modal';
|
|
36
|
+
export { default as CorrectActivityModal } from './components/CorrectActivityModal/CorrectActivityModal';
|
|
37
|
+
export type { CorrectActivityModalProps } from './components/CorrectActivityModal/CorrectActivityModal';
|
|
38
|
+
export { QUESTION_STATUS as CORRECTION_QUESTION_STATUS, getQuestionStatusBadgeConfig, } from './types/studentActivityCorrection';
|
|
39
|
+
export type { QuestionStatus as CorrectionQuestionStatus, StudentQuestion, StudentActivityCorrectionData, } from './types/studentActivityCorrection';
|
|
40
|
+
export { default as FileAttachment } from './components/FileAttachment/FileAttachment';
|
|
41
|
+
export { generateFileId, formatFileSize, } from './components/FileAttachment/FileAttachment';
|
|
42
|
+
export type { FileAttachmentProps, AttachedFile, } from './components/FileAttachment/FileAttachment';
|
|
43
|
+
export { AlertDialog } from './components/AlertDialog/AlertDialog';
|
|
44
|
+
export { default as LoadingModal } from './components/LoadingModal/loadingModal';
|
|
45
|
+
export { default as NotificationCard } from './components/NotificationCard/NotificationCard';
|
|
46
|
+
export { ThemeToggle } from './components/ThemeToggle/ThemeToggle';
|
|
47
|
+
export type { NotificationItem, NotificationGroup, } from './components/NotificationCard/NotificationCard';
|
|
48
|
+
export { SubjectInfo, getSubjectInfo, getSubjectIcon, getSubjectColorClass, getSubjectName, } from './components/SubjectInfo/SubjectInfo';
|
|
49
|
+
export type { SubjectData, IconProps as SubjectIconProps, } from './components/SubjectInfo/SubjectInfo';
|
|
50
|
+
export { createNotificationStore, formatTimeAgo, } from './store/notificationStore';
|
|
51
|
+
export { createUseNotificationStore } from './hooks/useNotificationStore';
|
|
52
|
+
export { createUseNotifications, createNotificationsHook, } from './hooks/useNotifications';
|
|
53
|
+
export { NotificationEntityType } from './types/notifications';
|
|
54
|
+
export { questionTypeLabels } from './types/questionTypes';
|
|
55
|
+
export type { Notification, NotificationType, BackendNotification, BackendNotificationsResponse, NotificationsResponse, FetchNotificationsParams, NotificationApiClient, } from './types/notifications';
|
|
56
|
+
export type { NotificationState, NotificationActions, NotificationStore, } from './store/notificationStore';
|
|
57
|
+
export { useThemeStore } from './store/themeStore';
|
|
58
|
+
export type { ThemeStore, ThemeState, ThemeActions } from './store/themeStore';
|
|
59
|
+
export { default as DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, ProfileMenuTrigger, ProfileMenuFooter, ProfileMenuHeader, ProfileMenuInfo, ProfileMenuSection, MenuLabel, DropdownMenuSeparator, ProfileToggleTheme, } from './components/DropdownMenu/DropdownMenu';
|
|
60
|
+
export { default as Table, TableHeader, TableBody, TableRow, TableHead, TableCell, TableFooter, TableCaption, TablePagination, useTableSort, } from './components/Table/Table';
|
|
61
|
+
export type { UseTableSortOptions, SortDirection, } from './components/Table/Table';
|
|
62
|
+
export { FilterModal, useTableFilter } from './components/Filter';
|
|
63
|
+
export type { FilterModalProps, FilterConfig, UseTableFilterOptions, UseTableFilterReturn, } from './components/Filter';
|
|
64
|
+
export { ActivityFilters, ActivityFiltersPopover, } from './components/ActivityFilters/ActivityFilters';
|
|
65
|
+
export type { ActivityFiltersProps, ActivityFiltersPopoverProps, } from './components/ActivityFilters/ActivityFilters';
|
|
66
|
+
export type { ActivityFiltersData, Bank, KnowledgeArea, KnowledgeItem, KnowledgeStructureState, } from './types/activityFilters';
|
|
67
|
+
export type { TablePaginationProps } from './components/Table/Table';
|
|
68
|
+
export { TableProvider } from './components/TableProvider';
|
|
69
|
+
export type { ColumnConfig, TableParams, PaginationConfig, TableProviderProps, EmptyStateConfig, } from './components/TableProvider';
|
|
70
|
+
export { default as Select, SelectValue, SelectTrigger, SelectContent, SelectItem, } from './components/Select/Select';
|
|
71
|
+
export { default as Menu, MenuItem, MenuOverflow, MenuContent, } from './components/Menu/Menu';
|
|
72
|
+
export { CardActivitiesResults, CardPerformance, CardProgress, CardQuestions, CardResults, CardSimulado, CardStatus, CardTopic, CardTest, CardSimulationHistory, CardAudio, } from './components/Card/Card';
|
|
73
|
+
export { StatisticsCard } from './components/StatisticsCard/StatisticsCard';
|
|
74
|
+
export { Skeleton, SkeletonText, SkeletonCircle, SkeletonRectangle, SkeletonRounded, SkeletonCard, SkeletonList, SkeletonTable, } from './components/Skeleton/Skeleton';
|
|
75
|
+
export { default as NotFound } from './components/NotFound/NotFound';
|
|
76
|
+
export { default as NoSearchResult } from './components/NoSearchResult/NoSearchResult';
|
|
77
|
+
export type { NoSearchResultProps } from './components/NoSearchResult/NoSearchResult';
|
|
78
|
+
export { default as EmptyState } from './components/EmptyState/EmptyState';
|
|
79
|
+
export type { EmptyStateProps } from './components/EmptyState/EmptyState';
|
|
80
|
+
export { default as VideoPlayer } from './components/VideoPlayer/VideoPlayer';
|
|
81
|
+
export { default as Whiteboard } from './components/Whiteboard/Whiteboard';
|
|
82
|
+
export { default as DownloadButton } from './components/DownloadButton/DownloadButton';
|
|
83
|
+
export type { DownloadContent, DownloadButtonProps, } from './components/DownloadButton/DownloadButton';
|
|
84
|
+
export type { AuthContextType } from './components/Auth/Auth';
|
|
85
|
+
export { AuthProvider, ProtectedRoute, PublicRoute, withAuth, useAuth, useAuthGuard, useRouteAuth, getRootDomain, } from './components/Auth/Auth';
|
|
86
|
+
export { CardAccordation, AccordionGroup, } from './components/Accordation/index';
|
|
87
|
+
export { AlternativesList } from './components/Alternative/Alternative';
|
|
88
|
+
export { createZustandAuthAdapter } from './components/Auth/zustandAuthAdapter';
|
|
89
|
+
export { useUrlAuthentication } from './components/Auth/useUrlAuthentication';
|
|
90
|
+
export { useApiConfig } from './components/Auth/useApiConfig';
|
|
91
|
+
export { QuizTitle, Quiz, QuizHeader, QuizContent, QuizQuestionList, QuizFooter, } from './components/Quiz/Quiz';
|
|
92
|
+
export { getStatusBadge, QuizImageQuestion, QuizAlternative, QuizMultipleChoice, QuizDissertative, QuizTrueOrFalse, QuizConnectDots, } from './components/Quiz/QuizContent';
|
|
93
|
+
export { QuizHeaderResult, QuizListResult, QuizResultHeaderTitle, QuizResultTitle, QuizResultPerformance, QuizListResultByMateria, } from './components/Quiz/QuizResult';
|
|
94
|
+
export { useQuizStore } from './components/Quiz/useQuizStore';
|
|
95
|
+
export { QUESTION_DIFFICULTY, QUESTION_TYPE, QUESTION_STATUS, ANSWER_STATUS, SUBTYPE_ENUM, QUIZ_TYPE, } from './components/Quiz/useQuizStore';
|
|
96
|
+
export { SubjectEnum } from './enums/SubjectEnum';
|
|
97
|
+
export type { QuestionResult, Question, UserAnswerItem, QuizState, QuizInterface, } from './components/Quiz/useQuizStore';
|
|
98
|
+
export { MultipleChoiceList } from './components/MultipleChoice/MultipleChoice';
|
|
99
|
+
export { default as IconRender } from './components/IconRender/IconRender';
|
|
100
|
+
export { useMobile, getDeviceType } from './hooks/useMobile';
|
|
101
|
+
export type { DeviceType } from './hooks/useMobile';
|
|
102
|
+
export { useTheme } from './hooks/useTheme';
|
|
103
|
+
export type { ThemeMode } from './hooks/useTheme';
|
|
104
|
+
export { BreadcrumbMenu } from './components/BreadcrumbMenu/BreadcrumbMenu';
|
|
105
|
+
export type { BreadcrumbMenuProps } from './components/BreadcrumbMenu/BreadcrumbMenu';
|
|
106
|
+
export { useBreadcrumbBuilder } from './components/BreadcrumbMenu/useBreadcrumbBuilder';
|
|
107
|
+
export type { BreadcrumbBuilderConfig, BreadcrumbLevel, BreadcrumbLevelWithData, BreadcrumbLevelStatic, } from './components/BreadcrumbMenu/useBreadcrumbBuilder';
|
|
108
|
+
export { useUrlParams } from './components/BreadcrumbMenu/useUrlParams';
|
|
109
|
+
export type { UrlParamsConfig } from './components/BreadcrumbMenu/useUrlParams';
|
|
110
|
+
export { useBreadcrumb } from './components/BreadcrumbMenu/breadcrumbStore';
|
|
111
|
+
export type { BreadcrumbItem } from './components/BreadcrumbMenu/breadcrumbStore';
|
|
112
|
+
export { useAppInitialization } from './hooks/useAppInitialization';
|
|
113
|
+
export { useAppContent } from './hooks/useAppContent';
|
|
114
|
+
export { useInstitutionId } from './hooks/useInstitution';
|
|
115
|
+
export { useAuthStore } from './store/authStore';
|
|
116
|
+
export { useAppStore } from './store/appStore';
|
|
117
|
+
export type { AuthState } from './store/authStore';
|
|
118
|
+
export { cn, getSubjectColorWithOpacity, syncDropdownState, getSelectedIdsFromCategories, toggleArrayItem, toggleSingleValue, } from './utils/utils';
|
|
119
|
+
export { STUDENT_ACTIVITY_STATUS, getStatusBadgeConfig, formatTimeSpent, formatQuestionNumbers, formatDateToBrazilian, } from './types/activityDetails';
|
|
120
|
+
export type { StudentActivityStatus, ActivityStudentData, Pagination as ActivityDetailsPagination, GeneralStats, QuestionStats, ActivityMetadata, ActivityDetailsData, ActivityDetailsQueryParams, ActivityStudentTableItem, StatusBadgeConfig, } from './types/activityDetails';
|
|
121
|
+
export { ActivityDetails } from './components/ActivityDetails/ActivityDetails';
|
|
122
|
+
export type { ActivityDetailsProps } from './components/ActivityDetails/ActivityDetails';
|
|
123
|
+
export { Support, TicketModal, getCategoryIcon, supportSchema, } from './components/Support';
|
|
124
|
+
export type { SupportProps, TicketModalProps, SupportFormData, } from './components/Support';
|
|
125
|
+
export { SupportStatus, SupportCategory, getStatusBadgeAction, getStatusText, getCategoryText, mapApiStatusToInternal, mapInternalStatusToApi, } from './types/support';
|
|
126
|
+
export type { TicketStatus, ProblemType, TabType, SupportResponse, SupportTicket, CreateSupportTicketRequest, CreateSupportTicketResponse, SupportTicketAPI, SupportPagination, GetSupportTicketsResponse, SupportAnswerAPI, GetSupportAnswersResponse, SubmitSupportAnswerRequest, SubmitSupportAnswerResponse, SupportApiClient, } from './types/support';
|
|
127
|
+
//# sourceMappingURL=index.d.ts.map
|