@camunda/ccma-saas-frontend 0.1.0 → 0.3.0

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 (189) hide show
  1. package/lib/esm/components/c4-billing-page/c4-billing-page.mocks.d.ts +3 -0
  2. package/lib/esm/components/c4-billing-page/c4-billing-page.mocks.js +154 -0
  3. package/lib/esm/components/c4-billing-page/elements/value-metric.d.ts +2 -0
  4. package/lib/esm/components/c4-billing-page/elements/value-metric.js +14 -3
  5. package/lib/esm/components/c4-billing-page/elements/value-metric.spec.js +18 -0
  6. package/lib/esm/components/c4-charts-dashboard/elements/alluvial-chart.js +58 -1
  7. package/lib/esm/components/c4-charts-dashboard/elements/bar-chart.js +40 -6
  8. package/lib/esm/components/c4-charts-dashboard/elements/line-chart.js +6 -0
  9. package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.mocks.d.ts +5 -0
  10. package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.mocks.js +83 -0
  11. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.mocks.d.ts +6 -0
  12. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.mocks.js +79 -0
  13. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.mocks.d.ts +3 -0
  14. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.mocks.js +65 -0
  15. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.mocks.d.ts +60 -0
  16. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.mocks.js +143 -0
  17. package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.mocks.d.ts +6 -0
  18. package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.mocks.js +51 -0
  19. package/lib/esm/components/c4-cluster-list/c4-cluster-list.d.ts +1 -1
  20. package/lib/esm/components/c4-cluster-list/c4-cluster-list.js +63 -2
  21. package/lib/esm/components/c4-cluster-list/c4-cluster-list.mocks.d.ts +4 -0
  22. package/lib/esm/components/c4-cluster-list/c4-cluster-list.mocks.js +132 -0
  23. package/lib/esm/components/c4-cluster-list/c4-cluster-list.types.d.ts +7 -0
  24. package/lib/esm/components/c4-cluster-overview/applications.js +17 -3
  25. package/lib/esm/components/c4-cluster-overview/applications.spec.js +27 -1
  26. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.mocks.d.ts +8 -0
  27. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.mocks.js +203 -0
  28. package/lib/esm/components/c4-cluster-overview/cluster-details.d.ts +2 -0
  29. package/lib/esm/components/c4-cluster-overview/cluster-details.js +59 -9
  30. package/lib/esm/components/c4-cluster-overview/cluster-load.js +38 -3
  31. package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.mocks.d.ts +16 -0
  32. package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.mocks.js +104 -0
  33. package/lib/esm/components/c4-cluster-settings/elements/app-integrations-toggle.d.ts +14 -0
  34. package/lib/esm/components/c4-cluster-settings/elements/app-integrations-toggle.js +12 -0
  35. package/lib/esm/components/c4-cluster-settings/elements/cluster-settings.d.ts +5 -1
  36. package/lib/esm/components/c4-cluster-settings/elements/cluster-settings.js +10 -3
  37. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.d.ts +20 -0
  38. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.js +85 -0
  39. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.spec.d.ts +1 -0
  40. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.spec.js +93 -0
  41. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.d.ts +20 -0
  42. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.js +15 -0
  43. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.spec.d.ts +1 -0
  44. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.spec.js +50 -0
  45. package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.d.ts +10 -4
  46. package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.js +116 -24
  47. package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.spec.d.ts +1 -0
  48. package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.spec.js +120 -0
  49. package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.js +19 -1
  50. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.mocks.d.ts +2 -0
  51. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.mocks.js +186 -0
  52. package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.d.ts +2 -0
  53. package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.js +132 -0
  54. package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.mocks.d.ts +2 -0
  55. package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.mocks.js +20 -0
  56. package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.types.d.ts +22 -0
  57. package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.types.js +6 -0
  58. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.d.ts +32 -0
  59. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.js +71 -0
  60. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.spec.d.ts +1 -0
  61. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.spec.js +83 -0
  62. package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +31 -58
  63. package/lib/esm/components/c4-create-cluster/c4-create-cluster.mocks.d.ts +64 -0
  64. package/lib/esm/components/c4-create-cluster/c4-create-cluster.mocks.js +298 -0
  65. package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.js +48 -30
  66. package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.mocks.d.ts +2 -0
  67. package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.mocks.js +23 -0
  68. package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.types.d.ts +2 -0
  69. package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.mocks.d.ts +2 -0
  70. package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.mocks.js +15 -0
  71. package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.js +5 -5
  72. package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.mocks.d.ts +2 -0
  73. package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.mocks.js +13 -0
  74. package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.types.d.ts +1 -0
  75. package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.d.ts +2 -0
  76. package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.js +77 -0
  77. package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.mocks.d.ts +2 -0
  78. package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.mocks.js +11 -0
  79. package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.types.d.ts +14 -0
  80. package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.types.js +6 -0
  81. package/lib/esm/components/c4-data-table/c4-data-table.js +117 -34
  82. package/lib/esm/components/c4-data-table/c4-data-table.stability.spec.d.ts +1 -0
  83. package/lib/esm/components/c4-data-table/c4-data-table.stability.spec.js +151 -0
  84. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.mocks.d.ts +2 -0
  85. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.mocks.js +231 -0
  86. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.js +56 -2
  87. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.js +36 -1
  88. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.mocks.d.ts +2 -0
  89. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.mocks.js +102 -0
  90. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-ds-colors.d.ts +10 -0
  91. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-ds-colors.js +16 -0
  92. package/lib/esm/components/c4-management-activity/c4-management-activity.d.ts +1 -1
  93. package/lib/esm/components/c4-management-activity/c4-management-activity.js +103 -1
  94. package/lib/esm/components/c4-management-activity/c4-management-activity.mocks.d.ts +4 -0
  95. package/lib/esm/components/c4-management-activity/c4-management-activity.mocks.js +63 -0
  96. package/lib/esm/components/c4-management-activity/c4-management-activity.types.d.ts +11 -0
  97. package/lib/esm/components/c4-management-api/c4-management-api.mocks.d.ts +43 -0
  98. package/lib/esm/components/c4-management-api/c4-management-api.mocks.js +118 -0
  99. package/lib/esm/components/c4-management-overview/c4-management-overview.js +6 -4
  100. package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.js +1 -1
  101. package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.types.d.ts +1 -0
  102. package/lib/esm/components/c4-selectable-tile/c4-selectable-tile.js +4 -1
  103. package/lib/esm/components/c4-telemetry-page/telemetry-for-component.js +58 -36
  104. package/lib/esm/components/c4-usage-history/elements/usage-history-charts.js +6 -0
  105. package/lib/esm/components/c4-user-details/tabs/authorized-resources.js +3 -1
  106. package/lib/esm/components/shared-charts/ds-charts.smoke.spec.d.ts +1 -0
  107. package/lib/esm/components/shared-charts/ds-charts.smoke.spec.js +47 -0
  108. package/lib/esm/components/shared-charts/ds-line-chart.d.ts +33 -0
  109. package/lib/esm/components/shared-charts/ds-line-chart.js +55 -0
  110. package/lib/esm/components/shared-charts/ds-meter-chart.d.ts +22 -0
  111. package/lib/esm/components/shared-charts/ds-meter-chart.js +48 -0
  112. package/lib/esm/components/shared-charts/recharts-tokens.d.ts +24 -0
  113. package/lib/esm/components/shared-charts/recharts-tokens.js +51 -0
  114. package/lib/esm/externalUrls.const.d.ts +2 -0
  115. package/lib/esm/externalUrls.const.js +7 -0
  116. package/lib/esm/externalUrls.const.spec.js +2 -0
  117. package/lib/esm/i18n/en/entities/orgroles.json +0 -16
  118. package/lib/esm/i18n/en/pages/clusterdetails.json +9 -1
  119. package/lib/esm/i18n/en/pages/orgmanagement.json +9 -2
  120. package/lib/esm/index.d.ts +16 -1
  121. package/lib/esm/index.js +10 -1
  122. package/lib/esm/runtime/c4-console-authz.d.ts +26 -0
  123. package/lib/esm/runtime/c4-console-authz.js +58 -28
  124. package/lib/esm/runtime/c4-console-authz.spec.js +84 -17
  125. package/lib/esm/runtime/c4-console-data-context.js +40 -0
  126. package/lib/esm/runtime/c4-console-data-context.types.d.ts +19 -1
  127. package/lib/esm/runtime/c4-console-data-store.d.ts +25 -1
  128. package/lib/esm/runtime/c4-console-data-store.js +145 -31
  129. package/lib/esm/runtime/c4-console-data-store.nav.spec.d.ts +1 -0
  130. package/lib/esm/runtime/c4-console-data-store.nav.spec.js +121 -0
  131. package/lib/esm/runtime/c4-console-data-store.spec.js +35 -6
  132. package/lib/esm/runtime/c4-console-events-context.d.ts +18 -0
  133. package/lib/esm/runtime/c4-console-events-context.js +62 -0
  134. package/lib/esm/runtime/c4-console-runtime.types.d.ts +12 -0
  135. package/lib/esm/runtime/c4-user-notifications-context.d.ts +19 -0
  136. package/lib/esm/runtime/c4-user-notifications-context.js +201 -0
  137. package/lib/esm/runtime/c4-user-notifications-context.spec.d.ts +1 -0
  138. package/lib/esm/runtime/c4-user-notifications-context.spec.js +80 -0
  139. package/lib/esm/runtime/c4-user-notifications-context.types.d.ts +31 -0
  140. package/lib/esm/runtime/c4-user-notifications-context.types.js +6 -0
  141. package/lib/esm/runtime/c4-user-theme.d.ts +27 -0
  142. package/lib/esm/runtime/c4-user-theme.js +106 -0
  143. package/lib/esm/runtime/decode-access-token.d.ts +12 -0
  144. package/lib/esm/runtime/decode-access-token.js +39 -0
  145. package/lib/esm/runtime/nav/camunda-apps.d.ts +45 -0
  146. package/lib/esm/runtime/nav/camunda-apps.js +100 -0
  147. package/lib/esm/runtime/nav/camunda-apps.spec.d.ts +1 -0
  148. package/lib/esm/runtime/nav/camunda-apps.spec.js +90 -0
  149. package/lib/esm/runtime/nav/use-webapp-nav-data.d.ts +75 -0
  150. package/lib/esm/runtime/nav/use-webapp-nav-data.js +211 -0
  151. package/lib/esm/runtime/nav/use-webapp-nav-data.spec.d.ts +1 -0
  152. package/lib/esm/runtime/nav/use-webapp-nav-data.spec.js +91 -0
  153. package/lib/esm/runtime/to-api-config.js +4 -0
  154. package/lib/esm/ui/index.d.ts +1 -0
  155. package/lib/esm/ui/index.js +3 -2
  156. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.d.ts +1 -0
  157. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +32 -13
  158. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.merge.spec.d.ts +1 -0
  159. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.merge.spec.js +49 -0
  160. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +8 -0
  161. package/lib/esm/widgets/cluster-details/cluster-details-tabs.d.ts +23 -0
  162. package/lib/esm/widgets/cluster-details/cluster-details-tabs.js +83 -0
  163. package/lib/esm/widgets/cluster-details/cluster-details-tabs.spec.d.ts +1 -0
  164. package/lib/esm/widgets/cluster-details/cluster-details-tabs.spec.js +33 -0
  165. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-alerts-tab.js +17 -84
  166. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-ip-whitelist-tab.js +19 -35
  167. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +38 -18
  168. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.spec.js +38 -14
  169. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.d.ts +2 -0
  170. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +190 -3
  171. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.spec.js +60 -1
  172. package/lib/esm/widgets/clusters/c4-clusters-page.js +80 -44
  173. package/lib/esm/widgets/clusters/c4-clusters-page.spec.js +48 -48
  174. package/lib/esm/widgets/clusters/c4-clusters-page.types.d.ts +2 -0
  175. package/lib/esm/widgets/connector-management/c4-connector-management-page.spec.js +32 -0
  176. package/lib/esm/widgets/connector-management/c4-connector-management.shared.js +4 -3
  177. package/lib/esm/widgets/dashboard/c4-dashboard-app.js +21 -2
  178. package/lib/esm/widgets/group-details/c4-group-details-page.js +3 -2
  179. package/lib/esm/widgets/management/c4-management-app.js +80 -24
  180. package/lib/esm/widgets/management/c4-management-app.spec.js +32 -10
  181. package/lib/esm/widgets/management/management-tabs.d.ts +22 -0
  182. package/lib/esm/widgets/management/management-tabs.js +76 -0
  183. package/lib/esm/widgets/management/management-tabs.spec.d.ts +1 -0
  184. package/lib/esm/widgets/management/management-tabs.spec.js +28 -0
  185. package/lib/esm/widgets/management/tabs/c4-management-overview-tab.d.ts +2 -1
  186. package/lib/esm/widgets/management/tabs/c4-management-overview-tab.js +11 -2
  187. package/lib/esm/widgets/management/tabs/c4-management-users-tab.js +0 -10
  188. package/lib/esm/widgets/user-details/c4-user-details-page.js +0 -10
  189. package/package.json +9 -7
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Button, Link, Stack } from '../../ui/index.js';
3
3
  import { C4StructuredListBody, C4StructuredListCell, C4StructuredListRow, C4StructuredListSkeleton, C4StructuredListWrapper, } from '../c4-structured-list/c4-structured-list.js';
