@cccsaurora/howler-ui 2.14.0-dev.264 → 2.14.0-dev.266
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.ts +3 -3
- package/api/action/index.ts +5 -5
- package/api/action/operations.ts +3 -3
- package/api/analytic/comments/index.ts +4 -4
- package/api/analytic/comments/react.ts +2 -2
- package/api/analytic/favourite.ts +2 -2
- package/api/analytic/index.ts +7 -7
- package/api/analytic/notebooks/index.ts +3 -3
- package/api/analytic/owner.ts +3 -3
- package/api/analytic/rules.ts +3 -3
- package/api/auth/apikey.ts +2 -2
- package/api/auth/index.ts +3 -3
- package/api/auth/login.ts +3 -3
- package/api/configs/index.ts +2 -2
- package/api/dossier/hit.ts +2 -2
- package/api/dossier/index.ts +2 -2
- package/api/help.ts +1 -1
- package/api/hit/assign.ts +3 -3
- package/api/hit/comments/index.ts +4 -4
- package/api/hit/comments/react.ts +2 -2
- package/api/hit/index.ts +7 -7
- package/api/hit/labels.ts +4 -4
- package/api/hit/overwrite.ts +3 -3
- package/api/hit/transition.ts +4 -4
- package/api/index.ts +18 -18
- package/api/notebook/environments.ts +2 -2
- package/api/notebook/index.ts +4 -4
- package/api/overview/index.ts +2 -2
- package/api/search/action.ts +4 -4
- package/api/search/analytic.ts +4 -4
- package/api/search/count/hit.ts +3 -3
- package/api/search/count/index.ts +3 -3
- package/api/search/dossier.ts +4 -4
- package/api/search/eql/hit.ts +4 -4
- package/api/search/facet/hit.ts +3 -3
- package/api/search/facet/index.ts +3 -3
- package/api/search/fields/hit.ts +3 -3
- package/api/search/fields/index.ts +4 -4
- package/api/search/fields/user.ts +4 -4
- package/api/search/grouped/hit.ts +4 -4
- package/api/search/grouped/index.ts +4 -4
- package/api/search/grouped/user.ts +4 -4
- package/api/search/histogram/hit.ts +3 -3
- package/api/search/histogram/index.ts +3 -3
- package/api/search/hit.ts +6 -6
- package/api/search/index.ts +14 -14
- package/api/search/overview.ts +4 -4
- package/api/search/sigma/hit.ts +4 -4
- package/api/search/template.ts +4 -4
- package/api/search/user.ts +4 -4
- package/api/search/view.ts +4 -4
- package/api/template/index.ts +2 -2
- package/api/user/avatar/index.ts +2 -2
- package/api/user/groups.ts +2 -2
- package/api/user/index.ts +5 -5
- package/api/user/whoami.ts +3 -3
- package/api/view/favourite.ts +2 -2
- package/api/view/index.ts +3 -3
- package/commons/components/app/AppConfigs.ts +2 -2
- package/commons/components/app/AppContexts.ts +5 -5
- package/commons/components/app/AppDefaults.ts +1 -1
- package/commons/components/app/AppNotificationService.ts +1 -1
- package/commons/components/app/AppProvider.tsx +14 -14
- package/commons/components/app/AppSearchService.ts +1 -1
- package/commons/components/app/AppSkeleton.tsx +4 -4
- package/commons/components/app/hooks/useApp.tsx +1 -1
- package/commons/components/app/hooks/useAppBanner.tsx +1 -1
- package/commons/components/app/hooks/useAppBar.tsx +1 -1
- package/commons/components/app/hooks/useAppBreadcrumbs.tsx +1 -1
- package/commons/components/app/hooks/useAppConfigs.tsx +2 -2
- package/commons/components/app/hooks/useAppLanguage.tsx +2 -2
- package/commons/components/app/hooks/useAppLayout.tsx +1 -1
- package/commons/components/app/hooks/useAppLeftNav.tsx +1 -1
- package/commons/components/app/hooks/useAppLogo.tsx +2 -2
- package/commons/components/app/hooks/useAppNotification.tsx +1 -1
- package/commons/components/app/hooks/useAppQuickSearch.tsx +1 -1
- package/commons/components/app/hooks/useAppSearchService.tsx +2 -2
- package/commons/components/app/hooks/useAppSitemap.tsx +3 -3
- package/commons/components/app/hooks/useAppSwitcher.tsx +1 -1
- package/commons/components/app/hooks/useAppTheme.tsx +1 -1
- package/commons/components/app/hooks/useAppUser.tsx +2 -2
- package/commons/components/app/providers/AppBarProvider.tsx +9 -9
- package/commons/components/app/providers/AppBreadcrumbsProvider.tsx +5 -5
- package/commons/components/app/providers/AppLayoutProvider.tsx +7 -7
- package/commons/components/app/providers/AppLeftNavProvider.tsx +5 -5
- package/commons/components/app/providers/AppNotificationProvider.tsx +1 -1
- package/commons/components/app/providers/AppQuickSearchProvider.tsx +6 -6
- package/commons/components/app/providers/AppSearchServiceProvider.tsx +3 -3
- package/commons/components/app/providers/AppSwitcherProvider.tsx +3 -3
- package/commons/components/app/providers/AppUserProvider.tsx +2 -2
- package/commons/components/breadcrumbs/BreadcrumbIcon.tsx +1 -1
- package/commons/components/breadcrumbs/BreadcrumbLastItem.tsx +2 -2
- package/commons/components/breadcrumbs/BreadcrumbLinkItem.tsx +2 -2
- package/commons/components/breadcrumbs/BreadcrumbList.tsx +3 -3
- package/commons/components/breadcrumbs/Breadcrumbs.tsx +2 -2
- package/commons/components/display/AppAvatar.tsx +1 -1
- package/commons/components/display/AppListEmpty.tsx +1 -1
- package/commons/components/display/AppToc.tsx +3 -3
- package/commons/components/display/hooks/useAppColor.tsx +1 -1
- package/commons/components/leftnav/LeftNavDrawer.tsx +4 -4
- package/commons/components/leftnav/LeftNavGroup.tsx +3 -3
- package/commons/components/leftnav/LeftNavItem.tsx +2 -2
- package/commons/components/notification/Notification.tsx +4 -4
- package/commons/components/notification/elements/NotificationCloseButton.tsx +1 -1
- package/commons/components/notification/elements/NotificationContainer.tsx +5 -5
- package/commons/components/notification/elements/NotificationEndOfPage.tsx +1 -1
- package/commons/components/notification/elements/NotificationItems.tsx +2 -2
- package/commons/components/notification/elements/item/NotificationItem.tsx +7 -7
- package/commons/components/notification/elements/item/NotificationItemAuthor.tsx +1 -1
- package/commons/components/notification/elements/item/NotificationItemContent.tsx +1 -1
- package/commons/components/notification/elements/item/NotificationItemDate.tsx +1 -1
- package/commons/components/notification/elements/item/NotificationItemTitle.tsx +1 -1
- package/commons/components/pages/PageCenter.tsx +2 -2
- package/commons/components/pages/PageContent.tsx +1 -1
- package/commons/components/pages/PageFullScreen.tsx +3 -3
- package/commons/components/pages/PageFullWidth.tsx +1 -1
- package/commons/components/pages/PageHeader.tsx +1 -1
- package/commons/components/search/AppSearch.tsx +4 -4
- package/commons/components/search/AppSearchResult.tsx +4 -4
- package/commons/components/topnav/AppBar.tsx +9 -9
- package/commons/components/topnav/AppName.tsx +1 -1
- package/commons/components/topnav/AppSwitcher.tsx +1 -1
- package/commons/components/topnav/Notifications.tsx +2 -2
- package/commons/components/topnav/ThemeSelection.tsx +3 -3
- package/commons/components/topnav/ThemeSelectionIcon.tsx +2 -2
- package/commons/components/topnav/UserProfile.tsx +4 -4
- package/commons/components/utils/hooks/useLocalStorageItem.tsx +1 -1
- package/commons/components/utils/hooks/useThemeBuilder.tsx +2 -2
- package/components/app/App.tsx +57 -57
- package/components/app/AppContainer.tsx +1 -1
- package/components/app/drawers/ApiKeyDrawer.tsx +5 -5
- package/components/app/drawers/AssignUserDrawer.tsx +6 -6
- package/components/app/drawers/ViewGroupsDrawer.tsx +1 -1
- package/components/app/hooks/useMatchers.tsx +2 -2
- package/components/app/hooks/useTitle.tsx +1 -1
- package/components/app/providers/AnalyticProvider.tsx +5 -5
- package/components/app/providers/ApiConfigProvider.tsx +1 -1
- package/components/app/providers/AppDrawerProvider.tsx +1 -1
- package/components/app/providers/AvatarProvider.tsx +2 -2
- package/components/app/providers/CustomPluginProvider.tsx +1 -1
- package/components/app/providers/FavouritesProvider.tsx +3 -3
- package/components/app/providers/FieldProvider.tsx +3 -3
- package/components/app/providers/HitProvider.tsx +5 -5
- package/components/app/providers/HitSearchProvider.tsx +12 -12
- package/components/app/providers/LocalStorageProvider.tsx +2 -2
- package/components/app/providers/OverviewProvider.tsx +3 -3
- package/components/app/providers/ParameterProvider.tsx +1 -1
- package/components/app/providers/SocketProvider.tsx +5 -5
- package/components/app/providers/UserListProvider.tsx +3 -3
- package/components/app/providers/ViewProvider.tsx +7 -7
- package/components/elements/Comment.tsx +7 -7
- package/components/elements/EditRow.tsx +1 -1
- package/components/elements/PluginChip.tsx +1 -1
- package/components/elements/PluginTypography.tsx +1 -1
- package/components/elements/ThemedEditor.tsx +3 -3
- package/components/elements/UserList.tsx +1 -1
- package/components/elements/addons/layout/FlexPort.tsx +1 -1
- package/components/elements/addons/layout/FlexVertical.tsx +2 -2
- package/components/elements/addons/layout/vsbox/VSBox.tsx +1 -1
- package/components/elements/addons/lists/TuiList.tsx +1 -1
- package/components/elements/addons/lists/TuiListBase.tsx +2 -2
- package/components/elements/addons/lists/hooks/useTuiListKeyboard.tsx +2 -2
- package/components/elements/addons/lists/table/TuiTable.tsx +1 -1
- package/components/elements/addons/lists/table/TuiTableBody.tsx +1 -1
- package/components/elements/addons/lists/table/TuiTableHead.tsx +1 -1
- package/components/elements/addons/search/phrase/Phrase.tsx +1 -1
- package/components/elements/display/ActionButton.tsx +4 -4
- package/components/elements/display/Classification.tsx +1 -1
- package/components/elements/display/HandlebarsMarkdown.tsx +2 -2
- package/components/elements/display/HowlerAvatar.tsx +3 -3
- package/components/elements/display/HowlerAvatarHeader.tsx +1 -1
- package/components/elements/display/ItemManager.tsx +7 -7
- package/components/elements/display/Markdown.tsx +1 -1
- package/components/elements/display/Modal.tsx +1 -1
- package/components/elements/display/UserPageWrapper.tsx +2 -2
- package/components/elements/display/features/DevelopmentBanner.tsx +2 -2
- package/components/elements/display/features/DevelopmentIcon.tsx +2 -2
- package/components/elements/display/handlebars/helpers.tsx +4 -4
- package/components/elements/display/icons/BundleButton.tsx +1 -1
- package/components/elements/display/icons/SocketBadge.tsx +2 -2
- package/components/elements/display/json/JSONViewer.tsx +7 -7
- package/components/elements/display/modals/ConfirmDeleteModal.tsx +1 -1
- package/components/elements/display/modals/ConfirmNotebookModal.tsx +1 -1
- package/components/elements/display/modals/CreateActionModal.tsx +3 -3
- package/components/elements/display/modals/RationaleModal.tsx +2 -2
- package/components/elements/hit/HitActions.tsx +13 -13
- package/components/elements/hit/HitBanner.tsx +6 -6
- package/components/elements/hit/HitBannerTooltip.tsx +1 -1
- package/components/elements/hit/HitCard.tsx +1 -1
- package/components/elements/hit/HitComments.tsx +11 -11
- package/components/elements/hit/HitDetails.tsx +2 -2
- package/components/elements/hit/HitLabels.tsx +6 -6
- package/components/elements/hit/HitNotebooks.tsx +8 -8
- package/components/elements/hit/HitOutline.tsx +4 -4
- package/components/elements/hit/HitOverview.tsx +4 -4
- package/components/elements/hit/HitQuickSearch.tsx +4 -4
- package/components/elements/hit/HitRelated.tsx +1 -1
- package/components/elements/hit/HitSummary.tsx +13 -13
- package/components/elements/hit/HitWorklog.tsx +7 -7
- package/components/elements/hit/actions/DropdownActions.tsx +1 -1
- package/components/elements/hit/aggregate/HitGraph.tsx +8 -8
- package/components/elements/hit/elements/Assigned.tsx +4 -4
- package/components/elements/hit/elements/EscalationChip.tsx +2 -2
- package/components/elements/hit/elements/HitTimestamp.tsx +3 -3
- package/components/elements/hit/outlines/DefaultOutline.tsx +4 -4
- package/components/elements/hit/outlines/al/AssemblyLineRules.tsx +2 -2
- package/components/elements/hit/related/PivotLink.tsx +3 -3
- package/components/elements/hit/related/RelatedIcon.tsx +2 -2
- package/components/elements/hit/related/RelatedLink.tsx +1 -1
- package/components/elements/view/ViewTitle.tsx +1 -1
- package/components/hooks/useHitActions.tsx +12 -12
- package/components/hooks/useHitSelection.tsx +7 -7
- package/components/hooks/useMyApi.tsx +2 -2
- package/components/hooks/useMyLocalStorage.ts +5 -5
- package/components/hooks/useMyPreferences.tsx +6 -6
- package/components/hooks/useMySearch.tsx +7 -7
- package/components/hooks/useMySitemap.tsx +2 -2
- package/components/hooks/useMyTheme.tsx +1 -1
- package/components/hooks/useMyUser.tsx +2 -2
- package/components/hooks/useMyUserFunctions.tsx +8 -8
- package/components/hooks/useMyUserList.tsx +1 -1
- package/components/hooks/useMyUtils.tsx +1 -1
- package/components/logins/Login.tsx +4 -4
- package/components/logins/auth/OAuthLogin.tsx +3 -3
- package/components/logins/hooks/useLogin.tsx +11 -11
- package/components/routes/404.tsx +1 -1
- package/components/routes/ErrorOccured.tsx +2 -2
- package/components/routes/Logout.tsx +3 -3
- package/components/routes/action/edit/ActionEditor.tsx +13 -13
- package/components/routes/action/shared/ActionReportDisplay.tsx +2 -2
- package/components/routes/action/shared/OperationEntry.tsx +4 -4
- package/components/routes/action/shared/OperationStep.tsx +8 -8
- package/components/routes/action/useMyActionFunctions.tsx +9 -9
- package/components/routes/action/view/ActionDetails.tsx +12 -12
- package/components/routes/action/view/ActionSearch.tsx +14 -14
- package/components/routes/action/view/Integrations.tsx +2 -2
- package/components/routes/admin/users/UserEditor.tsx +8 -8
- package/components/routes/admin/users/UserSearch.tsx +19 -19
- package/components/routes/advanced/QueryBuilder.tsx +14 -14
- package/components/routes/advanced/QueryEditor.tsx +3 -3
- package/components/routes/advanced/RuleModal.tsx +10 -10
- package/components/routes/advanced/eqlCompletionProvider.ts +1 -1
- package/components/routes/advanced/historyCompletionProvider.ts +2 -2
- package/components/routes/advanced/luceneCompletionProvider.ts +3 -3
- package/components/routes/advanced/yamlCompletionProvider.ts +1 -1
- package/components/routes/analytics/AnalyticComments.tsx +9 -9
- package/components/routes/analytics/AnalyticDetails.tsx +12 -12
- package/components/routes/analytics/AnalyticHitComments.tsx +8 -8
- package/components/routes/analytics/AnalyticNotebooks.tsx +9 -9
- package/components/routes/analytics/AnalyticOverview.tsx +6 -6
- package/components/routes/analytics/AnalyticOverviews.tsx +3 -3
- package/components/routes/analytics/AnalyticSearch.tsx +15 -15
- package/components/routes/analytics/AnalyticTemplates.tsx +5 -5
- package/components/routes/analytics/RuleView.tsx +4 -4
- package/components/routes/analytics/TriageSettings.tsx +6 -6
- package/components/routes/analytics/widgets/Assessment.tsx +5 -5
- package/components/routes/analytics/widgets/Created.tsx +4 -4
- package/components/routes/analytics/widgets/Detection.tsx +2 -2
- package/components/routes/analytics/widgets/Escalation.tsx +5 -5
- package/components/routes/analytics/widgets/Stacked.tsx +3 -3
- package/components/routes/analytics/widgets/Status.tsx +2 -2
- package/components/routes/dossiers/DossierCard.tsx +3 -3
- package/components/routes/dossiers/DossierEditor.tsx +5 -5
- package/components/routes/dossiers/Dossiers.tsx +10 -10
- package/components/routes/dossiers/LeadEditor.tsx +3 -3
- package/components/routes/dossiers/LeadForm.tsx +1 -1
- package/components/routes/dossiers/PivotForm.tsx +4 -4
- package/components/routes/help/ActionDocumentation.tsx +3 -3
- package/components/routes/help/ActionIntroductionDocumentation.tsx +7 -7
- package/components/routes/help/ApiDocumentation.tsx +8 -8
- package/components/routes/help/AuthDocumentation.tsx +3 -3
- package/components/routes/help/BundleDocumentation.tsx +1 -1
- package/components/routes/help/ClientDocumentation.tsx +3 -3
- package/components/routes/help/Help.tsx +5 -5
- package/components/routes/help/HitBannerDocumentation.tsx +5 -5
- package/components/routes/help/HitDocumentation.tsx +2 -2
- package/components/routes/help/HitLabelsDocumentation.tsx +1 -1
- package/components/routes/help/HitLinksDocumentation.tsx +2 -2
- package/components/routes/help/HitSchemaDocumentation.tsx +3 -3
- package/components/routes/help/NotebookDocumentation.tsx +3 -3
- package/components/routes/help/OverviewDocumentation.tsx +3 -3
- package/components/routes/help/RetentionDocumentation.tsx +7 -7
- package/components/routes/help/SearchDocumentation.tsx +6 -6
- package/components/routes/help/TemplateDocumentation.tsx +5 -5
- package/components/routes/help/ViewDocumentation.tsx +3 -3
- package/components/routes/hits/search/BundleParentMenu.tsx +5 -5
- package/components/routes/hits/search/BundleScroller.tsx +1 -1
- package/components/routes/hits/search/CustomSort.tsx +2 -2
- package/components/routes/hits/search/HitBrowser.tsx +10 -10
- package/components/routes/hits/search/HitContextMenu.tsx +11 -11
- package/components/routes/hits/search/HitQuery.tsx +5 -5
- package/components/routes/hits/search/InformationPane.tsx +35 -35
- package/components/routes/hits/search/SearchPane.tsx +21 -21
- package/components/routes/hits/search/ViewLink.tsx +3 -3
- package/components/routes/hits/search/grid/AddColumnModal.tsx +3 -3
- package/components/routes/hits/search/grid/ColumnHeader.tsx +2 -2
- package/components/routes/hits/search/grid/EnhancedCell.tsx +1 -1
- package/components/routes/hits/search/grid/HitGrid.tsx +12 -12
- package/components/routes/hits/search/grid/HitRow.tsx +7 -7
- package/components/routes/hits/search/shared/CustomSpan.tsx +1 -1
- package/components/routes/hits/search/shared/HitFilter.tsx +4 -4
- package/components/routes/hits/search/shared/HitSort.tsx +2 -2
- package/components/routes/hits/search/shared/QuerySettings.tsx +2 -2
- package/components/routes/hits/search/shared/SearchSpan.tsx +3 -3
- package/components/routes/hits/view/HitViewer.tsx +28 -28
- package/components/routes/hits/view/LeadRenderer.tsx +3 -3
- package/components/routes/home/AddNewCard.tsx +5 -5
- package/components/routes/home/AnalyticCard.tsx +3 -3
- package/components/routes/home/ViewCard.tsx +7 -7
- package/components/routes/home/index.tsx +9 -9
- package/components/routes/overviews/OverviewCard.tsx +3 -3
- package/components/routes/overviews/OverviewEditor.tsx +2 -2
- package/components/routes/overviews/OverviewViewer.tsx +13 -13
- package/components/routes/overviews/Overviews.tsx +10 -10
- package/components/routes/overviews/startingTemplate.ts +1 -1
- package/components/routes/settings/AdminSection.tsx +1 -1
- package/components/routes/settings/LocalSection.tsx +4 -4
- package/components/routes/settings/ProfileSection.tsx +4 -4
- package/components/routes/settings/SecuritySection.tsx +5 -5
- package/components/routes/settings/Settings.tsx +6 -6
- package/components/routes/templates/TemplateCard.tsx +1 -1
- package/components/routes/templates/TemplateEditor.tsx +4 -4
- package/components/routes/templates/TemplateViewer.tsx +10 -10
- package/components/routes/templates/Templates.tsx +11 -11
- package/components/routes/views/ViewComposer.tsx +21 -21
- package/components/routes/views/Views.tsx +16 -16
- package/index.tsx +3 -3
- package/models/entities/HowlerUser.d.ts +1 -1
- package/models/socket/HitUpdate.d.ts +1 -1
- package/package.json +577 -604
- package/plugins/HowlerPlugin.ts +12 -12
- package/plugins/store.ts +1 -1
- package/rest/AxiosClient.ts +3 -3
- package/rest/FetchClient.ts +2 -2
- package/rest/index.ts +1 -1
- package/utils/actionUtils.ts +2 -2
- package/utils/hitFunctions.ts +1 -1
- package/utils/localStorage.ts +1 -1
- package/utils/sessionStorage.ts +1 -1
- package/utils/socketUtils.ts +2 -2
- package/components/app/hooks/useMatchers.test.ts +0 -328
- package/components/app/providers/ViewProvider.test.tsx +0 -244
- package/tests/MockLocalStorage.ts +0 -46
- package/tests/server-handlers.ts +0 -114
- package/tests/server.ts +0 -6
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
Stack,
|
|
12
12
|
Typography
|
|
13
13
|
} from '@mui/material';
|
|
14
|
-
import type { AppLeftNavGroup } from 'commons/components/app/AppConfigs';
|
|
15
|
-
import PageCenter from 'commons/components/pages/PageCenter';
|
|
16
|
-
import useMyPreferences from 'components/hooks/useMyPreferences';
|
|
17
|
-
import { useScrollRestoration } from 'components/hooks/useScrollRestoration';
|
|
18
|
-
import howlerPluginStore from 'plugins/store';
|
|
14
|
+
import type { AppLeftNavGroup } from '@cccsaurora/howler-ui/commons/components/app/AppConfigs';
|
|
15
|
+
import PageCenter from '@cccsaurora/howler-ui/commons/components/pages/PageCenter';
|
|
16
|
+
import useMyPreferences from '@cccsaurora/howler-ui/components/hooks/useMyPreferences';
|
|
17
|
+
import { useScrollRestoration } from '@cccsaurora/howler-ui/components/hooks/useScrollRestoration';
|
|
18
|
+
import howlerPluginStore from '@cccsaurora/howler-ui/plugins/store';
|
|
19
19
|
import { useMemo } from 'react';
|
|
20
20
|
import { useTranslation } from 'react-i18next';
|
|
21
21
|
import { usePluginStore } from 'react-pluggable';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CardContent, Divider, Typography } from '@mui/material';
|
|
2
|
-
import HowlerCard from 'components/elements/display/HowlerCard';
|
|
3
|
-
import JSONViewer from 'components/elements/display/json/JSONViewer';
|
|
4
|
-
import HitBanner from 'components/elements/hit/HitBanner';
|
|
5
|
-
import { HitLayout } from 'components/elements/hit/HitLayout';
|
|
6
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
2
|
+
import HowlerCard from '@cccsaurora/howler-ui/components/elements/display/HowlerCard';
|
|
3
|
+
import JSONViewer from '@cccsaurora/howler-ui/components/elements/display/json/JSONViewer';
|
|
4
|
+
import HitBanner from '@cccsaurora/howler-ui/components/elements/hit/HitBanner';
|
|
5
|
+
import { HitLayout } from '@cccsaurora/howler-ui/components/elements/hit/HitLayout';
|
|
6
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
7
7
|
import type { FC } from 'react';
|
|
8
8
|
import { useMemo } from 'react';
|
|
9
9
|
import { useTranslation } from 'react-i18next';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Box, Stack, Tab, Typography, useMediaQuery, useTheme } from '@mui/material';
|
|
2
|
-
import PageCenter from 'commons/components/pages/PageCenter';
|
|
3
|
-
import { useScrollRestoration } from 'components/hooks/useScrollRestoration';
|
|
2
|
+
import PageCenter from '@cccsaurora/howler-ui/commons/components/pages/PageCenter';
|
|
3
|
+
import { useScrollRestoration } from '@cccsaurora/howler-ui/components/hooks/useScrollRestoration';
|
|
4
4
|
import type { FC } from 'react';
|
|
5
5
|
import { useCallback, useState } from 'react';
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
@@ -3,7 +3,7 @@ import { useTranslation } from 'react-i18next';
|
|
|
3
3
|
|
|
4
4
|
import { Chip, Paper, Stack, Table, TableBody, TableCell, TableContainer, TableHead, TableRow } from '@mui/material';
|
|
5
5
|
import { capitalize } from 'lodash-es';
|
|
6
|
-
import { LABEL_TYPES } from 'utils/constants';
|
|
6
|
+
import { LABEL_TYPES } from '@cccsaurora/howler-ui/utils/constants';
|
|
7
7
|
|
|
8
8
|
const HitLabelsDocumentation: FC = () => {
|
|
9
9
|
const { t } = useTranslation();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import Markdown from 'components/elements/display/Markdown';
|
|
1
|
+
import Markdown from '@cccsaurora/howler-ui/components/elements/display/Markdown';
|
|
2
2
|
import type { FC } from 'react';
|
|
3
3
|
import { useContext, useMemo } from 'react';
|
|
4
4
|
import { useTranslation } from 'react-i18next';
|
|
5
5
|
|
|
6
|
-
import { ApiConfigContext } from 'components/app/providers/ApiConfigProvider';
|
|
6
|
+
import { ApiConfigContext } from '@cccsaurora/howler-ui/components/app/providers/ApiConfigProvider';
|
|
7
7
|
import LINKS_EN from './markdown/en/links.md';
|
|
8
8
|
import LINKS_FR from './markdown/fr/links.md';
|
|
9
9
|
|
|
@@ -16,14 +16,14 @@ import {
|
|
|
16
16
|
Typography,
|
|
17
17
|
useTheme
|
|
18
18
|
} from '@mui/material';
|
|
19
|
-
import Markdown from 'components/elements/display/Markdown';
|
|
19
|
+
import Markdown from '@cccsaurora/howler-ui/components/elements/display/Markdown';
|
|
20
20
|
import type { ChangeEventHandler, FC } from 'react';
|
|
21
21
|
import { memo, useCallback, useContext, useMemo, useState } from 'react';
|
|
22
22
|
import { useTranslation } from 'react-i18next';
|
|
23
23
|
import { useSearchParams } from 'react-router-dom';
|
|
24
|
-
import Throttler from 'utils/Throttler';
|
|
24
|
+
import Throttler from '@cccsaurora/howler-ui/utils/Throttler';
|
|
25
25
|
|
|
26
|
-
import { ApiConfigContext } from 'components/app/providers/ApiConfigProvider';
|
|
26
|
+
import { ApiConfigContext } from '@cccsaurora/howler-ui/components/app/providers/ApiConfigProvider';
|
|
27
27
|
import SCHEMA_EN from './markdown/en/schema.md';
|
|
28
28
|
import SCHEMA_FR from './markdown/fr/schema.md';
|
|
29
29
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import PageCenter from 'commons/components/pages/PageCenter';
|
|
2
|
-
import Markdown from 'components/elements/display/Markdown';
|
|
3
|
-
import { useScrollRestoration } from 'components/hooks/useScrollRestoration';
|
|
1
|
+
import PageCenter from '@cccsaurora/howler-ui/commons/components/pages/PageCenter';
|
|
2
|
+
import Markdown from '@cccsaurora/howler-ui/components/elements/display/Markdown';
|
|
3
|
+
import { useScrollRestoration } from '@cccsaurora/howler-ui/components/hooks/useScrollRestoration';
|
|
4
4
|
import type { FC } from 'react';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
import NOTEBOOK_EN from './markdown/en/notebook.md';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import PageCenter from 'commons/components/pages/PageCenter';
|
|
2
|
-
import HandlebarsMarkdown from 'components/elements/display/HandlebarsMarkdown';
|
|
3
|
-
import { useScrollRestoration } from 'components/hooks/useScrollRestoration';
|
|
1
|
+
import PageCenter from '@cccsaurora/howler-ui/commons/components/pages/PageCenter';
|
|
2
|
+
import HandlebarsMarkdown from '@cccsaurora/howler-ui/components/elements/display/HandlebarsMarkdown';
|
|
3
|
+
import { useScrollRestoration } from '@cccsaurora/howler-ui/components/hooks/useScrollRestoration';
|
|
4
4
|
import { type FC } from 'react';
|
|
5
5
|
import ErrorBoundary from '../ErrorBoundary';
|
|
6
6
|
import { useStartingTemplate } from '../overviews/startingTemplate';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import PageCenter from 'commons/components/pages/PageCenter';
|
|
2
|
-
import Markdown from 'components/elements/display/Markdown';
|
|
3
|
-
import { useScrollRestoration } from 'components/hooks/useScrollRestoration';
|
|
1
|
+
import PageCenter from '@cccsaurora/howler-ui/commons/components/pages/PageCenter';
|
|
2
|
+
import Markdown from '@cccsaurora/howler-ui/components/elements/display/Markdown';
|
|
3
|
+
import { useScrollRestoration } from '@cccsaurora/howler-ui/components/hooks/useScrollRestoration';
|
|
4
4
|
import type { FC } from 'react';
|
|
5
5
|
import { useContext, useEffect, useMemo, useState } from 'react';
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
7
7
|
|
|
8
8
|
import { Skeleton } from '@mui/material';
|
|
9
|
-
import api from 'api';
|
|
10
|
-
import { ApiConfigContext } from 'components/app/providers/ApiConfigProvider';
|
|
11
|
-
import HitCard from 'components/elements/hit/HitCard';
|
|
12
|
-
import { HitLayout } from 'components/elements/hit/HitLayout';
|
|
9
|
+
import api from '@cccsaurora/howler-ui/api';
|
|
10
|
+
import { ApiConfigContext } from '@cccsaurora/howler-ui/components/app/providers/ApiConfigProvider';
|
|
11
|
+
import HitCard from '@cccsaurora/howler-ui/components/elements/hit/HitCard';
|
|
12
|
+
import { HitLayout } from '@cccsaurora/howler-ui/components/elements/hit/HitLayout';
|
|
13
13
|
import AUTH_EN from './markdown/en/retention.md';
|
|
14
14
|
import AUTH_FR from './markdown/fr/retention.md';
|
|
15
15
|
|
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
useMediaQuery,
|
|
20
20
|
useTheme
|
|
21
21
|
} from '@mui/material';
|
|
22
|
-
import { useAppBar, useAppLayout, useAppUser } from 'commons/components/app/hooks';
|
|
23
|
-
import type { AppTocItem } from 'commons/components/display/AppToc';
|
|
24
|
-
import PageCenter from 'commons/components/pages/PageCenter';
|
|
25
|
-
import { ApiConfigContext } from 'components/app/providers/ApiConfigProvider';
|
|
26
|
-
import { useScrollRestoration } from 'components/hooks/useScrollRestoration';
|
|
27
|
-
import type { HowlerUser } from 'models/entities/HowlerUser';
|
|
22
|
+
import { useAppBar, useAppLayout, useAppUser } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
23
|
+
import type { AppTocItem } from '@cccsaurora/howler-ui/commons/components/display/AppToc';
|
|
24
|
+
import PageCenter from '@cccsaurora/howler-ui/commons/components/pages/PageCenter';
|
|
25
|
+
import { ApiConfigContext } from '@cccsaurora/howler-ui/components/app/providers/ApiConfigProvider';
|
|
26
|
+
import { useScrollRestoration } from '@cccsaurora/howler-ui/components/hooks/useScrollRestoration';
|
|
27
|
+
import type { HowlerUser } from '@cccsaurora/howler-ui/models/entities/HowlerUser';
|
|
28
28
|
import { memo, useContext, useMemo, type FC, type ReactElement } from 'react';
|
|
29
29
|
import { useTranslation } from 'react-i18next';
|
|
30
30
|
import { useLocation } from 'react-router-dom';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Card, CardContent, Stack } from '@mui/material';
|
|
2
|
-
import PageCenter from 'commons/components/pages/PageCenter';
|
|
3
|
-
import Markdown from 'components/elements/display/Markdown';
|
|
4
|
-
import { HitLayout } from 'components/elements/hit/HitLayout';
|
|
5
|
-
import DefaultOutline from 'components/elements/hit/outlines/DefaultOutline';
|
|
6
|
-
import { useScrollRestoration } from 'components/hooks/useScrollRestoration';
|
|
2
|
+
import PageCenter from '@cccsaurora/howler-ui/commons/components/pages/PageCenter';
|
|
3
|
+
import Markdown from '@cccsaurora/howler-ui/components/elements/display/Markdown';
|
|
4
|
+
import { HitLayout } from '@cccsaurora/howler-ui/components/elements/hit/HitLayout';
|
|
5
|
+
import DefaultOutline from '@cccsaurora/howler-ui/components/elements/hit/outlines/DefaultOutline';
|
|
6
|
+
import { useScrollRestoration } from '@cccsaurora/howler-ui/components/hooks/useScrollRestoration';
|
|
7
7
|
import dayjs from 'dayjs';
|
|
8
8
|
import type { FC } from 'react';
|
|
9
9
|
import { useMemo } from 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Search } from '@mui/icons-material';
|
|
2
|
-
import PageCenter from 'commons/components/pages/PageCenter';
|
|
3
|
-
import Markdown from 'components/elements/display/Markdown';
|
|
4
|
-
import { useScrollRestoration } from 'components/hooks/useScrollRestoration';
|
|
2
|
+
import PageCenter from '@cccsaurora/howler-ui/commons/components/pages/PageCenter';
|
|
3
|
+
import Markdown from '@cccsaurora/howler-ui/components/elements/display/Markdown';
|
|
4
|
+
import { useScrollRestoration } from '@cccsaurora/howler-ui/components/hooks/useScrollRestoration';
|
|
5
5
|
import type { FC } from 'react';
|
|
6
6
|
import { useMemo } from 'react';
|
|
7
7
|
import { useTranslation } from 'react-i18next';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AccountTree } from '@mui/icons-material';
|
|
2
2
|
import { IconButton, Paper, Popover, Skeleton, Stack, Tooltip } from '@mui/material';
|
|
3
|
-
import api from 'api';
|
|
4
|
-
import HowlerCard from 'components/elements/display/HowlerCard';
|
|
5
|
-
import HitBanner from 'components/elements/hit/HitBanner';
|
|
6
|
-
import { HitLayout } from 'components/elements/hit/HitLayout';
|
|
7
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
3
|
+
import api from '@cccsaurora/howler-ui/api';
|
|
4
|
+
import HowlerCard from '@cccsaurora/howler-ui/components/elements/display/HowlerCard';
|
|
5
|
+
import HitBanner from '@cccsaurora/howler-ui/components/elements/hit/HitBanner';
|
|
6
|
+
import { HitLayout } from '@cccsaurora/howler-ui/components/elements/hit/HitLayout';
|
|
7
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
8
8
|
import type { FC } from 'react';
|
|
9
9
|
import { useCallback, useEffect, useState } from 'react';
|
|
10
10
|
import { useTranslation } from 'react-i18next';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useScrollRestoration } from 'components/hooks/useScrollRestoration';
|
|
1
|
+
import { useScrollRestoration } from '@cccsaurora/howler-ui/components/hooks/useScrollRestoration';
|
|
2
2
|
import type { FC, PropsWithChildren } from 'react';
|
|
3
3
|
|
|
4
4
|
export const BundleScroller: FC<PropsWithChildren> = ({ children }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ArrowDownward, ArrowUpward, Cancel } from '@mui/icons-material';
|
|
2
2
|
import { Autocomplete, Chip, Grid, MenuItem, Select, Stack, TextField } from '@mui/material';
|
|
3
|
-
import { FieldContext } from 'components/app/providers/FieldProvider';
|
|
4
|
-
import { ParameterContext } from 'components/app/providers/ParameterProvider';
|
|
3
|
+
import { FieldContext } from '@cccsaurora/howler-ui/components/app/providers/FieldProvider';
|
|
4
|
+
import { ParameterContext } from '@cccsaurora/howler-ui/components/app/providers/ParameterProvider';
|
|
5
5
|
import { uniqBy } from 'lodash-es';
|
|
6
6
|
import type { FC } from 'react';
|
|
7
7
|
import { memo, useContext, useEffect, useMemo, useState } from 'react';
|
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
useMediaQuery,
|
|
14
14
|
useTheme
|
|
15
15
|
} from '@mui/material';
|
|
16
|
-
import { HitContext } from 'components/app/providers/HitProvider';
|
|
17
|
-
import HitSearchProvider, { HitSearchContext } from 'components/app/providers/HitSearchProvider';
|
|
18
|
-
import ParameterProvider, { ParameterContext } from 'components/app/providers/ParameterProvider';
|
|
19
|
-
import { ViewContext } from 'components/app/providers/ViewProvider';
|
|
20
|
-
import FlexOne from 'components/elements/addons/layout/FlexOne';
|
|
21
|
-
import FlexPort from 'components/elements/addons/layout/FlexPort';
|
|
22
|
-
import HitSummary from 'components/elements/hit/HitSummary';
|
|
23
|
-
import { useMyLocalStorageItem } from 'components/hooks/useMyLocalStorage';
|
|
24
|
-
import ErrorBoundary from 'components/routes/ErrorBoundary';
|
|
16
|
+
import { HitContext } from '@cccsaurora/howler-ui/components/app/providers/HitProvider';
|
|
17
|
+
import HitSearchProvider, { HitSearchContext } from '@cccsaurora/howler-ui/components/app/providers/HitSearchProvider';
|
|
18
|
+
import ParameterProvider, { ParameterContext } from '@cccsaurora/howler-ui/components/app/providers/ParameterProvider';
|
|
19
|
+
import { ViewContext } from '@cccsaurora/howler-ui/components/app/providers/ViewProvider';
|
|
20
|
+
import FlexOne from '@cccsaurora/howler-ui/components/elements/addons/layout/FlexOne';
|
|
21
|
+
import FlexPort from '@cccsaurora/howler-ui/components/elements/addons/layout/FlexPort';
|
|
22
|
+
import HitSummary from '@cccsaurora/howler-ui/components/elements/hit/HitSummary';
|
|
23
|
+
import { useMyLocalStorageItem } from '@cccsaurora/howler-ui/components/hooks/useMyLocalStorage';
|
|
24
|
+
import ErrorBoundary from '@cccsaurora/howler-ui/components/routes/ErrorBoundary';
|
|
25
25
|
import dayjs from 'dayjs';
|
|
26
26
|
import { has, isNull } from 'lodash-es';
|
|
27
27
|
import type { FC, ReactNode } from 'react';
|
|
@@ -29,7 +29,7 @@ import { memo, useCallback, useEffect, useMemo, useState } from 'react';
|
|
|
29
29
|
import { Trans, useTranslation } from 'react-i18next';
|
|
30
30
|
import { useLocation, useParams, useSearchParams } from 'react-router-dom';
|
|
31
31
|
import { useContextSelector } from 'use-context-selector';
|
|
32
|
-
import { StorageKey } from 'utils/constants';
|
|
32
|
+
import { StorageKey } from '@cccsaurora/howler-ui/utils/constants';
|
|
33
33
|
import InformationPane from './InformationPane';
|
|
34
34
|
import SearchPane from './SearchPane';
|
|
35
35
|
import HitGrid from './grid/HitGrid';
|
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
Terminal
|
|
10
10
|
} from '@mui/icons-material';
|
|
11
11
|
import { Box, Divider, Fade, ListItemIcon, ListItemText, Menu, MenuItem, MenuList, Paper } from '@mui/material';
|
|
12
|
-
import api from 'api';
|
|
13
|
-
import useMatchers from 'components/app/hooks/useMatchers';
|
|
14
|
-
import { ApiConfigContext } from 'components/app/providers/ApiConfigProvider';
|
|
15
|
-
import { HitContext } from 'components/app/providers/HitProvider';
|
|
16
|
-
import { TOP_ROW, VOTE_OPTIONS, type ActionButton } from 'components/elements/hit/actions/SharedComponents';
|
|
17
|
-
import useHitActions from 'components/hooks/useHitActions';
|
|
18
|
-
import useMyApi from 'components/hooks/useMyApi';
|
|
19
|
-
import useMyActionFunctions from 'components/routes/action/useMyActionFunctions';
|
|
12
|
+
import api from '@cccsaurora/howler-ui/api';
|
|
13
|
+
import useMatchers from '@cccsaurora/howler-ui/components/app/hooks/useMatchers';
|
|
14
|
+
import { ApiConfigContext } from '@cccsaurora/howler-ui/components/app/providers/ApiConfigProvider';
|
|
15
|
+
import { HitContext } from '@cccsaurora/howler-ui/components/app/providers/HitProvider';
|
|
16
|
+
import { TOP_ROW, VOTE_OPTIONS, type ActionButton } from '@cccsaurora/howler-ui/components/elements/hit/actions/SharedComponents';
|
|
17
|
+
import useHitActions from '@cccsaurora/howler-ui/components/hooks/useHitActions';
|
|
18
|
+
import useMyApi from '@cccsaurora/howler-ui/components/hooks/useMyApi';
|
|
19
|
+
import useMyActionFunctions from '@cccsaurora/howler-ui/components/routes/action/useMyActionFunctions';
|
|
20
20
|
import { capitalize, groupBy } from 'lodash-es';
|
|
21
|
-
import type { Action } from 'models/entities/generated/Action';
|
|
22
|
-
import type { Analytic } from 'models/entities/generated/Analytic';
|
|
23
|
-
import howlerPluginStore from 'plugins/store';
|
|
21
|
+
import type { Action } from '@cccsaurora/howler-ui/models/entities/generated/Action';
|
|
22
|
+
import type { Analytic } from '@cccsaurora/howler-ui/models/entities/generated/Analytic';
|
|
23
|
+
import howlerPluginStore from '@cccsaurora/howler-ui/plugins/store';
|
|
24
24
|
import type { FC, MouseEventHandler, PropsWithChildren } from 'react';
|
|
25
25
|
import { useCallback, useContext, useEffect, useMemo, useState } from 'react';
|
|
26
26
|
import { useTranslation } from 'react-i18next';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { useMonaco } from '@monaco-editor/react';
|
|
2
2
|
import { Clear, Height, History, Search } from '@mui/icons-material';
|
|
3
3
|
import { Badge, Box, Card, Skeleton, Tooltip, alpha, useTheme } from '@mui/material';
|
|
4
|
-
import { ParameterContext } from 'components/app/providers/ParameterProvider';
|
|
5
|
-
import TuiIconButton from 'components/elements/addons/buttons/CustomIconButton';
|
|
6
|
-
import QueryEditor from 'components/routes/advanced/QueryEditor';
|
|
4
|
+
import { ParameterContext } from '@cccsaurora/howler-ui/components/app/providers/ParameterProvider';
|
|
5
|
+
import TuiIconButton from '@cccsaurora/howler-ui/components/elements/addons/buttons/CustomIconButton';
|
|
6
|
+
import QueryEditor from '@cccsaurora/howler-ui/components/routes/advanced/QueryEditor';
|
|
7
7
|
import type { IDisposable, editor } from 'monaco-editor';
|
|
8
8
|
|
|
9
|
-
import { HitSearchContext } from 'components/app/providers/HitSearchProvider';
|
|
9
|
+
import { HitSearchContext } from '@cccsaurora/howler-ui/components/app/providers/HitSearchProvider';
|
|
10
10
|
import type { FC } from 'react';
|
|
11
11
|
import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
12
12
|
import { useTranslation } from 'react-i18next';
|
|
13
13
|
import { useLocation } from 'react-router-dom';
|
|
14
14
|
import { useContextSelector } from 'use-context-selector';
|
|
15
|
-
import { sanitizeMultilineLucene } from 'utils/stringUtils';
|
|
15
|
+
import { sanitizeMultilineLucene } from '@cccsaurora/howler-ui/utils/stringUtils';
|
|
16
16
|
|
|
17
17
|
const DEFAULT_MULTILINE_HEIGHT = 250;
|
|
18
18
|
const PROMPT_CONTEXT =
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import { Clear, Code, Comment, DataObject, History, LinkSharp, OpenInNew, QueryStats } from '@mui/icons-material';
|
|
2
2
|
import { Badge, Box, Divider, IconButton, Skeleton, Stack, Tab, Tabs, Tooltip, useTheme } from '@mui/material';
|
|
3
|
-
import TuiIconButton from 'components/elements/addons/buttons/CustomIconButton';
|
|
3
|
+
import TuiIconButton from '@cccsaurora/howler-ui/components/elements/addons/buttons/CustomIconButton';
|
|
4
4
|
|
|
5
5
|
import { Icon } from '@iconify/react/dist/iconify.js';
|
|
6
|
-
import useMatchers from 'components/app/hooks/useMatchers';
|
|
7
|
-
import { HitContext } from 'components/app/providers/HitProvider';
|
|
8
|
-
import { ParameterContext } from 'components/app/providers/ParameterProvider';
|
|
9
|
-
import { SocketContext } from 'components/app/providers/SocketProvider';
|
|
10
|
-
import FlexOne from 'components/elements/addons/layout/FlexOne';
|
|
11
|
-
import VSBox from 'components/elements/addons/layout/vsbox/VSBox';
|
|
12
|
-
import VSBoxContent from 'components/elements/addons/layout/vsbox/VSBoxContent';
|
|
13
|
-
import VSBoxHeader from 'components/elements/addons/layout/vsbox/VSBoxHeader';
|
|
14
|
-
import Phrase from 'components/elements/addons/search/phrase/Phrase';
|
|
15
|
-
import BundleButton from 'components/elements/display/icons/BundleButton';
|
|
16
|
-
import SocketBadge from 'components/elements/display/icons/SocketBadge';
|
|
17
|
-
import JSONViewer from 'components/elements/display/json/JSONViewer';
|
|
18
|
-
import HitActions from 'components/elements/hit/HitActions';
|
|
19
|
-
import HitBanner from 'components/elements/hit/HitBanner';
|
|
20
|
-
import HitComments from 'components/elements/hit/HitComments';
|
|
21
|
-
import HitDetails from 'components/elements/hit/HitDetails';
|
|
22
|
-
import HitLabels from 'components/elements/hit/HitLabels';
|
|
23
|
-
import { HitLayout } from 'components/elements/hit/HitLayout';
|
|
24
|
-
import HitNotebooks from 'components/elements/hit/HitNotebooks';
|
|
25
|
-
import HitOutline from 'components/elements/hit/HitOutline';
|
|
26
|
-
import HitOverview from 'components/elements/hit/HitOverview';
|
|
27
|
-
import HitRelated from 'components/elements/hit/HitRelated';
|
|
28
|
-
import HitSummary from 'components/elements/hit/HitSummary';
|
|
29
|
-
import HitWorklog from 'components/elements/hit/HitWorklog';
|
|
30
|
-
import PivotLink from 'components/elements/hit/related/PivotLink';
|
|
31
|
-
import RelatedLink from 'components/elements/hit/related/RelatedLink';
|
|
32
|
-
import useMyUserList from 'components/hooks/useMyUserList';
|
|
33
|
-
import ErrorBoundary from 'components/routes/ErrorBoundary';
|
|
6
|
+
import useMatchers from '@cccsaurora/howler-ui/components/app/hooks/useMatchers';
|
|
7
|
+
import { HitContext } from '@cccsaurora/howler-ui/components/app/providers/HitProvider';
|
|
8
|
+
import { ParameterContext } from '@cccsaurora/howler-ui/components/app/providers/ParameterProvider';
|
|
9
|
+
import { SocketContext } from '@cccsaurora/howler-ui/components/app/providers/SocketProvider';
|
|
10
|
+
import FlexOne from '@cccsaurora/howler-ui/components/elements/addons/layout/FlexOne';
|
|
11
|
+
import VSBox from '@cccsaurora/howler-ui/components/elements/addons/layout/vsbox/VSBox';
|
|
12
|
+
import VSBoxContent from '@cccsaurora/howler-ui/components/elements/addons/layout/vsbox/VSBoxContent';
|
|
13
|
+
import VSBoxHeader from '@cccsaurora/howler-ui/components/elements/addons/layout/vsbox/VSBoxHeader';
|
|
14
|
+
import Phrase from '@cccsaurora/howler-ui/components/elements/addons/search/phrase/Phrase';
|
|
15
|
+
import BundleButton from '@cccsaurora/howler-ui/components/elements/display/icons/BundleButton';
|
|
16
|
+
import SocketBadge from '@cccsaurora/howler-ui/components/elements/display/icons/SocketBadge';
|
|
17
|
+
import JSONViewer from '@cccsaurora/howler-ui/components/elements/display/json/JSONViewer';
|
|
18
|
+
import HitActions from '@cccsaurora/howler-ui/components/elements/hit/HitActions';
|
|
19
|
+
import HitBanner from '@cccsaurora/howler-ui/components/elements/hit/HitBanner';
|
|
20
|
+
import HitComments from '@cccsaurora/howler-ui/components/elements/hit/HitComments';
|
|
21
|
+
import HitDetails from '@cccsaurora/howler-ui/components/elements/hit/HitDetails';
|
|
22
|
+
import HitLabels from '@cccsaurora/howler-ui/components/elements/hit/HitLabels';
|
|
23
|
+
import { HitLayout } from '@cccsaurora/howler-ui/components/elements/hit/HitLayout';
|
|
24
|
+
import HitNotebooks from '@cccsaurora/howler-ui/components/elements/hit/HitNotebooks';
|
|
25
|
+
import HitOutline from '@cccsaurora/howler-ui/components/elements/hit/HitOutline';
|
|
26
|
+
import HitOverview from '@cccsaurora/howler-ui/components/elements/hit/HitOverview';
|
|
27
|
+
import HitRelated from '@cccsaurora/howler-ui/components/elements/hit/HitRelated';
|
|
28
|
+
import HitSummary from '@cccsaurora/howler-ui/components/elements/hit/HitSummary';
|
|
29
|
+
import HitWorklog from '@cccsaurora/howler-ui/components/elements/hit/HitWorklog';
|
|
30
|
+
import PivotLink from '@cccsaurora/howler-ui/components/elements/hit/related/PivotLink';
|
|
31
|
+
import RelatedLink from '@cccsaurora/howler-ui/components/elements/hit/related/RelatedLink';
|
|
32
|
+
import useMyUserList from '@cccsaurora/howler-ui/components/hooks/useMyUserList';
|
|
33
|
+
import ErrorBoundary from '@cccsaurora/howler-ui/components/routes/ErrorBoundary';
|
|
34
34
|
import { uniqBy } from 'lodash-es';
|
|
35
|
-
import type { Analytic } from 'models/entities/generated/Analytic';
|
|
36
|
-
import type { Dossier } from 'models/entities/generated/Dossier';
|
|
37
|
-
import howlerPluginStore from 'plugins/store';
|
|
35
|
+
import type { Analytic } from '@cccsaurora/howler-ui/models/entities/generated/Analytic';
|
|
36
|
+
import type { Dossier } from '@cccsaurora/howler-ui/models/entities/generated/Dossier';
|
|
37
|
+
import howlerPluginStore from '@cccsaurora/howler-ui/plugins/store';
|
|
38
38
|
import type { FC } from 'react';
|
|
39
39
|
import { useContext, useEffect, useMemo, useState } from 'react';
|
|
40
40
|
import { useTranslation } from 'react-i18next';
|
|
41
41
|
import { usePluginStore } from 'react-pluggable';
|
|
42
42
|
import { useLocation } from 'react-router-dom';
|
|
43
43
|
import { useContextSelector } from 'use-context-selector';
|
|
44
|
-
import { getUserList } from 'utils/hitFunctions';
|
|
45
|
-
import { validateRegex } from 'utils/stringUtils';
|
|
46
|
-
import { tryParse } from 'utils/utils';
|
|
44
|
+
import { getUserList } from '@cccsaurora/howler-ui/utils/hitFunctions';
|
|
45
|
+
import { validateRegex } from '@cccsaurora/howler-ui/utils/stringUtils';
|
|
46
|
+
import { tryParse } from '@cccsaurora/howler-ui/utils/utils';
|
|
47
47
|
import LeadRenderer from '../view/LeadRenderer';
|
|
48
48
|
|
|
49
49
|
const InformationPane: FC<{ onClose?: () => void }> = ({ onClose }) => {
|
|
@@ -12,32 +12,32 @@ import {
|
|
|
12
12
|
useTheme
|
|
13
13
|
} from '@mui/material';
|
|
14
14
|
import { grey } from '@mui/material/colors';
|
|
15
|
-
import AppListEmpty from 'commons/components/display/AppListEmpty';
|
|
16
|
-
import PageCenter from 'commons/components/pages/PageCenter';
|
|
17
|
-
import { HitContext } from 'components/app/providers/HitProvider';
|
|
18
|
-
import { HitSearchContext } from 'components/app/providers/HitSearchProvider';
|
|
19
|
-
import { ParameterContext } from 'components/app/providers/ParameterProvider';
|
|
20
|
-
import { ViewContext } from 'components/app/providers/ViewProvider';
|
|
21
|
-
import FlexOne from 'components/elements/addons/layout/FlexOne';
|
|
22
|
-
import FlexPort from 'components/elements/addons/layout/FlexPort';
|
|
23
|
-
import VSBox from 'components/elements/addons/layout/vsbox/VSBox';
|
|
24
|
-
import VSBoxContent from 'components/elements/addons/layout/vsbox/VSBoxContent';
|
|
25
|
-
import VSBoxHeader from 'components/elements/addons/layout/vsbox/VSBoxHeader';
|
|
26
|
-
import SearchPagination from 'components/elements/addons/search/SearchPagination';
|
|
27
|
-
import SearchTotal from 'components/elements/addons/search/SearchTotal';
|
|
28
|
-
import HowlerCard from 'components/elements/display/HowlerCard';
|
|
29
|
-
import HitBanner from 'components/elements/hit/HitBanner';
|
|
30
|
-
import HitCard from 'components/elements/hit/HitCard';
|
|
31
|
-
import { HitLayout } from 'components/elements/hit/HitLayout';
|
|
32
|
-
import useHitSelection from 'components/hooks/useHitSelection';
|
|
33
|
-
import { useMyLocalStorageItem } from 'components/hooks/useMyLocalStorage';
|
|
34
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
15
|
+
import AppListEmpty from '@cccsaurora/howler-ui/commons/components/display/AppListEmpty';
|
|
16
|
+
import PageCenter from '@cccsaurora/howler-ui/commons/components/pages/PageCenter';
|
|
17
|
+
import { HitContext } from '@cccsaurora/howler-ui/components/app/providers/HitProvider';
|
|
18
|
+
import { HitSearchContext } from '@cccsaurora/howler-ui/components/app/providers/HitSearchProvider';
|
|
19
|
+
import { ParameterContext } from '@cccsaurora/howler-ui/components/app/providers/ParameterProvider';
|
|
20
|
+
import { ViewContext } from '@cccsaurora/howler-ui/components/app/providers/ViewProvider';
|
|
21
|
+
import FlexOne from '@cccsaurora/howler-ui/components/elements/addons/layout/FlexOne';
|
|
22
|
+
import FlexPort from '@cccsaurora/howler-ui/components/elements/addons/layout/FlexPort';
|
|
23
|
+
import VSBox from '@cccsaurora/howler-ui/components/elements/addons/layout/vsbox/VSBox';
|
|
24
|
+
import VSBoxContent from '@cccsaurora/howler-ui/components/elements/addons/layout/vsbox/VSBoxContent';
|
|
25
|
+
import VSBoxHeader from '@cccsaurora/howler-ui/components/elements/addons/layout/vsbox/VSBoxHeader';
|
|
26
|
+
import SearchPagination from '@cccsaurora/howler-ui/components/elements/addons/search/SearchPagination';
|
|
27
|
+
import SearchTotal from '@cccsaurora/howler-ui/components/elements/addons/search/SearchTotal';
|
|
28
|
+
import HowlerCard from '@cccsaurora/howler-ui/components/elements/display/HowlerCard';
|
|
29
|
+
import HitBanner from '@cccsaurora/howler-ui/components/elements/hit/HitBanner';
|
|
30
|
+
import HitCard from '@cccsaurora/howler-ui/components/elements/hit/HitCard';
|
|
31
|
+
import { HitLayout } from '@cccsaurora/howler-ui/components/elements/hit/HitLayout';
|
|
32
|
+
import useHitSelection from '@cccsaurora/howler-ui/components/hooks/useHitSelection';
|
|
33
|
+
import { useMyLocalStorageItem } from '@cccsaurora/howler-ui/components/hooks/useMyLocalStorage';
|
|
34
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
35
35
|
import type { FC } from 'react';
|
|
36
36
|
import React, { memo, useCallback, useEffect } from 'react';
|
|
37
37
|
import { useTranslation } from 'react-i18next';
|
|
38
38
|
import { Link, useLocation, useNavigate, useParams } from 'react-router-dom';
|
|
39
39
|
import { useContextSelector } from 'use-context-selector';
|
|
40
|
-
import { StorageKey } from 'utils/constants';
|
|
40
|
+
import { StorageKey } from '@cccsaurora/howler-ui/utils/constants';
|
|
41
41
|
import BundleParentMenu from './BundleParentMenu';
|
|
42
42
|
import { BundleScroller } from './BundleScroller';
|
|
43
43
|
import HitContextMenu from './HitContextMenu';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Close, Edit, SavedSearch } from '@mui/icons-material';
|
|
2
2
|
import { Alert, IconButton, Stack, Tooltip, Typography } from '@mui/material';
|
|
3
|
-
import { HitSearchContext } from 'components/app/providers/HitSearchProvider';
|
|
4
|
-
import { ParameterContext } from 'components/app/providers/ParameterProvider';
|
|
5
|
-
import { ViewContext } from 'components/app/providers/ViewProvider';
|
|
3
|
+
import { HitSearchContext } from '@cccsaurora/howler-ui/components/app/providers/HitSearchProvider';
|
|
4
|
+
import { ParameterContext } from '@cccsaurora/howler-ui/components/app/providers/ParameterProvider';
|
|
5
|
+
import { ViewContext } from '@cccsaurora/howler-ui/components/app/providers/ViewProvider';
|
|
6
6
|
import { has } from 'lodash-es';
|
|
7
7
|
import { memo, useMemo, type FC } from 'react';
|
|
8
8
|
import { useTranslation } from 'react-i18next';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Add, Check } from '@mui/icons-material';
|
|
2
2
|
import { Autocomplete, Chip, Divider, Grid, IconButton, Popover, Stack, TextField } from '@mui/material';
|
|
3
|
-
import useMatchers from 'components/app/hooks/useMatchers';
|
|
4
|
-
import { FieldContext } from 'components/app/providers/FieldProvider';
|
|
5
|
-
import { HitSearchContext } from 'components/app/providers/HitSearchProvider';
|
|
3
|
+
import useMatchers from '@cccsaurora/howler-ui/components/app/hooks/useMatchers';
|
|
4
|
+
import { FieldContext } from '@cccsaurora/howler-ui/components/app/providers/FieldProvider';
|
|
5
|
+
import { HitSearchContext } from '@cccsaurora/howler-ui/components/app/providers/HitSearchProvider';
|
|
6
6
|
import { has, sortBy, uniq } from 'lodash-es';
|
|
7
7
|
import { memo, useContext, useEffect, useMemo, useState, type FC } from 'react';
|
|
8
8
|
import { useTranslation } from 'react-i18next';
|
|
@@ -2,8 +2,8 @@ import { useSortable } from '@dnd-kit/sortable';
|
|
|
2
2
|
import { CSS } from '@dnd-kit/utilities';
|
|
3
3
|
import { DragIndicator, Remove } from '@mui/icons-material';
|
|
4
4
|
import { Box, IconButton, Stack, TableCell, Tooltip, useTheme } from '@mui/material';
|
|
5
|
-
import { ApiConfigContext } from 'components/app/providers/ApiConfigProvider';
|
|
6
|
-
import FlexOne from 'components/elements/addons/layout/FlexOne';
|
|
5
|
+
import { ApiConfigContext } from '@cccsaurora/howler-ui/components/app/providers/ApiConfigProvider';
|
|
6
|
+
import FlexOne from '@cccsaurora/howler-ui/components/elements/addons/layout/FlexOne';
|
|
7
7
|
import { useContext, type FC, type SetStateAction } from 'react';
|
|
8
8
|
|
|
9
9
|
const ColumnHeader: FC<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable react/no-array-index-key */
|
|
2
2
|
import { Stack, TableCell, type SxProps } from '@mui/material';
|
|
3
|
-
import PluginTypography from 'components/elements/PluginTypography';
|
|
3
|
+
import PluginTypography from '@cccsaurora/howler-ui/components/elements/PluginTypography';
|
|
4
4
|
import { memo, type FC } from 'react';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
|
|
@@ -24,21 +24,21 @@ import {
|
|
|
24
24
|
Typography,
|
|
25
25
|
useTheme
|
|
26
26
|
} from '@mui/material';
|
|
27
|
-
import useMatchers from 'components/app/hooks/useMatchers';
|
|
28
|
-
import { HitContext } from 'components/app/providers/HitProvider';
|
|
29
|
-
import { HitSearchContext } from 'components/app/providers/HitSearchProvider';
|
|
30
|
-
import { ParameterContext } from 'components/app/providers/ParameterProvider';
|
|
31
|
-
import { ViewContext } from 'components/app/providers/ViewProvider';
|
|
32
|
-
import FlexOne from 'components/elements/addons/layout/FlexOne';
|
|
33
|
-
import SearchTotal from 'components/elements/addons/search/SearchTotal';
|
|
34
|
-
import DevelopmentBanner from 'components/elements/display/features/DevelopmentBanner';
|
|
35
|
-
import DevelopmentIcon from 'components/elements/display/features/DevelopmentIcon';
|
|
36
|
-
import useHitSelection from 'components/hooks/useHitSelection';
|
|
37
|
-
import { useMyLocalStorageItem } from 'components/hooks/useMyLocalStorage';
|
|
27
|
+
import useMatchers from '@cccsaurora/howler-ui/components/app/hooks/useMatchers';
|
|
28
|
+
import { HitContext } from '@cccsaurora/howler-ui/components/app/providers/HitProvider';
|
|
29
|
+
import { HitSearchContext } from '@cccsaurora/howler-ui/components/app/providers/HitSearchProvider';
|
|
30
|
+
import { ParameterContext } from '@cccsaurora/howler-ui/components/app/providers/ParameterProvider';
|
|
31
|
+
import { ViewContext } from '@cccsaurora/howler-ui/components/app/providers/ViewProvider';
|
|
32
|
+
import FlexOne from '@cccsaurora/howler-ui/components/elements/addons/layout/FlexOne';
|
|
33
|
+
import SearchTotal from '@cccsaurora/howler-ui/components/elements/addons/search/SearchTotal';
|
|
34
|
+
import DevelopmentBanner from '@cccsaurora/howler-ui/components/elements/display/features/DevelopmentBanner';
|
|
35
|
+
import DevelopmentIcon from '@cccsaurora/howler-ui/components/elements/display/features/DevelopmentIcon';
|
|
36
|
+
import useHitSelection from '@cccsaurora/howler-ui/components/hooks/useHitSelection';
|
|
37
|
+
import { useMyLocalStorageItem } from '@cccsaurora/howler-ui/components/hooks/useMyLocalStorage';
|
|
38
38
|
import { useCallback, useEffect, useMemo, useRef, useState, type FC } from 'react';
|
|
39
39
|
import { useTranslation } from 'react-i18next';
|
|
40
40
|
import { useContextSelector } from 'use-context-selector';
|
|
41
|
-
import { StorageKey } from 'utils/constants';
|
|
41
|
+
import { StorageKey } from '@cccsaurora/howler-ui/utils/constants';
|
|
42
42
|
import HitContextMenu from '../HitContextMenu';
|
|
43
43
|
import HitQuery from '../HitQuery';
|
|
44
44
|
import QuerySettings from '../shared/QuerySettings';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { KeyboardArrowUp } from '@mui/icons-material';
|
|
2
2
|
import { Box, Collapse, IconButton, lighten, Stack, TableCell, TableRow, Typography, useTheme } from '@mui/material';
|
|
3
|
-
import { HitContext } from 'components/app/providers/HitProvider';
|
|
4
|
-
import { ParameterContext } from 'components/app/providers/ParameterProvider';
|
|
5
|
-
import Assigned from 'components/elements/hit/elements/Assigned';
|
|
6
|
-
import EscalationChip from 'components/elements/hit/elements/EscalationChip';
|
|
7
|
-
import HitCard from 'components/elements/hit/HitCard';
|
|
8
|
-
import { HitLayout } from 'components/elements/hit/HitLayout';
|
|
3
|
+
import { HitContext } from '@cccsaurora/howler-ui/components/app/providers/HitProvider';
|
|
4
|
+
import { ParameterContext } from '@cccsaurora/howler-ui/components/app/providers/ParameterProvider';
|
|
5
|
+
import Assigned from '@cccsaurora/howler-ui/components/elements/hit/elements/Assigned';
|
|
6
|
+
import EscalationChip from '@cccsaurora/howler-ui/components/elements/hit/elements/EscalationChip';
|
|
7
|
+
import HitCard from '@cccsaurora/howler-ui/components/elements/hit/HitCard';
|
|
8
|
+
import { HitLayout } from '@cccsaurora/howler-ui/components/elements/hit/HitLayout';
|
|
9
9
|
import { get } from 'lodash-es';
|
|
10
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
10
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
11
11
|
import { memo, useState, type FC } from 'react';
|
|
12
12
|
import { useTranslation } from 'react-i18next';
|
|
13
13
|
import { Link } from 'react-router-dom';
|
|
@@ -2,7 +2,7 @@ import { Stack } from '@mui/material';
|
|
|
2
2
|
import { LocalizationProvider } from '@mui/x-date-pickers';
|
|
3
3
|
import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';
|
|
4
4
|
import { DateTimePicker } from '@mui/x-date-pickers/DateTimePicker';
|
|
5
|
-
import { ParameterContext } from 'components/app/providers/ParameterProvider';
|
|
5
|
+
import { ParameterContext } from '@cccsaurora/howler-ui/components/app/providers/ParameterProvider';
|
|
6
6
|
import dayjs from 'dayjs';
|
|
7
7
|
import { memo, useEffect, type FC } from 'react';
|
|
8
8
|
import { useTranslation } from 'react-i18next';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { UseAutocompleteProps } from '@mui/material';
|
|
2
2
|
import { Autocomplete, Stack, TextField } from '@mui/material';
|
|
3
|
-
import api from 'api';
|
|
4
|
-
import { ApiConfigContext } from 'components/app/providers/ApiConfigProvider';
|
|
5
|
-
import { ParameterContext } from 'components/app/providers/ParameterProvider';
|
|
3
|
+
import api from '@cccsaurora/howler-ui/api';
|
|
4
|
+
import { ApiConfigContext } from '@cccsaurora/howler-ui/components/app/providers/ApiConfigProvider';
|
|
5
|
+
import { ParameterContext } from '@cccsaurora/howler-ui/components/app/providers/ParameterProvider';
|
|
6
6
|
import type { FC } from 'react';
|
|
7
7
|
import { memo, useCallback, useContext, useEffect, useState } from 'react';
|
|
8
8
|
import { useTranslation } from 'react-i18next';
|
|
9
9
|
import { useContextSelector } from 'use-context-selector';
|
|
10
|
-
import { sanitizeLuceneQuery } from 'utils/stringUtils';
|
|
10
|
+
import { sanitizeLuceneQuery } from '@cccsaurora/howler-ui/utils/stringUtils';
|
|
11
11
|
|
|
12
12
|
const ACCEPTED_LOOKUPS = [
|
|
13
13
|
'howler.assessment',
|