@camunda/ccma-saas-frontend 0.4.0 → 0.6.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 (389) hide show
  1. package/README.md +24 -1
  2. package/lib/esm/components/c4-activity-graph/c4-activity-graph.d.ts +1 -1
  3. package/lib/esm/components/c4-advanced-search-filters/ArrayFieldContainer.d.ts +2 -2
  4. package/lib/esm/components/c4-advanced-search-filters/FieldRow.d.ts +2 -2
  5. package/lib/esm/components/c4-advanced-search-filters/FiltersSection.d.ts +2 -2
  6. package/lib/esm/components/c4-advanced-search-filters/OrSection.d.ts +2 -2
  7. package/lib/esm/components/c4-advanced-search-filters/c4-advanced-search-filters.d.ts +1 -1
  8. package/lib/esm/components/c4-advanced-search-filters/state.types.d.ts +1 -1
  9. package/lib/esm/components/c4-advanced-search-filters/utils.d.ts +1 -1
  10. package/lib/esm/components/c4-ai-usage/c4-ai-usage.d.ts +1 -1
  11. package/lib/esm/components/c4-alpha-cluster-at-checkout/c4-alpha-cluster-at-checkout.d.ts +1 -1
  12. package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.d.ts +1 -1
  13. package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.d.ts +1 -1
  14. package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.types.d.ts +1 -1
  15. package/lib/esm/components/c4-async-modal/c4-async-modal.d.ts +1 -1
  16. package/lib/esm/components/c4-audit-log/c4-audit-log.d.ts +1 -1
  17. package/lib/esm/components/c4-billing-page/c4-billing-page.d.ts +1 -1
  18. package/lib/esm/components/c4-billing-page/c4-billing-page.mocks.d.ts +1 -1
  19. package/lib/esm/components/c4-billing-page/c4-billing-page.types.d.ts +4 -4
  20. package/lib/esm/components/c4-billing-page/elements/current-usage-metrics.d.ts +4 -3
  21. package/lib/esm/components/c4-billing-page/elements/current-usage-metrics.js +6 -1
  22. package/lib/esm/components/c4-bottom-links/c4-bottom-links.d.ts +1 -1
  23. package/lib/esm/components/c4-bottom-links/c4-bottom-links.types.d.ts +1 -1
  24. package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.d.ts +1 -1
  25. package/lib/esm/components/c4-charts-dashboard/c4-charts-dashboard.d.ts +1 -1
  26. package/lib/esm/components/c4-charts-dashboard/elements/alluvial-chart.d.ts +1 -1
  27. package/lib/esm/components/c4-charts-dashboard/elements/bar-chart.d.ts +1 -1
  28. package/lib/esm/components/c4-charts-dashboard/elements/bar-chart.js +2 -2
  29. package/lib/esm/components/c4-charts-dashboard/elements/line-chart.d.ts +1 -1
  30. package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.d.ts +1 -1
  31. package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.d.ts +1 -1
  32. package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.js +1 -1
  33. package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.d.ts +1 -1
  34. package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.js +1 -1
  35. package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.d.ts +1 -1
  36. package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.d.ts +1 -1
  37. package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.mocks.d.ts +1 -1
  38. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.d.ts +1 -1
  39. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.mocks.d.ts +1 -1
  40. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.d.ts +1 -1
  41. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.mocks.d.ts +1 -1
  42. package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.d.ts +2 -2
  43. package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.js +24 -1
  44. package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.types.d.ts +14 -1
  45. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.d.ts +1 -1
  46. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.js +22 -2
  47. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.mocks.d.ts +1 -1
  48. package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.d.ts +2 -2
  49. package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.js +4 -2
  50. package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.types.d.ts +2 -0
  51. package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.d.ts +1 -1
  52. package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.mocks.d.ts +1 -1
  53. package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.d.ts +1 -1
  54. package/lib/esm/components/c4-cluster-list/c4-cluster-list.d.ts +2 -2
  55. package/lib/esm/components/c4-cluster-list/c4-cluster-list.js +29 -11
  56. package/lib/esm/components/c4-cluster-list/c4-cluster-list.mocks.d.ts +1 -1
  57. package/lib/esm/components/c4-cluster-list/c4-cluster-list.types.d.ts +6 -0
  58. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.d.ts +1 -1
  59. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.mocks.d.ts +3 -3
  60. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.types.d.ts +4 -4
  61. package/lib/esm/components/c4-cluster-overview/cluster-details.d.ts +2 -0
  62. package/lib/esm/components/c4-cluster-overview/cluster-details.js +10 -1
  63. package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.d.ts +1 -1
  64. package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.mocks.d.ts +8 -8
  65. package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.types.d.ts +5 -5
  66. package/lib/esm/components/c4-cluster-settings/elements/cluster-settings.d.ts +11 -11
  67. package/lib/esm/components/c4-cluster-settings/elements/tasklist-mode-settings.d.ts +1 -1
  68. package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.d.ts +1 -1
  69. package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.d.ts +1 -1
  70. package/lib/esm/components/c4-clusters-trial-notification/c4-clusters-trial-notification.d.ts +1 -1
  71. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.d.ts +1 -1
  72. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.js +26 -5
  73. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.mocks.d.ts +1 -1
  74. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.mocks.js +1 -0
  75. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.types.d.ts +1 -0
  76. package/lib/esm/components/c4-console-dashboard/elements/empty-state.d.ts +1 -1
  77. package/lib/esm/components/c4-convert-trial-organization-modal/c4-convert-trial-organization-modal.d.ts +1 -1
  78. package/lib/esm/components/c4-convert-trial-organization-modal/c4-convert-trial-organization-modal.types.d.ts +1 -1
  79. package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.d.ts +1 -1
  80. package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.mocks.d.ts +1 -1
  81. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.js +16 -1
  82. package/lib/esm/components/c4-create-cluster/c4-create-cluster.d.ts +1 -1
  83. package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +5 -2
  84. package/lib/esm/components/c4-create-cluster/c4-create-cluster.mocks.d.ts +1 -1
  85. package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.d.ts +1 -1
  86. package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.mocks.d.ts +1 -1
  87. package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.d.ts +1 -1
  88. package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.mocks.d.ts +1 -1
  89. package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.d.ts +1 -1
  90. package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.mocks.d.ts +1 -1
  91. package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.d.ts +1 -1
  92. package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.mocks.d.ts +1 -1
  93. package/lib/esm/components/c4-create-trial-organization-modal/c4-create-trial-organization-modal.d.ts +1 -1
  94. package/lib/esm/components/c4-dashboard-first-launch/c4-dashboard-first-launch.d.ts +1 -1
  95. package/lib/esm/components/c4-dashboard-first-launch/c4-dashboard-first-launch.types.d.ts +1 -1
  96. package/lib/esm/components/c4-delete-organization-modal/c4-delete-organization-modal.d.ts +1 -1
  97. package/lib/esm/components/c4-divider/c4-divider.d.ts +1 -1
  98. package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.d.ts +1 -1
  99. package/lib/esm/components/c4-external-link/c4-external-link.d.ts +1 -1
  100. package/lib/esm/components/c4-help-center/c4-help-center.d.ts +1 -1
  101. package/lib/esm/components/c4-info-tooltip/c4-info-tooltip.d.ts +1 -1
  102. package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.d.ts +1 -1
  103. package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.js +15 -53
  104. package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.types.d.ts +1 -0
  105. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.d.ts +1 -1
  106. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.mocks.d.ts +1 -1
  107. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.types.d.ts +4 -4
  108. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.d.ts +2 -2
  109. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.d.ts +3 -3
  110. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.d.ts +3 -3
  111. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.d.ts +2 -2
  112. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.d.ts +1 -1
  113. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.types.d.ts +2 -2
  114. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.d.ts +1 -1
  115. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.mocks.d.ts +1 -1
  116. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.types.d.ts +4 -4
  117. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.d.ts +1 -1
  118. package/lib/esm/components/c4-job-dashboard-shared/c4-stories-data-generator.d.ts +2 -2
  119. package/lib/esm/components/c4-leave-organization-modal/c4-leave-organization-modal.d.ts +1 -1
  120. package/lib/esm/components/c4-link-button/c4-link-button.d.ts +1 -1
  121. package/lib/esm/components/c4-llm-usage-meter/c4-llm-usage-meter.d.ts +1 -1
  122. package/lib/esm/components/c4-management-activity/c4-management-activity.d.ts +1 -1
  123. package/lib/esm/components/c4-management-activity/c4-management-activity.mocks.d.ts +1 -1
  124. package/lib/esm/components/c4-management-api/c4-management-api.d.ts +1 -1
  125. package/lib/esm/components/c4-management-api/c4-management-api.mocks.d.ts +1 -1
  126. package/lib/esm/components/c4-management-overview/c4-management-overview.d.ts +1 -1
  127. package/lib/esm/components/c4-management-settings/c4-management-settings.d.ts +1 -1
  128. package/lib/esm/components/c4-management-users/c4-management-users.d.ts +1 -1
  129. package/lib/esm/components/c4-multi-step-modal/c4-multi-step-modal.d.ts +1 -1
  130. package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.d.ts +1 -1
  131. package/lib/esm/components/c4-navigation/c4-navigation.d.ts +2 -2
  132. package/lib/esm/components/c4-number-input/c4-number-input.d.ts +1 -1
  133. package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.d.ts +1 -1
  134. package/lib/esm/components/c4-optimize-activation-modal/c4-optimize-activation-modal.d.ts +1 -1
  135. package/lib/esm/components/c4-page-template/c4-page-template.d.ts +9 -4
  136. package/lib/esm/components/c4-page-template/c4-page-template.js +1 -1
  137. package/lib/esm/components/c4-permission-error-page/c4-permission-error-page.d.ts +1 -1
  138. package/lib/esm/components/c4-pricing/c4-pricing.d.ts +1 -1
  139. package/lib/esm/components/c4-pricing/c4-pricing.types.d.ts +1 -1
  140. package/lib/esm/components/c4-pricing-card/c4-pricing-card.d.ts +1 -1
  141. package/lib/esm/components/c4-pricing-card/c4-pricing-card.utils.d.ts +1 -1
  142. package/lib/esm/components/c4-rename-organization-modal/c4-rename-organization-modal.d.ts +1 -1
  143. package/lib/esm/components/c4-search/c4-search-results.d.ts +1 -1
  144. package/lib/esm/components/c4-search/c4-search-results.types.d.ts +1 -1
  145. package/lib/esm/components/c4-search/c4-search.d.ts +2 -2
  146. package/lib/esm/components/c4-search/c4-search.types.d.ts +1 -1
  147. package/lib/esm/components/c4-search/search.utils.d.ts +3 -3
  148. package/lib/esm/components/c4-sm-cluster-details/automation-components.d.ts +1 -1
  149. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.d.ts +1 -1
  150. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.types.d.ts +3 -3
  151. package/lib/esm/components/c4-sm-cluster-details/custom-properties.d.ts +1 -1
  152. package/lib/esm/components/c4-sm-cluster-details/details.d.ts +1 -1
  153. package/lib/esm/components/c4-sm-cluster-details/zeebe-components.d.ts +1 -1
  154. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.d.ts +1 -1
  155. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.types.d.ts +2 -2
  156. package/lib/esm/components/c4-sm-dashboard/cluster-tile.d.ts +1 -1
  157. package/lib/esm/components/c4-sm-dashboard/explore.d.ts +1 -1
  158. package/lib/esm/components/c4-sm-dashboard/health-status.d.ts +1 -1
  159. package/lib/esm/components/c4-sm-dashboard/overview.d.ts +1 -1
  160. package/lib/esm/components/c4-stat/c4-stat.d.ts +1 -1
  161. package/lib/esm/components/c4-stateful-button/c4-stateful-button.d.ts +1 -1
  162. package/lib/esm/components/c4-structured-list/c4-structured-list.js +15 -1
  163. package/lib/esm/components/c4-tabs/c4-tabs.d.ts +1 -1
  164. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.d.ts +1 -1
  165. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.types.d.ts +1 -1
  166. package/lib/esm/components/c4-telemetry-page/telemetry-for-component.d.ts +2 -2
  167. package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.d.ts +1 -1
  168. package/lib/esm/components/c4-theme-switcher/c4-theme-switcher.d.ts +1 -1
  169. package/lib/esm/components/c4-tile-with-title-and-action/c4-tile-with-title-and-action.d.ts +1 -1
  170. package/lib/esm/components/c4-toggle/c4-toggle.d.ts +1 -1
  171. package/lib/esm/components/c4-tsuga-links/c4-tsuga-links.d.ts +8 -0
  172. package/lib/esm/components/c4-tsuga-links/c4-tsuga-links.js +18 -0
  173. package/lib/esm/components/c4-tsuga-links/c4-tsuga-links.types.d.ts +15 -0
  174. package/lib/esm/components/c4-tsuga-links/tsuga-logs-url.d.ts +5 -0
  175. package/lib/esm/components/c4-tsuga-links/tsuga-logs-url.js +36 -0
  176. package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.d.ts +1 -1
  177. package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.utils.d.ts +1 -1
  178. package/lib/esm/components/c4-usage-alert-update-modal/c4-usage-alert-update-modal.d.ts +1 -1
  179. package/lib/esm/components/c4-usage-history/c4-usage-history.d.ts +1 -1
  180. package/lib/esm/components/c4-usage-history/c4-usage-history.types.d.ts +1 -1
  181. package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.d.ts +1 -1
  182. package/lib/esm/components/c4-user-details/c4-user-details.d.ts +1 -1
  183. package/lib/esm/components/c4-user-details/c4-user-details.types.d.ts +3 -3
  184. package/lib/esm/components/shared-charts/ds-line-chart.js +2 -2
  185. package/lib/esm/components/shared-charts/recharts-tokens.d.ts +29 -2
  186. package/lib/esm/components/shared-charts/recharts-tokens.js +54 -6
  187. package/lib/esm/externalUrls.const.d.ts +6 -6
  188. package/lib/esm/i18n/en/entities/orgroles.json +28 -0
  189. package/lib/esm/i18n/en/modals/backups.json +2 -0
  190. package/lib/esm/i18n/en/modals/users.json +0 -1
  191. package/lib/esm/i18n/en/pages/clusterdetails.json +15 -3
  192. package/lib/esm/i18n/en/pages/clusters.json +4 -1
  193. package/lib/esm/i18n/en/pages/dashboard.json +1 -0
  194. package/lib/esm/i18n/en/pages/orgmanagement.json +8 -0
  195. package/lib/esm/icons/c4-icons.d.ts +1 -1
  196. package/lib/esm/index.d.ts +237 -253
  197. package/lib/esm/index.js +6 -11
  198. package/lib/esm/modals/c4-create-cluster-api-client-modal-handle.d.ts +1 -1
  199. package/lib/esm/modals/c4-create-connector-secret-modal-handle.d.ts +1 -1
  200. package/lib/esm/modals/c4-create-console-api-client-modal-handle.d.ts +1 -1
  201. package/lib/esm/modals/c4-invite-user-to-organization-modal-handle.d.ts +1 -1
  202. package/lib/esm/modals/c4-rename-organization-modal-handle.d.ts +1 -1
  203. package/lib/esm/notifications/c4-console-notifications-handle.d.ts +1 -1
  204. package/lib/esm/runtime/build-cluster-swagger-url.d.ts +1 -1
  205. package/lib/esm/runtime/c4-console-data-context.d.ts +2 -2
  206. package/lib/esm/runtime/c4-console-data-store.d.ts +1 -1
  207. package/lib/esm/runtime/c4-console-notifications-context.d.ts +1 -1
  208. package/lib/esm/runtime/c4-console-runtime-context.d.ts +1 -1
  209. package/lib/esm/runtime/c4-user-notifications-context.d.ts +1 -1
  210. package/lib/esm/runtime/index.d.ts +40 -0
  211. package/lib/esm/runtime/index.js +18 -0
  212. package/lib/esm/runtime/nav/use-webapp-nav-data.d.ts +18 -0
  213. package/lib/esm/runtime/nav/use-webapp-nav-data.js +39 -15
  214. package/lib/esm/runtime/to-api-config.d.ts +1 -1
  215. package/lib/esm/runtime/to-api-domain.d.ts +1 -1
  216. package/lib/esm/runtime/to-identity-api-base-url.d.ts +1 -1
  217. package/lib/esm/ui/c4-modal-dialog.js +16 -3
  218. package/lib/esm/ui/index.d.ts +2 -2
  219. package/lib/esm/ui/index.js +28 -2
  220. package/lib/esm/utils/role-labels.d.ts +38 -0
  221. package/lib/esm/utils/role-labels.js +160 -0
  222. package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.d.ts +1 -1
  223. package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.types.d.ts +1 -1
  224. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.d.ts +1 -1
  225. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +66 -4
  226. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.d.ts +1 -1
  227. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.js +8 -0
  228. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.types.d.ts +4 -1
  229. package/lib/esm/widgets/cluster-details/cluster-details-tabs.d.ts +1 -1
  230. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-activity-tab.d.ts +1 -1
  231. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-alerts-tab.d.ts +1 -1
  232. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-audit-log-tab.d.ts +1 -1
  233. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.d.ts +1 -1
  234. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.d.ts +5 -0
  235. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.js +4 -4
  236. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.d.ts +2 -0
  237. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.js +16 -3
  238. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.d.ts +20 -1
  239. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.js +134 -63
  240. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.d.ts +1 -1
  241. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +21 -7
  242. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.d.ts +1 -1
  243. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +111 -47
  244. package/lib/esm/widgets/cluster-details/tabs/use-restart-confirm.d.ts +36 -0
  245. package/lib/esm/widgets/cluster-details/tabs/use-restart-confirm.js +58 -0
  246. package/lib/esm/widgets/clusters/c4-clusters-page.d.ts +1 -1
  247. package/lib/esm/widgets/clusters/c4-clusters-page.js +20 -3
  248. package/lib/esm/widgets/clusters/c4-clusters-page.types.d.ts +5 -1
  249. package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.d.ts +1 -1
  250. package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.d.ts +1 -1
  251. package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.d.ts +1 -1
  252. package/lib/esm/widgets/connector-management/c4-connector-management-page.d.ts +1 -1
  253. package/lib/esm/widgets/create-cluster/c4-create-cluster-page.d.ts +1 -1
  254. package/lib/esm/widgets/dashboard/c4-dashboard-app.d.ts +1 -1
  255. package/lib/esm/widgets/dashboard/c4-dashboard-app.js +1 -0
  256. package/lib/esm/widgets/group-details/c4-group-details-page.d.ts +1 -1
  257. package/lib/esm/widgets/job-worker/c4-job-worker-details-page.d.ts +1 -1
  258. package/lib/esm/widgets/job-worker/c4-job-worker-overview-page.d.ts +1 -1
  259. package/lib/esm/widgets/job-worker/c4-job-worker.helpers.d.ts +1 -1
  260. package/lib/esm/widgets/management/c4-management-app.d.ts +2 -2
  261. package/lib/esm/widgets/management/c4-management-app.js +157 -55
  262. package/lib/esm/widgets/management/c4-management-app.types.d.ts +18 -1
  263. package/lib/esm/widgets/management/c4-management-page.d.ts +1 -1
  264. package/lib/esm/widgets/management/c4-management-page.types.d.ts +1 -1
  265. package/lib/esm/widgets/management/tabs/c4-management-activity-tab.d.ts +1 -1
  266. package/lib/esm/widgets/management/tabs/c4-management-api-tab.d.ts +1 -1
  267. package/lib/esm/widgets/management/tabs/c4-management-billing-tab.d.ts +3 -0
  268. package/lib/esm/widgets/management/tabs/c4-management-billing-tab.js +19 -3
  269. package/lib/esm/widgets/management/tabs/c4-management-pricing-tab.d.ts +1 -1
  270. package/lib/esm/widgets/management/tabs/c4-management-settings-tab.d.ts +1 -1
  271. package/lib/esm/widgets/management/tabs/c4-management-usage-tab.d.ts +1 -1
  272. package/lib/esm/widgets/management/tabs/c4-management-users-tab.d.ts +5 -8
  273. package/lib/esm/widgets/management/tabs/c4-management-users-tab.js +98 -93
  274. package/lib/esm/widgets/user-details/c4-user-details-page.d.ts +2 -2
  275. package/lib/esm/widgets/user-details/c4-user-details-page.js +46 -85
  276. package/lib/esm/widgets/user-details/c4-user-details-page.types.d.ts +2 -0
  277. package/package.json +46 -29
  278. package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.spec.d.ts +0 -1
  279. package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.spec.js +0 -43
  280. package/lib/esm/components/c4-billing-page/elements/value-metric.spec.d.ts +0 -1
  281. package/lib/esm/components/c4-billing-page/elements/value-metric.spec.js +0 -67
  282. package/lib/esm/components/c4-cluster-list/c4-cluster-list.spec.d.ts +0 -1
  283. package/lib/esm/components/c4-cluster-list/c4-cluster-list.spec.js +0 -132
  284. package/lib/esm/components/c4-cluster-list/c4-cluster-list.waiting.spec.d.ts +0 -1
  285. package/lib/esm/components/c4-cluster-list/c4-cluster-list.waiting.spec.js +0 -87
  286. package/lib/esm/components/c4-cluster-overview/applications.spec.d.ts +0 -1
  287. package/lib/esm/components/c4-cluster-overview/applications.spec.js +0 -58
  288. package/lib/esm/components/c4-cluster-overview/cluster-load.formatNumber.test.d.ts +0 -1
  289. package/lib/esm/components/c4-cluster-overview/cluster-load.formatNumber.test.js +0 -38
  290. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.spec.d.ts +0 -1
  291. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.spec.js +0 -93
  292. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.spec.d.ts +0 -1
  293. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.spec.js +0 -50
  294. package/lib/esm/components/c4-cluster-settings/elements/multi-tenancy.spec.d.ts +0 -1
  295. package/lib/esm/components/c4-cluster-settings/elements/multi-tenancy.spec.js +0 -42
  296. package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.spec.d.ts +0 -1
  297. package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.spec.js +0 -120
  298. package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.spec.d.ts +0 -1
  299. package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.spec.js +0 -40
  300. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.spec.d.ts +0 -1
  301. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.spec.js +0 -83
  302. package/lib/esm/components/c4-create-cluster/c4-create-cluster.spec.d.ts +0 -1
  303. package/lib/esm/components/c4-create-cluster/c4-create-cluster.spec.js +0 -350
  304. package/lib/esm/components/c4-data-table/c4-data-table.spec.d.ts +0 -1
  305. package/lib/esm/components/c4-data-table/c4-data-table.spec.js +0 -122
  306. package/lib/esm/components/c4-data-table/c4-data-table.stability.spec.d.ts +0 -1
  307. package/lib/esm/components/c4-data-table/c4-data-table.stability.spec.js +0 -151
  308. package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.spec.d.ts +0 -1
  309. package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.spec.js +0 -33
  310. package/lib/esm/components/c4-page-template/c4-page-template.spec.d.ts +0 -1
  311. package/lib/esm/components/c4-page-template/c4-page-template.spec.js +0 -58
  312. package/lib/esm/components/c4-page-template/c4-page-template.stories.d.ts +0 -6
  313. package/lib/esm/components/c4-page-template/c4-page-template.stories.js +0 -73
  314. package/lib/esm/components/c4-stackdriver-links/c4-stackdriver-links.d.ts +0 -3
  315. package/lib/esm/components/c4-stackdriver-links/c4-stackdriver-links.js +0 -25
  316. package/lib/esm/components/c4-stackdriver-links/c4-stackdriver-links.types.d.ts +0 -12
  317. package/lib/esm/components/c4-tabs/c4-tabs.spec.d.ts +0 -1
  318. package/lib/esm/components/c4-tabs/c4-tabs.spec.js +0 -97
  319. package/lib/esm/components/c4-tabs/c4-tabs.stories.d.ts +0 -6
  320. package/lib/esm/components/c4-tabs/c4-tabs.stories.js +0 -35
  321. package/lib/esm/components/shared-charts/ds-charts.smoke.spec.d.ts +0 -1
  322. package/lib/esm/components/shared-charts/ds-charts.smoke.spec.js +0 -47
  323. package/lib/esm/externalUrls.const.spec.d.ts +0 -1
  324. package/lib/esm/externalUrls.const.spec.js +0 -102
  325. package/lib/esm/runtime/c4-console-authz.spec.d.ts +0 -1
  326. package/lib/esm/runtime/c4-console-authz.spec.js +0 -202
  327. package/lib/esm/runtime/c4-console-data-context.spec.d.ts +0 -1
  328. package/lib/esm/runtime/c4-console-data-context.spec.js +0 -354
  329. package/lib/esm/runtime/c4-console-data-store.nav.spec.d.ts +0 -1
  330. package/lib/esm/runtime/c4-console-data-store.nav.spec.js +0 -122
  331. package/lib/esm/runtime/c4-console-data-store.spec.d.ts +0 -1
  332. package/lib/esm/runtime/c4-console-data-store.spec.js +0 -409
  333. package/lib/esm/runtime/c4-user-notifications-context.spec.d.ts +0 -1
  334. package/lib/esm/runtime/c4-user-notifications-context.spec.js +0 -82
  335. package/lib/esm/runtime/nav/camunda-apps.spec.d.ts +0 -1
  336. package/lib/esm/runtime/nav/camunda-apps.spec.js +0 -90
  337. package/lib/esm/runtime/nav/use-webapp-nav-data.spec.d.ts +0 -1
  338. package/lib/esm/runtime/nav/use-webapp-nav-data.spec.js +0 -91
  339. package/lib/esm/setupTests.d.ts +0 -1
  340. package/lib/esm/setupTests.js +0 -37
  341. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.merge.spec.d.ts +0 -1
  342. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.merge.spec.js +0 -49
  343. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.permissions.spec.d.ts +0 -1
  344. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.permissions.spec.js +0 -471
  345. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.spec.d.ts +0 -1
  346. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.spec.js +0 -95
  347. package/lib/esm/widgets/cluster-details/cluster-details-tabs.spec.d.ts +0 -1
  348. package/lib/esm/widgets/cluster-details/cluster-details-tabs.spec.js +0 -33
  349. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-alerts-tab.spec.d.ts +0 -1
  350. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-alerts-tab.spec.js +0 -72
  351. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.spec.d.ts +0 -1
  352. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.spec.js +0 -85
  353. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.mcp.spec.d.ts +0 -1
  354. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.mcp.spec.js +0 -105
  355. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.spec.d.ts +0 -1
  356. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.spec.js +0 -226
  357. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.spec.d.ts +0 -1
  358. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.spec.js +0 -179
  359. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.spec.d.ts +0 -1
  360. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.spec.js +0 -1255
  361. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.spec.d.ts +0 -1
  362. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.spec.js +0 -397
  363. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.spec.d.ts +0 -1
  364. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.spec.js +0 -488
  365. package/lib/esm/widgets/cluster-details/tabs/url-utils.test.d.ts +0 -1
  366. package/lib/esm/widgets/cluster-details/tabs/url-utils.test.js +0 -34
  367. package/lib/esm/widgets/clusters/c4-clusters-page.spec.d.ts +0 -1
  368. package/lib/esm/widgets/clusters/c4-clusters-page.spec.js +0 -502
  369. package/lib/esm/widgets/connector-management/c4-connector-management-page.spec.d.ts +0 -1
  370. package/lib/esm/widgets/connector-management/c4-connector-management-page.spec.js +0 -226
  371. package/lib/esm/widgets/create-cluster/c4-create-cluster-page.spec.d.ts +0 -1
  372. package/lib/esm/widgets/create-cluster/c4-create-cluster-page.spec.js +0 -191
  373. package/lib/esm/widgets/group-details/c4-group-details-page.spec.d.ts +0 -1
  374. package/lib/esm/widgets/group-details/c4-group-details-page.spec.js +0 -35
  375. package/lib/esm/widgets/management/c4-management-app.spec.d.ts +0 -1
  376. package/lib/esm/widgets/management/c4-management-app.spec.js +0 -509
  377. package/lib/esm/widgets/management/c4-management-page.spec.d.ts +0 -1
  378. package/lib/esm/widgets/management/c4-management-page.spec.js +0 -40
  379. package/lib/esm/widgets/management/management-tabs.spec.d.ts +0 -1
  380. package/lib/esm/widgets/management/management-tabs.spec.js +0 -28
  381. package/lib/esm/widgets/management/tabs/c4-management-billing-tab.spec.d.ts +0 -1
  382. package/lib/esm/widgets/management/tabs/c4-management-billing-tab.spec.js +0 -246
  383. package/lib/esm/widgets/management/tabs/c4-management-users-tab.spec.d.ts +0 -1
  384. package/lib/esm/widgets/management/tabs/c4-management-users-tab.spec.js +0 -225
  385. package/lib/esm/widgets/use-extend-trial.spec.d.ts +0 -1
  386. package/lib/esm/widgets/use-extend-trial.spec.js +0 -79
  387. package/lib/esm/widgets/user-details/c4-user-details-page.spec.d.ts +0 -1
  388. package/lib/esm/widgets/user-details/c4-user-details-page.spec.js +0 -65
  389. /package/lib/esm/components/{c4-stackdriver-links/c4-stackdriver-links.types.js → c4-tsuga-links/c4-tsuga-links.types.js} +0 -0
