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

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 +31 -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,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import howlerPluginStore from 'plugins/store';
2
+ import howlerPluginStore from '@cccsaurora/howler-ui/plugins/store';
3
3
  import { useTranslation } from 'react-i18next';
4
4
  import { usePluginStore } from 'react-pluggable';
5
5
  import SettingsSection from './SettingsSection';
@@ -2,12 +2,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /* eslint-disable react/jsx-no-literals */
3
3
  import { ViewComfy, ViewCompact, ViewModule } from '@mui/icons-material';
4
4
  import { MenuItem, Select, Stack, TableCell, TableRow, ToggleButton, ToggleButtonGroup, Typography } from '@mui/material';
5
- import { HitLayout } from 'components/elements/hit/HitLayout';
6
- import { useMyLocalStorageItem } from 'components/hooks/useMyLocalStorage';
7
- import howlerPluginStore from 'plugins/store';
5
+ import { HitLayout } from '@cccsaurora/howler-ui/components/elements/hit/HitLayout';
6
+ import { useMyLocalStorageItem } from '@cccsaurora/howler-ui/components/hooks/useMyLocalStorage';
7
+ import howlerPluginStore from '@cccsaurora/howler-ui/plugins/store';
8
8
  import { useTranslation } from 'react-i18next';
9
9
  import { usePluginStore } from 'react-pluggable';
10
- import { StorageKey } from 'utils/constants';
10
+ import { StorageKey } from '@cccsaurora/howler-ui/utils/constants';
11
11
  import EditRow from '../../elements/EditRow';
12
12
  import SettingsSection from './SettingsSection';
13
13
  const CELL_SX = { borderBottom: 0, paddingBottom: 0.5 };
@@ -1,4 +1,4 @@
1
- import type { HowlerUser } from 'models/entities/HowlerUser';
1
+ import type { HowlerUser } from '@cccsaurora/howler-ui/models/entities/HowlerUser';
2
2
  import type { FC } from 'react';
3
3
  declare const ProfileSection: FC<{
4
4
  user: HowlerUser;
@@ -1,12 +1,12 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Add, Check, ChevronRight, Clear } from '@mui/icons-material';
3
3
  import { Chip, CircularProgress, Grid, TableCell, TableRow, Typography } from '@mui/material';
4
- import { ApiConfigContext } from 'components/app/providers/ApiConfigProvider';
5
- import howlerPluginStore from 'plugins/store';
4
+ import { ApiConfigContext } from '@cccsaurora/howler-ui/components/app/providers/ApiConfigProvider';
5
+ import howlerPluginStore from '@cccsaurora/howler-ui/plugins/store';
6
6
  import { useCallback, useContext, useState } from 'react';
7
7
  import { useTranslation } from 'react-i18next';
8
8
  import { usePluginStore } from 'react-pluggable';
9
- import { delay } from 'utils/utils';
9
+ import { delay } from '@cccsaurora/howler-ui/utils/utils';
10
10
  import EditRow from '../../elements/EditRow';
11
11
  import SettingsSection from './SettingsSection';
