@openshift-assisted/ui-lib 2.50.0 → 2.51.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/build/@types/cim/components/Agent/BMHStatusInfo.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/MinimalHWRequirements.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/ConditionsTable.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/HostedClusterProgress.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/utils/status.d.ts +2 -2
- package/build/@types/cim/components/Hypershift/utils/status.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/EnvironmentDetails.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agentStatus.d.ts +1 -1
- package/build/@types/cim/components/helpers/agentStatus.d.ts.map +1 -1
- package/build/@types/cim/components/modals/MassDeleteAgentModal.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts +1 -1
- package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ProgressBarTexts.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostStatus.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostValidationGroups.d.ts.map +1 -1
- package/build/@types/common/components/hosts/Hostname.d.ts.map +1 -1
- package/build/@types/common/components/hosts/MassChangeHostnameModal.d.ts.map +1 -1
- package/build/@types/common/components/hosts/VMRebootConfigurationInfo.d.ts.map +1 -1
- package/build/@types/common/components/hosts/status.d.ts.map +1 -1
- package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
- package/build/@types/common/components/storage/StorageUtils.d.ts +1 -1
- package/build/@types/common/components/storage/StorageUtils.d.ts.map +1 -1
- package/build/@types/common/components/ui/WizardNavItem.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/RemovableField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/RichInputField.d.ts.map +1 -1
- package/build/@types/common/components/ui/index.d.ts +0 -1
- package/build/@types/common/components/ui/index.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +7 -0
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/config/docs_links.d.ts +1 -0
- package/build/@types/common/config/docs_links.d.ts.map +1 -1
- package/build/@types/common/types/ui-settings.d.ts +0 -1
- package/build/@types/common/types/ui-settings.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/addressValidation.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.d.ts +9 -0
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.d.ts +22 -0
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterProperties.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/HostInventoryExpandable.d.ts +1 -1
- package/build/@types/ocm/components/clusterDetail/HostInventoryExpandable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/OpenShiftVersionDetail.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ResetClusterModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts +2 -2
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts +0 -8
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +1 -1
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterStatus.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/InfoLinkWithModal.d.ts.map +1 -1
- package/build/@types/ocm/components/utils.d.ts +1 -0
- package/build/@types/ocm/components/utils.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useUISettings.d.ts.map +1 -1
- package/build/@types/ocm/services/ClusterDetailsService.d.ts +1 -2
- package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
- package/build/@types/ocm/services/types.d.ts +0 -1
- package/build/@types/ocm/services/types.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +3 -3
- package/build/cjs/cim/components/Agent/BMHStatusInfo.js +4 -4
- package/build/cjs/cim/components/Agent/BMHStatusInfo.js.map +1 -1
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js +2 -2
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js +7 -6
- package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js +3 -2
- package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js +2 -2
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/utils/status.js +8 -7
- package/build/cjs/cim/components/Hypershift/utils/status.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js +4 -4
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js +3 -3
- package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js.map +1 -1
- package/build/cjs/cim/components/helpers/agentStatus.js +3 -2
- package/build/cjs/cim/components/helpers/agentStatus.js.map +1 -1
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js +2 -2
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js +2 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/FinalizingProgress.js +8 -7
- package/build/cjs/common/components/clusterDetail/FinalizingProgress.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +4 -4
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js +5 -4
- package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js +7 -6
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +2 -2
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +6 -6
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
- package/build/cjs/common/components/hosts/HostStatus.js +2 -1
- package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
- package/build/cjs/common/components/hosts/HostValidationGroups.js +6 -6
- package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
- package/build/cjs/common/components/hosts/Hostname.js +4 -3
- package/build/cjs/common/components/hosts/Hostname.js.map +1 -1
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js +2 -2
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js.map +1 -1
- package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js +2 -1
- package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js.map +1 -1
- package/build/cjs/common/components/hosts/status.js +19 -13
- package/build/cjs/common/components/hosts/status.js.map +1 -1
- package/build/cjs/common/components/storage/DisksTable.js +4 -2
- package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
- package/build/cjs/common/components/storage/StorageUtils.js +3 -2
- package/build/cjs/common/components/storage/StorageUtils.js.map +1 -1
- package/build/cjs/common/components/ui/WizardNavItem.js +2 -2
- package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RemovableField.js +3 -3
- package/build/cjs/common/components/ui/formik/RemovableField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RichInputField.js +4 -4
- package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/TextAreaField.js +1 -1
- package/build/cjs/common/components/ui/formik/TextAreaField.js.map +1 -1
- package/build/cjs/common/components/ui/index.js +1 -3
- package/build/cjs/common/components/ui/index.js.map +1 -1
- package/build/cjs/common/config/constants.js +19 -2
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/config/docs_links.js +3 -2
- package/build/cjs/common/config/docs_links.js.map +1 -1
- package/build/cjs/common/validationSchemas/addressValidation.js +19 -5
- package/build/cjs/common/validationSchemas/addressValidation.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +1 -7
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +4 -4
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js +5 -2
- package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js +90 -6
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +5 -2
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.js +68 -0
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js +5 -3
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js +11 -7
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js +5 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWide.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWide.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.js +31 -3
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js +1 -5
- package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.js +5 -4
- package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +4 -3
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js +4 -2
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +18 -10
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +4 -5
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContext.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +13 -31
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/constants.js +1 -0
- package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js +24 -46
- package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +9 -1
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterStatus.js +13 -7
- package/build/cjs/ocm/components/clusters/ClusterStatus.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +7 -6
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +6 -0
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/ocm/components/ui/InfoLinkWithModal.js +2 -2
- package/build/cjs/ocm/components/ui/InfoLinkWithModal.js.map +1 -1
- package/build/cjs/ocm/components/utils.js +4 -1
- package/build/cjs/ocm/components/utils.js.map +1 -1
- package/build/cjs/ocm/hooks/useUISettings.js +0 -1
- package/build/cjs/ocm/hooks/useUISettings.js.map +1 -1
- package/build/cjs/ocm/services/ClusterDetailsService.js +2 -2
- package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
- package/lib/cim/components/Agent/BMHStatusInfo.tsx +12 -4
- package/lib/cim/components/Agent/MinimalHWRequirements.tsx +4 -2
- package/lib/cim/components/Hypershift/DetailsPage/ConditionsTable.tsx +13 -7
- package/lib/cim/components/Hypershift/DetailsPage/HostedClusterProgress.tsx +8 -4
- package/lib/cim/components/Hypershift/DetailsPage/NodePoolsProgress.tsx +6 -2
- package/lib/cim/components/Hypershift/utils/status.tsx +20 -9
- package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +11 -4
- package/lib/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.tsx +4 -6
- package/lib/cim/components/helpers/agentStatus.tsx +7 -3
- package/lib/cim/components/modals/MassDeleteAgentModal.tsx +12 -5
- package/lib/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.tsx +5 -2
- package/lib/common/components/clusterDetail/FinalizingProgress.tsx +21 -10
- package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +11 -5
- package/lib/common/components/clusterDetail/ProgressBarTexts.tsx +17 -5
- package/lib/common/components/clusterWizard/ReviewValidations.tsx +15 -6
- package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +0 -2
- package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +9 -5
- package/lib/common/components/hosts/HostStatus.tsx +14 -3
- package/lib/common/components/hosts/HostValidationGroups.tsx +9 -5
- package/lib/common/components/hosts/Hostname.tsx +7 -4
- package/lib/common/components/hosts/MassChangeHostnameModal.tsx +6 -2
- package/lib/common/components/hosts/VMRebootConfigurationInfo.tsx +12 -3
- package/lib/common/components/hosts/status.tsx +46 -13
- package/lib/common/components/storage/DisksTable.tsx +15 -4
- package/lib/common/components/storage/StorageUtils.tsx +6 -4
- package/lib/common/components/ui/WizardNavItem.tsx +4 -7
- package/lib/common/components/ui/formik/RemovableField.tsx +8 -4
- package/lib/common/components/ui/formik/RichInputField.tsx +10 -6
- package/lib/common/components/ui/formik/TextAreaField.tsx +1 -1
- package/lib/common/components/ui/index.ts +0 -2
- package/lib/common/config/constants.ts +18 -0
- package/lib/common/config/docs_links.ts +2 -0
- package/lib/common/types/ui-settings.ts +0 -1
- package/lib/common/validationSchemas/addressValidation.tsx +20 -12
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +1 -8
- package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +11 -5
- package/lib/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.tsx +8 -7
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx +155 -20
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +8 -6
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +6 -3
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.tsx +157 -0
- package/lib/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.tsx +6 -3
- package/lib/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.tsx +3 -7
- package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +28 -15
- package/lib/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.tsx +8 -2
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.tsx +1 -0
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWide.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.tsx +63 -24
- package/lib/ocm/components/clusterDetail/ClusterProperties.tsx +2 -6
- package/lib/ocm/components/clusterDetail/HostInventoryExpandable.tsx +11 -5
- package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +8 -5
- package/lib/ocm/components/clusterDetail/ResetClusterModal.tsx +6 -3
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +19 -14
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +5 -7
- package/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx +0 -8
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +14 -54
- package/lib/ocm/components/clusterWizard/constants.ts +1 -0
- package/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx +27 -65
- package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +1 -1
- package/lib/ocm/components/clusterWizard/wizardTransition.ts +9 -1
- package/lib/ocm/components/clusters/ClusterStatus.tsx +30 -8
- package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +12 -8
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +6 -0
- package/lib/ocm/components/ui/InfoLinkWithModal.tsx +4 -2
- package/lib/ocm/components/utils.ts +4 -0
- package/lib/ocm/hooks/useUISettings.ts +0 -1
- package/lib/ocm/services/ClusterDetailsService.ts +0 -3
- package/lib/ocm/services/types.ts +0 -1
- package/package.json +4 -4
- package/build/@types/common/components/ui/UiIcon.d.ts +0 -11
- package/build/@types/common/components/ui/UiIcon.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts.map +0 -1
- package/build/cjs/common/components/ui/UiIcon.js +0 -11
- package/build/cjs/common/components/ui/UiIcon.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js +0 -58
- package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js.map +0 -1
- package/lib/common/components/ui/UiIcon.tsx +0 -21
- package/lib/ocm/components/clusterConfiguration/CustomManifestCheckbox.tsx +0 -114
|
@@ -10,8 +10,8 @@ type ClusterDetailsFormProps = {
|
|
|
10
10
|
ocpVersions: OpenshiftVersionOptionType[];
|
|
11
11
|
usedClusterNames: string[];
|
|
12
12
|
navigation: React.ReactNode;
|
|
13
|
-
handleClusterCreate: (params: ClusterCreateParams
|
|
14
|
-
handleClusterUpdate: (clusterId: Cluster['id'], params: ClusterDetailsUpdateParams
|
|
13
|
+
handleClusterCreate: (params: ClusterCreateParams) => Promise<void>;
|
|
14
|
+
handleClusterUpdate: (clusterId: Cluster['id'], params: ClusterDetailsUpdateParams) => Promise<void>;
|
|
15
15
|
};
|
|
16
16
|
declare const ClusterDetailsForm: (props: ClusterDetailsFormProps) => React.JSX.Element;
|
|
17
17
|
export default ClusterDetailsForm;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDetailsForm.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,OAAO,EAAE,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CAAC,CAAC;IACpE,mBAAmB,EAAE,CACnB,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,EACxB,MAAM,EAAE,0BAA0B,KAC/B,OAAO,CAAC,IAAI,CAAC,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,kBAAkB,UAAW,uBAAuB,sBA2IzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -12,8 +12,6 @@ export type ClusterWizardContextType = {
|
|
|
12
12
|
wizardStepIds: ClusterWizardStepsType[];
|
|
13
13
|
onUpdateStaticIpView(view: StaticIpView): void;
|
|
14
14
|
onUpdateHostNetworkConfigType(type: HostsNetworkConfigurationType): void;
|
|
15
|
-
setCustomManifestsStep(addCustomManifest: boolean): void;
|
|
16
|
-
customManifestsStep: boolean;
|
|
17
15
|
wizardPerPage: number;
|
|
18
16
|
setWizardPerPage: (perPage: number) => void;
|
|
19
17
|
updateUISettings: (data: UISettingsValues) => Promise<void>;
|
|
@@ -22,12 +20,6 @@ export type ClusterWizardContextType = {
|
|
|
22
20
|
setInstallDisconnected: (enabled: boolean) => void;
|
|
23
21
|
disconnectedInfraEnv?: InfraEnv;
|
|
24
22
|
setDisconnectedInfraEnv: (infraEnv: InfraEnv | undefined) => void;
|
|
25
|
-
/** Last pull secret submitted in disconnected Optional configurations (restored when going back from Review) */
|
|
26
|
-
disconnectedFormPullSecret?: string;
|
|
27
|
-
setDisconnectedFormPullSecret: (value: string | undefined) => void;
|
|
28
|
-
/** Whether "Edit pull secret" was checked when user last clicked Next (restored when going back from Review) */
|
|
29
|
-
disconnectedFormEditPullSecret?: boolean;
|
|
30
|
-
setDisconnectedFormEditPullSecret: (value: boolean) => void;
|
|
31
23
|
};
|
|
32
24
|
export declare const ClusterWizardContext: React.Context<ClusterWizardContextType | null>;
|
|
33
25
|
export declare const useClusterWizardContext: () => ClusterWizardContextType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterWizardContext.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/ClusterWizardContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAEhF,MAAM,MAAM,wBAAwB,GAAG;IACrC,aAAa,EAAE,sBAAsB,CAAC;IACtC,gBAAgB,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACvD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,aAAa,EAAE,sBAAsB,EAAE,CAAC;IACxC,oBAAoB,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CAAC;IAC/C,6BAA6B,CAAC,IAAI,EAAE,6BAA6B,GAAG,IAAI,CAAC;IACzE,
|
|
1
|
+
{"version":3,"file":"ClusterWizardContext.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/ClusterWizardContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAEhF,MAAM,MAAM,wBAAwB,GAAG;IACrC,aAAa,EAAE,sBAAsB,CAAC;IACtC,gBAAgB,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACvD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,aAAa,EAAE,sBAAsB,EAAE,CAAC;IACxC,oBAAoB,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CAAC;IAC/C,6BAA6B,CAAC,IAAI,EAAE,6BAA6B,GAAG,IAAI,CAAC;IACzE,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,gBAAgB,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5D,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,sBAAsB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACnD,oBAAoB,CAAC,EAAE,QAAQ,CAAC;IAChC,uBAAuB,EAAE,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS,KAAK,IAAI,CAAC;CACnE,CAAC;AAEF,eAAO,MAAM,oBAAoB,gDAA6D,CAAC;AAE/F,eAAO,MAAM,uBAAuB,gCAMnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterWizardContextProvider.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAejD,OAAO,EAAE,2CAA2C,EAAa,MAAM,iBAAiB,CAAC;AAEzF,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;
|
|
1
|
+
{"version":3,"file":"ClusterWizardContextProvider.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAejD,OAAO,EAAE,2CAA2C,EAAa,MAAM,iBAAiB,CAAC;AAEzF,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAoFzF,QAAA,MAAM,4BAA4B,kDAK/B,kBAAkB;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,WAAW,CAAC,EAAE,2CAA2C,CAAC;CAC3D,CAAC,6BA0ND,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,eAAO,MAAM,eAAe,EAAE;KAAG,GAAG,IAAI,sBAAsB,GAAG,MAAM;CAetE,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,eAAO,MAAM,eAAe,EAAE;KAAG,GAAG,IAAI,sBAAsB,GAAG,MAAM;CAetE,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,sBAAsB,EAQtD,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,sBAAsB,EAG5D,CAAC"}
|
package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OptionalConfigurationsStep.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"OptionalConfigurationsStep.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA0J/B,QAAA,MAAM,0BAA0B,yBA+M/B,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -13,7 +13,7 @@ type TransitionProps = {
|
|
|
13
13
|
cluster: Cluster;
|
|
14
14
|
};
|
|
15
15
|
export declare const wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardStepsType>;
|
|
16
|
-
export declare const allClusterWizardSoftValidationIds: ("connected" | "media-connected" | "has-inventory" | "has-min-cpu-cores" | "has-min-valid-disks" | "has-min-memory" | "machine-cidr-defined" | "has-cpu-cores-for-role" | "has-memory-for-role" | "hostname-unique" | "hostname-valid" | "belongs-to-machine-cidr" | "ignition-downloadable" | "belongs-to-majority-group" | "valid-platform-network-settings" | "ntp-synced" | "time-synced-between-host-and-service" | "container-images-available" | "lso-requirements-satisfied" | "ocs-requirements-satisfied" | "odf-requirements-satisfied" | "lvm-requirements-satisfied" | "mce-requirements-satisfied" | "mtv-requirements-satisfied" | "osc-requirements-satisfied" | "sufficient-installation-disk-speed" | "cnv-requirements-satisfied" | "sufficient-network-latency-requirement-for-role" | "sufficient-packet-loss-requirement-for-role" | "has-default-route" | "api-domain-name-resolved-correctly" | "api-int-domain-name-resolved-correctly" | "apps-domain-name-resolved-correctly" | "release-domain-name-resolved-correctly" | "compatible-with-cluster-platform" | "dns-wildcard-not-configured" | "disk-encryption-requirements-satisfied" | "non-overlapping-subnets" | "vsphere-disk-uuid-enabled" | "compatible-agent" | "no-skip-installation-disk" | "no-skip-missing-disk" | "no-ip-collisions-in-network" | "no-iscsi-nic-belongs-to-machine-cidr" | "node-feature-discovery-requirements-satisfied" | "nvidia-gpu-requirements-satisfied" | "pipelines-requirements-satisfied" | "servicemesh-requirements-satisfied" | "serverless-requirements-satisfied" | "openshift-ai-requirements-satisfied" | "authorino-requirements-satisfied" | "mtu-valid" | "nmstate-requirements-satisfied" | "amd-gpu-requirements-satisfied" | "kmm-requirements-satisfied" | "node-healthcheck-requirements-satisfied" | "self-node-remediation-requirements-satisfied" | "fence-agents-remediation-requirements-satisfied" | "node-maintenance-requirements-satisfied" | "kube-descheduler-requirements-satisfied" | "cluster-observability-requirements-satisfied" | "numa-resources-requirements-satisfied" | "oadp-requirements-satisfied" | "metallb-requirements-satisfied" | "loki-requirements-satisfied" | "openshift-logging-requirements-satisfied" | "cluster-cidr-defined" | "service-cidr-defined" | "no-cidrs-overlapping" | "networks-same-address-families" | "network-prefix-valid" | "machine-cidr-equals-to-calculated-cidr" | "api-vips-defined" | "api-vips-valid" | "ingress-vips-defined" | "ingress-vips-valid" | "all-hosts-are-ready-to-install" | "sufficient-masters-count" | "dns-domain-defined" | "pull-secret-set" | "ntp-server-configured" | "network-type-valid" | "platform-requirements-satisfied" | "openshift-ai-gpu-requirements-satisfied")[];
|
|
16
|
+
export declare const allClusterWizardSoftValidationIds: ("connected" | "media-connected" | "has-inventory" | "has-min-cpu-cores" | "has-min-valid-disks" | "has-min-memory" | "machine-cidr-defined" | "has-cpu-cores-for-role" | "has-memory-for-role" | "hostname-unique" | "hostname-valid" | "belongs-to-machine-cidr" | "ignition-downloadable" | "belongs-to-majority-group" | "valid-platform-network-settings" | "ntp-synced" | "time-synced-between-host-and-service" | "container-images-available" | "lso-requirements-satisfied" | "ocs-requirements-satisfied" | "odf-requirements-satisfied" | "lvm-requirements-satisfied" | "mce-requirements-satisfied" | "mtv-requirements-satisfied" | "osc-requirements-satisfied" | "sufficient-installation-disk-speed" | "cnv-requirements-satisfied" | "sufficient-network-latency-requirement-for-role" | "sufficient-packet-loss-requirement-for-role" | "has-default-route" | "api-domain-name-resolved-correctly" | "api-int-domain-name-resolved-correctly" | "apps-domain-name-resolved-correctly" | "release-domain-name-resolved-correctly" | "compatible-with-cluster-platform" | "dns-wildcard-not-configured" | "disk-encryption-requirements-satisfied" | "non-overlapping-subnets" | "vsphere-disk-uuid-enabled" | "compatible-agent" | "no-skip-installation-disk" | "no-skip-missing-disk" | "no-ip-collisions-in-network" | "no-iscsi-nic-belongs-to-machine-cidr" | "node-feature-discovery-requirements-satisfied" | "nvidia-gpu-requirements-satisfied" | "pipelines-requirements-satisfied" | "servicemesh-requirements-satisfied" | "serverless-requirements-satisfied" | "openshift-ai-requirements-satisfied" | "authorino-requirements-satisfied" | "mtu-valid" | "nmstate-requirements-satisfied" | "amd-gpu-requirements-satisfied" | "kmm-requirements-satisfied" | "node-healthcheck-requirements-satisfied" | "self-node-remediation-requirements-satisfied" | "fence-agents-remediation-requirements-satisfied" | "node-maintenance-requirements-satisfied" | "kube-descheduler-requirements-satisfied" | "cluster-observability-requirements-satisfied" | "numa-resources-requirements-satisfied" | "oadp-requirements-satisfied" | "metallb-requirements-satisfied" | "loki-requirements-satisfied" | "openshift-logging-requirements-satisfied" | "cluster-cidr-defined" | "service-cidr-defined" | "no-cidrs-overlapping" | "networks-same-address-families" | "network-prefix-valid" | "machine-cidr-equals-to-calculated-cidr" | "api-vips-defined" | "api-vips-valid" | "ingress-vips-defined" | "ingress-vips-valid" | "all-hosts-are-ready-to-install" | "sufficient-masters-count" | "dns-domain-defined" | "pull-secret-set" | "ntp-server-configured" | "network-type-valid" | "custom-manifests-requirements-satisfied" | "platform-requirements-satisfied" | "openshift-ai-gpu-requirements-satisfied")[];
|
|
17
17
|
export declare const canNextClusterDetails: ({ cluster }: TransitionProps) => boolean;
|
|
18
18
|
export declare const canNextHostDiscovery: ({ cluster }: TransitionProps) => boolean;
|
|
19
19
|
export declare const canNextStorage: ({ cluster }: TransitionProps) => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wizardTransition.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/wizardTransition.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,wBAAwB,EAEzB,MAAM,+DAA+D,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAgB,MAAM,iDAAiD,CAAC;AAM7F,OAAO,EACL,OAAO,EACP,IAAI,EAEL,MAAM,sDAAsD,CAAC;AAE9D,MAAM,MAAM,sBAAsB,GAC9B,iBAAiB,GACjB,qBAAqB,GACrB,uCAAuC,GACvC,+BAA+B,GAC/B,WAAW,GACX,gBAAgB,GAChB,SAAS,GACT,YAAY,GACZ,QAAQ,GACR,kBAAkB,GAClB,sBAAsB,GACtB,oBAAoB,GACpB,qBAAqB,GACrB,sCAAsC,CAAC;AAgB3C,eAAO,MAAM,iBAAiB,EAAE,sBAAsB,EAIrD,CAAC;AAEF,eAAO,MAAM,yBAAyB,QAAQ,CAAC;AAC/C,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,OAAO,yBAAyB,CAAC;AAE9F,eAAO,MAAM,oBAAoB,uCACK,OAAO,KAC1C,sBAMF,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW,sBAAsB,SAAS,sBAAsB,YAQvF,CAAC;AAEF,eAAO,MAAM,yBAAyB,kBACrB,0BAA0B,GAAG,SAAS,gBACvC,YAAY,GAAG,SAAS,UAC9B,0BAA0B,UAC1B,IAAI,EAAE,GAAG,SAAS,uCACW,OAAO,KAC3C,
|
|
1
|
+
{"version":3,"file":"wizardTransition.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/wizardTransition.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,wBAAwB,EAEzB,MAAM,+DAA+D,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAgB,MAAM,iDAAiD,CAAC;AAM7F,OAAO,EACL,OAAO,EACP,IAAI,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,GAAG,mBAAmB,YAElF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterStatus.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusters/ClusterStatus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ClusterStatus.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusters/ClusterStatus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAuB,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAG/E,KAAK,kBAAkB,GAAG;IACxB,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA+C9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,MAAO,SAAS,UAAU,OAAO,CAAC,QAAQ,CAAC,WAE3E,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,GAAG,UAAU,CAa5D,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReviewClusterFeatureSupportLevels.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReviewClusterFeatureSupportLevels.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAEL,uBAAuB,EAGxB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAM/E,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EACL,0BAA0B,EAE3B,MAAM,oDAAoD,CAAC;AA0D5D,eAAO,MAAM,uBAAuB,yDAGjC;IACD,2BAA2B,EAAE,uBAAuB,CAAC;IACrD,kBAAkB,EAAE,OAAO,CAAC;CAC7B,sBAoBA,CAAC;AAEF,eAAO,MAAM,qBAAqB,yBAOjC,CAAC;AAEF,eAAO,MAAM,2BAA2B,mBAAoB,OAAO,KAAG,MAGrE,CAAC;AAEF,KAAK,iBAAiB,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAC9C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,sBAAsB,EAAE,uBAAuB,CAAC;IAChD,mBAAmB,EAAE,OAAO,CAAC;IAC7B,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,mBAAmB,YACrB,OAAO,2BACS,0BAA0B,+BACtB,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,OAAO,KACvD,SAAS,kCACoB,OAAO;;;;CAgBxC,CAAC;AAkDF,QAAA,MAAM,qCAAqC,iBAAkB,iBAAiB,sBAI7E,CAAC;AACF,eAAe,qCAAqC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"featureStateUtils.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/featureSupportLevels/featureStateUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAG1B,SAAS,EAET,wBAAwB,EACzB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,OAAO,EACP,YAAY,EACZ,YAAY,EACb,MAAM,sDAAsD,CAAC;AAI9D,eAAO,MAAM,mBAAmB,mEAAmE,CAAC;AAiIpG,eAAO,MAAM,2BAA2B,cAC3B,SAAS,WACX,OAAO,GAAG,SAAS,8BACA,0BAA0B,eACzC,OAAO,oBACF,wBAAwB,iBAC3B,YAAY,KAC1B,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"featureStateUtils.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/featureSupportLevels/featureStateUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAG1B,SAAS,EAET,wBAAwB,EACzB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,OAAO,EACP,YAAY,EACZ,YAAY,EACb,MAAM,sDAAsD,CAAC;AAI9D,eAAO,MAAM,mBAAmB,mEAAmE,CAAC;AAiIpG,eAAO,MAAM,2BAA2B,cAC3B,SAAS,WACX,OAAO,GAAG,SAAS,8BACA,0BAA0B,eACzC,OAAO,oBACF,wBAAwB,iBAC3B,YAAY,KAC1B,MAAM,GAAG,SA+HX,CAAC;AAEF,eAAO,MAAM,8BAA8B,iBAAkB,YAAY,GAAG,SAAS,KAAG,OAEvF,CAAC;AAEF,eAAO,MAAM,uCAAuC,2GACsD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InfoLinkWithModal.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/ui/InfoLinkWithModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"InfoLinkWithModal.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/ui/InfoLinkWithModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAIL,kBAAkB,EAKlB,UAAU,EACX,MAAM,wBAAwB,CAAC;AAGhC,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAC5C,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,iBAAiB,iGASpB,MAAM,iBAAiB,CAAC,sBAAsB,CAAC,sBAoCjD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { Cluster } from '@openshift-assisted/types/./assisted-installer-service';
|
|
2
2
|
export declare const isOciPlatformType: (cluster: Cluster) => boolean;
|
|
3
|
+
export declare const isThirdPartyCNI: (networkType: Cluster['networkType']) => boolean;
|
|
3
4
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/components/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wDAAwD,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/components/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wDAAwD,CAAC;AAGjF,eAAO,MAAM,iBAAiB,YAAa,OAAO,KAAG,OAIpD,CAAC;AAEF,eAAO,MAAM,eAAe,gBAAiB,OAAO,CAAC,aAAa,CAAC,KAAG,OACiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUISettings.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useUISettings.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,wDAAwD,CAAC;AAGjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,QAAA,MAAM,aAAa,eAAgB,OAAO,CAAC,IAAI,CAAC;;;;oCAMxB,gBAAgB;
|
|
1
|
+
{"version":3,"file":"useUISettings.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useUISettings.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,wDAAwD,CAAC;AAGjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,QAAA,MAAM,aAAa,eAAgB,OAAO,CAAC,IAAI,CAAC;;;;oCAMxB,gBAAgB;CAwDvC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -4,14 +4,13 @@ import { Cluster, InfraEnv, ManagedDomain, PlatformType } from '@openshift-assis
|
|
|
4
4
|
declare const ClusterDetailsService: {
|
|
5
5
|
getClusterCreateParams(values: OcmClusterDetailsValues): ClusterCreateParamsWithStaticNetworking;
|
|
6
6
|
getClusterUpdateParams(values: OcmClusterDetailsValues, platform: PlatformType): ClusterDetailsUpdateParams;
|
|
7
|
-
getClusterDetailsInitialValues({ cluster, infraEnv, urlSearchParams,
|
|
7
|
+
getClusterDetailsInitialValues({ cluster, infraEnv, urlSearchParams, ...args }: {
|
|
8
8
|
cluster?: Cluster;
|
|
9
9
|
infraEnv?: InfraEnv;
|
|
10
10
|
pullSecret?: string;
|
|
11
11
|
managedDomains: ManagedDomain[];
|
|
12
12
|
ocpVersions: OpenshiftVersionOptionType[];
|
|
13
13
|
urlSearchParams: string;
|
|
14
|
-
addCustomManifests?: boolean;
|
|
15
14
|
}): OcmClusterDetailsValues;
|
|
16
15
|
};
|
|
17
16
|
export default ClusterDetailsService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDetailsService.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/services/ClusterDetailsService.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,0BAA0B,EAG3B,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,uCAAuC,EACvC,0BAA0B,EAE1B,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAIjB,OAAO,EACL,OAAO,EACP,QAAQ,EACR,aAAa,EACb,YAAY,EACb,MAAM,sDAAsD,CAAC;AAa9D,QAAA,MAAM,qBAAqB;mCACM,uBAAuB,GAAG,uCAAuC;mCA0CtF,uBAAuB,YACrB,YAAY,GACrB,0BAA0B;
|
|
1
|
+
{"version":3,"file":"ClusterDetailsService.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/services/ClusterDetailsService.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,0BAA0B,EAG3B,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,uCAAuC,EACvC,0BAA0B,EAE1B,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAIjB,OAAO,EACL,OAAO,EACP,QAAQ,EACR,aAAa,EACb,YAAY,EACb,MAAM,sDAAsD,CAAC;AAa9D,QAAA,MAAM,qBAAqB;mCACM,uBAAuB,GAAG,uCAAuC;mCA0CtF,uBAAuB,YACrB,YAAY,GACrB,0BAA0B;oFA4B1B;QACD,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,QAAQ,CAAC,EAAE,QAAQ,CAAC;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,cAAc,EAAE,aAAa,EAAE,CAAC;QAChC,WAAW,EAAE,0BAA0B,EAAE,CAAC;QAC1C,eAAe,EAAE,MAAM,CAAC;KACzB,GAAG,uBAAuB;CAsB5B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -10,7 +10,6 @@ export declare enum HostsNetworkConfigurationType {
|
|
|
10
10
|
}
|
|
11
11
|
export type OcmClusterDetailsValues = ClusterDetailsValues & {
|
|
12
12
|
hostsNetworkConfigurationType: HostsNetworkConfigurationType;
|
|
13
|
-
addCustomManifest: boolean;
|
|
14
13
|
isCMNSupported: boolean;
|
|
15
14
|
isSNODevPreview: boolean;
|
|
16
15
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/services/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,sDAAsD,CAAC;AAE9D,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAC3C,qBAAqB,EACrB,MAAM,GAAG,eAAe,GAAG,YAAY,GAAG,UAAU,CACrD,CAAC;AAEF,MAAM,MAAM,uCAAuC,GAAG,mBAAmB,GAAG;IAC1E,mBAAmB,CAAC,EAAE,uBAAuB,EAAE,CAAC;CACjD,CAAC;AAEF,oBAAY,6BAA6B;IACvC,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,MAAM,MAAM,uBAAuB,GAAG,oBAAoB,GAAG;IAC3D,6BAA6B,EAAE,6BAA6B,CAAC;IAC7D,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/services/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,sDAAsD,CAAC;AAE9D,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAC3C,qBAAqB,EACrB,MAAM,GAAG,eAAe,GAAG,YAAY,GAAG,UAAU,CACrD,CAAC;AAEF,MAAM,MAAM,uCAAuC,GAAG,mBAAmB,GAAG;IAC1E,mBAAmB,CAAC,EAAE,uBAAuB,EAAE,CAAC;CACjD,CAAC;AAEF,oBAAY,6BAA6B;IACvC,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,MAAM,MAAM,uBAAuB,GAAG,oBAAoB,GAAG;IAC3D,6BAA6B,EAAE,6BAA6B,CAAC;IAC7D,cAAc,EAAE,OAAO,CAAC;IACxB,eAAe,EAAE,OAAO,CAAC;CAC1B,CAAC"}
|
|
@@ -29,7 +29,7 @@ export declare const currentClusterSlice: import("@reduxjs/toolkit").Slice<Curre
|
|
|
29
29
|
data: {
|
|
30
30
|
hosts: import("immer/dist/internal").WritableDraft<Host>[];
|
|
31
31
|
kind: "Cluster" | "AddHostsCluster" | "DisconnectedCluster";
|
|
32
|
-
highAvailabilityMode?: "
|
|
32
|
+
highAvailabilityMode?: "None" | "Full" | undefined;
|
|
33
33
|
id: string;
|
|
34
34
|
href: string;
|
|
35
35
|
name?: string | undefined;
|
|
@@ -53,7 +53,7 @@ export declare const currentClusterSlice: import("@reduxjs/toolkit").Slice<Curre
|
|
|
53
53
|
httpProxy?: string | undefined;
|
|
54
54
|
httpsProxy?: string | undefined;
|
|
55
55
|
noProxy?: string | undefined;
|
|
56
|
-
status: "error" | "insufficient" | "preparing-for-installation" | "pending-for-input" | "installing" | "installing-pending-user-action" | "installed" | "cancelled" | "ready" | "finalizing" | "adding-hosts";
|
|
56
|
+
status: "error" | "insufficient" | "preparing-for-installation" | "pending-for-input" | "installing" | "installing-pending-user-action" | "installed" | "cancelled" | "ready" | "finalizing" | "adding-hosts" | "unmonitored";
|
|
57
57
|
statusInfo: string;
|
|
58
58
|
statusUpdatedAt?: string | undefined;
|
|
59
59
|
progress?: import("@openshift-assisted/types/assisted-installer-service").ClusterProgressInfo | undefined;
|
|
@@ -86,7 +86,7 @@ export declare const currentClusterSlice: import("@reduxjs/toolkit").Slice<Curre
|
|
|
86
86
|
amsSubscriptionId?: string | undefined;
|
|
87
87
|
hyperthreading?: "none" | "all" | "masters" | "arbiters" | "workers" | "masters,arbiters" | "masters,workers" | "arbiters,workers" | "masters,arbiters,workers" | undefined;
|
|
88
88
|
featureUsage?: string | undefined;
|
|
89
|
-
networkType?: "OpenShiftSDN" | "OVNKubernetes" | undefined;
|
|
89
|
+
networkType?: "OpenShiftSDN" | "OVNKubernetes" | "CiscoACI" | "Cilium" | "Calico" | "None" | undefined;
|
|
90
90
|
clusterNetworks?: import("@openshift-assisted/types/assisted-installer-service").ClusterNetwork[] | undefined;
|
|
91
91
|
serviceNetworks?: import("@openshift-assisted/types/assisted-installer-service").ServiceNetwork[] | undefined;
|
|
92
92
|
machineNetworks?: import("@openshift-assisted/types/assisted-installer-service").MachineNetwork[] | undefined;
|
|
@@ -7,8 +7,6 @@ const react_core_1 = require("@patternfly/react-core");
|
|
|
7
7
|
const check_circle_icon_1 = require("@patternfly/react-icons/dist/js/icons/check-circle-icon");
|
|
8
8
|
const pending_icon_1 = require("@patternfly/react-icons/dist/js/icons/pending-icon");
|
|
9
9
|
const exclamation_triangle_icon_1 = require("@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon");
|
|
10
|
-
const t_global_color_status_success_default_1 = require("@patternfly/react-tokens/dist/js/t_global_color_status_success_default");
|
|
11
|
-
const t_global_icon_color_status_warning_default_1 = require("@patternfly/react-tokens/dist/js/t_global_icon_color_status_warning_default");
|
|
12
10
|
const common_1 = require("../../../common");
|
|
13
11
|
const BMHEventsModal_1 = require("./BMHEventsModal");
|
|
14
12
|
const BMHStatusInfo = ({ bmhStatus, bmh, }) => {
|
|
@@ -27,10 +25,12 @@ const BMHStatusInfo = ({ bmhStatus, bmh, }) => {
|
|
|
27
25
|
switch ((_f = bmh.status) === null || _f === void 0 ? void 0 : _f.operationalStatus) {
|
|
28
26
|
case 'OK':
|
|
29
27
|
case 'discovered':
|
|
30
|
-
icon = react_1.default.createElement(
|
|
28
|
+
icon = (react_1.default.createElement(react_core_1.Icon, { status: "success" },
|
|
29
|
+
react_1.default.createElement(check_circle_icon_1.CheckCircleIcon, null)));
|
|
31
30
|
break;
|
|
32
31
|
case 'error':
|
|
33
|
-
icon = react_1.default.createElement(
|
|
32
|
+
icon = (react_1.default.createElement(react_core_1.Icon, { status: "warning" },
|
|
33
|
+
react_1.default.createElement(exclamation_triangle_icon_1.ExclamationTriangleIcon, null)));
|
|
34
34
|
break;
|
|
35
35
|
default:
|
|
36
36
|
icon = react_1.default.createElement(pending_icon_1.PendingIcon, null);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BMHStatusInfo.js","sourceRoot":"","sources":["../../../../../lib/cim/components/Agent/BMHStatusInfo.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,
|
|
1
|
+
{"version":3,"file":"BMHStatusInfo.js","sourceRoot":"","sources":["../../../../../lib/cim/components/Agent/BMHStatusInfo.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAUgC;AAChC,+FAA0F;AAC1F,qFAAiF;AACjF,+GAA0G;AAE1G,4CAAuE;AAGvE,qDAAkD;AAE3C,MAAM,aAAa,GAAG,CAAC,EAC5B,SAAS,EACT,GAAG,GAIJ,EAAE,EAAE;;IACH,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,uBAAc,GAAE,CAAC;IAC/B,MAAM,CAAC,WAAW,EAAE,YAAY,CAAC,GAAG,eAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE1D,IAAI,YAAY,GAAG,yBAAY,CAAC,OAAO,CAAC;IACxC,IAAI,CAAC,CAAC,CAAA,MAAA,GAAG,CAAC,MAAM,0CAAE,YAAY,CAAA,EAAE,CAAC;QAC/B,YAAY,GAAG,yBAAY,CAAC,MAAM,CAAC;IACrC,CAAC;SAAM,IACL,CAAA,MAAA,MAAA,GAAG,CAAC,MAAM,0CAAE,YAAY,0CAAE,KAAK,MAAK,aAAa;QACjD,CAAA,MAAA,MAAA,GAAG,CAAC,MAAM,0CAAE,YAAY,0CAAE,KAAK,MAAK,wBAAwB,EAC5D,CAAC;QACD,YAAY,GAAG,yBAAY,CAAC,OAAO,CAAC;IACtC,CAAC;IAED,IAAI,IAAqB,CAAC;IAC1B,QAAQ,MAAA,GAAG,CAAC,MAAM,0CAAE,iBAAiB,EAAE,CAAC;QACt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MAAA,GAAG,CAAC,MAAM,0CAAE,WAAW,CAAC,CAC9D,CACA,CACN,CACF;QAEP,WAAW,IAAI,CACd,8BAAC,+BAAc,IACb,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,EAClC,SAAS,EAAE,CAAA,MAAA,GAAG,CAAC,QAAQ,0CAAE,SAAS,KAAI,EAAE,EACxC,OAAO,EAAE,CAAA,MAAA,GAAG,CAAC,QAAQ,0CAAE,IAAI,KAAI,EAAE,GACjC,CACH,CACA,CACJ,CAAC;AACJ,CAAC,CAAC;AAhFW,QAAA,aAAa,iBAgFxB"}
|
|
@@ -7,7 +7,6 @@ const react_core_1 = require("@patternfly/react-core");
|
|
|
7
7
|
const info_circle_icon_1 = require("@patternfly/react-icons/dist/js/icons/info-circle-icon");
|
|
8
8
|
const HostRequirements_1 = tslib_1.__importDefault(require("../../../common/components/hosts/HostRequirements"));
|
|
9
9
|
const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
|
|
10
|
-
const common_1 = require("../../../common");
|
|
11
10
|
const getHWRequirements = (aiConfigMap) => {
|
|
12
11
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
13
12
|
let hwRequirements;
|
|
@@ -43,7 +42,8 @@ const MinimalHWRequirements = ({ aiConfigMap, isSNOCluster, }) => {
|
|
|
43
42
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
44
43
|
return (React.createElement(React.Fragment, null,
|
|
45
44
|
React.createElement(react_core_1.Button, { variant: react_core_1.ButtonVariant.link, onClick: () => setHostRequirementsOpen(true), isInline: true, className: "host-requirements-link" },
|
|
46
|
-
React.createElement(
|
|
45
|
+
React.createElement(react_core_1.Icon, { status: "warning", size: "sm" },
|
|
46
|
+
React.createElement(info_circle_icon_1.InfoCircleIcon, null)),
|
|
47
47
|
"\u00A0",
|
|
48
48
|
t('ai:Minimum hardware requirements')),
|
|
49
49
|
React.createElement(exports.MinimalHWRequirementsModal, { isOpen: isHostRequirementsOpen, onClose: () => setHostRequirementsOpen(false), aiConfigMap: aiConfigMap, isSNOCluster: isSNOCluster })));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MinimalHWRequirements.js","sourceRoot":"","sources":["../../../../../lib/cim/components/Agent/MinimalHWRequirements.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,
|
|
1
|
+
{"version":3,"file":"MinimalHWRequirements.js","sourceRoot":"","sources":["../../../../../lib/cim/components/Agent/MinimalHWRequirements.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uDASgC;AAChC,6FAAwF;AAGxF,iHAE2D;AAC3D,2FAA+E;AAyBxE,MAAM,iBAAiB,GAAG,CAAC,WAAiC,EAA6B,EAAE;;IAChG,IAAI,cAA0C,CAAC;IAC/C,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CACvB,CAAA,MAAA,WAAW,CAAC,IAAI,0CAAE,yBAAyB,KAAI,IAAI,CAChC,CAAC;QAEtB,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,GAAyB,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC;IACzF,CAAC;IAAC,WAAM,CAAC;QACP,+DAA+D;QAC/D,cAAc,GAAG,SAAS,CAAC;IAC7B,CAAC;IAED,OAAO;QACL,MAAM,EAAE;YACN,QAAQ,EAAE,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,MAAM,0CAAE,SAAS;YAC3C,MAAM,EAAE,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,MAAM,0CAAE,OAAO;YACvC,UAAU,EAAE,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,MAAM,0CAAE,YAAY;SACjD;QACD,MAAM,EAAE;YACN,QAAQ,EAAE,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,MAAM,0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CAAC;AACJ,CAAC,CAAC;AAEK,MAAM,0BAA0B,GAAG,CAAC,EACzC,MAAM,EACN,WAAW,EACX,YAAY,EACZ,OAAO,GACyB,EAAE,EAAE;IACpC,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,OAAO,CACL,oBAAC,kBAAK,IAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,yBAAY,CAAC,MAAM;QACnE,oBAAC,wBAAW,IAAC,KAAK,EAAE,CAAC,CAAC,kCAAkC,CAAC,GAAI;QAC7D,oBAAC,sBAAS;YACR,oBAAC,0BAAgB,oBAAK,IAAA,yBAAiB,EAAC,WAAW,CAAC,IAAE,YAAY,EAAE,YAAY,IAAI,CAC1E;QACZ,oBAAC,wBAAW;YACV,oBAAC,mBAAM,IAAC,GAAG,EAAC,OAAO,EAAC,OAAO,EAAE,0BAAa,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,IACjE,CAAC,CAAC,UAAU,CAAC,CACP,CACG,CACR,CACT,CAAC;AACJ,CAAC,CAAC;AApBW,QAAA,0BAA0B,8BAoBrC;AAEF,kBAAe,qBAAqB,CAAC"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
const React = tslib_1.__importStar(require("react"));
|
|
4
5
|
const react_core_1 = require("@patternfly/react-core");
|
|
5
6
|
const check_circle_icon_1 = require("@patternfly/react-icons/dist/js/icons/check-circle-icon");
|
|
6
7
|
const exclamation_circle_icon_1 = require("@patternfly/react-icons/dist/js/icons/exclamation-circle-icon");
|
|
7
8
|
const in_progress_icon_1 = require("@patternfly/react-icons/dist/js/icons/in-progress-icon");
|
|
8
9
|
const unknown_icon_1 = require("@patternfly/react-icons/dist/js/icons/unknown-icon");
|
|
9
10
|
const react_table_1 = require("@patternfly/react-table");
|
|
10
|
-
const t_global_color_status_success_default_1 = require("@patternfly/react-tokens/dist/js/t_global_color_status_success_default");
|
|
11
|
-
const React = tslib_1.__importStar(require("react"));
|
|
12
11
|
const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
|
|
13
12
|
require("./ConditionsTable.css");
|
|
14
|
-
const common_1 = require("../../../../common");
|
|
15
13
|
const ignoredConditions = ['Progressing'];
|
|
16
14
|
const reversedConditions = ['Degraded'];
|
|
17
15
|
const ConditionsTable = ({ conditions, isDone }) => {
|
|
@@ -29,14 +27,17 @@ const ConditionsTable = ({ conditions, isDone }) => {
|
|
|
29
27
|
if (c.type.endsWith('Progressing')) {
|
|
30
28
|
// progressing conditions have no error status
|
|
31
29
|
icon =
|
|
32
|
-
c.status === okStatus ? (React.createElement(in_progress_icon_1.InProgressIcon, null)) : (React.createElement(
|
|
30
|
+
c.status === okStatus ? (React.createElement(in_progress_icon_1.InProgressIcon, null)) : (React.createElement(react_core_1.Icon, { status: "success" },
|
|
31
|
+
React.createElement(check_circle_icon_1.CheckCircleIcon, null)));
|
|
33
32
|
}
|
|
34
33
|
else {
|
|
35
34
|
if (c.status === okStatus) {
|
|
36
|
-
icon = React.createElement(
|
|
35
|
+
icon = (React.createElement(react_core_1.Icon, { status: "success" },
|
|
36
|
+
React.createElement(check_circle_icon_1.CheckCircleIcon, null)));
|
|
37
37
|
}
|
|
38
38
|
else if (c.status === nokStatus) {
|
|
39
|
-
icon = isDone ? (React.createElement(
|
|
39
|
+
icon = isDone ? (React.createElement(react_core_1.Icon, { status: "danger", size: "sm" },
|
|
40
|
+
React.createElement(exclamation_circle_icon_1.ExclamationCircleIcon, null))) : (React.createElement(in_progress_icon_1.InProgressIcon, null));
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
return (React.createElement(react_table_1.Tr, { key: c.type, className: "ai-conditions-table__no-border" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionsTable.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/Hypershift/DetailsPage/ConditionsTable.tsx"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"ConditionsTable.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/Hypershift/DetailsPage/ConditionsTable.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,uDAA8D;AAC9D,+FAA0F;AAC1F,2GAAsG;AACtG,6FAAwF;AACxF,qFAAiF;AACjF,yDAA0E;AAE1E,8FAAkF;AAElF,iCAA+B;AAE/B,MAAM,iBAAiB,GAAG,CAAC,aAAa,CAAC,CAAC;AAC1C,MAAM,kBAAkB,GAAG,CAAC,UAAU,CAAC,CAAC;AAWxC,MAAM,eAAe,GAAG,CAAC,EAAE,UAAU,EAAE,MAAM,EAAwB,EAAE,EAAE;IACvE,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,OAAO,CACL,oBAAC,mBAAK,IAAC,OAAO,EAAC,SAAS;QACtB,oBAAC,mBAAK;YACJ,oBAAC,gBAAE;gBACD,oBAAC,gBAAE,IAAC,KAAK,EAAE,EAAE,IAAG,CAAC,CAAC,cAAc,CAAC,CAAM;gBACvC,oBAAC,gBAAE,QAAE,CAAC,CAAC,YAAY,CAAC,CAAM,CACvB,CACC;QACR,oBAAC,mBAAK,QACH,UAAU,aAAV,UAAU,uBAAV,UAAU,CACP,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,EACvD,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;YACT,IAAI,IAAI,GAAG,oBAAC,0BAAW,OAAG,CAAC;YAE3B,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC;gBACjE,CAAC,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EA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IAAC,IAAI,EAAE,CAAC,IAAG,CAAC,CAAC,OAAO,IAAI,GAAG,CAAM,CACjC,CACN,CAAC;QACJ,CAAC,CAAC,CACE,CACF,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,eAAe,CAAC"}
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const React = tslib_1.__importStar(require("react"));
|
|
5
5
|
const react_core_1 = require("@patternfly/react-core");
|
|
6
|
-
const t_global_color_status_success_default_1 = require("@patternfly/react-tokens/dist/js/t_global_color_status_success_default");
|
|
7
6
|
const check_circle_icon_1 = require("@patternfly/react-icons/dist/js/icons/check-circle-icon");
|
|
8
7
|
const exclamation_circle_icon_1 = require("@patternfly/react-icons/dist/js/icons/exclamation-circle-icon");
|
|
9
8
|
const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
|
|
@@ -18,7 +17,9 @@ const HostedClusterProgress = ({ hostedCluster, launchToOCP }) => {
|
|
|
18
17
|
let progressIcon = React.createElement(react_core_1.Spinner, { size: "md" });
|
|
19
18
|
if ((progressingCondtion === null || progressingCondtion === void 0 ? void 0 : progressingCondtion.status) === 'False') {
|
|
20
19
|
progressIcon =
|
|
21
|
-
(availableCondtion === null || availableCondtion === void 0 ? void 0 : availableCondtion.status) === 'True' ? (React.createElement(
|
|
20
|
+
(availableCondtion === null || availableCondtion === void 0 ? void 0 : availableCondtion.status) === 'True' ? (React.createElement(react_core_1.Icon, { status: "success" },
|
|
21
|
+
React.createElement(check_circle_icon_1.CheckCircleIcon, null))) : (React.createElement(react_core_1.Icon, { status: "danger", size: "sm" },
|
|
22
|
+
React.createElement(exclamation_circle_icon_1.ExclamationCircleIcon, null)));
|
|
22
23
|
}
|
|
23
24
|
return (React.createElement(react_core_1.ProgressStep, { icon: progressIcon },
|
|
24
25
|
React.createElement(react_core_1.Stack, { hasGutter: true },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HostedClusterProgress.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/Hypershift/DetailsPage/HostedClusterProgress.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,
|
|
1
|
+
{"version":3,"file":"HostedClusterProgress.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/Hypershift/DetailsPage/HostedClusterProgress.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,uDAOgC;AAEhC,+FAA0F;AAC1F,2GAAsG;AAEtG,8FAAkF;AAClF,+CAAkD;AAClD,gFAAgD;AAOhD,MAAM,qBAAqB,GAAG,CAAC,EAAE,aAAa,EAAE,WAAW,EAA8B,EAAE,EAAE;;IAC3F,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEvD,MAAM,iBAAiB,GAAG,MAAA,MAAA,aAAa,CAAC,MAAM,0CAAE,UAAU,0CAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC;IAChG,MAAM,mBAAmB,GAAG,MAAA,MAAA,aAAa,CAAC,MAAM,0CAAE,UAAU,0CAAE,IAAI,CAChE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,aAAa,CAChC,CAAC;IAEF,IAAI,YAAY,GAAG,oBAAC,oBAAO,IAAC,IAAI,EAAC,IAAI,GAAG,CAAC;IAEzC,IAAI,CAAA,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAAE,MAAM,MAAK,OAAO,EAAE,CAAC;QAC5C,YAAY;YACV,CAAA,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,MAAM,MAAK,MAAM,CAAC,CAAC,CAAC,CACrC,oBAAC,iBAAI,IAAC,MAAM,EAAC,SAAS;gBACpB,oBAAC,mCAAe,OAAG,CACd,CACR,CAAC,CAAC,CAAC,CACF,oBAAC,iBAAI,IAAC,MAAM,EAAC,QAAQ,EAAC,IAAI,EAAC,IAAI;gBAC7B,oBAAC,+CAAqB,OAAG,CACpB,CACR,CAAC;IACN,CAAC;IAED,OAAO,CACL,oBAAC,yBAAY,IAAC,IAAI,EAAE,YAAY;QAC9B,oBAAC,kBAAK,IAAC,SAAS;YACd,oBAAC,sBAAS;gBACR,oBAAC,oCAAuB,IACtB,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,WAAW,EACrB,SAAS,EAAC,0BAA0B,IAEnC,CAAC,CAAC,kBAAkB,CAAC,CACE,CAChB;YACX,UAAU,IAAI,CACb;gBACE,oBAAC,sBAAS,IAAC,SAAS,EAAC,wBAAwB;oBAC3C,oBAAC,yBAAe,IACd,UAAU,EAAE,MAAA,aAAa,CAAC,MAAM,0CAAE,UAAU,EAC5C,MAAM,EAAE,CAAA,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAAE,MAAM,MAAK,OAAO,GAC/C,CACQ;gBACZ,oBAAC,sBAAS,IAAC,SAAS,EAAC,wBAAwB;oBAC3C,oBAAC,qBAAY,IACX,OAAO,EAAE,GAAG,EAAE;;4BACZ,OAAA,WAAW,CACT,UAAU,CAAA,MAAA,aAAa,CAAC,QAAQ,0CAAE,SAAS,KAAI,EAAE,IAC/C,CAAA,MAAA,aAAa,CAAC,QAAQ,0CAAE,IAAI,KAAI,EAClC,OAAO,EACP,IAAI,CACL,CAAA;yBAAA,IAGF,CAAC,CAAC,uBAAuB,CAAC,CACd,CACL,CACX,CACJ,CACK,CACK,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,qBAAqB,CAAC"}
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const React = tslib_1.__importStar(require("react"));
|
|
5
5
|
const react_core_1 = require("@patternfly/react-core");
|
|
6
|
-
const t_global_color_status_success_default_1 = require("@patternfly/react-tokens/dist/js/t_global_color_status_success_default");
|
|
7
6
|
const check_circle_icon_1 = require("@patternfly/react-icons/dist/js/icons/check-circle-icon");
|
|
8
7
|
const utils_1 = require("../utils");
|
|
9
8
|
const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
|
|
@@ -21,7 +20,8 @@ const getNodePoolsStatus = (agentMachines, hostedCluster, nodePools, agents, t)
|
|
|
21
20
|
}, {});
|
|
22
21
|
const nodePoolsStatus = {
|
|
23
22
|
type: 'ok',
|
|
24
|
-
icon: React.createElement(
|
|
23
|
+
icon: (React.createElement(react_core_1.Icon, { status: "success" },
|
|
24
|
+
React.createElement(check_circle_icon_1.CheckCircleIcon, null))),
|
|
25
25
|
};
|
|
26
26
|
for (const property in nodePoolMap) {
|
|
27
27
|
const { status } = nodePoolMap[property];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodePoolsProgress.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/Hypershift/DetailsPage/NodePoolsProgress.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,
|
|
1
|
+
{"version":3,"file":"NodePoolsProgress.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/Hypershift/DetailsPage/NodePoolsProgress.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,uDAOgC;AAEhC,+FAA0F;AAS1F,oCAAgF;AAChF,8FAAkF;AAClF,8EAA8C;AAE9C,MAAM,kBAAkB,GAAG,CACzB,aAAwC,EACxC,aAAuC,EACvC,SAAgC,EAChC,MAA0B,EAC1B,CAAY,EACK,EAAE;IACnB,MAAM,WAAW,GAAG,SAAS,CAAC,MAAM,CAEjC,CAAC,GAAG,EAAE,EAAE,EAAE,EAAE;;QACb,MAAM,cAAc,GAAG,IAAA,yBAAiB,EAAC,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE,aAA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AMF,EAAE,EAAE;QANF,EACzB,SAAS,EACT,aAAa,EACb,aAAa,EACb,MAAM,OAEiB,EADpB,IAAI,sBALkB,yDAM1B,CADQ;IAEP,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEvD,OAAO,CACL,oBAAC,yBAAY,IAAC,IAAI,EAAE,kBAAkB,CAAC,aAAa,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,CAAC;QACxF,oBAAC,kBAAK,IAAC,SAAS;YACd,oBAAC,sBAAS;gBACR,oBAAC,oCAAuB,IACtB,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,WAAW,EACrB,SAAS,EAAC,0BAA0B,IAEnC,CAAC,CAAC,sBAAsB,CAAC,CACF,CAChB;YACX,UAAU,IAAI,CACb,oBAAC,sBAAS,IAAC,SAAS,EAAC,wBAAwB;gBAC3C,oBAAC,wBAAc,kBACb,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,aAAa,IACxB,IAAI,EACR,CACQ,CACb,CACK,CACK,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,iBAAiB,CAAC"}
|
|
@@ -2,13 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getNodePoolStatus = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
+
const react_core_1 = require("@patternfly/react-core");
|
|
5
7
|
const check_circle_icon_1 = require("@patternfly/react-icons/dist/js/icons/check-circle-icon");
|
|
6
8
|
const exclamation_circle_icon_1 = require("@patternfly/react-icons/dist/js/icons/exclamation-circle-icon");
|
|
7
9
|
const in_progress_icon_1 = require("@patternfly/react-icons/dist/js/icons/in-progress-icon");
|
|
8
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
|
9
|
-
const t_global_color_status_success_default_1 = require("@patternfly/react-tokens/dist/js/t_global_color_status_success_default");
|
|
10
|
-
const t_global_icon_color_status_danger_default_1 = require("@patternfly/react-tokens/dist/js/t_global_icon_color_status_danger_default");
|
|
11
|
-
const t_global_icon_color_status_warning_default_1 = require("@patternfly/react-tokens/dist/js/t_global_icon_color_status_warning_default");
|
|
12
10
|
const helpers_1 = require("../../helpers");
|
|
13
11
|
const agentStatus_1 = require("../../helpers/agentStatus");
|
|
14
12
|
const getNodePoolStatus = (nodePool, agents, t) => {
|
|
@@ -28,7 +26,8 @@ const getNodePoolStatus = (nodePool, agents, t) => {
|
|
|
28
26
|
if (hasErrorAgents) {
|
|
29
27
|
return {
|
|
30
28
|
type: 'error',
|
|
31
|
-
icon: react_1.default.createElement(
|
|
29
|
+
icon: (react_1.default.createElement(react_core_1.Icon, { status: "danger" },
|
|
30
|
+
react_1.default.createElement(exclamation_circle_icon_1.ExclamationCircleIcon, null))),
|
|
32
31
|
text: t('ai:Error'),
|
|
33
32
|
};
|
|
34
33
|
}
|
|
@@ -42,14 +41,16 @@ const getNodePoolStatus = (nodePool, agents, t) => {
|
|
|
42
41
|
if (hasWarningAgents) {
|
|
43
42
|
return {
|
|
44
43
|
type: 'warning',
|
|
45
|
-
icon: react_1.default.createElement(
|
|
44
|
+
icon: (react_1.default.createElement(react_core_1.Icon, { status: "warning" },
|
|
45
|
+
react_1.default.createElement(exclamation_circle_icon_1.ExclamationCircleIcon, null))),
|
|
46
46
|
text: t('ai:Warning'),
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
return ((_c = (_b = (_a = nodePool.status) === null || _a === void 0 ? void 0 : _a.conditions) === null || _b === void 0 ? void 0 : _b.find(({ type }) => type === 'Ready')) === null || _c === void 0 ? void 0 : _c.status) === 'True'
|
|
50
50
|
? {
|
|
51
51
|
type: 'ok',
|
|
52
|
-
icon: react_1.default.createElement(
|
|
52
|
+
icon: (react_1.default.createElement(react_core_1.Icon, { status: "success" },
|
|
53
|
+
react_1.default.createElement(check_circle_icon_1.CheckCircleIcon, null))),
|
|
53
54
|
text: t('ai:Ready'),
|
|
54
55
|
}
|
|
55
56
|
: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/Hypershift/utils/status.tsx"],"names":[],"mappings":";;;;AAAA,+FAA0F;AAC1F,2GAAsG;AACtG,6FAAwF;
|
|
1
|
+
{"version":3,"file":"status.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/Hypershift/utils/status.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAE1B,uDAA8C;AAC9C,+FAA0F;AAC1F,2GAAsG;AACtG,6FAAwF;AAIxF,2CAA+C;AAC/C,2DAAwD;AAQjD,MAAM,iBAAiB,GAAG,CAC/B,QAA6B,EAC7B,MAA0B,EAC1B,CAAY,EACI,EAAE;;IAClB,IAAI,CAAC,MAAM,CAAC,MAAM,IAAI,QAAQ,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;QAC7C,OAAO;YACL,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,8BAAC,iCAAc,OAAG;YACxB,6DAA6D;YAC7D,aAAa;YACb,IAAI,EAAE,CAAC,CAAC,4BAA4B,CAAC;SACtC,CAAC;IACJ,CAAC;IAED,MAAM,gBAAgB,GAAG,IAAA,yBAAW,EAAC,CAAC,CAAC,CAAC;IACxC,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAA,wBAAc,EAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC;IAE7E,MAAM,cAAc,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,KAAK,OAAO,CAAC,CAAC;IAEl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-6,8 +6,6 @@ const react_core_1 = require("@patternfly/react-core");
|
|
|
6
6
|
const check_circle_icon_1 = require("@patternfly/react-icons/dist/js/icons/check-circle-icon");
|
|
7
7
|
const exclamation_triangle_icon_1 = require("@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon");
|
|
8
8
|
const pencil_alt_icon_1 = require("@patternfly/react-icons/dist/js/icons/pencil-alt-icon");
|
|
9
|
-
const t_global_color_status_success_default_1 = require("@patternfly/react-tokens/dist/js/t_global_color_status_success_default");
|
|
10
|
-
const t_global_icon_color_status_warning_default_1 = require("@patternfly/react-tokens/dist/js/t_global_icon_color_status_warning_default");
|
|
11
9
|
const common_1 = require("../../../common");
|
|
12
10
|
const common_2 = require("../common");
|
|
13
11
|
const EditPullSecretModal_1 = tslib_1.__importDefault(require("../modals/EditPullSecretModal"));
|
|
@@ -16,12 +14,14 @@ const EditNtpSourcesModal_1 = tslib_1.__importDefault(require("../modals/EditNtp
|
|
|
16
14
|
const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
|
|
17
15
|
const modals_1 = require("../modals");
|
|
18
16
|
const EditItem = ({ title, onEdit, isLoading, isWarning, noIcon }) => {
|
|
19
|
-
let icon = React.createElement(
|
|
17
|
+
let icon = (React.createElement(react_core_1.Icon, { status: "success" },
|
|
18
|
+
React.createElement(check_circle_icon_1.CheckCircleIcon, null)));
|
|
20
19
|
if (isLoading) {
|
|
21
20
|
icon = React.createElement(react_core_1.Spinner, { size: "md" });
|
|
22
21
|
}
|
|
23
22
|
else if (isWarning) {
|
|
24
|
-
icon = React.createElement(
|
|
23
|
+
icon = (React.createElement(react_core_1.Icon, { status: "warning" },
|
|
24
|
+
React.createElement(exclamation_triangle_icon_1.ExclamationTriangleIcon, null)));
|
|
25
25
|
}
|
|
26
26
|
const btn = (React.createElement(React.Fragment, null,
|
|
27
27
|
title,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnvironmentDetails.js","sourceRoot":"","sources":["../../../../../lib/cim/components/InfraEnv/EnvironmentDetails.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,
|
|
1
|
+
{"version":3,"file":"EnvironmentDetails.js","sourceRoot":"","sources":["../../../../../lib/cim/components/InfraEnv/EnvironmentDetails.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,uDAegC;AAChC,+FAA0F;AAC1F,+GAA0G;AAC1G,2FAAsF;AAEtF,4CAAmD;AAEnD,sCAAqD;AACrD,gGAA8F;AAC9F,wFAAkF;AAClF,gGAA8F;AAC9F,2FAA+E;AAE/E,sCAA2C;AAU3C,MAAM,QAAQ,GAA4B,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE;IAC5F,IAAI,IAAI,GAAG,CACT,oBAAC,iBAAI,IAAC,MAAM,EAAC,SAAS;QACpB,oBAAC,mCAAe,OAAG,CACd,CACR,CAAC;IACF,IAAI,SAAS,EAAE,CAAC;QACd,IAAI,GAAG,oBAAC,oBAAO,IAAC,IAAI,EAAC,IAAI,GAAG,CAAC;IAC/B,CAAC;SAAM,IAAI,SAAS,EAAE,CAAC;QACrB,IAAI,GAAG,CACL,oBAAC,iBAAI,IAAC,MAAM,EAAC,SAAS;YACpB,oBAAC,mDAAuB,OAAG,CACtB,CACR,CAAC;IACJ,CAAC;IACD,MAAM,GAAG,GAAG,CACV;QACG,KAAK;;QACN,oBAAC,mBAAM,IAAC,IAAI,EAAE,oBAAC,+BAAa,OAAG,EAAE,OAAO,EAAC,OAAO,EAAC,OAAO,EAAE,MAAM,GAAI,CACnE,CACJ,CAAC;IACF,OAAO,MAAM,CAAC,CAAC,CAAC,CACd,GAAG,CACJ,CAAC,CAAC,CAAC,CACF;QACG,IAAI;;QAEJ,GAAG,CACA,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,GAAG,EAAE;IACzB,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wC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EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,GAAI,CAC9E,CACwB,CACR,CACP,CACT,CACN;QACP,oBAAC,6BAAmB,IAClB,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,EACvC,UAAU,EAAE,UAAU,EACtB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACpC,QAAQ,EAAE,gBAAgB,EAC1B,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,GAChB;QACF,oBAAC,yBAAe,IACd,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,EACnC,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,YAAY,EACtB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,GAChB;QACF,oBAAC,6BAAmB,IAClB,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,EACvC,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,gBAAgB,GAC1B;QACD,SAAS,IAAI,CACZ,oBAAC,uBAAc,IACb,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,EAClC,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,WAAW,EACrB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,GAChB,CACH,CACA,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,kBAAkB,CAAC"}
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const React = tslib_1.__importStar(require("react"));
|
|
5
|
+
const react_core_1 = require("@patternfly/react-core");
|
|
5
6
|
const exclamation_triangle_icon_1 = require("@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon");
|
|
6
|
-
const t_global_icon_color_status_warning_default_1 = require("@patternfly/react-tokens/dist/js/t_global_icon_color_status_warning_default");
|
|
7
7
|
const helpers_1 = require("../helpers");
|
|
8
8
|
const common_1 = require("../common");
|
|
9
|
-
const react_core_1 = require("@patternfly/react-core");
|
|
10
9
|
const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
|
|
11
10
|
const agentStatus_1 = require("../helpers/agentStatus");
|
|
12
11
|
const InfraEnvHostsTabAgentsWarning = ({ infraAgents, infraBMHs, }) => {
|
|
@@ -36,7 +35,8 @@ const InfraEnvHostsTabAgentsWarning = ({ infraAgents, infraBMHs, }) => {
|
|
|
36
35
|
const hostsWithProblemsCount = hostStates.filter(({ key }) => problemStates.includes(key)).length;
|
|
37
36
|
if (hostsWithProblemsCount) {
|
|
38
37
|
return (React.createElement(react_core_1.Tooltip, { content: t('ai:{{count}} host has problems', { count: hostsWithProblemsCount }) },
|
|
39
|
-
React.createElement(
|
|
38
|
+
React.createElement(react_core_1.Icon, { status: "warning" },
|
|
39
|
+
React.createElement(exclamation_triangle_icon_1.ExclamationTriangleIcon, { className: "infra-env-hosts-tab-title__icon" }))));
|
|
40
40
|
}
|
|
41
41
|
return null;
|
|
42
42
|
};
|