@camunda/ccma-saas-frontend 0.0.46 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.d.ts +20 -3
- package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.js +50 -17
- package/lib/esm/components/c4-advanced-search-filters/ArrayFieldContainer.js +2 -1
- package/lib/esm/components/c4-advanced-search-filters/AutosuggestInput.js +1 -6
- package/lib/esm/components/c4-advanced-search-filters/FieldRow.js +4 -1
- package/lib/esm/components/c4-advanced-search-filters/FiltersSection.js +1 -6
- package/lib/esm/components/c4-advanced-search-filters/OrSection.js +3 -1
- package/lib/esm/components/c4-advanced-search-filters/c4-advanced-search-filters.js +3 -1
- package/lib/esm/components/c4-ai-usage/c4-ai-usage.js +2 -7
- package/lib/esm/components/c4-alpha-cluster-at-checkout/c4-alpha-cluster-at-checkout.js +7 -7
- package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.js +1 -6
- package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.spec.d.ts +1 -0
- package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.spec.js +43 -0
- package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.js +1 -1
- package/lib/esm/components/c4-async-modal/c4-async-modal.js +3 -2
- package/lib/esm/components/c4-audit-log/c4-audit-log.js +4 -3
- package/lib/esm/components/c4-billing-page/c4-billing-page.js +8 -6
- package/lib/esm/components/c4-billing-page/c4-billing-page.mocks.d.ts +3 -0
- package/lib/esm/components/c4-billing-page/c4-billing-page.mocks.js +154 -0
- package/lib/esm/components/c4-billing-page/elements/cluster-reservations.js +9 -14
- package/lib/esm/components/c4-billing-page/elements/current-usage-metrics.js +2 -1
- package/lib/esm/components/c4-billing-page/elements/usage-alerts.js +3 -8
- package/lib/esm/components/c4-billing-page/elements/value-metric.d.ts +2 -0
- package/lib/esm/components/c4-billing-page/elements/value-metric.js +15 -3
- package/lib/esm/components/c4-billing-page/elements/value-metric.spec.js +18 -0
- package/lib/esm/components/c4-bottom-links/c4-bottom-links.js +1 -6
- package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.js +3 -6
- package/lib/esm/components/c4-charts-dashboard/c4-charts-dashboard.js +1 -1
- package/lib/esm/components/c4-charts-dashboard/elements/alluvial-chart.js +59 -2
- package/lib/esm/components/c4-charts-dashboard/elements/bar-chart.js +41 -7
- package/lib/esm/components/c4-charts-dashboard/elements/line-chart.js +7 -1
- package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.js +6 -10
- package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.js +8 -3
- package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.js +8 -3
- package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.js +6 -5
- package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.js +12 -14
- package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.mocks.d.ts +5 -0
- package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.mocks.js +83 -0
- package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.js +6 -10
- package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.mocks.d.ts +6 -0
- package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.mocks.js +79 -0
- package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.js +8 -11
- package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.mocks.d.ts +3 -0
- package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.mocks.js +65 -0
- package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.js +9 -4
- package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.js +12 -8
- package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.mocks.d.ts +60 -0
- package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.mocks.js +143 -0
- package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.js +3 -2
- package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.js +7 -10
- package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.mocks.d.ts +6 -0
- package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.mocks.js +51 -0
- package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.js +15 -21
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.d.ts +1 -1
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.js +69 -6
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.mocks.d.ts +4 -0
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.mocks.js +132 -0
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.types.d.ts +7 -0
- package/lib/esm/components/c4-cluster-overview/applications.js +19 -4
- package/lib/esm/components/c4-cluster-overview/applications.spec.js +27 -1
- package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.js +4 -3
- package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.mocks.d.ts +8 -0
- package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.mocks.js +203 -0
- package/lib/esm/components/c4-cluster-overview/cluster-details.d.ts +2 -0
- package/lib/esm/components/c4-cluster-overview/cluster-details.js +68 -16
- package/lib/esm/components/c4-cluster-overview/cluster-load.js +39 -4
- package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.js +1 -6
- package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.mocks.d.ts +16 -0
- package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.mocks.js +104 -0
- package/lib/esm/components/c4-cluster-settings/elements/app-integrations-toggle.d.ts +14 -0
- package/lib/esm/components/c4-cluster-settings/elements/app-integrations-toggle.js +12 -0
- package/lib/esm/components/c4-cluster-settings/elements/cluster-settings.d.ts +5 -1
- package/lib/esm/components/c4-cluster-settings/elements/cluster-settings.js +10 -3
- package/lib/esm/components/c4-cluster-settings/elements/danger-zone.js +1 -6
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.d.ts +20 -0
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.js +85 -0
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.spec.d.ts +1 -0
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.spec.js +93 -0
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.d.ts +20 -0
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.js +15 -0
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.spec.d.ts +1 -0
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.spec.js +50 -0
- package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.d.ts +10 -4
- package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.js +117 -25
- package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.spec.d.ts +1 -0
- package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.spec.js +120 -0
- package/lib/esm/components/c4-cluster-settings/elements/resource-based-authorizations.js +2 -7
- package/lib/esm/components/c4-cluster-settings/elements/settings-tile.js +1 -6
- package/lib/esm/components/c4-cluster-settings/elements/tasklist-mode-toggle.js +1 -1
- package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.js +23 -3
- package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.js +18 -14
- package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.spec.d.ts +1 -0
- package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.spec.js +40 -0
- package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.types.d.ts +2 -0
- package/lib/esm/components/c4-clusters-trial-notification/c4-clusters-trial-notification.js +4 -9
- package/lib/esm/components/c4-clusters-trial-notification/c4-clusters-trial-notification.types.d.ts +2 -0
- package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.js +11 -7
- package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.mocks.d.ts +2 -0
- package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.mocks.js +186 -0
- package/lib/esm/components/c4-console-dashboard/elements/empty-state.js +2 -2
- package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.d.ts +2 -0
- package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.js +132 -0
- package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.mocks.d.ts +2 -0
- package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.mocks.js +20 -0
- package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.types.d.ts +22 -0
- package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.types.js +6 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.d.ts +32 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.js +71 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.spec.d.ts +1 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.spec.js +83 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +56 -54
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.mocks.d.ts +64 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.mocks.js +298 -0
- package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.js +51 -31
- package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.mocks.d.ts +2 -0
- package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.mocks.js +23 -0
- package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.types.d.ts +2 -0
- package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.js +4 -2
- package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.mocks.d.ts +2 -0
- package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.mocks.js +15 -0
- package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.js +6 -5
- package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.mocks.d.ts +2 -0
- package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.mocks.js +13 -0
- package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.types.d.ts +1 -0
- package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.d.ts +2 -0
- package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.js +77 -0
- package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.mocks.d.ts +2 -0
- package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.mocks.js +11 -0
- package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.types.d.ts +14 -0
- package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.types.js +6 -0
- package/lib/esm/components/c4-create-trial-organization-modal/c4-create-trial-organization-modal.js +2 -1
- package/lib/esm/components/c4-dashboard-first-launch/c4-dashboard-first-launch.js +1 -6
- package/lib/esm/components/c4-data-table/c4-data-table-skeleton.d.ts +15 -0
- package/lib/esm/components/c4-data-table/c4-data-table-skeleton.js +26 -0
- package/lib/esm/components/c4-data-table/c4-data-table.d.ts +3 -0
- package/lib/esm/components/c4-data-table/c4-data-table.js +277 -0
- package/lib/esm/components/c4-data-table/c4-data-table.spec.d.ts +1 -0
- package/lib/esm/components/c4-data-table/c4-data-table.spec.js +71 -0
- package/lib/esm/components/c4-data-table/c4-data-table.stability.spec.d.ts +1 -0
- package/lib/esm/components/c4-data-table/c4-data-table.stability.spec.js +151 -0
- package/lib/esm/components/c4-delete-organization-modal/c4-delete-organization-modal.js +3 -2
- package/lib/esm/components/c4-empty-state/c4-empty-state.d.ts +47 -0
- package/lib/esm/components/c4-empty-state/c4-empty-state.js +33 -0
- package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.d.ts +3 -0
- package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.js +51 -0
- package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.spec.d.ts +1 -0
- package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.spec.js +33 -0
- package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.types.d.ts +8 -0
- package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.types.js +1 -0
- package/lib/esm/components/c4-external-link/c4-external-link.js +1 -6
- package/lib/esm/components/c4-feedback-modal/c4-feedback-modal.d.ts +40 -0
- package/lib/esm/components/c4-feedback-modal/c4-feedback-modal.js +109 -0
- package/lib/esm/components/c4-help-center/c4-help-center.d.ts +50 -0
- package/lib/esm/components/c4-help-center/c4-help-center.js +39 -0
- package/lib/esm/components/c4-inline-notification/c4-inline-notification.d.ts +15 -0
- package/lib/esm/components/c4-inline-notification/c4-inline-notification.js +37 -0
- package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.js +4 -3
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.js +4 -2
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.mocks.d.ts +2 -0
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.mocks.js +231 -0
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-chart-heading.js +1 -1
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.js +3 -8
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.js +56 -2
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.js +37 -2
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.js +3 -3
- package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.js +2 -1
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.js +43 -46
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.mocks.d.ts +2 -0
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.mocks.js +102 -0
- package/lib/esm/components/c4-job-dashboard-shared/c4-background-fetching-indicator.js +1 -6
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-ds-colors.d.ts +10 -0
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-ds-colors.js +16 -0
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.js +1 -1
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-table-heading-with-tooltip.js +1 -1
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-time-range-dropdown.js +1 -1
- package/lib/esm/components/c4-leave-organization-modal/c4-leave-organization-modal.js +1 -6
- package/lib/esm/components/c4-link-button/c4-link-button.js +1 -6
- package/lib/esm/components/c4-llm-usage-meter/c4-llm-usage-meter.js +1 -1
- package/lib/esm/components/c4-management-activity/c4-management-activity.d.ts +1 -1
- package/lib/esm/components/c4-management-activity/c4-management-activity.js +109 -9
- package/lib/esm/components/c4-management-activity/c4-management-activity.mocks.d.ts +4 -0
- package/lib/esm/components/c4-management-activity/c4-management-activity.mocks.js +63 -0
- package/lib/esm/components/c4-management-activity/c4-management-activity.types.d.ts +11 -0
- package/lib/esm/components/c4-management-api/c4-management-api.js +9 -11
- package/lib/esm/components/c4-management-api/c4-management-api.mocks.d.ts +43 -0
- package/lib/esm/components/c4-management-api/c4-management-api.mocks.js +118 -0
- package/lib/esm/components/c4-management-overview/c4-management-overview.js +12 -14
- package/lib/esm/components/c4-management-settings/c4-management-settings.js +9 -11
- package/lib/esm/components/c4-management-users/c4-management-users.js +4 -9
- package/lib/esm/components/c4-multi-step-modal/c4-multi-step-modal.js +4 -2
- package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.js +4 -2
- package/lib/esm/components/c4-navigation/c4-navigation.d.ts +55 -0
- package/lib/esm/components/c4-navigation/c4-navigation.js +175 -0
- package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.js +3 -2
- package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.types.d.ts +1 -0
- package/lib/esm/components/c4-page-layout/c4-page-layout.d.ts +13 -0
- package/lib/esm/components/c4-page-layout/c4-page-layout.js +23 -0
- package/lib/esm/components/c4-page-template/c4-page-template.js +14 -3
- package/lib/esm/components/c4-permission-error-page/c4-permission-error-page.js +1 -1
- package/lib/esm/components/c4-pricing/c4-pricing.js +3 -7
- package/lib/esm/components/c4-pricing-card/c4-pricing-card.js +1 -1
- package/lib/esm/components/c4-rename-organization-modal/c4-rename-organization-modal.js +1 -1
- package/lib/esm/components/c4-search/c4-search-results.js +2 -1
- package/lib/esm/components/c4-selectable-tile/c4-selectable-tile.d.ts +20 -0
- package/lib/esm/components/c4-selectable-tile/c4-selectable-tile.js +44 -0
- package/lib/esm/components/c4-sm-cluster-details/automation-components.js +2 -1
- package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.js +1 -6
- package/lib/esm/components/c4-sm-cluster-details/custom-properties.js +4 -8
- package/lib/esm/components/c4-sm-cluster-details/details.js +5 -4
- package/lib/esm/components/c4-sm-cluster-details/zeebe-components.js +2 -1
- package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.js +1 -1
- package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.types.d.ts +1 -1
- package/lib/esm/components/c4-sm-dashboard/cluster-tile.js +2 -1
- package/lib/esm/components/c4-sm-dashboard/component-tile.js +2 -1
- package/lib/esm/components/c4-sm-dashboard/explore.js +1 -6
- package/lib/esm/components/c4-sm-dashboard/overview.js +1 -1
- package/lib/esm/components/c4-sm-dashboard/usage-tile.js +2 -1
- package/lib/esm/components/c4-stat/c4-stat.js +1 -6
- package/lib/esm/components/c4-stateful-button/c4-stateful-button.js +2 -1
- package/lib/esm/components/c4-structured-list/c4-structured-list.d.ts +21 -0
- package/lib/esm/components/c4-structured-list/c4-structured-list.js +75 -0
- package/lib/esm/components/c4-tabs/c4-tabs.js +2 -1
- package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.js +6 -2
- package/lib/esm/components/c4-telemetry-page/component-metrics.js +1 -6
- package/lib/esm/components/c4-telemetry-page/telemetry-for-component.js +60 -37
- package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.js +1 -1
- package/lib/esm/components/c4-theme-switcher/c4-theme-switcher.js +1 -1
- package/lib/esm/components/c4-tile-with-title-and-action/c4-tile-with-title-and-action.js +1 -1
- package/lib/esm/components/c4-toast-notification/c4-toast-notification.d.ts +14 -0
- package/lib/esm/components/c4-toast-notification/c4-toast-notification.js +27 -0
- package/lib/esm/components/c4-toggle/c4-toggle.js +6 -8
- package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.js +1 -1
- package/lib/esm/components/c4-usage-alert-update-modal/c4-usage-alert-update-modal.js +4 -2
- package/lib/esm/components/c4-usage-history/c4-usage-history.js +5 -3
- package/lib/esm/components/c4-usage-history/elements/usage-history-charts.js +7 -1
- package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.js +8 -7
- package/lib/esm/components/c4-user-details/c4-user-details.js +2 -2
- package/lib/esm/components/c4-user-details/tabs/authorized-resources.js +4 -2
- package/lib/esm/components/c4-user-details/tabs/details.js +6 -10
- package/lib/esm/components/c4-user-details/tabs/roles.js +3 -8
- package/lib/esm/components/shared-charts/ds-charts.smoke.spec.d.ts +1 -0
- package/lib/esm/components/shared-charts/ds-charts.smoke.spec.js +47 -0
- package/lib/esm/components/shared-charts/ds-line-chart.d.ts +33 -0
- package/lib/esm/components/shared-charts/ds-line-chart.js +55 -0
- package/lib/esm/components/shared-charts/ds-meter-chart.d.ts +22 -0
- package/lib/esm/components/shared-charts/ds-meter-chart.js +48 -0
- package/lib/esm/components/shared-charts/recharts-tokens.d.ts +24 -0
- package/lib/esm/components/shared-charts/recharts-tokens.js +51 -0
- package/lib/esm/externalUrls.const.d.ts +2 -0
- package/lib/esm/externalUrls.const.js +7 -0
- package/lib/esm/externalUrls.const.spec.js +2 -0
- package/lib/esm/i18n/c4-console-i18n.js +8 -0
- package/lib/esm/i18n/en/entities/orgroles.json +0 -16
- package/lib/esm/i18n/en/modals/clusters.json +0 -8
- package/lib/esm/i18n/en/pages/clusterdetails.json +14 -2
- package/lib/esm/i18n/en/pages/orgmanagement.json +12 -3
- package/lib/esm/index.d.ts +33 -1
- package/lib/esm/index.js +23 -1
- package/lib/esm/runtime/c4-console-authz.d.ts +26 -0
- package/lib/esm/runtime/c4-console-authz.js +59 -29
- package/lib/esm/runtime/c4-console-authz.spec.js +87 -20
- package/lib/esm/runtime/c4-console-data-context.js +40 -0
- package/lib/esm/runtime/c4-console-data-context.types.d.ts +19 -1
- package/lib/esm/runtime/c4-console-data-store.d.ts +25 -1
- package/lib/esm/runtime/c4-console-data-store.js +145 -31
- package/lib/esm/runtime/c4-console-data-store.nav.spec.d.ts +1 -0
- package/lib/esm/runtime/c4-console-data-store.nav.spec.js +121 -0
- package/lib/esm/runtime/c4-console-data-store.spec.js +35 -6
- package/lib/esm/runtime/c4-console-events-context.d.ts +18 -0
- package/lib/esm/runtime/c4-console-events-context.js +62 -0
- package/lib/esm/runtime/c4-console-runtime-context.d.ts +8 -1
- package/lib/esm/runtime/c4-console-runtime-context.js +50 -1
- package/lib/esm/runtime/c4-console-runtime.types.d.ts +20 -0
- package/lib/esm/runtime/c4-user-notifications-context.d.ts +19 -0
- package/lib/esm/runtime/c4-user-notifications-context.js +201 -0
- package/lib/esm/runtime/c4-user-notifications-context.spec.d.ts +1 -0
- package/lib/esm/runtime/c4-user-notifications-context.spec.js +80 -0
- package/lib/esm/runtime/c4-user-notifications-context.types.d.ts +31 -0
- package/lib/esm/runtime/c4-user-notifications-context.types.js +6 -0
- package/lib/esm/runtime/c4-user-theme.d.ts +27 -0
- package/lib/esm/runtime/c4-user-theme.js +106 -0
- package/lib/esm/runtime/decode-access-token.d.ts +12 -0
- package/lib/esm/runtime/decode-access-token.js +39 -0
- package/lib/esm/runtime/nav/camunda-apps.d.ts +45 -0
- package/lib/esm/runtime/nav/camunda-apps.js +100 -0
- package/lib/esm/runtime/nav/camunda-apps.spec.d.ts +1 -0
- package/lib/esm/runtime/nav/camunda-apps.spec.js +90 -0
- package/lib/esm/runtime/nav/use-webapp-nav-data.d.ts +75 -0
- package/lib/esm/runtime/nav/use-webapp-nav-data.js +211 -0
- package/lib/esm/runtime/nav/use-webapp-nav-data.spec.d.ts +1 -0
- package/lib/esm/runtime/nav/use-webapp-nav-data.spec.js +91 -0
- package/lib/esm/runtime/to-api-config.js +4 -0
- package/lib/esm/ui/c4-modal-dialog.d.ts +14 -0
- package/lib/esm/ui/c4-modal-dialog.js +35 -0
- package/lib/esm/ui/families.d.ts +42 -0
- package/lib/esm/ui/families.js +46 -0
- package/lib/esm/ui/index.d.ts +32 -0
- package/lib/esm/ui/index.js +95 -0
- package/lib/esm/ui/switchable.d.ts +14 -0
- package/lib/esm/ui/switchable.js +27 -0
- package/lib/esm/ui/tabs.d.ts +21 -0
- package/lib/esm/ui/tabs.js +27 -0
- package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.js +7 -5
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.d.ts +1 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +39 -15
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.merge.spec.d.ts +1 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.merge.spec.js +49 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +8 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.js +1 -1
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.spec.js +2 -0
- package/lib/esm/widgets/cluster-details/cluster-details-tabs.d.ts +23 -0
- package/lib/esm/widgets/cluster-details/cluster-details-tabs.js +83 -0
- package/lib/esm/widgets/cluster-details/cluster-details-tabs.spec.d.ts +1 -0
- package/lib/esm/widgets/cluster-details/cluster-details-tabs.spec.js +33 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-alerts-tab.js +25 -88
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.js +5 -3
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.js +7 -5
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +10 -6
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.js +3 -1
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-ip-whitelist-tab.js +25 -39
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +88 -35
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.spec.js +134 -19
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.js +12 -9
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.d.ts +2 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +194 -6
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.spec.js +60 -1
- package/lib/esm/widgets/clusters/c4-clusters-page.d.ts +1 -1
- package/lib/esm/widgets/clusters/c4-clusters-page.js +173 -81
- package/lib/esm/widgets/clusters/c4-clusters-page.spec.js +146 -13
- package/lib/esm/widgets/clusters/c4-clusters-page.types.d.ts +3 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.js +1 -1
- package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.js +3 -2
- package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.d.ts +4 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.js +59 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.types.d.ts +18 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.types.js +6 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-page.d.ts +1 -1
- package/lib/esm/widgets/connector-management/c4-connector-management-page.js +38 -5
- package/lib/esm/widgets/connector-management/c4-connector-management-page.spec.js +86 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-page.types.d.ts +11 -0
- package/lib/esm/widgets/connector-management/c4-connector-management.shared.d.ts +1 -0
- package/lib/esm/widgets/connector-management/c4-connector-management.shared.js +14 -5
- package/lib/esm/widgets/create-cluster/c4-create-cluster-page.js +1 -1
- package/lib/esm/widgets/dashboard/c4-dashboard-app.js +21 -2
- package/lib/esm/widgets/group-details/c4-group-details-page.js +3 -2
- package/lib/esm/widgets/management/c4-management-app.d.ts +1 -1
- package/lib/esm/widgets/management/c4-management-app.js +132 -23
- package/lib/esm/widgets/management/c4-management-app.spec.js +163 -1
- package/lib/esm/widgets/management/c4-management-app.types.d.ts +5 -0
- package/lib/esm/widgets/management/c4-management-page.js +1 -6
- package/lib/esm/widgets/management/management-tabs.d.ts +22 -0
- package/lib/esm/widgets/management/management-tabs.js +76 -0
- package/lib/esm/widgets/management/management-tabs.spec.d.ts +1 -0
- package/lib/esm/widgets/management/management-tabs.spec.js +28 -0
- package/lib/esm/widgets/management/tabs/c4-management-api-tab.js +4 -2
- package/lib/esm/widgets/management/tabs/c4-management-billing-tab.js +1 -1
- package/lib/esm/widgets/management/tabs/c4-management-groups-tab.js +1 -1
- package/lib/esm/widgets/management/tabs/c4-management-overview-tab.d.ts +3 -1
- package/lib/esm/widgets/management/tabs/c4-management-overview-tab.js +19 -3
- package/lib/esm/widgets/management/tabs/c4-management-pricing-tab.js +2 -1
- package/lib/esm/widgets/management/tabs/c4-management-settings-tab.js +1 -1
- package/lib/esm/widgets/management/tabs/c4-management-usage-tab.d.ts +1 -1
- package/lib/esm/widgets/management/tabs/c4-management-usage-tab.js +13 -11
- package/lib/esm/widgets/management/tabs/c4-management-users-tab.js +37 -5
- package/lib/esm/widgets/management/tabs/c4-management-users-tab.spec.js +98 -0
- package/lib/esm/widgets/use-extend-trial.d.ts +8 -0
- package/lib/esm/widgets/use-extend-trial.js +36 -0
- package/lib/esm/widgets/use-extend-trial.spec.d.ts +1 -0
- package/lib/esm/widgets/use-extend-trial.spec.js +79 -0
- package/lib/esm/widgets/user-details/c4-user-details-page.js +5 -14
- package/package.json +16 -7
|
@@ -10,6 +10,9 @@ import { render, waitFor } from '@testing-library/react';
|
|
|
10
10
|
import { C4ConsoleDataProvider } from '../../runtime/c4-console-data-context.js';
|
|
11
11
|
import { C4ConsoleRuntimeProvider } from '../../runtime/c4-console-runtime-context.js';
|
|
12
12
|
import { C4ClustersPage } from './c4-clusters-page.js';
|
|
13
|
+
vi.mock('../../notifications/c4-console-notifications-handle', () => ({
|
|
14
|
+
addC4ConsoleNotification: vi.fn(),
|
|
15
|
+
}));
|
|
13
16
|
let lastClusterListProps;
|
|
14
17
|
let lastClustersEmptyStateProps;
|
|
15
18
|
const getDefaultAuthorization = () => ({
|
|
@@ -43,7 +46,7 @@ vi.mock('@camunda/ccma-api', async () => {
|
|
|
43
46
|
getMyOrgs: vi.fn(),
|
|
44
47
|
},
|
|
45
48
|
GenerationService: {
|
|
46
|
-
|
|
49
|
+
getUpgradableMulti: vi.fn(),
|
|
47
50
|
getGeneration: vi.fn(),
|
|
48
51
|
upgradeCluster: vi.fn(),
|
|
49
52
|
},
|
|
@@ -52,8 +55,10 @@ vi.mock('@camunda/ccma-api', async () => {
|
|
|
52
55
|
},
|
|
53
56
|
};
|
|
54
57
|
});
|
|
55
|
-
vi.mock('../../runtime/c4-console-authz', () => {
|
|
58
|
+
vi.mock('../../runtime/c4-console-authz', async (importActual) => {
|
|
59
|
+
const actual = await importActual();
|
|
56
60
|
return {
|
|
61
|
+
...actual,
|
|
57
62
|
useC4ConsoleAuthz: () => {
|
|
58
63
|
return authzMock;
|
|
59
64
|
},
|
|
@@ -84,7 +89,7 @@ describe('C4ClustersPage', () => {
|
|
|
84
89
|
vi.mocked(HdpService.getClusterCapacity).mockReset();
|
|
85
90
|
vi.mocked(OrgsService.getOrgInfo).mockReset();
|
|
86
91
|
vi.mocked(OrgsService.getMyOrgs).mockReset();
|
|
87
|
-
vi.mocked(GenerationService.
|
|
92
|
+
vi.mocked(GenerationService.getUpgradableMulti).mockReset();
|
|
88
93
|
vi.mocked(GenerationService.getGeneration).mockReset();
|
|
89
94
|
vi.mocked(GenerationService.upgradeCluster).mockReset();
|
|
90
95
|
});
|
|
@@ -150,7 +155,7 @@ describe('C4ClustersPage', () => {
|
|
|
150
155
|
clusterId: 'c1',
|
|
151
156
|
});
|
|
152
157
|
});
|
|
153
|
-
it('only treats clusters
|
|
158
|
+
it('only treats dual-region clusters on a supported region pair as failover-eligible', async () => {
|
|
154
159
|
vi.mocked(ConsoleClusterService.getClusters).mockResolvedValue([
|
|
155
160
|
{
|
|
156
161
|
uuid: 'no-backup',
|
|
@@ -175,16 +180,41 @@ describe('C4ClustersPage', () => {
|
|
|
175
180
|
backupRegionCodes: ['eu-west-1'],
|
|
176
181
|
},
|
|
177
182
|
{
|
|
178
|
-
uuid: 'dual-region',
|
|
179
|
-
name: 'Dual region backup',
|
|
183
|
+
uuid: 'dual-region-unsupported-pair',
|
|
184
|
+
name: 'Dual region backup, unsupported pair',
|
|
180
185
|
generation: 'G1',
|
|
181
186
|
type: 'prod',
|
|
182
187
|
region: 'eu',
|
|
183
188
|
status: { ready: 'healthy' },
|
|
184
189
|
labels: { camunda: [], custom: [] },
|
|
190
|
+
// Dual-region, but the eu pair is not in SUPPORTED_FAILOVER_REGION_PAIRS.
|
|
185
191
|
backupRegionId: 'backup-cfg-dual',
|
|
186
192
|
backupRegionCodes: ['eu-west-1', 'eu-west-2'],
|
|
187
193
|
},
|
|
194
|
+
{
|
|
195
|
+
uuid: 'dual-region-sync-pending',
|
|
196
|
+
name: 'Dual region backup, initial sync not completed',
|
|
197
|
+
generation: 'G1',
|
|
198
|
+
type: 'prod',
|
|
199
|
+
region: 'us',
|
|
200
|
+
status: { ready: 'healthy' },
|
|
201
|
+
labels: { camunda: [], custom: [] },
|
|
202
|
+
backupRegionId: 'backup-cfg-dual-us',
|
|
203
|
+
backupRegionCodes: ['us-east-2', 'us-west-2'],
|
|
204
|
+
// secondaryBucketSyncCompleted absent — secondary bucket not synced yet.
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
uuid: 'dual-region-supported-pair',
|
|
208
|
+
name: 'Dual region backup, supported pair',
|
|
209
|
+
generation: 'G1',
|
|
210
|
+
type: 'prod',
|
|
211
|
+
region: 'us',
|
|
212
|
+
status: { ready: 'healthy' },
|
|
213
|
+
labels: { camunda: [], custom: [] },
|
|
214
|
+
backupRegionId: 'backup-cfg-dual-us',
|
|
215
|
+
backupRegionCodes: ['us-east-2', 'us-west-2'],
|
|
216
|
+
secondaryBucketSyncCompleted: true,
|
|
217
|
+
},
|
|
188
218
|
]);
|
|
189
219
|
vi.mocked(HdpService.getClusterCapacity).mockResolvedValue([]);
|
|
190
220
|
vi.mocked(OrgsService.getOrgInfo).mockResolvedValue({
|
|
@@ -198,14 +228,21 @@ describe('C4ClustersPage', () => {
|
|
|
198
228
|
backendUrls: {},
|
|
199
229
|
}, children: _jsx(C4ConsoleDataProvider, { children: _jsx(C4ClustersPage, { orgId: 'org-1', onNavigate: vi.fn() }) }) }));
|
|
200
230
|
await waitFor(() => {
|
|
201
|
-
expect(lastClusterListProps?.clusters).toHaveLength(
|
|
231
|
+
expect(lastClusterListProps?.clusters).toHaveLength(5);
|
|
202
232
|
});
|
|
203
233
|
const isMultiRegionCluster = lastClusterListProps?.isMultiRegionCluster;
|
|
204
|
-
//
|
|
205
|
-
//
|
|
234
|
+
// Failover is only offered for dual-region clusters whose region pair is
|
|
235
|
+
// in SUPPORTED_FAILOVER_REGION_PAIRS (#9120).
|
|
206
236
|
expect(isMultiRegionCluster?.('no-backup')).toBe(false);
|
|
207
237
|
expect(isMultiRegionCluster?.('single-region')).toBe(false);
|
|
208
|
-
expect(isMultiRegionCluster?.('dual-region')).toBe(
|
|
238
|
+
expect(isMultiRegionCluster?.('dual-region-unsupported-pair')).toBe(false);
|
|
239
|
+
expect(isMultiRegionCluster?.('dual-region-sync-pending')).toBe(true);
|
|
240
|
+
expect(isMultiRegionCluster?.('dual-region-supported-pair')).toBe(true);
|
|
241
|
+
// Until the initial primary→secondary bucket sync completes, the action is
|
|
242
|
+
// rendered disabled with a user-visible reason (#9141), not hidden.
|
|
243
|
+
const isFailoverSyncPending = lastClusterListProps?.isFailoverSyncPending;
|
|
244
|
+
expect(isFailoverSyncPending?.('dual-region-sync-pending')).toBe(true);
|
|
245
|
+
expect(isFailoverSyncPending?.('dual-region-supported-pair')).toBe(false);
|
|
209
246
|
});
|
|
210
247
|
it('marks spec or legacy-label paused clusters as maintenance and suppresses update suffix', async () => {
|
|
211
248
|
authzMock.features = {
|
|
@@ -252,9 +289,10 @@ describe('C4ClustersPage', () => {
|
|
|
252
289
|
},
|
|
253
290
|
]);
|
|
254
291
|
vi.mocked(HdpService.getClusterCapacity).mockResolvedValue([]);
|
|
255
|
-
vi.mocked(GenerationService.
|
|
256
|
-
{ uuid: 'target-gen' },
|
|
257
|
-
|
|
292
|
+
vi.mocked(GenerationService.getUpgradableMulti).mockResolvedValue({
|
|
293
|
+
preferred: { uuid: 'target-gen' },
|
|
294
|
+
options: [{ uuid: 'target-gen' }],
|
|
295
|
+
});
|
|
258
296
|
vi.mocked(OrgsService.getOrgInfo).mockResolvedValue({
|
|
259
297
|
uuid: 'org-1',
|
|
260
298
|
organizationToSalesPlan: {
|
|
@@ -366,4 +404,99 @@ describe('C4ClustersPage', () => {
|
|
|
366
404
|
});
|
|
367
405
|
expect(lastClustersEmptyStateProps?.docsHref).toBe('https://docs.camunda.io/docs/guides/');
|
|
368
406
|
});
|
|
407
|
+
it('calls wakeCluster and re-fetches clusters when Resume is triggered', async () => {
|
|
408
|
+
vi.mocked(ConsoleClusterService.getClusters).mockResolvedValue([
|
|
409
|
+
{
|
|
410
|
+
uuid: 'c1',
|
|
411
|
+
name: 'Paused Cluster',
|
|
412
|
+
generation: 'G1',
|
|
413
|
+
type: 'prod',
|
|
414
|
+
region: 'eu',
|
|
415
|
+
status: { ready: 'suspended' },
|
|
416
|
+
labels: { camunda: [], custom: [] },
|
|
417
|
+
},
|
|
418
|
+
]);
|
|
419
|
+
vi.mocked(ConsoleClusterService.wakeCluster).mockResolvedValue(undefined);
|
|
420
|
+
vi.mocked(HdpService.getClusterCapacity).mockResolvedValue([]);
|
|
421
|
+
vi.mocked(OrgsService.getOrgInfo).mockResolvedValue({
|
|
422
|
+
uuid: 'org-1',
|
|
423
|
+
});
|
|
424
|
+
render(_jsx(C4ConsoleRuntimeProvider, { config: {
|
|
425
|
+
stage: 'dev',
|
|
426
|
+
auth: { getAccessToken: async () => 'token' },
|
|
427
|
+
backendUrls: {},
|
|
428
|
+
}, children: _jsx(C4ConsoleDataProvider, { children: _jsx(C4ClustersPage, { orgId: 'org-1', onNavigate: vi.fn() }) }) }));
|
|
429
|
+
await waitFor(() => expect(lastClusterListProps?.clusters).toHaveLength(1));
|
|
430
|
+
lastClusterListProps.onWakeCluster('c1');
|
|
431
|
+
await waitFor(() => expect(ConsoleClusterService.wakeCluster).toHaveBeenCalledWith(expect.objectContaining({
|
|
432
|
+
params: { orgId: 'org-1', clusterId: 'c1' },
|
|
433
|
+
})));
|
|
434
|
+
await waitFor(() => expect(ConsoleClusterService.getClusters).toHaveBeenCalledTimes(2));
|
|
435
|
+
});
|
|
436
|
+
it('shows an error notification when wakeCluster fails', async () => {
|
|
437
|
+
vi.mocked(ConsoleClusterService.getClusters).mockResolvedValue([
|
|
438
|
+
{
|
|
439
|
+
uuid: 'c1',
|
|
440
|
+
name: 'Paused Cluster',
|
|
441
|
+
generation: 'G1',
|
|
442
|
+
type: 'prod',
|
|
443
|
+
region: 'eu',
|
|
444
|
+
status: { ready: 'suspended' },
|
|
445
|
+
labels: { camunda: [], custom: [] },
|
|
446
|
+
},
|
|
447
|
+
]);
|
|
448
|
+
vi.mocked(ConsoleClusterService.wakeCluster).mockRejectedValue(new Error('network error'));
|
|
449
|
+
vi.mocked(HdpService.getClusterCapacity).mockResolvedValue([]);
|
|
450
|
+
vi.mocked(OrgsService.getOrgInfo).mockResolvedValue({
|
|
451
|
+
uuid: 'org-1',
|
|
452
|
+
});
|
|
453
|
+
const { addC4ConsoleNotification } = await import('../../notifications/c4-console-notifications-handle');
|
|
454
|
+
render(_jsx(C4ConsoleRuntimeProvider, { config: {
|
|
455
|
+
stage: 'dev',
|
|
456
|
+
auth: { getAccessToken: async () => 'token' },
|
|
457
|
+
backendUrls: {},
|
|
458
|
+
}, children: _jsx(C4ConsoleDataProvider, { children: _jsx(C4ClustersPage, { orgId: 'org-1', onNavigate: vi.fn() }) }) }));
|
|
459
|
+
await waitFor(() => expect(lastClusterListProps?.clusters).toHaveLength(1));
|
|
460
|
+
lastClusterListProps.onWakeCluster('c1');
|
|
461
|
+
await waitFor(() => expect(ConsoleClusterService.wakeCluster).toHaveBeenCalled());
|
|
462
|
+
await waitFor(() => expect(addC4ConsoleNotification).toHaveBeenCalledWith(expect.objectContaining({
|
|
463
|
+
kind: 'error',
|
|
464
|
+
title: 'Failed to resume cluster',
|
|
465
|
+
})));
|
|
466
|
+
});
|
|
467
|
+
it('passes onExtendTrial to empty state when org is eligible to self-extend', async () => {
|
|
468
|
+
authzMock = {
|
|
469
|
+
...getDefaultAuthorization(),
|
|
470
|
+
orgRoles: ['admin'],
|
|
471
|
+
};
|
|
472
|
+
vi.mocked(ConsoleClusterService.getClusters).mockResolvedValue([]);
|
|
473
|
+
vi.mocked(HdpService.getClusterCapacity).mockResolvedValue([]);
|
|
474
|
+
vi.mocked(OrgsService.getOrgInfo).mockResolvedValue({
|
|
475
|
+
uuid: 'org-1',
|
|
476
|
+
organizationToSalesPlan: {
|
|
477
|
+
trialStateExpired: true,
|
|
478
|
+
trialExtensionsUsed: 0,
|
|
479
|
+
salesPlan: {
|
|
480
|
+
salesPlanType: 'trial',
|
|
481
|
+
},
|
|
482
|
+
},
|
|
483
|
+
permissions: {
|
|
484
|
+
org: {
|
|
485
|
+
billing: {
|
|
486
|
+
update: true,
|
|
487
|
+
},
|
|
488
|
+
},
|
|
489
|
+
},
|
|
490
|
+
});
|
|
491
|
+
render(_jsx(C4ConsoleRuntimeProvider, { config: {
|
|
492
|
+
stage: 'dev',
|
|
493
|
+
auth: { getAccessToken: async () => 'token' },
|
|
494
|
+
backendUrls: {},
|
|
495
|
+
featureFlags: { isEnabled: () => true },
|
|
496
|
+
}, children: _jsx(C4ConsoleDataProvider, { children: _jsx(C4ClustersPage, { orgId: 'org-1' }) }) }));
|
|
497
|
+
await waitFor(() => {
|
|
498
|
+
expect(lastClustersEmptyStateProps?.variant).toBe('trialExpiredAdmin');
|
|
499
|
+
});
|
|
500
|
+
expect(lastClustersEmptyStateProps?.onExtendTrial).toBeDefined();
|
|
501
|
+
});
|
|
369
502
|
});
|
|
@@ -27,6 +27,8 @@ export interface C4ClustersPageTranslations {
|
|
|
27
27
|
delete: string;
|
|
28
28
|
resume: string;
|
|
29
29
|
failover?: string;
|
|
30
|
+
/** Shown as the action label while the initial secondary bucket sync is pending. */
|
|
31
|
+
failoverSyncPending?: string;
|
|
30
32
|
};
|
|
31
33
|
tags: {
|
|
32
34
|
addLabel: string;
|
|
@@ -48,4 +50,5 @@ export interface C4ClustersPageProps {
|
|
|
48
50
|
onRequestAssignTag?: (clusterId: string) => void;
|
|
49
51
|
onRequestWakeCluster?: (clusterId: string) => void;
|
|
50
52
|
onRequestFailoverCluster?: (clusterId: string) => void;
|
|
53
|
+
onNeedsReload?: () => void;
|
|
51
54
|
}
|
package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.js
CHANGED
|
@@ -25,7 +25,7 @@ export const C4ConnectorManagementExecutableDetailsPage = observer(({ orgId, clu
|
|
|
25
25
|
if (!isProviderReady) {
|
|
26
26
|
return _jsx("p", { children: "Loading..." });
|
|
27
27
|
}
|
|
28
|
-
return (_jsx(Provider, { children: _jsx(C4ExecutableDetails, { connectorId: connectorId, executableId: connectorInstanceId, showRestartButton: checkClusterVersion('8.10.0-alpha3') }) }));
|
|
28
|
+
return (_jsx(Provider, { children: _jsx(C4ExecutableDetails, { connectorId: connectorId, executableId: connectorInstanceId, showRestartButton: checkClusterVersion('8.10.0-alpha3'), connectorsBaseUrl: connectorsUrl }) }));
|
|
29
29
|
}, [
|
|
30
30
|
Provider,
|
|
31
31
|
checkClusterVersion,
|
package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.js
CHANGED
|
@@ -14,7 +14,7 @@ function sendNavigate(onNavigate, event) {
|
|
|
14
14
|
onNavigate?.(event);
|
|
15
15
|
}
|
|
16
16
|
export const C4ConnectorManagementExecutablesTablePage = observer(({ orgId, clusterId, connectorId, onNavigate, }) => {
|
|
17
|
-
const { isLoading, clusterName, connectorsUrl, isProviderReady, Provider, checkClusterVersion, } = useConnectorManagementRuntime({ orgId, clusterId });
|
|
17
|
+
const { isLoading, clusterName, connectorsUrl, operateBaseUrl, isProviderReady, Provider, checkClusterVersion, } = useConnectorManagementRuntime({ orgId, clusterId });
|
|
18
18
|
const content = useMemo(() => {
|
|
19
19
|
if (isLoading) {
|
|
20
20
|
return _jsx("p", { children: "Loading..." });
|
|
@@ -25,7 +25,7 @@ export const C4ConnectorManagementExecutablesTablePage = observer(({ orgId, clus
|
|
|
25
25
|
if (!isProviderReady) {
|
|
26
26
|
return _jsx("p", { children: "Loading..." });
|
|
27
27
|
}
|
|
28
|
-
return (_jsx(Provider, { children: _jsx(C4ExecutablesTable, { connectorId: connectorId, showRestartButton: checkClusterVersion('8.10.0-alpha3'), onClick: (connectorInstanceId) => {
|
|
28
|
+
return (_jsx(Provider, { children: _jsx(C4ExecutablesTable, { connectorId: connectorId, showRestartButton: checkClusterVersion('8.10.0-alpha3'), operateBaseUrl: operateBaseUrl ?? undefined, onClick: (connectorInstanceId) => {
|
|
29
29
|
sendNavigate(onNavigate, {
|
|
30
30
|
kind: 'connectorExecutableDetails',
|
|
31
31
|
orgId,
|
|
@@ -43,6 +43,7 @@ export const C4ConnectorManagementExecutablesTablePage = observer(({ orgId, clus
|
|
|
43
43
|
isLoading,
|
|
44
44
|
isProviderReady,
|
|
45
45
|
onNavigate,
|
|
46
|
+
operateBaseUrl,
|
|
46
47
|
orgId,
|
|
47
48
|
]);
|
|
48
49
|
return (_jsx(C4PageTemplate, { header: {
|
package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { C4ConnectorManagementOutboundDetailsPageProps } from './c4-connector-management-outbound-details-page.types';
|
|
2
|
+
export declare const C4ConnectorManagementOutboundDetailsPage: (({ orgId, clusterId, connectorType, onNavigate, }: C4ConnectorManagementOutboundDetailsPageProps) => import("react").JSX.Element) & {
|
|
3
|
+
displayName: string;
|
|
4
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { C4OutboundConnectorDetails } from '@camunda/c4-connectors';
|
|
8
|
+
import { ErrorBoundary } from '@carbon/react';
|
|
9
|
+
import { observer } from 'mobx-react-lite';
|
|
10
|
+
import { useMemo } from 'react';
|
|
11
|
+
import { C4PageTemplate } from '../../components/c4-page-template/c4-page-template.js';
|
|
12
|
+
import { C4ConnectorManagementErrorBoundaryFallback, useConnectorManagementRuntime, } from './c4-connector-management.shared.js';
|
|
13
|
+
function sendNavigate(onNavigate, event) {
|
|
14
|
+
onNavigate?.(event);
|
|
15
|
+
}
|
|
16
|
+
export const C4ConnectorManagementOutboundDetailsPage = observer(({ orgId, clusterId, connectorType, onNavigate, }) => {
|
|
17
|
+
const { isLoading, clusterName, connectorsUrl, isProviderReady, Provider } = useConnectorManagementRuntime({ orgId, clusterId });
|
|
18
|
+
const content = useMemo(() => {
|
|
19
|
+
if (isLoading) {
|
|
20
|
+
return _jsx("p", { children: "Loading..." });
|
|
21
|
+
}
|
|
22
|
+
if (!connectorsUrl) {
|
|
23
|
+
return (_jsxs(_Fragment, { children: [_jsx("p", { children: "Connectors not available" }), _jsx("p", { children: "Connectors URL not available" })] }));
|
|
24
|
+
}
|
|
25
|
+
if (!isProviderReady) {
|
|
26
|
+
return _jsx("p", { children: "Loading..." });
|
|
27
|
+
}
|
|
28
|
+
return (_jsx(Provider, { children: _jsx(C4OutboundConnectorDetails, { connectorType: connectorType }) }));
|
|
29
|
+
}, [Provider, connectorType, connectorsUrl, isLoading, isProviderReady]);
|
|
30
|
+
return (_jsx(C4PageTemplate, { header: {
|
|
31
|
+
title: connectorType,
|
|
32
|
+
}, loading: isLoading, breadcrumbs: {
|
|
33
|
+
elements: [
|
|
34
|
+
{
|
|
35
|
+
key: '1',
|
|
36
|
+
label: 'Clusters',
|
|
37
|
+
onClick: () => sendNavigate(onNavigate, { kind: 'clusters', orgId }),
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
key: '2',
|
|
41
|
+
label: clusterName,
|
|
42
|
+
onClick: () => sendNavigate(onNavigate, {
|
|
43
|
+
kind: 'clusterDetails',
|
|
44
|
+
orgId,
|
|
45
|
+
clusterId,
|
|
46
|
+
}),
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
key: '3',
|
|
50
|
+
label: 'Connectors',
|
|
51
|
+
onClick: () => sendNavigate(onNavigate, {
|
|
52
|
+
kind: 'connectorManagement',
|
|
53
|
+
orgId,
|
|
54
|
+
clusterId,
|
|
55
|
+
}),
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
}, children: _jsx(ErrorBoundary, { fallback: _jsx(C4ConnectorManagementErrorBoundaryFallback, {}), children: content }) }));
|
|
59
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type C4ConnectorManagementOutboundDetailsNavigateEvent = {
|
|
2
|
+
kind: 'clusters';
|
|
3
|
+
orgId: string;
|
|
4
|
+
} | {
|
|
5
|
+
kind: 'clusterDetails';
|
|
6
|
+
orgId: string;
|
|
7
|
+
clusterId: string;
|
|
8
|
+
} | {
|
|
9
|
+
kind: 'connectorManagement';
|
|
10
|
+
orgId: string;
|
|
11
|
+
clusterId: string;
|
|
12
|
+
};
|
|
13
|
+
export interface C4ConnectorManagementOutboundDetailsPageProps {
|
|
14
|
+
orgId: string;
|
|
15
|
+
clusterId: string;
|
|
16
|
+
connectorType: string;
|
|
17
|
+
onNavigate?: (event: C4ConnectorManagementOutboundDetailsNavigateEvent) => void;
|
|
18
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { C4ConnectorManagementPageProps } from './c4-connector-management-page.types';
|
|
2
|
-
export declare const C4ConnectorManagementPage: (({ orgId, clusterId, onNavigate }: C4ConnectorManagementPageProps) => import("react").JSX.Element) & {
|
|
2
|
+
export declare const C4ConnectorManagementPage: (({ orgId, clusterId, activeTab, onNavigate, }: C4ConnectorManagementPageProps) => import("react").JSX.Element) & {
|
|
3
3
|
displayName: string;
|
|
4
4
|
};
|
|
@@ -4,7 +4,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
4
4
|
* under one or more contributor license agreements. Licensed under a commercial license.
|
|
5
5
|
* You may not use this file except in compliance with the commercial license.
|
|
6
6
|
*/
|
|
7
|
-
import { C4InboundConnectorsTable } from '@camunda/c4-connectors';
|
|
7
|
+
import { C4ConnectorsHome, C4InboundConnectorsTable, } from '@camunda/c4-connectors';
|
|
8
8
|
import { ErrorBoundary } from '@carbon/react';
|
|
9
9
|
import { observer } from 'mobx-react-lite';
|
|
10
10
|
import { useMemo } from 'react';
|
|
@@ -23,10 +23,10 @@ function safeTranslate(t, key, fallback) {
|
|
|
23
23
|
function sendNavigate(onNavigate, event) {
|
|
24
24
|
onNavigate?.(event);
|
|
25
25
|
}
|
|
26
|
-
export const C4ConnectorManagementPage = observer(({ orgId, clusterId, onNavigate }) => {
|
|
26
|
+
export const C4ConnectorManagementPage = observer(({ orgId, clusterId, activeTab, onNavigate, }) => {
|
|
27
27
|
const runtime = useC4ConsoleRuntime();
|
|
28
28
|
const t = runtime.i18n?.t;
|
|
29
|
-
const { isLoading, clusterName, connectorsUrl, isProviderReady, Provider } = useConnectorManagementRuntime({ orgId, clusterId });
|
|
29
|
+
const { isLoading, clusterName, connectorsUrl, isProviderReady, Provider, checkClusterVersion, } = useConnectorManagementRuntime({ orgId, clusterId });
|
|
30
30
|
const headerTitle = useMemo(() => {
|
|
31
31
|
// runtime i18n is accessed via the ErrorBoundary fallback, but this page uses a single key.
|
|
32
32
|
// Keeping translation safe and optional.
|
|
@@ -42,15 +42,48 @@ export const C4ConnectorManagementPage = observer(({ orgId, clusterId, onNavigat
|
|
|
42
42
|
if (!isProviderReady) {
|
|
43
43
|
return _jsx("p", { children: "Loading..." });
|
|
44
44
|
}
|
|
45
|
-
|
|
45
|
+
if (!checkClusterVersion('8.10.0-alpha3')) {
|
|
46
|
+
return (_jsx(Provider, { children: _jsx(C4InboundConnectorsTable, { onClick: (connectorId) => {
|
|
47
|
+
sendNavigate(onNavigate, {
|
|
48
|
+
kind: 'connectorExecutablesTable',
|
|
49
|
+
orgId,
|
|
50
|
+
clusterId,
|
|
51
|
+
connectorId,
|
|
52
|
+
});
|
|
53
|
+
} }) }));
|
|
54
|
+
}
|
|
55
|
+
return (_jsx(Provider, { children: _jsx(C4ConnectorsHome, { selectedIndex: activeTab === 'outbound' ? 1 : 0, onTabChange: (index) => {
|
|
56
|
+
sendNavigate(onNavigate, {
|
|
57
|
+
kind: 'tabChange',
|
|
58
|
+
orgId,
|
|
59
|
+
clusterId,
|
|
60
|
+
tab: index === 1 ? 'outbound' : 'inbound',
|
|
61
|
+
});
|
|
62
|
+
}, onInboundConnectorClick: (connectorId) => {
|
|
46
63
|
sendNavigate(onNavigate, {
|
|
47
64
|
kind: 'connectorExecutablesTable',
|
|
48
65
|
orgId,
|
|
49
66
|
clusterId,
|
|
50
67
|
connectorId,
|
|
51
68
|
});
|
|
69
|
+
}, onOutboundConnectorClick: (connectorType) => {
|
|
70
|
+
sendNavigate(onNavigate, {
|
|
71
|
+
kind: 'outboundConnectorDetails',
|
|
72
|
+
orgId,
|
|
73
|
+
clusterId,
|
|
74
|
+
connectorType,
|
|
75
|
+
});
|
|
52
76
|
} }) }));
|
|
53
|
-
}, [
|
|
77
|
+
}, [
|
|
78
|
+
Provider,
|
|
79
|
+
activeTab,
|
|
80
|
+
checkClusterVersion,
|
|
81
|
+
clusterId,
|
|
82
|
+
connectorsUrl,
|
|
83
|
+
isLoading,
|
|
84
|
+
onNavigate,
|
|
85
|
+
orgId,
|
|
86
|
+
]);
|
|
54
87
|
return (_jsx(C4PageTemplate, { header: {
|
|
55
88
|
title: headerTitle,
|
|
56
89
|
}, loading: isLoading, breadcrumbs: {
|
|
@@ -34,6 +34,9 @@ vi.mock('@camunda/c4-connectors', () => {
|
|
|
34
34
|
C4InboundConnectorsTable: ({ onClick }) => {
|
|
35
35
|
return (_jsx("button", { type: 'button', "data-testid": 'C4InboundConnectorsTable', onClick: () => onClick('connector-1'), children: "inbound" }));
|
|
36
36
|
},
|
|
37
|
+
C4ConnectorsHome: ({ onInboundConnectorClick, onOutboundConnectorClick, onTabChange, }) => {
|
|
38
|
+
return (_jsxs("div", { "data-testid": 'C4ConnectorsHome', children: [_jsx("button", { type: 'button', "data-testid": 'C4ConnectorsHomeInbound', onClick: () => onInboundConnectorClick('connector-1'), children: "inbound" }), _jsx("button", { type: 'button', "data-testid": 'C4ConnectorsHomeOutbound', onClick: () => onOutboundConnectorClick('webhook'), children: "outbound" }), _jsx("button", { type: 'button', "data-testid": 'C4ConnectorsHomeTabOutbound', onClick: () => onTabChange(1), children: "tab outbound" })] }));
|
|
39
|
+
},
|
|
37
40
|
C4ExecutablesTable: ({ onClick }) => {
|
|
38
41
|
return (_jsx("button", { type: 'button', "data-testid": 'C4ExecutablesTable', onClick: () => onClick('instance-1'), children: "executables" }));
|
|
39
42
|
},
|
|
@@ -77,6 +80,8 @@ describe('Connector management pages', () => {
|
|
|
77
80
|
expect(lastProviderProps).toMatchObject({
|
|
78
81
|
organizationId: 'org-1',
|
|
79
82
|
apiBaseUrl: 'https://connectors.example',
|
|
83
|
+
// Defaults to Carbon when the consumer hasn't opted into the design system.
|
|
84
|
+
mode: 'carbon',
|
|
80
85
|
});
|
|
81
86
|
await userEvent.click(screen.getByTestId('C4InboundConnectorsTable'));
|
|
82
87
|
expect(onNavigate).toHaveBeenCalledWith({
|
|
@@ -86,6 +91,87 @@ describe('Connector management pages', () => {
|
|
|
86
91
|
connectorId: 'connector-1',
|
|
87
92
|
});
|
|
88
93
|
});
|
|
94
|
+
it('C4ConnectorManagementPage passes mode="ds" to the provider when the design system is enabled', async () => {
|
|
95
|
+
vi.mocked(ConsoleClusterService.getClusters).mockResolvedValue([
|
|
96
|
+
{
|
|
97
|
+
uuid: 'cluster-1',
|
|
98
|
+
name: 'Cluster One',
|
|
99
|
+
status: {
|
|
100
|
+
connectorsUrl: 'https://connectors.example',
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
]);
|
|
104
|
+
render(_jsx(C4ConsoleRuntimeProvider, { config: {
|
|
105
|
+
stage: 'dev',
|
|
106
|
+
designSystem: 'ds',
|
|
107
|
+
auth: {
|
|
108
|
+
getAccessToken: async () => 'token',
|
|
109
|
+
},
|
|
110
|
+
backendUrls: {},
|
|
111
|
+
i18n: {
|
|
112
|
+
t: (key) => key,
|
|
113
|
+
},
|
|
114
|
+
}, children: _jsx(C4ConsoleDataProvider, { children: _jsx(C4ConnectorManagementPage, { orgId: 'org-1', clusterId: 'cluster-1', onNavigate: vi.fn() }) }) }));
|
|
115
|
+
await waitFor(() => {
|
|
116
|
+
expect(lastProviderProps).toBeDefined();
|
|
117
|
+
});
|
|
118
|
+
expect(lastProviderProps).toMatchObject({
|
|
119
|
+
organizationId: 'org-1',
|
|
120
|
+
apiBaseUrl: 'https://connectors.example',
|
|
121
|
+
mode: 'ds',
|
|
122
|
+
});
|
|
123
|
+
});
|
|
124
|
+
it('C4ConnectorManagementPage shows C4ConnectorsHome for clusters with connectorBridge >= 8.10.0-alpha3', async () => {
|
|
125
|
+
vi.mocked(ConsoleClusterService.getClusters).mockResolvedValue([
|
|
126
|
+
{
|
|
127
|
+
uuid: 'cluster-1',
|
|
128
|
+
name: 'Cluster One',
|
|
129
|
+
status: {
|
|
130
|
+
connectorsUrl: 'https://connectors.example',
|
|
131
|
+
},
|
|
132
|
+
generation: {
|
|
133
|
+
versions: {
|
|
134
|
+
connectorBridge: 'connector-bridge:8.10.0-alpha3',
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
]);
|
|
139
|
+
const onNavigate = vi.fn();
|
|
140
|
+
render(_jsx(C4ConsoleRuntimeProvider, { config: {
|
|
141
|
+
stage: 'dev',
|
|
142
|
+
auth: {
|
|
143
|
+
getAccessToken: async () => 'token',
|
|
144
|
+
},
|
|
145
|
+
backendUrls: {},
|
|
146
|
+
i18n: {
|
|
147
|
+
t: (key) => key,
|
|
148
|
+
},
|
|
149
|
+
}, children: _jsx(C4ConsoleDataProvider, { children: _jsx(C4ConnectorManagementPage, { orgId: 'org-1', clusterId: 'cluster-1', onNavigate: onNavigate }) }) }));
|
|
150
|
+
await waitFor(() => {
|
|
151
|
+
expect(screen.getByTestId('C4ConnectorsHome')).toBeInTheDocument();
|
|
152
|
+
});
|
|
153
|
+
await userEvent.click(screen.getByTestId('C4ConnectorsHomeInbound'));
|
|
154
|
+
expect(onNavigate).toHaveBeenCalledWith({
|
|
155
|
+
kind: 'connectorExecutablesTable',
|
|
156
|
+
orgId: 'org-1',
|
|
157
|
+
clusterId: 'cluster-1',
|
|
158
|
+
connectorId: 'connector-1',
|
|
159
|
+
});
|
|
160
|
+
await userEvent.click(screen.getByTestId('C4ConnectorsHomeTabOutbound'));
|
|
161
|
+
expect(onNavigate).toHaveBeenCalledWith({
|
|
162
|
+
kind: 'tabChange',
|
|
163
|
+
orgId: 'org-1',
|
|
164
|
+
clusterId: 'cluster-1',
|
|
165
|
+
tab: 'outbound',
|
|
166
|
+
});
|
|
167
|
+
await userEvent.click(screen.getByTestId('C4ConnectorsHomeOutbound'));
|
|
168
|
+
expect(onNavigate).toHaveBeenCalledWith({
|
|
169
|
+
kind: 'outboundConnectorDetails',
|
|
170
|
+
orgId: 'org-1',
|
|
171
|
+
clusterId: 'cluster-1',
|
|
172
|
+
connectorType: 'webhook',
|
|
173
|
+
});
|
|
174
|
+
});
|
|
89
175
|
it('C4ConnectorManagementExecutablesTablePage navigates on executable click', async () => {
|
|
90
176
|
vi.mocked(ConsoleClusterService.getClusters).mockResolvedValue([
|
|
91
177
|
{
|
|
@@ -10,9 +10,20 @@ export type C4ConnectorManagementNavigateEvent = {
|
|
|
10
10
|
orgId: string;
|
|
11
11
|
clusterId: string;
|
|
12
12
|
connectorId: string;
|
|
13
|
+
} | {
|
|
14
|
+
kind: 'outboundConnectorDetails';
|
|
15
|
+
orgId: string;
|
|
16
|
+
clusterId: string;
|
|
17
|
+
connectorType: string;
|
|
18
|
+
} | {
|
|
19
|
+
kind: 'tabChange';
|
|
20
|
+
orgId: string;
|
|
21
|
+
clusterId: string;
|
|
22
|
+
tab: 'inbound' | 'outbound';
|
|
13
23
|
};
|
|
14
24
|
export interface C4ConnectorManagementPageProps {
|
|
15
25
|
orgId: string;
|
|
16
26
|
clusterId: string;
|
|
27
|
+
activeTab?: 'inbound' | 'outbound';
|
|
17
28
|
onNavigate?: (event: C4ConnectorManagementNavigateEvent) => void;
|
|
18
29
|
}
|