@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
package/api/search/index.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { joinUri, uri as parentUri } from 'api';
|
|
2
|
-
import * as action from 'api/search/action';
|
|
3
|
-
import * as analytic from 'api/search/analytic';
|
|
4
|
-
import * as count from 'api/search/count';
|
|
5
|
-
import * as dossier from 'api/search/dossier';
|
|
6
|
-
import * as facet from 'api/search/facet';
|
|
7
|
-
import * as fields from 'api/search/fields';
|
|
8
|
-
import * as grouped from 'api/search/grouped';
|
|
9
|
-
import * as histogram from 'api/search/histogram';
|
|
10
|
-
import * as hit from 'api/search/hit';
|
|
11
|
-
import * as overview from 'api/search/overview';
|
|
12
|
-
import * as template from 'api/search/template';
|
|
13
|
-
import * as user from 'api/search/user';
|
|
14
|
-
import * as view from 'api/search/view';
|
|
1
|
+
import { joinUri, uri as parentUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import * as action from '@cccsaurora/howler-ui/api/search/action';
|
|
3
|
+
import * as analytic from '@cccsaurora/howler-ui/api/search/analytic';
|
|
4
|
+
import * as count from '@cccsaurora/howler-ui/api/search/count';
|
|
5
|
+
import * as dossier from '@cccsaurora/howler-ui/api/search/dossier';
|
|
6
|
+
import * as facet from '@cccsaurora/howler-ui/api/search/facet';
|
|
7
|
+
import * as fields from '@cccsaurora/howler-ui/api/search/fields';
|
|
8
|
+
import * as grouped from '@cccsaurora/howler-ui/api/search/grouped';
|
|
9
|
+
import * as histogram from '@cccsaurora/howler-ui/api/search/histogram';
|
|
10
|
+
import * as hit from '@cccsaurora/howler-ui/api/search/hit';
|
|
11
|
+
import * as overview from '@cccsaurora/howler-ui/api/search/overview';
|
|
12
|
+
import * as template from '@cccsaurora/howler-ui/api/search/template';
|
|
13
|
+
import * as user from '@cccsaurora/howler-ui/api/search/user';
|
|
14
|
+
import * as view from '@cccsaurora/howler-ui/api/search/view';
|
|
15
15
|
|
|
16
16
|
export const uri = () => {
|
|
17
17
|
return joinUri(parentUri(), 'search');
|
package/api/search/overview.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { hpost, joinUri } from 'api';
|
|
2
|
-
import type { HowlerSearchRequest, HowlerSearchResponse } from 'api/search';
|
|
3
|
-
import { uri as parentUri } from 'api/search';
|
|
4
|
-
import type { Template } from 'models/entities/generated/Template';
|
|
1
|
+
import { hpost, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { HowlerSearchRequest, HowlerSearchResponse } from '@cccsaurora/howler-ui/api/search';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search';
|
|
4
|
+
import type { Template } from '@cccsaurora/howler-ui/models/entities/generated/Template';
|
|
5
5
|
|
|
6
6
|
export const uri = () => {
|
|
7
7
|
return joinUri(parentUri(), 'overview');
|
package/api/search/sigma/hit.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { hpost, joinAllUri } from 'api';
|
|
2
|
-
import type { HowlerSearchResponse, HowlerSigmaSearchRequest } from 'api/search';
|
|
3
|
-
import { uri as parentUri } from 'api/search';
|
|
4
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
1
|
+
import { hpost, joinAllUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { HowlerSearchResponse, HowlerSigmaSearchRequest } from '@cccsaurora/howler-ui/api/search';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search';
|
|
4
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
5
5
|
|
|
6
6
|
export const uri = () => {
|
|
7
7
|
return joinAllUri(parentUri(), 'hit', 'sigma');
|
package/api/search/template.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { hpost, joinUri } from 'api';
|
|
2
|
-
import type { HowlerSearchRequest, HowlerSearchResponse } from 'api/search';
|
|
3
|
-
import { uri as parentUri } from 'api/search';
|
|
4
|
-
import type { Template } from 'models/entities/generated/Template';
|
|
1
|
+
import { hpost, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { HowlerSearchRequest, HowlerSearchResponse } from '@cccsaurora/howler-ui/api/search';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search';
|
|
4
|
+
import type { Template } from '@cccsaurora/howler-ui/models/entities/generated/Template';
|
|
5
5
|
|
|
6
6
|
export const uri = () => {
|
|
7
7
|
return joinUri(parentUri(), 'template');
|
package/api/search/user.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { hpost, joinUri } from 'api';
|
|
2
|
-
import type { HowlerSearchRequest, HowlerSearchResponse } from 'api/search';
|
|
3
|
-
import { uri as parentUri } from 'api/search';
|
|
4
|
-
import type { HowlerUser } from 'models/entities/HowlerUser';
|
|
1
|
+
import { hpost, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { HowlerSearchRequest, HowlerSearchResponse } from '@cccsaurora/howler-ui/api/search';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search';
|
|
4
|
+
import type { HowlerUser } from '@cccsaurora/howler-ui/models/entities/HowlerUser';
|
|
5
5
|
|
|
6
6
|
export type HowlerApiUser = Omit<HowlerUser, 'username'> & { uname: string };
|
|
7
7
|
|
package/api/search/view.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { hpost, joinUri } from 'api';
|
|
2
|
-
import type { HowlerSearchRequest, HowlerSearchResponse } from 'api/search';
|
|
3
|
-
import { uri as parentUri } from 'api/search';
|
|
4
|
-
import type { View } from 'models/entities/generated/View';
|
|
1
|
+
import { hpost, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { HowlerSearchRequest, HowlerSearchResponse } from '@cccsaurora/howler-ui/api/search';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search';
|
|
4
|
+
import type { View } from '@cccsaurora/howler-ui/models/entities/generated/View';
|
|
5
5
|
|
|
6
6
|
export const uri = () => {
|
|
7
7
|
return joinUri(parentUri(), 'view');
|
package/api/template/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { hdelete, hget, hpost, hput, joinAllUri, joinUri, uri as parentUri } from 'api';
|
|
2
|
-
import type { Template } from 'models/entities/generated/Template';
|
|
1
|
+
import { hdelete, hget, hpost, hput, joinAllUri, joinUri, uri as parentUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { Template } from '@cccsaurora/howler-ui/models/entities/generated/Template';
|
|
3
3
|
|
|
4
4
|
export const uri = (id?: string) => {
|
|
5
5
|
return id ? joinAllUri(parentUri(), 'template', id) : joinUri(parentUri(), 'template');
|
package/api/user/avatar/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { hget, joinUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/user';
|
|
1
|
+
import { hget, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/user';
|
|
3
3
|
|
|
4
4
|
export const uri = (username: string) => {
|
|
5
5
|
return joinUri(joinUri(parentUri(), 'avatar'), username);
|
package/api/user/groups.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { hget, joinUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/user';
|
|
1
|
+
import { hget, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/user';
|
|
3
3
|
|
|
4
4
|
export type GroupDetailsResponse = { id: string; name: string }[];
|
|
5
5
|
|
package/api/user/index.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { hget, hput, joinUri, uri as parentUri } from 'api';
|
|
2
|
-
import * as avatar from 'api/user/avatar';
|
|
3
|
-
import * as groups from 'api/user/groups';
|
|
4
|
-
import * as whoami from 'api/user/whoami';
|
|
5
|
-
import type { HowlerUser } from 'models/entities/HowlerUser';
|
|
1
|
+
import { hget, hput, joinUri, uri as parentUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import * as avatar from '@cccsaurora/howler-ui/api/user/avatar';
|
|
3
|
+
import * as groups from '@cccsaurora/howler-ui/api/user/groups';
|
|
4
|
+
import * as whoami from '@cccsaurora/howler-ui/api/user/whoami';
|
|
5
|
+
import type { HowlerUser } from '@cccsaurora/howler-ui/models/entities/HowlerUser';
|
|
6
6
|
|
|
7
7
|
export const uri = (username?: string) => {
|
|
8
8
|
const _uri = joinUri(parentUri(), 'user');
|
package/api/user/whoami.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { hget, joinUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/user';
|
|
3
|
-
import type { HowlerUser } from 'models/entities/HowlerUser';
|
|
1
|
+
import { hget, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/user';
|
|
3
|
+
import type { HowlerUser } from '@cccsaurora/howler-ui/models/entities/HowlerUser';
|
|
4
4
|
|
|
5
5
|
export const uri = () => {
|
|
6
6
|
return joinUri(parentUri(), 'whoami');
|
package/api/view/favourite.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { hdelete, hpost, joinAllUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/view';
|
|
1
|
+
import { hdelete, hpost, joinAllUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/view';
|
|
3
3
|
|
|
4
4
|
export const uri = (id: string) => {
|
|
5
5
|
return joinAllUri(parentUri(), id, 'favourite');
|
package/api/view/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { hdelete, hget, hpost, hput, joinAllUri, joinUri, uri as parentUri } from 'api';
|
|
2
|
-
import * as favourite from 'api/view/favourite';
|
|
3
|
-
import type { View } from 'models/entities/generated/View';
|
|
1
|
+
import { hdelete, hget, hpost, hput, joinAllUri, joinUri, uri as parentUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import * as favourite from '@cccsaurora/howler-ui/api/view/favourite';
|
|
3
|
+
import type { View } from '@cccsaurora/howler-ui/models/entities/generated/View';
|
|
4
4
|
|
|
5
5
|
export const uri = (id?: string) => {
|
|
6
6
|
return id ? joinAllUri(parentUri(), 'view', id) : joinUri(parentUri(), 'view');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Components, PaletteMode, PaletteOptions, Theme } from '@mui/material';
|
|
2
|
-
import type { AppUserValidatedProp } from 'commons/components/app/AppUserService';
|
|
3
|
-
import type { GravatarD } from 'commons/components/display/AppAvatar';
|
|
2
|
+
import type { AppUserValidatedProp } from '@cccsaurora/howler-ui/commons/components/app/AppUserService';
|
|
3
|
+
import type { GravatarD } from '@cccsaurora/howler-ui/commons/components/display/AppAvatar';
|
|
4
4
|
import type { ReactElement, ReactNode } from 'react';
|
|
5
5
|
import type { To } from 'react-router-dom';
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { PaletteMode } from '@mui/material';
|
|
2
|
-
import type { AppConfigs, AppLayoutMode, AppLeftNavElement, AppSwitcherItem } from 'commons/components/app/AppConfigs';
|
|
3
|
-
import type { ItemComponentProps } from 'commons/components/app/AppNotificationService';
|
|
4
|
-
import type { AppSearchItem, AppSearchMode, AppSearchService } from 'commons/components/app/AppSearchService';
|
|
5
|
-
import type { AppUser, AppUserService } from 'commons/components/app/AppUserService';
|
|
6
|
-
import type { BreadcrumbItem } from 'commons/components/app/hooks/useAppSitemap';
|
|
2
|
+
import type { AppConfigs, AppLayoutMode, AppLeftNavElement, AppSwitcherItem } from '@cccsaurora/howler-ui/commons/components/app/AppConfigs';
|
|
3
|
+
import type { ItemComponentProps } from '@cccsaurora/howler-ui/commons/components/app/AppNotificationService';
|
|
4
|
+
import type { AppSearchItem, AppSearchMode, AppSearchService } from '@cccsaurora/howler-ui/commons/components/app/AppSearchService';
|
|
5
|
+
import type { AppUser, AppUserService } from '@cccsaurora/howler-ui/commons/components/app/AppUserService';
|
|
6
|
+
import type { BreadcrumbItem } from '@cccsaurora/howler-ui/commons/components/app/hooks/useAppSitemap';
|
|
7
7
|
import { createContext, type ReactElement } from 'react';
|
|
8
8
|
|
|
9
9
|
export type AppContextType = {
|
|
@@ -4,7 +4,7 @@ import type {
|
|
|
4
4
|
AppSiteMapConfigs,
|
|
5
5
|
AppThemeConfigs,
|
|
6
6
|
AppTopNavConfigs
|
|
7
|
-
} from 'commons/components/app/AppConfigs';
|
|
7
|
+
} from '@cccsaurora/howler-ui/commons/components/app/AppConfigs';
|
|
8
8
|
|
|
9
9
|
// AppPreferenceConfigs defaults.
|
|
10
10
|
export const AppDefaultsPreferencesConfigs: AppPreferenceConfigs = {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { StyledEngineProvider, ThemeProvider, useMediaQuery, type PaletteMode } from '@mui/material';
|
|
2
|
-
import type { AppPreferenceConfigs, AppSiteMapConfigs, AppThemeConfigs } from 'commons/components/app/AppConfigs';
|
|
3
|
-
import { AppStorageKeys } from 'commons/components/app/AppConstants';
|
|
4
|
-
import { AppContext, type AppNotificationService } from 'commons/components/app/AppContexts';
|
|
5
|
-
import { AppDefaultsPreferencesConfigs } from 'commons/components/app/AppDefaults';
|
|
6
|
-
import type { AppSearchService } from 'commons/components/app/AppSearchService';
|
|
7
|
-
import type { AppUser, AppUserService } from 'commons/components/app/AppUserService';
|
|
8
|
-
import AppBarProvider from 'commons/components/app/providers/AppBarProvider';
|
|
9
|
-
import AppLayoutProvider from 'commons/components/app/providers/AppLayoutProvider';
|
|
10
|
-
import AppLeftNavProvider from 'commons/components/app/providers/AppLeftNavProvider';
|
|
11
|
-
import AppSnackbarProvider from 'commons/components/app/providers/AppSnackbarProvider';
|
|
12
|
-
import AppUserProvider from 'commons/components/app/providers/AppUserProvider';
|
|
13
|
-
import useLocalStorageItem from 'commons/components/utils/hooks/useLocalStorageItem';
|
|
14
|
-
import useThemeBuilder from 'commons/components/utils/hooks/useThemeBuilder';
|
|
15
|
-
import i18n from 'i18n';
|
|
2
|
+
import type { AppPreferenceConfigs, AppSiteMapConfigs, AppThemeConfigs } from '@cccsaurora/howler-ui/commons/components/app/AppConfigs';
|
|
3
|
+
import { AppStorageKeys } from '@cccsaurora/howler-ui/commons/components/app/AppConstants';
|
|
4
|
+
import { AppContext, type AppNotificationService } from '@cccsaurora/howler-ui/commons/components/app/AppContexts';
|
|
5
|
+
import { AppDefaultsPreferencesConfigs } from '@cccsaurora/howler-ui/commons/components/app/AppDefaults';
|
|
6
|
+
import type { AppSearchService } from '@cccsaurora/howler-ui/commons/components/app/AppSearchService';
|
|
7
|
+
import type { AppUser, AppUserService } from '@cccsaurora/howler-ui/commons/components/app/AppUserService';
|
|
8
|
+
import AppBarProvider from '@cccsaurora/howler-ui/commons/components/app/providers/AppBarProvider';
|
|
9
|
+
import AppLayoutProvider from '@cccsaurora/howler-ui/commons/components/app/providers/AppLayoutProvider';
|
|
10
|
+
import AppLeftNavProvider from '@cccsaurora/howler-ui/commons/components/app/providers/AppLeftNavProvider';
|
|
11
|
+
import AppSnackbarProvider from '@cccsaurora/howler-ui/commons/components/app/providers/AppSnackbarProvider';
|
|
12
|
+
import AppUserProvider from '@cccsaurora/howler-ui/commons/components/app/providers/AppUserProvider';
|
|
13
|
+
import useLocalStorageItem from '@cccsaurora/howler-ui/commons/components/utils/hooks/useLocalStorageItem';
|
|
14
|
+
import useThemeBuilder from '@cccsaurora/howler-ui/commons/components/utils/hooks/useThemeBuilder';
|
|
15
|
+
import i18n from '@cccsaurora/howler-ui/i18n';
|
|
16
16
|
import { useCallback, useMemo, type ReactNode } from 'react';
|
|
17
17
|
|
|
18
18
|
const { LS_KEY_DARK_MODE } = AppStorageKeys;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AppSearchServiceState } from 'commons/components/app/AppContexts';
|
|
1
|
+
import type { AppSearchServiceState } from '@cccsaurora/howler-ui/commons/components/app/AppContexts';
|
|
2
2
|
import type { ReactElement } from 'react';
|
|
3
3
|
|
|
4
4
|
export type AppSearchMode = 'inline' | 'fullscreen';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Apps } from '@mui/icons-material';
|
|
2
2
|
import { Divider, List, Skeleton, Toolbar, styled, useMediaQuery, useTheme } from '@mui/material';
|
|
3
|
-
import {
|
|
4
|
-
import type { AppLeftNavElement } from 'commons/components/app/AppConfigs';
|
|
3
|
+
import type { AppLeftNavElement } from '@cccsaurora/howler-ui/commons/components/app/AppConfigs';
|
|
5
4
|
import {
|
|
6
5
|
useAppBreadcrumbs,
|
|
7
6
|
useAppConfigs,
|
|
8
7
|
useAppLayout,
|
|
9
8
|
useAppLeftNav,
|
|
10
9
|
useAppQuickSearch
|
|
11
|
-
} from 'commons/components/app/hooks';
|
|
12
|
-
import { AppBarBase } from 'commons/components/topnav/AppBar';
|
|
10
|
+
} from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
11
|
+
import { AppBarBase } from '@cccsaurora/howler-ui/commons/components/topnav/AppBar';
|
|
12
|
+
import { AppUserAvatar } from '@cccsaurora/howler-ui/commons/components/topnav/UserProfile';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Utility component to render the skeleton of the left navigation menu elements.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { AppContext } from 'commons/components/app/AppContexts';
|
|
1
|
+
import { AppContext } from '@cccsaurora/howler-ui/commons/components/app/AppContexts';
|
|
2
2
|
import {
|
|
3
3
|
AppDefaultsLeftNavConfigs,
|
|
4
4
|
AppDefaultsPreferencesConfigs,
|
|
5
5
|
AppDefaultsSitemapConfigs,
|
|
6
6
|
AppDefaultsThemeConfigs,
|
|
7
7
|
AppDefaultsTopNavConfigs
|
|
8
|
-
} from 'commons/components/app/AppDefaults';
|
|
8
|
+
} from '@cccsaurora/howler-ui/commons/components/app/AppDefaults';
|
|
9
9
|
import { useContext, useMemo } from 'react';
|
|
10
10
|
|
|
11
11
|
export function useAppConfigs() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AppContext } from 'commons/components/app/AppContexts';
|
|
2
|
-
import i18n from 'i18n';
|
|
1
|
+
import { AppContext } from '@cccsaurora/howler-ui/commons/components/app/AppContexts';
|
|
2
|
+
import i18n from '@cccsaurora/howler-ui/i18n';
|
|
3
3
|
import { useContext, useEffect, useMemo } from 'react';
|
|
4
4
|
|
|
5
5
|
export type AppLanguageType = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useApp } from 'commons/components/app/hooks/useApp';
|
|
2
|
-
import { useAppConfigs } from 'commons/components/app/hooks/useAppConfigs';
|
|
1
|
+
import { useApp } from '@cccsaurora/howler-ui/commons/components/app/hooks/useApp';
|
|
2
|
+
import { useAppConfigs } from '@cccsaurora/howler-ui/commons/components/app/hooks/useAppConfigs';
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
|
|
5
5
|
export function useAppLogo() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppNotificationServiceContext } from 'commons/components/app/AppContexts';
|
|
1
|
+
import { AppNotificationServiceContext } from '@cccsaurora/howler-ui/commons/components/app/AppContexts';
|
|
2
2
|
import { useContext } from 'react';
|
|
3
3
|
|
|
4
4
|
export function useAppNotification() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AppSearchServiceContextType } from 'commons/components/app/AppContexts';
|
|
2
|
-
import { AppSearchServiceContext } from 'commons/components/app/AppContexts';
|
|
1
|
+
import type { AppSearchServiceContextType } from '@cccsaurora/howler-ui/commons/components/app/AppContexts';
|
|
2
|
+
import { AppSearchServiceContext } from '@cccsaurora/howler-ui/commons/components/app/AppContexts';
|
|
3
3
|
import { useContext } from 'react';
|
|
4
4
|
|
|
5
5
|
export function useAppSearchService<T = any>(): AppSearchServiceContextType<T> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { AppSiteMapRoute } from 'commons/components/app/AppConfigs';
|
|
2
|
-
import { useAppConfigs } from 'commons/components/app/hooks';
|
|
3
|
-
import i18n from 'i18n';
|
|
1
|
+
import type { AppSiteMapRoute } from '@cccsaurora/howler-ui/commons/components/app/AppConfigs';
|
|
2
|
+
import { useAppConfigs } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
3
|
+
import i18n from '@cccsaurora/howler-ui/i18n';
|
|
4
4
|
import { useMemo } from 'react';
|
|
5
5
|
import { matchPath, type PathMatch } from 'react-router-dom';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AppUserContext } from 'commons/components/app/AppContexts';
|
|
2
|
-
import type { AppUser, AppUserService } from 'commons/components/app/AppUserService';
|
|
1
|
+
import { AppUserContext } from '@cccsaurora/howler-ui/commons/components/app/AppContexts';
|
|
2
|
+
import type { AppUser, AppUserService } from '@cccsaurora/howler-ui/commons/components/app/AppUserService';
|
|
3
3
|
import { useContext } from 'react';
|
|
4
4
|
|
|
5
5
|
export function useAppUser<U extends AppUser>(): AppUserService<U> {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { AppStorageKeys } from 'commons/components/app/AppConstants';
|
|
2
|
-
import { AppBarContext, type AppNotificationService } from 'commons/components/app/AppContexts';
|
|
3
|
-
import type { AppSearchService } from 'commons/components/app/AppSearchService';
|
|
4
|
-
import { useAppConfigs } from 'commons/components/app/hooks';
|
|
5
|
-
import AppBreadcrumbsProvider from 'commons/components/app/providers/AppBreadcrumbsProvider';
|
|
6
|
-
import AppNotificationServiceProvider from 'commons/components/app/providers/AppNotificationProvider';
|
|
7
|
-
import AppQuickSearchProvider from 'commons/components/app/providers/AppQuickSearchProvider';
|
|
8
|
-
import AppSwitcherProvider from 'commons/components/app/providers/AppSwitcherProvider';
|
|
9
|
-
import useLocalStorageItem from 'commons/components/utils/hooks/useLocalStorageItem';
|
|
1
|
+
import { AppStorageKeys } from '@cccsaurora/howler-ui/commons/components/app/AppConstants';
|
|
2
|
+
import { AppBarContext, type AppNotificationService } from '@cccsaurora/howler-ui/commons/components/app/AppContexts';
|
|
3
|
+
import type { AppSearchService } from '@cccsaurora/howler-ui/commons/components/app/AppSearchService';
|
|
4
|
+
import { useAppConfigs } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
5
|
+
import AppBreadcrumbsProvider from '@cccsaurora/howler-ui/commons/components/app/providers/AppBreadcrumbsProvider';
|
|
6
|
+
import AppNotificationServiceProvider from '@cccsaurora/howler-ui/commons/components/app/providers/AppNotificationProvider';
|
|
7
|
+
import AppQuickSearchProvider from '@cccsaurora/howler-ui/commons/components/app/providers/AppQuickSearchProvider';
|
|
8
|
+
import AppSwitcherProvider from '@cccsaurora/howler-ui/commons/components/app/providers/AppSwitcherProvider';
|
|
9
|
+
import useLocalStorageItem from '@cccsaurora/howler-ui/commons/components/utils/hooks/useLocalStorageItem';
|
|
10
10
|
import { useMemo, useState, type ReactElement } from 'react';
|
|
11
11
|
|
|
12
12
|
const { LS_KEY_AUTOHIDE_APPBAR } = AppStorageKeys;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { AppStorageKeys } from 'commons/components/app/AppConstants';
|
|
2
|
-
import { getRoute, useAppSitemap, type BreadcrumbItem } from 'commons/components/app/hooks/useAppSitemap';
|
|
3
|
-
import useLocalStorageItem from 'commons/components/utils/hooks/useLocalStorageItem';
|
|
1
|
+
import { AppStorageKeys } from '@cccsaurora/howler-ui/commons/components/app/AppConstants';
|
|
2
|
+
import { getRoute, useAppSitemap, type BreadcrumbItem } from '@cccsaurora/howler-ui/commons/components/app/hooks/useAppSitemap';
|
|
3
|
+
import useLocalStorageItem from '@cccsaurora/howler-ui/commons/components/utils/hooks/useLocalStorageItem';
|
|
4
4
|
import { useEffect, useMemo, useState, type ReactNode } from 'react';
|
|
5
5
|
import { useLocation } from 'react-router-dom';
|
|
6
6
|
|
|
7
|
-
import { AppBreadcrumbsContext } from 'commons/components/app/AppContexts';
|
|
8
|
-
import { useAppConfigs, useAppUser } from 'commons/components/app/hooks';
|
|
7
|
+
import { AppBreadcrumbsContext } from '@cccsaurora/howler-ui/commons/components/app/AppContexts';
|
|
8
|
+
import { useAppConfigs, useAppUser } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
9
9
|
|
|
10
10
|
const { LS_KEY_BREADCRUMBS_ENABLED } = AppStorageKeys;
|
|
11
11
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { CssBaseline, styled, useMediaQuery, useTheme } from '@mui/material';
|
|
2
|
-
import { type AppLayoutMode } from 'commons/components/app/AppConfigs';
|
|
3
|
-
import { AppStorageKeys } from 'commons/components/app/AppConstants';
|
|
4
|
-
import { AppLayoutContext } from 'commons/components/app/AppContexts';
|
|
5
|
-
import { useAppConfigs, useAppUser } from 'commons/components/app/hooks';
|
|
6
|
-
import LeftNavDrawer from 'commons/components/leftnav/LeftNavDrawer';
|
|
7
|
-
import AppBar from 'commons/components/topnav/AppBar';
|
|
8
|
-
import useLocalStorageItem from 'commons/components/utils/hooks/useLocalStorageItem';
|
|
2
|
+
import { type AppLayoutMode } from '@cccsaurora/howler-ui/commons/components/app/AppConfigs';
|
|
3
|
+
import { AppStorageKeys } from '@cccsaurora/howler-ui/commons/components/app/AppConstants';
|
|
4
|
+
import { AppLayoutContext } from '@cccsaurora/howler-ui/commons/components/app/AppContexts';
|
|
5
|
+
import { useAppConfigs, useAppUser } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
6
|
+
import LeftNavDrawer from '@cccsaurora/howler-ui/commons/components/leftnav/LeftNavDrawer';
|
|
7
|
+
import AppBar from '@cccsaurora/howler-ui/commons/components/topnav/AppBar';
|
|
8
|
+
import useLocalStorageItem from '@cccsaurora/howler-ui/commons/components/utils/hooks/useLocalStorageItem';
|
|
9
9
|
import { useCallback, useMemo, useState, type ReactNode } from 'react';
|
|
10
10
|
|
|
11
11
|
const { LS_KEY_LAYOUT_MODE } = AppStorageKeys;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { type AppLeftNavElement } from 'commons/components/app/AppConfigs';
|
|
2
|
-
import { AppStorageKeys } from 'commons/components/app/AppConstants';
|
|
3
|
-
import { AppLeftNavContext } from 'commons/components/app/AppContexts';
|
|
4
|
-
import { useAppConfigs } from 'commons/components/app/hooks';
|
|
5
|
-
import useLocalStorageItem from 'commons/components/utils/hooks/useLocalStorageItem';
|
|
1
|
+
import { type AppLeftNavElement } from '@cccsaurora/howler-ui/commons/components/app/AppConfigs';
|
|
2
|
+
import { AppStorageKeys } from '@cccsaurora/howler-ui/commons/components/app/AppConstants';
|
|
3
|
+
import { AppLeftNavContext } from '@cccsaurora/howler-ui/commons/components/app/AppContexts';
|
|
4
|
+
import { useAppConfigs } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
5
|
+
import useLocalStorageItem from '@cccsaurora/howler-ui/commons/components/utils/hooks/useLocalStorageItem';
|
|
6
6
|
import { useCallback, useMemo, useState, type ReactNode } from 'react';
|
|
7
7
|
|
|
8
8
|
const { LS_KEY_LEFTNAV_OPEN } = AppStorageKeys;
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
type AppNotificationService,
|
|
4
4
|
type AppNotificationServiceContextType,
|
|
5
5
|
type AppNotificationServiceState
|
|
6
|
-
} from 'commons/components/app/AppContexts';
|
|
6
|
+
} from '@cccsaurora/howler-ui/commons/components/app/AppContexts';
|
|
7
7
|
import { useMemo, useState, type ReactElement } from 'react';
|
|
8
8
|
|
|
9
9
|
const DEFAULT_CONTEXT: AppNotificationServiceContextType = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AppStorageKeys } from 'commons/components/app/AppConstants';
|
|
2
|
-
import { AppQuickSearchContext } from 'commons/components/app/AppContexts';
|
|
3
|
-
import { type AppSearchService } from 'commons/components/app/AppSearchService';
|
|
4
|
-
import { useAppConfigs } from 'commons/components/app/hooks';
|
|
5
|
-
import AppSearchServiceProvider from 'commons/components/app/providers/AppSearchServiceProvider';
|
|
6
|
-
import useLocalStorageItem from 'commons/components/utils/hooks/useLocalStorageItem';
|
|
1
|
+
import { AppStorageKeys } from '@cccsaurora/howler-ui/commons/components/app/AppConstants';
|
|
2
|
+
import { AppQuickSearchContext } from '@cccsaurora/howler-ui/commons/components/app/AppContexts';
|
|
3
|
+
import { type AppSearchService } from '@cccsaurora/howler-ui/commons/components/app/AppSearchService';
|
|
4
|
+
import { useAppConfigs } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
5
|
+
import AppSearchServiceProvider from '@cccsaurora/howler-ui/commons/components/app/providers/AppSearchServiceProvider';
|
|
6
|
+
import useLocalStorageItem from '@cccsaurora/howler-ui/commons/components/utils/hooks/useLocalStorageItem';
|
|
7
7
|
import { useMemo, type ReactElement } from 'react';
|
|
8
8
|
|
|
9
9
|
const { LS_KEY_SHOW_QUICK_SEARCH } = AppStorageKeys;
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
AppSearchServiceContext,
|
|
3
3
|
type AppSearchServiceContextType,
|
|
4
4
|
type AppSearchServiceState
|
|
5
|
-
} from 'commons/components/app/AppContexts';
|
|
6
|
-
import type { AppSearchService } from 'commons/components/app/AppSearchService';
|
|
7
|
-
import { useAppConfigs } from 'commons/components/app/hooks';
|
|
5
|
+
} from '@cccsaurora/howler-ui/commons/components/app/AppContexts';
|
|
6
|
+
import type { AppSearchService } from '@cccsaurora/howler-ui/commons/components/app/AppSearchService';
|
|
7
|
+
import { useAppConfigs } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
8
8
|
import { useMemo, useState, type ReactElement } from 'react';
|
|
9
9
|
import { useNavigate } from 'react-router-dom';
|
|
10
10
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { AppSwitcherItem } from 'commons/components/app/AppConfigs';
|
|
1
|
+
import type { AppSwitcherItem } from '@cccsaurora/howler-ui/commons/components/app/AppConfigs';
|
|
2
2
|
import { useMemo, useState, type ReactNode } from 'react';
|
|
3
3
|
|
|
4
|
-
import { AppSwitcherContext } from 'commons/components/app/AppContexts';
|
|
5
|
-
import { useAppConfigs } from 'commons/components/app/hooks';
|
|
4
|
+
import { AppSwitcherContext } from '@cccsaurora/howler-ui/commons/components/app/AppContexts';
|
|
5
|
+
import { useAppConfigs } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
6
6
|
|
|
7
7
|
type AppSwitcherProviderProps = {
|
|
8
8
|
children: ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AppUserContext } from 'commons/components/app/AppContexts';
|
|
2
|
-
import type { AppUser, AppUserService } from 'commons/components/app/AppUserService';
|
|
1
|
+
import { AppUserContext } from '@cccsaurora/howler-ui/commons/components/app/AppContexts';
|
|
2
|
+
import type { AppUser, AppUserService } from '@cccsaurora/howler-ui/commons/components/app/AppUserService';
|
|
3
3
|
import { type ReactNode } from 'react';
|
|
4
4
|
|
|
5
5
|
type AppUserProviderProps<U extends AppUser> = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useTheme } from '@mui/material';
|
|
2
|
-
import { type BreadcrumbItem } from 'commons/components/app/hooks/useAppSitemap';
|
|
2
|
+
import { type BreadcrumbItem } from '@cccsaurora/howler-ui/commons/components/app/hooks/useAppSitemap';
|
|
3
3
|
|
|
4
4
|
type BreadcrumbIconProps = {
|
|
5
5
|
item: BreadcrumbItem;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Tooltip, Typography } from '@mui/material';
|
|
2
|
-
import { useAppSitemap, type BreadcrumbItem } from 'commons/components/app/hooks';
|
|
3
|
-
import BreadcrumbIcon from 'commons/components/breadcrumbs/BreadcrumbIcon';
|
|
2
|
+
import { useAppSitemap, type BreadcrumbItem } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
3
|
+
import BreadcrumbIcon from '@cccsaurora/howler-ui/commons/components/breadcrumbs/BreadcrumbIcon';
|
|
4
4
|
|
|
5
5
|
type BreadcrumbLastItemProps = {
|
|
6
6
|
textOnly?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Link, Tooltip } from '@mui/material';
|
|
2
|
-
import { useAppSitemap, type BreadcrumbItem } from 'commons/components/app/hooks';
|
|
3
|
-
import BreadcrumbIcon from 'commons/components/breadcrumbs/BreadcrumbIcon';
|
|
2
|
+
import { useAppSitemap, type BreadcrumbItem } from '@cccsaurora/howler-ui/commons/components/app/hooks';
|
|
3
|
+
import BreadcrumbIcon from '@cccsaurora/howler-ui/commons/components/breadcrumbs/BreadcrumbIcon';
|
|
4
4
|
import { Link as RouterLink } from 'react-router-dom';
|
|
5
5
|
|
|
6
6
|
type BreadcrumbLinkItemProps = {
|