@camunda/ccma-saas-frontend 0.0.46 → 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 (371) hide show
  1. package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.d.ts +20 -3
  2. package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.js +50 -17
  3. package/lib/esm/components/c4-advanced-search-filters/ArrayFieldContainer.js +2 -1
  4. package/lib/esm/components/c4-advanced-search-filters/AutosuggestInput.js +1 -6
  5. package/lib/esm/components/c4-advanced-search-filters/FieldRow.js +4 -1
  6. package/lib/esm/components/c4-advanced-search-filters/FiltersSection.js +1 -6
  7. package/lib/esm/components/c4-advanced-search-filters/OrSection.js +3 -1
  8. package/lib/esm/components/c4-advanced-search-filters/c4-advanced-search-filters.js +3 -1
  9. package/lib/esm/components/c4-ai-usage/c4-ai-usage.js +2 -7
  10. package/lib/esm/components/c4-alpha-cluster-at-checkout/c4-alpha-cluster-at-checkout.js +7 -7
  11. package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.js +1 -6
  12. package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.spec.d.ts +1 -0
  13. package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.spec.js +43 -0
  14. package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.js +1 -1
  15. package/lib/esm/components/c4-async-modal/c4-async-modal.js +3 -2
  16. package/lib/esm/components/c4-audit-log/c4-audit-log.js +4 -3
  17. package/lib/esm/components/c4-billing-page/c4-billing-page.js +8 -6
  18. package/lib/esm/components/c4-billing-page/c4-billing-page.mocks.d.ts +3 -0
  19. package/lib/esm/components/c4-billing-page/c4-billing-page.mocks.js +154 -0
  20. package/lib/esm/components/c4-billing-page/elements/cluster-reservations.js +9 -14
  21. package/lib/esm/components/c4-billing-page/elements/current-usage-metrics.js +2 -1
  22. package/lib/esm/components/c4-billing-page/elements/usage-alerts.js +3 -8
  23. package/lib/esm/components/c4-billing-page/elements/value-metric.d.ts +2 -0
  24. package/lib/esm/components/c4-billing-page/elements/value-metric.js +15 -3
  25. package/lib/esm/components/c4-billing-page/elements/value-metric.spec.js +18 -0
  26. package/lib/esm/components/c4-bottom-links/c4-bottom-links.js +1 -6
  27. package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.js +3 -6
  28. package/lib/esm/components/c4-charts-dashboard/c4-charts-dashboard.js +1 -1
  29. package/lib/esm/components/c4-charts-dashboard/elements/alluvial-chart.js +59 -2
  30. package/lib/esm/components/c4-charts-dashboard/elements/bar-chart.js +41 -7
  31. package/lib/esm/components/c4-charts-dashboard/elements/line-chart.js +7 -1
  32. package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.js +6 -10
  33. package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.js +8 -3
  34. package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.js +8 -3
  35. package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.js +6 -5
  36. package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.js +12 -14
  37. package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.mocks.d.ts +5 -0
  38. package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.mocks.js +83 -0
  39. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.js +6 -10
  40. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.mocks.d.ts +6 -0
  41. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.mocks.js +79 -0
  42. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.js +8 -11
  43. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.mocks.d.ts +3 -0
  44. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.mocks.js +65 -0
  45. package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.js +9 -4
  46. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.js +12 -8
  47. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.mocks.d.ts +60 -0
  48. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.mocks.js +143 -0
  49. package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.js +3 -2
  50. package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.js +7 -10
  51. package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.mocks.d.ts +6 -0
  52. package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.mocks.js +51 -0
  53. package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.js +15 -21
  54. package/lib/esm/components/c4-cluster-list/c4-cluster-list.d.ts +1 -1
  55. package/lib/esm/components/c4-cluster-list/c4-cluster-list.js +69 -6
  56. package/lib/esm/components/c4-cluster-list/c4-cluster-list.mocks.d.ts +4 -0
  57. package/lib/esm/components/c4-cluster-list/c4-cluster-list.mocks.js +132 -0
  58. package/lib/esm/components/c4-cluster-list/c4-cluster-list.types.d.ts +7 -0
  59. package/lib/esm/components/c4-cluster-overview/applications.js +19 -4
  60. package/lib/esm/components/c4-cluster-overview/applications.spec.js +27 -1
  61. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.js +4 -3
  62. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.mocks.d.ts +8 -0
  63. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.mocks.js +203 -0
  64. package/lib/esm/components/c4-cluster-overview/cluster-details.d.ts +2 -0
  65. package/lib/esm/components/c4-cluster-overview/cluster-details.js +68 -16
  66. package/lib/esm/components/c4-cluster-overview/cluster-load.js +39 -4
  67. package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.js +1 -6
  68. package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.mocks.d.ts +16 -0
  69. package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.mocks.js +104 -0
  70. package/lib/esm/components/c4-cluster-settings/elements/app-integrations-toggle.d.ts +14 -0
  71. package/lib/esm/components/c4-cluster-settings/elements/app-integrations-toggle.js +12 -0
  72. package/lib/esm/components/c4-cluster-settings/elements/cluster-settings.d.ts +5 -1
  73. package/lib/esm/components/c4-cluster-settings/elements/cluster-settings.js +10 -3
  74. package/lib/esm/components/c4-cluster-settings/elements/danger-zone.js +1 -6
  75. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.d.ts +20 -0
  76. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.js +85 -0
  77. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.spec.d.ts +1 -0
  78. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.spec.js +93 -0
  79. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.d.ts +20 -0
  80. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.js +15 -0
  81. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.spec.d.ts +1 -0
  82. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.spec.js +50 -0
  83. package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.d.ts +10 -4
  84. package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.js +117 -25
  85. package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.spec.d.ts +1 -0
  86. package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.spec.js +120 -0
  87. package/lib/esm/components/c4-cluster-settings/elements/resource-based-authorizations.js +2 -7
  88. package/lib/esm/components/c4-cluster-settings/elements/settings-tile.js +1 -6
  89. package/lib/esm/components/c4-cluster-settings/elements/tasklist-mode-toggle.js +1 -1
  90. package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.js +23 -3
  91. package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.js +18 -14
  92. package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.spec.d.ts +1 -0
  93. package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.spec.js +40 -0
  94. package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.types.d.ts +2 -0
  95. package/lib/esm/components/c4-clusters-trial-notification/c4-clusters-trial-notification.js +4 -9
  96. package/lib/esm/components/c4-clusters-trial-notification/c4-clusters-trial-notification.types.d.ts +2 -0
  97. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.js +11 -7
  98. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.mocks.d.ts +2 -0
  99. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.mocks.js +186 -0
  100. package/lib/esm/components/c4-console-dashboard/elements/empty-state.js +2 -2
  101. package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.d.ts +2 -0
  102. package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.js +132 -0
  103. package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.mocks.d.ts +2 -0
  104. package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.mocks.js +20 -0
  105. package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.types.d.ts +22 -0
  106. package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.types.js +6 -0
  107. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.d.ts +32 -0
  108. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.js +71 -0
  109. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.spec.d.ts +1 -0
  110. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.spec.js +83 -0
  111. package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +56 -54
  112. package/lib/esm/components/c4-create-cluster/c4-create-cluster.mocks.d.ts +64 -0
  113. package/lib/esm/components/c4-create-cluster/c4-create-cluster.mocks.js +298 -0
  114. package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.js +51 -31
  115. package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.mocks.d.ts +2 -0
  116. package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.mocks.js +23 -0
  117. package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.types.d.ts +2 -0
  118. package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.js +4 -2
  119. package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.mocks.d.ts +2 -0
  120. package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.mocks.js +15 -0
  121. package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.js +6 -5
  122. package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.mocks.d.ts +2 -0
  123. package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.mocks.js +13 -0
  124. package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.types.d.ts +1 -0
  125. package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.d.ts +2 -0
  126. package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.js +77 -0
  127. package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.mocks.d.ts +2 -0
  128. package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.mocks.js +11 -0
  129. package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.types.d.ts +14 -0
  130. package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.types.js +6 -0
  131. package/lib/esm/components/c4-create-trial-organization-modal/c4-create-trial-organization-modal.js +2 -1
  132. package/lib/esm/components/c4-dashboard-first-launch/c4-dashboard-first-launch.js +1 -6
  133. package/lib/esm/components/c4-data-table/c4-data-table-skeleton.d.ts +15 -0
  134. package/lib/esm/components/c4-data-table/c4-data-table-skeleton.js +26 -0
  135. package/lib/esm/components/c4-data-table/c4-data-table.d.ts +3 -0
  136. package/lib/esm/components/c4-data-table/c4-data-table.js +277 -0
  137. package/lib/esm/components/c4-data-table/c4-data-table.spec.d.ts +1 -0
  138. package/lib/esm/components/c4-data-table/c4-data-table.spec.js +71 -0
  139. package/lib/esm/components/c4-data-table/c4-data-table.stability.spec.d.ts +1 -0
  140. package/lib/esm/components/c4-data-table/c4-data-table.stability.spec.js +151 -0
  141. package/lib/esm/components/c4-delete-organization-modal/c4-delete-organization-modal.js +3 -2
  142. package/lib/esm/components/c4-empty-state/c4-empty-state.d.ts +47 -0
  143. package/lib/esm/components/c4-empty-state/c4-empty-state.js +33 -0
  144. package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.d.ts +3 -0
  145. package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.js +51 -0
  146. package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.spec.d.ts +1 -0
  147. package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.spec.js +33 -0
  148. package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.types.d.ts +8 -0
  149. package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.types.js +1 -0
  150. package/lib/esm/components/c4-external-link/c4-external-link.js +1 -6
  151. package/lib/esm/components/c4-feedback-modal/c4-feedback-modal.d.ts +40 -0
  152. package/lib/esm/components/c4-feedback-modal/c4-feedback-modal.js +109 -0
  153. package/lib/esm/components/c4-help-center/c4-help-center.d.ts +50 -0
  154. package/lib/esm/components/c4-help-center/c4-help-center.js +39 -0
  155. package/lib/esm/components/c4-inline-notification/c4-inline-notification.d.ts +15 -0
  156. package/lib/esm/components/c4-inline-notification/c4-inline-notification.js +37 -0
  157. package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.js +4 -3
  158. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.js +4 -2
  159. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.mocks.d.ts +2 -0
  160. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.mocks.js +231 -0
  161. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-chart-heading.js +1 -1
  162. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.js +3 -8
  163. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.js +56 -2
  164. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.js +37 -2
  165. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.js +3 -3
  166. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.js +2 -1
  167. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.js +43 -46
  168. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.mocks.d.ts +2 -0
  169. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.mocks.js +102 -0
  170. package/lib/esm/components/c4-job-dashboard-shared/c4-background-fetching-indicator.js +1 -6
  171. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-ds-colors.d.ts +10 -0
  172. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-ds-colors.js +16 -0
  173. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.js +1 -1
  174. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-table-heading-with-tooltip.js +1 -1
  175. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-time-range-dropdown.js +1 -1
  176. package/lib/esm/components/c4-leave-organization-modal/c4-leave-organization-modal.js +1 -6
  177. package/lib/esm/components/c4-link-button/c4-link-button.js +1 -6
  178. package/lib/esm/components/c4-llm-usage-meter/c4-llm-usage-meter.js +1 -1
  179. package/lib/esm/components/c4-management-activity/c4-management-activity.d.ts +1 -1
  180. package/lib/esm/components/c4-management-activity/c4-management-activity.js +109 -9
  181. package/lib/esm/components/c4-management-activity/c4-management-activity.mocks.d.ts +4 -0
  182. package/lib/esm/components/c4-management-activity/c4-management-activity.mocks.js +63 -0
  183. package/lib/esm/components/c4-management-activity/c4-management-activity.types.d.ts +11 -0
  184. package/lib/esm/components/c4-management-api/c4-management-api.js +9 -11
  185. package/lib/esm/components/c4-management-api/c4-management-api.mocks.d.ts +43 -0
  186. package/lib/esm/components/c4-management-api/c4-management-api.mocks.js +118 -0
  187. package/lib/esm/components/c4-management-overview/c4-management-overview.js +12 -14
  188. package/lib/esm/components/c4-management-settings/c4-management-settings.js +9 -11
  189. package/lib/esm/components/c4-management-users/c4-management-users.js +4 -9
  190. package/lib/esm/components/c4-multi-step-modal/c4-multi-step-modal.js +4 -2
  191. package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.js +4 -2
  192. package/lib/esm/components/c4-navigation/c4-navigation.d.ts +55 -0
  193. package/lib/esm/components/c4-navigation/c4-navigation.js +175 -0
  194. package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.js +3 -2
  195. package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.types.d.ts +1 -0
  196. package/lib/esm/components/c4-page-layout/c4-page-layout.d.ts +13 -0
  197. package/lib/esm/components/c4-page-layout/c4-page-layout.js +23 -0
  198. package/lib/esm/components/c4-page-template/c4-page-template.js +14 -3
  199. package/lib/esm/components/c4-permission-error-page/c4-permission-error-page.js +1 -1
  200. package/lib/esm/components/c4-pricing/c4-pricing.js +3 -7
  201. package/lib/esm/components/c4-pricing-card/c4-pricing-card.js +1 -1
  202. package/lib/esm/components/c4-rename-organization-modal/c4-rename-organization-modal.js +1 -1
  203. package/lib/esm/components/c4-search/c4-search-results.js +2 -1
  204. package/lib/esm/components/c4-selectable-tile/c4-selectable-tile.d.ts +20 -0
  205. package/lib/esm/components/c4-selectable-tile/c4-selectable-tile.js +44 -0
  206. package/lib/esm/components/c4-sm-cluster-details/automation-components.js +2 -1
  207. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.js +1 -6
  208. package/lib/esm/components/c4-sm-cluster-details/custom-properties.js +4 -8
  209. package/lib/esm/components/c4-sm-cluster-details/details.js +5 -4
  210. package/lib/esm/components/c4-sm-cluster-details/zeebe-components.js +2 -1
  211. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.js +1 -1
  212. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.types.d.ts +1 -1
  213. package/lib/esm/components/c4-sm-dashboard/cluster-tile.js +2 -1
  214. package/lib/esm/components/c4-sm-dashboard/component-tile.js +2 -1
  215. package/lib/esm/components/c4-sm-dashboard/explore.js +1 -6
  216. package/lib/esm/components/c4-sm-dashboard/overview.js +1 -1
  217. package/lib/esm/components/c4-sm-dashboard/usage-tile.js +2 -1
  218. package/lib/esm/components/c4-stat/c4-stat.js +1 -6
  219. package/lib/esm/components/c4-stateful-button/c4-stateful-button.js +2 -1
  220. package/lib/esm/components/c4-structured-list/c4-structured-list.d.ts +21 -0
  221. package/lib/esm/components/c4-structured-list/c4-structured-list.js +75 -0
  222. package/lib/esm/components/c4-tabs/c4-tabs.js +2 -1
  223. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.js +6 -2
  224. package/lib/esm/components/c4-telemetry-page/component-metrics.js +1 -6
  225. package/lib/esm/components/c4-telemetry-page/telemetry-for-component.js +60 -37
  226. package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.js +1 -1
  227. package/lib/esm/components/c4-theme-switcher/c4-theme-switcher.js +1 -1
  228. package/lib/esm/components/c4-tile-with-title-and-action/c4-tile-with-title-and-action.js +1 -1
  229. package/lib/esm/components/c4-toast-notification/c4-toast-notification.d.ts +14 -0
  230. package/lib/esm/components/c4-toast-notification/c4-toast-notification.js +27 -0
  231. package/lib/esm/components/c4-toggle/c4-toggle.js +6 -8
  232. package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.js +1 -1
  233. package/lib/esm/components/c4-usage-alert-update-modal/c4-usage-alert-update-modal.js +4 -2
  234. package/lib/esm/components/c4-usage-history/c4-usage-history.js +5 -3
  235. package/lib/esm/components/c4-usage-history/elements/usage-history-charts.js +7 -1
  236. package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.js +8 -7
  237. package/lib/esm/components/c4-user-details/c4-user-details.js +2 -2
  238. package/lib/esm/components/c4-user-details/tabs/authorized-resources.js +4 -2
  239. package/lib/esm/components/c4-user-details/tabs/details.js +6 -10
  240. package/lib/esm/components/c4-user-details/tabs/roles.js +3 -8
  241. package/lib/esm/components/shared-charts/ds-charts.smoke.spec.d.ts +1 -0
  242. package/lib/esm/components/shared-charts/ds-charts.smoke.spec.js +47 -0
  243. package/lib/esm/components/shared-charts/ds-line-chart.d.ts +33 -0
  244. package/lib/esm/components/shared-charts/ds-line-chart.js +55 -0
  245. package/lib/esm/components/shared-charts/ds-meter-chart.d.ts +22 -0
  246. package/lib/esm/components/shared-charts/ds-meter-chart.js +48 -0
  247. package/lib/esm/components/shared-charts/recharts-tokens.d.ts +24 -0
  248. package/lib/esm/components/shared-charts/recharts-tokens.js +51 -0
  249. package/lib/esm/externalUrls.const.d.ts +2 -0
  250. package/lib/esm/externalUrls.const.js +7 -0
  251. package/lib/esm/externalUrls.const.spec.js +2 -0
  252. package/lib/esm/i18n/c4-console-i18n.js +8 -0
  253. package/lib/esm/i18n/en/entities/orgroles.json +0 -16
  254. package/lib/esm/i18n/en/modals/clusters.json +0 -8
  255. package/lib/esm/i18n/en/pages/clusterdetails.json +14 -2
  256. package/lib/esm/i18n/en/pages/orgmanagement.json +12 -3
  257. package/lib/esm/index.d.ts +33 -1
  258. package/lib/esm/index.js +23 -1
  259. package/lib/esm/runtime/c4-console-authz.d.ts +26 -0
  260. package/lib/esm/runtime/c4-console-authz.js +59 -29
  261. package/lib/esm/runtime/c4-console-authz.spec.js +87 -20
  262. package/lib/esm/runtime/c4-console-data-context.js +40 -0
  263. package/lib/esm/runtime/c4-console-data-context.types.d.ts +19 -1
  264. package/lib/esm/runtime/c4-console-data-store.d.ts +25 -1
  265. package/lib/esm/runtime/c4-console-data-store.js +145 -31
  266. package/lib/esm/runtime/c4-console-data-store.nav.spec.d.ts +1 -0
  267. package/lib/esm/runtime/c4-console-data-store.nav.spec.js +121 -0
  268. package/lib/esm/runtime/c4-console-data-store.spec.js +35 -6
  269. package/lib/esm/runtime/c4-console-events-context.d.ts +18 -0
  270. package/lib/esm/runtime/c4-console-events-context.js +62 -0
  271. package/lib/esm/runtime/c4-console-runtime-context.d.ts +8 -1
  272. package/lib/esm/runtime/c4-console-runtime-context.js +50 -1
  273. package/lib/esm/runtime/c4-console-runtime.types.d.ts +20 -0
  274. package/lib/esm/runtime/c4-user-notifications-context.d.ts +19 -0
  275. package/lib/esm/runtime/c4-user-notifications-context.js +201 -0
  276. package/lib/esm/runtime/c4-user-notifications-context.spec.d.ts +1 -0
  277. package/lib/esm/runtime/c4-user-notifications-context.spec.js +80 -0
  278. package/lib/esm/runtime/c4-user-notifications-context.types.d.ts +31 -0
  279. package/lib/esm/runtime/c4-user-notifications-context.types.js +6 -0
  280. package/lib/esm/runtime/c4-user-theme.d.ts +27 -0
  281. package/lib/esm/runtime/c4-user-theme.js +106 -0
  282. package/lib/esm/runtime/decode-access-token.d.ts +12 -0
  283. package/lib/esm/runtime/decode-access-token.js +39 -0
  284. package/lib/esm/runtime/nav/camunda-apps.d.ts +45 -0
  285. package/lib/esm/runtime/nav/camunda-apps.js +100 -0
  286. package/lib/esm/runtime/nav/camunda-apps.spec.d.ts +1 -0
  287. package/lib/esm/runtime/nav/camunda-apps.spec.js +90 -0
  288. package/lib/esm/runtime/nav/use-webapp-nav-data.d.ts +75 -0
  289. package/lib/esm/runtime/nav/use-webapp-nav-data.js +211 -0
  290. package/lib/esm/runtime/nav/use-webapp-nav-data.spec.d.ts +1 -0
  291. package/lib/esm/runtime/nav/use-webapp-nav-data.spec.js +91 -0
  292. package/lib/esm/runtime/to-api-config.js +4 -0
  293. package/lib/esm/ui/c4-modal-dialog.d.ts +14 -0
  294. package/lib/esm/ui/c4-modal-dialog.js +35 -0
  295. package/lib/esm/ui/families.d.ts +42 -0
  296. package/lib/esm/ui/families.js +46 -0
  297. package/lib/esm/ui/index.d.ts +32 -0
  298. package/lib/esm/ui/index.js +95 -0
  299. package/lib/esm/ui/switchable.d.ts +14 -0
  300. package/lib/esm/ui/switchable.js +27 -0
  301. package/lib/esm/ui/tabs.d.ts +21 -0
  302. package/lib/esm/ui/tabs.js +27 -0
  303. package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.js +7 -5
  304. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.d.ts +1 -0
  305. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +39 -15
  306. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.merge.spec.d.ts +1 -0
  307. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.merge.spec.js +49 -0
  308. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +8 -0
  309. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.js +1 -1
  310. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.spec.js +2 -0
  311. package/lib/esm/widgets/cluster-details/cluster-details-tabs.d.ts +23 -0
  312. package/lib/esm/widgets/cluster-details/cluster-details-tabs.js +83 -0
  313. package/lib/esm/widgets/cluster-details/cluster-details-tabs.spec.d.ts +1 -0
  314. package/lib/esm/widgets/cluster-details/cluster-details-tabs.spec.js +33 -0
  315. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-alerts-tab.js +25 -88
  316. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.js +5 -3
  317. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.js +7 -5
  318. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +10 -6
  319. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.js +3 -1
  320. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-ip-whitelist-tab.js +25 -39
  321. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +88 -35
  322. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.spec.js +134 -19
  323. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.js +12 -9
  324. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.d.ts +2 -0
  325. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +194 -6
  326. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.spec.js +60 -1
  327. package/lib/esm/widgets/clusters/c4-clusters-page.d.ts +1 -1
  328. package/lib/esm/widgets/clusters/c4-clusters-page.js +173 -81
  329. package/lib/esm/widgets/clusters/c4-clusters-page.spec.js +146 -13
  330. package/lib/esm/widgets/clusters/c4-clusters-page.types.d.ts +3 -0
  331. package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.js +1 -1
  332. package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.js +3 -2
  333. package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.d.ts +4 -0
  334. package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.js +59 -0
  335. package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.types.d.ts +18 -0
  336. package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.types.js +6 -0
  337. package/lib/esm/widgets/connector-management/c4-connector-management-page.d.ts +1 -1
  338. package/lib/esm/widgets/connector-management/c4-connector-management-page.js +38 -5
  339. package/lib/esm/widgets/connector-management/c4-connector-management-page.spec.js +86 -0
  340. package/lib/esm/widgets/connector-management/c4-connector-management-page.types.d.ts +11 -0
  341. package/lib/esm/widgets/connector-management/c4-connector-management.shared.d.ts +1 -0
  342. package/lib/esm/widgets/connector-management/c4-connector-management.shared.js +14 -5
  343. package/lib/esm/widgets/create-cluster/c4-create-cluster-page.js +1 -1
  344. package/lib/esm/widgets/dashboard/c4-dashboard-app.js +21 -2
  345. package/lib/esm/widgets/group-details/c4-group-details-page.js +3 -2
  346. package/lib/esm/widgets/management/c4-management-app.d.ts +1 -1
  347. package/lib/esm/widgets/management/c4-management-app.js +132 -23
  348. package/lib/esm/widgets/management/c4-management-app.spec.js +163 -1
  349. package/lib/esm/widgets/management/c4-management-app.types.d.ts +5 -0
  350. package/lib/esm/widgets/management/c4-management-page.js +1 -6
  351. package/lib/esm/widgets/management/management-tabs.d.ts +22 -0
  352. package/lib/esm/widgets/management/management-tabs.js +76 -0
  353. package/lib/esm/widgets/management/management-tabs.spec.d.ts +1 -0
  354. package/lib/esm/widgets/management/management-tabs.spec.js +28 -0
  355. package/lib/esm/widgets/management/tabs/c4-management-api-tab.js +4 -2
  356. package/lib/esm/widgets/management/tabs/c4-management-billing-tab.js +1 -1
  357. package/lib/esm/widgets/management/tabs/c4-management-groups-tab.js +1 -1
  358. package/lib/esm/widgets/management/tabs/c4-management-overview-tab.d.ts +3 -1
  359. package/lib/esm/widgets/management/tabs/c4-management-overview-tab.js +19 -3
  360. package/lib/esm/widgets/management/tabs/c4-management-pricing-tab.js +2 -1
  361. package/lib/esm/widgets/management/tabs/c4-management-settings-tab.js +1 -1
  362. package/lib/esm/widgets/management/tabs/c4-management-usage-tab.d.ts +1 -1
  363. package/lib/esm/widgets/management/tabs/c4-management-usage-tab.js +13 -11
  364. package/lib/esm/widgets/management/tabs/c4-management-users-tab.js +37 -5
  365. package/lib/esm/widgets/management/tabs/c4-management-users-tab.spec.js +98 -0
  366. package/lib/esm/widgets/use-extend-trial.d.ts +8 -0
  367. package/lib/esm/widgets/use-extend-trial.js +36 -0
  368. package/lib/esm/widgets/use-extend-trial.spec.d.ts +1 -0
  369. package/lib/esm/widgets/use-extend-trial.spec.js +79 -0
  370. package/lib/esm/widgets/user-details/c4-user-details-page.js +5 -14
  371. package/package.json +16 -7
