@openshift-assisted/ui-lib 2.7.11-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/LICENSE +202 -0
- package/README.md +99 -0
- package/dist/cim/index.css +2 -0
- package/dist/cim/index.css.map +7 -0
- package/dist/cim/index.js +25 -0
- package/dist/cim/index.js.map +7 -0
- package/dist/index.css +2 -0
- package/dist/index.css.map +7 -0
- package/dist/index.js +37 -0
- package/dist/index.js.map +7 -0
- package/dist/locales/en/translation.json +763 -0
- package/dist/locales/ja/translation.json +763 -0
- package/dist/locales/ko/translation.json +763 -0
- package/dist/locales/zh/translation.json +763 -0
- package/dist/ocm/index.css +2 -0
- package/dist/ocm/index.css.map +7 -0
- package/dist/ocm/index.js +34 -0
- package/dist/ocm/index.js.map +7 -0
- package/dist/src/cim/components/Agent/AgentStatus.d.ts +14 -0
- package/dist/src/cim/components/Agent/AgentTable.d.ts +12 -0
- package/dist/src/cim/components/Agent/AgentsSelectionHostCountAlerts.d.ts +8 -0
- package/dist/src/cim/components/Agent/AgentsSelectionHostCountLabelIcon.d.ts +2 -0
- package/dist/src/cim/components/Agent/AgentsSelectionTable.d.ts +16 -0
- package/dist/src/cim/components/Agent/AgentsSelectionUtils.d.ts +7 -0
- package/dist/src/cim/components/Agent/BMCForm.d.ts +4 -0
- package/dist/src/cim/components/Agent/BMHStatus.d.ts +7 -0
- package/dist/src/cim/components/Agent/MinimalHWRequirements.d.ts +15 -0
- package/dist/src/cim/components/Agent/NoAgentsAlert.d.ts +5 -0
- package/dist/src/cim/components/Agent/index.d.ts +3 -0
- package/dist/src/cim/components/Agent/tableUtils.d.ts +51 -0
- package/dist/src/cim/components/Agent/types.d.ts +36 -0
- package/dist/src/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.d.ts +23 -0
- package/dist/src/cim/components/ClusterDeployment/AdditionalNTPSourcesDialogToggle.d.ts +2 -0
- package/dist/src/cim/components/ClusterDeployment/ArmCheckbox.d.ts +7 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.d.ts +9 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentCredentials.d.ts +13 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentDetails.d.ts +13 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts +13 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.d.ts +19 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.d.ts +10 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.d.ts +4 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.d.ts +14 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts +4 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts +4 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.d.ts +10 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsSelection.d.ts +4 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionAdvanced.d.ts +15 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionBasic.d.ts +8 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentKubeconfigDownload.d.ts +10 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.d.ts +20 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.d.ts +4 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentProgress.d.ts +13 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.d.ts +13 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentValidationsOverview.d.ts +9 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts +4 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts +10 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.d.ts +12 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.d.ts +3 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.d.ts +6 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts +16 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterInstallationError.d.ts +7 -0
- package/dist/src/cim/components/ClusterDeployment/ClusterScaleUpAutoHostsSelection.d.ts +7 -0
- package/dist/src/cim/components/ClusterDeployment/LabelsSelector.d.ts +13 -0
- package/dist/src/cim/components/ClusterDeployment/LocationsSelector.d.ts +6 -0
- package/dist/src/cim/components/ClusterDeployment/LogsDownloadButton.d.ts +11 -0
- package/dist/src/cim/components/ClusterDeployment/NetworkConfiguration.d.ts +9 -0
- package/dist/src/cim/components/ClusterDeployment/ScaleUpForm.d.ts +9 -0
- package/dist/src/cim/components/ClusterDeployment/ShortCapacitySummary.d.ts +9 -0
- package/dist/src/cim/components/ClusterDeployment/constants.d.ts +14 -0
- package/dist/src/cim/components/ClusterDeployment/helpers.d.ts +23 -0
- package/dist/src/cim/components/ClusterDeployment/index.d.ts +17 -0
- package/dist/src/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts +5 -0
- package/dist/src/cim/components/ClusterDeployment/types.d.ts +174 -0
- package/dist/src/cim/components/ClusterDeployment/use-networking-formik.d.ts +39 -0
- package/dist/src/cim/components/ClusterDeployment/validationSchemas.d.ts +3 -0
- package/dist/src/cim/components/ClusterDeployment/wizardTransition.d.ts +10 -0
- package/dist/src/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.d.ts +21 -0
- package/dist/src/cim/components/Hypershift/DetailsPage/ConditionsTable.d.ts +11 -0
- package/dist/src/cim/components/Hypershift/DetailsPage/HostedClusterProgress.d.ts +7 -0
- package/dist/src/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.d.ts +8 -0
- package/dist/src/cim/components/Hypershift/DetailsPage/NodePoolStatus.d.ts +8 -0
- package/dist/src/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts +18 -0
- package/dist/src/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts +25 -0
- package/dist/src/cim/components/Hypershift/DetailsPage/index.d.ts +2 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.d.ts +4 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.d.ts +4 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/DetailsStep/index.d.ts +1 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts +35 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.d.ts +4 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.d.ts +4 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.d.ts +11 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/index.d.ts +1 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.d.ts +30 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.d.ts +5 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.d.ts +4 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/NetworkStep/index.d.ts +2 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/NetworkStep/types.d.ts +23 -0
- package/dist/src/cim/components/Hypershift/HostedClusterWizard/index.d.ts +3 -0
- package/dist/src/cim/components/Hypershift/forms/NodePoolAgentsForm.d.ts +10 -0
- package/dist/src/cim/components/Hypershift/hooks/useSupportedOCPVersions.d.ts +3 -0
- package/dist/src/cim/components/Hypershift/hooks/useTemptiflySync.d.ts +6 -0
- package/dist/src/cim/components/Hypershift/index.d.ts +4 -0
- package/dist/src/cim/components/Hypershift/modals/AddNodePoolModal.d.ts +12 -0
- package/dist/src/cim/components/Hypershift/modals/ManageHostsModal.d.ts +16 -0
- package/dist/src/cim/components/Hypershift/modals/NodePoolForm.d.ts +18 -0
- package/dist/src/cim/components/Hypershift/modals/RemoveNodePoolModal.d.ts +8 -0
- package/dist/src/cim/components/Hypershift/types.d.ts +195 -0
- package/dist/src/cim/components/Hypershift/utils/index.d.ts +3 -0
- package/dist/src/cim/components/Hypershift/utils/labels.d.ts +10 -0
- package/dist/src/cim/components/Hypershift/utils/nodepool.d.ts +3 -0
- package/dist/src/cim/components/Hypershift/utils/status.d.ts +10 -0
- package/dist/src/cim/components/InfraEnv/AddHostDropdown.d.ts +4 -0
- package/dist/src/cim/components/InfraEnv/AgentAlerts.d.ts +9 -0
- package/dist/src/cim/components/InfraEnv/EnvironmentDetails.d.ts +16 -0
- package/dist/src/cim/components/InfraEnv/EnvironmentErrors.d.ts +9 -0
- package/dist/src/cim/components/InfraEnv/InfraEnvAgentTable.d.ts +4 -0
- package/dist/src/cim/components/InfraEnv/InfraEnvFormPage.d.ts +31 -0
- package/dist/src/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.d.ts +8 -0
- package/dist/src/cim/components/InfraEnv/InfraTableToolbar.d.ts +16 -0
- package/dist/src/cim/components/InfraEnv/index.d.ts +8 -0
- package/dist/src/cim/components/InfraEnv/types.d.ts +12 -0
- package/dist/src/cim/components/InfraEnv/utils.d.ts +13 -0
- package/dist/src/cim/components/YamlPreview/YamlPreview.d.ts +8 -0
- package/dist/src/cim/components/YamlPreview/index.d.ts +2 -0
- package/dist/src/cim/components/YamlPreview/useYAMLPreview.d.ts +14 -0
- package/dist/src/cim/components/common/InfoAndTroubleshootingNotification.d.ts +7 -0
- package/dist/src/cim/components/common/ResourceAlerts.d.ts +7 -0
- package/dist/src/cim/components/common/SpecSyncErrAlert.d.ts +5 -0
- package/dist/src/cim/components/common/ValidationsRunningAlert.d.ts +2 -0
- package/dist/src/cim/components/common/constants.d.ts +10 -0
- package/dist/src/cim/components/common/index.d.ts +2 -0
- package/dist/src/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.d.ts +8 -0
- package/dist/src/cim/components/featureSupportLevels/featureStateUtils.d.ts +4 -0
- package/dist/src/cim/components/featureSupportLevels/index.d.ts +1 -0
- package/dist/src/cim/components/helpers/agentClusterInstall.d.ts +3 -0
- package/dist/src/cim/components/helpers/agentStatus.d.ts +3 -0
- package/dist/src/cim/components/helpers/agents.d.ts +15 -0
- package/dist/src/cim/components/helpers/clusterDeployment.d.ts +38 -0
- package/dist/src/cim/components/helpers/conditions.d.ts +9 -0
- package/dist/src/cim/components/helpers/index.d.ts +11 -0
- package/dist/src/cim/components/helpers/labels.d.ts +3 -0
- package/dist/src/cim/components/helpers/network.d.ts +6 -0
- package/dist/src/cim/components/helpers/proxy.d.ts +1 -0
- package/dist/src/cim/components/helpers/status.d.ts +26 -0
- package/dist/src/cim/components/helpers/storage.d.ts +1 -0
- package/dist/src/cim/components/helpers/toAssisted.d.ts +12 -0
- package/dist/src/cim/components/helpers/units.d.ts +50 -0
- package/dist/src/cim/components/helpers/versions.d.ts +7 -0
- package/dist/src/cim/components/index.d.ts +8 -0
- package/dist/src/cim/components/modals/AddBmcHostModal.d.ts +4 -0
- package/dist/src/cim/components/modals/AddBmcHostYamlForm.d.ts +5 -0
- package/dist/src/cim/components/modals/AddBmcHostYamlModal.d.ts +4 -0
- package/dist/src/cim/components/modals/AddHostModal.d.ts +4 -0
- package/dist/src/cim/components/modals/CimConfiguration/CimConfigDisconnectedAlert.d.ts +4 -0
- package/dist/src/cim/components/modals/CimConfiguration/CimConfigProgressAlert.d.ts +4 -0
- package/dist/src/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts +4 -0
- package/dist/src/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts +4 -0
- package/dist/src/cim/components/modals/CimConfiguration/CimIsMissingAlert.d.ts +2 -0
- package/dist/src/cim/components/modals/CimConfiguration/CimStorageMissingAlert.d.ts +5 -0
- package/dist/src/cim/components/modals/CimConfiguration/constants.d.ts +4 -0
- package/dist/src/cim/components/modals/CimConfiguration/index.d.ts +6 -0
- package/dist/src/cim/components/modals/CimConfiguration/persist.d.ts +23 -0
- package/dist/src/cim/components/modals/CimConfiguration/types.d.ts +43 -0
- package/dist/src/cim/components/modals/CimConfiguration/utils.d.ts +15 -0
- package/dist/src/cim/components/modals/EditAgentModal.d.ts +4 -0
- package/dist/src/cim/components/modals/EditBMHModal.d.ts +4 -0
- package/dist/src/cim/components/modals/EditNtpSourcesModal.d.ts +11 -0
- package/dist/src/cim/components/modals/EditPullSecretModal.d.ts +19 -0
- package/dist/src/cim/components/modals/EditSSHKeyModal.d.ts +13 -0
- package/dist/src/cim/components/modals/MassApproveAction.d.ts +8 -0
- package/dist/src/cim/components/modals/MassApproveAgentModal.d.ts +10 -0
- package/dist/src/cim/components/modals/MassDeleteAgentModal.d.ts +13 -0
- package/dist/src/cim/components/modals/ScaleUpModal.d.ts +13 -0
- package/dist/src/cim/components/modals/constants.d.ts +63 -0
- package/dist/src/cim/components/modals/index.d.ts +10 -0
- package/dist/src/cim/components/modals/types.d.ts +45 -0
- package/dist/src/cim/components/modals/utils.d.ts +28 -0
- package/dist/src/cim/config/constants.d.ts +9 -0
- package/dist/src/cim/index.d.ts +13 -0
- package/dist/src/cim/types/fromOCP/index.d.ts +1 -0
- package/dist/src/cim/types/fromOCP/k8sTypes.d.ts +46 -0
- package/dist/src/cim/types/index.d.ts +4 -0
- package/dist/src/cim/types/k8s/agent-cluster-install.d.ts +68 -0
- package/dist/src/cim/types/k8s/agent-service-config.d.ts +23 -0
- package/dist/src/cim/types/k8s/agent.d.ts +48 -0
- package/dist/src/cim/types/k8s/bare-metal-host.d.ts +31 -0
- package/dist/src/cim/types/k8s/cluster-deployment.d.ts +41 -0
- package/dist/src/cim/types/k8s/cluster-image-set.d.ts +6 -0
- package/dist/src/cim/types/k8s/cluster-version.d.ts +45 -0
- package/dist/src/cim/types/k8s/index.d.ts +12 -0
- package/dist/src/cim/types/k8s/infra-env-k8s-resource.d.ts +36 -0
- package/dist/src/cim/types/k8s/infrastructure.d.ts +22 -0
- package/dist/src/cim/types/k8s/nm-state.d.ts +10 -0
- package/dist/src/cim/types/k8s/shared.d.ts +13 -0
- package/dist/src/cim/types/k8s/storage-class.d.ts +8 -0
- package/dist/src/cim/types/metal3.d.ts +86 -0
- package/dist/src/cim/types/resources.d.ts +44 -0
- package/dist/src/cim/utils.d.ts +2 -0
- package/dist/src/common/api/index.d.ts +2 -0
- package/dist/src/common/api/types.d.ts +2241 -0
- package/dist/src/common/api/utils.d.ts +2 -0
- package/dist/src/common/components/AddHosts/AddHostsContext.d.ts +9 -0
- package/dist/src/common/components/AddHosts/index.d.ts +1 -0
- package/dist/src/common/components/AlertsContextProvider.d.ts +10 -0
- package/dist/src/common/components/ErrorHandling/ErrorMonitorContext.d.ts +12 -0
- package/dist/src/common/components/ErrorHandling/WithErrorBoundary.d.ts +5 -0
- package/dist/src/common/components/clusterConfiguration/AdvancedNetworkFields.d.ts +7 -0
- package/dist/src/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts +16 -0
- package/dist/src/common/components/clusterConfiguration/DiscoveryImageCpuArchitectureControlGroup.d.ts +8 -0
- package/dist/src/common/components/clusterConfiguration/DiscoveryImageTypeControlGroup.d.ts +2 -0
- package/dist/src/common/components/clusterConfiguration/DiscoveryInstructions.d.ts +6 -0
- package/dist/src/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.d.ts +13 -0
- package/dist/src/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.d.ts +8 -0
- package/dist/src/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.d.ts +6 -0
- package/dist/src/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionValues.d.ts +11 -0
- package/dist/src/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.d.ts +3 -0
- package/dist/src/common/components/clusterConfiguration/DownloadIso.d.ts +10 -0
- package/dist/src/common/components/clusterConfiguration/DownloadIsoModal.d.ts +7 -0
- package/dist/src/common/components/clusterConfiguration/FormatDiskWarning.d.ts +5 -0
- package/dist/src/common/components/clusterConfiguration/OpenShiftVersionSelect.d.ts +7 -0
- package/dist/src/common/components/clusterConfiguration/ProxyFields.d.ts +5 -0
- package/dist/src/common/components/clusterConfiguration/SNOControlGroup.d.ts +8 -0
- package/dist/src/common/components/clusterConfiguration/SNODisclaimer.d.ts +8 -0
- package/dist/src/common/components/clusterConfiguration/SecurityFields.d.ts +12 -0
- package/dist/src/common/components/clusterConfiguration/UploadSSH.d.ts +6 -0
- package/dist/src/common/components/clusterConfiguration/index.d.ts +13 -0
- package/dist/src/common/components/clusterConfiguration/utils.d.ts +20 -0
- package/dist/src/common/components/clusterDetail/ClusterCredentials.d.ts +12 -0
- package/dist/src/common/components/clusterDetail/ClusterProgress.d.ts +9 -0
- package/dist/src/common/components/clusterDetail/ClusterProgressItem.d.ts +6 -0
- package/dist/src/common/components/clusterDetail/ClusterProgressItems.d.ts +11 -0
- package/dist/src/common/components/clusterDetail/ClusterPropertiesList.d.ts +11 -0
- package/dist/src/common/components/clusterDetail/ConsoleModal.d.ts +20 -0
- package/dist/src/common/components/clusterDetail/FinalizingProgress.d.ts +14 -0
- package/dist/src/common/components/clusterDetail/KubeconfigDownload.d.ts +10 -0
- package/dist/src/common/components/clusterDetail/OperatorsProgressItem.d.ts +13 -0
- package/dist/src/common/components/clusterDetail/ProgressBarTexts.d.ts +7 -0
- package/dist/src/common/components/clusterDetail/index.d.ts +4 -0
- package/dist/src/common/components/clusterWizard/ClusterWizardStep.d.ts +8 -0
- package/dist/src/common/components/clusterWizard/ClusterWizardStepHeader.d.ts +3 -0
- package/dist/src/common/components/clusterWizard/ClusterWizardStepValidationsAlert.d.ts +15 -0
- package/dist/src/common/components/clusterWizard/ReviewHostsInventory.d.ts +6 -0
- package/dist/src/common/components/clusterWizard/ReviewValidations.d.ts +3 -0
- package/dist/src/common/components/clusterWizard/clusterDetailsValidation.d.ts +24 -0
- package/dist/src/common/components/clusterWizard/index.d.ts +8 -0
- package/dist/src/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts +9 -0
- package/dist/src/common/components/clusterWizard/networkingSteps/ManagedNetworkingControlGroup.d.ts +5 -0
- package/dist/src/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.d.ts +5 -0
- package/dist/src/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.d.ts +4 -0
- package/dist/src/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts +8 -0
- package/dist/src/common/components/clusterWizard/networkingSteps/index.d.ts +8 -0
- package/dist/src/common/components/clusterWizard/types.d.ts +62 -0
- package/dist/src/common/components/clusterWizard/validationsInfoUtils.d.ts +35 -0
- package/dist/src/common/components/clusters/PullSecret.d.ts +7 -0
- package/dist/src/common/components/clusters/index.d.ts +1 -0
- package/dist/src/common/components/constants.d.ts +2 -0
- package/dist/src/common/components/featureSupportLevels/FeatureSupportLevelBadge.d.ts +8 -0
- package/dist/src/common/components/featureSupportLevels/FeatureSupportLevelContext.d.ts +15 -0
- package/dist/src/common/components/featureSupportLevels/index.d.ts +2 -0
- package/dist/src/common/components/featureSupportLevels/utils.d.ts +5 -0
- package/dist/src/common/components/fetching/EventListFetch.d.ts +3 -0
- package/dist/src/common/components/fetching/index.d.ts +1 -0
- package/dist/src/common/components/hosts/AITable.d.ts +51 -0
- package/dist/src/common/components/hosts/AdditionalNTPSourcesDialog.d.ts +12 -0
- package/dist/src/common/components/hosts/DiskLimitations.d.ts +7 -0
- package/dist/src/common/components/hosts/DiskRole.d.ts +14 -0
- package/dist/src/common/components/hosts/EditHostForm.d.ts +13 -0
- package/dist/src/common/components/hosts/EditHostModal.d.ts +15 -0
- package/dist/src/common/components/hosts/FormatDiskCheckbox.d.ts +16 -0
- package/dist/src/common/components/hosts/HostProgress.d.ts +5 -0
- package/dist/src/common/components/hosts/HostPropertyValidationPopover.d.ts +12 -0
- package/dist/src/common/components/hosts/HostRequirements.d.ts +15 -0
- package/dist/src/common/components/hosts/HostRowDetail.d.ts +13 -0
- package/dist/src/common/components/hosts/HostStatus.d.ts +4 -0
- package/dist/src/common/components/hosts/HostToolbarActions.d.ts +10 -0
- package/dist/src/common/components/hosts/HostValidationGroups.d.ts +20 -0
- package/dist/src/common/components/hosts/Hostname.d.ts +13 -0
- package/dist/src/common/components/hosts/HostsCount.d.ts +9 -0
- package/dist/src/common/components/hosts/HostsTable.d.ts +19 -0
- package/dist/src/common/components/hosts/HostsTableDetailContext.d.ts +11 -0
- package/dist/src/common/components/hosts/MassChangeHostnameModal.d.ts +14 -0
- package/dist/src/common/components/hosts/MassDeleteHostModal.d.ts +10 -0
- package/dist/src/common/components/hosts/NtpValidationStatus.d.ts +9 -0
- package/dist/src/common/components/hosts/OcpConsoleNodesSectionLink.d.ts +6 -0
- package/dist/src/common/components/hosts/RoleCell.d.ts +13 -0
- package/dist/src/common/components/hosts/RoleDropdown.d.ts +11 -0
- package/dist/src/common/components/hosts/TableToolbar.d.ts +18 -0
- package/dist/src/common/components/hosts/VMRebootConfigurationInfo.d.ts +3 -0
- package/dist/src/common/components/hosts/hardwareInfo.d.ts +19 -0
- package/dist/src/common/components/hosts/index.d.ts +16 -0
- package/dist/src/common/components/hosts/status.d.ts +3 -0
- package/dist/src/common/components/hosts/tableUtils.d.ts +22 -0
- package/dist/src/common/components/hosts/types.d.ts +72 -0
- package/dist/src/common/components/hosts/usePagination.d.ts +9 -0
- package/dist/src/common/components/hosts/utils.d.ts +36 -0
- package/dist/src/common/components/index.d.ts +11 -0
- package/dist/src/common/components/storage/DisksTable.d.ts +13 -0
- package/dist/src/common/components/storage/StorageDetail.d.ts +11 -0
- package/dist/src/common/components/storage/StorageTable.d.ts +11 -0
- package/dist/src/common/components/storage/StorageUtils.d.ts +6 -0
- package/dist/src/common/components/ui/Alerts.d.ts +5 -0
- package/dist/src/common/components/ui/BorderedIcon/BorderedIcon.d.ts +10 -0
- package/dist/src/common/components/ui/ClusterEventsList.d.ts +9 -0
- package/dist/src/common/components/ui/ClusterEventsToolbar.d.ts +12 -0
- package/dist/src/common/components/ui/ConfirmationModal.d.ts +13 -0
- package/dist/src/common/components/ui/DetailList.d.ts +21 -0
- package/dist/src/common/components/ui/EventsList.d.ts +8 -0
- package/dist/src/common/components/ui/ExternalLink.d.ts +8 -0
- package/dist/src/common/components/ui/GridGap.d.ts +7 -0
- package/dist/src/common/components/ui/ModalProgress.d.ts +10 -0
- package/dist/src/common/components/ui/OpenShiftVersionDropown.d.ts +17 -0
- package/dist/src/common/components/ui/PopoverIcon.d.ts +14 -0
- package/dist/src/common/components/ui/PreviewBadge.d.ts +14 -0
- package/dist/src/common/components/ui/PrismCode.d.ts +11 -0
- package/dist/src/common/components/ui/RenderIf.d.ts +6 -0
- package/dist/src/common/components/ui/SectionTitle.d.ts +6 -0
- package/dist/src/common/components/ui/SimpleDropdown.d.ts +15 -0
- package/dist/src/common/components/ui/StaticTextField.d.ts +23 -0
- package/dist/src/common/components/ui/Toolbar/ToolbarButton.d.ts +4 -0
- package/dist/src/common/components/ui/Toolbar/ToolbarProgress.d.ts +4 -0
- package/dist/src/common/components/ui/Toolbar/ToolbarSecondaryGroup.d.ts +3 -0
- package/dist/src/common/components/ui/Toolbar/ToolbarText.d.ts +4 -0
- package/dist/src/common/components/ui/Toolbar/index.d.ts +4 -0
- package/dist/src/common/components/ui/ViewClusterEventsButton.d.ts +8 -0
- package/dist/src/common/components/ui/WizardFooter.d.ts +22 -0
- package/dist/src/common/components/ui/WizardNavItem.d.ts +7 -0
- package/dist/src/common/components/ui/eventsModal.d.ts +29 -0
- package/dist/src/common/components/ui/formik/AddButton.d.ts +7 -0
- package/dist/src/common/components/ui/formik/AdditionalNTPSourcesField.d.ts +10 -0
- package/dist/src/common/components/ui/formik/CheckboxField.d.ts +4 -0
- package/dist/src/common/components/ui/formik/CodeField.d.ts +3 -0
- package/dist/src/common/components/ui/formik/FormikAutoSave.d.ts +7 -0
- package/dist/src/common/components/ui/formik/HelperText.d.ts +11 -0
- package/dist/src/common/components/ui/formik/InputField.d.ts +8 -0
- package/dist/src/common/components/ui/formik/LabelField.d.ts +13 -0
- package/dist/src/common/components/ui/formik/MultiSelectField.d.ts +4 -0
- package/dist/src/common/components/ui/formik/NumberInputField.d.ts +4 -0
- package/dist/src/common/components/ui/formik/PencilEditField.d.ts +8 -0
- package/dist/src/common/components/ui/formik/PullSecretField.d.ts +12 -0
- package/dist/src/common/components/ui/formik/RadioField.d.ts +3 -0
- package/dist/src/common/components/ui/formik/RadioFieldWithTooltip.d.ts +7 -0
- package/dist/src/common/components/ui/formik/RemovableField.d.ts +10 -0
- package/dist/src/common/components/ui/formik/RichInputField.d.ts +17 -0
- package/dist/src/common/components/ui/formik/SelectField.d.ts +4 -0
- package/dist/src/common/components/ui/formik/SingleNodeCheckbox.d.ts +8 -0
- package/dist/src/common/components/ui/formik/SwitchField.d.ts +4 -0
- package/dist/src/common/components/ui/formik/TextAreaField.d.ts +4 -0
- package/dist/src/common/components/ui/formik/TextAreaSecretField.d.ts +4 -0
- package/dist/src/common/components/ui/formik/UploadField.d.ts +4 -0
- package/dist/src/common/components/ui/formik/constants.d.ts +50 -0
- package/dist/src/common/components/ui/formik/index.d.ts +25 -0
- package/dist/src/common/components/ui/formik/types.d.ts +117 -0
- package/dist/src/common/components/ui/formik/utils.d.ts +24 -0
- package/dist/src/common/components/ui/formik/validationSchemas.d.ts +33 -0
- package/dist/src/common/components/ui/index.d.ts +23 -0
- package/dist/src/common/components/ui/table/index.d.ts +2 -0
- package/dist/src/common/components/ui/table/utils.d.ts +17 -0
- package/dist/src/common/components/ui/table/wrappable.d.ts +8 -0
- package/dist/src/common/components/ui/uiState/EmptyState.d.ts +11 -0
- package/dist/src/common/components/ui/uiState/ErrorState.d.ts +14 -0
- package/dist/src/common/components/ui/uiState/LoadingState.d.ts +8 -0
- package/dist/src/common/components/ui/uiState/index.d.ts +3 -0
- package/dist/src/common/components/ui/utils.d.ts +2 -0
- package/dist/src/common/config/constants.d.ts +204 -0
- package/dist/src/common/config/index.d.ts +1 -0
- package/dist/src/common/features/featureGate.d.ts +25 -0
- package/dist/src/common/features/index.d.ts +1 -0
- package/dist/src/common/hacks.d.ts +1 -0
- package/dist/src/common/hooks/index.d.ts +2 -0
- package/dist/src/common/hooks/use-translation-wrapper.d.ts +1 -0
- package/dist/src/common/hooks/useDeepCompareMemoize.d.ts +2 -0
- package/dist/src/common/hooks/useFieldErrorMsg.d.ts +8 -0
- package/dist/src/common/hooks/useFormikHelpers.d.ts +6 -0
- package/dist/src/common/hooks/useStateSafely.d.ts +3 -0
- package/dist/src/common/index.d.ts +10 -0
- package/dist/src/common/reducers/alertsSlice.d.ts +18 -0
- package/dist/src/common/reducers/dialogsSlice.d.ts +9 -0
- package/dist/src/common/reducers/index.d.ts +2 -0
- package/dist/src/common/selectors/clusterSelectors.d.ts +28 -0
- package/dist/src/common/selectors/index.d.ts +1 -0
- package/dist/src/common/sevices/DateAndTime.d.ts +2 -0
- package/dist/src/common/types/clusters.d.ts +53 -0
- package/dist/src/common/types/events.d.ts +22 -0
- package/dist/src/common/types/featureSupportLevel.d.ts +23 -0
- package/dist/src/common/types/hosts.d.ts +19 -0
- package/dist/src/common/types/index.d.ts +16 -0
- package/dist/src/common/types/proxyFields.d.ts +7 -0
- package/dist/src/common/types/typescriptExtensions.d.ts +9 -0
- package/dist/src/common/types/versions.d.ts +10 -0
- package/dist/src/common/utils.d.ts +2 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/ocm/api/axiosClient.d.ts +6 -0
- package/dist/src/ocm/api/axiosExtensions.d.ts +2 -0
- package/dist/src/ocm/api/index.d.ts +2 -0
- package/dist/src/ocm/api/types.d.ts +5 -0
- package/dist/src/ocm/api/utils.d.ts +8 -0
- package/dist/src/ocm/components/AddHosts/AddHosts.d.ts +1 -0
- package/dist/src/ocm/components/AddHosts/InventoryAddHost.d.ts +5 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.d.ts +2 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2DiscoveryImageModalButton.d.ts +5 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2DownloadISO.d.ts +2 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2GenerateISO.d.ts +2 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2StaticIP.d.ts +2 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.d.ts +2 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2Wizard.d.ts +2 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2WizardContext.d.ts +21 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2WizardContextProvider.d.ts +8 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/Day2WizardNav.d.ts +2 -0
- package/dist/src/ocm/components/AddHosts/day2Wizard/constants.d.ts +6 -0
- package/dist/src/ocm/components/AddHosts/index.d.ts +2 -0
- package/dist/src/ocm/components/AddHosts/types.d.ts +46 -0
- package/dist/src/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.d.ts +3 -0
- package/dist/src/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.d.ts +2 -0
- package/dist/src/ocm/components/HostsClusterDetailTab/index.d.ts +2 -0
- package/dist/src/ocm/components/HostsClusterDetailTab/types.d.ts +6 -0
- package/dist/src/ocm/components/HostsClusterDetailTab/utils.d.ts +4 -0
- package/dist/src/ocm/components/Router.d.ts +8 -0
- package/dist/src/ocm/components/SentryErrorMonitorContextProvider.d.ts +2 -0
- package/dist/src/ocm/components/SingleCluster.d.ts +2 -0
- package/dist/src/ocm/components/clusterConfiguration/ArmCheckbox.d.ts +7 -0
- package/dist/src/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.d.ts +8 -0
- package/dist/src/ocm/components/clusterConfiguration/DiscoveryImageForm.d.ts +9 -0
- package/dist/src/ocm/components/clusterConfiguration/DiscoveryImageModal.d.ts +11 -0
- package/dist/src/ocm/components/clusterConfiguration/DiscoveryImageSummary.d.ts +11 -0
- package/dist/src/ocm/components/clusterConfiguration/HostInventory.d.ts +5 -0
- package/dist/src/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.d.ts +4 -0
- package/dist/src/ocm/components/clusterConfiguration/InformationAndAlerts.d.ts +5 -0
- package/dist/src/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts +13 -0
- package/dist/src/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts +7 -0
- package/dist/src/ocm/components/clusterConfiguration/ReviewCluster.d.ts +6 -0
- package/dist/src/ocm/components/clusterConfiguration/ReviewStep.d.ts +6 -0
- package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.d.ts +2 -0
- package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.d.ts +8 -0
- package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts +9 -0
- package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts +5 -0
- package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTable.d.ts +3 -0
- package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.d.ts +18 -0
- package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.d.ts +8 -0
- package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.d.ts +6 -0
- package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +4 -0
- package/dist/src/ocm/components/clusterConfiguration/operators/CnvCheckbox.d.ts +3 -0
- package/dist/src/ocm/components/clusterConfiguration/operators/CnvHostRequirements.d.ts +5 -0
- package/dist/src/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts +3 -0
- package/dist/src/ocm/components/clusterConfiguration/operators/LvmHostRequirements.d.ts +5 -0
- package/dist/src/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts +4 -0
- package/dist/src/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegration.d.ts +5 -0
- package/dist/src/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationVsphere.d.ts +2 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.d.ts +11 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.d.ts +11 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.d.ts +3 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.d.ts +5 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.d.ts +5 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWide.d.ts +3 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.d.ts +6 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.d.ts +13 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts +3 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.d.ts +19 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.d.ts +4 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/StaticIpViewRadioGroup.d.ts +8 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.d.ts +6 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.d.ts +3 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.d.ts +1 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.d.ts +3 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/components/propTypes.d.ts +28 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/dataTypes.d.ts +53 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/dummyData.d.ts +20 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/emptyData.d.ts +9 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/formDataFromInfraEnvField.d.ts +3 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.d.ts +4 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/fromInfraEnv.d.ts +13 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/machineNetwork.d.ts +2 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.d.ts +60 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.d.ts +16 -0
- package/dist/src/ocm/components/clusterConfiguration/staticIp/data/protocolVersion.d.ts +8 -0
- package/dist/src/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts +8 -0
- package/dist/src/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.d.ts +7 -0
- package/dist/src/ocm/components/clusterDetail/CancelInstallationModal.d.ts +3 -0
- package/dist/src/ocm/components/clusterDetail/ClusterDetail.d.ts +7 -0
- package/dist/src/ocm/components/clusterDetail/ClusterDetailStatusMessages.d.ts +8 -0
- package/dist/src/ocm/components/clusterDetail/ClusterDetailStatusVarieties.d.ts +18 -0
- package/dist/src/ocm/components/clusterDetail/ClusterDetailsButtonGroup.d.ts +7 -0
- package/dist/src/ocm/components/clusterDetail/ClusterInstallationProgressCard.d.ts +6 -0
- package/dist/src/ocm/components/clusterDetail/ClusterPollingErrorModal.d.ts +2 -0
- package/dist/src/ocm/components/clusterDetail/ClusterProperties.d.ts +7 -0
- package/dist/src/ocm/components/clusterDetail/OpenShiftVersionDetail.d.ts +5 -0
- package/dist/src/ocm/components/clusterDetail/ProgressBarAlerts.d.ts +15 -0
- package/dist/src/ocm/components/clusterDetail/ResetClusterModal.d.ts +3 -0
- package/dist/src/ocm/components/clusterDetail/getProgressBarAlerts.d.ts +3 -0
- package/dist/src/ocm/components/clusterDetail/index.d.ts +5 -0
- package/dist/src/ocm/components/clusterDetail/utils.d.ts +7 -0
- package/dist/src/ocm/components/clusterWizard/ClusterDetails.d.ts +8 -0
- package/dist/src/ocm/components/clusterWizard/ClusterDetailsForm.d.ts +17 -0
- package/dist/src/ocm/components/clusterWizard/ClusterPlatformIntegrationHint.d.ts +8 -0
- package/dist/src/ocm/components/clusterWizard/ClusterWizard.d.ts +8 -0
- package/dist/src/ocm/components/clusterWizard/ClusterWizardContext.d.ts +16 -0
- package/dist/src/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts +8 -0
- package/dist/src/ocm/components/clusterWizard/ClusterWizardFooter.d.ts +11 -0
- package/dist/src/ocm/components/clusterWizard/ClusterWizardNavigation.d.ts +5 -0
- package/dist/src/ocm/components/clusterWizard/HostDiscovery.d.ts +5 -0
- package/dist/src/ocm/components/clusterWizard/NewClusterWizard.d.ts +3 -0
- package/dist/src/ocm/components/clusterWizard/Operators.d.ts +6 -0
- package/dist/src/ocm/components/clusterWizard/OperatorsStep.d.ts +2 -0
- package/dist/src/ocm/components/clusterWizard/StaticIp.d.ts +7 -0
- package/dist/src/ocm/components/clusterWizard/Storage.d.ts +5 -0
- package/dist/src/ocm/components/clusterWizard/constants.d.ts +6 -0
- package/dist/src/ocm/components/clusterWizard/index.d.ts +1 -0
- package/dist/src/ocm/components/clusterWizard/wizardTransition.d.ts +19 -0
- package/dist/src/ocm/components/clusters/ClusterBreadcrumbs.d.ts +7 -0
- package/dist/src/ocm/components/clusters/ClusterLoading.d.ts +2 -0
- package/dist/src/ocm/components/clusters/ClusterPage.d.ts +7 -0
- package/dist/src/ocm/components/clusters/ClusterPageErrors.d.ts +2 -0
- package/dist/src/ocm/components/clusters/ClusterStatus.d.ts +15 -0
- package/dist/src/ocm/components/clusters/ClusterToolbar.d.ts +7 -0
- package/dist/src/ocm/components/clusters/Clusters.d.ts +4 -0
- package/dist/src/ocm/components/clusters/ClustersListToolbar.d.ts +12 -0
- package/dist/src/ocm/components/clusters/ClustersTable.d.ts +8 -0
- package/dist/src/ocm/components/clusters/DeleteClusterModal.d.ts +8 -0
- package/dist/src/ocm/components/clusters/NewClusterPage.d.ts +2 -0
- package/dist/src/ocm/components/clusters/clusterPolling.d.ts +17 -0
- package/dist/src/ocm/components/clusters/index.d.ts +5 -0
- package/dist/src/ocm/components/clusters/utils.d.ts +11 -0
- package/dist/src/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.d.ts +11 -0
- package/dist/src/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts +13 -0
- package/dist/src/ocm/components/featureSupportLevels/featureStateUtils.d.ts +6 -0
- package/dist/src/ocm/components/featureSupportLevels/index.d.ts +2 -0
- package/dist/src/ocm/components/fetching/fetchEvents.d.ts +2 -0
- package/dist/src/ocm/components/hosts/AdditionaNTPSourceDialogToggle.d.ts +1 -0
- package/dist/src/ocm/components/hosts/ClusterHostsTable.d.ts +9 -0
- package/dist/src/ocm/components/hosts/DeleteHostModal.d.ts +8 -0
- package/dist/src/ocm/components/hosts/HardwareStatus.d.ts +21 -0
- package/dist/src/ocm/components/hosts/HostRequirementsContent.d.ts +8 -0
- package/dist/src/ocm/components/hosts/HostsDiscoveryTable.d.ts +6 -0
- package/dist/src/ocm/components/hosts/HostsDiscoveryTroubleshootingInfoLinkWithModal.d.ts +5 -0
- package/dist/src/ocm/components/hosts/HostsStorageTable.d.ts +7 -0
- package/dist/src/ocm/components/hosts/HostsTableEmptyState.d.ts +5 -0
- package/dist/src/ocm/components/hosts/ModalDialogsContext.d.ts +53 -0
- package/dist/src/ocm/components/hosts/NetworkingStatus.d.ts +4 -0
- package/dist/src/ocm/components/hosts/OdfDisksManualFormattingHint.d.ts +2 -0
- package/dist/src/ocm/components/hosts/ResetHostModal.d.ts +9 -0
- package/dist/src/ocm/components/hosts/StorageAlerts.d.ts +5 -0
- package/dist/src/ocm/components/hosts/UpdateDay2ApiVipDialogToggle.d.ts +2 -0
- package/dist/src/ocm/components/hosts/UpdateDay2ApiVipForm.d.ts +11 -0
- package/dist/src/ocm/components/hosts/UpdateDay2ApiVipModal.d.ts +7 -0
- package/dist/src/ocm/components/hosts/use-hosts-table.d.ts +39 -0
- package/dist/src/ocm/components/hosts/utils.d.ts +4 -0
- package/dist/src/ocm/components/index.d.ts +7 -0
- package/dist/src/ocm/components/ui/AssistedUILibVersion.d.ts +2 -0
- package/dist/src/ocm/components/ui/InfoLinkWithModal.d.ts +11 -0
- package/dist/src/ocm/components/ui/OcmFormFields.d.ts +22 -0
- package/dist/src/ocm/components/ui/index.d.ts +1 -0
- package/dist/src/ocm/config/constants.d.ts +8 -0
- package/dist/src/ocm/config/index.d.ts +2 -0
- package/dist/src/ocm/config/routeBaseBath.d.ts +2 -0
- package/dist/src/ocm/hooks/index.d.ts +7 -0
- package/dist/src/ocm/hooks/useClusterPreflightRequirements.d.ts +7 -0
- package/dist/src/ocm/hooks/useClusterSupportedPlatforms.d.ts +10 -0
- package/dist/src/ocm/hooks/useInfraEnv.d.ts +7 -0
- package/dist/src/ocm/hooks/useInfraEnvId.d.ts +5 -0
- package/dist/src/ocm/hooks/useInfraEnvImageUrl.d.ts +9 -0
- package/dist/src/ocm/hooks/useManagedDomains.d.ts +2 -0
- package/dist/src/ocm/hooks/useOpenshiftVersions.d.ts +15 -0
- package/dist/src/ocm/hooks/usePullSecret.d.ts +1 -0
- package/dist/src/ocm/hooks/useSetClusterPermissions.d.ts +2 -0
- package/dist/src/ocm/hooks/useUsedClusterNames.d.ts +4 -0
- package/dist/src/ocm/index.d.ts +11 -0
- package/dist/src/ocm/reducers/clusters/clustersSlice.d.ts +25 -0
- package/dist/src/ocm/reducers/clusters/currentClusterSlice.d.ts +130 -0
- package/dist/src/ocm/reducers/clusters/index.d.ts +2 -0
- package/dist/src/ocm/selectors/clusters.d.ts +61 -0
- package/dist/src/ocm/selectors/currentCluster.d.ts +13 -0
- package/dist/src/ocm/selectors/index.d.ts +2 -0
- package/dist/src/ocm/sentry.d.ts +2 -0
- package/dist/src/ocm/services/ClusterDetailsService.d.ts +14 -0
- package/dist/src/ocm/services/ClustersService.d.ts +16 -0
- package/dist/src/ocm/services/CpuArchitectureService.d.ts +14 -0
- package/dist/src/ocm/services/Day2ClusterService.d.ts +87 -0
- package/dist/src/ocm/services/DiscoveryImageFormService.d.ts +9 -0
- package/dist/src/ocm/services/DiskEncryptionService.d.ts +6 -0
- package/dist/src/ocm/services/HostDiscoveryService.d.ts +6 -0
- package/dist/src/ocm/services/HostsService.d.ts +20 -0
- package/dist/src/ocm/services/InfraEnvIdsCacheService.d.ts +9 -0
- package/dist/src/ocm/services/InfraEnvsService.d.ts +13 -0
- package/dist/src/ocm/services/OperatorsService.d.ts +11 -0
- package/dist/src/ocm/services/apis/ClustersAPI.d.ts +35 -0
- package/dist/src/ocm/services/apis/ComponentVersionsAPI.d.ts +6 -0
- package/dist/src/ocm/services/apis/EventsAPI.d.ts +7 -0
- package/dist/src/ocm/services/apis/FeatureSupportLevelsAPI.d.ts +6 -0
- package/dist/src/ocm/services/apis/HostsAPI.d.ts +14 -0
- package/dist/src/ocm/services/apis/InfraEnvsAPI.d.ts +17 -0
- package/dist/src/ocm/services/apis/ManagedDomainsAPI.d.ts +6 -0
- package/dist/src/ocm/services/apis/SupportedOpenshiftVersionsAPI.d.ts +6 -0
- package/dist/src/ocm/services/apis/index.d.ts +8 -0
- package/dist/src/ocm/services/apis/types.d.ts +13 -0
- package/dist/src/ocm/services/index.d.ts +10 -0
- package/dist/src/ocm/services/types.d.ts +11 -0
- package/dist/src/ocm/store/index.d.ts +36 -0
- package/dist/src/ocm/store/slices/infraEnvs/slice.d.ts +3 -0
- package/dist/src/ocm/types.d.ts +5 -0
- package/package.json +148 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { TFunction } from 'i18next';
|
|
2
|
+
export declare const clusterNameValidationMessages: (t: TFunction) => {
|
|
3
|
+
INVALID_LENGTH_OCM: string;
|
|
4
|
+
INVALID_LENGTH_ACM: string;
|
|
5
|
+
INVALID_VALUE_OCM: string;
|
|
6
|
+
INVALID_VALUE_ACM: string;
|
|
7
|
+
INVALID_START_END: string;
|
|
8
|
+
NOT_UNIQUE: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const ocmClusterNameValidationMessages: (t: TFunction) => {
|
|
11
|
+
INVALID_LENGTH: string;
|
|
12
|
+
INVALID_VALUE: string;
|
|
13
|
+
INVALID_START_END: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const uniqueOcmClusterNameValidationMessages: (t: TFunction) => {
|
|
16
|
+
INVALID_LENGTH: string;
|
|
17
|
+
INVALID_VALUE: string;
|
|
18
|
+
INVALID_START_END: string;
|
|
19
|
+
NOT_UNIQUE: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const acmClusterNameValidationMessages: (t: TFunction) => {
|
|
22
|
+
INVALID_LENGTH: string;
|
|
23
|
+
INVALID_VALUE: string;
|
|
24
|
+
INVALID_START_END: string;
|
|
25
|
+
NOT_UNIQUE: string;
|
|
26
|
+
};
|
|
27
|
+
export declare const nameValidationMessages: (t: TFunction) => {
|
|
28
|
+
INVALID_LENGTH: string;
|
|
29
|
+
NOT_UNIQUE: string;
|
|
30
|
+
INVALID_VALUE: string;
|
|
31
|
+
INVALID_START_END: string;
|
|
32
|
+
INVALID_FORMAT: string;
|
|
33
|
+
};
|
|
34
|
+
export declare const hostnameValidationMessages: (t: TFunction) => {
|
|
35
|
+
LOCALHOST_ERR: string;
|
|
36
|
+
INVALID_LENGTH: string;
|
|
37
|
+
NOT_UNIQUE: string;
|
|
38
|
+
INVALID_VALUE: string;
|
|
39
|
+
INVALID_START_END: string;
|
|
40
|
+
INVALID_FORMAT: string;
|
|
41
|
+
};
|
|
42
|
+
export declare const locationValidationMessages: (t: TFunction) => {
|
|
43
|
+
INVALID_LENGTH: string;
|
|
44
|
+
INVALID_VALUE: string;
|
|
45
|
+
INVALID_START_END: string;
|
|
46
|
+
};
|
|
47
|
+
export declare const bmcAddressValidationMessages: (t: TFunction) => {
|
|
48
|
+
INVALID_VALUE: string;
|
|
49
|
+
};
|
|
50
|
+
export declare const FORBIDDEN_HOSTNAMES: string[];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export { default as InputField } from './InputField';
|
|
2
|
+
export { default as CheckboxField } from './CheckboxField';
|
|
3
|
+
export { default as TextAreaField } from './TextAreaField';
|
|
4
|
+
export { default as SelectField } from './SelectField';
|
|
5
|
+
export { default as MultiSelectField } from './MultiSelectField';
|
|
6
|
+
export { default as TextAreaSecretField } from './TextAreaSecretField';
|
|
7
|
+
export { default as UploadField } from './UploadField';
|
|
8
|
+
export { default as SwitchField } from './SwitchField';
|
|
9
|
+
export { default as HelperText } from './HelperText';
|
|
10
|
+
export { default as FormikAutoSave, useFormikAutoSave } from './FormikAutoSave';
|
|
11
|
+
export { default as PullSecretField } from './PullSecretField';
|
|
12
|
+
export { default as RadioField } from './RadioField';
|
|
13
|
+
export { default as SingleNodeCheckbox } from './SingleNodeCheckbox';
|
|
14
|
+
export { default as NumberInputField } from './NumberInputField';
|
|
15
|
+
export { default as CodeField } from './CodeField';
|
|
16
|
+
export { default as RichInputField } from './RichInputField';
|
|
17
|
+
export { default as AdditionalNTPSourcesField } from './AdditionalNTPSourcesField';
|
|
18
|
+
export { default as RemovableField } from './RemovableField';
|
|
19
|
+
export { default as AddButton } from './AddButton';
|
|
20
|
+
export { default as PencilEditField } from './PencilEditField';
|
|
21
|
+
export * from './utils';
|
|
22
|
+
export * from './PullSecretField';
|
|
23
|
+
export * from './validationSchemas';
|
|
24
|
+
export * from './LabelField';
|
|
25
|
+
export * from './constants';
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TextInputTypes, FormSelectOptionProps, SelectOptionProps, TooltipProps, RadioProps } from '@patternfly/react-core';
|
|
3
|
+
import { FieldValidator, FieldHelperProps } from 'formik';
|
|
4
|
+
import { DropzoneProps, DropFileEventHandler } from 'react-dropzone';
|
|
5
|
+
import { CodeEditorProps } from '@patternfly/react-code-editor';
|
|
6
|
+
import { Optional } from '../../../types/typescriptExtensions';
|
|
7
|
+
export interface FieldProps {
|
|
8
|
+
name: string;
|
|
9
|
+
label?: React.ReactNode;
|
|
10
|
+
labelIcon?: React.ReactElement;
|
|
11
|
+
helperText?: React.ReactNode;
|
|
12
|
+
isRequired?: boolean;
|
|
13
|
+
style?: React.CSSProperties;
|
|
14
|
+
isReadOnly?: boolean;
|
|
15
|
+
disableDeleteRow?: boolean;
|
|
16
|
+
disableAddRow?: boolean;
|
|
17
|
+
className?: string;
|
|
18
|
+
groupClassName?: string;
|
|
19
|
+
isDisabled?: boolean;
|
|
20
|
+
ref?: React.Ref<any>;
|
|
21
|
+
validate?: FieldValidator;
|
|
22
|
+
min?: number | string;
|
|
23
|
+
max?: number | string;
|
|
24
|
+
idPostfix?: string;
|
|
25
|
+
callFormikOnChange?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface SelectFieldProps extends FieldProps {
|
|
28
|
+
options: FormSelectOptionProps[];
|
|
29
|
+
onChange?: (event: React.FormEvent<HTMLSelectElement>) => void;
|
|
30
|
+
getHelperText?: (value: string) => React.ReactNode | undefined;
|
|
31
|
+
}
|
|
32
|
+
export declare type MultiSelectOption = SelectOptionProps & {
|
|
33
|
+
id: string;
|
|
34
|
+
displayName: string;
|
|
35
|
+
};
|
|
36
|
+
export interface MultiSelectFieldProps extends FieldProps {
|
|
37
|
+
options: MultiSelectOption[];
|
|
38
|
+
placeholderText?: string;
|
|
39
|
+
onChange?: (val: string[]) => void;
|
|
40
|
+
getHelperText?: (value: string) => React.ReactNode | undefined;
|
|
41
|
+
}
|
|
42
|
+
export interface SwitchFieldProps extends FieldProps {
|
|
43
|
+
onChangeCustomOverride?: (checked: boolean, event: React.FormEvent<HTMLInputElement>) => void;
|
|
44
|
+
onChange?: (checked: boolean, event: React.FormEvent<HTMLInputElement>) => void;
|
|
45
|
+
getHelperText?: (value: string) => string | undefined;
|
|
46
|
+
tooltipProps?: TooltipProps;
|
|
47
|
+
switchOuiaId?: string;
|
|
48
|
+
}
|
|
49
|
+
export interface InputFieldProps extends FieldProps {
|
|
50
|
+
type?: TextInputTypes;
|
|
51
|
+
placeholder?: string;
|
|
52
|
+
noDefaultOnChange?: boolean;
|
|
53
|
+
onChange?: (event: React.FormEvent<HTMLInputElement>) => void;
|
|
54
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
55
|
+
validate?: FieldValidator;
|
|
56
|
+
showErrorMessage?: boolean;
|
|
57
|
+
}
|
|
58
|
+
export interface NumberInputFieldProps extends FieldProps {
|
|
59
|
+
minValue?: number;
|
|
60
|
+
maxValue?: number;
|
|
61
|
+
minusBtnAriaLabel?: string;
|
|
62
|
+
plusBtnAriaLabel?: string;
|
|
63
|
+
unit?: string;
|
|
64
|
+
formatValue?: (newValue: number) => number;
|
|
65
|
+
onChange?: (value: number) => void;
|
|
66
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
67
|
+
validate?: FieldValidator;
|
|
68
|
+
}
|
|
69
|
+
export interface TextAreaFieldProps extends FieldProps {
|
|
70
|
+
getErrorText?: (error: string) => React.ReactNode | undefined;
|
|
71
|
+
placeholder?: string;
|
|
72
|
+
onChange?: (event: React.FormEvent<HTMLTextAreaElement>) => void;
|
|
73
|
+
onBlur?: (event: React.FormEvent<HTMLTextAreaElement>) => void;
|
|
74
|
+
spellCheck?: boolean;
|
|
75
|
+
rows?: number;
|
|
76
|
+
}
|
|
77
|
+
export interface UploadFieldProps extends FieldProps {
|
|
78
|
+
getErrorText?: (error: string) => React.ReactNode | undefined;
|
|
79
|
+
placeholder?: string;
|
|
80
|
+
onChange?: (event: React.FormEvent<HTMLTextAreaElement>) => void;
|
|
81
|
+
onBlur?: (event: React.FocusEvent<HTMLDivElement>) => void;
|
|
82
|
+
allowEdittingUploadedText?: boolean;
|
|
83
|
+
dropzoneProps?: Omit<DropzoneProps, 'onDropRejected'> & {
|
|
84
|
+
onDropRejected?: (helpers: FieldHelperProps<string>) => DropFileEventHandler;
|
|
85
|
+
};
|
|
86
|
+
transformValue?: (key: string) => void;
|
|
87
|
+
}
|
|
88
|
+
export interface TextAreaSecretProps extends TextAreaFieldProps {
|
|
89
|
+
isSet?: boolean;
|
|
90
|
+
isEdit: boolean;
|
|
91
|
+
helperTextHidden?: string;
|
|
92
|
+
onToggle: (isHidden: boolean) => void;
|
|
93
|
+
}
|
|
94
|
+
export interface CheckboxFieldProps extends FieldProps {
|
|
95
|
+
body?: React.ReactNode;
|
|
96
|
+
onChange?: (value: boolean, event: React.FormEvent<HTMLInputElement>) => void;
|
|
97
|
+
}
|
|
98
|
+
export interface SearchInputFieldProps extends InputFieldProps {
|
|
99
|
+
onSearch: (searchTerm: string) => void;
|
|
100
|
+
}
|
|
101
|
+
export interface DropdownFieldProps extends FieldProps {
|
|
102
|
+
items?: object;
|
|
103
|
+
selectedKey?: string;
|
|
104
|
+
title?: React.ReactNode;
|
|
105
|
+
fullWidth?: boolean;
|
|
106
|
+
disabled?: boolean;
|
|
107
|
+
onChange?: (value: string) => void;
|
|
108
|
+
}
|
|
109
|
+
export interface CodeFieldProps extends FieldProps {
|
|
110
|
+
language: CodeEditorProps['language'];
|
|
111
|
+
description?: React.ReactNode;
|
|
112
|
+
}
|
|
113
|
+
declare type RadioWithoutRef = Omit<RadioProps, 'ref'>;
|
|
114
|
+
export declare type RadioFieldProps = Optional<RadioWithoutRef, 'id'> & {
|
|
115
|
+
callFormikOnChange?: boolean;
|
|
116
|
+
};
|
|
117
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FormikErrors, FormikTouched } from 'formik';
|
|
2
|
+
import * as Yup from 'yup';
|
|
3
|
+
import { OpenshiftVersionOptionType } from '../../../types';
|
|
4
|
+
import { ClusterNetwork, MachineNetwork, ServiceNetwork } from '../../../api';
|
|
5
|
+
export declare const getFieldId: (fieldName: string, fieldType: string, unique?: string | undefined) => string;
|
|
6
|
+
export declare const trimSshPublicKey: (key: string) => string;
|
|
7
|
+
export declare const trimCommaSeparatedList: (list: string) => string;
|
|
8
|
+
export declare const getFormikErrorFields: <FormikValues>(errors: FormikErrors<FormikValues>, touched: FormikTouched<FormikValues>) => string[];
|
|
9
|
+
export declare const getDefaultOpenShiftVersion: (versions: OpenshiftVersionOptionType[]) => string;
|
|
10
|
+
export declare const parseStringLabels: (strValues: string[]) => {
|
|
11
|
+
[x: string]: string;
|
|
12
|
+
};
|
|
13
|
+
declare type FieldErrors = {
|
|
14
|
+
[key: string]: string[];
|
|
15
|
+
};
|
|
16
|
+
export declare const getDuplicates: (list: string[]) => string[];
|
|
17
|
+
export declare const getRichTextValidation: <T extends object>(schema: Yup.ObjectSchema<T> | Yup.Lazy) => (values: T) => Promise<FieldErrors | undefined>;
|
|
18
|
+
export declare const getFormikArrayItemFieldName: (arrayFieldName: string, idx: number) => string;
|
|
19
|
+
export declare const getFormikObjectItemFieldName: (objectFieldName: string, idx: number) => string;
|
|
20
|
+
export declare const allSubnetsIPv4: (networks: (MachineNetwork | ClusterNetwork | ServiceNetwork)[] | undefined) => boolean;
|
|
21
|
+
export declare const labelsToArray: (labels?: {
|
|
22
|
+
[x: string]: string;
|
|
23
|
+
}) => string[];
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as Yup from 'yup';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
3
|
+
import { ProxyFieldsType } from '../../../types';
|
|
4
|
+
import { HostSubnets, NetworkConfigurationValues } from '../../../types/clusters';
|
|
5
|
+
export declare const nameValidationSchema: (t: TFunction, usedClusterNames: string[], baseDnsDomain?: string, validateUniqueName?: boolean | undefined, isOcm?: boolean) => Yup.StringSchema<string>;
|
|
6
|
+
export declare const sshPublicKeyValidationSchema: Yup.StringSchema<string>;
|
|
7
|
+
export declare const pullSecretValidationSchema: Yup.StringSchema<string>;
|
|
8
|
+
export declare const ipValidationSchema: Yup.StringSchema<string>;
|
|
9
|
+
export declare const macAddressValidationSchema: Yup.StringSchema<string>;
|
|
10
|
+
export declare const vipRangeValidationSchema: (hostSubnets: HostSubnets, { machineNetworks, hostSubnet }: NetworkConfigurationValues) => Yup.StringSchema<string>;
|
|
11
|
+
export declare const hostSubnetValidationSchema: Yup.StringSchema<string>;
|
|
12
|
+
export declare const vipValidationSchema: (hostSubnets: HostSubnets, values: NetworkConfigurationValues, initialValue?: string | undefined) => Yup.MixedSchema<any>;
|
|
13
|
+
export declare const ipBlockValidationSchema: (reservedCidrs: string | string[] | undefined) => Yup.StringSchema<string>;
|
|
14
|
+
export declare const dnsNameValidationSchema: Yup.StringSchema<string>;
|
|
15
|
+
export declare const hostPrefixValidationSchema: (clusterNetworkCidr: NetworkConfigurationValues['clusterNetworkCidr']) => Yup.NumberSchema<number>;
|
|
16
|
+
export declare const richNameValidationSchema: (t: TFunction, usedNames: string[], origName?: string | undefined) => Yup.StringSchema<string>;
|
|
17
|
+
export declare const httpProxyValidationSchema: (values: ProxyFieldsType, pairValueName: 'httpProxy' | 'httpsProxy') => Yup.StringSchema<string>;
|
|
18
|
+
export declare const noProxyValidationSchema: Yup.StringSchema<string>;
|
|
19
|
+
export declare const ntpSourceValidationSchema: Yup.StringSchema<string>;
|
|
20
|
+
export declare const day2ApiVipValidationSchema: Yup.StringSchema<string>;
|
|
21
|
+
export declare const bmcAddressValidationSchema: (t: TFunction) => Yup.StringSchema<string>;
|
|
22
|
+
export declare const locationValidationSchema: (t: TFunction) => Yup.StringSchema<string>;
|
|
23
|
+
export declare const machineNetworksValidationSchema: Yup.ArraySchema<{
|
|
24
|
+
cidr: string;
|
|
25
|
+
clusterId: string;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const clusterNetworksValidationSchema: Yup.ArraySchema<any>;
|
|
28
|
+
export declare const serviceNetworkValidationSchema: Yup.ArraySchema<{
|
|
29
|
+
cidr: string;
|
|
30
|
+
clusterId: string;
|
|
31
|
+
}>;
|
|
32
|
+
export declare const dualStackValidationSchema: (field: string) => Yup.ArraySchema<unknown>;
|
|
33
|
+
export declare const IPv4ValidationSchema: Yup.ArraySchema<unknown>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export * from './formik';
|
|
2
|
+
export * from './uiState';
|
|
3
|
+
export * from './Toolbar';
|
|
4
|
+
export * from './StaticTextField';
|
|
5
|
+
export * from './WizardFooter';
|
|
6
|
+
export * from './table';
|
|
7
|
+
export * from './RenderIf';
|
|
8
|
+
export * from './SimpleDropdown';
|
|
9
|
+
export * from './DetailList';
|
|
10
|
+
export * from './eventsModal';
|
|
11
|
+
export * from './PreviewBadge';
|
|
12
|
+
export * from './utils';
|
|
13
|
+
export { default as PopoverIcon } from './PopoverIcon';
|
|
14
|
+
export { default as WizardNavItem } from './WizardNavItem';
|
|
15
|
+
export { default as Alerts } from './Alerts';
|
|
16
|
+
export { default as ExternalLink } from './ExternalLink';
|
|
17
|
+
export { default as PrismCode } from './PrismCode';
|
|
18
|
+
export { default as GridGap } from './GridGap';
|
|
19
|
+
export { default as EventsList } from './EventsList';
|
|
20
|
+
export { default as ClusterEventsList } from './ClusterEventsList';
|
|
21
|
+
export { default as ClusterEventsToolbar } from './ClusterEventsToolbar';
|
|
22
|
+
export { default as ModalProgress } from './ModalProgress';
|
|
23
|
+
export { default as ConfirmationModal } from './ConfirmationModal';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ISortBy, IRow } from '@patternfly/react-table';
|
|
3
|
+
export declare type HumanizedSortable = {
|
|
4
|
+
title: string | React.ReactNode;
|
|
5
|
+
sortableValue: number | string;
|
|
6
|
+
};
|
|
7
|
+
declare type GetCellType = (row: IRow, index: number | undefined) => string | HumanizedSortable;
|
|
8
|
+
/**
|
|
9
|
+
* Generates rows array for item which spans across all table columns.
|
|
10
|
+
* Used to put EmptyState etc. components into the table body.
|
|
11
|
+
*/
|
|
12
|
+
export declare const getColSpanRow: (content: React.ReactNode, columnCount: number) => IRow[];
|
|
13
|
+
export declare const rowSorter: (sortBy: ISortBy, getCell: GetCellType) => (a: IRow, b: IRow) => number;
|
|
14
|
+
/** Converts string into a sentence by capitalizing first letter and appending with . */
|
|
15
|
+
export declare const toSentence: (s: string) => string;
|
|
16
|
+
export declare const getDateTimeCell: (time?: string | undefined) => HumanizedSortable;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ITransform } from '@patternfly/react-table';
|
|
2
|
+
import './wrappable.css';
|
|
3
|
+
export declare const breakWord: ITransform;
|
|
4
|
+
export declare const fitContent: ITransform;
|
|
5
|
+
export declare const nowrap: ITransform;
|
|
6
|
+
export declare const truncate: ITransform;
|
|
7
|
+
export declare const wrappable: ITransform;
|
|
8
|
+
export declare const noPadding: ITransform;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { EmptyStateIconProps } from '@patternfly/react-core';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
title?: string;
|
|
5
|
+
content?: React.ReactNode;
|
|
6
|
+
icon?: EmptyStateIconProps['icon'];
|
|
7
|
+
primaryAction?: React.ReactNode;
|
|
8
|
+
secondaryActions?: React.ReactNode[];
|
|
9
|
+
};
|
|
10
|
+
declare const EmptyState: React.FC<Props>;
|
|
11
|
+
export default EmptyState;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { EmptyStateVariant, EmptyStateIconProps } from '@patternfly/react-core';
|
|
3
|
+
declare type ErrorStateProps = {
|
|
4
|
+
title?: string;
|
|
5
|
+
content?: React.ReactNode;
|
|
6
|
+
fetchData?: () => void;
|
|
7
|
+
icon?: EmptyStateIconProps['icon'];
|
|
8
|
+
iconColor?: string;
|
|
9
|
+
primaryAction?: React.ReactNode;
|
|
10
|
+
actions?: React.ReactNode[];
|
|
11
|
+
variant?: EmptyStateVariant;
|
|
12
|
+
};
|
|
13
|
+
declare const ErrorState: ({ title, content, fetchData, icon, iconColor, variant, primaryAction, actions, }: ErrorStateProps) => JSX.Element;
|
|
14
|
+
export default ErrorState;
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import { TFunction } from 'i18next';
|
|
2
|
+
import { ValidationsInfo, HostRole } from '../types/hosts';
|
|
3
|
+
import { Cluster, ClusterValidationId, DiskRole, Event, HostValidationId } from '../api';
|
|
4
|
+
import { ValidationGroup as ClusterValidationGroup } from '../types/clusters';
|
|
5
|
+
export declare const OPENSHIFT_LIFE_CYCLE_DATES_LINK = "https://access.redhat.com/support/policy/updates/openshift#dates";
|
|
6
|
+
export declare const OPENSHIFT_NETWORKING_DOCS_LINK = "https://docs.openshift.com/container-platform/4.7/installing/installing_bare_metal/installing-bare-metal.html#installation-network-user-infra_installing-bare-metal";
|
|
7
|
+
export declare const CLUSTER_MANAGER_SITE_LINK = "https://console.redhat.com/openshift/install/pull-secret";
|
|
8
|
+
export declare const PULL_SECRET_INFO_LINK = "https://console.redhat.com/openshift/install/pull-secret";
|
|
9
|
+
export declare const ODF_REQUIREMENTS_LINK = "https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.9/html/planning_your_deployment/infrastructure-requirements_rhodf#resource-requirements_rhodf";
|
|
10
|
+
export declare const VSPHERE_CONFIG_LINK = "https://access.redhat.com/solutions/6677901";
|
|
11
|
+
export declare const getReportIssueLink: () => string;
|
|
12
|
+
export declare const FEEDBACK_FORM_LINK = "https://docs.google.com/forms/d/e/1FAIpQLSfg9M8wRW4m_HkWeAl6KpB5dTcMu8iI3iJ29GlLfZpF2hnjng/viewform";
|
|
13
|
+
export declare const TECH_SUPPORT_LEVEL_LINK = "https://access.redhat.com/support/offerings/techpreview";
|
|
14
|
+
export declare const ENCRYPTING_DISK_DURING_INSTALLATION = "https://docs.openshift.com/container-platform/4.7/installing/install_config/installing-customizing.html#installation-special-config-encrypt-disk_installing-customizing";
|
|
15
|
+
export declare const getOcpConsoleNodesPage: (ocpConsoleUrl: string) => string;
|
|
16
|
+
export declare const REDHAT_CONSOLE_OPENSHIFT = "https://console.redhat.com/openshift";
|
|
17
|
+
export declare const SSH_GENERATION_DOC_LINK = "https://www.redhat.com/sysadmin/configure-ssh-keygen";
|
|
18
|
+
export declare const CNV_LINK = "https://cloud.redhat.com/learn/topics/virtualization/";
|
|
19
|
+
export declare const ODF_LINK = "https://www.redhat.com/en/resources/openshift-data-foundation-datasheet";
|
|
20
|
+
export declare const NMSTATE_EXAMPLES_LINK = "https://nmstate.io/examples.html";
|
|
21
|
+
export declare const APPROVE_NODES_IN_CL_LINK = "https://docs.openshift.com/container-platform/4.11/installing/installing_platform_agnostic/installing-platform-agnostic.html#installation-approve-csrs_installing-platform-agnostic";
|
|
22
|
+
export declare const getProductBrandingCode: () => string;
|
|
23
|
+
export declare const POLLING_INTERVAL: number;
|
|
24
|
+
export declare const EVENTS_POLLING_INTERVAL: number;
|
|
25
|
+
export declare const hostRoles: (t: TFunction) => HostRole[];
|
|
26
|
+
export declare const clusterStatusLabels: (t: TFunction) => {
|
|
27
|
+
insufficient: string;
|
|
28
|
+
ready: string;
|
|
29
|
+
error: string;
|
|
30
|
+
"preparing-for-installation": string;
|
|
31
|
+
"pending-for-input": string;
|
|
32
|
+
installing: string;
|
|
33
|
+
finalizing: string;
|
|
34
|
+
installed: string;
|
|
35
|
+
"adding-hosts": string;
|
|
36
|
+
cancelled: string;
|
|
37
|
+
"installing-pending-user-action": string;
|
|
38
|
+
};
|
|
39
|
+
export declare const clusterFieldLabels: (t: TFunction) => {
|
|
40
|
+
[x: string]: string;
|
|
41
|
+
};
|
|
42
|
+
export declare const hostValidationGroupLabels: (t: TFunction) => {
|
|
43
|
+
hardware?: string | undefined;
|
|
44
|
+
network?: string | undefined;
|
|
45
|
+
operators?: string | undefined;
|
|
46
|
+
infrastructure?: string | undefined;
|
|
47
|
+
};
|
|
48
|
+
export declare const hostValidationLabels: (t: TFunction) => {
|
|
49
|
+
connected: string;
|
|
50
|
+
"media-connected": string;
|
|
51
|
+
"has-inventory": string;
|
|
52
|
+
"has-min-cpu-cores": string;
|
|
53
|
+
"has-min-valid-disks": string;
|
|
54
|
+
"has-min-memory": string;
|
|
55
|
+
"machine-cidr-defined": string;
|
|
56
|
+
"has-cpu-cores-for-role": string;
|
|
57
|
+
"has-memory-for-role": string;
|
|
58
|
+
"hostname-unique": string;
|
|
59
|
+
"hostname-valid": string;
|
|
60
|
+
"belongs-to-machine-cidr": string;
|
|
61
|
+
"ignition-downloadable": string;
|
|
62
|
+
"belongs-to-majority-group": string;
|
|
63
|
+
"valid-platform-network-settings": string;
|
|
64
|
+
"ntp-synced": string;
|
|
65
|
+
"container-images-available": string;
|
|
66
|
+
"lso-requirements-satisfied": string;
|
|
67
|
+
"ocs-requirements-satisfied": string;
|
|
68
|
+
"odf-requirements-satisfied": string;
|
|
69
|
+
"lvm-requirements-satisfied": string;
|
|
70
|
+
"sufficient-installation-disk-speed": string;
|
|
71
|
+
"cnv-requirements-satisfied": string;
|
|
72
|
+
"sufficient-network-latency-requirement-for-role": string;
|
|
73
|
+
"sufficient-packet-loss-requirement-for-role": string;
|
|
74
|
+
"has-default-route": string;
|
|
75
|
+
"api-domain-name-resolved-correctly": string;
|
|
76
|
+
"api-int-domain-name-resolved-correctly": string;
|
|
77
|
+
"apps-domain-name-resolved-correctly": string;
|
|
78
|
+
"compatible-with-cluster-platform": string;
|
|
79
|
+
"dns-wildcard-not-configured": string;
|
|
80
|
+
"disk-encryption-requirements-satisfied": string;
|
|
81
|
+
"non-overlapping-subnets": string;
|
|
82
|
+
"vsphere-disk-uuid-enabled": string;
|
|
83
|
+
"compatible-agent": string;
|
|
84
|
+
"no-skip-installation-disk": string;
|
|
85
|
+
"no-skip-missing-disk": string;
|
|
86
|
+
"service-has-sufficient-spoke-kube-api-access": string;
|
|
87
|
+
};
|
|
88
|
+
export declare const hostValidationFailureHints: (t: TFunction) => {
|
|
89
|
+
connected: string;
|
|
90
|
+
"media-connected": string;
|
|
91
|
+
"has-inventory": string;
|
|
92
|
+
"has-min-cpu-cores": string;
|
|
93
|
+
"has-min-valid-disks": string;
|
|
94
|
+
"has-min-memory": string;
|
|
95
|
+
"machine-cidr-defined": string;
|
|
96
|
+
"has-cpu-cores-for-role": string;
|
|
97
|
+
"has-memory-for-role": string;
|
|
98
|
+
"hostname-unique": string;
|
|
99
|
+
"hostname-valid": string;
|
|
100
|
+
"belongs-to-machine-cidr": string;
|
|
101
|
+
"ignition-downloadable": string;
|
|
102
|
+
"belongs-to-majority-group": string;
|
|
103
|
+
"valid-platform-network-settings": string;
|
|
104
|
+
"ntp-synced": string;
|
|
105
|
+
"container-images-available": string;
|
|
106
|
+
"lso-requirements-satisfied": string;
|
|
107
|
+
"ocs-requirements-satisfied": string;
|
|
108
|
+
"odf-requirements-satisfied": string;
|
|
109
|
+
"lvm-requirements-satisfied": string;
|
|
110
|
+
"sufficient-installation-disk-speed": string;
|
|
111
|
+
"cnv-requirements-satisfied": string;
|
|
112
|
+
"sufficient-network-latency-requirement-for-role": string;
|
|
113
|
+
"sufficient-packet-loss-requirement-for-role": string;
|
|
114
|
+
"has-default-route": string;
|
|
115
|
+
"api-domain-name-resolved-correctly": string;
|
|
116
|
+
"api-int-domain-name-resolved-correctly": string;
|
|
117
|
+
"apps-domain-name-resolved-correctly": string;
|
|
118
|
+
"compatible-with-cluster-platform": string;
|
|
119
|
+
"dns-wildcard-not-configured": string;
|
|
120
|
+
"disk-encryption-requirements-satisfied": string;
|
|
121
|
+
"non-overlapping-subnets": string;
|
|
122
|
+
"vsphere-disk-uuid-enabled": string;
|
|
123
|
+
"compatible-agent": string;
|
|
124
|
+
"no-skip-installation-disk": string;
|
|
125
|
+
"no-skip-missing-disk": string;
|
|
126
|
+
"service-has-sufficient-spoke-kube-api-access": string;
|
|
127
|
+
};
|
|
128
|
+
export declare const clusterValidationLabels: (t: TFunction) => {
|
|
129
|
+
"machine-cidr-defined": string;
|
|
130
|
+
"lso-requirements-satisfied": string;
|
|
131
|
+
"ocs-requirements-satisfied": string;
|
|
132
|
+
"odf-requirements-satisfied": string;
|
|
133
|
+
"lvm-requirements-satisfied": string;
|
|
134
|
+
"cnv-requirements-satisfied": string;
|
|
135
|
+
"cluster-cidr-defined": string;
|
|
136
|
+
"service-cidr-defined": string;
|
|
137
|
+
"no-cidrs-overlapping": string;
|
|
138
|
+
"networks-same-address-families": string;
|
|
139
|
+
"network-prefix-valid": string;
|
|
140
|
+
"machine-cidr-equals-to-calculated-cidr": string;
|
|
141
|
+
"api-vip-defined": string;
|
|
142
|
+
"api-vip-valid": string;
|
|
143
|
+
"ingress-vip-defined": string;
|
|
144
|
+
"ingress-vip-valid": string;
|
|
145
|
+
"all-hosts-are-ready-to-install": string;
|
|
146
|
+
"sufficient-masters-count": string;
|
|
147
|
+
"dns-domain-defined": string;
|
|
148
|
+
"pull-secret-set": string;
|
|
149
|
+
"ntp-server-configured": string;
|
|
150
|
+
"network-type-valid": string;
|
|
151
|
+
};
|
|
152
|
+
export declare const clusterValidationGroupLabels: (t: TFunction) => {
|
|
153
|
+
network: string;
|
|
154
|
+
operators: string;
|
|
155
|
+
configuration: string;
|
|
156
|
+
hostsData: string;
|
|
157
|
+
"hosts-data": string;
|
|
158
|
+
};
|
|
159
|
+
export declare const CLUSTER_DEFAULT_NETWORK_SETTINGS_IPV4: {
|
|
160
|
+
clusterNetworkCidr: string;
|
|
161
|
+
clusterNetworkHostPrefix: number;
|
|
162
|
+
serviceNetworkCidr: string;
|
|
163
|
+
};
|
|
164
|
+
export declare const CLUSTER_DEFAULT_NETWORK_SETTINGS_IPV6: {
|
|
165
|
+
clusterNetworkCidr: string;
|
|
166
|
+
clusterNetworkHostPrefix: number;
|
|
167
|
+
serviceNetworkCidr: string;
|
|
168
|
+
};
|
|
169
|
+
export declare const getAssistedUiLibVersion: () => string;
|
|
170
|
+
export declare const EVENT_SEVERITIES: Event['severity'][];
|
|
171
|
+
export declare const TIME_ZERO = "0001-01-01T00:00:00.000Z";
|
|
172
|
+
export declare const MS_PER_DAY: number;
|
|
173
|
+
export declare const NO_SUBNET_SET = "NO_SUBNET_SET";
|
|
174
|
+
export declare const NETWORK_TYPE_OVN = "OVNKubernetes";
|
|
175
|
+
export declare const NETWORK_TYPE_SDN = "OpenShiftSDN";
|
|
176
|
+
export declare const IPV4_STACK = "singleStack";
|
|
177
|
+
export declare const DUAL_STACK = "dualStack";
|
|
178
|
+
export declare const PREFIX_MAX_RESTRICTION: {
|
|
179
|
+
IPv6: number;
|
|
180
|
+
IPv4: number;
|
|
181
|
+
};
|
|
182
|
+
export declare const diskRoleLabels: (t: TFunction) => {
|
|
183
|
+
none: string;
|
|
184
|
+
install: string;
|
|
185
|
+
};
|
|
186
|
+
export declare const OPERATOR_NAME_CNV = "cnv";
|
|
187
|
+
export declare const OPERATOR_NAME_LSO = "lso";
|
|
188
|
+
export declare const OPERATOR_NAME_ODF = "odf";
|
|
189
|
+
export declare const OPERATOR_NAME_LVM = "lvm";
|
|
190
|
+
export declare const OPERATOR_NAME_CVO = "cvo";
|
|
191
|
+
export declare const OPERATOR_NAME_CONSOLE = "console";
|
|
192
|
+
export declare type OperatorName = typeof OPERATOR_NAME_CNV | typeof OPERATOR_NAME_LSO | typeof OPERATOR_NAME_ODF | typeof OPERATOR_NAME_LVM | typeof OPERATOR_NAME_CVO | typeof OPERATOR_NAME_CONSOLE;
|
|
193
|
+
export declare const operatorLabels: (t: TFunction) => {
|
|
194
|
+
cnv: string;
|
|
195
|
+
lso: string;
|
|
196
|
+
odf: string;
|
|
197
|
+
lvm: string;
|
|
198
|
+
cvo: string;
|
|
199
|
+
console: string;
|
|
200
|
+
};
|
|
201
|
+
export declare const OCP_STATIC_IP_DOC = "https://docs.openshift.com/container-platform/latest/scalability_and_performance/ztp-deploying-disconnected.html#ztp-configuring-a-static-ip_ztp-deploying-disconnected";
|
|
202
|
+
export declare const AI_UI_TAG = "ui_ocm";
|
|
203
|
+
export declare const OCP_RELEASES_PAGE = "openshift/releases";
|
|
204
|
+
export declare const NUTANIX_CONFIG_LINK = "https://access.redhat.com/solutions/6983944";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './constants';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type AssistedInstallerFeatureType = 'ASSISTED_INSTALLER_SNO_FEATURE' | 'ASSISTED_INSTALLER_OCS_FEATURE' | 'ASSISTED_INSTALLER_ODF_FEATURE' | 'ASSISTED_INSTALLER_CNV_FEATURE' | 'ASSISTED_INSTALLER_NETWORK_TYPE_SELECTION_FEATURE' | 'ASSISTED_INSTALLER_PLATFORM_INTEGRATION_FEATURE';
|
|
3
|
+
export declare type FeatureListType = {
|
|
4
|
+
[key in AssistedInstallerFeatureType]?: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare type AssistedInstallerOCMPermissionTypes = 'canEdit';
|
|
7
|
+
export declare type AssistedInstallerOCMPermissionTypesListType = {
|
|
8
|
+
[key in AssistedInstallerOCMPermissionTypes]: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare type AssistedInstallerPermissionTypes = 'isViewerMode';
|
|
11
|
+
export declare type AssistedInstallerPermissionTypesListType = {
|
|
12
|
+
[key in AssistedInstallerPermissionTypes]: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare const ACM_ENABLED_FEATURES: FeatureListType;
|
|
15
|
+
export declare const SINGLE_CLUSTER_ENABLED_FEATURES: FeatureListType;
|
|
16
|
+
export declare const STANDALONE_DEPLOYMENT_ENABLED_FEATURES: FeatureListType;
|
|
17
|
+
export declare type FeatureGateContextType = {
|
|
18
|
+
isFeatureEnabled: (feature: AssistedInstallerFeatureType) => boolean;
|
|
19
|
+
};
|
|
20
|
+
export declare const FeatureGateContext: React.Context<FeatureGateContextType>;
|
|
21
|
+
export declare const FeatureGateContextProvider: React.FC<{
|
|
22
|
+
features: FeatureListType;
|
|
23
|
+
}>;
|
|
24
|
+
export declare const useFeature: (feature: AssistedInstallerFeatureType) => boolean;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './featureGate';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useTranslation(): import("react-i18next").UseTranslationResponse;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FieldValidator } from 'formik';
|
|
2
|
+
declare type Props = {
|
|
3
|
+
name: string;
|
|
4
|
+
inputError?: string;
|
|
5
|
+
validate?: FieldValidator;
|
|
6
|
+
};
|
|
7
|
+
export declare const useFieldErrorMsg: ({ name, inputError, validate }: Props) => string | undefined;
|
|
8
|
+
export default useFieldErrorMsg;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const useFormikHelpers: <R>(fieldID: string) => {
|
|
3
|
+
setValue: (value: R, shouldValidate?: boolean | undefined) => void;
|
|
4
|
+
setTouched: (touched: boolean, shouldValidate?: boolean | undefined) => void;
|
|
5
|
+
valueRef: React.MutableRefObject<R>;
|
|
6
|
+
};
|