@camunda/ccma-saas-frontend 0.0.31

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 (656) hide show
  1. package/README.md +40 -0
  2. package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.d.ts +3 -0
  3. package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.js +25 -0
  4. package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.types.d.ts +9 -0
  5. package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.types.js +6 -0
  6. package/lib/esm/components/c4-activity-graph/c4-activity-graph.d.ts +3 -0
  7. package/lib/esm/components/c4-activity-graph/c4-activity-graph.js +135 -0
  8. package/lib/esm/components/c4-activity-graph/c4-activity-graph.types.d.ts +13 -0
  9. package/lib/esm/components/c4-activity-graph/c4-activity-graph.types.js +6 -0
  10. package/lib/esm/components/c4-advanced-search-filters/ArrayFieldContainer.d.ts +16 -0
  11. package/lib/esm/components/c4-advanced-search-filters/ArrayFieldContainer.js +39 -0
  12. package/lib/esm/components/c4-advanced-search-filters/AutosuggestInput.d.ts +16 -0
  13. package/lib/esm/components/c4-advanced-search-filters/AutosuggestInput.js +147 -0
  14. package/lib/esm/components/c4-advanced-search-filters/FieldRow.d.ts +14 -0
  15. package/lib/esm/components/c4-advanced-search-filters/FieldRow.js +133 -0
  16. package/lib/esm/components/c4-advanced-search-filters/FiltersSection.d.ts +13 -0
  17. package/lib/esm/components/c4-advanced-search-filters/FiltersSection.js +63 -0
  18. package/lib/esm/components/c4-advanced-search-filters/OrSection.d.ts +16 -0
  19. package/lib/esm/components/c4-advanced-search-filters/OrSection.js +116 -0
  20. package/lib/esm/components/c4-advanced-search-filters/c4-advanced-search-filters.d.ts +3 -0
  21. package/lib/esm/components/c4-advanced-search-filters/c4-advanced-search-filters.js +406 -0
  22. package/lib/esm/components/c4-advanced-search-filters/c4-advanced-search-filters.types.d.ts +32 -0
  23. package/lib/esm/components/c4-advanced-search-filters/c4-advanced-search-filters.types.js +6 -0
  24. package/lib/esm/components/c4-advanced-search-filters/state.types.d.ts +14 -0
  25. package/lib/esm/components/c4-advanced-search-filters/state.types.js +6 -0
  26. package/lib/esm/components/c4-advanced-search-filters/utils.d.ts +5 -0
  27. package/lib/esm/components/c4-advanced-search-filters/utils.js +58 -0
  28. package/lib/esm/components/c4-ai-usage/c4-ai-usage.d.ts +3 -0
  29. package/lib/esm/components/c4-ai-usage/c4-ai-usage.js +38 -0
  30. package/lib/esm/components/c4-ai-usage/c4-ai-usage.types.d.ts +59 -0
  31. package/lib/esm/components/c4-ai-usage/c4-ai-usage.types.js +6 -0
  32. package/lib/esm/components/c4-alpha-cluster-at-checkout/c4-alpha-cluster-at-checkout.d.ts +3 -0
  33. package/lib/esm/components/c4-alpha-cluster-at-checkout/c4-alpha-cluster-at-checkout.js +8 -0
  34. package/lib/esm/components/c4-alpha-cluster-at-checkout/c4-alpha-cluster-at-checkout.types.d.ts +12 -0
  35. package/lib/esm/components/c4-alpha-cluster-at-checkout/c4-alpha-cluster-at-checkout.types.js +6 -0
  36. package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.d.ts +3 -0
  37. package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.js +20 -0
  38. package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.types.d.ts +12 -0
  39. package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.types.js +6 -0
  40. package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.d.ts +2 -0
  41. package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.js +22 -0
  42. package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.types.d.ts +13 -0
  43. package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.types.js +6 -0
  44. package/lib/esm/components/c4-async-modal/c4-async-modal.d.ts +3 -0
  45. package/lib/esm/components/c4-async-modal/c4-async-modal.js +68 -0
  46. package/lib/esm/components/c4-async-modal/c4-async-modal.types.d.ts +28 -0
  47. package/lib/esm/components/c4-async-modal/c4-async-modal.types.js +6 -0
  48. package/lib/esm/components/c4-audit-log/c4-audit-log.d.ts +3 -0
  49. package/lib/esm/components/c4-audit-log/c4-audit-log.js +147 -0
  50. package/lib/esm/components/c4-audit-log/c4-audit-log.types.d.ts +13 -0
  51. package/lib/esm/components/c4-audit-log/c4-audit-log.types.js +6 -0
  52. package/lib/esm/components/c4-billing-page/c4-billing-page.d.ts +10 -0
  53. package/lib/esm/components/c4-billing-page/c4-billing-page.js +39 -0
  54. package/lib/esm/components/c4-billing-page/c4-billing-page.types.d.ts +13 -0
  55. package/lib/esm/components/c4-billing-page/c4-billing-page.types.js +6 -0
  56. package/lib/esm/components/c4-billing-page/custom-styles.d.ts +13 -0
  57. package/lib/esm/components/c4-billing-page/custom-styles.js +18 -0
  58. package/lib/esm/components/c4-billing-page/elements/cluster-reservations.d.ts +29 -0
  59. package/lib/esm/components/c4-billing-page/elements/cluster-reservations.js +32 -0
  60. package/lib/esm/components/c4-billing-page/elements/current-usage-metrics.d.ts +16 -0
  61. package/lib/esm/components/c4-billing-page/elements/current-usage-metrics.js +62 -0
  62. package/lib/esm/components/c4-billing-page/elements/plan-details.d.ts +20 -0
  63. package/lib/esm/components/c4-billing-page/elements/plan-details.js +16 -0
  64. package/lib/esm/components/c4-billing-page/elements/usage-alerts.d.ts +30 -0
  65. package/lib/esm/components/c4-billing-page/elements/usage-alerts.js +18 -0
  66. package/lib/esm/components/c4-billing-page/elements/value-metric.d.ts +28 -0
  67. package/lib/esm/components/c4-billing-page/elements/value-metric.js +116 -0
  68. package/lib/esm/components/c4-bottom-links/c4-bottom-links.d.ts +3 -0
  69. package/lib/esm/components/c4-bottom-links/c4-bottom-links.js +9 -0
  70. package/lib/esm/components/c4-bottom-links/c4-bottom-links.types.d.ts +4 -0
  71. package/lib/esm/components/c4-bottom-links/c4-bottom-links.types.js +6 -0
  72. package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.d.ts +3 -0
  73. package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.js +33 -0
  74. package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.types.d.ts +22 -0
  75. package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.types.js +6 -0
  76. package/lib/esm/components/c4-charts-dashboard/c4-charts-dashboard.d.ts +3 -0
  77. package/lib/esm/components/c4-charts-dashboard/c4-charts-dashboard.js +56 -0
  78. package/lib/esm/components/c4-charts-dashboard/c4-charts-dashboard.types.d.ts +83 -0
  79. package/lib/esm/components/c4-charts-dashboard/c4-charts-dashboard.types.js +6 -0
  80. package/lib/esm/components/c4-charts-dashboard/elements/alluvial-chart.d.ts +6 -0
  81. package/lib/esm/components/c4-charts-dashboard/elements/alluvial-chart.js +87 -0
  82. package/lib/esm/components/c4-charts-dashboard/elements/bar-chart.d.ts +7 -0
  83. package/lib/esm/components/c4-charts-dashboard/elements/bar-chart.js +37 -0
  84. package/lib/esm/components/c4-charts-dashboard/elements/line-chart.d.ts +7 -0
  85. package/lib/esm/components/c4-charts-dashboard/elements/line-chart.js +35 -0
  86. package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.d.ts +3 -0
  87. package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.js +133 -0
  88. package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.types.d.ts +43 -0
  89. package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.types.js +6 -0
  90. package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.d.ts +4 -0
  91. package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.js +58 -0
  92. package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.types.d.ts +39 -0
  93. package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.types.js +6 -0
  94. package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.d.ts +4 -0
  95. package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.js +64 -0
  96. package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.types.d.ts +45 -0
  97. package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.types.js +6 -0
  98. package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.d.ts +3 -0
  99. package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.js +46 -0
  100. package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.types.d.ts +24 -0
  101. package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.types.js +6 -0
  102. package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.d.ts +3 -0
  103. package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.js +124 -0
  104. package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.types.d.ts +51 -0
  105. package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.types.js +6 -0
  106. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.d.ts +3 -0
  107. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.js +206 -0
  108. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.types.d.ts +58 -0
  109. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.types.js +6 -0
  110. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.d.ts +3 -0
  111. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.js +192 -0
  112. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.types.d.ts +53 -0
  113. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.types.js +6 -0
  114. package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.d.ts +3 -0
  115. package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.js +104 -0
  116. package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.types.d.ts +76 -0
  117. package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.types.js +6 -0
  118. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.d.ts +3 -0
  119. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.js +222 -0
  120. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.types.d.ts +89 -0
  121. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.types.js +6 -0
  122. package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.d.ts +3 -0
  123. package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.js +93 -0
  124. package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.types.d.ts +36 -0
  125. package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.types.js +6 -0
  126. package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.d.ts +3 -0
  127. package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.js +174 -0
  128. package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.types.d.ts +118 -0
  129. package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.types.js +6 -0
  130. package/lib/esm/components/c4-cluster-list/c4-cluster-list.d.ts +3 -0
  131. package/lib/esm/components/c4-cluster-list/c4-cluster-list.js +220 -0
  132. package/lib/esm/components/c4-cluster-list/c4-cluster-list.types.d.ts +75 -0
  133. package/lib/esm/components/c4-cluster-list/c4-cluster-list.types.js +6 -0
  134. package/lib/esm/components/c4-cluster-overview/applications.d.ts +47 -0
  135. package/lib/esm/components/c4-cluster-overview/applications.js +132 -0
  136. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.d.ts +20 -0
  137. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.js +101 -0
  138. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.types.d.ts +22 -0
  139. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.types.js +6 -0
  140. package/lib/esm/components/c4-cluster-overview/cluster-details.d.ts +116 -0
  141. package/lib/esm/components/c4-cluster-overview/cluster-details.js +170 -0
  142. package/lib/esm/components/c4-cluster-overview/cluster-load.d.ts +35 -0
  143. package/lib/esm/components/c4-cluster-overview/cluster-load.formatNumber.test.d.ts +1 -0
  144. package/lib/esm/components/c4-cluster-overview/cluster-load.formatNumber.test.js +38 -0
  145. package/lib/esm/components/c4-cluster-overview/cluster-load.js +334 -0
  146. package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.d.ts +3 -0
  147. package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.js +17 -0
  148. package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.types.d.ts +12 -0
  149. package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.types.js +6 -0
  150. package/lib/esm/components/c4-cluster-settings/elements/autoUpdate.d.ts +14 -0
  151. package/lib/esm/components/c4-cluster-settings/elements/autoUpdate.js +12 -0
  152. package/lib/esm/components/c4-cluster-settings/elements/business-id-uniqueness-toggle.d.ts +14 -0
  153. package/lib/esm/components/c4-cluster-settings/elements/business-id-uniqueness-toggle.js +12 -0
  154. package/lib/esm/components/c4-cluster-settings/elements/cluster-settings.d.ts +23 -0
  155. package/lib/esm/components/c4-cluster-settings/elements/cluster-settings.js +34 -0
  156. package/lib/esm/components/c4-cluster-settings/elements/danger-zone.d.ts +16 -0
  157. package/lib/esm/components/c4-cluster-settings/elements/danger-zone.js +12 -0
  158. package/lib/esm/components/c4-cluster-settings/elements/enforce-groups.d.ts +14 -0
  159. package/lib/esm/components/c4-cluster-settings/elements/enforce-groups.js +12 -0
  160. package/lib/esm/components/c4-cluster-settings/elements/identity-based-authorizations.d.ts +13 -0
  161. package/lib/esm/components/c4-cluster-settings/elements/identity-based-authorizations.js +12 -0
  162. package/lib/esm/components/c4-cluster-settings/elements/low-latency-toggle.d.ts +14 -0
  163. package/lib/esm/components/c4-cluster-settings/elements/low-latency-toggle.js +12 -0
  164. package/lib/esm/components/c4-cluster-settings/elements/mcp-toggle.d.ts +14 -0
  165. package/lib/esm/components/c4-cluster-settings/elements/mcp-toggle.js +12 -0
  166. package/lib/esm/components/c4-cluster-settings/elements/multi-tenancy.d.ts +13 -0
  167. package/lib/esm/components/c4-cluster-settings/elements/multi-tenancy.js +15 -0
  168. package/lib/esm/components/c4-cluster-settings/elements/resource-based-authorizations.d.ts +27 -0
  169. package/lib/esm/components/c4-cluster-settings/elements/resource-based-authorizations.js +20 -0
  170. package/lib/esm/components/c4-cluster-settings/elements/settings-tile.d.ts +7 -0
  171. package/lib/esm/components/c4-cluster-settings/elements/settings-tile.js +12 -0
  172. package/lib/esm/components/c4-cluster-settings/elements/swagger-toggle.d.ts +14 -0
  173. package/lib/esm/components/c4-cluster-settings/elements/swagger-toggle.js +12 -0
  174. package/lib/esm/components/c4-cluster-settings/elements/tasklist-mode-settings.d.ts +5 -0
  175. package/lib/esm/components/c4-cluster-settings/elements/tasklist-mode-settings.js +7 -0
  176. package/lib/esm/components/c4-cluster-settings/elements/tasklist-mode-toggle.d.ts +13 -0
  177. package/lib/esm/components/c4-cluster-settings/elements/tasklist-mode-toggle.js +13 -0
  178. package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.d.ts +3 -0
  179. package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.js +64 -0
  180. package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.types.d.ts +15 -0
  181. package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.types.js +6 -0
  182. package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.d.ts +3 -0
  183. package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.js +44 -0
  184. package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.types.d.ts +25 -0
  185. package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.types.js +6 -0
  186. package/lib/esm/components/c4-clusters-trial-notification/c4-clusters-trial-notification.d.ts +3 -0
  187. package/lib/esm/components/c4-clusters-trial-notification/c4-clusters-trial-notification.js +15 -0
  188. package/lib/esm/components/c4-clusters-trial-notification/c4-clusters-trial-notification.types.d.ts +6 -0
  189. package/lib/esm/components/c4-clusters-trial-notification/c4-clusters-trial-notification.types.js +6 -0
  190. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.d.ts +3 -0
  191. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.js +216 -0
  192. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.types.d.ts +130 -0
  193. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.types.js +6 -0
  194. package/lib/esm/components/c4-console-dashboard/elements/empty-state.d.ts +13 -0
  195. package/lib/esm/components/c4-console-dashboard/elements/empty-state.js +21 -0
  196. package/lib/esm/components/c4-convert-trial-organization-modal/c4-convert-trial-organization-modal.d.ts +3 -0
  197. package/lib/esm/components/c4-convert-trial-organization-modal/c4-convert-trial-organization-modal.js +66 -0
  198. package/lib/esm/components/c4-convert-trial-organization-modal/c4-convert-trial-organization-modal.types.d.ts +12 -0
  199. package/lib/esm/components/c4-convert-trial-organization-modal/c4-convert-trial-organization-modal.types.js +6 -0
  200. package/lib/esm/components/c4-create-cluster/c4-create-cluster.d.ts +3 -0
  201. package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +508 -0
  202. package/lib/esm/components/c4-create-cluster/c4-create-cluster.types.d.ts +209 -0
  203. package/lib/esm/components/c4-create-cluster/c4-create-cluster.types.js +6 -0
  204. package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.d.ts +2 -0
  205. package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.js +182 -0
  206. package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.types.d.ts +26 -0
  207. package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.types.js +6 -0
  208. package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.d.ts +2 -0
  209. package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.js +96 -0
  210. package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.types.d.ts +18 -0
  211. package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.types.js +6 -0
  212. package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.d.ts +2 -0
  213. package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.js +352 -0
  214. package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.types.d.ts +20 -0
  215. package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.types.js +6 -0
  216. package/lib/esm/components/c4-create-trial-organization-modal/c4-create-trial-organization-modal.d.ts +3 -0
  217. package/lib/esm/components/c4-create-trial-organization-modal/c4-create-trial-organization-modal.js +52 -0
  218. package/lib/esm/components/c4-create-trial-organization-modal/c4-create-trial-organization-modal.types.d.ts +19 -0
  219. package/lib/esm/components/c4-create-trial-organization-modal/c4-create-trial-organization-modal.types.js +6 -0
  220. package/lib/esm/components/c4-dashboard-first-launch/c4-dashboard-first-launch.d.ts +3 -0
  221. package/lib/esm/components/c4-dashboard-first-launch/c4-dashboard-first-launch.js +9 -0
  222. package/lib/esm/components/c4-dashboard-first-launch/c4-dashboard-first-launch.types.d.ts +6 -0
  223. package/lib/esm/components/c4-dashboard-first-launch/c4-dashboard-first-launch.types.js +6 -0
  224. package/lib/esm/components/c4-divider/c4-divider.d.ts +2 -0
  225. package/lib/esm/components/c4-divider/c4-divider.js +11 -0
  226. package/lib/esm/components/c4-divider/c4-divider.types.d.ts +3 -0
  227. package/lib/esm/components/c4-divider/c4-divider.types.js +6 -0
  228. package/lib/esm/components/c4-external-link/c4-external-link.d.ts +3 -0
  229. package/lib/esm/components/c4-external-link/c4-external-link.js +10 -0
  230. package/lib/esm/components/c4-external-link/c4-external-link.types.d.ts +9 -0
  231. package/lib/esm/components/c4-external-link/c4-external-link.types.js +6 -0
  232. package/lib/esm/components/c4-info-tooltip/c4-info-tooltip.d.ts +3 -0
  233. package/lib/esm/components/c4-info-tooltip/c4-info-tooltip.js +18 -0
  234. package/lib/esm/components/c4-info-tooltip/c4-info-tooltip.types.d.ts +6 -0
  235. package/lib/esm/components/c4-info-tooltip/c4-info-tooltip.types.js +6 -0
  236. package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.d.ts +2 -0
  237. package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.js +187 -0
  238. package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.types.d.ts +22 -0
  239. package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.types.js +6 -0
  240. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.d.ts +8 -0
  241. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.js +46 -0
  242. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.types.d.ts +101 -0
  243. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.types.js +6 -0
  244. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-chart-heading.d.ts +7 -0
  245. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-chart-heading.js +18 -0
  246. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.d.ts +12 -0
  247. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.js +65 -0
  248. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.d.ts +13 -0
  249. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.js +74 -0
  250. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.d.ts +16 -0
  251. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.js +81 -0
  252. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.d.ts +13 -0
  253. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.js +45 -0
  254. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.d.ts +4 -0
  255. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.js +40 -0
  256. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.types.d.ts +23 -0
  257. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.types.js +6 -0
  258. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.d.ts +3 -0
  259. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.js +88 -0
  260. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.types.d.ts +44 -0
  261. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.types.js +6 -0
  262. package/lib/esm/components/c4-job-dashboard-shared/c4-background-fetching-indicator.d.ts +8 -0
  263. package/lib/esm/components/c4-job-dashboard-shared/c4-background-fetching-indicator.js +10 -0
  264. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.d.ts +30 -0
  265. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.js +51 -0
  266. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-shared.types.d.ts +23 -0
  267. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-shared.types.js +6 -0
  268. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-time-range-dropdown.d.ts +17 -0
  269. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-time-range-dropdown.js +47 -0
  270. package/lib/esm/components/c4-job-dashboard-shared/c4-stories-data-generator.d.ts +4 -0
  271. package/lib/esm/components/c4-job-dashboard-shared/c4-stories-data-generator.js +30 -0
  272. package/lib/esm/components/c4-job-dashboard-shared/c4-timestamp-information.d.ts +6 -0
  273. package/lib/esm/components/c4-job-dashboard-shared/c4-timestamp-information.js +14 -0
  274. package/lib/esm/components/c4-leave-organization-modal/c4-leave-organization-modal.d.ts +3 -0
  275. package/lib/esm/components/c4-leave-organization-modal/c4-leave-organization-modal.js +25 -0
  276. package/lib/esm/components/c4-leave-organization-modal/c4-leave-organization-modal.types.d.ts +7 -0
  277. package/lib/esm/components/c4-leave-organization-modal/c4-leave-organization-modal.types.js +6 -0
  278. package/lib/esm/components/c4-link-button/c4-link-button.d.ts +3 -0
  279. package/lib/esm/components/c4-link-button/c4-link-button.js +18 -0
  280. package/lib/esm/components/c4-link-button/c4-link-button.types.d.ts +8 -0
  281. package/lib/esm/components/c4-link-button/c4-link-button.types.js +6 -0
  282. package/lib/esm/components/c4-llm-usage-meter/c4-llm-usage-meter.d.ts +3 -0
  283. package/lib/esm/components/c4-llm-usage-meter/c4-llm-usage-meter.js +81 -0
  284. package/lib/esm/components/c4-llm-usage-meter/c4-llm-usage-meter.types.d.ts +58 -0
  285. package/lib/esm/components/c4-llm-usage-meter/c4-llm-usage-meter.types.js +6 -0
  286. package/lib/esm/components/c4-management-activity/c4-management-activity.d.ts +3 -0
  287. package/lib/esm/components/c4-management-activity/c4-management-activity.js +16 -0
  288. package/lib/esm/components/c4-management-activity/c4-management-activity.types.d.ts +22 -0
  289. package/lib/esm/components/c4-management-activity/c4-management-activity.types.js +6 -0
  290. package/lib/esm/components/c4-management-api/c4-management-api.d.ts +3 -0
  291. package/lib/esm/components/c4-management-api/c4-management-api.js +204 -0
  292. package/lib/esm/components/c4-management-api/c4-management-api.types.d.ts +66 -0
  293. package/lib/esm/components/c4-management-api/c4-management-api.types.js +6 -0
  294. package/lib/esm/components/c4-management-overview/c4-management-overview.d.ts +3 -0
  295. package/lib/esm/components/c4-management-overview/c4-management-overview.js +22 -0
  296. package/lib/esm/components/c4-management-overview/c4-management-overview.types.d.ts +17 -0
  297. package/lib/esm/components/c4-management-overview/c4-management-overview.types.js +6 -0
  298. package/lib/esm/components/c4-management-settings/c4-management-settings.d.ts +3 -0
  299. package/lib/esm/components/c4-management-settings/c4-management-settings.js +131 -0
  300. package/lib/esm/components/c4-management-settings/c4-management-settings.types.d.ts +77 -0
  301. package/lib/esm/components/c4-management-settings/c4-management-settings.types.js +6 -0
  302. package/lib/esm/components/c4-management-users/c4-management-users.d.ts +3 -0
  303. package/lib/esm/components/c4-management-users/c4-management-users.js +17 -0
  304. package/lib/esm/components/c4-management-users/c4-management-users.types.d.ts +23 -0
  305. package/lib/esm/components/c4-management-users/c4-management-users.types.js +6 -0
  306. package/lib/esm/components/c4-multi-step-modal/c4-multi-step-modal.d.ts +3 -0
  307. package/lib/esm/components/c4-multi-step-modal/c4-multi-step-modal.js +48 -0
  308. package/lib/esm/components/c4-multi-step-modal/c4-multi-step-modal.types.d.ts +31 -0
  309. package/lib/esm/components/c4-multi-step-modal/c4-multi-step-modal.types.js +6 -0
  310. package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.d.ts +2 -0
  311. package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.js +45 -0
  312. package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.types.d.ts +18 -0
  313. package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.types.js +6 -0
  314. package/lib/esm/components/c4-number-input/c4-number-input.d.ts +2 -0
  315. package/lib/esm/components/c4-number-input/c4-number-input.js +21 -0
  316. package/lib/esm/components/c4-number-input/c4-number-input.types.d.ts +11 -0
  317. package/lib/esm/components/c4-number-input/c4-number-input.types.js +6 -0
  318. package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.d.ts +3 -0
  319. package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.js +62 -0
  320. package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.types.d.ts +60 -0
  321. package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.types.js +6 -0
  322. package/lib/esm/components/c4-page-template/c4-page-template.d.ts +29 -0
  323. package/lib/esm/components/c4-page-template/c4-page-template.js +17 -0
  324. package/lib/esm/components/c4-page-template/c4-page-template.spec.d.ts +1 -0
  325. package/lib/esm/components/c4-page-template/c4-page-template.spec.js +58 -0
  326. package/lib/esm/components/c4-page-template/c4-page-template.stories.d.ts +6 -0
  327. package/lib/esm/components/c4-page-template/c4-page-template.stories.js +73 -0
  328. package/lib/esm/components/c4-permission-error-page/c4-permission-error-page.d.ts +3 -0
  329. package/lib/esm/components/c4-permission-error-page/c4-permission-error-page.js +44 -0
  330. package/lib/esm/components/c4-permission-error-page/c4-permission-error-page.types.d.ts +12 -0
  331. package/lib/esm/components/c4-permission-error-page/c4-permission-error-page.types.js +6 -0
  332. package/lib/esm/components/c4-pricing/c4-pricing.d.ts +3 -0
  333. package/lib/esm/components/c4-pricing/c4-pricing.js +59 -0
  334. package/lib/esm/components/c4-pricing/c4-pricing.types.d.ts +20 -0
  335. package/lib/esm/components/c4-pricing/c4-pricing.types.js +6 -0
  336. package/lib/esm/components/c4-pricing-card/c4-pricing-card.d.ts +3 -0
  337. package/lib/esm/components/c4-pricing-card/c4-pricing-card.js +51 -0
  338. package/lib/esm/components/c4-pricing-card/c4-pricing-card.types.d.ts +53 -0
  339. package/lib/esm/components/c4-pricing-card/c4-pricing-card.types.js +6 -0
  340. package/lib/esm/components/c4-pricing-card/c4-pricing-card.utils.d.ts +13 -0
  341. package/lib/esm/components/c4-pricing-card/c4-pricing-card.utils.js +58 -0
  342. package/lib/esm/components/c4-rename-organization-modal/c4-rename-organization-modal.d.ts +2 -0
  343. package/lib/esm/components/c4-rename-organization-modal/c4-rename-organization-modal.js +68 -0
  344. package/lib/esm/components/c4-rename-organization-modal/c4-rename-organization-modal.types.d.ts +15 -0
  345. package/lib/esm/components/c4-rename-organization-modal/c4-rename-organization-modal.types.js +6 -0
  346. package/lib/esm/components/c4-search/c4-search-results.d.ts +2 -0
  347. package/lib/esm/components/c4-search/c4-search-results.js +235 -0
  348. package/lib/esm/components/c4-search/c4-search-results.types.d.ts +33 -0
  349. package/lib/esm/components/c4-search/c4-search-results.types.js +6 -0
  350. package/lib/esm/components/c4-search/c4-search.d.ts +35 -0
  351. package/lib/esm/components/c4-search/c4-search.js +134 -0
  352. package/lib/esm/components/c4-search/c4-search.types.d.ts +20 -0
  353. package/lib/esm/components/c4-search/c4-search.types.js +6 -0
  354. package/lib/esm/components/c4-search/search.utils.d.ts +61 -0
  355. package/lib/esm/components/c4-search/search.utils.js +421 -0
  356. package/lib/esm/components/c4-sm-cluster-details/automation-components.d.ts +3 -0
  357. package/lib/esm/components/c4-sm-cluster-details/automation-components.js +20 -0
  358. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.d.ts +3 -0
  359. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.js +27 -0
  360. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.types.d.ts +71 -0
  361. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.types.js +6 -0
  362. package/lib/esm/components/c4-sm-cluster-details/custom-properties.d.ts +4 -0
  363. package/lib/esm/components/c4-sm-cluster-details/custom-properties.js +29 -0
  364. package/lib/esm/components/c4-sm-cluster-details/details.d.ts +7 -0
  365. package/lib/esm/components/c4-sm-cluster-details/details.js +24 -0
  366. package/lib/esm/components/c4-sm-cluster-details/zeebe-components.d.ts +3 -0
  367. package/lib/esm/components/c4-sm-cluster-details/zeebe-components.js +43 -0
  368. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.d.ts +3 -0
  369. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.js +34 -0
  370. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.types.d.ts +40 -0
  371. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.types.js +6 -0
  372. package/lib/esm/components/c4-sm-dashboard/cluster-tile.d.ts +9 -0
  373. package/lib/esm/components/c4-sm-dashboard/cluster-tile.js +59 -0
  374. package/lib/esm/components/c4-sm-dashboard/component-tile.d.ts +14 -0
  375. package/lib/esm/components/c4-sm-dashboard/component-tile.js +45 -0
  376. package/lib/esm/components/c4-sm-dashboard/explore.d.ts +20 -0
  377. package/lib/esm/components/c4-sm-dashboard/explore.js +29 -0
  378. package/lib/esm/components/c4-sm-dashboard/health-status.d.ts +10 -0
  379. package/lib/esm/components/c4-sm-dashboard/health-status.js +60 -0
  380. package/lib/esm/components/c4-sm-dashboard/overview.d.ts +13 -0
  381. package/lib/esm/components/c4-sm-dashboard/overview.js +148 -0
  382. package/lib/esm/components/c4-sm-dashboard/usage-tile.d.ts +22 -0
  383. package/lib/esm/components/c4-sm-dashboard/usage-tile.js +35 -0
  384. package/lib/esm/components/c4-stackdriver-links/c4-stackdriver-links.d.ts +3 -0
  385. package/lib/esm/components/c4-stackdriver-links/c4-stackdriver-links.js +26 -0
  386. package/lib/esm/components/c4-stackdriver-links/c4-stackdriver-links.types.d.ts +12 -0
  387. package/lib/esm/components/c4-stackdriver-links/c4-stackdriver-links.types.js +6 -0
  388. package/lib/esm/components/c4-stat/c4-stat.d.ts +3 -0
  389. package/lib/esm/components/c4-stat/c4-stat.js +11 -0
  390. package/lib/esm/components/c4-stat/c4-stat.types.d.ts +4 -0
  391. package/lib/esm/components/c4-stat/c4-stat.types.js +6 -0
  392. package/lib/esm/components/c4-stateful-button/c4-stateful-button.d.ts +3 -0
  393. package/lib/esm/components/c4-stateful-button/c4-stateful-button.js +38 -0
  394. package/lib/esm/components/c4-stateful-button/c4-stateful-button.types.d.ts +7 -0
  395. package/lib/esm/components/c4-stateful-button/c4-stateful-button.types.js +6 -0
  396. package/lib/esm/components/c4-tabs/c4-tabs.d.ts +3 -0
  397. package/lib/esm/components/c4-tabs/c4-tabs.js +49 -0
  398. package/lib/esm/components/c4-tabs/c4-tabs.spec.d.ts +1 -0
  399. package/lib/esm/components/c4-tabs/c4-tabs.spec.js +97 -0
  400. package/lib/esm/components/c4-tabs/c4-tabs.stories.d.ts +6 -0
  401. package/lib/esm/components/c4-tabs/c4-tabs.stories.js +35 -0
  402. package/lib/esm/components/c4-tabs/c4-tabs.types.d.ts +14 -0
  403. package/lib/esm/components/c4-tabs/c4-tabs.types.js +6 -0
  404. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.d.ts +4 -0
  405. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.js +110 -0
  406. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.types.d.ts +45 -0
  407. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.types.js +6 -0
  408. package/lib/esm/components/c4-telemetry-page/component-metrics.d.ts +26 -0
  409. package/lib/esm/components/c4-telemetry-page/component-metrics.js +47 -0
  410. package/lib/esm/components/c4-telemetry-page/metrics-empty-state-image.d.ts +2 -0
  411. package/lib/esm/components/c4-telemetry-page/metrics-empty-state-image.js +6 -0
  412. package/lib/esm/components/c4-telemetry-page/telemetry-for-component.d.ts +50 -0
  413. package/lib/esm/components/c4-telemetry-page/telemetry-for-component.js +90 -0
  414. package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.d.ts +3 -0
  415. package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.js +80 -0
  416. package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.types.d.ts +40 -0
  417. package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.types.js +6 -0
  418. package/lib/esm/components/c4-theme-switcher/c4-theme-switcher.d.ts +23 -0
  419. package/lib/esm/components/c4-theme-switcher/c4-theme-switcher.js +187 -0
  420. package/lib/esm/components/c4-theme-switcher/c4-theme-switcher.types.d.ts +23 -0
  421. package/lib/esm/components/c4-theme-switcher/c4-theme-switcher.types.js +6 -0
  422. package/lib/esm/components/c4-theme-switcher/cyberzee-removebg-preview-100.png +0 -0
  423. package/lib/esm/components/c4-tile-with-title-and-action/c4-tile-with-title-and-action.d.ts +3 -0
  424. package/lib/esm/components/c4-tile-with-title-and-action/c4-tile-with-title-and-action.js +39 -0
  425. package/lib/esm/components/c4-tile-with-title-and-action/c4-tile-with-title-and-action.types.d.ts +18 -0
  426. package/lib/esm/components/c4-tile-with-title-and-action/c4-tile-with-title-and-action.types.js +6 -0
  427. package/lib/esm/components/c4-toggle/c4-toggle.d.ts +3 -0
  428. package/lib/esm/components/c4-toggle/c4-toggle.js +16 -0
  429. package/lib/esm/components/c4-toggle/c4-toggle.types.d.ts +27 -0
  430. package/lib/esm/components/c4-toggle/c4-toggle.types.js +6 -0
  431. package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.d.ts +3 -0
  432. package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.js +14 -0
  433. package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.types.d.ts +14 -0
  434. package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.types.js +6 -0
  435. package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.utils.d.ts +6 -0
  436. package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.utils.js +21 -0
  437. package/lib/esm/components/c4-usage-alert-update-modal/c4-usage-alert-update-modal.d.ts +3 -0
  438. package/lib/esm/components/c4-usage-alert-update-modal/c4-usage-alert-update-modal.js +15 -0
  439. package/lib/esm/components/c4-usage-alert-update-modal/c4-usage-alert-update-modal.types.d.ts +30 -0
  440. package/lib/esm/components/c4-usage-alert-update-modal/c4-usage-alert-update-modal.types.js +6 -0
  441. package/lib/esm/components/c4-usage-history/c4-usage-history.d.ts +3 -0
  442. package/lib/esm/components/c4-usage-history/c4-usage-history.js +79 -0
  443. package/lib/esm/components/c4-usage-history/c4-usage-history.types.d.ts +36 -0
  444. package/lib/esm/components/c4-usage-history/c4-usage-history.types.js +6 -0
  445. package/lib/esm/components/c4-usage-history/elements/usage-history-charts.d.ts +35 -0
  446. package/lib/esm/components/c4-usage-history/elements/usage-history-charts.js +44 -0
  447. package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.d.ts +3 -0
  448. package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.js +107 -0
  449. package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.types.d.ts +50 -0
  450. package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.types.js +6 -0
  451. package/lib/esm/components/c4-user-details/c4-user-details.d.ts +3 -0
  452. package/lib/esm/components/c4-user-details/c4-user-details.js +46 -0
  453. package/lib/esm/components/c4-user-details/c4-user-details.types.d.ts +22 -0
  454. package/lib/esm/components/c4-user-details/c4-user-details.types.js +6 -0
  455. package/lib/esm/components/c4-user-details/tabs/authorized-resources.d.ts +20 -0
  456. package/lib/esm/components/c4-user-details/tabs/authorized-resources.js +15 -0
  457. package/lib/esm/components/c4-user-details/tabs/details.d.ts +10 -0
  458. package/lib/esm/components/c4-user-details/tabs/details.js +17 -0
  459. package/lib/esm/components/c4-user-details/tabs/roles.d.ts +32 -0
  460. package/lib/esm/components/c4-user-details/tabs/roles.js +63 -0
  461. package/lib/esm/i18n/c4-console-i18n.d.ts +8 -0
  462. package/lib/esm/i18n/c4-console-i18n.js +138 -0
  463. package/lib/esm/i18n/en/components/fatalError.json +5 -0
  464. package/lib/esm/i18n/en/components/navbar.json +44 -0
  465. package/lib/esm/i18n/en/entities/orgroles.json +100 -0
  466. package/lib/esm/i18n/en/modals/alerts.json +99 -0
  467. package/lib/esm/i18n/en/modals/apiclients.json +151 -0
  468. package/lib/esm/i18n/en/modals/backups.json +66 -0
  469. package/lib/esm/i18n/en/modals/billing.json +192 -0
  470. package/lib/esm/i18n/en/modals/clusterclients.json +145 -0
  471. package/lib/esm/i18n/en/modals/clusters.json +177 -0
  472. package/lib/esm/i18n/en/modals/connectorsecrets.json +123 -0
  473. package/lib/esm/i18n/en/modals/createtrialorg.json +29 -0
  474. package/lib/esm/i18n/en/modals/invitations.json +48 -0
  475. package/lib/esm/i18n/en/modals/ipwhitelist.json +46 -0
  476. package/lib/esm/i18n/en/modals/usagealerts.json +40 -0
  477. package/lib/esm/i18n/en/modals/users.json +95 -0
  478. package/lib/esm/i18n/en/modals/validation.json +9 -0
  479. package/lib/esm/i18n/en/pages/clusterdetails.json +595 -0
  480. package/lib/esm/i18n/en/pages/clusters.json +77 -0
  481. package/lib/esm/i18n/en/pages/connectormanagement.json +8 -0
  482. package/lib/esm/i18n/en/pages/createcluster.json +90 -0
  483. package/lib/esm/i18n/en/pages/dashboard.json +94 -0
  484. package/lib/esm/i18n/en/pages/home.json +12 -0
  485. package/lib/esm/i18n/en/pages/job-dashboard.json +101 -0
  486. package/lib/esm/i18n/en/pages/orgmanagement.json +488 -0
  487. package/lib/esm/icons/c4-icons.d.ts +12 -0
  488. package/lib/esm/icons/c4-icons.js +28 -0
  489. package/lib/esm/icons/c4-icons.types.d.ts +3 -0
  490. package/lib/esm/icons/c4-icons.types.js +6 -0
  491. package/lib/esm/index.d.ts +210 -0
  492. package/lib/esm/index.js +112 -0
  493. package/lib/esm/index.scss +267 -0
  494. package/lib/esm/modals/c4-create-cluster-api-client-modal-handle.d.ts +3 -0
  495. package/lib/esm/modals/c4-create-cluster-api-client-modal-handle.js +12 -0
  496. package/lib/esm/modals/c4-create-connector-secret-modal-handle.d.ts +3 -0
  497. package/lib/esm/modals/c4-create-connector-secret-modal-handle.js +12 -0
  498. package/lib/esm/modals/c4-create-console-api-client-modal-handle.d.ts +3 -0
  499. package/lib/esm/modals/c4-create-console-api-client-modal-handle.js +12 -0
  500. package/lib/esm/modals/c4-invite-user-to-organization-modal-handle.d.ts +3 -0
  501. package/lib/esm/modals/c4-invite-user-to-organization-modal-handle.js +12 -0
  502. package/lib/esm/modals/c4-rename-organization-modal-handle.d.ts +3 -0
  503. package/lib/esm/modals/c4-rename-organization-modal-handle.js +12 -0
  504. package/lib/esm/notifications/c4-console-notifications-handle.d.ts +8 -0
  505. package/lib/esm/notifications/c4-console-notifications-handle.js +15 -0
  506. package/lib/esm/runtime/c4-console-authz.d.ts +31 -0
  507. package/lib/esm/runtime/c4-console-authz.js +191 -0
  508. package/lib/esm/runtime/c4-console-authz.spec.d.ts +1 -0
  509. package/lib/esm/runtime/c4-console-authz.spec.js +45 -0
  510. package/lib/esm/runtime/c4-console-data-context.d.ts +38 -0
  511. package/lib/esm/runtime/c4-console-data-context.js +229 -0
  512. package/lib/esm/runtime/c4-console-data-context.types.d.ts +49 -0
  513. package/lib/esm/runtime/c4-console-data-context.types.js +6 -0
  514. package/lib/esm/runtime/c4-console-data-store.d.ts +75 -0
  515. package/lib/esm/runtime/c4-console-data-store.js +440 -0
  516. package/lib/esm/runtime/c4-console-data-store.spec.d.ts +1 -0
  517. package/lib/esm/runtime/c4-console-data-store.spec.js +33 -0
  518. package/lib/esm/runtime/c4-console-notifications-context.d.ts +7 -0
  519. package/lib/esm/runtime/c4-console-notifications-context.js +76 -0
  520. package/lib/esm/runtime/c4-console-notifications-context.types.d.ts +34 -0
  521. package/lib/esm/runtime/c4-console-notifications-context.types.js +6 -0
  522. package/lib/esm/runtime/c4-console-runtime-context.d.ts +8 -0
  523. package/lib/esm/runtime/c4-console-runtime-context.js +13 -0
  524. package/lib/esm/runtime/c4-console-runtime.types.d.ts +45 -0
  525. package/lib/esm/runtime/c4-console-runtime.types.js +6 -0
  526. package/lib/esm/runtime/to-api-config.d.ts +3 -0
  527. package/lib/esm/runtime/to-api-config.js +31 -0
  528. package/lib/esm/runtime/to-identity-api-base-url.d.ts +5 -0
  529. package/lib/esm/runtime/to-identity-api-base-url.js +22 -0
  530. package/lib/esm/setupTests.d.ts +1 -0
  531. package/lib/esm/setupTests.js +37 -0
  532. package/lib/esm/themes/barbie-light.css +446 -0
  533. package/lib/esm/themes/barbie.css +446 -0
  534. package/lib/esm/themes/cyberpunk-brutalism-light.css +748 -0
  535. package/lib/esm/themes/cyberpunk-brutalism.css +956 -0
  536. package/lib/esm/themes/cyberpunk-rose-light.css +750 -0
  537. package/lib/esm/themes/cyberpunk-rose.css +958 -0
  538. package/lib/esm/themes/terminal-light.css +422 -0
  539. package/lib/esm/themes/terminal.css +474 -0
  540. package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.d.ts +4 -0
  541. package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.js +492 -0
  542. package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.types.d.ts +14 -0
  543. package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.types.js +6 -0
  544. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.d.ts +5 -0
  545. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +1029 -0
  546. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +44 -0
  547. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.js +6 -0
  548. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.d.ts +3 -0
  549. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.js +116 -0
  550. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.spec.d.ts +1 -0
  551. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.spec.js +67 -0
  552. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.types.d.ts +31 -0
  553. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.types.js +6 -0
  554. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-activity-tab.d.ts +12 -0
  555. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-activity-tab.js +31 -0
  556. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-alerts-tab.d.ts +32 -0
  557. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-alerts-tab.js +232 -0
  558. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-audit-log-tab.d.ts +12 -0
  559. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-audit-log-tab.js +5 -0
  560. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.d.ts +20 -0
  561. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.js +289 -0
  562. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.d.ts +20 -0
  563. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.js +483 -0
  564. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.d.ts +17 -0
  565. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +466 -0
  566. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.d.ts +15 -0
  567. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.js +256 -0
  568. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.d.ts +18 -0
  569. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.js +454 -0
  570. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-ip-whitelist-tab.d.ts +17 -0
  571. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-ip-whitelist-tab.js +205 -0
  572. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.d.ts +43 -0
  573. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +750 -0
  574. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.d.ts +16 -0
  575. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.js +338 -0
  576. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.d.ts +17 -0
  577. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +340 -0
  578. package/lib/esm/widgets/cluster-details/tabs/url-utils.d.ts +1 -0
  579. package/lib/esm/widgets/cluster-details/tabs/url-utils.js +28 -0
  580. package/lib/esm/widgets/cluster-details/tabs/url-utils.test.d.ts +1 -0
  581. package/lib/esm/widgets/cluster-details/tabs/url-utils.test.js +34 -0
  582. package/lib/esm/widgets/clusters/c4-clusters-page.d.ts +4 -0
  583. package/lib/esm/widgets/clusters/c4-clusters-page.js +682 -0
  584. package/lib/esm/widgets/clusters/c4-clusters-page.spec.d.ts +1 -0
  585. package/lib/esm/widgets/clusters/c4-clusters-page.spec.js +155 -0
  586. package/lib/esm/widgets/clusters/c4-clusters-page.types.d.ts +49 -0
  587. package/lib/esm/widgets/clusters/c4-clusters-page.types.js +6 -0
  588. package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.d.ts +4 -0
  589. package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.js +76 -0
  590. package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.types.d.ts +24 -0
  591. package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.types.js +6 -0
  592. package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.d.ts +4 -0
  593. package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.js +76 -0
  594. package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.types.d.ts +24 -0
  595. package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.types.js +6 -0
  596. package/lib/esm/widgets/connector-management/c4-connector-management-page.d.ts +4 -0
  597. package/lib/esm/widgets/connector-management/c4-connector-management-page.js +74 -0
  598. package/lib/esm/widgets/connector-management/c4-connector-management-page.spec.d.ts +1 -0
  599. package/lib/esm/widgets/connector-management/c4-connector-management-page.spec.js +140 -0
  600. package/lib/esm/widgets/connector-management/c4-connector-management-page.types.d.ts +18 -0
  601. package/lib/esm/widgets/connector-management/c4-connector-management-page.types.js +6 -0
  602. package/lib/esm/widgets/connector-management/c4-connector-management.shared.d.ts +14 -0
  603. package/lib/esm/widgets/connector-management/c4-connector-management.shared.js +97 -0
  604. package/lib/esm/widgets/create-cluster/c4-create-cluster-page.d.ts +5 -0
  605. package/lib/esm/widgets/create-cluster/c4-create-cluster-page.js +841 -0
  606. package/lib/esm/widgets/create-cluster/c4-create-cluster-page.spec.d.ts +1 -0
  607. package/lib/esm/widgets/create-cluster/c4-create-cluster-page.spec.js +179 -0
  608. package/lib/esm/widgets/create-cluster/c4-create-cluster-page.types.d.ts +29 -0
  609. package/lib/esm/widgets/create-cluster/c4-create-cluster-page.types.js +6 -0
  610. package/lib/esm/widgets/dashboard/c4-dashboard-app.d.ts +14 -0
  611. package/lib/esm/widgets/dashboard/c4-dashboard-app.js +456 -0
  612. package/lib/esm/widgets/dashboard/c4-dashboard-app.types.d.ts +80 -0
  613. package/lib/esm/widgets/dashboard/c4-dashboard-app.types.js +6 -0
  614. package/lib/esm/widgets/group-details/c4-group-details-page.d.ts +5 -0
  615. package/lib/esm/widgets/group-details/c4-group-details-page.js +193 -0
  616. package/lib/esm/widgets/group-details/c4-group-details-page.spec.d.ts +1 -0
  617. package/lib/esm/widgets/group-details/c4-group-details-page.spec.js +35 -0
  618. package/lib/esm/widgets/group-details/c4-group-details-page.types.d.ts +17 -0
  619. package/lib/esm/widgets/group-details/c4-group-details-page.types.js +6 -0
  620. package/lib/esm/widgets/management/c4-management-app.d.ts +5 -0
  621. package/lib/esm/widgets/management/c4-management-app.js +2303 -0
  622. package/lib/esm/widgets/management/c4-management-app.types.d.ts +69 -0
  623. package/lib/esm/widgets/management/c4-management-app.types.js +6 -0
  624. package/lib/esm/widgets/management/c4-management-page.d.ts +3 -0
  625. package/lib/esm/widgets/management/c4-management-page.js +35 -0
  626. package/lib/esm/widgets/management/c4-management-page.spec.d.ts +1 -0
  627. package/lib/esm/widgets/management/c4-management-page.spec.js +40 -0
  628. package/lib/esm/widgets/management/c4-management-page.types.d.ts +11 -0
  629. package/lib/esm/widgets/management/c4-management-page.types.js +6 -0
  630. package/lib/esm/widgets/management/tabs/c4-management-activity-tab.d.ts +5 -0
  631. package/lib/esm/widgets/management/tabs/c4-management-activity-tab.js +5 -0
  632. package/lib/esm/widgets/management/tabs/c4-management-api-tab.d.ts +61 -0
  633. package/lib/esm/widgets/management/tabs/c4-management-api-tab.js +629 -0
  634. package/lib/esm/widgets/management/tabs/c4-management-billing-tab.d.ts +43 -0
  635. package/lib/esm/widgets/management/tabs/c4-management-billing-tab.js +340 -0
  636. package/lib/esm/widgets/management/tabs/c4-management-groups-tab.d.ts +13 -0
  637. package/lib/esm/widgets/management/tabs/c4-management-groups-tab.js +26 -0
  638. package/lib/esm/widgets/management/tabs/c4-management-overview-tab.d.ts +12 -0
  639. package/lib/esm/widgets/management/tabs/c4-management-overview-tab.js +85 -0
  640. package/lib/esm/widgets/management/tabs/c4-management-pricing-tab.d.ts +20 -0
  641. package/lib/esm/widgets/management/tabs/c4-management-pricing-tab.js +266 -0
  642. package/lib/esm/widgets/management/tabs/c4-management-settings-tab.d.ts +39 -0
  643. package/lib/esm/widgets/management/tabs/c4-management-settings-tab.js +103 -0
  644. package/lib/esm/widgets/management/tabs/c4-management-usage-tab.d.ts +49 -0
  645. package/lib/esm/widgets/management/tabs/c4-management-usage-tab.js +72 -0
  646. package/lib/esm/widgets/management/tabs/c4-management-users-tab.d.ts +25 -0
  647. package/lib/esm/widgets/management/tabs/c4-management-users-tab.js +259 -0
  648. package/lib/esm/widgets/management/tabs/c4-management-users-tab.spec.d.ts +1 -0
  649. package/lib/esm/widgets/management/tabs/c4-management-users-tab.spec.js +65 -0
  650. package/lib/esm/widgets/user-details/c4-user-details-page.d.ts +5 -0
  651. package/lib/esm/widgets/user-details/c4-user-details-page.js +591 -0
  652. package/lib/esm/widgets/user-details/c4-user-details-page.spec.d.ts +1 -0
  653. package/lib/esm/widgets/user-details/c4-user-details-page.spec.js +61 -0
  654. package/lib/esm/widgets/user-details/c4-user-details-page.types.d.ts +29 -0
  655. package/lib/esm/widgets/user-details/c4-user-details-page.types.js +6 -0
  656. package/package.json +88 -0
