@openshift-assisted/ui-lib 2.17.1-cim → 2.17.4-cim
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/clusterDetails/ClusterDeploymentDetailsForm.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts +0 -1
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.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/HostedClusterWizard/HostsStep/HostsStep.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/InfraEnvFormPage.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/helpers/versions.d.ts +1 -1
- package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/types.d.ts +1 -1
- package/build/@types/cim/components/modals/EditProxyModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/EditSSHKeyModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/MassDeleteAgentModal.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.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/clusterDetailsValidation.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/hosts/AdditionalNTPSourcesDialog.d.ts.map +1 -1
- package/build/@types/common/components/hosts/EditHostForm.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/formik/index.d.ts +0 -2
- package/build/@types/common/components/ui/formik/index.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/index.d.ts +1 -0
- package/build/@types/common/index.d.ts.map +1 -1
- package/build/@types/common/utils.d.ts +2 -2
- package/build/@types/common/utils.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/addressValidation.d.ts +18 -0
- package/build/@types/common/validationSchemas/addressValidation.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/clusterDetailsValidation.d.ts +8 -0
- package/build/@types/common/validationSchemas/clusterDetailsValidation.d.ts.map +1 -0
- package/build/@types/common/{components/ui/formik → validationSchemas}/constants.d.ts +1 -3
- package/build/@types/common/validationSchemas/constants.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/hostnameValidation.d.ts +4 -0
- package/build/@types/common/validationSchemas/hostnameValidation.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/index.d.ts +11 -0
- package/build/@types/common/validationSchemas/index.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/networkingValidation.d.ts +18 -0
- package/build/@types/common/validationSchemas/networkingValidation.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/ntpValidation.d.ts +4 -0
- package/build/@types/common/validationSchemas/ntpValidation.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/proxyValidation.d.ts +11 -0
- package/build/@types/common/validationSchemas/proxyValidation.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/pullSecretValidation.d.ts +4 -0
- package/build/@types/common/validationSchemas/pullSecretValidation.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/regexes.d.ts +14 -0
- package/build/@types/common/validationSchemas/regexes.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/sshValidation.d.ts +5 -0
- package/build/@types/common/validationSchemas/sshValidation.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/utils.d.ts +7 -0
- package/build/@types/common/validationSchemas/utils.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.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/components/CustomManifests.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.d.ts +2 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.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/networkConfigurationValidation.d.ts +2 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.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/components/FormViewHosts/FormViewHosts.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.d.ts +2 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.d.ts +2 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.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/disconnected/OptionalConfigurationsStep.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/hosts/UpdateDay2ApiVipForm.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/InfoLinkWithModal.d.ts.map +1 -1
- package/build/cjs/cim/components/Agent/BMCForm.js +3 -3
- package/build/cjs/cim/components/Agent/BMCForm.js.map +1 -1
- 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/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js +9 -15
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js +8 -6
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js +1 -3
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +16 -15
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.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/HostedClusterWizard/DetailsStep/DetailsStep.js +2 -2
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js +2 -11
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.js +8 -8
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.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/InfraEnvFormPage.js +8 -6
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.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/helpers/versions.js +42 -27
- package/build/cjs/cim/components/helpers/versions.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js +7 -3
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js +13 -6
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/persist.js +7 -0
- package/build/cjs/cim/components/modals/CimConfiguration/persist.js.map +1 -1
- package/build/cjs/cim/components/modals/EditProxyModal.js +5 -3
- package/build/cjs/cim/components/modals/EditProxyModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditPullSecretModal.js +1 -1
- package/build/cjs/cim/components/modals/EditPullSecretModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditSSHKeyModal.js +3 -3
- package/build/cjs/cim/components/modals/EditSSHKeyModal.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/DiscoveryImageConfigForm.js +7 -6
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.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/clusterDetailsValidation.js +8 -8
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.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/AdditionalNTPSourcesDialog.js +2 -1
- package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js.map +1 -1
- package/build/cjs/common/components/hosts/EditHostForm.js +3 -2
- package/build/cjs/common/components/hosts/EditHostForm.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 +8 -7
- 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/index.js +0 -2
- package/build/cjs/common/components/ui/formik/index.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/docs_links.js +1 -1
- package/build/cjs/common/index.js +1 -0
- package/build/cjs/common/index.js.map +1 -1
- package/build/cjs/common/utils.js +5 -3
- package/build/cjs/common/utils.js.map +1 -1
- package/build/cjs/common/validationSchemas/addressValidation.js +258 -0
- package/build/cjs/common/validationSchemas/addressValidation.js.map +1 -0
- package/build/cjs/common/validationSchemas/clusterDetailsValidation.js +104 -0
- package/build/cjs/common/validationSchemas/clusterDetailsValidation.js.map +1 -0
- package/build/cjs/common/{components/ui/formik → validationSchemas}/constants.js +3 -5
- package/build/cjs/common/validationSchemas/constants.js.map +1 -0
- package/build/cjs/common/validationSchemas/hostnameValidation.js +36 -0
- package/build/cjs/common/validationSchemas/hostnameValidation.js.map +1 -0
- package/build/cjs/common/validationSchemas/index.js +17 -0
- package/build/cjs/common/validationSchemas/index.js.map +1 -0
- package/build/cjs/common/validationSchemas/networkingValidation.js +74 -0
- package/build/cjs/common/validationSchemas/networkingValidation.js.map +1 -0
- package/build/cjs/common/validationSchemas/ntpValidation.js +25 -0
- package/build/cjs/common/validationSchemas/ntpValidation.js.map +1 -0
- package/build/cjs/common/validationSchemas/proxyValidation.js +43 -0
- package/build/cjs/common/validationSchemas/proxyValidation.js.map +1 -0
- package/build/cjs/common/validationSchemas/pullSecretValidation.js +21 -0
- package/build/cjs/common/validationSchemas/pullSecretValidation.js.map +1 -0
- package/build/cjs/common/validationSchemas/regexes.js +17 -0
- package/build/cjs/common/validationSchemas/regexes.js.map +1 -0
- package/build/cjs/common/validationSchemas/sshValidation.js +32 -0
- package/build/cjs/common/validationSchemas/sshValidation.js.map +1 -0
- package/build/cjs/common/validationSchemas/utils.js +40 -0
- package/build/cjs/common/validationSchemas/utils.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js +7 -6
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.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/components/CustomManifests.js +4 -2
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.js +7 -6
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +7 -3
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js +11 -11
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js.map +1 -1
- 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/ReviewPreflightChecks.js +11 -7
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.js +3 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.js +6 -6
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.js +3 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.js +12 -12
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.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/disconnected/OptionalConfigurationsStep.js +4 -3
- package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.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/hosts/UpdateDay2ApiVipForm.js +2 -1
- package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipForm.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/lib/cim/components/Agent/BMCForm.tsx +3 -3
- package/lib/cim/components/Agent/BMHStatusInfo.tsx +12 -4
- package/lib/cim/components/Agent/MinimalHWRequirements.tsx +4 -2
- package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.tsx +8 -18
- package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.tsx +7 -10
- package/lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.tsx +1 -3
- package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +19 -15
- 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/HostedClusterWizard/DetailsStep/DetailsStep.tsx +2 -2
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.tsx +2 -13
- package/lib/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.tsx +8 -8
- package/lib/cim/components/Hypershift/utils/status.tsx +20 -9
- package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +11 -4
- package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +8 -6
- package/lib/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.tsx +4 -6
- package/lib/cim/components/helpers/agentStatus.tsx +7 -3
- package/lib/cim/components/helpers/versions.ts +51 -34
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationFormFields.tsx +7 -5
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.tsx +13 -6
- package/lib/cim/components/modals/CimConfiguration/persist.ts +11 -0
- package/lib/cim/components/modals/CimConfiguration/types.ts +1 -1
- package/lib/cim/components/modals/EditProxyModal.tsx +6 -3
- package/lib/cim/components/modals/EditPullSecretModal.tsx +1 -1
- package/lib/cim/components/modals/EditSSHKeyModal.tsx +8 -6
- package/lib/cim/components/modals/MassDeleteAgentModal.tsx +12 -5
- package/lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx +9 -8
- 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/clusterDetailsValidation.ts +21 -11
- package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +0 -2
- package/lib/common/components/hosts/AdditionalNTPSourcesDialog.tsx +3 -6
- package/lib/common/components/hosts/EditHostForm.tsx +2 -8
- 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 +10 -8
- 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/index.tsx +0 -2
- package/lib/common/components/ui/index.ts +0 -2
- package/lib/common/config/docs_links.ts +1 -1
- package/lib/common/index.ts +2 -0
- package/lib/common/utils.ts +5 -7
- package/lib/common/{components/ui/formik → validationSchemas}/_validationSchemas.test.ts +51 -39
- package/lib/common/validationSchemas/addressValidation.tsx +354 -0
- package/lib/common/validationSchemas/clusterDetailsValidation.tsx +168 -0
- package/lib/common/{components/ui/formik → validationSchemas}/constants.tsx +3 -6
- package/lib/common/validationSchemas/hostnameValidation.tsx +46 -0
- package/lib/common/validationSchemas/index.tsx +11 -0
- package/lib/common/validationSchemas/networkingValidation.tsx +113 -0
- package/lib/common/validationSchemas/ntpValidation.tsx +30 -0
- package/lib/common/validationSchemas/proxyValidation.tsx +67 -0
- package/lib/common/validationSchemas/pullSecretValidation.tsx +24 -0
- package/lib/common/validationSchemas/regexes.tsx +22 -0
- package/lib/common/validationSchemas/sshValidation.tsx +46 -0
- package/lib/common/validationSchemas/utils.tsx +36 -0
- package/lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx +17 -15
- package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +11 -5
- package/lib/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.tsx +8 -7
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.tsx +4 -2
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.tsx +31 -31
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +15 -5
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts +14 -16
- package/lib/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.tsx +6 -3
- package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +28 -15
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.tsx +3 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.tsx +11 -6
- package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.tsx +5 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.tsx +33 -28
- 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/disconnected/OptionalConfigurationsStep.tsx +5 -3
- package/lib/ocm/components/clusters/ClusterStatus.tsx +30 -8
- package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +12 -8
- package/lib/ocm/components/hosts/UpdateDay2ApiVipForm.tsx +3 -7
- package/lib/ocm/components/ui/InfoLinkWithModal.tsx +4 -2
- package/package.json +3 -3
- 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/common/components/ui/formik/constants.d.ts.map +0 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts +0 -50
- package/build/@types/common/components/ui/formik/validationSchemas.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/common/components/ui/formik/constants.js.map +0 -1
- package/build/cjs/common/components/ui/formik/validationSchemas.js +0 -553
- package/build/cjs/common/components/ui/formik/validationSchemas.js.map +0 -1
- package/lib/common/components/ui/UiIcon.tsx +0 -21
- package/lib/common/components/ui/formik/validationSchemas.ts +0 -803
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as Yup from 'yup';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
3
|
+
export declare const machineNetworksValidationSchema: Yup.ArraySchema<{
|
|
4
|
+
clusterId?: string | undefined;
|
|
5
|
+
cidr?: string | undefined;
|
|
6
|
+
}[] | undefined, Yup.AnyObject, "", "">;
|
|
7
|
+
export declare const clusterNetworksValidationSchema: (t: TFunction) => Yup.ArraySchema<{
|
|
8
|
+
clusterId?: string | undefined;
|
|
9
|
+
cidr: string;
|
|
10
|
+
hostPrefix: number;
|
|
11
|
+
}[] | undefined, Yup.AnyObject, "", "">;
|
|
12
|
+
export declare const serviceNetworkValidationSchema: (t: TFunction) => Yup.ArraySchema<{
|
|
13
|
+
clusterId?: string | undefined;
|
|
14
|
+
cidr: string;
|
|
15
|
+
}[] | undefined, Yup.AnyObject, "", "">;
|
|
16
|
+
export declare const dualStackValidationSchema: (field: string, t: TFunction, openshiftVersion?: string) => Yup.ArraySchema<any[] | undefined, Yup.AnyObject, undefined, "">;
|
|
17
|
+
export declare const IPv4ValidationSchema: Yup.ArraySchema<any[] | undefined, Yup.AnyObject, undefined, "">;
|
|
18
|
+
//# sourceMappingURL=networkingValidation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkingValidation.d.ts","sourceRoot":"","sources":["../../../../lib/common/validationSchemas/networkingValidation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAepC,eAAO,MAAM,+BAA+B;;;uCAE3C,CAAC;AAEF,eAAO,MAAM,+BAA+B,MAAO,SAAS;;;;uCAYzD,CAAC;AAEJ,eAAO,MAAM,8BAA8B,MAAO,SAAS;;;uCASxD,CAAC;AAEJ,eAAO,MAAM,yBAAyB,UAAW,MAAM,KAAK,SAAS,qBAAqB,MAAM,qEA4D3F,CAAC;AAEN,eAAO,MAAM,oBAAoB,kEAIhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ntpValidation.d.ts","sourceRoot":"","sources":["../../../../lib/common/validationSchemas/ntpValidation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAG3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,yBAAyB,MAAO,SAAS,uEAwBjD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as Yup from 'yup';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
3
|
+
import { ProxyFieldsType } from '../types';
|
|
4
|
+
export declare const httpProxyValidationSchema: ({ values, pairValueName, allowEmpty, t, }: {
|
|
5
|
+
values: ProxyFieldsType;
|
|
6
|
+
pairValueName: 'httpProxy' | 'httpsProxy';
|
|
7
|
+
allowEmpty?: boolean | undefined;
|
|
8
|
+
t: TFunction;
|
|
9
|
+
}) => Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
10
|
+
export declare const noProxyValidationSchema: (t: TFunction) => Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
11
|
+
//# sourceMappingURL=proxyValidation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proxyValidation.d.ts","sourceRoot":"","sources":["../../../../lib/common/validationSchemas/proxyValidation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAK3C,eAAO,MAAM,yBAAyB;YAM5B,eAAe;mBACR,WAAW,GAAG,YAAY;;OAEtC,SAAS;wEAgCb,CAAC;AAEF,eAAO,MAAM,uBAAuB,MAAO,SAAS,uEAgBjD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pullSecretValidation.d.ts","sourceRoot":"","sources":["../../../../lib/common/validationSchemas/pullSecretValidation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,0BAA0B,MAAO,SAAS,uEAoBpD,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const ALPHANUMERIC_REGEX: RegExp;
|
|
2
|
+
export declare const CLUSTER_NAME_START_END_REGEX: RegExp;
|
|
3
|
+
export declare const CLUSTER_NAME_VALID_CHARS_REGEX: RegExp;
|
|
4
|
+
export declare const DNS_NAME_REGEX: RegExp;
|
|
5
|
+
export declare const NAME_START_END_REGEX: RegExp;
|
|
6
|
+
export declare const NAME_CHARS_REGEX: RegExp;
|
|
7
|
+
export declare const HOST_NAME_REGEX: RegExp;
|
|
8
|
+
export declare const SSH_PUBLIC_KEY_REGEX: RegExp;
|
|
9
|
+
export declare const PROXY_DNS_REGEX: RegExp;
|
|
10
|
+
export declare const IP_V4_ZERO = "0.0.0.0";
|
|
11
|
+
export declare const IP_V6_ZERO = "0000:0000:0000:0000:0000:0000:0000:0000";
|
|
12
|
+
export declare const MAC_REGEX: RegExp;
|
|
13
|
+
export declare const LOCATION_CHARS_REGEX: RegExp;
|
|
14
|
+
//# sourceMappingURL=regexes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regexes.d.ts","sourceRoot":"","sources":["../../../../lib/common/validationSchemas/regexes.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,QAAmB,CAAC;AAEnD,eAAO,MAAM,4BAA4B,QAA4B,CAAC;AACtE,eAAO,MAAM,8BAA8B,QAAiB,CAAC;AAE7D,eAAO,MAAM,cAAc,QAA2C,CAAC;AACvE,eAAO,MAAM,oBAAoB,QAA4B,CAAC;AAC9D,eAAO,MAAM,gBAAgB,QAAkB,CAAC;AAEhD,eAAO,MAAM,eAAe,QAAmC,CAAC;AAChE,eAAO,MAAM,oBAAoB,QAC0Q,CAAC;AAE5S,eAAO,MAAM,eAAe,QAC6D,CAAC;AAE1F,eAAO,MAAM,UAAU,YAAY,CAAC;AACpC,eAAO,MAAM,UAAU,4CAA4C,CAAC;AAEpE,eAAO,MAAM,SAAS,QAA6C,CAAC;AAEpE,eAAO,MAAM,oBAAoB,QAAsB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Yup from 'yup';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
3
|
+
export declare const sshPublicKeyValidationSchema: (t: TFunction) => Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
4
|
+
export declare const sshPublicKeyListValidationSchema: (t: TFunction) => Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
5
|
+
//# sourceMappingURL=sshValidation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sshValidation.d.ts","sourceRoot":"","sources":["../../../../lib/common/validationSchemas/sshValidation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIpC,eAAO,MAAM,4BAA4B,MAAO,SAAS,uEAatD,CAAC;AAEJ,eAAO,MAAM,gCAAgC,MAAO,SAAS,uEAyBvD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as Yup from 'yup';
|
|
2
|
+
export declare const isIPorDN: (value?: string, dnsRegex?: RegExp) => boolean;
|
|
3
|
+
export declare const isIPv4Address: (ip?: string) => boolean;
|
|
4
|
+
export declare const isIPv6Address: (ip?: string) => boolean;
|
|
5
|
+
export declare const alwaysRequired: (message?: string) => Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
6
|
+
export declare const getArrayIndexFromPath: (path: string) => number;
|
|
7
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../lib/common/validationSchemas/utils.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAI3B,eAAO,MAAM,QAAQ,WAAY,MAAM,+BAQtC,CAAC;AAGF,eAAO,MAAM,aAAa,QAAS,MAAM,YAGxC,CAAC;AAEF,eAAO,MAAM,aAAa,QAAS,MAAM,YAGxC,CAAC;AAEF,eAAO,MAAM,cAAc,aAAc,MAAM,uEAK5C,CAAC;AAEJ,eAAO,MAAM,qBAAqB,SAAU,MAAM,KAAG,MAGpD,CAAC"}
|
package/build/@types/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OcmDiscoveryImageConfigForm.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,OAAO,EAAU,aAAa,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"OcmDiscoveryImageConfigForm.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,OAAO,EAAU,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE/C,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,KAAK,EACN,MAAM,sDAAsD,CAAC;AAE9D,OAAO,EACL,kBAAkB,EAClB,eAAe,EAEf,wBAAwB,EACxB,4BAA4B,EAC7B,MAAM,uBAAuB,CAAC;AAY/B,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,uBAAuB,EAAE,CAAC;IAChD;;OAEG;IACH,SAAS,CAAC,EAAE,kBAAkB,CAAC;CAChC;AAED,MAAM,MAAM,2BAA2B,GAAG,oBAAoB,GAC5D,eAAe,GACf,4BAA4B,CAAC;AAY/B,KAAK,gCAAgC,GAAG,KAAK,GAAG;IAC9C,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,EAAE,CACZ,MAAM,EAAE,2BAA2B,EACnC,aAAa,EAAE,aAAa,CAAC,2BAA2B,CAAC,KACtD,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,QAAQ,CAAC,uBAAuB,CAAC,CAAC;IAChD,uBAAuB,CAAC,EAAE,wBAAwB,CAAC;IACnD,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,2BAA2B,+LAarC,gCAAgC,sBAoHlC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OcmOperatorProgressItem.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"OcmOperatorProgressItem.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,OAAO,gCAAgC,CAAC;AAGxC,OAAO,EAEL,sBAAsB,EACtB,cAAc,EACf,MAAM,sDAAsD,CAAC;AAG9D,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,sBAAsB,sDAQpE;AAED,eAAO,MAAM,sBAAsB,UAAW,MAAM,WAA+C,CAAC;AAEpG,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,sBAAsB,EAAE,CAAC,EAAE,SAAS,UAwBhF;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,cAAc,GAAG,SAAS,qBAmBlE;AAED,KAAK,iBAAiB,GAAG;IACvB,SAAS,EAAE,sBAAsB,CAAC;CACnC,CAAC;AAqCF,QAAA,MAAM,wBAAwB,kBAAmB,iBAAiB,sBAgBjE,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenshiftVersionHelperText.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"OpenshiftVersionHelperText.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAmC,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAC9F,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAgBpC,eAAO,MAAM,6BAA6B,aAC9B,0BAA0B,EAAE,wBAChB,MAAM,GAAG,IAAI,KAChC,SAAS,YACF,OAAO,6BAuClB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomManifests.d.ts","sourceRoot":"","sources":["../../../../../../../lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAA4B,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAIhF,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;
|
|
1
|
+
{"version":3,"file":"CustomManifests.d.ts","sourceRoot":"","sources":["../../../../../../../lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAA4B,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAIhF,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAG/E,eAAO,MAAM,eAAe;aAIjB,OAAO;mCACe,uBAAuB,KAAK,IAAI;8BAwBhE,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Yup from 'yup';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
2
3
|
import { CustomManifestValues, ManifestFormData } from '../data/dataTypes';
|
|
3
4
|
type CustomManifestMapper = (a: CustomManifestValues) => string;
|
|
4
5
|
declare module 'yup' {
|
|
@@ -6,6 +7,6 @@ declare module 'yup' {
|
|
|
6
7
|
uniqueManifestFiles(message: string, mapper: CustomManifestMapper): this;
|
|
7
8
|
}
|
|
8
9
|
}
|
|
9
|
-
export declare const getFormViewManifestsValidationSchema: Yup.ObjectSchema<{}, ManifestFormData, {}, "">;
|
|
10
|
+
export declare const getFormViewManifestsValidationSchema: (t: TFunction) => Yup.ObjectSchema<{}, ManifestFormData, {}, "">;
|
|
10
11
|
export {};
|
|
11
12
|
//# sourceMappingURL=customManifestsValidationSchema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customManifestsValidationSchema.d.ts","sourceRoot":"","sources":["../../../../../../../lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"customManifestsValidationSchema.d.ts","sourceRoot":"","sources":["../../../../../../../lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAU3E,KAAK,oBAAoB,GAAG,CAAC,CAAC,EAAE,oBAAoB,KAAK,MAAM,CAAC;AAEhE,OAAO,QAAQ,KAAK,CAAC;IACnB,UAAU,WAAW,CACnB,GAAG,SAAS,GAAG,EAAE,GAAG,IAAI,GAAG,SAAS,EACpC,QAAQ,EACR,QAAQ,GAAG,SAAS,EACpB,MAAM,SAAS,GAAG,CAAC,KAAK,GAAG,EAAE;QAE7B,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAG,IAAI,CAAC;KAC1E;CACF;AAwCD,eAAO,MAAM,oCAAoC,MAAO,SAAS,mDA4B7D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkConfigurationForm.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NetworkConfigurationForm.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA0C1B,OAAO,EACL,OAAO,EAIR,MAAM,sDAAsD,CAAC;AAsH9D,QAAA,MAAM,wBAAwB;aAA4B,OAAO;uBA0IhE,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as Yup from 'yup';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
2
3
|
import { HostSubnets, NetworkConfigurationValues } from '../../../../common';
|
|
3
4
|
import { Cluster, ClusterDefaultConfig } from '@openshift-assisted/types/assisted-installer-service';
|
|
4
5
|
export declare const getNetworkInitialValues: (cluster: Cluster, defaultNetworkValues: Pick<ClusterDefaultConfig, 'clusterNetworksIpv4' | 'clusterNetworksDualstack' | 'serviceNetworksIpv4' | 'serviceNetworksDualstack'>, isClusterManagedNetworkingUnsupported: boolean) => NetworkConfigurationValues;
|
|
5
|
-
export declare const getNetworkConfigurationValidationSchema: (initialValues: NetworkConfigurationValues, hostSubnets: HostSubnets, openshiftVersion?: string) => Yup.Lazy<{
|
|
6
|
+
export declare const getNetworkConfigurationValidationSchema: (initialValues: NetworkConfigurationValues, hostSubnets: HostSubnets, t: TFunction, openshiftVersion?: string) => Yup.Lazy<{
|
|
6
7
|
apiVips?: any[] | {
|
|
7
8
|
clusterId?: string | undefined;
|
|
8
9
|
ip?: {} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"networkConfigurationValidation.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,EAGL,WAAW,EAIX,0BAA0B,EAQ3B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAEL,OAAO,EACP,oBAAoB,EAErB,MAAM,sDAAsD,CAAC;AAE9D,eAAO,MAAM,uBAAuB,YACzB,OAAO,wBACM,KACpB,oBAAoB,EAClB,qBAAqB,GACrB,0BAA0B,GAC1B,qBAAqB,GACrB,0BAA0B,CAC7B,yCACsC,OAAO,KAC7C,0BAmCF,CAAC;AAEF,eAAO,MAAM,uCAAuC,kBACnC,0BAA0B,+
|
|
1
|
+
{"version":3,"file":"networkConfigurationValidation.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAGL,WAAW,EAIX,0BAA0B,EAQ3B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAEL,OAAO,EACP,oBAAoB,EAErB,MAAM,sDAAsD,CAAC;AAE9D,eAAO,MAAM,uBAAuB,YACzB,OAAO,wBACM,KACpB,oBAAoB,EAClB,qBAAqB,GACrB,0BAA0B,GAC1B,qBAAqB,GACrB,0BAA0B,CAC7B,yCACsC,OAAO,KAC7C,0BAmCF,CAAC;AAEF,eAAO,MAAM,uCAAuC,kBACnC,0BAA0B,+BAEtC,SAAS,qBACO,MAAM;;;;;;;;;;;;;;;;;;;;;;;sBAiCxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformIntegrationNote.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PlatformIntegrationNote.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAG3D,QAAA,MAAM,uBAAuB;kBAAsC,qBAAqB;uBAoBvF,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
package/build/@types/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReviewPreflightChecks.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ReviewPreflightChecks.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkC1B,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AA0J/E,QAAA,MAAM,qBAAqB;aAA4B,OAAO;uBA0B7D,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormViewHosts.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAqB,iBAAiB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"FormViewHosts.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAqB,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAWpE,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA+BrD,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Yup from 'yup';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
2
3
|
import { FormViewNetworkWideValues } from '../../data/dataTypes';
|
|
3
|
-
export declare const getFormViewHostsValidationSchema: (networkWideValues: FormViewNetworkWideValues) => Yup.ObjectSchema<{
|
|
4
|
+
export declare const getFormViewHostsValidationSchema: (networkWideValues: FormViewNetworkWideValues, t: TFunction) => Yup.ObjectSchema<{
|
|
4
5
|
hosts: {
|
|
5
6
|
macAddress?: {} | undefined;
|
|
6
7
|
bondPrimaryInterface?: {} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formViewHostsValidationSchema.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"formViewHostsValidationSchema.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,OAAO,EACL,yBAAyB,EAG1B,MAAM,sBAAsB,CAAC;AA8F9B,eAAO,MAAM,gCAAgC,sBACxB,yBAAyB,KACzC,SAAS;;;;;;;;;;;;MAKb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YamlView.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAqB,iBAAiB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"YamlView.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAqB,iBAAiB,EAAE,MAAM,cAAc,CAAC;AASpE,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAkBhD,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as Yup from 'yup';
|
|
2
|
-
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
3
|
+
export declare const yamlViewValidationSchema: (t: TFunction) => Yup.ObjectSchema<{
|
|
3
4
|
hosts: {
|
|
4
5
|
macInterfaceMap?: {
|
|
5
6
|
macAddress?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yamlViewValidationSchema.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"yamlViewValidationSchema.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAoB3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AA0DpC,eAAO,MAAM,wBAAwB,MAAO,SAAS;;;;;;;;;;MAQjD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HostInventoryExpandable.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterDetail/HostInventoryExpandable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"HostInventoryExpandable.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterDetail/HostInventoryExpandable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAOxC,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAG/E,OAAO,+BAA+B,CAAC;AAEvC,KAAK,4BAA4B,GAAG;IAClC,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAeF,QAAA,MAAM,uBAAuB,gBAAiB,4BAA4B,sBA6BzE,CAAC;AACF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenShiftVersionDetail.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"OpenShiftVersionDetail.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAyB/E,QAAA,MAAM,sBAAsB;aAA4B,OAAO;uBAgB9D,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetClusterModal.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterDetail/ResetClusterModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ResetClusterModal.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterDetail/ResetClusterModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAsB1B,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EA4G9B,CAAC;AAEF,eAAe,iBAAiB,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;AA8C/B,QAAA,MAAM,0BAA0B,yBA0J/B,CAAC;AAEF,eAAe,0BAA0B,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;iCAIL,uBAAuB;wBAChC,OAAO;uBAqB5B,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,0CACX,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":"UpdateDay2ApiVipForm.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/hosts/UpdateDay2ApiVipForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateDay2ApiVipForm.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/hosts/UpdateDay2ApiVipForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,kBAAkB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1F,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CA+E7D,CAAC;AAEF,eAAe,oBAAoB,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"}
|
|
@@ -76,12 +76,12 @@ const getValidationSchema = (usedHostnames, origHostname, t) => {
|
|
|
76
76
|
bmcAddress: (0, common_1.bmcAddressValidationSchema)(t),
|
|
77
77
|
username: Yup.string().required(t('ai:Required field')),
|
|
78
78
|
password: Yup.string().required(t('ai:Required field')),
|
|
79
|
-
bootMACAddress: common_1.macAddressValidationSchema,
|
|
79
|
+
bootMACAddress: (0, common_1.macAddressValidationSchema)(t),
|
|
80
80
|
nmState: Yup.string(),
|
|
81
81
|
macMapping: Yup.array().of(Yup.object().shape({
|
|
82
|
-
macAddress: common_1.macAddressValidationSchema.when('name', {
|
|
82
|
+
macAddress: (0, common_1.macAddressValidationSchema)(t).when('name', {
|
|
83
83
|
is: (name) => !!name,
|
|
84
|
-
then: () =>
|
|
84
|
+
then: (schema) => schema.required(t('ai:MAC has to be specified')),
|
|
85
85
|
}),
|
|
86
86
|
name: Yup.string().when('macAddress', {
|
|
87
87
|
is: (name) => !!name,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BMCForm.js","sourceRoot":"","sources":["../../../../../lib/cim/components/Agent/BMCForm.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,sDAAgC;AAChC,uDAegC;AAChC,mCAQgB;AAChB,iDAA2B;AAG3B,4CAUyB;AACzB,qEAAyD;AACzD,+FAA0F;AAC1F,6FAAwF;AAQxF,sCAImB;AACnB,iDAAwD;AACxD,2FAA+E;AAI/E,MAAM,aAAa,GAAG,CAAC,MAA0C,EAAE,SAAiB,EAAU,EAAE;;IAC9F,6DAA6D;IAC7D,aAAa;IACb,2GAA2G;IAC3G,OAAO,CAAA,MAAA,MAAM,CAAC,SAAS,CAAC,0CAAG,CAAC,CAAC,KAAI,EAAE,CAAC;AACtC,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,GAAG,EAAE;IACtB,MAAM,CAAC,KAAK,CAAC,GAAG,IAAA,iBAAQ,EAAuB;QAC7C,IAAI,EAAE,YAAY;KACnB,CAAC,CAAC;IACH,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,yBAAgB,GAAwB,CAAC;IAC5D,MAAM,OAAO,GA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E,2BAAc,CAAC,QAAQ,EAC7B,KAAK,EAAE,CAAC,CAAC,aAAa,CAAC,EACvB,IAAI,EAAC,UAAU,EACf,WAAW,EAAE,CAAC,CAAC,iCAAiC,CAAC,EACjD,UAAU,SACV;gBACD,CAAC,OAAO,IAAI,CACX;oBACE,oBAAC,kBAAS,IACR,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,EACtB,IAAI,EAAC,SAAS,EACd,QAAQ,EAAE,4BAAQ,CAAC,IAAI,EACvB,UAAU,EAAE,CAAC,CACX,gJAAgJ,CACjJ,GACD;oBACF,oBAAC,UAAU,OAAG,CACb,CACJ,CACI;YACN,KAAK,IAAI,CACR,oBAAC,kBAAK,IACJ,KAAK,EAAE,CAAC,CAAC,uBAAuB,CAAC,EACjC,OAAO,EAAE,yBAAY,CAAC,MAAM,EAC5B,QAAQ,QACR,WAAW,EAAE,oBAAC,mCAAsB,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAI,IAE1E,KAAK,CACA,CACT,CACS;QACZ,oBAAC,wBAAW;YAEV,oBAAC,mBAAM,IAAC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,IAAI,CAAC,OAAO,IAC9D,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAClC;YACT,oBAAC,mBAAM,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,0BAAa,CAAC,SAAS,IACvD,CAAC,CAAC,WAAW,CAAC,CACR,CACG,CACb,CACJ,CACM,CACV,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
|
@@ -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,+GAA0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on_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,W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W;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"}
|
package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js
CHANGED
|
@@ -15,16 +15,13 @@ const lodash_es_1 = require("lodash-es");
|
|
|
15
15
|
const ClusterDeploymentDetailsFormWrapper = ({ children, }) => {
|
|
16
16
|
const { activeStep, goToPrevStep, goToNextStep, close } = (0, react_core_1.useWizardContext)();
|
|
17
17
|
const { syncError } = React.useContext(ClusterDeploymentWizardContext_1.ClusterDeploymentWizardContext);
|
|
18
|
-
const {
|
|
18
|
+
const { isSubmitting, isValid, isValidating } = (0, formik_1.useFormikContext)();
|
|
19
19
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
20
|
+
// ClusterDeploymentDetailsFormWrapper is exclusively used by ClusterDeploymentWizard (edit flow).
|
|
21
|
+
// No form submission needed here—just navigate to the next step.
|
|
20
22
|
const handleOnNext = React.useCallback(() => {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
void goToNextStep();
|
|
26
|
-
}
|
|
27
|
-
}, [dirty, goToNextStep, submitForm]);
|
|
23
|
+
void goToNextStep();
|
|
24
|
+
}, [goToNextStep]);
|
|
28
25
|
const footer = React.useMemo(() => (React.createElement(react_core_1.WizardFooter, { activeStep: activeStep, onNext: handleOnNext, isNextDisabled: !isValid || isValidating || isSubmitting, nextButtonProps: { isLoading: isSubmitting }, nextButtonText: t('ai:Next'), onBack: goToPrevStep, onClose: close, isBackHidden: true })), [activeStep, close, goToPrevStep, handleOnNext, isSubmitting, isValid, isValidating, t]);
|
|
29
26
|
(0, react_core_1.useWizardFooter)(footer);
|
|
30
27
|
return (React.createElement(react_core_1.Stack, { hasGutter: true },
|
|
@@ -34,31 +31,28 @@ const ClusterDeploymentDetailsFormWrapper = ({ children, }) => {
|
|
|
34
31
|
React.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.danger, title: t('ai:An error occurred'), isInline: true }, syncError))))));
|
|
35
32
|
};
|
|
36
33
|
exports.ClusterDeploymentDetailsFormWrapper = ClusterDeploymentDetailsFormWrapper;
|
|
37
|
-
const ClusterDeploymentDetailsForm = ({
|
|
34
|
+
const ClusterDeploymentDetailsForm = ({ clusterDeployment, clusterImages, extensionAfter, isNutanix, osImages, }) => {
|
|
38
35
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
39
36
|
const versions = React.useMemo(() => (0, helpers_1.getOCPVersions)(clusterImages, isNutanix, osImages), [clusterImages, isNutanix, osImages]);
|
|
40
37
|
const allVersions = React.useMemo(() => (0, helpers_1.getOCPVersions)(clusterImages, isNutanix, osImages, true), [clusterImages, isNutanix, osImages]);
|
|
41
|
-
const forceOpenshiftVersion = agentClusterInstall
|
|
42
|
-
? (0, helpers_1.getSelectedVersion)(clusterImages, agentClusterInstall)
|
|
43
|
-
: undefined;
|
|
44
38
|
const isEditFlow = !!clusterDeployment;
|
|
45
39
|
const { values } = (0, formik_1.useFormikContext)();
|
|
46
40
|
const [cpuArchitectures, allowHighlyAvailable] = React.useMemo(() => {
|
|
47
41
|
var _a, _b, _c;
|
|
48
42
|
const cpuArchitectures = [common_1.CpuArchitecture.x86, common_1.CpuArchitecture.ARM, common_1.CpuArchitecture.s390x];
|
|
49
|
-
const version = allVersions.find((ver) => ver.value === values.openshiftVersion
|
|
43
|
+
const version = allVersions.find((ver) => ver.value === values.openshiftVersion);
|
|
50
44
|
const isMulti = ((_a = version === null || version === void 0 ? void 0 : version.cpuArchitectures) === null || _a === void 0 ? void 0 : _a[0]) === common_1.CpuArchitecture.MULTI;
|
|
51
45
|
const highlyAvailableSupported = (0, lodash_es_1.toNumber)((_c = (_b = version === null || version === void 0 ? void 0 : version.version) === null || _b === void 0 ? void 0 : _b.split('.')) === null || _c === void 0 ? void 0 : _c[1]) >= 18;
|
|
52
46
|
return [
|
|
53
47
|
(isMulti ? cpuArchitectures : version === null || version === void 0 ? void 0 : version.cpuArchitectures),
|
|
54
48
|
highlyAvailableSupported && !isMulti,
|
|
55
49
|
];
|
|
56
|
-
}, [allVersions,
|
|
50
|
+
}, [allVersions, values.openshiftVersion]);
|
|
57
51
|
return (React.createElement(React.Fragment, null,
|
|
58
52
|
isEditFlow && (React.createElement(react_core_1.StackItem, null,
|
|
59
53
|
React.createElement(react_core_1.Alert, { isInline: true, variant: "info", title: t('ai:Some details are not editable after the draft cluster was created.') }))),
|
|
60
54
|
React.createElement(react_core_1.StackItem, null,
|
|
61
|
-
React.createElement(ClusterDetailsFormFields_1.ClusterDetailsFormFields, { versions: versions, allVersions: allVersions, isEditFlow: isEditFlow,
|
|
55
|
+
React.createElement(ClusterDetailsFormFields_1.ClusterDetailsFormFields, { versions: versions, allVersions: allVersions, isEditFlow: isEditFlow, extensionAfter: extensionAfter, isNutanix: isNutanix, cpuArchitectures: cpuArchitectures, allowHighlyAvailable: allowHighlyAvailable }))));
|
|
62
56
|
};
|
|
63
57
|
exports.ClusterDeploymentDetailsForm = ClusterDeploymentDetailsForm;
|
|
64
58
|
//# sourceMappingURL=ClusterDeploymentDetailsForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDeploymentDetailsForm.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uDAQgC;AAOhC,
|
|
1
|
+
{"version":3,"file":"ClusterDeploymentDetailsForm.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B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
|
@@ -25,14 +25,15 @@ const BaseDnsHelperText = ({ name, baseDnsDomain, }) => {
|
|
|
25
25
|
baseDnsDomain || '[example.com]')));
|
|
26
26
|
};
|
|
27
27
|
exports.BaseDnsHelperText = BaseDnsHelperText;
|
|
28
|
-
const ClusterDetailsFormFields = ({ isEditFlow, versions, allVersions,
|
|
28
|
+
const ClusterDetailsFormFields = ({ isEditFlow, versions, allVersions, extensionAfter, isNutanix, cpuArchitectures, allowHighlyAvailable, }) => {
|
|
29
|
+
var _a;
|
|
29
30
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
30
31
|
const nameInputRef = React.useRef();
|
|
31
32
|
const [openshiftVersionModalOpen, setOpenshiftVersionModalOpen] = React.useState(false);
|
|
32
33
|
const { values, setFieldValue } = (0, formik_1.useFormikContext)();
|
|
33
34
|
const { name, baseDnsDomain } = values;
|
|
34
35
|
React.useEffect(() => {
|
|
35
|
-
if (!versions.length && !values.openshiftVersion) {
|
|
36
|
+
if (!versions.length && !values.openshiftVersion && !isEditFlow) {
|
|
36
37
|
const fallbackOpenShiftVersion = allVersions.find((version) => version.default);
|
|
37
38
|
setFieldValue('customOpenshiftSelect', fallbackOpenShiftVersion === null || fallbackOpenShiftVersion === void 0 ? void 0 : fallbackOpenShiftVersion.value);
|
|
38
39
|
setFieldValue('openshiftVersion', fallbackOpenShiftVersion === null || fallbackOpenShiftVersion === void 0 ? void 0 : fallbackOpenShiftVersion.value);
|
|
@@ -62,13 +63,14 @@ const ClusterDetailsFormFields = ({ isEditFlow, versions, allVersions, forceOpen
|
|
|
62
63
|
return (0, common_1.isMajorMinorVersionEqualOrGreater)(current, '4.19') && values.platform === 'baremetal';
|
|
63
64
|
}, [values.customOpenshiftSelect, values.openshiftVersion, values.platform, versions]);
|
|
64
65
|
return (React.createElement(react_core_1.Form, { id: "wizard-cluster-details__form" },
|
|
65
|
-
isEditFlow ? (React.createElement(StaticTextField_1.StaticTextField, { name: "name", label: t('ai:Cluster name'), isRequired: true }, name)) : (React.createElement(formik_2.RichInputField, { ref: nameInputRef, label: t('ai:Cluster name'), name: "name", placeholder: t('ai:Enter cluster name'), richValidationMessages: (0,
|
|
66
|
+
isEditFlow ? (React.createElement(StaticTextField_1.StaticTextField, { name: "name", label: t('ai:Cluster name'), isRequired: true }, name)) : (React.createElement(formik_2.RichInputField, { ref: nameInputRef, label: t('ai:Cluster name'), name: "name", placeholder: t('ai:Enter cluster name'), richValidationMessages: (0, common_1.acmClusterNameValidationMessages)(t), isRequired: true })),
|
|
66
67
|
(extensionAfter === null || extensionAfter === void 0 ? void 0 : extensionAfter['name']) && extensionAfter['name'],
|
|
67
68
|
isEditFlow ? (React.createElement(StaticTextField_1.StaticTextField, { name: "baseDnsDomain", label: t('ai:Base domain'), helperText: React.createElement(exports.BaseDnsHelperText, { name: name, baseDnsDomain: baseDnsDomain }), isRequired: true }, baseDnsDomain)) : (React.createElement(formik_2.InputField, { label: t('ai:Base domain'), name: "baseDnsDomain", helperText: React.createElement(exports.BaseDnsHelperText, { name: name, baseDnsDomain: baseDnsDomain }), placeholder: "example.com", isRequired: true })),
|
|
68
|
-
|
|
69
|
+
isEditFlow ? (React.createElement(StaticTextField_1.StaticTextField, { name: "openshiftVersion", label: "OpenShift version", isRequired: true },
|
|
69
70
|
t('ai:OpenShift'),
|
|
70
|
-
|
|
71
|
-
|
|
71
|
+
' ',
|
|
72
|
+
((_a = allVersions.find((v) => v.value === values.openshiftVersion)) === null || _a === void 0 ? void 0 : _a.version) ||
|
|
73
|
+
values.openshiftVersion)) : (React.createElement(React.Fragment, null,
|
|
72
74
|
React.createElement(common_1.OpenShiftVersionDropdown, { name: "openshiftVersion", items: selectOptions, versions: versions, showReleasesLink: false, showOpenshiftVersionModal: () => setOpenshiftVersionModalOpen(true), customItem: additionalSelectOption }),
|
|
73
75
|
openshiftVersionModalOpen && (React.createElement(common_1.OpenShiftVersionModal, { allVersions: allVersions, setOpenshiftVersionModalOpen: setOpenshiftVersionModalOpen })))),
|
|
74
76
|
React.createElement(ControlPlaneNodesDropdown_1.default, { isDisabled: isEditFlow, allowHighlyAvailable: allowHighlyAvailable, allowTNA: allowTNA }),
|