@@ -0,0 +1,160 @@
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 { LegacyHeldOrganizationRole, OrganizationRole, } from '@camunda/ccma-shared-types';
7
+ function safeTranslate(t, key, defaultValue) {
8
+ if (!t)
9
+ return defaultValue;
10
+ try {
11
+ const translated = t(key);
12
+ return typeof translated === 'string' && translated !== key
13
+ ? translated
14
+ : defaultValue;
15
+ }
16
+ catch {
17
+ return defaultValue;
18
+ }
19
+ }
20
+ // Historical UI order of the 8.7-cluster roles section.
21
+ const LEGACY_SECTION_ROLES = [
22
+ OrganizationRole.VISITOR,
23
+ OrganizationRole.OPERATIONS_ENGINEER,
24
+ OrganizationRole.TASK_USER,
25
+ OrganizationRole.DEVELOPER,
26
+ ];
27
+ const LEGACY_HELD_ROLES = new Set(LegacyHeldOrganizationRole);
28
+ /**
29
+ * Under the aligned model Operations engineer becomes the go-forward DevOps role
30
+ * (camunda-hub#25467), so it stops being a legacy role: callers list it among the
31
+ * primary roles instead, and the legacy rules below no longer match it. Single
32
+ * source of truth, so there is no per-rule exception for it.
33
+ */
34
+ function isLegacyRole(role, permissionsReworkEnabled) {
35
+ if (permissionsReworkEnabled &&
36
+ role === OrganizationRole.OPERATIONS_ENGINEER) {
37
+ return false;
38
+ }
39
+ return LEGACY_HELD_ROLES.has(role);
40
+ }
41
+ /** The 8.7-cluster legacy section, minus anything the aligned model promotes. */
42
+ export function legacySectionRoles(permissionsReworkEnabled) {
43
+ return LEGACY_SECTION_ROLES.filter((role) => isLegacyRole(role, permissionsReworkEnabled));
44
+ }
45
+ const ALIGNED_PRIMARY_ORDER = [
46
+ OrganizationRole.MODELER,
47
+ OrganizationRole.ANALYST,
48
+ OrganizationRole.OPERATIONS_ENGINEER,
49
+ OrganizationRole.ADMIN,
50
+ OrganizationRole.OWNER,
51
+ ];
52
+ /**
53
+ * Order a primary-role list for display. A no-op when the aligned model is off;
54
+ * unranked roles keep their relative position after the ranked ones.
55
+ */
56
+ export function orderPrimaryRoles(roles, permissionsReworkEnabled) {
57
+ if (!permissionsReworkEnabled) {
58
+ return [...roles];
59
+ }
60
+ const rank = (role) => {
61
+ const index = ALIGNED_PRIMARY_ORDER.indexOf(role);
62
+ return index === -1 ? ALIGNED_PRIMARY_ORDER.length : index;
63
+ };
64
+ return [...roles]
65
+ .map((role, index) => ({ role, index }))
66
+ .sort((a, b) => rank(a.role) - rank(b.role) || a.index - b.index)
67
+ .map(({ role }) => role);
68
+ }
69
+ /**
70
+ * Whether a role may be offered for new assignment. MEMBER predates the cluster
71
+ * roles and is never newly assignable, only removable from a holder. A legacy
72
+ * role is offered freely while the org has an 8.7-or-older cluster, and stays
73
+ * offered to a holder either way so it can be removed. Every other role (the
74
+ * primary/ladder roles, and DevOps once promoted out of the legacy set) is
75
+ * freely assignable regardless of cluster version.
76
+ */
77
+ export function isRoleAssignable(role, showLegacyClusterRoles, heldRoles, permissionsReworkEnabled = false) {
78
+ if (role === OrganizationRole.MEMBER) {
79
+ return heldRoles.has(role);
80
+ }
81
+ if (isLegacyRole(role, permissionsReworkEnabled)) {
82
+ return showLegacyClusterRoles || heldRoles.has(role);
83
+ }
84
+ return true;
85
+ }
86
+ export function isLegacyLabeledRole(role, showLegacyClusterRoles, permissionsReworkEnabled = false) {
87
+ if (role === OrganizationRole.MEMBER) {
88
+ return true;
89
+ }
90
+ return !showLegacyClusterRoles && isLegacyRole(role, permissionsReworkEnabled);
91
+ }
92
+ /** Section heading: verbose 8.7 copy while such a cluster exists, else the unassign-only copy. */
93
+ export function moreRolesHeadingText(t, showLegacyClusterRoles) {
94
+ return showLegacyClusterRoles
95
+ ? safeTranslate(t, 'invitations:invite.form.moreRoles', 'Select additional role(s) to clusters on version 8.7 or older')
96
+ : safeTranslate(t, 'orgroles:legacyRolesHeading', 'Legacy roles (unassign only)');
97
+ }
98
+ const ROLE_LABEL_DEFAULTS = {
99
+ [OrganizationRole.OWNER]: 'Owner',
100
+ [OrganizationRole.ADMIN]: 'Admin',
101
+ [OrganizationRole.MEMBER]: 'Member',
102
+ [OrganizationRole.SUPPORTAGENT]: 'Support agent',
103
+ [OrganizationRole.OPERATIONS_ENGINEER]: 'Operations engineer',
104
+ [OrganizationRole.TASK_USER]: 'Task user',
105
+ [OrganizationRole.ANALYST]: 'Analyst',
106
+ [OrganizationRole.DEVELOPER]: 'Developer',
107
+ [OrganizationRole.VISITOR]: 'Visitor',
108
+ [OrganizationRole.MODELER]: 'Modeler',
109
+ };
110
+ /**
111
+ * Aligned org-role labels (camunda-hub#25467). A role appears here when the
112
+ * aligned model gives it new copy; anything absent keeps its pre-alignment label
113
+ * and description. Display projection only; raw role ids are unchanged.
114
+ *
115
+ * Org Owner / Org Admin use the short form so the familiar terms survive while
116
+ * naming the org level, now that Workspace Admin exists. `member` is renamed
117
+ * because `modeler` takes over the "Member" name; it is a rename, not a
118
+ * promotion, so it stays legacy-marked. `analyst` is here only for its
119
+ * description, which now refers to Member rather than Modeler.
120
+ */
121
+ const ALIGNED_ROLE_LABEL_DEFAULTS = {
122
+ [OrganizationRole.OWNER]: 'Org Owner',
123
+ [OrganizationRole.ADMIN]: 'Org Admin',
124
+ [OrganizationRole.MODELER]: 'Member',
125
+ [OrganizationRole.OPERATIONS_ENGINEER]: 'DevOps',
126
+ [OrganizationRole.MEMBER]: 'Console Member',
127
+ [OrganizationRole.ANALYST]: 'Analyst',
128
+ };
129
+ /**
130
+ * Resolve a role's label and description from the `orgroles` i18n namespace.
131
+ *
132
+ * When `permissionsReworkEnabled` is set (supplied by the host app, gated
133
+ * behind its feature flag), roles with an aligned label read from the
134
+ * `orgroles:aligned.*` keys instead; those descriptions carry a "Formerly the
135
+ * X role." transition note. Roles without an aligned label fall through to the
136
+ * pre-alignment keys so the flag only moves what the aligned model renames.
137
+ */
138
+ export function roleLabelDescription(t, role, options) {
139
+ const normalized = role.toLowerCase().replace(/[^a-z]/g, '');
140
+ const alignedLabel = options?.permissionsReworkEnabled
141
+ ? ALIGNED_ROLE_LABEL_DEFAULTS[role]
142
+ : undefined;
143
+ const fallback = ROLE_LABEL_DEFAULTS[role] ??
144
+ (role ? role.charAt(0).toUpperCase() + role.slice(1) : role);
145
+ const { label, description } = alignedLabel
146
+ ? {
147
+ label: safeTranslate(t, `orgroles:aligned.${normalized}.label`, alignedLabel),
148
+ description: safeTranslate(t, `orgroles:aligned.${normalized}.description`, ''),
149
+ }
150
+ : {
151
+ label: safeTranslate(t, `orgroles:${normalized}.label`, fallback),
152
+ description: safeTranslate(t, `orgroles:${normalized}.description`, ''),
153
+ };
154
+ // A renamed role can still be legacy: Console Member keeps the suffix.
155
+ if (options?.legacy) {
156
+ const suffix = safeTranslate(t, 'orgroles:legacySuffix', 'Legacy');
157
+ return { label: `${label} (${suffix})`, description };
158
+ }
159
+ return { label, description };
160
+ }
@@ -1,4 +1,4 @@
1
- import type { C4ClusterClientDetailsAppProps } from './c4-cluster-client-details-app.types';
1
+ import type { C4ClusterClientDetailsAppProps } from './c4-cluster-client-details-app.types.js';
2
2
  export declare const C4ClusterClientDetailsApp: ((props: C4ClusterClientDetailsAppProps) => React.JSX.Element) & {
3
3
  displayName: string;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { C4ClusterDetailsNavigateEvent } from '../cluster-details/c4-cluster-details-app.types';
1
+ import type { C4ClusterDetailsNavigateEvent } from '../cluster-details/c4-cluster-details-app.types.js';
2
2
  export interface C4ClusterClientDetailsAppProps {
3
3
  orgId: string;
4
4
  clusterId: string;
@@ -1,5 +1,5 @@
1
1
  import { type JSX } from 'react';
2
- import type { C4ClusterDetailsAppProps } from './c4-cluster-details-app.types';
2
+ import type { C4ClusterDetailsAppProps } from './c4-cluster-details-app.types.js';
3
3
  export declare function mergeNestedSnapshot<T>(previous: T | undefined, next: T): T;
4
4
  export declare const C4ClusterDetailsApp: ((props: C4ClusterDetailsAppProps) => JSX.Element) & {
5
5
  displayName: string;
@@ -132,6 +132,28 @@ export function mergeNestedSnapshot(previous, next) {
132
132
  }
133
133
  return merged;
134
134
  }
135
+ // Client-side dismissal of the "restore failed" banner. The failed state is
136
+ // derived from the Restore CR, so there is no server-side "seen" flag — we
137
+ // remember dismissed restore ids (per browser) in localStorage instead. Keyed
138
+ // by restore uuid so a *new* failed restore re-shows the banner.
139
+ const DISMISSED_FAILED_RESTORES_KEY = 'c4:dismissedFailedRestores';
140
+ function loadDismissedFailedRestores() {
141
+ try {
142
+ const raw = window.localStorage.getItem(DISMISSED_FAILED_RESTORES_KEY);
143
+ return new Set(raw ? JSON.parse(raw) : []);
144
+ }
145
+ catch {
146
+ return new Set();
147
+ }
148
+ }
149
+ function persistDismissedFailedRestores(ids) {
150
+ try {
151
+ window.localStorage.setItem(DISMISSED_FAILED_RESTORES_KEY, JSON.stringify([...ids]));
152
+ }
153
+ catch {
154
+ // localStorage unavailable (private mode / SSR) — dismissal is best-effort.
155
+ }
156
+ }
135
157
  function ensureClusterLoadPerDay(perDay) {
136
158
  const DAY = 24 * 60 * 60 * 1000;
137
159
  const now = Date.now();
@@ -453,12 +475,29 @@ export const C4ClusterDetailsApp = observer((props) => {
453
475
  versionToCompareTo: '8.10.0',
454
476
  });
455
477
  }, [cluster?.generation?.versions?.zeebe]);
478
+ const [dismissedFailedRestores, setDismissedFailedRestores] = useState(loadDismissedFailedRestores);
479
+ const dismissFailedRestore = useCallback((restoreId) => {
480
+ setDismissedFailedRestores((prev) => {
481
+ const next = new Set(prev).add(restoreId);
482
+ persistDismissedFailedRestores(next);
483
+ return next;
484
+ });
485
+ }, []);
456
486
  const banner = useMemo(() => {
457
487
  if (!cluster)
458
488
  return undefined;
459
489
  if (cluster.restoreInProgress) {
460
490
  return { kind: 'restoreInProgress' };
461
491
  }
492
+ if (cluster.restoreFailed &&
493
+ cluster.failedRestoreId &&
494
+ !dismissedFailedRestores.has(cluster.failedRestoreId)) {
495
+ const restoreId = cluster.failedRestoreId;
496
+ return {
497
+ kind: 'restoreFailed',
498
+ onDismiss: () => dismissFailedRestore(restoreId),
499
+ };
500
+ }
462
501
  if (isUnsupportedGenerationStarted(cluster.generation?.isUnsupportedStarting)) {
463
502
  return {
464
503
  kind: 'unsupportedGeneration',
@@ -484,7 +523,14 @@ export const C4ClusterDetailsApp = observer((props) => {
484
523
  };
485
524
  }
486
525
  return undefined;
487
- }, [cluster, hasIdentityIntegration, props.onNavigate, urls]);
526
+ }, [
527
+ cluster,
528
+ hasIdentityIntegration,
529
+ props.onNavigate,
530
+ urls,
531
+ dismissedFailedRestores,
532
+ dismissFailedRestore,
533
+ ]);
488
534
  // -----------------------------
489
535
  // Cluster menu modals
490
536
  // -----------------------------
@@ -948,7 +994,11 @@ export const C4ClusterDetailsApp = observer((props) => {
948
994
  // changes to the underlying permission re-trigger their recompute.
949
995
  const canMutateClusterApiResources = Boolean(authz.visibilities.clusters?.canEdit);
950
996
  const clientsComponent = useMemo(() => {
951
- return (_jsx(C4ClusterDetailsClientsTab, { cluster: cluster, clients: clients, clientsLoading: clientsLoading, clientsError: clientsError, hasIdentityIntegration: hasIdentityIntegration, useClusterSecretsLabel: useClusterSecretsLabel, orgId: props.orgId, clusterId: props.clusterId, clientsDocsUrl: clientsDocsUrl, mcpSetupDocsUrl: urls.docs.mcpSetup, identityAuthorizationDocsUrl: urls.docs.identityAuthorization, springZeebeGettingStartedDocsUrl: urls.docs.springZeebeGettingStarted, springZeebeConfigDocsUrl: urls.docs.springZeebeConfig, apiConfig: apiConfig, canMutateCluster: canMutateClusterApiResources, t: t ?? ((key) => key), onNavigate: props.onNavigate, onReloadClients: reloadClients }));
997
+ return (_jsx(C4ClusterDetailsClientsTab, { cluster: cluster, clients: clients, clientsLoading: clientsLoading, clientsError: clientsError, hasIdentityIntegration: hasIdentityIntegration, useClusterSecretsLabel: useClusterSecretsLabel, orgId: props.orgId, clusterId: props.clusterId, clientsDocsUrl: clientsDocsUrl, mcpSetupDocsUrl: urls.docs.mcpSetup, identityAuthorizationDocsUrl: urls.docs.identityAuthorization, springZeebeGettingStartedDocsUrl: urls.docs.springZeebeGettingStarted, springZeebeConfigDocsUrl: urls.docs.springZeebeConfig, apiConfig: apiConfig, canMutateCluster: canMutateClusterApiResources, clientsPermissions: {
998
+ canCreate: Boolean(orgPermissions?.cluster.clients.create),
999
+ canUpdate: Boolean(orgPermissions?.cluster.clients.update),
1000
+ canDelete: Boolean(orgPermissions?.cluster.clients.delete),
1001
+ }, t: t ?? ((key) => key), onNavigate: props.onNavigate, onReloadClients: reloadClients }));
952
1002
  }, [
953
1003
  canMutateClusterApiResources,
954
1004
  clientsDocsUrl,
@@ -959,6 +1009,9 @@ export const C4ClusterDetailsApp = observer((props) => {
959
1009
  hasIdentityIntegration,
960
1010
  useClusterSecretsLabel,
961
1011
  apiConfig,
1012
+ orgPermissions?.cluster.clients.create,
1013
+ orgPermissions?.cluster.clients.update,
1014
+ orgPermissions?.cluster.clients.delete,
962
1015
  props.clusterId,
963
1016
  props.onNavigate,
964
1017
  props.orgId,
@@ -1099,7 +1152,8 @@ export const C4ClusterDetailsApp = observer((props) => {
1099
1152
  canUpdate: Boolean(orgPermissions?.cluster.connectorSecrets.update),
1100
1153
  canDelete: Boolean(orgPermissions?.cluster.connectorSecrets.delete),
1101
1154
  }, docsUrl: urls.docs.connectorSecrets, t: t, onNavigate: props.onNavigate }));
1102
- const hotBackupsComponent = (_jsx(C4ClusterDetailsHotBackupsTab, { cluster: cluster, orgId: props.orgId, clusterId: props.clusterId, apiConfig: apiConfig, canMutateCluster: canMutateCluster, isHotBackupEnabled: Boolean(orgInfo?.organizationToSalesPlan?.limits?.hotBackup), docsUrls: {
1155
+ const hotBackupsComponent = (_jsx(C4ClusterDetailsHotBackupsTab, { cluster: cluster, orgId: props.orgId, clusterId: props.clusterId, apiConfig: apiConfig, canMutateCluster: canMutateCluster, isHotBackupEnabled: Boolean(orgInfo?.organizationToSalesPlan?.limits?.hotBackup), manualBackupRetainedCount: orgInfo?.organizationToSalesPlan?.limits?.hotBackupManualRetainedCount, scheduledBackupRetainedCount: orgInfo?.organizationToSalesPlan?.limits
1156
+ ?.hotBackupScheduledRetainedCount, docsUrls: {
1103
1157
  hotBackups: urls.docs.hotBackups,
1104
1158
  support: urls.docs.support,
1105
1159
  contact: urls.docs.contact,
@@ -1153,7 +1207,15 @@ export const C4ClusterDetailsApp = observer((props) => {
1153
1207
  reloadCluster,
1154
1208
  urls.docs.auditlogs,
1155
1209
  ]);
1156
- const encryptionComponent = (_jsx(C4ClusterDetailsEncryptionTab, { cluster: cluster, orgId: props.orgId, clusterId: props.clusterId, apiConfig: apiConfig, translate: t ?? ((key) => key), activeTabId: activeTabId, onReloadCluster: reloadCluster, restoreInProgress: cluster?.restoreInProgress, docsUrls: {
1210
+ // Both halves of a failover pair share a stableId, and the source is
1211
+ // flagged isFailoverSource — so the pair can be matched from the org's
1212
+ // cluster list without a dedicated backend field.
1213
+ const isFailoverTarget = Boolean(cluster?.stableId &&
1214
+ !cluster.isFailoverSource &&
1215
+ clustersOfOrg?.some((sibling) => sibling.uuid !== cluster.uuid &&
1216
+ sibling.stableId === cluster.stableId &&
1217
+ sibling.isFailoverSource === true));
1218
+ const encryptionComponent = (_jsx(C4ClusterDetailsEncryptionTab, { cluster: cluster, orgId: props.orgId, clusterId: props.clusterId, apiConfig: apiConfig, translate: t ?? ((key) => key), activeTabId: activeTabId, onReloadCluster: reloadCluster, restoreInProgress: cluster?.restoreInProgress, isFailoverTarget: isFailoverTarget, docsUrls: {
1157
1219
  encryption: urls.docs.encryption,
1158
1220
  encryptionCli: urls.docs.encryptionCli,
1159
1221
  encryptionManual: urls.docs.encryptionManual,
@@ -1,3 +1,3 @@
1
1
  import type { JSX } from 'react';
2
- import type { C4ClusterDetailsPageProps } from './c4-cluster-details-page.types';
2
+ import type { C4ClusterDetailsPageProps } from './c4-cluster-details-page.types.js';
3
3
  export declare const C4ClusterDetailsPage: ({ loading, clusterName, isDevelopmentPlan, urls, onNavigateToClusters, menu, banner, tabs, }: C4ClusterDetailsPageProps) => JSX.Element;
@@ -58,6 +58,14 @@ function buildBanner(opts) {
58
58
  subtitle: safeTranslate(t, 'clusterdetails:overview.restoreInProgress.subtitle', 'Cluster configuration changes are not available until the restore completes.'),
59
59
  };
60
60
  }
61
+ if (banner.kind === 'restoreFailed') {
62
+ return {
63
+ kind: 'error',
64
+ title: safeTranslate(t, 'clusterdetails:overview.restoreFailed.title', 'Backup restore failed'),
65
+ subtitle: safeTranslate(t, 'clusterdetails:overview.restoreFailed.subtitle', 'The last backup restore for this cluster failed. Contact support.'),
66
+ onDismiss: banner.onDismiss,
67
+ };
68
+ }
61
69
  if (banner.kind === 'unsupportedGeneration') {
62
70
  const subtitle = banner.isAlphaGeneration
63
71
  ? safeTranslate(t, 'c4console:clusterDetails.banner.unsupportedGeneration.subtitleAlpha', 'Alpha-generations can’t be updated. Create a new cluster to access the latest features.')
@@ -1,4 +1,4 @@
1
- import type { C4TabProps } from '../../components/c4-tabs/c4-tabs.types';
1
+ import type { C4TabProps } from '../../components/c4-tabs/c4-tabs.types.js';
2
2
  export type C4ClusterDetailsPageBanner = {
3
3
  kind: 'unsupportedGeneration';
4
4
  isAlphaGeneration: boolean;
@@ -9,6 +9,9 @@ export type C4ClusterDetailsPageBanner = {
9
9
  docsUrl: string;
10
10
  } | {
11
11
  kind: 'restoreInProgress';
12
+ } | {
13
+ kind: 'restoreFailed';
14
+ onDismiss: () => void;
12
15
  };
13
16
  export type C4ClusterDetailsTab = C4TabProps;
14
17
  export interface C4ClusterDetailsPageProps {
@@ -1,4 +1,4 @@
1
- import type { C4ClusterDetailsTabId } from './c4-cluster-details-app.types';
1
+ import type { C4ClusterDetailsTabId } from './c4-cluster-details-app.types.js';
2
2
  export interface ClusterDetailsTabDescriptor {
3
3
  id: C4ClusterDetailsTabId;
4
4
  /** i18n key (namespaced, e.g. `clusterdetails:overview.title`). */
@@ -1,5 +1,5 @@
1
1
  import type { JSX } from 'react';
2
- import type { ActivityGroup } from '../../../components/c4-cluster-details-activity/c4-cluster-details-activity.types';
2
+ import type { ActivityGroup } from '../../../components/c4-cluster-details-activity/c4-cluster-details-activity.types.js';
3
3
  type TranslateFn = (key: string, options?: Record<string, unknown>) => string;
4
4
  export interface C4ClusterDetailsActivityTabProps {
5
5
  activityGroups: ActivityGroup[];
@@ -1,5 +1,5 @@
1
1
  import { type JSX } from 'react';
2
- import type { Alert as C4AlertRow } from '../../../components/c4-cluster-details-alerts/c4-cluster-details-alerts.types';
2
+ import type { Alert as C4AlertRow } from '../../../components/c4-cluster-details-alerts/c4-cluster-details-alerts.types.js';
3
3
  type TranslateFn = (key: string, options?: Record<string, unknown>) => string;
4
4
  type ReportType = 'Email' | 'Webhook';
5
5
  export declare function resolveUpdatedAlertHmacSecret(params: {
@@ -1,5 +1,5 @@
1
1
  import type { JSX } from 'react';
2
- import type { AuditLogCategory } from '../../../components/c4-audit-log/c4-audit-log.types';
2
+ import type { AuditLogCategory } from '../../../components/c4-audit-log/c4-audit-log.types.js';
3
3
  export interface C4ClusterDetailsAuditLogTabProps {
4
4
  enabled: boolean;
5
5
  userCategories: AuditLogCategory[];
@@ -1,7 +1,7 @@
1
1
  import type { RequestBaseParamsConfig } from '@camunda/ccma-api';
2
2
  import type { ByomStatus, ConsoleClusterDto } from '@camunda/ccma-shared-types';
3
3
  import type { JSX } from 'react';
4
- import type { ByomClientItem } from '../../../components/c4-cluster-byom-clients/c4-cluster-byom-clients.types';
4
+ import type { ByomClientItem } from '../../../components/c4-cluster-byom-clients/c4-cluster-byom-clients.types.js';
5
5
  type TranslateFn = (key: string, options?: Record<string, unknown>) => string;
6
6
  interface C4ClusterDetailsByomClientsTabProps {
7
7
  cluster?: ConsoleClusterDto;
@@ -16,6 +16,11 @@ interface C4ClusterDetailsClientsTabProps {
16
16
  springZeebeConfigDocsUrl: string;
17
17
  apiConfig: RequestBaseParamsConfig;
18
18
  canMutateCluster: boolean;
19
+ clientsPermissions?: {
20
+ canCreate: boolean;
21
+ canUpdate: boolean;
22
+ canDelete: boolean;
23
+ };
19
24
  useClusterSecretsLabel?: boolean;
20
25
  t: TranslateFn | undefined;
21
26
  onNavigate?: (event: unknown) => void;
@@ -73,7 +73,7 @@ function renderInlineLink(value, opts) {
73
73
  }
74
74
  export const C4ClusterDetailsClientsTab = (props) => {
75
75
  const runtime = useC4ConsoleRuntime();
76
- const { cluster, clients, clientsLoading, clientsError, hasIdentityIntegration, orgId, clusterId, clientsDocsUrl, mcpSetupDocsUrl: mcpSetupDocsUrlFromProps, identityAuthorizationDocsUrl, springZeebeGettingStartedDocsUrl, springZeebeConfigDocsUrl, apiConfig, canMutateCluster, useClusterSecretsLabel, t, onNavigate, onReloadClients, } = props;
76
+ const { cluster, clients, clientsLoading, clientsError, hasIdentityIntegration, orgId, clusterId, clientsDocsUrl, mcpSetupDocsUrl: mcpSetupDocsUrlFromProps, identityAuthorizationDocsUrl, springZeebeGettingStartedDocsUrl, springZeebeConfigDocsUrl, apiConfig, canMutateCluster, clientsPermissions, useClusterSecretsLabel, t, onNavigate, onReloadClients, } = props;
77
77
  const oauthTokenUrl = useMemo(() => {
78
78
  const base = runtime.publicUrls?.loginBaseUrl || runtime.backendUrls.identityApiBaseUrl;
79
79
  return base ? joinUrl(base, '/oauth/token') : '';
@@ -174,9 +174,9 @@ export const C4ClusterDetailsClientsTab = (props) => {
174
174
  identity: cluster?.status?.identityUrl ?? '',
175
175
  docs: clientsDocsUrl,
176
176
  }, permissions: {
177
- canCreate: canMutateCluster,
178
- canUpdate: canMutateCluster,
179
- canDelete: canMutateCluster,
177
+ canCreate: clientsPermissions?.canCreate ?? canMutateCluster,
178
+ canUpdate: clientsPermissions?.canUpdate ?? canMutateCluster,
179
+ canDelete: clientsPermissions?.canDelete ?? canMutateCluster,
180
180
  }, onNavigateToClient: (clientId) => {
181
181
  trackEvent('apiClients:details:open', 'Open Api Client Details Modal', {
182
182
  clientId,
@@ -11,6 +11,8 @@ interface C4ClusterDetailsEncryptionTabProps {
11
11
  activeTabId: string;
12
12
  onReloadCluster: () => void;
13
13
  restoreInProgress?: boolean;
14
+ /** True when this cluster was created by failing over from a sibling. */
15
+ isFailoverTarget?: boolean;
14
16
  docsUrls: {
15
17
  encryption: string;
16
18
  encryptionCli: string;
@@ -1,6 +1,6 @@
1
1
  import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
2
  import { ConsoleByokScriptsService, ConsoleClusterService, } from '@camunda/ccma-api';
3
- import { deriveEncryptionStatus, } from '@camunda/ccma-shared-types';
3
+ import { deriveEncryptionStatus, deriveFailoverKeyPolicyPrincipals, } from '@camunda/ccma-shared-types';
4
4
  import { useCallback, useEffect, useState } from 'react';
5
5
  import { C4ClusterDetailsEncryption } from '../../../components/c4-cluster-details-encryption/c4-cluster-details-encryption.js';
6
6
  // ARN validation patterns
@@ -24,7 +24,7 @@ function toIsoString(value) {
24
24
  return Number.isNaN(date.getTime()) ? undefined : date.toISOString();
25
25
  }
26
26
  export const C4ClusterDetailsEncryptionTab = (props) => {
27
- const { cluster, orgId, clusterId, apiConfig, activeTabId, onReloadCluster, restoreInProgress, docsUrls, } = props;
27
+ const { cluster, orgId, clusterId, apiConfig, activeTabId, onReloadCluster, restoreInProgress, isFailoverTarget, docsUrls, } = props;
28
28
  // BYOK script content
29
29
  const [byokCliSingle, setByokCliSingle] = useState('');
30
30
  const [byokCliDual, setByokCliDual] = useState('');
@@ -127,6 +127,13 @@ export const C4ClusterDetailsEncryptionTab = (props) => {
127
127
  };
128
128
  // Render templates with cluster-specific values
129
129
  const tenantRoleArn = cluster?.status?.accountId ?? '';
130
+ // For a failed-over cluster, the three principals in the failover region
131
+ // that need access to the (already configured) keys. All are derived from
132
+ // the cluster's own role ARN plus the stableId carried over from its
133
+ // source, so nothing has to be persisted or fetched separately.
134
+ const failoverKeyPolicy = isFailoverTarget && encryptionStatus === 'ExternalEncryptionKeyNotReady'
135
+ ? deriveFailoverKeyPolicyPrincipals(tenantRoleArn, cluster?.stableId)
136
+ : undefined;
130
137
  const renderedPolicy = byokKeyPolicy.replaceAll('<TENANT-ROLE-ARN>', tenantRoleArn);
131
138
  const cliTemplate = isDualRegion ? byokCliDual : byokCliSingle;
132
139
  const renderedCli = cliTemplate
@@ -190,7 +197,7 @@ export const C4ClusterDetailsEncryptionTab = (props) => {
190
197
  isDualRegion,
191
198
  status: encryptionStatus,
192
199
  accountId: tenantRoleArn,
193
- }, encryption: encryption, scripts: {
200
+ }, encryption: encryption, failoverKeyPolicy: failoverKeyPolicy, scripts: {
194
201
  cliScript: renderedCli,
195
202
  keyPolicy: renderedPolicy,
196
203
  }, text: {
@@ -227,6 +234,12 @@ export const C4ClusterDetailsEncryptionTab = (props) => {
227
234
  confirmEncryptionBothRegions: 'Confirm Encryption for both regions',
228
235
  downloadCliScript: 'Download CLI script',
229
236
  downloadKeyPolicy: 'Download key policy',
237
+ failoverKeyPolicyTitle: 'Action required',
238
+ failoverKeyPolicyText: 'Update your encryption key policy so this cluster can read its restored data.',
239
+ failoverKeyPolicyInstruction: 'This cluster uses the encryption keys from the cluster it was failed over from, so no new key is needed. Grant the three roles below the same key permissions as your original cluster, on both the primary and secondary key. Until then, the restore cannot decrypt your backup data.',
240
+ failoverKeyPolicyCloneRole: 'Clone role — copies backup data into this cluster',
241
+ failoverKeyPolicyClusterRole: "This cluster's role",
242
+ failoverKeyPolicyReplicationRole: 'Replication role — replicates to the secondary region',
230
243
  }, urls: {
231
244
  byokMain: docsUrls.encryption,
232
245
  cliScriptLearnMore: docsUrls.encryptionCli,
@@ -1,8 +1,19 @@
1
1
  import type { RequestBaseParamsConfig } from '@camunda/ccma-api';
2
2
  import type { ConsoleClusterDto } from '@camunda/ccma-shared-types';
3
3
  import type { JSX } from 'react';
4
- import type { C4ClusterDetailsNavigateEvent } from '../c4-cluster-details-app.types';
4
+ import type { C4ClusterDetailsNavigateEvent } from '../c4-cluster-details-app.types.js';
5
5
  type TranslateFn = (key: string, options?: Record<string, unknown>) => string;
6
+ export declare function parseCronSchedule(schedule: string): {
7
+ frequency: string;
8
+ startTime?: string;
9
+ };
10
+ export type ScheduleFrequency = '15min' | '30min' | 'hourly' | 'daily' | 'weekly';
11
+ export declare function buildScheduleCronOverrides(frequency: ScheduleFrequency, startingHour: number, startingMinute: number, weekdays: string[]): Record<string, unknown>;
12
+ export declare function deriveScheduleFormState(schedule: string): {
13
+ frequency: ScheduleFrequency;
14
+ startingTime: string;
15
+ weekdays: string[];
16
+ } | undefined;
6
17
  interface C4ClusterDetailsHotBackupsTabProps {
7
18
  cluster: ConsoleClusterDto | undefined;
8
19
  orgId: string;
@@ -10,6 +21,14 @@ interface C4ClusterDetailsHotBackupsTabProps {
10
21
  apiConfig: RequestBaseParamsConfig;
11
22
  canMutateCluster: boolean;
12
23
  isHotBackupEnabled: boolean;
24
+ /**
25
+ * Org-limit overrides for how many backups the operator retains before
26
+ * deleting the oldest (`hotBackupManualRetainedCount` /
27
+ * `hotBackupScheduledRetainedCount`). Defaults to 3 — the operator's own
28
+ * default — when unset.
29
+ */
30
+ manualBackupRetainedCount?: number;
31
+ scheduledBackupRetainedCount?: number;
13
32
  docsUrls: {
14
33
  hotBackups: string;
15
34
  support: string;