@@ -0,0 +1,15 @@
1
+ import { type AlertVariant } from '@camunda/design-system';
2
+ import { InlineNotification } from '@carbon/react';
3
+ import type { ComponentProps, JSX } from 'react';
4
+ type C4InlineNotificationProps = ComponentProps<typeof InlineNotification>;
5
+ export declare function kindToAlertVariant(kind: unknown): AlertVariant;
6
+ /**
7
+ * Design-system-switchable inline notification.
8
+ *
9
+ * Carbon mode renders Carbon's `InlineNotification` unchanged. ds mode renders
10
+ * the DS-native `Alert` (kind→variant, title, subtitle→description,
11
+ * hideCloseButton→non-dismissible). `lowContrast` has no DS analogue and is
12
+ * ignored in ds mode.
13
+ */
14
+ export declare function C4InlineNotification(props: C4InlineNotificationProps): JSX.Element;
15
+ export {};
@@ -0,0 +1,37 @@
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 { Alert } from '@camunda/design-system';
8
+ import { InlineNotification } from '@carbon/react';
9
+ import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
10
+ // Carbon notification `kind` → DS Alert variant.
11
+ const KIND_TO_VARIANT = {
12
+ error: 'destructive',
13
+ info: 'info',
14
+ 'info-square': 'info',
15
+ success: 'success',
16
+ warning: 'warning',
17
+ 'warning-alt': 'warning',
18
+ };
19
+ export function kindToAlertVariant(kind) {
20
+ return (typeof kind === 'string' && KIND_TO_VARIANT[kind]) || 'default';
21
+ }
22
+ /**
23
+ * Design-system-switchable inline notification.
24
+ *
25
+ * Carbon mode renders Carbon's `InlineNotification` unchanged. ds mode renders
26
+ * the DS-native `Alert` (kind→variant, title, subtitle→description,
27
+ * hideCloseButton→non-dismissible). `lowContrast` has no DS analogue and is
28
+ * ignored in ds mode.
29
+ */
30
+ export function C4InlineNotification(props) {
31
+ const designSystem = useC4DesignSystem();
32
+ if (designSystem !== 'ds') {
33
+ return _jsx(InlineNotification, { ...props });
34
+ }
35
+ const { kind, title, subtitle, hideCloseButton, onCloseButtonClick, children, } = props;
36
+ return (_jsx(Alert, { variant: kindToAlertVariant(kind), title: typeof title === 'string' ? title : undefined, description: subtitle, dismissible: !hideCloseButton, onDismiss: onCloseButtonClick, children: children }));
37
+ }
@@ -5,8 +5,9 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
7
  import { OrganizationRole } from '@camunda/ccma-shared-types';