4
4
  export const C4ManagementOverview = ({ orgId, overviewItems, loading, }) => {
@@ -10,9 +10,11 @@ export const C4ManagementOverview = ({ orgId, overviewItems, loading, }) => {
10
10
  width: '200px',
11
11
  }, children: _jsx("strong", { children: item.label }) }), _jsx(C4StructuredListCell, { noWrap: true, style: {
12
12
  width: '200px',
13
- }, children: item.value }), _jsxs(C4StructuredListCell, { noWrap: true, children: [item.action?.kind === 'ghost' && (_jsx(Button, { size: 'sm', kind: item.action.kind, onClick: item.action.action, iconDescription: item.action.iconDescription, hasIconOnly: item.action.kind === 'ghost', renderIcon: item.action.renderIcon, style: { minHeight: '0px' }, children: item.action.kind !== 'ghost'
14
- ? item.action.iconDescription
15
- : undefined })), item.action && item.action.kind !== 'ghost' && (_jsx(Link, { onClick: item.action.action, style: { cursor: 'pointer' }, children: item.action.iconDescription })), item.additionalValue && _jsx("span", { children: item.additionalValue })] }), _jsx(C4StructuredListCell, { children: " " })] }, `overview-${orgId}-${item.id}`));
13
+ }, children: item.value }), _jsx(C4StructuredListCell, { noWrap: true, children: item.action && item.additionalValue ? (_jsxs(Stack, { orientation: 'horizontal', gap: 3, children: [_jsx("span", { children: item.additionalValue }), item.action.kind === 'ghost' ? (_jsx(Button, { size: 'sm', kind: item.action.kind, onClick: item.action.action, iconDescription: item.action.iconDescription, hasIconOnly: item.action.kind === 'ghost', renderIcon: item.action.renderIcon, style: { minHeight: '0px' }, children: item.action.kind !== 'ghost'
14
+ ? item.action.iconDescription
15
+ : undefined })) : (_jsx(Link, { onClick: item.action.action, style: { cursor: 'pointer' }, children: item.action.iconDescription }))] })) : (_jsxs(_Fragment, { children: [item.action?.kind === 'ghost' && (_jsx(Button, { size: 'sm', kind: item.action.kind, onClick: item.action.action, iconDescription: item.action.iconDescription, hasIconOnly: item.action.kind === 'ghost', renderIcon: item.action.renderIcon, style: { minHeight: '0px' }, children: item.action.kind !== 'ghost'
16
+ ? item.action.iconDescription
17
+ : undefined })), item.action && item.action.kind !== 'ghost' && (_jsx(Link, { onClick: item.action.action, style: { cursor: 'pointer' }, children: item.action.iconDescription })), item.additionalValue && (_jsx("span", { children: item.additionalValue }))] })) }), _jsx(C4StructuredListCell, { children: " " })] }, `overview-${orgId}-${item.id}`));
16
18
  }) }) }) }));
