@openshift-assisted/ui-lib 2.51.2 → 2.52.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/AgentTable.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/AgentsSelectionHostCountAlerts.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/AgentsSelectionUtils.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/BMHEventsModal.d.ts.map +1 -1
- 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/Agent/NoAgentsAlert.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/tableColumns.d.ts +1 -1
- package/build/@types/cim/components/Agent/tableColumns.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/tableUtils.d.ts +0 -1
- package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentCredentials.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentKubeconfigDownload.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentProgress.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentValidationsOverview.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/NetworkConfiguration.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ShortCapacitySummary.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/ClusterDeploymentDetailsStep.d.ts +5 -8
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/components/ValidationSection.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/constants.d.ts +2 -13
- package/build/@types/cim/components/ClusterDeployment/constants.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapForm.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/helpers.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/helpers.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.d.ts +1 -4
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +3 -3
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/validationSchemas.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.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/HypershiftKubeconfigDownload.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolStatus.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts +0 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts +0 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.d.ts +0 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/NetworkStep/types.d.ts +0 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/NetworkStep/types.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/forms/NodePoolAgentsForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/hooks/useSupportedOCPVersions.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/hooks/useTemptiflySync.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/AddNodePoolModal.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/ManageHostsModal.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/NodePoolForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/RemoveNodePoolModal.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/utils/labels.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/utils/nodepool.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/utils/status.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/AddHostDropdown.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts.map +1 -1
- package/build/@types/cim/components/YamlPreview/useYAMLPreview.d.ts.map +1 -1
- package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts.map +1 -1
- package/build/@types/cim/components/common/InfoAndTroubleshootingNotification.d.ts.map +1 -1
- package/build/@types/cim/components/common/SpecSyncErrAlert.d.ts.map +1 -1
- package/build/@types/cim/components/common/constants.d.ts.map +1 -1
- package/build/@types/cim/components/featureSupportLevels/featureStateUtils.d.ts +1 -1
- package/build/@types/cim/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agentClusterInstall.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agentStatus.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agents.d.ts +6 -6
- package/build/@types/cim/components/helpers/agents.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/clusterDeployment.d.ts +3 -15
- package/build/@types/cim/components/helpers/clusterDeployment.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/conditions.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/labels.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/network.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/proxy.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/status.d.ts +1 -1
- package/build/@types/cim/components/helpers/status.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/storage.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/units.d.ts +1 -1
- package/build/@types/cim/components/helpers/units.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/persist.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/utils.d.ts.map +1 -1
- package/build/@types/cim/components/modals/ProvisioningConfigErrorAlert.d.ts.map +1 -1
- package/build/@types/cim/components/modals/utils.d.ts.map +1 -1
- package/build/@types/cim/hooks/useAgentServiceConfig.d.ts.map +1 -1
- package/build/@types/cim/hooks/useConfigMaps.d.ts.map +1 -1
- package/build/@types/cim/hooks/useEvents.d.ts.map +1 -1
- package/build/@types/cim/hooks/useK8sWatchResource.d.ts +1 -1
- package/build/@types/cim/hooks/useK8sWatchResource.d.ts.map +1 -1
- package/build/@types/cim/utils.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/ClustersAPI.d.ts +25 -25
- package/build/@types/common/api/assisted-service/HostsAPI.d.ts +9 -9
- package/build/@types/common/api/assisted-service/InfraEnvsAPI.d.ts +7 -7
- package/build/@types/common/api/assisted-service/UISettingsAPI.d.ts +3 -3
- package/build/@types/common/api/axiosClient.d.ts.map +1 -1
- package/build/@types/common/api/utils.d.ts.map +1 -1
- package/build/@types/common/components/ErrorHandling/ErrorMonitorContext.d.ts.map +1 -1
- package/build/@types/common/components/ErrorHandling/WithErrorBoundary.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/CertificateFields.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiscoveryInstructions.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIpxeScript.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts +1 -7
- package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/FormatDiskWarning.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ProxyFields.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/SecurityFields.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/utils.d.ts +4 -4
- package/build/@types/common/components/clusterConfiguration/utils.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ClusterCredentials.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ClusterProgress.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ClusterProgressItem.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ClusterProgressItems.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ClusterPropertiesList.d.ts.map +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/PostInstallAlert.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ProgressBarTexts.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ClusterWizardStep.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ClusterWizardStepValidationsAlert.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ReviewHostsInventory.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/AdvancedNetworkFields.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/ManagedNetworkingControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/SubnetsDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/reorderNetworks.d.ts +2 -2
- package/build/@types/common/components/clusterWizard/networkingSteps/reorderNetworks.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts +5 -5
- package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts.map +1 -1
- package/build/@types/common/components/clusters/PullSecret.d.ts +2 -0
- package/build/@types/common/components/clusters/PullSecret.d.ts.map +1 -1
- package/build/@types/common/components/fetching/EventListFetch.d.ts.map +1 -1
- package/build/@types/common/components/hosts/AITable.d.ts +1 -1
- package/build/@types/common/components/hosts/AITable.d.ts.map +1 -1
- package/build/@types/common/components/hosts/DiskRole.d.ts +1 -1
- package/build/@types/common/components/hosts/DiskRole.d.ts.map +1 -1
- package/build/@types/common/components/hosts/EditHostForm.d.ts.map +1 -1
- package/build/@types/common/components/hosts/EditHostModal.d.ts.map +1 -1
- package/build/@types/common/components/hosts/FormatDiskCheckbox.d.ts +2 -2
- package/build/@types/common/components/hosts/FormatDiskCheckbox.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostProgress.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostRowDetail.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostValidationGroups.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostsTable.d.ts.map +1 -1
- package/build/@types/common/components/hosts/MassChangeHostnameModal.d.ts.map +1 -1
- package/build/@types/common/components/hosts/MassDeleteHostModal.d.ts.map +1 -1
- package/build/@types/common/components/hosts/hardwareInfo.d.ts.map +1 -1
- package/build/@types/common/components/hosts/status.d.ts +1 -1
- package/build/@types/common/components/hosts/status.d.ts.map +1 -1
- package/build/@types/common/components/hosts/tableColumns.d.ts +3 -3
- package/build/@types/common/components/hosts/tableColumns.d.ts.map +1 -1
- package/build/@types/common/components/hosts/tableUtils.d.ts.map +1 -1
- package/build/@types/common/components/hosts/usePagination.d.ts.map +1 -1
- package/build/@types/common/components/hosts/utils.d.ts +14 -14
- package/build/@types/common/components/hosts/utils.d.ts.map +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/utils.d.ts.map +1 -1
- package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -1
- package/build/@types/common/components/storage/DisksTable.d.ts +1 -1
- package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
- package/build/@types/common/components/storage/StorageDetail.d.ts.map +1 -1
- package/build/@types/common/components/storage/StorageTable.d.ts.map +1 -1
- package/build/@types/common/components/storage/StorageUtils.d.ts.map +1 -1
- package/build/@types/common/components/ui/Alerts.d.ts.map +1 -1
- package/build/@types/common/components/ui/BorderedIcon/BorderedIcon.d.ts +2 -2
- package/build/@types/common/components/ui/BorderedIcon/BorderedIcon.d.ts.map +1 -1
- package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts +1 -1
- package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts.map +1 -1
- package/build/@types/common/components/ui/EventsList.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -1
- package/build/@types/common/components/ui/PrismCode.d.ts +8 -8
- package/build/@types/common/components/ui/PrismCode.d.ts.map +1 -1
- package/build/@types/common/components/ui/RenderIf.d.ts.map +1 -1
- package/build/@types/common/components/ui/SectionTitle.d.ts.map +1 -1
- package/build/@types/common/components/ui/SimpleDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/ViewClusterEventsButton.d.ts.map +1 -1
- package/build/@types/common/components/ui/WizardNavItem.d.ts.map +1 -1
- package/build/@types/common/components/ui/eventsModal.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/AlertFormikError.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/CodeField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/LabelField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/PencilEditField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/RadioField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/RadioFieldWithTooltip.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/TextAreaField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/utils.d.ts +2 -6
- package/build/@types/common/components/ui/formik/utils.d.ts.map +1 -1
- package/build/@types/common/components/ui/table/utils.d.ts.map +1 -1
- package/build/@types/common/components/ui/uiState/ErrorState.d.ts.map +1 -1
- package/build/@types/common/components/ui/utils.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +8 -221
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/config/docs_links.d.ts.map +1 -1
- package/build/@types/common/features/featureGate.d.ts.map +1 -1
- package/build/@types/common/hooks/useDeepCompareMemoize.d.ts.map +1 -1
- package/build/@types/common/hooks/useFieldErrorMsg.d.ts.map +1 -1
- package/build/@types/common/hooks/useFormikHelpers.d.ts.map +1 -1
- package/build/@types/common/hooks/useStateSafely.d.ts.map +1 -1
- package/build/@types/common/reducers/alertsSlice.d.ts.map +1 -1
- package/build/@types/common/reducers/dialogsSlice.d.ts.map +1 -1
- package/build/@types/common/selectors/clusterSelectors.d.ts +17 -17
- package/build/@types/common/selectors/clusterSelectors.d.ts.map +1 -1
- package/build/@types/common/types/cpuArchitecture.d.ts.map +1 -1
- package/build/@types/common/types/featureSupportLevel.d.ts.map +1 -1
- package/build/@types/common/types/networkType.d.ts.map +1 -1
- package/build/@types/common/utils.d.ts +1 -1
- package/build/@types/common/utils.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/addressValidation.d.ts +1 -1
- package/build/@types/common/validationSchemas/addressValidation.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/clusterDetailsValidation.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/constants.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/hostnameValidation.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/networkingValidation.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/ntpValidation.d.ts +1 -1
- package/build/@types/common/validationSchemas/ntpValidation.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/proxyValidation.d.ts +1 -1
- package/build/@types/common/validationSchemas/proxyValidation.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/pullSecretValidation.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/sshValidation.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/InventoryAddHost.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2DiscoveryImageModalButton.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2WizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2WizardFooter.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/Routes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/CpuArchitectureDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/InformationAndAlerts.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterProgressItems.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersion.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmSNODisclaimer.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/manifestsConfiguration/DeleteCustomManifestModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CollapsedManifest.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.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/CustomManifestsArray.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.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/NetworkConfigurationTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts +1 -7
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.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/ReviewClusterDetailTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewCustomManifestsTable.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/ReviewOperatorsTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewPlatformTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewSummary.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/TableSummaryExpandable.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/BondsConfirmationModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpViewRadioGroup.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/propTypes.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/propTypes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/dummyData.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/formDataFromInfraEnvField.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/fromInfraEnv.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/machineNetwork.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/protocolVersion.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/protocolVersion.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetailStatusMessages.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetailStatusVarieties.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterPollingErrorModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterProperties.d.ts +2 -2
- package/build/@types/ocm/components/clusterDetail/ClusterProperties.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterSummaryExpandable.d.ts.map +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/ProgressBarAlerts.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/getProgressBarAlerts.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/utils.d.ts +1 -1
- package/build/@types/ocm/components/clusterDetail/utils.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.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardNavigation.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/CustomManifestStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/HostDiscovery.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/NewClusterWizard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OpenShiftVersionsContext.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/Storage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterStatus.d.ts +1 -1
- package/build/@types/ocm/components/clusters/ClusterStatus.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/Clusters.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClustersTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/NewClusterPage.d.ts +1 -2
- package/build/@types/ocm/components/clusters/NewClusterPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/clusterPolling.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.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/hosts/ClusterHostsTable.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/DeleteHostModal.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HardwareStatus.d.ts +4 -4
- package/build/@types/ocm/components/hosts/HardwareStatus.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostRequirementsContent.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsDiscoveryTable.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsDiscoveryTroubleshootingInfoLinkWithModal.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsStorageTable.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsTableEmptyState.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/StorageAlerts.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/use-hosts-table.d.ts +3 -3
- package/build/@types/ocm/components/hosts/use-hosts-table.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/utils.d.ts +1 -1
- package/build/@types/ocm/components/hosts/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/Buttons/BackButton.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/InfoLinkWithModal.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/OcmFormFields.d.ts +3 -3
- package/build/@types/ocm/components/utils.d.ts.map +1 -1
- package/build/@types/ocm/config/constants.d.ts.map +1 -1
- package/build/@types/ocm/config/routeBasePath.d.ts.map +1 -1
- package/build/@types/ocm/hooks/use-feature.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useClusterCustomManifests.d.ts +1 -1
- package/build/@types/ocm/hooks/useClusterCustomManifests.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useClusterPreflightRequirements.d.ts +1 -1
- package/build/@types/ocm/hooks/useClusterPreflightRequirements.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useInfraEnvHosts.d.ts +1 -1
- package/build/@types/ocm/hooks/useInfraEnvHosts.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useInfraEnvImageUrl.d.ts +1 -1
- package/build/@types/ocm/hooks/useInfraEnvImageUrl.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useInfraEnvIpxeImageUrl.d.ts +1 -1
- package/build/@types/ocm/hooks/useInfraEnvIpxeImageUrl.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useLateBinding.d.ts.map +1 -1
- package/build/@types/ocm/hooks/usePullSecret.d.ts +1 -1
- package/build/@types/ocm/hooks/usePullSecret.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useSetClusterPermissions.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useUISettings.d.ts +1 -1
- package/build/@types/ocm/hooks/useUISettings.d.ts.map +1 -1
- package/build/@types/ocm/sentry.d.ts.map +1 -1
- package/build/@types/ocm/services/ClusterDetailsService.d.ts +2 -2
- package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
- package/build/@types/ocm/services/ClustersService.d.ts +10 -10
- package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
- package/build/@types/ocm/services/CpuArchitectureService.d.ts +1 -1
- package/build/@types/ocm/services/CpuArchitectureService.d.ts.map +1 -1
- package/build/@types/ocm/services/Day2ClusterService.d.ts +3 -3
- package/build/@types/ocm/services/Day2ClusterService.d.ts.map +1 -1
- package/build/@types/ocm/services/DiscoveryImageFormService.d.ts +1 -1
- package/build/@types/ocm/services/DiskEncryptionService.d.ts +2 -2
- package/build/@types/ocm/services/HostsService.d.ts +6 -6
- package/build/@types/ocm/services/HostsService.d.ts.map +1 -1
- package/build/@types/ocm/services/InfraEnvsService.d.ts +8 -8
- package/build/@types/ocm/services/InfraEnvsService.d.ts.map +1 -1
- package/build/@types/ocm/services/OperatorsService.d.ts.map +1 -1
- package/build/@types/ocm/services/UISettingsService.d.ts +2 -2
- package/build/@types/ocm/services/types.d.ts +1 -1
- package/build/@types/ocm/services/types.d.ts.map +1 -1
- package/build/@types/ocm/store/hooks.d.ts +3 -3
- package/build/@types/ocm/store/slices/clusters/selectors.d.ts +6 -6
- package/build/@types/ocm/store/slices/clusters/selectors.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/clusters/slice.d.ts +2 -2
- package/build/@types/ocm/store/slices/clusters/slice.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/selectors.d.ts +2 -2
- package/build/@types/ocm/store/slices/current-cluster/selectors.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +65 -65
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-user/slice.d.ts +3 -3
- package/build/@types/ocm/store/slices/current-user/slice.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts +2 -2
- package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/feature-flags/slice.d.ts +1 -1
- package/build/@types/ocm/store/slices/feature-flags/slice.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/infra-envs/selectors.d.ts +2 -2
- package/build/@types/ocm/store/slices/infra-envs/selectors.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/infra-envs/thunks.d.ts +6 -6
- package/build/@types/ocm/store/store-day1.d.ts +4 -4
- package/build/cjs/cim/components/Agent/AgentsSelectionTable.js +1 -2
- package/build/cjs/cim/components/Agent/AgentsSelectionTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentKubeconfigDownload.js +5 -5
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.js +3 -3
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js +3 -3
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/index.js +3 -5
- package/build/cjs/cim/components/Hypershift/DetailsPage/index.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/index.js +2 -4
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/index.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/index.js +2 -4
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/index.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js +3 -3
- package/build/cjs/cim/components/YamlPreview/index.js +2 -4
- package/build/cjs/cim/components/YamlPreview/index.js.map +1 -1
- package/build/cjs/cim/components/featureSupportLevels/index.js +2 -4
- package/build/cjs/cim/components/featureSupportLevels/index.js.map +1 -1
- package/build/cjs/cim/components/helpers/units.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/persist.js +11 -11
- package/build/cjs/cim/components/modals/EditAgentModal.js +1 -1
- package/build/cjs/cim/utils.js +2 -2
- package/build/cjs/cim/utils.js.map +1 -1
- package/build/cjs/common/api/assisted-service/index.js +10 -12
- package/build/cjs/common/api/assisted-service/index.js.map +1 -1
- package/build/cjs/common/api/axiosExtensions.js +1 -2
- package/build/cjs/common/api/axiosExtensions.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryInstructions.js +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryInstructions.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ProxyFields.js +5 -2
- package/build/cjs/common/components/clusterConfiguration/ProxyFields.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/utils.js +3 -3
- package/build/cjs/common/components/clusterConfiguration/utils.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/index.js +6 -8
- package/build/cjs/common/components/clusterDetail/index.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/index.js +2 -4
- package/build/cjs/common/components/clusterWizard/networkingSteps/index.js.map +1 -1
- package/build/cjs/common/components/clusters/PullSecret.js +17 -16
- package/build/cjs/common/components/clusters/PullSecret.js.map +1 -1
- package/build/cjs/common/components/clusters/index.js +2 -4
- package/build/cjs/common/components/clusters/index.js.map +1 -1
- package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js +1 -1
- package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js.map +1 -1
- package/build/cjs/common/components/ui/Toolbar/index.js +5 -7
- package/build/cjs/common/components/ui/Toolbar/index.js.map +1 -1
- package/build/cjs/common/components/ui/formik/TextAreaField.js +5 -1
- package/build/cjs/common/components/ui/formik/TextAreaField.js.map +1 -1
- package/build/cjs/common/components/ui/uiState/index.js +4 -6
- package/build/cjs/common/components/ui/uiState/index.js.map +1 -1
- package/build/cjs/common/config/constants.js +1 -0
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/hooks/index.js +3 -5
- package/build/cjs/common/hooks/index.js.map +1 -1
- package/build/cjs/common/hooks/use-translation-wrapper.js +1 -2
- package/build/cjs/common/hooks/use-translation-wrapper.js.map +1 -1
- package/build/cjs/common/services/DateAndTime.js +2 -3
- package/build/cjs/common/services/DateAndTime.js.map +1 -1
- package/build/cjs/common/types/typescriptExtensions.js +2 -3
- package/build/cjs/common/types/typescriptExtensions.js.map +1 -1
- package/build/cjs/common/validationSchemas/ntpValidation.js +20 -15
- package/build/cjs/common/validationSchemas/ntpValidation.js.map +1 -1
- package/build/cjs/common/validationSchemas/pullSecretValidation.js +8 -7
- package/build/cjs/common/validationSchemas/pullSecretValidation.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +1 -1
- 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/staticIp/components/StaticIpForm.js +30 -26
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js +8 -11
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +5 -5
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +2 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/index.js +5 -7
- package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js +3 -6
- package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/clusters/Clusters.js +0 -2
- package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClustersTable.js +7 -2
- package/build/cjs/ocm/components/clusters/ClustersTable.js.map +1 -1
- package/build/cjs/ocm/components/clusters/NewClusterPage.js +2 -7
- package/build/cjs/ocm/components/clusters/NewClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/hosts/ClusterHostsTable.js +1 -2
- package/build/cjs/ocm/components/hosts/ClusterHostsTable.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostsStorageTable.js +1 -2
- package/build/cjs/ocm/components/hosts/HostsStorageTable.js.map +1 -1
- package/build/cjs/ocm/components/ui/OcmFormFields.js +2 -2
- package/build/cjs/ocm/components/ui/OcmFormFields.js.map +1 -1
- package/build/cjs/ocm/hooks/index.js +9 -11
- package/build/cjs/ocm/hooks/index.js.map +1 -1
- package/build/cjs/ocm/hooks/use-feature-detection.js +1 -2
- package/build/cjs/ocm/hooks/use-feature-detection.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnv.js +1 -1
- package/build/cjs/ocm/hooks/useInfraEnv.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvId.js +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvId.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvImageUrl.js +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvImageUrl.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvIpxeImageUrl.js +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvIpxeImageUrl.js.map +1 -1
- package/build/cjs/ocm/hooks/useManagedDomains.js +1 -1
- package/build/cjs/ocm/hooks/useManagedDomains.js.map +1 -1
- package/build/cjs/ocm/hooks/usePullSecret.js +32 -8
- package/build/cjs/ocm/hooks/usePullSecret.js.map +1 -1
- package/build/cjs/ocm/hooks/useSetClusterPermissions.js +1 -1
- package/build/cjs/ocm/hooks/useSetClusterPermissions.js.map +1 -1
- package/build/cjs/ocm/hooks/useSupportLevelsAPI.js +1 -1
- package/build/cjs/ocm/hooks/useSupportLevelsAPI.js.map +1 -1
- package/build/cjs/ocm/hooks/useUsedClusterNames.js +1 -1
- package/build/cjs/ocm/hooks/useUsedClusterNames.js.map +1 -1
- package/build/cjs/ocm/services/ClusterDetailsService.js +17 -2
- package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
- package/build/cjs/ocm/services/ClustersService.js.map +1 -1
- package/build/cjs/ocm/store/slices/current-user/slice.js +2 -2
- package/lib/cim/components/Hypershift/DetailsPage/NodePoolsTable.tsx +3 -3
- package/lib/cim/components/helpers/units.ts +1 -1
- package/lib/common/components/clusterConfiguration/DiscoveryInstructions.tsx +0 -1
- package/lib/common/components/clusterConfiguration/ProxyFields.tsx +5 -0
- package/lib/common/components/clusters/PullSecret.tsx +40 -28
- package/lib/common/components/hosts/AdditionalNTPSourcesDialog.tsx +1 -1
- package/lib/common/components/ui/formik/TextAreaField.tsx +4 -1
- package/lib/common/config/constants.ts +1 -0
- package/lib/common/validationSchemas/ntpValidation.tsx +13 -7
- package/lib/common/validationSchemas/pullSecretValidation.tsx +8 -9
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +6 -3
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +33 -29
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.tsx +18 -14
- package/lib/ocm/components/clusterConfiguration/staticIp/components/propTypes.ts +1 -1
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +1 -1
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +9 -4
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +2 -5
- package/lib/ocm/components/clusterWizard/NewClusterWizard.tsx +1 -0
- package/lib/ocm/components/clusters/ClusterPage.tsx +4 -7
- package/lib/ocm/components/clusters/Clusters.tsx +0 -2
- package/lib/ocm/components/clusters/ClustersTable.tsx +10 -10
- package/lib/ocm/components/clusters/NewClusterPage.tsx +1 -9
- package/lib/ocm/hooks/usePullSecret.ts +33 -8
- package/lib/ocm/services/ClusterDetailsService.ts +23 -1
- package/lib/ocm/services/ClustersService.ts +1 -1
- package/lib/ocm/services/types.ts +1 -1
- package/package.json +10 -10
- package/build/@types/ocm/components/clusters/ClusterBreadcrumbs.d.ts +0 -6
- package/build/@types/ocm/components/clusters/ClusterBreadcrumbs.d.ts.map +0 -1
- package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js +0 -14
- package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js.map +0 -1
- package/lib/ocm/components/clusters/ClusterBreadcrumbs.tsx +0 -36
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.useTranslation = exports.useDeepCompareMemoize = exports.useStateSafely = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
7
5
|
var useStateSafely_1 = require("./useStateSafely");
|
|
8
|
-
Object.defineProperty(exports, "useStateSafely", { enumerable: true, get: function () { return __importDefault(useStateSafely_1).default; } });
|
|
6
|
+
Object.defineProperty(exports, "useStateSafely", { enumerable: true, get: function () { return tslib_1.__importDefault(useStateSafely_1).default; } });
|
|
9
7
|
var useDeepCompareMemoize_1 = require("./useDeepCompareMemoize");
|
|
10
|
-
Object.defineProperty(exports, "useDeepCompareMemoize", { enumerable: true, get: function () { return __importDefault(useDeepCompareMemoize_1).default; } });
|
|
8
|
+
Object.defineProperty(exports, "useDeepCompareMemoize", { enumerable: true, get: function () { return tslib_1.__importDefault(useDeepCompareMemoize_1).default; } });
|
|
11
9
|
var use_translation_wrapper_1 = require("./use-translation-wrapper");
|
|
12
10
|
Object.defineProperty(exports, "useTranslation", { enumerable: true, get: function () { return use_translation_wrapper_1.useTranslation; } });
|
|
13
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/common/hooks/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/common/hooks/index.ts"],"names":[],"mappings":";;;;AAAA,mDAA6D;AAApD,yIAAA,OAAO,OAAkB;AAClC,iEAA2E;AAAlE,uJAAA,OAAO,OAAyB;AACzC,qEAA2D;AAAlD,yHAAA,cAAc,OAAA"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useTranslation =
|
|
3
|
+
exports.useTranslation = useTranslation;
|
|
4
4
|
// eslint-disable-next-line no-restricted-imports
|
|
5
5
|
const react_i18next_1 = require("react-i18next");
|
|
6
6
|
function useTranslation() {
|
|
7
7
|
return (0, react_i18next_1.useTranslation)(process.env.TRANSLATION_NAMESPACE);
|
|
8
8
|
}
|
|
9
|
-
exports.useTranslation = useTranslation;
|
|
10
9
|
//# sourceMappingURL=use-translation-wrapper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-translation-wrapper.js","sourceRoot":"","sources":["../../../../lib/common/hooks/use-translation-wrapper.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-translation-wrapper.js","sourceRoot":"","sources":["../../../../lib/common/hooks/use-translation-wrapper.ts"],"names":[],"mappings":";;AAGA,wCAEC;AALD,iDAAiD;AACjD,iDAA6E;AAE7E,SAAgB,cAAc;IAC5B,OAAO,IAAA,8BAA0B,EAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;AACvE,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.diffInDaysBetweenDates = diffInDaysBetweenDates;
|
|
4
|
+
exports.calculateClusterDateDiff = calculateClusterDateDiff;
|
|
4
5
|
const constants_1 = require("../config/constants");
|
|
5
6
|
function diffInDaysBetweenDates(inputDate) {
|
|
6
7
|
const dateObject = new Date(inputDate);
|
|
7
8
|
const today = new Date();
|
|
8
9
|
return Math.floor(Math.abs(today.valueOf() - dateObject.valueOf()) / constants_1.MS_PER_DAY);
|
|
9
10
|
}
|
|
10
|
-
exports.diffInDaysBetweenDates = diffInDaysBetweenDates;
|
|
11
11
|
function calculateClusterDateDiff(inactiveDeletionDays, completedAt) {
|
|
12
12
|
if (completedAt && completedAt !== constants_1.TIME_ZERO) {
|
|
13
13
|
return inactiveDeletionDays - diffInDaysBetweenDates(completedAt);
|
|
@@ -16,5 +16,4 @@ function calculateClusterDateDiff(inactiveDeletionDays, completedAt) {
|
|
|
16
16
|
return inactiveDeletionDays;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
exports.calculateClusterDateDiff = calculateClusterDateDiff;
|
|
20
19
|
//# sourceMappingURL=DateAndTime.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateAndTime.js","sourceRoot":"","sources":["../../../../lib/common/services/DateAndTime.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DateAndTime.js","sourceRoot":"","sources":["../../../../lib/common/services/DateAndTime.tsx"],"names":[],"mappings":";;AAEA,wDAIC;AAED,4DAMC;AAdD,mDAA4D;AAE5D,SAAgB,sBAAsB,CAAC,SAAiB;IACtD,MAAM,UAAU,GAAG,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC;IACvC,MAAM,KAAK,GAAG,IAAI,IAAI,EAAE,CAAC;IACzB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC,GAAG,sBAAU,CAAC,CAAC;AACnF,CAAC;AAED,SAAgB,wBAAwB,CAAC,oBAA4B,EAAE,WAAoB;IACzF,IAAI,WAAW,IAAI,WAAW,KAAK,qBAAS,EAAE,CAAC;QAC7C,OAAO,oBAAoB,GAAG,sBAAsB,CAAC,WAAW,CAAC,CAAC;IACpE,CAAC;SAAM,CAAC;QACN,OAAO,oBAAoB,CAAC;IAC9B,CAAC;AACH,CAAC"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.isNonNullObject = isNonNullObject;
|
|
4
|
+
exports.hasProp = hasProp;
|
|
4
5
|
function isNonNullObject(val) {
|
|
5
6
|
return typeof val === 'object' && val !== null;
|
|
6
7
|
}
|
|
7
|
-
exports.isNonNullObject = isNonNullObject;
|
|
8
8
|
// Still, as of June 18, 2022, Typescript cannot use the 'in' keyword or 'hasOwnProperty' method as a type guard
|
|
9
9
|
// See: https://github.com/microsoft/TypeScript/issues/21732
|
|
10
10
|
function hasProp(obj, prop) {
|
|
11
11
|
return prop in obj;
|
|
12
12
|
}
|
|
13
|
-
exports.hasProp = hasProp;
|
|
14
13
|
//# sourceMappingURL=typescriptExtensions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typescriptExtensions.js","sourceRoot":"","sources":["../../../../lib/common/types/typescriptExtensions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typescriptExtensions.js","sourceRoot":"","sources":["../../../../lib/common/types/typescriptExtensions.ts"],"names":[],"mappings":";;AASA,0CAEC;AAID,0BAKC;AAXD,SAAgB,eAAe,CAAC,GAAY;IAC1C,OAAO,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI,CAAC;AACjD,CAAC;AAED,gHAAgH;AAChH,4DAA4D;AAC5D,SAAgB,OAAO,CACrB,GAAM,EACN,IAAO;IAEP,OAAO,IAAI,IAAI,GAAG,CAAC;AACrB,CAAC"}
|
|
@@ -5,21 +5,26 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const Yup = tslib_1.__importStar(require("yup"));
|
|
6
6
|
const utils_1 = require("../components/ui/formik/utils");
|
|
7
7
|
const utils_2 = require("./utils");
|
|
8
|
-
const ntpSourceValidationSchema = (t) =>
|
|
9
|
-
|
|
10
|
-
if (!
|
|
11
|
-
|
|
8
|
+
const ntpSourceValidationSchema = (t, allowEmpty = true) => {
|
|
9
|
+
let schema = Yup.string();
|
|
10
|
+
if (!allowEmpty) {
|
|
11
|
+
schema = schema.trim().required(t('ai:Required field'));
|
|
12
12
|
}
|
|
13
|
-
return
|
|
14
|
-
.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
return
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
13
|
+
return schema
|
|
14
|
+
.test('ntp-source-validation', t('ai:Provide a comma separated list of valid DNS names or IP addresses.'), (value) => {
|
|
15
|
+
if (!value || value.trim() === '') {
|
|
16
|
+
return true;
|
|
17
|
+
}
|
|
18
|
+
const parts = (0, utils_1.trimCommaSeparatedList)(value).split(',');
|
|
19
|
+
return parts.length > 0 && parts.every((v) => (0, utils_2.isIPorDN)(v));
|
|
20
|
+
})
|
|
21
|
+
.test('ntp-source-validation-unique', t('ai:DNS names and IP addresses must be unique.'), (value) => {
|
|
22
|
+
if (!value || value.trim() === '') {
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
const arr = (0, utils_1.trimCommaSeparatedList)(value).split(',');
|
|
26
|
+
return arr.length === new Set(arr).size;
|
|
27
|
+
});
|
|
28
|
+
};
|
|
24
29
|
exports.ntpSourceValidationSchema = ntpSourceValidationSchema;
|
|
25
30
|
//# sourceMappingURL=ntpValidation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ntpValidation.js","sourceRoot":"","sources":["../../../../lib/common/validationSchemas/ntpValidation.tsx"],"names":[],"mappings":";;;;AAAA,iDAA2B;AAC3B,yDAAuE;AACvE,mCAAmC;AAG5B,MAAM,yBAAyB,GAAG,CAAC,CAAY,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"ntpValidation.js","sourceRoot":"","sources":["../../../../lib/common/validationSchemas/ntpValidation.tsx"],"names":[],"mappings":";;;;AAAA,iDAA2B;AAC3B,yDAAuE;AACvE,mCAAmC;AAG5B,MAAM,yBAAyB,GAAG,CAAC,CAAY,EAAE,UAAU,GAAG,IAAI,EAAE,EAAE;IAC3E,IAAI,MAAM,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC;IAE1B,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,MAAM,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC;IAC1D,CAAC;IAED,OAAO,MAAM;SACV,IAAI,CACH,uBAAuB,EACvB,CAAC,CAAC,uEAAuE,CAAC,EAC1E,CAAC,KAAc,EAAE,EAAE;QACjB,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC;YAClC,OAAO,IAAI,CAAC;QACd,CAAC;QACD,MAAM,KAAK,GAAG,IAAA,8BAAsB,EAAC,KAAK,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACvD,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC,CAAC;IAC7D,CAAC,CACF;SACA,IAAI,CACH,8BAA8B,EAC9B,CAAC,CAAC,+CAA+C,CAAC,EAClD,CAAC,KAAc,EAAE,EAAE;QACjB,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC;YAClC,OAAO,IAAI,CAAC;QACd,CAAC;QACD,MAAM,GAAG,GAAG,IAAA,8BAAsB,EAAC,KAAK,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACrD,OAAO,GAAG,CAAC,MAAM,KAAK,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;IAC1C,CAAC,CACF,CAAC;AACN,CAAC,CAAC;AA9BW,QAAA,yBAAyB,6BA8BpC"}
|
|
@@ -4,17 +4,18 @@ exports.pullSecretValidationSchema = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const Yup = tslib_1.__importStar(require("yup"));
|
|
6
6
|
const pullSecretValidationSchema = (t) => Yup.string().test('is-well-formed-json', t("ai:Invalid pull secret format. You must use your Red Hat account's pull secret."), (value) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return isValid;
|
|
7
|
+
if (!value || !value.trim())
|
|
8
|
+
return true;
|
|
10
9
|
try {
|
|
11
10
|
const pullSecret = JSON.parse(value);
|
|
12
|
-
return (pullSecret
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
return (typeof pullSecret === 'object' &&
|
|
12
|
+
pullSecret !== null &&
|
|
13
|
+
'auths' in pullSecret &&
|
|
14
|
+
typeof pullSecret.auths === 'object' &&
|
|
15
|
+
pullSecret.auths !== null);
|
|
15
16
|
}
|
|
16
17
|
catch (_a) {
|
|
17
|
-
return
|
|
18
|
+
return false;
|
|
18
19
|
}
|
|
19
20
|
});
|
|
20
21
|
exports.pullSecretValidationSchema = pullSecretValidationSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pullSecretValidation.js","sourceRoot":"","sources":["../../../../lib/common/validationSchemas/pullSecretValidation.tsx"],"names":[],"mappings":";;;;AAAA,iDAA2B;AAGpB,MAAM,0BAA0B,GAAG,CAAC,CAAY,EAAE,EAAE,CACzD,GAAG,CAAC,MAAM,EAAE,CAAC,IAAI,CACf,qBAAqB,EACrB,CAAC,CAAC,iFAAiF,CAAC,EACpF,CAAC,KAAc,EAAE,EAAE;IACjB,
|
|
1
|
+
{"version":3,"file":"pullSecretValidation.js","sourceRoot":"","sources":["../../../../lib/common/validationSchemas/pullSecretValidation.tsx"],"names":[],"mappings":";;;;AAAA,iDAA2B;AAGpB,MAAM,0BAA0B,GAAG,CAAC,CAAY,EAAE,EAAE,CACzD,GAAG,CAAC,MAAM,EAAE,CAAC,IAAI,CACf,qBAAqB,EACrB,CAAC,CAAC,iFAAiF,CAAC,EACpF,CAAC,KAAc,EAAE,EAAE;IACjB,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE;QAAE,OAAO,IAAI,CAAC;IACzC,IAAI,CAAC;QACH,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAY,CAAC;QAChD,OAAO,CACL,OAAO,UAAU,KAAK,QAAQ;YAC9B,UAAU,KAAK,IAAI;YACnB,OAAO,IAAI,UAAU;YACrB,OAAQ,UAAiC,CAAC,KAAK,KAAK,QAAQ;YAC3D,UAAiC,CAAC,KAAK,KAAK,IAAI,CAClD,CAAC;IACJ,CAAC;IAAC,WAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC,CACF,CAAC;AAnBS,QAAA,0BAA0B,8BAmBnC"}
|
|
@@ -60,7 +60,7 @@ const HostsClusterDetailTabContent = ({ cluster: ocmCluster, isVisible, }) => {
|
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
62
|
const loadDay2Cluster = () => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
63
|
-
var
|
|
63
|
+
var _a, _b;
|
|
64
64
|
try {
|
|
65
65
|
const day2Cluster = yield Day2ClusterService_1.default.fetchCluster(ocmClusterMemo, pullSecret);
|
|
66
66
|
const aiCluster = Day2ClusterService_1.default.completeAiClusterWithOcmCluster(day2Cluster, ocmClusterMemo);
|
|
@@ -69,7 +69,7 @@ const HostsClusterDetailTabContent = ({ cluster: ocmCluster, isVisible, }) => {
|
|
|
69
69
|
catch (e) {
|
|
70
70
|
(0, api_1.handleApiError)(e);
|
|
71
71
|
if ((0, utils_1.isApiError)(e)) {
|
|
72
|
-
const isImport = (
|
|
72
|
+
const isImport = (_b = (_a = e.config) === null || _a === void 0 ? void 0 : _a.url) === null || _b === void 0 ? void 0 : _b.includes('/import');
|
|
73
73
|
setError(react_1.default.createElement(HostsClusterDetailTabContentErrors_1.AddHostsApiError, { isImport: isImport || false, onTryAgain: handleClickTryAgainLink }));
|
|
74
74
|
}
|
|
75
75
|
}
|
|
@@ -73,7 +73,7 @@ const OcmClusterDetailsFormFields = ({ managedDomains = [], versions, defaultPul
|
|
|
73
73
|
React.createElement(OcmBaseDomainField_1.OcmBaseDomainField, { managedDomains: managedDomains, clusterExists: clusterExists }),
|
|
74
74
|
clusterExists || isSingleClusterFeatureEnabled ? (React.createElement(OcmOpenShiftVersion_1.default, { versions: versions, openshiftVersion: values.openshiftVersion, clusterCpuArchitecture: values.cpuArchitecture, withPreviewText: true, withMultiText: true })) : (React.createElement(OcmOpenShiftVersionSelect_1.default, null)),
|
|
75
75
|
clusterExists || isSingleClusterFeatureEnabled ? (React.createElement(common_1.StaticTextField, { name: "cpuArchitecture", label: "CPU architecture", isRequired: true }, cpuArchitecture)) : (React.createElement(CpuArchitectureDropdown_1.default, { openshiftVersion: openshiftVersion, cpuArchitectures: cpuArchitectures })),
|
|
76
|
-
|
|
76
|
+
React.createElement(common_1.PullSecret, { isOcm: isOcm, defaultPullSecret: defaultPullSecret, isPullSecretSet: !!(cluster === null || cluster === void 0 ? void 0 : cluster.pullSecretSet), isSingleClusterFeatureEnabled: isSingleClusterFeatureEnabled }),
|
|
77
77
|
!isSingleClusterFeatureEnabled &&
|
|
78
78
|
(clusterExists ? (React.createElement(common_1.StaticTextField, { name: "platform", label: "Integrate with external partner platforms", isRequired: true }, constants_1.ExternalPlatformLabels[values.platform])) : (React.createElement(ExternalPlatformDropdown_1.ExternalPlatformDropdown, { onChange: handleExternalPartnerIntegrationsChange, cpuArchitecture: values.cpuArchitecture, featureSupportLevelData: featureSupportLevelData, isSNO: values.controlPlaneCount === 1 }))),
|
|
79
79
|
clusterExists ? (React.createElement(common_1.StaticTextField, { name: "controlPlaneCount", label: React.createElement(ControlPlaneNodesDropdown_1.ControlPlaneNodesLabel, null) }, values.controlPlaneCount)) : (React.createElement(ControlPlaneNodesDropdown_1.default, { featureSupportLevelData: featureSupportLevelData })),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OcmClusterDetailsFormFields.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx"],"names":[],"mappings":";;;;AAAA,+BAA+B;AAC/B,qDAA+B;AAC/B,uDAA8C;AAC9C,mCAA0C;AAE1C,mGAAgG;AAChG,4CAWyB;AACzB,yKAAyI;AACzI,2FAA+E;AAC/E,uDAAwD;AACxD,wFAAwD;AACxD,oGAAoE;AACpE,gGAAgE;AAChE,6DAA0D;AAC1D,kGAAkE;AAClE,wFAAwF;AACxF,6FAA0F;AAC1F,gDAAqE;AACrE,gGAA+F;AAC/F,+DAAyE;AAMzE,yDAAqD;AACrD,iGAIqC;AAU9B,MAAM,2BAA2B,GAAG,CAAC,EAC1C,cAAc,GAAG,EAAE,EACnB,QAAQ,EACR,iBAAiB,EACjB,KAAK,EACL,OAAO,GAC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BAAiB;QACxB,aAAa;KACd,CAAC,CAAC;IACH,OAAO,CACL,oBAAC,iBAAI,IAAC,EAAE,EAAC,8BAA8B;QACrC,oBAAC,iCAAiB,IAChB,GAAG,EAAE,YAAY,EACjB,KAAK,EAAC,cAAc,EACpB,IAAI,EAAC,MAAM,EACX,WAAW,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,oBAAoB,EAC9C,UAAU,QACV,sBAAsB,EACpB,mBAAmB;gBACjB,CAAC,CAAC,IAAA,+CAAsC,EAAC,CAAC,CAAC;gBAC3C,CAAC,CAAC,IAAA,yCAAgC,EAAC,CAAC,CAAC,EAEzC,SAAS,EAAE,gCAAuB,GAClC;QAEF,oBAAC,uCAAkB,IAAC,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,aAAa,GAAI;QAEnF,aAAa,IAAI,6BAA6B,CAAC,CAAC,CAAC,CAChD,oBAAC,6BAAmB,IAClB,QAAQ,EAAE,QAAQ,EAClB,gBAAgB,EAAE,MAAM,CAAC,gBAAgB,EACzC,sBAAsB,EAAE,MAAM,CAAC,eAAe,EAC9C,eAAe,QACf,aAAa,SACb,CACH,CAAC,CAAC,CAAC,CACF,oBAAC,mCAAyB,OAAG,CAC9B;QACA,aAAa,IAAI,6BAA6B,CAAC,CAAC,CAAC,CAChD,oBAAC,wBAAe,IAAC,IAAI,EAAC,iBAAiB,EAAC,KAAK,EAAC,kBAAkB,EAAC,UAAU,UACxE,eAAe,CACA,CACnB,CAAC,CAAC,CAAC,CACF,oBAAC,iCAAuB,IACtB,gBAAgB,EAAE,gBAAgB,EAClC,gBAAgB,EAAE,gBAAgB,GAClC,CACH;
|
|
1
|
+
{"version":3,"file":"OcmClusterDetailsFormFields.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx"],"names":[],"mappings":";;;;AAAA,+BAA+B;AAC/B,qDAA+B;AAC/B,uDAA8C;AAC9C,mCAA0C;AAE1C,m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AiB,KAAK,CAAC,EACrC,UAAU,EAAE,gBAAgB,GAC5B,CACG,CACR,CAAC;AACJ,CAAC,CAAC;AAjLW,QAAA,2BAA2B,+BAiLtC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getOperatorCountString = void 0;
|
|
4
|
+
exports.getAggregatedStatus = getAggregatedStatus;
|
|
5
|
+
exports.getOperatorsLabel = getOperatorsLabel;
|
|
6
|
+
exports.getOperatorsIcon = getOperatorsIcon;
|
|
4
7
|
const tslib_1 = require("tslib");
|
|
5
8
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
9
|
const react_core_1 = require("@patternfly/react-core");
|
|
@@ -23,7 +26,6 @@ function getAggregatedStatus(operators) {
|
|
|
23
26
|
return 'pending';
|
|
24
27
|
return 'available';
|
|
25
28
|
}
|
|
26
|
-
exports.getAggregatedStatus = getAggregatedStatus;
|
|
27
29
|
const getOperatorCountString = (count) => `${count} ${(0, humanize_plus_1.pluralize)(count, 'operator')}`;
|
|
28
30
|
exports.getOperatorCountString = getOperatorCountString;
|
|
29
31
|
function getOperatorsLabel(operators, t) {
|
|
@@ -49,7 +51,6 @@ function getOperatorsLabel(operators, t) {
|
|
|
49
51
|
});
|
|
50
52
|
}
|
|
51
53
|
}
|
|
52
|
-
exports.getOperatorsLabel = getOperatorsLabel;
|
|
53
54
|
function getOperatorsIcon(status) {
|
|
54
55
|
switch (status) {
|
|
55
56
|
case 'available':
|
|
@@ -64,7 +65,6 @@ function getOperatorsIcon(status) {
|
|
|
64
65
|
return react_1.default.createElement(pending_icon_1.PendingIcon, null);
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
|
-
exports.getOperatorsIcon = getOperatorsIcon;
|
|
68
68
|
const OperatorsPopover = ({ operators, children }) => {
|
|
69
69
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
70
70
|
const { byKey: opSpecs } = (0, operatorSpecs_1.useOperatorSpecs)();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OcmOperatorProgressItem.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OcmOperatorProgressItem.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx"],"names":[],"mappings":";;;AAmBA,kDAQC;AAID,8CAwBC;AAED,4CAmBC;;AA5ED,0DAA0B;AAC1B,uDAA8F;AAC9F,+FAA0F;AAC1F,2GAAsG;AACtG,6FAAwF;AACxF,qFAAiF;AACjF,iDAA0C;AAG1C,0CAAwC;AACxC,2FAA+E;AAC/E,+HAA+F;AAM/F,sFAAsF;AAEtF,SAAgB,mBAAmB,CAAC,SAAiC;IACnE,MAAM,cAAc,GAAmC,SAAS,CAAC,GAAG,CAClE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,MAAM,IAAI,SAAS,CAC3C,CAAC;IACF,IAAI,cAAc,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAAE,OAAO,QAAQ,CAAC;IACvD,IAAI,cAAc,CAAC,QAAQ,CAAC,aAAa,CAAC;QAAE,OAAO,aAAa,CAAC;IACjE,IAAI,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC;QAAE,OAAO,SAAS,CAAC;IACzD,OAAO,WAAW,CAAC;AACrB,CAAC;AAEM,MAAM,sBAAsB,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,GAAG,KAAK,IAAI,IAAA,yBAAS,EAAC,KAAK,EAAE,UAAU,CAAC,EAAE,CAAC;AAAvF,QAAA,sBAAsB,0BAAiE;AAEpG,SAAgB,iBAAiB,CAAC,SAAiC,EAAE,CAAY;IAC/E,MAAM,oBAAoB,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,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;YACE,8BAAC,gBAAgB,IAAC,SAAS,EAAE,SAAS;gBACpC,8BAAC,mBAAM,IAAC,OAAO,EAAE,0BAAa,CAAC,IAAI,EAAE,QAAQ,uBAAa,yBAAyB,IAChF,CAAC,CAAC,cAAc,CAAC,CACX,CACQ;YACnB,6CAAQ,KAAK,CAAS,CACrB,CACiB,CACvB,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,wBAAwB,CAAC"}
|
|
@@ -11,50 +11,51 @@ const common_1 = require("../../../../../common");
|
|
|
11
11
|
const ErrorMonitorContext_1 = require("../../../../../common/components/ErrorHandling/ErrorMonitorContext");
|
|
12
12
|
const api_1 = require("../../../../../common/api");
|
|
13
13
|
const selectors_1 = require("../../../../store/slices/current-cluster/selectors");
|
|
14
|
+
/** Reports form state and triggers save on every value change (useFormikAutoSave) */
|
|
14
15
|
const AutosaveWithParentUpdate = ({ onFormStateChange, getEmptyValues, }) => {
|
|
15
|
-
|
|
16
|
-
const emptyValues = react_1.default.useMemo(() => getEmptyValues(), []);
|
|
16
|
+
const emptyValues = react_1.default.useMemo(() => getEmptyValues(), [getEmptyValues]);
|
|
17
17
|
const { isSubmitting, isValid, touched, errors, values, initialValues, submitForm } = (0, formik_1.useFormikContext)();
|
|
18
|
-
const isEmpty = react_1.default.useMemo(() =>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
const isAutoSaveRunning = (0, common_1.useFormikAutoSave)();
|
|
18
|
+
const isEmpty = react_1.default.useMemo(() => (0, isEqual_js_1.default)(values, emptyValues), [values, emptyValues]);
|
|
19
|
+
const isAutoSaveRunning = (0, common_1.useFormikAutoSave)(0);
|
|
20
|
+
// Submit once on mount when form was opened with existing data (so it gets persisted).
|
|
22
21
|
react_1.default.useEffect(() => {
|
|
23
22
|
if (!(0, isEqual_js_1.default)(emptyValues, initialValues)) {
|
|
24
23
|
void submitForm();
|
|
25
24
|
}
|
|
26
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
25
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps -- intentional: run only on mount.
|
|
27
26
|
}, []);
|
|
28
27
|
react_1.default.useEffect(() => {
|
|
29
|
-
onFormStateChange({
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
onFormStateChange({
|
|
29
|
+
isSubmitting,
|
|
30
|
+
isAutoSaveRunning,
|
|
31
|
+
isValid,
|
|
32
|
+
touched,
|
|
33
|
+
errors,
|
|
34
|
+
isEmpty,
|
|
35
|
+
values: values,
|
|
36
|
+
});
|
|
37
|
+
}, [
|
|
38
|
+
isSubmitting,
|
|
39
|
+
isValid,
|
|
40
|
+
isAutoSaveRunning,
|
|
41
|
+
touched,
|
|
42
|
+
errors,
|
|
43
|
+
values,
|
|
44
|
+
isEmpty,
|
|
45
|
+
onFormStateChange,
|
|
46
|
+
]);
|
|
32
47
|
return null;
|
|
33
48
|
};
|
|
34
49
|
const StaticIpForm = ({ infraEnv, updateInfraEnv, getInitialValues, getUpdateParams, validationSchema, onFormStateChange, getEmptyValues, children, showEmptyValues, }) => {
|
|
35
50
|
const { clearAlerts, addAlert } = (0, common_1.useAlerts)();
|
|
36
51
|
const { captureException } = (0, ErrorMonitorContext_1.useErrorMonitor)();
|
|
37
52
|
const { isViewerMode } = (0, react_redux_1.useSelector)(selectors_1.selectCurrentClusterPermissionsState);
|
|
38
|
-
const
|
|
39
|
-
react_1.default.useEffect(() => {
|
|
40
|
-
if (showEmptyValues) {
|
|
41
|
-
//after view changed the formik should be rendered with empty values
|
|
42
|
-
setInitialValues(getEmptyValues());
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
setInitialValues(getInitialValues(infraEnv));
|
|
46
|
-
}
|
|
47
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
48
|
-
}, []);
|
|
49
|
-
if (!initialValues) {
|
|
50
|
-
return null;
|
|
51
|
-
}
|
|
53
|
+
const initialValues = showEmptyValues ? getEmptyValues() : getInitialValues(infraEnv);
|
|
52
54
|
const handleSubmit = (values) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
53
55
|
clearAlerts();
|
|
54
56
|
try {
|
|
55
|
-
const staticNetworkConfig = getUpdateParams(infraEnv, values);
|
|
56
57
|
yield updateInfraEnv({
|
|
57
|
-
staticNetworkConfig:
|
|
58
|
+
staticNetworkConfig: getUpdateParams(infraEnv, values),
|
|
58
59
|
});
|
|
59
60
|
}
|
|
60
61
|
catch (error) {
|
|
@@ -77,6 +78,9 @@ const StaticIpForm = ({ infraEnv, updateInfraEnv, getInitialValues, getUpdatePar
|
|
|
77
78
|
return (0, formik_1.yupToFormErrors)(error);
|
|
78
79
|
}
|
|
79
80
|
};
|
|
81
|
+
if (!initialValues) {
|
|
82
|
+
return null;
|
|
83
|
+
}
|
|
80
84
|
const onSubmit = isViewerMode ? () => Promise.resolve() : handleSubmit;
|
|
81
85
|
return (react_1.default.createElement(formik_1.Formik, { initialValues: initialValues, onSubmit: onSubmit, validate: validate, validateOnMount: true },
|
|
82
86
|
react_1.default.createElement(react_core_1.Form, null,
|
package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StaticIpForm.js","sourceRoot":"","sources":["../../../../../../../lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx"],"names":[],"mappings":";;;;AAAA,0DAAiD;AACjD,6CAA0C;AAC1C,uDAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"StaticIpForm.js","sourceRoot":"","sources":["../../../../../../../lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx"],"names":[],"mappings":";;;;AAAA,0DAAiD;AACjD,6CAA0C;AAC1C,uDAA8C;AAC9C,mCAAmE;AACnE,8EAA2C;AAC3C,kDAAqE;AACrE,4GAAqG;AACrG,mDAA+D;AAE/D,kFAA0G;AAE1G,qFAAqF;AACrF,MAAM,wBAAwB,GAAG,CAAoC,EACnE,iBAAiB,EACjB,cAAc,GAIf,EA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AAC,CAAC,CAAC,YAAY,CAAC;IACvE,OAAO,CACL,8BAAC,eAAM,IAAC,aAAa,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,eAAe;QAC3F,8BAAC,iBAAI;YACF,QAAQ;YACT,8BAAC,wBAAwB,IACvB,iBAAiB,EAAE,iBAAiB,EACpC,cAAc,EAAE,cAAc,GAC9B,CACG,CACA,CACV,CAAC;AACJ,CAAC,CAAC;AA3DW,QAAA,YAAY,gBA2DvB"}
|
|
@@ -25,21 +25,19 @@ const StaticIpPage = ({ infraEnv, updateInfraEnv, onFormStateChange: onFormState
|
|
|
25
25
|
return (0, fromInfraEnv_1.getStaticIpInfo)(infraEnv);
|
|
26
26
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
27
27
|
}, []);
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
const onFormStateChange = (formState) => {
|
|
32
|
-
const hasFilledData = clusterWizardContext.currentStepId === 'static-ip-host-configurations' || !formState.isEmpty;
|
|
28
|
+
const onFormStateChange = react_1.default.useCallback((formState) => {
|
|
29
|
+
const hasFilledData = clusterWizardContext.currentStepId === 'static-ip-host-configurations' ||
|
|
30
|
+
!formState.isEmpty;
|
|
33
31
|
setConfirmOnChangeView(hasFilledData);
|
|
34
32
|
onFormStateChangeParent(formState);
|
|
35
|
-
};
|
|
33
|
+
}, [clusterWizardContext.currentStepId, onFormStateChangeParent]);
|
|
36
34
|
const viewProps = {
|
|
37
35
|
onFormStateChange,
|
|
38
36
|
infraEnv,
|
|
39
37
|
updateInfraEnv,
|
|
40
38
|
showEmptyValues: viewChanged,
|
|
41
39
|
};
|
|
42
|
-
const
|
|
40
|
+
const content = (() => {
|
|
43
41
|
switch (clusterWizardContext.currentStepId) {
|
|
44
42
|
case 'static-ip-yaml-view':
|
|
45
43
|
return react_1.default.createElement(YamlView_1.YamlView, Object.assign({}, viewProps));
|
|
@@ -48,11 +46,10 @@ const StaticIpPage = ({ infraEnv, updateInfraEnv, onFormStateChange: onFormState
|
|
|
48
46
|
case 'static-ip-host-configurations':
|
|
49
47
|
return react_1.default.createElement(FormViewHosts_1.FormViewHosts, Object.assign({}, viewProps));
|
|
50
48
|
default:
|
|
51
|
-
throw `Unexpected wizard step id ${clusterWizardContext.currentStepId} when entering static ip page
|
|
49
|
+
throw new Error(`Unexpected wizard step id ${clusterWizardContext.currentStepId} when entering static ip page`);
|
|
52
50
|
}
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
if (!content) {
|
|
51
|
+
})();
|
|
52
|
+
if (!initialStaticIpInfo) {
|
|
56
53
|
return null;
|
|
57
54
|
}
|
|
58
55
|
return (react_1.default.createElement(react_core_1.Grid, { hasGutter: true },
|
package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StaticIpPage.js","sourceRoot":"","sources":["../../../../../../../lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAOgC;AAEhC,8FAA8D;AAC9D,uDAAuD;AAEvD,kDAA+C;AAC/C,sFAAsF;AACtF,iEAA8D;AAC9D,mFAAgF;AAChF,0BAAwB;AACxB,kDAAgE;AAEhE,MAAM,oBAAoB,GAAG,CAC3B,8BAAC,kBAAK,IACJ,OAAO,EAAE,yBAAY,CAAC,OAAO,EAC7B,QAAQ,EAAE,IAAI,iBACF,sBAAsB,EAClC,KAAK,EAAC,+KACoE,GAC1E,CACH,CAAC;AAEK,MAAM,YAAY,GAAgC,CAAC,EACxD,QAAQ,EACR,cAAc,EACd,iBAAiB,EAAE,uBAAuB,GAC3C,EAAE,EAAE;IACH,MAAM,oBAAoB,GAAG,IAAA,8CAAuB,GAAE,CAAC;IACvD,MAAM,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,GAAG,eAAK,CAAC,QAAQ,CAAU,KAAK,CAAC,CAAC;IACrF,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,eAAK,CAAC,QAAQ,CAAU,KAAK,CAAC,CAAC;IAErE,MAAM,YAAY,GAAG,eAAK,CAAC,WAAW,CACpC,CAAC,IAAkB,EAAE,EAAE;QACrB,oBAAoB,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;QAChD,cAAc,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC,EACD,CAAC,oBAAoB,CAAC,CACvB,CAAC;IAEF,MAAM,mBAAmB,GAAG,eAAK,CAAC,OAAO,CAA2B,GAAG,EAAE;QACvE,OAAO,IAAA,8BAAe,EAAC,QAAQ,CAAC,CAAC;QACjC,uDAAuD;IACzD,CAAC,EAAE,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"StaticIpPage.js","sourceRoot":"","sources":["../../../../../../../lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAOgC;AAEhC,8FAA8D;AAC9D,uDAAuD;AAEvD,kDAA+C;AAC/C,sFAAsF;AACtF,iEAA8D;AAC9D,mFAAgF;AAChF,0BAAwB;AACxB,kDAAgE;AAEhE,MAAM,oBAAoB,GAAG,CAC3B,8BAAC,kBAAK,IACJ,OAAO,EAAE,yBAAY,CAAC,OAAO,EAC7B,QAAQ,EAAE,IAAI,iBACF,sBAAsB,EAClC,KAAK,EAAC,+KACoE,GAC1E,CACH,CAAC;AAEK,MAAM,YAAY,GAAgC,CAAC,EACxD,QAAQ,EACR,cAAc,EACd,iBAAiB,EAAE,uBAAuB,GAC3C,EAAE,EAAE;IACH,MAAM,oBAAoB,GAAG,IAAA,8CAAuB,GAAE,CAAC;IACvD,MAAM,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,GAAG,eAAK,CAAC,QAAQ,CAAU,KAAK,CAAC,CAAC;IACrF,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,eAAK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F,CAAC;QACN,CAAC;IACH,CAAC,CAAC,EAAE,CAAC;IAEL,IAAI,CAAC,mBAAmB,EAAE,CAAC;QACzB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,8BAAC,iBAAI,IAAC,SAAS;QACb,8BAAC,qBAAQ;YACP,8BAAC,gCAAuB,wCAAwD;YAChF,8BAAC,oBAAO,IAAC,SAAS,EAAE,4BAAe,CAAC,KAAK,6IAG/B,CACD;QAEV,CAAC,oBAAoB,CAAC,aAAa,KAAK,uCAAuC;YAC9E,oBAAoB,CAAC,aAAa,KAAK,qBAAqB,CAAC,IAAI,CACjE,8BAAC,gCAAsB,IACrB,WAAW,EAAE,mBAAmB,CAAC,IAAI,EACrC,mBAAmB,EAAE,mBAAmB,EACxC,YAAY,EAAE,YAAY,GAC1B,CACH;QACA,mBAAmB,CAAC,cAAc,IAAI,oBAAoB;QAC1D,OAAO,CACH,CACR,CAAC;AACJ,CAAC,CAAC;AAjFW,QAAA,YAAY,gBAiFvB"}
|
|
@@ -24,10 +24,10 @@ const ClusterDetails = ({ cluster, infraEnv }) => {
|
|
|
24
24
|
const navigate = (0, react_router_dom_v5_compat_1.useNavigate)();
|
|
25
25
|
const dispatch = (0, react_redux_1.useDispatch)();
|
|
26
26
|
const { usedClusterNames } = (0, hooks_2.useUsedClusterNames)((cluster === null || cluster === void 0 ? void 0 : cluster.id) || '');
|
|
27
|
-
const pullSecret = (0, hooks_1.usePullSecret)();
|
|
28
27
|
const { error: errorOCPVersions, loading: loadingOCPVersions, latestVersions: versions, } = (0, OpenShiftVersionsContext_1.useOpenShiftVersionsContext)();
|
|
29
28
|
const location = (0, react_router_dom_v5_compat_1.useLocation)();
|
|
30
29
|
const isSingleClusterFeatureEnabled = (0, use_feature_1.useFeature)('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
30
|
+
const pullSecret = (0, hooks_1.usePullSecret)(isSingleClusterFeatureEnabled);
|
|
31
31
|
const handleClusterUpdate = react_1.default.useCallback((clusterId, params) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
32
32
|
clearAlerts();
|
|
33
33
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDetails.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/ClusterDetails.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,2EAAsE;AACtE,6CAA0C;AAC1C,4CAMyB;AACzB,uCAA4C;AAC5C,6CAA+F;AAC/F,oEAA+F;AAC/F,iEAAiE;AACjE,yDAAsF;AACtF,uCAAqE;AACrE,yEAAyE;AACzE,sFAAsD;AACtD,gGAAgE;AAChE,6CAKwB;AAExB,yFAAyD;AACzD,yDAAqD;AAOrD,MAAM,cAAc,GAAG,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAuB,EAAE,EAAE;IACpE,MAAM,oBAAoB,GAAG,IAAA,8CAAuB,GAAE,CAAC;IACvD,MAAM,cAAc,GAAG,IAAA,yBAAiB,GAAE,CAAC;IAC3C,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,IAAA,kBAAS,GAAE,CAAC;IAC9C,MAAM,QAAQ,GAAG,IAAA,wCAAW,GAAE,CAAC;IAC/B,MAAM,QAAQ,GAAG,IAAA,yBAAW,GAAE,CAAC;IAC/B,MAAM,EAAE,gBAAgB,EAAE,GAAG,IAAA,2BAAmB,EAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,EAAE,KAAI,EAAE,CAAC,CAAC;IACpE,MAAM,
|
|
1
|
+
{"version":3,"file":"ClusterDetails.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/ClusterDetails.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,2EAAsE;AACtE,6CAA0C;AAC1C,4CAMyB;AACzB,uCAA4C;AAC5C,6CAA+F;AAC/F,oEAA+F;AAC/F,iEAAiE;AACjE,yDAAsF;AACtF,uCAAqE;AACrE,yEAA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35,14 +35,14 @@ const ClusterDetailsForm = (props) => {
|
|
|
35
35
|
clusterPlatform !== 'baremetal') {
|
|
36
36
|
resetPlatform = 'baremetal';
|
|
37
37
|
}
|
|
38
|
-
const params = services_1.ClusterDetailsService.getClusterUpdateParams(values, resetPlatform);
|
|
38
|
+
const params = services_1.ClusterDetailsService.getClusterUpdateParams(values, resetPlatform, cluster, infraEnv);
|
|
39
39
|
yield handleClusterUpdate(cluster.id, params);
|
|
40
40
|
}
|
|
41
41
|
else {
|
|
42
|
-
const params = services_1.ClusterDetailsService.getClusterCreateParams(values);
|
|
42
|
+
const params = services_1.ClusterDetailsService.getClusterCreateParams(values, infraEnv);
|
|
43
43
|
yield handleClusterCreate(params);
|
|
44
44
|
}
|
|
45
|
-
}), [cluster, handleClusterCreate, handleClusterUpdate]);
|
|
45
|
+
}), [cluster, infraEnv, handleClusterCreate, handleClusterUpdate]);
|
|
46
46
|
const handleOnNext = react_1.default.useCallback((dirty, submitForm, cluster) => {
|
|
47
47
|
if (isViewerMode || (!dirty && !(0, isUndefined_js_1.default)(cluster) && (0, wizardTransition_1.canNextClusterDetails)({ cluster }))) {
|
|
48
48
|
clearAlerts();
|
|
@@ -81,9 +81,9 @@ const ClusterDetailsForm = (props) => {
|
|
|
81
81
|
react_1.default.createElement(common_1.ClusterWizardStepHeader, null, "Cluster details")),
|
|
82
82
|
!isSingleClusterFeatureEnabled && (react_1.default.createElement(react_core_1.GridItem, null,
|
|
83
83
|
react_1.default.createElement(react_core_1.Flex, { alignItems: { default: 'alignItemsCenter' }, gap: { default: 'gapSm' } },
|
|
84
|
-
react_1.default.createElement(common_1.TechnologyPreview, null),
|
|
85
84
|
react_1.default.createElement(InstallDisconnectedSwitch_1.default, { isDisabled: !!cluster }),
|
|
86
|
-
react_1.default.createElement("span", null, t("ai:I'm installing on a disconnected/air-gapped/secured environment"))
|
|
85
|
+
react_1.default.createElement("span", null, t("ai:I'm installing on a disconnected/air-gapped/secured environment")),
|
|
86
|
+
react_1.default.createElement(common_1.TechnologyPreview, null)))),
|
|
87
87
|
react_1.default.createElement(react_core_1.GridItem, { span: 12, lg: 10, xl: 9, xl2: 7 },
|
|
88
88
|
react_1.default.createElement(OcmClusterDetailsFormFields_1.OcmClusterDetailsFormFields, { versions: ocpVersions, defaultPullSecret: pullSecret, isOcm: api_1.isInOcm, managedDomains: managedDomains, cluster: cluster })))));
|
|
89
89
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDetailsForm.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,6CAA0C;AAC1C,2EAAyD;AACzD,uDAA8D;AAC9D,sFAAmD;AACnD,mCAA+C;AAC/C,4CASyB;AACzB,yDAA2D;AAC3D,wFAAwD;AACxD,6CAA8C;AAC9C,6CAIwB;AACxB,qGAAkG;AAClG,2FAA+E;AAC/E,4EAAoG;AACpG,iEAAiE;AAOjE,yDAAqD;AACrD,iHAAiF;AAiBjF,MAAM,kBAAkB,GAAG,CAAC,KAA8B,EAAE,EAAE;IAC5D,MAAM,EACJ,OAAO,EACP,QAAQ,EACR,UAAU,EACV,cAAc,EACd,WAAW,EACX,gBAAgB,GAAG,EAAE,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,UAAU,GACX,GAAG,KAAK,CAAC;IAEV,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,8CAAuB,GAAE,CAAC;IAC/C,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,wCAAW,GAAE,CAAC;IACjC,MAAM,EAAE,YAAY,EAAE,GAAG,IAAA,yBAAW,EAAC,gDAAoC,CAAC,CAAC;IAC3E,MAAM,EAAE,WAAW,EAAE,GAAG,IAAA,kBAAS,GAAE,CAAC;IACpC,MAAM,6BAA6B,GAAG,IAAA,wBAAU,EAAC,2CAA2C,CAAC,CAAC;IAE9F,MAAM,YAAY,GAAG,eAAK,CAAC,WAAW,CACpC,CAAO,MAA+B,EAAE,EAAE;;QACxC,IAAI,OAAO,EAAE,CAAC;YACZ,IAAI,aAAa,GAAG,MAAM,CAAC,QAAQ,CAAC;YACpC,MAAM,eAAe,GAAG,MAAA,OAAO,CAAC,QAAQ,0CAAE,IAAI,CAAC;YAC/C,IACE,MAAM,CAAC,QAAQ,KAAK,MAAM;gBAC1B,eAAe,KAAK,MAAM;gBAC1B,eAAe,KAAK,WAAW,EAC/B,CAAC;gBACD,aAAa,GAAG,WAAW,CAAC;YAC9B,CAAC;YACD,MAAM,MAAM,GAAG,gCAAqB,CAAC,sBAAsB,
|
|
1
|
+
{"version":3,"file":"ClusterDetailsForm.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,6CAA0C;AAC1C,2EAAyD;AACzD,uDAA8D;AAC9D,sFAAmD;AACnD,mCAA+C;AAC/C,4CASyB;AACzB,yDAA2D;AAC3D,wFAAwD;AACxD,6CAA8C;AAC9C,6CAIwB;AACxB,qGAAkG;AAClG,2FAA+E;AAC/E,4EAAoG;AACpG,iEAAiE;AAOjE,yDAAqD;AACrD,iHAAiF;AAiBjF,MAAM,kBAAkB,GAAG,CAAC,KAA8B,EAAE,EAAE;IAC5D,MAAM,EACJ,OAAO,EACP,QAAQ,EACR,UAAU,EACV,cAAc,EACd,WAAW,EACX,gBAAgB,GAAG,EAAE,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,UAAU,GACX,GAAG,KAAK,CAAC;IAEV,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,8CAAuB,GAAE,CAAC;IAC/C,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,wCAAW,GAAE,CAAC;IACjC,MAAM,EAAE,YAAY,EAAE,GAAG,IAAA,yBAAW,EAAC,gDAAoC,CAAC,CAAC;IAC3E,MAAM,EAAE,WAAW,EAAE,GAAG,IAAA,kBAAS,GAAE,CAAC;IACpC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wCAAqB,EAAC,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAC3D,EAEH,MAAM,EAAE,YAAY,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,GAChD,CACH,CAAC;QAEF,OAAO,CACL,8BAAC,0BAAiB,IAAC,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM;YACvD,8BAAC,iBAAI,IAAC,SAAS;gBACb,8BAAC,qBAAQ;oBACP,8BAAC,gCAAuB,0BAA0C,CACzD;gBACV,CAAC,6BAA6B,IAAI,CACjC,8BAAC,qBAAQ;oBACP,8BAAC,iBAAI,IAAC,UAAU,EAAE,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAE,GAAG,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE;wBAC1E,8BAAC,mCAAyB,IAAC,UAAU,EAAE,CAAC,CAAC,OAAO,GAAI;wBACpD,4CACG,CAAC,CAAC,oEAAoE,CAAC,CACnE;wBACP,8BAAC,0BAAiB,OAAG,CAChB,CACE,CACZ;gBACD,8BAAC,qBAAQ,IAAC,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC;oBACvC,8BAAC,yDAA2B,IAC1B,QAAQ,EAAE,WAAW,EACrB,iBAAiB,EAAE,UAAU,EAC7B,KAAK,EAAE,aAAO,EACd,cAAc,EAAE,cAAc,EAC9B,OAAO,EAAE,OAAO,GAChB,CACO,CACN,CACW,CACrB,CAAC;IACJ,CAAC,CACM,CACV,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,kBAAkB,CAAC"}
|
|
@@ -14,6 +14,7 @@ const useSetClusterPermissions_1 = tslib_1.__importDefault(require("../../hooks/
|
|
|
14
14
|
const hooks_1 = require("../../hooks");
|
|
15
15
|
const react_core_1 = require("@patternfly/react-core");
|
|
16
16
|
const use_feature_1 = require("../../hooks/use-feature");
|
|
17
|
+
const networkType_1 = require("../../../common/types/networkType");
|
|
17
18
|
const utils_1 = require("../utils");
|
|
18
19
|
const addStepToClusterWizard = (wizardStepIds, addAfterStep, itemsToAdd) => {
|
|
19
20
|
const stepsIds = [...wizardStepIds];
|
|
@@ -68,7 +69,7 @@ const ClusterWizardContextProvider = ({ children, cluster, infraEnv, permissions
|
|
|
68
69
|
let customManifestsRequired = false;
|
|
69
70
|
if (cluster) {
|
|
70
71
|
customManifestsRequired =
|
|
71
|
-
(0,
|
|
72
|
+
(0, networkType_1.isThirdPartyCNI)(cluster.networkType) || (0, utils_1.isOciPlatformType)(cluster);
|
|
72
73
|
}
|
|
73
74
|
const customManifestsStepNeedsToBeFilled = customManifestsRequired && !(uiSettings === null || uiSettings === void 0 ? void 0 : uiSettings.customManifestsAdded);
|
|
74
75
|
const requiredStepId = (0, wizardTransition_1.getClusterWizardFirstStep)(locationState, staticIpInfo, cluster === null || cluster === void 0 ? void 0 : cluster.status, cluster === null || cluster === void 0 ? void 0 : cluster.hosts, customManifestsStepNeedsToBeFilled);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterWizardContextProvider.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx"],"names":[],"mappings":";;;AAAA,0DAAiD;AACjD,2EAAyD;AACzD,iEAAwF;AACxF,yDAO4B;AAC5B,6CAA+D;AAC/D,2CAA2E;AAC3E,+EAA+E;AAC/E,qFAAqF;AACrF,
|
|
1
|
+
{"version":3,"file":"ClusterWizardContextProvider.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx"],"names":[],"mappings":";;;AAAA,0DAAiD;AACjD,2EAAyD;AACzD,iEAAwF;AACxF,yDAO4B;AAC5B,6CAA+D;AAC/D,2CAA2E;AAC3E,+EAA+E;AAC/E,qFAAqF;AACrF,4CAAyF;AACzF,4GAA4E;AAE5E,uCAA4C;AAC5C,uDAAsD;AACtD,yDAAqD;AACrD,mEAAoE;AACpE,oCAA6C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