8
- import { Checkbox, InlineNotification, Link, Modal, Stack, TextInput, } from '@carbon/react';
9
8
  import { forwardRef, useCallback, useImperativeHandle, useMemo, useState, } from 'react';
9
+ import { Checkbox, Link, Modal, Stack, TextInput } from '../../ui/index.js';
10
+ import { C4InlineNotification } from '../c4-inline-notification/c4-inline-notification.js';
10
11
  function safeTranslate(t, key, defaultValue, options) {
11
12
  if (!t)
12
13
  return defaultValue;
@@ -176,7 +177,7 @@ export const C4InviteUserToOrganizationModal = forwardRef(({ t, onInviteUser, sh
176
177
  return (_jsx(Modal, { open: isOpen, modalHeading: modalHeading, primaryButtonText: safeTranslate(t, 'invitations:invite.buttons.primary', 'Send invite'), secondaryButtonText: safeTranslate(t, 'orgmanagement:common.cancel', 'Cancel'), primaryButtonDisabled: inviteSaving, onRequestClose: close, onRequestSubmit: onSubmit, children: _jsxs(Stack, { gap: 5, children: [_jsx(TextInput, { id: 'c4-invite-email', labelText: safeTranslate(t, 'invitations:invite.form.email', 'Email address'), value: inviteEmail, onChange: (e) => {
177
178
  setInviteError(undefined);
178
179
  setInviteEmail(e.currentTarget.value);
179
- }, disabled: inviteSaving, invalid: Boolean(inviteError), invalidText: inviteError }), rolesError && (_jsx(InlineNotification, { lowContrast: true, kind: 'error', title: '', subtitle: rolesError })), _jsxs("fieldset", { className: 'cds--fieldset', children: [_jsx("legend", { className: 'cds--label', children: safeTranslate(t, 'invitations:invite.form.roles', 'Select role(s) to the platform') }), primaryRoles.map((role) => {
180
+ }, disabled: inviteSaving, invalid: Boolean(inviteError), invalidText: inviteError }), rolesError && (_jsx(C4InlineNotification, { lowContrast: true, kind: 'error', title: '', subtitle: rolesError })), _jsxs("fieldset", { className: 'cds--fieldset', children: [_jsx("legend", { className: 'cds--label', children: safeTranslate(t, 'invitations:invite.form.roles', 'Select role(s) to the platform') }), primaryRoles.map((role) => {
180
181
  const enriched = roleLabelDescription(t, role);
181
182
  return (_jsxs("span", { children: [_jsx(Checkbox, { labelText: enriched.label, id: `c4-invite-role-${role}`, checked: inviteRoles.has(role), disabled: inviteSaving, onChange: (_, data) => {
182
183
  setRolesError(undefined);
@@ -191,7 +192,7 @@ export const C4InviteUserToOrganizationModal = forwardRef(({ t, onInviteUser, sh
191
192
  return next;
192
193
  });
193
194
  } }), enriched.description && (_jsx("span", { className: 'cds--label', style: { marginLeft: '27px' }, children: enriched.description }))] }, `c4-invite-role-${role}`));
194
- }), _jsxs("div", { style: { margin: '16px 0' }, children: [_jsx(InlineNotification, { lowContrast: true, kind: 'info', hideCloseButton: true, title: '', subtitle: safeTranslate(t, 'users:changeOrgRoles.notification.title', 'Starting with version 8.8, user access to clusters is managed independently.') }), _jsxs("p", { style: { paddingTop: '4px' }, children: [_jsx(Link, { href: learnMoreUrl, target: '_blank', rel: 'noopener noreferrer', children: safeTranslate(t, 'users:changeOrgRoles.notification.learnMore', 'Learn more') }), "."] }), _jsx("p", { style: { paddingTop: '4px' }, children: safeTranslate(t, 'invitations:invite.form.clusterAuthDisabledNote', 'If cluster authorizations are disabled, the user will have full access to the cluster and its components.') })] }), legacyClusterRoles.length > 0 && (_jsxs(_Fragment, { children: [_jsx("div", { style: {
195
+ }), _jsxs("div", { style: { margin: '16px 0' }, children: [_jsx(C4InlineNotification, { lowContrast: true, kind: 'info', hideCloseButton: true, title: '', subtitle: safeTranslate(t, 'users:changeOrgRoles.notification.title', 'Starting with version 8.8, user access to clusters is managed independently.') }), _jsxs("p", { style: { paddingTop: '4px' }, children: [_jsx(Link, { href: learnMoreUrl, target: '_blank', rel: 'noopener noreferrer', children: safeTranslate(t, 'users:changeOrgRoles.notification.learnMore', 'Learn more') }), "."] }), _jsx("p", { style: { paddingTop: '4px' }, children: safeTranslate(t, 'invitations:invite.form.clusterAuthDisabledNote', 'If cluster authorizations are disabled, the user will have full access to the cluster and its components.') })] }), legacyClusterRoles.length > 0 && (_jsxs(_Fragment, { children: [_jsx("div", { style: {
195
196
  color: 'var(--cds-text-secondary)',
196
197
  letterSpacing: 'var(--cds-label-01-letter-spacing, 0.32px)',
197
198
  fontSize: 'var(--cds-label-01-font-size, 0.75rem)',
@@ -4,12 +4,14 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
4
  * under one or more contributor license agreements. Licensed under a commercial license.
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
- import { InlineNotification, Stack, Tile } from '@carbon/react';
8
7
  import styled from 'styled-components';
8
+ import { Stack, Tile } from '../../ui/index.js';
9
9
  import { C4Breadcrumb } from '../c4-breadcrumb/c4-breadcrumb.js';
10
+ import { C4InlineNotification } from '../c4-inline-notification/c4-inline-notification.js';
10
11
  import { C4JobDashboardErrorHandler } from '../c4-job-dashboard-shared/c4-job-dashboard-error-handler.js';
11
12
  import C4JobDashboardTimeRangeDropdown from '../c4-job-dashboard-shared/c4-job-dashboard-time-range-dropdown.js';
12
13
  import C4TimestampInformation from '../c4-job-dashboard-shared/c4-timestamp-information.js';
14
+ import { C4PageLayout } from '../c4-page-layout/c4-page-layout.js';
13
15
  import C4JobDashboardErrorTable from './elements/c4-job-dashboard-error-table.js';
14
16
  import C4JobDashboardPieChart from './elements/c4-job-dashboard-piechart.js';
15
17
  import C4JobDashboardTimeChart from './elements/c4-job-dashboard-time-chart.js';
@@ -53,5 +55,5 @@ export const C4JobDashboardDetailsPage = ({ jobType, config, isLoadingConfig, la
53
55
  const error = { status: 403, details: 'Feature is disabled', message: '' };
54
56
  return (_jsx(C4JobDashboardErrorHandler, { itemsLength: 0, showIcons: true, translations: translations.errorHandler, error: error }));
55
57
  }
56
- return (_jsxs(Stack, { gap: 4, children: [_jsx(C4Breadcrumb, { title: translations.title, elements: breadcrumb.elements }), _jsxs("p", { children: [translations.jobTypeLabel, " ", _jsx("strong", { children: jobType })] }), _jsx(C4TimestampInformation, { description: translations.lastUpdated, lastUpdatedAt: lastUpdatedAt }), _jsx(C4JobDashboardTimeRangeDropdown, { onChange: onTimeRangeChange, exportInterval: config?.exportInterval, disabled: isLoadingConfig, translations: translations.dropdown }), jobData.isIncomplete && (_jsx(InlineNotification, { style: { maxWidth: '100%' }, lowContrast: true, kind: 'warning', title: translations.dataLimitWarning.title, subtitle: translations.dataLimitWarning.description })), _jsx(ChartContainer, { children: _jsxs(ChartGrid, { children: [_jsx(TimeChartWrapper, { children: _jsx(C4JobDashboardTimeChart, { timeSeries: timeSeries.items, colorScale: colorScale, isLoading: timeSeries.isLoading, translations: translations, error: timeSeries.error }) }), _jsx(PieChartWrapper, { children: _jsx(C4JobDashboardPieChart, { jobData: jobData.data, colorScale: colorScale, isLoading: jobData.isLoading, translations: translations, error: jobData.error }) })] }) }), _jsx(TileWithShadow, { children: _jsx(C4JobDashboardWorkerTable, { workerData: workerData.items, isLoading: workerData.isLoading, translations: translations, error: workerData.error }) }), _jsx(TileWithShadow, { children: _jsx(C4JobDashboardErrorTable, { errors: errorData.items, operateBaseUrl: errorData.operateBaseUrl, isLoading: errorData.isLoading, translations: translations, error: errorData.error, trackErrorClick: trackErrorClick }) })] }));
58
+ return (_jsx(C4PageLayout, { children: _jsxs(Stack, { gap: 4, children: [_jsx(C4Breadcrumb, { title: translations.title, elements: breadcrumb.elements }), _jsxs("p", { children: [translations.jobTypeLabel, " ", _jsx("strong", { children: jobType })] }), _jsx(C4TimestampInformation, { description: translations.lastUpdated, lastUpdatedAt: lastUpdatedAt }), _jsx(C4JobDashboardTimeRangeDropdown, { onChange: onTimeRangeChange, exportInterval: config?.exportInterval, disabled: isLoadingConfig, translations: translations.dropdown }), jobData.isIncomplete && (_jsx(C4InlineNotification, { style: { maxWidth: '100%' }, lowContrast: true, kind: 'warning', title: translations.dataLimitWarning.title, subtitle: translations.dataLimitWarning.description })), _jsx(ChartContainer, { children: _jsxs(ChartGrid, { children: [_jsx(TimeChartWrapper, { children: _jsx(C4JobDashboardTimeChart, { timeSeries: timeSeries.items, colorScale: colorScale, isLoading: timeSeries.isLoading, translations: translations, error: timeSeries.error }) }), _jsx(PieChartWrapper, { children: _jsx(C4JobDashboardPieChart, { jobData: jobData.data, colorScale: colorScale, isLoading: jobData.isLoading, translations: translations, error: jobData.error }) })] }) }), _jsx(TileWithShadow, { children: _jsx(C4JobDashboardWorkerTable, { workerData: workerData.items, isLoading: workerData.isLoading, translations: translations, error: workerData.error }) }), _jsx(TileWithShadow, { children: _jsx(C4JobDashboardErrorTable, { errors: errorData.items, operateBaseUrl: errorData.operateBaseUrl, isLoading: errorData.isLoading, translations: translations, error: errorData.error, trackErrorClick: trackErrorClick }) })] }) }));
57
59
  };
@@ -0,0 +1,2 @@
1
+ import type { C4JobDashboardDetailsPageProps } from './c4-job-dashboard-details-page.types';
2
+ export declare const defaultDetailsProps: C4JobDashboardDetailsPageProps;
@@ -0,0 +1,231 @@
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 { getDropdownTranslations, getErrorHandlerTranslations, } from '../c4-job-dashboard-shared/c4-stories-data-generator.js';
7
+ // All dates below are computed relative to real "now" (rather than a fixed
8
+ // past date, which reads as obviously stale in a docs screenshot) - matches
9
+ // this migration's dynamic-date convention (see stories/shared/billing-dates.ts).
10
+ const MINUTE = 60 * 1000;
11
+ const HOUR = 60 * MINUTE;
12
+ const now = Date.now();
13
+ const isoAt = (offsetMs) => new Date(now - offsetMs).toISOString();
14
+ const lastUpdatedDisplay = new Date(now).toLocaleString('en-US', {
15
+ month: 'long',
16
+ day: 'numeric',
17
+ year: 'numeric',
18
+ hour: 'numeric',
19
+ minute: '2-digit',
20
+ hour12: true,
21
+ });
22
+ export const defaultDetailsProps = {
23
+ jobType: 'fetch-customer-data',
24
+ lastUpdatedAt: lastUpdatedDisplay,
25
+ config: {
26
+ enabled: true,
27
+ exportInterval: 'PT5M',
28
+ },
29
+ isLoadingConfig: false,
30
+ breadcrumb: {
31
+ elements: [
32
+ { key: 'clusters', label: 'Clusters', href: '/clusters' },
33
+ {
34
+ key: 'cluster-123',
35
+ label: 'cluster-123',
36
+ href: '/clusters/cluster-123',
37
+ },
38
+ {
39
+ key: 'job-dashboard',
40
+ label: 'Job Dashboard',
41
+ href: '/clusters/cluster-123/job-dashboard',
42
+ },
43
+ { key: 'job-type', label: 'fetch-customer-data' },
44
+ ],
45
+ },
46
+ onTimeRangeChange: () => { },
47
+ translations: {
48
+ title: 'Job type details',
49
+ lastUpdated: 'Last updated:',
50
+ jobTypeLabel: 'Job type:',
51
+ backgroundFetching: 'Loading more data...',
52
+ dataLimitWarning: {
53
+ title: 'Data limit warning',
54
+ description: 'Not all data could be fetched. Data limit reached',
55
+ },
56
+ charts: {
57
+ jobLabel: {
58
+ singular: 'job',
59
+ plural: 'jobs',
60
+ },
61
+ jobWorkload: {
62
+ title: 'Job workload',
63
+ tooltip: 'Tracks the flow of created, completed and not completed (failed, cancelled, timed out) jobs over time for the chosen Job type.',
64
+ subtitle: 'Jobs created, completed and not completed (failed, cancelled, timed out) over time',
65
+ },
66
+ createdVsCompleted: {
67
+ title: 'Created vs completed jobs',
68
+ tooltip: 'Indicates overall completion rate. How many created jobs were finished for the chosen job type.',
69
+ },
70
+ axes: {
71
+ time: 'Time',
72
+ numberOfJobs: 'Number of jobs',
73
+ },
74
+ legend: {
75
+ created: 'Created',
76
+ completed: 'Completed',
77
+ failed: 'Not completed',
78
+ },
79
+ },
80
+ workerTable: {
81
+ title: 'Job worker connection',
82
+ headers: {
83
+ workerName: 'Worker name',
84
+ createdJobs: 'Created Jobs',
85
+ completedJobs: 'Completed Jobs',
86
+ completedJobsTooltip: 'Jobs that have finished executing successfully.',
87
+ failedJobs: 'Failed Jobs',
88
+ failedJobsTooltip: 'Jobs that encountered an error and could not complete.',
89
+ lastCompleted: 'Last Completed',
90
+ },
91
+ },
92
+ errorTable: {
93
+ title: 'Failed Jobs by Error Type',
94
+ searchLabel: 'Search',
95
+ viewErrorsAction: 'View errors',
96
+ headers: {
97
+ errorType: 'Error Type',
98
+ errorMessage: 'Error Message',
99
+ jobsWithError: 'Job workers with errors',
100
+ },
101
+ },
102
+ errorHandler: getErrorHandlerTranslations(),
103
+ dropdown: getDropdownTranslations(),
104
+ },
105
+ // The totals below (jobData.data), the per-worker breakdown (workerData),
106
+ // and the per-interval series (timeSeries) are kept internally consistent:
107
+ // workerData's completed/failed sum to jobData.data's, and timeSeries'
108
+ // created/completed/failed each sum to jobData.data's - unlike the
109
+ // previous version, where a 1200/1100/50 top-line total didn't reconcile
110
+ // with either the ~750/~730/~7 worker sums or the timeSeries values.
111
+ jobData: {
112
+ data: {
113
+ created: {
114
+ count: 11,
115
+ lastUpdatedAt: isoAt(0),
116
+ },
117
+ completed: {
118
+ count: 10,
119
+ lastUpdatedAt: isoAt(0),
120
+ },
121
+ failed: {
122
+ count: 3,
123
+ lastUpdatedAt: isoAt(0),
124
+ },
125
+ lastUpdatedAt: isoAt(0),
126
+ },
127
+ isIncomplete: false,
128
+ isLoading: false,
129
+ },
130
+ workerData: {
131
+ items: [
132
+ {
133
+ worker: 'worker-1',
134
+ created: {
135
+ count: 7,
136
+ lastUpdatedAt: isoAt(0),
137
+ },
138
+ completed: {
139
+ count: 6,
140
+ lastUpdatedAt: isoAt(0),
141
+ },
142
+ failed: {
143
+ count: 2,
144
+ lastUpdatedAt: isoAt(2 * MINUTE),
145
+ },
146
+ lastUpdatedAt: isoAt(0),
147
+ },
148
+ {
149
+ worker: 'worker-2',
150
+ created: {
151
+ count: 4,
152
+ lastUpdatedAt: isoAt(2 * MINUTE),
153
+ },
154
+ completed: {
155
+ count: 4,
156
+ lastUpdatedAt: isoAt(2 * MINUTE),
157
+ },
158
+ failed: {
159
+ count: 1,
160
+ lastUpdatedAt: isoAt(4 * MINUTE),
161
+ },
162
+ lastUpdatedAt: isoAt(2 * MINUTE),
163
+ },
164
+ ],
165
+ isLoading: false,
166
+ },
167
+ timeSeries: {
168
+ // 5 buckets spanning the full 24 hours ending at `lastUpdatedAt` (rather
169
+ // than a few minutes) so the x-axis actually matches the "Last 24 hours"
170
+ // range selected above it. Mountain-shaped (peaking mid-window) rather
171
+ // than a monotonic decline from unrealistically large counts. Each
172
+ // series' counts sum to jobData.data's total above (created: 11,
173
+ // completed: 10, failed: 3).
174
+ items: [
175
+ {
176
+ time: isoAt(24 * HOUR),
177
+ created: { count: 1, lastUpdatedAt: isoAt(24 * HOUR) },
178
+ completed: { count: 1, lastUpdatedAt: isoAt(24 * HOUR) },
179
+ failed: { count: 0, lastUpdatedAt: isoAt(24 * HOUR) },
180
+ lastUpdatedAt: isoAt(24 * HOUR),
181
+ },
182
+ {
183
+ time: isoAt(18 * HOUR),
184
+ created: { count: 2, lastUpdatedAt: isoAt(18 * HOUR) },
185
+ completed: { count: 2, lastUpdatedAt: isoAt(18 * HOUR) },
186
+ failed: { count: 1, lastUpdatedAt: isoAt(18 * HOUR) },
187
+ lastUpdatedAt: isoAt(18 * HOUR),
188
+ },
189
+ {
190
+ time: isoAt(12 * HOUR),
191
+ created: { count: 3, lastUpdatedAt: isoAt(12 * HOUR) },
192
+ completed: { count: 3, lastUpdatedAt: isoAt(12 * HOUR) },
193
+ failed: { count: 1, lastUpdatedAt: isoAt(12 * HOUR) },
194
+ lastUpdatedAt: isoAt(12 * HOUR),
195
+ },
196
+ {
197
+ time: isoAt(6 * HOUR),
198
+ created: { count: 3, lastUpdatedAt: isoAt(6 * HOUR) },
199
+ completed: { count: 2, lastUpdatedAt: isoAt(6 * HOUR) },
200
+ failed: { count: 1, lastUpdatedAt: isoAt(6 * HOUR) },
201
+ lastUpdatedAt: isoAt(6 * HOUR),
202
+ },
203
+ {
204
+ time: isoAt(0),
205
+ created: { count: 2, lastUpdatedAt: isoAt(0) },
206
+ completed: { count: 2, lastUpdatedAt: isoAt(0) },
207
+ failed: { count: 0, lastUpdatedAt: isoAt(0) },
208
+ lastUpdatedAt: isoAt(0),
209
+ },
210
+ ],
211
+ isLoading: false,
212
+ },
213
+ errorData: {
214
+ operateBaseUrl: 'https://example.camunda.io/operate',
215
+ // Sums to jobData.data.failed.count (3) above, instead of wildly
216
+ // exceeding the total number of failed jobs.
217
+ items: [
218
+ {
219
+ errorCode: 'UNHANDLED_ERROR_EVENT',
220
+ errorMessage: 'An unexpected error occurred.',
221
+ workers: 2,
222
+ },
223
+ {
224
+ errorCode: 'IO_ERROR',
225
+ errorMessage: 'Failed to read from remote server.',
226
+ workers: 1,
227
+ },
228
+ ],
229
+ isLoading: false,
230
+ },
231
+ };
@@ -4,9 +4,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
4
  * under one or more contributor license agreements. Licensed under a commercial license.
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
- import { Tooltip } from '@carbon/react';
8
7
  import { Information } from '@carbon/react/icons/index.esm.js';
9
8
  import styled from 'styled-components';
9
+ import { Tooltip } from '../../../ui/index.js';
10
10
  const Wrapper = styled.div `
11
11
  display: flex;
12
12
  align-items: center;
@@ -1,11 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } 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 { C3DataTable, } from '@camunda/camunda-composite-components';
8
- import { Stack } from '@carbon/react';
2
+ import { Stack } from '../../../ui/index.js';
3
+ import { C4DataTable } from '../../c4-data-table/c4-data-table.js';
9
4
  import { C4BackgroundFetchingIndicator } from '../../c4-job-dashboard-shared/c4-background-fetching-indicator.js';
10
5
  import { C4JobDashboardErrorHandler } from '../../c4-job-dashboard-shared/c4-job-dashboard-error-handler.js';
11
6
  function noWrapLabel(label) {
@@ -47,7 +42,7 @@ function C4JobDashboardErrorTable({ errors, operateBaseUrl, isLoading, translati
47
42
  },
48
43
  ]
49
44
  : [];
50
- return (_jsxs(_Fragment, { children: [_jsx("h2", { children: translations.errorTable.title }), _jsx(C3DataTable, { id: 'errors-data-table', data: rows, headers: [
45
+ return (_jsxs(_Fragment, { children: [_jsx("h2", { children: translations.errorTable.title }), _jsx(C4DataTable, { id: 'errors-data-table', data: rows, headers: [
51
46
  {
52
47
  key: 'errorCode',
53
48
  label: noWrapLabel(translations.errorTable.headers.errorType),
@@ -1,14 +1,19 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
4
4
  * under one or more contributor license agreements. Licensed under a commercial license.
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
7
  import { DonutChart } from '@carbon/charts-react';
8
+ import { Cell, Pie, PieChart, ResponsiveContainer, Tooltip } from 'recharts';
9
+ import { useC4DesignSystem } from '../../../runtime/c4-console-runtime-context.js';
10
+ import { JOB_STATUS_DS_COLORS } from '../../c4-job-dashboard-shared/c4-job-dashboard-ds-colors.js';
8
11
  import { C4JobDashboardErrorHandler } from '../../c4-job-dashboard-shared/c4-job-dashboard-error-handler.js';
12
+ import { DS_CHART_TOOLTIP_PROPS } from '../../shared-charts/recharts-tokens.js';
9
13
  import { CHART_HEIGHT, PIE_CHART_MAX_WIDTH_PX, } from '../c4-job-dashboard-details-page.js';
10
14
  import C4JobDashboardChartHeading from './c4-job-dashboard-chart-heading.js';
11
15
  function C4JobDashboardPieChart({ jobData, error, colorScale, isLoading, translations, }) {
16
+ const designSystem = useC4DesignSystem();
12
17
  const completedCount = jobData?.completed?.count ?? 0;
13
18
  const failedCount = jobData?.failed?.count ?? 0;
14
19
  const createdCount = jobData?.created?.count ?? 0;
@@ -67,9 +72,58 @@ function C4JobDashboardPieChart({ jobData, error, colorScale, isLoading, transla
67
72
  loading: isLoading,
68
73
  },
69
74
  };
75
+ const dsPieData = [
76
+ {
77
+ key: 'completed',
78
+ label: getPieChartLabel(completedCount, translations.charts.legend.completed),
79
+ value: completedCount,
80
+ color: JOB_STATUS_DS_COLORS.completed,
81
+ },
82
+ {
83
+ key: 'failed',
84
+ label: getPieChartLabel(failedCount, translations.charts.legend.failed),
85
+ value: failedCount,
86
+ color: JOB_STATUS_DS_COLORS.failed,
87
+ },
88
+ {
89
+ key: 'created',
90
+ label: getPieChartLabel(createdCount, translations.charts.legend.created),
91
+ value: createdCount,
92
+ color: JOB_STATUS_DS_COLORS.created,
93
+ },
94
+ ];
70
95
  const noData = (jobData?.created.count === jobData?.failed.count &&
71
96
  jobData?.completed.count === 0) ||
72
97
  !jobData;
73
- return (_jsxs(_Fragment, { children: [_jsx("div", { style: { marginBottom: 25 }, children: _jsx(C4JobDashboardChartHeading, { title: translations.charts.createdVsCompleted.title, tooltipLabel: translations.charts.createdVsCompleted.tooltip }) }), (!jobData || noData || error) && !isLoading ? (_jsx(C4JobDashboardErrorHandler, { itemsLength: noData ? 0 : 1, showIcons: false, translations: translations.errorHandler, error: error })) : (_jsx("div", { style: { maxWidth: PIE_CHART_MAX_WIDTH_PX, margin: '0 auto' }, children: _jsx(DonutChart, { data: pieData, options: pieOptions }) }))] }));
98
+ return (_jsxs(_Fragment, { children: [_jsx("div", { style: { marginBottom: 25 }, children: _jsx(C4JobDashboardChartHeading, { title: translations.charts.createdVsCompleted.title, tooltipLabel: translations.charts.createdVsCompleted.tooltip }) }), (!jobData || noData || error) && !isLoading ? (_jsx(C4JobDashboardErrorHandler, { itemsLength: noData ? 0 : 1, showIcons: false, translations: translations.errorHandler, error: error })) : designSystem === 'ds' ? (_jsxs("div", { style: { maxWidth: PIE_CHART_MAX_WIDTH_PX, margin: '0 auto' }, children: [_jsxs("div", { style: { position: 'relative', height: CHART_HEIGHT }, children: [_jsx(ResponsiveContainer, { width: '100%', height: '100%', children: _jsxs(PieChart, { children: [_jsx(Pie, { data: dsPieData, dataKey: 'value', nameKey: 'label', innerRadius: '62%', outerRadius: '88%', paddingAngle: 2, stroke: 'none', children: dsPieData.map((entry) => (_jsx(Cell, { fill: entry.color }, entry.key))) }), _jsx(Tooltip, { ...DS_CHART_TOOLTIP_PROPS })] }) }), _jsx("div", { style: {
99
+ position: 'absolute',
100
+ top: '50%',
101
+ left: '50%',
102
+ transform: 'translate(-50%, -50%)',
103
+ textAlign: 'center',
104
+ pointerEvents: 'none',
105
+ }, children: _jsx("div", { style: {
106
+ fontSize: 24,
107
+ fontWeight: 700,
108
+ color: 'var(--neutral-foreground-strong)',
109
+ }, children: isLoading ? '' : `${completionRate}%` }) })] }), _jsx("div", { style: {
110
+ display: 'flex',
111
+ gap: 16,
112
+ justifyContent: 'center',
113
+ marginTop: 12,
114
+ flexWrap: 'wrap',
115
+ }, children: dsPieData.map((entry) => (_jsxs("div", { style: {
116
+ display: 'flex',
117
+ alignItems: 'center',
118
+ gap: 6,
119
+ fontSize: 12,
120
+ color: 'var(--neutral-foreground-subtle)',
121
+ }, children: [_jsx("span", { style: {
122
+ width: 10,
123
+ height: 10,
124
+ borderRadius: '50%',
125
+ background: entry.color,
126
+ display: 'inline-block',
127
+ } }), entry.label] }, entry.key))) })] })) : (_jsx("div", { style: { maxWidth: PIE_CHART_MAX_WIDTH_PX, margin: '0 auto' }, children: _jsx(DonutChart, { data: pieData, options: pieOptions }) }))] }));
74
128
  }
75
129
  export default C4JobDashboardPieChart;
@@ -6,8 +6,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
6
  */
7
7
  import { TickRotations } from '@carbon/charts';
8
8
  import { ScaleTypes, StackedAreaChart, } from '@carbon/charts-react';
9
- import { Stack } from '@carbon/react';
9
+ import { Area, AreaChart, CartesianGrid, Legend, ResponsiveContainer, Tooltip, XAxis, YAxis, } from 'recharts';
10
+ import { useC4DesignSystem } from '../../../runtime/c4-console-runtime-context.js';
11
+ import { Stack } from '../../../ui/index.js';
12
+ import { JOB_STATUS_DS_COLORS } from '../../c4-job-dashboard-shared/c4-job-dashboard-ds-colors.js';
10
13
  import { C4JobDashboardErrorHandler } from '../../c4-job-dashboard-shared/c4-job-dashboard-error-handler.js';
14
+ import { DS_CHART_AXIS_COLOR, DS_CHART_GRID_COLOR, DS_CHART_TOOLTIP_PROPS, } from '../../shared-charts/recharts-tokens.js';
11
15
  import { CHART_HEIGHT } from '../c4-job-dashboard-details-page.js';
12
16
  import C4JobDashboardChartHeading from './c4-job-dashboard-chart-heading.js';
13
17
  function formatTooltipTimestamp(value) {
@@ -20,6 +24,7 @@ function formatTooltipTimestamp(value) {
20
24
  }).format(new Date(value));
21
25
  }
22
26
  function C4JobDashboardTimeChart({ timeSeries, isLoading, colorScale, translations, error, }) {
27
+ const designSystem = useC4DesignSystem();
23
28
  const chartData = timeSeries.flatMap((item) => [
24
29
  {
25
30
  group: translations.charts.legend.created,
@@ -44,6 +49,24 @@ function C4JobDashboardTimeChart({ timeSeries, isLoading, colorScale, translatio
44
49
  const lastTimeDataPoint = Math.max(...timeSeries.map((t) => new Date(t.time).getTime()));
45
50
  const coversMultipleDays = new Date(firstTimeDataPoint).toDateString() !==
46
51
  new Date(lastTimeDataPoint).toDateString();
52
+ const dsRows = timeSeries.map((item) => ({
53
+ time: new Date(item.time).toISOString(),
54
+ [translations.charts.legend.created]: item.created.count,
55
+ [translations.charts.legend.completed]: item.completed.count,
56
+ [translations.charts.legend.failed]: item.failed.count,
57
+ }));
58
+ const formatDsTick = (tick, index) => {
59
+ if (index % 2 !== 0)
60
+ return '';
61
+ const date = new Date(tick);
62
+ return coversMultipleDays
63
+ ? Intl.DateTimeFormat('en-US', { month: 'short', day: '2-digit' }).format(date)
64
+ : Intl.DateTimeFormat('en-US', {
65
+ hour12: false,
66
+ hour: '2-digit',
67
+ minute: '2-digit',
68
+ }).format(date);
69
+ };
47
70
  const formattedColorScale = {
48
71
  [translations.charts.legend.completed]: colorScale.Completed,
49
72
  [translations.charts.legend.failed]: colorScale.Failed,
@@ -97,6 +120,18 @@ function C4JobDashboardTimeChart({ timeSeries, isLoading, colorScale, translatio
97
120
  scale: formattedColorScale,
98
121
  },
99
122
  };
100
- return (_jsxs(Stack, { gap: 6, children: [_jsx(C4JobDashboardChartHeading, { title: translations.charts.jobWorkload.title, tooltipLabel: translations.charts.jobWorkload.tooltip }), _jsxs("strong", { children: [translations.charts.jobWorkload.subtitle, " "] }), (!timeSeries || timeSeries.length === 0 || error) && !isLoading ? (_jsx(C4JobDashboardErrorHandler, { itemsLength: timeSeries.length, showIcons: false, translations: translations.errorHandler, error: error })) : (_jsx("div", { style: { height: CHART_HEIGHT }, children: _jsx(StackedAreaChart, { data: chartData, options: areaOptions }) }))] }));
123
+ return (_jsxs(Stack, { gap: 6, children: [_jsx(C4JobDashboardChartHeading, { title: translations.charts.jobWorkload.title, tooltipLabel: translations.charts.jobWorkload.tooltip }), _jsxs("strong", { children: [translations.charts.jobWorkload.subtitle, " "] }), (!timeSeries || timeSeries.length === 0 || error) && !isLoading ? (_jsx(C4JobDashboardErrorHandler, { itemsLength: timeSeries.length, showIcons: false, translations: translations.errorHandler, error: error })) : designSystem === 'ds' ? (_jsx("div", { style: { height: CHART_HEIGHT }, children: _jsx(ResponsiveContainer, { width: '100%', height: '100%', children: _jsxs(AreaChart, { data: dsRows, margin: { top: 8, right: 16, left: 8, bottom: 8 }, children: [_jsx(CartesianGrid, { stroke: DS_CHART_GRID_COLOR, vertical: false }), _jsx(XAxis, { dataKey: 'time', tickFormatter: formatDsTick, stroke: DS_CHART_AXIS_COLOR, tick: { fill: DS_CHART_AXIS_COLOR, fontSize: 12 }, label: {
124
+ value: translations.charts.axes.time,
125
+ position: 'insideBottom',
126
+ offset: -6,
127
+ fill: DS_CHART_AXIS_COLOR,
128
+ fontSize: 12,
129
+ } }), _jsx(YAxis, { domain: [0, maxStackedValue], stroke: DS_CHART_AXIS_COLOR, tick: { fill: DS_CHART_AXIS_COLOR, fontSize: 12 }, label: {
130
+ value: translations.charts.axes.numberOfJobs,
131
+ angle: -90,
132
+ position: 'insideLeft',
133
+ fill: DS_CHART_AXIS_COLOR,
134
+ fontSize: 12,
135
+ } }), _jsx(Tooltip, { ...DS_CHART_TOOLTIP_PROPS, labelFormatter: (label) => formatTooltipTimestamp(String(label)) }), _jsx(Legend, { wrapperStyle: { color: DS_CHART_AXIS_COLOR, fontSize: 12 } }), _jsx(Area, { type: 'monotone', dataKey: translations.charts.legend.created, stackId: 'status', stroke: JOB_STATUS_DS_COLORS.created, fill: JOB_STATUS_DS_COLORS.created, fillOpacity: 0.6 }), _jsx(Area, { type: 'monotone', dataKey: translations.charts.legend.completed, stackId: 'status', stroke: JOB_STATUS_DS_COLORS.completed, fill: JOB_STATUS_DS_COLORS.completed, fillOpacity: 0.6 }), _jsx(Area, { type: 'monotone', dataKey: translations.charts.legend.failed, stackId: 'status', stroke: JOB_STATUS_DS_COLORS.failed, fill: JOB_STATUS_DS_COLORS.failed, fillOpacity: 0.6 })] }) }) })) : (_jsx("div", { style: { height: CHART_HEIGHT }, children: _jsx(StackedAreaChart, { data: chartData, options: areaOptions }) }))] }));
101
136
  }
102
137
  export default C4JobDashboardTimeChart;
@@ -4,8 +4,8 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
4
4
  * under one or more contributor license agreements. Licensed under a commercial license.
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
- import { C3DataTable } from '@camunda/camunda-composite-components';
8
- import { Stack } from '@carbon/react';
7
+ import { Stack } from '../../../ui/index.js';
8
+ import { C4DataTable } from '../../c4-data-table/c4-data-table.js';
9
9
  import { C4BackgroundFetchingIndicator } from '../../c4-job-dashboard-shared/c4-background-fetching-indicator.js';
10
10
  import { C4JobDashboardErrorHandler } from '../../c4-job-dashboard-shared/c4-job-dashboard-error-handler.js';
11
11
  import { headerWithTooltip } from '../../c4-job-dashboard-shared/c4-job-dashboard-table-heading-with-tooltip.js';
@@ -21,7 +21,7 @@ function C4JobDashboardWorkerTable({ workerData, error, isLoading, translations,
21
21
  if (error || (!isLoading && workerData.length === 0)) {
22
22
  return (_jsxs(_Fragment, { children: [_jsx("h2", { children: translations.workerTable.title }), _jsx(C4JobDashboardErrorHandler, { itemsLength: workerData.length, showIcons: false, error: error, translations: translations.errorHandler })] }));
23
23
  }
24
- return (_jsxs(Stack, { gap: 4, children: [_jsx("h2", { children: translations.workerTable.title }), _jsx(C3DataTable, { id: 'worker-data-table', data: tableData, headers: [
24
+ return (_jsxs(Stack, { gap: 4, children: [_jsx("h2", { children: translations.workerTable.title }), _jsx(C4DataTable, { id: 'worker-data-table', data: tableData, headers: [
25
25
  { key: 'worker', label: translations.workerTable.headers.workerName },
26
26
  {
27
27
  key: 'completed',
@@ -4,9 +4,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
4
  * under one or more contributor license agreements. Licensed under a commercial license.
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
- import { Button, Layer, Loading, Stack, Tile, Tooltip } from '@carbon/react';
7
+ import { Layer } from '@carbon/react';
8
8
  import styled from 'styled-components';
9
9
  import { JobsCompletedIcon, JobsCreatedIcon, JobsFailedIcon, } from '../../icons/c4-icons.js';
10
+ import { Button, Loading, Stack, Tile, Tooltip } from '../../ui/index.js';
10
11
  import { C4JobDashboardErrorHandler } from '../c4-job-dashboard-shared/c4-job-dashboard-error-handler.js';
11
12
  import C4TimestampInformation from '../c4-job-dashboard-shared/c4-timestamp-information.js';
12
13
  const containerHeight = '30vh';