@openshift-assisted/ui-lib 2.9.7-cim → 2.9.9-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/ClusterDeployment/ClusterDeploymentDetails.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.d.ts +6 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/helpers.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/utils/nodepool.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvFormPage.d.ts +2 -0
- package/build/@types/cim/components/InfraEnv/InfraEnvFormPage.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/versions.d.ts +1 -0
- package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddHostModal.d.ts.map +1 -1
- package/build/@types/common/api/accounts-management-service/current-account-api.d.ts +6 -0
- package/build/@types/common/api/accounts-management-service/current-account-api.d.ts.map +1 -0
- package/build/@types/common/api/accounts-management-service/organizations-api.d.ts +6 -0
- package/build/@types/common/api/accounts-management-service/organizations-api.d.ts.map +1 -0
- package/build/@types/common/api/assisted-service/NewFeatureSupportLevelsAPI.d.ts +1 -1
- package/build/@types/common/api/assisted-service/NewFeatureSupportLevelsAPI.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/UISettingsAPI.d.ts +8 -0
- package/build/@types/common/api/assisted-service/UISettingsAPI.d.ts.map +1 -0
- package/build/@types/common/api/assisted-service/index.d.ts +1 -0
- package/build/@types/common/api/assisted-service/index.d.ts.map +1 -1
- package/build/@types/common/api/authorization-service/all-apis.d.ts +7 -0
- package/build/@types/common/api/authorization-service/all-apis.d.ts.map +1 -0
- package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts +4 -1
- package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.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 +3 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.d.ts +3 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts +2 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/OpenShiftVersionSelect.d.ts +2 -0
- package/build/@types/common/components/clusterConfiguration/OpenShiftVersionSelect.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/PostInstallAlert.d.ts +6 -0
- package/build/@types/common/components/clusterDetail/PostInstallAlert.d.ts.map +1 -0
- package/build/@types/common/components/clusterDetail/index.d.ts +1 -0
- package/build/@types/common/components/clusterDetail/index.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostRowDetail.d.ts +2 -1
- package/build/@types/common/components/hosts/HostRowDetail.d.ts.map +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/types.d.ts +3 -3
- package/build/@types/common/components/newFeatureSupportLevels/types.d.ts.map +1 -1
- package/build/@types/common/components/ui/NoPermissionsError.d.ts +3 -0
- package/build/@types/common/components/ui/NoPermissionsError.d.ts.map +1 -0
- package/build/@types/common/components/ui/formik/InputField.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/types.d.ts +2 -2
- package/build/@types/common/components/ui/formik/types.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +1 -1
- package/build/@types/common/components/ui/index.d.ts +1 -0
- package/build/@types/common/components/ui/index.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +1 -1
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/features/featureGate.d.ts +1 -1
- package/build/@types/common/features/featureGate.d.ts.map +1 -1
- package/build/@types/common/services/DateAndTime.d.ts.map +1 -0
- package/build/@types/common/types/cpuArchitecture.d.ts +1 -1
- package/build/@types/common/types/cpuArchitecture.d.ts.map +1 -1
- package/build/@types/common/types/featureSupportLevel.d.ts +3 -3
- package/build/@types/common/types/featureSupportLevel.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/AddHosts.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/InventoryAddHost.d.ts +1 -2
- package/build/@types/ocm/components/AddHosts/InventoryAddHost.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.d.ts +3 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.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 +1 -4
- package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/CpuArchitectureDropdown.d.ts +5 -4
- package/build/@types/ocm/components/clusterConfiguration/CpuArchitectureDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts +2 -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/manifestsConfiguration/CustomManifestsPage.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.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/utils.d.ts +3 -4
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/data/dataTypes.d.ts +0 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/data/dataTypes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts +2 -1
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetailStatusMessages.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 +1 -2
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts +5 -3
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.d.ts +4 -3
- 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 +3 -3
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsDiscoveryTable.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/OcmFormFields.d.ts +1 -1
- package/build/@types/ocm/hooks/index.d.ts +1 -0
- package/build/@types/ocm/hooks/index.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useOpenshiftVersions.d.ts +1 -2
- package/build/@types/ocm/hooks/useOpenshiftVersions.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useSupportLevelsAPI.d.ts +5 -3
- package/build/@types/ocm/hooks/useSupportLevelsAPI.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useUISettings.d.ts +10 -0
- package/build/@types/ocm/hooks/useUISettings.d.ts.map +1 -0
- package/build/@types/ocm/services/ClusterDetailsService.d.ts +2 -1
- package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
- package/build/@types/ocm/services/ClustersService.d.ts +0 -1
- package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
- package/build/@types/ocm/services/Day2ClusterService.d.ts +3 -2
- package/build/@types/ocm/services/Day2ClusterService.d.ts.map +1 -1
- package/build/@types/ocm/services/UISettingsService.d.ts +8 -0
- package/build/@types/ocm/services/UISettingsService.d.ts.map +1 -0
- package/build/@types/ocm/services/index.d.ts +1 -0
- package/build/@types/ocm/services/index.d.ts.map +1 -1
- package/build/@types/ocm/services/types.d.ts +4 -0
- package/build/@types/ocm/services/types.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/ClusterDeployment/ClusterDeploymentDetails.js +58 -55
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetails.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.js +9 -5
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js +6 -2
- package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/helpers.js +4 -2
- package/build/cjs/cim/components/ClusterDeployment/helpers.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/utils/nodepool.js +6 -5
- package/build/cjs/cim/components/Hypershift/utils/nodepool.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +2 -2
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js.map +1 -1
- package/build/cjs/cim/components/helpers/versions.js +3 -1
- package/build/cjs/cim/components/helpers/versions.js.map +1 -1
- package/build/cjs/cim/components/modals/AddHostModal.js +4 -4
- package/build/cjs/cim/components/modals/AddHostModal.js.map +1 -1
- package/build/cjs/common/api/accounts-management-service/access-token-api.js +1 -1
- package/build/cjs/common/api/accounts-management-service/current-account-api.js +17 -0
- package/build/cjs/common/api/accounts-management-service/current-account-api.js.map +1 -0
- package/build/cjs/common/api/accounts-management-service/organizations-api.js +19 -0
- package/build/cjs/common/api/accounts-management-service/organizations-api.js.map +1 -0
- package/build/cjs/common/api/assisted-service/NewFeatureSupportLevelsAPI.js +8 -5
- package/build/cjs/common/api/assisted-service/NewFeatureSupportLevelsAPI.js.map +1 -1
- package/build/cjs/common/api/assisted-service/UISettingsAPI.js +21 -0
- package/build/cjs/common/api/assisted-service/UISettingsAPI.js.map +1 -0
- package/build/cjs/common/api/assisted-service/index.js +3 -1
- package/build/cjs/common/api/assisted-service/index.js.map +1 -1
- package/build/cjs/common/api/authorization-service/all-apis.js +23 -0
- package/build/cjs/common/api/authorization-service/all-apis.js.map +1 -0
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js +4 -4
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js +6 -4
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.js +5 -3
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js +2 -2
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/OpenShiftVersionSelect.js +2 -2
- package/build/cjs/common/components/clusterConfiguration/OpenShiftVersionSelect.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/PostInstallAlert.js +16 -0
- package/build/cjs/common/components/clusterDetail/PostInstallAlert.js.map +1 -0
- package/build/cjs/common/components/clusterDetail/index.js +3 -1
- package/build/cjs/common/components/clusterDetail/index.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js +3 -0
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
- package/build/cjs/common/components/hosts/HostRowDetail.js +2 -2
- package/build/cjs/common/components/hosts/HostRowDetail.js.map +1 -1
- package/build/cjs/common/components/ui/NoPermissionsError.js +14 -0
- package/build/cjs/common/components/ui/NoPermissionsError.js.map +1 -0
- package/build/cjs/common/components/ui/formik/InputField.js +5 -5
- package/build/cjs/common/components/ui/formik/InputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RichInputField.js +5 -2
- package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/SelectField.js +1 -1
- package/build/cjs/common/components/ui/formik/SelectField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/validationSchemas.js +14 -6
- package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
- package/build/cjs/common/components/ui/index.js +3 -1
- package/build/cjs/common/components/ui/index.js.map +1 -1
- package/build/cjs/common/config/constants.js +4 -2
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/features/featureGate.js +1 -3
- package/build/cjs/common/features/featureGate.js.map +1 -1
- package/build/cjs/common/services/DateAndTime.js.map +1 -0
- package/build/cjs/common/types/cpuArchitecture.js +5 -9
- package/build/cjs/common/types/cpuArchitecture.js.map +1 -1
- package/build/cjs/common/types/featureSupportLevel.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/AddHosts.js +1 -2
- package/build/cjs/ocm/components/AddHosts/AddHosts.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/InventoryAddHost.js +2 -2
- package/build/cjs/ocm/components/AddHosts/InventoryAddHost.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js +4 -4
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.js +7 -6
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +5 -22
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.js +1 -13
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js +24 -3
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js +22 -32
- package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js +7 -5
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +3 -4
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js +6 -12
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.js +49 -123
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.js +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.js +14 -19
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +17 -17
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +2 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js +2 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js +2 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js +3 -8
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +5 -12
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +18 -13
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContext.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +45 -36
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js +2 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js +4 -4
- package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +1 -3
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +8 -2
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js +1 -1
- package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js.map +1 -1
- package/build/cjs/ocm/hooks/index.js +3 -1
- package/build/cjs/ocm/hooks/index.js.map +1 -1
- package/build/cjs/ocm/hooks/useOpenshiftVersions.js +0 -5
- package/build/cjs/ocm/hooks/useOpenshiftVersions.js.map +1 -1
- package/build/cjs/ocm/hooks/useSupportLevelsAPI.js +38 -4
- package/build/cjs/ocm/hooks/useSupportLevelsAPI.js.map +1 -1
- package/build/cjs/ocm/hooks/useUISettings.js +62 -0
- package/build/cjs/ocm/hooks/useUISettings.js.map +1 -0
- package/build/cjs/ocm/services/ClusterDetailsService.js +2 -2
- package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
- package/build/cjs/ocm/services/ClustersService.js +0 -8
- package/build/cjs/ocm/services/ClustersService.js.map +1 -1
- package/build/cjs/ocm/services/Day2ClusterService.js +13 -4
- package/build/cjs/ocm/services/Day2ClusterService.js.map +1 -1
- package/build/cjs/ocm/services/UISettingsService.js +18 -0
- package/build/cjs/ocm/services/UISettingsService.js.map +1 -0
- package/build/cjs/ocm/services/index.js +3 -1
- package/build/cjs/ocm/services/index.js.map +1 -1
- package/lib/cim/components/Agent/BMCForm.tsx +3 -3
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetails.tsx +112 -102
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.tsx +17 -5
- package/lib/cim/components/ClusterDeployment/ClusterDetailsFormFields.tsx +9 -2
- package/lib/cim/components/ClusterDeployment/helpers.ts +13 -10
- package/lib/cim/components/Hypershift/utils/nodepool.ts +3 -2
- package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +11 -2
- package/lib/cim/components/helpers/versions.ts +5 -0
- package/lib/cim/components/modals/AddHostModal.tsx +5 -0
- package/lib/common/api/accounts-management-service/access-token-api.ts +1 -1
- package/lib/common/api/accounts-management-service/current-account-api.ts +13 -0
- package/lib/common/api/accounts-management-service/organizations-api.ts +15 -0
- package/lib/common/api/assisted-service/NewFeatureSupportLevelsAPI.ts +9 -5
- package/lib/common/api/assisted-service/UISettingsAPI.ts +24 -0
- package/lib/common/api/assisted-service/index.ts +1 -0
- package/lib/common/api/authorization-service/all-apis.ts +28 -0
- package/lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx +6 -4
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.tsx +5 -1
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.tsx +27 -16
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.tsx +27 -17
- package/lib/common/components/clusterConfiguration/DownloadIso.tsx +3 -1
- package/lib/common/components/clusterConfiguration/OpenShiftVersionSelect.tsx +4 -1
- package/lib/common/components/clusterDetail/PostInstallAlert.tsx +29 -0
- package/lib/common/components/clusterDetail/index.ts +1 -0
- package/lib/common/components/clusterWizard/ReviewValidations.tsx +3 -0
- package/lib/common/components/hosts/HostRowDetail.tsx +3 -1
- package/lib/common/components/newFeatureSupportLevels/types.ts +4 -2
- package/lib/common/components/ui/NoPermissionsError.tsx +19 -0
- package/lib/common/components/ui/formik/InputField.tsx +4 -5
- package/lib/common/components/ui/formik/RichInputField.tsx +6 -2
- package/lib/common/components/ui/formik/SelectField.tsx +1 -1
- package/lib/common/components/ui/formik/types.ts +2 -1
- package/lib/common/components/ui/formik/validationSchemas.ts +16 -6
- package/lib/common/components/ui/index.ts +1 -0
- package/lib/common/config/constants.ts +3 -2
- package/lib/common/features/featureGate.tsx +0 -4
- package/lib/common/types/cpuArchitecture.ts +3 -8
- package/lib/common/types/featureSupportLevel.ts +6 -5
- package/lib/ocm/components/AddHosts/AddHosts.tsx +1 -3
- package/lib/ocm/components/AddHosts/InventoryAddHost.tsx +2 -8
- package/lib/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.tsx +6 -11
- package/lib/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.tsx +34 -19
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +6 -37
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.tsx +1 -15
- package/lib/ocm/components/clusterConfiguration/CpuArchitectureDropdown.tsx +62 -5
- package/lib/ocm/components/clusterConfiguration/CustomManifestCheckbox.tsx +25 -32
- package/lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx +23 -12
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +7 -7
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx +20 -27
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.tsx +3 -3
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.tsx +69 -182
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.tsx +9 -15
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/data/dataTypes.ts +0 -1
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +48 -25
- package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +12 -5
- package/lib/ocm/components/clusterDetail/AssistedInstallerDetailCard.tsx +2 -1
- package/lib/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.tsx +2 -1
- package/lib/ocm/components/clusterDetail/ClusterDetailStatusMessages.tsx +3 -17
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +9 -16
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +18 -16
- package/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx +5 -3
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +75 -54
- package/lib/ocm/components/clusters/ClusterPage.tsx +2 -1
- package/lib/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.tsx +14 -3
- package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +1 -8
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +18 -3
- package/lib/ocm/components/hosts/HostsDiscoveryTable.tsx +1 -0
- package/lib/ocm/hooks/index.ts +1 -0
- package/lib/ocm/hooks/useOpenshiftVersions.tsx +1 -15
- package/lib/ocm/hooks/useSupportLevelsAPI.ts +65 -5
- package/lib/ocm/hooks/useUISettings.ts +71 -0
- package/lib/ocm/services/ClusterDetailsService.ts +3 -1
- package/lib/ocm/services/ClustersService.ts +0 -10
- package/lib/ocm/services/Day2ClusterService.ts +17 -3
- package/lib/ocm/services/UISettingsService.ts +17 -0
- package/lib/ocm/services/index.ts +1 -0
- package/lib/ocm/services/types.ts +5 -0
- package/package.json +3 -3
- package/build/@types/common/sevices/DateAndTime.d.ts.map +0 -1
- package/build/cjs/common/sevices/DateAndTime.js.map +0 -1
- /package/build/@types/common/{sevices → services}/DateAndTime.d.ts +0 -0
- /package/build/cjs/common/{sevices → services}/DateAndTime.js +0 -0
- /package/lib/common/{sevices → services}/DateAndTime.tsx +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrganizationsApi = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const axiosClient_1 = require("../axiosClient");
|
|
6
|
+
exports.OrganizationsApi = {
|
|
7
|
+
makeBaseURI() {
|
|
8
|
+
return '/api/accounts_mgmt/v1/organizations';
|
|
9
|
+
},
|
|
10
|
+
getOrganization(orgId, fetchCapabilities = true, fetchLabels = false) {
|
|
11
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
12
|
+
const response = yield (axiosClient_1.ocmClient === null || axiosClient_1.ocmClient === void 0 ? void 0 : axiosClient_1.ocmClient.get(`${exports.OrganizationsApi.makeBaseURI()}/${orgId}`, {
|
|
13
|
+
params: { fetchCapabilities, fetchLabels },
|
|
14
|
+
}));
|
|
15
|
+
return response === null || response === void 0 ? void 0 : response.data;
|
|
16
|
+
});
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=organizations-api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations-api.js","sourceRoot":"","sources":["../../../../../lib/common/api/accounts-management-service/organizations-api.ts"],"names":[],"mappings":";;;;AAAA,gDAAqD;AAGxC,QAAA,gBAAgB,GAAG;IAC9B,WAAW;QACT,OAAO,qCAAqC,CAAC;IAC/C,CAAC;IAEK,eAAe,CAAC,KAAa,EAAE,iBAAiB,GAAG,IAAI,EAAE,WAAW,GAAG,KAAK;;YAChF,MAAM,QAAQ,GAAG,MAAM,CAAA,uBAAM,aAAN,uBAAM,uBAAN,uBAAM,CAAE,GAAG,CAAe,GAAG,wBAAgB,CAAC,WAAW,EAAE,IAAI,KAAK,EAAE,EAAE;gBAC7F,MAAM,EAAE,EAAE,iBAAiB,EAAE,WAAW,EAAE;aAC3C,CAAC,CAAA,CAAC;YACH,OAAO,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,CAAC;QACxB,CAAC;KAAA;CACF,CAAC"}
|
|
@@ -5,11 +5,14 @@ const NewFeatureSupportLevelsAPI = {
|
|
|
5
5
|
makeBaseURI() {
|
|
6
6
|
return `/v2/support-levels`;
|
|
7
7
|
},
|
|
8
|
-
featuresSupportLevel(openshiftVersion, cpuArchitecture) {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
featuresSupportLevel(openshiftVersion, cpuArchitecture, platformType) {
|
|
9
|
+
return axiosClient_1.clientWithoutCaseConverter.get(`${NewFeatureSupportLevelsAPI.makeBaseURI()}/features`, {
|
|
10
|
+
params: {
|
|
11
|
+
openshift_version: openshiftVersion,
|
|
12
|
+
cpu_architecture: cpuArchitecture,
|
|
13
|
+
platform_type: platformType,
|
|
14
|
+
},
|
|
15
|
+
});
|
|
13
16
|
},
|
|
14
17
|
architecturesSupportLevel(openshiftVersion) {
|
|
15
18
|
let queryParams = '?';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewFeatureSupportLevelsAPI.js","sourceRoot":"","sources":["../../../../../lib/common/api/assisted-service/NewFeatureSupportLevelsAPI.ts"],"names":[],"mappings":";;AAAA,uDAAmE;AAMnE,MAAM,0BAA0B,GAAG;IACjC,WAAW;QACT,OAAO,oBAAoB,CAAC;IAC9B,CAAC;IAED,oBAAoB,CAAC,gBAAwB,EAAE,eAAwB
|
|
1
|
+
{"version":3,"file":"NewFeatureSupportLevelsAPI.js","sourceRoot":"","sources":["../../../../../lib/common/api/assisted-service/NewFeatureSupportLevelsAPI.ts"],"names":[],"mappings":";;AAAA,uDAAmE;AAMnE,MAAM,0BAA0B,GAAG;IACjC,WAAW;QACT,OAAO,oBAAoB,CAAC;IAC9B,CAAC;IAED,oBAAoB,CAAC,gBAAwB,EAAE,eAAwB,EAAE,YAAqB;QAC5F,OAAO,wCAA0B,CAAC,GAAG,CACnC,GAAG,0BAA0B,CAAC,WAAW,EAAE,WAAW,EACtD;YACE,MAAM,EAAE;gBACN,iBAAiB,EAAE,gBAAgB;gBACnC,gBAAgB,EAAE,eAAe;gBACjC,aAAa,EAAE,YAAY;aAC5B;SACF,CACF,CAAC;IACJ,CAAC;IAED,yBAAyB,CAAC,gBAAwB;QAChD,IAAI,WAAW,GAAG,GAAG,CAAC;QACtB,WAAW,IAAI,gBAAgB,CAAC,CAAC,CAAC,qBAAqB,gBAAgB,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;QAChF,OAAO,wCAA0B,CAAC,GAAG,CACnC,GAAG,0BAA0B,CAAC,WAAW,EAAE,iBAAiB,WAAW,EAAE,CAC1E,CAAC;IACJ,CAAC;CACF,CAAC;AAEF,kBAAe,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const axiosClient_1 = require("../../api/axiosClient");
|
|
4
|
+
const config = {
|
|
5
|
+
headers: {
|
|
6
|
+
'Content-Type': 'application/json',
|
|
7
|
+
},
|
|
8
|
+
};
|
|
9
|
+
const UISettingsAPI = {
|
|
10
|
+
makeBaseURI(clusterId) {
|
|
11
|
+
return `/v2/clusters/${clusterId ? clusterId : ''}/ui-settings`;
|
|
12
|
+
},
|
|
13
|
+
get(clusterId) {
|
|
14
|
+
return axiosClient_1.clientWithoutCaseConverter.get(UISettingsAPI.makeBaseURI(clusterId));
|
|
15
|
+
},
|
|
16
|
+
put(clusterId, data) {
|
|
17
|
+
return axiosClient_1.clientWithoutCaseConverter.put(UISettingsAPI.makeBaseURI(clusterId), data, config);
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
exports.default = UISettingsAPI;
|
|
21
|
+
//# sourceMappingURL=UISettingsAPI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UISettingsAPI.js","sourceRoot":"","sources":["../../../../../lib/common/api/assisted-service/UISettingsAPI.ts"],"names":[],"mappings":";;AAAA,uDAA6E;AAG7E,MAAM,MAAM,GAAG;IACb,OAAO,EAAE;QACP,cAAc,EAAE,kBAAkB;KACnC;CACF,CAAC;AAEF,MAAM,aAAa,GAAG;IACpB,WAAW,CAAC,SAAwB;QAClC,OAAO,gBAAgB,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC;IAClE,CAAC;IAED,GAAG,CAAC,SAAwB;QAC1B,OAAO,wCAAM,CAAC,GAAG,CAAS,aAAa,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC;IAClE,CAAC;IAED,GAAG,CAAC,SAAwB,EAAE,IAAY;QACxC,OAAO,wCAAM,CAAC,GAAG,CAAS,aAAa,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;IAChF,CAAC;CACF,CAAC;AAEF,kBAAe,aAAa,CAAC"}
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.NewFeatureSupportLevelsAPI = exports.EventsAPI = exports.InfraEnvsAPI = exports.HostsAPI = exports.ClustersAPI = exports.ComponentVersionsAPI = exports.SupportedOpenshiftVersionsAPI = exports.ManagedDomainsAPI = void 0;
|
|
6
|
+
exports.UISettingsAPI = exports.NewFeatureSupportLevelsAPI = exports.EventsAPI = exports.InfraEnvsAPI = exports.HostsAPI = exports.ClustersAPI = exports.ComponentVersionsAPI = exports.SupportedOpenshiftVersionsAPI = exports.ManagedDomainsAPI = void 0;
|
|
7
7
|
var ManagedDomainsAPI_1 = require("./ManagedDomainsAPI");
|
|
8
8
|
Object.defineProperty(exports, "ManagedDomainsAPI", { enumerable: true, get: function () { return __importDefault(ManagedDomainsAPI_1).default; } });
|
|
9
9
|
var SupportedOpenshiftVersionsAPI_1 = require("./SupportedOpenshiftVersionsAPI");
|
|
@@ -20,4 +20,6 @@ var EventsAPI_1 = require("./EventsAPI");
|
|
|
20
20
|
Object.defineProperty(exports, "EventsAPI", { enumerable: true, get: function () { return __importDefault(EventsAPI_1).default; } });
|
|
21
21
|
var NewFeatureSupportLevelsAPI_1 = require("./NewFeatureSupportLevelsAPI");
|
|
22
22
|
Object.defineProperty(exports, "NewFeatureSupportLevelsAPI", { enumerable: true, get: function () { return __importDefault(NewFeatureSupportLevelsAPI_1).default; } });
|
|
23
|
+
var UISettingsAPI_1 = require("./UISettingsAPI");
|
|
24
|
+
Object.defineProperty(exports, "UISettingsAPI", { enumerable: true, get: function () { return __importDefault(UISettingsAPI_1).default; } });
|
|
23
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/common/api/assisted-service/index.ts"],"names":[],"mappings":";;;;;;AAAA,yDAAmE;AAA1D,uIAAA,OAAO,OAAqB;AACrC,iFAA2F;AAAlF,+JAAA,OAAO,OAAiC;AACjD,+DAAyE;AAAhE,6IAAA,OAAO,OAAwB;AACxC,6CAAuD;AAA9C,2HAAA,OAAO,OAAe;AAC/B,uCAAiD;AAAxC,qHAAA,OAAO,OAAY;AAC5B,+CAAyD;AAAhD,6HAAA,OAAO,OAAgB;AAChC,yCAAmD;AAA1C,uHAAA,OAAO,OAAa;AAC7B,2EAAqF;AAA5E,yJAAA,OAAO,OAA8B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/common/api/assisted-service/index.ts"],"names":[],"mappings":";;;;;;AAAA,yDAAmE;AAA1D,uIAAA,OAAO,OAAqB;AACrC,iFAA2F;AAAlF,+JAAA,OAAO,OAAiC;AACjD,+DAAyE;AAAhE,6IAAA,OAAO,OAAwB;AACxC,6CAAuD;AAA9C,2HAAA,OAAO,OAAe;AAC/B,uCAAiD;AAAxC,qHAAA,OAAO,OAAY;AAC5B,+CAAyD;AAAhD,6HAAA,OAAO,OAAgB;AAChC,yCAAmD;AAA1C,uHAAA,OAAO,OAAa;AAC7B,2EAAqF;AAA5E,yJAAA,OAAO,OAA8B;AAC9C,iDAA2D;AAAlD,+HAAA,OAAO,OAAiB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuthorizationApi = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const axiosClient_1 = require("../axiosClient");
|
|
6
|
+
exports.AuthorizationApi = {
|
|
7
|
+
makeBaseURI() {
|
|
8
|
+
return '/api/authorizations/v1/';
|
|
9
|
+
},
|
|
10
|
+
selfFeatureReview(featureId) {
|
|
11
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
12
|
+
const response = yield (axiosClient_1.ocmClient === null || axiosClient_1.ocmClient === void 0 ? void 0 : axiosClient_1.ocmClient.post(`${exports.AuthorizationApi.makeBaseURI()}/self_feature_review`, { feature: featureId }));
|
|
13
|
+
return response === null || response === void 0 ? void 0 : response.data;
|
|
14
|
+
});
|
|
15
|
+
},
|
|
16
|
+
selfAccessReview(params) {
|
|
17
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
18
|
+
const response = yield (axiosClient_1.ocmClient === null || axiosClient_1.ocmClient === void 0 ? void 0 : axiosClient_1.ocmClient.post(`${exports.AuthorizationApi.makeBaseURI()}/self_access_review`, params));
|
|
19
|
+
return response === null || response === void 0 ? void 0 : response.data;
|
|
20
|
+
});
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=all-apis.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"all-apis.js","sourceRoot":"","sources":["../../../../../lib/common/api/authorization-service/all-apis.ts"],"names":[],"mappings":";;;;AAAA,gDAAqD;AAOxC,QAAA,gBAAgB,GAAG;IAC9B,WAAW;QACT,OAAO,yBAAyB,CAAC;IACnC,CAAC;IAEK,iBAAiB,CAAC,SAAiB;;YACvC,MAAM,QAAQ,GAAG,MAAM,CAAA,uBAAM,aAAN,uBAAM,uBAAN,uBAAM,CAAE,IAAI,CACjC,GAAG,wBAAgB,CAAC,WAAW,EAAE,sBAAsB,EACvD,EAAE,OAAO,EAAE,SAAS,EAAE,CACvB,CAAA,CAAC;YACF,OAAO,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,CAAC;QACxB,CAAC;KAAA;IAEK,gBAAgB,CAAC,MAAwB;;YAC7C,MAAM,QAAQ,GAAG,MAAM,CAAA,uBAAM,aAAN,uBAAM,uBAAN,uBAAM,CAAE,IAAI,CACjC,GAAG,wBAAgB,CAAC,WAAW,EAAE,qBAAqB,EACtD,MAAM,CACP,CAAA,CAAC;YACF,OAAO,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,CAAC;QACxB,CAAC;KAAA;CACF,CAAC"}
|
|
@@ -13,10 +13,10 @@ const UploadSSH_1 = tslib_1.__importDefault(require("./UploadSSH"));
|
|
|
13
13
|
const DiscoveryImageTypeControlGroup_1 = tslib_1.__importDefault(require("./DiscoveryImageTypeControlGroup"));
|
|
14
14
|
const constants_1 = require("../../config/constants");
|
|
15
15
|
const use_translation_wrapper_1 = require("../../hooks/use-translation-wrapper");
|
|
16
|
-
const StaticIPInfo = () => {
|
|
16
|
+
const StaticIPInfo = ({ docVersion }) => {
|
|
17
17
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
18
18
|
return (react_1.default.createElement(react_core_1.Alert, { title: t('ai:To use static network configuration, follow the steps listed in the documentation.'), isInline: true, variant: "info" },
|
|
19
|
-
react_1.default.createElement(react_core_1.Button, { variant: "link", icon: react_1.default.createElement(react_icons_1.ExternalLinkAltIcon, null), iconPosition: "right", isInline: true, onClick: () => window.open(constants_1.
|
|
19
|
+
react_1.default.createElement(react_core_1.Button, { variant: "link", icon: react_1.default.createElement(react_icons_1.ExternalLinkAltIcon, null), iconPosition: "right", isInline: true, onClick: () => window.open((0, constants_1.getOCPStaticIPDocLink)(docVersion), '_blank', 'noopener') }, t('ai:View documentation'))));
|
|
20
20
|
};
|
|
21
21
|
exports.StaticIPInfo = StaticIPInfo;
|
|
22
22
|
const getValidationSchema = (allowEmpty) => Yup.lazy((values) => Yup.object().shape({
|
|
@@ -25,7 +25,7 @@ const getValidationSchema = (allowEmpty) => Yup.lazy((values) => Yup.object().sh
|
|
|
25
25
|
httpsProxy: (0, ui_1.httpProxyValidationSchema)({ values, pairValueName: 'httpProxy', allowEmpty }),
|
|
26
26
|
noProxy: ui_1.noProxyValidationSchema,
|
|
27
27
|
}));
|
|
28
|
-
const DiscoveryImageConfigForm = ({ handleSubmit, onCancel, sshPublicKey, httpProxy, httpsProxy, noProxy, imageType, hideDiscoveryImageType, hasDHCP, isIPXE, allowEmpty, }) => {
|
|
28
|
+
const DiscoveryImageConfigForm = ({ handleSubmit, onCancel, sshPublicKey, httpProxy, httpsProxy, noProxy, imageType, hideDiscoveryImageType, hasDHCP, isIPXE, allowEmpty, docVersion, }) => {
|
|
29
29
|
const initialValues = {
|
|
30
30
|
sshPublicKey: sshPublicKey || '',
|
|
31
31
|
httpProxy: httpProxy || '',
|
|
@@ -44,7 +44,7 @@ const DiscoveryImageConfigForm = ({ handleSubmit, onCancel, sshPublicKey, httpPr
|
|
|
44
44
|
? t('ai:To add hosts to the cluster, generate iPXE script.')
|
|
45
45
|
: t('ai:To add hosts to the cluster, generate a Discovery ISO.') })),
|
|
46
46
|
hasDHCP === false && (react_1.default.createElement(react_core_1.StackItem, null,
|
|
47
|
-
react_1.default.createElement(exports.StaticIPInfo,
|
|
47
|
+
react_1.default.createElement(exports.StaticIPInfo, { docVersion: docVersion }))),
|
|
48
48
|
react_1.default.createElement(react_core_1.StackItem, null,
|
|
49
49
|
react_1.default.createElement(react_core_1.Form, null,
|
|
50
50
|
react_1.default.createElement(ui_1.AlertFormikError, { status: status }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiscoveryImageConfigForm.js","sourceRoot":"","sources":["../../../../../lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,iDAA2B;AAC3B,uDASgC;AAChC,yDAA8D;AAC9D,mCAA+C;AAM/C,sDAKuC;AAEvC,wEAAwC;AACxC,oEAAoC;AACpC,8GAA8E;AAC9E,
|
|
1
|
+
{"version":3,"file":"DiscoveryImageConfigForm.js","sourceRoot":"","sources":["../../../../../lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC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C,sBAAsB,IAAI,8BAAC,wCAA8B,OAAG;4BAC9D,8BAAC,mBAAS,OAAG;4BACb,8BAAC,qBAAW,OAAG,CACV,CACG,CACN,CACK;YACf,8BAAC,2BAAc;gBACb,8BAAC,mBAAM;gBACL,kEAAkE;;oBAAlE,kEAAkE;oBAClE,OAAO,EAAE,UAAU,EACnB,UAAU,EAAE,YAAY,EACxB,SAAS,EAAE,YAAY,IAEtB,YAAY;oBACX,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC;oBACpB,CAAC,CAAC,MAAM;wBACR,CAAC,CAAC,CAAC,CAAC,yBAAyB,CAAC;wBAC9B,CAAC,CAAC,CAAC,CAAC,2BAA2B,CAAC,CAC3B;gBACT,8BAAC,mBAAM,IAAC,GAAG,EAAC,QAAQ,EAAC,OAAO,EAAC,MAAM,EAAC,OAAO,EAAE,QAAQ,IAClD,CAAC,CAAC,WAAW,CAAC,CACR,CACM,CAChB,CACJ,CAAC;IACJ,CAAC,CACM,CACV,CAAC;AACJ,CAAC,CAAC;AApFW,QAAA,wBAAwB,4BAoFnC"}
|
|
@@ -62,7 +62,7 @@ const DiskEncryptionControlGroup = ({ values, isSNO = false, isDisabled = false,
|
|
|
62
62
|
react_1.default.createElement(SwitchField_1.default, { tooltipProps: tooltipProps, name: "enableDiskEncryptionOnWorkers", isDisabled: isDisabled, label: t('ai:Workers') }))),
|
|
63
63
|
react_1.default.createElement(ui_1.RenderIf, { condition: enableDiskEncryptionOnMasters || (enableDiskEncryptionOnWorkers && !isSNO) },
|
|
64
64
|
react_1.default.createElement(react_core_1.StackItem, null,
|
|
65
|
-
react_1.default.createElement(DiskEncryptionMode_1.DiskEncryptionMode, { diskEncryptionMode: diskEncryptionMode, isDisabled: isDisabled })))),
|
|
65
|
+
react_1.default.createElement(DiskEncryptionMode_1.DiskEncryptionMode, { diskEncryptionMode: diskEncryptionMode, isDisabled: isDisabled, tooltipProps: tooltipProps })))),
|
|
66
66
|
hasEnabledDiskEncryption && (react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.warning, "data-testid": "alert-tpmv2-bios", isInline: true, title: react_1.default.createElement(react_core_1.FlexItem, null,
|
|
67
67
|
diskEncryptionMode === 'tpmv2' && (react_1.default.createElement(react_1.default.Fragment, null, "To use this encryption method, enable TPMv2 encryption in the BIOS of each selected host.")),
|
|
68
68
|
diskEncryptionMode === 'tang' && (react_1.default.createElement(react_1.default.Fragment, null, "The use of Tang encryption mode to encrypt your disks is only supported for bare metal or vSphere installations on user-provisioned infrastructure."))) }))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiskEncryptionControlGroup.js","sourceRoot":"","sources":["../../../../../../lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,8EAA2C;AAC3C,uDAAoG;AACpG,sFAAsD;AACtD,6DAA0D;AAC1D,iCAAoC;AAEpC,mCAA0C;AAE1C,oFAAwE;AAExE,MAAM,oBAAoB,GAAG,CAAC,WAAyB,EAAW,EAAE;IAClE,IAAI,CAAC,WAAW,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;QAC5C,OAAO,KAAK,CAAC;KACd;IAED,MAAM,WAAW,GAAG;QAClB,GAAG,EAAE,EAAE;QACP,UAAU,EAAE,EAAE;KACf,CAAC;IACF,OAAO,CACL,WAAW,CAAC,IAAI,CACd,CAAC,MAAoC,EAAE,EAAE,CACvC,CAAC,IAAA,oBAAO,EAAC,MAAM,EAAE,WAAW,CAAC,IAAI,CAAC,IAAA,oBAAO,EAAC,MAAM,EAAE,EAAE,CAAC,CACxD,KAAK,SAAS,CAChB,CAAC;AACJ,CAAC,CAAC;AAQF,MAAM,0BAA0B,GAAG,CAAC,EAClC,MAAM,EACN,KAAK,GAAG,KAAK,EACb,UAAU,GAAG,KAAK,GACc,EAAE,EAAE;IACpC,MAAM,EACJ,6BAA6B,EAC7B,6BAA6B,EAC7B,kBAAkB,EA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S;YACd,8BAAC,sBAAS;gBACR,8BAAC,qBAAW,IACV,YAAY,EAAE,YAAY,EAC1B,IAAI,EAAC,+BAA+B,EACpC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,wBAAwB,CAAC,EAC/E,UAAU,EAAE,UAAU,GACtB,CACQ;YACZ,8BAAC,aAAQ,IAAC,SAAS,EAAE,CAAC,KAAK;gBACzB,8BAAC,sBAAS;oBACR,8BAAC,qBAAW,IACV,YAAY,EAAE,YAAY,EAC1B,IAAI,EAAC,+BAA+B,EACpC,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,GACtB,CACQ,CACH;YACX,8BAAC,aAAQ,IACP,SAAS,EAAE,6BAA6B,IAAI,CAAC,6BAA6B,IAAI,CAAC,KAAK,CAAC;gBAErF,8BAAC,sBAAS;oBACR,8BAAC,uCAAkB,
|
|
1
|
+
{"version":3,"file":"DiskEncryptionControlGroup.js","sourceRoot":"","sources":["../../../../../../lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,8EAA2C;AAC3C,uDAAoG;AACpG,sFAAsD;AACtD,6DAA0D;AAC1D,iCAAoC;AAEpC,mCAA0C;AAE1C,oFAAwE;AAExE,MAAM,oBAAoB,GAAG,CAAC,WAAyB,EAAW,EAAE;IAClE,IAAI,CAAC,WAAW,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;QAC5C,OAAO,KAAK,CAAC;KACd;IAED,MAAM,WAAW,GAAG;QAClB,GAAG,EAAE,EAAE;QACP,UAAU,EAAE,EAAE;KACf,CAAC;IACF,OAAO,CACL,WAAW,CAAC,IAAI,CACd,CAAC,MAAoC,EAAE,EAAE,CACvC,CAAC,IAAA,oBAAO,EAAC,MAAM,EAAE,WAAW,CAAC,IAAI,CAAC,IAAA,oBAA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AAC,CAAC;AAEF,kBAAe,0BAA0B,CAAC"}
|
package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js
CHANGED
|
@@ -36,22 +36,24 @@ const DiskEncryptionModeTang = () => {
|
|
|
36
36
|
" ",
|
|
37
37
|
react_1.default.createElement(react_icons_1.ExternalLinkAltIcon, null))) })));
|
|
38
38
|
};
|
|
39
|
-
const DiskEncryptionMode = ({ diskEncryptionMode, isDisabled }) => {
|
|
39
|
+
const DiskEncryptionMode = ({ diskEncryptionMode, isDisabled, tooltipProps, }) => {
|
|
40
40
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
41
41
|
return (react_1.default.createElement(react_core_1.Stack, null,
|
|
42
42
|
react_1.default.createElement(react_core_1.StackItem, null,
|
|
43
43
|
react_1.default.createElement(react_core_1.Flex, null,
|
|
44
44
|
react_1.default.createElement(react_core_1.FlexItem, { spacer: { default: 'spacer3xl' } },
|
|
45
|
-
react_1.default.createElement(
|
|
45
|
+
react_1.default.createElement(react_core_1.Tooltip, Object.assign({}, tooltipProps),
|
|
46
|
+
react_1.default.createElement(formik_1.RadioField, { isDisabled: isDisabled, name: "diskEncryptionMode", label: react_1.default.createElement(DiskEncryptionModeTPMv2, null), id: "TPMV2-button", value: "tpmv2" }))),
|
|
46
47
|
react_1.default.createElement(react_core_1.FlexItem, { spacer: { default: 'spacer3xl' } },
|
|
47
|
-
react_1.default.createElement(
|
|
48
|
+
react_1.default.createElement(react_core_1.Tooltip, Object.assign({}, tooltipProps),
|
|
49
|
+
react_1.default.createElement(formik_1.RadioField, { isDisabled: isDisabled, name: "diskEncryptionMode", label: react_1.default.createElement(DiskEncryptionModeTang, null), id: "tang-button", value: "tang" }))))),
|
|
48
50
|
diskEncryptionMode === 'tang' && (react_1.default.createElement(react_core_1.Stack, null,
|
|
49
51
|
"\u00A0",
|
|
50
52
|
react_1.default.createElement(react_core_1.StackItem, null,
|
|
51
53
|
react_1.default.createElement(react_core_1.TextContent, null,
|
|
52
54
|
react_1.default.createElement(react_core_1.Text, { component: react_core_1.TextVariants.h6 }, t('ai:Tang servers')))),
|
|
53
55
|
"\u00A0",
|
|
54
|
-
react_1.default.createElement(TangServers_1.TangServers, { isDisabled: isDisabled })))));
|
|
56
|
+
react_1.default.createElement(TangServers_1.TangServers, { isDisabled: isDisabled, tooltipProps: tooltipProps })))));
|
|
55
57
|
};
|
|
56
58
|
exports.DiskEncryptionMode = DiskEncryptionMode;
|
|
57
59
|
//# sourceMappingURL=DiskEncryptionMode.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiskEncryptionMode.js","sourceRoot":"","sources":["../../../../../../lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,yDAA8D;AAC9D,
|
|
1
|
+
{"version":3,"file":"DiskEncryptionMode.js","sourceRoot":"","sources":["../../../../../../lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,yDAA8D;AAC9D,uDAUgC;AAChC,4CAAsE;AACtE,+EAA+C;AAC/C,4CAA6C;AAC7C,+CAA4C;AAE5C,oFAAwE;AAExE,MAAM,uBAAuB,GAAG,GAAG,EAAE;IACnC,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,OAAO,CACL;;QACS,GAAG;QACV,8BAAC,qBAAW,IACV,SAAS,EAAE,GAAG,EACd,QAAQ,EAAC,OAAO,EAChB,WAAW,EACT;gBACG,CAAC,CACA,sFAAsF,CACvF;;gBAED,qCAAG,IAAI,EAAE,4CAAmC,EAAE,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB;oBACpF,CAAC,CAAC,eAAe,CAAC;;oBAAE,8BAAC,iCAAmB,OAAG,CAC1C,CACF,GAEN,CACD,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM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AAkB,KAAK,MAAM,IAAI,CAChC,8BAAC,kBAAK;;YAEJ,8BAAC,sBAAS;gBACR,8BAAC,wBAAW;oBACV,8BAAC,iBAAI,IAAC,SAAS,EAAE,yBAAY,CAAC,EAAE,IAAG,CAAC,CAAC,iBAAiB,CAAC,CAAQ,CACnD,CACJ;;YAEZ,8BAAC,yBAAW,IAAC,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,GAAI,CAC7D,CACT,CACK,CACT,CAAC;AACJ,CAAC,CAAC;AAhDW,QAAA,kBAAkB,sBAgD7B"}
|
package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.js
CHANGED
|
@@ -8,16 +8,18 @@ const react_core_1 = require("@patternfly/react-core");
|
|
|
8
8
|
const ui_1 = require("../../ui");
|
|
9
9
|
const formik_2 = require("../../ui/formik");
|
|
10
10
|
const use_translation_wrapper_1 = require("../../../hooks/use-translation-wrapper");
|
|
11
|
-
const TangServers = ({ isDisabled = false }) => {
|
|
11
|
+
const TangServers = ({ isDisabled = false, tooltipProps, }) => {
|
|
12
12
|
const { values } = (0, formik_1.useFormikContext)();
|
|
13
13
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
14
14
|
return (react_1.default.createElement(formik_1.FieldArray, { name: "diskEncryptionTangServers" }, ({ remove, push }) => (react_1.default.createElement(react_core_1.Stack, { hasGutter: true },
|
|
15
15
|
values.diskEncryptionTangServers.map((tang, index) => (react_1.default.createElement(react_core_1.StackItem, { key: index },
|
|
16
16
|
react_1.default.createElement(formik_2.RemovableField, { hideRemoveButton: index === 0 || isDisabled, onRemove: () => remove(index) },
|
|
17
17
|
react_1.default.createElement("div", null,
|
|
18
|
-
react_1.default.createElement(
|
|
18
|
+
react_1.default.createElement(react_core_1.Tooltip, Object.assign({}, tooltipProps),
|
|
19
|
+
react_1.default.createElement(ui_1.InputField, { type: react_core_1.TextInputTypes.url, name: `diskEncryptionTangServers.${index}.url`, helperText: `Must start with "http://" or "https://". Optionally, end with ":<port>"`, label: "Server URL", isRequired: true, isDisabled: isDisabled })),
|
|
19
20
|
"\u2009",
|
|
20
|
-
react_1.default.createElement(
|
|
21
|
+
react_1.default.createElement(react_core_1.Tooltip, Object.assign({}, tooltipProps),
|
|
22
|
+
react_1.default.createElement(ui_1.InputField, { type: react_core_1.TextInputTypes.text, name: `diskEncryptionTangServers.${index}.thumbprint`, label: "Server Thumbprint", isRequired: true, isDisabled: isDisabled })))),
|
|
21
23
|
' '))),
|
|
22
24
|
!isDisabled && (react_1.default.createElement(react_core_1.StackItem, null,
|
|
23
25
|
react_1.default.createElement(formik_2.AddButton, { onAdd: () => push({ url: '', thumbprint: '' }), isInline: true }, t('ai:Add another Tang server'))))))));
|
package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TangServers.js","sourceRoot":"","sources":["../../../../../../lib/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,mCAAsD;AACtD,
|
|
1
|
+
{"version":3,"file":"TangServers.js","sourceRoot":"","sources":["../../../../../../lib/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,mCAAsD;AACtD,uDAAiG;AAEjG,iCAAsC;AACtC,4CAA4D;AAC5D,oFAAwE;AAEjE,MAAM,WAAW,GAAG,CAAC,EAC1B,UAAU,GAAG,KAAK,EAClB,YAAY,GAIb,EAAE,EAAE;IACH,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,yBAAgB,GAAwB,CAAC;IAC5D,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,OAAO,CACL,8BAAC,mBAAU,IAAC,IAAI,EAAC,2BAA2B,IACzC,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CACrB,8BAAC,kBAAK,IAAC,SAAS;QACb,MAAM,CAAC,yBAAyB,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACrD,8BAAC,sBAAS,IAAC,GAAG,EAAE,KAAK;YACnB,8BAAC,uBAAc,IACb,gBAAgB,EAAE,KAAK,KAAK,CAAC,IAAI,UAAU,EAC3C,QAAQ,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC;gBAE7B;oBACE,8BAAC,oBAAO,oBAAK,YAAY;wBACvB,8BAAC,eAAU,IACT,IAAI,EAAE,2BAAc,CAAC,GAAG,EACxB,IAAI,EAAE,6BAA6B,KAAK,MAAM,EAC9C,UAAU,EAAE,yEAAyE,EACrF,KAAK,EAAC,YAAY,EAClB,UAAU,QACV,UAAU,EAAE,UAAU,GACtB,CACM;;oBAEV,8BAAC,oBAAO,oBAAK,YAAY;wBACvB,8BAAC,eAAU,IACT,IAAI,EAAE,2BAAc,CAAC,IAAI,EACzB,IAAI,EAAE,6BAA6B,KAAK,aAAa,EACrD,KAAK,EAAC,mBAAmB,EACzB,UAAU,QACV,UAAU,EAAE,UAAU,GACtB,CACM,CACN,CACS;YAAC,GAAG,CACX,CACb,CAAC;QAED,CAAC,UAAU,IAAI,CACd,8BAAC,sBAAS;YACR,8BAAC,kBAAS,IAAC,KAAK,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,EAAE,QAAQ,UAChE,CAAC,CAAC,4BAA4B,CAAC,CACtB,CACF,CACb,CACK,CACT,CACU,CACd,CAAC;AACJ,CAAC,CAAC;AAxDW,QAAA,WAAW,eAwDtB"}
|
|
@@ -8,7 +8,7 @@ const ui_1 = require("../ui");
|
|
|
8
8
|
const DiscoveryInstructions_1 = tslib_1.__importDefault(require("./DiscoveryInstructions"));
|
|
9
9
|
const DiscoveryImageConfigForm_1 = require("./DiscoveryImageConfigForm");
|
|
10
10
|
const use_translation_wrapper_1 = require("../../hooks/use-translation-wrapper");
|
|
11
|
-
const DownloadIso = ({ fileName = 'discovery.iso', downloadUrl, onClose, onReset, hasDHCP, isSNO = false, }) => {
|
|
11
|
+
const DownloadIso = ({ fileName = 'discovery.iso', downloadUrl, onClose, onReset, hasDHCP, isSNO = false, docVersion, }) => {
|
|
12
12
|
const wgetCommand = `wget -O ${fileName} '${downloadUrl || ''}'`;
|
|
13
13
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
14
14
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
@@ -20,7 +20,7 @@ const DownloadIso = ({ fileName = 'discovery.iso', downloadUrl, onClose, onReset
|
|
|
20
20
|
"\u00A0",
|
|
21
21
|
react_1.default.createElement(DiscoveryInstructions_1.default, { isSNO: isSNO })))),
|
|
22
22
|
hasDHCP === false && (react_1.default.createElement(react_core_1.StackItem, null,
|
|
23
|
-
react_1.default.createElement(DiscoveryImageConfigForm_1.StaticIPInfo,
|
|
23
|
+
react_1.default.createElement(DiscoveryImageConfigForm_1.StaticIPInfo, { docVersion: docVersion }))),
|
|
24
24
|
react_1.default.createElement(react_core_1.StackItem, null,
|
|
25
25
|
react_1.default.createElement(ui_1.DetailList, null,
|
|
26
26
|
react_1.default.createElement(ui_1.DetailItem, { title: t('ai:Discovery ISO URL'), value: react_1.default.createElement(react_core_1.ClipboardCopy, { isReadOnly: true, onCopy: (event) => (0, react_core_1.clipboardCopyFunc)(event, downloadUrl) }, downloadUrl) }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DownloadIso.js","sourceRoot":"","sources":["../../../../../lib/common/components/clusterConfiguration/DownloadIso.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,2CAAoC;AACpC,uDAUgC;AAChC,8BAA+C;AAC/C,4FAA4D;AAC5D,yEAA0D;AAC1D,iFAAqE;
|
|
1
|
+
{"version":3,"file":"DownloadIso.js","sourceRoot":"","sources":["../../../../../lib/common/components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IAAA,8BAAiB,EAAC,KAAK,EAAE,WAAW,CAAC,IAEvD,WAAW,CACE,GAElB,CACS;oBACb,8BAAC,kBAAK,IACJ,OAAO,EAAC,MAAM,EACd,QAAQ,QACR,KAAK,EAAE,GAAG,CAAC,CAAC,sDAAsD,CAAC,IAAI,CAAC,CACtE,wEAAwE,CACzE,EAAE,GACH,CACQ,CACN,CACK;QACf,8BAAC,2BAAc;YACb,8BAAC,mBAAM,IACL,OAAO,EAAE,0BAAa,CAAC,OAAO,EAC9B,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,IAAI,IAAA,mBAAM,EAAC,WAAW,CAAC,iBACrC,kBAAkB,EAC9B,UAAU,EAAE,CAAC,WAAW,IAEvB,CAAC,CAAC,2BAA2B,CAAC,CACxB;YACT,8BAAC,mBAAM,IAAC,OAAO,EAAE,0BAAa,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,iBAAc,eAAe,IACpF,CAAC,CAAC,UAAU,CAAC,CACP;YACR,OAAO,IAAI,CACV,8BAAC,mBAAM,IAAC,OAAO,EAAE,0BAAa,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,iBAAc,cAAc,IAC9E,CAAC,CAAC,2BAA2B,CAAC,CACxB,CACV,CACc,CAChB,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,WAAW,CAAC"}
|
|
@@ -38,7 +38,7 @@ const getOpenshiftVersionHelperText =
|
|
|
38
38
|
}
|
|
39
39
|
return null;
|
|
40
40
|
};
|
|
41
|
-
const OpenShiftVersionSelect = ({ versions }) => {
|
|
41
|
+
const OpenShiftVersionSelect = ({ versions, onChange }) => {
|
|
42
42
|
const selectOptions = react_1.default.useMemo(() => versions
|
|
43
43
|
.filter((version) => version.supportLevel !== 'maintenance')
|
|
44
44
|
.map((version) => ({
|
|
@@ -46,7 +46,7 @@ const OpenShiftVersionSelect = ({ versions }) => {
|
|
|
46
46
|
value: version.value,
|
|
47
47
|
})), [versions]);
|
|
48
48
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
49
|
-
return (react_1.default.createElement(ui_1.SelectField, { label: t('ai:OpenShift version'), name: "openshiftVersion", options: selectOptions, getHelperText: getOpenshiftVersionHelperText(versions), isDisabled: versions.length === 0, isRequired: true }));
|
|
49
|
+
return (react_1.default.createElement(ui_1.SelectField, { label: t('ai:OpenShift version'), name: "openshiftVersion", options: selectOptions, getHelperText: getOpenshiftVersionHelperText(versions), isDisabled: versions.length === 0, isRequired: true, onChange: onChange }));
|
|
50
50
|
};
|
|
51
51
|
exports.default = OpenShiftVersionSelect;
|
|
52
52
|
//# sourceMappingURL=OpenShiftVersionSelect.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenShiftVersionSelect.js","sourceRoot":"","sources":["../../../../../lib/common/components/clusterConfiguration/OpenShiftVersionSelect.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,yDAIiC;AACjC,2DAGkC;AAClC,yCAA+D;AAE/D,8BAAoC;AACpC,iFAAqE;
|
|
1
|
+
{"version":3,"file":"OpenShiftVersionSelect.js","sourceRoot":"","sources":["../../../../../lib/common/components/clusterConfiguration/OpenShiftVersionSelect.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,yDAIiC;AACjC,2DAGkC;AAClC,yCAA+D;AAE/D,8BAAoC;AACpC,iFAAqE;AAGrE,MAAM,2BAA2B,GAAG,GAAG,EAAE;IACvC,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,OAAO,CACL,qCAAG,IAAI,EAAE,wCAA+B,EAAE,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB;QAChF,CAAC,CAAC,eAAe,CAAC;;QAAE,8BAAC,iCAAmB,OAAG,CAC1C,CACL,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,6BAA6B;AACjC,8CAA8C;AAC9C,CAAC,QAAsC,EAAE,EAAE,CAAC,CAAC,oBAA4B,EAA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AAC;IAC/B,OAAO,CACL,8BAAC,gBAAW,IACV,KAAK,EAAE,CAAC,CAAC,sBAAsB,CAAC,EAChC,IAAI,EAAC,kBAAkB,EACvB,OAAO,EAAE,aAAa,EACtB,aAAa,EAAE,6BAA6B,CAAC,QAAQ,CAAC,EACtD,UAAU,EAAE,QAAQ,CAAC,MAAM,KAAK,CAAC,EACjC,UAAU,QACV,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const React = tslib_1.__importStar(require("react"));
|
|
5
|
+
const react_core_1 = require("@patternfly/react-core");
|
|
6
|
+
const ui_1 = require("../ui");
|
|
7
|
+
const use_translation_wrapper_1 = require("../../hooks/use-translation-wrapper");
|
|
8
|
+
const PostInstallAlert = ({ link }) => {
|
|
9
|
+
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
10
|
+
return (React.createElement(react_core_1.Alert, { variant: "warning", isInline: true, "data-testid": "alert-modify-platform-config", title: React.createElement("p", null,
|
|
11
|
+
t("ai:Modify your platform configuration to access your platform's features directly in OpenShift."),
|
|
12
|
+
' ',
|
|
13
|
+
React.createElement(ui_1.ExternalLink, { href: link }, t('ai:Learn more about configuration.'))) }));
|
|
14
|
+
};
|
|
15
|
+
exports.default = PostInstallAlert;
|
|
16
|
+
//# sourceMappingURL=PostInstallAlert.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PostInstallAlert.js","sourceRoot":"","sources":["../../../../../lib/common/components/clusterDetail/PostInstallAlert.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,uDAA+C;AAC/C,8BAAqC;AACrC,iFAAqE;AAMrE,MAAM,gBAAgB,GAAG,CAAC,EAAE,IAAI,EAAyB,EAAE,EAAE;IAC3D,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,OAAO,CACL,oBAAC,kBAAK,IACJ,OAAO,EAAC,SAAS,EACjB,QAAQ,uBACI,8BAA8B,EAC1C,KAAK,EACH;YACG,CAAC,CACA,iGAAiG,CAClG;YAAE,GAAG;YACN,oBAAC,iBAAY,IAAC,IAAI,EAAE,IAAI,IAAG,CAAC,CAAC,oCAAoC,CAAC,CAAgB,CAChF,GAEN,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,gBAAgB,CAAC"}
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.KubeconfigDownload = exports.ClusterCredentials = exports.ClusterProgress = exports.ClusterPropertiesList = void 0;
|
|
6
|
+
exports.PostInstallAlert = exports.KubeconfigDownload = exports.ClusterCredentials = exports.ClusterProgress = exports.ClusterPropertiesList = void 0;
|
|
7
7
|
var ClusterPropertiesList_1 = require("./ClusterPropertiesList");
|
|
8
8
|
Object.defineProperty(exports, "ClusterPropertiesList", { enumerable: true, get: function () { return __importDefault(ClusterPropertiesList_1).default; } });
|
|
9
9
|
var ClusterProgress_1 = require("./ClusterProgress");
|
|
@@ -12,4 +12,6 @@ var ClusterCredentials_1 = require("./ClusterCredentials");
|
|
|
12
12
|
Object.defineProperty(exports, "ClusterCredentials", { enumerable: true, get: function () { return __importDefault(ClusterCredentials_1).default; } });
|
|
13
13
|
var KubeconfigDownload_1 = require("./KubeconfigDownload");
|
|
14
14
|
Object.defineProperty(exports, "KubeconfigDownload", { enumerable: true, get: function () { return __importDefault(KubeconfigDownload_1).default; } });
|
|
15
|
+
var PostInstallAlert_1 = require("./PostInstallAlert");
|
|
16
|
+
Object.defineProperty(exports, "PostInstallAlert", { enumerable: true, get: function () { return __importDefault(PostInstallAlert_1).default; } });
|
|
15
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/common/components/clusterDetail/index.ts"],"names":[],"mappings":";;;;;;AAAA,iEAA2E;AAAlE,+IAAA,OAAO,OAAyB;AACzC,qDAA+D;AAAtD,mIAAA,OAAO,OAAmB;AACnC,2DAAqE;AAA5D,yIAAA,OAAO,OAAsB;AACtC,2DAAqE;AAA5D,yIAAA,OAAO,OAAsB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/common/components/clusterDetail/index.ts"],"names":[],"mappings":";;;;;;AAAA,iEAA2E;AAAlE,+IAAA,OAAO,OAAyB;AACzC,qDAA+D;AAAtD,mIAAA,OAAO,OAAmB;AACnC,2DAAqE;AAA5D,yIAAA,OAAO,OAAsB;AACtC,2DAAqE;AAA5D,yIAAA,OAAO,OAAsB;AACtC,uDAAiE;AAAxD,qIAAA,OAAO,OAAoB"}
|
|
@@ -56,6 +56,9 @@ const FailingValidation = ({ validation, clusterGroup, hostGroup, severity = 'da
|
|
|
56
56
|
"step.")));
|
|
57
57
|
}
|
|
58
58
|
else {
|
|
59
|
+
if (validation.id === 'platform-requirements-satisfied') {
|
|
60
|
+
fix = validation.message;
|
|
61
|
+
}
|
|
59
62
|
// console.error(
|
|
60
63
|
// 'Unknown validation ID detected in the ',
|
|
61
64
|
// clusterGroup || hostGroup,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReviewValidations.js","sourceRoot":"","sources":["../../../../../lib/common/components/clusterWizard/ReviewValidations.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,4EAA+C;AAC/C,uDAA+D;AAC/D,yDAIiC;AACjC,2DAIkC;AAalC,yCAA6E;AAC7E,oCAA2C;AAC3C,iEAA+D;AAO/D,iFAAqE;AACrE,iDAAsC;AACtC,uCAAo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eAAe,EAAE,eAAe,EAChC,yBAAyB,EAAE,yBAAyB,GACpD,CACH,CAAC;qBACH;iBACF;YACH,CAAC,CAAC;YAEF,MAAA,eAAe,CAAC,KAAK,CAAC,0CAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;QACxD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,MAAM,KAAK,GAAG,IAAA,mBAAY,EAAC,kBAAkB,CAAC,CAAC;IAC/C,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE;QACtB,OAAO,8BAAC,oBAAoB,OAAG,CAAC;KACjC;IAED,OAAO,8DAAG,KAAK,CAAI,CAAC;AACtB,CAAC,CAAC;AA5CW,QAAA,gBAAgB,oBA4C3B"}
|
|
1
|
+
{"version":3,"file":"ReviewValidations.js","sourceRoot":"","sources":["../../../../../lib/common/components/clusterWizard/ReviewValidations.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,4EAA+C;AAC/C,uDAA+D;AAC/D,yDAIiC;AACjC,2DAIkC;AAalC,yCAA6E;AAC7E,oCAA2C;AAC3C,iEAA+D;AAO/D,iFAAqE;AACrE,iDAAsC;AACtC,uCAAoD;AAEpD,MAAM,oBAAoB,GAAG,GAAG,EAAE;IAChC,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,OAAO,CACL;QACE,8BAAC,6BAAe,IAAC,KAAK,EAAE,uCAAO,CAAC,KAAK,GAAI;;QAAE,CAAC,CAAC,sBAAsB,CAAC,CACnE,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,EAAE,EAAE,EAAE,KAAK,EAAiC,EAAE,EAAE;IAC1E,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,OAAO,uCAAK,EAAE,EAAE,EAAE,IAAG,CAAC,CAAC,2CAA2C,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,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AI,CAAC;AACtB,CAAC,CAAC;AA5CW,QAAA,gBAAgB,oBA4C3B"}
|
|
@@ -58,7 +58,7 @@ const NicsTable = ({ interfaces, testId }) => {
|
|
|
58
58
|
react_1.default.createElement(react_table_1.TableHeader, null),
|
|
59
59
|
react_1.default.createElement(react_table_1.TableBody, { rowKey: nicsRowKey })));
|
|
60
60
|
};
|
|
61
|
-
const HostDetail = ({ host, canEditDisks, onDiskRole, AdditionalNTPSourcesDialogToggleComponent, hideNTPStatus = false, updateDiskSkipFormatting, }) => {
|
|
61
|
+
const HostDetail = ({ host, canEditDisks, onDiskRole, AdditionalNTPSourcesDialogToggleComponent, hideNTPStatus = false, updateDiskSkipFormatting, hideStorage, }) => {
|
|
62
62
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
63
63
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
64
64
|
const { id, validationsInfo: hostValidationsInfo } = host;
|
|
@@ -91,7 +91,7 @@ const HostDetail = ({ host, canEditDisks, onDiskRole, AdditionalNTPSourcesDialog
|
|
|
91
91
|
react_1.default.createElement(ui_1.DetailItem, { testId: 'boot-mode', title: t('ai:Boot mode'), value: ((_e = inventory.boot) === null || _e === void 0 ? void 0 : _e.currentBootMode) || constants_1.DASH }),
|
|
92
92
|
((_f = inventory.boot) === null || _f === void 0 ? void 0 : _f.pxeInterface) && (react_1.default.createElement(ui_1.DetailItem, { testId: 'pxe-interface', title: t('ai:PXE interface'), value: (_g = inventory.boot) === null || _g === void 0 ? void 0 : _g.pxeInterface })),
|
|
93
93
|
react_1.default.createElement(ui_1.DetailItem, { isHidden: hideNTPStatus, testId: 'ntp-status', title: t('ai:NTP status'), value: ntpValidationStatus })),
|
|
94
|
-
|
|
94
|
+
!hideStorage && (react_1.default.createElement(StorageDetail_1.default, { host: host, onDiskRole: onDiskRole, canEditDisks: canEditDisks, updateDiskSkipFormatting: updateDiskSkipFormatting })),
|
|
95
95
|
react_1.default.createElement(SectionTitle_1.default, { testId: 'nics-section', title: `${nics.length} NIC${nics.length === 1 ? '' : 's'}` }),
|
|
96
96
|
react_1.default.createElement(react_core_1.GridItem, null,
|
|
97
97
|
react_1.default.createElement(NicsTable, { interfaces: nics, testId: 'nics-table' }))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HostRowDetail.js","sourceRoot":"","sources":["../../../../../lib/common/components/hosts/HostRowDetail.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAwD;AACxD,yDAQiC;AAEjC,8BAAgE;AAIhE,4CAAoC;AACpC,iDAAwD;AACxD,mCAA4D;AAE5D,wFAAwD;AACxD,iFAAqE;AACrE,8EAA8C;AAE9C,qFAAqD;AACrD,uCAA2C;
|
|
1
|
+
{"version":3,"file":"HostRowDetail.js","sourceRoot":"","sources":["../../../../../lib/common/components/hosts/HostRowDetail.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAwD;AACxD,yDAQiC;AAEjC,8BAAgE;AAIhE,4CAAoC;AACpC,iDAAwD;AACxD,mCAA4D;AAE5D,wFAAwD;AACxD,iFAAqE;AACrE,8EAA8C;AAE9C,qFAAqD;AACrD,uCAA2C;AAwB3C,MAAM,aAAa,GAAiC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACpE,8BAAC,qBAAQ,IAAC,IAAI,EAAE,CAAC;IACf,8BAAC,eAAU,QAAE,QAAQ,CAAc,CAC1B,CACZ,CAAC;AAEF,MAAM,WAAW,GAAG;IAClB,EAAE,KAAK,EAAE,MAAM,EAAE;IACjB,EAAE,KAAK,EAAE,aAAa,EAAE;IACxB,EAAE,KAAK,EAAE,cAAc,EAAE;IACzB,EAAE,KAAK,EAAE,cAAc,EAAE;IACzB,EAAE,KAAK,EAAE,OAAO,EAAE;IAClB,6EAA6E;IAC7E,wBAAwB;CACzB,CAAC;AAEF,2BAA2B;AAC3B,MAAM,UAAU,GAAG,CAAC,EAAE,OAAO,EAAmB,EAAE,EAAE,WAAC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AQ,EAAE,aAAa,EACvB,MAAM,EAAE,YAAY,EACpB,KAAK,EAAE,CAAC,CAAC,eAAe,CAAC,EACzB,KAAK,EAAE,mBAAmB,GAC1B,CACY;QACf,CAAC,WAAW,IAAI,CACf,8BAAC,uBAAa,IACZ,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,YAAY,EAC1B,wBAAwB,EAAE,wBAAwB,GAClD,CACH;QACD,8BAAC,sBAAY,IACX,MAAM,EAAE,cAAc,EACtB,KAAK,EAAE,GAAG,IAAI,CAAC,MAAM,OAAO,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,EAAE,GAC1D;QACF,8BAAC,qBAAQ;YACP,8BAAC,SAAS,IAAC,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,GAAI,CAC5C,CACN,CACR,CAAC;AACJ,CAAC,CAAC;AAnHW,QAAA,UAAU,cAmHrB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
|
+
const react_core_1 = require("@patternfly/react-core");
|
|
6
|
+
const react_icons_1 = require("@patternfly/react-icons");
|
|
7
|
+
const react_tokens_1 = require("@patternfly/react-tokens");
|
|
8
|
+
const NoPermissionsError = () => (react_1.default.createElement(react_core_1.EmptyState, { id: "not-found" },
|
|
9
|
+
react_1.default.createElement(react_core_1.EmptyStateBody, null,
|
|
10
|
+
react_1.default.createElement(react_core_1.EmptyStateIcon, { icon: react_icons_1.ExclamationTriangleIcon, color: react_tokens_1.global_disabled_color_100.value }),
|
|
11
|
+
react_1.default.createElement(react_core_1.Title, { headingLevel: "h2" }, "Access permissions needed"),
|
|
12
|
+
react_1.default.createElement(react_core_1.EmptyStateBody, null, "To create a cluster using the Assisted Installer, ask your organization administrator to adjust your permissions."))));
|
|
13
|
+
exports.default = NoPermissionsError;
|
|
14
|
+
//# sourceMappingURL=NoPermissionsError.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoPermissionsError.js","sourceRoot":"","sources":["../../../../../lib/common/components/ui/NoPermissionsError.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,uDAA2F;AAC3F,yDAAkE;AAClE,2DAAkF;AAElF,MAAM,kBAAkB,GAAG,GAAG,EAAE,CAAC,CAC/B,8BAAC,uBAAU,IAAC,EAAE,EAAC,WAAW;IACxB,8BAAC,2BAAc;QACb,8BAAC,2BAAc,IAAC,IAAI,EAAE,qCAAuB,EAAE,KAAK,EAAE,wCAAS,CAAC,KAAK,GAAI;QACzE,8BAAC,kBAAK,IAAC,YAAY,EAAC,IAAI,gCAAkC;QAC1D,8BAAC,2BAAc,4HAGE,CACF,CACN,CACd,CAAC;AAEF,kBAAe,kBAAkB,CAAC"}
|
|
@@ -8,15 +8,15 @@ const utils_1 = require("./utils");
|
|
|
8
8
|
const HelperText_1 = tslib_1.__importDefault(require("./HelperText"));
|
|
9
9
|
const useFieldErrorMsg_1 = tslib_1.__importDefault(require("../../../hooks/useFieldErrorMsg"));
|
|
10
10
|
const InputField = React.forwardRef((_a, ref) => {
|
|
11
|
-
var { label, labelIcon, helperText, isRequired, onChange, validate, idPostfix, children, noDefaultOnChange,
|
|
12
|
-
const [field] = (0, formik_1.useField)({
|
|
11
|
+
var { label, labelIcon, helperText, isRequired, onChange, validate, idPostfix, children, noDefaultOnChange, description, labelInfo, showErrorMessage = true } = _a, props = tslib_1.__rest(_a, ["label", "labelIcon", "helperText", "isRequired", "onChange", "validate", "idPostfix", "children", "noDefaultOnChange", "description", "labelInfo", "showErrorMessage"]);
|
|
12
|
+
const [field, { error, touched }] = (0, formik_1.useField)({
|
|
13
13
|
name: props.name,
|
|
14
14
|
validate,
|
|
15
15
|
});
|
|
16
16
|
const fieldId = (0, utils_1.getFieldId)(props.name, 'input', idPostfix);
|
|
17
|
-
const errorMessage = (0, useFieldErrorMsg_1.default)({ name: props.name, inputError, validate });
|
|
17
|
+
const errorMessage = (0, useFieldErrorMsg_1.default)({ name: props.name, inputError: error, validate });
|
|
18
18
|
const fieldHelperText = React.createElement(HelperText_1.default, { fieldId: fieldId }, helperText);
|
|
19
|
-
const isValid = !
|
|
19
|
+
const isValid = !(touched && error);
|
|
20
20
|
return (React.createElement(react_core_1.Stack, { id: `form-control__${fieldId}` },
|
|
21
21
|
React.createElement(react_core_1.StackItem, null,
|
|
22
22
|
React.createElement(react_core_1.FormGroup, { fieldId: fieldId, label: label, helperText: fieldHelperText, helperTextInvalid: fieldHelperText, validated: isValid ? 'default' : 'error', isRequired: isRequired, labelIcon: labelIcon, labelInfo: labelInfo },
|
|
@@ -31,7 +31,7 @@ const InputField = React.forwardRef((_a, ref) => {
|
|
|
31
31
|
}
|
|
32
32
|
} }))),
|
|
33
33
|
React.createElement(react_core_1.SplitItem, null, children)))),
|
|
34
|
-
React.createElement(react_core_1.StackItem, null, showErrorMessage &&
|
|
34
|
+
React.createElement(react_core_1.StackItem, null, showErrorMessage && !isValid && (React.createElement(HelperText_1.default, { fieldId: fieldId, isError: true }, errorMessage)))));
|
|
35
35
|
});
|
|
36
36
|
exports.default = InputField;
|
|
37
37
|
//# sourceMappingURL=InputField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputField.js","sourceRoot":"","sources":["../../../../../../lib/common/components/ui/formik/InputField.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,mCAAkC;AAClC,uDAQgC;AAEhC,mCAAqC;AACrC,sEAAsC;AACtC,+FAA+D;AAE/D,MAAM,UAAU,GAGZ,KAAK,CAAC,UAAU,CAClB,CACE,
|
|
1
|
+
{"version":3,"file":"InputField.js","sourceRoot":"","sources":["../../../../../../lib/common/components/ui/formik/InputField.tsx"],"names":[],"mappings":";;;AAAA,qDA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AAS,EACpB,SAAS,EAAE,SAAS;gBAEnB,WAAW,IAAI,CACd,oBAAC,oBAAU,IAAC,OAAO,EAAE,OAAO;oBAC1B,oBAAC,2BAAc,IAAC,OAAO,EAAC,eAAe,IAAE,WAAW,CAAkB,CAC3D,CACd;gBACD,oBAAC,kBAAK;oBACJ,oBAAC,sBAAS,IAAC,QAAQ;wBACjB,oBAAC,sBAAS,oBACJ,KAAK,EACL,KAAK,IACT,GAAG,EAAE,GAAG,EACR,EAAE,EAAE,OAAO,EACX,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,EACxC,UAAU,EAAE,UAAU,sBACJ,GAAG,OAAO,SAAS,EACrC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;gCACzB,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE;oCACrB,CAAC,iBAAiB,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;oCAC5C,QAAQ,IAAI,QAAQ,CAAC,KAAK,CAAC,CAAC;iCAC7B;4BACH,CAAC,IACD,CACQ;oBACZ,oBAAC,sBAAS,QAAE,QAAQ,CAAa,CAC3B,CACE,CACF;QACZ,oBAAC,sBAAS,QACP,gBAAgB,IAAI,CAAC,OAAO,IAAI,CAC/B,oBAAC,oBAAU,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,UAClC,YAAY,CACF,CACd,CACS,CACN,CACT,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,kBAAe,UAAU,CAAC"}
|
|
@@ -38,7 +38,7 @@ const RichInputField = React.forwardRef((_a, ref) => {
|
|
|
38
38
|
validate,
|
|
39
39
|
});
|
|
40
40
|
const fieldId = (0, utils_1.getFieldId)(props.name, 'input', idPostfix);
|
|
41
|
-
const isValid = !touched
|
|
41
|
+
const isValid = !(touched && (error === null || error === void 0 ? void 0 : error.length));
|
|
42
42
|
return (React.createElement(react_core_1.FormGroup, { id: `form-control__${fieldId}`, fieldId: fieldId, label: label, helperText: typeof helperText === 'string' ? (helperText) : (React.createElement(HelperText_1.default, { fieldId: fieldId }, helperText)), validated: isValid ? 'default' : 'error', isRequired: isRequired, labelIcon: labelIcon },
|
|
43
43
|
React.createElement(react_core_1.InputGroup, { className: (0, classnames_1.default)('rich-input__group', { 'rich_input__group--invalid': !isValid }) },
|
|
44
44
|
React.createElement(react_core_1.TextInput, Object.assign({}, field, props, { ref: ref, id: fieldId, isRequired: isRequired, "aria-describedby": `${fieldId}-helper`, onChange: (value, event) => {
|
|
@@ -46,7 +46,10 @@ const RichInputField = React.forwardRef((_a, ref) => {
|
|
|
46
46
|
!noDefaultOnChange && field.onChange(event);
|
|
47
47
|
setTouched(true, false);
|
|
48
48
|
onChange && onChange(event);
|
|
49
|
-
}, className: "rich-input__text", onBlur: () =>
|
|
49
|
+
}, className: "rich-input__text", onBlur: () => {
|
|
50
|
+
setTouched(true, false);
|
|
51
|
+
setPopoverOpen(false);
|
|
52
|
+
} })),
|
|
50
53
|
React.createElement(react_core_1.Popover, { isVisible: popoverOpen, shouldClose: () => setPopoverOpen(false), shouldOpen: () => setPopoverOpen(true), "aria-label": "validation popover", position: react_core_1.PopoverPosition.top, bodyContent: React.createElement(exports.RichValidation, { value: value, error: error, richValidationMessages: richValidationMessages }) },
|
|
51
54
|
React.createElement(react_core_1.Button, { variant: "plain", "aria-label": "Validation" }, !isValid ? (React.createElement(react_icons_1.ExclamationCircleIcon, { color: global_danger_color_100_1.global_danger_color_100.value })) : value ? (React.createElement(react_icons_1.CheckCircleIcon, { color: global_palette_green_500_1.global_palette_green_500.value })) : (React.createElement(react_icons_1.InfoCircleIcon, { color: global_palette_blue_300_1.global_palette_blue_300.value })))))));
|
|
52
55
|
});
|