@openshift-assisted/ui-lib 2.51.2 → 2.52.1

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 (603) hide show
  1. package/build/@types/cim/components/Agent/AgentTable.d.ts.map +1 -1
  2. package/build/@types/cim/components/Agent/AgentsSelectionHostCountAlerts.d.ts.map +1 -1
  3. package/build/@types/cim/components/Agent/AgentsSelectionUtils.d.ts.map +1 -1
  4. package/build/@types/cim/components/Agent/BMHEventsModal.d.ts.map +1 -1
  5. package/build/@types/cim/components/Agent/BMHStatusInfo.d.ts.map +1 -1
  6. package/build/@types/cim/components/Agent/MinimalHWRequirements.d.ts.map +1 -1
  7. package/build/@types/cim/components/Agent/NoAgentsAlert.d.ts.map +1 -1
  8. package/build/@types/cim/components/Agent/tableColumns.d.ts +1 -1
  9. package/build/@types/cim/components/Agent/tableColumns.d.ts.map +1 -1
  10. package/build/@types/cim/components/Agent/tableUtils.d.ts +0 -1
  11. package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
  12. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentCredentials.d.ts.map +1 -1
  13. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.d.ts.map +1 -1
  14. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentKubeconfigDownload.d.ts.map +1 -1
  15. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentProgress.d.ts.map +1 -1
  16. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentValidationsOverview.d.ts.map +1 -1
  17. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts.map +1 -1
  18. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts.map +1 -1
  19. package/build/@types/cim/components/ClusterDeployment/NetworkConfiguration.d.ts.map +1 -1
  20. package/build/@types/cim/components/ClusterDeployment/ShortCapacitySummary.d.ts.map +1 -1
  21. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.d.ts.map +1 -1
  22. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.d.ts +5 -8
  23. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.d.ts.map +1 -1
  24. package/build/@types/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -1
  25. package/build/@types/cim/components/ClusterDeployment/components/ValidationSection.d.ts.map +1 -1
  26. package/build/@types/cim/components/ClusterDeployment/constants.d.ts +2 -13
  27. package/build/@types/cim/components/ClusterDeployment/constants.d.ts.map +1 -1
  28. package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts.map +1 -1
  29. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts.map +1 -1
  30. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapForm.d.ts.map +1 -1
  31. package/build/@types/cim/components/ClusterDeployment/helpers.d.ts +1 -1
  32. package/build/@types/cim/components/ClusterDeployment/helpers.d.ts.map +1 -1
  33. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.d.ts.map +1 -1
  34. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.d.ts +1 -4
  35. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.d.ts.map +1 -1
  36. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -1
  37. package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts +1 -1
  38. package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts.map +1 -1
  39. package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.d.ts.map +1 -1
  40. package/build/@types/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.d.ts.map +1 -1
  41. package/build/@types/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.d.ts.map +1 -1
  42. package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +3 -3
  43. package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts.map +1 -1
  44. package/build/@types/cim/components/ClusterDeployment/validationSchemas.d.ts.map +1 -1
  45. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
  46. package/build/@types/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.d.ts.map +1 -1
  47. package/build/@types/cim/components/Hypershift/DetailsPage/ConditionsTable.d.ts.map +1 -1
  48. package/build/@types/cim/components/Hypershift/DetailsPage/HostedClusterProgress.d.ts.map +1 -1
  49. package/build/@types/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.d.ts.map +1 -1
  50. package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolStatus.d.ts.map +1 -1
  51. package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts.map +1 -1
  52. package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts +0 -1
  53. package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts.map +1 -1
  54. package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts +0 -1
  55. package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts.map +1 -1
  56. package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.d.ts +0 -1
  57. package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.d.ts.map +1 -1
  58. package/build/@types/cim/components/Hypershift/HostedClusterWizard/NetworkStep/types.d.ts +0 -1
  59. package/build/@types/cim/components/Hypershift/HostedClusterWizard/NetworkStep/types.d.ts.map +1 -1
  60. package/build/@types/cim/components/Hypershift/forms/NodePoolAgentsForm.d.ts.map +1 -1
  61. package/build/@types/cim/components/Hypershift/hooks/useSupportedOCPVersions.d.ts.map +1 -1
  62. package/build/@types/cim/components/Hypershift/hooks/useTemptiflySync.d.ts.map +1 -1
  63. package/build/@types/cim/components/Hypershift/modals/AddNodePoolModal.d.ts.map +1 -1
  64. package/build/@types/cim/components/Hypershift/modals/ManageHostsModal.d.ts.map +1 -1
  65. package/build/@types/cim/components/Hypershift/modals/NodePoolForm.d.ts.map +1 -1
  66. package/build/@types/cim/components/Hypershift/modals/RemoveNodePoolModal.d.ts.map +1 -1
  67. package/build/@types/cim/components/Hypershift/utils/labels.d.ts.map +1 -1
  68. package/build/@types/cim/components/Hypershift/utils/nodepool.d.ts.map +1 -1
  69. package/build/@types/cim/components/Hypershift/utils/status.d.ts.map +1 -1
  70. package/build/@types/cim/components/InfraEnv/AddHostDropdown.d.ts.map +1 -1
  71. package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts.map +1 -1
  72. package/build/@types/cim/components/YamlPreview/useYAMLPreview.d.ts.map +1 -1
  73. package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts.map +1 -1
  74. package/build/@types/cim/components/common/InfoAndTroubleshootingNotification.d.ts.map +1 -1
  75. package/build/@types/cim/components/common/SpecSyncErrAlert.d.ts.map +1 -1
  76. package/build/@types/cim/components/common/constants.d.ts.map +1 -1
  77. package/build/@types/cim/components/featureSupportLevels/featureStateUtils.d.ts +1 -1
  78. package/build/@types/cim/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
  79. package/build/@types/cim/components/helpers/agentClusterInstall.d.ts.map +1 -1
  80. package/build/@types/cim/components/helpers/agentStatus.d.ts.map +1 -1
  81. package/build/@types/cim/components/helpers/agents.d.ts +6 -6
  82. package/build/@types/cim/components/helpers/agents.d.ts.map +1 -1
  83. package/build/@types/cim/components/helpers/clusterDeployment.d.ts +3 -15
  84. package/build/@types/cim/components/helpers/clusterDeployment.d.ts.map +1 -1
  85. package/build/@types/cim/components/helpers/conditions.d.ts.map +1 -1
  86. package/build/@types/cim/components/helpers/labels.d.ts.map +1 -1
  87. package/build/@types/cim/components/helpers/network.d.ts.map +1 -1
  88. package/build/@types/cim/components/helpers/proxy.d.ts.map +1 -1
  89. package/build/@types/cim/components/helpers/status.d.ts +1 -1
  90. package/build/@types/cim/components/helpers/status.d.ts.map +1 -1
  91. package/build/@types/cim/components/helpers/storage.d.ts.map +1 -1
  92. package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
  93. package/build/@types/cim/components/helpers/units.d.ts +1 -1
  94. package/build/@types/cim/components/helpers/units.d.ts.map +1 -1
  95. package/build/@types/cim/components/helpers/versions.d.ts +1 -1
  96. package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
  97. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts.map +1 -1
  98. package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts.map +1 -1
  99. package/build/@types/cim/components/modals/CimConfiguration/utils.d.ts.map +1 -1
  100. package/build/@types/cim/components/modals/ProvisioningConfigErrorAlert.d.ts.map +1 -1
  101. package/build/@types/cim/components/modals/utils.d.ts.map +1 -1
  102. package/build/@types/cim/hooks/useAgentServiceConfig.d.ts.map +1 -1
  103. package/build/@types/cim/hooks/useConfigMaps.d.ts.map +1 -1
  104. package/build/@types/cim/hooks/useEvents.d.ts.map +1 -1
  105. package/build/@types/cim/hooks/useK8sWatchResource.d.ts +1 -1
  106. package/build/@types/cim/hooks/useK8sWatchResource.d.ts.map +1 -1
  107. package/build/@types/cim/utils.d.ts.map +1 -1
  108. package/build/@types/common/api/assisted-service/ClustersAPI.d.ts +25 -25
  109. package/build/@types/common/api/assisted-service/HostsAPI.d.ts +9 -9
  110. package/build/@types/common/api/assisted-service/InfraEnvsAPI.d.ts +7 -7
  111. package/build/@types/common/api/assisted-service/UISettingsAPI.d.ts +3 -3
  112. package/build/@types/common/api/axiosClient.d.ts.map +1 -1
  113. package/build/@types/common/api/utils.d.ts.map +1 -1
  114. package/build/@types/common/components/ErrorHandling/ErrorMonitorContext.d.ts.map +1 -1
  115. package/build/@types/common/components/ErrorHandling/WithErrorBoundary.d.ts.map +1 -1
  116. package/build/@types/common/components/clusterConfiguration/CertificateFields.d.ts.map +1 -1
  117. package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
  118. package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts.map +1 -1
  119. package/build/@types/common/components/clusterConfiguration/DiscoveryInstructions.d.ts.map +1 -1
  120. package/build/@types/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.d.ts.map +1 -1
  121. package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.d.ts.map +1 -1
  122. package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.d.ts.map +1 -1
  123. package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.d.ts.map +1 -1
  124. package/build/@types/common/components/clusterConfiguration/DownloadIpxeScript.d.ts.map +1 -1
  125. package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts.map +1 -1
  126. package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts +1 -7
  127. package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts.map +1 -1
  128. package/build/@types/common/components/clusterConfiguration/FormatDiskWarning.d.ts.map +1 -1
  129. package/build/@types/common/components/clusterConfiguration/ProxyFields.d.ts.map +1 -1
  130. package/build/@types/common/components/clusterConfiguration/SecurityFields.d.ts.map +1 -1
  131. package/build/@types/common/components/clusterConfiguration/utils.d.ts +4 -4
  132. package/build/@types/common/components/clusterConfiguration/utils.d.ts.map +1 -1
  133. package/build/@types/common/components/clusterDetail/ClusterCredentials.d.ts.map +1 -1
  134. package/build/@types/common/components/clusterDetail/ClusterProgress.d.ts.map +1 -1
  135. package/build/@types/common/components/clusterDetail/ClusterProgressItem.d.ts.map +1 -1
  136. package/build/@types/common/components/clusterDetail/ClusterProgressItems.d.ts.map +1 -1
  137. package/build/@types/common/components/clusterDetail/ClusterPropertiesList.d.ts.map +1 -1
  138. package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts.map +1 -1
  139. package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts.map +1 -1
  140. package/build/@types/common/components/clusterDetail/PostInstallAlert.d.ts.map +1 -1
  141. package/build/@types/common/components/clusterDetail/ProgressBarTexts.d.ts.map +1 -1
  142. package/build/@types/common/components/clusterWizard/ClusterWizardStep.d.ts.map +1 -1
  143. package/build/@types/common/components/clusterWizard/ClusterWizardStepValidationsAlert.d.ts.map +1 -1
  144. package/build/@types/common/components/clusterWizard/ReviewHostsInventory.d.ts.map +1 -1
  145. package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
  146. package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts.map +1 -1
  147. package/build/@types/common/components/clusterWizard/networkingSteps/AdvancedNetworkFields.d.ts.map +1 -1
  148. package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts.map +1 -1
  149. package/build/@types/common/components/clusterWizard/networkingSteps/ManagedNetworkingControlGroup.d.ts.map +1 -1
  150. package/build/@types/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.d.ts.map +1 -1
  151. package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts.map +1 -1
  152. package/build/@types/common/components/clusterWizard/networkingSteps/SubnetsDropdown.d.ts.map +1 -1
  153. package/build/@types/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.d.ts.map +1 -1
  154. package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts.map +1 -1
  155. package/build/@types/common/components/clusterWizard/networkingSteps/reorderNetworks.d.ts +2 -2
  156. package/build/@types/common/components/clusterWizard/networkingSteps/reorderNetworks.d.ts.map +1 -1
  157. package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts +5 -5
  158. package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts.map +1 -1
  159. package/build/@types/common/components/clusters/PullSecret.d.ts +2 -0
  160. package/build/@types/common/components/clusters/PullSecret.d.ts.map +1 -1
  161. package/build/@types/common/components/fetching/EventListFetch.d.ts.map +1 -1
  162. package/build/@types/common/components/hosts/AITable.d.ts +1 -1
  163. package/build/@types/common/components/hosts/AITable.d.ts.map +1 -1
  164. package/build/@types/common/components/hosts/DiskRole.d.ts +1 -1
  165. package/build/@types/common/components/hosts/DiskRole.d.ts.map +1 -1
  166. package/build/@types/common/components/hosts/EditHostForm.d.ts.map +1 -1
  167. package/build/@types/common/components/hosts/EditHostModal.d.ts.map +1 -1
  168. package/build/@types/common/components/hosts/FormatDiskCheckbox.d.ts +2 -2
  169. package/build/@types/common/components/hosts/FormatDiskCheckbox.d.ts.map +1 -1
  170. package/build/@types/common/components/hosts/HostProgress.d.ts.map +1 -1
  171. package/build/@types/common/components/hosts/HostRowDetail.d.ts.map +1 -1
  172. package/build/@types/common/components/hosts/HostValidationGroups.d.ts.map +1 -1
  173. package/build/@types/common/components/hosts/HostsTable.d.ts.map +1 -1
  174. package/build/@types/common/components/hosts/MassChangeHostnameModal.d.ts.map +1 -1
  175. package/build/@types/common/components/hosts/MassDeleteHostModal.d.ts.map +1 -1
  176. package/build/@types/common/components/hosts/hardwareInfo.d.ts.map +1 -1
  177. package/build/@types/common/components/hosts/status.d.ts +1 -1
  178. package/build/@types/common/components/hosts/status.d.ts.map +1 -1
  179. package/build/@types/common/components/hosts/tableColumns.d.ts +3 -3
  180. package/build/@types/common/components/hosts/tableColumns.d.ts.map +1 -1
  181. package/build/@types/common/components/hosts/tableUtils.d.ts.map +1 -1
  182. package/build/@types/common/components/hosts/usePagination.d.ts.map +1 -1
  183. package/build/@types/common/components/hosts/utils.d.ts +14 -14
  184. package/build/@types/common/components/hosts/utils.d.ts.map +1 -1
  185. package/build/@types/common/components/newFeatureSupportLevels/utils.d.ts.map +1 -1
  186. package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -1
  187. package/build/@types/common/components/storage/DisksTable.d.ts +1 -1
  188. package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
  189. package/build/@types/common/components/storage/StorageDetail.d.ts.map +1 -1
  190. package/build/@types/common/components/storage/StorageTable.d.ts.map +1 -1
  191. package/build/@types/common/components/storage/StorageUtils.d.ts.map +1 -1
  192. package/build/@types/common/components/ui/Alerts.d.ts.map +1 -1
  193. package/build/@types/common/components/ui/BorderedIcon/BorderedIcon.d.ts +2 -2
  194. package/build/@types/common/components/ui/BorderedIcon/BorderedIcon.d.ts.map +1 -1
  195. package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts +1 -1
  196. package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts.map +1 -1
  197. package/build/@types/common/components/ui/EventsList.d.ts.map +1 -1
  198. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
  199. package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -1
  200. package/build/@types/common/components/ui/PrismCode.d.ts +8 -8
  201. package/build/@types/common/components/ui/PrismCode.d.ts.map +1 -1
  202. package/build/@types/common/components/ui/RenderIf.d.ts.map +1 -1
  203. package/build/@types/common/components/ui/SectionTitle.d.ts.map +1 -1
  204. package/build/@types/common/components/ui/SimpleDropdown.d.ts.map +1 -1
  205. package/build/@types/common/components/ui/ViewClusterEventsButton.d.ts.map +1 -1
  206. package/build/@types/common/components/ui/WizardNavItem.d.ts.map +1 -1
  207. package/build/@types/common/components/ui/eventsModal.d.ts.map +1 -1
  208. package/build/@types/common/components/ui/formik/AlertFormikError.d.ts.map +1 -1
  209. package/build/@types/common/components/ui/formik/CodeField.d.ts.map +1 -1
  210. package/build/@types/common/components/ui/formik/LabelField.d.ts.map +1 -1
  211. package/build/@types/common/components/ui/formik/PencilEditField.d.ts.map +1 -1
  212. package/build/@types/common/components/ui/formik/RadioField.d.ts.map +1 -1
  213. package/build/@types/common/components/ui/formik/RadioFieldWithTooltip.d.ts.map +1 -1
  214. package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts.map +1 -1
  215. package/build/@types/common/components/ui/formik/TextAreaField.d.ts.map +1 -1
  216. package/build/@types/common/components/ui/formik/utils.d.ts +2 -6
  217. package/build/@types/common/components/ui/formik/utils.d.ts.map +1 -1
  218. package/build/@types/common/components/ui/table/utils.d.ts.map +1 -1
  219. package/build/@types/common/components/ui/uiState/ErrorState.d.ts.map +1 -1
  220. package/build/@types/common/components/ui/utils.d.ts.map +1 -1
  221. package/build/@types/common/config/constants.d.ts +8 -221
  222. package/build/@types/common/config/constants.d.ts.map +1 -1
  223. package/build/@types/common/config/docs_links.d.ts.map +1 -1
  224. package/build/@types/common/features/featureGate.d.ts.map +1 -1
  225. package/build/@types/common/hooks/useDeepCompareMemoize.d.ts.map +1 -1
  226. package/build/@types/common/hooks/useFieldErrorMsg.d.ts.map +1 -1
  227. package/build/@types/common/hooks/useFormikHelpers.d.ts.map +1 -1
  228. package/build/@types/common/hooks/useStateSafely.d.ts.map +1 -1
  229. package/build/@types/common/reducers/alertsSlice.d.ts.map +1 -1
  230. package/build/@types/common/reducers/dialogsSlice.d.ts.map +1 -1
  231. package/build/@types/common/selectors/clusterSelectors.d.ts +17 -17
  232. package/build/@types/common/selectors/clusterSelectors.d.ts.map +1 -1
  233. package/build/@types/common/types/cpuArchitecture.d.ts.map +1 -1
  234. package/build/@types/common/types/featureSupportLevel.d.ts.map +1 -1
  235. package/build/@types/common/types/networkType.d.ts.map +1 -1
  236. package/build/@types/common/utils.d.ts +1 -1
  237. package/build/@types/common/utils.d.ts.map +1 -1
  238. package/build/@types/common/validationSchemas/addressValidation.d.ts +1 -1
  239. package/build/@types/common/validationSchemas/addressValidation.d.ts.map +1 -1
  240. package/build/@types/common/validationSchemas/clusterDetailsValidation.d.ts.map +1 -1
  241. package/build/@types/common/validationSchemas/constants.d.ts.map +1 -1
  242. package/build/@types/common/validationSchemas/hostnameValidation.d.ts.map +1 -1
  243. package/build/@types/common/validationSchemas/networkingValidation.d.ts.map +1 -1
  244. package/build/@types/common/validationSchemas/ntpValidation.d.ts +1 -1
  245. package/build/@types/common/validationSchemas/ntpValidation.d.ts.map +1 -1
  246. package/build/@types/common/validationSchemas/proxyValidation.d.ts +1 -1
  247. package/build/@types/common/validationSchemas/proxyValidation.d.ts.map +1 -1
  248. package/build/@types/common/validationSchemas/pullSecretValidation.d.ts.map +1 -1
  249. package/build/@types/common/validationSchemas/sshValidation.d.ts.map +1 -1
  250. package/build/@types/common/validationSchemas/utils.d.ts.map +1 -1
  251. package/build/@types/ocm/components/AddHosts/InventoryAddHost.d.ts.map +1 -1
  252. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2DiscoveryImageModalButton.d.ts.map +1 -1
  253. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.d.ts.map +1 -1
  254. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2WizardContextProvider.d.ts.map +1 -1
  255. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2WizardFooter.d.ts.map +1 -1
  256. package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.d.ts.map +1 -1
  257. package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.d.ts.map +1 -1
  258. package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.d.ts.map +1 -1
  259. package/build/@types/ocm/components/HostsClusterDetailTab/utils.d.ts.map +1 -1
  260. package/build/@types/ocm/components/Routes.d.ts.map +1 -1
  261. package/build/@types/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.d.ts.map +1 -1
  262. package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
  263. package/build/@types/ocm/components/clusterConfiguration/CpuArchitectureDropdown.d.ts.map +1 -1
  264. package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageForm.d.ts.map +1 -1
  265. package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.d.ts.map +1 -1
  266. package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
  267. package/build/@types/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.d.ts.map +1 -1
  268. package/build/@types/ocm/components/clusterConfiguration/InformationAndAlerts.d.ts.map +1 -1
  269. package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts.map +1 -1
  270. package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
  271. package/build/@types/ocm/components/clusterConfiguration/OcmClusterProgressItems.d.ts.map +1 -1
  272. package/build/@types/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.d.ts.map +1 -1
  273. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersion.d.ts.map +1 -1
  274. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
  275. package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts.map +1 -1
  276. package/build/@types/ocm/components/clusterConfiguration/OcmSNODisclaimer.d.ts.map +1 -1
  277. package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts.map +1 -1
  278. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.d.ts.map +1 -1
  279. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.d.ts.map +1 -1
  280. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CollapsedManifest.d.ts.map +1 -1
  281. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.d.ts.map +1 -1
  282. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.d.ts.map +1 -1
  283. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.d.ts.map +1 -1
  284. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.d.ts.map +1 -1
  285. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.d.ts.map +1 -1
  286. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.d.ts.map +1 -1
  287. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.d.ts.map +1 -1
  288. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.d.ts.map +1 -1
  289. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts.map +1 -1
  290. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
  291. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTable.d.ts.map +1 -1
  292. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.d.ts +1 -1
  293. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.d.ts.map +1 -1
  294. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.d.ts.map +1 -1
  295. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +1 -1
  296. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts.map +1 -1
  297. package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts.map +1 -1
  298. package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts.map +1 -1
  299. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts +1 -7
  300. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts.map +1 -1
  301. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.d.ts.map +1 -1
  302. package/build/@types/ocm/components/clusterConfiguration/review/ReviewClusterDetailTable.d.ts.map +1 -1
  303. package/build/@types/ocm/components/clusterConfiguration/review/ReviewCustomManifestsTable.d.ts.map +1 -1
  304. package/build/@types/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.d.ts.map +1 -1
  305. package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts.map +1 -1
  306. package/build/@types/ocm/components/clusterConfiguration/review/ReviewPlatformTable.d.ts.map +1 -1
  307. package/build/@types/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.d.ts.map +1 -1
  308. package/build/@types/ocm/components/clusterConfiguration/review/ReviewStep.d.ts.map +1 -1
  309. package/build/@types/ocm/components/clusterConfiguration/review/ReviewSummary.d.ts.map +1 -1
  310. package/build/@types/ocm/components/clusterConfiguration/review/TableSummaryExpandable.d.ts.map +1 -1
  311. package/build/@types/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.d.ts.map +1 -1
  312. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsConfirmationModal.d.ts.map +1 -1
  313. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.d.ts.map +1 -1
  314. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.d.ts.map +1 -1
  315. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.d.ts +1 -1
  316. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.d.ts.map +1 -1
  317. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts.map +1 -1
  318. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.d.ts.map +1 -1
  319. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.d.ts.map +1 -1
  320. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpViewRadioGroup.d.ts.map +1 -1
  321. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.d.ts.map +1 -1
  322. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.d.ts.map +1 -1
  323. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/propTypes.d.ts +1 -1
  324. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/propTypes.d.ts.map +1 -1
  325. package/build/@types/ocm/components/clusterConfiguration/staticIp/data/dummyData.d.ts.map +1 -1
  326. package/build/@types/ocm/components/clusterConfiguration/staticIp/data/formDataFromInfraEnvField.d.ts.map +1 -1
  327. package/build/@types/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.d.ts.map +1 -1
  328. package/build/@types/ocm/components/clusterConfiguration/staticIp/data/fromInfraEnv.d.ts.map +1 -1
  329. package/build/@types/ocm/components/clusterConfiguration/staticIp/data/machineNetwork.d.ts.map +1 -1
  330. package/build/@types/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.d.ts.map +1 -1
  331. package/build/@types/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.d.ts.map +1 -1
  332. package/build/@types/ocm/components/clusterConfiguration/staticIp/data/protocolVersion.d.ts +1 -1
  333. package/build/@types/ocm/components/clusterConfiguration/staticIp/data/protocolVersion.d.ts.map +1 -1
  334. package/build/@types/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts.map +1 -1
  335. package/build/@types/ocm/components/clusterDetail/ClusterDetailStatusMessages.d.ts.map +1 -1
  336. package/build/@types/ocm/components/clusterDetail/ClusterDetailStatusVarieties.d.ts.map +1 -1
  337. package/build/@types/ocm/components/clusterDetail/ClusterPollingErrorModal.d.ts.map +1 -1
  338. package/build/@types/ocm/components/clusterDetail/ClusterProperties.d.ts +2 -2
  339. package/build/@types/ocm/components/clusterDetail/ClusterProperties.d.ts.map +1 -1
  340. package/build/@types/ocm/components/clusterDetail/ClusterSummaryExpandable.d.ts.map +1 -1
  341. package/build/@types/ocm/components/clusterDetail/HostInventoryExpandable.d.ts.map +1 -1
  342. package/build/@types/ocm/components/clusterDetail/OpenShiftVersionDetail.d.ts.map +1 -1
  343. package/build/@types/ocm/components/clusterDetail/ProgressBarAlerts.d.ts.map +1 -1
  344. package/build/@types/ocm/components/clusterDetail/getProgressBarAlerts.d.ts.map +1 -1
  345. package/build/@types/ocm/components/clusterDetail/utils.d.ts +1 -1
  346. package/build/@types/ocm/components/clusterDetail/utils.d.ts.map +1 -1
  347. package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
  348. package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
  349. package/build/@types/ocm/components/clusterWizard/ClusterWizard.d.ts.map +1 -1
  350. package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
  351. package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts.map +1 -1
  352. package/build/@types/ocm/components/clusterWizard/ClusterWizardNavigation.d.ts.map +1 -1
  353. package/build/@types/ocm/components/clusterWizard/CustomManifestStep.d.ts.map +1 -1
  354. package/build/@types/ocm/components/clusterWizard/HostDiscovery.d.ts.map +1 -1
  355. package/build/@types/ocm/components/clusterWizard/NewClusterWizard.d.ts.map +1 -1
  356. package/build/@types/ocm/components/clusterWizard/OpenShiftVersionsContext.d.ts.map +1 -1
  357. package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
  358. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -1
  359. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -1
  360. package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
  361. package/build/@types/ocm/components/clusterWizard/Storage.d.ts.map +1 -1
  362. package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts.map +1 -1
  363. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
  364. package/build/@types/ocm/components/clusters/ClusterBreadcrumbs.d.ts +1 -1
  365. package/build/@types/ocm/components/clusters/ClusterBreadcrumbs.d.ts.map +1 -1
  366. package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
  367. package/build/@types/ocm/components/clusters/ClusterStatus.d.ts +1 -1
  368. package/build/@types/ocm/components/clusters/ClusterStatus.d.ts.map +1 -1
  369. package/build/@types/ocm/components/clusters/Clusters.d.ts.map +1 -1
  370. package/build/@types/ocm/components/clusters/ClustersTable.d.ts.map +1 -1
  371. package/build/@types/ocm/components/clusters/NewClusterPage.d.ts +0 -1
  372. package/build/@types/ocm/components/clusters/NewClusterPage.d.ts.map +1 -1
  373. package/build/@types/ocm/components/clusters/clusterPolling.d.ts.map +1 -1
  374. package/build/@types/ocm/components/clusters/utils.d.ts.map +1 -1
  375. package/build/@types/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.d.ts.map +1 -1
  376. package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
  377. package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
  378. package/build/@types/ocm/components/hosts/ClusterHostsTable.d.ts.map +1 -1
  379. package/build/@types/ocm/components/hosts/DeleteHostModal.d.ts.map +1 -1
  380. package/build/@types/ocm/components/hosts/HardwareStatus.d.ts +4 -4
  381. package/build/@types/ocm/components/hosts/HardwareStatus.d.ts.map +1 -1
  382. package/build/@types/ocm/components/hosts/HostRequirementsContent.d.ts.map +1 -1
  383. package/build/@types/ocm/components/hosts/HostsDiscoveryTable.d.ts.map +1 -1
  384. package/build/@types/ocm/components/hosts/HostsDiscoveryTroubleshootingInfoLinkWithModal.d.ts.map +1 -1
  385. package/build/@types/ocm/components/hosts/HostsStorageTable.d.ts.map +1 -1
  386. package/build/@types/ocm/components/hosts/HostsTableEmptyState.d.ts.map +1 -1
  387. package/build/@types/ocm/components/hosts/StorageAlerts.d.ts.map +1 -1
  388. package/build/@types/ocm/components/hosts/use-hosts-table.d.ts +3 -3
  389. package/build/@types/ocm/components/hosts/use-hosts-table.d.ts.map +1 -1
  390. package/build/@types/ocm/components/hosts/utils.d.ts +1 -1
  391. package/build/@types/ocm/components/hosts/utils.d.ts.map +1 -1
  392. package/build/@types/ocm/components/ui/Buttons/BackButton.d.ts.map +1 -1
  393. package/build/@types/ocm/components/ui/InfoLinkWithModal.d.ts.map +1 -1
  394. package/build/@types/ocm/components/ui/OcmFormFields.d.ts +3 -3
  395. package/build/@types/ocm/components/utils.d.ts.map +1 -1
  396. package/build/@types/ocm/config/constants.d.ts.map +1 -1
  397. package/build/@types/ocm/config/routeBasePath.d.ts.map +1 -1
  398. package/build/@types/ocm/hooks/use-feature.d.ts.map +1 -1
  399. package/build/@types/ocm/hooks/useClusterCustomManifests.d.ts +1 -1
  400. package/build/@types/ocm/hooks/useClusterCustomManifests.d.ts.map +1 -1
  401. package/build/@types/ocm/hooks/useClusterPreflightRequirements.d.ts +1 -1
  402. package/build/@types/ocm/hooks/useClusterPreflightRequirements.d.ts.map +1 -1
  403. package/build/@types/ocm/hooks/useInfraEnvHosts.d.ts +1 -1
  404. package/build/@types/ocm/hooks/useInfraEnvHosts.d.ts.map +1 -1
  405. package/build/@types/ocm/hooks/useInfraEnvImageUrl.d.ts +1 -1
  406. package/build/@types/ocm/hooks/useInfraEnvImageUrl.d.ts.map +1 -1
  407. package/build/@types/ocm/hooks/useInfraEnvIpxeImageUrl.d.ts +1 -1
  408. package/build/@types/ocm/hooks/useInfraEnvIpxeImageUrl.d.ts.map +1 -1
  409. package/build/@types/ocm/hooks/useLateBinding.d.ts.map +1 -1
  410. package/build/@types/ocm/hooks/usePullSecret.d.ts +1 -1
  411. package/build/@types/ocm/hooks/usePullSecret.d.ts.map +1 -1
  412. package/build/@types/ocm/hooks/useSetClusterPermissions.d.ts.map +1 -1
  413. package/build/@types/ocm/hooks/useUISettings.d.ts +1 -1
  414. package/build/@types/ocm/hooks/useUISettings.d.ts.map +1 -1
  415. package/build/@types/ocm/sentry.d.ts.map +1 -1
  416. package/build/@types/ocm/services/ClusterDetailsService.d.ts +2 -2
  417. package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
  418. package/build/@types/ocm/services/ClustersService.d.ts +10 -10
  419. package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
  420. package/build/@types/ocm/services/CpuArchitectureService.d.ts +1 -1
  421. package/build/@types/ocm/services/CpuArchitectureService.d.ts.map +1 -1
  422. package/build/@types/ocm/services/Day2ClusterService.d.ts +3 -3
  423. package/build/@types/ocm/services/Day2ClusterService.d.ts.map +1 -1
  424. package/build/@types/ocm/services/DiscoveryImageFormService.d.ts +1 -1
  425. package/build/@types/ocm/services/DiskEncryptionService.d.ts +2 -2
  426. package/build/@types/ocm/services/HostsService.d.ts +6 -6
  427. package/build/@types/ocm/services/HostsService.d.ts.map +1 -1
  428. package/build/@types/ocm/services/InfraEnvsService.d.ts +8 -8
  429. package/build/@types/ocm/services/InfraEnvsService.d.ts.map +1 -1
  430. package/build/@types/ocm/services/OperatorsService.d.ts.map +1 -1
  431. package/build/@types/ocm/services/UISettingsService.d.ts +2 -2
  432. package/build/@types/ocm/services/types.d.ts +1 -1
  433. package/build/@types/ocm/services/types.d.ts.map +1 -1
  434. package/build/@types/ocm/store/hooks.d.ts +3 -3
  435. package/build/@types/ocm/store/slices/clusters/selectors.d.ts +6 -6
  436. package/build/@types/ocm/store/slices/clusters/selectors.d.ts.map +1 -1
  437. package/build/@types/ocm/store/slices/clusters/slice.d.ts +2 -2
  438. package/build/@types/ocm/store/slices/clusters/slice.d.ts.map +1 -1
  439. package/build/@types/ocm/store/slices/current-cluster/selectors.d.ts +2 -2
  440. package/build/@types/ocm/store/slices/current-cluster/selectors.d.ts.map +1 -1
  441. package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +65 -65
  442. package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -1
  443. package/build/@types/ocm/store/slices/current-user/slice.d.ts +3 -3
  444. package/build/@types/ocm/store/slices/current-user/slice.d.ts.map +1 -1
  445. package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts +2 -2
  446. package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts.map +1 -1
  447. package/build/@types/ocm/store/slices/feature-flags/slice.d.ts +1 -1
  448. package/build/@types/ocm/store/slices/feature-flags/slice.d.ts.map +1 -1
  449. package/build/@types/ocm/store/slices/infra-envs/selectors.d.ts +2 -2
  450. package/build/@types/ocm/store/slices/infra-envs/selectors.d.ts.map +1 -1
  451. package/build/@types/ocm/store/slices/infra-envs/thunks.d.ts +6 -6
  452. package/build/@types/ocm/store/store-day1.d.ts +4 -4
  453. package/build/cjs/cim/components/Agent/AgentsSelectionTable.js +1 -2
  454. package/build/cjs/cim/components/Agent/AgentsSelectionTable.js.map +1 -1
  455. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentKubeconfigDownload.js +5 -5
  456. package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js +2 -2
  457. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js +1 -1
  458. package/build/cjs/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.js +3 -3
  459. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js +3 -3
  460. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js.map +1 -1
  461. package/build/cjs/cim/components/Hypershift/DetailsPage/index.js +3 -5
  462. package/build/cjs/cim/components/Hypershift/DetailsPage/index.js.map +1 -1
  463. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/index.js +2 -4
  464. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/index.js.map +1 -1
  465. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/index.js +2 -4
  466. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/index.js.map +1 -1
  467. package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js +3 -3
  468. package/build/cjs/cim/components/YamlPreview/index.js +2 -4
  469. package/build/cjs/cim/components/YamlPreview/index.js.map +1 -1
  470. package/build/cjs/cim/components/featureSupportLevels/index.js +2 -4
  471. package/build/cjs/cim/components/featureSupportLevels/index.js.map +1 -1
  472. package/build/cjs/cim/components/helpers/units.js.map +1 -1
  473. package/build/cjs/cim/components/modals/CimConfiguration/persist.js +11 -11
  474. package/build/cjs/cim/components/modals/EditAgentModal.js +1 -1
  475. package/build/cjs/cim/utils.js +2 -2
  476. package/build/cjs/cim/utils.js.map +1 -1
  477. package/build/cjs/common/api/assisted-service/index.js +10 -12
  478. package/build/cjs/common/api/assisted-service/index.js.map +1 -1
  479. package/build/cjs/common/api/axiosExtensions.js +1 -2
  480. package/build/cjs/common/api/axiosExtensions.js.map +1 -1
  481. package/build/cjs/common/components/clusterConfiguration/DiscoveryInstructions.js +1 -1
  482. package/build/cjs/common/components/clusterConfiguration/DiscoveryInstructions.js.map +1 -1
  483. package/build/cjs/common/components/clusterConfiguration/ProxyFields.js +5 -2
  484. package/build/cjs/common/components/clusterConfiguration/ProxyFields.js.map +1 -1
  485. package/build/cjs/common/components/clusterConfiguration/utils.js +3 -3
  486. package/build/cjs/common/components/clusterConfiguration/utils.js.map +1 -1
  487. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +4 -4
  488. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
  489. package/build/cjs/common/components/clusterDetail/index.js +6 -8
  490. package/build/cjs/common/components/clusterDetail/index.js.map +1 -1
  491. package/build/cjs/common/components/clusterWizard/networkingSteps/index.js +2 -4
  492. package/build/cjs/common/components/clusterWizard/networkingSteps/index.js.map +1 -1
  493. package/build/cjs/common/components/clusters/PullSecret.js +19 -18
  494. package/build/cjs/common/components/clusters/PullSecret.js.map +1 -1
  495. package/build/cjs/common/components/clusters/index.js +2 -4
  496. package/build/cjs/common/components/clusters/index.js.map +1 -1
  497. package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js +1 -1
  498. package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js.map +1 -1
  499. package/build/cjs/common/components/ui/Toolbar/index.js +5 -7
  500. package/build/cjs/common/components/ui/Toolbar/index.js.map +1 -1
  501. package/build/cjs/common/components/ui/formik/TextAreaField.js +5 -1
  502. package/build/cjs/common/components/ui/formik/TextAreaField.js.map +1 -1
  503. package/build/cjs/common/components/ui/uiState/index.js +4 -6
  504. package/build/cjs/common/components/ui/uiState/index.js.map +1 -1
  505. package/build/cjs/common/config/constants.js +1 -0
  506. package/build/cjs/common/config/constants.js.map +1 -1
  507. package/build/cjs/common/hooks/index.js +3 -5
  508. package/build/cjs/common/hooks/index.js.map +1 -1
  509. package/build/cjs/common/hooks/use-translation-wrapper.js +1 -2
  510. package/build/cjs/common/hooks/use-translation-wrapper.js.map +1 -1
  511. package/build/cjs/common/services/DateAndTime.js +2 -3
  512. package/build/cjs/common/services/DateAndTime.js.map +1 -1
  513. package/build/cjs/common/types/typescriptExtensions.js +2 -3
  514. package/build/cjs/common/types/typescriptExtensions.js.map +1 -1
  515. package/build/cjs/common/validationSchemas/ntpValidation.js +20 -15
  516. package/build/cjs/common/validationSchemas/ntpValidation.js.map +1 -1
  517. package/build/cjs/common/validationSchemas/pullSecretValidation.js +8 -7
  518. package/build/cjs/common/validationSchemas/pullSecretValidation.js.map +1 -1
  519. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +2 -2
  520. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +1 -1
  521. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
  522. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +4 -4
  523. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
  524. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js +30 -26
  525. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
  526. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js +8 -11
  527. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js.map +1 -1
  528. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +8 -3
  529. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
  530. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +5 -5
  531. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
  532. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +2 -1
  533. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
  534. package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js.map +1 -1
  535. package/build/cjs/ocm/components/clusterWizard/index.js +5 -7
  536. package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
  537. package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js +7 -5
  538. package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js.map +1 -1
  539. package/build/cjs/ocm/components/clusters/Clusters.js +0 -2
  540. package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
  541. package/build/cjs/ocm/components/clusters/ClustersTable.js +7 -2
  542. package/build/cjs/ocm/components/clusters/ClustersTable.js.map +1 -1
  543. package/build/cjs/ocm/components/clusters/NewClusterPage.js +3 -7
  544. package/build/cjs/ocm/components/clusters/NewClusterPage.js.map +1 -1
  545. package/build/cjs/ocm/components/hosts/ClusterHostsTable.js +1 -2
  546. package/build/cjs/ocm/components/hosts/ClusterHostsTable.js.map +1 -1
  547. package/build/cjs/ocm/components/hosts/HostsStorageTable.js +1 -2
  548. package/build/cjs/ocm/components/hosts/HostsStorageTable.js.map +1 -1
  549. package/build/cjs/ocm/components/ui/OcmFormFields.js +2 -2
  550. package/build/cjs/ocm/components/ui/OcmFormFields.js.map +1 -1
  551. package/build/cjs/ocm/hooks/index.js +9 -11
  552. package/build/cjs/ocm/hooks/index.js.map +1 -1
  553. package/build/cjs/ocm/hooks/use-feature-detection.js +1 -2
  554. package/build/cjs/ocm/hooks/use-feature-detection.js.map +1 -1
  555. package/build/cjs/ocm/hooks/useInfraEnv.js +1 -1
  556. package/build/cjs/ocm/hooks/useInfraEnv.js.map +1 -1
  557. package/build/cjs/ocm/hooks/useInfraEnvId.js +1 -1
  558. package/build/cjs/ocm/hooks/useInfraEnvId.js.map +1 -1
  559. package/build/cjs/ocm/hooks/useInfraEnvImageUrl.js +1 -1
  560. package/build/cjs/ocm/hooks/useInfraEnvImageUrl.js.map +1 -1
  561. package/build/cjs/ocm/hooks/useInfraEnvIpxeImageUrl.js +1 -1
  562. package/build/cjs/ocm/hooks/useInfraEnvIpxeImageUrl.js.map +1 -1
  563. package/build/cjs/ocm/hooks/useManagedDomains.js +1 -1
  564. package/build/cjs/ocm/hooks/useManagedDomains.js.map +1 -1
  565. package/build/cjs/ocm/hooks/usePullSecret.js +32 -8
  566. package/build/cjs/ocm/hooks/usePullSecret.js.map +1 -1
  567. package/build/cjs/ocm/hooks/useSetClusterPermissions.js +1 -1
  568. package/build/cjs/ocm/hooks/useSetClusterPermissions.js.map +1 -1
  569. package/build/cjs/ocm/hooks/useSupportLevelsAPI.js +1 -1
  570. package/build/cjs/ocm/hooks/useSupportLevelsAPI.js.map +1 -1
  571. package/build/cjs/ocm/hooks/useUsedClusterNames.js +1 -1
  572. package/build/cjs/ocm/hooks/useUsedClusterNames.js.map +1 -1
  573. package/build/cjs/ocm/services/ClusterDetailsService.js +17 -2
  574. package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
  575. package/build/cjs/ocm/services/ClustersService.js.map +1 -1
  576. package/build/cjs/ocm/store/slices/current-user/slice.js +2 -2
  577. package/lib/cim/components/Hypershift/DetailsPage/NodePoolsTable.tsx +3 -3
  578. package/lib/cim/components/helpers/units.ts +1 -1
  579. package/lib/common/components/clusterConfiguration/DiscoveryInstructions.tsx +0 -1
  580. package/lib/common/components/clusterConfiguration/ProxyFields.tsx +5 -0
  581. package/lib/common/components/clusters/PullSecret.tsx +44 -30
  582. package/lib/common/components/hosts/AdditionalNTPSourcesDialog.tsx +1 -1
  583. package/lib/common/components/ui/formik/TextAreaField.tsx +4 -1
  584. package/lib/common/config/constants.ts +1 -0
  585. package/lib/common/validationSchemas/ntpValidation.tsx +13 -7
  586. package/lib/common/validationSchemas/pullSecretValidation.tsx +8 -9
  587. package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +6 -3
  588. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +33 -29
  589. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.tsx +18 -14
  590. package/lib/ocm/components/clusterConfiguration/staticIp/components/propTypes.ts +1 -1
  591. package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +10 -4
  592. package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +9 -4
  593. package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +2 -5
  594. package/lib/ocm/components/clusterWizard/NewClusterWizard.tsx +1 -0
  595. package/lib/ocm/components/clusters/ClusterBreadcrumbs.tsx +15 -26
  596. package/lib/ocm/components/clusters/Clusters.tsx +0 -2
  597. package/lib/ocm/components/clusters/ClustersTable.tsx +10 -10
  598. package/lib/ocm/components/clusters/NewClusterPage.tsx +2 -9
  599. package/lib/ocm/hooks/usePullSecret.ts +33 -8
  600. package/lib/ocm/services/ClusterDetailsService.ts +23 -1
  601. package/lib/ocm/services/ClustersService.ts +1 -1
  602. package/lib/ocm/services/types.ts +1 -1
  603. package/package.json +10 -10
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = useSetClusterPermissions;
3
4
  const react_redux_1 = require("react-redux");
