@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.
- package/api/action/execute.d.ts +1 -1
- package/api/action/execute.js +2 -2
- package/api/action/index.d.ts +3 -3
- package/api/action/index.js +4 -4
- package/api/action/operations.d.ts +1 -1
- package/api/action/operations.js +2 -2
- package/api/analytic/comments/index.d.ts +2 -2
- package/api/analytic/comments/index.js +2 -2
- package/api/analytic/comments/react.js +2 -2
- package/api/analytic/favourite.js +2 -2
- package/api/analytic/index.d.ts +6 -6
- package/api/analytic/index.js +6 -6
- package/api/analytic/notebooks/index.d.ts +1 -1
- package/api/analytic/notebooks/index.js +2 -2
- package/api/analytic/owner.d.ts +1 -1
- package/api/analytic/owner.js +2 -2
- package/api/analytic/rules.d.ts +1 -1
- package/api/analytic/rules.js +2 -2
- package/api/auth/apikey.js +3 -3
- package/api/auth/index.d.ts +2 -2
- package/api/auth/index.js +3 -3
- package/api/auth/login.js +3 -3
- package/api/configs/index.d.ts +1 -1
- package/api/configs/index.js +1 -1
- package/api/dossier/hit.d.ts +1 -1
- package/api/dossier/hit.js +1 -1
- package/api/dossier/index.d.ts +1 -1
- package/api/dossier/index.js +1 -1
- package/api/help.js +1 -1
- package/api/hit/assign.d.ts +1 -1
- package/api/hit/assign.js +2 -2
- package/api/hit/comments/index.d.ts +2 -2
- package/api/hit/comments/index.js +2 -2
- package/api/hit/comments/react.js +2 -2
- package/api/hit/index.d.ts +6 -6
- package/api/hit/index.js +6 -6
- package/api/hit/labels.d.ts +2 -2
- package/api/hit/labels.js +2 -2
- package/api/hit/overwrite.d.ts +1 -1
- package/api/hit/overwrite.js +2 -2
- package/api/hit/transition.d.ts +2 -2
- package/api/hit/transition.js +2 -2
- package/api/index.d.ts +13 -13
- package/api/index.js +18 -18
- package/api/notebook/environments.js +2 -2
- package/api/notebook/index.d.ts +3 -3
- package/api/notebook/index.js +2 -2
- package/api/overview/index.d.ts +1 -1
- package/api/overview/index.js +1 -1
- package/api/search/action.d.ts +2 -2
- package/api/search/action.js +2 -2
- package/api/search/analytic.d.ts +2 -2
- package/api/search/analytic.js +2 -2
- package/api/search/count/hit.d.ts +1 -1
- package/api/search/count/hit.js +2 -2
- package/api/search/count/index.d.ts +1 -1
- package/api/search/count/index.js +3 -3
- package/api/search/dossier.d.ts +2 -2
- package/api/search/dossier.js +2 -2
- package/api/search/eql/hit.d.ts +2 -2
- package/api/search/eql/hit.js +2 -2
- package/api/search/facet/hit.d.ts +1 -1
- package/api/search/facet/hit.js +2 -2
- package/api/search/facet/index.d.ts +1 -1
- package/api/search/facet/index.js +3 -3
- package/api/search/fields/hit.d.ts +1 -1
- package/api/search/fields/hit.js +2 -2
- package/api/search/fields/index.d.ts +2 -2
- package/api/search/fields/index.js +4 -4
- package/api/search/fields/user.d.ts +1 -1
- package/api/search/fields/user.js +3 -3
- package/api/search/grouped/hit.d.ts +2 -2
- package/api/search/grouped/hit.js +2 -2
- package/api/search/grouped/index.d.ts +2 -2
- package/api/search/grouped/index.js +4 -4
- package/api/search/grouped/user.d.ts +2 -2
- package/api/search/grouped/user.js +2 -2
- package/api/search/histogram/hit.d.ts +1 -1
- package/api/search/histogram/hit.js +2 -2
- package/api/search/histogram/index.d.ts +1 -1
- package/api/search/histogram/index.js +3 -3
- package/api/search/hit.d.ts +4 -4
- package/api/search/hit.js +4 -4
- package/api/search/index.d.ts +13 -13
- package/api/search/index.js +14 -14
- package/api/search/overview.d.ts +2 -2
- package/api/search/overview.js +2 -2
- package/api/search/sigma/hit.d.ts +2 -2
- package/api/search/sigma/hit.js +2 -2
- package/api/search/template.d.ts +2 -2
- package/api/search/template.js +2 -2
- package/api/search/user.d.ts +2 -2
- package/api/search/user.js +2 -2
- package/api/search/view.d.ts +2 -2
- package/api/search/view.js +2 -2
- package/api/template/index.d.ts +1 -1
- package/api/template/index.js +1 -1
- package/api/user/avatar/index.js +2 -2
- package/api/user/groups.js +2 -2
- package/api/user/index.d.ts +4 -4
- package/api/user/index.js +4 -4
- package/api/user/whoami.d.ts +1 -1
- package/api/user/whoami.js +2 -2
- package/api/view/favourite.js +2 -2
- package/api/view/index.d.ts +2 -2
- package/api/view/index.js +2 -2
- package/commons/components/app/AppConfigs.d.ts +3 -3
- package/commons/components/app/AppContexts.d.ts +5 -5
- package/commons/components/app/AppDefaults.d.ts +1 -1
- package/commons/components/app/AppNotificationService.d.ts +1 -1
- package/commons/components/app/AppProvider.d.ts +4 -4
- package/commons/components/app/AppProvider.js +10 -10
- package/commons/components/app/AppSearchService.d.ts +1 -1
- package/commons/components/app/AppSkeleton.js +3 -3
- package/commons/components/app/hooks/index.d.ts +18 -18
- package/commons/components/app/hooks/index.js +18 -18
- package/commons/components/app/hooks/useApp.js +1 -1
- package/commons/components/app/hooks/useAppBanner.js +1 -1
- package/commons/components/app/hooks/useAppBar.js +1 -1
- package/commons/components/app/hooks/useAppBreadcrumbs.js +1 -1
- package/commons/components/app/hooks/useAppConfigs.js +2 -2
- package/commons/components/app/hooks/useAppLanguage.js +1 -1
- package/commons/components/app/hooks/useAppLayout.js +1 -1
- package/commons/components/app/hooks/useAppLeftNav.js +1 -1
- package/commons/components/app/hooks/useAppLogo.js +2 -2
- package/commons/components/app/hooks/useAppNotification.js +1 -1
- package/commons/components/app/hooks/useAppQuickSearch.js +1 -1
- package/commons/components/app/hooks/useAppSearchService.d.ts +1 -1
- package/commons/components/app/hooks/useAppSearchService.js +1 -1
- package/commons/components/app/hooks/useAppSitemap.d.ts +1 -1
- package/commons/components/app/hooks/useAppSitemap.js +1 -1
- package/commons/components/app/hooks/useAppSwitcher.js +1 -1
- package/commons/components/app/hooks/useAppTheme.js +1 -1
- package/commons/components/app/hooks/useAppUser.d.ts +1 -1
- package/commons/components/app/hooks/useAppUser.js +1 -1
- package/commons/components/app/providers/AppBarProvider.d.ts +2 -2
- package/commons/components/app/providers/AppBarProvider.js +8 -8
- package/commons/components/app/providers/AppBreadcrumbsProvider.js +5 -5
- package/commons/components/app/providers/AppLayoutProvider.js +7 -7
- package/commons/components/app/providers/AppLeftNavProvider.js +5 -5
- package/commons/components/app/providers/AppNotificationProvider.d.ts +1 -1
- package/commons/components/app/providers/AppNotificationProvider.js +1 -1
- package/commons/components/app/providers/AppQuickSearchProvider.d.ts +1 -1
- package/commons/components/app/providers/AppQuickSearchProvider.js +6 -6
- package/commons/components/app/providers/AppSearchServiceProvider.d.ts +1 -1
- package/commons/components/app/providers/AppSearchServiceProvider.js +2 -2
- package/commons/components/app/providers/AppSwitcherProvider.js +2 -2
- package/commons/components/app/providers/AppUserProvider.d.ts +1 -1
- package/commons/components/app/providers/AppUserProvider.js +1 -1
- package/commons/components/breadcrumbs/BreadcrumbIcon.d.ts +1 -1
- package/commons/components/breadcrumbs/BreadcrumbIcon.js +1 -1
- package/commons/components/breadcrumbs/BreadcrumbLastItem.d.ts +1 -1
- package/commons/components/breadcrumbs/BreadcrumbLastItem.js +2 -2
- package/commons/components/breadcrumbs/BreadcrumbLinkItem.d.ts +1 -1
- package/commons/components/breadcrumbs/BreadcrumbLinkItem.js +2 -2
- package/commons/components/breadcrumbs/BreadcrumbList.d.ts +1 -1
- package/commons/components/breadcrumbs/BreadcrumbList.js +3 -3
- package/commons/components/breadcrumbs/Breadcrumbs.js +2 -2
- package/commons/components/display/AppAvatar.js +1 -1
- package/commons/components/display/AppListEmpty.d.ts +1 -1
- package/commons/components/display/AppListEmpty.js +1 -1
- package/commons/components/display/AppToc.js +3 -3
- package/commons/components/display/hooks/useAppColor.js +1 -1
- package/commons/components/leftnav/LeftNavDrawer.js +3 -3
- package/commons/components/leftnav/LeftNavGroup.d.ts +1 -1
- package/commons/components/leftnav/LeftNavGroup.js +2 -2
- package/commons/components/leftnav/LeftNavItem.d.ts +1 -1
- package/commons/components/leftnav/LeftNavItem.js +1 -1
- package/commons/components/notification/Notification.js +4 -4
- package/commons/components/notification/elements/NotificationCloseButton.d.ts +1 -1
- package/commons/components/notification/elements/NotificationCloseButton.js +1 -1
- package/commons/components/notification/elements/NotificationContainer.d.ts +2 -2
- package/commons/components/notification/elements/NotificationContainer.js +5 -5
- package/commons/components/notification/elements/NotificationEndOfPage.js +1 -1
- package/commons/components/notification/elements/NotificationItems.d.ts +2 -2
- package/commons/components/notification/elements/NotificationItems.js +2 -2
- package/commons/components/notification/elements/item/NotificationItem.d.ts +1 -1
- package/commons/components/notification/elements/item/NotificationItem.js +6 -6
- package/commons/components/notification/elements/item/NotificationItemAuthor.d.ts +1 -1
- package/commons/components/notification/elements/item/NotificationItemContent.d.ts +1 -1
- package/commons/components/notification/elements/item/NotificationItemContent.js +1 -1
- package/commons/components/notification/elements/item/NotificationItemDate.d.ts +1 -1
- package/commons/components/notification/elements/item/NotificationItemDate.js +1 -1
- package/commons/components/notification/elements/item/NotificationItemTitle.d.ts +1 -1
- package/commons/components/notification/elements/item/NotificationItemTitle.js +1 -1
- package/commons/components/notification/index.d.ts +2 -2
- package/commons/components/notification/index.js +2 -2
- package/commons/components/pages/PageCenter.d.ts +1 -1
- package/commons/components/pages/PageCenter.js +2 -2
- package/commons/components/pages/PageContent.d.ts +1 -1
- package/commons/components/pages/PageContent.js +1 -1
- package/commons/components/pages/PageFullScreen.js +3 -3
- package/commons/components/pages/PageFullWidth.js +1 -1
- package/commons/components/pages/PageHeader.js +1 -1
- package/commons/components/search/AppSearch.js +4 -4
- package/commons/components/search/AppSearchResult.js +3 -3
- package/commons/components/topnav/AppBar.js +9 -9
- package/commons/components/topnav/AppName.js +1 -1
- package/commons/components/topnav/AppSwitcher.js +1 -1
- package/commons/components/topnav/Notifications.js +2 -2
- package/commons/components/topnav/ThemeSelection.js +3 -3
- package/commons/components/topnav/ThemeSelectionIcon.js +2 -2
- package/commons/components/topnav/UserProfile.d.ts +1 -1
- package/commons/components/topnav/UserProfile.js +3 -3
- package/commons/components/utils/hooks/useLocalStorageItem.js +1 -1
- package/commons/components/utils/hooks/useThemeBuilder.d.ts +1 -1
- package/commons/components/utils/hooks/useThemeBuilder.js +1 -1
- package/components/app/App.js +51 -51
- package/components/app/AppContainer.js +1 -1
- package/components/app/drawers/ApiKeyDrawer.js +5 -5
- package/components/app/drawers/AssignUserDrawer.js +5 -5
- package/components/app/drawers/ViewGroupsDrawer.d.ts +1 -1
- package/components/app/hooks/useTitle.js +2 -2
- package/components/app/providers/AnalyticProvider.d.ts +1 -1
- package/components/app/providers/AnalyticProvider.js +3 -3
- package/components/app/providers/ApiConfigProvider.d.ts +1 -1
- package/components/app/providers/AppDrawerProvider.js +1 -1
- package/components/app/providers/AvatarProvider.js +2 -2
- package/components/app/providers/CustomPluginProvider.js +1 -1
- package/components/app/providers/DossierProvider.d.ts +1 -1
- package/components/app/providers/DossierProvider.js +3 -3
- package/components/app/providers/FavouritesProvider.js +1 -1
- package/components/app/providers/FieldProvider.d.ts +1 -1
- package/components/app/providers/FieldProvider.js +2 -2
- package/components/app/providers/HitProvider.d.ts +1 -1
- package/components/app/providers/HitProvider.js +2 -2
- package/components/app/providers/HitSearchProvider.d.ts +3 -3
- package/components/app/providers/HitSearchProvider.js +7 -7
- package/components/app/providers/LocalStorageProvider.d.ts +1 -1
- package/components/app/providers/LocalStorageProvider.js +2 -2
- package/components/app/providers/OverviewProvider.d.ts +2 -2
- package/components/app/providers/OverviewProvider.js +1 -1
- package/components/app/providers/ParameterProvider.js +1 -1
- package/components/app/providers/SocketProvider.js +5 -5
- package/components/app/providers/TemplateProvider.d.ts +2 -2
- package/components/app/providers/TemplateProvider.js +2 -2
- package/components/app/providers/UserListProvider.d.ts +1 -1
- package/components/app/providers/UserListProvider.js +2 -2
- package/components/app/providers/ViewProvider.d.ts +1 -1
- package/components/app/providers/ViewProvider.js +5 -5
- package/components/elements/Comment.d.ts +3 -3
- package/components/elements/Comment.js +4 -4
- package/components/elements/EditRow.js +1 -1
- package/components/elements/PluginChip.js +1 -1
- package/components/elements/PluginTypography.js +1 -1
- package/components/elements/ThemedEditor.js +2 -2
- package/components/elements/UserList.js +1 -1
- package/components/elements/addons/layout/FlexPort.js +1 -1
- package/components/elements/addons/layout/FlexVertical.d.ts +1 -1
- package/components/elements/addons/layout/FlexVertical.js +1 -1
- package/components/elements/addons/layout/vsbox/VSBox.js +1 -1
- package/components/elements/addons/lists/TuiList.js +1 -1
- package/components/elements/addons/lists/TuiListBase.js +2 -2
- package/components/elements/addons/lists/hooks/useTuiListKeyboard.js +2 -2
- package/components/elements/addons/lists/table/TuiTable.js +1 -1
- package/components/elements/addons/lists/table/TuiTableBody.js +1 -1
- package/components/elements/addons/lists/table/TuiTableHead.js +1 -1
- package/components/elements/addons/search/phrase/Phrase.d.ts +1 -1
- package/components/elements/addons/search/phrase/Phrase.js +1 -1
- package/components/elements/display/Classification.js +1 -1
- package/components/elements/display/HandlebarsMarkdown.js +2 -2
- package/components/elements/display/HowlerAvatar.js +3 -3
- package/components/elements/display/HowlerAvatarHeader.d.ts +1 -1
- package/components/elements/display/ItemManager.d.ts +2 -2
- package/components/elements/display/ItemManager.js +5 -5
- package/components/elements/display/Markdown.js +1 -1
- package/components/elements/display/Modal.js +1 -1
- package/components/elements/display/UserPageWrapper.d.ts +1 -1
- package/components/elements/display/UserPageWrapper.js +1 -1
- package/components/elements/display/features/DevelopmentBanner.js +2 -2
- package/components/elements/display/features/DevelopmentIcon.js +2 -2
- package/components/elements/display/handlebars/helpers.js +4 -4
- package/components/elements/display/icons/BundleButton.js +1 -1
- package/components/elements/display/icons/SocketBadge.js +1 -1
- package/components/elements/display/json/JSONViewer.js +4 -4
- package/components/elements/display/json/worker.js +1 -1
- package/components/elements/display/modals/ConfirmDeleteModal.js +1 -1
- package/components/elements/display/modals/ConfirmNotebookModal.js +1 -1
- package/components/elements/display/modals/CreateActionModal.js +3 -3
- package/components/elements/display/modals/RationaleModal.js +2 -2
- package/components/elements/hit/HitActions.d.ts +1 -1
- package/components/elements/hit/HitActions.js +11 -11
- package/components/elements/hit/HitBanner.d.ts +1 -1
- package/components/elements/hit/HitBanner.js +5 -5
- package/components/elements/hit/HitBannerTooltip.d.ts +1 -1
- package/components/elements/hit/HitCard.js +2 -2
- package/components/elements/hit/HitComments.d.ts +2 -2
- package/components/elements/hit/HitComments.js +7 -7
- package/components/elements/hit/HitDetails.d.ts +1 -1
- package/components/elements/hit/HitDetails.js +1 -1
- package/components/elements/hit/HitLabels.d.ts +1 -1
- package/components/elements/hit/HitLabels.js +4 -4
- package/components/elements/hit/HitNotebooks.d.ts +2 -2
- package/components/elements/hit/HitNotebooks.js +6 -6
- package/components/elements/hit/HitOutline.d.ts +1 -1
- package/components/elements/hit/HitOutline.js +1 -1
- package/components/elements/hit/HitOverview.d.ts +1 -1
- package/components/elements/hit/HitOverview.js +2 -2
- package/components/elements/hit/HitQuickSearch.d.ts +2 -2
- package/components/elements/hit/HitQuickSearch.js +2 -2
- package/components/elements/hit/HitRelated.d.ts +1 -1
- package/components/elements/hit/HitSummary.d.ts +2 -2
- package/components/elements/hit/HitSummary.js +10 -10
- package/components/elements/hit/HitWorklog.d.ts +2 -2
- package/components/elements/hit/HitWorklog.js +4 -4
- package/components/elements/hit/actions/DropdownActions.js +1 -1
- package/components/elements/hit/aggregate/HitGraph.js +8 -8
- package/components/elements/hit/elements/Assigned.d.ts +1 -1
- package/components/elements/hit/elements/Assigned.js +2 -2
- package/components/elements/hit/elements/EscalationChip.d.ts +1 -1
- package/components/elements/hit/elements/EscalationChip.js +1 -1
- package/components/elements/hit/elements/HitTimestamp.d.ts +1 -1
- package/components/elements/hit/elements/HitTimestamp.js +2 -2
- package/components/elements/hit/outlines/DefaultOutline.d.ts +2 -2
- package/components/elements/hit/outlines/DefaultOutline.js +2 -2
- package/components/elements/hit/outlines/al/AssemblyLineRules.d.ts +1 -1
- package/components/elements/hit/related/PivotLink.d.ts +2 -2
- package/components/elements/hit/related/PivotLink.js +1 -1
- package/components/elements/hit/related/RelatedLink.js +3 -3
- package/components/elements/view/ViewTitle.js +1 -1
- package/components/hooks/useHitActions.d.ts +2 -2
- package/components/hooks/useHitActions.js +8 -8
- package/components/hooks/useHitSelection.d.ts +2 -2
- package/components/hooks/useHitSelection.js +4 -4
- package/components/hooks/useMyApi.js +1 -1
- package/components/hooks/useMyLocalStorage.d.ts +2 -2
- package/components/hooks/useMyLocalStorage.js +4 -4
- package/components/hooks/useMyPreferences.d.ts +1 -1
- package/components/hooks/useMyPreferences.js +3 -3
- package/components/hooks/useMySearch.d.ts +2 -2
- package/components/hooks/useMySearch.js +4 -4
- package/components/hooks/useMySitemap.d.ts +1 -1
- package/components/hooks/useMyTheme.d.ts +1 -1
- package/components/hooks/useMyUser.d.ts +2 -2
- package/components/hooks/useMyUserFunctions.d.ts +1 -1
- package/components/hooks/useMyUserFunctions.js +13 -13
- package/components/hooks/useMyUserList.js +1 -1
- package/components/hooks/useMyUtils.js +1 -1
- package/components/logins/Login.js +4 -4
- package/components/logins/auth/OAuthLogin.js +3 -3
- package/components/logins/hooks/useLogin.d.ts +1 -1
- package/components/logins/hooks/useLogin.js +9 -9
- package/components/routes/404.js +1 -1
- package/components/routes/ErrorOccured.js +2 -2
- package/components/routes/Logout.js +3 -3
- package/components/routes/action/edit/ActionEditor.d.ts +2 -2
- package/components/routes/action/edit/ActionEditor.js +9 -9
- package/components/routes/action/shared/ActionReportDisplay.d.ts +1 -1
- package/components/routes/action/shared/ActionReportDisplay.js +1 -1
- package/components/routes/action/shared/OperationEntry.d.ts +2 -2
- package/components/routes/action/shared/OperationEntry.js +2 -2
- package/components/routes/action/shared/OperationStep.d.ts +1 -1
- package/components/routes/action/shared/OperationStep.js +5 -5
- package/components/routes/action/useMyActionFunctions.d.ts +4 -4
- package/components/routes/action/useMyActionFunctions.js +4 -4
- package/components/routes/action/view/ActionDetails.js +9 -9
- package/components/routes/action/view/ActionSearch.js +11 -11
- package/components/routes/action/view/Integrations.js +2 -2
- package/components/routes/admin/users/UserEditor.js +7 -7
- package/components/routes/admin/users/UserSearch.js +15 -15
- package/components/routes/advanced/QueryBuilder.js +10 -10
- package/components/routes/advanced/QueryEditor.js +3 -3
- package/components/routes/advanced/RuleModal.js +9 -9
- package/components/routes/advanced/eqlCompletionProvider.js +1 -1
- package/components/routes/advanced/historyCompletionProvider.js +2 -2
- package/components/routes/advanced/luceneCompletionProvider.js +3 -3
- package/components/routes/advanced/yamlCompletionProvider.js +1 -1
- package/components/routes/analytics/AnalyticComments.d.ts +1 -1
- package/components/routes/analytics/AnalyticComments.js +8 -8
- package/components/routes/analytics/AnalyticDetails.js +10 -10
- package/components/routes/analytics/AnalyticHitComments.d.ts +1 -1
- package/components/routes/analytics/AnalyticHitComments.js +6 -6
- package/components/routes/analytics/AnalyticNotebooks.d.ts +1 -1
- package/components/routes/analytics/AnalyticNotebooks.js +7 -7
- package/components/routes/analytics/AnalyticOverview.d.ts +1 -1
- package/components/routes/analytics/AnalyticOverview.js +5 -5
- package/components/routes/analytics/AnalyticOverviews.d.ts +1 -1
- package/components/routes/analytics/AnalyticOverviews.js +2 -2
- package/components/routes/analytics/AnalyticSearch.js +13 -13
- package/components/routes/analytics/AnalyticTemplates.d.ts +1 -1
- package/components/routes/analytics/AnalyticTemplates.js +2 -2
- package/components/routes/analytics/RuleView.d.ts +1 -1
- package/components/routes/analytics/RuleView.js +3 -3
- package/components/routes/analytics/TriageSettings.d.ts +1 -1
- package/components/routes/analytics/TriageSettings.js +4 -4
- package/components/routes/analytics/widgets/Assessment.d.ts +1 -1
- package/components/routes/analytics/widgets/Assessment.js +3 -3
- package/components/routes/analytics/widgets/Created.d.ts +1 -1
- package/components/routes/analytics/widgets/Created.js +3 -3
- package/components/routes/analytics/widgets/Detection.d.ts +1 -1
- package/components/routes/analytics/widgets/Detection.js +1 -1
- package/components/routes/analytics/widgets/Escalation.d.ts +1 -1
- package/components/routes/analytics/widgets/Escalation.js +3 -3
- package/components/routes/analytics/widgets/Stacked.d.ts +1 -1
- package/components/routes/analytics/widgets/Stacked.js +2 -2
- package/components/routes/analytics/widgets/Status.d.ts +1 -1
- package/components/routes/analytics/widgets/Status.js +1 -1
- package/components/routes/dossiers/DossierCard.d.ts +1 -1
- package/components/routes/dossiers/DossierCard.js +2 -2
- package/components/routes/dossiers/DossierEditor.js +4 -4
- package/components/routes/dossiers/Dossiers.js +8 -8
- package/components/routes/dossiers/LeadEditor.d.ts +1 -1
- package/components/routes/dossiers/LeadEditor.js +2 -2
- package/components/routes/dossiers/LeadForm.d.ts +1 -1
- package/components/routes/dossiers/PivotForm.d.ts +2 -2
- package/components/routes/dossiers/PivotForm.js +2 -2
- package/components/routes/help/ActionDocumentation.js +3 -3
- package/components/routes/help/ActionIntroductionDocumentation.js +5 -5
- package/components/routes/help/ApiDocumentation.js +10 -10
- package/components/routes/help/AuthDocumentation.js +3 -3
- package/components/routes/help/BundleDocumentation.js +1 -1
- package/components/routes/help/ClientDocumentation.js +3 -3
- package/components/routes/help/Help.js +4 -4
- package/components/routes/help/HitBannerDocumentation.js +4 -4
- package/components/routes/help/HitDocumentation.js +2 -2
- package/components/routes/help/HitLabelsDocumentation.js +1 -1
- package/components/routes/help/HitLinksDocumentation.js +2 -2
- package/components/routes/help/HitSchemaDocumentation.js +3 -3
- package/components/routes/help/NotebookDocumentation.js +3 -3
- package/components/routes/help/OverviewDocumentation.js +3 -3
- package/components/routes/help/RetentionDocumentation.js +7 -7
- package/components/routes/help/SearchDocumentation.js +4 -4
- package/components/routes/help/TemplateDocumentation.js +5 -5
- package/components/routes/help/ViewDocumentation.js +3 -3
- package/components/routes/hits/search/BundleParentMenu.d.ts +1 -1
- package/components/routes/hits/search/BundleParentMenu.js +4 -4
- package/components/routes/hits/search/BundleScroller.js +1 -1
- package/components/routes/hits/search/CustomSort.js +2 -2
- package/components/routes/hits/search/HitBrowser.js +10 -10
- package/components/routes/hits/search/HitContextMenu.js +9 -9
- package/components/routes/hits/search/HitQuery.js +5 -5
- package/components/routes/hits/search/InformationPane.js +33 -33
- package/components/routes/hits/search/SearchPane.js +21 -21
- package/components/routes/hits/search/ViewLink.js +3 -3
- package/components/routes/hits/search/grid/AddColumnModal.js +3 -3
- package/components/routes/hits/search/grid/EnchancedCell.js +1 -1
- package/components/routes/hits/search/grid/HitGrid.js +12 -12
- package/components/routes/hits/search/grid/HitRow.d.ts +1 -1
- package/components/routes/hits/search/grid/HitRow.js +8 -8
- package/components/routes/hits/search/shared/CustomSpan.js +1 -1
- package/components/routes/hits/search/shared/HitFilter.js +4 -4
- package/components/routes/hits/search/shared/HitSort.js +2 -2
- package/components/routes/hits/search/shared/QuerySettings.js +2 -2
- package/components/routes/hits/search/shared/SearchSpan.js +3 -3
- package/components/routes/hits/view/HitViewer.js +29 -29
- package/components/routes/hits/view/LeadRenderer.d.ts +2 -2
- package/components/routes/hits/view/LeadRenderer.js +1 -1
- package/components/routes/home/AddNewCard.d.ts +1 -1
- package/components/routes/home/AddNewCard.js +3 -3
- package/components/routes/home/AnalyticCard.js +2 -2
- package/components/routes/home/ViewCard.js +6 -6
- package/components/routes/home/index.js +8 -8
- package/components/routes/overviews/OverviewCard.d.ts +1 -1
- package/components/routes/overviews/OverviewCard.js +2 -2
- package/components/routes/overviews/OverviewEditor.js +2 -2
- package/components/routes/overviews/OverviewViewer.js +9 -9
- package/components/routes/overviews/Overviews.js +8 -8
- package/components/routes/overviews/startingTemplate.js +1 -1
- package/components/routes/settings/AdminSection.js +1 -1
- package/components/routes/settings/LocalSection.js +4 -4
- package/components/routes/settings/ProfileSection.d.ts +1 -1
- package/components/routes/settings/ProfileSection.js +3 -3
- package/components/routes/settings/SecuritySection.d.ts +1 -1
- package/components/routes/settings/SecuritySection.js +8 -8
- package/components/routes/settings/Settings.js +5 -5
- package/components/routes/templates/TemplateCard.d.ts +1 -1
- package/components/routes/templates/TemplateEditor.d.ts +1 -1
- package/components/routes/templates/TemplateEditor.js +4 -4
- package/components/routes/templates/TemplateViewer.js +10 -10
- package/components/routes/templates/Templates.js +9 -9
- package/components/routes/views/ViewComposer.js +19 -19
- package/components/routes/views/Views.js +13 -13
- package/i18n.js +6 -6
- package/index.js +2 -2
- package/models/entities/HowlerUser.d.ts +1 -1
- package/models/socket/HitUpdate.d.ts +1 -1
- package/package.json +31 -1
- package/plugins/HowlerPlugin.d.ts +11 -11
- package/plugins/store.d.ts +1 -1
- package/rest/AxiosClient.d.ts +2 -2
- package/rest/AxiosClient.js +1 -1
- package/rest/FetchClient.d.ts +2 -2
- package/rest/index.d.ts +1 -1
- package/utils/actionUtils.d.ts +2 -2
- package/utils/hitFunctions.d.ts +1 -1
- package/utils/localStorage.d.ts +1 -1
- package/utils/sessionStorage.js +1 -1
- 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,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,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 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());
|
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.
|
|
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';
|
package/plugins/store.d.ts
CHANGED
|
@@ -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 {
|
package/rest/AxiosClient.d.ts
CHANGED
|
@@ -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;
|
package/rest/AxiosClient.js
CHANGED
|
@@ -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) => {
|
package/rest/FetchClient.d.ts
CHANGED
|
@@ -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;
|
package/utils/actionUtils.d.ts
CHANGED
|
@@ -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
|
package/utils/hitFunctions.d.ts
CHANGED
|
@@ -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>;
|
package/utils/localStorage.d.ts
CHANGED
package/utils/sessionStorage.js
CHANGED
|
@@ -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 } = (() => {
|
package/utils/socketUtils.d.ts
CHANGED
|
@@ -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
|