@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.
- package/README.md +40 -0
- package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.d.ts +3 -0
- package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.js +25 -0
- package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.types.d.ts +9 -0
- package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.types.js +6 -0
- package/lib/esm/components/c4-activity-graph/c4-activity-graph.d.ts +3 -0
- package/lib/esm/components/c4-activity-graph/c4-activity-graph.js +135 -0
- package/lib/esm/components/c4-activity-graph/c4-activity-graph.types.d.ts +13 -0
- package/lib/esm/components/c4-activity-graph/c4-activity-graph.types.js +6 -0
- package/lib/esm/components/c4-advanced-search-filters/ArrayFieldContainer.d.ts +16 -0
- package/lib/esm/components/c4-advanced-search-filters/ArrayFieldContainer.js +39 -0
- package/lib/esm/components/c4-advanced-search-filters/AutosuggestInput.d.ts +16 -0
- package/lib/esm/components/c4-advanced-search-filters/AutosuggestInput.js +147 -0
- package/lib/esm/components/c4-advanced-search-filters/FieldRow.d.ts +14 -0
- package/lib/esm/components/c4-advanced-search-filters/FieldRow.js +133 -0
- package/lib/esm/components/c4-advanced-search-filters/FiltersSection.d.ts +13 -0
- package/lib/esm/components/c4-advanced-search-filters/FiltersSection.js +63 -0
- package/lib/esm/components/c4-advanced-search-filters/OrSection.d.ts +16 -0
- package/lib/esm/components/c4-advanced-search-filters/OrSection.js +116 -0
- package/lib/esm/components/c4-advanced-search-filters/c4-advanced-search-filters.d.ts +3 -0
- package/lib/esm/components/c4-advanced-search-filters/c4-advanced-search-filters.js +406 -0
- package/lib/esm/components/c4-advanced-search-filters/c4-advanced-search-filters.types.d.ts +32 -0
- package/lib/esm/components/c4-advanced-search-filters/c4-advanced-search-filters.types.js +6 -0
- package/lib/esm/components/c4-advanced-search-filters/state.types.d.ts +14 -0
- package/lib/esm/components/c4-advanced-search-filters/state.types.js +6 -0
- package/lib/esm/components/c4-advanced-search-filters/utils.d.ts +5 -0
- package/lib/esm/components/c4-advanced-search-filters/utils.js +58 -0
- package/lib/esm/components/c4-ai-usage/c4-ai-usage.d.ts +3 -0
- package/lib/esm/components/c4-ai-usage/c4-ai-usage.js +38 -0
- package/lib/esm/components/c4-ai-usage/c4-ai-usage.types.d.ts +59 -0
- package/lib/esm/components/c4-ai-usage/c4-ai-usage.types.js +6 -0
- package/lib/esm/components/c4-alpha-cluster-at-checkout/c4-alpha-cluster-at-checkout.d.ts +3 -0
- package/lib/esm/components/c4-alpha-cluster-at-checkout/c4-alpha-cluster-at-checkout.js +8 -0
- package/lib/esm/components/c4-alpha-cluster-at-checkout/c4-alpha-cluster-at-checkout.types.d.ts +12 -0
- package/lib/esm/components/c4-alpha-cluster-at-checkout/c4-alpha-cluster-at-checkout.types.js +6 -0
- package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.d.ts +3 -0
- package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.js +20 -0
- package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.types.d.ts +12 -0
- package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.types.js +6 -0
- package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.d.ts +2 -0
- package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.js +22 -0
- package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.types.d.ts +13 -0
- package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.types.js +6 -0
- package/lib/esm/components/c4-async-modal/c4-async-modal.d.ts +3 -0
- package/lib/esm/components/c4-async-modal/c4-async-modal.js +68 -0
- package/lib/esm/components/c4-async-modal/c4-async-modal.types.d.ts +28 -0
- package/lib/esm/components/c4-async-modal/c4-async-modal.types.js +6 -0
- package/lib/esm/components/c4-audit-log/c4-audit-log.d.ts +3 -0
- package/lib/esm/components/c4-audit-log/c4-audit-log.js +147 -0
- package/lib/esm/components/c4-audit-log/c4-audit-log.types.d.ts +13 -0
- package/lib/esm/components/c4-audit-log/c4-audit-log.types.js +6 -0
- package/lib/esm/components/c4-billing-page/c4-billing-page.d.ts +10 -0
- package/lib/esm/components/c4-billing-page/c4-billing-page.js +39 -0
- package/lib/esm/components/c4-billing-page/c4-billing-page.types.d.ts +13 -0
- package/lib/esm/components/c4-billing-page/c4-billing-page.types.js +6 -0
- package/lib/esm/components/c4-billing-page/custom-styles.d.ts +13 -0
- package/lib/esm/components/c4-billing-page/custom-styles.js +18 -0
- package/lib/esm/components/c4-billing-page/elements/cluster-reservations.d.ts +29 -0
- package/lib/esm/components/c4-billing-page/elements/cluster-reservations.js +32 -0
- package/lib/esm/components/c4-billing-page/elements/current-usage-metrics.d.ts +16 -0
- package/lib/esm/components/c4-billing-page/elements/current-usage-metrics.js +62 -0
- package/lib/esm/components/c4-billing-page/elements/plan-details.d.ts +20 -0
- package/lib/esm/components/c4-billing-page/elements/plan-details.js +16 -0
- package/lib/esm/components/c4-billing-page/elements/usage-alerts.d.ts +30 -0
- package/lib/esm/components/c4-billing-page/elements/usage-alerts.js +18 -0
- package/lib/esm/components/c4-billing-page/elements/value-metric.d.ts +28 -0
- package/lib/esm/components/c4-billing-page/elements/value-metric.js +116 -0
- package/lib/esm/components/c4-bottom-links/c4-bottom-links.d.ts +3 -0
- package/lib/esm/components/c4-bottom-links/c4-bottom-links.js +9 -0
- package/lib/esm/components/c4-bottom-links/c4-bottom-links.types.d.ts +4 -0
- package/lib/esm/components/c4-bottom-links/c4-bottom-links.types.js +6 -0
- package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.d.ts +3 -0
- package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.js +33 -0
- package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.types.d.ts +22 -0
- package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.types.js +6 -0
- package/lib/esm/components/c4-charts-dashboard/c4-charts-dashboard.d.ts +3 -0
- package/lib/esm/components/c4-charts-dashboard/c4-charts-dashboard.js +56 -0
- package/lib/esm/components/c4-charts-dashboard/c4-charts-dashboard.types.d.ts +83 -0
- package/lib/esm/components/c4-charts-dashboard/c4-charts-dashboard.types.js +6 -0
- package/lib/esm/components/c4-charts-dashboard/elements/alluvial-chart.d.ts +6 -0
- package/lib/esm/components/c4-charts-dashboard/elements/alluvial-chart.js +87 -0
- package/lib/esm/components/c4-charts-dashboard/elements/bar-chart.d.ts +7 -0
- package/lib/esm/components/c4-charts-dashboard/elements/bar-chart.js +37 -0
- package/lib/esm/components/c4-charts-dashboard/elements/line-chart.d.ts +7 -0
- package/lib/esm/components/c4-charts-dashboard/elements/line-chart.js +35 -0
- package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.d.ts +3 -0
- package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.js +133 -0
- package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.types.d.ts +43 -0
- package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.types.js +6 -0
- package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.d.ts +4 -0
- package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.js +58 -0
- package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.types.d.ts +39 -0
- package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.types.js +6 -0
- package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.d.ts +4 -0
- package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.js +64 -0
- package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.types.d.ts +45 -0
- package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.types.js +6 -0
- package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.d.ts +3 -0
- package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.js +46 -0
- package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.types.d.ts +24 -0
- package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.types.js +6 -0
- package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.d.ts +3 -0
- package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.js +124 -0
- package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.types.d.ts +51 -0
- package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.types.js +6 -0
- package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.d.ts +3 -0
- package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.js +206 -0
- package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.types.d.ts +58 -0
- package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.types.js +6 -0
- package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.d.ts +3 -0
- package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.js +192 -0
- package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.types.d.ts +53 -0
- package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.types.js +6 -0
- package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.d.ts +3 -0
- package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.js +104 -0
- package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.types.d.ts +76 -0
- package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.types.js +6 -0
- package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.d.ts +3 -0
- package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.js +222 -0
- package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.types.d.ts +89 -0
- package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.types.js +6 -0
- package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.d.ts +3 -0
- package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.js +93 -0
- package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.types.d.ts +36 -0
- package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.types.js +6 -0
- package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.d.ts +3 -0
- package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.js +174 -0
- package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.types.d.ts +118 -0
- package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.types.js +6 -0
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.d.ts +3 -0
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.js +220 -0
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.types.d.ts +75 -0
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.types.js +6 -0
- package/lib/esm/components/c4-cluster-overview/applications.d.ts +47 -0
- package/lib/esm/components/c4-cluster-overview/applications.js +132 -0
- package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.d.ts +20 -0
- package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.js +101 -0
- package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.types.d.ts +22 -0
- package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.types.js +6 -0
- package/lib/esm/components/c4-cluster-overview/cluster-details.d.ts +116 -0
- package/lib/esm/components/c4-cluster-overview/cluster-details.js +170 -0
- package/lib/esm/components/c4-cluster-overview/cluster-load.d.ts +35 -0
- package/lib/esm/components/c4-cluster-overview/cluster-load.formatNumber.test.d.ts +1 -0
- package/lib/esm/components/c4-cluster-overview/cluster-load.formatNumber.test.js +38 -0
- package/lib/esm/components/c4-cluster-overview/cluster-load.js +334 -0
- package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.d.ts +3 -0
- package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.js +17 -0
- package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.types.d.ts +12 -0
- package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.types.js +6 -0
- package/lib/esm/components/c4-cluster-settings/elements/autoUpdate.d.ts +14 -0
- package/lib/esm/components/c4-cluster-settings/elements/autoUpdate.js +12 -0
- package/lib/esm/components/c4-cluster-settings/elements/business-id-uniqueness-toggle.d.ts +14 -0
- package/lib/esm/components/c4-cluster-settings/elements/business-id-uniqueness-toggle.js +12 -0
- package/lib/esm/components/c4-cluster-settings/elements/cluster-settings.d.ts +23 -0
- package/lib/esm/components/c4-cluster-settings/elements/cluster-settings.js +34 -0
- package/lib/esm/components/c4-cluster-settings/elements/danger-zone.d.ts +16 -0
- package/lib/esm/components/c4-cluster-settings/elements/danger-zone.js +12 -0
- package/lib/esm/components/c4-cluster-settings/elements/enforce-groups.d.ts +14 -0
- package/lib/esm/components/c4-cluster-settings/elements/enforce-groups.js +12 -0
- package/lib/esm/components/c4-cluster-settings/elements/identity-based-authorizations.d.ts +13 -0
- package/lib/esm/components/c4-cluster-settings/elements/identity-based-authorizations.js +12 -0
- package/lib/esm/components/c4-cluster-settings/elements/low-latency-toggle.d.ts +14 -0
- package/lib/esm/components/c4-cluster-settings/elements/low-latency-toggle.js +12 -0
- package/lib/esm/components/c4-cluster-settings/elements/mcp-toggle.d.ts +14 -0
- package/lib/esm/components/c4-cluster-settings/elements/mcp-toggle.js +12 -0
- package/lib/esm/components/c4-cluster-settings/elements/multi-tenancy.d.ts +13 -0
- package/lib/esm/components/c4-cluster-settings/elements/multi-tenancy.js +15 -0
- package/lib/esm/components/c4-cluster-settings/elements/resource-based-authorizations.d.ts +27 -0
- package/lib/esm/components/c4-cluster-settings/elements/resource-based-authorizations.js +20 -0
- package/lib/esm/components/c4-cluster-settings/elements/settings-tile.d.ts +7 -0
- package/lib/esm/components/c4-cluster-settings/elements/settings-tile.js +12 -0
- package/lib/esm/components/c4-cluster-settings/elements/swagger-toggle.d.ts +14 -0
- package/lib/esm/components/c4-cluster-settings/elements/swagger-toggle.js +12 -0
- package/lib/esm/components/c4-cluster-settings/elements/tasklist-mode-settings.d.ts +5 -0
- package/lib/esm/components/c4-cluster-settings/elements/tasklist-mode-settings.js +7 -0
- package/lib/esm/components/c4-cluster-settings/elements/tasklist-mode-toggle.d.ts +13 -0
- package/lib/esm/components/c4-cluster-settings/elements/tasklist-mode-toggle.js +13 -0
- package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.d.ts +3 -0
- package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.js +64 -0
- package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.types.d.ts +15 -0
- package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.types.js +6 -0
- package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.d.ts +3 -0
- package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.js +44 -0
- package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.types.d.ts +25 -0
- package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.types.js +6 -0
- package/lib/esm/components/c4-clusters-trial-notification/c4-clusters-trial-notification.d.ts +3 -0
- package/lib/esm/components/c4-clusters-trial-notification/c4-clusters-trial-notification.js +15 -0
- package/lib/esm/components/c4-clusters-trial-notification/c4-clusters-trial-notification.types.d.ts +6 -0
- package/lib/esm/components/c4-clusters-trial-notification/c4-clusters-trial-notification.types.js +6 -0
- package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.d.ts +3 -0
- package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.js +216 -0
- package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.types.d.ts +130 -0
- package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.types.js +6 -0
- package/lib/esm/components/c4-console-dashboard/elements/empty-state.d.ts +13 -0
- package/lib/esm/components/c4-console-dashboard/elements/empty-state.js +21 -0
- package/lib/esm/components/c4-convert-trial-organization-modal/c4-convert-trial-organization-modal.d.ts +3 -0
- package/lib/esm/components/c4-convert-trial-organization-modal/c4-convert-trial-organization-modal.js +66 -0
- package/lib/esm/components/c4-convert-trial-organization-modal/c4-convert-trial-organization-modal.types.d.ts +12 -0
- package/lib/esm/components/c4-convert-trial-organization-modal/c4-convert-trial-organization-modal.types.js +6 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.d.ts +3 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +508 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.types.d.ts +209 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.types.js +6 -0
- package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.d.ts +2 -0
- package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.js +182 -0
- package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.types.d.ts +26 -0
- package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.types.js +6 -0
- package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.d.ts +2 -0
- package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.js +96 -0
- package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.types.d.ts +18 -0
- package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.types.js +6 -0
- package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.d.ts +2 -0
- package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.js +352 -0
- package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.types.d.ts +20 -0
- package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.types.js +6 -0
- package/lib/esm/components/c4-create-trial-organization-modal/c4-create-trial-organization-modal.d.ts +3 -0
- package/lib/esm/components/c4-create-trial-organization-modal/c4-create-trial-organization-modal.js +52 -0
- package/lib/esm/components/c4-create-trial-organization-modal/c4-create-trial-organization-modal.types.d.ts +19 -0
- package/lib/esm/components/c4-create-trial-organization-modal/c4-create-trial-organization-modal.types.js +6 -0
- package/lib/esm/components/c4-dashboard-first-launch/c4-dashboard-first-launch.d.ts +3 -0
- package/lib/esm/components/c4-dashboard-first-launch/c4-dashboard-first-launch.js +9 -0
- package/lib/esm/components/c4-dashboard-first-launch/c4-dashboard-first-launch.types.d.ts +6 -0
- package/lib/esm/components/c4-dashboard-first-launch/c4-dashboard-first-launch.types.js +6 -0
- package/lib/esm/components/c4-divider/c4-divider.d.ts +2 -0
- package/lib/esm/components/c4-divider/c4-divider.js +11 -0
- package/lib/esm/components/c4-divider/c4-divider.types.d.ts +3 -0
- package/lib/esm/components/c4-divider/c4-divider.types.js +6 -0
- package/lib/esm/components/c4-external-link/c4-external-link.d.ts +3 -0
- package/lib/esm/components/c4-external-link/c4-external-link.js +10 -0
- package/lib/esm/components/c4-external-link/c4-external-link.types.d.ts +9 -0
- package/lib/esm/components/c4-external-link/c4-external-link.types.js +6 -0
- package/lib/esm/components/c4-info-tooltip/c4-info-tooltip.d.ts +3 -0
- package/lib/esm/components/c4-info-tooltip/c4-info-tooltip.js +18 -0
- package/lib/esm/components/c4-info-tooltip/c4-info-tooltip.types.d.ts +6 -0
- package/lib/esm/components/c4-info-tooltip/c4-info-tooltip.types.js +6 -0
- package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.d.ts +2 -0
- package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.js +187 -0
- package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.types.d.ts +22 -0
- package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.types.js +6 -0
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.d.ts +8 -0
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.js +46 -0
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.types.d.ts +101 -0
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.types.js +6 -0
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-chart-heading.d.ts +7 -0
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-chart-heading.js +18 -0
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.d.ts +12 -0
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.js +65 -0
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.d.ts +13 -0
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.js +74 -0
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.d.ts +16 -0
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.js +81 -0
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.d.ts +13 -0
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.js +45 -0
- package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.d.ts +4 -0
- package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.js +40 -0
- package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.types.d.ts +23 -0
- package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.types.js +6 -0
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.d.ts +3 -0
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.js +88 -0
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.types.d.ts +44 -0
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.types.js +6 -0
- package/lib/esm/components/c4-job-dashboard-shared/c4-background-fetching-indicator.d.ts +8 -0
- package/lib/esm/components/c4-job-dashboard-shared/c4-background-fetching-indicator.js +10 -0
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.d.ts +30 -0
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.js +51 -0
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-shared.types.d.ts +23 -0
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-shared.types.js +6 -0
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-time-range-dropdown.d.ts +17 -0
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-time-range-dropdown.js +47 -0
- package/lib/esm/components/c4-job-dashboard-shared/c4-stories-data-generator.d.ts +4 -0
- package/lib/esm/components/c4-job-dashboard-shared/c4-stories-data-generator.js +30 -0
- package/lib/esm/components/c4-job-dashboard-shared/c4-timestamp-information.d.ts +6 -0
- package/lib/esm/components/c4-job-dashboard-shared/c4-timestamp-information.js +14 -0
- package/lib/esm/components/c4-leave-organization-modal/c4-leave-organization-modal.d.ts +3 -0
- package/lib/esm/components/c4-leave-organization-modal/c4-leave-organization-modal.js +25 -0
- package/lib/esm/components/c4-leave-organization-modal/c4-leave-organization-modal.types.d.ts +7 -0
- package/lib/esm/components/c4-leave-organization-modal/c4-leave-organization-modal.types.js +6 -0
- package/lib/esm/components/c4-link-button/c4-link-button.d.ts +3 -0
- package/lib/esm/components/c4-link-button/c4-link-button.js +18 -0
- package/lib/esm/components/c4-link-button/c4-link-button.types.d.ts +8 -0
- package/lib/esm/components/c4-link-button/c4-link-button.types.js +6 -0
- package/lib/esm/components/c4-llm-usage-meter/c4-llm-usage-meter.d.ts +3 -0
- package/lib/esm/components/c4-llm-usage-meter/c4-llm-usage-meter.js +81 -0
- package/lib/esm/components/c4-llm-usage-meter/c4-llm-usage-meter.types.d.ts +58 -0
- package/lib/esm/components/c4-llm-usage-meter/c4-llm-usage-meter.types.js +6 -0
- package/lib/esm/components/c4-management-activity/c4-management-activity.d.ts +3 -0
- package/lib/esm/components/c4-management-activity/c4-management-activity.js +16 -0
- package/lib/esm/components/c4-management-activity/c4-management-activity.types.d.ts +22 -0
- package/lib/esm/components/c4-management-activity/c4-management-activity.types.js +6 -0
- package/lib/esm/components/c4-management-api/c4-management-api.d.ts +3 -0
- package/lib/esm/components/c4-management-api/c4-management-api.js +204 -0
- package/lib/esm/components/c4-management-api/c4-management-api.types.d.ts +66 -0
- package/lib/esm/components/c4-management-api/c4-management-api.types.js +6 -0
- package/lib/esm/components/c4-management-overview/c4-management-overview.d.ts +3 -0
- package/lib/esm/components/c4-management-overview/c4-management-overview.js +22 -0
- package/lib/esm/components/c4-management-overview/c4-management-overview.types.d.ts +17 -0
- package/lib/esm/components/c4-management-overview/c4-management-overview.types.js +6 -0
- package/lib/esm/components/c4-management-settings/c4-management-settings.d.ts +3 -0
- package/lib/esm/components/c4-management-settings/c4-management-settings.js +131 -0
- package/lib/esm/components/c4-management-settings/c4-management-settings.types.d.ts +77 -0
- package/lib/esm/components/c4-management-settings/c4-management-settings.types.js +6 -0
- package/lib/esm/components/c4-management-users/c4-management-users.d.ts +3 -0
- package/lib/esm/components/c4-management-users/c4-management-users.js +17 -0
- package/lib/esm/components/c4-management-users/c4-management-users.types.d.ts +23 -0
- package/lib/esm/components/c4-management-users/c4-management-users.types.js +6 -0
- package/lib/esm/components/c4-multi-step-modal/c4-multi-step-modal.d.ts +3 -0
- package/lib/esm/components/c4-multi-step-modal/c4-multi-step-modal.js +48 -0
- package/lib/esm/components/c4-multi-step-modal/c4-multi-step-modal.types.d.ts +31 -0
- package/lib/esm/components/c4-multi-step-modal/c4-multi-step-modal.types.js +6 -0
- package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.d.ts +2 -0
- package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.js +45 -0
- package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.types.d.ts +18 -0
- package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.types.js +6 -0
- package/lib/esm/components/c4-number-input/c4-number-input.d.ts +2 -0
- package/lib/esm/components/c4-number-input/c4-number-input.js +21 -0
- package/lib/esm/components/c4-number-input/c4-number-input.types.d.ts +11 -0
- package/lib/esm/components/c4-number-input/c4-number-input.types.js +6 -0
- package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.d.ts +3 -0
- package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.js +62 -0
- package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.types.d.ts +60 -0
- package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.types.js +6 -0
- package/lib/esm/components/c4-page-template/c4-page-template.d.ts +29 -0
- package/lib/esm/components/c4-page-template/c4-page-template.js +17 -0
- package/lib/esm/components/c4-page-template/c4-page-template.spec.d.ts +1 -0
- package/lib/esm/components/c4-page-template/c4-page-template.spec.js +58 -0
- package/lib/esm/components/c4-page-template/c4-page-template.stories.d.ts +6 -0
- package/lib/esm/components/c4-page-template/c4-page-template.stories.js +73 -0
- package/lib/esm/components/c4-permission-error-page/c4-permission-error-page.d.ts +3 -0
- package/lib/esm/components/c4-permission-error-page/c4-permission-error-page.js +44 -0
- package/lib/esm/components/c4-permission-error-page/c4-permission-error-page.types.d.ts +12 -0
- package/lib/esm/components/c4-permission-error-page/c4-permission-error-page.types.js +6 -0
- package/lib/esm/components/c4-pricing/c4-pricing.d.ts +3 -0
- package/lib/esm/components/c4-pricing/c4-pricing.js +59 -0
- package/lib/esm/components/c4-pricing/c4-pricing.types.d.ts +20 -0
- package/lib/esm/components/c4-pricing/c4-pricing.types.js +6 -0
- package/lib/esm/components/c4-pricing-card/c4-pricing-card.d.ts +3 -0
- package/lib/esm/components/c4-pricing-card/c4-pricing-card.js +51 -0
- package/lib/esm/components/c4-pricing-card/c4-pricing-card.types.d.ts +53 -0
- package/lib/esm/components/c4-pricing-card/c4-pricing-card.types.js +6 -0
- package/lib/esm/components/c4-pricing-card/c4-pricing-card.utils.d.ts +13 -0
- package/lib/esm/components/c4-pricing-card/c4-pricing-card.utils.js +58 -0
- package/lib/esm/components/c4-rename-organization-modal/c4-rename-organization-modal.d.ts +2 -0
- package/lib/esm/components/c4-rename-organization-modal/c4-rename-organization-modal.js +68 -0
- package/lib/esm/components/c4-rename-organization-modal/c4-rename-organization-modal.types.d.ts +15 -0
- package/lib/esm/components/c4-rename-organization-modal/c4-rename-organization-modal.types.js +6 -0
- package/lib/esm/components/c4-search/c4-search-results.d.ts +2 -0
- package/lib/esm/components/c4-search/c4-search-results.js +235 -0
- package/lib/esm/components/c4-search/c4-search-results.types.d.ts +33 -0
- package/lib/esm/components/c4-search/c4-search-results.types.js +6 -0
- package/lib/esm/components/c4-search/c4-search.d.ts +35 -0
- package/lib/esm/components/c4-search/c4-search.js +134 -0
- package/lib/esm/components/c4-search/c4-search.types.d.ts +20 -0
- package/lib/esm/components/c4-search/c4-search.types.js +6 -0
- package/lib/esm/components/c4-search/search.utils.d.ts +61 -0
- package/lib/esm/components/c4-search/search.utils.js +421 -0
- package/lib/esm/components/c4-sm-cluster-details/automation-components.d.ts +3 -0
- package/lib/esm/components/c4-sm-cluster-details/automation-components.js +20 -0
- package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.d.ts +3 -0
- package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.js +27 -0
- package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.types.d.ts +71 -0
- package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.types.js +6 -0
- package/lib/esm/components/c4-sm-cluster-details/custom-properties.d.ts +4 -0
- package/lib/esm/components/c4-sm-cluster-details/custom-properties.js +29 -0
- package/lib/esm/components/c4-sm-cluster-details/details.d.ts +7 -0
- package/lib/esm/components/c4-sm-cluster-details/details.js +24 -0
- package/lib/esm/components/c4-sm-cluster-details/zeebe-components.d.ts +3 -0
- package/lib/esm/components/c4-sm-cluster-details/zeebe-components.js +43 -0
- package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.d.ts +3 -0
- package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.js +34 -0
- package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.types.d.ts +40 -0
- package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.types.js +6 -0
- package/lib/esm/components/c4-sm-dashboard/cluster-tile.d.ts +9 -0
- package/lib/esm/components/c4-sm-dashboard/cluster-tile.js +59 -0
- package/lib/esm/components/c4-sm-dashboard/component-tile.d.ts +14 -0
- package/lib/esm/components/c4-sm-dashboard/component-tile.js +45 -0
- package/lib/esm/components/c4-sm-dashboard/explore.d.ts +20 -0
- package/lib/esm/components/c4-sm-dashboard/explore.js +29 -0
- package/lib/esm/components/c4-sm-dashboard/health-status.d.ts +10 -0
- package/lib/esm/components/c4-sm-dashboard/health-status.js +60 -0
- package/lib/esm/components/c4-sm-dashboard/overview.d.ts +13 -0
- package/lib/esm/components/c4-sm-dashboard/overview.js +148 -0
- package/lib/esm/components/c4-sm-dashboard/usage-tile.d.ts +22 -0
- package/lib/esm/components/c4-sm-dashboard/usage-tile.js +35 -0
- package/lib/esm/components/c4-stackdriver-links/c4-stackdriver-links.d.ts +3 -0
- package/lib/esm/components/c4-stackdriver-links/c4-stackdriver-links.js +26 -0
- package/lib/esm/components/c4-stackdriver-links/c4-stackdriver-links.types.d.ts +12 -0
- package/lib/esm/components/c4-stackdriver-links/c4-stackdriver-links.types.js +6 -0
- package/lib/esm/components/c4-stat/c4-stat.d.ts +3 -0
- package/lib/esm/components/c4-stat/c4-stat.js +11 -0
- package/lib/esm/components/c4-stat/c4-stat.types.d.ts +4 -0
- package/lib/esm/components/c4-stat/c4-stat.types.js +6 -0
- package/lib/esm/components/c4-stateful-button/c4-stateful-button.d.ts +3 -0
- package/lib/esm/components/c4-stateful-button/c4-stateful-button.js +38 -0
- package/lib/esm/components/c4-stateful-button/c4-stateful-button.types.d.ts +7 -0
- package/lib/esm/components/c4-stateful-button/c4-stateful-button.types.js +6 -0
- package/lib/esm/components/c4-tabs/c4-tabs.d.ts +3 -0
- package/lib/esm/components/c4-tabs/c4-tabs.js +49 -0
- package/lib/esm/components/c4-tabs/c4-tabs.spec.d.ts +1 -0
- package/lib/esm/components/c4-tabs/c4-tabs.spec.js +97 -0
- package/lib/esm/components/c4-tabs/c4-tabs.stories.d.ts +6 -0
- package/lib/esm/components/c4-tabs/c4-tabs.stories.js +35 -0
- package/lib/esm/components/c4-tabs/c4-tabs.types.d.ts +14 -0
- package/lib/esm/components/c4-tabs/c4-tabs.types.js +6 -0
- package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.d.ts +4 -0
- package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.js +110 -0
- package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.types.d.ts +45 -0
- package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.types.js +6 -0
- package/lib/esm/components/c4-telemetry-page/component-metrics.d.ts +26 -0
- package/lib/esm/components/c4-telemetry-page/component-metrics.js +47 -0
- package/lib/esm/components/c4-telemetry-page/metrics-empty-state-image.d.ts +2 -0
- package/lib/esm/components/c4-telemetry-page/metrics-empty-state-image.js +6 -0
- package/lib/esm/components/c4-telemetry-page/telemetry-for-component.d.ts +50 -0
- package/lib/esm/components/c4-telemetry-page/telemetry-for-component.js +90 -0
- package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.d.ts +3 -0
- package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.js +80 -0
- package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.types.d.ts +40 -0
- package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.types.js +6 -0
- package/lib/esm/components/c4-theme-switcher/c4-theme-switcher.d.ts +23 -0
- package/lib/esm/components/c4-theme-switcher/c4-theme-switcher.js +187 -0
- package/lib/esm/components/c4-theme-switcher/c4-theme-switcher.types.d.ts +23 -0
- package/lib/esm/components/c4-theme-switcher/c4-theme-switcher.types.js +6 -0
- package/lib/esm/components/c4-theme-switcher/cyberzee-removebg-preview-100.png +0 -0
- package/lib/esm/components/c4-tile-with-title-and-action/c4-tile-with-title-and-action.d.ts +3 -0
- package/lib/esm/components/c4-tile-with-title-and-action/c4-tile-with-title-and-action.js +39 -0
- package/lib/esm/components/c4-tile-with-title-and-action/c4-tile-with-title-and-action.types.d.ts +18 -0
- package/lib/esm/components/c4-tile-with-title-and-action/c4-tile-with-title-and-action.types.js +6 -0
- package/lib/esm/components/c4-toggle/c4-toggle.d.ts +3 -0
- package/lib/esm/components/c4-toggle/c4-toggle.js +16 -0
- package/lib/esm/components/c4-toggle/c4-toggle.types.d.ts +27 -0
- package/lib/esm/components/c4-toggle/c4-toggle.types.js +6 -0
- package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.d.ts +3 -0
- package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.js +14 -0
- package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.types.d.ts +14 -0
- package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.types.js +6 -0
- package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.utils.d.ts +6 -0
- package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.utils.js +21 -0
- package/lib/esm/components/c4-usage-alert-update-modal/c4-usage-alert-update-modal.d.ts +3 -0
- package/lib/esm/components/c4-usage-alert-update-modal/c4-usage-alert-update-modal.js +15 -0
- package/lib/esm/components/c4-usage-alert-update-modal/c4-usage-alert-update-modal.types.d.ts +30 -0
- package/lib/esm/components/c4-usage-alert-update-modal/c4-usage-alert-update-modal.types.js +6 -0
- package/lib/esm/components/c4-usage-history/c4-usage-history.d.ts +3 -0
- package/lib/esm/components/c4-usage-history/c4-usage-history.js +79 -0
- package/lib/esm/components/c4-usage-history/c4-usage-history.types.d.ts +36 -0
- package/lib/esm/components/c4-usage-history/c4-usage-history.types.js +6 -0
- package/lib/esm/components/c4-usage-history/elements/usage-history-charts.d.ts +35 -0
- package/lib/esm/components/c4-usage-history/elements/usage-history-charts.js +44 -0
- package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.d.ts +3 -0
- package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.js +107 -0
- package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.types.d.ts +50 -0
- package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.types.js +6 -0
- package/lib/esm/components/c4-user-details/c4-user-details.d.ts +3 -0
- package/lib/esm/components/c4-user-details/c4-user-details.js +46 -0
- package/lib/esm/components/c4-user-details/c4-user-details.types.d.ts +22 -0
- package/lib/esm/components/c4-user-details/c4-user-details.types.js +6 -0
- package/lib/esm/components/c4-user-details/tabs/authorized-resources.d.ts +20 -0
- package/lib/esm/components/c4-user-details/tabs/authorized-resources.js +15 -0
- package/lib/esm/components/c4-user-details/tabs/details.d.ts +10 -0
- package/lib/esm/components/c4-user-details/tabs/details.js +17 -0
- package/lib/esm/components/c4-user-details/tabs/roles.d.ts +32 -0
- package/lib/esm/components/c4-user-details/tabs/roles.js +63 -0
- package/lib/esm/i18n/c4-console-i18n.d.ts +8 -0
- package/lib/esm/i18n/c4-console-i18n.js +138 -0
- package/lib/esm/i18n/en/components/fatalError.json +5 -0
- package/lib/esm/i18n/en/components/navbar.json +44 -0
- package/lib/esm/i18n/en/entities/orgroles.json +100 -0
- package/lib/esm/i18n/en/modals/alerts.json +99 -0
- package/lib/esm/i18n/en/modals/apiclients.json +151 -0
- package/lib/esm/i18n/en/modals/backups.json +66 -0
- package/lib/esm/i18n/en/modals/billing.json +192 -0
- package/lib/esm/i18n/en/modals/clusterclients.json +145 -0
- package/lib/esm/i18n/en/modals/clusters.json +177 -0
- package/lib/esm/i18n/en/modals/connectorsecrets.json +123 -0
- package/lib/esm/i18n/en/modals/createtrialorg.json +29 -0
- package/lib/esm/i18n/en/modals/invitations.json +48 -0
- package/lib/esm/i18n/en/modals/ipwhitelist.json +46 -0
- package/lib/esm/i18n/en/modals/usagealerts.json +40 -0
- package/lib/esm/i18n/en/modals/users.json +95 -0
- package/lib/esm/i18n/en/modals/validation.json +9 -0
- package/lib/esm/i18n/en/pages/clusterdetails.json +595 -0
- package/lib/esm/i18n/en/pages/clusters.json +77 -0
- package/lib/esm/i18n/en/pages/connectormanagement.json +8 -0
- package/lib/esm/i18n/en/pages/createcluster.json +90 -0
- package/lib/esm/i18n/en/pages/dashboard.json +94 -0
- package/lib/esm/i18n/en/pages/home.json +12 -0
- package/lib/esm/i18n/en/pages/job-dashboard.json +101 -0
- package/lib/esm/i18n/en/pages/orgmanagement.json +488 -0
- package/lib/esm/icons/c4-icons.d.ts +12 -0
- package/lib/esm/icons/c4-icons.js +28 -0
- package/lib/esm/icons/c4-icons.types.d.ts +3 -0
- package/lib/esm/icons/c4-icons.types.js +6 -0
- package/lib/esm/index.d.ts +210 -0
- package/lib/esm/index.js +112 -0
- package/lib/esm/index.scss +267 -0
- package/lib/esm/modals/c4-create-cluster-api-client-modal-handle.d.ts +3 -0
- package/lib/esm/modals/c4-create-cluster-api-client-modal-handle.js +12 -0
- package/lib/esm/modals/c4-create-connector-secret-modal-handle.d.ts +3 -0
- package/lib/esm/modals/c4-create-connector-secret-modal-handle.js +12 -0
- package/lib/esm/modals/c4-create-console-api-client-modal-handle.d.ts +3 -0
- package/lib/esm/modals/c4-create-console-api-client-modal-handle.js +12 -0
- package/lib/esm/modals/c4-invite-user-to-organization-modal-handle.d.ts +3 -0
- package/lib/esm/modals/c4-invite-user-to-organization-modal-handle.js +12 -0
- package/lib/esm/modals/c4-rename-organization-modal-handle.d.ts +3 -0
- package/lib/esm/modals/c4-rename-organization-modal-handle.js +12 -0
- package/lib/esm/notifications/c4-console-notifications-handle.d.ts +8 -0
- package/lib/esm/notifications/c4-console-notifications-handle.js +15 -0
- package/lib/esm/runtime/c4-console-authz.d.ts +31 -0
- package/lib/esm/runtime/c4-console-authz.js +191 -0
- package/lib/esm/runtime/c4-console-authz.spec.d.ts +1 -0
- package/lib/esm/runtime/c4-console-authz.spec.js +45 -0
- package/lib/esm/runtime/c4-console-data-context.d.ts +38 -0
- package/lib/esm/runtime/c4-console-data-context.js +229 -0
- package/lib/esm/runtime/c4-console-data-context.types.d.ts +49 -0
- package/lib/esm/runtime/c4-console-data-context.types.js +6 -0
- package/lib/esm/runtime/c4-console-data-store.d.ts +75 -0
- package/lib/esm/runtime/c4-console-data-store.js +440 -0
- package/lib/esm/runtime/c4-console-data-store.spec.d.ts +1 -0
- package/lib/esm/runtime/c4-console-data-store.spec.js +33 -0
- package/lib/esm/runtime/c4-console-notifications-context.d.ts +7 -0
- package/lib/esm/runtime/c4-console-notifications-context.js +76 -0
- package/lib/esm/runtime/c4-console-notifications-context.types.d.ts +34 -0
- package/lib/esm/runtime/c4-console-notifications-context.types.js +6 -0
- package/lib/esm/runtime/c4-console-runtime-context.d.ts +8 -0
- package/lib/esm/runtime/c4-console-runtime-context.js +13 -0
- package/lib/esm/runtime/c4-console-runtime.types.d.ts +45 -0
- package/lib/esm/runtime/c4-console-runtime.types.js +6 -0
- package/lib/esm/runtime/to-api-config.d.ts +3 -0
- package/lib/esm/runtime/to-api-config.js +31 -0
- package/lib/esm/runtime/to-identity-api-base-url.d.ts +5 -0
- package/lib/esm/runtime/to-identity-api-base-url.js +22 -0
- package/lib/esm/setupTests.d.ts +1 -0
- package/lib/esm/setupTests.js +37 -0
- package/lib/esm/themes/barbie-light.css +446 -0
- package/lib/esm/themes/barbie.css +446 -0
- package/lib/esm/themes/cyberpunk-brutalism-light.css +748 -0
- package/lib/esm/themes/cyberpunk-brutalism.css +956 -0
- package/lib/esm/themes/cyberpunk-rose-light.css +750 -0
- package/lib/esm/themes/cyberpunk-rose.css +958 -0
- package/lib/esm/themes/terminal-light.css +422 -0
- package/lib/esm/themes/terminal.css +474 -0
- package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.d.ts +4 -0
- package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.js +492 -0
- package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.types.d.ts +14 -0
- package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.types.js +6 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.d.ts +5 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +1029 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +44 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.js +6 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.d.ts +3 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.js +116 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.spec.d.ts +1 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.spec.js +67 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.types.d.ts +31 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.types.js +6 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-activity-tab.d.ts +12 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-activity-tab.js +31 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-alerts-tab.d.ts +32 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-alerts-tab.js +232 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-audit-log-tab.d.ts +12 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-audit-log-tab.js +5 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.d.ts +20 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.js +289 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.d.ts +20 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.js +483 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.d.ts +17 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +466 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.d.ts +15 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.js +256 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.d.ts +18 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.js +454 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-ip-whitelist-tab.d.ts +17 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-ip-whitelist-tab.js +205 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.d.ts +43 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +750 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.d.ts +16 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.js +338 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.d.ts +17 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +340 -0
- package/lib/esm/widgets/cluster-details/tabs/url-utils.d.ts +1 -0
- package/lib/esm/widgets/cluster-details/tabs/url-utils.js +28 -0
- package/lib/esm/widgets/cluster-details/tabs/url-utils.test.d.ts +1 -0
- package/lib/esm/widgets/cluster-details/tabs/url-utils.test.js +34 -0
- package/lib/esm/widgets/clusters/c4-clusters-page.d.ts +4 -0
- package/lib/esm/widgets/clusters/c4-clusters-page.js +682 -0
- package/lib/esm/widgets/clusters/c4-clusters-page.spec.d.ts +1 -0
- package/lib/esm/widgets/clusters/c4-clusters-page.spec.js +155 -0
- package/lib/esm/widgets/clusters/c4-clusters-page.types.d.ts +49 -0
- package/lib/esm/widgets/clusters/c4-clusters-page.types.js +6 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.d.ts +4 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.js +76 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.types.d.ts +24 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.types.js +6 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.d.ts +4 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.js +76 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.types.d.ts +24 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.types.js +6 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-page.d.ts +4 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-page.js +74 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-page.spec.d.ts +1 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-page.spec.js +140 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-page.types.d.ts +18 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-page.types.js +6 -0
- package/lib/esm/widgets/connector-management/c4-connector-management.shared.d.ts +14 -0
- package/lib/esm/widgets/connector-management/c4-connector-management.shared.js +97 -0
- package/lib/esm/widgets/create-cluster/c4-create-cluster-page.d.ts +5 -0
- package/lib/esm/widgets/create-cluster/c4-create-cluster-page.js +841 -0
- package/lib/esm/widgets/create-cluster/c4-create-cluster-page.spec.d.ts +1 -0
- package/lib/esm/widgets/create-cluster/c4-create-cluster-page.spec.js +179 -0
- package/lib/esm/widgets/create-cluster/c4-create-cluster-page.types.d.ts +29 -0
- package/lib/esm/widgets/create-cluster/c4-create-cluster-page.types.js +6 -0
- package/lib/esm/widgets/dashboard/c4-dashboard-app.d.ts +14 -0
- package/lib/esm/widgets/dashboard/c4-dashboard-app.js +456 -0
- package/lib/esm/widgets/dashboard/c4-dashboard-app.types.d.ts +80 -0
- package/lib/esm/widgets/dashboard/c4-dashboard-app.types.js +6 -0
- package/lib/esm/widgets/group-details/c4-group-details-page.d.ts +5 -0
- package/lib/esm/widgets/group-details/c4-group-details-page.js +193 -0
- package/lib/esm/widgets/group-details/c4-group-details-page.spec.d.ts +1 -0
- package/lib/esm/widgets/group-details/c4-group-details-page.spec.js +35 -0
- package/lib/esm/widgets/group-details/c4-group-details-page.types.d.ts +17 -0
- package/lib/esm/widgets/group-details/c4-group-details-page.types.js +6 -0
- package/lib/esm/widgets/management/c4-management-app.d.ts +5 -0
- package/lib/esm/widgets/management/c4-management-app.js +2303 -0
- package/lib/esm/widgets/management/c4-management-app.types.d.ts +69 -0
- package/lib/esm/widgets/management/c4-management-app.types.js +6 -0
- package/lib/esm/widgets/management/c4-management-page.d.ts +3 -0
- package/lib/esm/widgets/management/c4-management-page.js +35 -0
- package/lib/esm/widgets/management/c4-management-page.spec.d.ts +1 -0
- package/lib/esm/widgets/management/c4-management-page.spec.js +40 -0
- package/lib/esm/widgets/management/c4-management-page.types.d.ts +11 -0
- package/lib/esm/widgets/management/c4-management-page.types.js +6 -0
- package/lib/esm/widgets/management/tabs/c4-management-activity-tab.d.ts +5 -0
- package/lib/esm/widgets/management/tabs/c4-management-activity-tab.js +5 -0
- package/lib/esm/widgets/management/tabs/c4-management-api-tab.d.ts +61 -0
- package/lib/esm/widgets/management/tabs/c4-management-api-tab.js +629 -0
- package/lib/esm/widgets/management/tabs/c4-management-billing-tab.d.ts +43 -0
- package/lib/esm/widgets/management/tabs/c4-management-billing-tab.js +340 -0
- package/lib/esm/widgets/management/tabs/c4-management-groups-tab.d.ts +13 -0
- package/lib/esm/widgets/management/tabs/c4-management-groups-tab.js +26 -0
- package/lib/esm/widgets/management/tabs/c4-management-overview-tab.d.ts +12 -0
- package/lib/esm/widgets/management/tabs/c4-management-overview-tab.js +85 -0
- package/lib/esm/widgets/management/tabs/c4-management-pricing-tab.d.ts +20 -0
- package/lib/esm/widgets/management/tabs/c4-management-pricing-tab.js +266 -0
- package/lib/esm/widgets/management/tabs/c4-management-settings-tab.d.ts +39 -0
- package/lib/esm/widgets/management/tabs/c4-management-settings-tab.js +103 -0
- package/lib/esm/widgets/management/tabs/c4-management-usage-tab.d.ts +49 -0
- package/lib/esm/widgets/management/tabs/c4-management-usage-tab.js +72 -0
- package/lib/esm/widgets/management/tabs/c4-management-users-tab.d.ts +25 -0
- package/lib/esm/widgets/management/tabs/c4-management-users-tab.js +259 -0
- package/lib/esm/widgets/management/tabs/c4-management-users-tab.spec.d.ts +1 -0
- package/lib/esm/widgets/management/tabs/c4-management-users-tab.spec.js +65 -0
- package/lib/esm/widgets/user-details/c4-user-details-page.d.ts +5 -0
- package/lib/esm/widgets/user-details/c4-user-details-page.js +591 -0
- package/lib/esm/widgets/user-details/c4-user-details-page.spec.d.ts +1 -0
- package/lib/esm/widgets/user-details/c4-user-details-page.spec.js +61 -0
- package/lib/esm/widgets/user-details/c4-user-details-page.types.d.ts +29 -0
- package/lib/esm/widgets/user-details/c4-user-details-page.types.js +6 -0
- 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,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 @@
|
|
|
1
|
+
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
|
+
});
|