4
5
  const config_1 = require("../config");
5
6
  const slice_1 = require("../store/slices/current-cluster/slice");
@@ -17,5 +18,4 @@ function useSetClusterPermissions() {
17
18
  dispatch((0, slice_1.updateClusterPermissions)(newPermissions));
18
19
  };
19
20
  }
20
- exports.default = useSetClusterPermissions;
21
21
  //# sourceMappingURL=useSetClusterPermissions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSetClusterPermissions.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useSetClusterPermissions.ts"],"names":[],"mappings":";;AAAA,6CAA0C;AAE1C,sCAA+F;AAC/F,iEAAiF;AAGjF,SAAwB,wBAAwB;IAC9C,MAAM,QAAQ,GAAG,IAAA,yBAAW,GAAE,CAAC;IAE/B,OAAO,CAAC,OAAiB,EAAE,cAA4D,EAAE,EAAE;QACzF,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,qFAAqF;YACrF,OAAO;QACT,CAAC;QACD,IAAI,cAAc,GAAG,IAAA,2BAAkB,EAAC,OAA0B,CAAC,CAAC;QACpE,IAAI,cAAc,EAAE,CAAC;YACnB,cAAc,mCACT,cAAc,GACd,IAAA,sCAA6B,EAAC,cAAc,IAAI,EAAE,CAAC,CACvD,CAAC;QACJ,CAAC;QACD,QAAQ,CAAC,IAAA,gCAAwB,EAAC,cAAc,CAAC,CAAC,CAAC;IACrD,CAAC,CAAC;AACJ,CAAC;AAjBD,2CAiBC"}
