@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
@@ -1,21 +1,18 @@
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 { InlineNotification, Stack } from '@carbon/react';
9
2
  import { Launch } from '@carbon/react/icons/index.esm.js';
10
3
  import { useEffect, useState } from 'react';
11
4
  import { C4_EXTERNAL_URLS } from '../../externalUrls.const.js';
5
+ import { Stack } from '../../ui/index.js';
12
6
  import { C4Breadcrumb } from '../c4-breadcrumb/c4-breadcrumb.js';
7
+ import { C4DataTable } from '../c4-data-table/c4-data-table.js';
8
+ import { C4InlineNotification } from '../c4-inline-notification/c4-inline-notification.js';
13
9
  import { C4BackgroundFetchingIndicator } from '../c4-job-dashboard-shared/c4-background-fetching-indicator.js';
14
10
  import { C4JobDashboardErrorHandler } from '../c4-job-dashboard-shared/c4-job-dashboard-error-handler.js';
15
11
  import { headerWithTooltip } from '../c4-job-dashboard-shared/c4-job-dashboard-table-heading-with-tooltip.js';
16
12
  import C4JobDashboardTimeRangeDropdown from '../c4-job-dashboard-shared/c4-job-dashboard-time-range-dropdown.js';
17
13
  import C4TimestampInformation from '../c4-job-dashboard-shared/c4-timestamp-information.js';
18
14
  import { C4LinkButton } from '../c4-link-button/c4-link-button.js';
