analytica-frontend-lib 1.2.24 → 1.2.28

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