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/Text/index.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ElementType, ReactNode, ComponentPropsWithoutRef } from 'react';
|
|
3
|
-
|
|
1
|
+
import { ComponentPropsWithoutRef, ElementType, ReactNode } from 'react';
|
|
4
2
|
/**
|
|
5
3
|
* Base text component props
|
|
6
4
|
*/
|
|
@@ -53,6 +51,6 @@ type TextProps<T extends ElementType = 'p'> = BaseTextProps & {
|
|
|
53
51
|
* </Text>
|
|
54
52
|
* ```
|
|
55
53
|
*/
|
|
56
|
-
declare const Text: <T extends ElementType = "p">({ children, size, weight, color, as, className, ...props }: TextProps<T>) =>
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
declare const Text: <T extends ElementType = "p">({ children, size, weight, color, as, className, ...props }: TextProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
export default Text;
|
|
56
|
+
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzE;;GAEG;AACH,KAAK,aAAa,GAAG;IACnB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,wBAAwB;IACxB,IAAI,CAAC,EACD,KAAK,GACL,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,CAAC;IACV,0BAA0B;IAC1B,MAAM,CAAC,EACH,UAAU,GACV,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,MAAM,GACN,WAAW,GACX,OAAO,CAAC;IACZ,8EAA8E;IAC9E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,KAAK,SAAS,CAAC,CAAC,SAAS,WAAW,GAAG,GAAG,IAAI,aAAa,GAAG;IAC5D,yBAAyB;IACzB,EAAE,CAAC,EAAE,CAAC,CAAC;CACR,GAAG,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,MAAM,aAAa,CAAC,CAAC;AAE3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,QAAA,MAAM,IAAI,GAAI,CAAC,SAAS,WAAW,GAAG,GAAG,EAAE,4DAQxC,SAAS,CAAC,CAAC,CAAC,4CA8Cd,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
package/dist/TextArea/index.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ReactNode, TextareaHTMLAttributes } from 'react';
|
|
3
|
-
|
|
1
|
+
import { TextareaHTMLAttributes, ReactNode } from 'react';
|
|
4
2
|
/**
|
|
5
3
|
* TextArea size variants
|
|
6
4
|
*/
|
|
@@ -12,7 +10,7 @@ type TextAreaState = 'default' | 'hovered' | 'focused' | 'invalid' | 'disabled';
|
|
|
12
10
|
/**
|
|
13
11
|
* TextArea component props interface
|
|
14
12
|
*/
|
|
15
|
-
type TextAreaProps = {
|
|
13
|
+
export type TextAreaProps = {
|
|
16
14
|
/** Label text to display above the textarea */
|
|
17
15
|
label?: ReactNode;
|
|
18
16
|
/** Size variant of the textarea */
|
|
@@ -52,7 +50,7 @@ type TextAreaProps = {
|
|
|
52
50
|
* <TextArea disabled label="Read-only field" />
|
|
53
51
|
* ```
|
|
54
52
|
*/
|
|
55
|
-
declare const TextArea: react.ForwardRefExoticComponent<{
|
|
53
|
+
declare const TextArea: import("react").ForwardRefExoticComponent<{
|
|
56
54
|
/** Label text to display above the textarea */
|
|
57
55
|
label?: ReactNode;
|
|
58
56
|
/** Size variant of the textarea */
|
|
@@ -69,6 +67,6 @@ declare const TextArea: react.ForwardRefExoticComponent<{
|
|
|
69
67
|
labelClassName?: string;
|
|
70
68
|
/** Show character count when maxLength is provided */
|
|
71
69
|
showCharacterCount?: boolean;
|
|
72
|
-
} & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & react.RefAttributes<HTMLTextAreaElement>>;
|
|
73
|
-
|
|
74
|
-
|
|
70
|
+
} & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
71
|
+
export default TextArea;
|
|
72
|
+
//# sourceMappingURL=TextArea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,SAAS,EAMV,MAAM,OAAO,CAAC;AAKf;;GAEG;AACH,KAAK,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,YAAY,CAAC;AAEhE;;GAEG;AACH,KAAK,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AA6DhF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,+CAA+C;IAC/C,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,mCAAmC;IACnC,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,mCAAmC;IACnC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,+BAA+B;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6BAA6B;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,GAAG,IAAI,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC,CAAC;AAE9D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,QAAA,MAAM,QAAQ;IAxCZ,+CAA+C;YACvC,SAAS;IACjB,mCAAmC;WAC5B,YAAY;IACnB,mCAAmC;YAC3B,aAAa;IACrB,+BAA+B;mBAChB,MAAM;IACrB,6BAA6B;oBACb,MAAM;IACtB,6BAA6B;gBACjB,MAAM;IAClB,wBAAwB;qBACP,MAAM;IACvB,sDAAsD;yBACjC,OAAO;mHAmK7B,CAAC;AAIF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { T as ThemeMode } from '../themeStore-P2X64zC-.js';
|
|
3
|
-
import 'zustand/middleware';
|
|
4
|
-
import 'zustand';
|
|
5
|
-
|
|
1
|
+
import type { ThemeMode } from '@/hooks/useTheme';
|
|
6
2
|
interface ThemeToggleProps {
|
|
7
3
|
variant?: 'default' | 'with-save';
|
|
8
4
|
onToggle?: (theme: ThemeMode) => void;
|
|
9
5
|
}
|
|
10
|
-
declare const ThemeToggle: ({ variant, onToggle, }: ThemeToggleProps) =>
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
export declare const ThemeToggle: ({ variant, onToggle, }: ThemeToggleProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=ThemeToggle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeToggle.d.ts","sourceRoot":"","sources":["../../../src/components/ThemeToggle/ThemeToggle.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGlD,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAClC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;CACvC;AAED,eAAO,MAAM,WAAW,GAAI,wBAGzB,gBAAgB,4CAoElB,CAAC"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as zustand from 'zustand';
|
|
2
|
-
|
|
3
1
|
type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'default';
|
|
4
2
|
type ToastData = {
|
|
5
3
|
id: string;
|
|
@@ -14,6 +12,6 @@ type ToastStore = {
|
|
|
14
12
|
addToast: (toast: Omit<ToastData, 'id'>) => void;
|
|
15
13
|
removeToast: (id: string) => void;
|
|
16
14
|
};
|
|
17
|
-
declare const useToastStore: zustand.UseBoundStore<zustand.StoreApi<ToastStore>>;
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
declare const useToastStore: import("zustand").UseBoundStore<import("zustand").StoreApi<ToastStore>>;
|
|
16
|
+
export default useToastStore;
|
|
17
|
+
//# sourceMappingURL=ToastStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastStore.d.ts","sourceRoot":"","sources":["../../../../src/components/Toast/utils/ToastStore.ts"],"names":[],"mappings":"AAEA,KAAK,aAAa,GACd,UAAU,GACV,YAAY,GACZ,WAAW,GACX,aAAa,GACb,eAAe,GACf,cAAc,GACd,SAAS,CAAC;AAEd,KAAK,SAAS,GAAG;IACf,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IAC/B,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;IACxC,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,KAAK,IAAI,CAAC;IACjD,WAAW,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,QAAA,MAAM,aAAa,yEAchB,CAAC;AAEJ,eAAe,aAAa,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare const Toaster: () => react_jsx_runtime.JSX.Element;
|
|
4
|
-
declare const useToast: () => {
|
|
1
|
+
declare const Toaster: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const useToast: () => {
|
|
5
3
|
addToast: (toast: Omit<{
|
|
6
4
|
id: string;
|
|
7
5
|
title: string;
|
|
@@ -12,5 +10,5 @@ declare const useToast: () => {
|
|
|
12
10
|
}, "id">) => void;
|
|
13
11
|
removeToast: (id: string) => void;
|
|
14
12
|
};
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
export default Toaster;
|
|
14
|
+
//# sourceMappingURL=Toaster.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toaster.d.ts","sourceRoot":"","sources":["../../../../src/components/Toast/utils/Toaster.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,OAAO,+CAmBZ,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;CAKpB,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
package/dist/Toast/index.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import { HTMLAttributes } from 'react';
|
|
3
|
-
|
|
4
2
|
type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'default';
|
|
5
3
|
type ToastProps = {
|
|
6
4
|
title: string;
|
|
@@ -12,6 +10,6 @@ type ToastProps = {
|
|
|
12
10
|
action?: 'warning' | 'success' | 'info';
|
|
13
11
|
position?: ToastPosition;
|
|
14
12
|
} & HTMLAttributes<HTMLDivElement>;
|
|
15
|
-
declare const Toast: ({ variant, action, className, onClose, title, description, position, ...props }: ToastProps) =>
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
declare const Toast: ({ variant, action, className, onClose, title, description, position, ...props }: ToastProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default Toast;
|
|
15
|
+
//# sourceMappingURL=Toast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAwBvC,KAAK,aAAa,GACd,UAAU,GACV,YAAY,GACZ,WAAW,GACX,aAAa,GACb,eAAe,GACf,cAAc,GACd,SAAS,CAAC;AAEd,KAAK,UAAU,GAAG;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,kCAAkC;IAClC,OAAO,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IAC/B,gCAAgC;IAChC,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;IACxC,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAQnC,QAAA,MAAM,KAAK,GAAI,iFASZ,UAAU,4CAoDZ,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { DownloadContent } from '../DownloadButton/index.js';
|
|
3
|
-
|
|
1
|
+
import { DownloadContent } from '../DownloadButton/DownloadButton';
|
|
4
2
|
/**
|
|
5
3
|
* VideoPlayer component props interface
|
|
6
4
|
*/
|
|
@@ -47,6 +45,6 @@ interface VideoPlayerProps {
|
|
|
47
45
|
* @param props - VideoPlayer component props
|
|
48
46
|
* @returns Video player element with controls
|
|
49
47
|
*/
|
|
50
|
-
declare const VideoPlayer: ({ src, poster, subtitles, title, subtitle: subtitleText, initialTime, onTimeUpdate, onProgress, onVideoComplete, className, autoSave, storageKey, downloadContent, showDownloadButton, onDownloadStart, onDownloadComplete, onDownloadError, }: VideoPlayerProps) =>
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
declare const VideoPlayer: ({ src, poster, subtitles, title, subtitle: subtitleText, initialTime, onTimeUpdate, onProgress, onVideoComplete, className, autoSave, storageKey, downloadContent, showDownloadButton, onDownloadStart, onDownloadComplete, onDownloadError, }: VideoPlayerProps) => import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
export default VideoPlayer;
|
|
50
|
+
//# sourceMappingURL=VideoPlayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoPlayer.d.ts","sourceRoot":"","sources":["../../../src/components/VideoPlayer/VideoPlayer.tsx"],"names":[],"mappings":"AAuBA,OAAuB,EACrB,eAAe,EAChB,MAAM,kCAAkC,CAAC;AAO1C;;GAEG;AACH,UAAU,gBAAgB;IACxB,uBAAuB;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oBAAoB;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uDAAuD;IACvD,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,sDAAsD;IACtD,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,yDAAyD;IACzD,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iDAAiD;IACjD,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,qCAAqC;IACrC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,0CAA0C;IAC1C,eAAe,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,6CAA6C;IAC7C,kBAAkB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,yCAAyC;IACzC,eAAe,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CAC/D;AA+OD;;;;;;GAMG;AACH,QAAA,MAAM,WAAW,GAAI,gPAkBlB,gBAAgB,4CAk+BlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import { HTMLAttributes } from 'react';
|
|
3
|
-
|
|
4
2
|
/**
|
|
5
3
|
* Whiteboard image item interface
|
|
6
4
|
*/
|
|
7
|
-
interface WhiteboardImage {
|
|
5
|
+
export interface WhiteboardImage {
|
|
8
6
|
id: string;
|
|
9
7
|
imageUrl: string;
|
|
10
8
|
title?: string;
|
|
@@ -12,7 +10,7 @@ interface WhiteboardImage {
|
|
|
12
10
|
/**
|
|
13
11
|
* Whiteboard component props interface
|
|
14
12
|
*/
|
|
15
|
-
interface WhiteboardProps extends HTMLAttributes<HTMLDivElement> {
|
|
13
|
+
export interface WhiteboardProps extends HTMLAttributes<HTMLDivElement> {
|
|
16
14
|
/** Array of images to display in the whiteboard */
|
|
17
15
|
images: WhiteboardImage[];
|
|
18
16
|
/** Whether to show download button on images */
|
|
@@ -29,6 +27,6 @@ interface WhiteboardProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
29
27
|
* @param props Component properties
|
|
30
28
|
* @returns Whiteboard component
|
|
31
29
|
*/
|
|
32
|
-
declare const Whiteboard: ({ images, showDownload, className, onDownload, imagesPerRow, ...rest }: WhiteboardProps) =>
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
declare const Whiteboard: ({ images, showDownload, className, onDownload, imagesPerRow, ...rest }: WhiteboardProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export default Whiteboard;
|
|
32
|
+
//# sourceMappingURL=Whiteboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Whiteboard.d.ts","sourceRoot":"","sources":["../../../src/components/Whiteboard/Whiteboard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAyB,MAAM,OAAO,CAAC;AAQ9D;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACrE,mDAAmD;IACnD,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,gDAAgD;IAChD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+CAA+C;IAC/C,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IAC9C,6DAA6D;IAC7D,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CAC1B;AAED;;;;GAIG;AACH,QAAA,MAAM,UAAU,GAAI,wEAOjB,eAAe,4CAuHjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookOpenText.d.ts","sourceRoot":"","sources":["../../../../src/assets/icons/subjects/BookOpenText.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,GAAI,kBAG1B;IACD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,4CAaA,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatEN.d.ts","sourceRoot":"","sources":["../../../../src/assets/icons/subjects/ChatEN.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,GAAI,iBAAiB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,4CAqBtE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatES.d.ts","sourceRoot":"","sources":["../../../../src/assets/icons/subjects/ChatES.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,GAAI,iBAAiB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,4CAqBtE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatPT.d.ts","sourceRoot":"","sources":["../../../../src/assets/icons/subjects/ChatPT.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,GAAI,iBAAiB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,4CAqBtE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeadCircuit.d.ts","sourceRoot":"","sources":["../../../../src/assets/icons/subjects/HeadCircuit.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,GAAI,kBAGzB;IACD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,4CAaA,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Microscope.d.ts","sourceRoot":"","sources":["../../../../src/assets/icons/subjects/Microscope.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,GAAI,kBAGxB;IACD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,4CAaA,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare enum SubjectEnum {
|
|
2
|
+
FISICA = "F\u00EDsica",
|
|
3
|
+
HISTORIA = "Hist\u00F3ria",
|
|
4
|
+
LITERATURA = "Literatura",
|
|
5
|
+
GEOGRAFIA = "Geografia",
|
|
6
|
+
BIOLOGIA = "Biologia",
|
|
7
|
+
PORTUGUES = "Portugu\u00EAs",
|
|
8
|
+
QUIMICA = "Qu\u00EDmica",
|
|
9
|
+
ARTES = "Artes",
|
|
10
|
+
MATEMATICA = "Matem\u00E1tica",
|
|
11
|
+
FILOSOFIA = "Filosofia",
|
|
12
|
+
ESPANHOL = "Espanhol",
|
|
13
|
+
REDACAO = "Reda\u00E7\u00E3o",
|
|
14
|
+
SOCIOLOGIA = "Sociologia",
|
|
15
|
+
INGLES = "Ingl\u00EAs",
|
|
16
|
+
EDUCACAO_FISICA = "Ed. F\u00EDsica",
|
|
17
|
+
TRILHAS = "Trilhas"
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=SubjectEnum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubjectEnum.d.ts","sourceRoot":"","sources":["../../src/enums/SubjectEnum.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACrB,MAAM,gBAAW;IACjB,QAAQ,kBAAa;IACrB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,SAAS,mBAAc;IACvB,OAAO,iBAAY;IACnB,KAAK,UAAU;IACf,UAAU,oBAAe;IACzB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,OAAO,sBAAY;IACnB,UAAU,eAAe;IACzB,MAAM,gBAAW;IACjB,eAAe,oBAAe;IAC9B,OAAO,YAAY;CACpB"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface para as configurações do hook useAppContent
|
|
3
|
+
*/
|
|
4
|
+
interface UseAppContentConfig {
|
|
5
|
+
/** API instance para configuração */
|
|
6
|
+
api: {
|
|
7
|
+
get: (endpoint: string, config: unknown) => Promise<unknown>;
|
|
8
|
+
};
|
|
9
|
+
/** ID da instituição obtido externamente */
|
|
10
|
+
getInstitutionId: string | null | undefined;
|
|
11
|
+
/** Função de inicialização obtida externamente */
|
|
12
|
+
initialize: (institutionId: string) => void;
|
|
13
|
+
/** Estado de inicialização obtido externamente */
|
|
14
|
+
initialized: boolean;
|
|
15
|
+
/** Endpoint para autenticação via URL */
|
|
16
|
+
endpoint?: string;
|
|
17
|
+
/** Número máximo de tentativas em caso de erro */
|
|
18
|
+
maxRetries?: number;
|
|
19
|
+
/** Delay entre tentativas em ms */
|
|
20
|
+
retryDelay?: number;
|
|
21
|
+
/** Callback para limpeza de parâmetros da URL */
|
|
22
|
+
onClearParamsFromURL?: () => void;
|
|
23
|
+
/** Callback para tratamento de erro */
|
|
24
|
+
onError?: (error: unknown) => void;
|
|
25
|
+
/** Callback para navegação quando página não encontrada */
|
|
26
|
+
onNotFoundNavigation?: () => void;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Hook que encapsula toda a lógica do componente AppContent
|
|
30
|
+
* Centraliza a configuração de autenticação, tema, navegação e inicialização
|
|
31
|
+
*
|
|
32
|
+
* @param {UseAppContentConfig} config - Configurações do hook
|
|
33
|
+
* @returns {object} Funções e estado necessários para o AppContent
|
|
34
|
+
*/
|
|
35
|
+
export declare function useAppContent(config: UseAppContentConfig): {
|
|
36
|
+
handleNotFoundNavigation: () => void;
|
|
37
|
+
urlAuthConfig: {
|
|
38
|
+
setTokens: (tokens: import("../store/authStore").AuthTokens | null) => void;
|
|
39
|
+
setSessionInfo: (sessionInfo: import("../store/authStore").SessionInfo | null) => void;
|
|
40
|
+
setSelectedProfile: (profile: {
|
|
41
|
+
id: string;
|
|
42
|
+
}) => void;
|
|
43
|
+
api: {
|
|
44
|
+
get: (endpoint: string, config: unknown) => Promise<unknown>;
|
|
45
|
+
};
|
|
46
|
+
endpoint: string;
|
|
47
|
+
clearParamsFromURL: () => void;
|
|
48
|
+
maxRetries: number;
|
|
49
|
+
retryDelay: number;
|
|
50
|
+
onError: (error: unknown) => void;
|
|
51
|
+
};
|
|
52
|
+
institutionIdToUse: string | null | undefined;
|
|
53
|
+
};
|
|
54
|
+
export {};
|
|
55
|
+
//# sourceMappingURL=useAppContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAppContent.d.ts","sourceRoot":"","sources":["../../src/hooks/useAppContent.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,UAAU,mBAAmB;IAC3B,qCAAqC;IACrC,GAAG,EAAE;QACH,GAAG,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;KAC9D,CAAC;IACF,4CAA4C;IAC5C,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C,kDAAkD;IAClD,UAAU,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,kDAAkD;IAClD,WAAW,EAAE,OAAO,CAAC;IACrB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kDAAkD;IAClD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mCAAmC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iDAAiD;IACjD,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,uCAAuC;IACvC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,2DAA2D;IAC3D,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;CACnC;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,mBAAmB;;;;;sCAiC3C;YAAE,EAAE,EAAE,MAAM,CAAA;SAAE;;;;;;;;yBAehB,OAAO;;;EA0DlB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hook que gerencia a inicialização da aplicação e funções de autenticação
|
|
3
|
+
* Combina a lógica de obtenção do institutionId, inicialização do app store e funções de auth
|
|
4
|
+
*
|
|
5
|
+
* @param {UseAppInitializationProps} props - Propriedades do hook
|
|
6
|
+
* @returns {object} Estado da inicialização, funções relacionadas e funções de autenticação
|
|
7
|
+
*/
|
|
8
|
+
export declare function useAppInitialization(): {
|
|
9
|
+
getInstitutionId: string | null;
|
|
10
|
+
initialize: (id: string | null) => void;
|
|
11
|
+
initialized: boolean;
|
|
12
|
+
institutionId: string | null;
|
|
13
|
+
authFunctions: {
|
|
14
|
+
checkAuth: () => Promise<boolean>;
|
|
15
|
+
signOut: () => void;
|
|
16
|
+
getUser: () => import("../store/authStore").User | null;
|
|
17
|
+
getSessionInfo: () => import("../store/authStore").SessionInfo | null;
|
|
18
|
+
getTokens: () => import("../store/authStore").AuthTokens | null;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=useAppInitialization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAppInitialization.d.ts","sourceRoot":"","sources":["../../src/hooks/useAppInitialization.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,wBAAgB,oBAAoB;;;;;;;;;;;;EAyCnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInstitution.d.ts","sourceRoot":"","sources":["../../src/hooks/useInstitution.ts"],"names":[],"mappings":"AAEA,wBAAgB,gBAAgB,kBA4B/B"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Device type based on screen width
|
|
3
3
|
*/
|
|
4
|
-
type DeviceType = 'responsive' | 'desktop';
|
|
4
|
+
export type DeviceType = 'responsive' | 'desktop';
|
|
5
5
|
/**
|
|
6
6
|
* Gets the current device type based on screen width
|
|
7
7
|
* @returns {DeviceType} 'responsive' for mobile/tablet (width < 931px), 'desktop' for larger screens
|
|
8
8
|
*/
|
|
9
|
-
declare const getDeviceType: () => DeviceType;
|
|
9
|
+
export declare const getDeviceType: () => DeviceType;
|
|
10
10
|
/**
|
|
11
11
|
* Hook to detect screen size and get responsive classes
|
|
12
12
|
* @returns object with isMobile, isTablet, responsive class functions and getDeviceType
|
|
13
13
|
*/
|
|
14
|
-
declare const useMobile: () => {
|
|
14
|
+
export declare const useMobile: () => {
|
|
15
15
|
isMobile: boolean;
|
|
16
16
|
isTablet: boolean;
|
|
17
17
|
isSmallMobile: boolean;
|
|
@@ -25,5 +25,4 @@ declare const useMobile: () => {
|
|
|
25
25
|
getVideoContainerClasses: () => string;
|
|
26
26
|
getDeviceType: () => DeviceType;
|
|
27
27
|
};
|
|
28
|
-
|
|
29
|
-
export { type DeviceType, getDeviceType, useMobile };
|
|
28
|
+
//# sourceMappingURL=useMobile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMobile.d.ts","sourceRoot":"","sources":["../../src/hooks/useMobile.ts"],"names":[],"mappings":"AAcA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,SAAS,CAAC;AAalD;;;GAGG;AACH,eAAO,MAAM,aAAa,QAAO,UAGhC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS;;;;;;;mCA8BgB,MAAM;4BA8Bb,MAAM;kCAhBA,MAAM;mCAQL,MAAM;oCAgBL,MAAM;yBA7EZ,UAAU;CAkG1C,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { NotificationApiClient } from '../types/notifications';
|
|
2
|
+
/**
|
|
3
|
+
* Create a notification store hook with injected API client
|
|
4
|
+
* This allows different applications to provide their own API implementation
|
|
5
|
+
*
|
|
6
|
+
* @param apiClient - API client instance that implements NotificationApiClient interface
|
|
7
|
+
* @returns Zustand hook for notification store
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import { createUseNotificationStore } from 'analytica-frontend-lib';
|
|
12
|
+
* import api from './services/apiService';
|
|
13
|
+
*
|
|
14
|
+
* const useNotificationStore = createUseNotificationStore(api);
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare const createUseNotificationStore: (apiClient: NotificationApiClient) => import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<import("..").NotificationStore>, "setState" | "devtools"> & {
|
|
18
|
+
setState(partial: import("..").NotificationStore | Partial<import("..").NotificationStore> | ((state: import("..").NotificationStore) => import("..").NotificationStore | Partial<import("..").NotificationStore>), replace?: false | undefined, action?: (string | {
|
|
19
|
+
[x: string]: unknown;
|
|
20
|
+
[x: number]: unknown;
|
|
21
|
+
[x: symbol]: unknown;
|
|
22
|
+
type: string;
|
|
23
|
+
}) | undefined): void;
|
|
24
|
+
setState(state: import("..").NotificationStore | ((state: import("..").NotificationStore) => import("..").NotificationStore), replace: true, action?: (string | {
|
|
25
|
+
[x: string]: unknown;
|
|
26
|
+
[x: number]: unknown;
|
|
27
|
+
[x: symbol]: unknown;
|
|
28
|
+
type: string;
|
|
29
|
+
}) | undefined): void;
|
|
30
|
+
devtools: {
|
|
31
|
+
cleanup: () => void;
|
|
32
|
+
};
|
|
33
|
+
}>;
|
|
34
|
+
//# sourceMappingURL=useNotificationStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNotificationStore.d.ts","sourceRoot":"","sources":["../../src/hooks/useNotificationStore.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAE/D;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,0BAA0B,GACrC,WAAW,qBAAqB;;;;;;;;;;;;;;;;EAGjC,CAAC"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { NotificationEntityType, NotificationApiClient } from '../types/notifications';
|
|
2
|
+
import type { NotificationGroup, Notification } from '../types/notifications';
|
|
3
|
+
/**
|
|
4
|
+
* Create a comprehensive notifications hook with formatting and navigation
|
|
5
|
+
* This hook provides all notification functionality in a single interface
|
|
6
|
+
*
|
|
7
|
+
* @param apiClient - API client instance for notifications
|
|
8
|
+
* @returns Hook with notification state, actions, and utilities
|
|
9
|
+
*/
|
|
10
|
+
export declare const createUseNotifications: (apiClient: NotificationApiClient) => () => {
|
|
11
|
+
notifications: Notification[];
|
|
12
|
+
unreadCount: number;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
error: string | null;
|
|
15
|
+
hasMore: boolean;
|
|
16
|
+
currentPage: number;
|
|
17
|
+
fetchNotifications: (params?: import("..").FetchNotificationsParams) => Promise<void>;
|
|
18
|
+
markAsRead: (id: string) => Promise<void>;
|
|
19
|
+
markAllAsRead: () => Promise<void>;
|
|
20
|
+
deleteNotification: (id: string) => Promise<void>;
|
|
21
|
+
clearNotifications: () => void;
|
|
22
|
+
resetError: () => void;
|
|
23
|
+
markAsReadAndNavigate: (id: string, entityType?: string, entityId?: string, onAfterNavigate?: () => void) => Promise<void>;
|
|
24
|
+
refreshNotifications: () => Promise<void>;
|
|
25
|
+
handleNavigate: (entityType?: string, entityId?: string, onAfterNavigate?: () => void) => void;
|
|
26
|
+
getActionLabel: (entityType?: string) => string | undefined;
|
|
27
|
+
getGroupedNotifications: () => NotificationGroup[];
|
|
28
|
+
getFormattedGroupedNotifications: () => {
|
|
29
|
+
notifications: {
|
|
30
|
+
time: string;
|
|
31
|
+
entityType: NotificationEntityType | undefined;
|
|
32
|
+
entityId: string | undefined;
|
|
33
|
+
id: string;
|
|
34
|
+
title: string;
|
|
35
|
+
message: string;
|
|
36
|
+
type: import("..").NotificationType;
|
|
37
|
+
isRead: boolean;
|
|
38
|
+
createdAt: Date;
|
|
39
|
+
actionLink?: string | null;
|
|
40
|
+
sender?: {
|
|
41
|
+
id: string;
|
|
42
|
+
user: {
|
|
43
|
+
id: string;
|
|
44
|
+
name: string;
|
|
45
|
+
email: string;
|
|
46
|
+
};
|
|
47
|
+
} | null;
|
|
48
|
+
activity?: {
|
|
49
|
+
id: string;
|
|
50
|
+
title: string;
|
|
51
|
+
type: string;
|
|
52
|
+
} | null;
|
|
53
|
+
goal?: {
|
|
54
|
+
id: string;
|
|
55
|
+
title: string;
|
|
56
|
+
} | null;
|
|
57
|
+
}[];
|
|
58
|
+
label: string;
|
|
59
|
+
}[];
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Create a pre-configured notifications hook
|
|
63
|
+
* This is a convenience function that returns a hook ready to use
|
|
64
|
+
*
|
|
65
|
+
* @param apiClient - API client instance for notifications
|
|
66
|
+
* @returns Pre-configured useNotifications hook
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* // In your app setup
|
|
70
|
+
* import { createNotificationsHook } from 'analytica-frontend-lib';
|
|
71
|
+
* import api from './services/api';
|
|
72
|
+
*
|
|
73
|
+
* export const useNotifications = createNotificationsHook(api);
|
|
74
|
+
*
|
|
75
|
+
* // Then use directly in components
|
|
76
|
+
* const { unreadCount, fetchNotifications } = useNotifications();
|
|
77
|
+
*/
|
|
78
|
+
export declare const createNotificationsHook: (apiClient: NotificationApiClient) => () => {
|
|
79
|
+
notifications: Notification[];
|
|
80
|
+
unreadCount: number;
|
|
81
|
+
loading: boolean;
|
|
82
|
+
error: string | null;
|
|
83
|
+
hasMore: boolean;
|
|
84
|
+
currentPage: number;
|
|
85
|
+
fetchNotifications: (params?: import("..").FetchNotificationsParams) => Promise<void>;
|
|
86
|
+
markAsRead: (id: string) => Promise<void>;
|
|
87
|
+
markAllAsRead: () => Promise<void>;
|
|
88
|
+
deleteNotification: (id: string) => Promise<void>;
|
|
89
|
+
clearNotifications: () => void;
|
|
90
|
+
resetError: () => void;
|
|
91
|
+
markAsReadAndNavigate: (id: string, entityType?: string, entityId?: string, onAfterNavigate?: () => void) => Promise<void>;
|
|
92
|
+
refreshNotifications: () => Promise<void>;
|
|
93
|
+
handleNavigate: (entityType?: string, entityId?: string, onAfterNavigate?: () => void) => void;
|
|
94
|
+
getActionLabel: (entityType?: string) => string | undefined;
|
|
95
|
+
getGroupedNotifications: () => NotificationGroup[];
|
|
96
|
+
getFormattedGroupedNotifications: () => {
|
|
97
|
+
notifications: {
|
|
98
|
+
time: string;
|
|
99
|
+
entityType: NotificationEntityType | undefined;
|
|
100
|
+
entityId: string | undefined;
|
|
101
|
+
id: string;
|
|
102
|
+
title: string;
|
|
103
|
+
message: string;
|
|
104
|
+
type: import("..").NotificationType;
|
|
105
|
+
isRead: boolean;
|
|
106
|
+
createdAt: Date;
|
|
107
|
+
actionLink?: string | null;
|
|
108
|
+
sender?: {
|
|
109
|
+
id: string;
|
|
110
|
+
user: {
|
|
111
|
+
id: string;
|
|
112
|
+
name: string;
|
|
113
|
+
email: string;
|
|
114
|
+
};
|
|
115
|
+
} | null;
|
|
116
|
+
activity?: {
|
|
117
|
+
id: string;
|
|
118
|
+
title: string;
|
|
119
|
+
type: string;
|
|
120
|
+
} | null;
|
|
121
|
+
goal?: {
|
|
122
|
+
id: string;
|
|
123
|
+
title: string;
|
|
124
|
+
} | null;
|
|
125
|
+
}[];
|
|
126
|
+
label: string;
|
|
127
|
+
}[];
|
|
128
|
+
};
|
|
129
|
+
//# sourceMappingURL=useNotifications.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNotifications.d.ts","sourceRoot":"","sources":["../../src/hooks/useNotifications.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAG9E;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,GAAI,WAAW,qBAAqB;;;;;;;;;;;;;gCAoF3D,MAAM,eACG,MAAM,aACR,MAAM,oBACC,MAAM,IAAI;;kCAzDf,MAAM,aACR,MAAM,oBACC,MAAM,IAAI;kCA2BhB,MAAM,KAAG,MAAM,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwG9C,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,uBAAuB,GAAI,WAAW,qBAAqB;;;;;;;;;;;;;gCAlG5D,MAAM,eACG,MAAM,aACR,MAAM,oBACC,MAAM,IAAI;;kCAzDf,MAAM,aACR,MAAM,oBACC,MAAM,IAAI;kCA2BhB,MAAM,KAAG,MAAM,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6H9C,CAAC"}
|