@openshift-assisted/ui-lib 2.17.1-cim → 2.18.0-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.
Files changed (1122) hide show
  1. package/build/@types/cim/components/Agent/BMHEventsModal.d.ts.map +1 -1
  2. package/build/@types/cim/components/Agent/BMHStatusInfo.d.ts.map +1 -1
  3. package/build/@types/cim/components/Agent/MinimalHWRequirements.d.ts.map +1 -1
  4. package/build/@types/cim/components/Agent/NoAgentsAlert.d.ts.map +1 -1
  5. package/build/@types/cim/components/Agent/tableColumns.d.ts.map +1 -1
  6. package/build/@types/cim/components/Agent/tableUtils.d.ts +2 -1
  7. package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
  8. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts +1 -1
  9. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts.map +1 -1
  10. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.d.ts.map +1 -1
  11. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts +0 -1
  12. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts.map +1 -1
  13. package/build/@types/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -1
  14. package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts.map +1 -1
  15. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts +1 -1
  16. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts.map +1 -1
  17. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapForm.d.ts.map +1 -1
  18. package/build/@types/cim/components/ClusterDeployment/helpers.d.ts.map +1 -1
  19. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts.map +1 -1
  20. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.d.ts.map +1 -1
  21. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -1
  22. package/build/@types/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.d.ts.map +1 -1
  23. package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +1 -1
  24. package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts.map +1 -1
  25. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
  26. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
  27. package/build/@types/cim/components/Hypershift/DetailsPage/ConditionsTable.d.ts.map +1 -1
  28. package/build/@types/cim/components/Hypershift/DetailsPage/HostedClusterProgress.d.ts.map +1 -1
  29. package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts.map +1 -1
  30. package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts +1 -0
  31. package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts.map +1 -1
  32. package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.d.ts.map +1 -1
  33. package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.d.ts.map +1 -1
  34. package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.d.ts.map +1 -1
  35. package/build/@types/cim/components/Hypershift/hooks/useTemptiflySync.d.ts.map +1 -1
  36. package/build/@types/cim/components/Hypershift/utils/labels.d.ts.map +1 -1
  37. package/build/@types/cim/components/Hypershift/utils/status.d.ts +2 -2
  38. package/build/@types/cim/components/Hypershift/utils/status.d.ts.map +1 -1
  39. package/build/@types/cim/components/InfraEnv/EnvironmentDetails.d.ts.map +1 -1
  40. package/build/@types/cim/components/InfraEnv/InfraEnvFormPage.d.ts +1 -1
  41. package/build/@types/cim/components/InfraEnv/InfraEnvFormPage.d.ts.map +1 -1
  42. package/build/@types/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.d.ts.map +1 -1
  43. package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts.map +1 -1
  44. package/build/@types/cim/components/YamlPreview/YamlPreview.d.ts +1 -1
  45. package/build/@types/cim/components/YamlPreview/YamlPreview.d.ts.map +1 -1
  46. package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts +2 -2
  47. package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts.map +1 -1
  48. package/build/@types/cim/components/common/SpecSyncErrAlert.d.ts.map +1 -1
  49. package/build/@types/cim/components/helpers/agentStatus.d.ts +1 -1
  50. package/build/@types/cim/components/helpers/agentStatus.d.ts.map +1 -1
  51. package/build/@types/cim/components/helpers/status.d.ts +1 -1
  52. package/build/@types/cim/components/helpers/status.d.ts.map +1 -1
  53. package/build/@types/cim/components/helpers/toAssisted.d.ts +3 -3
  54. package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
  55. package/build/@types/cim/components/helpers/versions.d.ts +1 -1
  56. package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
  57. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts.map +1 -1
  58. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts.map +1 -1
  59. package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts +2 -2
  60. package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts.map +1 -1
  61. package/build/@types/cim/components/modals/CimConfiguration/types.d.ts +1 -1
  62. package/build/@types/cim/components/modals/CimConfiguration/utils.d.ts +4 -4
  63. package/build/@types/cim/components/modals/CimConfiguration/utils.d.ts.map +1 -1
  64. package/build/@types/cim/components/modals/EditProxyModal.d.ts.map +1 -1
  65. package/build/@types/cim/components/modals/EditSSHKeyModal.d.ts.map +1 -1
  66. package/build/@types/cim/components/modals/MassApproveAgentModal.d.ts.map +1 -1
  67. package/build/@types/cim/components/modals/MassDeleteAgentModal.d.ts.map +1 -1
  68. package/build/@types/cim/components/modals/ProvisioningConfigErrorAlert.d.ts.map +1 -1
  69. package/build/@types/cim/components/modals/utils.d.ts.map +1 -1
  70. package/build/@types/cim/utils.d.ts +1 -1
  71. package/build/@types/cim/utils.d.ts.map +1 -1
  72. package/build/@types/common/api/assisted-service/ClustersAPI.d.ts +0 -4
  73. package/build/@types/common/api/assisted-service/ClustersAPI.d.ts.map +1 -1
  74. package/build/@types/common/api/axiosClient.d.ts.map +1 -1
  75. package/build/@types/common/components/AddHosts/AddHostsContext.d.ts +1 -1
  76. package/build/@types/common/components/AddHosts/AddHostsContext.d.ts.map +1 -1
  77. package/build/@types/common/components/AlertsContextProvider.d.ts +1 -1
  78. package/build/@types/common/components/AlertsContextProvider.d.ts.map +1 -1
  79. package/build/@types/common/components/ErrorHandling/ErrorMonitorContext.d.ts +1 -1
  80. package/build/@types/common/components/ErrorHandling/ErrorMonitorContext.d.ts.map +1 -1
  81. package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +3 -3
  82. package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
  83. package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts +1 -1
  84. package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts.map +1 -1
  85. package/build/@types/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.d.ts.map +1 -1
  86. package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.d.ts.map +1 -1
  87. package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts.map +1 -1
  88. package/build/@types/common/components/clusterConfiguration/ProxyFields.d.ts.map +1 -1
  89. package/build/@types/common/components/clusterConfiguration/utils.d.ts.map +1 -1
  90. package/build/@types/common/components/clusterDetail/ClusterProgressItem.d.ts.map +1 -1
  91. package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts +1 -1
  92. package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts.map +1 -1
  93. package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts.map +1 -1
  94. package/build/@types/common/components/clusterDetail/ProgressBarTexts.d.ts.map +1 -1
  95. package/build/@types/common/components/clusterWizard/ClusterWizardStepHeader.d.ts +1 -1
  96. package/build/@types/common/components/clusterWizard/ClusterWizardStepHeader.d.ts.map +1 -1
  97. package/build/@types/common/components/clusterWizard/ClusterWizardStepValidationsAlert.d.ts.map +1 -1
  98. package/build/@types/common/components/clusterWizard/ReviewHostsInventory.d.ts +1 -1
  99. package/build/@types/common/components/clusterWizard/ReviewHostsInventory.d.ts.map +1 -1
  100. package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
  101. package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts +6 -6
  102. package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts.map +1 -1
  103. package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts.map +1 -1
  104. package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts.map +1 -1
  105. package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts +3 -3
  106. package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts.map +1 -1
  107. package/build/@types/common/components/clusters/PullSecret.d.ts +2 -0
  108. package/build/@types/common/components/clusters/PullSecret.d.ts.map +1 -1
  109. package/build/@types/common/components/hosts/AITable.d.ts +1 -22
  110. package/build/@types/common/components/hosts/AITable.d.ts.map +1 -1
  111. package/build/@types/common/components/hosts/AdditionalNTPSourcesDialog.d.ts.map +1 -1
  112. package/build/@types/common/components/hosts/EditHostForm.d.ts.map +1 -1
  113. package/build/@types/common/components/hosts/HostProgress.d.ts.map +1 -1
  114. package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts +1 -1
  115. package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts.map +1 -1
  116. package/build/@types/common/components/hosts/HostStatus.d.ts +1 -1
  117. package/build/@types/common/components/hosts/HostStatus.d.ts.map +1 -1
  118. package/build/@types/common/components/hosts/HostValidationGroups.d.ts.map +1 -1
  119. package/build/@types/common/components/hosts/Hostname.d.ts.map +1 -1
  120. package/build/@types/common/components/hosts/HostsTableDetailContext.d.ts +1 -1
  121. package/build/@types/common/components/hosts/HostsTableDetailContext.d.ts.map +1 -1
  122. package/build/@types/common/components/hosts/MassChangeHostnameModal.d.ts.map +1 -1
  123. package/build/@types/common/components/hosts/TableToolbar.d.ts +1 -1
  124. package/build/@types/common/components/hosts/TableToolbar.d.ts.map +1 -1
  125. package/build/@types/common/components/hosts/VMRebootConfigurationInfo.d.ts.map +1 -1
  126. package/build/@types/common/components/hosts/status.d.ts.map +1 -1
  127. package/build/@types/common/components/hosts/tableUtils.d.ts.map +1 -1
  128. package/build/@types/common/components/hosts/usePagination.d.ts +1 -1
  129. package/build/@types/common/components/hosts/usePagination.d.ts.map +1 -1
  130. package/build/@types/common/components/operators/operatorSpecs.d.ts +1 -1
  131. package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -1
  132. package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
  133. package/build/@types/common/components/storage/StorageUtils.d.ts +1 -1
  134. package/build/@types/common/components/storage/StorageUtils.d.ts.map +1 -1
  135. package/build/@types/common/components/ui/Alerts.d.ts +1 -1
  136. package/build/@types/common/components/ui/Alerts.d.ts.map +1 -1
  137. package/build/@types/common/components/ui/CustomToolbarFilter.d.ts.map +1 -1
  138. package/build/@types/common/components/ui/GridGap.d.ts +1 -1
  139. package/build/@types/common/components/ui/GridGap.d.ts.map +1 -1
  140. package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts.map +1 -1
  141. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +2 -4
  142. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
  143. package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts +2 -2
  144. package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -1
  145. package/build/@types/common/components/ui/StaticTextField.d.ts +3 -3
  146. package/build/@types/common/components/ui/StaticTextField.d.ts.map +1 -1
  147. package/build/@types/common/components/ui/Toolbar/ToolbarSecondaryGroup.d.ts +1 -1
  148. package/build/@types/common/components/ui/Toolbar/ToolbarSecondaryGroup.d.ts.map +1 -1
  149. package/build/@types/common/components/ui/WizardNavItem.d.ts.map +1 -1
  150. package/build/@types/common/components/ui/formik/CertificatesUploadField.d.ts +1 -1
  151. package/build/@types/common/components/ui/formik/CertificatesUploadField.d.ts.map +1 -1
  152. package/build/@types/common/components/ui/formik/InputField.d.ts +2 -2
  153. package/build/@types/common/components/ui/formik/InputField.d.ts.map +1 -1
  154. package/build/@types/common/components/ui/formik/LabelField.d.ts +7 -4
  155. package/build/@types/common/components/ui/formik/LabelField.d.ts.map +1 -1
  156. package/build/@types/common/components/ui/formik/NumberInputField.d.ts +1 -1
  157. package/build/@types/common/components/ui/formik/NumberInputField.d.ts.map +1 -1
  158. package/build/@types/common/components/ui/formik/PullSecretField.d.ts.map +1 -1
  159. package/build/@types/common/components/ui/formik/RemovableField.d.ts.map +1 -1
  160. package/build/@types/common/components/ui/formik/RichInputField.d.ts.map +1 -1
  161. package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts +3 -3
  162. package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts.map +1 -1
  163. package/build/@types/common/components/ui/formik/TextAreaField.d.ts +1 -1
  164. package/build/@types/common/components/ui/formik/TextAreaField.d.ts.map +1 -1
  165. package/build/@types/common/components/ui/formik/UploadField.d.ts +1 -1
  166. package/build/@types/common/components/ui/formik/UploadField.d.ts.map +1 -1
  167. package/build/@types/common/components/ui/formik/index.d.ts +0 -2
  168. package/build/@types/common/components/ui/formik/index.d.ts.map +1 -1
  169. package/build/@types/common/components/ui/formik/utils.d.ts +1 -1
  170. package/build/@types/common/components/ui/formik/utils.d.ts.map +1 -1
  171. package/build/@types/common/components/ui/index.d.ts +0 -1
  172. package/build/@types/common/components/ui/index.d.ts.map +1 -1
  173. package/build/@types/common/components/ui/utils.d.ts +3 -0
  174. package/build/@types/common/components/ui/utils.d.ts.map +1 -1
  175. package/build/@types/common/config/constants.d.ts +2 -2
  176. package/build/@types/common/config/constants.d.ts.map +1 -1
  177. package/build/@types/common/config/docs_links.d.ts +1 -0
  178. package/build/@types/common/config/docs_links.d.ts.map +1 -1
  179. package/build/@types/common/features/featureGate.d.ts +2 -2
  180. package/build/@types/common/features/featureGate.d.ts.map +1 -1
  181. package/build/@types/common/hooks/useDeepCompareMemoize.d.ts.map +1 -1
  182. package/build/@types/common/hooks/useFormikHelpers.d.ts.map +1 -1
  183. package/build/@types/common/hooks/useStateSafely.d.ts.map +1 -1
  184. package/build/@types/common/index.d.ts +1 -0
  185. package/build/@types/common/index.d.ts.map +1 -1
  186. package/build/@types/common/types/index.d.ts +1 -0
  187. package/build/@types/common/types/index.d.ts.map +1 -1
  188. package/build/@types/common/types/networkType.d.ts +12 -0
  189. package/build/@types/common/types/networkType.d.ts.map +1 -0
  190. package/build/@types/common/types/ui-settings.d.ts +0 -1
  191. package/build/@types/common/types/ui-settings.d.ts.map +1 -1
  192. package/build/@types/common/utils.d.ts +2 -2
  193. package/build/@types/common/utils.d.ts.map +1 -1
  194. package/build/@types/common/validationSchemas/addressValidation.d.ts +18 -0
  195. package/build/@types/common/validationSchemas/addressValidation.d.ts.map +1 -0
  196. package/build/@types/common/validationSchemas/clusterDetailsValidation.d.ts +8 -0
  197. package/build/@types/common/validationSchemas/clusterDetailsValidation.d.ts.map +1 -0
  198. package/build/@types/common/{components/ui/formik → validationSchemas}/constants.d.ts +1 -3
  199. package/build/@types/common/validationSchemas/constants.d.ts.map +1 -0
  200. package/build/@types/common/validationSchemas/hostnameValidation.d.ts +4 -0
  201. package/build/@types/common/validationSchemas/hostnameValidation.d.ts.map +1 -0
  202. package/build/@types/common/validationSchemas/index.d.ts +11 -0
  203. package/build/@types/common/validationSchemas/index.d.ts.map +1 -0
  204. package/build/@types/common/validationSchemas/networkingValidation.d.ts +18 -0
  205. package/build/@types/common/validationSchemas/networkingValidation.d.ts.map +1 -0
  206. package/build/@types/common/validationSchemas/ntpValidation.d.ts +4 -0
  207. package/build/@types/common/validationSchemas/ntpValidation.d.ts.map +1 -0
  208. package/build/@types/common/validationSchemas/proxyValidation.d.ts +11 -0
  209. package/build/@types/common/validationSchemas/proxyValidation.d.ts.map +1 -0
  210. package/build/@types/common/validationSchemas/pullSecretValidation.d.ts +4 -0
  211. package/build/@types/common/validationSchemas/pullSecretValidation.d.ts.map +1 -0
  212. package/build/@types/common/validationSchemas/regexes.d.ts +14 -0
  213. package/build/@types/common/validationSchemas/regexes.d.ts.map +1 -0
  214. package/build/@types/common/validationSchemas/sshValidation.d.ts +5 -0
  215. package/build/@types/common/validationSchemas/sshValidation.d.ts.map +1 -0
  216. package/build/@types/common/validationSchemas/utils.d.ts +7 -0
  217. package/build/@types/common/validationSchemas/utils.d.ts.map +1 -0
  218. package/build/@types/ocm/components/AddHosts/InventoryAddHost.d.ts +1 -1
  219. package/build/@types/ocm/components/AddHosts/InventoryAddHost.d.ts.map +1 -1
  220. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2DiscoveryImageModalButton.d.ts.map +1 -1
  221. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2StaticIP.d.ts.map +1 -1
  222. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.d.ts.map +1 -1
  223. package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.d.ts.map +1 -1
  224. package/build/@types/ocm/components/Routes.d.ts +1 -2
  225. package/build/@types/ocm/components/Routes.d.ts.map +1 -1
  226. package/build/@types/ocm/components/SentryErrorMonitorContextProvider.d.ts +1 -1
  227. package/build/@types/ocm/components/SentryErrorMonitorContextProvider.d.ts.map +1 -1
  228. package/build/@types/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.d.ts +1 -1
  229. package/build/@types/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.d.ts.map +1 -1
  230. package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
  231. package/build/@types/ocm/components/clusterConfiguration/InformationAndAlerts.d.ts.map +1 -1
  232. package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts +2 -2
  233. package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts.map +1 -1
  234. package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts +3 -7
  235. package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
  236. package/build/@types/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.d.ts.map +1 -1
  237. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts +2 -3
  238. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
  239. package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts.map +1 -1
  240. package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts.map +1 -1
  241. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.d.ts.map +1 -1
  242. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.d.ts.map +1 -1
  243. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.d.ts.map +1 -1
  244. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.d.ts.map +1 -1
  245. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.d.ts.map +1 -1
  246. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.d.ts +2 -1
  247. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.d.ts.map +1 -1
  248. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts.map +1 -1
  249. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
  250. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.d.ts +8 -0
  251. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.d.ts.map +1 -0
  252. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +2 -1
  253. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts.map +1 -1
  254. package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts +2 -2
  255. package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts.map +1 -1
  256. package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts.map +1 -1
  257. package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts.map +1 -1
  258. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.d.ts.map +1 -1
  259. package/build/@types/ocm/components/clusterConfiguration/review/ReviewClusterDetailTable.d.ts.map +1 -1
  260. package/build/@types/ocm/components/clusterConfiguration/review/ReviewCustomManifestsTable.d.ts.map +1 -1
  261. package/build/@types/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.d.ts.map +1 -1
  262. package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts.map +1 -1
  263. package/build/@types/ocm/components/clusterConfiguration/review/ReviewPlatformTable.d.ts.map +1 -1
  264. package/build/@types/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.d.ts.map +1 -1
  265. package/build/@types/ocm/components/clusterConfiguration/review/ReviewStep.d.ts.map +1 -1
  266. package/build/@types/ocm/components/clusterConfiguration/review/ReviewSummary.d.ts.map +1 -1
  267. package/build/@types/ocm/components/clusterConfiguration/review/TableSummaryExpandable.d.ts +1 -1
  268. package/build/@types/ocm/components/clusterConfiguration/review/TableSummaryExpandable.d.ts.map +1 -1
  269. package/build/@types/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.d.ts.map +1 -1
  270. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.d.ts.map +1 -1
  271. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.d.ts +2 -1
  272. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.d.ts.map +1 -1
  273. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.d.ts.map +1 -1
  274. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts +1 -1
  275. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts.map +1 -1
  276. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.d.ts.map +1 -1
  277. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.d.ts.map +1 -1
  278. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.d.ts.map +1 -1
  279. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.d.ts.map +1 -1
  280. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.d.ts +2 -1
  281. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.d.ts.map +1 -1
  282. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/propTypes.d.ts +1 -1
  283. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/propTypes.d.ts.map +1 -1
  284. package/build/@types/ocm/components/clusterDetail/ClusterPollingErrorModal.d.ts +2 -2
  285. package/build/@types/ocm/components/clusterDetail/ClusterPollingErrorModal.d.ts.map +1 -1
  286. package/build/@types/ocm/components/clusterDetail/ClusterProperties.d.ts.map +1 -1
  287. package/build/@types/ocm/components/clusterDetail/HostInventoryExpandable.d.ts +1 -1
  288. package/build/@types/ocm/components/clusterDetail/HostInventoryExpandable.d.ts.map +1 -1
  289. package/build/@types/ocm/components/clusterDetail/OpenShiftVersionDetail.d.ts.map +1 -1
  290. package/build/@types/ocm/components/clusterDetail/ResetClusterModal.d.ts.map +1 -1
  291. package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
  292. package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts +2 -2
  293. package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
  294. package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts +0 -5
  295. package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts.map +1 -1
  296. package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts +4 -4
  297. package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
  298. package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts +1 -2
  299. package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts.map +1 -1
  300. package/build/@types/ocm/components/clusterWizard/ClusterWizardNavigation.d.ts +1 -1
  301. package/build/@types/ocm/components/clusterWizard/ClusterWizardNavigation.d.ts.map +1 -1
  302. package/build/@types/ocm/components/clusterWizard/CustomManifestStep.d.ts.map +1 -1
  303. package/build/@types/ocm/components/clusterWizard/HostDiscovery.d.ts.map +1 -1
  304. package/build/@types/ocm/components/clusterWizard/NewClusterWizard.d.ts.map +1 -1
  305. package/build/@types/ocm/components/clusterWizard/OpenShiftVersionsContext.d.ts.map +1 -1
  306. package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
  307. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts +1 -1
  308. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -1
  309. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts +1 -1
  310. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -1
  311. package/build/@types/ocm/components/clusterWizard/Storage.d.ts.map +1 -1
  312. package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
  313. package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts.map +1 -1
  314. package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts +1 -1
  315. package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts.map +1 -1
  316. package/build/@types/ocm/components/clusterWizard/disconnected/ReviewStep.d.ts.map +1 -1
  317. package/build/@types/ocm/components/clusterWizard/index.d.ts +0 -1
  318. package/build/@types/ocm/components/clusterWizard/index.d.ts.map +1 -1
  319. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +2 -2
  320. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
  321. package/build/@types/ocm/components/clusters/ClusterBreadcrumbs.d.ts +1 -1
  322. package/build/@types/ocm/components/clusters/ClusterBreadcrumbs.d.ts.map +1 -1
  323. package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
  324. package/build/@types/ocm/components/clusters/ClusterStatus.d.ts.map +1 -1
  325. package/build/@types/ocm/components/clusters/ClusterToolbar.d.ts +1 -1
  326. package/build/@types/ocm/components/clusters/ClusterToolbar.d.ts.map +1 -1
  327. package/build/@types/ocm/components/clusters/clusterPolling.d.ts.map +1 -1
  328. package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
  329. package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
  330. package/build/@types/ocm/components/hosts/HardwareStatus.d.ts +2 -2
  331. package/build/@types/ocm/components/hosts/HardwareStatus.d.ts.map +1 -1
  332. package/build/@types/ocm/components/hosts/HostsStorageTable.d.ts.map +1 -1
  333. package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts +1 -1
  334. package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts.map +1 -1
  335. package/build/@types/ocm/components/hosts/StorageAlerts.d.ts.map +1 -1
  336. package/build/@types/ocm/components/hosts/UpdateDay2ApiVipForm.d.ts.map +1 -1
  337. package/build/@types/ocm/components/hosts/utils.d.ts.map +1 -1
  338. package/build/@types/ocm/components/ui/AssistedUILibVersion.d.ts +1 -1
  339. package/build/@types/ocm/components/ui/AssistedUILibVersion.d.ts.map +1 -1
  340. package/build/@types/ocm/components/ui/InfoLinkWithModal.d.ts.map +1 -1
  341. package/build/@types/ocm/hooks/usePullSecret.d.ts +1 -1
  342. package/build/@types/ocm/hooks/usePullSecret.d.ts.map +1 -1
  343. package/build/@types/ocm/hooks/useUISettings.d.ts.map +1 -1
  344. package/build/@types/ocm/services/ClusterDetailsService.d.ts +6 -7
  345. package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
  346. package/build/@types/ocm/services/ClustersService.d.ts +0 -4
  347. package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
  348. package/build/@types/ocm/services/types.d.ts +1 -2
  349. package/build/@types/ocm/services/types.d.ts.map +1 -1
  350. package/build/@types/ocm/store/hooks.d.ts +1 -1
  351. package/build/@types/ocm/store/slices/clusters/selectors.d.ts +1 -2
  352. package/build/@types/ocm/store/slices/clusters/selectors.d.ts.map +1 -1
  353. package/build/@types/ocm/store/slices/clusters/slice.d.ts +1 -1
  354. package/build/@types/ocm/store/slices/clusters/slice.d.ts.map +1 -1
  355. package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +5 -5
  356. package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -1
  357. package/build/@types/ocm/store/slices/current-user/slice.d.ts +1 -1
  358. package/build/@types/ocm/store/slices/current-user/slice.d.ts.map +1 -1
  359. package/build/@types/ocm/store/slices/feature-flags/slice.d.ts +1 -1
  360. package/build/@types/ocm/store/slices/feature-flags/slice.d.ts.map +1 -1
  361. package/build/@types/ocm/store/slices/infra-envs/slice.d.ts +1 -1
  362. package/build/@types/ocm/store/slices/infra-envs/slice.d.ts.map +1 -1
  363. package/build/@types/ocm/store/store-day1.d.ts +1 -1
  364. package/build/@types/ocm/store/store-day1.d.ts.map +1 -1
  365. package/build/cjs/cim/components/Agent/AgentsSelectionHostCountAlerts.js.map +1 -1
  366. package/build/cjs/cim/components/Agent/AgentsSelectionTable.js.map +1 -1
  367. package/build/cjs/cim/components/Agent/AgentsSelectionUtils.js.map +1 -1
  368. package/build/cjs/cim/components/Agent/BMCForm.js +4 -4
  369. package/build/cjs/cim/components/Agent/BMCForm.js.map +1 -1
  370. package/build/cjs/cim/components/Agent/BMHEventsModal.js.map +1 -1
  371. package/build/cjs/cim/components/Agent/BMHStatusInfo.js +4 -4
  372. package/build/cjs/cim/components/Agent/BMHStatusInfo.js.map +1 -1
  373. package/build/cjs/cim/components/Agent/MinimalHWRequirements.js +2 -2
  374. package/build/cjs/cim/components/Agent/MinimalHWRequirements.js.map +1 -1
  375. package/build/cjs/cim/components/Agent/tableColumns.js +1 -1
  376. package/build/cjs/cim/components/Agent/tableColumns.js.map +1 -1
  377. package/build/cjs/cim/components/Agent/tableUtils.js.map +1 -1
  378. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCredentials.js.map +1 -1
  379. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentKubeconfigDownload.js.map +1 -1
  380. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentValidationsOverview.js.map +1 -1
  381. package/build/cjs/cim/components/ClusterDeployment/LocationsSelector.js.map +1 -1
  382. package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js.map +1 -1
  383. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js +9 -15
  384. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js.map +1 -1
  385. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js +1 -1
  386. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js.map +1 -1
  387. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js +10 -12
  388. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js.map +1 -1
  389. package/build/cjs/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.js +8 -6
  390. package/build/cjs/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.js.map +1 -1
  391. package/build/cjs/cim/components/ClusterDeployment/constants.js +1 -1
  392. package/build/cjs/cim/components/ClusterDeployment/constants.js.map +1 -1
  393. package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js.map +1 -1
  394. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js +1 -1
  395. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js.map +1 -1
  396. package/build/cjs/cim/components/ClusterDeployment/helpers.js +1 -1
  397. package/build/cjs/cim/components/ClusterDeployment/helpers.js.map +1 -1
  398. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js.map +1 -1
  399. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js +8 -6
  400. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js.map +1 -1
  401. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js.map +1 -1
  402. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js +3 -5
  403. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js.map +1 -1
  404. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.js.map +1 -1
  405. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.js +8 -6
  406. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.js.map +1 -1
  407. package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js +3 -3
  408. package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js.map +1 -1
  409. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.js.map +1 -1
  410. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js.map +1 -1
  411. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.js.map +1 -1
  412. package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js.map +1 -1
  413. package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +16 -15
  414. package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
  415. package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js.map +1 -1
  416. package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js +7 -6
  417. package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js.map +1 -1
  418. package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js +3 -2
  419. package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js.map +1 -1
  420. package/build/cjs/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.js.map +1 -1
  421. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js +2 -2
  422. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js.map +1 -1
  423. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js +1 -1
  424. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js.map +1 -1
  425. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js +4 -8
  426. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js.map +1 -1
  427. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.js +2 -2
  428. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.js.map +1 -1
  429. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js +16 -17
  430. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js.map +1 -1
  431. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js +2 -11
  432. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js.map +1 -1
  433. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js.map +1 -1
  434. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/AdvancedNetworkFields.js.map +1 -1
  435. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.js +8 -8
  436. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.js.map +1 -1
  437. package/build/cjs/cim/components/Hypershift/hooks/useSupportedOCPVersions.js.map +1 -1
  438. package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js.map +1 -1
  439. package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
  440. package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js.map +1 -1
  441. package/build/cjs/cim/components/Hypershift/modals/RemoveNodePoolModal.js.map +1 -1
  442. package/build/cjs/cim/components/Hypershift/utils/status.js +8 -7
  443. package/build/cjs/cim/components/Hypershift/utils/status.js.map +1 -1
  444. package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js +4 -4
  445. package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
  446. package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.js.map +1 -1
  447. package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js.map +1 -1
  448. package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +9 -7
  449. package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js.map +1 -1
  450. package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js +3 -3
  451. package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js.map +1 -1
  452. package/build/cjs/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.js.map +1 -1
  453. package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
  454. package/build/cjs/cim/components/YamlPreview/YamlPreview.js +10 -11
  455. package/build/cjs/cim/components/YamlPreview/YamlPreview.js.map +1 -1
  456. package/build/cjs/cim/components/YamlPreview/useYAMLPreview.js.map +1 -1
  457. package/build/cjs/cim/components/common/CpuArchitectureDropdown.js.map +1 -1
  458. package/build/cjs/cim/components/common/ResourceAlerts.js.map +1 -1
  459. package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js.map +1 -1
  460. package/build/cjs/cim/components/featureSupportLevels/featureStateUtils.js.map +1 -1
  461. package/build/cjs/cim/components/helpers/agentClusterInstall.js.map +1 -1
  462. package/build/cjs/cim/components/helpers/agentStatus.js +3 -2
  463. package/build/cjs/cim/components/helpers/agentStatus.js.map +1 -1
  464. package/build/cjs/cim/components/helpers/agents.js.map +1 -1
  465. package/build/cjs/cim/components/helpers/clusterDeployment.js.map +1 -1
  466. package/build/cjs/cim/components/helpers/conditions.js.map +1 -1
  467. package/build/cjs/cim/components/helpers/network.js.map +1 -1
  468. package/build/cjs/cim/components/helpers/status.js.map +1 -1
  469. package/build/cjs/cim/components/helpers/storage.js.map +1 -1
  470. package/build/cjs/cim/components/helpers/toAssisted.js +1 -1
  471. package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
  472. package/build/cjs/cim/components/helpers/units.js.map +1 -1
  473. package/build/cjs/cim/components/helpers/versions.js +42 -27
  474. package/build/cjs/cim/components/helpers/versions.js.map +1 -1
  475. package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js.map +1 -1
  476. package/build/cjs/cim/components/modals/AddHostModal.js.map +1 -1
  477. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js.map +1 -1
  478. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js +7 -3
  479. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js.map +1 -1
  480. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js +13 -6
  481. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js.map +1 -1
  482. package/build/cjs/cim/components/modals/CimConfiguration/persist.js +12 -5
  483. package/build/cjs/cim/components/modals/CimConfiguration/persist.js.map +1 -1
  484. package/build/cjs/cim/components/modals/CimConfiguration/utils.js.map +1 -1
  485. package/build/cjs/cim/components/modals/EditAgentModal.js +1 -1
  486. package/build/cjs/cim/components/modals/EditAgentModal.js.map +1 -1
  487. package/build/cjs/cim/components/modals/EditBMHModal.js.map +1 -1
  488. package/build/cjs/cim/components/modals/EditNtpSourcesModal.js.map +1 -1
  489. package/build/cjs/cim/components/modals/EditProxyModal.js +5 -3
  490. package/build/cjs/cim/components/modals/EditProxyModal.js.map +1 -1
  491. package/build/cjs/cim/components/modals/EditPullSecretModal.js +1 -1
  492. package/build/cjs/cim/components/modals/EditPullSecretModal.js.map +1 -1
  493. package/build/cjs/cim/components/modals/EditSSHKeyModal.js +3 -3
  494. package/build/cjs/cim/components/modals/EditSSHKeyModal.js.map +1 -1
  495. package/build/cjs/cim/components/modals/MassApproveAgentModal.js +1 -1
  496. package/build/cjs/cim/components/modals/MassApproveAgentModal.js.map +1 -1
  497. package/build/cjs/cim/components/modals/MassDeleteAgentModal.js +2 -2
  498. package/build/cjs/cim/components/modals/MassDeleteAgentModal.js.map +1 -1
  499. package/build/cjs/cim/components/modals/ProvisioningConfigErrorAlert.js.map +1 -1
  500. package/build/cjs/cim/components/modals/ScaleUpModal.js.map +1 -1
  501. package/build/cjs/cim/components/modals/utils.js +1 -1
  502. package/build/cjs/cim/components/modals/utils.js.map +1 -1
  503. package/build/cjs/cim/types/k8s/cluster-version.js +1 -1
  504. package/build/cjs/cim/types/k8s/cluster-version.js.map +1 -1
  505. package/build/cjs/cim/utils.js.map +1 -1
  506. package/build/cjs/common/api/accounts-management-service/organizations-api.js +2 -2
  507. package/build/cjs/common/api/accounts-management-service/organizations-api.js.map +1 -1
  508. package/build/cjs/common/api/assisted-service/ClustersAPI.js +0 -3
  509. package/build/cjs/common/api/assisted-service/ClustersAPI.js.map +1 -1
  510. package/build/cjs/common/api/axiosClient.js +0 -1
  511. package/build/cjs/common/api/axiosClient.js.map +1 -1
  512. package/build/cjs/common/api/utils.js.map +1 -1
  513. package/build/cjs/common/components/AddHosts/AddHostsContext.js.map +1 -1
  514. package/build/cjs/common/components/AlertsContextProvider.js.map +1 -1
  515. package/build/cjs/common/components/ErrorHandling/WithErrorBoundary.js +1 -1
  516. package/build/cjs/common/components/ErrorHandling/WithErrorBoundary.js.map +1 -1
  517. package/build/cjs/common/components/clusterConfiguration/CertificateFields.js.map +1 -1
  518. package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
  519. package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js +7 -6
  520. package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js.map +1 -1
  521. package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js +2 -1
  522. package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js.map +1 -1
  523. package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js.map +1 -1
  524. package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js.map +1 -1
  525. package/build/cjs/common/components/clusterConfiguration/ProxyFields.js +5 -2
  526. package/build/cjs/common/components/clusterConfiguration/ProxyFields.js.map +1 -1
  527. package/build/cjs/common/components/clusterConfiguration/SecurityFields.js +1 -1
  528. package/build/cjs/common/components/clusterConfiguration/SecurityFields.js.map +1 -1
  529. package/build/cjs/common/components/clusterConfiguration/utils.js +1 -1
  530. package/build/cjs/common/components/clusterConfiguration/utils.js.map +1 -1
  531. package/build/cjs/common/components/clusterConfiguration/utils.test.js +1 -1
  532. package/build/cjs/common/components/clusterConfiguration/utils.test.js.map +1 -1
  533. package/build/cjs/common/components/clusterDetail/ClusterCredentials.js.map +1 -1
  534. package/build/cjs/common/components/clusterDetail/ClusterProgress.js.map +1 -1
  535. package/build/cjs/common/components/clusterDetail/FinalizingProgress.js +8 -7
  536. package/build/cjs/common/components/clusterDetail/FinalizingProgress.js.map +1 -1
  537. package/build/cjs/common/components/clusterDetail/KubeconfigDownload.js.map +1 -1
  538. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +4 -4
  539. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
  540. package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js +5 -4
  541. package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js.map +1 -1
  542. package/build/cjs/common/components/clusterWizard/ClusterWizardStepHeader.js +1 -1
  543. package/build/cjs/common/components/clusterWizard/ClusterWizardStepHeader.js.map +1 -1
  544. package/build/cjs/common/components/clusterWizard/ClusterWizardStepValidationsAlert.js.map +1 -1
  545. package/build/cjs/common/components/clusterWizard/ReviewHostsInventory.js.map +1 -1
  546. package/build/cjs/common/components/clusterWizard/ReviewValidations.js +7 -6
  547. package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
  548. package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js +8 -8
  549. package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js.map +1 -1
  550. package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js.map +1 -1
  551. package/build/cjs/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.js +3 -3
  552. package/build/cjs/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.js.map +1 -1
  553. package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js +3 -2
  554. package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js.map +1 -1
  555. package/build/cjs/common/components/clusterWizard/networkingSteps/SubnetsDropdown.js.map +1 -1
  556. package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +4 -3
  557. package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
  558. package/build/cjs/common/components/clusterWizard/networkingSteps/reorderNetworks.js.map +1 -1
  559. package/build/cjs/common/components/clusterWizard/validationsInfoUtils.js.map +1 -1
  560. package/build/cjs/common/components/clusters/PullSecret.js +17 -16
  561. package/build/cjs/common/components/clusters/PullSecret.js.map +1 -1
  562. package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelBadge.js.map +1 -1
  563. package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelContext.js.map +1 -1
  564. package/build/cjs/common/components/fetching/EventListFetch.js.map +1 -1
  565. package/build/cjs/common/components/hosts/AITable.js.map +1 -1
  566. package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js +2 -1
  567. package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js.map +1 -1
  568. package/build/cjs/common/components/hosts/DiskLimitations.js.map +1 -1
  569. package/build/cjs/common/components/hosts/DiskRole.js.map +1 -1
  570. package/build/cjs/common/components/hosts/EditHostForm.js +3 -2
  571. package/build/cjs/common/components/hosts/EditHostForm.js.map +1 -1
  572. package/build/cjs/common/components/hosts/EditHostModal.js.map +1 -1
  573. package/build/cjs/common/components/hosts/FormatDiskCheckbox.js.map +1 -1
  574. package/build/cjs/common/components/hosts/HostProgress.js.map +1 -1
  575. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +7 -7
  576. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
  577. package/build/cjs/common/components/hosts/HostRowDetail.js.map +1 -1
  578. package/build/cjs/common/components/hosts/HostStatus.js +2 -1
  579. package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
  580. package/build/cjs/common/components/hosts/HostValidationGroups.js +6 -6
  581. package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
  582. package/build/cjs/common/components/hosts/Hostname.js +4 -3
  583. package/build/cjs/common/components/hosts/Hostname.js.map +1 -1
  584. package/build/cjs/common/components/hosts/HostsTableDetailContext.js +1 -1
  585. package/build/cjs/common/components/hosts/HostsTableDetailContext.js.map +1 -1
  586. package/build/cjs/common/components/hosts/MassChangeHostnameModal.js +9 -8
  587. package/build/cjs/common/components/hosts/MassChangeHostnameModal.js.map +1 -1
  588. package/build/cjs/common/components/hosts/MassDeleteHostModal.js.map +1 -1
  589. package/build/cjs/common/components/hosts/NtpValidationStatus.js.map +1 -1
  590. package/build/cjs/common/components/hosts/OcpConsoleNodesSectionLink.js.map +1 -1
  591. package/build/cjs/common/components/hosts/RoleDropdown.js.map +1 -1
  592. package/build/cjs/common/components/hosts/TableToolbar.js.map +1 -1
  593. package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js +2 -1
  594. package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js.map +1 -1
  595. package/build/cjs/common/components/hosts/hardwareInfo.js.map +1 -1
  596. package/build/cjs/common/components/hosts/status.js +19 -13
  597. package/build/cjs/common/components/hosts/status.js.map +1 -1
  598. package/build/cjs/common/components/hosts/tableColumns.js.map +1 -1
  599. package/build/cjs/common/components/hosts/tableUtils.js +2 -2
  600. package/build/cjs/common/components/hosts/tableUtils.js.map +1 -1
  601. package/build/cjs/common/components/hosts/utils.js.map +1 -1
  602. package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.js.map +1 -1
  603. package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelContext.js.map +1 -1
  604. package/build/cjs/common/components/newFeatureSupportLevels/utils.js.map +1 -1
  605. package/build/cjs/common/components/operators/operatorSpecs.js.map +1 -1
  606. package/build/cjs/common/components/storage/DisksTable.js +4 -2
  607. package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
  608. package/build/cjs/common/components/storage/StorageUtils.js +3 -2
  609. package/build/cjs/common/components/storage/StorageUtils.js.map +1 -1
  610. package/build/cjs/common/components/ui/Alerts.js.map +1 -1
  611. package/build/cjs/common/components/ui/BorderedIcon/BorderedIcon.js.map +1 -1
  612. package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
  613. package/build/cjs/common/components/ui/CustomToolbarFilter.js +5 -5
  614. package/build/cjs/common/components/ui/CustomToolbarFilter.js.map +1 -1
  615. package/build/cjs/common/components/ui/EventsList.js.map +1 -1
  616. package/build/cjs/common/components/ui/ExternalLink.js.map +1 -1
  617. package/build/cjs/common/components/ui/GridGap.js +1 -1
  618. package/build/cjs/common/components/ui/GridGap.js.map +1 -1
  619. package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js +21 -30
  620. package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js.map +1 -1
  621. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +27 -34
  622. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
  623. package/build/cjs/common/components/ui/OpenShiftVersionModal.js +8 -9
  624. package/build/cjs/common/components/ui/OpenShiftVersionModal.js.map +1 -1
  625. package/build/cjs/common/components/ui/PreviewBadge.js +1 -1
  626. package/build/cjs/common/components/ui/PreviewBadge.js.map +1 -1
  627. package/build/cjs/common/components/ui/PrismCode.js.map +1 -1
  628. package/build/cjs/common/components/ui/StaticTextField.js.map +1 -1
  629. package/build/cjs/common/components/ui/Toolbar/ToolbarSecondaryGroup.js.map +1 -1
  630. package/build/cjs/common/components/ui/WizardFooter.js +1 -1
  631. package/build/cjs/common/components/ui/WizardFooter.js.map +1 -1
  632. package/build/cjs/common/components/ui/WizardNavItem.js +2 -2
  633. package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
  634. package/build/cjs/common/components/ui/formik/AdditionalNTPSourcesField.js.map +1 -1
  635. package/build/cjs/common/components/ui/formik/AlertFormikError.js.map +1 -1
  636. package/build/cjs/common/components/ui/formik/CertificatesUploadField.js.map +1 -1
  637. package/build/cjs/common/components/ui/formik/CodeField.js.map +1 -1
  638. package/build/cjs/common/components/ui/formik/FormikAutoSave.js.map +1 -1
  639. package/build/cjs/common/components/ui/formik/InputField.js.map +1 -1
  640. package/build/cjs/common/components/ui/formik/LabelField.js +63 -45
  641. package/build/cjs/common/components/ui/formik/LabelField.js.map +1 -1
  642. package/build/cjs/common/components/ui/formik/MultiSelectField.js.map +1 -1
  643. package/build/cjs/common/components/ui/formik/NumberInputField.js.map +1 -1
  644. package/build/cjs/common/components/ui/formik/PullSecretField.js.map +1 -1
  645. package/build/cjs/common/components/ui/formik/RemovableField.js +3 -3
  646. package/build/cjs/common/components/ui/formik/RemovableField.js.map +1 -1
  647. package/build/cjs/common/components/ui/formik/RichInputField.js +4 -4
  648. package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
  649. package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js.map +1 -1
  650. package/build/cjs/common/components/ui/formik/SwitchField.js.map +1 -1
  651. package/build/cjs/common/components/ui/formik/TextAreaField.js +6 -2
  652. package/build/cjs/common/components/ui/formik/TextAreaField.js.map +1 -1
  653. package/build/cjs/common/components/ui/formik/TextAreaSecretField.js.map +1 -1
  654. package/build/cjs/common/components/ui/formik/UploadField.js +4 -5
  655. package/build/cjs/common/components/ui/formik/UploadField.js.map +1 -1
  656. package/build/cjs/common/components/ui/formik/index.js +0 -2
  657. package/build/cjs/common/components/ui/formik/index.js.map +1 -1
  658. package/build/cjs/common/components/ui/formik/utils.js.map +1 -1
  659. package/build/cjs/common/components/ui/index.js +1 -3
  660. package/build/cjs/common/components/ui/index.js.map +1 -1
  661. package/build/cjs/common/components/ui/table/utils.js.map +1 -1
  662. package/build/cjs/common/components/ui/utils.js +5 -1
  663. package/build/cjs/common/components/ui/utils.js.map +1 -1
  664. package/build/cjs/common/config/constants.js +4 -4
  665. package/build/cjs/common/config/constants.js.map +1 -1
  666. package/build/cjs/common/config/docs_links.js +4 -3
  667. package/build/cjs/common/config/docs_links.js.map +1 -1
  668. package/build/cjs/common/features/featureGate.js.map +1 -1
  669. package/build/cjs/common/hooks/useDeepCompareMemoize.js.map +1 -1
  670. package/build/cjs/common/hooks/useFieldErrorMsg.js.map +1 -1
  671. package/build/cjs/common/hooks/useStateSafely.js.map +1 -1
  672. package/build/cjs/common/index.js +1 -0
  673. package/build/cjs/common/index.js.map +1 -1
  674. package/build/cjs/common/selectors/clusterSelectors.js.map +1 -1
  675. package/build/cjs/common/services/DateAndTime.js.map +1 -1
  676. package/build/cjs/common/types/cpuArchitecture.js +2 -2
  677. package/build/cjs/common/types/cpuArchitecture.js.map +1 -1
  678. package/build/cjs/common/types/index.js +1 -0
  679. package/build/cjs/common/types/index.js.map +1 -1
  680. package/build/cjs/common/types/networkType.js +28 -0
  681. package/build/cjs/common/types/networkType.js.map +1 -0
  682. package/build/cjs/common/types/resource-ui-state.js +1 -1
  683. package/build/cjs/common/types/resource-ui-state.js.map +1 -1
  684. package/build/cjs/common/utils.js +5 -3
  685. package/build/cjs/common/utils.js.map +1 -1
  686. package/build/cjs/common/validationSchemas/addressValidation.js +258 -0
  687. package/build/cjs/common/validationSchemas/addressValidation.js.map +1 -0
  688. package/build/cjs/common/validationSchemas/clusterDetailsValidation.js +104 -0
  689. package/build/cjs/common/validationSchemas/clusterDetailsValidation.js.map +1 -0
  690. package/build/cjs/common/{components/ui/formik → validationSchemas}/constants.js +3 -5
  691. package/build/cjs/common/validationSchemas/constants.js.map +1 -0
  692. package/build/cjs/common/validationSchemas/hostnameValidation.js +36 -0
  693. package/build/cjs/common/validationSchemas/hostnameValidation.js.map +1 -0
  694. package/build/cjs/common/validationSchemas/index.js +17 -0
  695. package/build/cjs/common/validationSchemas/index.js.map +1 -0
  696. package/build/cjs/common/validationSchemas/networkingValidation.js +74 -0
  697. package/build/cjs/common/validationSchemas/networkingValidation.js.map +1 -0
  698. package/build/cjs/common/validationSchemas/ntpValidation.js +30 -0
  699. package/build/cjs/common/validationSchemas/ntpValidation.js.map +1 -0
  700. package/build/cjs/common/validationSchemas/proxyValidation.js +43 -0
  701. package/build/cjs/common/validationSchemas/proxyValidation.js.map +1 -0
  702. package/build/cjs/common/validationSchemas/pullSecretValidation.js +22 -0
  703. package/build/cjs/common/validationSchemas/pullSecretValidation.js.map +1 -0
  704. package/build/cjs/common/validationSchemas/regexes.js +17 -0
  705. package/build/cjs/common/validationSchemas/regexes.js.map +1 -0
  706. package/build/cjs/common/validationSchemas/sshValidation.js +32 -0
  707. package/build/cjs/common/validationSchemas/sshValidation.js.map +1 -0
  708. package/build/cjs/common/validationSchemas/utils.js +40 -0
  709. package/build/cjs/common/validationSchemas/utils.js.map +1 -0
  710. package/build/cjs/ocm/components/AddHosts/AddHosts.js.map +1 -1
  711. package/build/cjs/ocm/components/AddHosts/InventoryAddHost.js.map +1 -1
  712. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js.map +1 -1
  713. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2GenerateISO.js.map +1 -1
  714. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIP.js +1 -1
  715. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIP.js.map +1 -1
  716. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2Wizard.js.map +1 -1
  717. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardContext.js.map +1 -1
  718. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardContextProvider.js.map +1 -1
  719. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardNav.js.map +1 -1
  720. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js.map +1 -1
  721. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.js.map +1 -1
  722. package/build/cjs/ocm/components/HostsClusterDetailTab/utils.js.map +1 -1
  723. package/build/cjs/ocm/components/Routes.js +3 -5
  724. package/build/cjs/ocm/components/Routes.js.map +1 -1
  725. package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js +2 -2
  726. package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js.map +1 -1
  727. package/build/cjs/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.js.map +1 -1
  728. package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
  729. package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js.map +1 -1
  730. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageForm.js.map +1 -1
  731. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js.map +1 -1
  732. package/build/cjs/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.js.map +1 -1
  733. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +6 -11
  734. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
  735. package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js +7 -6
  736. package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js.map +1 -1
  737. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +14 -18
  738. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
  739. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +4 -4
  740. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
  741. package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js +5 -2
  742. package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js.map +1 -1
  743. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js +96 -6
  744. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js.map +1 -1
  745. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.js.map +1 -1
  746. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.js +4 -2
  747. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.js.map +1 -1
  748. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js +4 -1
  749. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js.map +1 -1
  750. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.js +1 -1
  751. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.js.map +1 -1
  752. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.js +7 -6
  753. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.js.map +1 -1
  754. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.js.map +1 -1
  755. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +3 -6
  756. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
  757. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +7 -3
  758. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
  759. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.js +61 -0
  760. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.js.map +1 -0
  761. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js +11 -11
  762. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js.map +1 -1
  763. package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js.map +1 -1
  764. package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js +3 -0
  765. package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js.map +1 -1
  766. package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js.map +1 -1
  767. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
  768. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js +5 -3
  769. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js.map +1 -1
  770. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewClusterDetailTable.js.map +1 -1
  771. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js +1 -1
  772. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js.map +1 -1
  773. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js.map +1 -1
  774. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js +11 -7
  775. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js.map +1 -1
  776. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js +8 -14
  777. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js.map +1 -1
  778. package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js.map +1 -1
  779. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.js.map +1 -1
  780. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.js +3 -1
  781. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.js.map +1 -1
  782. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js.map +1 -1
  783. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.js +6 -6
  784. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.js.map +1 -1
  785. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWide.js.map +1 -1
  786. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.js.map +1 -1
  787. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.js.map +1 -1
  788. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js +30 -26
  789. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
  790. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js.map +1 -1
  791. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js +10 -12
  792. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js.map +1 -1
  793. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpViewRadioGroup.js.map +1 -1
  794. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.js +3 -1
  795. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.js.map +1 -1
  796. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.js.map +1 -1
  797. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.js +12 -12
  798. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.js.map +1 -1
  799. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/dataTypes.js +2 -2
  800. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/dataTypes.js.map +1 -1
  801. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/dummyData.js.map +1 -1
  802. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataFromInfraEnvField.js.map +1 -1
  803. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js.map +1 -1
  804. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/fromInfraEnv.js.map +1 -1
  805. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.js +1 -1
  806. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.js.map +1 -1
  807. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.js.map +1 -1
  808. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/protocolVersion.js.map +1 -1
  809. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js.map +1 -1
  810. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js.map +1 -1
  811. package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js.map +1 -1
  812. package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js.map +1 -1
  813. package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusVarieties.js.map +1 -1
  814. package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js +1 -5
  815. package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js.map +1 -1
  816. package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.js +5 -4
  817. package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.js.map +1 -1
  818. package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +4 -3
  819. package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js.map +1 -1
  820. package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
  821. package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js +4 -2
  822. package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
  823. package/build/cjs/ocm/components/clusterDetail/getProgressBarAlerts.js.map +1 -1
  824. package/build/cjs/ocm/components/clusterDetail/utils.js.map +1 -1
  825. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +18 -11
  826. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
  827. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +11 -15
  828. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
  829. package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js.map +1 -1
  830. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContext.js.map +1 -1
  831. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +14 -28
  832. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
  833. package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js +6 -21
  834. package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js.map +1 -1
  835. package/build/cjs/ocm/components/clusterWizard/ClusterWizardNavigation.js.map +1 -1
  836. package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js.map +1 -1
  837. package/build/cjs/ocm/components/clusterWizard/CustomManifestStep.js +1 -1
  838. package/build/cjs/ocm/components/clusterWizard/CustomManifestStep.js.map +1 -1
  839. package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js.map +1 -1
  840. package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js +0 -3
  841. package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js.map +1 -1
  842. package/build/cjs/ocm/components/clusterWizard/OpenShiftVersionsContext.js +40 -36
  843. package/build/cjs/ocm/components/clusterWizard/OpenShiftVersionsContext.js.map +1 -1
  844. package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
  845. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js.map +1 -1
  846. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js.map +1 -1
  847. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.test.js +3 -3
  848. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.test.js.map +1 -1
  849. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
  850. package/build/cjs/ocm/components/clusterWizard/StaticIp.js +1 -1
  851. package/build/cjs/ocm/components/clusterWizard/StaticIp.js.map +1 -1
  852. package/build/cjs/ocm/components/clusterWizard/constants.js +1 -1
  853. package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
  854. package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js +1 -45
  855. package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -1
  856. package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js +5 -40
  857. package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js.map +1 -1
  858. package/build/cjs/ocm/components/clusterWizard/index.js +1 -3
  859. package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
  860. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +9 -4
  861. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
  862. package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
  863. package/build/cjs/ocm/components/clusters/ClusterStatus.js +13 -7
  864. package/build/cjs/ocm/components/clusters/ClusterStatus.js.map +1 -1
  865. package/build/cjs/ocm/components/clusters/ClusterToolbar.js +1 -1
  866. package/build/cjs/ocm/components/clusters/ClusterToolbar.js.map +1 -1
  867. package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
  868. package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
  869. package/build/cjs/ocm/components/clusters/ClustersTable.js +1 -1
  870. package/build/cjs/ocm/components/clusters/ClustersTable.js.map +1 -1
  871. package/build/cjs/ocm/components/clusters/clusterPolling.js.map +1 -1
  872. package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js.map +1 -1
  873. package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +7 -6
  874. package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
  875. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +15 -0
  876. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
  877. package/build/cjs/ocm/components/fetching/fetchEvents.js.map +1 -1
  878. package/build/cjs/ocm/components/hosts/HostRequirementsContent.js.map +1 -1
  879. package/build/cjs/ocm/components/hosts/HostsStorageTable.js.map +1 -1
  880. package/build/cjs/ocm/components/hosts/ModalDialogsContext.js.map +1 -1
  881. package/build/cjs/ocm/components/hosts/StorageAlerts.js.map +1 -1
  882. package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipForm.js +2 -1
  883. package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipForm.js.map +1 -1
  884. package/build/cjs/ocm/components/hosts/use-hosts-table.js.map +1 -1
  885. package/build/cjs/ocm/components/hosts/utils.js.map +1 -1
  886. package/build/cjs/ocm/components/ui/AssistedUILibVersion.js.map +1 -1
  887. package/build/cjs/ocm/components/ui/InfoLinkWithModal.js +2 -2
  888. package/build/cjs/ocm/components/ui/InfoLinkWithModal.js.map +1 -1
  889. package/build/cjs/ocm/config/constants.js.map +1 -1
  890. package/build/cjs/ocm/hooks/useClusterCustomManifests.js.map +1 -1
  891. package/build/cjs/ocm/hooks/useClusterPreflightRequirements.js.map +1 -1
  892. package/build/cjs/ocm/hooks/useInfraEnv.js.map +1 -1
  893. package/build/cjs/ocm/hooks/useInfraEnvHosts.js.map +1 -1
  894. package/build/cjs/ocm/hooks/useInfraEnvId.js.map +1 -1
  895. package/build/cjs/ocm/hooks/useInfraEnvImageUrl.js.map +1 -1
  896. package/build/cjs/ocm/hooks/useInfraEnvIpxeImageUrl.js.map +1 -1
  897. package/build/cjs/ocm/hooks/useLateBinding.js.map +1 -1
  898. package/build/cjs/ocm/hooks/useManagedDomains.js.map +1 -1
  899. package/build/cjs/ocm/hooks/usePullSecret.js +31 -7
  900. package/build/cjs/ocm/hooks/usePullSecret.js.map +1 -1
  901. package/build/cjs/ocm/hooks/useSetClusterPermissions.js.map +1 -1
  902. package/build/cjs/ocm/hooks/useSupportLevelsAPI.js.map +1 -1
  903. package/build/cjs/ocm/hooks/useUISettings.js +0 -1
  904. package/build/cjs/ocm/hooks/useUISettings.js.map +1 -1
  905. package/build/cjs/ocm/hooks/useUsedClusterNames.js.map +1 -1
  906. package/build/cjs/ocm/sentry.js.map +1 -1
  907. package/build/cjs/ocm/services/ClusterDetailsService.js +19 -4
  908. package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
  909. package/build/cjs/ocm/services/ClustersService.js +3 -9
  910. package/build/cjs/ocm/services/ClustersService.js.map +1 -1
  911. package/build/cjs/ocm/services/CpuArchitectureService.js.map +1 -1
  912. package/build/cjs/ocm/services/Day2ClusterService.js +2 -2
  913. package/build/cjs/ocm/services/Day2ClusterService.js.map +1 -1
  914. package/build/cjs/ocm/services/HostDiscoveryService.js.map +1 -1
  915. package/build/cjs/ocm/services/HostsService.js.map +1 -1
  916. package/build/cjs/ocm/services/InfraEnvIdsCacheService.js.map +1 -1
  917. package/build/cjs/ocm/services/InfraEnvsService.js.map +1 -1
  918. package/build/cjs/ocm/services/types.js +1 -1
  919. package/build/cjs/ocm/services/types.js.map +1 -1
  920. package/build/cjs/ocm/store/slices/clusters/selectors.js +1 -1
  921. package/build/cjs/ocm/store/slices/clusters/selectors.js.map +1 -1
  922. package/build/cjs/ocm/store/slices/clusters/slice.js +1 -1
  923. package/build/cjs/ocm/store/slices/clusters/slice.js.map +1 -1
  924. package/build/cjs/ocm/store/slices/current-cluster/selectors.js.map +1 -1
  925. package/build/cjs/ocm/store/slices/current-cluster/slice.js +1 -1
  926. package/build/cjs/ocm/store/slices/current-cluster/slice.js.map +1 -1
  927. package/build/cjs/ocm/store/slices/current-user/slice.js.map +1 -1
  928. package/build/cjs/ocm/store/slices/feature-flags/slice.js +1 -1
  929. package/build/cjs/ocm/store/slices/feature-flags/slice.js.map +1 -1
  930. package/build/cjs/ocm/store/slices/infra-envs/thunks.js.map +1 -1
  931. package/lib/cim/components/Agent/BMCForm.tsx +3 -3
  932. package/lib/cim/components/Agent/BMHStatusInfo.tsx +12 -4
  933. package/lib/cim/components/Agent/MinimalHWRequirements.tsx +4 -2
  934. package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.tsx +8 -18
  935. package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.tsx +9 -22
  936. package/lib/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.tsx +17 -15
  937. package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapForm.tsx +1 -1
  938. package/lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.tsx +23 -21
  939. package/lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.tsx +1 -3
  940. package/lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.tsx +17 -15
  941. package/lib/cim/components/ClusterDeployment/networkConfigurationValidation.ts +1 -1
  942. package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +19 -15
  943. package/lib/cim/components/Hypershift/DetailsPage/ConditionsTable.tsx +13 -7
  944. package/lib/cim/components/Hypershift/DetailsPage/HostedClusterProgress.tsx +8 -4
  945. package/lib/cim/components/Hypershift/DetailsPage/NodePoolsProgress.tsx +6 -2
  946. package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.tsx +4 -14
  947. package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.tsx +2 -2
  948. package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.tsx +56 -22
  949. package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.tsx +2 -13
  950. package/lib/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.tsx +8 -8
  951. package/lib/cim/components/Hypershift/utils/status.tsx +20 -9
  952. package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +11 -4
  953. package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +10 -8
  954. package/lib/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.tsx +4 -6
  955. package/lib/cim/components/YamlPreview/YamlPreview.tsx +31 -26
  956. package/lib/cim/components/helpers/agentStatus.tsx +7 -3
  957. package/lib/cim/components/helpers/versions.ts +51 -34
  958. package/lib/cim/components/modals/CimConfiguration/CimConfigurationFormFields.tsx +7 -5
  959. package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.tsx +13 -6
  960. package/lib/cim/components/modals/CimConfiguration/persist.ts +11 -0
  961. package/lib/cim/components/modals/CimConfiguration/types.ts +1 -1
  962. package/lib/cim/components/modals/EditProxyModal.tsx +6 -3
  963. package/lib/cim/components/modals/EditPullSecretModal.tsx +1 -1
  964. package/lib/cim/components/modals/EditSSHKeyModal.tsx +8 -6
  965. package/lib/cim/components/modals/MassApproveAgentModal.tsx +6 -5
  966. package/lib/cim/components/modals/MassDeleteAgentModal.tsx +18 -11
  967. package/lib/common/api/assisted-service/ClustersAPI.ts +0 -6
  968. package/lib/common/components/AddHosts/AddHostsContext.tsx +1 -1
  969. package/lib/common/components/AlertsContextProvider.tsx +1 -1
  970. package/lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx +9 -8
  971. package/lib/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.tsx +5 -2
  972. package/lib/common/components/clusterConfiguration/ProxyFields.tsx +5 -0
  973. package/lib/common/components/clusterConfiguration/SecurityFields.tsx +1 -1
  974. package/lib/common/components/clusterDetail/FinalizingProgress.tsx +21 -10
  975. package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +11 -5
  976. package/lib/common/components/clusterDetail/ProgressBarTexts.tsx +17 -5
  977. package/lib/common/components/clusterWizard/ClusterWizardStepHeader.tsx +4 -2
  978. package/lib/common/components/clusterWizard/ReviewValidations.tsx +15 -6
  979. package/lib/common/components/clusterWizard/clusterDetailsValidation.ts +21 -11
  980. package/lib/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.tsx +1 -1
  981. package/lib/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.tsx +5 -6
  982. package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +2 -4
  983. package/lib/common/components/clusters/PullSecret.tsx +40 -28
  984. package/lib/common/components/hosts/AITable.tsx +1 -1
  985. package/lib/common/components/hosts/AdditionalNTPSourcesDialog.tsx +3 -6
  986. package/lib/common/components/hosts/EditHostForm.tsx +2 -8
  987. package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +17 -7
  988. package/lib/common/components/hosts/HostStatus.tsx +18 -5
  989. package/lib/common/components/hosts/HostValidationGroups.tsx +9 -5
  990. package/lib/common/components/hosts/Hostname.tsx +7 -4
  991. package/lib/common/components/hosts/HostsTableDetailContext.tsx +3 -6
  992. package/lib/common/components/hosts/MassChangeHostnameModal.tsx +15 -10
  993. package/lib/common/components/hosts/TableToolbar.tsx +1 -1
  994. package/lib/common/components/hosts/VMRebootConfigurationInfo.tsx +12 -3
  995. package/lib/common/components/hosts/status.tsx +46 -13
  996. package/lib/common/components/storage/DisksTable.tsx +18 -5
  997. package/lib/common/components/storage/StorageUtils.tsx +6 -4
  998. package/lib/common/components/ui/CustomToolbarFilter.tsx +6 -4
  999. package/lib/common/components/ui/GridGap.tsx +3 -1
  1000. package/lib/common/components/ui/OpenShiftSelectWithSearch.tsx +22 -43
  1001. package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +41 -57
  1002. package/lib/common/components/ui/OpenShiftVersionModal.tsx +9 -11
  1003. package/lib/common/components/ui/StaticTextField.tsx +9 -3
  1004. package/lib/common/components/ui/Toolbar/ToolbarSecondaryGroup.tsx +1 -1
  1005. package/lib/common/components/ui/WizardFooter.tsx +1 -1
  1006. package/lib/common/components/ui/WizardNavItem.tsx +4 -7
  1007. package/lib/common/components/ui/formik/CertificatesUploadField.tsx +1 -1
  1008. package/lib/common/components/ui/formik/InputField.tsx +3 -1
  1009. package/lib/common/components/ui/formik/LabelField.tsx +119 -79
  1010. package/lib/common/components/ui/formik/NumberInputField.tsx +1 -1
  1011. package/lib/common/components/ui/formik/PullSecretField.tsx +0 -1
  1012. package/lib/common/components/ui/formik/RemovableField.tsx +8 -4
  1013. package/lib/common/components/ui/formik/RichInputField.tsx +10 -6
  1014. package/lib/common/components/ui/formik/SelectFieldWithSearch.tsx +1 -1
  1015. package/lib/common/components/ui/formik/TextAreaField.tsx +6 -3
  1016. package/lib/common/components/ui/formik/UploadField.tsx +7 -6
  1017. package/lib/common/components/ui/formik/index.tsx +0 -2
  1018. package/lib/common/components/ui/index.ts +0 -2
  1019. package/lib/common/components/ui/utils.ts +7 -0
  1020. package/lib/common/config/constants.ts +2 -3
  1021. package/lib/common/config/docs_links.ts +3 -1
  1022. package/lib/common/features/featureGate.tsx +5 -3
  1023. package/lib/common/index.ts +2 -0
  1024. package/lib/common/types/index.ts +1 -0
  1025. package/lib/common/types/networkType.ts +37 -0
  1026. package/lib/common/types/ui-settings.ts +0 -1
  1027. package/lib/common/utils.ts +5 -7
  1028. package/lib/common/{components/ui/formik → validationSchemas}/_validationSchemas.test.ts +51 -39
  1029. package/lib/common/validationSchemas/addressValidation.tsx +354 -0
  1030. package/lib/common/validationSchemas/clusterDetailsValidation.tsx +168 -0
  1031. package/lib/common/{components/ui/formik → validationSchemas}/constants.tsx +3 -6
  1032. package/lib/common/validationSchemas/hostnameValidation.tsx +46 -0
  1033. package/lib/common/validationSchemas/index.tsx +11 -0
  1034. package/lib/common/validationSchemas/networkingValidation.tsx +113 -0
  1035. package/lib/common/validationSchemas/ntpValidation.tsx +36 -0
  1036. package/lib/common/validationSchemas/proxyValidation.tsx +67 -0
  1037. package/lib/common/validationSchemas/pullSecretValidation.tsx +23 -0
  1038. package/lib/common/validationSchemas/regexes.tsx +22 -0
  1039. package/lib/common/validationSchemas/sshValidation.tsx +46 -0
  1040. package/lib/common/validationSchemas/utils.tsx +36 -0
  1041. package/lib/ocm/components/AddHosts/day2Wizard/Day2StaticIP.tsx +7 -2
  1042. package/lib/ocm/components/Routes.tsx +1 -6
  1043. package/lib/ocm/components/SentryErrorMonitorContextProvider.tsx +3 -1
  1044. package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +20 -25
  1045. package/lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx +17 -15
  1046. package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +21 -28
  1047. package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +11 -5
  1048. package/lib/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.tsx +8 -7
  1049. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx +163 -19
  1050. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.tsx +4 -2
  1051. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.tsx +5 -1
  1052. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.tsx +31 -31
  1053. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +7 -10
  1054. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +15 -5
  1055. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.tsx +142 -0
  1056. package/lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts +14 -16
  1057. package/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx +3 -0
  1058. package/lib/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.tsx +6 -3
  1059. package/lib/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.tsx +3 -7
  1060. package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +28 -15
  1061. package/lib/ocm/components/clusterConfiguration/review/ReviewStep.tsx +10 -12
  1062. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.tsx +3 -1
  1063. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.tsx +11 -6
  1064. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +33 -29
  1065. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.tsx +20 -15
  1066. package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.tsx +5 -1
  1067. package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.tsx +33 -28
  1068. package/lib/ocm/components/clusterConfiguration/staticIp/components/propTypes.ts +1 -1
  1069. package/lib/ocm/components/clusterDetail/ClusterProperties.tsx +2 -6
  1070. package/lib/ocm/components/clusterDetail/HostInventoryExpandable.tsx +11 -5
  1071. package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +8 -5
  1072. package/lib/ocm/components/clusterDetail/ResetClusterModal.tsx +6 -3
  1073. package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +22 -15
  1074. package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +17 -22
  1075. package/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx +0 -5
  1076. package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +16 -47
  1077. package/lib/ocm/components/clusterWizard/ClusterWizardFooter.tsx +5 -26
  1078. package/lib/ocm/components/clusterWizard/NewClusterWizard.tsx +1 -3
  1079. package/lib/ocm/components/clusterWizard/OpenShiftVersionsContext.tsx +22 -18
  1080. package/lib/ocm/components/clusterWizard/constants.ts +1 -1
  1081. package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +1 -52
  1082. package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +7 -39
  1083. package/lib/ocm/components/clusterWizard/index.ts +0 -1
  1084. package/lib/ocm/components/clusterWizard/wizardTransition.ts +10 -6
  1085. package/lib/ocm/components/clusters/ClusterStatus.tsx +30 -8
  1086. package/lib/ocm/components/clusters/ClusterToolbar.tsx +4 -1
  1087. package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +12 -8
  1088. package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +17 -0
  1089. package/lib/ocm/components/hosts/ModalDialogsContext.tsx +1 -1
  1090. package/lib/ocm/components/hosts/UpdateDay2ApiVipForm.tsx +3 -7
  1091. package/lib/ocm/components/ui/AssistedUILibVersion.tsx +1 -1
  1092. package/lib/ocm/components/ui/InfoLinkWithModal.tsx +4 -2
  1093. package/lib/ocm/hooks/usePullSecret.ts +33 -8
  1094. package/lib/ocm/hooks/useUISettings.ts +0 -1
  1095. package/lib/ocm/services/ClusterDetailsService.ts +23 -4
  1096. package/lib/ocm/services/ClustersService.ts +1 -7
  1097. package/lib/ocm/services/types.ts +1 -2
  1098. package/lib/ocm/store/slices/clusters/selectors.tsx +6 -4
  1099. package/package.json +19 -23
  1100. package/build/@types/common/components/ui/UiIcon.d.ts +0 -11
  1101. package/build/@types/common/components/ui/UiIcon.d.ts.map +0 -1
  1102. package/build/@types/common/components/ui/formik/constants.d.ts.map +0 -1
  1103. package/build/@types/common/components/ui/formik/validationSchemas.d.ts +0 -50
  1104. package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +0 -1
  1105. package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts +0 -8
  1106. package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts.map +0 -1
  1107. package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts +0 -4
  1108. package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts.map +0 -1
  1109. package/build/cjs/common/components/ui/UiIcon.js +0 -11
  1110. package/build/cjs/common/components/ui/UiIcon.js.map +0 -1
  1111. package/build/cjs/common/components/ui/formik/constants.js.map +0 -1
  1112. package/build/cjs/common/components/ui/formik/validationSchemas.js +0 -553
  1113. package/build/cjs/common/components/ui/formik/validationSchemas.js.map +0 -1
  1114. package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js +0 -58
  1115. package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js.map +0 -1
  1116. package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js +0 -128
  1117. package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js.map +0 -1
  1118. package/lib/@types/global.d.ts +0 -1
  1119. package/lib/common/components/ui/UiIcon.tsx +0 -21
  1120. package/lib/common/components/ui/formik/validationSchemas.ts +0 -803
  1121. package/lib/ocm/components/clusterConfiguration/CustomManifestCheckbox.tsx +0 -114
  1122. package/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx +0 -201
