@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,131 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
4
|
+
* under one or more contributor license agreements. Licensed under a commercial license.
|
|
5
|
+
* You may not use this file except in compliance with the commercial license.
|
|
6
|
+
*/
|
|
7
|
+
import { C3DataTable, C3EmptyState, } from '@camunda/camunda-composite-components';
|
|
8
|
+
import { Button, Link, Stack, StaticNotification, StructuredListSkeleton, } from '@carbon/react';
|
|
9
|
+
import { ConnectionSend, Renew, TrashCan } from '@carbon/react/icons/index.esm.js';
|
|
10
|
+
import { C4ExternalLink } from '../c4-external-link/c4-external-link.js';
|
|
11
|
+
import { C4Toggle } from '../c4-toggle/c4-toggle.js';
|
|
12
|
+
export const C4ManagementSettings = ({ orgId: _orgId, organizationName: _organizationName, hasAcceptedBetaTerms, suppressDropDisks, earlyAccessFeatures, recentlyAcceptedBeta, loading, error, permissions, onLeaveOrganization, onDeleteOrganization, onToggleSuppressDropDisks, onToggleEarlyAccessFeature, onOptInToBeta, onOpenFeatureOptIn, onShareFeedback, onRetry, text, earlyAccessDocsUrl, }) => {
|
|
13
|
+
const canBeToggled = (feature) => {
|
|
14
|
+
return !feature.requiresClickwrap || feature.hasAcceptedFeatureTerms;
|
|
15
|
+
};
|
|
16
|
+
const headers = [
|
|
17
|
+
{
|
|
18
|
+
label: text.earlyAccess.columns.name,
|
|
19
|
+
key: 'name',
|
|
20
|
+
type: {
|
|
21
|
+
type: 'wrapper',
|
|
22
|
+
options: {
|
|
23
|
+
wrapperOptions: {
|
|
24
|
+
wrapper: (row) => (_jsx("strong", { children: row.name })),
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
sorting: (a, b) => {
|
|
29
|
+
return a.name.localeCompare(b.name);
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
label: text.earlyAccess.columns.availableIn,
|
|
34
|
+
key: 'availableIn',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
label: text.earlyAccess.columns.description,
|
|
38
|
+
key: 'description',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
label: text.earlyAccess.columns.documentation,
|
|
42
|
+
key: 'documentationLink',
|
|
43
|
+
type: {
|
|
44
|
+
type: 'wrapper',
|
|
45
|
+
options: {
|
|
46
|
+
wrapperOptions: {
|
|
47
|
+
wrapper: (row) => (_jsx(Link, { className: 'cds--link', href: row.documentationLink, target: '_blank', children: text.earlyAccess.viewDocsLabel })),
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
label: text.earlyAccess.columns.status,
|
|
54
|
+
key: 'enabled',
|
|
55
|
+
type: {
|
|
56
|
+
type: 'wrapper',
|
|
57
|
+
options: {
|
|
58
|
+
wrapperOptions: {
|
|
59
|
+
wrapper: (row) => {
|
|
60
|
+
const feature = earlyAccessFeatures.find((f) => f.id === row.id);
|
|
61
|
+
if (!feature)
|
|
62
|
+
return null;
|
|
63
|
+
if (canBeToggled(feature)) {
|
|
64
|
+
return (_jsx(C4Toggle, { id: row.id, supported: hasAcceptedBetaTerms, enabled: row.enabled, title: '', notices: [], onClick: () => {
|
|
65
|
+
onToggleEarlyAccessFeature(row.id);
|
|
66
|
+
}, permissions: {
|
|
67
|
+
mayToggle: permissions.mayToggleEarlyAccessFeatures,
|
|
68
|
+
} }));
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
return (_jsx(Button, { kind: 'ghost', disabled: !hasAcceptedBetaTerms, size: 'sm', onClick: () => {
|
|
72
|
+
onOpenFeatureOptIn(row.id);
|
|
73
|
+
}, children: text.earlyAccess.optInToEnableLabel }));
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
];
|
|
81
|
+
if (loading) {
|
|
82
|
+
return _jsx(StructuredListSkeleton, { rowCount: 6 });
|
|
83
|
+
}
|
|
84
|
+
// Transform early access features to include originalIndex for C3DataTable
|
|
85
|
+
const tableData = earlyAccessFeatures.map((feature, index) => ({
|
|
86
|
+
...feature,
|
|
87
|
+
originalIndex: index,
|
|
88
|
+
}));
|
|
89
|
+
const component = (_jsxs(Stack, { gap: 6, children: [permissions.mayLeaveOrganization && (_jsx("div", { style: { marginTop: '10px' }, children: _jsxs("div", { style: {
|
|
90
|
+
backgroundColor: 'var(--cds-layer)',
|
|
91
|
+
padding: '20px',
|
|
92
|
+
}, children: [_jsx("h4", { children: text.leaveOrganization.title }), _jsx("p", { style: { marginTop: '8px', color: 'var(--cds-text-helper)' }, children: text.leaveOrganization.consequence }), _jsx("p", { style: { color: 'var(--cds-text-helper)' }, children: text.leaveOrganization.regainAccess }), _jsx(Button, { style: { marginTop: '24px' }, onClick: onLeaveOrganization, size: 'md', kind: 'danger--tertiary', renderIcon: ConnectionSend, children: text.leaveOrganization.buttonLabel })] }) })), permissions.maySuppressDropDisks && (_jsx("div", { children: _jsxs("div", { style: {
|
|
93
|
+
backgroundColor: 'var(--cds-layer)',
|
|
94
|
+
padding: '20px',
|
|
95
|
+
}, children: [_jsx("h4", { children: text.suppressDropDisks.title }), _jsx("p", { style: { marginTop: '8px', color: 'var(--cds-text-helper)' }, children: text.suppressDropDisks.description }), _jsx(C4Toggle, { id: 'suppress-drop-disks-toggle', supported: true, enabled: suppressDropDisks, title: '', notices: [], onClick: onToggleSuppressDropDisks, permissions: {
|
|
96
|
+
mayToggle: true,
|
|
97
|
+
} })] }) })), permissions.mayDeleteOrganization && (_jsx("div", { children: _jsxs("div", { style: {
|
|
98
|
+
backgroundColor: 'var(--cds-layer)',
|
|
99
|
+
padding: '20px',
|
|
100
|
+
}, children: [_jsx("h4", { children: text.deleteOrganization.title }), _jsx("p", { style: { marginTop: '8px', color: 'var(--cds-text-helper)' }, children: text.deleteOrganization.consequence }), _jsx(Button, { style: { marginTop: '24px' }, renderIcon: TrashCan, kind: 'danger', size: 'md', iconDescription: text.deleteOrganization.buttonLabel, onClick: onDeleteOrganization, children: text.deleteOrganization.buttonLabel })] }) })), permissions.mayToggleEarlyAccessFeatures && earlyAccessFeatures && (_jsx("div", { children: _jsxs("div", { style: {
|
|
101
|
+
backgroundColor: 'var(--cds-layer)',
|
|
102
|
+
padding: '20px',
|
|
103
|
+
}, children: [_jsx("h4", { children: text.earlyAccess.title }), _jsx("p", { style: { marginTop: '12px', color: 'var(--cds-text-helper)' }, children: text.earlyAccess.description0 }), _jsxs("p", { style: {
|
|
104
|
+
marginBottom: '18px',
|
|
105
|
+
color: 'var(--cds-text-helper)',
|
|
106
|
+
}, children: [text.earlyAccess.description1, ' ', _jsx(C4ExternalLink, { id: 'docs-link', label: text.earlyAccess.learnMoreLabel, href: earlyAccessDocsUrl, target: '_blank' })] }), _jsxs(Stack, { children: [recentlyAcceptedBeta && (_jsx(StaticNotification, { lowContrast: true, titleId: 'optInNotification-feedback', "aria-describedby": 'optInNotification-feedback', title: text.earlyAccess.optInNotificationTitle, subtitle: text.earlyAccess.optInNotificationText, actionButtonLabel: text.earlyAccess.optInNotificationFeedback, onActionButtonClick: onShareFeedback, kind: 'success', style: {
|
|
107
|
+
maxWidth: '100%',
|
|
108
|
+
marginBottom: '12px',
|
|
109
|
+
} }, 'optin-notification')), error ? (_jsx(C3EmptyState, { icon: {
|
|
110
|
+
path: `../../../assets/fatalError.svg`,
|
|
111
|
+
altText: 'errorIcon',
|
|
112
|
+
}, heading: text.earlyAccess.errorTitle, description: text.earlyAccess.errorMessage, button: {
|
|
113
|
+
onClick: onRetry,
|
|
114
|
+
disabled: false,
|
|
115
|
+
label: text.earlyAccess.errorButton,
|
|
116
|
+
icon: Renew,
|
|
117
|
+
}, link: {
|
|
118
|
+
href: '',
|
|
119
|
+
label: '',
|
|
120
|
+
} })) : earlyAccessFeatures.length === 0 ? (_jsx("div", { style: {
|
|
121
|
+
borderTop: '1px solid var(--cds-border-subtle)',
|
|
122
|
+
}, children: _jsx("p", { style: {
|
|
123
|
+
marginTop: '12px',
|
|
124
|
+
color: 'var(--cds-text-helper)',
|
|
125
|
+
}, children: text.earlyAccess.emptyState }) })) : (_jsx("div", { style: {
|
|
126
|
+
display: 'flex',
|
|
127
|
+
flexDirection: 'column',
|
|
128
|
+
overflowX: 'auto',
|
|
129
|
+
}, children: _jsx(C3DataTable, { headers: headers, data: tableData, isLoading: false, queryPrefix: 'management-settings' }) })), !hasAcceptedBetaTerms && permissions.mayOptInToBeta && (_jsx(Button, { style: { marginTop: '16px' }, onClick: onOptInToBeta, size: 'md', children: text.earlyAccess.optInButton }))] })] }) }))] }));
|
|
130
|
+
return component;
|
|
131
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
export interface EarlyAccessFeature {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
documentationLink: string;
|
|
6
|
+
availableIn: string;
|
|
7
|
+
enabled: boolean;
|
|
8
|
+
requiresClickwrap: boolean;
|
|
9
|
+
hasAcceptedFeatureTerms: boolean;
|
|
10
|
+
clickwrapId?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface C4ManagementSettingsProps {
|
|
13
|
+
orgId: string;
|
|
14
|
+
organizationName: string;
|
|
15
|
+
hasAcceptedBetaTerms: boolean;
|
|
16
|
+
suppressDropDisks: boolean;
|
|
17
|
+
earlyAccessFeatures: EarlyAccessFeature[];
|
|
18
|
+
recentlyAcceptedBeta: boolean;
|
|
19
|
+
loading: boolean;
|
|
20
|
+
error: boolean;
|
|
21
|
+
permissions: {
|
|
22
|
+
mayLeaveOrganization: boolean;
|
|
23
|
+
mayDeleteOrganization: boolean;
|
|
24
|
+
maySuppressDropDisks: boolean;
|
|
25
|
+
mayToggleEarlyAccessFeatures: boolean;
|
|
26
|
+
mayOptInToBeta: boolean;
|
|
27
|
+
};
|
|
28
|
+
onLeaveOrganization: () => void;
|
|
29
|
+
onDeleteOrganization: () => void;
|
|
30
|
+
onToggleSuppressDropDisks: () => void;
|
|
31
|
+
onToggleEarlyAccessFeature: (featureId: string) => void;
|
|
32
|
+
onOptInToBeta: () => void;
|
|
33
|
+
onOpenFeatureOptIn: (featureId: string) => void;
|
|
34
|
+
onShareFeedback: () => void;
|
|
35
|
+
onRetry: () => void;
|
|
36
|
+
text: {
|
|
37
|
+
leaveOrganization: {
|
|
38
|
+
title: string;
|
|
39
|
+
consequence: string;
|
|
40
|
+
regainAccess: string;
|
|
41
|
+
buttonLabel: string;
|
|
42
|
+
};
|
|
43
|
+
suppressDropDisks: {
|
|
44
|
+
title: string;
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
47
|
+
deleteOrganization: {
|
|
48
|
+
title: string;
|
|
49
|
+
consequence: string;
|
|
50
|
+
buttonLabel: string;
|
|
51
|
+
};
|
|
52
|
+
earlyAccess: {
|
|
53
|
+
title: string;
|
|
54
|
+
description0: string;
|
|
55
|
+
description1: string;
|
|
56
|
+
learnMoreLabel: string;
|
|
57
|
+
optInButton: string;
|
|
58
|
+
optInNotificationTitle: string;
|
|
59
|
+
optInNotificationText: string;
|
|
60
|
+
optInNotificationFeedback: string;
|
|
61
|
+
emptyState: string;
|
|
62
|
+
errorTitle: string;
|
|
63
|
+
errorMessage: string;
|
|
64
|
+
errorButton: string;
|
|
65
|
+
viewDocsLabel: string;
|
|
66
|
+
optInToEnableLabel: string;
|
|
67
|
+
columns: {
|
|
68
|
+
name: string;
|
|
69
|
+
availableIn: string;
|
|
70
|
+
description: string;
|
|
71
|
+
documentation: string;
|
|
72
|
+
status: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
earlyAccessDocsUrl: string;
|
|
77
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
4
|
+
* under one or more contributor license agreements. Licensed under a commercial license.
|
|
5
|
+
* You may not use this file except in compliance with the commercial license.
|
|
6
|
+
*/
|
|
7
|
+
import { C3DataTable } from '@camunda/camunda-composite-components';
|
|
8
|
+
import { Stack } from '@carbon/react';
|
|
9
|
+
import { C4ActionableNotification } from '../c4-actionable-notification/c4-actionable-notification.js';
|
|
10
|
+
export const C4ManagementUsers = ({ users, loading, headers, actions, toolbar, banner, }) => {
|
|
11
|
+
const bannerNotification = banner.show ? (_jsx(C4ActionableNotification, { kind: 'info', title: '', subtitle: banner.subtitle, actionButtonLabel: banner.actionButtonLabel, onActionButtonClick: banner.onActionClick, lowContrast: false })) : null;
|
|
12
|
+
const dataTable = (_jsx(C3DataTable, { headers: headers, data: users, actions: actions, toolbar: toolbar, title: 'Users', isLoading: loading, options: {
|
|
13
|
+
actionsUseOverflowMenuMinItems: 2,
|
|
14
|
+
}, queryPrefix: 'management-users' }));
|
|
15
|
+
const component = (_jsxs(Stack, { gap: 3, children: [bannerNotification, _jsx("div", { style: { display: 'flex', flexDirection: 'column', overflowX: 'auto' }, children: dataTable })] }));
|
|
16
|
+
return component;
|
|
17
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { C3DataTableActionProps, C3DataTableHeadersProps, C3DataTableToolbarProps, RowBaseProps } from '@camunda/camunda-composite-components';
|
|
2
|
+
export interface UserDataTableRow extends RowBaseProps {
|
|
3
|
+
name: string;
|
|
4
|
+
email: string;
|
|
5
|
+
roles: string;
|
|
6
|
+
rolesArray: string[];
|
|
7
|
+
userId: string | null;
|
|
8
|
+
inviteId?: string;
|
|
9
|
+
pendingInvite: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface C4ManagementUsersProps {
|
|
12
|
+
users: UserDataTableRow[];
|
|
13
|
+
loading: boolean;
|
|
14
|
+
headers: C3DataTableHeadersProps<UserDataTableRow>[];
|
|
15
|
+
actions: C3DataTableActionProps<UserDataTableRow>[];
|
|
16
|
+
toolbar: C3DataTableToolbarProps<UserDataTableRow>[];
|
|
17
|
+
banner: {
|
|
18
|
+
show: boolean;
|
|
19
|
+
subtitle: string;
|
|
20
|
+
actionButtonLabel: string;
|
|
21
|
+
onActionClick: () => void;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
4
|
+
* under one or more contributor license agreements. Licensed under a commercial license.
|
|
5
|
+
* You may not use this file except in compliance with the commercial license.
|
|
6
|
+
*/
|
|
7
|
+
import { Button, ComposedModal, InlineLoading, InlineNotification, ModalBody, ModalFooter, ModalHeader, ProgressIndicator, ProgressStep, Stack, } from '@carbon/react';
|
|
8
|
+
import { useState } from 'react';
|
|
9
|
+
export const C4MultiStepModal = ({ title, subtitle, steps, isOpen, onClose, preventCloseOnClickOutside, }) => {
|
|
10
|
+
const [step, setStep] = useState(0);
|
|
11
|
+
const [error, setError] = useState('');
|
|
12
|
+
const [asyncWork, setAsyncWork] = useState(false);
|
|
13
|
+
const currentStep = steps[step];
|
|
14
|
+
const { primary, secondary } = currentStep.actions;
|
|
15
|
+
const component = (_jsxs(ComposedModal, { open: isOpen, onClose: onClose, preventCloseOnClickOutside: preventCloseOnClickOutside ?? false, children: [_jsx(ModalHeader, { title: title, label: subtitle }), _jsx(ModalBody, { children: _jsxs(Stack, { gap: 8, children: [_jsx(ProgressIndicator, { currentIndex: step, spaceEqually: true, children: steps.map((step, index) => (_jsx(ProgressStep, { label: step.title, secondaryLabel: step.subtitle }, index))) }), currentStep.content, error.length > 0 && (_jsx(InlineNotification, { kind: 'error', title: 'Error', subtitle: error }))] }) }), _jsxs(ModalFooter, { children: [_jsx(Button, { kind: secondary.kind, disabled: asyncWork || secondary.disabled, onClick: () => {
|
|
16
|
+
if (step > 0) {
|
|
17
|
+
setError('');
|
|
18
|
+
setStep(step - 1);
|
|
19
|
+
}
|
|
20
|
+
secondary.onClick(step);
|
|
21
|
+
}, children: secondary.label }), _jsx(Button, { kind: primary.kind, disabled: asyncWork || primary.disabled, onClick: async () => {
|
|
22
|
+
const valid = primary.validate
|
|
23
|
+
? primary.validate()
|
|
24
|
+
: { isValid: true, message: '' };
|
|
25
|
+
if (valid.isValid) {
|
|
26
|
+
setError('');
|
|
27
|
+
if (primary.isAsync) {
|
|
28
|
+
setAsyncWork(true);
|
|
29
|
+
}
|
|
30
|
+
try {
|
|
31
|
+
await primary.onClick(step);
|
|
32
|
+
if (primary.isAsync) {
|
|
33
|
+
setAsyncWork(false);
|
|
34
|
+
}
|
|
35
|
+
if (step < steps.length - 1) {
|
|
36
|
+
setStep(step + 1);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
catch (error) {
|
|
40
|
+
setError(String(error));
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
setError(valid.message);
|
|
45
|
+
}
|
|
46
|
+
}, children: asyncWork ? _jsx(InlineLoading, {}) : primary.label })] })] }));
|
|
47
|
+
return component;
|
|
48
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { JSX } from 'react';
|
|
2
|
+
interface C4MultiStepModalAction {
|
|
3
|
+
label: string;
|
|
4
|
+
kind: any;
|
|
5
|
+
onClick: (step: number) => Promise<void>;
|
|
6
|
+
isAsync?: boolean;
|
|
7
|
+
validate?: () => {
|
|
8
|
+
isValid: boolean;
|
|
9
|
+
message: string;
|
|
10
|
+
};
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface C4MultiStepModalContent {
|
|
14
|
+
title: string;
|
|
15
|
+
subtitle?: string;
|
|
16
|
+
content: JSX.Element;
|
|
17
|
+
actions: {
|
|
18
|
+
primary: C4MultiStepModalAction;
|
|
19
|
+
secondary: C4MultiStepModalAction;
|
|
20
|
+
tertiary?: C4MultiStepModalAction;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export interface C4MultiStepModalProps {
|
|
24
|
+
title: string;
|
|
25
|
+
subtitle?: string;
|
|
26
|
+
isOpen: boolean;
|
|
27
|
+
steps: C4MultiStepModalContent[];
|
|
28
|
+
onClose: () => void;
|
|
29
|
+
preventCloseOnClickOutside?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
4
|
+
* under one or more contributor license agreements. Licensed under a commercial license.
|
|
5
|
+
* You may not use this file except in compliance with the commercial license.
|
|
6
|
+
*/
|
|
7
|
+
import { Button, ButtonSet, ComposedModal, InlineLoading, InlineNotification, ModalBody, ModalFooter, ModalHeader, } from '@carbon/react';
|
|
8
|
+
import { useState } from 'react';
|
|
9
|
+
export const C4MultiStepUglyModal = ({ open, steps, onClose, }) => {
|
|
10
|
+
const [currentStep, setCurrentStep] = useState(1);
|
|
11
|
+
const [error, setError] = useState('');
|
|
12
|
+
const [loadingStatus, setLoadingStatus] = useState('inactive');
|
|
13
|
+
const [activeButtonClickIndex, setActiveButtonClickIndex] = useState(-1);
|
|
14
|
+
const step = steps[currentStep - 1];
|
|
15
|
+
if (!step) {
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
const buttons = step?.buttons ?? [];
|
|
19
|
+
return (_jsxs(ComposedModal, { open: open, size: 'sm', onClose: onClose, preventCloseOnClickOutside: true, children: [_jsx(ModalHeader, { title: step.title, label: typeof step.label === 'function'
|
|
20
|
+
? step.label(currentStep)
|
|
21
|
+
: step.label }), _jsxs(ModalBody, { children: [step.content, error.length > 0 && (_jsx(InlineNotification, { kind: 'error', title: 'Error', subtitle: error }))] }), _jsx(ModalFooter, { children: _jsx(ButtonSet, { style: { width: '100%' }, children: buttons.map((button, index) => {
|
|
22
|
+
return (_jsx(Button, { kind: button.kind, onClick: async () => {
|
|
23
|
+
setError('');
|
|
24
|
+
setLoadingStatus('active');
|
|
25
|
+
setActiveButtonClickIndex(index);
|
|
26
|
+
let step = currentStep;
|
|
27
|
+
try {
|
|
28
|
+
step = await button.onClick(currentStep);
|
|
29
|
+
setLoadingStatus('inactive');
|
|
30
|
+
}
|
|
31
|
+
catch (e) {
|
|
32
|
+
setError(String(e));
|
|
33
|
+
setLoadingStatus('error');
|
|
34
|
+
}
|
|
35
|
+
finally {
|
|
36
|
+
setCurrentStep(Math.min(Math.max(step, 1), steps.length));
|
|
37
|
+
setActiveButtonClickIndex(-1);
|
|
38
|
+
}
|
|
39
|
+
}, disabled: button.disabled || loadingStatus === 'active', size: 'xl', style: {
|
|
40
|
+
flex: 1,
|
|
41
|
+
maxInlineSize: '100%',
|
|
42
|
+
}, children: loadingStatus === 'active' &&
|
|
43
|
+
activeButtonClickIndex === index ? (_jsx(InlineLoading, {})) : (button.label) }, index));
|
|
44
|
+
}) }) })] }));
|
|
45
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type C4MultiStepButton = {
|
|
2
|
+
label: string;
|
|
3
|
+
onClick: (currentStep: number) => number;
|
|
4
|
+
kind: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
type?: string;
|
|
7
|
+
};
|
|
8
|
+
export type Step = {
|
|
9
|
+
content: React.ReactNode;
|
|
10
|
+
buttons: C4MultiStepButton[];
|
|
11
|
+
title?: string;
|
|
12
|
+
label?: ((currentStep: number) => string) | string;
|
|
13
|
+
};
|
|
14
|
+
export type C4MultiStepUglyModalProps = {
|
|
15
|
+
steps: Step[];
|
|
16
|
+
open: boolean;
|
|
17
|
+
onClose: () => void;
|
|
18
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
4
|
+
* under one or more contributor license agreements. Licensed under a commercial license.
|
|
5
|
+
* You may not use this file except in compliance with the commercial license.
|
|
6
|
+
*/
|
|
7
|
+
import { NumberInput } from '@carbon/react';
|
|
8
|
+
import { useEffect, useState } from 'react';
|
|
9
|
+
export const C4NumberInput = ({ label, min, max, step, value, invalid, invalidText, disabled, onChange, }) => {
|
|
10
|
+
const [internalValue, setInternalValue] = useState(value ?? '');
|
|
11
|
+
useEffect(() => {
|
|
12
|
+
setInternalValue(value ?? '');
|
|
13
|
+
}, [value]);
|
|
14
|
+
return (_jsx(NumberInput, { "data-modal-primary-focus": true, id: `limit-input-${Math.floor(Math.random() * 1000)}`, label: label ?? '', iconDescription: '', min: min, max: max, step: step, invalid: invalid, invalidText: invalid ? (invalidText ?? '') : '', disabled: disabled, allowEmpty: true, value: internalValue, onChange: (_value, changeData) => {
|
|
15
|
+
const data = changeData;
|
|
16
|
+
setInternalValue(data.value ?? '');
|
|
17
|
+
if (data.value !== '') {
|
|
18
|
+
onChange(data.value);
|
|
19
|
+
}
|
|
20
|
+
} }));
|
|
21
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { JSX } from 'react';
|
|
2
|
+
import type { C4OldDashboardProps } from './c4-old-dashboard.types';
|
|
3
|
+
export declare const C4OldDashboard: ({ usersAmount, invitationsAmount, clustersAmount, healthyClustersAmount, updateAvailable, permissions, actions, urls, texts, displayFirstCTA, }: C4OldDashboardProps) => JSX.Element;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
4
|
+
* under one or more contributor license agreements. Licensed under a commercial license.
|
|
5
|
+
* You may not use this file except in compliance with the commercial license.
|
|
6
|
+
*/
|
|
7
|
+
import { C3ResponsiveStack } from '@camunda/camunda-composite-components';
|
|
8
|
+
import { Button, Link, ListItem, OrderedList, Stack, Tile } from '@carbon/react';
|
|
9
|
+
export const C4OldDashboard = ({ usersAmount, invitationsAmount, clustersAmount, healthyClustersAmount, updateAvailable, permissions, actions, urls, texts, displayFirstCTA = true, }) => {
|
|
10
|
+
const welcomeTile = (_jsx(Tile, { children: _jsxs(Stack, { gap: 6, children: [_jsxs("h3", { children: [texts.welcome.title, _jsx("span", { id: 'welcomeHeader' })] }), _jsx("div", { dangerouslySetInnerHTML: { __html: texts.welcome.text } }), _jsxs(OrderedList, { style: { marginLeft: '3rem' }, children: [_jsx(ListItem, { children: _jsx("div", { dangerouslySetInnerHTML: { __html: texts.welcome.item1 } }) }), _jsx(ListItem, { children: _jsx("div", { dangerouslySetInnerHTML: { __html: texts.welcome.item2 } }) }), _jsx(ListItem, { children: _jsx("div", { dangerouslySetInnerHTML: { __html: texts.welcome.item3 } }) })] }), _jsx("div", { children: _jsxs(C3ResponsiveStack, { orientation: 'horizontal', gap: 6, children: [displayFirstCTA && (_jsx(Button, { onClick: actions.onModelProcess, id: 'modelAProcess', children: texts.welcome.cta })), _jsx(Button, { onClick: actions.onGettingStartedGuide, id: 'gettingStartedGuide', kind: 'tertiary', children: texts.welcome.gsg }), _jsx(Button, { onClick: actions.onWatchDemo, id: 'gettingStartedAcademy', kind: 'tertiary', children: texts.welcome.watchADemo })] }) })] }) }));
|
|
11
|
+
const usersTile = permissions.showUsers && (_jsx(Tile, { style: {
|
|
12
|
+
height: '100%',
|
|
13
|
+
}, children: _jsxs(Stack, { gap: 6, children: [_jsxs("div", { style: {
|
|
14
|
+
display: 'grid',
|
|
15
|
+
justifyContent: 'space-between',
|
|
16
|
+
gridAutoFlow: 'column',
|
|
17
|
+
alignItems: 'center',
|
|
18
|
+
}, children: [_jsx("h3", { children: texts.users.title }), permissions.showMembersLink && (_jsx(Link, { href: urls.users, onClick: (e) => {
|
|
19
|
+
e.preventDefault();
|
|
20
|
+
actions.onNavigateToUsers();
|
|
21
|
+
}, title: texts.users.viewAll, children: texts.users.viewAll }))] }), _jsx("div", { children: usersAmount <= 1 ? (_jsx("div", { children: _jsx("div", { dangerouslySetInnerHTML: {
|
|
22
|
+
__html: texts.users.alone
|
|
23
|
+
.replace('<1>', '<button type="button" class="cds--btn cds--btn--tertiary cds--btn--md">')
|
|
24
|
+
.replace('</1>', '</button>'),
|
|
25
|
+
}, onClick: (e) => {
|
|
26
|
+
if (e.target.tagName === 'BUTTON') {
|
|
27
|
+
actions.onInviteUser();
|
|
28
|
+
}
|
|
29
|
+
} }) })) : (_jsx("div", { children: texts.users.text
|
|
30
|
+
.replace('{{usersAmount}}', usersAmount.toString())
|
|
31
|
+
.replace('{{pluralize}}', usersAmount === 1 ? texts.users.user : texts.users.users) })) }), _jsx("p", { children: usersAmount > 1 ? (invitationsAmount === 0 ? (texts.users.noInvitations) : invitationsAmount === 1 ? (texts.users.oneInvitation) : (texts.users.multipleInvitations.replace('{{amount}}', invitationsAmount.toString()))) : (_jsx(_Fragment, {})) })] }) }));
|
|
32
|
+
const clustersTile = (_jsx(Tile, { children: _jsxs(Stack, { gap: 6, children: [_jsxs("div", { style: {
|
|
33
|
+
display: 'grid',
|
|
34
|
+
justifyContent: 'space-between',
|
|
35
|
+
gridAutoFlow: 'column',
|
|
36
|
+
alignItems: 'center',
|
|
37
|
+
}, children: [_jsx("h3", { children: texts.clusters.title }), _jsx(Link, { href: urls.clusters, onClick: (e) => {
|
|
38
|
+
e.preventDefault();
|
|
39
|
+
actions.onNavigateToClusters();
|
|
40
|
+
}, title: texts.clusters.viewAll, children: texts.clusters.viewAll })] }), _jsx("p", { children: clustersAmount === 0
|
|
41
|
+
? texts.clusters.noClusters
|
|
42
|
+
: clustersAmount === 1
|
|
43
|
+
? texts.clusters.oneCluster
|
|
44
|
+
: texts.clusters.multipleClusters.replace('{{variable}}', clustersAmount.toString()) }), clustersAmount === 0 ? (_jsx("div", { children: _jsx(Button, { kind: 'tertiary', size: 'md', onClick: actions.onCreateCluster, children: texts.clusters.createACluster }) })) : (_jsx(_Fragment, {})), clustersAmount > 0 ? (_jsx("p", { dangerouslySetInnerHTML: {
|
|
45
|
+
__html: texts.clusters.status
|
|
46
|
+
.replace('<0>', '<strong>')
|
|
47
|
+
.replace('</0>', '</strong>')
|
|
48
|
+
.replace('{{variable}}', healthyClustersAmount === clustersAmount
|
|
49
|
+
? texts.clusters.all
|
|
50
|
+
: healthyClustersAmount.toString()),
|
|
51
|
+
} })) : null, updateAvailable ? (_jsx(Button, { kind: 'tertiary', size: 'md', onClick: actions.onNavigateToClusters, children: texts.clusters.updateAvailable })) : null] }) }));
|
|
52
|
+
const component = (_jsxs("div", { style: {
|
|
53
|
+
display: 'flex',
|
|
54
|
+
flexDirection: 'column',
|
|
55
|
+
gap: '30px',
|
|
56
|
+
}, children: [welcomeTile, _jsxs("div", { style: {
|
|
57
|
+
display: 'grid',
|
|
58
|
+
gridTemplateColumns: 'repeat(auto-fit, minmax(320px, calc(50% - 15px)))',
|
|
59
|
+
gap: '30px',
|
|
60
|
+
}, children: [usersTile, clustersTile] })] }));
|
|
61
|
+
return component;
|
|
62
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export interface C4OldDashboardProps {
|
|
2
|
+
usersAmount: number;
|
|
3
|
+
invitationsAmount: number;
|
|
4
|
+
clustersAmount: number;
|
|
5
|
+
healthyClustersAmount: number;
|
|
6
|
+
updateAvailable: boolean;
|
|
7
|
+
permissions: {
|
|
8
|
+
showUsers: boolean;
|
|
9
|
+
showMembersLink: boolean;
|
|
10
|
+
};
|
|
11
|
+
actions: {
|
|
12
|
+
onModelProcess: () => void;
|
|
13
|
+
onGettingStartedGuide: () => void;
|
|
14
|
+
onWatchDemo: () => void;
|
|
15
|
+
onInviteUser: () => void;
|
|
16
|
+
onCreateCluster: () => void;
|
|
17
|
+
onNavigateToClusters: () => void;
|
|
18
|
+
onNavigateToUsers: () => void;
|
|
19
|
+
};
|
|
20
|
+
urls: {
|
|
21
|
+
users: string;
|
|
22
|
+
clusters: string;
|
|
23
|
+
};
|
|
24
|
+
texts: {
|
|
25
|
+
welcome: {
|
|
26
|
+
title: string;
|
|
27
|
+
text: string;
|
|
28
|
+
item1: string;
|
|
29
|
+
item2: string;
|
|
30
|
+
item3: string;
|
|
31
|
+
cta: string;
|
|
32
|
+
gsg: string;
|
|
33
|
+
watchADemo: string;
|
|
34
|
+
};
|
|
35
|
+
users: {
|
|
36
|
+
title: string;
|
|
37
|
+
viewAll: string;
|
|
38
|
+
alone: string;
|
|
39
|
+
text: string;
|
|
40
|
+
user: string;
|
|
41
|
+
users: string;
|
|
42
|
+
noInvitations: string;
|
|
43
|
+
oneInvitation: string;
|
|
44
|
+
multipleInvitations: string;
|
|
45
|
+
};
|
|
46
|
+
clusters: {
|
|
47
|
+
title: string;
|
|
48
|
+
viewAll: string;
|
|
49
|
+
amount: string;
|
|
50
|
+
status: string;
|
|
51
|
+
all: string;
|
|
52
|
+
updateAvailable: string;
|
|
53
|
+
createACluster: string;
|
|
54
|
+
noClusters: string;
|
|
55
|
+
oneCluster: string;
|
|
56
|
+
multipleClusters: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
displayFirstCTA?: boolean;
|
|
60
|
+
}
|