1
+ {"version":3,"file":"useSetClusterPermissions.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useSetClusterPermissions.ts"],"names":[],"mappings":";;AAMA,2CAiBC;AAvBD,6CAA0C;AAE1C,sCAA+F;AAC/F,iEAAiF;AAGjF,SAAwB,wBAAwB;IAC9C,MAAM,QAAQ,GAAG,IAAA,yBAAW,GAAE,CAAC;IAE/B,OAAO,CAAC,OAAiB,EAAE,cAA4D,EAAE,EAAE;QACzF,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,qFAAqF;YACrF,OAAO;QACT,CAAC;QACD,IAAI,cAAc,GAAG,IAAA,2BAAkB,EAAC,OAA0B,CAAC,CAAC;QACpE,IAAI,cAAc,EAAE,CAAC;YACnB,cAAc,mCACT,cAAc,GACd,IAAA,sCAA6B,EAAC,cAAc,IAAI,EAAE,CAAC,CACvD,CAAC;QACJ,CAAC;QACD,QAAQ,CAAC,IAAA,gCAAwB,EAAC,cAAc,CAAC,CAAC,CAAC;IACrD,CAAC,CAAC;AACJ,CAAC"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = useSupportLevelsAPI;
3
4
  const tslib_1 = require("tslib");