@@ -0,0 +1,101 @@
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 { InlineNotification, Stack, Tooltip } from '@carbon/react';
8
+ import { Caution, CheckmarkFilled } from '@carbon/react/icons/index.esm.js';
9
+ import styled from 'styled-components';
10
+ import { C4ActionableNotification } from '../c4-actionable-notification/c4-actionable-notification.js';
11
+ import C4JobDashboardEntryPoint from '../c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.js';
12
+ import { Applications } from './applications.js';
13
+ import { ClusterDetails } from './cluster-details.js';
14
+ import { ClusterLoad } from './cluster-load.js';
15
+ const ResponsiveOverviewGrid = styled.div `
16
+ display: flex;
17
+ flex-direction: column;
18
+ gap: 1.5rem;
19
+
20
+ @media (min-width: 768px) {
21
+ display: grid;
22
+ grid-template-columns: 60% calc(40% - 1.5rem);
23
+ }
24
+ `;
25
+ const ClusterDetailsWrapper = styled.div `
26
+ width: calc(100vw - 64px);
27
+ overflow-x: auto;
28
+ background-color: var(--cds-layer);
29
+
30
+ @media (min-width: 768px) {
31
+ width: 100%;
32
+ }
33
+ `;
34
+ const SecondColumnContainer = styled.div `
35
+ height: max-content
36
+ `;
37
+ export const C4ClusterOverview = ({ applications, details, clusterLoad, rbaNotification, jobDashboard, }) => {
38
+ let rbaNotificationElement = null;
39
+ if (rbaNotification?.visible) {
40
+ if (rbaNotification.canManageUsers) {
41
+ rbaNotificationElement = (_jsx(C4ActionableNotification, { kind: 'info', actionButtonLabel: rbaNotification.texts.actionLabel, onActionButtonClick: rbaNotification.onActionButtonClick, title: rbaNotification.texts.title, subtitle: rbaNotification.texts.subtitle, lowContrast: true }));
42
+ }
43
+ else {
44
+ rbaNotificationElement = (_jsx(InlineNotification, { kind: 'info', hideCloseButton: true, style: { maxWidth: '100%' }, title: rbaNotification.texts.title, subtitle: '', lowContrast: true }));
45
+ }
46
+ }
47
+ let secondRow = _jsx(_Fragment, {});
48
+ if (clusterLoad || !!jobDashboard) {
49
+ secondRow = (_jsxs(ResponsiveOverviewGrid, { children: [_jsx(ClusterDetailsWrapper, { children: _jsx(ClusterDetails, { ...details }) }), _jsxs(Stack, { gap: 6, children: [clusterLoad && (_jsx(SecondColumnContainer, { children: _jsx(ClusterLoad, { ...clusterLoad }) })), jobDashboard && (_jsx(SecondColumnContainer, { children: _jsx(C4JobDashboardEntryPoint, { ...jobDashboard }) }))] })] }));
50
+ }
51
+ else {
52
+ secondRow = (_jsx(ClusterDetailsWrapper, { children: _jsx(ClusterDetails, { ...details }) }));
53
+ }
54
+ const component = (_jsxs(Stack, { gap: 8, children: [rbaNotificationElement, _jsxs(Stack, { gap: 6, children: [_jsx(Applications, { ...applications }), secondRow] })] }));
55
+ return component;
56
+ };
57
+ export const C4IconAndTextElement = (props) => {
58
+ const component = (_jsx("div", { style: { ...props.style }, children: _jsxs("div", { style: { position: 'relative' }, children: [props.icon && (_jsx("div", { style: {
59
+ position: 'absolute',
60
+ top: '50%',
61
+ transform: 'translateY(-50%)',
62
+ display: 'flex',
63
+ color: props.color,
64
+ }, children: props.icon })), _jsxs("span", { style: { paddingInlineStart: props.icon ? '1.2rem' : '0rem' }, children: [props.tooltip && (_jsx("span", { style: { zIndex: 999 }, children: _jsx(Tooltip, { align: props.tooltip.align ?? 'bottom', autoAlign: true, label: props.tooltip.label, children: _jsx("span", { children: props.text }) }) })), !props.tooltip && props.text] })] }) }));
65
+ return component;
66
+ };
67
+ export function getClusterLoadConfig(currentValue) {
68
+ const found = CLUSTER_LOAD_RANGES.find((entry) => {
69
+ return currentValue >= entry.min && currentValue < entry.max;
70
+ });
71
+ return (found || {
72
+ type: 'unknown',
73
+ color: 'var(--cds-support-warning)',
74
+ icon: _jsx(Caution, {}),
75
+ min: 0,
76
+ max: 1000,
77
+ });
78
+ }
79
+ const CLUSTER_LOAD_RANGES = [
80
+ {
81
+ type: 'green',
82
+ color: 'var(--cds-support-success)',
83
+ icon: _jsx(CheckmarkFilled, {}),
84
+ min: 0,
85
+ max: 41,
86
+ },
87
+ {
88
+ type: 'warning',
89
+ color: 'var(--cds-support-warning)',
90
+ icon: _jsx(Caution, {}),
91
+ min: 41,
92
+ max: 71,
93
+ },
94
+ {
95
+ type: 'red',
96
+ color: 'var(--cds-support-error)',
97
+ icon: _jsx(Caution, {}),
98
+ min: 71,
99
+ max: 1000,
100
+ },
101
+ ];
@@ -0,0 +1,22 @@
1
+ import type { C4JobDashboardEntryPointProps } from '../c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.types';
2
+ import type { ApplicationsProps } from './applications';
3
+ import type { ClusterDetailsProps } from './cluster-details';
4
+ import type { ClusterLoadProps } from './cluster-load';
5
+ export type { ClusterDetailsProps, ClusterLoadProps };
6
+ export interface RbaNotificationProps {
7
+ visible: boolean;
8
+ canManageUsers: boolean;
9
+ texts: {
10
+ title: string;
11
+ subtitle: string;
12
+ actionLabel: string;
13
+ };
14
+ onActionButtonClick: () => void;
15
+ }
16
+ export interface C4ClusterOverviewProps {
17
+ applications: ApplicationsProps;
18
+ details: ClusterDetailsProps;
19
+ clusterLoad?: ClusterLoadProps;
20
+ rbaNotification?: RbaNotificationProps;
21
+ jobDashboard?: C4JobDashboardEntryPointProps;
22
+ }
@@ -0,0 +1,6 @@
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. Licensed under a commercial license.
4
+ * You may not use this file except in compliance with the commercial license.
5
+ */
6
+ export {};
@@ -0,0 +1,116 @@
1
+ import type React from 'react';
2
+ import { type JSX } from 'react';
3
+ export interface ClusterDetailsProps {
4
+ title: string;
5
+ name: {
6
+ label: string;
7
+ value: string;
8
+ };
9
+ description?: {
10
+ label: string;
11
+ value: string;
12
+ placeholder: string;
13
+ noDescription: string;
14
+ saveLabel: string;
15
+ cancelLabel: string;
16
+ editLabel: string;
17
+ errorMaxLength: string;
18
+ updateAction: (newDescription: string) => Promise<void>;
19
+ updateVisible?: boolean;
20
+ updateDisabled?: boolean;
21
+ };
22
+ cta?: {
23
+ title: string;
24
+ text: string;
25
+ actionLabel: string;
26
+ action: () => void;
27
+ };
28
+ status?: {
29
+ label: string;
30
+ value: string;
31
+ wakeAction: () => void;
32
+ wakeLabel: string;
33
+ wakeVisibility: boolean;
34
+ sleepAction?: () => void;
35
+ sleepLabel?: string;
36
+ };
37
+ generation: {
38
+ label: string;
39
+ value: string;
40
+ update: ClusterDetailsGenerationUpdateProps;
41
+ };
42
+ type?: {
43
+ label: string;
44
+ value: string;
45
+ updateHwPackageAction?: () => void;
46
+ updateHwPackageLabel?: string;
47
+ };
48
+ region?: {
49
+ label: string;
50
+ value: string;
51
+ };
52
+ regionId?: {
53
+ label: string;
54
+ value: string;
55
+ };
56
+ provider: {
57
+ label: string;
58
+ value?: string;
59
+ };
60
+ backupRegion?: {
61
+ label: string;
62
+ value: string;
63
+ };
64
+ backupRegionId?: {
65
+ label: string;
66
+ value: string;
67
+ };
68
+ encryption?: {
69
+ label: string;
70
+ value: string;
71
+ tooltip: string;
72
+ };
73
+ tags?: {
74
+ label: string;
75
+ value: string[];
76
+ updateAction: () => void;
77
+ updateTagLabel: string;
78
+ addTagLabel: string;
79
+ updateDisabled: boolean;
80
+ updateVisible: boolean;
81
+ };
82
+ id: {
83
+ label: string;
84
+ value: string;
85
+ };
86
+ created?: {
87
+ label: string;
88
+ value: string;
89
+ };
90
+ }
91
+ export declare const ClusterDetails: (props: ClusterDetailsProps) => JSX.Element;
92
+ export interface ClusterDetailsGenerationUpdateProps {
93
+ updateType: 'update-available' | 'update-available-wait-needed' | 'update-available-no-permissions' | 'no-update-latest' | 'no-update-refresh' | 'updating' | 'creating';
94
+ updateStates: {
95
+ updateAvailable: {
96
+ action: () => void;
97
+ label: string;
98
+ };
99
+ updateAvailableNoPermission: {
100
+ label: string;
101
+ description: string;
102
+ };
103
+ updateAvailableWaitNeeded: {
104
+ label: string;
105
+ description: React.ReactNode;
106
+ };
107
+ noUpdateLatest: {
108
+ label: string;
109
+ };
110
+ noUpdateRefresh: {
111
+ action: () => void;
112
+ label: string;
113
+ };
114
+ };
115
+ }
116
+ export declare const ClusterDetailsGenerationUpdate: (props: ClusterDetailsGenerationUpdateProps) => JSX.Element;
@@ -0,0 +1,170 @@
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 { C3ClusterTag, } from '@camunda/camunda-composite-components';
8
+ import { Button, CodeSnippet, IconButton, Layer, StructuredListBody, StructuredListCell, StructuredListRow, StructuredListWrapper, TextArea, } from '@carbon/react';
9
+ import { Add, Information, Pause, Play, Renew, UpdateNow, } from '@carbon/react/icons/index.esm.js';
10
+ import { useEffect, useRef, useState } from 'react';
11
+ import { C4ActionableNotification } from '../c4-actionable-notification/c4-actionable-notification.js';
12
+ import { C4LinkButton } from '../c4-link-button/c4-link-button.js';
13
+ import { C4TileWithTitleAndAction } from '../c4-tile-with-title-and-action/c4-tile-with-title-and-action.js';
14
+ import { ClusterStatusElement } from './applications.js';
15
+ export const ClusterDetails = (props) => {
16
+ const [isEditingDescription, setIsEditingDescription] = useState(false);
17
+ const [descriptionValue, setDescriptionValue] = useState('');
18
+ const [descriptionError, setDescriptionError] = useState('');
19
+ const descriptionInputRef = useRef(null);
20
+ // Auto-focus the description input when editing starts
21
+ useEffect(() => {
22
+ if (isEditingDescription && descriptionInputRef.current) {
23
+ descriptionInputRef.current.focus();
24
+ }
25
+ }, [isEditingDescription]);
26
+ const handleEditDescription = () => {
27
+ setDescriptionValue(props.description?.value || '');
28
+ setDescriptionError('');
29
+ setIsEditingDescription(true);
30
+ };
31
+ const handleSaveDescription = async () => {
32
+ if (descriptionValue.length > 150) {
33
+ setDescriptionError(props.description?.errorMaxLength);
34
+ return;
35
+ }
36
+ await props.description?.updateAction(descriptionValue);
37
+ setIsEditingDescription(false);
38
+ setDescriptionError('');
39
+ };
40
+ const handleCancelDescription = () => {
41
+ setDescriptionValue(props.description?.value || '');
42
+ setDescriptionError('');
43
+ setIsEditingDescription(false);
44
+ };
45
+ const rowStyle = {
46
+ height: '61px',
47
+ maxHeight: '61px',
48
+ minHeight: '61px',
49
+ };
50
+ const renderStatusButton = () => {
51
+ if (props?.status?.value.toLowerCase() === 'suspended' &&
52
+ props?.status.wakeVisibility) {
53
+ return (_jsx(Button, { onClick: () => props.status?.wakeAction(), size: 'sm', renderIcon: Play, children: props.status.wakeLabel }));
54
+ }
55
+ if (props?.status?.sleepAction) {
56
+ return (_jsx(Button, { onClick: () => props.status?.sleepAction?.(), size: 'sm', renderIcon: Pause, children: props.status.sleepLabel }));
57
+ }
58
+ return null;
59
+ };
60
+ const renderUpdateHwPackageButton = () => {
61
+ if (props?.type?.updateHwPackageLabel &&
62
+ props?.type?.updateHwPackageAction) {
63
+ return (_jsx(C4LinkButton, { label: props.type.updateHwPackageLabel, onClick: () => props.type?.updateHwPackageAction?.() }));
64
+ }
65
+ return null;
66
+ };
67
+ const component = (_jsxs(C4TileWithTitleAndAction, { title: props.title, children: [(() => {
68
+ if (props.cta) {
69
+ return (_jsx(C4ActionableNotification, { kind: 'info', title: props.cta.title, subtitle: props.cta.text, actionButtonLabel: props.cta.actionLabel, onActionButtonClick: props.cta.action, lowContrast: true, orientation: 'vertical' }));
70
+ }
71
+ else {
72
+ return _jsx(_Fragment, {});
73
+ }
74
+ })(), _jsx(StructuredListWrapper, { children: _jsxs(StructuredListBody, { children: [_jsxs(StructuredListRow, { style: rowStyle, children: [_jsx(StructuredListCell, { noWrap: true, style: { width: '10rem' }, children: props.name.label }), _jsx(StructuredListCell, { noWrap: true, children: props.name.value })] }), props.description && (_jsxs(StructuredListRow, { style: { minHeight: isEditingDescription ? 'auto' : '61px' }, children: [_jsx(StructuredListCell, { noWrap: true, style: {
75
+ width: '10rem',
76
+ verticalAlign: 'top',
77
+ paddingTop: '1rem',
78
+ }, children: props.description.label }), _jsx(StructuredListCell, { children: isEditingDescription ? (_jsxs("div", { style: {
79
+ display: 'flex',
80
+ flexDirection: 'column',
81
+ gap: '0.5rem',
82
+ }, children: [_jsx(TextArea, { id: 'cluster-description', labelText: '', value: descriptionValue, onChange: (event) => {
83
+ setDescriptionValue(event.target.value);
84
+ setDescriptionError('');
85
+ }, placeholder: props.description.placeholder, rows: 4, invalid: descriptionError !== '', invalidText: descriptionError, ref: descriptionInputRef }), _jsxs("div", { style: { display: 'flex', gap: '0.5rem' }, children: [_jsx(Button, { size: 'sm', onClick: handleSaveDescription, children: props.description.saveLabel }), _jsx(Button, { kind: 'ghost', size: 'sm', onClick: handleCancelDescription, children: props.description.cancelLabel })] })] })) : (_jsxs("div", { style: {
86
+ display: 'inline-grid',
87
+ gridAutoFlow: 'column',
88
+ gap: '1.5rem',
89
+ alignItems: 'start',
90
+ }, children: [_jsx("span", { style: {
91
+ color: props.description.value
92
+ ? 'inherit'
93
+ : 'var(--cds-text-secondary)',
94
+ wordBreak: 'break-word',
95
+ }, children: props.description.value ||
96
+ props.description.noDescription }), (props.description.updateVisible ?? true) && (_jsx(C4LinkButton, { label: props.description.editLabel, onClick: handleEditDescription, disabled: props.description.updateDisabled ?? false }))] })) })] })), props.status && (_jsxs(StructuredListRow, { style: rowStyle, children: [_jsx(StructuredListCell, { noWrap: true, style: { width: '10rem' }, children: props.status.label }), _jsx(StructuredListCell, { noWrap: true, children: _jsxs("div", { style: {
97
+ display: 'inline-grid',
98
+ gridAutoFlow: 'column',
99
+ gap: '1.5rem',
100
+ alignItems: 'center',
101
+ }, children: [_jsx(ClusterStatusElement, { status: props.status.value.toLowerCase() }), renderStatusButton()] }) })] })), _jsxs(StructuredListRow, { style: rowStyle, children: [_jsx(StructuredListCell, { noWrap: true, children: props.generation.label }), _jsx(StructuredListCell, { children: _jsxs("div", { style: {
102
+ display: 'grid',
103
+ gridTemplateColumns: 'auto 1fr',
104
+ gap: '0.5rem',
105
+ }, children: [_jsx("p", { children: props.generation.value }), props.status?.value.toLowerCase() === 'healthy' && (_jsx(ClusterDetailsGenerationUpdate, { ...props.generation.update }))] }) })] }), props.type && (_jsxs(StructuredListRow, { style: rowStyle, children: [_jsx(StructuredListCell, { noWrap: true, children: props.type.label }), _jsx(StructuredListCell, { noWrap: true, children: _jsxs("div", { style: {
106
+ display: 'inline-grid',
107
+ gridAutoFlow: 'column',
108
+ gap: '1.5rem',
109
+ alignItems: 'center',
110
+ }, children: [props.type.value, renderUpdateHwPackageButton()] }) })] })), props.provider.value && (_jsxs(StructuredListRow, { style: rowStyle, children: [_jsx(StructuredListCell, { children: props.provider.label }), _jsx(StructuredListCell, { children: props.provider.value })] })), props.region && (_jsxs(StructuredListRow, { style: rowStyle, children: [_jsx(StructuredListCell, { noWrap: true, children: props.region.label }), _jsx(StructuredListCell, { noWrap: true, children: props.region.value })] })), props.backupRegion && (_jsxs(StructuredListRow, { style: rowStyle, children: [_jsx(StructuredListCell, { noWrap: true, children: props.backupRegion.label }), _jsx(StructuredListCell, { noWrap: true, children: props.backupRegion.value })] })), props.encryption && (_jsxs(StructuredListRow, { style: rowStyle, children: [_jsx(StructuredListCell, { noWrap: true, children: props.encryption.label }), _jsx(StructuredListCell, { noWrap: true, children: props.encryption.value })] })), props.tags && (_jsxs(StructuredListRow, { style: rowStyle, children: [_jsx(StructuredListCell, { noWrap: true, children: props.tags.label }), _jsx(StructuredListCell, { noWrap: true, children: _jsx("div", { style: {
111
+ display: 'grid',
112
+ gridTemplateColumns: 'auto 1fr',
113
+ gap: '0.5rem',
114
+ }, children: props.tags.value?.length > 0 ? (_jsxs(_Fragment, { children: [_jsx("div", { children: props.tags.value.map((tag) => (_jsx(C3ClusterTag, { stage: tag }, `cluster-tag-${tag}`))) }), props.tags.updateVisible && (_jsx(C4LinkButton, { label: props.tags.updateTagLabel, onClick: () => props.tags?.updateAction(), style: { alignSelf: 'center' }, disabled: props.tags.updateDisabled }))] })) : (props.tags.updateVisible && (_jsx(C4LinkButton, { label: props.tags.addTagLabel, onClick: () => props.tags?.updateAction(), style: { alignSelf: 'center' }, icon: _jsx(Add, {}), disabled: props.tags.updateDisabled }))) }) })] })), props.regionId && (_jsxs(StructuredListRow, { style: rowStyle, children: [_jsx(StructuredListCell, { noWrap: true, children: props.regionId.label }), _jsx(StructuredListCell, { children: _jsx(Layer, { style: { height: '0px', width: 'calc(100% - 4rem)' }, children: _jsx(CodeSnippet, { type: 'single', style: { maxWidth: '22rem' }, children: props.regionId.value }) }) })] })), props.backupRegionId && (_jsxs(StructuredListRow, { style: rowStyle, children: [_jsx(StructuredListCell, { noWrap: true, children: props.backupRegionId.label }), _jsx(StructuredListCell, { noWrap: true, children: _jsx(Layer, { style: { height: '0px', width: 'calc(100% - 4rem)' }, children: _jsx(CodeSnippet, { type: 'single', style: { maxWidth: '22rem' }, children: props.backupRegionId.value }) }) })] })), _jsxs(StructuredListRow, { style: rowStyle, children: [_jsx(StructuredListCell, { noWrap: true, children: props.id.label }), _jsx(StructuredListCell, { noWrap: true, children: _jsx(Layer, { style: { height: '0px', width: 'calc(100% - 4rem)' }, children: _jsx(CodeSnippet, { type: 'single', style: { maxWidth: '22rem' }, children: props.id.value }) }) })] }), props.created && (_jsxs(StructuredListRow, { style: rowStyle, children: [_jsx(StructuredListCell, { noWrap: true, children: props.created.label }), _jsx(StructuredListCell, { noWrap: true, children: props.created.value })] }))] }) })] }));
115
+ return component;
116
+ };
117
+ export const ClusterDetailsGenerationUpdate = (props) => {
118
+ let component = _jsx(_Fragment, {});
119
+ const latestMessage = 'No updates available - running on latest available version';
120
+ switch (props.updateType) {
121
+ case 'update-available':
122
+ component = (_jsx(Button, { onClick: () => props.updateStates.updateAvailable.action(), size: 'sm', renderIcon: UpdateNow, style: { top: '-0.4rem' }, children: props.updateStates.updateAvailable.label }));
123
+ break;
124
+ case 'update-available-no-permissions':
125
+ component = (_jsxs("div", { style: {
126
+ display: 'grid',
127
+ gridTemplateColumns: 'auto 1fr',
128
+ gap: '0.5rem',
129
+ alignItems: 'start',
130
+ }, children: [_jsx(Button, { size: 'sm', renderIcon: UpdateNow, style: { top: '-0.4rem' }, disabled: true, children: props.updateStates.updateAvailableNoPermission.label }), _jsx("p", { style: { wordBreak: 'break-word', overflowWrap: 'break-word' }, children: props.updateStates.updateAvailableNoPermission.description })] }));
131
+ break;
132
+ case 'update-available-wait-needed':
133
+ component = (_jsxs("div", { style: {
134
+ display: 'grid',
135
+ gridTemplateColumns: 'auto 1fr',
136
+ gap: '0.5rem',
137
+ alignItems: 'start',
138
+ }, children: [_jsx(Button, { size: 'sm', renderIcon: UpdateNow, style: { top: '-0.4rem' }, disabled: true, children: props.updateStates.updateAvailableWaitNeeded.label }), _jsx("p", { style: { wordBreak: 'break-word', overflowWrap: 'break-word' }, children: props.updateStates.updateAvailableWaitNeeded.description })] }));
139
+ break;
140
+ case 'no-update-latest': {
141
+ const rawLabel = props.updateStates.noUpdateLatest.label.trim();
142
+ const looksLikeTranslationKey = rawLabel.includes('clusterdetails:') ||
143
+ rawLabel.includes('noUpdate') ||
144
+ /^[a-z]+(\.[a-z0-9]+)+$/.test(rawLabel);
145
+ const resolvedNoUpdateLatestLabel = !rawLabel || rawLabel === 'Latest version' || looksLikeTranslationKey
146
+ ? latestMessage
147
+ : rawLabel;
148
+ component = (_jsxs("div", { style: {
149
+ display: 'grid',
150
+ gridTemplateColumns: 'auto 1fr',
151
+ gap: '0.5rem',
152
+ alignItems: 'start',
153
+ }, children: [_jsx(Information, {}), _jsx("p", { style: { wordBreak: 'break-word', overflowWrap: 'break-word' }, children: resolvedNoUpdateLatestLabel })] }));
154
+ break;
155
+ }
156
+ case 'no-update-refresh':
157
+ component = (_jsxs("div", { style: {
158
+ display: 'grid',
159
+ gridTemplateColumns: '16px auto 1fr',
160
+ gap: '0.5rem',
161
+ alignItems: 'start',
162
+ }, children: [_jsx(Information, {}), _jsx("p", { style: { wordBreak: 'break-word', overflowWrap: 'break-word' }, children: props.updateStates.noUpdateRefresh.label }), _jsx("div", { children: _jsx(IconButton, { label: 'Refresh', onClick: () => props.updateStates.noUpdateRefresh.action(), kind: 'ghost', style: { top: '-0.2rem' }, size: 'xs', children: _jsx(Renew, {}) }) })] }));
163
+ break;
164
+ case 'creating':
165
+ case 'updating':
166
+ component = _jsx(_Fragment, {});
167
+ break;
168
+ }
169
+ return component;
170
+ };
@@ -0,0 +1,35 @@
1
+ import { type JSX } from 'react';
2
+ interface ClusterLoadDataPoint {
3
+ ts: number;
4
+ avg: number;
5
+ min: number;
6
+ max: number;
7
+ }
8
+ export interface ClusterLoadProps {
9
+ texts: {
10
+ title: string;
11
+ last: string;
12
+ day30: string;
13
+ day7: string;
14
+ last24h: string;
15
+ current: string;
16
+ clusterLoadTooltip: string;
17
+ docs: string;
18
+ };
19
+ values: {
20
+ latest: ClusterLoadDataPoint;
21
+ perDay: ClusterLoadDataPoint[];
22
+ last24h: ClusterLoadDataPoint[];
23
+ };
24
+ docs: {
25
+ url: string;
26
+ onClick: () => void;
27
+ };
28
+ theme?: any;
29
+ suspended?: boolean;
30
+ reload: () => void;
31
+ loading?: boolean;
32
+ }
33
+ export declare const ClusterLoad: (props: ClusterLoadProps) => JSX.Element;
34
+ export declare const MeterVisualization: (props: ClusterLoadProps) => JSX.Element;
35
+ export {};
@@ -0,0 +1,38 @@
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. Licensed under a commercial license.
4
+ * You may not use this file except in compliance with the commercial license.
5
+ */
6
+ import { describe, expect, it } from 'vitest';
7
+ // Helper function to format numbers (same as in cluster-load.tsx)
8
+ function formatNumber(number) {
9
+ return new Intl.NumberFormat('en-US', {
10
+ minimumFractionDigits: 2,
11
+ maximumFractionDigits: 2,
12
+ }).format(number);
13
+ }
14
+ describe('formatNumber', () => {
15
+ it('should format small decimal values to 2 decimal places', () => {
16
+ // Test values that would show precision issues with maximumSignificantDigits
17
+ expect(formatNumber(0.45)).toBe('0.45');
18
+ expect(formatNumber(0.35)).toBe('0.35');
19
+ });
20
+ it('should format whole numbers with 2 decimal places', () => {
21
+ expect(formatNumber(25)).toBe('25.00');
22
+ expect(formatNumber(100)).toBe('100.00');
23
+ });
24
+ it('should format values with exactly 2 decimal places', () => {
25
+ expect(formatNumber(0.45)).toBe('0.45');
26
+ expect(formatNumber(25.5)).toBe('25.50');
27
+ });
28
+ it('should round values correctly', () => {
29
+ expect(formatNumber(0.444)).toBe('0.44');
30
+ expect(formatNumber(0.445)).toBe('0.45');
31
+ expect(formatNumber(0.446)).toBe('0.45');
32
+ });
33
+ it('should handle edge cases', () => {
34
+ expect(formatNumber(0)).toBe('0.00');
35
+ expect(formatNumber(0.01)).toBe('0.01');
36
+ expect(formatNumber(99.99)).toBe('99.99');
37
+ });
38
+ });