@orchestrator-ui/orchestrator-ui-components 0.2.0 → 0.2.2
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/.storybook/main.js +28 -0
- package/.storybook/preview.js +14 -0
- package/.turbo/turbo-build.log +4 -4
- package/.turbo/turbo-lint.log +5 -10
- package/.turbo/turbo-test.log +9 -11
- package/CHANGELOG.md +12 -0
- package/dist/index.d.ts +683 -562
- package/dist/index.js +4088 -525
- package/package.json +19 -5
- package/src/components/{Badges/Badge/Badge.stories.tsx → WFOBadges/WFOBadge/WFOBadge.stories.tsx} +4 -4
- package/src/components/{Badges/Badge/Badge.tsx → WFOBadges/WFOBadge/WFOBadge.tsx} +2 -2
- package/src/components/WFOBadges/WFOBadge/index.ts +1 -0
- package/src/components/{Badges/EngineStatusBadge/EngineStatusBadge.stories.tsx → WFOBadges/WFOEngineStatusBadge/WFOEngineStatusBadge.stories.tsx} +4 -4
- package/src/components/{Badges/EngineStatusBadge/EngineStatusBadge.tsx → WFOBadges/WFOEngineStatusBadge/WFOEngineStatusBadge.tsx} +6 -6
- package/src/components/WFOBadges/WFOEngineStatusBadge/index.ts +1 -0
- package/src/components/{Badges/EnvironmentBadge/EnvironmentBadge.stories.tsx → WFOBadges/WFOEnvironmentBadge/WFOEnvironmentBadge.stories.tsx} +4 -4
- package/src/components/{Badges/EnvironmentBadge/EnvironmentBadge.tsx → WFOBadges/WFOEnvironmentBadge/WFOEnvironmentBadge.tsx} +6 -6
- package/src/components/WFOBadges/WFOEnvironmentBadge/index.ts +1 -0
- package/src/components/WFOBadges/WFOFailedTasksBadge/WFOFailedTasksBadge.stories.tsx +12 -0
- package/src/components/{Badges/FailedTasksBadge/FailedTasksBadge.tsx → WFOBadges/WFOFailedTasksBadge/WFOFailedTasksBadge.tsx} +6 -6
- package/src/components/WFOBadges/WFOFailedTasksBadge/index.ts +1 -0
- package/src/components/{Badges/HeaderBadge/HeaderBadge.stories.tsx → WFOBadges/WFOHeaderBadge/WFOHeaderBadge.stories.tsx} +4 -4
- package/src/components/{Badges/HeaderBadge/HeaderBadge.tsx → WFOBadges/WFOHeaderBadge/WFOHeaderBadge.tsx} +4 -4
- package/src/components/WFOBadges/WFOHeaderBadge/index.ts +1 -0
- package/src/components/WFOBadges/WFOProcessStatusBadge/WFOProcessStatusBadge.tsx +71 -0
- package/src/components/WFOBadges/WFOProcessStatusBadge/index.ts +1 -0
- package/src/components/{Badges → WFOBadges}/WFOProductBlockBadge/WFOProductBlockBadge.stories.tsx +1 -1
- package/src/components/{Badges → WFOBadges}/WFOProductBlockBadge/WFOProductBlockBadge.tsx +3 -3
- package/src/components/{Badges → WFOBadges}/WFOStatusBadge/WFOStatusBadge.stories.tsx +1 -1
- package/src/components/{Badges → WFOBadges}/WFOStatusBadge/WFOStatusBadge.tsx +3 -3
- package/src/components/WFOBadges/index.ts +8 -0
- package/src/components/{Breadcrumbs/Breadcrumbs.tsx → WFOBreadcrumbs/WFOBreadcrumbs.tsx} +1 -1
- package/src/components/WFOBreadcrumbs/index.ts +1 -0
- package/src/components/WFOFilterTabs/WFOFilterTabs.tsx +43 -0
- package/src/components/WFOFilterTabs/index.ts +1 -0
- package/src/components/WFOLoading/WFOLoading.tsx +2 -0
- package/src/components/WFOLoading/index.ts +1 -0
- package/src/components/{OrchestratorPageTemplate/OrchestratorPageHeader/OrchestratorPageHeader.stories.tsx → WFOPageTemplate/WFOPageHeader/WFOPageHeader.stories.tsx} +5 -13
- package/src/components/{OrchestratorPageTemplate/OrchestratorPageHeader/OrchestratorPageHeader.tsx → WFOPageTemplate/WFOPageHeader/WFOPageHeader.tsx} +10 -10
- package/src/components/WFOPageTemplate/WFOPageHeader/index.ts +1 -0
- package/src/components/WFOPageTemplate/WFOPageTemplate/WFOPageTemplate.stories.tsx +24 -0
- package/src/components/{OrchestratorPageTemplate/OrchestratorPageTemplate/OrchestratorPageTemplate.tsx → WFOPageTemplate/WFOPageTemplate/WFOPageTemplate.tsx} +6 -6
- package/src/components/WFOPageTemplate/WFOPageTemplate/index.ts +1 -0
- package/src/components/{OrchestratorPageTemplate/OrchestratorSidebar/OrchestratorSidebar.stories.tsx → WFOPageTemplate/WFOSidebar/WFOSidebar.stories.tsx} +4 -4
- package/src/components/{OrchestratorPageTemplate/OrchestratorSidebar/OrchestratorSidebar.tsx → WFOPageTemplate/WFOSidebar/WFOSidebar.tsx} +2 -14
- package/src/components/WFOPageTemplate/WFOSidebar/index.ts +1 -0
- package/src/components/WFOPageTemplate/index.ts +3 -0
- package/src/components/{SearchBar/SearchField.tsx → WFOSearchBar/WFOSearchField.tsx} +3 -3
- package/src/components/WFOSearchBar/index.ts +1 -0
- package/src/components/WFOSettingsModal/index.tsx +1 -0
- package/src/components/{SettingsPage/EngineStatusButton.tsx → WFOSettingsPage/WFOEngineStatusButton.tsx} +2 -2
- package/src/components/{SettingsPage/FlushSettings.tsx → WFOSettingsPage/WFOFlushSettings.tsx} +1 -1
- package/src/components/{SettingsPage/ModifySettings.tsx → WFOSettingsPage/WFOModifySettings.tsx} +4 -4
- package/src/components/{SettingsPage/Settings.tsx → WFOSettingsPage/WFOSettings.tsx} +7 -7
- package/src/components/{SettingsPage/Status.tsx → WFOSettingsPage/WFOStatus.tsx} +4 -4
- package/src/components/WFOSettingsPage/index.ts +1 -0
- package/src/components/{StartPage/FrequentlyUsed.stories.tsx → WFOStartPage/WFOFrequentlyUsed.stories.tsx} +4 -4
- package/src/components/{StartPage/FrequentlyUsed.tsx → WFOStartPage/WFOFrequentlyUsed.tsx} +2 -2
- package/src/components/{StartPage/ListItemStartPage.stories.tsx → WFOStartPage/WFOListItemStartPage.stories.tsx} +4 -4
- package/src/components/{StartPage/ListItemStartPage.tsx → WFOStartPage/WFOListItemStartPage.tsx} +10 -7
- package/src/components/{StartPage/ListStartPage.stories.tsx → WFOStartPage/WFOListStartPage.stories.tsx} +4 -4
- package/src/components/{StartPage/ListStartPage.tsx → WFOStartPage/WFOListStartPage.tsx} +9 -4
- package/src/components/{StartPage/MultiListSection.stories.tsx → WFOStartPage/WFOMultiListSection.stories.tsx} +4 -4
- package/src/components/{StartPage/MultiListSection.tsx → WFOStartPage/WFOMultiListSection.tsx} +5 -5
- package/src/components/WFOStartPage/WFONewProcessPanel.stories.tsx +12 -0
- package/src/components/{StartPage/NewProcessPanel.tsx → WFOStartPage/WFONewProcessPanel.tsx} +3 -3
- package/src/components/WFOStartPage/WFOStatCards.stories.tsx +12 -0
- package/src/components/{StartPage/StatCards.tsx → WFOStartPage/WFOStatCards.tsx} +1 -1
- package/src/components/WFOStartPage/index.ts +6 -0
- package/src/components/{Subscription/FixedInputBlock.tsx → WFOSubscription/WFOFixedInputBlock.tsx} +2 -2
- package/src/components/{Subscription/ProcessesTimeline.tsx → WFOSubscription/WFOProcessesTimeline.tsx} +4 -4
- package/src/components/{Subscription/ProductBlock.tsx → WFOSubscription/WFOProductBlock.tsx} +5 -1
- package/src/components/{Subscription/SubscriptionActions.tsx → WFOSubscription/WFOSubscriptionActions.tsx} +1 -1
- package/src/components/{Subscription/SubscriptionBlock.tsx → WFOSubscription/WFOSubscriptionBlock.tsx} +5 -5
- package/src/components/{Subscription/SubscriptionDetailTree.tsx → WFOSubscription/WFOSubscriptionDetailTree.tsx} +5 -5
- package/src/components/{Subscription/SubscriptionGeneral.tsx → WFOSubscription/WFOSubscriptionGeneral.tsx} +9 -6
- package/src/components/WFOSubscription/index.ts +7 -0
- package/src/components/{Table/DataGridTable/DataGridTable.stories.tsx → WFOTable/WFODataGridTable/WFODataGridTable.stories.tsx} +6 -6
- package/src/components/{Table/DataGridTable/DataGridTable.tsx → WFOTable/WFODataGridTable/WFODataGridTable.tsx} +14 -14
- package/src/components/{Table/DataGridTable/dataGridColumns.spec.ts → WFOTable/WFODataGridTable/WFOdataGridColumns.spec.ts} +6 -6
- package/src/components/{Table/DataGridTable/dataGridColumns.ts → WFOTable/WFODataGridTable/WFOdataGridColumns.ts} +6 -6
- package/src/components/{Table/SortDirectionIcon.tsx → WFOTable/WFOSortDirectionIcon.tsx} +6 -6
- package/src/components/{Table/Table.tsx → WFOTable/WFOTable.tsx} +13 -13
- package/src/components/{Table/TableHeaderCell.tsx → WFOTable/WFOTableHeaderCell.tsx} +4 -4
- package/src/components/{Table/TableSettingsModal/TableSettingsModal.tsx → WFOTable/WFOTableSettingsModal/WFOTableSettingsModal.tsx} +1 -1
- package/src/components/WFOTable/WFOTableSettingsModal/index.ts +1 -0
- package/src/components/{Table/TableWithFilter/TableWithFilter.tsx → WFOTable/WFOTableWithFilter/WFOTableWithFilter.tsx} +31 -24
- package/src/components/WFOTable/WFOTableWithFilter/index.ts +1 -0
- package/src/components/WFOTable/index.ts +14 -0
- package/src/components/{Table → WFOTable}/utils/columns.ts +10 -10
- package/src/components/WFOTable/utils/constants.ts +15 -0
- package/src/components/{Tree/Tree.tsx → WFOTree/WFOTree.tsx} +4 -4
- package/src/components/{Tree/TreeBranch.tsx → WFOTree/WFOTreeBranch.tsx} +9 -5
- package/src/components/{Tree/TreeNode.tsx → WFOTree/WFOTreeNode.tsx} +6 -2
- package/src/components/index.ts +11 -11
- package/src/graphqlQueries/index.ts +3 -0
- package/src/graphqlQueries/processListQuery.ts +53 -0
- package/src/graphqlQueries/productBlocksQuery.ts +41 -0
- package/src/graphqlQueries/productsQuery.ts +47 -0
- package/src/graphqlQueries/resourceTypesQuery.ts +35 -0
- package/src/graphqlQueries/workflowsQuery.ts +37 -0
- package/src/hooks/useDataDisplayParams.ts +1 -1
- package/src/hooks/useProcessStatusCountsQuery.ts +1 -0
- package/src/hooks/useSubscriptionProcesses.ts +2 -1
- package/src/icons/{ArrowNarrowDown.tsx → WFOArrowNarrowDown.tsx} +2 -2
- package/src/icons/{ArrowNarrowUp.tsx → WFOArrowNarrowUp.tsx} +2 -2
- package/src/icons/WFOCheckmarkCircleFill.stories.tsx +12 -0
- package/src/icons/{CheckmarkCircleFill.tsx → WFOCheckmarkCircleFill.tsx} +2 -2
- package/src/icons/{ChevronDown.tsx → WFOChevronDown.tsx} +2 -2
- package/src/icons/{IconProps.ts → WFOIconProps.ts} +1 -1
- package/src/icons/WFOLogoutIcon.stories.tsx +12 -0
- package/src/icons/{LogoutIcon.tsx → WFOLogoutIcon.tsx} +2 -2
- package/src/icons/WFOMinusCircleOutline.stories.tsx +12 -0
- package/src/icons/{MinusCircleOutline.tsx → WFOMinusCircleOutline.tsx} +2 -2
- package/src/icons/WFOPlusCircleFill.stories.tsx +12 -0
- package/src/icons/{PlusCircleFill.tsx → WFOPlusCircleFill.tsx} +2 -2
- package/src/icons/WFOStatusDotIcon.stories.tsx +12 -0
- package/src/icons/{StatusDotIcon.tsx → WFOStatusDotIcon.tsx} +2 -2
- package/src/icons/WFOXCircleFill.stories.tsx +12 -0
- package/src/icons/{XCircleFill.tsx → WFOXCircleFill.tsx} +2 -2
- package/src/icons/index.ts +10 -10
- package/src/index.ts +1 -0
- package/src/messages/en-US.json +48 -4
- package/src/messages/nl-NL.json +67 -3
- package/src/pages/index.ts +3 -0
- package/src/pages/metadata/WFOMetadataPageLayout.tsx +70 -0
- package/src/pages/metadata/WFOProductBlocksPage.tsx +164 -0
- package/src/pages/metadata/WFOProductsPage.tsx +169 -0
- package/src/pages/metadata/WFOResourceTypesPage.tsx +120 -0
- package/src/pages/metadata/WFOWorkflowsPage.tsx +251 -0
- package/src/pages/metadata/index.ts +4 -0
- package/src/pages/processes/WFOProcessListPage.tsx +204 -0
- package/src/pages/processes/WFOProcessesListSubscriptionsCell.tsx +28 -0
- package/src/pages/processes/getProcessListTabTypeFromString.ts +19 -0
- package/src/pages/processes/index.ts +4 -0
- package/src/pages/processes/tabConfig.ts +33 -0
- package/src/pages/processes/tableConfig.ts +22 -0
- package/src/pages/subscriptions/index.ts +2 -0
- package/src/pages/subscriptions/subscriptionListTabs.ts +71 -0
- package/src/pages/subscriptions/types.ts +13 -0
- package/src/stories/Button.jsx +54 -0
- package/src/stories/Button.stories.js +45 -0
- package/src/stories/Configure.mdx +446 -0
- package/src/stories/Header.jsx +59 -0
- package/src/stories/Header.stories.js +23 -0
- package/src/stories/Page.jsx +68 -0
- package/src/stories/Page.stories.js +24 -0
- package/src/stories/assets/accessibility.png +0 -0
- package/src/stories/assets/accessibility.svg +5 -0
- package/src/stories/assets/addon-library.png +0 -0
- package/src/stories/assets/assets.png +0 -0
- package/src/stories/assets/context.png +0 -0
- package/src/stories/assets/discord.svg +15 -0
- package/src/stories/assets/docs.png +0 -0
- package/src/stories/assets/figma-plugin.png +0 -0
- package/src/stories/assets/github.svg +3 -0
- package/src/stories/assets/share.png +0 -0
- package/src/stories/assets/styling.png +0 -0
- package/src/stories/assets/testing.png +0 -0
- package/src/stories/assets/theming.png +0 -0
- package/src/stories/assets/tutorials.svg +12 -0
- package/src/stories/assets/youtube.svg +4 -0
- package/src/stories/button.css +30 -0
- package/src/stories/header.css +32 -0
- package/src/stories/page.css +69 -0
- package/src/types.ts +107 -9
- package/.turbo/turbo-tsc.log +0 -1
- package/src/components/Badges/Badge/index.ts +0 -1
- package/src/components/Badges/EngineStatusBadge/index.ts +0 -1
- package/src/components/Badges/EnvironmentBadge/index.ts +0 -1
- package/src/components/Badges/FailedTasksBadge/FailedTasksBadge.stories.tsx +0 -12
- package/src/components/Badges/FailedTasksBadge/index.ts +0 -1
- package/src/components/Badges/HeaderBadge/index.ts +0 -1
- package/src/components/Badges/ProcessStatusBadge/ProcessStatusBadge.tsx +0 -46
- package/src/components/Badges/ProcessStatusBadge/index.ts +0 -1
- package/src/components/Badges/index.ts +0 -8
- package/src/components/Breadcrumbs/index.ts +0 -1
- package/src/components/Loading/Loading.tsx +0 -2
- package/src/components/Loading/index.ts +0 -1
- package/src/components/OrchestratorPageTemplate/OrchestratorPageHeader/index.ts +0 -1
- package/src/components/OrchestratorPageTemplate/OrchestratorPageTemplate/OrchestratorPageTemplate.stories.tsx +0 -32
- package/src/components/OrchestratorPageTemplate/OrchestratorPageTemplate/index.ts +0 -1
- package/src/components/OrchestratorPageTemplate/OrchestratorSidebar/index.ts +0 -1
- package/src/components/OrchestratorPageTemplate/index.ts +0 -3
- package/src/components/SearchBar/index.ts +0 -1
- package/src/components/SettingsModal/index.tsx +0 -1
- package/src/components/SettingsPage/index.ts +0 -1
- package/src/components/StartPage/NewProcessPanel.stories.tsx +0 -12
- package/src/components/StartPage/StatCards.stories.tsx +0 -12
- package/src/components/StartPage/index.ts +0 -6
- package/src/components/Subscription/index.ts +0 -7
- package/src/components/SubscriptionsTabs/SubscriptionsTabs.tsx +0 -90
- package/src/components/SubscriptionsTabs/getSubscriptionsTabTypeFromString.spec.ts +0 -34
- package/src/components/SubscriptionsTabs/getSubscriptionsTabTypeFromString.ts +0 -23
- package/src/components/SubscriptionsTabs/index.ts +0 -2
- package/src/components/Table/TableSettingsModal/index.ts +0 -1
- package/src/components/Table/TableWithFilter/index.ts +0 -1
- package/src/components/Table/index.ts +0 -14
- package/src/components/Table/utils/constants.ts +0 -2
- package/src/icons/CheckmarkCircleFill.stories.tsx +0 -12
- package/src/icons/LogoutIcon.stories.tsx +0 -12
- package/src/icons/MinusCircleOutline.stories.tsx +0 -12
- package/src/icons/PlusCircleFill.stories.tsx +0 -12
- package/src/icons/StatusDotIcon.stories.tsx +0 -12
- package/src/icons/XCircleFill.stories.tsx +0 -12
- package/tsconfig.tsbuildinfo +0 -1
- /package/src/components/{Badges → WFOBadges}/WFOProductBlockBadge/index.ts +0 -0
- /package/src/components/{Badges → WFOBadges}/WFOStatusBadge/index.ts +0 -0
- /package/src/components/{SettingsModal/SettingsModal.tsx → WFOSettingsModal/WFOSettingsModal.tsx} +0 -0
- /package/src/components/{Subscription → WFOSubscription}/styles.ts +0 -0
- /package/src/components/{Table → WFOTable}/utils/columns.spec.ts +0 -0
- /package/src/components/{Table → WFOTable}/utils/tableConfigPersistence.spec.ts +0 -0
- /package/src/components/{Table → WFOTable}/utils/tableConfigPersistence.ts +0 -0
- /package/src/components/{Table → WFOTable}/utils/tableUtils.spec.ts +0 -0
- /package/src/components/{Table → WFOTable}/utils/tableUtils.ts +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -3,628 +3,749 @@ import { EuiBadgeProps, EuiBasicTableColumn, EuiDataGridColumn, Pagination as Pa
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default, { ReactNode, FC, ReactElement, FunctionComponent } from 'react';
|
|
5
5
|
import { TextColor } from '@elastic/eui/src/components/text/text_color';
|
|
6
|
+
import * as react_query from 'react-query';
|
|
6
7
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
7
8
|
import { _EuiThemeColorsMode } from '@elastic/eui/src/global_styling/variables/colors';
|
|
8
9
|
import { EuiDataGridControlColumn, EuiDataGridSorting, EuiDataGridPaginationProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
9
10
|
import { Criteria } from '@elastic/eui/src/components/basic_table/basic_table';
|
|
10
|
-
import * as react_query from 'react-query';
|
|
11
11
|
import { TypedDocumentNode } from '@graphql-typed-document-node/core';
|
|
12
12
|
import { Variables } from 'graphql-request/build/cjs/types';
|
|
13
13
|
import { AbstractIntlMessages } from 'next-intl';
|
|
14
14
|
|
|
15
|
-
type
|
|
16
|
-
textColor: TextColor | string;
|
|
17
|
-
children: ReactNode;
|
|
18
|
-
};
|
|
19
|
-
declare const
|
|
15
|
+
type WFOBadgeProps = EuiBadgeProps & {
|
|
16
|
+
textColor: TextColor | string;
|
|
17
|
+
children: ReactNode;
|
|
18
|
+
};
|
|
19
|
+
declare const WFOBadge: FC<WFOBadgeProps>;
|
|
20
20
|
|
|
21
|
-
type WFOStatusBadgeProps = {
|
|
22
|
-
status: string;
|
|
23
|
-
};
|
|
21
|
+
type WFOStatusBadgeProps = {
|
|
22
|
+
status: string;
|
|
23
|
+
};
|
|
24
24
|
declare const WFOStatusBadge: FC<WFOStatusBadgeProps>;
|
|
25
25
|
|
|
26
|
-
type WFOProductBlockBadgeProps = {
|
|
27
|
-
children: string;
|
|
28
|
-
};
|
|
26
|
+
type WFOProductBlockBadgeProps = {
|
|
27
|
+
children: string;
|
|
28
|
+
};
|
|
29
29
|
declare const WFOProductBlockBadge: FC<WFOProductBlockBadgeProps>;
|
|
30
30
|
|
|
31
|
-
type ProcessStatusBadgeProps = {
|
|
32
|
-
processStatus: string;
|
|
33
|
-
};
|
|
34
|
-
declare const ProcessStatusBadge: FC<ProcessStatusBadgeProps>;
|
|
35
|
-
|
|
36
|
-
declare const FailedTasksBadge: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
37
|
-
|
|
38
|
-
declare const EnvironmentBadge: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
39
|
-
|
|
40
|
-
declare const EngineStatusBadge: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
41
|
-
|
|
42
|
-
type HeaderBadgeProps = EuiBadgeProps & {
|
|
43
|
-
textColor: TextColor | string;
|
|
44
|
-
children: ReactNode;
|
|
45
|
-
};
|
|
46
|
-
declare const HeaderBadge: FC<HeaderBadgeProps>;
|
|
47
|
-
|
|
48
|
-
declare const Breadcrumbs: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
49
|
-
|
|
50
|
-
interface OrchestratorPageHeaderProps {
|
|
51
|
-
navigationHeight: number;
|
|
52
|
-
getAppLogo: (navigationHeight: number) => ReactElement;
|
|
53
|
-
handleLogoutClick: () => void;
|
|
54
|
-
}
|
|
55
|
-
declare const OrchestratorPageHeader: FC<OrchestratorPageHeaderProps>;
|
|
56
|
-
|
|
57
|
-
interface OrchestratorPageTemplateProps {
|
|
58
|
-
getAppLogo: (navigationHeight: number) => ReactElement;
|
|
59
|
-
children: ReactNode;
|
|
60
|
-
}
|
|
61
|
-
declare const OrchestratorPageTemplate: FC<OrchestratorPageTemplateProps>;
|
|
62
|
-
|
|
63
|
-
declare const OrchestratorSidebar: FC;
|
|
64
|
-
|
|
65
|
-
type SearchFieldProps = {
|
|
66
|
-
__filterQuery?: string;
|
|
67
|
-
__setFilterQuery?: (updatedFilterQuery: string) => void;
|
|
68
|
-
esQueryString?: string;
|
|
69
|
-
onUpdateEsQueryString?: (esQueryString: string) => void;
|
|
70
|
-
};
|
|
71
|
-
declare const SearchField: ({ __filterQuery, __setFilterQuery, esQueryString, onUpdateEsQueryString, }: SearchFieldProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
72
|
-
|
|
73
|
-
type SettingsModalProps = {
|
|
74
|
-
title: string;
|
|
75
|
-
onClose: () => void;
|
|
76
|
-
onResetToDefaults: () => void;
|
|
77
|
-
onUpdateTableConfig: () => void;
|
|
78
|
-
children: ReactNode;
|
|
79
|
-
};
|
|
80
|
-
declare const SettingsModal: FC<SettingsModalProps>;
|
|
81
|
-
|
|
82
|
-
declare const Settings: FunctionComponent;
|
|
83
|
-
|
|
84
|
-
interface FrequentlyUsedProps {
|
|
85
|
-
values: string[];
|
|
86
|
-
}
|
|
87
|
-
declare const FrequentlyUsed: FC<FrequentlyUsedProps>;
|
|
88
|
-
|
|
89
|
-
type Nullable<T> = T | null;
|
|
90
|
-
type GenericField = {
|
|
91
|
-
[key: string]: number | string | boolean;
|
|
92
|
-
};
|
|
93
|
-
type EngineStatusValue = 'RUNNING' | 'PAUSING' | 'PAUSED';
|
|
94
|
-
type CustomerBase = {
|
|
95
|
-
name: string;
|
|
96
|
-
abbreviation?: string;
|
|
97
|
-
} & GenericField;
|
|
98
|
-
type ProductBase = {
|
|
99
|
-
name: string;
|
|
100
|
-
description: string;
|
|
101
|
-
status: string;
|
|
102
|
-
tag: string;
|
|
103
|
-
type: string;
|
|
104
|
-
createdAt: string;
|
|
105
|
-
endDate?: string | null;
|
|
106
|
-
} & GenericField;
|
|
107
|
-
type ResourceTypeBase = {
|
|
108
|
-
name: string;
|
|
109
|
-
title: string;
|
|
110
|
-
subscriptionInstanceId: string;
|
|
111
|
-
ownerSubscriptionId: string;
|
|
112
|
-
label?: string;
|
|
113
|
-
} & GenericField;
|
|
114
|
-
type ProductBlockBase = {
|
|
115
|
-
id: number;
|
|
116
|
-
ownerSubscriptionId: string;
|
|
117
|
-
parent: Nullable<number>;
|
|
118
|
-
resourceTypes: ResourceTypeBase;
|
|
119
|
-
};
|
|
120
|
-
type FixedInputsBase = GenericField;
|
|
121
|
-
type ExternalServiceBase = {
|
|
122
|
-
externalServiceKey: string;
|
|
123
|
-
externalServiceId: string;
|
|
124
|
-
externalServiceData: any;
|
|
125
|
-
} & GenericField;
|
|
126
|
-
type SubscriptionDetailBase = {
|
|
127
|
-
subscriptionId: string;
|
|
128
|
-
description: string;
|
|
129
|
-
customerId?: string | null;
|
|
130
|
-
insync: boolean;
|
|
131
|
-
status: string;
|
|
132
|
-
startDate?: string | null;
|
|
133
|
-
endDate?: string | null;
|
|
134
|
-
note?: string;
|
|
135
|
-
product: ProductBase;
|
|
136
|
-
fixedInputs: FixedInputsBase;
|
|
137
|
-
customer?: CustomerBase;
|
|
138
|
-
productBlocks: ProductBlockBase[];
|
|
139
|
-
externalServices?: ExternalServiceBase[];
|
|
140
|
-
};
|
|
141
|
-
interface TreeBlock extends ProductBlockBase {
|
|
142
|
-
icon: string;
|
|
143
|
-
label: string;
|
|
144
|
-
callback: () => void;
|
|
145
|
-
children: TreeBlock[];
|
|
146
|
-
}
|
|
147
|
-
interface ItemsList {
|
|
148
|
-
type: string;
|
|
149
|
-
title: string;
|
|
150
|
-
items: Process$1[];
|
|
151
|
-
buttonName: string;
|
|
152
|
-
}
|
|
153
|
-
interface TotalStat {
|
|
154
|
-
icon: string;
|
|
155
|
-
name: string;
|
|
156
|
-
value: number;
|
|
157
|
-
color: keyof _EuiThemeColorsMode;
|
|
158
|
-
}
|
|
159
|
-
interface Process$1 {
|
|
160
|
-
pid: string;
|
|
161
|
-
workflow: string;
|
|
162
|
-
assignee: string;
|
|
163
|
-
last_status: string;
|
|
164
|
-
failed_reason: Nullable<string>;
|
|
165
|
-
traceback: string;
|
|
166
|
-
step: string;
|
|
167
|
-
created_by: string;
|
|
168
|
-
started_at: number;
|
|
169
|
-
last_modified_at: number;
|
|
170
|
-
is_task: boolean;
|
|
171
|
-
}
|
|
172
|
-
interface Product {
|
|
173
|
-
name: string;
|
|
174
|
-
description: string;
|
|
175
|
-
tag: string;
|
|
176
|
-
productType: string;
|
|
177
|
-
status: string;
|
|
178
|
-
productBlocks: ProductBlock$1[];
|
|
179
|
-
createdAt: Date | null;
|
|
180
|
-
}
|
|
181
|
-
interface ProductBlock$1 {
|
|
182
|
-
name: string;
|
|
183
|
-
}
|
|
184
|
-
type Field<Type> = keyof Type;
|
|
185
|
-
declare enum SortOrder {
|
|
186
|
-
ASC = "ASC",
|
|
187
|
-
DESC = "DESC"
|
|
188
|
-
}
|
|
189
|
-
type GraphQLSort<Type> = {
|
|
190
|
-
field: keyof Type;
|
|
191
|
-
order: SortOrder;
|
|
192
|
-
};
|
|
193
|
-
type GraphqlFilter<Type> = {
|
|
194
|
-
field: keyof Type;
|
|
195
|
-
value: string;
|
|
196
|
-
};
|
|
197
|
-
type GraphqlQueryVariables<Type> = {
|
|
198
|
-
first: number;
|
|
199
|
-
after: number;
|
|
200
|
-
sortBy?: GraphQLSort<Type>;
|
|
201
|
-
filterBy?: GraphqlFilter<Type>[];
|
|
202
|
-
};
|
|
203
|
-
interface CacheOption {
|
|
204
|
-
value: string;
|
|
205
|
-
label: string;
|
|
206
|
-
}
|
|
207
|
-
declare enum Locale {
|
|
208
|
-
enUS = "en-Us",
|
|
209
|
-
nlNL = "nl-NL"
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
interface Subscription {
|
|
213
|
-
name: string;
|
|
214
|
-
subscription_id: string;
|
|
215
|
-
description: string;
|
|
216
|
-
product: ProductBase;
|
|
217
|
-
product_id: string;
|
|
218
|
-
status: string;
|
|
219
|
-
insync: boolean;
|
|
220
|
-
customer_id: string;
|
|
221
|
-
start_date: number;
|
|
222
|
-
end_date: number;
|
|
223
|
-
note: string;
|
|
224
|
-
}
|
|
225
|
-
interface ListItemStartPageProps {
|
|
226
|
-
item: Subscription | Process$1;
|
|
227
|
-
type: string;
|
|
228
|
-
}
|
|
229
|
-
declare const ListItemStartPage: FC<ListItemStartPageProps>;
|
|
230
|
-
|
|
231
|
-
declare const MultiListSection: FC;
|
|
232
|
-
|
|
233
|
-
declare const NewProcessPanel: FC;
|
|
234
|
-
|
|
235
|
-
declare const StatCards: FC;
|
|
236
|
-
|
|
237
|
-
declare const FixedInputBlock: (title: string, data: object) => _emotion_react_jsx_runtime.JSX.Element | undefined;
|
|
238
|
-
|
|
239
|
-
type ProcessesTimelineProps = {
|
|
240
|
-
subscriptionId: string;
|
|
241
|
-
};
|
|
242
|
-
declare const ProcessesTimeline: FC<ProcessesTimelineProps>;
|
|
243
|
-
|
|
244
|
-
declare const ProductBlock: (resourceTypes: ResourceTypeBase, id: number) => _emotion_react_jsx_runtime.JSX.Element | undefined;
|
|
245
|
-
|
|
246
|
-
type SubscriptionActionsProps = {
|
|
247
|
-
subscriptionId: string;
|
|
248
|
-
};
|
|
249
|
-
declare const SubscriptionActions$1: FC<SubscriptionActionsProps>;
|
|
250
|
-
|
|
251
|
-
declare const RenderField: (field: string, data: any) => _emotion_react_jsx_runtime.JSX.Element;
|
|
252
|
-
declare const SubscriptionBlock: (title: string, data: object) => _emotion_react_jsx_runtime.JSX.Element | undefined;
|
|
253
|
-
|
|
254
|
-
declare const SubscriptionDetailTree: () => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
255
|
-
|
|
256
|
-
/** TODO: Adding a useTranslations hook here leads to an hooks error. https://github.com/workfloworchestrator/orchestrator-ui/issues/177 */
|
|
257
|
-
declare const SubscriptionGeneral: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
258
|
-
|
|
259
|
-
declare enum SubscriptionsTabType {
|
|
260
|
-
ACTIVE = "ACTIVE",
|
|
261
|
-
TERMINATED = "TERMINATED",
|
|
262
|
-
TRANSIENT = "TRANSIENT",
|
|
263
|
-
ALL = "ALL"
|
|
264
|
-
}
|
|
265
|
-
type FilterQuery = {
|
|
266
|
-
field: string;
|
|
267
|
-
value: string;
|
|
268
|
-
};
|
|
269
|
-
type SubscriptionsTab = {
|
|
270
|
-
id: SubscriptionsTabType;
|
|
271
|
-
translationKey: string;
|
|
272
|
-
alwaysOnFilters?: FilterQuery[];
|
|
273
|
-
};
|
|
274
|
-
declare const defaultSubscriptionsTabs: SubscriptionsTab[];
|
|
275
|
-
type SubscriptionsTabsProps = {
|
|
276
|
-
tabs: SubscriptionsTab[];
|
|
277
|
-
selectedSubscriptionsTab: SubscriptionsTabType;
|
|
278
|
-
onChangeSubscriptionsTab: (updatedSubscriptionsTab: SubscriptionsTabType) => void;
|
|
279
|
-
};
|
|
280
|
-
declare const SubscriptionsTabs: FC<SubscriptionsTabsProps>;
|
|
281
|
-
|
|
282
|
-
declare const getSubscriptionsTabTypeFromString: (tabId?: string) => SubscriptionsTabType | undefined;
|
|
283
|
-
|
|
284
|
-
type BasicTableColumn<T> = Omit<EuiBasicTableColumn<T>, 'render'>;
|
|
285
|
-
type TableDataColumnConfig<T, Property> = BasicTableColumn<T> & {
|
|
286
|
-
field: Property;
|
|
287
|
-
name: string;
|
|
288
|
-
};
|
|
289
|
-
type TableColumnsWithExtraNonDataFields<T> = TableColumns<T> & {
|
|
290
|
-
[key: string]: EuiBasicTableColumn<T> & {
|
|
291
|
-
field: string;
|
|
292
|
-
name?: string;
|
|
293
|
-
};
|
|
294
|
-
};
|
|
295
|
-
type TableColumns<T> = {
|
|
296
|
-
[Property in keyof T]: TableDataColumnConfig<T, Property> & {
|
|
297
|
-
render?: (cellValue: T[Property], row: T) => ReactNode;
|
|
298
|
-
};
|
|
299
|
-
};
|
|
300
|
-
type TableControlColumnConfig<T> = {
|
|
301
|
-
[key: string]: BasicTableColumn<T> & {
|
|
302
|
-
field: string;
|
|
303
|
-
name?: string;
|
|
304
|
-
render: (row: T) => ReactNode;
|
|
305
|
-
};
|
|
306
|
-
};
|
|
307
|
-
type TableColumnsWithControlColumns<T> = TableColumns<T> & TableControlColumnConfig<T>;
|
|
308
|
-
type TableColumnKeys<T> = Array<keyof T>;
|
|
309
|
-
type DataSorting<T> = {
|
|
310
|
-
field: keyof T;
|
|
311
|
-
sortOrder: SortOrder;
|
|
312
|
-
};
|
|
313
|
-
declare const getSortDirectionFromString: (sortOrder?: string) => SortOrder | undefined;
|
|
314
|
-
|
|
315
|
-
type DataGridTableColumns<T> = {
|
|
316
|
-
[Property in keyof T]: Omit<EuiDataGridColumn, 'id'> & {
|
|
317
|
-
renderCell?: (cellValue: T[Property], row: T) => ReactNode;
|
|
318
|
-
isHiddenByDefault?: boolean;
|
|
319
|
-
};
|
|
320
|
-
};
|
|
321
|
-
type ControlColumn<T> = Omit<EuiDataGridControlColumn, 'rowCellRender' | 'headerCellRender' | 'footerCellRender' | 'footerCellProps' | 'headerCellProps'> & {
|
|
322
|
-
rowCellRender: (row: T) => ReactNode;
|
|
323
|
-
};
|
|
324
|
-
declare const getInitialColumnOrder: <T>(columns: DataGridTableColumns<T>, initialColumnOrder: TableColumnKeys<T>) => EuiDataGridColumn[];
|
|
325
|
-
declare const mapColumnSortToEuiDataGridSorting: <T>(columnSort?: DataSorting<T> | undefined, updateColumnSort?: ((columnSort: DataSorting<T>) => void) | undefined) => EuiDataGridSorting;
|
|
326
|
-
|
|
327
|
-
type Pagination = EuiDataGridPaginationProps & {
|
|
328
|
-
totalRecords: number;
|
|
329
|
-
};
|
|
330
|
-
type DataGridTableProps<T> = {
|
|
331
|
-
data: T[];
|
|
332
|
-
pagination: Pagination;
|
|
333
|
-
columns: DataGridTableColumns<T>;
|
|
334
|
-
leadingControlColumns?: ControlColumn<T>[];
|
|
335
|
-
trailingControlColumns?: ControlColumn<T>[];
|
|
336
|
-
initialColumnOrder: TableColumnKeys<T>;
|
|
337
|
-
dataSorting?: DataSorting<T>;
|
|
338
|
-
handleRowClick?: (row: T) => void;
|
|
339
|
-
updateDataSorting?: (updatedDataSorting: DataSorting<T>) => void;
|
|
340
|
-
};
|
|
341
|
-
declare const DataGridTable: <T>({ data, pagination, columns, leadingControlColumns, trailingControlColumns, initialColumnOrder, dataSorting, handleRowClick, updateDataSorting, }: DataGridTableProps<T>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
342
|
-
|
|
343
|
-
type ColumnConfig<T> = {
|
|
344
|
-
field: keyof T;
|
|
345
|
-
name: string;
|
|
346
|
-
isVisible: boolean;
|
|
347
|
-
};
|
|
348
|
-
type TableConfig<T> = {
|
|
349
|
-
columns: ColumnConfig<T>[];
|
|
350
|
-
selectedPageSize: number;
|
|
351
|
-
};
|
|
352
|
-
type TableSettingsModalProps<T> = {
|
|
353
|
-
tableConfig: TableConfig<T>;
|
|
354
|
-
pageSizeOptions: number[];
|
|
355
|
-
onClose: () => void;
|
|
356
|
-
onUpdateTableConfig: (updatedTableConfig: TableConfig<T>) => void;
|
|
357
|
-
onResetToDefaults: () => void;
|
|
358
|
-
};
|
|
359
|
-
declare const TableSettingsModal: <T>({ tableConfig, pageSizeOptions, onUpdateTableConfig, onResetToDefaults, onClose, }: TableSettingsModalProps<T>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
360
|
-
|
|
361
|
-
declare const DEFAULT_PAGE_SIZES: number[];
|
|
362
|
-
declare const DEFAULT_PAGE_SIZE = 10;
|
|
363
|
-
|
|
364
|
-
type LocalStorageTableConfig<T> = {
|
|
365
|
-
hiddenColumns: TableColumnKeys<T>;
|
|
366
|
-
selectedPageSize: number;
|
|
367
|
-
};
|
|
368
|
-
declare const isValidLocalStorageTableConfig: <T>(object: LocalStorageTableConfig<T>) => object is LocalStorageTableConfig<T>;
|
|
369
|
-
declare const getTableConfigFromLocalStorage: <T>(key: string) => LocalStorageTableConfig<T> | undefined;
|
|
370
|
-
declare const setTableConfigToLocalStorage: <T>(key: string, updatedTableConfig: LocalStorageTableConfig<T>) => void;
|
|
371
|
-
declare const clearTableConfigFromLocalStorage: (key: string) => void;
|
|
372
|
-
|
|
373
31
|
declare const useQueryWithGraphql: <U, V extends Variables>(query: TypedDocumentNode<U, V>, queryVars: V, queryKey: string, useCoreConnection?: boolean) => react_query.UseQueryResult<U, unknown>;
|
|
374
32
|
|
|
375
|
-
type GlobalStatus = 'RUNNING' | 'PAUSED' | 'PAUSING';
|
|
376
|
-
interface EngineStatus {
|
|
377
|
-
global_lock: boolean;
|
|
378
|
-
running_processes: number;
|
|
379
|
-
global_status: GlobalStatus;
|
|
380
|
-
}
|
|
381
|
-
interface EngineStatusPayload {
|
|
382
|
-
global_lock: boolean;
|
|
383
|
-
}
|
|
384
|
-
declare const useEngineStatusQuery: () => react_query.UseQueryResult<EngineStatus, unknown>;
|
|
33
|
+
type GlobalStatus = 'RUNNING' | 'PAUSED' | 'PAUSING';
|
|
34
|
+
interface EngineStatus {
|
|
35
|
+
global_lock: boolean;
|
|
36
|
+
running_processes: number;
|
|
37
|
+
global_status: GlobalStatus;
|
|
38
|
+
}
|
|
39
|
+
interface EngineStatusPayload {
|
|
40
|
+
global_lock: boolean;
|
|
41
|
+
}
|
|
42
|
+
declare const useEngineStatusQuery: () => react_query.UseQueryResult<EngineStatus, unknown>;
|
|
385
43
|
declare const useEngineStatusMutation: () => react_query.UseMutationResult<EngineStatus, unknown, EngineStatusPayload, void>;
|
|
386
44
|
|
|
387
|
-
declare enum Environment {
|
|
388
|
-
DEVELOPMENT = "Development",
|
|
389
|
-
PRODUCTION = "Production"
|
|
390
|
-
}
|
|
391
|
-
type OrchestratorConfig = {
|
|
392
|
-
environmentName: Environment | string;
|
|
393
|
-
orchestratorApiBaseUrl: string;
|
|
394
|
-
engineStatusEndpoint: string;
|
|
395
|
-
graphqlEndpointPythia: string;
|
|
396
|
-
graphqlEndpointCore: string;
|
|
397
|
-
processStatusCountsEndpoint: string;
|
|
398
|
-
subscriptionActionsEndpoint: string;
|
|
399
|
-
subscriptionProcessesEndpoint: string;
|
|
400
|
-
};
|
|
401
|
-
declare const useOrchestratorConfig: (initialOrchestratorConfig: OrchestratorConfig) => {
|
|
402
|
-
orchestratorConfig: OrchestratorConfig;
|
|
403
|
-
};
|
|
404
|
-
|
|
405
|
-
declare const useOrchestratorTheme: () => {
|
|
406
|
-
theme: _elastic_eui.EuiThemeComputed<{}>;
|
|
407
|
-
multiplyByBaseUnit: (multiplier: number) => number;
|
|
408
|
-
toSecondaryColor: (color: string) => string;
|
|
409
|
-
};
|
|
410
|
-
|
|
411
|
-
declare enum ProcessStatus {
|
|
412
|
-
CREATED = "created",
|
|
413
|
-
RUNNING = "running",
|
|
414
|
-
SUSPENDED = "suspended",
|
|
415
|
-
WAITING = "waiting",
|
|
416
|
-
ABORTED = "aborted",
|
|
417
|
-
FAILED = "failed",
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
45
|
+
declare enum Environment {
|
|
46
|
+
DEVELOPMENT = "Development",
|
|
47
|
+
PRODUCTION = "Production"
|
|
48
|
+
}
|
|
49
|
+
type OrchestratorConfig = {
|
|
50
|
+
environmentName: Environment | string;
|
|
51
|
+
orchestratorApiBaseUrl: string;
|
|
52
|
+
engineStatusEndpoint: string;
|
|
53
|
+
graphqlEndpointPythia: string;
|
|
54
|
+
graphqlEndpointCore: string;
|
|
55
|
+
processStatusCountsEndpoint: string;
|
|
56
|
+
subscriptionActionsEndpoint: string;
|
|
57
|
+
subscriptionProcessesEndpoint: string;
|
|
58
|
+
};
|
|
59
|
+
declare const useOrchestratorConfig: (initialOrchestratorConfig: OrchestratorConfig) => {
|
|
60
|
+
orchestratorConfig: OrchestratorConfig;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
declare const useOrchestratorTheme: () => {
|
|
64
|
+
theme: _elastic_eui.EuiThemeComputed<{}>;
|
|
65
|
+
multiplyByBaseUnit: (multiplier: number) => number;
|
|
66
|
+
toSecondaryColor: (color: string) => string;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
declare enum ProcessStatus {
|
|
70
|
+
CREATED = "created",
|
|
71
|
+
RUNNING = "running",
|
|
72
|
+
SUSPENDED = "suspended",
|
|
73
|
+
WAITING = "waiting",
|
|
74
|
+
ABORTED = "aborted",
|
|
75
|
+
FAILED = "failed",
|
|
76
|
+
RESUMED = "resumed",
|
|
77
|
+
API_UNAVAILABLE = "api_unavailable",
|
|
78
|
+
INCONSISTENT_DATA = "inconsistent_data",
|
|
79
|
+
COMPLETED = "completed"
|
|
80
|
+
}
|
|
81
|
+
type ProcessStatusCounts = {
|
|
82
|
+
process_counts: Record<ProcessStatus, number>;
|
|
83
|
+
task_counts: Record<ProcessStatus, number>;
|
|
84
|
+
};
|
|
426
85
|
declare const useProcessStatusCountsQuery: () => react_query.UseQueryResult<ProcessStatusCounts, unknown>;
|
|
427
86
|
|
|
428
|
-
type CacheNames = {
|
|
429
|
-
[key: string]: string;
|
|
430
|
-
};
|
|
431
|
-
declare const useFavouriteSubscriptions: () => {
|
|
432
|
-
items: any;
|
|
433
|
-
type: string;
|
|
434
|
-
title: string;
|
|
435
|
-
buttonName: string;
|
|
436
|
-
};
|
|
437
|
-
declare const useProcessesAttention: () => {
|
|
438
|
-
items: any;
|
|
439
|
-
type: string;
|
|
440
|
-
title: string;
|
|
441
|
-
buttonName: string;
|
|
442
|
-
};
|
|
443
|
-
declare const useRecentProcesses: () => {
|
|
444
|
-
items: any;
|
|
445
|
-
type: string;
|
|
446
|
-
title: string;
|
|
447
|
-
buttonName: string;
|
|
448
|
-
};
|
|
87
|
+
type CacheNames = {
|
|
88
|
+
[key: string]: string;
|
|
89
|
+
};
|
|
90
|
+
declare const useFavouriteSubscriptions: () => {
|
|
91
|
+
items: any;
|
|
92
|
+
type: string;
|
|
93
|
+
title: string;
|
|
94
|
+
buttonName: string;
|
|
95
|
+
};
|
|
96
|
+
declare const useProcessesAttention: () => {
|
|
97
|
+
items: any;
|
|
98
|
+
type: string;
|
|
99
|
+
title: string;
|
|
100
|
+
buttonName: string;
|
|
101
|
+
};
|
|
102
|
+
declare const useRecentProcesses: () => {
|
|
103
|
+
items: any;
|
|
104
|
+
type: string;
|
|
105
|
+
title: string;
|
|
106
|
+
buttonName: string;
|
|
107
|
+
};
|
|
449
108
|
declare const useCacheNames: () => react_query.UseQueryResult<CacheNames, unknown>;
|
|
450
109
|
|
|
451
|
-
interface SubscriptionAction {
|
|
452
|
-
name: string;
|
|
453
|
-
description: string;
|
|
454
|
-
reason?: string;
|
|
455
|
-
usable_when?: string[];
|
|
456
|
-
locked_relations?: string[];
|
|
457
|
-
unterminated_parents?: string[];
|
|
458
|
-
unterminated_in_use_by_subscriptions?: string[];
|
|
459
|
-
status?: string;
|
|
460
|
-
action?: string;
|
|
461
|
-
}
|
|
462
|
-
interface SubscriptionActions {
|
|
463
|
-
reason?: string;
|
|
464
|
-
locked_relations?: string[];
|
|
465
|
-
create: SubscriptionAction[];
|
|
466
|
-
modify: SubscriptionAction[];
|
|
467
|
-
terminate: SubscriptionAction[];
|
|
468
|
-
system: SubscriptionAction[];
|
|
469
|
-
}
|
|
110
|
+
interface SubscriptionAction {
|
|
111
|
+
name: string;
|
|
112
|
+
description: string;
|
|
113
|
+
reason?: string;
|
|
114
|
+
usable_when?: string[];
|
|
115
|
+
locked_relations?: string[];
|
|
116
|
+
unterminated_parents?: string[];
|
|
117
|
+
unterminated_in_use_by_subscriptions?: string[];
|
|
118
|
+
status?: string;
|
|
119
|
+
action?: string;
|
|
120
|
+
}
|
|
121
|
+
interface SubscriptionActions {
|
|
122
|
+
reason?: string;
|
|
123
|
+
locked_relations?: string[];
|
|
124
|
+
create: SubscriptionAction[];
|
|
125
|
+
modify: SubscriptionAction[];
|
|
126
|
+
terminate: SubscriptionAction[];
|
|
127
|
+
system: SubscriptionAction[];
|
|
128
|
+
}
|
|
470
129
|
declare const useSubscriptionActions: (subscriptionId: string) => react_query.UseQueryResult<SubscriptionActions, unknown>;
|
|
471
130
|
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
131
|
+
type Nullable<T> = T | null;
|
|
132
|
+
type GenericField = {
|
|
133
|
+
[key: string]: number | string | boolean;
|
|
134
|
+
};
|
|
135
|
+
type EngineStatusValue = 'RUNNING' | 'PAUSING' | 'PAUSED';
|
|
136
|
+
type CustomerBase = {
|
|
137
|
+
name: string;
|
|
138
|
+
abbreviation?: string;
|
|
139
|
+
} & GenericField;
|
|
140
|
+
type ProductBase = {
|
|
141
|
+
name: string;
|
|
142
|
+
description: string;
|
|
143
|
+
status: string;
|
|
144
|
+
tag: string;
|
|
145
|
+
type: string;
|
|
146
|
+
createdAt: string;
|
|
147
|
+
endDate?: string | null;
|
|
148
|
+
} & GenericField;
|
|
149
|
+
type ResourceTypeBase = {
|
|
150
|
+
name: string;
|
|
151
|
+
title: string;
|
|
152
|
+
subscriptionInstanceId: string;
|
|
153
|
+
ownerSubscriptionId: string;
|
|
154
|
+
label?: string;
|
|
155
|
+
} & GenericField;
|
|
156
|
+
type ProductBlockBase = {
|
|
157
|
+
id: number;
|
|
158
|
+
ownerSubscriptionId: string;
|
|
159
|
+
parent: Nullable<number>;
|
|
160
|
+
resourceTypes: ResourceTypeBase;
|
|
161
|
+
};
|
|
162
|
+
interface ResourceTypeDefinition {
|
|
163
|
+
description: string;
|
|
164
|
+
resourceType: string;
|
|
165
|
+
resourceTypeId: string;
|
|
166
|
+
}
|
|
167
|
+
interface ProductBlockDefinition {
|
|
168
|
+
productBlockId: string;
|
|
169
|
+
name: string;
|
|
170
|
+
tag: string;
|
|
171
|
+
description: string;
|
|
172
|
+
status: string;
|
|
173
|
+
createdAt: Date | null;
|
|
174
|
+
endDate: Date | null;
|
|
175
|
+
resourceTypes: ResourceTypeDefinition[];
|
|
176
|
+
}
|
|
177
|
+
type FixedInputsBase = GenericField;
|
|
178
|
+
interface FixedInputDefinition {
|
|
179
|
+
fixedInputId: string;
|
|
180
|
+
name: string;
|
|
181
|
+
value: string;
|
|
182
|
+
productId: string;
|
|
183
|
+
createdAt: string;
|
|
184
|
+
description: string;
|
|
185
|
+
required: boolean;
|
|
186
|
+
}
|
|
187
|
+
type ExternalServiceBase = {
|
|
188
|
+
externalServiceKey: string;
|
|
189
|
+
externalServiceId: string;
|
|
190
|
+
externalServiceData: any;
|
|
191
|
+
} & GenericField;
|
|
192
|
+
type SubscriptionDetailBase = {
|
|
193
|
+
subscriptionId: string;
|
|
194
|
+
description: string;
|
|
195
|
+
customerId?: string | null;
|
|
196
|
+
insync: boolean;
|
|
197
|
+
status: string;
|
|
198
|
+
startDate?: string | null;
|
|
199
|
+
endDate?: string | null;
|
|
200
|
+
note?: string;
|
|
201
|
+
product: ProductBase;
|
|
202
|
+
fixedInputs: FixedInputsBase;
|
|
203
|
+
customer?: CustomerBase;
|
|
204
|
+
productBlocks: ProductBlockBase[];
|
|
205
|
+
externalServices?: ExternalServiceBase[];
|
|
206
|
+
};
|
|
207
|
+
interface TreeBlock extends ProductBlockBase {
|
|
208
|
+
icon: string;
|
|
209
|
+
label: string;
|
|
210
|
+
callback: () => void;
|
|
211
|
+
children: TreeBlock[];
|
|
212
|
+
}
|
|
213
|
+
interface ItemsList {
|
|
214
|
+
type: string;
|
|
215
|
+
title: string;
|
|
216
|
+
items: ProcessFromRestApi[];
|
|
217
|
+
buttonName: string;
|
|
218
|
+
}
|
|
219
|
+
interface TotalStat {
|
|
220
|
+
icon: string;
|
|
221
|
+
name: string;
|
|
222
|
+
value: number;
|
|
223
|
+
color: keyof _EuiThemeColorsMode;
|
|
224
|
+
}
|
|
225
|
+
interface ProcessFromRestApi {
|
|
226
|
+
pid: string;
|
|
227
|
+
workflow: string;
|
|
228
|
+
assignee: string;
|
|
229
|
+
last_status: string;
|
|
230
|
+
failed_reason: Nullable<string>;
|
|
231
|
+
traceback: string;
|
|
232
|
+
step: string;
|
|
233
|
+
created_by: string;
|
|
234
|
+
started_at: number;
|
|
235
|
+
last_modified_at: number;
|
|
236
|
+
is_task: boolean;
|
|
237
|
+
}
|
|
238
|
+
interface ProductDefinition {
|
|
239
|
+
productId: string;
|
|
240
|
+
name: string;
|
|
241
|
+
description: string;
|
|
242
|
+
tag: string;
|
|
243
|
+
createdAt: string;
|
|
244
|
+
productType: string;
|
|
245
|
+
status: string;
|
|
246
|
+
productBlocks: Pick<ProductBlockDefinition, 'name'>[];
|
|
247
|
+
fixedInputs: Pick<FixedInputDefinition, 'name' | 'value'>[];
|
|
248
|
+
}
|
|
249
|
+
type Process$1 = {
|
|
250
|
+
workflowName: string;
|
|
251
|
+
lastStep: string;
|
|
252
|
+
status: ProcessStatus;
|
|
253
|
+
product: string;
|
|
254
|
+
customer: string;
|
|
255
|
+
subscriptions: {
|
|
256
|
+
page: Pick<Subscription$1, 'subscriptionId' | 'description'>[];
|
|
257
|
+
};
|
|
258
|
+
createdBy: string;
|
|
259
|
+
assignee: string;
|
|
260
|
+
id: string;
|
|
261
|
+
started: string;
|
|
262
|
+
lastModified: string;
|
|
263
|
+
};
|
|
264
|
+
type Subscription$1 = {
|
|
265
|
+
subscriptionId: string;
|
|
266
|
+
description: string;
|
|
267
|
+
};
|
|
268
|
+
interface WorkflowDefinition {
|
|
269
|
+
name: string;
|
|
270
|
+
description: string;
|
|
271
|
+
target: string;
|
|
272
|
+
productTags: string[];
|
|
273
|
+
createdAt: string;
|
|
274
|
+
}
|
|
275
|
+
type Field<Type> = keyof Type;
|
|
276
|
+
declare enum SortOrder {
|
|
277
|
+
ASC = "ASC",
|
|
278
|
+
DESC = "DESC"
|
|
279
|
+
}
|
|
280
|
+
type GraphQLSort<Type> = {
|
|
281
|
+
field: keyof Type;
|
|
282
|
+
order: SortOrder;
|
|
283
|
+
};
|
|
284
|
+
type GraphqlFilter<Type> = {
|
|
285
|
+
field: keyof Type;
|
|
286
|
+
value: string;
|
|
287
|
+
};
|
|
288
|
+
type GraphqlQueryVariables<Type> = {
|
|
289
|
+
first: number;
|
|
290
|
+
after: number;
|
|
291
|
+
sortBy?: GraphQLSort<Type>;
|
|
292
|
+
filterBy?: GraphqlFilter<Type>[];
|
|
293
|
+
};
|
|
294
|
+
type GraphQLPageInfo = {
|
|
295
|
+
hasNextPage: boolean;
|
|
296
|
+
hasPreviousPage: boolean;
|
|
297
|
+
startCursor: number;
|
|
298
|
+
totalItems: number;
|
|
299
|
+
endCursor: number;
|
|
300
|
+
};
|
|
301
|
+
interface ProductDefinitionsResult {
|
|
302
|
+
products: GraphQlResultPage<ProductDefinition>;
|
|
303
|
+
}
|
|
304
|
+
interface ProductBlockDefinitionsResult {
|
|
305
|
+
productBlocks: GraphQlResultPage<ProductBlockDefinition>;
|
|
306
|
+
}
|
|
307
|
+
interface ResourceTypeDefinitionsResult {
|
|
308
|
+
resourceTypes: GraphQlResultPage<ResourceTypeDefinition>;
|
|
309
|
+
}
|
|
310
|
+
interface ProcessesDefinitionsResult {
|
|
311
|
+
processes: GraphQlResultPage<Process$1>;
|
|
312
|
+
}
|
|
313
|
+
interface WorkflowDefinitionsResult {
|
|
314
|
+
workflows: GraphQlResultPage<WorkflowDefinition>;
|
|
315
|
+
}
|
|
316
|
+
interface GraphQlResultPage<T> {
|
|
317
|
+
page: T[];
|
|
318
|
+
pageInfo: GraphQLPageInfo;
|
|
319
|
+
}
|
|
320
|
+
interface CacheOption {
|
|
321
|
+
value: string;
|
|
322
|
+
label: string;
|
|
323
|
+
}
|
|
324
|
+
declare enum Locale {
|
|
325
|
+
enUS = "en-Us",
|
|
326
|
+
nlNL = "nl-NL"
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
interface Process {
|
|
330
|
+
workflow: string;
|
|
331
|
+
pid: string;
|
|
332
|
+
is_task: boolean;
|
|
333
|
+
created_by: Nullable<string>;
|
|
334
|
+
failed_reason: Nullable<string>;
|
|
335
|
+
started_at: number;
|
|
336
|
+
last_status: ProcessStatus;
|
|
337
|
+
assignee: 'NOC' | 'SYSTEM' | 'CHANGES' | 'USER';
|
|
338
|
+
last_modified_at: number;
|
|
339
|
+
traceback: Nullable<string>;
|
|
340
|
+
last_step: Nullable<string>;
|
|
341
|
+
}
|
|
342
|
+
interface SubscriptionProcess {
|
|
343
|
+
workflow_target: null | 'CREATE' | 'MODIFY' | 'TERMINATE' | 'SYSTEM';
|
|
344
|
+
subscription_id: string;
|
|
345
|
+
id: string;
|
|
346
|
+
pid: string;
|
|
347
|
+
created_at: number;
|
|
348
|
+
process: Process;
|
|
349
|
+
}
|
|
493
350
|
declare const useSubscriptionProcesses: (subscriptionId: string) => react_query.UseQueryResult<SubscriptionProcess[], unknown>;
|
|
494
351
|
|
|
495
|
-
type DataDisplayParams<Type> = {
|
|
496
|
-
pageSize: number;
|
|
497
|
-
pageIndex: number;
|
|
498
|
-
sortBy
|
|
499
|
-
esQueryString?: string;
|
|
500
|
-
};
|
|
501
|
-
interface DataDisplayReturnValues<Type> {
|
|
502
|
-
dataDisplayParams: DataDisplayParams<Type>;
|
|
503
|
-
setDataDisplayParam: <PropKey extends keyof DataDisplayParams<Type>>(prop: PropKey, value: DataDisplayParams<Type>[PropKey]) => void;
|
|
504
|
-
}
|
|
352
|
+
type DataDisplayParams<Type> = {
|
|
353
|
+
pageSize: number;
|
|
354
|
+
pageIndex: number;
|
|
355
|
+
sortBy: GraphQLSort<Type>;
|
|
356
|
+
esQueryString?: string;
|
|
357
|
+
};
|
|
358
|
+
interface DataDisplayReturnValues<Type> {
|
|
359
|
+
dataDisplayParams: DataDisplayParams<Type>;
|
|
360
|
+
setDataDisplayParam: <PropKey extends keyof DataDisplayParams<Type>>(prop: PropKey, value: DataDisplayParams<Type>[PropKey]) => void;
|
|
361
|
+
}
|
|
505
362
|
declare const useDataDisplayParams: <Type>(initialParams: Partial<DataDisplayParams<Type>>) => DataDisplayReturnValues<Type>;
|
|
506
363
|
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
declare const
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
declare const
|
|
364
|
+
type WFOProcessStatusBadgeProps = {
|
|
365
|
+
processStatus: ProcessStatus;
|
|
366
|
+
};
|
|
367
|
+
declare const WFOProcessStatusBadge: FC<WFOProcessStatusBadgeProps>;
|
|
368
|
+
|
|
369
|
+
declare const WFOFailedTasksBadge: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
370
|
+
|
|
371
|
+
declare const WFOEnvironmentBadge: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
372
|
+
|
|
373
|
+
declare const WFOEngineStatusBadge: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
374
|
+
|
|
375
|
+
type HeaderBadgeProps = EuiBadgeProps & {
|
|
376
|
+
textColor: TextColor | string;
|
|
377
|
+
children: ReactNode;
|
|
378
|
+
};
|
|
379
|
+
declare const WFOHeaderBadge: FC<HeaderBadgeProps>;
|
|
380
|
+
|
|
381
|
+
declare const WFOBreadcrumbs: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
382
|
+
|
|
383
|
+
type FilterQuery<DataType> = {
|
|
384
|
+
field: keyof DataType;
|
|
385
|
+
value: string;
|
|
386
|
+
};
|
|
387
|
+
type WFOFilterTab<TabType, DataType> = {
|
|
388
|
+
id: TabType;
|
|
389
|
+
translationKey: string;
|
|
390
|
+
alwaysOnFilters?: FilterQuery<DataType>[];
|
|
391
|
+
};
|
|
392
|
+
type WFOFilterTabsProps<TabType, DataType> = {
|
|
393
|
+
tabs: WFOFilterTab<TabType, DataType>[];
|
|
394
|
+
selectedTab: TabType;
|
|
395
|
+
translationNamespace: string;
|
|
396
|
+
onChangeTab: (updatedTab: TabType) => void;
|
|
397
|
+
};
|
|
398
|
+
declare const WFOFilterTabs: <TabType extends string, DataType>({ tabs, selectedTab, translationNamespace, onChangeTab, }: WFOFilterTabsProps<TabType, DataType>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
399
|
+
|
|
400
|
+
interface WFOPageHeaderProps {
|
|
401
|
+
navigationHeight: number;
|
|
402
|
+
getAppLogo: (navigationHeight: number) => ReactElement;
|
|
403
|
+
handleLogoutClick: () => void;
|
|
404
|
+
}
|
|
405
|
+
declare const WFOPageHeader: FC<WFOPageHeaderProps>;
|
|
406
|
+
|
|
407
|
+
interface WFOPageTemplateProps {
|
|
408
|
+
getAppLogo: (navigationHeight: number) => ReactElement;
|
|
409
|
+
children: ReactNode;
|
|
410
|
+
}
|
|
411
|
+
declare const WFOPageTemplate: FC<WFOPageTemplateProps>;
|
|
412
|
+
|
|
413
|
+
declare const WFOSidebar: FC;
|
|
414
|
+
|
|
415
|
+
type WFOSearchFieldProps = {
|
|
416
|
+
__filterQuery?: string;
|
|
417
|
+
__setFilterQuery?: (updatedFilterQuery: string) => void;
|
|
418
|
+
esQueryString?: string;
|
|
419
|
+
onUpdateEsQueryString?: (esQueryString: string) => void;
|
|
420
|
+
};
|
|
421
|
+
declare const WFOSearchField: ({ __filterQuery, __setFilterQuery, esQueryString, onUpdateEsQueryString, }: WFOSearchFieldProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
422
|
+
|
|
423
|
+
type SettingsModalProps = {
|
|
424
|
+
title: string;
|
|
425
|
+
onClose: () => void;
|
|
426
|
+
onResetToDefaults: () => void;
|
|
427
|
+
onUpdateTableConfig: () => void;
|
|
428
|
+
children: ReactNode;
|
|
429
|
+
};
|
|
430
|
+
declare const SettingsModal: FC<SettingsModalProps>;
|
|
431
|
+
|
|
432
|
+
declare const WFOSettings: FunctionComponent;
|
|
433
|
+
|
|
434
|
+
interface WFOFrequentlyUsedProps {
|
|
435
|
+
values: string[];
|
|
436
|
+
}
|
|
437
|
+
declare const WFOFrequentlyUsed: FC<WFOFrequentlyUsedProps>;
|
|
438
|
+
|
|
439
|
+
interface Subscription {
|
|
440
|
+
name: string;
|
|
441
|
+
subscription_id: string;
|
|
442
|
+
description: string;
|
|
443
|
+
product: ProductBase;
|
|
444
|
+
product_id: string;
|
|
445
|
+
status: string;
|
|
446
|
+
insync: boolean;
|
|
447
|
+
customer_id: string;
|
|
448
|
+
start_date: number;
|
|
449
|
+
end_date: number;
|
|
450
|
+
note: string;
|
|
451
|
+
}
|
|
452
|
+
interface WFOListItemStartPageProps {
|
|
453
|
+
item: Subscription | ProcessFromRestApi;
|
|
454
|
+
type: string;
|
|
455
|
+
}
|
|
456
|
+
declare const WFOListItemStartPage: FC<WFOListItemStartPageProps>;
|
|
457
|
+
|
|
458
|
+
declare const WFOMultiListSection: FC;
|
|
459
|
+
|
|
460
|
+
declare const WFONewProcessPanel: FC;
|
|
461
|
+
|
|
462
|
+
declare const WFOStatCards: FC;
|
|
463
|
+
|
|
464
|
+
declare const WFOFixedInputBlock: (title: string, data: object) => _emotion_react_jsx_runtime.JSX.Element | undefined;
|
|
465
|
+
|
|
466
|
+
type ProcessesTimelineProps = {
|
|
467
|
+
subscriptionId: string;
|
|
468
|
+
};
|
|
469
|
+
declare const ProcessesTimeline: FC<ProcessesTimelineProps>;
|
|
470
|
+
|
|
471
|
+
declare const WFOProductBlock: (resourceTypes: ResourceTypeBase, id: number) => _emotion_react_jsx_runtime.JSX.Element | undefined;
|
|
472
|
+
|
|
473
|
+
type SubscriptionActionsProps = {
|
|
474
|
+
subscriptionId: string;
|
|
475
|
+
};
|
|
476
|
+
declare const WFOSubscriptionActions: FC<SubscriptionActionsProps>;
|
|
477
|
+
|
|
478
|
+
declare const RenderField: (field: string, data: any) => _emotion_react_jsx_runtime.JSX.Element;
|
|
479
|
+
declare const WFOSubscriptionBlock: (title: string, data: object) => _emotion_react_jsx_runtime.JSX.Element | undefined;
|
|
480
|
+
|
|
481
|
+
declare const WFOSubscriptionDetailTree: () => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
482
|
+
|
|
483
|
+
/** TODO: Adding a useTranslations hook here leads to an hooks error. https://github.com/workfloworchestrator/orchestrator-ui/issues/177 */
|
|
484
|
+
declare const WFOSubscriptionGeneral: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
485
|
+
|
|
486
|
+
type WFOBasicTableColumn<T> = Omit<EuiBasicTableColumn<T>, 'render'>;
|
|
487
|
+
type WFOTableDataColumnConfig<T, Property> = WFOBasicTableColumn<T> & {
|
|
488
|
+
field: Property;
|
|
489
|
+
name: string;
|
|
490
|
+
};
|
|
491
|
+
type WFOTableColumnsWithExtraNonDataFields<T> = WFOTableColumns<T> & {
|
|
492
|
+
[key: string]: EuiBasicTableColumn<T> & {
|
|
493
|
+
field: string;
|
|
494
|
+
name?: string;
|
|
495
|
+
};
|
|
496
|
+
};
|
|
497
|
+
type WFOTableColumns<T> = {
|
|
498
|
+
[Property in keyof T]: WFOTableDataColumnConfig<T, Property> & {
|
|
499
|
+
render?: (cellValue: T[Property], row: T) => ReactNode;
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
type WFOTableControlColumnConfig<T> = {
|
|
503
|
+
[key: string]: WFOBasicTableColumn<T> & {
|
|
504
|
+
field: string;
|
|
505
|
+
name?: string;
|
|
506
|
+
render: (row: T) => ReactNode;
|
|
507
|
+
};
|
|
508
|
+
};
|
|
509
|
+
type WFOTableColumnsWithControlColumns<T> = WFOTableColumns<T> & WFOTableControlColumnConfig<T>;
|
|
510
|
+
type TableColumnKeys<T> = Array<keyof T>;
|
|
511
|
+
type WFODataSorting<T> = {
|
|
512
|
+
field: keyof T;
|
|
513
|
+
sortOrder: SortOrder;
|
|
514
|
+
};
|
|
515
|
+
declare const getSortDirectionFromString: (sortOrder?: string) => SortOrder | undefined;
|
|
515
516
|
|
|
516
|
-
type
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
declare const
|
|
517
|
+
type WFODataGridTableColumns<T> = {
|
|
518
|
+
[Property in keyof T]: Omit<EuiDataGridColumn, 'id'> & {
|
|
519
|
+
renderCell?: (cellValue: T[Property], row: T) => ReactNode;
|
|
520
|
+
isHiddenByDefault?: boolean;
|
|
521
|
+
};
|
|
522
|
+
};
|
|
523
|
+
type WFOControlColumn<T> = Omit<EuiDataGridControlColumn, 'rowCellRender' | 'headerCellRender' | 'footerCellRender' | 'footerCellProps' | 'headerCellProps'> & {
|
|
524
|
+
rowCellRender: (row: T) => ReactNode;
|
|
525
|
+
};
|
|
526
|
+
declare const getInitialColumnOrder: <T>(columns: WFODataGridTableColumns<T>, initialColumnOrder: TableColumnKeys<T>) => EuiDataGridColumn[];
|
|
527
|
+
declare const mapColumnSortToEuiDataGridSorting: <T>(columnSort?: WFODataSorting<T> | undefined, updateColumnSort?: ((columnSort: WFODataSorting<T>) => void) | undefined) => EuiDataGridSorting;
|
|
528
|
+
|
|
529
|
+
type Pagination = EuiDataGridPaginationProps & {
|
|
530
|
+
totalRecords: number;
|
|
531
|
+
};
|
|
532
|
+
type WFODataGridTableProps<T> = {
|
|
533
|
+
data: T[];
|
|
534
|
+
pagination: Pagination;
|
|
535
|
+
columns: WFODataGridTableColumns<T>;
|
|
536
|
+
leadingControlColumns?: WFOControlColumn<T>[];
|
|
537
|
+
trailingControlColumns?: WFOControlColumn<T>[];
|
|
538
|
+
initialColumnOrder: TableColumnKeys<T>;
|
|
539
|
+
dataSorting?: WFODataSorting<T>;
|
|
540
|
+
handleRowClick?: (row: T) => void;
|
|
541
|
+
updateDataSorting?: (updatedDataSorting: WFODataSorting<T>) => void;
|
|
542
|
+
};
|
|
543
|
+
declare const WFODataGridTable: <T>({ data, pagination, columns, leadingControlColumns, trailingControlColumns, initialColumnOrder, dataSorting, handleRowClick, updateDataSorting, }: WFODataGridTableProps<T>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
527
544
|
|
|
528
|
-
type
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
545
|
+
type ColumnConfig<T> = {
|
|
546
|
+
field: keyof T;
|
|
547
|
+
name: string;
|
|
548
|
+
isVisible: boolean;
|
|
549
|
+
};
|
|
550
|
+
type TableConfig<T> = {
|
|
551
|
+
columns: ColumnConfig<T>[];
|
|
552
|
+
selectedPageSize: number;
|
|
553
|
+
};
|
|
554
|
+
type TableSettingsModalProps<T> = {
|
|
555
|
+
tableConfig: TableConfig<T>;
|
|
556
|
+
pageSizeOptions: number[];
|
|
557
|
+
onClose: () => void;
|
|
558
|
+
onUpdateTableConfig: (updatedTableConfig: TableConfig<T>) => void;
|
|
559
|
+
onResetToDefaults: () => void;
|
|
560
|
+
};
|
|
561
|
+
declare const TableSettingsModal: <T>({ tableConfig, pageSizeOptions, onUpdateTableConfig, onResetToDefaults, onClose, }: TableSettingsModalProps<T>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
544
562
|
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
declare const
|
|
563
|
+
declare const DEFAULT_PAGE_SIZES: number[];
|
|
564
|
+
declare const DEFAULT_PAGE_SIZE = 10;
|
|
565
|
+
declare const ACTIVE_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY = "activeProcessesListTable";
|
|
566
|
+
declare const COMPLETED_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY = "completedProcessesListTable";
|
|
567
|
+
declare const METADATA_RESOURCE_TYPES_TABLE_LOCAL_STORAGE_KEY = "metadataResourceTypesTable";
|
|
568
|
+
declare const METADATA_PRODUCTBLOCKS_TABLE_LOCAL_STORAGE_KEY = "metadataProductBlocksTable";
|
|
569
|
+
declare const METADATA_PRODUCT_TABLE_LOCAL_STORAGE_KEY = "metadataProductTable";
|
|
570
|
+
declare const METADATA_WORKFLOWS_TABLE_LOCAL_STORAGE_KEY = "metadataWorkflowsTable";
|
|
571
|
+
|
|
572
|
+
type LocalStorageTableConfig<T> = {
|
|
573
|
+
hiddenColumns: TableColumnKeys<T>;
|
|
574
|
+
selectedPageSize: number;
|
|
575
|
+
};
|
|
576
|
+
declare const isValidLocalStorageTableConfig: <T>(object: LocalStorageTableConfig<T>) => object is LocalStorageTableConfig<T>;
|
|
577
|
+
declare const getTableConfigFromLocalStorage: <T>(key: string) => LocalStorageTableConfig<T> | undefined;
|
|
578
|
+
declare const setTableConfigToLocalStorage: <T>(key: string, updatedTableConfig: LocalStorageTableConfig<T>) => void;
|
|
579
|
+
declare const clearTableConfigFromLocalStorage: (key: string) => void;
|
|
580
|
+
|
|
581
|
+
declare const determinePageIndex: (pageIndex: number, pageSize: number) => number;
|
|
582
|
+
declare const determineNewSortOrder: <T>(currentSortField: keyof T, currentSortOrder: SortOrder, newSortField: keyof T) => SortOrder;
|
|
583
|
+
declare const getDataSortHandler: <Type>(dataDisplayParams: DataDisplayParams<Type>, setDataDisplayParam: <PropKey extends keyof DataDisplayParams<Type_1>>(prop: PropKey, value: DataDisplayParams<Type>[PropKey]) => void) => (newSortField: keyof Type) => void;
|
|
584
|
+
declare const getPageChangeHandler: <Type>(setDataDisplayParam: <PropKey extends keyof DataDisplayParams<Type_1>>(prop: PropKey, value: DataDisplayParams<Type>[PropKey]) => void) => (page: {
|
|
585
|
+
index: number;
|
|
586
|
+
size: number;
|
|
587
|
+
} | undefined) => void;
|
|
588
|
+
declare const getEsQueryStringHandler: <Type>(setDataDisplayParam: <PropKey extends keyof DataDisplayParams<Type_1>>(prop: PropKey, value: DataDisplayParams<Type>[PropKey]) => void) => (esQueryString: string) => void;
|
|
589
|
+
|
|
590
|
+
type WFOTableProps<T> = {
|
|
591
|
+
data: T[];
|
|
592
|
+
columns: WFOTableColumnsWithControlColumns<T> | WFOTableColumns<T>;
|
|
593
|
+
hiddenColumns?: TableColumnKeys<T>;
|
|
594
|
+
dataSorting?: WFODataSorting<T>;
|
|
595
|
+
pagination: Pagination$1;
|
|
596
|
+
isLoading?: boolean;
|
|
597
|
+
onCriteriaChange: (criteria: Criteria<T>) => void;
|
|
598
|
+
onDataSort?: (columnId: keyof T) => void;
|
|
599
|
+
};
|
|
600
|
+
declare const WFOTable: <T>({ data, columns, hiddenColumns, dataSorting, pagination, isLoading, onCriteriaChange, onDataSort, }: WFOTableProps<T>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
601
|
+
|
|
602
|
+
type WFOTableWithFilterProps<T> = {
|
|
603
|
+
data: T[];
|
|
604
|
+
tableColumns: WFOTableColumns<T>;
|
|
605
|
+
leadingControlColumns?: WFOTableControlColumnConfig<T>;
|
|
606
|
+
trailingControlColumns?: WFOTableControlColumnConfig<T>;
|
|
607
|
+
defaultHiddenColumns?: TableColumnKeys<T>;
|
|
608
|
+
dataSorting: WFODataSorting<T>;
|
|
609
|
+
pagination: Pagination$1;
|
|
610
|
+
esQueryString?: string;
|
|
611
|
+
isLoading: boolean;
|
|
612
|
+
localStorageKey: string;
|
|
613
|
+
onUpdateEsQueryString: (esQueryString: string) => void;
|
|
614
|
+
onUpdatePage: (criterion: Criteria$1<T>['page']) => void;
|
|
615
|
+
onUpdateDataSort: (newSortColumnId: keyof T) => void;
|
|
616
|
+
};
|
|
617
|
+
declare const WFOTableWithFilter: <T>({ data, tableColumns, leadingControlColumns, trailingControlColumns, defaultHiddenColumns, dataSorting, pagination, esQueryString, isLoading, localStorageKey, onUpdateEsQueryString, onUpdatePage, onUpdateDataSort, }: WFOTableWithFilterProps<T>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
618
|
+
|
|
619
|
+
type WFOTableHeaderCellProps = {
|
|
620
|
+
sortDirection?: SortOrder;
|
|
621
|
+
onClick?: () => void;
|
|
622
|
+
children: ReactNode;
|
|
623
|
+
};
|
|
624
|
+
declare const WFOTableHeaderCell: FC<WFOTableHeaderCellProps>;
|
|
551
625
|
|
|
552
|
-
declare const
|
|
626
|
+
declare const WFOLoading: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
553
627
|
|
|
554
|
-
type
|
|
555
|
-
width?: number | string;
|
|
556
|
-
height?: number | string;
|
|
557
|
-
color?: string;
|
|
628
|
+
type WFOIconProps = {
|
|
629
|
+
width?: number | string;
|
|
630
|
+
height?: number | string;
|
|
631
|
+
color?: string;
|
|
558
632
|
};
|
|
559
633
|
|
|
560
|
-
declare const
|
|
634
|
+
declare const WFOXCircleFill: FC<WFOIconProps>;
|
|
561
635
|
|
|
562
|
-
declare const
|
|
636
|
+
declare const WFOStatusDotIcon: FC<WFOIconProps>;
|
|
563
637
|
|
|
564
|
-
declare const
|
|
638
|
+
declare const WFOLogoutIcon: FC<WFOIconProps>;
|
|
565
639
|
|
|
566
|
-
declare const
|
|
640
|
+
declare const WFOCheckmarkCircleFill: FC<WFOIconProps>;
|
|
567
641
|
|
|
568
|
-
declare const
|
|
642
|
+
declare const WFOMinusCircleOutline: FC<WFOIconProps>;
|
|
569
643
|
|
|
570
|
-
declare const
|
|
644
|
+
declare const WFOPlusCircleFill: FC<WFOIconProps>;
|
|
571
645
|
|
|
572
|
-
declare const
|
|
646
|
+
declare const WFOChevronDown: FC<WFOIconProps>;
|
|
573
647
|
|
|
574
|
-
declare const
|
|
648
|
+
declare const WFOArrowNarrowDown: FC<WFOIconProps>;
|
|
575
649
|
|
|
576
|
-
declare const
|
|
650
|
+
declare const WFOArrowNarrowUp: FC<WFOIconProps>;
|
|
577
651
|
|
|
578
652
|
declare const defaultOrchestratorTheme: EuiThemeModifications;
|
|
579
653
|
|
|
580
|
-
declare const DUTCH_LOCALE = "nl-NL";
|
|
581
|
-
declare const parseDate: (date: string | null | undefined) => Date | null;
|
|
654
|
+
declare const DUTCH_LOCALE = "nl-NL";
|
|
655
|
+
declare const parseDate: (date: string | null | undefined) => Date | null;
|
|
582
656
|
declare const parseDateToLocaleString: (value: Date | null) => string;
|
|
583
657
|
|
|
584
658
|
declare const getStatusBadgeColor: (status: string) => any;
|
|
585
659
|
|
|
586
660
|
declare function getTypedFieldFromObject<T extends object>(field: string | undefined, object: T): null | keyof T;
|
|
587
661
|
|
|
588
|
-
declare const getFirstUuidPart: (uuid: string) => string;
|
|
662
|
+
declare const getFirstUuidPart: (uuid: string) => string;
|
|
589
663
|
declare const isUuid4: (value: string) => boolean;
|
|
590
664
|
|
|
591
|
-
declare const upperCaseFirstChar: (value: string) => string;
|
|
665
|
+
declare const upperCaseFirstChar: (value: string) => string;
|
|
592
666
|
declare const removeSuffix: (value: string, splitChar?: string) => string;
|
|
593
667
|
|
|
594
|
-
declare const OrchestratorConfigContext: React__default.Context<OrchestratorConfig>;
|
|
595
|
-
type OrchestratorConfigProviderProps = {
|
|
596
|
-
initialOrchestratorConfig: OrchestratorConfig;
|
|
597
|
-
children: ReactNode;
|
|
598
|
-
};
|
|
668
|
+
declare const OrchestratorConfigContext: React__default.Context<OrchestratorConfig>;
|
|
669
|
+
type OrchestratorConfigProviderProps = {
|
|
670
|
+
initialOrchestratorConfig: OrchestratorConfig;
|
|
671
|
+
children: ReactNode;
|
|
672
|
+
};
|
|
599
673
|
declare const OrchestratorConfigProvider: FC<OrchestratorConfigProviderProps>;
|
|
600
674
|
|
|
601
|
-
type SubscriptionContextType = {
|
|
602
|
-
subscriptionData: SubscriptionDetailBase;
|
|
603
|
-
loadingStatus: number;
|
|
604
|
-
setSubscriptionData: (data: SubscriptionDetailBase, loadingStatus: number) => void;
|
|
605
|
-
};
|
|
606
|
-
declare const SubscriptionContext: React.Context<SubscriptionContextType>;
|
|
607
|
-
type SubscriptionProviderProps = {
|
|
608
|
-
children: ReactNode;
|
|
609
|
-
};
|
|
675
|
+
type SubscriptionContextType = {
|
|
676
|
+
subscriptionData: SubscriptionDetailBase;
|
|
677
|
+
loadingStatus: number;
|
|
678
|
+
setSubscriptionData: (data: SubscriptionDetailBase, loadingStatus: number) => void;
|
|
679
|
+
};
|
|
680
|
+
declare const SubscriptionContext: React.Context<SubscriptionContextType>;
|
|
681
|
+
type SubscriptionProviderProps = {
|
|
682
|
+
children: ReactNode;
|
|
683
|
+
};
|
|
610
684
|
declare const SubscriptionProvider: React.FC<SubscriptionProviderProps>;
|
|
611
685
|
|
|
612
|
-
type TreeContextType = {
|
|
613
|
-
selectedIds: number[];
|
|
614
|
-
expandedIds: number[];
|
|
615
|
-
toggleSelectedId: (id: number) => void;
|
|
616
|
-
toggleExpandedId: (id: number) => void;
|
|
617
|
-
expandAll: (treeLength: number) => void;
|
|
618
|
-
collapseAll: () => void;
|
|
619
|
-
resetSelection: () => void;
|
|
620
|
-
};
|
|
621
|
-
declare const TreeContext: React.Context<TreeContextType | null>;
|
|
622
|
-
type TreeProviderProps = {
|
|
623
|
-
children: ReactNode;
|
|
624
|
-
};
|
|
686
|
+
type TreeContextType = {
|
|
687
|
+
selectedIds: number[];
|
|
688
|
+
expandedIds: number[];
|
|
689
|
+
toggleSelectedId: (id: number) => void;
|
|
690
|
+
toggleExpandedId: (id: number) => void;
|
|
691
|
+
expandAll: (treeLength: number) => void;
|
|
692
|
+
collapseAll: () => void;
|
|
693
|
+
resetSelection: () => void;
|
|
694
|
+
};
|
|
695
|
+
declare const TreeContext: React.Context<TreeContextType | null>;
|
|
696
|
+
type TreeProviderProps = {
|
|
697
|
+
children: ReactNode;
|
|
698
|
+
};
|
|
625
699
|
declare const TreeProvider: React.FC<TreeProviderProps>;
|
|
626
700
|
|
|
627
|
-
type TranslationMessagesMap = Map<Locale, AbstractIntlMessages>;
|
|
701
|
+
type TranslationMessagesMap = Map<Locale, AbstractIntlMessages>;
|
|
628
702
|
declare const getTranslationMessages: (locale: string | undefined, messages?: TranslationMessagesMap) => AbstractIntlMessages | undefined;
|
|
629
703
|
|
|
630
|
-
|
|
704
|
+
declare const WFOProductBlocksPage: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
705
|
+
|
|
706
|
+
declare const RESOURCE_TYPE_FIELD_ID: keyof ResourceTypeDefinition;
|
|
707
|
+
declare const RESOURCE_TYPE_FIELD_TYPE: keyof ResourceTypeDefinition;
|
|
708
|
+
declare const RESOURCE_TYPE_FIELD_DESCRIPTION: keyof ResourceTypeDefinition;
|
|
709
|
+
declare const WFOResourceTypesPage: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
710
|
+
|
|
711
|
+
declare const WFOProductsPage: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
712
|
+
|
|
713
|
+
declare const WFOWorkflowsPage: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
714
|
+
|
|
715
|
+
declare enum WFOProcessListTabType {
|
|
716
|
+
ACTIVE = "ACTIVE",
|
|
717
|
+
COMPLETED = "COMPLETED"
|
|
718
|
+
}
|
|
719
|
+
declare const defaultProcessListTabs: WFOFilterTab<WFOProcessListTabType, Process$1>[];
|
|
720
|
+
|
|
721
|
+
declare const getProcessListTabTypeFromString: (tabId?: string) => WFOProcessListTabType | undefined;
|
|
722
|
+
|
|
723
|
+
declare const WFOProcessListPage: () => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
724
|
+
|
|
725
|
+
type WFOProcessesListSubscriptionsCellProps = {
|
|
726
|
+
subscriptions: Pick<Subscription$1, 'subscriptionId' | 'description'>[];
|
|
727
|
+
};
|
|
728
|
+
declare const WFOProcessesListSubscriptionsCell: FC<WFOProcessesListSubscriptionsCellProps>;
|
|
729
|
+
|
|
730
|
+
type SubscriptionListItem = {
|
|
731
|
+
subscriptionId: string;
|
|
732
|
+
description: string;
|
|
733
|
+
status: string;
|
|
734
|
+
insync: boolean;
|
|
735
|
+
startDate: Date | null;
|
|
736
|
+
endDate: Date | null;
|
|
737
|
+
productName: string;
|
|
738
|
+
tag: string | null;
|
|
739
|
+
note: string | null;
|
|
740
|
+
};
|
|
741
|
+
|
|
742
|
+
declare enum WFOSubscriptionsTabType {
|
|
743
|
+
ACTIVE = "ACTIVE",
|
|
744
|
+
TERMINATED = "TERMINATED",
|
|
745
|
+
TRANSIENT = "TRANSIENT",
|
|
746
|
+
ALL = "ALL"
|
|
747
|
+
}
|
|
748
|
+
declare const defaultSubscriptionsTabs: WFOFilterTab<WFOSubscriptionsTabType, SubscriptionListItem>[];
|
|
749
|
+
declare const getSubscriptionsTabTypeFromString: (tabId?: string) => WFOSubscriptionsTabType | undefined;
|
|
750
|
+
|
|
751
|
+
export { ACTIVE_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY, COMPLETED_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY, CacheNames, CacheOption, ColumnConfig, CustomerBase, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZES, DUTCH_LOCALE, DataDisplayParams, DataDisplayReturnValues, EngineStatus, EngineStatusValue, Environment, ExternalServiceBase, Field, FilterQuery, FixedInputDefinition, FixedInputsBase, GlobalStatus, GraphQLSort, GraphqlFilter, GraphqlQueryVariables, HeaderBadgeProps, ItemsList, LocalStorageTableConfig, Locale, METADATA_PRODUCTBLOCKS_TABLE_LOCAL_STORAGE_KEY, METADATA_PRODUCT_TABLE_LOCAL_STORAGE_KEY, METADATA_RESOURCE_TYPES_TABLE_LOCAL_STORAGE_KEY, METADATA_WORKFLOWS_TABLE_LOCAL_STORAGE_KEY, Nullable, OrchestratorConfig, OrchestratorConfigContext, OrchestratorConfigProvider, OrchestratorConfigProviderProps, Pagination, Process$1 as Process, ProcessFromRestApi, ProcessStatus, ProcessStatusCounts, ProcessesDefinitionsResult, ProcessesTimeline, ProcessesTimelineProps, ProductBase, ProductBlockBase, ProductBlockDefinition, ProductBlockDefinitionsResult, ProductDefinition, ProductDefinitionsResult, RESOURCE_TYPE_FIELD_DESCRIPTION, RESOURCE_TYPE_FIELD_ID, RESOURCE_TYPE_FIELD_TYPE, RenderField, ResourceTypeBase, ResourceTypeDefinition, ResourceTypeDefinitionsResult, SettingsModal, SettingsModalProps, SortOrder, Subscription$1 as Subscription, SubscriptionAction, SubscriptionActionsProps, SubscriptionContext, SubscriptionContextType, SubscriptionDetailBase, SubscriptionListItem, SubscriptionProcess, SubscriptionProvider, SubscriptionProviderProps, TableColumnKeys, TableConfig, TableSettingsModal, TableSettingsModalProps, TotalStat, TranslationMessagesMap, TreeBlock, TreeContext, TreeContextType, TreeProvider, TreeProviderProps, WFOArrowNarrowDown, WFOArrowNarrowUp, WFOBadge, WFOBadgeProps, WFOBasicTableColumn, WFOBreadcrumbs, WFOCheckmarkCircleFill, WFOChevronDown, WFOControlColumn, WFODataGridTable, WFODataGridTableColumns, WFODataGridTableProps, WFODataSorting, WFOEngineStatusBadge, WFOEnvironmentBadge, WFOFailedTasksBadge, WFOFilterTab, WFOFilterTabs, WFOFilterTabsProps, WFOFixedInputBlock, WFOFrequentlyUsed, WFOFrequentlyUsedProps, WFOHeaderBadge, WFOIconProps, WFOListItemStartPage, WFOListItemStartPageProps, WFOLoading, WFOLogoutIcon, WFOMinusCircleOutline, WFOMultiListSection, WFONewProcessPanel, WFOPageHeader, WFOPageHeaderProps, WFOPageTemplate, WFOPageTemplateProps, WFOPlusCircleFill, WFOProcessListPage, WFOProcessListTabType, WFOProcessStatusBadge, WFOProcessStatusBadgeProps, WFOProcessesListSubscriptionsCell, WFOProcessesListSubscriptionsCellProps, WFOProductBlock, WFOProductBlockBadge, WFOProductBlockBadgeProps, WFOProductBlocksPage, WFOProductsPage, WFOResourceTypesPage, WFOSearchField, WFOSearchFieldProps, WFOSettings, WFOSidebar, WFOStatCards, WFOStatusBadge, WFOStatusBadgeProps, WFOStatusDotIcon, WFOSubscriptionActions, WFOSubscriptionBlock, WFOSubscriptionDetailTree, WFOSubscriptionGeneral, WFOSubscriptionsTabType, WFOTable, WFOTableColumns, WFOTableColumnsWithControlColumns, WFOTableColumnsWithExtraNonDataFields, WFOTableControlColumnConfig, WFOTableDataColumnConfig, WFOTableHeaderCell, WFOTableHeaderCellProps, WFOTableProps, WFOTableWithFilter, WFOTableWithFilterProps, WFOWorkflowsPage, WFOXCircleFill, WorkflowDefinition, WorkflowDefinitionsResult, clearTableConfigFromLocalStorage, defaultOrchestratorTheme, defaultProcessListTabs, defaultSubscriptionsTabs, determineNewSortOrder, determinePageIndex, getDataSortHandler, getEsQueryStringHandler, getFirstUuidPart, getInitialColumnOrder, getPageChangeHandler, getProcessListTabTypeFromString, getSortDirectionFromString, getStatusBadgeColor, getSubscriptionsTabTypeFromString, getTableConfigFromLocalStorage, getTranslationMessages, getTypedFieldFromObject, isUuid4, isValidLocalStorageTableConfig, mapColumnSortToEuiDataGridSorting, parseDate, parseDateToLocaleString, removeSuffix, setTableConfigToLocalStorage, upperCaseFirstChar, useCacheNames, useDataDisplayParams, useEngineStatusMutation, useEngineStatusQuery, useFavouriteSubscriptions, useOrchestratorConfig, useOrchestratorTheme, useProcessStatusCountsQuery, useProcessesAttention, useQueryWithGraphql, useRecentProcesses, useSubscriptionActions, useSubscriptionProcesses };
|