17
19
  return component;
18
20
  };
@@ -42,7 +42,7 @@ export const C4OldDashboard = ({ usersAmount, invitationsAmount, clustersAmount,
42
42
  ? texts.clusters.noClusters
43
43
  : clustersAmount === 1
44
44
  ? texts.clusters.oneCluster
45
- : texts.clusters.multipleClusters.replace('{{variable}}', clustersAmount.toString()) }), clustersAmount === 0 ? (_jsx("div", { children: _jsx(Button, { kind: 'tertiary', size: 'md', onClick: actions.onCreateCluster, children: texts.clusters.createACluster }) })) : (_jsx(_Fragment, {})), clustersAmount > 0 ? (_jsx("p", { dangerouslySetInnerHTML: {
45
+ : texts.clusters.multipleClusters.replace('{{variable}}', clustersAmount.toString()) }), clustersAmount === 0 ? (_jsx("div", { children: _jsx(Button, { kind: 'tertiary', size: 'md', onClick: actions.onCreateCluster, disabled: permissions.clusterCreateDisabled ?? false, children: texts.clusters.createACluster }) })) : (_jsx(_Fragment, {})), clustersAmount > 0 ? (_jsx("p", { dangerouslySetInnerHTML: {
46
46
  __html: texts.clusters.status
47
47
  .replace('<0>', '<strong>')
48
48
  .replace('</0>', '</strong>')
@@ -7,6 +7,7 @@ export interface C4OldDashboardProps {
7
7
  permissions: {
8
8
  showUsers: boolean;
9
9
  showMembersLink: boolean;
10
+ clusterCreateDisabled?: boolean;
10
11
  };
11
12
  actions: {
12
13
  onModelProcess: () => void;
@@ -21,7 +21,10 @@ export function C4SelectableTile({ value, checked, onChange, disabled, style, ch
21
21
  return (_jsx(RadioTile, { value: value, checked: checked, onChange: onChange, disabled: disabled, style, children: children }));
22
22
  }
23
23
  return (_jsx("button", { type: 'button', "aria-pressed": checked, disabled: disabled, onClick: () => onChange(), style: {
24
- display: 'block',
24
+ display: 'flex',
25
+ flexDirection: 'column',
26
+ alignItems: 'flex-start',
27
+ justifyContent: 'flex-start',
25
28
  width: '100%',
26
29
  height: '100%',
27
30
  textAlign: 'left',
@@ -7,8 +7,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
7
  */
8
8
  import { MeterChart } from '@carbon/charts-react';
9
9
  import { RadioTile } from '@carbon/react';
10
+ import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
10
11
  import { SkeletonText, Stack } from '../../ui/index.js';
11
12
  import { ClusterStatusElement, } from '../c4-cluster-overview/applications.js';
13
+ import { DsMeterChart } from '../shared-charts/ds-meter-chart.js';
14
+ import { DS_STATUS_COLORS } from '../shared-charts/recharts-tokens.js';
12
15
  export var TelemetryForComponent;
13
16
  (function (TelemetryForComponent) {
14
17
  TelemetryForComponent.Component = ({ id, context, metrics, theme, actions, checked, loading, }) => {
@@ -44,47 +47,66 @@ export var TelemetryForComponent;
44
47
  return component;
45
48
  };
46
49
  const Chart = ({ current, id, label, ranges, theme, error, }) => {
50
+ const designSystem = useC4DesignSystem();
47
51
  let component = _jsx("p", { children: error });
48
52
  if (current >= ranges.success.min && current <= ranges.error.max * 1000) {
49
- component = (_jsx(MeterChart, { data: [
50
- {
51
- group: label,
52
- value: current,
53
- },
54
- ], options: {
55
- meter: {
56
- peak: ranges.peak,
57
- status: {
58
- ranges: [
59
- {
60
- range: [ranges.success.min, ranges.success.max],
61
- status: 'success',
62
- },
63
- {
64
- range: [ranges.warning.min, ranges.warning.max],
65
- status: 'warning',
66
- },
67
- {
68
- range: [ranges.error.min, ranges.error.max],
69
- status: 'danger',
70
- },
71
- ],
53
+ component =
54
+ designSystem === 'ds' ? (_jsx(DsMeterChart, { value: current, max: Math.max(ranges.peak, ranges.error.max), color: current <= ranges.success.max
55
+ ? DS_STATUS_COLORS.success
56
+ : current <= ranges.warning.max
57
+ ? DS_STATUS_COLORS.warning
58
+ : DS_STATUS_COLORS.danger, zones: [
59
+ {
60
+ range: [ranges.success.min, ranges.success.max],
61
+ color: DS_STATUS_COLORS.success,
62
+ },
63
+ {
64
+ range: [ranges.warning.min, ranges.warning.max],
65
+ color: DS_STATUS_COLORS.warning,
66
+ },
67
+ {
68
+ range: [ranges.error.min, ranges.error.max],
69
+ color: DS_STATUS_COLORS.danger,
72
70
  },
73
- title: {
74
- percentageIndicator: {
75
- enabled: true,
71
+ ], peak: ranges.peak }, id)) : (_jsx(MeterChart, { data: [
72
+ {
73
+ group: label,
74
+ value: current,
75
+ },
76
+ ], options: {
77
+ meter: {
78
+ peak: ranges.peak,
79
+ status: {
80
+ ranges: [
81
+ {
82
+ range: [ranges.success.min, ranges.success.max],
83
+ status: 'success',
84
+ },
85
+ {
86
+ range: [ranges.warning.min, ranges.warning.max],
87
+ status: 'warning',
88
+ },
89
+ {
90
+ range: [ranges.error.min, ranges.error.max],
91
+ status: 'danger',
92
+ },
93
+ ],
94
+ },
95
+ title: {
96
+ percentageIndicator: {
97
+ enabled: true,
98
+ },
76
99
  },
77
100
  },
78
- },
79
- height: '50px',
80
- theme: theme,
81
- legend: {
82
- enabled: false,
83
- },
84
- toolbar: {
85
- enabled: false,
86
- },
87
- } }, id));
101
+ height: '50px',
102
+ theme: theme,
103
+ legend: {
104
+ enabled: false,
105
+ },
106
+ toolbar: {
107
+ enabled: false,
108
+ },
109
+ } }, id));
88
110
  }
89
111
  return component;
90
112
  };
@@ -5,12 +5,18 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
7
  import { LineChart } from '@carbon/charts-react';
8
+ import { useC4DesignSystem } from '../../../runtime/c4-console-runtime-context.js';
8
9
  import { Stack } from '../../../ui/index.js';
10
+ import { DsLineChart } from '../../shared-charts/ds-line-chart.js';
9
11
  export const UsageHistoryCharts = ({ pi, di, tu, }) => {
10
12
  const component = (_jsxs(Stack, { gap: 4, children: [_jsx(ValueMetricsLineChart, { ...pi }), di && _jsx(ValueMetricsLineChart, { ...di }), tu && _jsx(ValueMetricsLineChart, { ...tu })] }));
11
13
  return component;
12
14
  };
13
15
  export const ValueMetricsLineChart = ({ axes, dataPoints, title, theme, thresholds, toolbar = { enabled: true }, zoomBar = { enabled: true }, height = 400, }) => {
16
+ const designSystem = useC4DesignSystem();
17
+ if (designSystem === 'ds') {
18
+ return (_jsx(DsLineChart, { title: title, dataPoints: dataPoints, axes: axes, thresholds: thresholds, height: height, zoomBar: zoomBar }));
19
+ }
14
20
  const data = {
15
21
  data: dataPoints,
16
22
  options: {
@@ -5,11 +5,13 @@ import { jsx as _jsx } from "react/jsx-runtime";
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
7
  import { C4IdentityContextProvider, C4ResourceAuthorizations, } from '@camunda/c4-identity';
8
+ import { useC4DesignSystem } from '../../../runtime/c4-console-runtime-context.js';
8
9
  import { Stack } from '../../../ui/index.js';
9
10
  export const AuthorizedResources = ({ config, }) => {
11
+ const designSystem = useC4DesignSystem();
10
12
  const component = (_jsx(Stack, { gap: 6, children: _jsx(C4IdentityContextProvider, { camundaAuth: {
11
13
  token: config.camundaAuth.token,
12
14
  refreshTokenMethod: config.camundaAuth.refreshTokenMethod,
13
- }, apiBaseUrl: config.apiBaseUrl, organizationId: config.organizationId, docsUrl: config.docsUrl, children: _jsx(C4ResourceAuthorizations, { userId: config.userId }) }) }));
15
+ }, apiBaseUrl: config.apiBaseUrl, organizationId: config.organizationId, docsUrl: config.docsUrl, designSystem: designSystem, children: _jsx(C4ResourceAuthorizations, { userId: config.userId }) }) }));
14
16
  return component;
15
17
  };
@@ -0,0 +1,47 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /*
3
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
4
+ * under one or more contributor license agreements. Licensed under a commercial license.
5
+ * You may not use this file except in compliance with the commercial license.
6
+ */
7
+ import { render } from '@testing-library/react';
8
+ import { vi } from 'vitest';
9
+ import { C4BarChart } from '../c4-charts-dashboard/elements/bar-chart.js';
10
+ import { DsLineChart } from './ds-line-chart.js';
11
+ import { DsMeterChart } from './ds-meter-chart.js';
12
+ import { DS_STATUS_COLORS } from './recharts-tokens.js';
13
+ vi.mock('../../runtime/c4-console-runtime-context', () => ({
14
+ useC4DesignSystem: () => 'ds',
15
+ }));
16
+ describe('DS charts smoke', () => {
17
+ it('renders DsLineChart with the design system LineChart', () => {
18
+ const { container } = render(_jsx(DsLineChart, { title: 'Instances', axes: { titleLeft: 'count', titleBottom: 'date' }, thresholds: [{ value: 5, label: 'limit', fillColor: 'red' }], dataPoints: [
19
+ { group: 'pi', date: '2024-01-01', value: 3 },
20
+ { group: 'pi', date: '2024-01-02', value: 7 },
21
+ { group: 'di', date: '2024-01-01', value: 1 },
22
+ { group: 'di', date: '2024-01-02', value: 4 },
23
+ ] }));
24
+ expect(container.querySelector('[data-slot="chart"]')).toBeTruthy();
25
+ });
26
+ it('renders DsMeterChart as a design system Meter with a range from color', () => {
27
+ const { container } = render(_jsx(DsMeterChart, { value: 90, max: 100, color: DS_STATUS_COLORS.danger }));
28
+ expect(container.querySelector('[role="meter"]')).toBeTruthy();
29
+ });
30
+ it('renders DsMeterChart with status zones', () => {
31
+ const { container } = render(_jsx(DsMeterChart, { value: 40, max: 100, peak: 80, zones: [
32
+ { range: [0, 50], color: DS_STATUS_COLORS.success },
33
+ { range: [50, 80], color: DS_STATUS_COLORS.warning },
34
+ { range: [80, 100], color: DS_STATUS_COLORS.danger },
35
+ ] }));
36
+ expect(container.querySelector('[role="meter"]')).toBeTruthy();
37
+ });
38
+ it('renders C4BarChart with the design system BarChart in ds mode', () => {
39
+ const { container } = render(_jsx(C4BarChart, { type: 'bar', tab: 'usage', title: 'Usage', axes: { titleLeft: 'count', titleBottom: 'month' }, mode: 'stacked', theme: 'g10', dataPoints: [
40
+ { group: 'pi', key: 'Jan', value: 3 },
41
+ { group: 'di', key: 'Jan', value: 2 },
42
+ { group: 'pi', key: 'Feb', value: 5 },
43
+ { group: 'di', key: 'Feb', value: 1 },
44
+ ] }));
45
+ expect(container.querySelector('[data-slot="chart"]')).toBeTruthy();
46
+ });
47
+ });
@@ -0,0 +1,33 @@
1
+ import type { JSX } from 'react';
2
+ export interface DsLineChartDataPoint {
3
+ group: string;
4
+ date: string;
5
+ value: number;
6
+ }
7
+ export interface DsLineChartThreshold {
8
+ value: number;
9
+ label: string;
10
+ fillColor: string;
11
+ }
12
+ export interface DsLineChartProps {
13
+ title?: string;
14
+ dataPoints: DsLineChartDataPoint[];
15
+ axes: {
16
+ titleLeft: string;
17
+ titleBottom: string;
18
+ };
19
+ thresholds?: DsLineChartThreshold[];
20
+ height?: number;
21
+ zoomBar?: {
22
+ enabled: boolean;
23
+ };
24
+ }
25
+ /**
26
+ * ds-mode line chart, rendered with the `@camunda/design-system` `LineChart`.
27
+ * Used by `C4LineChart` and `ValueMetricsLineChart`, whose carbon paths render
28
+ * `@carbon/charts-react` unchanged; this covers both ds branches so the DS
29
+ * chart wiring lives once. The DS chart has no zoom/brush or axis-title API, so
30
+ * the `zoomBar`/`axes` props are accepted (to keep the carbon-side call sites
31
+ * unchanged) but only the chart title is surfaced in ds mode.
32
+ */
33
+ export declare function DsLineChart({ title, dataPoints, thresholds, height, }: DsLineChartProps): JSX.Element;
@@ -0,0 +1,55 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /*
3
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
4
+ * under one or more contributor license agreements. Licensed under a commercial license.
5
+ * You may not use this file except in compliance with the commercial license.
6
+ */
7
+ import { LineChart } from '@camunda/design-system';
8
+ import { useMemo } from 'react';
9
+ import { getDsSeriesColor } from './recharts-tokens.js';
10
+ function formatDate(value) {
11
+ const date = new Date(String(value));
12
+ return Number.isNaN(date.getTime())
13
+ ? String(value)
14
+ : Intl.DateTimeFormat('en-US', { month: 'short', day: '2-digit' }).format(date);
15
+ }
16
+ /** Pivots flat {group, date, value} rows into one row per date, keyed by group. */
17
+ function pivotByDate(dataPoints) {
18
+ const groupSet = new Set();
19
+ const rowsByDate = new Map();
20
+ for (const point of dataPoints) {
21
+ groupSet.add(point.group);
22
+ const row = rowsByDate.get(point.date) ?? { date: point.date };
23
+ row[point.group] = point.value;
24
+ rowsByDate.set(point.date, row);
25
+ }
26
+ const rows = Array.from(rowsByDate.values()).sort((a, b) => String(a.date).localeCompare(String(b.date)));
27
+ // Sort groups so the group→colour mapping stays stable regardless of the
28
+ // order the points arrive in.
29
+ return { rows, groups: Array.from(groupSet).sort() };
30
+ }
31
+ /**
32
+ * ds-mode line chart, rendered with the `@camunda/design-system` `LineChart`.
33
+ * Used by `C4LineChart` and `ValueMetricsLineChart`, whose carbon paths render
34
+ * `@carbon/charts-react` unchanged; this covers both ds branches so the DS
35
+ * chart wiring lives once. The DS chart has no zoom/brush or axis-title API, so
36
+ * the `zoomBar`/`axes` props are accepted (to keep the carbon-side call sites
37
+ * unchanged) but only the chart title is surfaced in ds mode.
38
+ */
39
+ export function DsLineChart({ title, dataPoints, thresholds, height = 400, }) {
40
+ const { rows, groups } = useMemo(() => pivotByDate(dataPoints), [dataPoints]);
41
+ const config = useMemo(() => Object.fromEntries(groups.map((group, index) => [
42
+ group,
43
+ { label: group, color: getDsSeriesColor(index) },
44
+ ])), [groups]);
45
+ const referenceLines = thresholds?.map((threshold) => ({
46
+ value: threshold.value,
47
+ label: threshold.label,
48
+ }));
49
+ return (_jsxs("div", { children: [title && (_jsx("div", { style: {
50
+ fontWeight: 600,
51
+ fontSize: 14,
52
+ marginBottom: 8,
53
+ color: 'var(--neutral-foreground-strong)',
54
+ }, children: title })), _jsx("div", { style: { height }, children: _jsx(LineChart, { className: 'h-full w-full', data: rows, categoryKey: 'date', config: config, curve: 'monotone', connectNulls: true, referenceLines: referenceLines, tickFormatter: formatDate }) })] }));
55
+ }
@@ -0,0 +1,22 @@
1
+ import type { JSX } from 'react';
2
+ export interface DsMeterZone {
3
+ range: [number, number];
4
+ color: string;
5
+ }
6
+ export interface DsMeterChartProps {
7
+ value: number;
8
+ max: number;
9
+ color?: string;
10
+ zones?: DsMeterZone[];
11
+ /** Draws a vertical reference marker at this value (e.g. a historical peak). */
12
+ peak?: number;
13
+ }
14
+ /**
15
+ * ds-mode meter/gauge, rendered with the `@camunda/design-system` `Meter`.
16
+ * Used wherever carbon mode renders `@carbon/charts-react`'s `MeterChart` — a
17
+ * simple current/max proportional bar, optionally with status zones and a peak
18
+ * marker. The value label is rendered by the callers, so `showValue` is off.
19
+ * The DS `Meter` has a fixed track height, so there's no `height` prop (unlike
20
+ * the carbon `MeterChart`).
21
+ */
22
+ export declare function DsMeterChart({ value, max, color, zones, peak, }: DsMeterChartProps): JSX.Element;
@@ -0,0 +1,48 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /*
3
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
4
+ * under one or more contributor license agreements. Licensed under a commercial license.
5
+ * You may not use this file except in compliance with the commercial license.
6
+ */
7
+ import { Meter, TooltipProvider } from '@camunda/design-system';
8
+ import { DS_STATUS_COLORS } from './recharts-tokens.js';
9
+ /**
10
+ * DS `Meter` fill/zone colours are driven by a semantic status
11
+ * (`success | warning | danger`), not an arbitrary colour. Callers here supply
12
+ * DS status colours (from `DS_STATUS_COLORS`), so map them back to the status
13
+ * the `Meter` understands. `info` (the neutral/default state) has no status —
14
+ * the `Meter` then renders its default primary fill.
15
+ */
16
+ const STATUS_BY_COLOR = {
17
+ [DS_STATUS_COLORS.success]: 'success',
18
+ [DS_STATUS_COLORS.warning]: 'warning',
19
+ [DS_STATUS_COLORS.danger]: 'danger',
20
+ };
21
+ /**
22
+ * ds-mode meter/gauge, rendered with the `@camunda/design-system` `Meter`.
23
+ * Used wherever carbon mode renders `@carbon/charts-react`'s `MeterChart` — a
24
+ * simple current/max proportional bar, optionally with status zones and a peak
25
+ * marker. The value label is rendered by the callers, so `showValue` is off.
26
+ * The DS `Meter` has a fixed track height, so there's no `height` prop (unlike
27
+ * the carbon `MeterChart`).
28
+ */
29
+ export function DsMeterChart({ value, max, color, zones, peak, }) {
30
+ // Zones already carry their own status colour; otherwise, when a solid status
31
+ // colour is passed, synthesise a full-track range so the value takes that
32
+ // status' fill (the range must extend past `value` to also cover overages).
33
+ const ranges = zones
34
+ ? zones.reduce((acc, zone) => {
35
+ const status = STATUS_BY_COLOR[zone.color];
36
+ if (status) {
37
+ acc.push({ range: zone.range, status });
38
+ }
39
+ return acc;
40
+ }, [])
41
+ : color && STATUS_BY_COLOR[color]
42
+ ? [{ range: [0, Math.max(max, value)], status: STATUS_BY_COLOR[color] }]
43
+ : undefined;
44
+ // The DS `Meter` always renders a Radix tooltip over its track, which needs
45
+ // a `TooltipProvider` ancestor. The app has no global one (providers are
46
+ // scoped per region, e.g. `C4Navigation`), so scope one here too.
47
+ return (_jsx(TooltipProvider, { children: _jsx(Meter, { value: value, max: max, ranges: ranges, peak: peak, showValue: false }) }));
48
+ }
@@ -0,0 +1,24 @@
1
+ import type { TooltipProps } from 'recharts';
2
+ /**
3
+ * Design-system chart tokens for recharts (ds mode only).
4
+ *
5
+ * These reference `@camunda/design-system`'s CSS custom properties, scoped to
6
+ * `.c4-ui` (light) and `.dark .c4-ui` (dark) in its `styles.css` — using them
7
+ * (rather than literal colours) keeps ds-mode charts correct in both themes
8
+ * without any extra wiring. Carbon-mode charts never read this file; they
9
+ * keep using `@carbon/charts-react` and its own `theme` prop unchanged.
10
+ */
11
+ /** Categorical series palette, light/dark aware. */
12
+ export declare const DS_CHART_CATEGORICAL_COLORS: readonly ["var(--chart-1)", "var(--chart-2)", "var(--chart-3)", "var(--chart-4)", "var(--chart-5)"];
13
+ export declare function getDsSeriesColor(index: number): string;
14
+ export declare const DS_CHART_GRID_COLOR = "var(--neutral-border-subtle)";
15
+ export declare const DS_CHART_AXIS_COLOR = "var(--neutral-foreground-subtle)";
16
+ /** Semantic status colors, for range/threshold-driven charts (meters, gauges). */
17
+ export declare const DS_STATUS_COLORS: {
18
+ readonly success: "var(--success-action-default)";
19
+ readonly warning: "var(--warning-action-default)";
20
+ readonly danger: "var(--danger-action-default)";
21
+ readonly info: "var(--info-action-default)";
22
+ };
23
+ /** Spread onto a recharts `<Tooltip>` so its popover matches DS surfaces. */
24
+ export declare const DS_CHART_TOOLTIP_PROPS: Pick<TooltipProps<number, string>, 'contentStyle' | 'labelStyle' | 'itemStyle'>;
@@ -0,0 +1,51 @@
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
+ /**
7
+ * Design-system chart tokens for recharts (ds mode only).
8
+ *
9
+ * These reference `@camunda/design-system`'s CSS custom properties, scoped to
10
+ * `.c4-ui` (light) and `.dark .c4-ui` (dark) in its `styles.css` — using them
11
+ * (rather than literal colours) keeps ds-mode charts correct in both themes
12
+ * without any extra wiring. Carbon-mode charts never read this file; they
13
+ * keep using `@carbon/charts-react` and its own `theme` prop unchanged.
14
+ */
15
+ /** Categorical series palette, light/dark aware. */
16
+ export const DS_CHART_CATEGORICAL_COLORS = [
17
+ 'var(--chart-1)',
18
+ 'var(--chart-2)',
19
+ 'var(--chart-3)',
20
+ 'var(--chart-4)',
21
+ 'var(--chart-5)',
22
+ ];
23
+ export function getDsSeriesColor(index) {
24
+ return DS_CHART_CATEGORICAL_COLORS[index % DS_CHART_CATEGORICAL_COLORS.length];
25
+ }
26
+ export const DS_CHART_GRID_COLOR = 'var(--neutral-border-subtle)';
27
+ export const DS_CHART_AXIS_COLOR = 'var(--neutral-foreground-subtle)';
28
+ /** Semantic status colors, for range/threshold-driven charts (meters, gauges). */
29
+ export const DS_STATUS_COLORS = {
30
+ success: 'var(--success-action-default)',
31
+ warning: 'var(--warning-action-default)',
32
+ danger: 'var(--danger-action-default)',
33
+ info: 'var(--info-action-default)',
34
+ };
35
+ /** Spread onto a recharts `<Tooltip>` so its popover matches DS surfaces. */
36
+ export const DS_CHART_TOOLTIP_PROPS = {
37
+ contentStyle: {
38
+ background: 'var(--popover)',
39
+ border: '1px solid var(--border)',
40
+ borderRadius: 6,
41
+ color: 'var(--popover-foreground)',
42
+ fontSize: 12,
43
+ },
44
+ labelStyle: {
45
+ color: 'var(--popover-foreground)',
46
+ fontWeight: 600,
47
+ },
48
+ itemStyle: {
49
+ color: 'var(--popover-foreground)',
50
+ },
51
+ };
@@ -21,6 +21,7 @@ export declare const C4_EXTERNAL_URLS: {
21
21
  readonly clusterLoad: "https://docs.camunda.io/docs/next/components/console/manage-clusters/cluster-capacity/";
22
22
  readonly identityAuthorizations: "https://docs.camunda.io/docs/next/components/concepts/access-control/authorizations/";
23
23
  readonly multiTenancy: "https://docs.camunda.io/docs/components/admin/tenant/";
24
+ readonly byoidp: "https://docs.camunda.io/docs/components/concepts/access-control/authentication/";
24
25
  readonly tasklistApiVersions: "https://docs.camunda.io/docs/next/components/tasklist/api-versions/";
25
26
  readonly whatsNewIn88: "https://docs.camunda.io/docs/reference/announcements-release-notes/880/whats-new-in-88/";
26
27
  readonly announcementsApiTools: "https://docs.camunda.io/docs/reference/announcements-release-notes/880/880-announcements/#apis--tools";
@@ -29,6 +30,7 @@ export declare const C4_EXTERNAL_URLS: {
29
30
  readonly byom: "https://docs.camunda.io/docs/components/saas/monitoring/cluster-metrics-endpoint/";
30
31
  readonly mcpSetup: "https://docs.camunda.io/docs/next/apis-tools/orchestration-cluster-api-mcp/orchestration-cluster-api-mcp-setup/#use-c8ctl-mcp-proxy";
31
32
  readonly mcpOverview: "https://docs.camunda.io/docs/next/apis-tools/orchestration-cluster-api-mcp/orchestration-cluster-api-mcp-overview/";
33
+ readonly msTeamsIntegration: "https://docs.camunda.io/docs/components/camunda-integrations/ms-teams/";
32
34
  readonly llmTokens: "https://docs.camunda.io/docs/next/components/agentic-orchestration/camunda-provided-llm/";
33
35
  readonly aiBlueprintsMarketplace: "https://marketplace.camunda.com/";
34
36
  readonly byok: {
@@ -20,6 +20,8 @@ export const C4_EXTERNAL_URLS = {
20
20
  clusterLoad: 'https://docs.camunda.io/docs/next/components/console/manage-clusters/cluster-capacity/',
21
21
  identityAuthorizations: 'https://docs.camunda.io/docs/next/components/concepts/access-control/authorizations/',
22
22
  multiTenancy: 'https://docs.camunda.io/docs/components/admin/tenant/',
23
+ // BYOIDP Phase 1 (#3190). TODO(byoidp): byoidp confirm final docs URL with Product.
24
+ byoidp: 'https://docs.camunda.io/docs/components/concepts/access-control/authentication/',
23
25
  tasklistApiVersions: 'https://docs.camunda.io/docs/next/components/tasklist/api-versions/',
24
26
  whatsNewIn88: 'https://docs.camunda.io/docs/reference/announcements-release-notes/880/whats-new-in-88/',
25
27
  announcementsApiTools: 'https://docs.camunda.io/docs/reference/announcements-release-notes/880/880-announcements/#apis--tools',
@@ -28,6 +30,7 @@ export const C4_EXTERNAL_URLS = {
28
30
  byom: 'https://docs.camunda.io/docs/components/saas/monitoring/cluster-metrics-endpoint/',
29
31
  mcpSetup: 'https://docs.camunda.io/docs/next/apis-tools/orchestration-cluster-api-mcp/orchestration-cluster-api-mcp-setup/#use-c8ctl-mcp-proxy',
30
32
  mcpOverview: 'https://docs.camunda.io/docs/next/apis-tools/orchestration-cluster-api-mcp/orchestration-cluster-api-mcp-overview/',
33
+ msTeamsIntegration: 'https://docs.camunda.io/docs/components/camunda-integrations/ms-teams/',
31
34
  llmTokens: 'https://docs.camunda.io/docs/next/components/agentic-orchestration/camunda-provided-llm/',
32
35
  aiBlueprintsMarketplace: 'https://marketplace.camunda.com/',
33
36
  byok: {
@@ -93,8 +96,12 @@ export function getC4ClusterDetailsUrls(urls) {
93
96
  C4_EXTERNAL_URLS.docs.identityAuthorizations,
94
97
  resourceAuthorizations: urls.docs?.resourceAuthorizations ?? C4_EXTERNAL_URLS.docs.conceptsRBA,
95
98
  multiTenancy: urls.docs?.multiTenancy ?? C4_EXTERNAL_URLS.docs.multiTenancy,
99
+ // BYOIDP Phase 1 (#3190)
100
+ byoidp: urls.docs?.byoidp ?? C4_EXTERNAL_URLS.docs.byoidp,
96
101
  swagger: urls.docs?.swagger ?? C4_EXTERNAL_URLS.docs.swagger,
97
102
  mcpOverview: urls.docs?.mcpOverview ?? C4_EXTERNAL_URLS.docs.mcpOverview,
103
+ msTeamsIntegration: urls.docs?.msTeamsIntegration ??
104
+ C4_EXTERNAL_URLS.docs.msTeamsIntegration,
98
105
  tasklistApiVersions: urls.docs?.tasklistApiVersions ??
99
106
  C4_EXTERNAL_URLS.docs.tasklistApiVersions,
100
107
  springZeebeGettingStarted: urls.docs?.springZeebeGettingStarted ??
@@ -48,8 +48,10 @@ describe('getC4ClusterDetailsUrls', () => {
48
48
  identityAuthorization: C4_EXTERNAL_URLS.docs.identityAuthorizations,
49
49
  resourceAuthorizations: C4_EXTERNAL_URLS.docs.conceptsRBA,
50
50
  multiTenancy: C4_EXTERNAL_URLS.docs.multiTenancy,
51
+ byoidp: C4_EXTERNAL_URLS.docs.byoidp,
51
52
  swagger: C4_EXTERNAL_URLS.docs.swagger,
52
53
  mcpOverview: C4_EXTERNAL_URLS.docs.mcpOverview,
54
+ msTeamsIntegration: C4_EXTERNAL_URLS.docs.msTeamsIntegration,
53
55
  tasklistApiVersions: C4_EXTERNAL_URLS.docs.tasklistApiVersions,
54
56
  springZeebeGettingStarted: C4_EXTERNAL_URLS.docs.springZeebe,
55
57
  springZeebeConfig: C4_EXTERNAL_URLS.docs.springZeebeConfig,
@@ -7,14 +7,6 @@
7
7
  "label": "Admin",
8
8
  "description": "Full access to the platform, process resources, and clusters. Cannot manage other admins."
9
9
  },
10
- "organizationowner": {
11
- "label": "Organization Owner",
12
- "description": "Full access to everything"
13
- },
14
- "organizationadmin": {
15
- "label": "Organization Admin",
16
- "description": "Full access to everything, except managing other Admins"
17
- },
18
10
  "member": {
19
11
  "label": "Member",
20
12
  "description": "Full access to clusters"
@@ -56,14 +48,6 @@
56
48
  "label": "Admin",
57
49
  "description": "Full access to everything, except managing other Admins"
58
50
  },
59
- "organizationowner": {
60
- "label": "Organization Owner",
61
- "description": "Full access to everything"
62
- },
63
- "organizationadmin": {
64
- "label": "Organization Admin",
65
- "description": "Full access to everything, except managing other Admins"
66
- },
67
51
  "member": {
68
52
  "label": "Member",
69
53
  "description": "Full access to clusters"
@@ -368,6 +368,8 @@
368
368
  "regionId": "Region Id",
369
369
  "backupRegion": "Backup Region",
370
370
  "backupRegionId": "Backup Region Id",
371
+ "copyValue": "Copy",
372
+ "copyValueCopied": "Copied!",
371
373
  "tags": {
372
374
  "label": "Tags",
373
375
  "addLabel": "Assign tag",
@@ -623,7 +625,7 @@
623
625
  "title": "Multi-tenancy",
624
626
  "description": {
625
627
  "enabled": "When enabled, tenant-level authorization checks will be enforced for all resource-based authorizations. Users, groups, and roles not assigned to a tenant will lose access to any resources scoped to that tenant.",
626
- "disabled": "When disabled, tenants can still be created and principals assigned, but tenant-level checks will not be enforced until the feature is enabled. All data is associated with the \u003cdefault\u003e tenant."
628
+ "disabled": "When disabled, tenants can still be created and principals assigned, but tenant-level checks will not be enforced until the feature is enabled. All data is associated with the <default> tenant."
627
629
  },
628
630
  "docsLink": {
629
631
  "prefix": "Learn more about",
@@ -642,6 +644,12 @@
642
644
  "disable": "Disable"
643
645
  }
644
646
  },
647
+ "appIntegrations": {
648
+ "title": "Enable App Integrations",
649
+ "description": "When enabled, this cluster exchanges events with App Integrations such as",
650
+ "msTeamsLinkText": "Microsoft Teams",
651
+ "descriptionDisabled": "When disabled, you can still use App Integrations, but they work with reduced functionality."
652
+ },
645
653
  "tasklistMode": {
646
654
  "title": "Upgrade to Tasklist v2",
647
655
  "warning": "This setting is not recommended for production environments, as it might reduce individual process instance latency but can slow down general throughput.",