@cccsaurora/howler-ui 2.12.0-dev.33 → 2.12.0-dev.34

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 (488) hide show
  1. package/api/action/execute.d.ts +1 -1
  2. package/api/action/execute.js +2 -2
  3. package/api/action/index.d.ts +3 -3
  4. package/api/action/index.js +4 -4
  5. package/api/action/operations.d.ts +1 -1
  6. package/api/action/operations.js +2 -2
  7. package/api/analytic/comments/index.d.ts +2 -2
  8. package/api/analytic/comments/index.js +2 -2
  9. package/api/analytic/comments/react.js +2 -2
  10. package/api/analytic/favourite.js +2 -2
  11. package/api/analytic/index.d.ts +6 -6
  12. package/api/analytic/index.js +6 -6
  13. package/api/analytic/notebooks/index.d.ts +1 -1
  14. package/api/analytic/notebooks/index.js +2 -2
  15. package/api/analytic/owner.d.ts +1 -1
  16. package/api/analytic/owner.js +2 -2
  17. package/api/analytic/rules.d.ts +1 -1
  18. package/api/analytic/rules.js +2 -2
  19. package/api/auth/apikey.js +3 -3
  20. package/api/auth/index.d.ts +2 -2
  21. package/api/auth/index.js +3 -3
  22. package/api/auth/login.js +3 -3
  23. package/api/configs/index.d.ts +1 -1
  24. package/api/configs/index.js +1 -1
  25. package/api/dossier/hit.d.ts +1 -1
  26. package/api/dossier/hit.js +1 -1
  27. package/api/dossier/index.d.ts +1 -1
  28. package/api/dossier/index.js +1 -1
  29. package/api/help.js +1 -1
  30. package/api/hit/assign.d.ts +1 -1
  31. package/api/hit/assign.js +2 -2
  32. package/api/hit/comments/index.d.ts +2 -2
  33. package/api/hit/comments/index.js +2 -2
  34. package/api/hit/comments/react.js +2 -2
  35. package/api/hit/index.d.ts +6 -6
  36. package/api/hit/index.js +6 -6
  37. package/api/hit/labels.d.ts +2 -2
  38. package/api/hit/labels.js +2 -2
  39. package/api/hit/overwrite.d.ts +1 -1
  40. package/api/hit/overwrite.js +2 -2
  41. package/api/hit/transition.d.ts +2 -2
  42. package/api/hit/transition.js +2 -2
  43. package/api/index.d.ts +13 -13
  44. package/api/index.js +18 -18
  45. package/api/notebook/environments.js +2 -2
  46. package/api/notebook/index.d.ts +3 -3
  47. package/api/notebook/index.js +2 -2
  48. package/api/overview/index.d.ts +1 -1
  49. package/api/overview/index.js +1 -1
  50. package/api/search/action.d.ts +2 -2
  51. package/api/search/action.js +2 -2
  52. package/api/search/analytic.d.ts +2 -2
  53. package/api/search/analytic.js +2 -2
  54. package/api/search/count/hit.d.ts +1 -1
  55. package/api/search/count/hit.js +2 -2
  56. package/api/search/count/index.d.ts +1 -1
  57. package/api/search/count/index.js +3 -3
  58. package/api/search/dossier.d.ts +2 -2
  59. package/api/search/dossier.js +2 -2
  60. package/api/search/eql/hit.d.ts +2 -2
  61. package/api/search/eql/hit.js +2 -2
  62. package/api/search/facet/hit.d.ts +1 -1
  63. package/api/search/facet/hit.js +2 -2
  64. package/api/search/facet/index.d.ts +1 -1
  65. package/api/search/facet/index.js +3 -3
  66. package/api/search/fields/hit.d.ts +1 -1
  67. package/api/search/fields/hit.js +2 -2
  68. package/api/search/fields/index.d.ts +2 -2
  69. package/api/search/fields/index.js +4 -4
  70. package/api/search/fields/user.d.ts +1 -1
  71. package/api/search/fields/user.js +3 -3
  72. package/api/search/grouped/hit.d.ts +2 -2
  73. package/api/search/grouped/hit.js +2 -2
  74. package/api/search/grouped/index.d.ts +2 -2
  75. package/api/search/grouped/index.js +4 -4
  76. package/api/search/grouped/user.d.ts +2 -2
  77. package/api/search/grouped/user.js +2 -2
  78. package/api/search/histogram/hit.d.ts +1 -1
  79. package/api/search/histogram/hit.js +2 -2
  80. package/api/search/histogram/index.d.ts +1 -1
  81. package/api/search/histogram/index.js +3 -3
  82. package/api/search/hit.d.ts +4 -4
  83. package/api/search/hit.js +4 -4
  84. package/api/search/index.d.ts +13 -13
  85. package/api/search/index.js +14 -14
  86. package/api/search/overview.d.ts +2 -2
  87. package/api/search/overview.js +2 -2
  88. package/api/search/sigma/hit.d.ts +2 -2
  89. package/api/search/sigma/hit.js +2 -2
  90. package/api/search/template.d.ts +2 -2
  91. package/api/search/template.js +2 -2
  92. package/api/search/user.d.ts +2 -2
  93. package/api/search/user.js +2 -2
  94. package/api/search/view.d.ts +2 -2
  95. package/api/search/view.js +2 -2
  96. package/api/template/index.d.ts +1 -1
  97. package/api/template/index.js +1 -1
  98. package/api/user/avatar/index.js +2 -2
  99. package/api/user/groups.js +2 -2
  100. package/api/user/index.d.ts +4 -4
  101. package/api/user/index.js +4 -4
  102. package/api/user/whoami.d.ts +1 -1
  103. package/api/user/whoami.js +2 -2
  104. package/api/view/favourite.js +2 -2
  105. package/api/view/index.d.ts +2 -2
  106. package/api/view/index.js +2 -2
  107. package/commons/components/app/AppConfigs.d.ts +3 -3
  108. package/commons/components/app/AppContexts.d.ts +5 -5
  109. package/commons/components/app/AppDefaults.d.ts +1 -1
  110. package/commons/components/app/AppNotificationService.d.ts +1 -1
  111. package/commons/components/app/AppProvider.d.ts +4 -4
  112. package/commons/components/app/AppProvider.js +10 -10
  113. package/commons/components/app/AppSearchService.d.ts +1 -1
  114. package/commons/components/app/AppSkeleton.js +3 -3
  115. package/commons/components/app/hooks/index.d.ts +18 -18
  116. package/commons/components/app/hooks/index.js +18 -18
  117. package/commons/components/app/hooks/useApp.js +1 -1
  118. package/commons/components/app/hooks/useAppBanner.js +1 -1
  119. package/commons/components/app/hooks/useAppBar.js +1 -1
  120. package/commons/components/app/hooks/useAppBreadcrumbs.js +1 -1
  121. package/commons/components/app/hooks/useAppConfigs.js +2 -2
  122. package/commons/components/app/hooks/useAppLanguage.js +1 -1
  123. package/commons/components/app/hooks/useAppLayout.js +1 -1
  124. package/commons/components/app/hooks/useAppLeftNav.js +1 -1
  125. package/commons/components/app/hooks/useAppLogo.js +2 -2
  126. package/commons/components/app/hooks/useAppNotification.js +1 -1
  127. package/commons/components/app/hooks/useAppQuickSearch.js +1 -1
  128. package/commons/components/app/hooks/useAppSearchService.d.ts +1 -1
  129. package/commons/components/app/hooks/useAppSearchService.js +1 -1
  130. package/commons/components/app/hooks/useAppSitemap.d.ts +1 -1
  131. package/commons/components/app/hooks/useAppSitemap.js +1 -1
  132. package/commons/components/app/hooks/useAppSwitcher.js +1 -1
  133. package/commons/components/app/hooks/useAppTheme.js +1 -1
  134. package/commons/components/app/hooks/useAppUser.d.ts +1 -1
  135. package/commons/components/app/hooks/useAppUser.js +1 -1
  136. package/commons/components/app/providers/AppBarProvider.d.ts +2 -2
  137. package/commons/components/app/providers/AppBarProvider.js +8 -8
  138. package/commons/components/app/providers/AppBreadcrumbsProvider.js +5 -5
  139. package/commons/components/app/providers/AppLayoutProvider.js +7 -7
  140. package/commons/components/app/providers/AppLeftNavProvider.js +5 -5
  141. package/commons/components/app/providers/AppNotificationProvider.d.ts +1 -1
  142. package/commons/components/app/providers/AppNotificationProvider.js +1 -1
  143. package/commons/components/app/providers/AppQuickSearchProvider.d.ts +1 -1
  144. package/commons/components/app/providers/AppQuickSearchProvider.js +6 -6
  145. package/commons/components/app/providers/AppSearchServiceProvider.d.ts +1 -1
  146. package/commons/components/app/providers/AppSearchServiceProvider.js +2 -2
  147. package/commons/components/app/providers/AppSwitcherProvider.js +2 -2
  148. package/commons/components/app/providers/AppUserProvider.d.ts +1 -1
  149. package/commons/components/app/providers/AppUserProvider.js +1 -1
  150. package/commons/components/breadcrumbs/BreadcrumbIcon.d.ts +1 -1
  151. package/commons/components/breadcrumbs/BreadcrumbIcon.js +1 -1
  152. package/commons/components/breadcrumbs/BreadcrumbLastItem.d.ts +1 -1
  153. package/commons/components/breadcrumbs/BreadcrumbLastItem.js +2 -2
  154. package/commons/components/breadcrumbs/BreadcrumbLinkItem.d.ts +1 -1
  155. package/commons/components/breadcrumbs/BreadcrumbLinkItem.js +2 -2
  156. package/commons/components/breadcrumbs/BreadcrumbList.d.ts +1 -1
  157. package/commons/components/breadcrumbs/BreadcrumbList.js +3 -3
  158. package/commons/components/breadcrumbs/Breadcrumbs.js +2 -2
  159. package/commons/components/display/AppAvatar.js +1 -1
  160. package/commons/components/display/AppListEmpty.d.ts +1 -1
  161. package/commons/components/display/AppListEmpty.js +1 -1
  162. package/commons/components/display/AppToc.js +3 -3
  163. package/commons/components/display/hooks/useAppColor.js +1 -1
  164. package/commons/components/leftnav/LeftNavDrawer.js +3 -3
  165. package/commons/components/leftnav/LeftNavGroup.d.ts +1 -1
  166. package/commons/components/leftnav/LeftNavGroup.js +2 -2
  167. package/commons/components/leftnav/LeftNavItem.d.ts +1 -1
  168. package/commons/components/leftnav/LeftNavItem.js +1 -1
  169. package/commons/components/notification/Notification.js +4 -4
  170. package/commons/components/notification/elements/NotificationCloseButton.d.ts +1 -1
  171. package/commons/components/notification/elements/NotificationCloseButton.js +1 -1
  172. package/commons/components/notification/elements/NotificationContainer.d.ts +2 -2
  173. package/commons/components/notification/elements/NotificationContainer.js +5 -5
  174. package/commons/components/notification/elements/NotificationEndOfPage.js +1 -1
  175. package/commons/components/notification/elements/NotificationItems.d.ts +2 -2
  176. package/commons/components/notification/elements/NotificationItems.js +2 -2
  177. package/commons/components/notification/elements/item/NotificationItem.d.ts +1 -1
  178. package/commons/components/notification/elements/item/NotificationItem.js +6 -6
  179. package/commons/components/notification/elements/item/NotificationItemAuthor.d.ts +1 -1
  180. package/commons/components/notification/elements/item/NotificationItemContent.d.ts +1 -1
  181. package/commons/components/notification/elements/item/NotificationItemContent.js +1 -1
  182. package/commons/components/notification/elements/item/NotificationItemDate.d.ts +1 -1
  183. package/commons/components/notification/elements/item/NotificationItemDate.js +1 -1
  184. package/commons/components/notification/elements/item/NotificationItemTitle.d.ts +1 -1
  185. package/commons/components/notification/elements/item/NotificationItemTitle.js +1 -1
  186. package/commons/components/notification/index.d.ts +2 -2
  187. package/commons/components/notification/index.js +2 -2
  188. package/commons/components/pages/PageCenter.d.ts +1 -1
  189. package/commons/components/pages/PageCenter.js +2 -2
  190. package/commons/components/pages/PageContent.d.ts +1 -1
  191. package/commons/components/pages/PageContent.js +1 -1
  192. package/commons/components/pages/PageFullScreen.js +3 -3
  193. package/commons/components/pages/PageFullWidth.js +1 -1
  194. package/commons/components/pages/PageHeader.js +1 -1
  195. package/commons/components/search/AppSearch.js +4 -4
  196. package/commons/components/search/AppSearchResult.js +3 -3
  197. package/commons/components/topnav/AppBar.js +9 -9
  198. package/commons/components/topnav/AppName.js +1 -1
  199. package/commons/components/topnav/AppSwitcher.js +1 -1
  200. package/commons/components/topnav/Notifications.js +2 -2
  201. package/commons/components/topnav/ThemeSelection.js +3 -3
  202. package/commons/components/topnav/ThemeSelectionIcon.js +2 -2
  203. package/commons/components/topnav/UserProfile.d.ts +1 -1
  204. package/commons/components/topnav/UserProfile.js +3 -3
  205. package/commons/components/utils/hooks/useLocalStorageItem.js +1 -1
  206. package/commons/components/utils/hooks/useThemeBuilder.d.ts +1 -1
  207. package/commons/components/utils/hooks/useThemeBuilder.js +1 -1
  208. package/components/app/App.js +51 -51
  209. package/components/app/AppContainer.js +1 -1
  210. package/components/app/drawers/ApiKeyDrawer.js +5 -5
  211. package/components/app/drawers/AssignUserDrawer.js +5 -5
  212. package/components/app/drawers/ViewGroupsDrawer.d.ts +1 -1
  213. package/components/app/hooks/useTitle.js +2 -2
  214. package/components/app/providers/AnalyticProvider.d.ts +1 -1
  215. package/components/app/providers/AnalyticProvider.js +3 -3
  216. package/components/app/providers/ApiConfigProvider.d.ts +1 -1
  217. package/components/app/providers/AppDrawerProvider.js +1 -1
  218. package/components/app/providers/AvatarProvider.js +2 -2
  219. package/components/app/providers/CustomPluginProvider.js +1 -1
  220. package/components/app/providers/DossierProvider.d.ts +1 -1
  221. package/components/app/providers/DossierProvider.js +3 -3
  222. package/components/app/providers/FavouritesProvider.js +1 -1
  223. package/components/app/providers/FieldProvider.d.ts +1 -1
  224. package/components/app/providers/FieldProvider.js +2 -2
  225. package/components/app/providers/HitProvider.d.ts +1 -1
  226. package/components/app/providers/HitProvider.js +2 -2
  227. package/components/app/providers/HitSearchProvider.d.ts +3 -3
  228. package/components/app/providers/HitSearchProvider.js +7 -7
  229. package/components/app/providers/LocalStorageProvider.d.ts +1 -1
  230. package/components/app/providers/LocalStorageProvider.js +2 -2
  231. package/components/app/providers/OverviewProvider.d.ts +2 -2
  232. package/components/app/providers/OverviewProvider.js +1 -1
  233. package/components/app/providers/ParameterProvider.js +1 -1
  234. package/components/app/providers/SocketProvider.js +5 -5
  235. package/components/app/providers/TemplateProvider.d.ts +2 -2
  236. package/components/app/providers/TemplateProvider.js +2 -2
  237. package/components/app/providers/UserListProvider.d.ts +1 -1
  238. package/components/app/providers/UserListProvider.js +2 -2
  239. package/components/app/providers/ViewProvider.d.ts +1 -1
  240. package/components/app/providers/ViewProvider.js +5 -5
  241. package/components/elements/Comment.d.ts +3 -3
  242. package/components/elements/Comment.js +4 -4
  243. package/components/elements/EditRow.js +1 -1
  244. package/components/elements/PluginChip.js +1 -1
  245. package/components/elements/PluginTypography.js +1 -1
  246. package/components/elements/ThemedEditor.js +2 -2
  247. package/components/elements/UserList.js +1 -1
  248. package/components/elements/addons/layout/FlexPort.js +1 -1
  249. package/components/elements/addons/layout/FlexVertical.d.ts +1 -1
  250. package/components/elements/addons/layout/FlexVertical.js +1 -1
  251. package/components/elements/addons/layout/vsbox/VSBox.js +1 -1
  252. package/components/elements/addons/lists/TuiList.js +1 -1
  253. package/components/elements/addons/lists/TuiListBase.js +2 -2
  254. package/components/elements/addons/lists/hooks/useTuiListKeyboard.js +2 -2
  255. package/components/elements/addons/lists/table/TuiTable.js +1 -1
  256. package/components/elements/addons/lists/table/TuiTableBody.js +1 -1
  257. package/components/elements/addons/lists/table/TuiTableHead.js +1 -1
  258. package/components/elements/addons/search/phrase/Phrase.d.ts +1 -1
  259. package/components/elements/addons/search/phrase/Phrase.js +1 -1
  260. package/components/elements/display/Classification.js +1 -1
  261. package/components/elements/display/HandlebarsMarkdown.js +2 -2
  262. package/components/elements/display/HowlerAvatar.js +3 -3
  263. package/components/elements/display/HowlerAvatarHeader.d.ts +1 -1
  264. package/components/elements/display/ItemManager.d.ts +2 -2
  265. package/components/elements/display/ItemManager.js +5 -5
  266. package/components/elements/display/Markdown.js +1 -1
  267. package/components/elements/display/Modal.js +1 -1
  268. package/components/elements/display/UserPageWrapper.d.ts +1 -1
  269. package/components/elements/display/UserPageWrapper.js +1 -1
  270. package/components/elements/display/features/DevelopmentBanner.js +2 -2
  271. package/components/elements/display/features/DevelopmentIcon.js +2 -2
  272. package/components/elements/display/handlebars/helpers.js +4 -4
  273. package/components/elements/display/icons/BundleButton.js +1 -1
  274. package/components/elements/display/icons/SocketBadge.js +1 -1
  275. package/components/elements/display/json/JSONViewer.js +4 -4
  276. package/components/elements/display/json/worker.js +1 -1
  277. package/components/elements/display/modals/ConfirmDeleteModal.js +1 -1
  278. package/components/elements/display/modals/ConfirmNotebookModal.js +1 -1
  279. package/components/elements/display/modals/CreateActionModal.js +3 -3
  280. package/components/elements/display/modals/RationaleModal.js +2 -2
  281. package/components/elements/hit/HitActions.d.ts +1 -1
  282. package/components/elements/hit/HitActions.js +11 -11
  283. package/components/elements/hit/HitBanner.d.ts +1 -1
  284. package/components/elements/hit/HitBanner.js +5 -5
  285. package/components/elements/hit/HitBannerTooltip.d.ts +1 -1
  286. package/components/elements/hit/HitCard.js +2 -2
  287. package/components/elements/hit/HitComments.d.ts +2 -2
  288. package/components/elements/hit/HitComments.js +7 -7
  289. package/components/elements/hit/HitDetails.d.ts +1 -1
  290. package/components/elements/hit/HitDetails.js +1 -1
  291. package/components/elements/hit/HitLabels.d.ts +1 -1
  292. package/components/elements/hit/HitLabels.js +4 -4
  293. package/components/elements/hit/HitNotebooks.d.ts +2 -2
  294. package/components/elements/hit/HitNotebooks.js +6 -6
  295. package/components/elements/hit/HitOutline.d.ts +1 -1
  296. package/components/elements/hit/HitOutline.js +1 -1
  297. package/components/elements/hit/HitOverview.d.ts +1 -1
  298. package/components/elements/hit/HitOverview.js +2 -2
  299. package/components/elements/hit/HitQuickSearch.d.ts +2 -2
  300. package/components/elements/hit/HitQuickSearch.js +2 -2
  301. package/components/elements/hit/HitRelated.d.ts +1 -1
  302. package/components/elements/hit/HitSummary.d.ts +2 -2
  303. package/components/elements/hit/HitSummary.js +10 -10
  304. package/components/elements/hit/HitWorklog.d.ts +2 -2
  305. package/components/elements/hit/HitWorklog.js +4 -4
  306. package/components/elements/hit/actions/DropdownActions.js +1 -1
  307. package/components/elements/hit/aggregate/HitGraph.js +8 -8
  308. package/components/elements/hit/elements/Assigned.d.ts +1 -1
  309. package/components/elements/hit/elements/Assigned.js +2 -2
  310. package/components/elements/hit/elements/EscalationChip.d.ts +1 -1
  311. package/components/elements/hit/elements/EscalationChip.js +1 -1
  312. package/components/elements/hit/elements/HitTimestamp.d.ts +1 -1
  313. package/components/elements/hit/elements/HitTimestamp.js +2 -2
  314. package/components/elements/hit/outlines/DefaultOutline.d.ts +2 -2
  315. package/components/elements/hit/outlines/DefaultOutline.js +2 -2
  316. package/components/elements/hit/outlines/al/AssemblyLineRules.d.ts +1 -1
  317. package/components/elements/hit/related/PivotLink.d.ts +2 -2
  318. package/components/elements/hit/related/PivotLink.js +1 -1
  319. package/components/elements/hit/related/RelatedLink.js +3 -3
  320. package/components/elements/view/ViewTitle.js +1 -1
  321. package/components/hooks/useHitActions.d.ts +2 -2
  322. package/components/hooks/useHitActions.js +8 -8
  323. package/components/hooks/useHitSelection.d.ts +2 -2
  324. package/components/hooks/useHitSelection.js +4 -4
  325. package/components/hooks/useMyApi.js +1 -1
  326. package/components/hooks/useMyLocalStorage.d.ts +2 -2
  327. package/components/hooks/useMyLocalStorage.js +4 -4
  328. package/components/hooks/useMyPreferences.d.ts +1 -1
  329. package/components/hooks/useMyPreferences.js +3 -3
  330. package/components/hooks/useMySearch.d.ts +2 -2
  331. package/components/hooks/useMySearch.js +4 -4
  332. package/components/hooks/useMySitemap.d.ts +1 -1
  333. package/components/hooks/useMyTheme.d.ts +1 -1
  334. package/components/hooks/useMyUser.d.ts +2 -2
  335. package/components/hooks/useMyUserFunctions.d.ts +1 -1
  336. package/components/hooks/useMyUserFunctions.js +13 -13
  337. package/components/hooks/useMyUserList.js +1 -1
  338. package/components/hooks/useMyUtils.js +1 -1
  339. package/components/logins/Login.js +4 -4
  340. package/components/logins/auth/OAuthLogin.js +3 -3
  341. package/components/logins/hooks/useLogin.d.ts +1 -1
  342. package/components/logins/hooks/useLogin.js +9 -9
  343. package/components/routes/404.js +1 -1
  344. package/components/routes/ErrorOccured.js +2 -2
  345. package/components/routes/Logout.js +3 -3
  346. package/components/routes/action/edit/ActionEditor.d.ts +2 -2
  347. package/components/routes/action/edit/ActionEditor.js +9 -9
  348. package/components/routes/action/shared/ActionReportDisplay.d.ts +1 -1
  349. package/components/routes/action/shared/ActionReportDisplay.js +1 -1
  350. package/components/routes/action/shared/OperationEntry.d.ts +2 -2
  351. package/components/routes/action/shared/OperationEntry.js +2 -2
  352. package/components/routes/action/shared/OperationStep.d.ts +1 -1
  353. package/components/routes/action/shared/OperationStep.js +5 -5
  354. package/components/routes/action/useMyActionFunctions.d.ts +4 -4
  355. package/components/routes/action/useMyActionFunctions.js +4 -4
  356. package/components/routes/action/view/ActionDetails.js +9 -9
  357. package/components/routes/action/view/ActionSearch.js +11 -11
  358. package/components/routes/action/view/Integrations.js +2 -2
  359. package/components/routes/admin/users/UserEditor.js +7 -7
  360. package/components/routes/admin/users/UserSearch.js +15 -15
  361. package/components/routes/advanced/QueryBuilder.js +10 -10
  362. package/components/routes/advanced/QueryEditor.js +3 -3
  363. package/components/routes/advanced/RuleModal.js +9 -9
  364. package/components/routes/advanced/eqlCompletionProvider.js +1 -1
  365. package/components/routes/advanced/historyCompletionProvider.js +2 -2
  366. package/components/routes/advanced/luceneCompletionProvider.js +3 -3
  367. package/components/routes/advanced/yamlCompletionProvider.js +1 -1
  368. package/components/routes/analytics/AnalyticComments.d.ts +1 -1
  369. package/components/routes/analytics/AnalyticComments.js +8 -8
  370. package/components/routes/analytics/AnalyticDetails.js +10 -10
  371. package/components/routes/analytics/AnalyticHitComments.d.ts +1 -1
  372. package/components/routes/analytics/AnalyticHitComments.js +6 -6
  373. package/components/routes/analytics/AnalyticNotebooks.d.ts +1 -1
  374. package/components/routes/analytics/AnalyticNotebooks.js +7 -7
  375. package/components/routes/analytics/AnalyticOverview.d.ts +1 -1
  376. package/components/routes/analytics/AnalyticOverview.js +5 -5
  377. package/components/routes/analytics/AnalyticOverviews.d.ts +1 -1
  378. package/components/routes/analytics/AnalyticOverviews.js +2 -2
  379. package/components/routes/analytics/AnalyticSearch.js +13 -13
  380. package/components/routes/analytics/AnalyticTemplates.d.ts +1 -1
  381. package/components/routes/analytics/AnalyticTemplates.js +2 -2
  382. package/components/routes/analytics/RuleView.d.ts +1 -1
  383. package/components/routes/analytics/RuleView.js +3 -3
  384. package/components/routes/analytics/TriageSettings.d.ts +1 -1
  385. package/components/routes/analytics/TriageSettings.js +4 -4
  386. package/components/routes/analytics/widgets/Assessment.d.ts +1 -1
  387. package/components/routes/analytics/widgets/Assessment.js +3 -3
  388. package/components/routes/analytics/widgets/Created.d.ts +1 -1
  389. package/components/routes/analytics/widgets/Created.js +3 -3
  390. package/components/routes/analytics/widgets/Detection.d.ts +1 -1
  391. package/components/routes/analytics/widgets/Detection.js +1 -1
  392. package/components/routes/analytics/widgets/Escalation.d.ts +1 -1
  393. package/components/routes/analytics/widgets/Escalation.js +3 -3
  394. package/components/routes/analytics/widgets/Stacked.d.ts +1 -1
  395. package/components/routes/analytics/widgets/Stacked.js +2 -2
  396. package/components/routes/analytics/widgets/Status.d.ts +1 -1
  397. package/components/routes/analytics/widgets/Status.js +1 -1
  398. package/components/routes/dossiers/DossierCard.d.ts +1 -1
  399. package/components/routes/dossiers/DossierCard.js +2 -2
  400. package/components/routes/dossiers/DossierEditor.js +4 -4
  401. package/components/routes/dossiers/Dossiers.js +8 -8
  402. package/components/routes/dossiers/LeadEditor.d.ts +1 -1
  403. package/components/routes/dossiers/LeadEditor.js +2 -2
  404. package/components/routes/dossiers/LeadForm.d.ts +1 -1
  405. package/components/routes/dossiers/PivotForm.d.ts +2 -2
  406. package/components/routes/dossiers/PivotForm.js +2 -2
  407. package/components/routes/help/ActionDocumentation.js +3 -3
  408. package/components/routes/help/ActionIntroductionDocumentation.js +5 -5
  409. package/components/routes/help/ApiDocumentation.js +10 -10
  410. package/components/routes/help/AuthDocumentation.js +3 -3
  411. package/components/routes/help/BundleDocumentation.js +1 -1
  412. package/components/routes/help/ClientDocumentation.js +3 -3
  413. package/components/routes/help/Help.js +4 -4
  414. package/components/routes/help/HitBannerDocumentation.js +4 -4
  415. package/components/routes/help/HitDocumentation.js +2 -2
  416. package/components/routes/help/HitLabelsDocumentation.js +1 -1
  417. package/components/routes/help/HitLinksDocumentation.js +2 -2
  418. package/components/routes/help/HitSchemaDocumentation.js +3 -3
  419. package/components/routes/help/NotebookDocumentation.js +3 -3
  420. package/components/routes/help/OverviewDocumentation.js +3 -3
  421. package/components/routes/help/RetentionDocumentation.js +7 -7
  422. package/components/routes/help/SearchDocumentation.js +4 -4
  423. package/components/routes/help/TemplateDocumentation.js +5 -5
  424. package/components/routes/help/ViewDocumentation.js +3 -3
  425. package/components/routes/hits/search/BundleParentMenu.d.ts +1 -1
  426. package/components/routes/hits/search/BundleParentMenu.js +4 -4
  427. package/components/routes/hits/search/BundleScroller.js +1 -1
  428. package/components/routes/hits/search/CustomSort.js +2 -2
  429. package/components/routes/hits/search/HitBrowser.js +10 -10
  430. package/components/routes/hits/search/HitContextMenu.js +9 -9
  431. package/components/routes/hits/search/HitQuery.js +5 -5
  432. package/components/routes/hits/search/InformationPane.js +33 -33
  433. package/components/routes/hits/search/SearchPane.js +21 -21
  434. package/components/routes/hits/search/ViewLink.js +3 -3
  435. package/components/routes/hits/search/grid/AddColumnModal.js +3 -3
  436. package/components/routes/hits/search/grid/EnchancedCell.js +1 -1
  437. package/components/routes/hits/search/grid/HitGrid.js +12 -12
  438. package/components/routes/hits/search/grid/HitRow.d.ts +1 -1
  439. package/components/routes/hits/search/grid/HitRow.js +8 -8
  440. package/components/routes/hits/search/shared/CustomSpan.js +1 -1
  441. package/components/routes/hits/search/shared/HitFilter.js +4 -4
  442. package/components/routes/hits/search/shared/HitSort.js +2 -2
  443. package/components/routes/hits/search/shared/QuerySettings.js +2 -2
  444. package/components/routes/hits/search/shared/SearchSpan.js +3 -3
  445. package/components/routes/hits/view/HitViewer.js +29 -29
  446. package/components/routes/hits/view/LeadRenderer.d.ts +2 -2
  447. package/components/routes/hits/view/LeadRenderer.js +1 -1
  448. package/components/routes/home/AddNewCard.d.ts +1 -1
  449. package/components/routes/home/AddNewCard.js +3 -3
  450. package/components/routes/home/AnalyticCard.js +2 -2
  451. package/components/routes/home/ViewCard.js +6 -6
  452. package/components/routes/home/index.js +8 -8
  453. package/components/routes/overviews/OverviewCard.d.ts +1 -1
  454. package/components/routes/overviews/OverviewCard.js +2 -2
  455. package/components/routes/overviews/OverviewEditor.js +2 -2
  456. package/components/routes/overviews/OverviewViewer.js +9 -9
  457. package/components/routes/overviews/Overviews.js +8 -8
  458. package/components/routes/overviews/startingTemplate.js +1 -1
  459. package/components/routes/settings/AdminSection.js +1 -1
  460. package/components/routes/settings/LocalSection.js +4 -4
  461. package/components/routes/settings/ProfileSection.d.ts +1 -1
  462. package/components/routes/settings/ProfileSection.js +3 -3
  463. package/components/routes/settings/SecuritySection.d.ts +1 -1
  464. package/components/routes/settings/SecuritySection.js +8 -8
  465. package/components/routes/settings/Settings.js +5 -5
  466. package/components/routes/templates/TemplateCard.d.ts +1 -1
  467. package/components/routes/templates/TemplateEditor.d.ts +1 -1
  468. package/components/routes/templates/TemplateEditor.js +4 -4
  469. package/components/routes/templates/TemplateViewer.js +10 -10
  470. package/components/routes/templates/Templates.js +9 -9
  471. package/components/routes/views/ViewComposer.js +19 -19
  472. package/components/routes/views/Views.js +13 -13
  473. package/i18n.js +6 -6
  474. package/index.js +2 -2
  475. package/models/entities/HowlerUser.d.ts +1 -1
  476. package/models/socket/HitUpdate.d.ts +1 -1
  477. package/package.json +1 -1
  478. package/plugins/HowlerPlugin.d.ts +11 -11
  479. package/plugins/store.d.ts +1 -1
  480. package/rest/AxiosClient.d.ts +2 -2
  481. package/rest/AxiosClient.js +1 -1
  482. package/rest/FetchClient.d.ts +2 -2
  483. package/rest/index.d.ts +1 -1
  484. package/utils/actionUtils.d.ts +2 -2
  485. package/utils/hitFunctions.d.ts +1 -1
  486. package/utils/localStorage.d.ts +1 -1
  487. package/utils/sessionStorage.js +1 -1
  488. package/utils/socketUtils.d.ts +2 -2
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Box, ListItem, ListItemButton, ListItemIcon, ListItemText, Tooltip, useTheme } from '@mui/material';
3
- import { useAppLeftNav, useAppUser } from 'commons/components/app/hooks';
3
+ import { useAppLeftNav, useAppUser } from '@cccsaurora/howler-ui/commons/components/app/hooks';
4
4
  import { memo, useMemo } from 'react';
