@camunda/ccma-saas-frontend 0.0.41 → 0.0.43
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/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.js +1 -1
- package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.types.d.ts +1 -0
- package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.d.ts +1 -1
- package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.js +14 -6
- package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.types.d.ts +1 -0
- package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.d.ts +1 -1
- package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.js +21 -6
- package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.types.d.ts +17 -0
- package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.d.ts +3 -0
- package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.js +51 -0
- package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.types.d.ts +24 -0
- package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.types.js +6 -0
- package/lib/esm/components/c4-cluster-overview/applications.d.ts +1 -1
- package/lib/esm/components/c4-cluster-overview/applications.js +7 -0
- package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.js +1 -1
- package/lib/esm/components/c4-cluster-overview/cluster-details.d.ts +1 -1
- package/lib/esm/components/c4-cluster-overview/cluster-details.js +1 -1
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +1 -1
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.spec.js +4 -0
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.d.ts +1 -1
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.js +3 -5
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.types.d.ts +1 -2
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.d.ts +2 -3
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.js +2 -2
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.d.ts +2 -3
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.js +2 -2
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.d.ts +2 -3
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.js +2 -2
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.d.ts +2 -3
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.js +2 -2
- package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.d.ts +1 -1
- package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.js +2 -2
- package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.types.d.ts +1 -2
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.d.ts +1 -1
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.js +4 -5
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.types.d.ts +1 -2
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.d.ts +2 -3
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.js +4 -3
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-shared.types.d.ts +0 -4
- package/lib/esm/externalUrls.const.d.ts +2 -4
- package/lib/esm/externalUrls.const.js +2 -14
- package/lib/esm/externalUrls.const.spec.js +0 -9
- package/lib/esm/i18n/en/modals/clusterclients.json +8 -0
- package/lib/esm/i18n/en/modals/clusters.json +4 -1
- package/lib/esm/i18n/en/pages/clusterdetails.json +34 -4
- package/lib/esm/index.css +257 -0
- package/lib/esm/index.d.ts +3 -1
- package/lib/esm/index.js +2 -1
- package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.js +27 -1
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +41 -33
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.permissions.spec.js +52 -12
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +0 -6
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.d.ts +1 -1
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.js +19 -20
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.spec.js +53 -35
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.d.ts +1 -1
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +11 -26
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.d.ts +1 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.js +13 -12
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.js +104 -3
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.spec.js +16 -15
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.d.ts +1 -2
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +111 -34
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.spec.js +121 -5
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.d.ts +1 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +4 -2
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.spec.js +4 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.js +3 -2
- package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.js +3 -2
- package/lib/esm/widgets/connector-management/c4-connector-management.shared.d.ts +1 -0
- package/lib/esm/widgets/connector-management/c4-connector-management.shared.js +20 -1
- package/lib/esm/widgets/job-worker/c4-job-worker-details-page.d.ts +1 -1
- package/lib/esm/widgets/job-worker/c4-job-worker-details-page.js +2 -2
- package/lib/esm/widgets/job-worker/c4-job-worker-overview-page.d.ts +1 -1
- package/lib/esm/widgets/job-worker/c4-job-worker-overview-page.js +2 -2
- package/lib/esm/widgets/job-worker/c4-job-worker.types.d.ts +0 -3
- package/lib/esm/widgets/management/c4-management-app.js +1 -1
- package/package.json +31 -26
- package/lib/esm/index.scss +0 -267
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.spec.d.ts +0 -1
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.spec.js +0 -55
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { JSX } from 'react';
|
|
2
2
|
import type { C4JobDashboardEntryPointProps } from './c4-job-dashboard-entry-point.types';
|
|
3
|
-
declare function C4JobDashboardEntryPoint({ data, error, onClick, isLoading, translations,
|
|
3
|
+
declare function C4JobDashboardEntryPoint({ data, error, onClick, isLoading, translations, }: C4JobDashboardEntryPointProps): JSX.Element;
|
|
4
4
|
export default C4JobDashboardEntryPoint;
|
|
@@ -39,7 +39,7 @@ const JobTilesGrid = styled.div `
|
|
|
39
39
|
}
|
|
40
40
|
`;
|
|
41
41
|
const JobTile = ({ title, description, icon, tooltip, }) => (_jsx(Tooltip, { align: 'top', label: tooltip, children: _jsx("div", { children: _jsx(Layer, { children: _jsxs(Tile, { children: [_jsxs(TileHeader, { children: [_jsx("h6", { children: title }), icon] }), _jsx(TileDescription, { children: description })] }) }) }) }));
|
|
42
|
-
function C4JobDashboardEntryPoint({ data, error, onClick, isLoading, translations,
|
|
42
|
+
function C4JobDashboardEntryPoint({ data, error, onClick, isLoading, translations, }) {
|
|
43
43
|
const hasError = !!error;
|
|
44
44
|
const shouldShowEmpty = !hasError &&
|
|
45
45
|
(!data ||
|
|
@@ -47,6 +47,6 @@ function C4JobDashboardEntryPoint({ data, error, onClick, isLoading, translation
|
|
|
47
47
|
data.failed.count === 0 &&
|
|
48
48
|
data.completed.count === 0));
|
|
49
49
|
const getTileDescription = (count) => `${count ?? 0} ${count === 1 ? translations.jobTileSingular.toLowerCase() : translations.jobTilePlural.toLowerCase()}`;
|
|
50
|
-
return (_jsx(Tile, { children: _jsxs(Stack, { gap: 4, children: [_jsx("h3", { children: translations.title }), _jsx("p", { children: translations.description }), isLoading ? (_jsx(LoadingContainer, { children: _jsx(Loading, { withOverlay: false }) })) : hasError || shouldShowEmpty ? (_jsxs(Container, { children: [_jsx(C4JobDashboardErrorHandler, { itemsLength: shouldShowEmpty ? 0 : 1, error: hasError ? error : null, showIcons: true, translations: translations.errorHandler
|
|
50
|
+
return (_jsx(Tile, { children: _jsxs(Stack, { gap: 4, children: [_jsx("h3", { children: translations.title }), _jsx("p", { children: translations.description }), isLoading ? (_jsx(LoadingContainer, { children: _jsx(Loading, { withOverlay: false }) })) : hasError || shouldShowEmpty ? (_jsxs(Container, { children: [_jsx(C4JobDashboardErrorHandler, { itemsLength: shouldShowEmpty ? 0 : 1, error: hasError ? error : null, showIcons: true, translations: translations.errorHandler }), shouldShowEmpty && (_jsx(Button, { onClick: onClick, children: translations.viewAllJobTypes }))] })) : (_jsx(Container, { children: _jsxs(Stack, { gap: 4, children: [_jsx(C4TimestampInformation, { description: translations.lastUpdated, lastUpdatedAt: data?.lastUpdatedAt ?? '' }), _jsx(JobTilesContainer, { children: _jsxs(JobTilesGrid, { children: [_jsx(JobTile, { title: translations.jobTileCompleted, description: getTileDescription(data?.completed.count), icon: _jsx(JobsCompletedIcon, {}), tooltip: translations.jobTileCompletedTooltip }), _jsx(JobTile, { title: translations.jobTileFailed, description: getTileDescription(data?.failed.count), icon: _jsx(JobsFailedIcon, {}), tooltip: translations.jobTileFailedTooltip }), _jsx(JobTile, { title: translations.jobTileCreated, description: getTileDescription(data?.created.count), icon: _jsx(JobsCreatedIcon, {}), tooltip: translations.jobTileCreatedTooltip })] }) }), _jsx(Button, { onClick: onClick, children: translations.viewAllJobTypes })] }) }))] }) }));
|
|
51
51
|
}
|
|
52
52
|
export default C4JobDashboardEntryPoint;
|
package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JobDashboardErrorHandlerTranslations } from '../c4-job-dashboard-shared/c4-job-dashboard-error-handler';
|
|
2
|
-
import type {
|
|
2
|
+
import type { JobStatusSummary, JobsError } from '../c4-job-dashboard-shared/c4-job-dashboard-shared.types';
|
|
3
3
|
export interface JobDashboardTranslations {
|
|
4
4
|
title: string;
|
|
5
5
|
description: string;
|
|
@@ -21,5 +21,4 @@ export interface C4JobDashboardEntryPointProps {
|
|
|
21
21
|
onClick: () => void;
|
|
22
22
|
translations: JobDashboardTranslations;
|
|
23
23
|
isLoading?: boolean;
|
|
24
|
-
docsUrls: DocsUrls;
|
|
25
24
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type JSX } from 'react';
|
|
2
2
|
import type { C4JobDashboardOverviewPageProps } from './c4-job-dashboard-overview.types';
|
|
3
|
-
export declare const C4JobDashboardOverviewPage: ({ error, items, isIncomplete, config, onTimeRangeChange, breadcrumb, isLoadingConfig, isLoadingTable, translations, lastUpdatedAt,
|
|
3
|
+
export declare const C4JobDashboardOverviewPage: ({ error, items, isIncomplete, config, onTimeRangeChange, breadcrumb, isLoadingConfig, isLoadingTable, translations, lastUpdatedAt, }: C4JobDashboardOverviewPageProps) => JSX.Element;
|
|
@@ -8,7 +8,7 @@ import { C3DataTable, } from '@camunda/camunda-composite-components';
|
|
|
8
8
|
import { InlineNotification, Stack } from '@carbon/react';
|
|
9
9
|
import { Launch } from '@carbon/react/icons/index.esm.js';
|
|
10
10
|
import { useEffect, useState } from 'react';
|
|
11
|
-
import {
|
|
11
|
+
import { C4_EXTERNAL_URLS } from '../../externalUrls.const.js';
|
|
12
12
|
import { C4Breadcrumb } from '../c4-breadcrumb/c4-breadcrumb.js';
|
|
13
13
|
import { C4BackgroundFetchingIndicator } from '../c4-job-dashboard-shared/c4-background-fetching-indicator.js';
|
|
14
14
|
import { C4JobDashboardErrorHandler } from '../c4-job-dashboard-shared/c4-job-dashboard-error-handler.js';
|
|
@@ -16,8 +16,7 @@ import { headerWithTooltip } from '../c4-job-dashboard-shared/c4-job-dashboard-t
|
|
|
16
16
|
import C4JobDashboardTimeRangeDropdown from '../c4-job-dashboard-shared/c4-job-dashboard-time-range-dropdown.js';
|
|
17
17
|
import C4TimestampInformation from '../c4-job-dashboard-shared/c4-timestamp-information.js';
|
|
18
18
|
import { C4LinkButton } from '../c4-link-button/c4-link-button.js';
|
|
19
|
-
export const C4JobDashboardOverviewPage = ({ error, items, isIncomplete, config, onTimeRangeChange, breadcrumb, isLoadingConfig, isLoadingTable, translations, lastUpdatedAt,
|
|
20
|
-
const resolvedDocsUrls = getC4JobDashboardDocsUrls(docsUrls);
|
|
19
|
+
export const C4JobDashboardOverviewPage = ({ error, items, isIncomplete, config, onTimeRangeChange, breadcrumb, isLoadingConfig, isLoadingTable, translations, lastUpdatedAt, }) => {
|
|
21
20
|
const [rows, setRows] = useState([]);
|
|
22
21
|
useEffect(() => {
|
|
23
22
|
const originalRows = items.map((row, index) => ({
|
|
@@ -53,9 +52,9 @@ export const C4JobDashboardOverviewPage = ({ error, items, isIncomplete, config,
|
|
|
53
52
|
details: 'Feature is disabled',
|
|
54
53
|
message: '',
|
|
55
54
|
};
|
|
56
|
-
return (_jsx(C4JobDashboardErrorHandler, { itemsLength: 0, showIcons: true, translations: translations.errorHandler, error: error
|
|
55
|
+
return (_jsx(C4JobDashboardErrorHandler, { itemsLength: 0, showIcons: true, translations: translations.errorHandler, error: error }));
|
|
57
56
|
}
|
|
58
|
-
return (_jsxs(Stack, { gap: 3, children: [_jsx(C4Breadcrumb, { loading: false, elements: breadcrumb.elements, title: translations.title }), _jsxs("p", { children: [translations.description, ' ', _jsx(C4LinkButton, { onClick: () => window.open(
|
|
57
|
+
return (_jsxs(Stack, { gap: 3, children: [_jsx(C4Breadcrumb, { loading: false, elements: breadcrumb.elements, title: translations.title }), _jsxs("p", { children: [translations.description, ' ', _jsx(C4LinkButton, { onClick: () => window.open(C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker, '_blank', 'noopener,noreferrer'), label: translations.learnMoreLabel, icon: _jsx(Launch, {}) })] }), _jsx(C4TimestampInformation, { description: translations.lastUpdated, lastUpdatedAt: lastUpdatedAt }), _jsx(C4JobDashboardTimeRangeDropdown, { onChange: onTimeRangeChange, exportInterval: config?.exportInterval, disabled: isLoadingConfig, translations: translations.dropdown }), shouldShowErrorHandler ? (_jsx(C4JobDashboardErrorHandler, { error: error, itemsLength: items.length, showIcons: true, translations: translations.errorHandler })) : (_jsxs(_Fragment, { children: [isIncomplete && (_jsx(InlineNotification, { style: { maxWidth: '100%' }, lowContrast: true, kind: 'warning', title: translations.dataLimitWarning.title, subtitle: translations.dataLimitWarning.description })), _jsx(C3DataTable, { id: 'usage-history-table', data: rows, toolbar: toolbar, headers: [
|
|
59
58
|
{
|
|
60
59
|
key: 'jobType',
|
|
61
60
|
label: translations.tableHeaders.jobType,
|
package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { C4BreadcrumbProps } from '../c4-breadcrumb/c4-breadcrumb.types';
|
|
2
2
|
import type { JobDashboardErrorHandlerTranslations } from '../c4-job-dashboard-shared/c4-job-dashboard-error-handler';
|
|
3
|
-
import type { Config,
|
|
3
|
+
import type { Config, JobStatusSummary, JobsError } from '../c4-job-dashboard-shared/c4-job-dashboard-shared.types';
|
|
4
4
|
import type { JobDashboardDropdownTranslationProps } from '../c4-job-dashboard-shared/c4-job-dashboard-time-range-dropdown';
|
|
5
5
|
export interface JobDashboardOverviewDataRow extends JobStatusSummary {
|
|
6
6
|
jobType: string;
|
|
@@ -43,5 +43,4 @@ export interface C4JobDashboardOverviewPageProps {
|
|
|
43
43
|
isLoadingConfig: boolean;
|
|
44
44
|
isLoadingTable: boolean;
|
|
45
45
|
translations: JobDashboardOverviewTranslations;
|
|
46
|
-
docsUrls?: DocsUrls;
|
|
47
46
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JSX } from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { JobsError } from './c4-job-dashboard-shared.types';
|
|
3
3
|
export interface JobDashboardErrorHandlerTranslations {
|
|
4
4
|
forbidden: {
|
|
5
5
|
title: string;
|
|
@@ -21,6 +21,5 @@ export interface C4JobDashboardErrorHandlerProps {
|
|
|
21
21
|
itemsLength: number;
|
|
22
22
|
showIcons: boolean;
|
|
23
23
|
translations: JobDashboardErrorHandlerTranslations;
|
|
24
|
-
docsUrls: DocsUrls;
|
|
25
24
|
}
|
|
26
|
-
export declare const C4JobDashboardErrorHandler: ({ error, showIcons, itemsLength, translations,
|
|
25
|
+
export declare const C4JobDashboardErrorHandler: ({ error, showIcons, itemsLength, translations, }: C4JobDashboardErrorHandlerProps) => JSX.Element;
|
|
@@ -7,6 +7,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
7
7
|
import { Tile } from '@carbon/react';
|
|
8
8
|
import { Launch } from '@carbon/react/icons/index.esm.js';
|
|
9
9
|
import styled from 'styled-components';
|
|
10
|
+
import { C4_EXTERNAL_URLS } from '../../externalUrls.const.js';
|
|
10
11
|
import { AccessRestrictedIcon, EmptyJobsIcon, ErrorIcon, } from '../../icons/c4-icons.js';
|
|
11
12
|
import { C4LinkButton } from '../c4-link-button/c4-link-button.js';
|
|
12
13
|
const Row = styled.div `
|
|
@@ -21,7 +22,7 @@ const Description = styled.p `
|
|
|
21
22
|
color: var(--cds-text-secondary, #525252);
|
|
22
23
|
padding: 0.5rem 0;
|
|
23
24
|
`;
|
|
24
|
-
export const C4JobDashboardErrorHandler = ({ error, showIcons, itemsLength, translations,
|
|
25
|
+
export const C4JobDashboardErrorHandler = ({ error, showIcons, itemsLength, translations, }) => {
|
|
25
26
|
if (error) {
|
|
26
27
|
const isAccessRestricted = error.status === 401 || error.status === 403;
|
|
27
28
|
let title;
|
|
@@ -42,10 +43,10 @@ export const C4JobDashboardErrorHandler = ({ error, showIcons, itemsLength, tran
|
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
return (_jsx("div", { style: { width: '100%', margin: '1rem 0' }, children: _jsx(Tile, { children: _jsxs(Row, { children: [showIcons &&
|
|
45
|
-
(isAccessRestricted ? (_jsx(AccessRestrictedIcon, { size: 70 })) : (_jsx(ErrorIcon, { size: 80 }))), _jsxs("div", { children: [_jsx("h3", { children: title }), _jsx(Description, { children: description }), isAccessRestricted && (_jsx(C4LinkButton, { onClick: () => window.open(
|
|
46
|
+
(isAccessRestricted ? (_jsx(AccessRestrictedIcon, { size: 70 })) : (_jsx(ErrorIcon, { size: 80 }))), _jsxs("div", { children: [_jsx("h3", { children: title }), _jsx(Description, { children: description }), isAccessRestricted && (_jsx(C4LinkButton, { onClick: () => window.open(C4_EXTERNAL_URLS.docs.jobDashboard.roles, '_blank', 'noopener,noreferrer'), label: translations.forbidden.learnMoreLabel, icon: _jsx(Launch, {}) }))] })] }) }) }));
|
|
46
47
|
}
|
|
47
48
|
if (itemsLength === 0) {
|
|
48
|
-
return (_jsx(Tile, { children: _jsxs(Row, { children: [showIcons && _jsx(EmptyJobsIcon, { size: 84 }), _jsxs("div", { children: [_jsx("h2", { children: translations.empty.title }), _jsx(Description, { children: translations.empty.description }), _jsx(C4LinkButton, { onClick: () => window.open(
|
|
49
|
+
return (_jsx(Tile, { children: _jsxs(Row, { children: [showIcons && _jsx(EmptyJobsIcon, { size: 84 }), _jsxs("div", { children: [_jsx("h2", { children: translations.empty.title }), _jsx(Description, { children: translations.empty.description }), _jsx(C4LinkButton, { onClick: () => window.open(C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker, '_blank', 'noopener,noreferrer'), label: translations.empty.learnMoreLabel, icon: _jsx(Launch, { color: 'currentColor', size: 16 }) })] })] }) }));
|
|
49
50
|
}
|
|
50
51
|
return _jsx(_Fragment, {});
|
|
51
52
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { DocsUrls as C4JobDashboardDocsUrls } from './components/c4-job-dashboard-shared/c4-job-dashboard-shared.types';
|
|
2
1
|
import type { C4ClusterDetailsDocsUrls, C4ClusterDetailsUrls } from './widgets/cluster-details/c4-cluster-details-app.types';
|
|
3
2
|
import type { C4CreateClusterExternalLinks } from './widgets/create-cluster/c4-create-cluster-page.types';
|
|
4
3
|
import type { C4DashboardUrls } from './widgets/dashboard/c4-dashboard-app.types';
|
|
@@ -10,7 +9,7 @@ export declare const C4_EXTERNAL_URLS: {
|
|
|
10
9
|
readonly consoleApiClients: "https://docs.camunda.io/docs/next/apis-tools/administration-api/administration-api-reference/";
|
|
11
10
|
readonly consoleAlerts: "https://docs.camunda.io/docs/next/components/console/manage-clusters/manage-alerts/";
|
|
12
11
|
readonly consoleClusterClients: "https://docs.camunda.io/docs/next/components/console/manage-clusters/manage-api-clients/";
|
|
13
|
-
readonly consoleManageConnectors: "https://docs.camunda.io/docs/components/console/manage-connectors/";
|
|
12
|
+
readonly consoleManageConnectors: "https://docs.camunda.io/docs/components/console/manage-clusters/cluster-connectors/";
|
|
14
13
|
readonly connectorSecrets: "https://docs.camunda.io/docs/next/components/connectors/use-connectors/#using-secrets";
|
|
15
14
|
readonly consoleIpWhitelist: "https://docs.camunda.io/docs/next/components/console/manage-clusters/manage-ip-allowlists/";
|
|
16
15
|
readonly conceptsRBA: "https://docs.camunda.io/docs/components/concepts/resource-authorizations/";
|
|
@@ -45,7 +44,7 @@ export declare const C4_EXTERNAL_URLS: {
|
|
|
45
44
|
readonly secureConnectivity: "https://docs.camunda.io/docs/components/saas/secure-connectivity/";
|
|
46
45
|
readonly releasePolicy: "https://camunda.com/release-policy/";
|
|
47
46
|
readonly jobDashboard: {
|
|
48
|
-
readonly roles: "https://docs.camunda.io/docs/components/
|
|
47
|
+
readonly roles: "https://docs.camunda.io/docs/components/admin/role/";
|
|
49
48
|
readonly jobWorker: "https://docs.camunda.io/docs/components/concepts/job-workers/";
|
|
50
49
|
};
|
|
51
50
|
};
|
|
@@ -82,7 +81,6 @@ export declare function getC4DashboardUrls(params: {
|
|
|
82
81
|
};
|
|
83
82
|
export declare function getC4ClusterClientDetailsDocsUrl(url?: string): string;
|
|
84
83
|
export declare function getC4ClustersGettingStartedHref(href?: string): string;
|
|
85
|
-
export declare function getC4JobDashboardDocsUrls(docsUrls?: C4JobDashboardDocsUrls): Required<C4JobDashboardDocsUrls>;
|
|
86
84
|
export declare function getC4ManagementUrls(params?: {
|
|
87
85
|
email?: string;
|
|
88
86
|
overrides?: C4ManagementUrls;
|
|
@@ -8,7 +8,7 @@ export const C4_EXTERNAL_URLS = {
|
|
|
8
8
|
consoleApiClients: 'https://docs.camunda.io/docs/next/apis-tools/administration-api/administration-api-reference/',
|
|
9
9
|
consoleAlerts: 'https://docs.camunda.io/docs/next/components/console/manage-clusters/manage-alerts/',
|
|
10
10
|
consoleClusterClients: 'https://docs.camunda.io/docs/next/components/console/manage-clusters/manage-api-clients/',
|
|
11
|
-
consoleManageConnectors: 'https://docs.camunda.io/docs/components/console/manage-connectors/',
|
|
11
|
+
consoleManageConnectors: 'https://docs.camunda.io/docs/components/console/manage-clusters/cluster-connectors/',
|
|
12
12
|
connectorSecrets: 'https://docs.camunda.io/docs/next/components/connectors/use-connectors/#using-secrets',
|
|
13
13
|
consoleIpWhitelist: 'https://docs.camunda.io/docs/next/components/console/manage-clusters/manage-ip-allowlists/',
|
|
14
14
|
conceptsRBA: 'https://docs.camunda.io/docs/components/concepts/resource-authorizations/',
|
|
@@ -43,7 +43,7 @@ export const C4_EXTERNAL_URLS = {
|
|
|
43
43
|
secureConnectivity: 'https://docs.camunda.io/docs/components/saas/secure-connectivity/',
|
|
44
44
|
releasePolicy: 'https://camunda.com/release-policy/',
|
|
45
45
|
jobDashboard: {
|
|
46
|
-
roles: 'https://docs.camunda.io/docs/components/
|
|
46
|
+
roles: 'https://docs.camunda.io/docs/components/admin/role/',
|
|
47
47
|
jobWorker: 'https://docs.camunda.io/docs/components/concepts/job-workers/',
|
|
48
48
|
},
|
|
49
49
|
},
|
|
@@ -83,12 +83,6 @@ export function getC4ClusterDetailsUrls(urls) {
|
|
|
83
83
|
announcementsApiTools: urls.docs?.upgrade?.announcementsApiTools ??
|
|
84
84
|
C4_EXTERNAL_URLS.docs.announcementsApiTools,
|
|
85
85
|
},
|
|
86
|
-
jobDashboard: {
|
|
87
|
-
roles: urls.docs?.jobDashboard?.roles ??
|
|
88
|
-
C4_EXTERNAL_URLS.docs.jobDashboard.roles,
|
|
89
|
-
jobWorker: urls.docs?.jobDashboard?.jobWorker ??
|
|
90
|
-
C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker,
|
|
91
|
-
},
|
|
92
86
|
byom: urls.docs?.byom ?? C4_EXTERNAL_URLS.docs.byom,
|
|
93
87
|
hotBackups: urls.docs?.hotBackups ?? C4_EXTERNAL_URLS.docs.hotBackups,
|
|
94
88
|
secureConnectivity: urls.docs?.secureConnectivity ??
|
|
@@ -146,12 +140,6 @@ export function getC4ClusterClientDetailsDocsUrl(url) {
|
|
|
146
140
|
export function getC4ClustersGettingStartedHref(href) {
|
|
147
141
|
return href?.trim() || 'https://docs.camunda.io/docs/guides/';
|
|
148
142
|
}
|
|
149
|
-
export function getC4JobDashboardDocsUrls(docsUrls) {
|
|
150
|
-
return {
|
|
151
|
-
roles: docsUrls?.roles ?? C4_EXTERNAL_URLS.docs.jobDashboard.roles,
|
|
152
|
-
jobWorker: docsUrls?.jobWorker ?? C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker,
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
143
|
export function getC4ManagementUrls(params) {
|
|
156
144
|
const overrides = params?.overrides;
|
|
157
145
|
return {
|
|
@@ -41,10 +41,6 @@ describe('getC4ClusterDetailsUrls', () => {
|
|
|
41
41
|
tasklistApiVersions: C4_EXTERNAL_URLS.docs.tasklistApiVersions,
|
|
42
42
|
announcementsApiTools: C4_EXTERNAL_URLS.docs.announcementsApiTools,
|
|
43
43
|
},
|
|
44
|
-
jobDashboard: {
|
|
45
|
-
roles: C4_EXTERNAL_URLS.docs.jobDashboard.roles,
|
|
46
|
-
jobWorker: C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker,
|
|
47
|
-
},
|
|
48
44
|
byom: C4_EXTERNAL_URLS.docs.byom,
|
|
49
45
|
hotBackups: C4_EXTERNAL_URLS.docs.hotBackups,
|
|
50
46
|
secureConnectivity: C4_EXTERNAL_URLS.docs.secureConnectivity,
|
|
@@ -74,16 +70,11 @@ describe('getC4ClusterDetailsUrls', () => {
|
|
|
74
70
|
upgrade: {
|
|
75
71
|
whatsNewIn88: 'https://docs.example/upgrade',
|
|
76
72
|
},
|
|
77
|
-
jobDashboard: {
|
|
78
|
-
roles: 'https://docs.example/job-dashboard-roles',
|
|
79
|
-
},
|
|
80
73
|
},
|
|
81
74
|
});
|
|
82
75
|
expect(urls.docs.alerts).toBe('https://docs.example/alerts');
|
|
83
76
|
expect(urls.docs.upgrade.whatsNewIn88).toBe('https://docs.example/upgrade');
|
|
84
77
|
expect(urls.docs.upgrade.tasklistApiVersions).toBe(C4_EXTERNAL_URLS.docs.tasklistApiVersions);
|
|
85
|
-
expect(urls.docs.jobDashboard.roles).toBe('https://docs.example/job-dashboard-roles');
|
|
86
|
-
expect(urls.docs.jobDashboard.jobWorker).toBe(C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker);
|
|
87
78
|
expect(urls.docs.contact).toBe(C4_EXTERNAL_URLS.camunda.contact);
|
|
88
79
|
});
|
|
89
80
|
});
|
|
@@ -87,6 +87,14 @@
|
|
|
87
87
|
"updateSubtitle": "The connector secret has been updated successfully.",
|
|
88
88
|
"errorTitle": "Failed to create connector secret"
|
|
89
89
|
},
|
|
90
|
+
"clusterSecret": {
|
|
91
|
+
"buttonText": "Save as cluster secret",
|
|
92
|
+
"successTitle": "Cluster secret created",
|
|
93
|
+
"successSubtitle": "The cluster secret has been created successfully.",
|
|
94
|
+
"updateTitle": "Cluster secret updated",
|
|
95
|
+
"updateSubtitle": "The cluster secret has been updated successfully.",
|
|
96
|
+
"errorTitle": "Failed to create cluster secret"
|
|
97
|
+
},
|
|
90
98
|
"identity": {
|
|
91
99
|
"step1Header": "Step 1: Select a format and save your credentials",
|
|
92
100
|
"step2Header": "Step 2: Copy the client ID over to Identity and set authorizations",
|
|
@@ -171,7 +171,10 @@
|
|
|
171
171
|
"tasklistV2Line0": "The Tasklist component currently uses the <0>{{ state }}</0> v1 API. We recommend upgrading to Tasklist v2, which integrates with the Orchestration Cluster API, uses the recommended Camunda user task implementation type, and offers improved performance.",
|
|
172
172
|
"tasklistV2Line1": "Before migrating to Tasklist v2, ensure that you’re <0>{{ support }}</0> job worker-based user tasks, draft variables, or public start forms, as these features are only available in v1.",
|
|
173
173
|
"tasklistV2Line2": "After upgrading to v2, downgrading back to v1 will not be possible.",
|
|
174
|
-
"tasklistV2LearnMore": "Learn more about upgrading from Tasklist v1 to v2"
|
|
174
|
+
"tasklistV2LearnMore": "Learn more about upgrading from Tasklist v1 to v2",
|
|
175
|
+
"tasklistV1RemovalTitle": "Update removes Tasklist v1",
|
|
176
|
+
"tasklistV1RemovalBody": "The 8.10 update removes the Tasklist v1 API. Applications on this cluster still using Tasklist v1 will break. Migrate to Tasklist v2 / Orchestration Cluster API before continuing.",
|
|
177
|
+
"tasklistV1RemovalLearnMore": "Migration guide"
|
|
175
178
|
},
|
|
176
179
|
"autoUpdate": "Automatically keep my cluster up to date",
|
|
177
180
|
"buttons": {
|
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
"importFromClusterButton": "from Cluster",
|
|
101
101
|
"importFromFileButton": "from File",
|
|
102
102
|
"exportButton": "Export",
|
|
103
|
+
"emptyIconAltText": "Connector secrets icon",
|
|
103
104
|
"infoText": "Secrets can be used to reference encrypted authentication credentials in Connectors. See the <0>secrets</0> documentation for more details.",
|
|
104
105
|
"header": {
|
|
105
106
|
"key": "Key"
|
|
@@ -123,10 +124,16 @@
|
|
|
123
124
|
"title": "Oops ... something went wrong.",
|
|
124
125
|
"description": "Please try reloading!",
|
|
125
126
|
"button": "Reload"
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"clusterSecrets": {
|
|
130
|
+
"title": "Cluster secrets",
|
|
131
|
+
"emptyIconAltText": "Cluster secrets icon",
|
|
132
|
+
"infoText": "Secrets can be used to reference encrypted authentication credentials in your cluster. See the <0>secrets</0> documentation for more details.",
|
|
133
|
+
"noSecrets": {
|
|
134
|
+
"title": "Store credentials safely using Camunda cluster secrets",
|
|
135
|
+
"description": "Accessing an external system requires authentication with credentials. To ensure the credentials are secure, use the Camunda secrets vault to store usernames, passwords, or API credentials without exposing sensitive information in your BPMN processes."
|
|
136
|
+
}
|
|
130
137
|
},
|
|
131
138
|
"hotbackups": {
|
|
132
139
|
"title": "Backups",
|
|
@@ -134,6 +141,25 @@
|
|
|
134
141
|
"createButton": "Create manual backup",
|
|
135
142
|
"deleteButton": "Delete",
|
|
136
143
|
"retryButton": "Retry",
|
|
144
|
+
"restoreAction": "Restore",
|
|
145
|
+
"expansionVersionLabel": "Version",
|
|
146
|
+
"restoreInProgressTitle": "Restoring \"{backupName}\"",
|
|
147
|
+
"restoreInProgressText": "You can't start another backup or restore while this is in progress.",
|
|
148
|
+
"restoreErrorTitle": "Restore failed",
|
|
149
|
+
"restoreErrorMessage": "Restore of \"{backupName}\" did not complete. Your cluster is unchanged. Contact support if the issue persists.",
|
|
150
|
+
"restoreErrorDismiss": "Dismiss",
|
|
151
|
+
"restoreModal": {
|
|
152
|
+
"title": "Restore backup",
|
|
153
|
+
"description": "Restoring this backup will replace the current cluster state. This action cannot be undone.",
|
|
154
|
+
"backupLabel": "Backup",
|
|
155
|
+
"dateLabel": "Date",
|
|
156
|
+
"versionLabel": "Version",
|
|
157
|
+
"confirmButton": "Restore",
|
|
158
|
+
"cancelButton": "Cancel",
|
|
159
|
+
"versionMismatchTitle": "Backup version differs from cluster",
|
|
160
|
+
"versionMismatchBody": "This cluster is on {currentVersion}; the backup was taken on {backupVersion}. Restoring will downgrade the cluster.",
|
|
161
|
+
"acknowledgmentLabel": "I understand this will downgrade the cluster."
|
|
162
|
+
},
|
|
137
163
|
"infoText0": "For more information, see documentation on <0>backups</0>.",
|
|
138
164
|
"infoText1": "<0>Learn more about backups</0>",
|
|
139
165
|
"disabledNotification": {
|
|
@@ -277,6 +303,10 @@
|
|
|
277
303
|
"overview": {
|
|
278
304
|
"title": "Overview",
|
|
279
305
|
"updateButton": "Update",
|
|
306
|
+
"restoreInProgress": {
|
|
307
|
+
"title": "Restore in progress",
|
|
308
|
+
"subtitle": "Cluster configuration changes are not available until the restore completes."
|
|
309
|
+
},
|
|
280
310
|
"applications": {
|
|
281
311
|
"title": "Components",
|
|
282
312
|
"launchLink": "Launch",
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
3
|
+
* under one or more contributor license agreements. Licensed under a commercial license.
|
|
4
|
+
* You may not use this file except in compliance with the commercial license.
|
|
5
|
+
*
|
|
6
|
+
* Native CSS — no Sass dependency.
|
|
7
|
+
*
|
|
8
|
+
* Consumers must load Carbon's stylesheet themselves (e.g.
|
|
9
|
+
* `import '@carbon/styles/css/styles.min.css'`) so that the `--cds-*` CSS
|
|
10
|
+
* custom properties used below are defined. This file only contains the
|
|
11
|
+
* c4-specific selectors and overrides that sit on top of Carbon.
|
|
12
|
+
*
|
|
13
|
+
* Carbon type-token values are inlined as literal rem/px values because
|
|
14
|
+
* Carbon doesn't expose them as CSS custom properties — they're only
|
|
15
|
+
* available via the Sass `type-style` mixin. If Carbon ever ships them as
|
|
16
|
+
* CSS variables, switch to `var(--cds-heading-04-font-size)` etc.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
@import "@carbon/charts/styles.css";
|
|
20
|
+
|
|
21
|
+
.cds--content {
|
|
22
|
+
min-height: calc(100vh - 3rem);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.cds--content.withTrialBanner {
|
|
26
|
+
margin-top: 7rem;
|
|
27
|
+
min-height: calc(100vh - 7rem);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.flex-container-stats {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-wrap: wrap;
|
|
33
|
+
gap: 25px;
|
|
34
|
+
justify-content: space-between;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.flex-container-stats .cds--tile {
|
|
38
|
+
min-width: 330px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.flex-container-stats .cds--tile.wide {
|
|
42
|
+
min-width: 685px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.flex-container-stats .cds--tile h3 {
|
|
46
|
+
padding-bottom: 8px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.flex-stats {
|
|
50
|
+
min-width: 300px;
|
|
51
|
+
margin: 24px;
|
|
52
|
+
padding: 24px;
|
|
53
|
+
background-color: white;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.flex-container {
|
|
57
|
+
display: flex;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.flex-search-select {
|
|
61
|
+
flex-grow: 1;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.flex-search-input {
|
|
65
|
+
flex-grow: 4;
|
|
66
|
+
margin-top: 8px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.cds--data-table th.cds--table-expand + .cds--table-column-checkbox + th {
|
|
70
|
+
padding-left: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.cds--data-table td.cds--table-expand + .cds--table-column-checkbox + td {
|
|
74
|
+
padding-left: 1rem;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.cds--data-table thead th.cds--table-expand,
|
|
78
|
+
.cds--data-table tbody td.cds--table-expand {
|
|
79
|
+
min-width: 40px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
tr.cds--parent-row.cds--expandable-row + tr[data-child-row] td {
|
|
83
|
+
padding-left: 6rem;
|
|
84
|
+
padding-right: 2rem;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.cds--inline-notification__icon,
|
|
88
|
+
.cds--actionable-notification .cds--inline-notification__icon {
|
|
89
|
+
margin-top: 1rem;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.cds--g100 .cds--inline-notification--low-contrast,
|
|
93
|
+
[data-carbon-theme="g100"] .cds--inline-notification--low-contrast {
|
|
94
|
+
color: var(--cds-text-inverse);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* Carbon type tokens (heading-04, heading-03, heading-02, heading-01,
|
|
98
|
+
* body-01, legal-01) — inlined values from @carbon/type, accurate as of
|
|
99
|
+
* @carbon/react 1.107. */
|
|
100
|
+
h1 {
|
|
101
|
+
font-size: 1.75rem;
|
|
102
|
+
font-weight: 400;
|
|
103
|
+
line-height: 1.28572;
|
|
104
|
+
letter-spacing: 0;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
h2 {
|
|
108
|
+
font-size: 1.25rem;
|
|
109
|
+
font-weight: 400;
|
|
110
|
+
line-height: 1.4;
|
|
111
|
+
letter-spacing: 0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
h3 {
|
|
115
|
+
font-size: 1rem;
|
|
116
|
+
font-weight: 600;
|
|
117
|
+
line-height: 1.375;
|
|
118
|
+
letter-spacing: 0;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
h4 {
|
|
122
|
+
font-size: 0.875rem;
|
|
123
|
+
font-weight: 600;
|
|
124
|
+
line-height: 1.42857;
|
|
125
|
+
letter-spacing: 0.16px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
p,
|
|
129
|
+
.bodyText {
|
|
130
|
+
font-size: 0.875rem;
|
|
131
|
+
font-weight: 400;
|
|
132
|
+
line-height: 1.42857;
|
|
133
|
+
letter-spacing: 0.16px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.legalText {
|
|
137
|
+
font-size: 0.75rem;
|
|
138
|
+
font-weight: 400;
|
|
139
|
+
line-height: 1.33333;
|
|
140
|
+
letter-spacing: 0.32px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.textPrimary {
|
|
144
|
+
color: var(--cds-text-primary);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.balancedHorizontalStack {
|
|
148
|
+
grid-auto-columns: 1fr;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.headerTag {
|
|
152
|
+
height: 1.5rem;
|
|
153
|
+
margin-top: 0.75rem;
|
|
154
|
+
padding: 0 1rem;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.healthIndicator {
|
|
158
|
+
position: relative;
|
|
159
|
+
padding-left: 20px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.healthIndicator::before {
|
|
163
|
+
content: "";
|
|
164
|
+
position: absolute;
|
|
165
|
+
left: 0;
|
|
166
|
+
top: 50%;
|
|
167
|
+
transform: translateY(-50%);
|
|
168
|
+
width: 12px;
|
|
169
|
+
height: 12px;
|
|
170
|
+
border-radius: 100%;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.healthIndicator.healthy::before {
|
|
174
|
+
background-color: var(--cds-support-success);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.healthIndicator.creating::before {
|
|
178
|
+
background-color: var(--cds-support-warning);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.healthIndicator.unhealthy::before {
|
|
182
|
+
background-color: var(--cds-support-error);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.cluster-state {
|
|
186
|
+
width: 12px;
|
|
187
|
+
height: 12px;
|
|
188
|
+
border-radius: 100%;
|
|
189
|
+
display: inline-block;
|
|
190
|
+
margin-right: 12px;
|
|
191
|
+
position: relative;
|
|
192
|
+
top: 1px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.cluster-state.creating,
|
|
196
|
+
.cluster-state.updating {
|
|
197
|
+
background-color: var(--cds-support-warning);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.cluster-state.healthy {
|
|
201
|
+
background-color: var(--cds-support-success);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.cluster-state.unhealthy {
|
|
205
|
+
background-color: var(--cds-support-error);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.dashboard {
|
|
209
|
+
display: grid;
|
|
210
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
211
|
+
grid-template-rows: max-content max-content auto;
|
|
212
|
+
column-gap: 30px;
|
|
213
|
+
row-gap: 30px;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.dashboard .welcome {
|
|
217
|
+
grid-column-start: 1;
|
|
218
|
+
grid-column-end: 3;
|
|
219
|
+
grid-row-start: 1;
|
|
220
|
+
grid-row-end: 2;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.dashboard .clusters {
|
|
224
|
+
grid-column-start: 1;
|
|
225
|
+
grid-column-end: 2;
|
|
226
|
+
grid-row-start: 2;
|
|
227
|
+
grid-row-end: 3;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.dashboard .users {
|
|
231
|
+
grid-column-start: 2;
|
|
232
|
+
grid-column-end: 3;
|
|
233
|
+
grid-row-start: 2;
|
|
234
|
+
grid-row-end: 3;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.dashboard .documentation {
|
|
238
|
+
grid-column-start: 3;
|
|
239
|
+
grid-column-end: 4;
|
|
240
|
+
grid-row-start: 1;
|
|
241
|
+
grid-row-end: 3;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.dashboard .feedback {
|
|
245
|
+
grid-column-start: 3;
|
|
246
|
+
grid-column-end: 4;
|
|
247
|
+
grid-row-start: 3;
|
|
248
|
+
grid-row-end: 4;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.cds--modal .cds--popover-content.cds--tooltip-content {
|
|
252
|
+
margin-left: -50px;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.cluster-load .cds--loading-overlay {
|
|
256
|
+
position: absolute !important;
|
|
257
|
+
}
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -46,6 +46,8 @@ export { C4ClusterDetailsEncryption } from './components/c4-cluster-details-encr
|
|
|
46
46
|
export type { C4ClusterDetailsEncryptionProps, ClusterEncryptionData, EncryptionFormData, EncryptionStatus, } from './components/c4-cluster-details-encryption/c4-cluster-details-encryption.types';
|
|
47
47
|
export { C4ClusterDetailsHotBackups } from './components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups';
|
|
48
48
|
export type { BackupItem, BackupScheduleItem, C4ClusterDetailsHotBackupsProps, } from './components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.types';
|
|
49
|
+
export { C4ClusterDetailsHotBackupsRestore } from './components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore';
|
|
50
|
+
export type { C4ClusterDetailsHotBackupsRestoreProps } from './components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.types';
|
|
49
51
|
export { C4ClusterDetailsIpWhitelist } from './components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist';
|
|
50
52
|
export type { C4ClusterDetailsIpWhitelistProps, IpWhitelistItem, } from './components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.types';
|
|
51
53
|
export { C4ClusterDetailsSecureConnectivity } from './components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity';
|
|
@@ -167,7 +169,7 @@ export type { C4UsageMetricsPerClusterProps } from './components/c4-usage-metric
|
|
|
167
169
|
export { C4UserDetails } from './components/c4-user-details/c4-user-details';
|
|
168
170
|
export type { C4UserDetailsProps } from './components/c4-user-details/c4-user-details.types';
|
|
169
171
|
export type { AuthorizedResourcesConfig } from './components/c4-user-details/tabs/authorized-resources';
|
|
170
|
-
export { C4_EXTERNAL_URLS, getC4ClusterClientDetailsDocsUrl, getC4ClusterDetailsUrls, getC4ClustersGettingStartedHref, getC4CreateClusterExternalLinks, getC4DashboardUrls, getC4GroupDetailsExternalLinks,
|
|
172
|
+
export { C4_EXTERNAL_URLS, getC4ClusterClientDetailsDocsUrl, getC4ClusterDetailsUrls, getC4ClustersGettingStartedHref, getC4CreateClusterExternalLinks, getC4DashboardUrls, getC4GroupDetailsExternalLinks, getC4ManagementUrls, getC4TalkToAnExpertUrl, getC4UserDetailsExternalLinks, } from './externalUrls.const';
|
|
171
173
|
export type { C4I18nRegistrar } from './i18n/c4-console-i18n';
|
|
172
174
|
export { C4_CONSOLE_I18N_NAMESPACE, registerC4ConsoleI18n, } from './i18n/c4-console-i18n';
|
|
173
175
|
export { C4ModelerIcon, C4OperateIcon, C4OptimizeIcon, C4TasklistIcon, } from './icons/c4-icons';
|