12
12
  const ProfileSection = ({ user, editName, addRole, removeRole, viewGroups }) => {
@@ -1,4 +1,4 @@
1
- import type { HowlerUser } from 'models/entities/HowlerUser';
1
+ import type { HowlerUser } from '@cccsaurora/howler-ui/models/entities/HowlerUser';
2
2
  import type { FC } from 'react';
3
3
  declare const SecuritySection: FC<{
4
4
  user: HowlerUser;
@@ -1,21 +1,21 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import AddIcon from '@mui/icons-material/Add';
3
3
  import { Chip, Grid, IconButton, TableCell, TableRow } from '@mui/material';
4
- import { ApiConfigContext } from 'components/app/providers/ApiConfigProvider';
5
- import useMyLocalStorage from 'components/hooks/useMyLocalStorage';
4
+ import { ApiConfigContext } from '@cccsaurora/howler-ui/components/app/providers/ApiConfigProvider';
5
+ import useMyLocalStorage from '@cccsaurora/howler-ui/components/hooks/useMyLocalStorage';
6
6
  import moment from 'moment';
7
- import howlerPluginStore from 'plugins/store';
7
+ import howlerPluginStore from '@cccsaurora/howler-ui/plugins/store';
8
8
  import { useContext, useMemo } from 'react';
9
9
  import { Trans, useTranslation } from 'react-i18next';
10
10
  import { usePluginStore } from 'react-pluggable';
11
- import { StorageKey } from 'utils/constants';
11
+ import { StorageKey } from '@cccsaurora/howler-ui/utils/constants';
12
12
  import EditRow from '../../elements/EditRow';
13
13
  import SettingsSection from './SettingsSection';
14
14
  const APIKEY_LABELS = {
15
- R: 'apikey.read',
16
- W: 'apikey.write',
17
- E: 'apikey.extended',
18
- I: 'apikey.impersonate'
15
+ R: '@cccsaurora/howler-ui/apikey.read',
16
+ W: '@cccsaurora/howler-ui/apikey.write',
17
+ E: '@cccsaurora/howler-ui/apikey.extended',
18
+ I: '@cccsaurora/howler-ui/apikey.impersonate'
19
19
  };
20
20
  const SecuritySection = ({ user, editPassword, addApiKey, removeApiKey, editQuota }) => {
21
21
  const { t } = useTranslation();
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useAppUser } from 'commons/components/app/hooks';
3
- import UserPageWrapper from 'components/elements/display/UserPageWrapper';
4
- import useMyLocalStorage from 'components/hooks/useMyLocalStorage';
5
- import useMyUserFunctions from 'components/hooks/useMyUserFunctions';
2
+ import { useAppUser } from '@cccsaurora/howler-ui/commons/components/app/hooks';
3
+ import UserPageWrapper from '@cccsaurora/howler-ui/components/elements/display/UserPageWrapper';
4
+ import useMyLocalStorage from '@cccsaurora/howler-ui/components/hooks/useMyLocalStorage';
5
+ import useMyUserFunctions from '@cccsaurora/howler-ui/components/hooks/useMyUserFunctions';
6
6
  import { useCallback, useMemo } from 'react';
7
- import { StorageKey } from 'utils/constants';
7
+ import { StorageKey } from '@cccsaurora/howler-ui/utils/constants';
8
8
  import AdminSection from './AdminSection';
9
9
  import LocalSection from './LocalSection';
10
10
  import ProfileSection from './ProfileSection';
@@ -1,4 +1,4 @@
1
- import type { Template } from 'models/entities/generated/Template';
1
+ import type { Template } from '@cccsaurora/howler-ui/models/entities/generated/Template';
2
2
  import type { FC } from 'react';
3
3
  declare const TemplateCard: FC<{
4
4
  template: Template;
@@ -1,4 +1,4 @@
1
- import { type Hit } from 'models/entities/generated/Hit';
1
+ import { type Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
2
2
  declare const _default: import("react").MemoExoticComponent<({ hit, fields, setFields, onRemove, onAdd }: {
3
3
  hit: Hit;
4
4
  fields: string[];
@@ -3,11 +3,11 @@ import { closestCorners, DndContext } from '@dnd-kit/core';
3
3
  import { arrayMove, SortableContext } from '@dnd-kit/sortable';
4
4
  import { Add } from '@mui/icons-material';
5
5
  import { Button, Stack, Typography } from '@mui/material';
6
- import { ApiConfigContext } from 'components/app/providers/ApiConfigProvider';
7
- import { FieldContext } from 'components/app/providers/FieldProvider';
8
- import Phrase from 'components/elements/addons/search/phrase/Phrase';
6
+ import { ApiConfigContext } from '@cccsaurora/howler-ui/components/app/providers/ApiConfigProvider';
7
+ import { FieldContext } from '@cccsaurora/howler-ui/components/app/providers/FieldProvider';
8
+ import Phrase from '@cccsaurora/howler-ui/components/elements/addons/search/phrase/Phrase';
9
9
  import { get, isObject } from 'lodash-es';
10
- import {} from 'models/entities/generated/Hit';
10
+ import {} from '@cccsaurora/howler-ui/models/entities/generated/Hit';
11
11
  import { memo, useCallback, useContext, useEffect, useState } from 'react';
12
12
  import { useTranslation } from 'react-i18next';
13
13
  import TemplateDnD from './TemplateDnD';
@@ -1,21 +1,21 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Autocomplete, Button, CircularProgress, Divider, FormControl, LinearProgress, Stack, TextField, ToggleButton, ToggleButtonGroup, Tooltip } from '@mui/material';
3
- import api from 'api';
4
- import PageCenter from 'commons/components/pages/PageCenter';
5
- import TemplateEditor from 'components/routes/templates/TemplateEditor';
3
+ import api from '@cccsaurora/howler-ui/api';
4
+ import PageCenter from '@cccsaurora/howler-ui/commons/components/pages/PageCenter';
5
+ import TemplateEditor from '@cccsaurora/howler-ui/components/routes/templates/TemplateEditor';
6
6
  import { useCallback, useEffect, useMemo, useState } from 'react';
7
7
  import { useTranslation } from 'react-i18next';
8
8
  import { Check, Delete, Remove, SsidChart } from '@mui/icons-material';
9
- import AppInfoPanel from 'commons/components/display/AppInfoPanel';
10
- import { TemplateContext } from 'components/app/providers/TemplateProvider';
11
- import { HitLayout } from 'components/elements/hit/HitLayout';
12
- import HitOutline, { DEFAULT_FIELDS } from 'components/elements/hit/HitOutline';
13
- import useMyApi from 'components/hooks/useMyApi';
9
+ import AppInfoPanel from '@cccsaurora/howler-ui/commons/components/display/AppInfoPanel';
10
+ import { TemplateContext } from '@cccsaurora/howler-ui/components/app/providers/TemplateProvider';
11
+ import { HitLayout } from '@cccsaurora/howler-ui/components/elements/hit/HitLayout';
12
+ import HitOutline, { DEFAULT_FIELDS } from '@cccsaurora/howler-ui/components/elements/hit/HitOutline';
13
+ import useMyApi from '@cccsaurora/howler-ui/components/hooks/useMyApi';
14
14
  import isEqual from 'lodash-es/isEqual';
15
15
  import { useSearchParams } from 'react-router-dom';
16
16
  import { useContextSelector } from 'use-context-selector';
17
- import hitsData from 'utils/hit.json';
18
- import { sanitizeLuceneQuery } from 'utils/stringUtils';
17
+ import hitsData from '@cccsaurora/howler-ui/utils/hit.json';
18
+ import { sanitizeLuceneQuery } from '@cccsaurora/howler-ui/utils/stringUtils';
19
19
  const CUSTOM_OUTLINES = ['cmt.aws.sigma.rules', 'assemblyline', '6tailphish'];
20
20
  const TemplateViewer = () => {
21
21
  const { t } = useTranslation();
@@ -1,19 +1,19 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Article, KeyboardArrowDown } from '@mui/icons-material';
3
3
  import { Box, Card, Collapse, IconButton, Stack, ToggleButton, ToggleButtonGroup, Tooltip, Typography } from '@mui/material';
4
- import api from 'api';
5
- import { useAppUser } from 'commons/components/app/hooks';
6
- import { TemplateContext } from 'components/app/providers/TemplateProvider';
7
- import { TuiListProvider } from 'components/elements/addons/lists';
8
- import { TuiListMethodContext } from 'components/elements/addons/lists/TuiListProvider';
9
- import ItemManager from 'components/elements/display/ItemManager';
10
- import useMyApi from 'components/hooks/useMyApi';
11
- import { useMyLocalStorageItem } from 'components/hooks/useMyLocalStorage';
4
+ import api from '@cccsaurora/howler-ui/api';
5
+ import { useAppUser } from '@cccsaurora/howler-ui/commons/components/app/hooks';
6
+ import { TemplateContext } from '@cccsaurora/howler-ui/components/app/providers/TemplateProvider';
7
+ import { TuiListProvider } from '@cccsaurora/howler-ui/components/elements/addons/lists';
8
+ import { TuiListMethodContext } from '@cccsaurora/howler-ui/components/elements/addons/lists/TuiListProvider';
9
+ import ItemManager from '@cccsaurora/howler-ui/components/elements/display/ItemManager';
10
+ import useMyApi from '@cccsaurora/howler-ui/components/hooks/useMyApi';
11
+ import { useMyLocalStorageItem } from '@cccsaurora/howler-ui/components/hooks/useMyLocalStorage';
12
12
  import { useCallback, useContext, useEffect, useMemo, useState } from 'react';
13
13
  import { useTranslation } from 'react-i18next';
14
14
  import { useNavigate, useSearchParams } from 'react-router-dom';
15
15
  import { useContextSelector } from 'use-context-selector';
16
- import { StorageKey } from 'utils/constants';
16
+ import { StorageKey } from '@cccsaurora/howler-ui/utils/constants';
17
17
  import TemplateCard from './TemplateCard';
18
18
  const TemplatesBase = () => {
19
19
  const { t } = useTranslation();
@@ -3,27 +3,27 @@ import { useCallback, useEffect, useState } from 'react';
3
3
  import { useTranslation } from 'react-i18next';
4
4
  import { HelpOutline, Save } from '@mui/icons-material';
5
5
  import { Alert, Checkbox, CircularProgress, Divider, LinearProgress, Stack, TextField, ToggleButton, ToggleButtonGroup, Tooltip, Typography } from '@mui/material';
6
- import api from 'api';
7
- import AppListEmpty from 'commons/components/display/AppListEmpty';
8
- import PageCenter from 'commons/components/pages/PageCenter';
9
- import { HitContext } from 'components/app/providers/HitProvider';
10
- import { ParameterContext } from 'components/app/providers/ParameterProvider';
11
- import { ViewContext } from 'components/app/providers/ViewProvider';
12
- import CustomButton from 'components/elements/addons/buttons/CustomButton';
13
- import FlexPort from 'components/elements/addons/layout/FlexPort';
14
- import VSBox from 'components/elements/addons/layout/vsbox/VSBox';
15
- import VSBoxContent from 'components/elements/addons/layout/vsbox/VSBoxContent';
16
- import VSBoxHeader from 'components/elements/addons/layout/vsbox/VSBoxHeader';
17
- import SearchTotal from 'components/elements/addons/search/SearchTotal';
18
- import HitCard from 'components/elements/hit/HitCard';
19
- import { HitLayout } from 'components/elements/hit/HitLayout';
20
- import useMyApi from 'components/hooks/useMyApi';
21
- import { useMyLocalStorageItem } from 'components/hooks/useMyLocalStorage';
22
- import useMySnackbar from 'components/hooks/useMySnackbar';
6
+ import api from '@cccsaurora/howler-ui/api';
7
+ import AppListEmpty from '@cccsaurora/howler-ui/commons/components/display/AppListEmpty';
8
+ import PageCenter from '@cccsaurora/howler-ui/commons/components/pages/PageCenter';
9
+ import { HitContext } from '@cccsaurora/howler-ui/components/app/providers/HitProvider';
10
+ import { ParameterContext } from '@cccsaurora/howler-ui/components/app/providers/ParameterProvider';
11
+ import { ViewContext } from '@cccsaurora/howler-ui/components/app/providers/ViewProvider';
12
+ import CustomButton from '@cccsaurora/howler-ui/components/elements/addons/buttons/CustomButton';
13
+ import FlexPort from '@cccsaurora/howler-ui/components/elements/addons/layout/FlexPort';
14
+ import VSBox from '@cccsaurora/howler-ui/components/elements/addons/layout/vsbox/VSBox';
15
+ import VSBoxContent from '@cccsaurora/howler-ui/components/elements/addons/layout/vsbox/VSBoxContent';
16
+ import VSBoxHeader from '@cccsaurora/howler-ui/components/elements/addons/layout/vsbox/VSBoxHeader';
17
+ import SearchTotal from '@cccsaurora/howler-ui/components/elements/addons/search/SearchTotal';
18
+ import HitCard from '@cccsaurora/howler-ui/components/elements/hit/HitCard';
19
+ import { HitLayout } from '@cccsaurora/howler-ui/components/elements/hit/HitLayout';
20
+ import useMyApi from '@cccsaurora/howler-ui/components/hooks/useMyApi';
21
+ import { useMyLocalStorageItem } from '@cccsaurora/howler-ui/components/hooks/useMyLocalStorage';
22
+ import useMySnackbar from '@cccsaurora/howler-ui/components/hooks/useMySnackbar';
23
23
  import { useNavigate, useParams } from 'react-router-dom';
24
24
  import { useContextSelector } from 'use-context-selector';
25
- import { StorageKey } from 'utils/constants';
26
- import { convertDateToLucene } from 'utils/utils';
25
+ import { StorageKey } from '@cccsaurora/howler-ui/utils/constants';
26
+ import { convertDateToLucene } from '@cccsaurora/howler-ui/utils/utils';
27
27
  import ErrorBoundary from '../ErrorBoundary';
28
28
  import HitQuery from '../hits/search/HitQuery';
29
29
  import HitSort from '../hits/search/shared/HitSort';
@@ -1,23 +1,23 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Clear, Edit, SavedSearch, Star, StarBorder } from '@mui/icons-material';
3
3
  import { Autocomplete, Card, Checkbox, IconButton, Skeleton, Stack, TextField, ToggleButton, ToggleButtonGroup, Tooltip, Typography } from '@mui/material';
4
- import api from 'api';
5
- import { useAppUser } from 'commons/components/app/hooks';
6
- import { ViewContext } from 'components/app/providers/ViewProvider';
7
- import FlexOne from 'components/elements/addons/layout/FlexOne';
8
- import { TuiListProvider } from 'components/elements/addons/lists';
9
- import { TuiListMethodContext } from 'components/elements/addons/lists/TuiListProvider';
10
- import HowlerAvatar from 'components/elements/display/HowlerAvatar';
11
- import ItemManager from 'components/elements/display/ItemManager';
12
- import { ViewTitle } from 'components/elements/view/ViewTitle';
13
- import useMyApi from 'components/hooks/useMyApi';
14
- import { useMyLocalStorageItem } from 'components/hooks/useMyLocalStorage';
4
+ import api from '@cccsaurora/howler-ui/api';
5
+ import { useAppUser } from '@cccsaurora/howler-ui/commons/components/app/hooks';
6
+ import { ViewContext } from '@cccsaurora/howler-ui/components/app/providers/ViewProvider';
7
+ import FlexOne from '@cccsaurora/howler-ui/components/elements/addons/layout/FlexOne';
8
+ import { TuiListProvider } from '@cccsaurora/howler-ui/components/elements/addons/lists';
9
+ import { TuiListMethodContext } from '@cccsaurora/howler-ui/components/elements/addons/lists/TuiListProvider';
10
+ import HowlerAvatar from '@cccsaurora/howler-ui/components/elements/display/HowlerAvatar';
11
+ import ItemManager from '@cccsaurora/howler-ui/components/elements/display/ItemManager';
12
+ import { ViewTitle } from '@cccsaurora/howler-ui/components/elements/view/ViewTitle';
13
+ import useMyApi from '@cccsaurora/howler-ui/components/hooks/useMyApi';
14
+ import { useMyLocalStorageItem } from '@cccsaurora/howler-ui/components/hooks/useMyLocalStorage';
15
15
  import React, { useCallback, useContext, useEffect, useState } from 'react';
16
16
  import { useTranslation } from 'react-i18next';
17
17
  import { Link, useNavigate, useSearchParams } from 'react-router-dom';
18
18
  import { useContextSelector } from 'use-context-selector';
19
- import { StorageKey } from 'utils/constants';
20
- import { sanitizeLuceneQuery } from 'utils/stringUtils';
19
+ import { StorageKey } from '@cccsaurora/howler-ui/utils/constants';
20
+ import { sanitizeLuceneQuery } from '@cccsaurora/howler-ui/utils/stringUtils';
21
21
  const FIELDS_TO_SEARCH = ['title', 'query', 'sort', 'type', 'owner'];
22
22
  const ViewsBase = () => {
23
23
  const { t } = useTranslation();
package/i18n.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { createInstance } from 'i18next';
2
2
  import LanguageDetector from 'i18next-browser-languagedetector';
3
- import helpMainEN from 'locales/en/help/main.json';
4
- import helpSearchEN from 'locales/en/help/search.json';
5
- import translationEN from 'locales/en/translation.json';
6
- import helpMainFR from 'locales/fr/help/main.json';
7
- import helpSearchFR from 'locales/fr/help/search.json';
8
- import translationFR from 'locales/fr/translation.json';
3
+ import helpMainEN from '@cccsaurora/howler-ui/locales/en/help/main.json';
4
+ import helpSearchEN from '@cccsaurora/howler-ui/locales/en/help/search.json';
5
+ import translationEN from '@cccsaurora/howler-ui/locales/en/translation.json';
6
+ import helpMainFR from '@cccsaurora/howler-ui/locales/fr/help/main.json';
7
+ import helpSearchFR from '@cccsaurora/howler-ui/locales/fr/help/search.json';
8
+ import translationFR from '@cccsaurora/howler-ui/locales/fr/translation.json';
9
9
  import { initReactI18next } from 'react-i18next';
10
10
  const resources = {
11
11
  en: {
package/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import '@fontsource/roboto';
3
- import App from 'components/app/App';
3
+ import App from '@cccsaurora/howler-ui/components/app/App';
4
4
  import 'i18n';
5
5
  import 'index.css';
6
- // import howlerPluginStore from 'plugins/store';
6
+ // import howlerPluginStore from '@cccsaurora/howler-ui/plugins/store';
7
7
  import * as ReactDOM from 'react-dom/client';
8
8
  // This is where you can inject UI plugins to modify Howler's interface.
9
9
  // howlerPluginStore.install(new ExamplePlugin());
@@ -1,4 +1,4 @@
1
- import type { AppUser } from 'commons/components/app/AppUserService';
1
+ import type { AppUser } from '@cccsaurora/howler-ui/commons/components/app/AppUserService';
2
2
  export interface HowlerUser extends AppUser {
3
3
  name: string;
4
4
  email: string;
@@ -1,4 +1,4 @@
1
- import type { Hit } from 'models/entities/generated/Hit';
1
+ import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
2
2
  export interface HitUpdate {
3
3
  version: string;
4
4
  hit: Hit;
package/package.json CHANGED
@@ -96,13 +96,15 @@
96
96
  "internal-slot": "1.0.7"
97
97
  },
98
98
  "type": "module",
99
- "version": "2.12.0-dev.33",
99
+ "version": "2.12.0-dev.35",
100
100
  "exports": {
101
101
  "./plugins/*": "./plugins/*.js",
102
102
  "./components/*": "./components/*.js",
103
103
  "./locales/*": "./locales/*.js",
104
104
  "./api/*": "./api/*.js",
105
+ "./api": "./api/index.js",
105
106
  "./rest/*": "./rest/*.js",
107
+ "./rest": "./rest/index.js",
106
108
  "./models/*": "./models/*.js",
107
109
  "./commons/*": "./commons/*.js",
108
110
  "./branding/*": "./branding/*.js",
@@ -124,6 +126,7 @@
124
126
  "./components/routes/analytics/*": "./components/routes/analytics/*.js",
125
127
  "./components/routes/hits/*": "./components/routes/hits/*.js",
126
128
  "./components/routes/home/*": "./components/routes/home/*.js",
129
+ "./components/routes/home": "./components/routes/home/index.js",
127
130
  "./components/routes/advanced/*": "./components/routes/advanced/*.js",
128
131
  "./components/routes/templates/*": "./components/routes/templates/*.js",
129
132
  "./components/routes/settings/*": "./components/routes/settings/*.js",
@@ -154,13 +157,17 @@
154
157
  "./components/elements/display/json/*": "./components/elements/display/json/*.js",
155
158
  "./components/elements/display/icons/svg/*": "./components/elements/display/icons/svg/*.js",
156
159
  "./components/elements/addons/lists/*": "./components/elements/addons/lists/*.js",
160
+ "./components/elements/addons/lists": "./components/elements/addons/lists/index.js",
157
161
  "./components/elements/addons/buttons/*": "./components/elements/addons/buttons/*.js",
162
+ "./components/elements/addons/buttons": "./components/elements/addons/buttons/index.js",
158
163
  "./components/elements/addons/layout/*": "./components/elements/addons/layout/*.js",
159
164
  "./components/elements/addons/search/*": "./components/elements/addons/search/*.js",
160
165
  "./components/elements/addons/lists/hooks/*": "./components/elements/addons/lists/hooks/*.js",
161
166
  "./components/elements/addons/lists/table/*": "./components/elements/addons/lists/table/*.js",
167
+ "./components/elements/addons/lists/table": "./components/elements/addons/lists/table/index.js",
162
168
  "./components/elements/addons/layout/vsbox/*": "./components/elements/addons/layout/vsbox/*.js",
163
169
  "./components/elements/addons/search/phrase/*": "./components/elements/addons/search/phrase/*.js",
170
+ "./components/elements/addons/search/phrase": "./components/elements/addons/search/phrase/index.js",
164
171
  "./components/elements/addons/search/phrase/word/*": "./components/elements/addons/search/phrase/word/*.js",
165
172
  "./components/elements/addons/search/phrase/word/consumers/*": "./components/elements/addons/search/phrase/word/consumers/*.js",
166
173
  "./components/elements/hit/related/*": "./components/elements/hit/related/*.js",
@@ -174,28 +181,49 @@
174
181
  "./locales/en/help/*": "./locales/en/help/*.js",
175
182
  "./locales/fr/help/*": "./locales/fr/help/*.js",
176
183
  "./api/analytic/*": "./api/analytic/*.js",
184
+ "./api/analytic": "./api/analytic/index.js",
177
185
  "./api/auth/*": "./api/auth/*.js",
186
+ "./api/auth": "./api/auth/index.js",
178
187
  "./api/action/*": "./api/action/*.js",
188
+ "./api/action": "./api/action/index.js",
179
189
  "./api/view/*": "./api/view/*.js",
190
+ "./api/view": "./api/view/index.js",
180
191
  "./api/user/*": "./api/user/*.js",
192
+ "./api/user": "./api/user/index.js",
181
193
  "./api/dossier/*": "./api/dossier/*.js",
194
+ "./api/dossier": "./api/dossier/index.js",
182
195
  "./api/template/*": "./api/template/*.js",
196
+ "./api/template": "./api/template/index.js",
183
197
  "./api/configs/*": "./api/configs/*.js",
198
+ "./api/configs": "./api/configs/index.js",
184
199
  "./api/overview/*": "./api/overview/*.js",
200
+ "./api/overview": "./api/overview/index.js",
185
201
  "./api/notebook/*": "./api/notebook/*.js",
202
+ "./api/notebook": "./api/notebook/index.js",
186
203
  "./api/search/*": "./api/search/*.js",
204
+ "./api/search": "./api/search/index.js",
187
205
  "./api/hit/*": "./api/hit/*.js",
206
+ "./api/hit": "./api/hit/index.js",
188
207
  "./api/analytic/notebooks/*": "./api/analytic/notebooks/*.js",
208
+ "./api/analytic/notebooks": "./api/analytic/notebooks/index.js",
189
209
  "./api/analytic/comments/*": "./api/analytic/comments/*.js",
210
+ "./api/analytic/comments": "./api/analytic/comments/index.js",
190
211
  "./api/user/avatar/*": "./api/user/avatar/*.js",
212
+ "./api/user/avatar": "./api/user/avatar/index.js",
191
213
  "./api/search/histogram/*": "./api/search/histogram/*.js",
214
+ "./api/search/histogram": "./api/search/histogram/index.js",
192
215
  "./api/search/eql/*": "./api/search/eql/*.js",
193
216
  "./api/search/fields/*": "./api/search/fields/*.js",
217
+ "./api/search/fields": "./api/search/fields/index.js",
194
218
  "./api/search/count/*": "./api/search/count/*.js",
219
+ "./api/search/count": "./api/search/count/index.js",
195
220
  "./api/search/sigma/*": "./api/search/sigma/*.js",
196
221
  "./api/search/grouped/*": "./api/search/grouped/*.js",
222
+ "./api/search/grouped": "./api/search/grouped/index.js",
197
223
  "./api/search/facet/*": "./api/search/facet/*.js",
224
+ "./api/search/facet": "./api/search/facet/index.js",
198
225
  "./api/hit/comments/*": "./api/hit/comments/*.js",
226
+ "./api/hit/comments": "./api/hit/comments/index.js",
199
227
  "./models/entities/*": "./models/entities/*.js",
200
228
  "./models/socket/*": "./models/socket/*.js",
201
229
  "./models/entities/generated/*": "./models/entities/generated/*.js",
@@ -203,6 +231,7 @@
203
231
  "./commons/components/app/*": "./commons/components/app/*.js",
204
232
  "./commons/components/breadcrumbs/*": "./commons/components/breadcrumbs/*.js",
205
233
  "./commons/components/notification/*": "./commons/components/notification/*.js",
234
+ "./commons/components/notification": "./commons/components/notification/index.js",
206
235
  "./commons/components/display/*": "./commons/components/display/*.js",
207
236
  "./commons/components/topnav/*": "./commons/components/topnav/*.js",
208
237
  "./commons/components/search/*": "./commons/components/search/*.js",
@@ -210,6 +239,7 @@
210
239
  "./commons/components/leftnav/*": "./commons/components/leftnav/*.js",
211
240
  "./commons/components/pages/*": "./commons/components/pages/*.js",
212
241
  "./commons/components/app/hooks/*": "./commons/components/app/hooks/*.js",
242
+ "./commons/components/app/hooks": "./commons/components/app/hooks/index.js",
213
243
  "./commons/components/app/providers/*": "./commons/components/app/providers/*.js",
214
244
  "./commons/components/notification/elements/*": "./commons/components/notification/elements/*.js",
215
245
  "./commons/components/notification/elements/item/*": "./commons/components/notification/elements/item/*.js",
@@ -1,15 +1,15 @@
1
- import type { HowlerHelper } from 'components/elements/display/handlebars/helpers';
2
- import type { ActionButton } from 'components/elements/hit/actions/SharedComponents';
3
- import type { StatusProps } from 'components/elements/hit/HitBanner';
4
- import type { PivotLinkProps } from 'components/elements/hit/related/PivotLink';
5
- import type { PluginChipProps } from 'components/elements/PluginChip';
6
- import type { PluginTypographyProps } from 'components/elements/PluginTypography';
7
- import type { CustomActionProps } from 'components/routes/action/edit/ActionEditor';
8
- import type { LeadFormProps } from 'components/routes/dossiers/LeadEditor';
9
- import type { PivotFormProps } from 'components/routes/dossiers/PivotForm';
10
- import type { PluginDocumentation } from 'components/routes/help/ActionDocumentation';
1
+ import type { HowlerHelper } from '@cccsaurora/howler-ui/components/elements/display/handlebars/helpers';
2
+ import type { ActionButton } from '@cccsaurora/howler-ui/components/elements/hit/actions/SharedComponents';
3
+ import type { StatusProps } from '@cccsaurora/howler-ui/components/elements/hit/HitBanner';
4
+ import type { PivotLinkProps } from '@cccsaurora/howler-ui/components/elements/hit/related/PivotLink';
5
+ import type { PluginChipProps } from '@cccsaurora/howler-ui/components/elements/PluginChip';
6
+ import type { PluginTypographyProps } from '@cccsaurora/howler-ui/components/elements/PluginTypography';
7
+ import type { CustomActionProps } from '@cccsaurora/howler-ui/components/routes/action/edit/ActionEditor';
8
+ import type { LeadFormProps } from '@cccsaurora/howler-ui/components/routes/dossiers/LeadEditor';
9
+ import type { PivotFormProps } from '@cccsaurora/howler-ui/components/routes/dossiers/PivotForm';
10
+ import type { PluginDocumentation } from '@cccsaurora/howler-ui/components/routes/help/ActionDocumentation';
11
11
  import type { i18n as I18N } from 'i18next';
12
- import type { Hit } from 'models/entities/generated/Hit';
12
+ import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
13
13
  import type React from 'react';
14
14
  import type { PropsWithChildren } from 'react';
15
15
  import type { IPlugin, PluginStore } from 'react-pluggable';
@@ -1,4 +1,4 @@
1
- import type { Hit } from 'models/entities/generated/Hit';
1
+ import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
2
2
  import { Event } from 'react-pluggable';
3
3
  import type HowlerPlugin from './HowlerPlugin';
4
4
  export declare class HitEvent extends Event {
@@ -1,5 +1,5 @@
1
- import type { HowlerResponse } from 'api';
2
- import type RestClient from 'rest';
1
+ import type { HowlerResponse } from '@cccsaurora/howler-ui/api';
2
+ import type RestClient from '@cccsaurora/howler-ui/rest';
3
3
  export default class AxiosClient implements RestClient {
4
4
  private cache;
5
5
  private client;
@@ -1,6 +1,6 @@
1
1
  import axios, { AxiosError } from 'axios';
2
2
  import axiosRetry, { exponentialDelay, isNetworkError } from 'axios-retry';
3
- import { getAxiosCache, setAxiosCache } from 'utils/sessionStorage';
3
+ import { getAxiosCache, setAxiosCache } from '@cccsaurora/howler-ui/utils/sessionStorage';
4
4
  class AxiosCache {
5
5
  constructor(_axios) {
6
6
  _axios.interceptors.response.use(async (res) => {
@@ -1,5 +1,5 @@
1
- import type { HowlerResponse } from 'api';
2
- import type RestClient from 'rest';
1
+ import type { HowlerResponse } from '@cccsaurora/howler-ui/api';
2
+ import type RestClient from '@cccsaurora/howler-ui/rest';
3
3
  export default class FetchClient implements RestClient {
4
4
  fetch<R>(url: string, method?: 'get' | 'post' | 'put' | 'delete', body?: any, params?: URLSearchParams, headers?: HeadersInit): Promise<[HowlerResponse<R>, number, {
5
5
  [index: string]: any;
package/rest/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { HowlerResponse } from 'api';
1
+ import type { HowlerResponse } from '@cccsaurora/howler-ui/api';
2
2
  export default interface RestClient {
3
3
  fetch<R>(url: string, method: 'get' | 'post' | 'put' | 'delete', body?: any, params?: URLSearchParams, headers?: HeadersInit): Promise<[HowlerResponse<R>, number, {
4
4
  [index: string]: any;
@@ -1,5 +1,5 @@
1
- import type { ActionOperation, ActionOperationStep } from 'models/ActionTypes';
2
- import type { Operation } from 'models/entities/generated/Operation';
1
+ import type { ActionOperation, ActionOperationStep } from '@cccsaurora/howler-ui/models/ActionTypes';
2
+ import type { Operation } from '@cccsaurora/howler-ui/models/entities/generated/Operation';
3
3
  /**
4
4
  * A simple validation function to ensure we have all the necessary arguments filled out.
5
5
  * @param step The step to validate
@@ -1,2 +1,2 @@
1
- import type { Hit } from 'models/entities/generated/Hit';
1
+ import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
2
2
  export declare const getUserList: (hit: Hit) => Set<string>;
@@ -1,4 +1,4 @@
1
- import type { LoginResponse } from 'api/auth/login';
1
+ import type { LoginResponse } from '@cccsaurora/howler-ui/api/auth/login';
2
2
  import { StorageKey } from './constants';
3
3
  /**
4
4
  * **IMPORTANT**: This function should only be used OUTSIDE of the React tree.
@@ -1,4 +1,4 @@
1
- import Throttler from 'utils/Throttler';
1
+ import Throttler from '@cccsaurora/howler-ui/utils/Throttler';
2
2
  import { MY_SESSION_STORAGE_PREFIX, StorageKey } from './constants';
3
3
  const buildName = (name) => `${MY_SESSION_STORAGE_PREFIX}.${name}`;
4
4
  const { _getStored: getStored, _removeStored: removeStored, _setStored: setStored } = (() => {
@@ -1,5 +1,5 @@
1
- import type { RecievedDataType } from 'components/app/providers/SocketProvider';
2
- import type { HitUpdate } from 'models/socket/HitUpdate';
1
+ import type { RecievedDataType } from '@cccsaurora/howler-ui/components/app/providers/SocketProvider';
2
+ import type { HitUpdate } from '@cccsaurora/howler-ui/models/socket/HitUpdate';
3
3
  /**
4
4
  * Checks to see if the data recieved from the socket is a hit update
5
5
  * @param data The data recieved from the socket