4
5
  const react_1 = tslib_1.__importDefault(require("react"));
5
6
  const common_1 = require("../../common");
@@ -92,5 +93,4 @@ function useSupportLevelsAPI(resourceKind, openshiftVersion, cpuArchitecture, pl
92
93
  return features;
93
94
  }
94
95
  }
95
- exports.default = useSupportLevelsAPI;
96
96
  //# sourceMappingURL=useSupportLevelsAPI.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSupportLevelsAPI.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useSupportLevelsAPI.ts"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,yCAAoF;AAKpF,0CAAsE;AACtE,sIAAsG;AAYtG,SAAwB,mBAAmB,CACzC,YAAe,EACf,gBAAyB,EACzB,eAAiC,EACjC,YAA2B,EAC3B,yBAAsD;IAEtD,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAC3C,eAAK,CAAC,QAAQ,CAAqC,IAAI,CAAC,CAAC;IAC3D,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,eAAK,CAAC,QAAQ,CAAmC,IAAI,CAAC,CAAC;IACvF,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAC3C,eAAK,CAAC,QAAQ,EAAsE,CAAC;IACvF,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,kBAAS,GAAE,CAAC;IAEjC,MAAM,+BAA+B,GAAG,eAAK,CAAC,WAAW,CACvD,CAAO,gBAAwB,EAAE,EAAE;QACjC,IAAI,CAAC;YACH,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,MAAM,oCAA0B,CAAC,yBAAyB,CACxF,gBAAgB,CACjB,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,CAAC;IACnD,CAAC;AACH,CAAC"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = useUsedClusterNames;