@@ -10,7 +10,7 @@ import {
10
10
  nameValidationSchema,
11
11
  noProxyValidationSchema,
12
12
  pullSecretValidationSchema,
13
- } from './validationSchemas';
13
+ } from './..';
14
14
  import { TFunction } from 'react-i18next';
15
15
  import { CLUSTER_NAME_MAX_LENGTH } from './constants';
16
16
 
@@ -32,7 +32,7 @@ describe('validationSchemas', () => {
32
32
 
33
33
  await Promise.all(
34
34
  valid.map((value) =>
35
- noProxyValidationSchema
35
+ noProxyValidationSchema(t)
36
36
  .validate(value)
37
37
  .catch(() => expect(value).toBe('was rejected but is valid')),
38
38
  ),
@@ -45,10 +45,12 @@ describe('validationSchemas', () => {
45
45
  let counter = 0;
46
46
  await Promise.all(
47
47
  invalid.map((value) =>
48
- noProxyValidationSchema.validate(value).then(
49
- () => expect(value).toBe('should be rejected since it is invalid'),
50
- () => counter++,
51
- ),
48
+ noProxyValidationSchema(t)
49
+ .validate(value)
50
+ .then(
51
+ () => expect(value).toBe('should be rejected since it is invalid'),
52
+ () => counter++,
53
+ ),
52
54
  ),
53
55
  );
54
56
 
@@ -106,7 +108,7 @@ describe('validationSchemas', () => {
106
108
 
107
109
  await Promise.all(
108
110
  valid.map((value) =>
109
- pullSecretValidationSchema
111
+ pullSecretValidationSchema(t)
110
112
  .validate(value)
111
113
  .catch((msg: string) => expect(value).toBe(`was rejected but is valid: ${msg}`)),
112
114
  ),
@@ -115,10 +117,12 @@ describe('validationSchemas', () => {
115
117
  let counter = 0;
116
118
  await Promise.all(
117
119
  invalid.map((value) =>
118
- pullSecretValidationSchema.validate(value).then(
119
- () => expect(value).toBe('should be rejected since it is invalid'),
120
- () => counter++,
121
- ),
120
+ pullSecretValidationSchema(t)
121
+ .validate(value)
122
+ .then(
123
+ () => expect(value).toBe('should be rejected since it is invalid'),
124
+ () => counter++,
125
+ ),
122
126
  ),
123
127
  );
124
128
 
@@ -147,7 +151,7 @@ describe('validationSchemas', () => {
147
151
 
148
152
  await Promise.all(
149
153
  valid.map((value) =>
150
- ipValidationSchema
154
+ ipValidationSchema(t)
151
155
  .validate(value)
152
156
  .catch((msg: string) => expect(value).toBe(`was rejected but is valid: ${msg}`)),
153
157
  ),
@@ -156,10 +160,12 @@ describe('validationSchemas', () => {
156
160
  let counter = 0;
157
161
  await Promise.all(
158
162
  invalid.map((value) =>
159
- ipValidationSchema.validate(value).then(
160
- () => expect(value).toBe('should be rejected since it is invalid'),
161
- () => counter++,
162
- ),
163
+ ipValidationSchema(t)
164
+ .validate(value)
165
+ .then(
166
+ () => expect(value).toBe('should be rejected since it is invalid'),
167
+ () => counter++,
168
+ ),
163
169
  ),
164
170
  );
165
171
 
@@ -182,7 +188,7 @@ describe('validationSchemas', () => {
182
188
 
183
189
  await Promise.all(
184
190
  valid.map((value) =>
185
- macAddressValidationSchema
191
+ macAddressValidationSchema(t)
186
192
  .validate(value)
187
193
  .catch((msg: string) => expect(value).toBe(`was rejected but is valid: ${msg}`)),
188
194
  ),
@@ -191,10 +197,12 @@ describe('validationSchemas', () => {
191
197
  let counter = 0;
192
198
  await Promise.all(
193
199
  invalid.map((value) =>
194
- macAddressValidationSchema.validate(value).then(
195
- () => expect(value).toBe('should be rejected since it is invalid'),
196
- () => counter++,
197
- ),
200
+ macAddressValidationSchema(t)
201
+ .validate(value)
202
+ .then(
203
+ () => expect(value).toBe('should be rejected since it is invalid'),
204
+ () => counter++,
205
+ ),
198
206
  ),
199
207
  );
200
208
 
@@ -211,7 +219,7 @@ describe('validationSchemas', () => {
211
219
  '192.0.0.0/8' /* Overlap */,
212
220
  ];
213
221
 
214
- const validationSchema = ipBlockValidationSchema(['192.168.1.0']);
222
+ const validationSchema = ipBlockValidationSchema(['192.168.1.0'], t);
215
223
  await Promise.all(
216
224
  valid.map((value) =>
217
225
  validationSchema
@@ -249,7 +257,7 @@ describe('validationSchemas', () => {
249
257
 
250
258
  await Promise.all(
251
259
  valid.map((value) =>
252
- dnsNameValidationSchema
260
+ dnsNameValidationSchema(t)
253
261
  .validate(value)
254
262
  .catch((msg: string) => expect(value).toBe(`was rejected but is valid: ${msg}`)),
255
263
  ),
@@ -258,10 +266,12 @@ describe('validationSchemas', () => {
258
266
  let counter = 0;
259
267
  await Promise.all(
260
268
  invalid.map((value) =>
261
- dnsNameValidationSchema.validate(value).then(
262
- () => expect(value).toBe('should be rejected since it is invalid'),
263
- () => counter++,
264
- ),
269
+ dnsNameValidationSchema(t)
270
+ .validate(value)
271
+ .then(
272
+ () => expect(value).toBe('should be rejected since it is invalid'),
273
+ () => counter++,
274
+ ),
265
275
  ),
266
276
  );
267
277
 
@@ -272,7 +282,7 @@ describe('validationSchemas', () => {
272
282
  const valid = [16, 25];
273
283
  const invalid = ['', 'a', 0, 1, 33, 15, 26];
274
284
 
275
- const validationSchema = hostPrefixValidationSchema('192.168.0.0/16');
285
+ const validationSchema = hostPrefixValidationSchema('192.168.0.0/16', t);
276
286
  await Promise.all(
277
287
  valid.map((value) =>
278
288
  validationSchema
@@ -298,7 +308,7 @@ describe('validationSchemas', () => {
298
308
  const valid = [8, 32, 128];
299
309
  const invalid = ['', 'a', 0, 1, 7, 129];
300
310
 
301
- const validationSchema = hostPrefixValidationSchema('2002::1234:abcd:ffff:c0a8:101/64');
311
+ const validationSchema = hostPrefixValidationSchema('2002::1234:abcd:ffff:c0a8:101/64', t);
302
312
  await Promise.all(
303
313
  valid.map((value) =>
304
314
  validationSchema
@@ -330,7 +340,7 @@ describe('validationSchemas', () => {
330
340
 
331
341
  await Promise.all(
332
342
  valid.map((value) =>
333
- baseDomainValidationSchema
343
+ baseDomainValidationSchema(t)
334
344
  .validate(value)
335
345
  .catch(() => expect(value).toBe(`was rejected but is valid`)),
336
346
  ),
@@ -339,10 +349,12 @@ describe('validationSchemas', () => {
339
349
  let counter = 0;
340
350
  await Promise.all(
341
351
  invalid.map((value) =>
342
- baseDomainValidationSchema.validate(value).then(
343
- () => expect(value).toBe('should be rejected since it is invalid'),
344
- () => counter++,
345
- ),
352
+ baseDomainValidationSchema(t)
353
+ .validate(value)
354
+ .then(
355
+ () => expect(value).toBe('should be rejected since it is invalid'),
356
+ () => counter++,
357
+ ),
346
358
  ),
347
359
  );
348
360
 
@@ -351,7 +363,7 @@ describe('validationSchemas', () => {
351
363
 
352
364
  describe('dualStackValidationSchema', () => {
353
365
  describe('OCP < 4.12 (legacy behavior)', () => {
354
- const schema = dualStackValidationSchema('machine networks', '4.11');
366
+ const schema = dualStackValidationSchema('machine networks', t, '4.11');
355
367
 
356
368
  test('validates IPv4 as primary and IPv6 as secondary', async () => {
357
369
  const validValues = [[{ cidr: '192.168.1.0/24' }, { cidr: '2001:db8::/64' }]];
@@ -373,7 +385,7 @@ describe('validationSchemas', () => {
373
385
  });
374
386
 
375
387
  describe('OCP >= 4.12 (new behavior)', () => {
376
- const schema = dualStackValidationSchema('machine networks', '4.12');
388
+ const schema = dualStackValidationSchema('machine networks', t, '4.12');
377
389
 
378
390
  test('validates IPv4 as primary and IPv6 as secondary', async () => {
379
391
  const validValues = [[{ cidr: '192.168.1.0/24' }, { cidr: '2001:db8::/64' }]];
@@ -393,7 +405,7 @@ describe('validationSchemas', () => {
393
405
  });
394
406
 
395
407
  describe('no version specified (defaults to legacy behavior)', () => {
396
- const schema = dualStackValidationSchema('machine networks');
408
+ const schema = dualStackValidationSchema('machine networks', t);
397
409
 
398
410
  test('validates IPv4 as primary and IPv6 as secondary', async () => {
399
411
  const validValues = [[{ cidr: '192.168.1.0/24' }, { cidr: '2001:db8::/64' }]];
@@ -416,7 +428,7 @@ describe('validationSchemas', () => {
416
428
 
417
429
  describe('edge cases', () => {
418
430
  test('validates maximum 2 networks', async () => {
419
- const schema = dualStackValidationSchema('machine networks', '4.12');
431
+ const schema = dualStackValidationSchema('machine networks', t, '4.12');
420
432
  const invalidValue = [
421
433
  { cidr: '192.168.1.0/24' },
422
434
  { cidr: '2001:db8::/64' },
@@ -424,7 +436,7 @@ describe('validationSchemas', () => {
424
436
  ];
425
437
 
426
438
  await expect(schema.validate(invalidValue)).rejects.toThrow(
427
- 'Maximum number of machine networks subnets in dual stack is 2',
439
+ 'ai:Maximum number of {{field}} subnets in dual stack is 2',
428
440
  );
429
441
  });
430
442
  });
@@ -0,0 +1,354 @@
1
+ import * as Yup from 'yup';
2
+ import { Address4, Address6 } from 'ip-address';
3
+ import isCIDR from 'is-cidr';
4
+ import { isInSubnet } from 'is-in-subnet';
5
+
6
+ import { getAddress } from '../components/ui/formik/utils';
7
+ import { getSubnet } from '../components/clusterConfiguration/utils';
8
+ import { HostSubnets, NetworkConfigurationValues } from '../types';
9
+ import { IP_V4_ZERO, IP_V6_ZERO, MAC_REGEX } from './regexes';
10
+ import { getArrayIndexFromPath, isIPorDN, isIPv4Address, isIPv6Address } from './utils';
11
+ import { NO_SUBNET_SET } from '../config';
12
+ import { overlap } from 'cidr-tools';
13
+ import parseUrl from 'parse-url';
14
+ import { TFunction } from 'i18next';
15
+
16
+ export const ipValidationSchema = (t: TFunction) =>
17
+ Yup.string().test(
18
+ 'ip-validation',
19
+ t('ai:Not a valid IP address'),
20
+ (value?: string) => Address4.isValid(value || '') || Address6.isValid(value || ''),
21
+ );
22
+
23
+ export const ipNoSuffixValidationSchema = (t: TFunction) =>
24
+ Yup.string().test('ip-validation-no-suffix', t('ai:Not a valid IP address'), (value?: string) => {
25
+ if (!value) return true;
26
+ const address = getAddress(value || '');
27
+ return !!address && address.address === address.addressMinusSuffix;
28
+ });
29
+
30
+ export const macAddressValidationSchema = (t: TFunction) =>
31
+ Yup.string().matches(MAC_REGEX, {
32
+ message: (value) => t('ai:Value "{{value}}" is not valid MAC address.', { value }),
33
+ excludeEmptyString: true,
34
+ });
35
+
36
+ export const vipRangeValidationSchema = (
37
+ hostSubnets: HostSubnets,
38
+ { machineNetworks }: NetworkConfigurationValues,
39
+ allowSuffix: boolean,
40
+ t: TFunction,
41
+ ) =>
42
+ Yup.string().test('vip-validation', t('ai:IP Address is outside of selected subnet'), (value) => {
43
+ if (!value) {
44
+ return true;
45
+ }
46
+
47
+ try {
48
+ const validator = allowSuffix ? ipValidationSchema : ipNoSuffixValidationSchema;
49
+ validator(t).validateSync(value);
50
+ } catch (err) {
51
+ return true;
52
+ }
53
+ // Find host subnets that match the selected machine networks
54
+ const cidrs = machineNetworks?.map((network) => network.cidr) ?? [];
55
+ const matchingSubnets = hostSubnets.filter((hostSubnet) => cidrs.includes(hostSubnet.subnet));
56
+
57
+ for (const hostSubnet of matchingSubnets) {
58
+ if (hostSubnet?.subnet) {
59
+ // Workaround for bug in CIM backend. hostIDs are empty
60
+ if (!hostSubnet.hostIDs.length) {
61
+ return true;
62
+ } else if (isInSubnet(value, hostSubnet.subnet)) {
63
+ return true;
64
+ }
65
+ }
66
+ }
67
+ return false;
68
+ });
69
+
70
+ const vipBroadcastValidationSchema = (
71
+ { machineNetworks }: NetworkConfigurationValues,
72
+ t: TFunction,
73
+ ) =>
74
+ Yup.string().test(
75
+ 'vip-no-broadcast',
76
+ t('ai:The IP address cannot be a network or broadcast address'),
77
+ function (value?: string) {
78
+ if (!value) {
79
+ return true;
80
+ }
81
+
82
+ const vipAddress = getAddress(value)?.address;
83
+ if (!vipAddress) {
84
+ return true;
85
+ }
86
+
87
+ const index = getArrayIndexFromPath(this.path || '');
88
+ const machineNetworkCidr = machineNetworks?.[index]?.cidr ?? machineNetworks?.[0]?.cidr ?? '';
89
+ if (!machineNetworkCidr) {
90
+ return true;
91
+ }
92
+
93
+ const machineNetwork = getAddress(machineNetworkCidr);
94
+ if (!machineNetwork) {
95
+ return true;
96
+ }
97
+
98
+ const machineNetworkBroadcast = machineNetwork.endAddress().address;
99
+ const machineNetworkAddress = machineNetwork.startAddress().address;
100
+
101
+ return vipAddress !== machineNetworkBroadcast && vipAddress !== machineNetworkAddress;
102
+ },
103
+ );
104
+
105
+ export const hostSubnetValidationSchema = Yup.string().when(['managedNetworkingType'], {
106
+ is: (managedNetworkingType: NetworkConfigurationValues['managedNetworkingType']) =>
107
+ managedNetworkingType === 'clusterManaged',
108
+ then: () => Yup.string().notOneOf([NO_SUBNET_SET], 'Host subnet must be selected.'),
109
+ });
110
+
111
+ export const vipNoSuffixValidationSchema = (
112
+ hostSubnets: HostSubnets,
113
+ values: NetworkConfigurationValues,
114
+ t: TFunction,
115
+ ) =>
116
+ Yup.mixed().when(['vipDhcpAllocation', 'managedNetworkingType'], {
117
+ is: (
118
+ vipDhcpAllocation: NetworkConfigurationValues['vipDhcpAllocation'],
119
+ managedNetworkingType: NetworkConfigurationValues['managedNetworkingType'],
120
+ ) => !vipDhcpAllocation && managedNetworkingType !== 'userManaged',
121
+ then: () => {
122
+ // Per-item schema for VIPs (apiVips[*].ip / ingressVips[*].ip)
123
+ // 1) Require value once set
124
+ // 2) Validate IP without suffix
125
+ // 3) Ensure VIP family matches machineNetworks[idx] family
126
+ // 4) Validate range vs selected subnets
127
+ // 5) No broadcast/network address
128
+ // 6) Uniqueness across API/Ingress
129
+ const vipFamilyMatchSchema = Yup.string().test(
130
+ 'vip-family-match-machine-network',
131
+ t('ai:IP family must match the corresponding machine network family.'),
132
+ function (value?: string) {
133
+ if (!value) {
134
+ return true;
135
+ }
136
+ const index = getArrayIndexFromPath(this.path || '');
137
+ if (Number.isNaN(index)) {
138
+ return true;
139
+ }
140
+ const cidr = values.machineNetworks?.[index]?.cidr || '';
141
+ const mnIsV4 = isCIDR.v4(cidr);
142
+ const mnIsV6 = isCIDR.v6(cidr);
143
+ // If machine network at index is not selected/valid, don't block validation here
144
+ if (!mnIsV4 && !mnIsV6) {
145
+ return true;
146
+ }
147
+ const ipIsV4 = isIPv4Address(value);
148
+ const ipIsV6 = isIPv6Address(value);
149
+ if (!ipIsV4 && !ipIsV6) {
150
+ return true;
151
+ }
152
+ return mnIsV4 ? ipIsV4 : ipIsV6;
153
+ },
154
+ );
155
+ // Ensure API and Ingress VIPs at the same index are not the same
156
+ const vipUniqueSchema = Yup.string().test('vip-uniqueness', function (value?: string) {
157
+ if (!value) {
158
+ return true;
159
+ }
160
+ const index = getArrayIndexFromPath(this.path || '');
161
+ if (Number.isNaN(index)) {
162
+ return true;
163
+ }
164
+ const apiVip = values.apiVips?.[index]?.ip;
165
+ const ingressVip = values.ingressVips?.[index]?.ip;
166
+ if (!apiVip || !ingressVip) {
167
+ return true;
168
+ }
169
+ if (apiVip === ingressVip) {
170
+ return this.createError({
171
+ message:
172
+ index === 0
173
+ ? t('ai:The primary Ingress and API IP addresses cannot be the same.')
174
+ : t('ai:The secondary Ingress and API IP addresses cannot be the same.'),
175
+ });
176
+ }
177
+ return true;
178
+ });
179
+ const requiredField = (message: string) =>
180
+ Yup.string().test('required-field', message, function (value?: string) {
181
+ const index = getArrayIndexFromPath(this.path || '');
182
+ const api1 = (values.apiVips?.[1]?.ip ?? '').toString().trim();
183
+ const ingress1 = (values.ingressVips?.[1]?.ip ?? '').toString().trim();
184
+ // Dual-stack: secondary VIPs (index 1) are optional; skip required when both are empty
185
+ if (index === 1 && api1 === '' && ingress1 === '') return true;
186
+ return !!value;
187
+ });
188
+
189
+ return requiredField(t('ai:Required field'))
190
+ .concat(ipNoSuffixValidationSchema(t))
191
+ .concat(vipFamilyMatchSchema)
192
+ .concat(vipRangeValidationSchema(hostSubnets, values, false, t))
193
+ .concat(vipBroadcastValidationSchema(values, t))
194
+ .concat(vipUniqueSchema);
195
+ },
196
+ });
197
+
198
+ export const vipArrayValidationSchema = <T extends Yup.Maybe<Yup.AnyObject>>(
199
+ hostSubnets: HostSubnets,
200
+ values: NetworkConfigurationValues,
201
+ t: TFunction,
202
+ ) =>
203
+ values.managedNetworkingType === 'clusterManaged'
204
+ ? Yup.array<T>().of(
205
+ Yup.object({
206
+ clusterId: Yup.string(),
207
+ ip: vipNoSuffixValidationSchema(hostSubnets, values, t),
208
+ }),
209
+ )
210
+ : Yup.array<T>();
211
+
212
+ export const ipBlockValidationSchema = (
213
+ reservedCidrs: string | string[] | undefined,
214
+ t: TFunction,
215
+ ) =>
216
+ Yup.string()
217
+ .required('A value is required.')
218
+ .test(
219
+ 'valid-ip-address',
220
+ t(
221
+ 'ai:Invalid IP address block. Expected value is a network expressed in CIDR notation (IP/netmask). For example: 123.123.123.0/24, 2055:d7a::/116',
222
+ ),
223
+ (value?: string): boolean => !!value && (isCIDR.v4(value) || isCIDR.v6(value)),
224
+ )
225
+ .test(
226
+ 'valid-netmask',
227
+ t(
228
+ 'ai:IPv4 netmask must be between 1-25 and include at least 128 addresses.\nIPv6 netmask must be between 8-128 and include at least 256 addresses.',
229
+ ),
230
+ (value?: string) => {
231
+ const suffix = parseInt((value || '').split('/')[1]);
232
+
233
+ return (
234
+ (isCIDR.v4(value || '') && 0 < suffix && suffix < 26) ||
235
+ (isCIDR.v6(value || '') && 7 < suffix && suffix < 129)
236
+ );
237
+ },
238
+ )
239
+ .test(
240
+ 'cidr-is-not-unspecified',
241
+ t(
242
+ 'ai:The specified CIDR is invalid because its resulting routing prefix matches the unspecified address.',
243
+ ),
244
+ (cidr: string) => {
245
+ const ip = getSubnet(cidr);
246
+ if (ip === null) {
247
+ return false;
248
+ }
249
+
250
+ // The first address is used to represent the network
251
+ const startAddress = ip.startAddress().address;
252
+
253
+ return startAddress !== IP_V4_ZERO && startAddress !== IP_V6_ZERO;
254
+ },
255
+ )
256
+ .test(
257
+ 'valid-cidr-base-address',
258
+ ({ value }) => t('ai:{{value}} is not a valid CIDR', { value: value as string }),
259
+ (cidr: string) => {
260
+ const ip = getSubnet(cidr);
261
+ if (ip === null) {
262
+ return false;
263
+ }
264
+
265
+ const networkAddress = ip.startAddress().parsedAddress;
266
+ const ipAddress = ip.parsedAddress;
267
+ const result = ipAddress.every((part, idx) => part === networkAddress[idx]);
268
+
269
+ return result;
270
+ },
271
+ )
272
+ .test('cidrs-can-not-overlap', t('ai:Provided CIDRs can not overlap.'), (cidr: string) => {
273
+ try {
274
+ if (cidr && reservedCidrs && reservedCidrs.length > 0) {
275
+ return !overlap(cidr, reservedCidrs);
276
+ }
277
+ } catch {
278
+ return false;
279
+ }
280
+ // passing by default
281
+ return true;
282
+ });
283
+
284
+ export const hostPrefixValidationSchema = (
285
+ clusterNetworkCidr: NetworkConfigurationValues['clusterNetworkCidr'],
286
+ t: TFunction,
287
+ ) => {
288
+ const requiredText = t('ai:Required field');
289
+ const minMaxText = t(
290
+ 'ai:The host prefix is a number between 1 and 32 for IPv4 and between 8 and 128 for IPv6.',
291
+ );
292
+ const netBlock = (clusterNetworkCidr || '').split('/')[1];
293
+ if (!netBlock) {
294
+ return Yup.number().required(requiredText).min(1, minMaxText).max(32, minMaxText);
295
+ }
296
+
297
+ let netBlockNumber = parseInt(netBlock);
298
+ if (isNaN(netBlockNumber)) {
299
+ netBlockNumber = 1;
300
+ }
301
+
302
+ const errorMsgPrefix = t(
303
+ 'ai:The host prefix is a number between size of the cluster network CIDR range',
304
+ );
305
+ const errorMsgIPv4 = t('ai:{{errorMsgPrefix}} ({{netBlockNumber}}) and 25.', {
306
+ errorMsgPrefix,
307
+ netBlockNumber,
308
+ });
309
+ const errorMsgIPv6 = t('ai:{{errorMsgPrefix}} (8) and 128.', { errorMsgPrefix });
310
+
311
+ if (isCIDR.v6(clusterNetworkCidr || '')) {
312
+ return Yup.number().required(requiredText).min(8, errorMsgIPv6).max(128, errorMsgIPv6);
313
+ }
314
+
315
+ if (isCIDR.v4(clusterNetworkCidr || '')) {
316
+ return Yup.number()
317
+ .required(requiredText)
318
+ .min(netBlockNumber, errorMsgIPv4)
319
+ .max(25, errorMsgIPv4);
320
+ }
321
+
322
+ return Yup.number().required(requiredText);
323
+ };
324
+
325
+ export const day2ApiVipValidationSchema = (t: TFunction) =>
326
+ Yup.string().test(
327
+ 'day2-api-vip',
328
+ t('ai:Provide a valid DNS name or IP Address'),
329
+ (value?: string) => {
330
+ if (!value) {
331
+ return true;
332
+ }
333
+ return isIPorDN(value);
334
+ },
335
+ );
336
+
337
+ export const bmcAddressValidationSchema = (t: TFunction) => {
338
+ return Yup.string()
339
+ .required()
340
+ .test(
341
+ 'valid-bmc-address',
342
+ t(
343
+ 'ai:The Value is not valid BMC address, supported protocols are redfish-virtualmedia or idrac-virtualmedia.',
344
+ ),
345
+ (val) => {
346
+ try {
347
+ const url = parseUrl(val);
348
+ return ['redfish-virtualmedia', 'idrac-virtualmedia'].includes(url.protocol as string);
349
+ } catch (error) {
350
+ return false;
351
+ }
352
+ },
353
+ );
354
+ };