@camunda/ccma-saas-frontend 0.0.34 → 0.0.36

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.
Files changed (87) hide show
  1. package/lib/esm/assetUrls.d.ts +19 -0
  2. package/lib/esm/assetUrls.js +41 -0
  3. package/lib/esm/assets/ai.svg +14 -0
  4. package/lib/esm/assets/alerts.svg +5 -0
  5. package/lib/esm/assets/auditlogs.svg +9 -0
  6. package/lib/esm/assets/backup.svg +3 -0
  7. package/lib/esm/assets/clientApi.svg +10 -0
  8. package/lib/esm/assets/cluster.svg +4 -0
  9. package/lib/esm/assets/connectorSecret.svg +3 -0
  10. package/lib/esm/assets/consoleAPI.svg +3 -0
  11. package/lib/esm/assets/error.svg +11 -0
  12. package/lib/esm/assets/fatalError.svg +5 -0
  13. package/lib/esm/assets/ipwhitelist.svg +3 -0
  14. package/lib/esm/assets/monitoring.svg +6 -0
  15. package/lib/esm/assets/operatePreview.jpg +0 -0
  16. package/lib/esm/assets/optimizePreview.jpg +0 -0
  17. package/lib/esm/assets/secureConnectivity.svg +11 -0
  18. package/lib/esm/assets/tasklistPreview.jpg +0 -0
  19. package/lib/esm/assets/upgrade.svg +4 -0
  20. package/lib/esm/components/c4-ai-usage/c4-ai-usage.js +2 -1
  21. package/lib/esm/components/c4-audit-log/c4-audit-log.js +2 -1
  22. package/lib/esm/components/c4-billing-page/elements/value-metric.js +3 -3
  23. package/lib/esm/components/c4-billing-page/elements/value-metric.spec.d.ts +1 -0
  24. package/lib/esm/components/c4-billing-page/elements/value-metric.spec.js +49 -0
  25. package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.js +3 -2
  26. package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.js +2 -1
  27. package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.js +3 -2
  28. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.js +3 -2
  29. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.js +3 -2
  30. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.js +5 -4
  31. package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.js +2 -1
  32. package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.js +10 -2
  33. package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.js +4 -3
  34. package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +48 -7
  35. package/lib/esm/components/c4-create-cluster/c4-create-cluster.spec.d.ts +1 -0
  36. package/lib/esm/components/c4-create-cluster/c4-create-cluster.spec.js +303 -0
  37. package/lib/esm/components/c4-create-cluster/c4-create-cluster.types.d.ts +4 -0
  38. package/lib/esm/components/c4-delete-organization-modal/c4-delete-organization-modal.d.ts +3 -0
  39. package/lib/esm/components/c4-delete-organization-modal/c4-delete-organization-modal.js +41 -0
  40. package/lib/esm/components/c4-delete-organization-modal/c4-delete-organization-modal.types.d.ts +10 -0
  41. package/lib/esm/components/c4-delete-organization-modal/c4-delete-organization-modal.types.js +6 -0
  42. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.d.ts +1 -0
  43. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.js +5 -2
  44. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.types.d.ts +1 -1
  45. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.js +2 -2
  46. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.js +6 -1
  47. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.js +4 -2
  48. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.types.d.ts +1 -1
  49. package/lib/esm/components/c4-management-api/c4-management-api.js +2 -1
  50. package/lib/esm/components/c4-management-settings/c4-management-settings.js +2 -1
  51. package/lib/esm/components/c4-theme-switcher/c4-theme-switcher.js +25 -2
  52. package/lib/esm/externalUrls.const.d.ts +90 -0
  53. package/lib/esm/externalUrls.const.js +191 -0
  54. package/lib/esm/externalUrls.const.spec.d.ts +1 -0
  55. package/lib/esm/externalUrls.const.spec.js +108 -0
  56. package/lib/esm/i18n/en/modals/clusterclients.json +3 -0
  57. package/lib/esm/i18n/en/pages/clusterdetails.json +4 -0
  58. package/lib/esm/i18n/en/pages/createcluster.json +4 -1
  59. package/lib/esm/index.d.ts +4 -0
  60. package/lib/esm/index.js +3 -0
  61. package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.js +2 -1
  62. package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.types.d.ts +2 -2
  63. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +53 -37
  64. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.permissions.spec.js +34 -1
  65. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +69 -38
  66. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.js +3 -3
  67. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.spec.js +19 -0
  68. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.d.ts +6 -0
  69. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +5 -5
  70. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.js +33 -41
  71. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.spec.js +64 -0
  72. package/lib/esm/widgets/clusters/c4-clusters-page.js +5 -3
  73. package/lib/esm/widgets/clusters/c4-clusters-page.spec.js +37 -2
  74. package/lib/esm/widgets/clusters/c4-clusters-page.types.d.ts +1 -1
  75. package/lib/esm/widgets/connector-management/c4-connector-management.shared.js +2 -1
  76. package/lib/esm/widgets/create-cluster/c4-create-cluster-page.js +26 -15
  77. package/lib/esm/widgets/create-cluster/c4-create-cluster-page.types.d.ts +1 -1
  78. package/lib/esm/widgets/dashboard/c4-dashboard-app.js +8 -7
  79. package/lib/esm/widgets/dashboard/c4-dashboard-app.types.d.ts +9 -8
  80. package/lib/esm/widgets/group-details/c4-group-details-page.js +2 -3
  81. package/lib/esm/widgets/group-details/c4-group-details-page.types.d.ts +1 -1
  82. package/lib/esm/widgets/management/c4-management-app.js +116 -89
  83. package/lib/esm/widgets/management/c4-management-app.types.d.ts +16 -15
  84. package/lib/esm/widgets/management/tabs/c4-management-usage-tab.js +3 -4
  85. package/lib/esm/widgets/user-details/c4-user-details-page.js +2 -3
  86. package/lib/esm/widgets/user-details/c4-user-details-page.types.d.ts +1 -1
  87. package/package.json +2 -2
@@ -7,6 +7,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
7
  import { C3DataTable, C3EmptyState, } from '@camunda/camunda-composite-components';
8
8
  import { Button, Link, Stack, StaticNotification, StructuredListSkeleton, } from '@carbon/react';