3
4
  const tslib_1 = require("tslib");
4
5
  const react_1 = tslib_1.__importDefault(require("react"));
5
6
  const api_1 = require("../../common/api");
@@ -30,5 +31,4 @@ function useUsedClusterNames(clusterId) {
30
31
  }, []);
31
32
  return { usedClusterNames };
32
33
  }
33
- exports.default = useUsedClusterNames;
34
34
  //# sourceMappingURL=useUsedClusterNames.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useUsedClusterNames.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useUsedClusterNames.ts"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,0CAAsE;AACtE,2CAA+C;AAC/C,yCAAyC;AAGzC,SAAwB,mBAAmB,CAAC,SAAwB;IAClE,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,eAAK,CAAC,QAAQ,EAAY,CAAC;IAC3E,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,kBAAS,GAAE,CAAC;IAEjC,MAAM,OAAO,GAAG,eAAK,CAAC,WAAW,CAAC,GAAS,EAAE;QAC3C,IAAI,CAAC;YACH,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,MAAM,kBAAW,CAAC,IAAI,EAAE,CAAC;YACpD,MAAM,KAAK,GAAG,QAAQ;iBACnB,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,SAAS,CAAC;iBACjC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI,EAAE,IAAI,CAAC,CAAC,aAAa,IAAI,EAAE,EAAE,CAAC,CAAC;YAC1D,mBAAmB,CAAC,KAAK,CAAC,CAAC;QAC7B,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,mBAAmB,CAAC,EAAE,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;YAC1D,mBAAmB,CAAC,KAAK,CAAC,CAAC;QAC7B,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,mBAAmB,CAAC,EAAE,CAAC,CAAC;YACxB,IAAA,oBAAc,EAAC,CAAC,EAAE,GAAG,EAAE,CACrB,QAAQ,CAAC;gBACP,KAAK,EAAE,gDAAgD;gBACvD,OAAO,EAAE,IAAA,wBAAkB,EAAC,CAAC,CAAC;aAC/B,CAAC,CACH,CAAC;QACJ,CAAC;IACH,CAAC,CAAA,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC;IAE1B,eAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,KAAK,OAAO,EAAE,CAAC;QACf,uDAAuD;IACzD,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC9B,CAAC"}
