@cccsaurora/howler-ui 2.12.0-dev.32 → 2.12.0-dev.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +120 -49
- 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
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
2
|
-
import type { Template } from 'models/entities/generated/Template';
|
|
1
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
2
|
+
import type { Template } from '@cccsaurora/howler-ui/models/entities/generated/Template';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { HitLayout } from '../HitLayout';
|
|
5
5
|
declare const _default: React.NamedExoticComponent<{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Info, Language, Lock, Person } from '@mui/icons-material';
|
|
3
3
|
import { Box, IconButton, Tooltip, Typography } from '@mui/material';
|
|
4
|
-
import { ApiConfigContext } from 'components/app/providers/ApiConfigProvider';
|
|
5
|
-
import PluginTypography from 'components/elements/PluginTypography';
|
|
4
|
+
import { ApiConfigContext } from '@cccsaurora/howler-ui/components/app/providers/ApiConfigProvider';
|
|
5
|
+
import PluginTypography from '@cccsaurora/howler-ui/components/elements/PluginTypography';
|
|
6
6
|
import { get, isObject } from 'lodash-es';
|
|
7
7
|
import React, { memo, useCallback, useContext } from 'react';
|
|
8
8
|
import { useTranslation } from 'react-i18next';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
2
|
-
import type { Pivot } from 'models/entities/generated/Pivot';
|
|
1
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
2
|
+
import type { Pivot } from '@cccsaurora/howler-ui/models/entities/generated/Pivot';
|
|
3
3
|
import { type FC } from 'react';
|
|
4
4
|
export interface PivotLinkProps {
|
|
5
5
|
pivot: Pivot;
|
|
@@ -6,7 +6,7 @@ import { isEmpty } from 'lodash-es';
|
|
|
6
6
|
import { useMemo } from 'react';
|
|
7
7
|
import { useTranslation } from 'react-i18next';
|
|
8
8
|
import { usePluginStore } from 'react-pluggable';
|
|
9
|
-
import { flattenDeep } from 'utils/utils';
|
|
9
|
+
import { flattenDeep } from '@cccsaurora/howler-ui/utils/utils';
|
|
10
10
|
import RelatedLink from './RelatedLink';
|
|
11
11
|
const PivotLink = ({ pivot, hit, compact = false }) => {
|
|
12
12
|
const { i18n } = useTranslation();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Avatar, Stack, Typography } from '@mui/material';
|
|
3
|
-
import { useAppTheme } from 'commons/components/app/hooks';
|
|
4
|
-
import { ApiConfigContext } from 'components/app/providers/ApiConfigProvider';
|
|
5
|
-
import HowlerCard from 'components/elements/display/HowlerCard';
|
|
3
|
+
import { useAppTheme } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
4
|
+
import { ApiConfigContext } from '@cccsaurora/howler-ui/components/app/providers/ApiConfigProvider';
|
|
5
|
+
import HowlerCard from '@cccsaurora/howler-ui/components/elements/display/HowlerCard';
|
|
6
6
|
import React, { useContext, useMemo } from 'react';
|
|
7
7
|
import { Link } from 'react-router-dom';
|
|
8
8
|
const RelatedLink = ({ icon, title, href, compact = false, children }) => {
|
|
@@ -3,7 +3,7 @@ import { ArrowDownward, ArrowUpward, Language, Lock, Person } from '@mui/icons-m
|
|
|
3
3
|
import { Chip, Stack, Tooltip, Typography } from '@mui/material';
|
|
4
4
|
import { useMemo } from 'react';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
|
-
import { convertLuceneToDate } from 'utils/utils';
|
|
6
|
+
import { convertLuceneToDate } from '@cccsaurora/howler-ui/utils/utils';
|
|
7
7
|
export const ViewTitle = ({ title, type, query, sort, span }) => {
|
|
8
8
|
const { t } = useTranslation();
|
|
9
9
|
const spanLabel = useMemo(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ActionButton } from 'components/elements/hit/actions/SharedComponents';
|
|
2
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
1
|
+
import type { ActionButton } from '@cccsaurora/howler-ui/components/elements/hit/actions/SharedComponents';
|
|
2
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
3
3
|
export declare const MANAGE_OPTIONS: Partial<ActionButton>[];
|
|
4
4
|
declare const useHitActions: (_hits: Hit | Hit[]) => {
|
|
5
5
|
availableTransitions: ActionButton[];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import api from 'api';
|
|
3
|
-
import { useAppUser } from 'commons/components/app/hooks';
|
|
4
|
-
import AssignUserDrawer from 'components/app/drawers/AssignUserDrawer';
|
|
5
|
-
import { ApiConfigContext } from 'components/app/providers/ApiConfigProvider';
|
|
6
|
-
import { AppDrawerContext } from 'components/app/providers/AppDrawerProvider';
|
|
7
|
-
import { HitContext } from 'components/app/providers/HitProvider';
|
|
8
|
-
import { ModalContext } from 'components/app/providers/ModalProvider';
|
|
9
|
-
import RationaleModal from 'components/elements/display/modals/RationaleModal';
|
|
2
|
+
import api from '@cccsaurora/howler-ui/api';
|
|
3
|
+
import { useAppUser } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
4
|
+
import AssignUserDrawer from '@cccsaurora/howler-ui/components/app/drawers/AssignUserDrawer';
|
|
5
|
+
import { ApiConfigContext } from '@cccsaurora/howler-ui/components/app/providers/ApiConfigProvider';
|
|
6
|
+
import { AppDrawerContext } from '@cccsaurora/howler-ui/components/app/providers/AppDrawerProvider';
|
|
7
|
+
import { HitContext } from '@cccsaurora/howler-ui/components/app/providers/HitProvider';
|
|
8
|
+
import { ModalContext } from '@cccsaurora/howler-ui/components/app/providers/ModalProvider';
|
|
9
|
+
import RationaleModal from '@cccsaurora/howler-ui/components/elements/display/modals/RationaleModal';
|
|
10
10
|
import { useCallback, useContext, useMemo, useState } from 'react';
|
|
11
11
|
import { useTranslation } from 'react-i18next';
|
|
12
12
|
import { useContextSelector } from 'use-context-selector';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HowlerSearchResponse } from 'api/search';
|
|
2
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
1
|
+
import type { HowlerSearchResponse } from '@cccsaurora/howler-ui/api/search';
|
|
2
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
3
3
|
import type React from 'react';
|
|
4
4
|
declare const useHitSelection: (response?: HowlerSearchResponse<Hit>) => {
|
|
5
5
|
lastSelected: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useAppBreadcrumbs } from 'commons/components/app/hooks';
|
|
2
|
-
import { HitContext } from 'components/app/providers/HitProvider';
|
|
3
|
-
import { ParameterContext } from 'components/app/providers/ParameterProvider';
|
|
4
|
-
import useMySitemap from 'components/hooks/useMySitemap';
|
|
1
|
+
import { useAppBreadcrumbs } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
2
|
+
import { HitContext } from '@cccsaurora/howler-ui/components/app/providers/HitProvider';
|
|
3
|
+
import { ParameterContext } from '@cccsaurora/howler-ui/components/app/providers/ParameterProvider';
|
|
4
|
+
import useMySitemap from '@cccsaurora/howler-ui/components/hooks/useMySitemap';
|
|
5
5
|
import { useCallback, useState } from 'react';
|
|
6
6
|
import { useNavigate } from 'react-router-dom';
|
|
7
7
|
import { useContextSelector } from 'use-context-selector';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type LocalStorageContextType } from 'components/app/providers/LocalStorageProvider';
|
|
2
|
-
import type { StorageKey } from 'utils/constants';
|
|
1
|
+
import { type LocalStorageContextType } from '@cccsaurora/howler-ui/components/app/providers/LocalStorageProvider';
|
|
2
|
+
import type { StorageKey } from '@cccsaurora/howler-ui/utils/constants';
|
|
3
3
|
declare const useMyLocalStorage: () => {
|
|
4
4
|
get: <T>(key: string) => T;
|
|
5
5
|
set: (key: string, value: any) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import useLocalStorage from 'commons/components/utils/hooks/useLocalStorage';
|
|
2
|
-
import useLocalStorageItem from 'commons/components/utils/hooks/useLocalStorageItem';
|
|
3
|
-
import { LocalStorageContext } from 'components/app/providers/LocalStorageProvider';
|
|
1
|
+
import useLocalStorage from '@cccsaurora/howler-ui/commons/components/utils/hooks/useLocalStorage';
|
|
2
|
+
import useLocalStorageItem from '@cccsaurora/howler-ui/commons/components/utils/hooks/useLocalStorageItem';
|
|
3
|
+
import { LocalStorageContext } from '@cccsaurora/howler-ui/components/app/providers/LocalStorageProvider';
|
|
4
4
|
import { useContext } from 'react';
|
|
5
|
-
import { MY_LOCAL_STORAGE_PREFIX } from 'utils/constants';
|
|
5
|
+
import { MY_LOCAL_STORAGE_PREFIX } from '@cccsaurora/howler-ui/utils/constants';
|
|
6
6
|
const useMyLocalStorage = () => {
|
|
7
7
|
return useLocalStorage(MY_LOCAL_STORAGE_PREFIX);
|
|
8
8
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { AppPreferenceConfigs } from 'commons/components/app/AppConfigs';
|
|
1
|
+
import type { AppPreferenceConfigs } from '@cccsaurora/howler-ui/commons/components/app/AppConfigs';
|
|
2
2
|
declare const useMyPreferences: () => AppPreferenceConfigs;
|
|
3
3
|
export default useMyPreferences;
|
|
@@ -2,9 +2,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { Api, Article, Book, Code, Dashboard, Description, Edit, FormatListBulleted, Help, HelpCenter, Key, ManageSearch, QueryStats, SavedSearch, Search, SettingsSuggest, Shield, Storage, SupervisorAccount, Terminal, Topic } from '@mui/icons-material';
|
|
3
3
|
import ExitToAppIcon from '@mui/icons-material/ExitToApp';
|
|
4
4
|
import SettingsIcon from '@mui/icons-material/Settings';
|
|
5
|
-
import { AppBrand } from 'branding/AppBrand';
|
|
6
|
-
import Classification from 'components/elements/display/Classification';
|
|
7
|
-
import DocumentationButton from 'components/elements/display/DocumentationButton';
|
|
5
|
+
import { AppBrand } from '@cccsaurora/howler-ui/branding/AppBrand';
|
|
6
|
+
import Classification from '@cccsaurora/howler-ui/components/elements/display/Classification';
|
|
7
|
+
import DocumentationButton from '@cccsaurora/howler-ui/components/elements/display/DocumentationButton';
|
|
8
8
|
import { useMemo } from 'react';
|
|
9
9
|
// This is your App Name that will be displayed in the left drawer and the top navbar
|
|
10
10
|
const APP_NAME = 'howler';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AppSearchService } from 'commons/components/app/AppSearchService';
|
|
2
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
1
|
+
import type { AppSearchService } from '@cccsaurora/howler-ui/commons/components/app/AppSearchService';
|
|
2
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
3
3
|
declare const useMySearch: () => AppSearchService<Hit>;
|
|
4
4
|
export default useMySearch;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Alert, Box, Typography } from '@mui/material';
|
|
3
|
-
import api from 'api';
|
|
4
|
-
import HitQuickSearch from 'components/elements/hit/HitQuickSearch';
|
|
3
|
+
import api from '@cccsaurora/howler-ui/api';
|
|
4
|
+
import HitQuickSearch from '@cccsaurora/howler-ui/components/elements/hit/HitQuickSearch';
|
|
5
5
|
import { useMemo } from 'react';
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
7
7
|
import { Link, useNavigate } from 'react-router-dom';
|
|
8
|
-
import { StorageKey } from 'utils/constants';
|
|
9
|
-
import { sanitizeLuceneQuery } from 'utils/stringUtils';
|
|
8
|
+
import { StorageKey } from '@cccsaurora/howler-ui/utils/constants';
|
|
9
|
+
import { sanitizeLuceneQuery } from '@cccsaurora/howler-ui/utils/stringUtils';
|
|
10
10
|
import { useMyLocalStorageItem } from './useMyLocalStorage';
|
|
11
11
|
const useMySearch = () => {
|
|
12
12
|
const navigate = useNavigate();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AppUserService } from 'commons/components/app/AppUserService';
|
|
2
|
-
import type { HowlerUser } from 'models/entities/HowlerUser';
|
|
1
|
+
import type { AppUserService } from '@cccsaurora/howler-ui/commons/components/app/AppUserService';
|
|
2
|
+
import type { HowlerUser } from '@cccsaurora/howler-ui/models/entities/HowlerUser';
|
|
3
3
|
declare const useMyUser: () => AppUserService<HowlerUser>;
|
|
4
4
|
export default useMyUser;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import api from 'api';
|
|
3
|
-
import { useAppUser } from 'commons/components/app/hooks';
|
|
4
|
-
import ApiKeyDrawer from 'components/app/drawers/ApiKeyDrawer';
|
|
5
|
-
import ViewGroupsDrawer from 'components/app/drawers/ViewGroupsDrawer';
|
|
6
|
-
import { AppDrawerContext } from 'components/app/providers/AppDrawerProvider';
|
|
7
|
-
import { ModalContext } from 'components/app/providers/ModalProvider';
|
|
8
|
-
import ConfirmDeleteModal from 'components/elements/display/modals/ConfirmDeleteModal';
|
|
2
|
+
import api from '@cccsaurora/howler-ui/api';
|
|
3
|
+
import { useAppUser } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
4
|
+
import ApiKeyDrawer from '@cccsaurora/howler-ui/components/app/drawers/ApiKeyDrawer';
|
|
5
|
+
import ViewGroupsDrawer from '@cccsaurora/howler-ui/components/app/drawers/ViewGroupsDrawer';
|
|
6
|
+
import { AppDrawerContext } from '@cccsaurora/howler-ui/components/app/providers/AppDrawerProvider';
|
|
7
|
+
import { ModalContext } from '@cccsaurora/howler-ui/components/app/providers/ModalProvider';
|
|
8
|
+
import ConfirmDeleteModal from '@cccsaurora/howler-ui/components/elements/display/modals/ConfirmDeleteModal';
|
|
9
9
|
import { useCallback, useContext } from 'react';
|
|
10
10
|
import { useTranslation } from 'react-i18next';
|
|
11
11
|
import { useNavigate } from 'react-router-dom';
|
|
@@ -22,7 +22,7 @@ const useMyUserFunctions = () => {
|
|
|
22
22
|
return {
|
|
23
23
|
editName: useCallback(async (user, name) => {
|
|
24
24
|
await dispatchApi(api.user.put(user.username, { name }), { throwError: true, showError: true });
|
|
25
|
-
showSuccessMessage(t('api.user.name.updated'));
|
|
25
|
+
showSuccessMessage(t('@cccsaurora/howler-ui/api.user.name.updated'));
|
|
26
26
|
return {
|
|
27
27
|
...user,
|
|
28
28
|
name
|
|
@@ -32,7 +32,7 @@ const useMyUserFunctions = () => {
|
|
|
32
32
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
33
33
|
const api_quota = parseInt(quota);
|
|
34
34
|
await dispatchApi(api.user.put(user.username, { api_quota }), { throwError: true });
|
|
35
|
-
showSuccessMessage(t('api.user.quota.updated'));
|
|
35
|
+
showSuccessMessage(t('@cccsaurora/howler-ui/api.user.quota.updated'));
|
|
36
36
|
return {
|
|
37
37
|
...user,
|
|
38
38
|
api_quota
|
|
@@ -54,7 +54,7 @@ const useMyUserFunctions = () => {
|
|
|
54
54
|
throwError: true,
|
|
55
55
|
showError: true
|
|
56
56
|
});
|
|
57
|
-
showSuccessMessage(t('api.user.role.updated'));
|
|
57
|
+
showSuccessMessage(t('@cccsaurora/howler-ui/api.user.role.updated'));
|
|
58
58
|
return {
|
|
59
59
|
...user,
|
|
60
60
|
roles: newRoles
|
|
@@ -68,7 +68,7 @@ const useMyUserFunctions = () => {
|
|
|
68
68
|
...currentUser,
|
|
69
69
|
apikeys: [...currentUser.apikeys, [newKeyName, privs, expiryDate]]
|
|
70
70
|
});
|
|
71
|
-
showSuccessMessage(t('api.user.apikey.updated'));
|
|
71
|
+
showSuccessMessage(t('@cccsaurora/howler-ui/api.user.apikey.updated'));
|
|
72
72
|
} }))
|
|
73
73
|
});
|
|
74
74
|
}, [currentUser, drawer, setUser, showSuccessMessage, t]),
|
|
@@ -78,7 +78,7 @@ const useMyUserFunctions = () => {
|
|
|
78
78
|
throwError: true,
|
|
79
79
|
showError: true
|
|
80
80
|
});
|
|
81
|
-
showSuccessMessage(t('api.user.role.updated'));
|
|
81
|
+
showSuccessMessage(t('@cccsaurora/howler-ui/api.user.role.updated'));
|
|
82
82
|
return {
|
|
83
83
|
...user,
|
|
84
84
|
roles: newRoles
|
|
@@ -89,7 +89,7 @@ const useMyUserFunctions = () => {
|
|
|
89
89
|
showModal(_jsx(ConfirmDeleteModal, { onConfirm: res }));
|
|
90
90
|
});
|
|
91
91
|
await dispatchApi(api.auth.apikey.del(apiKey[0]), { throwError: true });
|
|
92
|
-
showSuccessMessage(t('api.user.apikey.removed'));
|
|
92
|
+
showSuccessMessage(t('@cccsaurora/howler-ui/api.user.apikey.removed'));
|
|
93
93
|
return {
|
|
94
94
|
...user,
|
|
95
95
|
apikeys: user.apikeys.filter(([name, _]) => name !== apiKey[0])
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UserListContext } from 'components/app/providers/UserListProvider';
|
|
1
|
+
import { UserListContext } from '@cccsaurora/howler-ui/components/app/providers/UserListProvider';
|
|
2
2
|
import { useContext, useEffect } from 'react';
|
|
3
3
|
const useMyUserList = (ids) => {
|
|
4
4
|
const { users, fetchUsers } = useContext(UserListContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { darken, lighten } from '@mui/material';
|
|
2
|
-
import { useAppTheme } from 'commons/components/app/hooks';
|
|
2
|
+
import { useAppTheme } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
3
3
|
import { useCallback } from 'react';
|
|
4
4
|
const useMyUtils = () => {
|
|
5
5
|
const { isDark } = useAppTheme();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Box, CircularProgress, Container, Stack, styled } from '@mui/material';
|
|
3
|
-
import { useAppBanner } from 'commons/components/app/hooks';
|
|
4
|
-
import PageCardCentered from 'commons/components/pages/PageCardCentered';
|
|
5
|
-
import { ApiConfigContext } from 'components/app/providers/ApiConfigProvider';
|
|
6
|
-
import TextDivider from 'components/elements/display/TextDivider';
|
|
3
|
+
import { useAppBanner } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
4
|
+
import PageCardCentered from '@cccsaurora/howler-ui/commons/components/pages/PageCardCentered';
|
|
5
|
+
import { ApiConfigContext } from '@cccsaurora/howler-ui/components/app/providers/ApiConfigProvider';
|
|
6
|
+
import TextDivider from '@cccsaurora/howler-ui/components/elements/display/TextDivider';
|
|
7
7
|
import { useContext } from 'react';
|
|
8
8
|
import OAuthLogin from './auth/OAuthLogin';
|
|
9
9
|
import UserPassLogin from './auth/UserPassLogin';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Button, CircularProgress, Stack } from '@mui/material';
|
|
3
|
-
import api from 'api';
|
|
4
|
-
import { useMyLocalStorageItem } from 'components/hooks/useMyLocalStorage';
|
|
3
|
+
import api from '@cccsaurora/howler-ui/api';
|
|
4
|
+
import { useMyLocalStorageItem } from '@cccsaurora/howler-ui/components/hooks/useMyLocalStorage';
|
|
5
5
|
import { useEffect, useMemo, useState } from 'react';
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
7
7
|
import { useSearchParams } from 'react-router-dom';
|
|
8
|
-
import { StorageKey } from 'utils/constants';
|
|
8
|
+
import { StorageKey } from '@cccsaurora/howler-ui/utils/constants';
|
|
9
9
|
import useLogin from '../hooks/useLogin';
|
|
10
10
|
const OAuthLogin = ({ providers }) => {
|
|
11
11
|
const [searchParams] = useSearchParams();
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import api, {} from 'api';
|
|
3
|
-
import { useAppUser } from 'commons/components/app/hooks';
|
|
4
|
-
import { ModalContext } from 'components/app/providers/ModalProvider';
|
|
5
|
-
import LoginErrorModal from 'components/elements/display/modals/LoginErrorModal';
|
|
6
|
-
import useMyApi from 'components/hooks/useMyApi';
|
|
7
|
-
import useMyLocalStorage from 'components/hooks/useMyLocalStorage';
|
|
8
|
-
import useMySnackbar from 'components/hooks/useMySnackbar';
|
|
2
|
+
import api, {} from '@cccsaurora/howler-ui/api';
|
|
3
|
+
import { useAppUser } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
4
|
+
import { ModalContext } from '@cccsaurora/howler-ui/components/app/providers/ModalProvider';
|
|
5
|
+
import LoginErrorModal from '@cccsaurora/howler-ui/components/elements/display/modals/LoginErrorModal';
|
|
6
|
+
import useMyApi from '@cccsaurora/howler-ui/components/hooks/useMyApi';
|
|
7
|
+
import useMyLocalStorage from '@cccsaurora/howler-ui/components/hooks/useMyLocalStorage';
|
|
8
|
+
import useMySnackbar from '@cccsaurora/howler-ui/components/hooks/useMySnackbar';
|
|
9
9
|
import { useCallback, useContext, useMemo } from 'react';
|
|
10
10
|
import { useTranslation } from 'react-i18next';
|
|
11
11
|
import { useLocation, useNavigate, useSearchParams } from 'react-router-dom';
|
|
12
|
-
import { StorageKey } from 'utils/constants';
|
|
13
|
-
import { saveLoginCredential } from 'utils/localStorage';
|
|
12
|
+
import { StorageKey } from '@cccsaurora/howler-ui/utils/constants';
|
|
13
|
+
import { saveLoginCredential } from '@cccsaurora/howler-ui/utils/localStorage';
|
|
14
14
|
const useLogin = () => {
|
|
15
15
|
const navigate = useNavigate();
|
|
16
16
|
const location = useLocation();
|
package/components/routes/404.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import LinkOffIcon from '@mui/icons-material/LinkOff';
|
|
3
3
|
import { Box, Typography } from '@mui/material';
|
|
4
|
-
import PageCenter from 'commons/components/pages/PageCenter';
|
|
4
|
+
import PageCenter from '@cccsaurora/howler-ui/commons/components/pages/PageCenter';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
const NotFoundPage = () => {
|
|
7
7
|
const { t } = useTranslation();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import ErrorIcon from '@mui/icons-material/Error';
|
|
3
3
|
import { Box, Typography } from '@mui/material';
|
|
4
|
-
import PageCenter from 'commons/components/pages/PageCenter';
|
|
5
|
-
import howlerPluginStore from 'plugins/store';
|
|
4
|
+
import PageCenter from '@cccsaurora/howler-ui/commons/components/pages/PageCenter';
|
|
5
|
+
import howlerPluginStore from '@cccsaurora/howler-ui/plugins/store';
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
7
7
|
import { usePluginStore } from 'react-pluggable';
|
|
8
8
|
const ErrorOccured = () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Box, Container, Stack, Typography, styled } from '@mui/material';
|
|
3
|
-
import { useAppBanner, useAppLayout } from 'commons/components/app/hooks';
|
|
4
|
-
import PageCardCentered from 'commons/components/pages/PageCardCentered';
|
|
5
|
-
import useMyLocalStorage from 'components/hooks/useMyLocalStorage';
|
|
3
|
+
import { useAppBanner, useAppLayout } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
4
|
+
import PageCardCentered from '@cccsaurora/howler-ui/commons/components/pages/PageCardCentered';
|
|
5
|
+
import useMyLocalStorage from '@cccsaurora/howler-ui/components/hooks/useMyLocalStorage';
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
7
7
|
const LogWrap = styled('div')(() => ({
|
|
8
8
|
marginTop: '2rem',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ActionOperation } from 'models/ActionTypes';
|
|
2
|
-
import type { Operation } from 'models/entities/generated/Operation';
|
|
1
|
+
import type { ActionOperation } from '@cccsaurora/howler-ui/models/ActionTypes';
|
|
2
|
+
import type { Operation } from '@cccsaurora/howler-ui/models/entities/generated/Operation';
|
|
3
3
|
import { type FC } from 'react';
|
|
4
4
|
export interface CustomActionProps {
|
|
5
5
|
operation: ActionOperation;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Add, PlayCircleOutline, Save } from '@mui/icons-material';
|
|
3
3
|
import { Button, Card, CardContent, Checkbox, CircularProgress, FormControlLabel, FormGroup, IconButton, LinearProgress, Stack, TextField, Tooltip, Typography } from '@mui/material';
|
|
4
|
-
import api from 'api';
|
|
5
|
-
import { useAppUser } from 'commons/components/app/hooks';
|
|
6
|
-
import PageCenter from 'commons/components/pages/PageCenter';
|
|
7
|
-
import { FieldContext } from 'components/app/providers/FieldProvider';
|
|
8
|
-
import SocketBadge from 'components/elements/display/icons/SocketBadge';
|
|
9
|
-
import useMyApi from 'components/hooks/useMyApi';
|
|
10
|
-
import HitQuery from 'components/routes/hits/search/HitQuery';
|
|
4
|
+
import api from '@cccsaurora/howler-ui/api';
|
|
5
|
+
import { useAppUser } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
6
|
+
import PageCenter from '@cccsaurora/howler-ui/commons/components/pages/PageCenter';
|
|
7
|
+
import { FieldContext } from '@cccsaurora/howler-ui/components/app/providers/FieldProvider';
|
|
8
|
+
import SocketBadge from '@cccsaurora/howler-ui/components/elements/display/icons/SocketBadge';
|
|
9
|
+
import useMyApi from '@cccsaurora/howler-ui/components/hooks/useMyApi';
|
|
10
|
+
import HitQuery from '@cccsaurora/howler-ui/components/routes/hits/search/HitQuery';
|
|
11
11
|
import { difference, uniq } from 'lodash-es';
|
|
12
|
-
import howlerPluginStore from 'plugins/store';
|
|
12
|
+
import howlerPluginStore from '@cccsaurora/howler-ui/plugins/store';
|
|
13
13
|
import { useCallback, useContext, useEffect, useMemo, useState } from 'react';
|
|
14
14
|
import { useTranslation } from 'react-i18next';
|
|
15
15
|
import { usePluginStore } from 'react-pluggable';
|
|
16
16
|
import { useLocation, useParams, useSearchParams } from 'react-router-dom';
|
|
17
|
-
import { operationReady } from 'utils/actionUtils';
|
|
17
|
+
import { operationReady } from '@cccsaurora/howler-ui/utils/actionUtils';
|
|
18
18
|
import QueryResultText from '../../../elements/display/QueryResultText';
|
|
19
19
|
import ActionReportDisplay from '../shared/ActionReportDisplay';
|
|
20
20
|
import OperationEntry from '../shared/OperationEntry';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ErrorOutline, ExpandMore, InfoOutlined, TaskAltOutlined } from '@mui/icons-material';
|
|
3
3
|
import { Accordion, AccordionDetails, AccordionSummary, Alert, AlertTitle, Divider, Stack, Typography } from '@mui/material';
|
|
4
|
-
import Markdown from 'components/elements/display/Markdown';
|
|
4
|
+
import Markdown from '@cccsaurora/howler-ui/components/elements/display/Markdown';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
import { Link } from 'react-router-dom';
|
|
7
7
|
const ActionReportDisplay = ({ report, operations }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ActionOperation } from 'models/ActionTypes';
|
|
2
|
-
import type { Operation } from 'models/entities/generated/Operation';
|
|
1
|
+
import type { ActionOperation } from '@cccsaurora/howler-ui/models/ActionTypes';
|
|
2
|
+
import type { Operation } from '@cccsaurora/howler-ui/models/entities/generated/Operation';
|
|
3
3
|
import type { FC } from 'react';
|
|
4
4
|
declare const OperationEntry: FC<{
|
|
5
5
|
query: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { Delete } from '@mui/icons-material';
|
|
3
3
|
import { Box, Card, CardContent, Chip, Divider, IconButton, ListItemText, MenuItem, Select, Stack } from '@mui/material';
|
|
4
|
-
import Markdown from 'components/elements/display/Markdown';
|
|
4
|
+
import Markdown from '@cccsaurora/howler-ui/components/elements/display/Markdown';
|
|
5
5
|
import { useCallback, useMemo } from 'react';
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
7
|
-
import { checkArgsAreFilled, operationReady } from 'utils/actionUtils';
|
|
7
|
+
import { checkArgsAreFilled, operationReady } from '@cccsaurora/howler-ui/utils/actionUtils';
|
|
8
8
|
import OperationStep from './OperationStep';
|
|
9
9
|
const OperationEntry = ({ operation, operations, onChange, onDelete, query, readonly = false, values }) => {
|
|
10
10
|
const { t } = useTranslation();
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { Alert, AlertTitle, Autocomplete, CircularProgress, InputAdornment, LinearProgress, Stack, TextField } from '@mui/material';
|
|
3
|
-
import api from 'api';
|
|
4
|
-
import useMyApi from 'components/hooks/useMyApi';
|
|
3
|
+
import api from '@cccsaurora/howler-ui/api';
|
|
4
|
+
import useMyApi from '@cccsaurora/howler-ui/components/hooks/useMyApi';
|
|
5
5
|
import { capitalize } from 'lodash-es';
|
|
6
6
|
import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
7
7
|
import { useTranslation } from 'react-i18next';
|
|
8
8
|
import { Link } from 'react-router-dom';
|
|
9
|
-
import { checkArgsAreFilled, getArgsByContext, getOptionsByContext } from 'utils/actionUtils';
|
|
10
|
-
import { sanitizeLuceneQuery } from 'utils/stringUtils';
|
|
11
|
-
import Throttler from 'utils/Throttler';
|
|
9
|
+
import { checkArgsAreFilled, getArgsByContext, getOptionsByContext } from '@cccsaurora/howler-ui/utils/actionUtils';
|
|
10
|
+
import { sanitizeLuceneQuery } from '@cccsaurora/howler-ui/utils/stringUtils';
|
|
11
|
+
import Throttler from '@cccsaurora/howler-ui/utils/Throttler';
|
|
12
12
|
const THROTTLER = new Throttler(500);
|
|
13
13
|
const OperationStep = ({ step, query, values, setValues, readonly, loading }) => {
|
|
14
14
|
const { t } = useTranslation();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { HowlerSearchResponse } from 'api/search';
|
|
2
|
-
import type { ActionReport } from 'models/ActionTypes';
|
|
3
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
4
|
-
import type { Operation } from 'models/entities/generated/Operation';
|
|
1
|
+
import type { HowlerSearchResponse } from '@cccsaurora/howler-ui/api/search';
|
|
2
|
+
import type { ActionReport } from '@cccsaurora/howler-ui/models/ActionTypes';
|
|
3
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
4
|
+
import type { Operation } from '@cccsaurora/howler-ui/models/entities/generated/Operation';
|
|
5
5
|
declare const useMyActionFunctions: () => {
|
|
6
6
|
loading: boolean;
|
|
7
7
|
setLoading: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Terminal } from '@mui/icons-material';
|
|
3
3
|
import { LinearProgress, Stack } from '@mui/material';
|
|
4
|
-
import api from 'api';
|
|
5
|
-
import { SocketContext } from 'components/app/providers/SocketProvider';
|
|
6
|
-
import useMyApi from 'components/hooks/useMyApi';
|
|
7
|
-
import useMySnackbar from 'components/hooks/useMySnackbar';
|
|
4
|
+
import api from '@cccsaurora/howler-ui/api';
|
|
5
|
+
import { SocketContext } from '@cccsaurora/howler-ui/components/app/providers/SocketProvider';
|
|
6
|
+
import useMyApi from '@cccsaurora/howler-ui/components/hooks/useMyApi';
|
|
7
|
+
import useMySnackbar from '@cccsaurora/howler-ui/components/hooks/useMySnackbar';
|
|
8
8
|
import { useSnackbar } from 'notistack';
|
|
9
9
|
import { useCallback, useContext, useEffect, useState } from 'react';
|
|
10
10
|
import { Trans, useTranslation } from 'react-i18next';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Delete, Edit, PlayCircleOutline, Search } from '@mui/icons-material';
|
|
3
3
|
import { Button, Checkbox, FormControlLabel, FormGroup, IconButton, LinearProgress, Stack, Typography } from '@mui/material';
|
|
4
|
-
import api from 'api';
|
|
5
|
-
import { useAppUser } from 'commons/components/app/hooks';
|
|
6
|
-
import PageCenter from 'commons/components/pages/PageCenter';
|
|
7
|
-
import FlexOne from 'components/elements/addons/layout/FlexOne';
|
|
8
|
-
import Phrase from 'components/elements/addons/search/phrase/Phrase';
|
|
9
|
-
import HowlerAvatar from 'components/elements/display/HowlerAvatar';
|
|
10
|
-
import useMyApi from 'components/hooks/useMyApi';
|
|
11
|
-
import OperationEntry from 'components/routes/action/shared/OperationEntry';
|
|
12
|
-
import howlerPluginStore from 'plugins/store';
|
|
4
|
+
import api from '@cccsaurora/howler-ui/api';
|
|
5
|
+
import { useAppUser } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
6
|
+
import PageCenter from '@cccsaurora/howler-ui/commons/components/pages/PageCenter';
|
|
7
|
+
import FlexOne from '@cccsaurora/howler-ui/components/elements/addons/layout/FlexOne';
|
|
8
|
+
import Phrase from '@cccsaurora/howler-ui/components/elements/addons/search/phrase/Phrase';
|
|
9
|
+
import HowlerAvatar from '@cccsaurora/howler-ui/components/elements/display/HowlerAvatar';
|
|
10
|
+
import useMyApi from '@cccsaurora/howler-ui/components/hooks/useMyApi';
|
|
11
|
+
import OperationEntry from '@cccsaurora/howler-ui/components/routes/action/shared/OperationEntry';
|
|
12
|
+
import howlerPluginStore from '@cccsaurora/howler-ui/plugins/store';
|
|
13
13
|
import { useCallback, useEffect, useState } from 'react';
|
|
14
14
|
import { useTranslation } from 'react-i18next';
|
|
15
15
|
import { usePluginStore } from 'react-pluggable';
|