5
5
  import { useTranslation } from 'react-i18next';
6
6
  import { Link } from 'react-router-dom';
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { parseFeed } from 'commons/components/notification';
3
- import { NotificationContainer } from 'commons/components/notification/elements/NotificationContainer';
4
- import { NotificationTopNavButton } from 'commons/components/notification/elements/NotificationTopNavButton';
5
- import { NotificationItem } from 'commons/components/notification/elements/item/NotificationItem';
2
+ import { parseFeed } from '@cccsaurora/howler-ui/commons/components/notification';
3
+ import { NotificationContainer } from '@cccsaurora/howler-ui/commons/components/notification/elements/NotificationContainer';
4
+ import { NotificationTopNavButton } from '@cccsaurora/howler-ui/commons/components/notification/elements/NotificationTopNavButton';
5
+ import { NotificationItem } from '@cccsaurora/howler-ui/commons/components/notification/elements/item/NotificationItem';
6
6
  import { memo, useCallback, useEffect, useRef, useState } from 'react';
7
7
  export const Notification = memo(({ urls = null, notificationItem = NotificationItem, inDrawer = true, openIfNew = false, maxDrawerWidth = '500px' }) => {
8
8
  const [drawer, setDrawer] = useState(false);
@@ -1,3 +1,3 @@
1
- import { type NotificationProps } from 'commons/components/notification/elements/NotificationContainer';
1
+ import { type NotificationProps } from '@cccsaurora/howler-ui/commons/components/notification/elements/NotificationContainer';
2
2
  import { type FC } from 'react';
3
3
  export declare const NotificationCloseButton: FC<NotificationProps>;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { CloseOutlined } from '@mui/icons-material';
3
3
  import { IconButton } from '@mui/material';
4
- import {} from 'commons/components/notification/elements/NotificationContainer';
4
+ import {} from '@cccsaurora/howler-ui/commons/components/notification/elements/NotificationContainer';
5
5
  import { memo } from 'react';
6
6
  export const NotificationCloseButton = memo(({ drawer = false, onDrawerOpen = () => null, onDrawerClose = () => null }) => (_jsx("div", { children: _jsx(IconButton, { onClick: () => (drawer ? onDrawerClose() : onDrawerOpen()), size: "large", children: _jsx(CloseOutlined, { fontSize: "medium" }) }) })));
@@ -1,5 +1,5 @@
1
- import { type ItemComponentProps } from 'commons/components/app/AppNotificationService';
2
- import { type FeedItem } from 'commons/components/notification';
1
+ import { type ItemComponentProps } from '@cccsaurora/howler-ui/commons/components/app/AppNotificationService';
2
+ import { type FeedItem } from '@cccsaurora/howler-ui/commons/components/notification';
3
3
  import { type FC } from 'react';
4
4
  export type NotificationProps = {
5
5
  notifications: FeedItem[];
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { FeedbackOutlined } from '@mui/icons-material';
3
3
  import { Drawer, useMediaQuery, useTheme } from '@mui/material';
4
- import {} from 'commons/components/app/AppNotificationService';
5
- import {} from 'commons/components/notification';
6
- import { NotificationCloseButton } from 'commons/components/notification/elements/NotificationCloseButton';
7
- import { NotificationHeader } from 'commons/components/notification/elements/NotificationHeader';
8
- import { NotificationItems } from 'commons/components/notification/elements/NotificationItems';
4
+ import {} from '@cccsaurora/howler-ui/commons/components/app/AppNotificationService';
5
+ import {} from '@cccsaurora/howler-ui/commons/components/notification';
6
+ import { NotificationCloseButton } from '@cccsaurora/howler-ui/commons/components/notification/elements/NotificationCloseButton';
7
+ import { NotificationHeader } from '@cccsaurora/howler-ui/commons/components/notification/elements/NotificationHeader';
8
+ import { NotificationItems } from '@cccsaurora/howler-ui/commons/components/notification/elements/NotificationItems';
9
9
  import { memo, useCallback, useState } from 'react';
10
10
  import { useTranslation } from 'react-i18next';
11
11
  export const NotificationContainer = memo(props => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { NotificationSkeleton } from 'commons/components/notification/elements/NotificationSkeleton';
2
+ import { NotificationSkeleton } from '@cccsaurora/howler-ui/commons/components/notification/elements/NotificationSkeleton';
3
3
  import { memo, useEffect, useRef, useState } from 'react';
4
4
  function useOnScreen(ref, rootMargin = '0px') {
5
5
  // State and setter for storing whether element is visible
@@ -1,5 +1,5 @@
1
- import { type ItemComponentProps } from 'commons/components/app/AppNotificationService';
2
- import { type FeedItem } from 'commons/components/notification';
1
+ import { type ItemComponentProps } from '@cccsaurora/howler-ui/commons/components/app/AppNotificationService';
2
+ import { type FeedItem } from '@cccsaurora/howler-ui/commons/components/notification';
3
3
  import { type FC } from 'react';
4
4
  type NotificationListsProps = {
5
5
  notifications: FeedItem[];
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Divider, Stack, useTheme } from '@mui/material';
3
- import {} from 'commons/components/app/AppNotificationService';
4
- import {} from 'commons/components/notification';
3
+ import {} from '@cccsaurora/howler-ui/commons/components/app/AppNotificationService';
4
+ import {} from '@cccsaurora/howler-ui/commons/components/notification';
5
5
  import { memo } from 'react';
6
6
  import { NotificationEndOfPage } from './NotificationEndOfPage';
7
7
  import { NotificationError } from './NotificationError';
@@ -1,5 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import type { FeedItem } from 'commons/components/notification/FeedModels';
2
+ import type { FeedItem } from '@cccsaurora/howler-ui/commons/components/notification/FeedModels';
3
3
  export declare const NotificationItem: FC<{
4
4
  item?: FeedItem;
5
5
  }>;
@@ -1,12 +1,12 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useTheme } from '@mui/material';
3
3
  import { memo } from 'react';
4
- import { NotificationItemAuthor } from 'commons/components/notification/elements/item/NotificationItemAuthor';
5
- import { NotificationItemContent } from 'commons/components/notification/elements/item/NotificationItemContent';
6
- import { NotificationItemDate } from 'commons/components/notification/elements/item/NotificationItemDate';
7
- import { NotificationItemImage } from 'commons/components/notification/elements/item/NotificationItemImage';
8
- import { NotificationItemTag } from 'commons/components/notification/elements/item/NotificationItemTag';
9
- import { NotificationItemTitle } from 'commons/components/notification/elements/item/NotificationItemTitle';
4
+ import { NotificationItemAuthor } from '@cccsaurora/howler-ui/commons/components/notification/elements/item/NotificationItemAuthor';
5
+ import { NotificationItemContent } from '@cccsaurora/howler-ui/commons/components/notification/elements/item/NotificationItemContent';
6
+ import { NotificationItemDate } from '@cccsaurora/howler-ui/commons/components/notification/elements/item/NotificationItemDate';
7
+ import { NotificationItemImage } from '@cccsaurora/howler-ui/commons/components/notification/elements/item/NotificationItemImage';
8
+ import { NotificationItemTag } from '@cccsaurora/howler-ui/commons/components/notification/elements/item/NotificationItemTag';
9
+ import { NotificationItemTitle } from '@cccsaurora/howler-ui/commons/components/notification/elements/item/NotificationItemTitle';
10
10
  export const NotificationItem = memo(({ item = null }) => {
11
11
  const theme = useTheme();
12
12
  return !item ? null : (_jsxs("div", { style: {
@@ -1,4 +1,4 @@
1
- import type { FeedAuthor } from 'commons/components/notification/FeedModels';
1
+ import type { FeedAuthor } from '@cccsaurora/howler-ui/commons/components/notification/FeedModels';
2
2
  import { type FC } from 'react';
3
3
  export declare const NotificationItemAuthor: FC<{
4
4
  author: FeedAuthor;
@@ -1,3 +1,3 @@
1
- import { type FeedItem } from 'commons/components/notification';
1
+ import { type FeedItem } from '@cccsaurora/howler-ui/commons/components/notification';
2
2
  import { type FC } from 'react';
3
3
  export declare const NotificationItemContent: FC<FeedItem>;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Box, Link, Typography } from '@mui/material';
3
- import {} from 'commons/components/notification';
3
+ import {} from '@cccsaurora/howler-ui/commons/components/notification';
4
4
  import DOMPurify from 'dompurify';
5
5
  import { memo } from 'react';
6
6
  import Markdown from 'react-markdown';
@@ -1,3 +1,3 @@
1
- import { type FeedItem } from 'commons/components/notification';
1
+ import { type FeedItem } from '@cccsaurora/howler-ui/commons/components/notification';
2
2
  import { type FC } from 'react';
3
3
  export declare const NotificationItemDate: FC<FeedItem>;
@@ -1,6 +1,6 @@
1
1
  import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Typography } from '@mui/material';
3
- import {} from 'commons/components/notification';
3
+ import {} from '@cccsaurora/howler-ui/commons/components/notification';
4
4
  import moment from 'moment';
5
5
  import { memo } from 'react';
6
6
  import { useTranslation } from 'react-i18next';
@@ -1,3 +1,3 @@
1
- import { type FeedItem } from 'commons/components/notification';
1
+ import { type FeedItem } from '@cccsaurora/howler-ui/commons/components/notification';
2
2
  import { type FC } from 'react';
3
3
  export declare const NotificationItemTitle: FC<FeedItem>;
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Circle } from '@mui/icons-material';
3
3
  import { Link, Stack, Typography, useTheme } from '@mui/material';
4
- import {} from 'commons/components/notification';
4
+ import {} from '@cccsaurora/howler-ui/commons/components/notification';
5
5
  import { memo } from 'react';
6
6
  export const NotificationItemTitle = memo(({ title = null, url = null, _isNew = false }) => {
7
7
  const theme = useTheme();
@@ -1,2 +1,2 @@
1
- export * from 'commons/components/notification/FeedModels';
2
- export * from 'commons/components/notification/Notification';
1
+ export * from '@cccsaurora/howler-ui/commons/components/notification/FeedModels';
2
+ export * from '@cccsaurora/howler-ui/commons/components/notification/Notification';
@@ -1,2 +1,2 @@
1
- export * from 'commons/components/notification/FeedModels';
2
- export * from 'commons/components/notification/Notification';
1
+ export * from '@cccsaurora/howler-ui/commons/components/notification/FeedModels';
2
+ export * from '@cccsaurora/howler-ui/commons/components/notification/Notification';
@@ -1,4 +1,4 @@
1
- import { type PageProps } from 'commons/components/pages//hooks/usePageProps';
1
+ import { type PageProps } from '@cccsaurora/howler-ui/commons/components/pages//hooks/usePageProps';
2
2
  type PageCenterProps = PageProps & {
3
3
  children: React.ReactNode;
4
4
  maxWidth?: string;
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Box } from '@mui/material';
3
- import PageContent from 'commons/components/pages//PageContent';
4
- import {} from 'commons/components/pages//hooks/usePageProps';
3
+ import PageContent from '@cccsaurora/howler-ui/commons/components/pages//PageContent';
4
+ import {} from '@cccsaurora/howler-ui/commons/components/pages//hooks/usePageProps';
5
5
  import { memo } from 'react';
6
6
  const PageCenter = ({ children, height, width = '95%', maxWidth = '1200px', textAlign = 'center', ...props }) => {
7
7
  return (_jsx(Box, { component: "div", height: height, width: width, maxWidth: maxWidth, sx: theme => ({
@@ -1,4 +1,4 @@
1
- import { type PageProps } from 'commons/components/pages/hooks/usePageProps';
1
+ import { type PageProps } from '@cccsaurora/howler-ui/commons/components/pages/hooks/usePageProps';
2
2
  import { type ReactNode } from 'react';
3
3
  type PageContentProps = PageProps & {
4
4
  children?: ReactNode;
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import usePageProps, {} from 'commons/components/pages/hooks/usePageProps';
2
+ import usePageProps, {} from '@cccsaurora/howler-ui/commons/components/pages/hooks/usePageProps';
3
3
  import { memo } from 'react';
4
4
  const PageContent = ({ children, ...props }) => {
5
5
  const pageProps = usePageProps({ props });
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Fullscreen, FullscreenExit } from '@mui/icons-material';
3
3
  import { Box, IconButton } from '@mui/material';
4
- import { useAppBar, useAppBarHeight, useAppLayout } from 'commons/components/app/hooks';
5
- import PageContent from 'commons/components/pages/PageContent';
6
- import useFullscreenStatus from 'commons/components/utils/hooks/useFullscreenStatus';
4
+ import { useAppBar, useAppBarHeight, useAppLayout } from '@cccsaurora/howler-ui/commons/components/app/hooks';
5
+ import PageContent from '@cccsaurora/howler-ui/commons/components/pages/PageContent';
6
+ import useFullscreenStatus from '@cccsaurora/howler-ui/commons/components/utils/hooks/useFullscreenStatus';
7
7
  import { memo, useCallback, useRef } from 'react';
8
8
  const PageFullscreen = ({ children, margin = null, mb = 2, ml = 2, mr = 2, mt = 2 }) => {
9
9
  const maximizableElement = useRef(null);
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import PageContent from 'commons/components/pages//PageContent';
2
+ import PageContent from '@cccsaurora/howler-ui/commons/components/pages//PageContent';
3
3
  import { memo } from 'react';
4
4
  const PageFullWidth = ({ children, height, margin = null, mb = 2, ml = 2, mr = 2, mt = 2 }) => {
5
5
  return (_jsx(PageContent, { width: "100%", height: height, margin: margin, mb: mb, ml: ml, mr: mr, mt: mt, children: children }));
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { AppBar, Button, IconButton, Toolbar, Tooltip, useTheme } from '@mui/material';
3
- import { useAppBar, useAppBarHeight, useAppLayout } from 'commons/components/app/hooks';
3
+ import { useAppBar, useAppBarHeight, useAppLayout } from '@cccsaurora/howler-ui/commons/components/app/hooks';
4
4
  import { memo } from 'react';
5
5
  const PageHeader = ({ children, left, right, actions, backgroundColor, className, isSticky = false, top = null, elevation = 0 }) => {
6
6
  const theme = useTheme();
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Search } from '@mui/icons-material';
3
3
  import { Box, ClickAwayListener, Dialog, DialogContent, DialogTitle, emphasize, IconButton, Popper, Slide, Stack, styled, Tooltip, useMediaQuery, useTheme } from '@mui/material';
4
- import { useAppSearchService } from 'commons/components/app/hooks/useAppSearchService';
5
- import AppSearchInput from 'commons/components/search/AppSearchInput';
6
- import AppSearchResult from 'commons/components/search/AppSearchResult';
7
- import { parseEvent } from 'commons/components/utils/keyboard';
4
+ import { useAppSearchService } from '@cccsaurora/howler-ui/commons/components/app/hooks/useAppSearchService';
5
+ import AppSearchInput from '@cccsaurora/howler-ui/commons/components/search/AppSearchInput';
6
+ import AppSearchResult from '@cccsaurora/howler-ui/commons/components/search/AppSearchResult';
7
+ import { parseEvent } from '@cccsaurora/howler-ui/commons/components/utils/keyboard';
8
8
  import { forwardRef, useCallback, useEffect, useRef, useState } from 'react';
9
9
  import { useTranslation } from 'react-i18next';
10
10
  const MENU_LIST_SX = { maxHeight: 500, overflow: 'auto' };
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Box, MenuItem, MenuList, Typography } from '@mui/material';
3
- import { useAppSearchService } from 'commons/components/app/hooks/useAppSearchService';
3
+ import { useAppSearchService } from '@cccsaurora/howler-ui/commons/components/app/hooks/useAppSearchService';
4
4
  import { memo, useMemo } from 'react';
5
5
  import { useTranslation } from 'react-i18next';
6
- import AppListEmpty from 'commons/components/display/AppListEmpty';
7
- import { parseEvent } from 'commons/components/utils/keyboard';
6
+ import AppListEmpty from '@cccsaurora/howler-ui/commons/components/display/AppListEmpty';
7
+ import { parseEvent } from '@cccsaurora/howler-ui/commons/components/utils/keyboard';
8
8
  const AppSearchResult = ({ className, ...menuProps }) => {
9
9
  const { t } = useTranslation();
10
10
  const { state, service } = useAppSearchService();
@@ -1,14 +1,14 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Box, AppBar as MuiAppBar, Toolbar, useMediaQuery, useTheme } from '@mui/material';
3
- import { useAppBar, useAppBreadcrumbs, useAppConfigs, useAppLayout, useAppQuickSearch } from 'commons/components/app/hooks';
4
- import { APPBAR_READY_EVENT } from 'commons/components/app/hooks/useAppBarHeight';
5
- import Breadcrumbs from 'commons/components/breadcrumbs/Breadcrumbs';
6
- import AppSearch from 'commons/components/search/AppSearch';
7
- import AppName from 'commons/components/topnav/AppName';
8
- import AppSwitcher from 'commons/components/topnav/AppSwitcher';
9
- import { Notifications } from 'commons/components/topnav/Notifications';
10
- import ThemeSelectionIcon from 'commons/components/topnav/ThemeSelectionIcon';
11
- import UserProfile from 'commons/components/topnav/UserProfile';
3
+ import { useAppBar, useAppBreadcrumbs, useAppConfigs, useAppLayout, useAppQuickSearch } from '@cccsaurora/howler-ui/commons/components/app/hooks';
4
+ import { APPBAR_READY_EVENT } from '@cccsaurora/howler-ui/commons/components/app/hooks/useAppBarHeight';
5
+ import Breadcrumbs from '@cccsaurora/howler-ui/commons/components/breadcrumbs/Breadcrumbs';
6
+ import AppSearch from '@cccsaurora/howler-ui/commons/components/search/AppSearch';
7
+ import AppName from '@cccsaurora/howler-ui/commons/components/topnav/AppName';
8
+ import AppSwitcher from '@cccsaurora/howler-ui/commons/components/topnav/AppSwitcher';
9
+ import { Notifications } from '@cccsaurora/howler-ui/commons/components/topnav/Notifications';
10
+ import ThemeSelectionIcon from '@cccsaurora/howler-ui/commons/components/topnav/ThemeSelectionIcon';
11
+ import UserProfile from '@cccsaurora/howler-ui/commons/components/topnav/UserProfile';
12
12
  import { memo, useCallback, useLayoutEffect, useMemo } from 'react';
13
13
  export const AppBarBase = ({ children }) => {
14
14
  const layout = useAppLayout();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Menu } from '@mui/icons-material';
3
3
  import { IconButton, styled, useMediaQuery, useTheme } from '@mui/material';
4
- import { useAppConfigs, useAppLeftNav, useAppLogo } from 'commons/components/app/hooks';
4
+ import { useAppConfigs, useAppLeftNav, useAppLogo } from '@cccsaurora/howler-ui/commons/components/app/hooks';
5
5
  import { memo } from 'react';
6
6
  import { Link } from 'react-router-dom';
7
7
  const StyledTitle = styled('div')({
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Apps } from '@mui/icons-material';
3
3
  import { Avatar, Button, ClickAwayListener, Fade, IconButton, Link, Paper, Popper, Typography, useMediaQuery, useTheme } from '@mui/material';
4
- import { useAppSwitcher } from 'commons/components/app/hooks/useAppSwitcher';
4
+ import { useAppSwitcher } from '@cccsaurora/howler-ui/commons/components/app/hooks/useAppSwitcher';
5
5
  import { memo, useCallback, useRef, useState } from 'react';
6
6
  const AppSwitcher = () => {
7
7
  const theme = useTheme();
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { useAppNotification } from 'commons/components/app/hooks/useAppNotification';
3
- import { Notification } from 'commons/components/notification';
2
+ import { useAppNotification } from '@cccsaurora/howler-ui/commons/components/app/hooks/useAppNotification';
3
+ import { Notification } from '@cccsaurora/howler-ui/commons/components/notification';
4
4
  import {} from 'react';
5
5
  export const Notifications = () => {
6
6
  const { service, state } = useAppNotification();
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Divider, List, ListItemButton, ListItemSecondaryAction, ListItemText, ListSubheader, Switch, Typography, useMediaQuery, useTheme } from '@mui/material';
3
- import useLocalStorage from 'commons/components//utils/hooks/useLocalStorage';
4
- import { APP_STORAGE_PREFIX } from 'commons/components/app/AppConstants';
5
- import { useAppBar, useAppBreadcrumbs, useAppConfigs, useAppLanguage, useAppLayout, useAppQuickSearch, useAppTheme } from 'commons/components/app/hooks';
3
+ import useLocalStorage from '@cccsaurora/howler-ui/commons/components//utils/hooks/useLocalStorage';
4
+ import { APP_STORAGE_PREFIX } from '@cccsaurora/howler-ui/commons/components/app/AppConstants';
5
+ import { useAppBar, useAppBreadcrumbs, useAppConfigs, useAppLanguage, useAppLayout, useAppQuickSearch, useAppTheme } from '@cccsaurora/howler-ui/commons/components/app/hooks';
6
6
  import { memo } from 'react';
7
7
  import { useTranslation } from 'react-i18next';
8
8
  const ThemeSelection = () => {
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Tune } from '@mui/icons-material';
3
3
  import { ClickAwayListener, Fade, IconButton, Paper, Popper, useTheme } from '@mui/material';
4
- import { useAppConfigs } from 'commons/components/app/hooks/useAppConfigs';
5
- import ThemeSelection from 'commons/components/topnav/ThemeSelection';
4
+ import { useAppConfigs } from '@cccsaurora/howler-ui/commons/components/app/hooks/useAppConfigs';
5
+ import ThemeSelection from '@cccsaurora/howler-ui/commons/components/topnav/ThemeSelection';
6
6
  import { useRef, useState } from 'react';
7
7
  const ThemeSelectionIcon = () => {
8
8
  const anchorEl = useRef();
@@ -1,5 +1,5 @@
1
1
  import type { StyledComponent } from '@emotion/styled';
2
- import { type AppAvatarProps } from 'commons/components/display/AppAvatar';
2
+ import { type AppAvatarProps } from '@cccsaurora/howler-ui/commons/components/display/AppAvatar';
3
3
  export declare const AppUserAvatar: StyledComponent<AppAvatarProps>;
4
4
  declare const _default: import("react").MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Box, ClickAwayListener, Divider, Fade, IconButton, List, ListItem, ListItemButton, ListItemIcon, ListItemText, ListSubheader, Paper, Popper, styled, Typography, useTheme } from '@mui/material';
3
- import { useAppConfigs, useAppUser } from 'commons/components/app/hooks';
4
- import AppAvatar, {} from 'commons/components/display/AppAvatar';
5
- import ThemeSelection from 'commons/components/topnav/ThemeSelection';
3
+ import { useAppConfigs, useAppUser } from '@cccsaurora/howler-ui/commons/components/app/hooks';
4
+ import AppAvatar, {} from '@cccsaurora/howler-ui/commons/components/display/AppAvatar';
5
+ import ThemeSelection from '@cccsaurora/howler-ui/commons/components/topnav/ThemeSelection';
6
6
  import { memo, useCallback, useRef, useState } from 'react';
7
7
  import { useTranslation } from 'react-i18next';
8
8
  import { Link } from 'react-router-dom';
@@ -1,4 +1,4 @@
1
- import useLocalStorage from 'commons/components/utils/hooks/useLocalStorage';
1
+ import useLocalStorage from '@cccsaurora/howler-ui/commons/components/utils/hooks/useLocalStorage';
2
2
  import { useEffect, useMemo, useState } from 'react';
3
3
  /**
4
4
  * This hooks backs the typical 'useState' hook with local storage.
@@ -1,5 +1,5 @@
1
1
  import { type Components, type PaletteOptions, type Theme } from '@mui/material';
2
- import type { AppThemeConfigs } from 'commons/components/app/AppConfigs';
2
+ import type { AppThemeConfigs } from '@cccsaurora/howler-ui/commons/components/app/AppConfigs';
3
3
  export declare const createTuiTheme: (components: Components<Omit<Theme, "components">>, palette: PaletteOptions) => Theme;
4
4
  export default function useThemeBuilder(theme?: AppThemeConfigs): {
5
5
  darkTheme: Theme;
@@ -1,5 +1,5 @@
1
1
  import { createTheme } from '@mui/material';
2
- import { AppDefaultsThemeConfigs } from 'commons/components/app/AppDefaults';
2
+ import { AppDefaultsThemeConfigs } from '@cccsaurora/howler-ui/commons/components/app/AppDefaults';
3
3
  import { useMemo } from 'react';
4
4
  export const createTuiTheme = (components, palette) => createTheme({
5
5
  components: {
@@ -1,62 +1,62 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { loader } from '@monaco-editor/react';
3
- import api from 'api';
4
- import AppProvider from 'commons/components/app/AppProvider';
5
- import LayoutSkeleton from 'commons/components/app/AppSkeleton';
6
- import { useAppLayout, useAppSwitcher, useAppUser } from 'commons/components/app/hooks';
7
- import Modal from 'components/elements/display/Modal';
8
- import useMyApi from 'components/hooks/useMyApi';
9
- import useMyLocalStorage from 'components/hooks/useMyLocalStorage';
10
- import useMyPreferences from 'components/hooks/useMyPreferences';
11
- import useMySitemap from 'components/hooks/useMySitemap';
12
- import useMyTheme from 'components/hooks/useMyTheme';
13
- import useMyUser from 'components/hooks/useMyUser';
14
- import LoginScreen from 'components/logins/Login';
15
- import useLogin from 'components/logins/hooks/useLogin';
16
- import NotFoundPage from 'components/routes/404';
17
- import ErrorBoundary from 'components/routes/ErrorBoundary';
18
- import Logout from 'components/routes/Logout';
19
- import ActionEditor from 'components/routes/action/edit/ActionEditor';
20
- import ActionDetails from 'components/routes/action/view/ActionDetails';
21
- import ActionSearchProvider from 'components/routes/action/view/ActionSearch';
22
- import Integrations from 'components/routes/action/view/Integrations';
23
- import UserEditor from 'components/routes/admin/users/UserEditor';
24
- import UserSearchProvider from 'components/routes/admin/users/UserSearch';
25
- import QueryBuilder from 'components/routes/advanced/QueryBuilder';
26
- import AnalyticDetails from 'components/routes/analytics/AnalyticDetails';
27
- import AnalyticSearch from 'components/routes/analytics/AnalyticSearch';
28
- import DossierEditor from 'components/routes/dossiers/DossierEditor';
29
- import Dossiers from 'components/routes/dossiers/Dossiers';
30
- import ActionDocumentation from 'components/routes/help/ActionDocumentation';
31
- import ApiDocumentation from 'components/routes/help/ApiDocumentation';
32
- import AuthDocumentation from 'components/routes/help/AuthDocumentation';
33
- import ClientDocumentation from 'components/routes/help/ClientDocumentation';
34
- import HelpDashboard from 'components/routes/help/Help';
35
- import HitDocumentation from 'components/routes/help/HitDocumentation';
36
- import NotebookDocumentation from 'components/routes/help/NotebookDocumentation';
37
- import OverviewDocumentation from 'components/routes/help/OverviewDocumentation';
38
- import RetentionDocumentation from 'components/routes/help/RetentionDocumentation';
39
- import SearchDocumentation from 'components/routes/help/SearchDocumentation';
40
- import TemplateDocumentation from 'components/routes/help/TemplateDocumentation';
41
- import ViewDocumentation from 'components/routes/help/ViewDocumentation';
42
- import HitBrowser from 'components/routes/hits/search/HitBrowser';
43
- import HitViewer from 'components/routes/hits/view/HitViewer';
44
- import Home from 'components/routes/home';
45
- import OverviewViewer from 'components/routes/overviews/OverviewViewer';
46
- import Overviews from 'components/routes/overviews/Overviews';
47
- import Settings from 'components/routes/settings/Settings';
48
- import TemplateViewer from 'components/routes/templates/TemplateViewer';
49
- import Templates from 'components/routes/templates/Templates';
50
- import ViewComposer from 'components/routes/views/ViewComposer';
51
- import Views from 'components/routes/views/Views';
3
+ import api from '@cccsaurora/howler-ui/api';
4
+ import AppProvider from '@cccsaurora/howler-ui/commons/components/app/AppProvider';
5
+ import LayoutSkeleton from '@cccsaurora/howler-ui/commons/components/app/AppSkeleton';
6
+ import { useAppLayout, useAppSwitcher, useAppUser } from '@cccsaurora/howler-ui/commons/components/app/hooks';
7
+ import Modal from '@cccsaurora/howler-ui/components/elements/display/Modal';
8
+ import useMyApi from '@cccsaurora/howler-ui/components/hooks/useMyApi';
9
+ import useMyLocalStorage from '@cccsaurora/howler-ui/components/hooks/useMyLocalStorage';
10
+ import useMyPreferences from '@cccsaurora/howler-ui/components/hooks/useMyPreferences';
11
+ import useMySitemap from '@cccsaurora/howler-ui/components/hooks/useMySitemap';
12
+ import useMyTheme from '@cccsaurora/howler-ui/components/hooks/useMyTheme';
13
+ import useMyUser from '@cccsaurora/howler-ui/components/hooks/useMyUser';
14
+ import LoginScreen from '@cccsaurora/howler-ui/components/logins/Login';
15
+ import useLogin from '@cccsaurora/howler-ui/components/logins/hooks/useLogin';
16
+ import NotFoundPage from '@cccsaurora/howler-ui/components/routes/404';
17
+ import ErrorBoundary from '@cccsaurora/howler-ui/components/routes/ErrorBoundary';
18
+ import Logout from '@cccsaurora/howler-ui/components/routes/Logout';
19
+ import ActionEditor from '@cccsaurora/howler-ui/components/routes/action/edit/ActionEditor';
20
+ import ActionDetails from '@cccsaurora/howler-ui/components/routes/action/view/ActionDetails';
21
+ import ActionSearchProvider from '@cccsaurora/howler-ui/components/routes/action/view/ActionSearch';
22
+ import Integrations from '@cccsaurora/howler-ui/components/routes/action/view/Integrations';
23
+ import UserEditor from '@cccsaurora/howler-ui/components/routes/admin/users/UserEditor';
24
+ import UserSearchProvider from '@cccsaurora/howler-ui/components/routes/admin/users/UserSearch';
25
+ import QueryBuilder from '@cccsaurora/howler-ui/components/routes/advanced/QueryBuilder';
26
+ import AnalyticDetails from '@cccsaurora/howler-ui/components/routes/analytics/AnalyticDetails';
27
+ import AnalyticSearch from '@cccsaurora/howler-ui/components/routes/analytics/AnalyticSearch';
28
+ import DossierEditor from '@cccsaurora/howler-ui/components/routes/dossiers/DossierEditor';
29
+ import Dossiers from '@cccsaurora/howler-ui/components/routes/dossiers/Dossiers';
30
+ import ActionDocumentation from '@cccsaurora/howler-ui/components/routes/help/ActionDocumentation';
31
+ import ApiDocumentation from '@cccsaurora/howler-ui/components/routes/help/ApiDocumentation';
32
+ import AuthDocumentation from '@cccsaurora/howler-ui/components/routes/help/AuthDocumentation';
33
+ import ClientDocumentation from '@cccsaurora/howler-ui/components/routes/help/ClientDocumentation';
34
+ import HelpDashboard from '@cccsaurora/howler-ui/components/routes/help/Help';
35
+ import HitDocumentation from '@cccsaurora/howler-ui/components/routes/help/HitDocumentation';
36
+ import NotebookDocumentation from '@cccsaurora/howler-ui/components/routes/help/NotebookDocumentation';
37
+ import OverviewDocumentation from '@cccsaurora/howler-ui/components/routes/help/OverviewDocumentation';
38
+ import RetentionDocumentation from '@cccsaurora/howler-ui/components/routes/help/RetentionDocumentation';
39
+ import SearchDocumentation from '@cccsaurora/howler-ui/components/routes/help/SearchDocumentation';
40
+ import TemplateDocumentation from '@cccsaurora/howler-ui/components/routes/help/TemplateDocumentation';
41
+ import ViewDocumentation from '@cccsaurora/howler-ui/components/routes/help/ViewDocumentation';
42
+ import HitBrowser from '@cccsaurora/howler-ui/components/routes/hits/search/HitBrowser';
43
+ import HitViewer from '@cccsaurora/howler-ui/components/routes/hits/view/HitViewer';
44
+ import Home from '@cccsaurora/howler-ui/components/routes/home';
45
+ import OverviewViewer from '@cccsaurora/howler-ui/components/routes/overviews/OverviewViewer';
46
+ import Overviews from '@cccsaurora/howler-ui/components/routes/overviews/Overviews';
47
+ import Settings from '@cccsaurora/howler-ui/components/routes/settings/Settings';
48
+ import TemplateViewer from '@cccsaurora/howler-ui/components/routes/templates/TemplateViewer';
49
+ import Templates from '@cccsaurora/howler-ui/components/routes/templates/Templates';
50
+ import ViewComposer from '@cccsaurora/howler-ui/components/routes/views/ViewComposer';
51
+ import Views from '@cccsaurora/howler-ui/components/routes/views/Views';
52
52
  import i18n from 'i18n';
53
53
  import * as monaco from 'monaco-editor';
54
- import howlerPluginStore from 'plugins/store';
54
+ import howlerPluginStore from '@cccsaurora/howler-ui/plugins/store';
55
55
  import { useContext, useEffect } from 'react';
56
56
  import { I18nextProvider } from 'react-i18next';
57
57
  import { PluginProvider, usePluginStore } from 'react-pluggable';
58
58
  import { createBrowserRouter, Outlet, RouterProvider, useLocation, useNavigate } from 'react-router-dom';
59
- import { StorageKey } from 'utils/constants';
59
+ import { StorageKey } from '@cccsaurora/howler-ui/utils/constants';
60
60
  import useMySearch from '../hooks/useMySearch';
61
61
  import AppContainer from './AppContainer';
62
62
  import AnalyticProvider from './providers/AnalyticProvider';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import FlexVertical from 'components/elements/addons/layout/FlexVertical';
2
+ import FlexVertical from '@cccsaurora/howler-ui/components/elements/addons/layout/FlexVertical';
3
3
  import { Outlet } from 'react-router-dom';
4
4
  import useTitle from './hooks/useTitle';
5
5
  import AppDrawerProvider from './providers/AppDrawerProvider';
@@ -2,10 +2,10 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
2
2
  import { Alert, AlertTitle, Button, Checkbox, Divider, FormControl, FormControlLabel, FormGroup, FormLabel, Stack, TextField, Typography } from '@mui/material';
3
3
  import { LocalizationProvider, StaticDateTimePicker } from '@mui/x-date-pickers';
4
4
  import { AdapterMoment } from '@mui/x-date-pickers/AdapterMoment';
5
- import api from 'api';
6
- import useMyApi from 'components/hooks/useMyApi';
7
- import useMySnackbar from 'components/hooks/useMySnackbar';
8
- import {} from 'models/entities/generated/ApiType';
5
+ import api from '@cccsaurora/howler-ui/api';
6
+ import useMyApi from '@cccsaurora/howler-ui/components/hooks/useMyApi';
7
+ import useMySnackbar from '@cccsaurora/howler-ui/components/hooks/useMySnackbar';
8
+ import {} from '@cccsaurora/howler-ui/models/entities/generated/ApiType';
9
9
  import moment from 'moment';
10
10
  import { useCallback, useContext, useEffect, useMemo, useState } from 'react';
11
11
  import { Trans, useTranslation } from 'react-i18next';
@@ -62,6 +62,6 @@ const ApiKeyDrawer = ({ onCreated }) => {
62
62
  useEffect(() => {
63
63
  setExpiryDate(maxDate);
64
64
  }, [maxDate]);
65
- return (_jsx(LocalizationProvider, { dateAdapter: AdapterMoment, children: _jsxs(Stack, { direction: "column", spacing: 2, sx: { mt: 2 }, children: [_jsx(Typography, { sx: { maxWidth: '500px' }, children: _jsx(Trans, { i18nKey: "app.drawer.user.apikey.description" }) }), amount && unit && moment.duration(amount, unit).asSeconds() < moment.duration(7, 'days').asSeconds() && (_jsxs(Alert, { severity: "warning", variant: "outlined", sx: { maxWidth: '500px' }, children: [_jsx(AlertTitle, { children: t('app.drawer.user.apikey.limit.title') }), t('app.drawer.user.apikey.limit.description'), " (", maxDate?.format('MMM D HH:mm:ss'), ")"] })), _jsx(TextField, { label: t('app.drawer.user.apikey.field.name'), required: true, fullWidth: true, value: keyName, onChange: onChange }), _jsxs(FormControl, { required: true, children: [_jsx(FormLabel, { component: "legend", children: t('app.drawer.user.apikey.permissions') }), _jsxs(FormGroup, { sx: { display: 'grid', gridTemplateColumns: '1fr 1fr' }, children: [_jsx(FormControlLabel, { control: _jsx(Checkbox, { onChange: updatePrivs('R') }), label: t('apikey.read') }), _jsx(FormControlLabel, { control: _jsx(Checkbox, { onChange: updatePrivs('W') }), label: t('apikey.write') }), _jsx(FormControlLabel, { disabled: privs.includes('E'), control: _jsx(Checkbox, { onChange: updatePrivs('I') }), label: t('apikey.impersonate') }), config.configuration.auth.allow_extended_apikeys && (_jsx(FormControlLabel, { disabled: privs.includes('I'), control: _jsx(Checkbox, { onChange: updatePrivs('E') }), label: t('apikey.extended') }))] })] }), _jsxs(FormControl, { required: !!maxDate, children: [_jsx(FormLabel, { children: t('app.drawer.user.apikey.expiry.date') }), _jsx(StaticDateTimePicker, { orientation: "landscape", ampm: false, value: expiryDate, onChange: newValue => setExpiryDate(newValue), disablePast: true, maxDate: maxDate, maxTime: maxDate, sx: { backgroundColor: 'transparent', '& > div:first-of-type': { maxWidth: '300px' } } })] }), _jsx(Button, { onClick: onSubmit, disabled: !keyName || (!privs.includes('R') && !privs.includes('W')) || (maxDate && !expiryDate), variant: "outlined", children: _jsx(Trans, { i18nKey: "button.create" }) }), createdKey && (_jsxs(_Fragment, { children: [_jsx(Divider, { orientation: "horizontal" }), _jsxs(Stack, { direction: "row", spacing: 1, alignItems: "stretch", children: [_jsx(TextField, { size: "small", value: createdKey, inputProps: { readOnly: true }, fullWidth: true }), _jsx(Button, { variant: "outlined", onClick: onCopy, disabled: !createdKey, children: _jsx(Trans, { i18nKey: "button.copy" }) })] })] }))] }) }));
65
+ return (_jsx(LocalizationProvider, { dateAdapter: AdapterMoment, children: _jsxs(Stack, { direction: "column", spacing: 2, sx: { mt: 2 }, children: [_jsx(Typography, { sx: { maxWidth: '500px' }, children: _jsx(Trans, { i18nKey: "app.drawer.user.apikey.description" }) }), amount && unit && moment.duration(amount, unit).asSeconds() < moment.duration(7, 'days').asSeconds() && (_jsxs(Alert, { severity: "warning", variant: "outlined", sx: { maxWidth: '500px' }, children: [_jsx(AlertTitle, { children: t('app.drawer.user.apikey.limit.title') }), t('app.drawer.user.apikey.limit.description'), " (", maxDate?.format('MMM D HH:mm:ss'), ")"] })), _jsx(TextField, { label: t('app.drawer.user.apikey.field.name'), required: true, fullWidth: true, value: keyName, onChange: onChange }), _jsxs(FormControl, { required: true, children: [_jsx(FormLabel, { component: "legend", children: t('app.drawer.user.apikey.permissions') }), _jsxs(FormGroup, { sx: { display: 'grid', gridTemplateColumns: '1fr 1fr' }, children: [_jsx(FormControlLabel, { control: _jsx(Checkbox, { onChange: updatePrivs('R') }), label: t('@cccsaurora/howler-ui/apikey.read') }), _jsx(FormControlLabel, { control: _jsx(Checkbox, { onChange: updatePrivs('W') }), label: t('@cccsaurora/howler-ui/apikey.write') }), _jsx(FormControlLabel, { disabled: privs.includes('E'), control: _jsx(Checkbox, { onChange: updatePrivs('I') }), label: t('@cccsaurora/howler-ui/apikey.impersonate') }), config.configuration.auth.allow_extended_apikeys && (_jsx(FormControlLabel, { disabled: privs.includes('I'), control: _jsx(Checkbox, { onChange: updatePrivs('E') }), label: t('@cccsaurora/howler-ui/apikey.extended') }))] })] }), _jsxs(FormControl, { required: !!maxDate, children: [_jsx(FormLabel, { children: t('app.drawer.user.apikey.expiry.date') }), _jsx(StaticDateTimePicker, { orientation: "landscape", ampm: false, value: expiryDate, onChange: newValue => setExpiryDate(newValue), disablePast: true, maxDate: maxDate, maxTime: maxDate, sx: { backgroundColor: 'transparent', '& > div:first-of-type': { maxWidth: '300px' } } })] }), _jsx(Button, { onClick: onSubmit, disabled: !keyName || (!privs.includes('R') && !privs.includes('W')) || (maxDate && !expiryDate), variant: "outlined", children: _jsx(Trans, { i18nKey: "button.create" }) }), createdKey && (_jsxs(_Fragment, { children: [_jsx(Divider, { orientation: "horizontal" }), _jsxs(Stack, { direction: "row", spacing: 1, alignItems: "stretch", children: [_jsx(TextField, { size: "small", value: createdKey, inputProps: { readOnly: true }, fullWidth: true }), _jsx(Button, { variant: "outlined", onClick: onCopy, disabled: !createdKey, children: _jsx(Trans, { i18nKey: "button.copy" }) })] })] }))] }) }));
66
66
  };
67
67
  export default ApiKeyDrawer;