9
9
  import { ConnectionSend, Renew, TrashCan } from '@carbon/react/icons/index.esm.js';
10
+ import { C4_ASSET_URLS } from '../../assetUrls.js';
10
11
  import { C4ExternalLink } from '../c4-external-link/c4-external-link.js';
11
12
  import { C4Toggle } from '../c4-toggle/c4-toggle.js';
12
13
  export const C4ManagementSettings = ({ orgId: _orgId, organizationName: _organizationName, hasAcceptedBetaTerms, suppressDropDisks, earlyAccessFeatures, recentlyAcceptedBeta, loading, error, permissions, onLeaveOrganization, onDeleteOrganization, onToggleSuppressDropDisks, onToggleEarlyAccessFeature, onOptInToBeta, onOpenFeatureOptIn, onShareFeedback, onRetry, text, earlyAccessDocsUrl, }) => {
@@ -107,7 +108,7 @@ export const C4ManagementSettings = ({ orgId: _orgId, organizationName: _organiz
107
108
  maxWidth: '100%',
108
109
  marginBottom: '12px',
109
110
  } }, 'optin-notification')), error ? (_jsx(C3EmptyState, { icon: {
110
- path: `../../../assets/fatalError.svg`,
111
+ path: C4_ASSET_URLS.fatalErrorIcon,
111
112
  altText: 'errorIcon',
112
113
  }, heading: text.earlyAccess.errorTitle, description: text.earlyAccess.errorMessage, button: {
113
114
  onClick: onRetry,
@@ -21,6 +21,12 @@ import cyberzeeIcon from './cyberzee-removebg-preview-100.png';
21
21
  const STORAGE_KEY = 'camunda-theme-mode';
22
22
  const ACTIVATION_KEY = 'camunda-theme-switcher-enabled';
23
23
  const ACTIVATION_EVENT = 'camunda-theme-switcher-activated';
24
+ /**
25
+ * Custom events dispatched by the AprilFoolsNotification component.
26
+ * Used to reposition the theme switcher when the notification is visible.
27
+ */
28
+ const APRIL_FOOLS_SHOWN_EVENT = 'camunda-april-fools-shown';
29
+ const APRIL_FOOLS_HIDDEN_EVENT = 'camunda-april-fools-hidden';
24
30
  /**
25
31
  * Cyberzee icon component for theme toggle
26
32
  */
@@ -54,6 +60,7 @@ const getThemeButtonContent = (theme) => {
54
60
  export const C4ThemeSwitcher = ({ position = 'bottom-right', visible = true, onThemeChange, }) => {
55
61
  const [currentTheme, setCurrentTheme] = useState('normal');
56
62
  const [isActivated, setIsActivated] = useState(() => localStorage.getItem(ACTIVATION_KEY) === 'true');
63
+ const [isAprilFoolsVisible, setIsAprilFoolsVisible] = useState(false);
57
64
  const { resolvedTheme } = useC3Profile();
58
65
  // Register developer-console activation function
59
66
  useEffect(() => {
@@ -70,6 +77,17 @@ export const C4ThemeSwitcher = ({ position = 'bottom-right', visible = true, onT
70
77
  window.removeEventListener(ACTIVATION_EVENT, handleActivation);
71
78
  };
72
79
  }, []);
80
+ // Listen for April Fools notification visibility to shift position left
81
+ useEffect(() => {
82
+ const handleShown = () => setIsAprilFoolsVisible(true);
83
+ const handleHidden = () => setIsAprilFoolsVisible(false);
84
+ window.addEventListener(APRIL_FOOLS_SHOWN_EVENT, handleShown);
85
+ window.addEventListener(APRIL_FOOLS_HIDDEN_EVENT, handleHidden);
86
+ return () => {
87
+ window.removeEventListener(APRIL_FOOLS_SHOWN_EVENT, handleShown);
88
+ window.removeEventListener(APRIL_FOOLS_HIDDEN_EVENT, handleHidden);
89
+ };
90
+ }, []);
73
91
  // Apply theme class to body
74
92
  const applyThemeClass = useCallback((theme, carbonTheme) => {
75
93
  // Remove all theme classes
@@ -174,9 +192,14 @@ export const C4ThemeSwitcher = ({ position = 'bottom-right', visible = true, onT
174
192
  if (!visible || (!isActivated && currentTheme === 'normal')) {
175
193
  return _jsx(_Fragment, { children: " " });
176
194
  }
177
- // Position styles
195
+ // Position styles. When the April Fools notification is visible in the
196
+ // bottom-right corner (right: 1rem, maxWidth: 28rem), shift the button
197
+ // further left so the two never overlap.
178
198
  const positionStyles = {
179
- 'bottom-right': { bottom: '20px', right: '80px' },
199
+ 'bottom-right': {
200
+ bottom: '20px',
201
+ right: isAprilFoolsVisible ? 'calc(28rem + 2rem)' : '80px',
202
+ },
180
203
  'bottom-left': { bottom: '20px', left: '20px' },
181
204
  'top-right': { top: '20px', right: '20px' },
182
205
  'top-left': { top: '20px', left: '20px' },
@@ -0,0 +1,90 @@
1
+ import type { DocsUrls as C4JobDashboardDocsUrls } from './components/c4-job-dashboard-shared/c4-job-dashboard-shared.types';
2
+ import type { C4ClusterDetailsDocsUrls, C4ClusterDetailsUrls } from './widgets/cluster-details/c4-cluster-details-app.types';
3
+ import type { C4CreateClusterExternalLinks } from './widgets/create-cluster/c4-create-cluster-page.types';
4
+ import type { C4DashboardUrls } from './widgets/dashboard/c4-dashboard-app.types';
5
+ import type { C4GroupDetailsExternalLinks } from './widgets/group-details/c4-group-details-page.types';
6
+ import type { C4ManagementUrls } from './widgets/management/c4-management-app.types';
7
+ import type { C4UserDetailsExternalLinks } from './widgets/user-details/c4-user-details-page.types';
8
+ export declare const C4_EXTERNAL_URLS: {
9
+ readonly docs: {
10
+ readonly consoleApiClients: "https://docs.camunda.io/docs/next/apis-tools/administration-api/administration-api-reference/";
11
+ readonly consoleAlerts: "https://docs.camunda.io/docs/next/components/console/manage-clusters/manage-alerts/";
12
+ readonly consoleClusterClients: "https://docs.camunda.io/docs/next/components/console/manage-clusters/manage-api-clients/";
13
+ readonly connectorSecrets: "https://docs.camunda.io/docs/next/components/connectors/use-connectors/#using-secrets";
14
+ readonly consoleIpWhitelist: "https://docs.camunda.io/docs/next/components/console/manage-clusters/manage-ip-allowlists/";
15
+ readonly conceptsRBA: "https://docs.camunda.io/docs/components/concepts/resource-authorizations/";
16
+ readonly springZeebe: "https://docs.camunda.io/docs/apis-tools/spring-zeebe-sdk/getting-started/";
17
+ readonly springZeebeConfig: "https://docs.camunda.io/docs/apis-tools/spring-zeebe-sdk/configuration/";
18
+ readonly hotBackups: "https://docs.camunda.io/docs/components/saas/backups/";
19
+ readonly earlyAccess: "https://docs.camunda.io/docs/next/components/early-access/overview/";
20
+ readonly encryption: "https://docs.camunda.io/docs/components/console/manage-clusters/create-cluster/";
21
+ readonly clusterLoad: "https://docs.camunda.io/docs/next/components/console/manage-clusters/cluster-capacity/";
22
+ readonly identityAuthorizations: "https://docs.camunda.io/docs/next/components/concepts/access-control/authorizations/";
23
+ readonly tasklistApiVersions: "https://docs.camunda.io/docs/next/components/tasklist/api-versions/";
24
+ readonly whatsNewIn88: "https://docs.camunda.io/docs/reference/announcements-release-notes/880/whats-new-in-88/";
25
+ readonly announcementsApiTools: "https://docs.camunda.io/docs/reference/announcements-release-notes/880/880-announcements/#apis--tools";
26
+ readonly swagger: "https://docs.camunda.io/docs/next/apis-tools/orchestration-cluster-api-rest/orchestration-cluster-api-rest-swagger/";
27
+ readonly introToIdentity: "https://docs.camunda.io/docs/components/identity/identity-introduction/";
28
+ readonly byom: "https://docs.camunda.io/docs/components/saas/monitoring/cluster-metrics-endpoint/";
29
+ readonly mcpSetup: "https://docs.camunda.io/docs/next/apis-tools/orchestration-cluster-api-mcp/orchestration-cluster-api-mcp-setup/#use-c8ctl-mcp-proxy";
30
+ readonly mcpOverview: "https://docs.camunda.io/docs/next/apis-tools/orchestration-cluster-api-mcp/orchestration-cluster-api-mcp-overview/";
31
+ readonly llmTokens: "https://docs.camunda.io/docs/components/early-access/alpha/llm-access/";
32
+ readonly aiBlueprintsMarketplace: "https://marketplace.camunda.com/";
33
+ readonly byok: {
34
+ readonly overview: "https://docs.camunda.io/docs/components/saas/byok/aws-external-encryption-setup/";
35
+ readonly learnMoreAboutCreatingKmsKey: "https://docs.camunda.io/docs/components/saas/byok/aws-external-encryption-setup/#option-b-manual-key-creation-in-aws-console";
36
+ readonly cliScript: {
37
+ readonly learnMore: "https://docs.camunda.io/docs/components/saas/byok/aws-external-encryption-setup/#option-a-create-the-key-using-aws-cli";
38
+ };
39
+ };
40
+ readonly clusters: {
41
+ readonly autoPause: "https://docs.camunda.io/docs/components/concepts/clusters/#auto-pause";
42
+ };
43
+ readonly auditLog: "https://docs.camunda.io/docs/next/components/audit-log/overview/";
44
+ readonly secureConnectivity: "https://docs.camunda.io/components/saas/secure-connectivity/";
45
+ readonly releasePolicy: "https://camunda.com/release-policy/";
46
+ readonly jobDashboard: {
47
+ readonly roles: "https://docs.camunda.io/docs/components/identity/role/";
48
+ readonly jobWorker: "https://docs.camunda.io/docs/components/concepts/job-workers/";
49
+ };
50
+ };
51
+ readonly camunda: {
52
+ readonly contact: "https://camunda.com/contact/";
53
+ readonly trustCenter: "https://camunda.com/trust-center/";
54
+ readonly contactEnterprisePlan: "https://camunda.com/products/cloud/camunda-cloud-enterprise-contact/";
55
+ };
56
+ readonly help: {
57
+ readonly enterpriseSupport: "https://camunda.com/services/support/";
58
+ readonly talkToAnExpert: "https://camunda.com/platform/camunda-platform-enterprise-contact/?utm_medium=referral&utm_source=console&utm_campaign=ContactUs.CamundaPlatform.C8SaaS.Enterprise";
59
+ readonly requestCelpLicence: "https://camunda.com/educationee/";
60
+ };
61
+ };
62
+ export declare function getC4TalkToAnExpertUrl(properties?: {
63
+ email?: string;
64
+ utm_content?: string;
65
+ }): string;
66
+ export declare function getC4ClusterDetailsUrls(urls: C4ClusterDetailsUrls): {
67
+ clusters: string;
68
+ docs: C4ClusterDetailsDocsUrls;
69
+ };
70
+ export declare function getC4CreateClusterExternalLinks(links?: C4CreateClusterExternalLinks): Required<C4CreateClusterExternalLinks>;
71
+ export declare function getC4DashboardUrls(params: {
72
+ orgId: string;
73
+ overrides?: C4DashboardUrls;
74
+ }): {
75
+ docs: {
76
+ introToConsole: string;
77
+ guides: string;
78
+ };
79
+ academyDemo: string;
80
+ modeler: string;
81
+ };
82
+ export declare function getC4ClusterClientDetailsDocsUrl(url?: string): string;
83
+ export declare function getC4ClustersGettingStartedHref(href?: string): string;
84
+ export declare function getC4JobDashboardDocsUrls(docsUrls?: C4JobDashboardDocsUrls): Required<C4JobDashboardDocsUrls>;
85
+ export declare function getC4ManagementUrls(params?: {
86
+ email?: string;
87
+ overrides?: C4ManagementUrls;
88
+ }): Required<C4ManagementUrls>;
89
+ export declare function getC4GroupDetailsExternalLinks(links?: C4GroupDetailsExternalLinks): Required<C4GroupDetailsExternalLinks>;
90
+ export declare function getC4UserDetailsExternalLinks(links?: C4UserDetailsExternalLinks): Required<C4UserDetailsExternalLinks>;
@@ -0,0 +1,191 @@
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
+ export const C4_EXTERNAL_URLS = {
7
+ docs: {
8
+ consoleApiClients: 'https://docs.camunda.io/docs/next/apis-tools/administration-api/administration-api-reference/',
9
+ consoleAlerts: 'https://docs.camunda.io/docs/next/components/console/manage-clusters/manage-alerts/',
10
+ consoleClusterClients: 'https://docs.camunda.io/docs/next/components/console/manage-clusters/manage-api-clients/',
11
+ connectorSecrets: 'https://docs.camunda.io/docs/next/components/connectors/use-connectors/#using-secrets',
12
+ consoleIpWhitelist: 'https://docs.camunda.io/docs/next/components/console/manage-clusters/manage-ip-allowlists/',
13
+ conceptsRBA: 'https://docs.camunda.io/docs/components/concepts/resource-authorizations/',
14
+ springZeebe: 'https://docs.camunda.io/docs/apis-tools/spring-zeebe-sdk/getting-started/',
15
+ springZeebeConfig: 'https://docs.camunda.io/docs/apis-tools/spring-zeebe-sdk/configuration/',
16
+ hotBackups: 'https://docs.camunda.io/docs/components/saas/backups/',
17
+ earlyAccess: 'https://docs.camunda.io/docs/next/components/early-access/overview/',
18
+ encryption: 'https://docs.camunda.io/docs/components/console/manage-clusters/create-cluster/',
19
+ clusterLoad: 'https://docs.camunda.io/docs/next/components/console/manage-clusters/cluster-capacity/',
20
+ identityAuthorizations: 'https://docs.camunda.io/docs/next/components/concepts/access-control/authorizations/',
21
+ tasklistApiVersions: 'https://docs.camunda.io/docs/next/components/tasklist/api-versions/',
22
+ whatsNewIn88: 'https://docs.camunda.io/docs/reference/announcements-release-notes/880/whats-new-in-88/',
23
+ announcementsApiTools: 'https://docs.camunda.io/docs/reference/announcements-release-notes/880/880-announcements/#apis--tools',
24
+ swagger: 'https://docs.camunda.io/docs/next/apis-tools/orchestration-cluster-api-rest/orchestration-cluster-api-rest-swagger/',
25
+ introToIdentity: 'https://docs.camunda.io/docs/components/identity/identity-introduction/',
26
+ byom: 'https://docs.camunda.io/docs/components/saas/monitoring/cluster-metrics-endpoint/',
27
+ mcpSetup: 'https://docs.camunda.io/docs/next/apis-tools/orchestration-cluster-api-mcp/orchestration-cluster-api-mcp-setup/#use-c8ctl-mcp-proxy',
28
+ mcpOverview: 'https://docs.camunda.io/docs/next/apis-tools/orchestration-cluster-api-mcp/orchestration-cluster-api-mcp-overview/',
29
+ llmTokens: 'https://docs.camunda.io/docs/components/early-access/alpha/llm-access/',
30
+ aiBlueprintsMarketplace: 'https://marketplace.camunda.com/',
31
+ byok: {
32
+ overview: 'https://docs.camunda.io/docs/components/saas/byok/aws-external-encryption-setup/',
33
+ learnMoreAboutCreatingKmsKey: 'https://docs.camunda.io/docs/components/saas/byok/aws-external-encryption-setup/#option-b-manual-key-creation-in-aws-console',
34
+ cliScript: {
35
+ learnMore: 'https://docs.camunda.io/docs/components/saas/byok/aws-external-encryption-setup/#option-a-create-the-key-using-aws-cli',
36
+ },
37
+ },
38
+ clusters: {
39
+ autoPause: 'https://docs.camunda.io/docs/components/concepts/clusters/#auto-pause',
40
+ },
41
+ auditLog: 'https://docs.camunda.io/docs/next/components/audit-log/overview/',
42
+ secureConnectivity: 'https://docs.camunda.io/components/saas/secure-connectivity/',
43
+ releasePolicy: 'https://camunda.com/release-policy/',
44
+ jobDashboard: {
45
+ roles: 'https://docs.camunda.io/docs/components/identity/role/',
46
+ jobWorker: 'https://docs.camunda.io/docs/components/concepts/job-workers/',
47
+ },
48
+ },
49
+ camunda: {
50
+ contact: 'https://camunda.com/contact/',
51
+ trustCenter: 'https://camunda.com/trust-center/',
52
+ contactEnterprisePlan: 'https://camunda.com/products/cloud/camunda-cloud-enterprise-contact/',
53
+ },
54
+ help: {
55
+ enterpriseSupport: 'https://camunda.com/services/support/',
56
+ talkToAnExpert: 'https://camunda.com/platform/camunda-platform-enterprise-contact/?utm_medium=referral&utm_source=console&utm_campaign=ContactUs.CamundaPlatform.C8SaaS.Enterprise',
57
+ requestCelpLicence: 'https://camunda.com/educationee/',
58
+ },
59
+ };
60
+ export function getC4TalkToAnExpertUrl(properties) {
61
+ const baseUrl = C4_EXTERNAL_URLS.help.talkToAnExpert;
62
+ const sanitizedEntries = Object.entries(properties ?? {}).filter(([, value]) => typeof value === 'string' && value.trim().length > 0);
63
+ const params = new URLSearchParams(sanitizedEntries).toString();
64
+ const separator = baseUrl.includes('?') ? '&' : '?';
65
+ return params ? `${baseUrl}${separator}${params}` : baseUrl;
66
+ }
67
+ export function getC4ClusterDetailsUrls(urls) {
68
+ return {
69
+ clusters: urls.clusters,
70
+ docs: {
71
+ alerts: urls.docs?.alerts ?? C4_EXTERNAL_URLS.docs.consoleAlerts,
72
+ auditlogs: urls.docs?.auditlogs ?? C4_EXTERNAL_URLS.docs.auditLog,
73
+ ipWhitelist: urls.docs?.ipWhitelist ?? C4_EXTERNAL_URLS.docs.consoleIpWhitelist,
74
+ clients: urls.docs?.clients ?? C4_EXTERNAL_URLS.docs.consoleClusterClients,
75
+ connectorSecrets: urls.docs?.connectorSecrets ?? C4_EXTERNAL_URLS.docs.connectorSecrets,
76
+ mcpSetup: urls.docs?.mcpSetup ?? C4_EXTERNAL_URLS.docs.mcpSetup,
77
+ upgrade: {
78
+ whatsNewIn88: urls.docs?.upgrade?.whatsNewIn88 ??
79
+ C4_EXTERNAL_URLS.docs.whatsNewIn88,
80
+ tasklistApiVersions: urls.docs?.upgrade?.tasklistApiVersions ??
81
+ C4_EXTERNAL_URLS.docs.tasklistApiVersions,
82
+ announcementsApiTools: urls.docs?.upgrade?.announcementsApiTools ??
83
+ C4_EXTERNAL_URLS.docs.announcementsApiTools,
84
+ },
85
+ jobDashboard: {
86
+ roles: urls.docs?.jobDashboard?.roles ??
87
+ C4_EXTERNAL_URLS.docs.jobDashboard.roles,
88
+ jobWorker: urls.docs?.jobDashboard?.jobWorker ??
89
+ C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker,
90
+ },
91
+ byom: urls.docs?.byom ?? C4_EXTERNAL_URLS.docs.byom,
92
+ hotBackups: urls.docs?.hotBackups ?? C4_EXTERNAL_URLS.docs.hotBackups,
93
+ secureConnectivity: urls.docs?.secureConnectivity ??
94
+ C4_EXTERNAL_URLS.docs.secureConnectivity,
95
+ releasePolicy: urls.docs?.releasePolicy ?? C4_EXTERNAL_URLS.docs.releasePolicy,
96
+ identityAuthorization: urls.docs?.identityAuthorization ??
97
+ C4_EXTERNAL_URLS.docs.identityAuthorizations,
98
+ resourceAuthorizations: urls.docs?.resourceAuthorizations ?? C4_EXTERNAL_URLS.docs.conceptsRBA,
99
+ swagger: urls.docs?.swagger ?? C4_EXTERNAL_URLS.docs.swagger,
100
+ mcpOverview: urls.docs?.mcpOverview ?? C4_EXTERNAL_URLS.docs.mcpOverview,
101
+ tasklistApiVersions: urls.docs?.tasklistApiVersions ??
102
+ C4_EXTERNAL_URLS.docs.tasklistApiVersions,
103
+ springZeebeGettingStarted: urls.docs?.springZeebeGettingStarted ??
104
+ C4_EXTERNAL_URLS.docs.springZeebe,
105
+ springZeebeConfig: urls.docs?.springZeebeConfig ?? C4_EXTERNAL_URLS.docs.springZeebeConfig,
106
+ clusterLoad: urls.docs?.clusterLoad ?? C4_EXTERNAL_URLS.docs.clusterLoad,
107
+ encryption: urls.docs?.encryption ?? C4_EXTERNAL_URLS.docs.encryption,
108
+ encryptionCli: urls.docs?.encryptionCli ??
109
+ C4_EXTERNAL_URLS.docs.byok.cliScript.learnMore,
110
+ encryptionManual: urls.docs?.encryptionManual ??
111
+ C4_EXTERNAL_URLS.docs.byok.learnMoreAboutCreatingKmsKey,
112
+ identityDocsUrl: urls.docs?.identityDocsUrl ?? C4_EXTERNAL_URLS.docs.introToIdentity,
113
+ support: urls.docs?.support ?? C4_EXTERNAL_URLS.help.enterpriseSupport,
114
+ contact: urls.docs?.contact ?? C4_EXTERNAL_URLS.camunda.contact,
115
+ },
116
+ };
117
+ }
118
+ export function getC4CreateClusterExternalLinks(links) {
119
+ return {
120
+ docsEncryption: links?.docsEncryption ?? C4_EXTERNAL_URLS.docs.encryption,
121
+ docsByok: links?.docsByok ?? C4_EXTERNAL_URLS.docs.byok.overview,
122
+ docsAutopause: links?.docsAutopause ?? C4_EXTERNAL_URLS.docs.clusters.autoPause,
123
+ docsTasklistApiVersions: links?.docsTasklistApiVersions ??
124
+ C4_EXTERNAL_URLS.docs.tasklistApiVersions,
125
+ identityAuthorizations: links?.identityAuthorizations ??
126
+ C4_EXTERNAL_URLS.docs.identityAuthorizations,
127
+ };
128
+ }
129
+ export function getC4DashboardUrls(params) {
130
+ return {
131
+ docs: {
132
+ introToConsole: params.overrides?.docs?.introToConsole ??
133
+ 'https://docs.camunda.io/docs/next/components/console/introduction-to-console/',
134
+ guides: params.overrides?.docs?.guides ??
135
+ 'https://docs.camunda.io/docs/guides/',
136
+ },
137
+ academyDemo: params.overrides?.academyDemo ??
138
+ 'https://academy.camunda.com/page/camunda-8',
139
+ modeler: params.overrides?.modeler ?? `/org/${params.orgId}`,
140
+ };
141
+ }
142
+ export function getC4ClusterClientDetailsDocsUrl(url) {
143
+ return url?.trim() || C4_EXTERNAL_URLS.docs.consoleClusterClients;
144
+ }
145
+ export function getC4ClustersGettingStartedHref(href) {
146
+ return href?.trim() || 'https://docs.camunda.io/docs/guides/';
147
+ }
148
+ export function getC4JobDashboardDocsUrls(docsUrls) {
149
+ return {
150
+ roles: docsUrls?.roles ?? C4_EXTERNAL_URLS.docs.jobDashboard.roles,
151
+ jobWorker: docsUrls?.jobWorker ?? C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker,
152
+ };
153
+ }
154
+ export function getC4ManagementUrls(params) {
155
+ const overrides = params?.overrides;
156
+ return {
157
+ earlyAccessDocsUrl: overrides?.earlyAccessDocsUrl ?? C4_EXTERNAL_URLS.docs.earlyAccess,
158
+ apiClientsDocsUrl: overrides?.apiClientsDocsUrl ?? C4_EXTERNAL_URLS.docs.consoleApiClients,
159
+ activityDocsUrl: overrides?.activityDocsUrl ?? C4_EXTERNAL_URLS.docs.auditLog,
160
+ aiUsageDocsUrl: overrides?.aiUsageDocsUrl ?? C4_EXTERNAL_URLS.docs.llmTokens,
161
+ aiBlueprintsUrl: overrides?.aiBlueprintsUrl ??
162
+ C4_EXTERNAL_URLS.docs.aiBlueprintsMarketplace,
163
+ contactUrl: overrides?.contactUrl ?? C4_EXTERNAL_URLS.camunda.contact,
164
+ contactEnterprisePlanUrl: overrides?.contactEnterprisePlanUrl ??
165
+ C4_EXTERNAL_URLS.camunda.contactEnterprisePlan,
166
+ trustCenterUrl: overrides?.trustCenterUrl ?? C4_EXTERNAL_URLS.camunda.trustCenter,
167
+ talkToAnExpertUrl: overrides?.talkToAnExpertUrl ??
168
+ getC4TalkToAnExpertUrl({
169
+ email: params?.email,
170
+ utm_content: 'pricing',
171
+ }),
172
+ requestCelpLicenceUrl: overrides?.requestCelpLicenceUrl ??
173
+ C4_EXTERNAL_URLS.help.requestCelpLicence,
174
+ introToIdentityDocsUrl: overrides?.introToIdentityDocsUrl ??
175
+ C4_EXTERNAL_URLS.docs.introToIdentity,
176
+ identityAuthorizationsDocsUrl: overrides?.identityAuthorizationsDocsUrl ??
177
+ C4_EXTERNAL_URLS.docs.identityAuthorizations,
178
+ identityDocsUrl: overrides?.identityDocsUrl ?? C4_EXTERNAL_URLS.docs.introToIdentity,
179
+ };
180
+ }
181
+ export function getC4GroupDetailsExternalLinks(links) {
182
+ return {
183
+ docsUrl: links?.docsUrl ?? C4_EXTERNAL_URLS.docs.introToIdentity,
184
+ };
185
+ }
186
+ export function getC4UserDetailsExternalLinks(links) {
187
+ return {
188
+ identityAuthorizationsDocsUrl: links?.identityAuthorizationsDocsUrl ??
189
+ C4_EXTERNAL_URLS.docs.identityAuthorizations,
190
+ };
191
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,108 @@
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
+ import { describe, expect, it } from 'vitest';
7
+ import { C4_EXTERNAL_URLS, getC4ClusterClientDetailsDocsUrl, getC4ClusterDetailsUrls, getC4ClustersGettingStartedHref, getC4CreateClusterExternalLinks, getC4TalkToAnExpertUrl, } from './externalUrls.const.js';
8
+ describe('getC4TalkToAnExpertUrl', () => {
9
+ it('returns the base URL when no properties are provided', () => {
10
+ expect(getC4TalkToAnExpertUrl()).toBe(C4_EXTERNAL_URLS.help.talkToAnExpert);
11
+ });
12
+ it('filters undefined and blank values while appending valid params', () => {
13
+ expect(getC4TalkToAnExpertUrl({
14
+ email: 'user@example.com',
15
+ utm_content: ' ',
16
+ })).toBe(`${C4_EXTERNAL_URLS.help.talkToAnExpert}&email=user%40example.com`);
17
+ });
18
+ it('appends multiple valid params to the existing query string', () => {
19
+ expect(getC4TalkToAnExpertUrl({
20
+ email: 'user@example.com',
21
+ utm_content: 'pricing',
22
+ })).toBe(`${C4_EXTERNAL_URLS.help.talkToAnExpert}&email=user%40example.com&utm_content=pricing`);
23
+ });
24
+ });
25
+ describe('getC4ClusterDetailsUrls', () => {
26
+ it('fills cluster detail docs with defaults when overrides are missing', () => {
27
+ const urls = getC4ClusterDetailsUrls({
28
+ clusters: '/org/org-1/clusters',
29
+ });
30
+ expect(urls).toEqual({
31
+ clusters: '/org/org-1/clusters',
32
+ docs: {
33
+ alerts: C4_EXTERNAL_URLS.docs.consoleAlerts,
34
+ auditlogs: C4_EXTERNAL_URLS.docs.auditLog,
35
+ ipWhitelist: C4_EXTERNAL_URLS.docs.consoleIpWhitelist,
36
+ clients: C4_EXTERNAL_URLS.docs.consoleClusterClients,
37
+ connectorSecrets: C4_EXTERNAL_URLS.docs.connectorSecrets,
38
+ mcpSetup: C4_EXTERNAL_URLS.docs.mcpSetup,
39
+ upgrade: {
40
+ whatsNewIn88: C4_EXTERNAL_URLS.docs.whatsNewIn88,
41
+ tasklistApiVersions: C4_EXTERNAL_URLS.docs.tasklistApiVersions,
42
+ announcementsApiTools: C4_EXTERNAL_URLS.docs.announcementsApiTools,
43
+ },
44
+ jobDashboard: {
45
+ roles: C4_EXTERNAL_URLS.docs.jobDashboard.roles,
46
+ jobWorker: C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker,
47
+ },
48
+ byom: C4_EXTERNAL_URLS.docs.byom,
49
+ hotBackups: C4_EXTERNAL_URLS.docs.hotBackups,
50
+ secureConnectivity: C4_EXTERNAL_URLS.docs.secureConnectivity,
51
+ releasePolicy: C4_EXTERNAL_URLS.docs.releasePolicy,
52
+ identityAuthorization: C4_EXTERNAL_URLS.docs.identityAuthorizations,
53
+ resourceAuthorizations: C4_EXTERNAL_URLS.docs.conceptsRBA,
54
+ swagger: C4_EXTERNAL_URLS.docs.swagger,
55
+ mcpOverview: C4_EXTERNAL_URLS.docs.mcpOverview,
56
+ tasklistApiVersions: C4_EXTERNAL_URLS.docs.tasklistApiVersions,
57
+ springZeebeGettingStarted: C4_EXTERNAL_URLS.docs.springZeebe,
58
+ springZeebeConfig: C4_EXTERNAL_URLS.docs.springZeebeConfig,
59
+ clusterLoad: C4_EXTERNAL_URLS.docs.clusterLoad,
60
+ encryption: C4_EXTERNAL_URLS.docs.encryption,
61
+ encryptionCli: C4_EXTERNAL_URLS.docs.byok.cliScript.learnMore,
62
+ encryptionManual: C4_EXTERNAL_URLS.docs.byok.learnMoreAboutCreatingKmsKey,
63
+ identityDocsUrl: C4_EXTERNAL_URLS.docs.introToIdentity,
64
+ support: C4_EXTERNAL_URLS.help.enterpriseSupport,
65
+ contact: C4_EXTERNAL_URLS.camunda.contact,
66
+ },
67
+ });
68
+ });
69
+ it('merges partial overrides with defaults', () => {
70
+ const urls = getC4ClusterDetailsUrls({
71
+ clusters: '/org/org-1/clusters',
72
+ docs: {
73
+ alerts: 'https://docs.example/alerts',
74
+ upgrade: {
75
+ whatsNewIn88: 'https://docs.example/upgrade',
76
+ },
77
+ jobDashboard: {
78
+ roles: 'https://docs.example/job-dashboard-roles',
79
+ },
80
+ },
81
+ });
82
+ expect(urls.docs.alerts).toBe('https://docs.example/alerts');
83
+ expect(urls.docs.upgrade.whatsNewIn88).toBe('https://docs.example/upgrade');
84
+ 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
+ expect(urls.docs.contact).toBe(C4_EXTERNAL_URLS.camunda.contact);
88
+ });
89
+ });
90
+ describe('trim-based docs helpers', () => {
91
+ it('falls back for blank cluster client docs URLs', () => {
92
+ expect(getC4ClusterClientDetailsDocsUrl(' ')).toBe(C4_EXTERNAL_URLS.docs.consoleClusterClients);
93
+ });
94
+ it('falls back for blank clusters getting started URLs', () => {
95
+ expect(getC4ClustersGettingStartedHref(' ')).toBe('https://docs.camunda.io/docs/guides/');
96
+ });
97
+ });
98
+ describe('getC4CreateClusterExternalLinks', () => {
99
+ it('uses the centralized docs constants for defaults', () => {
100
+ expect(getC4CreateClusterExternalLinks()).toEqual({
101
+ docsEncryption: C4_EXTERNAL_URLS.docs.encryption,
102
+ docsByok: C4_EXTERNAL_URLS.docs.byok.overview,
103
+ docsAutopause: C4_EXTERNAL_URLS.docs.clusters.autoPause,
104
+ docsTasklistApiVersions: C4_EXTERNAL_URLS.docs.tasklistApiVersions,
105
+ identityAuthorizations: C4_EXTERNAL_URLS.docs.identityAuthorizations,
106
+ });
107
+ });
108
+ });
@@ -70,6 +70,7 @@
70
70
  },
71
71
  "warning": "The client secret will not be shown again.",
72
72
  "error": {
73
+ "title": "Error",
73
74
  "generic": "We're having trouble creating the client",
74
75
  "doublette": "Client name needs to be unique"
75
76
  },
@@ -102,6 +103,7 @@
102
103
  "loadingText": "Deleting...",
103
104
  "description": "Are you sure you want to delete this client?",
104
105
  "error": {
106
+ "title": "Error",
105
107
  "generic": "We're having trouble deleting the client"
106
108
  }
107
109
  },
@@ -139,6 +141,7 @@
139
141
  }
140
142
  },
141
143
  "error": {
144
+ "title": "Error",
142
145
  "generic": "We're having trouble updating the client"
143
146
  }
144
147
  }
@@ -191,6 +191,10 @@
191
191
  "learnMoreLink": "Learn more about PrivateLink endpoint service",
192
192
  "disableButton": "Deactivate",
193
193
  "deactivatingButton": "Deactivating…",
194
+ "updatePrincipalsModalHeading": "Edit allowed principals",
195
+ "updateRegionsModalHeading": "Edit supported regions",
196
+ "updateModalSave": "Save changes",
197
+ "updateModalErrorTitle": "Update failed",
194
198
  "enabledStatusLabel": "Status",
195
199
  "allowedRegionsLabel": "Allowed regions",
196
200
  "allowedPrincipalsLabel": "Allowed principals",
@@ -45,7 +45,10 @@
45
45
  "description": "Choose single region to keep your data in one place, or select dual region for higher redundancy across geographically dispersed locations, ensuring better protection against local disruptions."
46
46
  },
47
47
  "generation": {
48
- "title": "Channel"
48
+ "title": "Channel",
49
+ "olderGenerationsLabel": "View older generations",
50
+ "olderGenerationsHelperText": "These are older generations that are used in your organization.",
51
+ "orgUnlockedGenerationsHelperText": "These are older generations that have been unlocked for your organization."
49
52
  },
50
53
  "autoUpdate": {
51
54
  "title": "Automatic cluster patch updates",
@@ -1,3 +1,4 @@
1
+ export { C4_ASSET_URLS } from './assetUrls';
1
2
  export { C4ActionableNotification } from './components/c4-actionable-notification/c4-actionable-notification';
2
3
  export type { C4ActionableNotificationProps } from './components/c4-actionable-notification/c4-actionable-notification.types';
3
4
  export { C4ActivityGraph } from './components/c4-activity-graph/c4-activity-graph';
@@ -80,6 +81,8 @@ export { C4CreateTrialOrganizationModal } from './components/c4-create-trial-org
80
81
  export type { C4CreateTrialOrganizationModalProps, C4LegacyModalError, } from './components/c4-create-trial-organization-modal/c4-create-trial-organization-modal.types';
81
82
  export { C4DashboardFirstLaunch } from './components/c4-dashboard-first-launch/c4-dashboard-first-launch';
82
83
  export type { C4DashboardFirstLaunchProps } from './components/c4-dashboard-first-launch/c4-dashboard-first-launch.types';
84
+ export { C4DeleteOrganizationModal } from './components/c4-delete-organization-modal/c4-delete-organization-modal';
85
+ export type { C4DeleteOrganizationModalProps } from './components/c4-delete-organization-modal/c4-delete-organization-modal.types';
83
86
  export { C4Divider } from './components/c4-divider/c4-divider';
84
87
  export type { C4DividerProps } from './components/c4-divider/c4-divider.types';
85
88
  export { C4ExternalLink } from './components/c4-external-link/c4-external-link';
@@ -164,6 +167,7 @@ export type { C4UsageMetricsPerClusterProps } from './components/c4-usage-metric
164
167
  export { C4UserDetails } from './components/c4-user-details/c4-user-details';
165
168
  export type { C4UserDetailsProps } from './components/c4-user-details/c4-user-details.types';
166
169
  export type { AuthorizedResourcesConfig } from './components/c4-user-details/tabs/authorized-resources';
170
+ export { C4_EXTERNAL_URLS, getC4ClusterClientDetailsDocsUrl, getC4ClusterDetailsUrls, getC4ClustersGettingStartedHref, getC4CreateClusterExternalLinks, getC4DashboardUrls, getC4GroupDetailsExternalLinks, getC4JobDashboardDocsUrls, getC4ManagementUrls, getC4TalkToAnExpertUrl, getC4UserDetailsExternalLinks, } from './externalUrls.const';
167
171
  export type { C4I18nRegistrar } from './i18n/c4-console-i18n';
168
172
  export { C4_CONSOLE_I18N_NAMESPACE, registerC4ConsoleI18n, } from './i18n/c4-console-i18n';
169
173
  export { C4ModelerIcon, C4OperateIcon, C4OptimizeIcon, C4TasklistIcon, } from './icons/c4-icons';
package/lib/esm/index.js CHANGED
@@ -3,6 +3,7 @@
3
3
  * under one or more contributor license agreements. Licensed under a commercial license.
4
4
  * You may not use this file except in compliance with the commercial license.
5
5
  */
6
+ export { C4_ASSET_URLS } from './assetUrls.js';
6
7
  export { C4ActionableNotification } from './components/c4-actionable-notification/c4-actionable-notification.js';
7
8
  export { C4ActivityGraph } from './components/c4-activity-graph/c4-activity-graph.js';
8
9
  // Re-export chart definition types for consumers
@@ -43,6 +44,7 @@ export { C4CreateConnectorSecretModal } from './components/c4-create-connector-s
43
44
  export { C4CreateConsoleApiClientModal } from './components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.js';
44
45
  export { C4CreateTrialOrganizationModal } from './components/c4-create-trial-organization-modal/c4-create-trial-organization-modal.js';
45
46
  export { C4DashboardFirstLaunch } from './components/c4-dashboard-first-launch/c4-dashboard-first-launch.js';
47
+ export { C4DeleteOrganizationModal } from './components/c4-delete-organization-modal/c4-delete-organization-modal.js';
46
48
  export { C4Divider } from './components/c4-divider/c4-divider.js';
47
49
  export { C4ExternalLink } from './components/c4-external-link/c4-external-link.js';
48
50
  export { C4InfoTooltip } from './components/c4-info-tooltip/c4-info-tooltip.js';
@@ -85,6 +87,7 @@ export { C4UsageAlertUpdateModal } from './components/c4-usage-alert-update-moda
85
87
  export { C4UsageHistory } from './components/c4-usage-history/c4-usage-history.js';
86
88
  export { C4UsageMetricsPerCluster } from './components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.js';
87
89
  export { C4UserDetails } from './components/c4-user-details/c4-user-details.js';
90
+ export { C4_EXTERNAL_URLS, getC4ClusterClientDetailsDocsUrl, getC4ClusterDetailsUrls, getC4ClustersGettingStartedHref, getC4CreateClusterExternalLinks, getC4DashboardUrls, getC4GroupDetailsExternalLinks, getC4JobDashboardDocsUrls, getC4ManagementUrls, getC4TalkToAnExpertUrl, getC4UserDetailsExternalLinks, } from './externalUrls.const.js';
88
91
  export { C4_CONSOLE_I18N_NAMESPACE, registerC4ConsoleI18n, } from './i18n/c4-console-i18n.js';
89
92
  export { C4ModelerIcon, C4OperateIcon, C4OptimizeIcon, C4TasklistIcon, } from './icons/c4-icons.js';
90
93
  export { openC4CreateClusterApiClientModal, setC4CreateClusterApiClientModalHandle, } from './modals/c4-create-cluster-api-client-modal-handle.js';
@@ -5,6 +5,7 @@ import { BreadcrumbSkeleton, CodeSnippet, InlineNotification, Modal, Stack, Stru
5
5
  import { observer } from 'mobx-react-lite';
6
6
  import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
7
7
  import { C4PageTemplate } from '../../components/c4-page-template/c4-page-template.js';
8
+ import { getC4ClusterClientDetailsDocsUrl } from '../../externalUrls.const.js';
8
9
  import { useC4ConsoleAuthz } from '../../runtime/c4-console-authz.js';
9
10
  import { useC4ConsoleRuntime } from '../../runtime/c4-console-runtime-context.js';
10
11
  import { toApiConfig } from '../../runtime/to-api-config.js';
@@ -455,7 +456,7 @@ export const C4ClusterClientDetailsApp = observer((props) => {
455
456
  },
456
457
  ]
457
458
  : [];
458
- const docsUrl = props.urls?.docs?.clients?.trim() || 'https://docs.camunda.io/';
459
+ const docsUrl = getC4ClusterClientDetailsDocsUrl(props.urls?.docs?.clients);
459
460
  return (_jsxs(_Fragment, { children: [_jsx(C4PageTemplate, { header: {
460
461
  title: client.name,
461
462
  menuItems: menuItems.length > 0 ? menuItems : undefined,
@@ -7,8 +7,8 @@ export interface C4ClusterClientDetailsAppProps {
7
7
  onNavigate?: (event: C4ClusterDetailsNavigateEvent) => void;
8
8
  urls: {
9
9
  clusters: string;
10
- docs: {
11
- clients: string;
10
+ docs?: {
11
+ clients?: string;
12
12
  };
13
13
  };
14
14
  }