15
+ import { C4PageLayout } from '../c4-page-layout/c4-page-layout.js';
19
16
  export const C4JobDashboardOverviewPage = ({ error, items, isIncomplete, config, onTimeRangeChange, breadcrumb, isLoadingConfig, isLoadingTable, translations, lastUpdatedAt, }) => {
20
17
  const [rows, setRows] = useState([]);
21
18
  useEffect(() => {
@@ -54,47 +51,47 @@ export const C4JobDashboardOverviewPage = ({ error, items, isIncomplete, config,
54
51
  };
55
52
  return (_jsx(C4JobDashboardErrorHandler, { itemsLength: 0, showIcons: true, translations: translations.errorHandler, error: error }));
56
53
  }
57
- return (_jsxs(Stack, { gap: 3, children: [_jsx(C4Breadcrumb, { loading: false, elements: breadcrumb.elements, title: translations.title }), _jsxs("p", { children: [translations.description, ' ', _jsx(C4LinkButton, { onClick: () => window.open(C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker, '_blank', 'noopener,noreferrer'), label: translations.learnMoreLabel, icon: _jsx(Launch, {}) })] }), _jsx(C4TimestampInformation, { description: translations.lastUpdated, lastUpdatedAt: lastUpdatedAt }), _jsx(C4JobDashboardTimeRangeDropdown, { onChange: onTimeRangeChange, exportInterval: config?.exportInterval, disabled: isLoadingConfig, translations: translations.dropdown }), shouldShowErrorHandler ? (_jsx(C4JobDashboardErrorHandler, { error: error, itemsLength: items.length, showIcons: true, translations: translations.errorHandler })) : (_jsxs(_Fragment, { children: [isIncomplete && (_jsx(InlineNotification, { style: { maxWidth: '100%' }, lowContrast: true, kind: 'warning', title: translations.dataLimitWarning.title, subtitle: translations.dataLimitWarning.description })), _jsx(C3DataTable, { id: 'usage-history-table', data: rows, toolbar: toolbar, headers: [
58
- {
59
- key: 'jobType',
60
- label: translations.tableHeaders.jobType,
61
- type: {
62
- type: 'link-button',
63
- options: {
64
- linkButtonOptions: {
65
- onClick: (row) => {
66
- if (row.onClick) {
67
- row.onClick();
68
- }
54
+ return (_jsx(C4PageLayout, { children: _jsxs(Stack, { gap: 3, children: [_jsx(C4Breadcrumb, { loading: false, elements: breadcrumb.elements, title: translations.title }), _jsxs("p", { children: [translations.description, ' ', _jsx(C4LinkButton, { onClick: () => window.open(C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker, '_blank', 'noopener,noreferrer'), label: translations.learnMoreLabel, icon: _jsx(Launch, {}) })] }), _jsx(C4TimestampInformation, { description: translations.lastUpdated, lastUpdatedAt: lastUpdatedAt }), _jsx(C4JobDashboardTimeRangeDropdown, { onChange: onTimeRangeChange, exportInterval: config?.exportInterval, disabled: isLoadingConfig, translations: translations.dropdown }), shouldShowErrorHandler ? (_jsx(C4JobDashboardErrorHandler, { error: error, itemsLength: items.length, showIcons: true, translations: translations.errorHandler })) : (_jsxs(_Fragment, { children: [isIncomplete && (_jsx(C4InlineNotification, { style: { maxWidth: '100%' }, lowContrast: true, kind: 'warning', title: translations.dataLimitWarning.title, subtitle: translations.dataLimitWarning.description })), _jsx(C4DataTable, { id: 'usage-history-table', data: rows, toolbar: toolbar, headers: [
55
+ {
56
+ key: 'jobType',
57
+ label: translations.tableHeaders.jobType,
58
+ type: {
59
+ type: 'link-button',
60
+ options: {
61
+ linkButtonOptions: {
62
+ onClick: (row) => {
63
+ if (row.onClick) {
64
+ row.onClick();
65
+ }
66
+ },
67
+ disabled: (row) => !row.onClick,
69
68
  },
70
- disabled: (row) => !row.onClick,
71
69
  },
72
70
  },
73
71
  },
74
- },
75
- {
76
- key: 'workers',
77
- label: translations.tableHeaders.assignedWorkers,
78
- },
79
- {
80
- key: 'created',
81
- label: headerWithTooltip(translations.tableHeaders.createdJobs, translations.tableHeaders.createdJobsTooltip, items.length === 0 && isLoadingTable),
82
- },
83
- {
84
- key: 'completed',
85
- label: headerWithTooltip(translations.tableHeaders.completedJobs, translations.tableHeaders.completedJobsTooltip, items.length === 0 && isLoadingTable),
86
- },
87
- {
88
- key: 'failed',
89
- label: headerWithTooltip(translations.tableHeaders.failedJobs, translations.tableHeaders.failedJobsTooltip, items.length === 0 && isLoadingTable),
90
- },
91
- {
92
- key: 'lastCompleted',
93
- label: translations.tableHeaders.lastCompleted,
94
- },
95
- ], options: {
96
- pageSize: 10,
97
- tableSize: 'lg',
98
- useZebraStyles: false,
99
- }, isLoading: items.length === 0 && isLoadingTable, queryPrefix: 'job-dashboard-overview' }), _jsx(C4BackgroundFetchingIndicator, { isLoading: isLoadingTable, itemsLength: items.length, loadingMoreDataText: translations.backgroundFetching })] }))] }));
72
+ {
73
+ key: 'workers',
74
+ label: translations.tableHeaders.assignedWorkers,
75
+ },
76
+ {
77
+ key: 'created',
78
+ label: headerWithTooltip(translations.tableHeaders.createdJobs, translations.tableHeaders.createdJobsTooltip, items.length === 0 && isLoadingTable),
79
+ },
80
+ {
81
+ key: 'completed',
82
+ label: headerWithTooltip(translations.tableHeaders.completedJobs, translations.tableHeaders.completedJobsTooltip, items.length === 0 && isLoadingTable),
83
+ },
84
+ {
85
+ key: 'failed',
86
+ label: headerWithTooltip(translations.tableHeaders.failedJobs, translations.tableHeaders.failedJobsTooltip, items.length === 0 && isLoadingTable),
87
+ },
88
+ {
89
+ key: 'lastCompleted',
90
+ label: translations.tableHeaders.lastCompleted,
91
+ },
92
+ ], options: {
93
+ pageSize: 10,
94
+ tableSize: 'lg',
95
+ useZebraStyles: false,
96
+ }, isLoading: items.length === 0 && isLoadingTable, queryPrefix: 'job-dashboard-overview' }), _jsx(C4BackgroundFetchingIndicator, { isLoading: isLoadingTable, itemsLength: items.length, loadingMoreDataText: translations.backgroundFetching })] }))] }) }));
100
97
  };
@@ -0,0 +1,2 @@
1
+ import type { C4JobDashboardOverviewPageProps } from './c4-job-dashboard-overview.types';
2
+ export declare const defaultOverviewProps: C4JobDashboardOverviewPageProps;
@@ -0,0 +1,102 @@
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 now = Date.now();
12
+ const isoAt = (offsetMs) => new Date(now - offsetMs).toISOString();
13
+ const lastUpdatedDisplay = new Date(now).toLocaleString('en-US', {
14
+ month: 'long',
15
+ day: 'numeric',
16
+ year: 'numeric',
17
+ hour: 'numeric',
18
+ minute: '2-digit',
19
+ hour12: true,
20
+ });
21
+ // [jobType, created, completed, failed, workers, minutesAgo]
22
+ const JOB_ROWS = [
23
+ ['fetch-customer-data', 1200, 1148, 37, 4, 0],
24
+ ['send-email', 845, 810, 12, 3, 1],
25
+ ['process-payment', 530, 505, 8, 2, 2],
26
+ ['validate-order', 2100, 2043, 41, 6, 3],
27
+ ['generate-invoice', 317, 298, 9, 2, 4],
28
+ ['sync-inventory', 980, 925, 22, 3, 5],
29
+ ['notify-customer', 1560, 1502, 19, 4, 6],
30
+ ['calculate-shipping', 642, 610, 15, 2, 7],
31
+ ['update-crm', 88, 81, 3, 1, 8],
32
+ ['archive-document', 214, 203, 5, 1, 9],
33
+ ['send-sms', 3020, 2954, 48, 5, 10],
34
+ ['check-fraud-score', 456, 430, 11, 2, 11],
35
+ ];
36
+ export const defaultOverviewProps = {
37
+ isLoadingConfig: false,
38
+ isLoadingTable: false,
39
+ breadcrumb: {
40
+ elements: [
41
+ {
42
+ key: '1',
43
+ label: 'Clusters',
44
+ href: '/clusters',
45
+ },
46
+ {
47
+ key: '2',
48
+ label: 'Cluster-123',
49
+ href: '/clusters/cluster-123',
50
+ },
51
+ ],
52
+ },
53
+ config: {
54
+ enabled: true,
55
+ exportInterval: 'PT30M',
56
+ },
57
+ error: undefined,
58
+ isIncomplete: false,
59
+ lastUpdatedAt: lastUpdatedDisplay,
60
+ translations: {
61
+ title: 'Job Queue',
62
+ description: 'View all Job types running against the cluster.',
63
+ learnMoreLabel: 'See more information about job types here.',
64
+ searchLabel: 'Search',
65
+ tableHeaders: {
66
+ jobType: 'Job Type',
67
+ assignedWorkers: 'Assigned Workers',
68
+ createdJobs: 'Created Jobs',
69
+ createdJobsTooltip: 'All jobs created regardless of their current or final state',
70
+ completedJobs: 'Completed Jobs',
71
+ completedJobsTooltip: 'Jobs that have finished executing successfully.',
72
+ failedJobs: 'Failed Jobs',
73
+ failedJobsTooltip: 'Jobs that encountered an error and could not complete.',
74
+ lastCompleted: 'Last Completed',
75
+ },
76
+ lastUpdated: 'Last updated',
77
+ backgroundFetching: 'Loading more data...',
78
+ dataLimitWarning: {
79
+ title: 'Data loading limit reached.',
80
+ description: 'Job data limit has been reached for the selected date range.',
81
+ },
82
+ errorHandler: getErrorHandlerTranslations(),
83
+ dropdown: getDropdownTranslations(),
84
+ },
85
+ onTimeRangeChange: () => { },
86
+ // Each row is a distinct job type (jobType doubles as the table's row id,
87
+ // so duplicates would collide) with its own created/completed/failed spread
88
+ // - varied rather than every row sharing identical counts - while keeping
89
+ // completed + failed <= created for every row (a job can't finish or fail
90
+ // more times than it was created).
91
+ items: JOB_ROWS.map(([jobType, created, completed, failed, workers, offsetMinutes]) => ({
92
+ jobType,
93
+ created: { count: created, lastUpdatedAt: isoAt(offsetMinutes * MINUTE) },
94
+ completed: {
95
+ count: completed,
96
+ lastUpdatedAt: isoAt(offsetMinutes * MINUTE),
97
+ },
98
+ failed: { count: failed, lastUpdatedAt: isoAt(offsetMinutes * MINUTE) },
99
+ workers,
100
+ lastUpdatedAt: isoAt(offsetMinutes * MINUTE),
101
+ })),
102
+ };
@@ -1,10 +1,5 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, 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 { ProgressBar } from '@carbon/react';
2
+ import { ProgressBar } from '../../ui/index.js';
8
3
  export const C4BackgroundFetchingIndicator = ({ itemsLength, isLoading, loadingMoreDataText }) => {
9
4
  return (_jsx(_Fragment, { children: itemsLength > 0 && isLoading && (_jsxs(_Fragment, { children: [_jsx(ProgressBar, { hideLabel: true, label: 'background fetching data', size: 'small', type: 'inline' }), _jsx("p", { style: { color: 'var(--cds-text-secondary)' }, children: loadingMoreDataText })] })) }));
10
5
  };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * ds-mode job status colors, shared by the pie and area charts on the job
3
+ * dashboard details page so both use the same semantic mapping. Carbon mode
4
+ * keeps using the caller-supplied `colorScale` hex values unchanged.
5
+ */
6
+ export declare const JOB_STATUS_DS_COLORS: {
7
+ readonly created: "var(--info-action-default)";
8
+ readonly completed: "var(--success-action-default)";
9
+ readonly failed: "var(--danger-action-default)";
10
+ };
@@ -0,0 +1,16 @@
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 { DS_STATUS_COLORS } from '../shared-charts/recharts-tokens.js';
7
+ /**
8
+ * ds-mode job status colors, shared by the pie and area charts on the job
9
+ * dashboard details page so both use the same semantic mapping. Carbon mode
10
+ * keeps using the caller-supplied `colorScale` hex values unchanged.
11
+ */
12
+ export const JOB_STATUS_DS_COLORS = {
13
+ created: DS_STATUS_COLORS.info,
14
+ completed: DS_STATUS_COLORS.success,
15
+ failed: DS_STATUS_COLORS.danger,
16
+ };
@@ -4,11 +4,11 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } 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 { Tile } from '@carbon/react';
8
7
  import { Launch } from '@carbon/react/icons/index.esm.js';
9
8
  import styled from 'styled-components';
10
9
  import { C4_EXTERNAL_URLS } from '../../externalUrls.const.js';
11
10
  import { AccessRestrictedIcon, EmptyJobsIcon, ErrorIcon, } from '../../icons/c4-icons.js';
11
+ import { Tile } from '../../ui/index.js';
12
12
  import { C4LinkButton } from '../c4-link-button/c4-link-button.js';
13
13
  const Row = styled.div `
14
14
  display: flex;
@@ -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 HeadingWithIconWrapper = styled.div `
11
11
  display: flex;
12
12
  gap: 0.5rem;
@@ -4,7 +4,7 @@ import { jsx as _jsx } 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 { Dropdown } from '@carbon/react';
7
+ import { Dropdown } from '../../ui/index.js';
8
8
  const FALLBACK_RESOLUTION = 30;
9
9
  const ONE_DAY_IN_MINUTES = 24 * 60;
10
10
  /**
@@ -1,10 +1,5 @@
1
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 { Modal, Stack } from '@carbon/react';
2
+ import { Modal, Stack } from '../../ui/index.js';
8
3
  function safeTranslate(t, key, defaultValue, options) {
9
4
  if (!t)
10
5
  return defaultValue;
@@ -1,10 +1,5 @@
1
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 { Link } from '@carbon/react';
2
+ import { Link } from '../../ui/index.js';
8
3
  export const C4LinkButton = ({ label, onClick, style, inline, icon, disabled, }) => {
9
4
  if (disabled === undefined) {
10
5
  disabled = false;
@@ -4,8 +4,8 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } 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 { Link, ProgressBar, SkeletonPlaceholder, Stack, Tile, } from '@carbon/react';
8
7
  import { ErrorFilled, WarningAltFilled } from '@carbon/react/icons/index.esm.js';
8
+ import { Link, ProgressBar, SkeletonPlaceholder, Stack, Tile } from '../../ui/index.js';
9
9
  export const C4LLMUsageMeter = ({ usage, limit, title, description, isLoading = false, hasError = false, urls, text = {}, }) => {
10
10
  const { usageLabel = 'Used', limitLabel = 'Limit', errorMessage = 'Failed to load usage data', cardTitle = 'Easy LLM (Camunda provided.)', learnMoreLabel = 'Learn more about Camunda provided LLM tokens', tokensRemainingLabel = 'tokens remaining', approachingLimitMessage, overLimitPrefix = 'You have reached your token limit. Please', overLimitContactLabel = 'contact our Camunda team to request more tokens', overLimitSuffix = 'and talk through your use cases.', } = text;
11
11
  const formatCurrency = (val) => val.toLocaleString('en-US', { style: 'currency', currency: 'USD' });
@@ -1,3 +1,3 @@
1
1
  import type { JSX } from 'react';
2
2
  import type { C4ManagementActivityProps } from './c4-management-activity.types';
3
- export declare const C4ManagementActivity: ({ orgId, activities, loading, downloading, onExportJSON, onExportCSV, exportLabel, exportingLabel, exportJSONLabel, exportCSVLabel, noActivityText, }: C4ManagementActivityProps) => JSX.Element;
3
+ export declare const C4ManagementActivity: (props: C4ManagementActivityProps) => JSX.Element;
@@ -1,16 +1,116 @@
1
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.
2
+ import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
3
+ import { Stack } from '../../ui/index.js';
4
+ import { useMenuButtonFamily } from '../../ui/families.js';
5
+ import { C4DataTable } from '../c4-data-table/c4-data-table.js';
6
+ import { C4StructuredListBody, C4StructuredListCell, C4StructuredListRow, C4StructuredListSkeleton, C4StructuredListWrapper, } from '../c4-structured-list/c4-structured-list.js';
7
+ /**
8
+ * Carbon layout: unchanged since before the ds redesign. Groups activity into
9
+ * pre-bucketed sections ("Last 24 hours", "Yesterday", ...) rendered as
10
+ * condensed structured lists, with the export menu on the first section.
11
+ *
12
+ * Kept byte-for-byte to preserve carbon visual-regression parity — the ds
13
+ * data-table redesign lives in `C4ManagementActivityDs` and is selected only
14
+ * when the consumer opts into the Design System.
6
15
  */
7
- import { MenuButton, MenuItem, Stack, StructuredListBody, StructuredListCell, StructuredListRow, StructuredListSkeleton, StructuredListWrapper, } from '@carbon/react';
8
- export const C4ManagementActivity = ({ orgId, activities, loading, downloading, onExportJSON, onExportCSV, exportLabel, exportingLabel, exportJSONLabel, exportCSVLabel, noActivityText, }) => {
16
+ const C4ManagementActivityCarbon = ({ orgId, activities, loading, downloading, onExportJSON, onExportCSV, exportLabel, exportingLabel, exportJSONLabel, exportCSVLabel, noActivityText, }) => {
17
+ const { MenuButton, MenuItem } = useMenuButtonFamily();
9
18
  if (loading) {
10
- return _jsx(StructuredListSkeleton, { rowCount: 6 });
19
+ return _jsx(C4StructuredListSkeleton, { rowCount: 6 });
11
20
  }
12
- const component = (_jsx(Stack, { gap: 8, children: activities.map((activity, index) => (_jsxs(Stack, { gap: 3, children: [_jsxs("div", { style: { display: 'flex', justifyContent: 'space-between' }, children: [_jsx("h2", { children: activity.heading }), index === 0 && (_jsxs(MenuButton, { label: downloading ? exportingLabel : exportLabel, menuAlignment: 'bottom', disabled: downloading, children: [_jsx(MenuItem, { onClick: onExportJSON, label: exportJSONLabel }), _jsx(MenuItem, { onClick: onExportCSV, label: exportCSVLabel })] }))] }), activity.entries.length > 0 ? (_jsx("div", { style: { overflowX: 'auto' }, children: _jsx(StructuredListWrapper, { isCondensed: true, children: _jsx(StructuredListBody, { children: activity.entries.map((item, entryIndex) => {
13
- return (_jsxs(StructuredListRow, { children: [_jsx(StructuredListCell, { noWrap: true, children: _jsxs(Stack, { gap: 1, children: [_jsx("strong", { children: item.date }), _jsx("span", { children: item.user })] }) }), _jsx(StructuredListCell, { noWrap: true, children: item.entry }), _jsx(StructuredListCell, { noWrap: true })] }, `activity-${orgId}-${activity.heading}-${entryIndex}`));
21
+ const component = (_jsx(Stack, { gap: 8, children: activities.map((activity, index) => (_jsxs(Stack, { gap: 3, children: [_jsxs("div", { style: { display: 'flex', justifyContent: 'space-between' }, children: [_jsx("h2", { children: activity.heading }), index === 0 && (_jsxs(MenuButton, { label: downloading ? exportingLabel : exportLabel, menuAlignment: 'bottom', disabled: downloading, children: [_jsx(MenuItem, { onClick: onExportJSON, label: exportJSONLabel }), _jsx(MenuItem, { onClick: onExportCSV, label: exportCSVLabel })] }))] }), activity.entries.length > 0 ? (_jsx("div", { style: { overflowX: 'auto' }, children: _jsx(C4StructuredListWrapper, { isCondensed: true, children: _jsx(C4StructuredListBody, { children: activity.entries.map((item, entryIndex) => {
22
+ return (_jsxs(C4StructuredListRow, { children: [_jsx(C4StructuredListCell, { noWrap: true, children: _jsxs(Stack, { gap: 1, children: [_jsx("strong", { children: item.date }), _jsx("span", { children: item.user })] }) }), _jsx(C4StructuredListCell, { noWrap: true, children: item.entry }), _jsx(C4StructuredListCell, { noWrap: true })] }, `activity-${orgId}-${activity.heading}-${entryIndex}`));
14
23
  }) }) }) })) : (_jsx("p", { children: noActivityText }))] }, `activity-${orgId}-${activity.heading}-section`))) }));
15
24
  return component;
16
25
  };
26
+ /**
27
+ * Ascending timestamp comparator with `originalIndex` as a stable tie-breaker,
28
+ * so rows sharing a timestamp (or both missing one) keep a deterministic order
29
+ * instead of flickering across renders. Unknown timestamps sort last.
30
+ */
31
+ const compareByTimestamp = (a, b) => {
32
+ if (a.timestamp !== b.timestamp) {
33
+ if (a.timestamp === undefined)
34
+ return 1;
35
+ if (b.timestamp === undefined)
36
+ return -1;
37
+ return a.timestamp - b.timestamp;
38
+ }
39
+ return a.originalIndex - b.originalIndex;
40
+ };
41
+ /**
42
+ * Design System layout: a single, searchable, paginated data table with
43
+ * Name / Timestamp / Audit columns, sortable by any column and defaulting to
44
+ * newest-first (matching the carbon ordering). The time-bucket headings from
45
+ * the carbon layout are dropped in favour of a sortable timestamp column.
46
+ *
47
+ * ds-mode only — never rendered in carbon mode, so it has no effect on the
48
+ * existing (carbon) layout or its visual snapshots.
49
+ */
50
+ const C4ManagementActivityDs = ({ activities, loading, downloading, onExportJSON, onExportCSV, exportLabel, exportingLabel, exportJSONLabel, exportCSVLabel, searchLabel = 'Search activity', nameColumnLabel = 'Name', timestampColumnLabel = 'Timestamp', auditColumnLabel = 'Audit', }) => {
51
+ const rows = activities
52
+ .flatMap((activity) => activity.entries)
53
+ .map((entry, index) => ({
54
+ id: `activity-row-${index}`,
55
+ originalIndex: index,
56
+ name: entry.user,
57
+ timestampLabel: entry.date,
58
+ timestamp: entry.timestamp,
59
+ audit: entry.entry,
60
+ }))
61
+ // Newest first by default, so the initial view matches the carbon layout;
62
+ // ties keep their original order via the `originalIndex` tie-breaker.
63
+ .sort((a, b) => {
64
+ if (a.timestamp !== b.timestamp) {
65
+ if (a.timestamp === undefined)
66
+ return 1;
67
+ if (b.timestamp === undefined)
68
+ return -1;
69
+ return b.timestamp - a.timestamp;
70
+ }
71
+ return a.originalIndex - b.originalIndex;
72
+ });
73
+ const headers = [
74
+ {
75
+ key: 'name',
76
+ label: nameColumnLabel,
77
+ sorting: (a, b) => a.name.localeCompare(b.name),
78
+ },
79
+ {
80
+ key: 'timestampLabel',
81
+ label: timestampColumnLabel,
82
+ sorting: compareByTimestamp,
83
+ },
84
+ {
85
+ key: 'audit',
86
+ label: auditColumnLabel,
87
+ sorting: (a, b) => a.audit.localeCompare(b.audit),
88
+ },
89
+ ];
90
+ const toolbar = [
91
+ {
92
+ id: 'activity-search',
93
+ type: 'search',
94
+ label: searchLabel,
95
+ filter: ({ row, searchTerm }) => {
96
+ const term = (searchTerm ?? '').toLowerCase();
97
+ return [row.name, row.timestampLabel, row.audit].some((value) => value.toLowerCase().includes(term));
98
+ },
99
+ },
100
+ {
101
+ id: 'activity-export',
102
+ type: 'menuButton',
103
+ label: downloading ? exportingLabel : exportLabel,
104
+ disabled: downloading,
105
+ items: [
106
+ { onClick: onExportJSON, label: exportJSONLabel },
107
+ { onClick: onExportCSV, label: exportCSVLabel },
108
+ ],
109
+ },
110
+ ];
111
+ return (_jsx(C4DataTable, { data: rows, isLoading: loading, headers: headers, toolbar: toolbar, options: { pageSize: 20, pageSizes: [10, 20, 50, 100] }, queryPrefix: 'management-activity' }));
112
+ };
113
+ export const C4ManagementActivity = (props) => {
114
+ const designSystem = useC4DesignSystem();
115
+ return designSystem === 'ds' ? (_jsx(C4ManagementActivityDs, { ...props })) : (_jsx(C4ManagementActivityCarbon, { ...props }));
116
+ };
@@ -0,0 +1,4 @@
1
+ import type { C4ManagementActivityProps, OrgActivity } from './c4-management-activity.types';
2
+ export declare const mockActivities: OrgActivity[];
3
+ export declare const mockActivitiesEmpty: OrgActivity[];
4
+ export declare const defaultProps: C4ManagementActivityProps;
@@ -0,0 +1,63 @@
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
+ // Timestamps are computed relative to real "now" (rather than a fixed past
7
+ // date, which reads as obviously stale in a docs screenshot) so entries
8
+ // genuinely fall under their "Last 24 hours"/"Yesterday"/"Older than 48
9
+ // hours" headings - matches this migration's dynamic-date convention (see
10
+ // stories/shared/billing-dates.ts).
11
+ const HOUR = 60 * 60 * 1000;
12
+ const now = Date.now();
13
+ const entryAt = (offsetMs, user, entry) => {
14
+ const timestamp = now - offsetMs;
15
+ const date = new Date(timestamp);
16
+ const pad = (n) => String(n).padStart(2, '0');
17
+ return {
18
+ date: `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())} ${pad(date.getHours())}:${pad(date.getMinutes())}`,
19
+ user,
20
+ entry,
21
+ timestamp,
22
+ };
23
+ };
24
+ export const mockActivities = [
25
+ {
26
+ heading: 'Last 24 hours',
27
+ entries: [
28
+ entryAt(3 * HOUR, 'John Doe (john.doe@camunda.com)', 'Created cluster "production-cluster"'),
29
+ entryAt(7 * HOUR, 'Jane Smith (jane.smith@camunda.com)', 'Updated organization settings'),
30
+ ],
31
+ },
32
+ {
33
+ heading: 'Yesterday',
34
+ entries: [
35
+ entryAt(30 * HOUR, 'Bob Wilson (bob.wilson@camunda.com)', 'Added new user to organization'),
36
+ ],
37
+ },
38
+ {
39
+ heading: 'Older than 48 hours',
40
+ entries: [
41
+ entryAt(4 * 24 * HOUR, 'Alice Johnson (alice.johnson@camunda.com)', 'Deleted cluster "test-cluster"'),
42
+ entryAt(5 * 24 * HOUR, 'Charlie Brown (charlie.brown@camunda.com)', 'Created new API credentials'),
43
+ ],
44
+ },
45
+ ];
46
+ export const mockActivitiesEmpty = [
47
+ { heading: 'Last 24 hours', entries: [] },
48
+ { heading: 'Yesterday', entries: [] },
49
+ { heading: 'Older than 48 hours', entries: [] },
50
+ ];
51
+ export const defaultProps = {
52
+ orgId: 'org-123',
53
+ activities: mockActivities,
54
+ loading: false,
55
+ downloading: false,
56
+ onExportJSON: () => console.log('Export as JSON clicked'),
57
+ onExportCSV: () => console.log('Export as CSV clicked'),
58
+ exportLabel: 'Export activity',
59
+ exportingLabel: 'Downloading',
60
+ exportJSONLabel: 'Export as JSON',
61
+ exportCSVLabel: 'Export as CSV',
62
+ noActivityText: 'No Activity',
63
+ };
@@ -2,6 +2,13 @@ export interface ActivityEntry {
2
2
  date: string;
3
3
  user: string;
4
4
  entry: string;
5
+ /**
6
+ * Raw event time in epoch milliseconds. ds-mode only: powers reliable
7
+ * timestamp sorting in the data-table layout. Ignored by the carbon layout,
8
+ * which groups entries into pre-bucketed sections instead. Optional so
9
+ * existing callers (and the carbon path) keep working unchanged.
10
+ */
11
+ timestamp?: number;
5
12
  }
6
13
  export interface OrgActivity {
7
14
  heading: string;
@@ -19,4 +26,8 @@ export interface C4ManagementActivityProps {
19
26
  exportJSONLabel: string;
20
27
  exportCSVLabel: string;
21
28
  noActivityText: string;
29
+ searchLabel?: string;
30
+ nameColumnLabel?: string;
31
+ timestampColumnLabel?: string;
32
+ auditColumnLabel?: string;
22
33
  }
@@ -1,18 +1,16 @@
1
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 { C3DataTable, C3EmptyState, } from '@camunda/camunda-composite-components';
8
- import { CodeSnippet, DataTableSkeleton, ListItem, Stack, UnorderedList, } from '@carbon/react';
2
+ import { ListItem, UnorderedList } from '@carbon/react';
9
3
  import { C4_ASSET_URLS } from '../../assetUrls.js';
4
+ import { CodeSnippet, Stack } from '../../ui/index.js';
5
+ import { C4DataTable } from '../c4-data-table/c4-data-table.js';
6
+ import { C4DataTableSkeleton } from '../c4-data-table/c4-data-table-skeleton.js';
7
+ import { C4EmptyState } from '../c4-empty-state/c4-empty-state.js';
10
8
  export const C4ManagementApi = ({ clients, loading, showIpWhitelistColumn, showHotBackupColumn, text, urls, permissions, onShowDetails, onUpdateClient, onDeleteClient, onCreate, onOpenDocs, }) => {
11
9
  if (loading) {
12
- return _jsx(DataTableSkeleton, { showToolbar: false, showHeader: false });
10
+ return _jsx(C4DataTableSkeleton, { showToolbar: false, showHeader: false });
13
11
  }
14
12
  if (clients.length === 0) {
15
- return (_jsx(C3EmptyState, { icon: {
13
+ return (_jsx(C4EmptyState, { icon: {
16
14
  path: C4_ASSET_URLS.consoleApiIcon,
17
15
  altText: 'consoleAPI',
18
16
  }, heading: text.emptyStateTitle, description: text.emptyStateDescription, button: permissions.canCreate
@@ -194,9 +192,9 @@ export const C4ManagementApi = ({ clients, loading, showIpWhitelistColumn, showH
194
192
  });
195
193
  }
196
194
  const expandedRow = () => {
197
- return (_jsxs(UnorderedList, { children: [_jsxs(ListItem, { style: { minHeight: '30px' }, children: [text.expandedClientSecret, ": ", text.expandedClientSecretNotVisible] }), _jsxs(ListItem, { style: { minHeight: '30px' }, children: [text.expandedApiUrl, ":", ' ', _jsx(CodeSnippet, { type: 'inline', feedback: text.urlCopiedFeedback, children: urls.apiUrl })] }), _jsxs(ListItem, { style: { minHeight: '30px' }, children: [text.expandedOauthUrl, ":", ' ', _jsx(CodeSnippet, { type: 'inline', feedback: text.urlCopiedFeedback, children: urls.oauthUrl })] })] }));
195
+ return (_jsxs(UnorderedList, { style: { color: 'var(--cds-text-primary)' }, children: [_jsxs(ListItem, { style: { minHeight: '30px' }, children: [text.expandedClientSecret, ": ", text.expandedClientSecretNotVisible] }), _jsxs(ListItem, { style: { minHeight: '30px' }, children: [text.expandedApiUrl, ":", ' ', _jsx(CodeSnippet, { type: 'inline', feedback: text.urlCopiedFeedback, children: urls.apiUrl })] }), _jsxs(ListItem, { style: { minHeight: '30px' }, children: [text.expandedOauthUrl, ":", ' ', _jsx(CodeSnippet, { type: 'inline', feedback: text.urlCopiedFeedback, children: urls.oauthUrl })] })] }));
198
196
  };
199
- const component = (_jsxs(Stack, { gap: 3, children: [_jsx("div", { style: { display: 'flex', flexDirection: 'column', overflowX: 'auto' }, children: _jsx(C3DataTable, { headers: headerData, data: clients.map((item) => {
197
+ const component = (_jsxs(Stack, { gap: 3, children: [_jsx("div", { style: { display: 'flex', flexDirection: 'column', overflowX: 'auto' }, children: _jsx(C4DataTable, { headers: headerData, data: clients.map((item) => {
200
198
  return { ...item, expansion: expandedRow() };
201
199
  }), title: text.title, toolbar: toolbar, actions: actions, options: {
202
200
  actionsUseOverflowMenuMinItems: 1,