@@ -16,8 +16,15 @@ const getNewClusterCpuArchitecture = (urlSearchParams) => {
16
16
  const getExistingClusterCpuArchitecture = (infraEnv) => {
17
17
  return infraEnv.cpuArchitecture || (0, CpuArchitectureService_1.getDefaultCpuArchitecture)();
18
18
  };
19
+ const ntpSourceForCluster = (cluster, infraEnv) => {
20
+ var _a, _b;
21
+ const fromCluster = (_a = cluster === null || cluster === void 0 ? void 0 : cluster.additionalNtpSource) === null || _a === void 0 ? void 0 : _a.trim();
22
+ const fromInfra = (_b = infraEnv === null || infraEnv === void 0 ? void 0 : infraEnv.additionalNtpSources) === null || _b === void 0 ? void 0 : _b.trim();
23
+ const merged = fromCluster || fromInfra;
24
+ return merged || undefined;
25
+ };
19
26
  const ClusterDetailsService = {
20
- getClusterCreateParams(values) {
27
+ getClusterCreateParams(values, infraEnv) {
21
28
  var _a;
22
29
  const params = {
23
30
  name: values.name,
@@ -48,9 +55,13 @@ const ClusterDetailsService = {
48
55
  if (((_a = params.platform) === null || _a === void 0 ? void 0 : _a.type) === 'none') {
49
56
  delete params.platform;
50
57
  }
58
+ const ntp = ntpSourceForCluster(undefined, infraEnv);
59
+ if (ntp) {
60
+ params.additionalNtpSource = ntp;
61
+ }
51
62
  return params;
52
63
  },
53
- getClusterUpdateParams(values, platform) {
64
+ getClusterUpdateParams(values, platform, cluster, infraEnv) {
54
65
  const params = {
55
66
  name: values.name,
56
67
  baseDnsDomain: values.baseDnsDomain,
@@ -67,6 +78,10 @@ const ClusterDetailsService = {
67
78
  }
68
79
  : { type: platform };
69
80
  }
81
+ const ntp = ntpSourceForCluster(cluster, infraEnv);
82
+ if (ntp) {
83
+ params.additionalNtpSource = ntp;
84
+ }
70
85
  return params;
71
86
  },
72
87
  getClusterDetailsInitialValues(_a) {
@@ -1 +1 @@
1
- {"version":3,"file":"ClusterDetailsService.js","sourceRoot":"","sources":["../../../../lib/ocm/services/ClusterDetailsService.ts"],"names":[],"mappings":";;;AAAA,yCAMsB;AACtB,4FAA4D;AAC5D,mCAKiB;AACjB,0FAAmG;AACnG,0CAA2C;AAC3C,qEAAqE;AAOrE,0EAA0C;AAE1C,MAAM,4BAA4B,GAAG,CAAC,eAAuB,EAAE,EAAE;IAC/D,MAAM,MAAM,GAAG,IAAI,eAAe,CAAC,eAAe,CAAC,CAAC;IACpD,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,MAAM,CAAC;IAC1D,OAAO,iBAAiB,CAAC,CAAC,CAAC,wBAAe,CAAC,GAAG,CAAC,CAAC,CAAC,IAAA,kDAAyB,GAAE,CAAC;AAC/E,CAAC,CAAC;AAEF,MAAM,iCAAiC,GAAG,CAAC,QAAkB,EAAE,EAAE;IAC/D,OAAO,QAAQ,CAAC,eAAe,IAAI,IAAA,kDAAyB,GAAE,CAAC;AACjE,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG;IAC5B,sBAAsB,CAAC,MAA+B;;QACpD,MAAM,MAAM,GAA4C;YACtD,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,iBAAiB,EAAE,IAAA,kBAAQ,EAAC,MA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C;IAC/B,CAAC;IAED,oBAAoB,CAClB,gBAAsC,EACtC,eAAqC,EACrC,SAAwB;QAExB,OAAO,qBAAW,CAAC,oBAAoB,CACrC,SAAS,EACT,IAAI,CAAC,uBAAuB,CAAC,gBAAgB,EAAE,eAAe,CAAC,CAChE,CAAC;IACJ,CAAC;CACF,CAAC;AACF,kBAAe,eAAe,CAAC"}
@@ -30,10 +30,10 @@ const currentUserAsyncActions = {
30
30
  }
31
31
  })),
32
32
  getCapabilitiesAsync: (0, toolkit_1.createAsyncThunk)('currentUser/getCapabilitiesAsync', (_, thunkApi) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
33
- var _b;
33
+ var _a;
34
34
  yield thunkApi.dispatch(currentUserAsyncActions.getAccountAsync());
35
35
  const { currentUser } = thunkApi.getState();
36
- const orgId = (_b = currentUser.data) === null || _b === void 0 ? void 0 : _b.organization_id;
36
+ const orgId = (_a = currentUser.data) === null || _a === void 0 ? void 0 : _a.organization_id;
37
37
  if (orgId) {
38
38
  yield thunkApi.dispatch(currentUserAsyncActions.getUserOrganizationWithCapabilitiesAsync(orgId));
39
39
  }
@@ -149,9 +149,9 @@ const NodePoolsTable = ({
149
149
  <Popover
150
150
  aria-label="node pool hosts"
151
151
  hasAutoWidth
152
- bodyContent={t('ai:{{agents}} of {{count}} host requested is available', {
153
- agents: nodePoolAgents.length,
154
- count: np.spec.replicas,
152
+ bodyContent={t('ai:{{count}} of {{hosts}} requested hosts is available', {
153
+ count: nodePoolAgents.length,
154
+ hosts: np.spec.replicas,
155
155
  })}
156
156
  >
157
157
  <Label variant="outline">
@@ -228,7 +228,7 @@ const formatPercentage = (value: number, options?: OptionsType) => {
228
228
  maximumFractionDigits: 1,
229
229
  },
230
230
  );
231
- return Intl.NumberFormat(locales, rest).format(value);
231
+ return Intl.NumberFormat(locales, rest as Intl.NumberFormatOptions).format(value);
232
232
  };
233
233
 
234
234
  type HumanizeFunctionType = (
@@ -31,7 +31,6 @@ const DiscoveryInstructions = ({
31
31
  <Content component="li">
32
32
  <Trans
33
33
  t={t}
34
- count={+isSNO}
35
34
  components={{ bold: <span className="pf-v6-u-font-weight-bold" /> }}
36
35
  i18nKey="ai:Keep the Discovery ISO media connected to the device throughout the installation process and set each host to boot <bold>only one time</bold> from this device. "
37
36
  />
@@ -16,6 +16,9 @@ export const ProxyInputFields = () => {
16
16
  }
17
17
  };
18
18
  const { t } = useTranslation();
19
+ const hasHttp = !!values.httpProxy?.trim();
20
+ const hasHttps = !!values.httpsProxy?.trim();
21
+
19
22
  return (
20
23
  <Grid hasGutter>
21
24
  <InputField
@@ -31,6 +34,7 @@ export const ProxyInputFields = () => {
31
34
  }
32
35
  name="httpProxy"
33
36
  placeholder="http://<user>:<password>@<ipaddr>:<port>"
37
+ isRequired={values.enableProxy && !hasHttps}
34
38
  helperText={
35
39
  <div>
36
40
  <Trans
@@ -54,6 +58,7 @@ export const ProxyInputFields = () => {
54
58
  }
55
59
  name="httpsProxy"
56
60
  placeholder="http://<user>:<password>@<ipaddr>:<port>"
61
+ isRequired={values.enableProxy && !hasHttp}
57
62
  helperText={
58
63
  <div>
59
64
  <Trans
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Checkbox } from '@patternfly/react-core';
2
+ import { Alert, AlertVariant, Checkbox } from '@patternfly/react-core';
3
3
  import { useFormikContext } from 'formik';
4
4
  import { ClusterCreateParams } from '@openshift-assisted/types/assisted-installer-service';
5
5
  import { PullSecretField, PullSecretInfo } from '../ui';
@@ -8,42 +8,56 @@ import { useTranslation } from '../../hooks/use-translation-wrapper';
8
8
  export type PullSecretProps = {
9
9
  defaultPullSecret?: string;
10
10
  isOcm?: boolean;
11
+ isPullSecretSet?: boolean;
12
+ isSingleClusterFeatureEnabled?: boolean;
11
13
  };
12
14
 
13
- const PullSecret: React.FC<PullSecretProps> = ({ defaultPullSecret, isOcm = false }) => {
14
- // Fetched pull secret will never change - see LoadingState in NewCluster
15
- const [isExpanded, setExpanded] = React.useState(!defaultPullSecret);
15
+ const PullSecret: React.FC<PullSecretProps> = ({
16
+ defaultPullSecret,
17
+ isOcm = false,
18
+ isPullSecretSet = false,
19
+ isSingleClusterFeatureEnabled = false,
20
+ }) => {
21
+ // Existing cluster with a pull secret on the server: start collapsed so the secret text is not shown until the user chooses "Edit pull secret".
22
+ const [isExpanded, setExpanded] = React.useState(() =>
23
+ isPullSecretSet ? false : !defaultPullSecret,
24
+ );
16
25
  const { setFieldValue } = useFormikContext<ClusterCreateParams>();
17
26
  const { t } = useTranslation();
18
- if (isOcm) {
19
- const onCheckboxChange = () => {
20
- if (isExpanded) {
21
- // about to collapse, reset to original value
22
- setFieldValue('pullSecret', defaultPullSecret);
23
- }
24
- setExpanded(!isExpanded);
25
- };
27
+ const onCheckboxChange = () => {
28
+ if (isExpanded) {
29
+ // about to collapse, reset to original value
30
+ setFieldValue('pullSecret', defaultPullSecret);
31
+ }
32
+ setExpanded(!isExpanded);
33
+ };
26
34
 
27
- return (
28
- <>
29
- <Checkbox
30
- id="checkbox-pull-secret"
31
- className="pf-v6-u-display-inline-flex"
32
- aria-label={t('ai:edit pull secret')}
33
- isChecked={isExpanded}
34
- onChange={onCheckboxChange}
35
- label={
36
- <>
37
- {t('ai:Edit pull secret')} <PullSecretInfo isOcm={isOcm} />
38
- </>
39
- }
40
- />
41
- {isExpanded && <PullSecretField isOcm={isOcm} />}
42
- </>
43
- );
35
+ if (!(isOcm || isSingleClusterFeatureEnabled)) {
36
+ return <PullSecretField isOcm={isOcm} />;
44
37
  }
45
38
 
46
- return <PullSecretField isOcm={isOcm} />;
39
+ return (
40
+ <>
41
+ {isPullSecretSet && (
42
+ <Alert variant={AlertVariant.success} isInline title={t('ai:Pull secret configured')}>
43
+ {t('ai:A pull secret has already been set for this cluster. You can edit it below.')}
44
+ </Alert>
45
+ )}
46
+ <Checkbox
47
+ id="checkbox-pull-secret"
48
+ className="pf-v6-u-display-inline-flex"
49
+ aria-label={t('ai:edit pull secret')}
50
+ isChecked={isExpanded}
51
+ onChange={onCheckboxChange}
52
+ label={
53
+ <>
54
+ {t('ai:Edit pull secret')} <PullSecretInfo isOcm={isOcm} />
55
+ </>
56
+ }
57
+ />
58
+ {isExpanded && <PullSecretField isOcm={isOcm} />}
59
+ </>
60
+ );
47
61
  };
48
62
 
49
63
  export default PullSecret;
@@ -40,7 +40,7 @@ const AdditionalNTPSourcesForm = ({
40
40
 
41
41
  const getValidationSchema = (t: TFunction) =>
42
42
  Yup.object().shape({
43
- additionalNtpSource: ntpSourceValidationSchema(t).required(t('ai:Required field')),
43
+ additionalNtpSource: ntpSourceValidationSchema(t, false),
44
44
  });
45
45
 
46
46
  const { t } = useTranslation();
@@ -54,7 +54,10 @@ const TextAreaField: React.FC<React.PropsWithChildren<TextAreaFieldProps>> = ({
54
54
  validated={isValid ? 'default' : 'error'}
55
55
  isRequired={isRequired}
56
56
  aria-describedby={`${fieldId}-helper`}
57
- onChange={(event) => field.onChange(event)}
57
+ onChange={(event) => {
58
+ field.onChange(event);
59
+ restProps.onChange?.(event);
60
+ }}
58
61
  disabled={isDisabled}
59
62
  />
60
63
  {(errorMessage || helperText) && (
@@ -71,6 +71,7 @@ export const clusterFieldLabels = (t: TFunction): { [key in string]: string } =>
71
71
  httpProxy: t('ai:HTTP proxy'),
72
72
  httpsProxy: t('ai:HTTPS proxy'),
73
73
  noProxy: t('ai:No proxy'),
74
+ additionalNtpSources: t('ai:Additional NTP sources'),
74
75
  machineNetworks: t('ai:Machine networks'),
75
76
  clusterNetworks: t('ai:Cluster networks'),
76
77
  serviceNetworks: t('ai:Service networks'),
@@ -3,28 +3,34 @@ import { trimCommaSeparatedList } from '../components/ui/formik/utils';
3
3
  import { isIPorDN } from './utils';
4
4
  import { TFunction } from 'i18next';
5
5
 
6
- export const ntpSourceValidationSchema = (t: TFunction) =>
7
- Yup.string()
6
+ export const ntpSourceValidationSchema = (t: TFunction, allowEmpty = true) => {
7
+ let schema = Yup.string();
8
+
9
+ if (!allowEmpty) {
10
+ schema = schema.trim().required(t('ai:Required field'));
11
+ }
12
+
13
+ return schema
8
14
  .test(
9
15
  'ntp-source-validation',
10
16
  t('ai:Provide a comma separated list of valid DNS names or IP addresses.'),
11
17
  (value?: string) => {
12
- if (!value || value === '') {
18
+ if (!value || value.trim() === '') {
13
19
  return true;
14
20
  }
15
- return trimCommaSeparatedList(value)
16
- .split(',')
17
- .every((v) => isIPorDN(v));
21
+ const parts = trimCommaSeparatedList(value).split(',');
22
+ return parts.length > 0 && parts.every((v) => isIPorDN(v));
18
23
  },
19
24
  )
20
25
  .test(
21
26
  'ntp-source-validation-unique',
22
27
  t('ai:DNS names and IP addresses must be unique.'),
23
28
  (value?: string) => {
24
- if (!value || value === '') {
29
+ if (!value || value.trim() === '') {
25
30
  return true;
26
31
  }
27
32
  const arr = trimCommaSeparatedList(value).split(',');
28
33
  return arr.length === new Set(arr).size;
29
34
  },
30
35
  );
36
+ };
@@ -6,19 +6,18 @@ export const pullSecretValidationSchema = (t: TFunction) =>
6
6
  'is-well-formed-json',
7
7
  t("ai:Invalid pull secret format. You must use your Red Hat account's pull secret."),
8
8
  (value?: string) => {
9
- const isValid = true;
10
- if (!value) return isValid;
9
+ if (!value || !value.trim()) return true;
11
10
  try {
12
- const pullSecret = JSON.parse(value) as {
13
- auths: string;
14
- };
11
+ const pullSecret = JSON.parse(value) as unknown;
15
12
  return (
16
- pullSecret.constructor.name === 'Object' &&
17
- !!pullSecret?.auths &&
18
- pullSecret.auths.constructor.name === 'Object'
13
+ typeof pullSecret === 'object' &&
14
+ pullSecret !== null &&
15
+ 'auths' in pullSecret &&
16
+ typeof (pullSecret as { auths: unknown }).auths === 'object' &&
17
+ (pullSecret as { auths: unknown }).auths !== null
19
18
  );
20
19
  } catch {
21
- return !isValid;
20
+ return false;
22
21
  }
23
22
  },
24
23
  );
@@ -179,9 +179,12 @@ export const OcmClusterDetailsFormFields = ({
179
179
  />
180
180
  )}
181
181
 
182
- {!cluster?.pullSecretSet && (
183
- <PullSecret isOcm={isOcm} defaultPullSecret={defaultPullSecret} />
184
- )}
182
+ <PullSecret
183
+ isOcm={isOcm}
184
+ defaultPullSecret={defaultPullSecret}
185
+ isPullSecretSet={!!cluster?.pullSecretSet}
186
+ isSingleClusterFeatureEnabled={isSingleClusterFeatureEnabled}
187
+ />
185
188
 
186
189
  {!isSingleClusterFeatureEnabled &&
187
190
  (clusterExists ? (
@@ -1,7 +1,7 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  import { useSelector } from 'react-redux';
3
3
  import { Form } from '@patternfly/react-core';
4
- import { Formik, FormikConfig, useFormikContext, yupToFormErrors } from 'formik';
4
+ import { Formik, useFormikContext, yupToFormErrors } from 'formik';
5
5
  import isEqual from 'lodash-es/isEqual.js';
6
6
  import { useAlerts, useFormikAutoSave } from '../../../../../common';
7
7
  import { useErrorMonitor } from '../../../../../common/components/ErrorHandling/ErrorMonitorContext';
@@ -9,6 +9,7 @@ import { getApiErrorMessage } from '../../../../../common/api';
9
9
  import { StaticIpFormProps } from './propTypes';
10
10
  import { selectCurrentClusterPermissionsState } from '../../../../store/slices/current-cluster/selectors';
11
11
 
12
+ /** Reports form state and triggers save on every value change (useFormikAutoSave) */
12
13
  const AutosaveWithParentUpdate = <StaticIpFormValues extends object>({
13
14
  onFormStateChange,
14
15
  getEmptyValues,
@@ -16,28 +17,41 @@ const AutosaveWithParentUpdate = <StaticIpFormValues extends object>({
16
17
  onFormStateChange: StaticIpFormProps<StaticIpFormValues>['onFormStateChange'];
17
18
  getEmptyValues: StaticIpFormProps<StaticIpFormValues>['getEmptyValues'];
18
19
  }) => {
19
- // eslint-disable-next-line react-hooks/exhaustive-deps
20
- const emptyValues = React.useMemo(() => getEmptyValues(), []);
20
+ const emptyValues = React.useMemo(() => getEmptyValues(), [getEmptyValues]);
21
21
  const { isSubmitting, isValid, touched, errors, values, initialValues, submitForm } =
22
22
  useFormikContext<StaticIpFormValues>();
23
23
 
24
- const isEmpty = React.useMemo<boolean>(() => {
25
- return isEqual(values, emptyValues);
26
- }, [values, emptyValues]);
27
-
28
- const isAutoSaveRunning = useFormikAutoSave();
24
+ const isEmpty = React.useMemo(() => isEqual(values, emptyValues), [values, emptyValues]);
25
+ const isAutoSaveRunning = useFormikAutoSave(0);
29
26
 
27
+ // Submit once on mount when form was opened with existing data (so it gets persisted).
30
28
  React.useEffect(() => {
31
29
  if (!isEqual(emptyValues, initialValues)) {
32
30
  void submitForm();
33
31
  }
34
- // eslint-disable-next-line react-hooks/exhaustive-deps
32
+ // eslint-disable-next-line react-hooks/exhaustive-deps -- intentional: run only on mount.
35
33
  }, []);
36
34
 
37
35
  React.useEffect(() => {
38
- onFormStateChange({ isSubmitting, isAutoSaveRunning, isValid, touched, errors, isEmpty });
39
- // eslint-disable-next-line react-hooks/exhaustive-deps
40
- }, [isSubmitting, isValid, isAutoSaveRunning, touched, errors]);
36
+ onFormStateChange({
37
+ isSubmitting,
38
+ isAutoSaveRunning,
39
+ isValid,
40
+ touched,
41
+ errors,
42
+ isEmpty,
43
+ values: values as Record<string, unknown>,
44
+ });
45
+ }, [
46
+ isSubmitting,
47
+ isValid,
48
+ isAutoSaveRunning,
49
+ touched,
50
+ errors,
51
+ values,
52
+ isEmpty,
53
+ onFormStateChange,
54
+ ]);
41
55
  return null;
42
56
  };
43
57
 
@@ -55,27 +69,13 @@ export const StaticIpForm = <StaticIpFormValues extends object>({
55
69
  const { clearAlerts, addAlert } = useAlerts();
56
70
  const { captureException } = useErrorMonitor();
57
71
  const { isViewerMode } = useSelector(selectCurrentClusterPermissionsState);
58
- const [initialValues, setInitialValues] = React.useState<StaticIpFormValues | undefined>();
59
- React.useEffect(() => {
60
- if (showEmptyValues) {
61
- //after view changed the formik should be rendered with empty values
62
- setInitialValues(getEmptyValues());
63
- } else {
64
- setInitialValues(getInitialValues(infraEnv));
65
- }
66
- // eslint-disable-next-line react-hooks/exhaustive-deps
67
- }, []);
68
-
69
- if (!initialValues) {
70
- return null;
71
- }
72
+ const initialValues = showEmptyValues ? getEmptyValues() : getInitialValues(infraEnv);
72
73
 
73
- const handleSubmit: FormikConfig<StaticIpFormValues>['onSubmit'] = async (values) => {
74
+ const handleSubmit = async (values: StaticIpFormValues) => {
74
75
  clearAlerts();
75
76
  try {
76
- const staticNetworkConfig = getUpdateParams(infraEnv, values);
77
77
  await updateInfraEnv({
78
- staticNetworkConfig: staticNetworkConfig,
78
+ staticNetworkConfig: getUpdateParams(infraEnv, values),
79
79
  });
80
80
  } catch (error) {
81
81
  captureException(error);
@@ -98,6 +98,10 @@ export const StaticIpForm = <StaticIpFormValues extends object>({
98
98
  }
99
99
  };
100
100
 
101
+ if (!initialValues) {
102
+ return null;
103
+ }
104
+
101
105
  const onSubmit = isViewerMode ? () => Promise.resolve() : handleSubmit;
102
106
  return (
103
107
  <Formik initialValues={initialValues} onSubmit={onSubmit} validate={validate} validateOnMount>
@@ -49,15 +49,17 @@ export const StaticIpPage: React.FC<StaticIpPageProps> = ({
49
49
  return getStaticIpInfo(infraEnv);
50
50
  // eslint-disable-next-line react-hooks/exhaustive-deps
51
51
  }, []);
52
- if (!initialStaticIpInfo) {
53
- return null;
54
- }
55
- const onFormStateChange = (formState: StaticIpFormState) => {
56
- const hasFilledData =
57
- clusterWizardContext.currentStepId === 'static-ip-host-configurations' || !formState.isEmpty;
58
- setConfirmOnChangeView(hasFilledData);
59
- onFormStateChangeParent(formState);
60
- };
52
+
53
+ const onFormStateChange = React.useCallback(
54
+ (formState: StaticIpFormState) => {
55
+ const hasFilledData =
56
+ clusterWizardContext.currentStepId === 'static-ip-host-configurations' ||
57
+ !formState.isEmpty;
58
+ setConfirmOnChangeView(hasFilledData);
59
+ onFormStateChangeParent(formState);
60
+ },
61
+ [clusterWizardContext.currentStepId, onFormStateChangeParent],
62
+ );
61
63
 
62
64
  const viewProps: StaticIpViewProps = {
63
65
  onFormStateChange,
@@ -66,7 +68,7 @@ export const StaticIpPage: React.FC<StaticIpPageProps> = ({
66
68
  showEmptyValues: viewChanged,
67
69
  };
68
70
 
69
- const getContent = () => {
71
+ const content = (() => {
70
72
  switch (clusterWizardContext.currentStepId) {
71
73
  case 'static-ip-yaml-view':
72
74
  return <YamlView {...viewProps} />;
@@ -75,14 +77,16 @@ export const StaticIpPage: React.FC<StaticIpPageProps> = ({
75
77
  case 'static-ip-host-configurations':
76
78
  return <FormViewHosts {...viewProps} />;
77
79
  default:
78
- throw `Unexpected wizard step id ${clusterWizardContext.currentStepId} when entering static ip page`;
80
+ throw new Error(
81
+ `Unexpected wizard step id ${clusterWizardContext.currentStepId} when entering static ip page`,
82
+ );
79
83
  }
80
- };
84
+ })();
81
85
 
82
- const content = getContent();
83
- if (!content) {
86
+ if (!initialStaticIpInfo) {
84
87
  return null;
85
88
  }
89
+
86
90
  return (
87
91
  <Grid hasGutter>
88
92
  <GridItem>
@@ -13,6 +13,7 @@ export type StaticIpFormState = {
13
13
  touched: FormikTouched<object>;
14
14
  errors: FormikErrors<object>;
15
15
  isEmpty: boolean;
16
+ values?: Record<string, unknown>;
16
17
  };
17
18
 
18
19
  export type StaticIpProps = {
@@ -29,7 +30,6 @@ export type StaticIpViewProps = StaticIpPageProps & {
29
30
  };
30
31
 
31
32
  export type StaticIpFormProps<StaticIpViewValues extends object> = StaticIpViewProps & {
32
- showEmptyValues: boolean;
33
33
  getInitialValues(infraEnv: InfraEnv): StaticIpViewValues;
34
34
  getUpdateParams(currentInfraEnv: InfraEnv, values: StaticIpViewValues): HostStaticNetworkConfig[];
35
35
  validationSchema: Yup.ObjectSchema<Yup.AnyObject> | Yup.Lazy<Yup.AnyObject>;