@openshift-assisted/ui-lib 2.15.3-cim → 2.16.1-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 (627) hide show
  1. package/build/@types/cim/components/Agent/tableUtils.d.ts +1 -1
  2. package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
  3. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts.map +1 -1
  4. package/build/@types/cim/components/ClusterDeployment/{ACMClusterDeploymentDetailsStep.d.ts → clusterDetails/ACMClusterDeploymentDetailsStep.d.ts} +5 -5
  5. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.d.ts.map +1 -0
  6. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentDetailsForm.d.ts → clusterDetails/ClusterDeploymentDetailsForm.d.ts} +4 -4
  7. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.d.ts.map +1 -0
  8. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentDetailsStep.d.ts → clusterDetails/ClusterDeploymentDetailsStep.d.ts} +5 -5
  9. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.d.ts.map +1 -0
  10. package/build/@types/cim/components/ClusterDeployment/{ClusterDetailsFormFields.d.ts → clusterDetails/ClusterDetailsFormFields.d.ts} +1 -1
  11. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts.map +1 -0
  12. package/build/@types/cim/components/ClusterDeployment/clusterDetails/index.d.ts +5 -0
  13. package/build/@types/cim/components/ClusterDeployment/clusterDetails/index.d.ts.map +1 -0
  14. package/build/@types/cim/components/ClusterDeployment/components/AdditionalNTPSourcesDialogToggle.d.ts.map +1 -0
  15. package/build/@types/cim/components/ClusterDeployment/components/index.d.ts +2 -0
  16. package/build/@types/cim/components/ClusterDeployment/components/index.d.ts.map +1 -0
  17. package/build/@types/cim/components/ClusterDeployment/constants.d.ts +1 -0
  18. package/build/@types/cim/components/ClusterDeployment/constants.d.ts.map +1 -1
  19. package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts +6 -0
  20. package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts.map +1 -0
  21. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts +10 -0
  22. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts.map +1 -0
  23. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapForm.d.ts +12 -0
  24. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapForm.d.ts.map +1 -0
  25. package/build/@types/cim/components/ClusterDeployment/customManifests/index.d.ts +2 -0
  26. package/build/@types/cim/components/ClusterDeployment/customManifests/index.d.ts.map +1 -0
  27. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostDiscoveryTable.d.ts → hostDiscovery/ClusterDeploymentHostDiscoveryTable.d.ts} +1 -1
  28. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.d.ts.map +1 -0
  29. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscovery.d.ts → hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts} +1 -1
  30. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts.map +1 -0
  31. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.d.ts +4 -0
  32. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.d.ts.map +1 -0
  33. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/index.d.ts +2 -0
  34. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/index.d.ts.map +1 -0
  35. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostSelectionStep.d.ts → hostSelection/ClusterDeploymentHostSelectionStep.d.ts} +4 -4
  36. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.d.ts.map +1 -0
  37. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.d.ts → hostSelection/ClusterDeploymentHostsSelection.d.ts} +1 -1
  38. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.d.ts.map +1 -0
  39. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionAdvanced.d.ts → hostSelection/ClusterDeploymentHostsSelectionAdvanced.d.ts} +6 -6
  40. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -0
  41. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionBasic.d.ts → hostSelection/ClusterDeploymentHostsSelectionBasic.d.ts} +1 -1
  42. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionBasic.d.ts.map +1 -0
  43. package/build/@types/cim/components/ClusterDeployment/hostSelection/index.d.ts +3 -0
  44. package/build/@types/cim/components/ClusterDeployment/hostSelection/index.d.ts.map +1 -0
  45. package/build/@types/cim/components/ClusterDeployment/index.d.ts +2 -2
  46. package/build/@types/cim/components/ClusterDeployment/index.d.ts.map +1 -1
  47. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsNetworkTable.d.ts → networking/ClusterDeploymentHostsNetworkTable.d.ts} +2 -2
  48. package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.d.ts.map +1 -0
  49. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingForm.d.ts → networking/ClusterDeploymentNetworkingForm.d.ts} +2 -4
  50. package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.d.ts.map +1 -0
  51. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingStep.d.ts → networking/ClusterDeploymentNetworkingStep.d.ts} +4 -4
  52. package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.d.ts.map +1 -0
  53. package/build/@types/cim/components/ClusterDeployment/networking/index.d.ts +2 -0
  54. package/build/@types/cim/components/ClusterDeployment/networking/index.d.ts.map +1 -0
  55. package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentReviewStep.d.ts → review/ClusterDeploymentReviewStep.d.ts} +3 -3
  56. package/build/@types/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.d.ts.map +1 -0
  57. package/build/@types/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.d.ts +6 -0
  58. package/build/@types/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.d.ts.map +1 -0
  59. package/build/@types/cim/components/ClusterDeployment/review/index.d.ts +2 -0
  60. package/build/@types/cim/components/ClusterDeployment/review/index.d.ts.map +1 -0
  61. package/build/@types/cim/components/ClusterDeployment/types.d.ts +1 -1
  62. package/build/@types/cim/components/ClusterDeployment/types.d.ts.map +1 -1
  63. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +2 -2
  64. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
  65. package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.d.ts.map +1 -1
  66. package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts +1 -1
  67. package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts.map +1 -1
  68. package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.d.ts.map +1 -1
  69. package/build/@types/cim/components/Hypershift/forms/NodePoolAgentsForm.d.ts.map +1 -1
  70. package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
  71. package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
  72. package/build/@types/cim/hooks/index.d.ts +2 -0
  73. package/build/@types/cim/hooks/index.d.ts.map +1 -0
  74. package/build/@types/cim/hooks/types.d.ts +4 -0
  75. package/build/@types/cim/hooks/types.d.ts.map +1 -0
  76. package/build/@types/cim/hooks/useConfigMaps.d.ts +4 -0
  77. package/build/@types/cim/hooks/useConfigMaps.d.ts.map +1 -0
  78. package/build/@types/cim/hooks/useK8sWatchResource.d.ts +8 -0
  79. package/build/@types/cim/hooks/useK8sWatchResource.d.ts.map +1 -0
  80. package/build/@types/cim/types/index.d.ts +1 -0
  81. package/build/@types/cim/types/index.d.ts.map +1 -1
  82. package/build/@types/cim/types/k8s/agent-cluster-install.d.ts +4 -0
  83. package/build/@types/cim/types/k8s/agent-cluster-install.d.ts.map +1 -1
  84. package/build/@types/cim/types/models.d.ts +3 -0
  85. package/build/@types/cim/types/models.d.ts.map +1 -0
  86. package/build/@types/cim/utils.d.ts +2 -0
  87. package/build/@types/cim/utils.d.ts.map +1 -1
  88. package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +2 -1
  89. package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
  90. package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.d.ts.map +1 -1
  91. package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionValues.d.ts +1 -0
  92. package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionValues.d.ts.map +1 -1
  93. package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts +14 -0
  94. package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts.map +1 -0
  95. package/build/@types/common/components/clusterConfiguration/OcmTNADisclaimer.d.ts +4 -0
  96. package/build/@types/common/components/clusterConfiguration/OcmTNADisclaimer.d.ts.map +1 -0
  97. package/build/@types/common/components/clusterConfiguration/index.d.ts +1 -2
  98. package/build/@types/common/components/clusterConfiguration/index.d.ts.map +1 -1
  99. package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts +1 -4
  100. package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts.map +1 -1
  101. package/build/@types/common/components/clusterWizard/types.d.ts +2 -4
  102. package/build/@types/common/components/clusterWizard/types.d.ts.map +1 -1
  103. package/build/@types/common/components/hosts/DiskRole.d.ts.map +1 -1
  104. package/build/@types/common/components/hosts/TableToolbar.d.ts.map +1 -1
  105. package/build/@types/common/components/hosts/types.d.ts +1 -1
  106. package/build/@types/common/components/hosts/types.d.ts.map +1 -1
  107. package/build/@types/common/components/hosts/utils.d.ts +1 -1
  108. package/build/@types/common/components/hosts/utils.d.ts.map +1 -1
  109. package/build/@types/common/components/newFeatureSupportLevels/types.d.ts +1 -1
  110. package/build/@types/common/components/newFeatureSupportLevels/types.d.ts.map +1 -1
  111. package/build/@types/common/components/operators/operatorDescriptions.d.ts +27 -0
  112. package/build/@types/common/components/operators/operatorDescriptions.d.ts.map +1 -0
  113. package/build/@types/common/components/operators/operatorSpecs.d.ts +34 -4
  114. package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -1
  115. package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts.map +1 -1
  116. package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts +1 -2
  117. package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts.map +1 -1
  118. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +3 -3
  119. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
  120. package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -1
  121. package/build/@types/common/components/ui/SimpleDropdown.d.ts.map +1 -1
  122. package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts +16 -0
  123. package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts.map +1 -0
  124. package/build/@types/common/components/ui/formik/TextAreaField.d.ts.map +1 -1
  125. package/build/@types/common/components/ui/formik/index.d.ts +1 -1
  126. package/build/@types/common/components/ui/formik/index.d.ts.map +1 -1
  127. package/build/@types/common/config/constants.d.ts +19 -2
  128. package/build/@types/common/config/constants.d.ts.map +1 -1
  129. package/build/@types/common/config/docs_links.d.ts +9 -6
  130. package/build/@types/common/config/docs_links.d.ts.map +1 -1
  131. package/build/@types/common/selectors/clusterSelectors.d.ts +1 -1
  132. package/build/@types/common/selectors/clusterSelectors.d.ts.map +1 -1
  133. package/build/@types/common/types/cpuArchitecture.d.ts.map +1 -1
  134. package/build/@types/common/types/ui-settings.d.ts +1 -0
  135. package/build/@types/common/types/ui-settings.d.ts.map +1 -1
  136. package/build/@types/common/utils.d.ts +9 -0
  137. package/build/@types/common/utils.d.ts.map +1 -1
  138. package/build/@types/ocm/components/Routes.d.ts +7 -4
  139. package/build/@types/ocm/components/Routes.d.ts.map +1 -1
  140. package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +2 -0
  141. package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
  142. package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
  143. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersion.d.ts +3 -3
  144. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersion.d.ts.map +1 -1
  145. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
  146. package/build/@types/ocm/components/clusterConfiguration/OcmSNODisclaimer.d.ts +1 -4
  147. package/build/@types/ocm/components/clusterConfiguration/OcmSNODisclaimer.d.ts.map +1 -1
  148. package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts +1 -1
  149. package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts.map +1 -1
  150. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.d.ts.map +1 -1
  151. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
  152. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.d.ts.map +1 -1
  153. package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts +2 -1
  154. package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts.map +1 -1
  155. package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts.map +1 -1
  156. package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts.map +1 -1
  157. package/build/@types/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.d.ts.map +1 -1
  158. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.d.ts.map +1 -1
  159. package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
  160. package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts +0 -1
  161. package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
  162. package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts +4 -2
  163. package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts.map +1 -1
  164. package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
  165. package/build/@types/ocm/components/clusterWizard/CredentialsDownload.d.ts.map +1 -1
  166. package/build/@types/ocm/components/clusterWizard/NewClusterWizard.d.ts.map +1 -1
  167. package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
  168. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts +2 -1
  169. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -1
  170. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts +2 -1
  171. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -1
  172. package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
  173. package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
  174. package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts +4 -0
  175. package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts.map +1 -0
  176. package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts +6 -0
  177. package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts.map +1 -0
  178. package/build/@types/ocm/components/clusterWizard/disconnected/ReviewStep.d.ts +4 -0
  179. package/build/@types/ocm/components/clusterWizard/disconnected/ReviewStep.d.ts.map +1 -0
  180. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +3 -2
  181. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
  182. package/build/@types/ocm/components/clusters/AssistedInstallerHeader.d.ts.map +1 -1
  183. package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
  184. package/build/@types/ocm/components/clusters/Clusters.d.ts.map +1 -1
  185. package/build/@types/ocm/components/clusters/NewClusterPage.d.ts.map +1 -1
  186. package/build/@types/ocm/components/clusters/clusterPolling.d.ts.map +1 -1
  187. package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
  188. package/build/@types/ocm/components/hosts/use-hosts-table.d.ts +1 -1
  189. package/build/@types/ocm/components/hosts/use-hosts-table.d.ts.map +1 -1
  190. package/build/@types/ocm/services/DiskEncryptionService.d.ts +1 -1
  191. package/build/@types/ocm/services/DiskEncryptionService.d.ts.map +1 -1
  192. package/build/@types/ocm/store/slices/current-cluster/selectors.d.ts.map +1 -1
  193. package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +2 -2
  194. package/build/cjs/cim/components/Agent/AgentStatus.js +2 -2
  195. package/build/cjs/cim/components/Agent/AgentStatus.js.map +1 -1
  196. package/build/cjs/cim/components/Agent/tableUtils.js.map +1 -1
  197. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js +12 -9
  198. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js.map +1 -1
  199. package/build/cjs/cim/components/ClusterDeployment/ScaleUpForm.js +2 -2
  200. package/build/cjs/cim/components/ClusterDeployment/ScaleUpForm.js.map +1 -1
  201. package/build/cjs/cim/components/ClusterDeployment/{ACMClusterDeploymentDetailsStep.js → clusterDetails/ACMClusterDeploymentDetailsStep.js} +6 -5
  202. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.js.map +1 -0
  203. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentDetailsForm.js → clusterDetails/ClusterDeploymentDetailsForm.js} +8 -8
  204. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js.map +1 -0
  205. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentDetailsStep.js → clusterDetails/ClusterDeploymentDetailsStep.js} +9 -12
  206. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js.map +1 -0
  207. package/build/cjs/cim/components/ClusterDeployment/{ClusterDetailsFormFields.js → clusterDetails/ClusterDetailsFormFields.js} +24 -25
  208. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js.map +1 -0
  209. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/index.js +8 -0
  210. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/index.js.map +1 -0
  211. package/build/cjs/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.js → components/AdditionalNTPSourcesDialogToggle.js} +1 -1
  212. package/build/cjs/cim/components/ClusterDeployment/components/AdditionalNTPSourcesDialogToggle.js.map +1 -0
  213. package/build/cjs/cim/components/ClusterDeployment/components/index.js +5 -0
  214. package/build/cjs/cim/components/ClusterDeployment/components/index.js.map +1 -0
  215. package/build/cjs/cim/components/ClusterDeployment/constants.js +1 -0
  216. package/build/cjs/cim/components/ClusterDeployment/constants.js.map +1 -1
  217. package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js +71 -0
  218. package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js.map +1 -0
  219. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.js +64 -0
  220. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.js.map +1 -0
  221. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js +134 -0
  222. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js.map +1 -0
  223. package/build/cjs/cim/components/ClusterDeployment/customManifests/index.js +5 -0
  224. package/build/cjs/cim/components/ClusterDeployment/customManifests/index.js.map +1 -0
  225. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostDiscoveryTable.js → hostDiscovery/ClusterDeploymentHostDiscoveryTable.js} +12 -12
  226. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js.map +1 -0
  227. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscovery.js → hostDiscovery/ClusterDeploymentHostsDiscovery.js} +6 -6
  228. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js.map +1 -0
  229. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscoveryStep.js → hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js} +10 -9
  230. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js.map +1 -0
  231. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/index.js +5 -0
  232. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/index.js.map +1 -0
  233. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostSelectionStep.js → hostSelection/ClusterDeploymentHostSelectionStep.js} +10 -10
  234. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js.map +1 -0
  235. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.js → hostSelection/ClusterDeploymentHostsSelection.js} +7 -7
  236. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.js.map +1 -0
  237. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionAdvanced.js → hostSelection/ClusterDeploymentHostsSelectionAdvanced.js} +7 -6
  238. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.js.map +1 -0
  239. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionBasic.js → hostSelection/ClusterDeploymentHostsSelectionBasic.js} +7 -7
  240. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionBasic.js.map +1 -0
  241. package/build/cjs/cim/components/ClusterDeployment/hostSelection/index.js +6 -0
  242. package/build/cjs/cim/components/ClusterDeployment/hostSelection/index.js.map +1 -0
  243. package/build/cjs/cim/components/ClusterDeployment/index.js +4 -4
  244. package/build/cjs/cim/components/ClusterDeployment/index.js.map +1 -1
  245. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsNetworkTable.js → networking/ClusterDeploymentHostsNetworkTable.js} +10 -10
  246. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.js.map +1 -0
  247. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingForm.js → networking/ClusterDeploymentNetworkingForm.js} +6 -9
  248. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js.map +1 -0
  249. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingStep.js → networking/ClusterDeploymentNetworkingStep.js} +10 -10
  250. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.js.map +1 -0
  251. package/build/cjs/cim/components/ClusterDeployment/networking/index.js +5 -0
  252. package/build/cjs/cim/components/ClusterDeployment/networking/index.js.map +1 -0
  253. package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentReviewStep.js → review/ClusterDeploymentReviewStep.js} +21 -16
  254. package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js.map +1 -0
  255. package/build/cjs/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.js +51 -0
  256. package/build/cjs/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.js.map +1 -0
  257. package/build/cjs/cim/components/ClusterDeployment/review/index.js +5 -0
  258. package/build/cjs/cim/components/ClusterDeployment/review/index.js.map +1 -0
  259. package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +1 -2
  260. package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
  261. package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js +1 -0
  262. package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js.map +1 -1
  263. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js +7 -12
  264. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js.map +1 -1
  265. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js +0 -28
  266. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js.map +1 -1
  267. package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js +8 -3
  268. package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js.map +1 -1
  269. package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js +1 -1
  270. package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js.map +1 -1
  271. package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js +2 -2
  272. package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
  273. package/build/cjs/cim/components/helpers/toAssisted.js +4 -1
  274. package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
  275. package/build/cjs/cim/components/helpers/versions.js +5 -1
  276. package/build/cjs/cim/components/helpers/versions.js.map +1 -1
  277. package/build/cjs/cim/components/modals/EditProxyModal.js +1 -1
  278. package/build/cjs/cim/components/modals/EditProxyModal.js.map +1 -1
  279. package/build/cjs/cim/components/modals/EditSSHKeyModal.js +1 -1
  280. package/build/cjs/cim/components/modals/EditSSHKeyModal.js.map +1 -1
  281. package/build/cjs/cim/components/modals/MassApproveAgentModal.js +1 -1
  282. package/build/cjs/cim/components/modals/MassApproveAgentModal.js.map +1 -1
  283. package/build/cjs/cim/hooks/index.js +5 -0
  284. package/build/cjs/cim/hooks/index.js.map +1 -0
  285. package/build/cjs/cim/hooks/types.js +3 -0
  286. package/build/cjs/cim/hooks/types.js.map +1 -0
  287. package/build/cjs/cim/hooks/useConfigMaps.js +12 -0
  288. package/build/cjs/cim/hooks/useConfigMaps.js.map +1 -0
  289. package/build/cjs/cim/hooks/useK8sWatchResource.js +12 -0
  290. package/build/cjs/cim/hooks/useK8sWatchResource.js.map +1 -0
  291. package/build/cjs/cim/types/index.js +1 -0
  292. package/build/cjs/cim/types/index.js.map +1 -1
  293. package/build/cjs/cim/types/models.js +14 -0
  294. package/build/cjs/cim/types/models.js.map +1 -0
  295. package/build/cjs/cim/utils.js +12 -1
  296. package/build/cjs/cim/utils.js.map +1 -1
  297. package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js +23 -6
  298. package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
  299. package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js +11 -6
  300. package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js.map +1 -1
  301. package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js +34 -0
  302. package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js.map +1 -0
  303. package/build/cjs/common/components/clusterConfiguration/OcmTNADisclaimer.js +14 -0
  304. package/build/cjs/common/components/clusterConfiguration/OcmTNADisclaimer.js.map +1 -0
  305. package/build/cjs/common/components/clusterConfiguration/index.js +2 -5
  306. package/build/cjs/common/components/clusterConfiguration/index.js.map +1 -1
  307. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +1 -1
  308. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
  309. package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js +6 -25
  310. package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js.map +1 -1
  311. package/build/cjs/common/components/fetching/EventListFetch.js +1 -1
  312. package/build/cjs/common/components/fetching/EventListFetch.js.map +1 -1
  313. package/build/cjs/common/components/hosts/DiskRole.js +1 -1
  314. package/build/cjs/common/components/hosts/DiskRole.js.map +1 -1
  315. package/build/cjs/common/components/hosts/TableToolbar.js +3 -3
  316. package/build/cjs/common/components/hosts/TableToolbar.js.map +1 -1
  317. package/build/cjs/common/components/hosts/tableUtils.js +1 -1
  318. package/build/cjs/common/components/hosts/tableUtils.js.map +1 -1
  319. package/build/cjs/common/components/hosts/utils.js +11 -1
  320. package/build/cjs/common/components/hosts/utils.js.map +1 -1
  321. package/build/cjs/common/components/operators/operatorDescriptions.js +30 -0
  322. package/build/cjs/common/components/operators/operatorDescriptions.js.map +1 -0
  323. package/build/cjs/common/components/operators/operatorSpecs.js +384 -189
  324. package/build/cjs/common/components/operators/operatorSpecs.js.map +1 -1
  325. package/build/cjs/common/components/ui/ClusterEventsToolbar.js +5 -5
  326. package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
  327. package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js +20 -140
  328. package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js.map +1 -1
  329. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +10 -15
  330. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
  331. package/build/cjs/common/components/ui/OpenShiftVersionModal.js +8 -12
  332. package/build/cjs/common/components/ui/OpenShiftVersionModal.js.map +1 -1
  333. package/build/cjs/common/components/ui/SimpleDropdown.js +1 -1
  334. package/build/cjs/common/components/ui/SimpleDropdown.js.map +1 -1
  335. package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js +153 -0
  336. package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js.map +1 -0
  337. package/build/cjs/common/components/ui/formik/TextAreaField.js +2 -1
  338. package/build/cjs/common/components/ui/formik/TextAreaField.js.map +1 -1
  339. package/build/cjs/common/components/ui/formik/index.js +3 -3
  340. package/build/cjs/common/components/ui/formik/index.js.map +1 -1
  341. package/build/cjs/common/config/constants.js +25 -5
  342. package/build/cjs/common/config/constants.js.map +1 -1
  343. package/build/cjs/common/config/docs_links.js +57 -29
  344. package/build/cjs/common/config/docs_links.js.map +1 -1
  345. package/build/cjs/common/selectors/clusterSelectors.js +1 -1
  346. package/build/cjs/common/selectors/clusterSelectors.js.map +1 -1
  347. package/build/cjs/common/types/cpuArchitecture.js +3 -5
  348. package/build/cjs/common/types/cpuArchitecture.js.map +1 -1
  349. package/build/cjs/common/utils.js +28 -1
  350. package/build/cjs/common/utils.js.map +1 -1
  351. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +1 -1
  352. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js.map +1 -1
  353. package/build/cjs/ocm/components/Routes.js +10 -8
  354. package/build/cjs/ocm/components/Routes.js.map +1 -1
  355. package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js +27 -12
  356. package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
  357. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +16 -0
  358. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
  359. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersion.js +14 -10
  360. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersion.js.map +1 -1
  361. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +10 -15
  362. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
  363. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +1 -1
  364. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
  365. package/build/cjs/ocm/components/clusterConfiguration/OcmSNODisclaimer.js +5 -21
  366. package/build/cjs/ocm/components/clusterConfiguration/OcmSNODisclaimer.js.map +1 -1
  367. package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js.map +1 -1
  368. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js +1 -1
  369. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js.map +1 -1
  370. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +4 -1
  371. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
  372. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js +14 -20
  373. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js.map +1 -1
  374. package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js +4 -4
  375. package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js.map +1 -1
  376. package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js +2 -1
  377. package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js.map +1 -1
  378. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js +1 -1
  379. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js.map +1 -1
  380. package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js +5 -1
  381. package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js.map +1 -1
  382. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.js +1 -1
  383. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.js.map +1 -1
  384. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.js +0 -1
  385. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.js.map +1 -1
  386. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/staticIp.css +3 -3
  387. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js +1 -1
  388. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js.map +1 -1
  389. package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js +2 -2
  390. package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
  391. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +8 -5
  392. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
  393. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +11 -13
  394. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
  395. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContext.js.map +1 -1
  396. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +17 -2
  397. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
  398. package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js +2 -1
  399. package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js.map +1 -1
  400. package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js +15 -2
  401. package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js.map +1 -1
  402. package/build/cjs/ocm/components/clusterWizard/Operators.js +4 -1
  403. package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
  404. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js +22 -18
  405. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js.map +1 -1
  406. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js +36 -19
  407. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js.map +1 -1
  408. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +13 -3
  409. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
  410. package/build/cjs/ocm/components/clusterWizard/constants.js +2 -0
  411. package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
  412. package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js +40 -0
  413. package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -0
  414. package/build/cjs/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.js +15 -0
  415. package/build/cjs/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.js.map +1 -0
  416. package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js +63 -0
  417. package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js.map +1 -0
  418. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +15 -2
  419. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
  420. package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js +3 -0
  421. package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js.map +1 -1
  422. package/build/cjs/ocm/components/clusters/ClusterPage.js +2 -0
  423. package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
  424. package/build/cjs/ocm/components/clusters/Clusters.js +6 -0
  425. package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
  426. package/build/cjs/ocm/components/clusters/ClustersListToolbar.js +1 -1
  427. package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
  428. package/build/cjs/ocm/components/clusters/NewClusterPage.js +6 -7
  429. package/build/cjs/ocm/components/clusters/NewClusterPage.js.map +1 -1
  430. package/build/cjs/ocm/components/clusters/clusterPolling.js +1 -1
  431. package/build/cjs/ocm/components/clusters/clusterPolling.js.map +1 -1
  432. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +5 -15
  433. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
  434. package/build/cjs/ocm/components/hosts/use-hosts-table.js +18 -4
  435. package/build/cjs/ocm/components/hosts/use-hosts-table.js.map +1 -1
  436. package/build/cjs/ocm/services/DiskEncryptionService.js +12 -4
  437. package/build/cjs/ocm/services/DiskEncryptionService.js.map +1 -1
  438. package/build/cjs/ocm/store/slices/current-cluster/selectors.js +1 -1
  439. package/build/cjs/ocm/store/slices/current-cluster/selectors.js.map +1 -1
  440. package/lib/cim/components/Agent/AgentStatus.tsx +1 -1
  441. package/lib/cim/components/Agent/tableUtils.tsx +1 -1
  442. package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizard.tsx +15 -5
  443. package/lib/cim/components/ClusterDeployment/ScaleUpForm.tsx +1 -1
  444. package/lib/cim/components/ClusterDeployment/{ACMClusterDeploymentDetailsStep.tsx → clusterDetails/ACMClusterDeploymentDetailsStep.tsx} +6 -8
  445. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentDetailsForm.tsx → clusterDetails/ClusterDeploymentDetailsForm.tsx} +17 -11
  446. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentDetailsStep.tsx → clusterDetails/ClusterDeploymentDetailsStep.tsx} +10 -15
  447. package/lib/cim/components/ClusterDeployment/{ClusterDetailsFormFields.tsx → clusterDetails/ClusterDetailsFormFields.tsx} +36 -56
  448. package/lib/cim/components/ClusterDeployment/clusterDetails/index.tsx +4 -0
  449. package/lib/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.tsx → components/AdditionalNTPSourcesDialogToggle.tsx} +1 -1
  450. package/lib/cim/components/ClusterDeployment/components/index.tsx +1 -0
  451. package/lib/cim/components/ClusterDeployment/constants.ts +1 -0
  452. package/lib/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.tsx +121 -0
  453. package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.tsx +191 -0
  454. package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapForm.tsx +247 -0
  455. package/lib/cim/components/ClusterDeployment/customManifests/index.tsx +1 -0
  456. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostDiscoveryTable.tsx → hostDiscovery/ClusterDeploymentHostDiscoveryTable.tsx} +13 -13
  457. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscovery.tsx → hostDiscovery/ClusterDeploymentHostsDiscovery.tsx} +8 -8
  458. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscoveryStep.tsx → hostDiscovery/ClusterDeploymentHostsDiscoveryStep.tsx} +10 -11
  459. package/lib/cim/components/ClusterDeployment/hostDiscovery/index.tsx +1 -0
  460. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostSelectionStep.tsx → hostSelection/ClusterDeploymentHostSelectionStep.tsx} +13 -16
  461. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.tsx → hostSelection/ClusterDeploymentHostsSelection.tsx} +7 -7
  462. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionAdvanced.tsx → hostSelection/ClusterDeploymentHostsSelectionAdvanced.tsx} +10 -12
  463. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionBasic.tsx → hostSelection/ClusterDeploymentHostsSelectionBasic.tsx} +9 -9
  464. package/lib/cim/components/ClusterDeployment/hostSelection/index.tsx +2 -0
  465. package/lib/cim/components/ClusterDeployment/index.ts +2 -2
  466. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsNetworkTable.tsx → networking/ClusterDeploymentHostsNetworkTable.tsx} +12 -12
  467. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingForm.tsx → networking/ClusterDeploymentNetworkingForm.tsx} +8 -12
  468. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingStep.tsx → networking/ClusterDeploymentNetworkingStep.tsx} +11 -13
  469. package/lib/cim/components/ClusterDeployment/networking/index.tsx +1 -0
  470. package/lib/cim/components/ClusterDeployment/{ClusterDeploymentReviewStep.tsx → review/ClusterDeploymentReviewStep.tsx} +36 -15
  471. package/lib/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.tsx +70 -0
  472. package/lib/cim/components/ClusterDeployment/review/index.tsx +1 -0
  473. package/lib/cim/components/ClusterDeployment/types.ts +1 -0
  474. package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +2 -2
  475. package/lib/cim/components/ClusterDeployment/wizardTransition.ts +2 -0
  476. package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.tsx +7 -12
  477. package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.ts +1 -1
  478. package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.tsx +1 -33
  479. package/lib/cim/components/Hypershift/forms/NodePoolAgentsForm.tsx +24 -12
  480. package/lib/cim/components/Hypershift/modals/AddNodePoolModal.tsx +1 -1
  481. package/lib/cim/components/Hypershift/modals/ManageHostsModal.tsx +2 -2
  482. package/lib/cim/components/helpers/toAssisted.ts +9 -1
  483. package/lib/cim/components/helpers/versions.ts +7 -3
  484. package/lib/cim/components/modals/EditProxyModal.tsx +1 -1
  485. package/lib/cim/components/modals/EditSSHKeyModal.tsx +1 -1
  486. package/lib/cim/components/modals/MassApproveAgentModal.tsx +1 -1
  487. package/lib/cim/hooks/index.tsx +1 -0
  488. package/lib/cim/hooks/types.tsx +8 -0
  489. package/lib/cim/hooks/useConfigMaps.tsx +14 -0
  490. package/lib/cim/hooks/useK8sWatchResource.tsx +27 -0
  491. package/lib/cim/types/index.ts +1 -0
  492. package/lib/cim/types/k8s/agent-cluster-install.ts +2 -0
  493. package/lib/cim/types/models.tsx +12 -0
  494. package/lib/cim/utils.ts +12 -0
  495. package/lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +61 -31
  496. package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.tsx +20 -5
  497. package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionValues.ts +1 -0
  498. package/lib/common/components/clusterConfiguration/ExternalPlatformsDropdown.tsx +74 -0
  499. package/lib/common/components/clusterConfiguration/OcmTNADisclaimer.tsx +23 -0
  500. package/lib/common/components/clusterConfiguration/index.ts +1 -2
  501. package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +1 -1
  502. package/lib/common/components/clusterWizard/clusterDetailsValidation.ts +6 -34
  503. package/lib/common/components/clusterWizard/types.ts +2 -4
  504. package/lib/common/components/fetching/EventListFetch.tsx +2 -2
  505. package/lib/common/components/hosts/DiskRole.tsx +0 -1
  506. package/lib/common/components/hosts/TableToolbar.tsx +9 -10
  507. package/lib/common/components/hosts/tableUtils.tsx +1 -1
  508. package/lib/common/components/hosts/types.ts +1 -1
  509. package/lib/common/components/hosts/utils.ts +13 -2
  510. package/lib/common/components/newFeatureSupportLevels/types.ts +1 -0
  511. package/lib/common/components/operators/operatorDescriptions.tsx +70 -0
  512. package/lib/common/components/operators/operatorSpecs.tsx +505 -261
  513. package/lib/common/components/ui/ClusterEventsToolbar.tsx +6 -0
  514. package/lib/common/components/ui/OpenShiftSelectWithSearch.tsx +38 -239
  515. package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +14 -23
  516. package/lib/common/components/ui/OpenShiftVersionModal.tsx +12 -16
  517. package/lib/common/components/ui/SimpleDropdown.tsx +0 -1
  518. package/lib/common/components/ui/formik/SelectFieldWithSearch.tsx +278 -0
  519. package/lib/common/components/ui/formik/TextAreaField.tsx +14 -7
  520. package/lib/common/components/ui/formik/index.tsx +1 -1
  521. package/lib/common/config/constants.ts +23 -4
  522. package/lib/common/config/docs_links.ts +76 -41
  523. package/lib/common/selectors/clusterSelectors.ts +1 -2
  524. package/lib/common/types/cpuArchitecture.ts +3 -9
  525. package/lib/common/types/ui-settings.ts +1 -0
  526. package/lib/common/utils.ts +30 -0
  527. package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +2 -2
  528. package/lib/ocm/components/Routes.tsx +22 -15
  529. package/lib/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +39 -24
  530. package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +33 -1
  531. package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersion.tsx +18 -11
  532. package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +13 -18
  533. package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +1 -1
  534. package/lib/ocm/components/clusterConfiguration/OcmSNODisclaimer.tsx +14 -60
  535. package/lib/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.tsx +1 -1
  536. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.tsx +1 -0
  537. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +6 -1
  538. package/lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx +20 -26
  539. package/lib/ocm/components/clusterConfiguration/operators/OperatorCheckbox.tsx +6 -3
  540. package/lib/ocm/components/clusterConfiguration/operators/utils.tsx +2 -1
  541. package/lib/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.tsx +2 -1
  542. package/lib/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.tsx +5 -1
  543. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.tsx +2 -2
  544. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.tsx +0 -1
  545. package/lib/ocm/components/clusterConfiguration/staticIp/components/staticIp.css +3 -3
  546. package/lib/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.ts +1 -1
  547. package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +2 -2
  548. package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +15 -6
  549. package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +18 -15
  550. package/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx +4 -2
  551. package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +18 -2
  552. package/lib/ocm/components/clusterWizard/CredentialsDownload.tsx +2 -1
  553. package/lib/ocm/components/clusterWizard/NewClusterWizard.tsx +17 -1
  554. package/lib/ocm/components/clusterWizard/Operators.tsx +5 -1
  555. package/lib/ocm/components/clusterWizard/OperatorsBundle.tsx +29 -23
  556. package/lib/ocm/components/clusterWizard/OperatorsSelect.tsx +68 -41
  557. package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +30 -3
  558. package/lib/ocm/components/clusterWizard/constants.ts +2 -0
  559. package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +81 -0
  560. package/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx +32 -0
  561. package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +123 -0
  562. package/lib/ocm/components/clusterWizard/wizardTransition.ts +18 -2
  563. package/lib/ocm/components/clusters/AssistedInstallerHeader.tsx +9 -1
  564. package/lib/ocm/components/clusters/ClusterPage.tsx +3 -0
  565. package/lib/ocm/components/clusters/Clusters.tsx +10 -0
  566. package/lib/ocm/components/clusters/ClustersListToolbar.tsx +1 -1
  567. package/lib/ocm/components/clusters/NewClusterPage.tsx +9 -13
  568. package/lib/ocm/components/clusters/clusterPolling.ts +2 -2
  569. package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +7 -18
  570. package/lib/ocm/components/hosts/use-hosts-table.tsx +18 -5
  571. package/lib/ocm/services/DiskEncryptionService.ts +8 -2
  572. package/lib/ocm/store/slices/current-cluster/selectors.ts +1 -1
  573. package/package.json +4 -4
  574. package/build/@types/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.d.ts.map +0 -1
  575. package/build/@types/cim/components/ClusterDeployment/AdditionalNTPSourcesDialogToggle.d.ts.map +0 -1
  576. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts.map +0 -1
  577. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.d.ts.map +0 -1
  578. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.d.ts.map +0 -1
  579. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.d.ts.map +0 -1
  580. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts.map +0 -1
  581. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts +0 -5
  582. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts.map +0 -1
  583. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.d.ts.map +0 -1
  584. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsSelection.d.ts.map +0 -1
  585. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +0 -1
  586. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionBasic.d.ts.map +0 -1
  587. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.d.ts.map +0 -1
  588. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.d.ts.map +0 -1
  589. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.d.ts.map +0 -1
  590. package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts.map +0 -1
  591. package/build/@types/common/components/clusterConfiguration/SNOControlGroup.d.ts +0 -10
  592. package/build/@types/common/components/clusterConfiguration/SNOControlGroup.d.ts.map +0 -1
  593. package/build/@types/common/components/clusterConfiguration/SNODisclaimer.d.ts +0 -10
  594. package/build/@types/common/components/clusterConfiguration/SNODisclaimer.d.ts.map +0 -1
  595. package/build/@types/common/components/ui/formik/SingleNodeCheckbox.d.ts +0 -9
  596. package/build/@types/common/components/ui/formik/SingleNodeCheckbox.d.ts.map +0 -1
  597. package/build/@types/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.d.ts +0 -11
  598. package/build/@types/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.d.ts.map +0 -1
  599. package/build/cjs/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.js.map +0 -1
  600. package/build/cjs/cim/components/ClusterDeployment/AdditionalNTPSourcesDialogToggle.js.map +0 -1
  601. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js.map +0 -1
  602. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.js.map +0 -1
  603. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.js.map +0 -1
  604. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.js.map +0 -1
  605. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js.map +0 -1
  606. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.js.map +0 -1
  607. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.js.map +0 -1
  608. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsSelection.js.map +0 -1
  609. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionAdvanced.js.map +0 -1
  610. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionBasic.js.map +0 -1
  611. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.js.map +0 -1
  612. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.js.map +0 -1
  613. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.js.map +0 -1
  614. package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js.map +0 -1
  615. package/build/cjs/common/components/clusterConfiguration/SNOControlGroup.js +0 -20
  616. package/build/cjs/common/components/clusterConfiguration/SNOControlGroup.js.map +0 -1
  617. package/build/cjs/common/components/clusterConfiguration/SNODisclaimer.js +0 -31
  618. package/build/cjs/common/components/clusterConfiguration/SNODisclaimer.js.map +0 -1
  619. package/build/cjs/common/components/ui/formik/SingleNodeCheckbox.js +0 -45
  620. package/build/cjs/common/components/ui/formik/SingleNodeCheckbox.js.map +0 -1
  621. package/build/cjs/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.js +0 -51
  622. package/build/cjs/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.js.map +0 -1
  623. package/lib/common/components/clusterConfiguration/SNOControlGroup.tsx +0 -41
  624. package/lib/common/components/clusterConfiguration/SNODisclaimer.tsx +0 -79
  625. package/lib/common/components/ui/formik/SingleNodeCheckbox.tsx +0 -98
  626. package/lib/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.tsx +0 -107
  627. /package/build/@types/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.d.ts → components/AdditionalNTPSourcesDialogToggle.d.ts} +0 -0
@@ -5,14 +5,14 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const react_core_1 = require("@patternfly/react-core");
7
7
  const formik_1 = require("formik");
8
- const common_1 = require("../../../common");
9
- const StaticTextField_1 = require("../../../common/components/ui/StaticTextField");
10
- const clusters_1 = require("../../../common/components/clusters");
11
- const formik_2 = require("../../../common/components/ui/formik");
12
- const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
13
- const CpuArchitectureDropdown_1 = tslib_1.__importDefault(require("../common/CpuArchitectureDropdown"));
14
- const ControlPlaneNodesDropdown_1 = tslib_1.__importDefault(require("../../../common/components/clusterConfiguration/ControlPlaneNodesDropdown"));
15
- const helpers_1 = require("../helpers");
8
+ const common_1 = require("../../../../common");
9
+ const StaticTextField_1 = require("../../../../common/components/ui/StaticTextField");
10
+ const clusters_1 = require("../../../../common/components/clusters");
11
+ const formik_2 = require("../../../../common/components/ui/formik");
12
+ const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
13
+ const CpuArchitectureDropdown_1 = tslib_1.__importDefault(require("../../common/CpuArchitectureDropdown"));
14
+ const ControlPlaneNodesDropdown_1 = tslib_1.__importDefault(require("../../../../common/components/clusterConfiguration/ControlPlaneNodesDropdown"));
15
+ const helpers_1 = require("../../helpers");
16
16
  const BaseDnsHelperText = ({ name, baseDnsDomain, }) => {
17
17
  const { t } = (0, use_translation_wrapper_1.useTranslation)();
18
18
  return (React.createElement(React.Fragment, null,
@@ -34,7 +34,7 @@ const ClusterDetailsFormFields = ({ isEditFlow, versions, allVersions, forceOpen
34
34
  React.useEffect(() => {
35
35
  if (!versions.length && !values.openshiftVersion) {
36
36
  const fallbackOpenShiftVersion = allVersions.find((version) => version.default);
37
- setFieldValue('customOpenshiftSelect', fallbackOpenShiftVersion);
37
+ setFieldValue('customOpenshiftSelect', fallbackOpenShiftVersion === null || fallbackOpenShiftVersion === void 0 ? void 0 : fallbackOpenShiftVersion.value);
38
38
  setFieldValue('openshiftVersion', fallbackOpenShiftVersion === null || fallbackOpenShiftVersion === void 0 ? void 0 : fallbackOpenShiftVersion.value);
39
39
  setFieldValue('networkType', (0, helpers_1.getNetworkType)(fallbackOpenShiftVersion));
40
40
  }
@@ -48,19 +48,19 @@ const ClusterDetailsFormFields = ({ isEditFlow, versions, allVersions, forceOpen
48
48
  label: version.label,
49
49
  value: version.value,
50
50
  })), [versions]);
51
- const additionalSelectOptions = React.useMemo(() => {
51
+ const additionalSelectOption = React.useMemo(() => {
52
52
  if (values.customOpenshiftSelect &&
53
- !selectOptions.some((option) => { var _a; return option.value === ((_a = values.customOpenshiftSelect) === null || _a === void 0 ? void 0 : _a.value); })) {
54
- return [
55
- {
56
- value: values.customOpenshiftSelect.value,
57
- label: values.customOpenshiftSelect.label,
58
- },
59
- ];
53
+ !versions.some((version) => version.value === values.customOpenshiftSelect)) {
54
+ return allVersions.find((option) => option.value === values.customOpenshiftSelect);
60
55
  }
61
- return [];
62
- }, [selectOptions, values.customOpenshiftSelect]);
63
- const isDiskEncryptionEnabled = values.enableDiskEncryptionOnMasters || values.enableDiskEncryptionOnWorkers;
56
+ return undefined;
57
+ }, [allVersions, values.customOpenshiftSelect, versions]);
58
+ const allowTNA = React.useMemo(() => {
59
+ var _a;
60
+ const current = values.customOpenshiftSelect ||
61
+ ((_a = versions.find((version) => version.value === values.openshiftVersion)) === null || _a === void 0 ? void 0 : _a.version);
62
+ return (0, common_1.isMajorMinorVersionEqualOrGreater)(current, '4.19') && values.platform === 'baremetal';
63
+ }, [values.customOpenshiftSelect, values.openshiftVersion, values.platform, versions]);
64
64
  return (React.createElement(react_core_1.Form, { id: "wizard-cluster-details__form" },
65
65
  isEditFlow ? (React.createElement(StaticTextField_1.StaticTextField, { name: "name", label: t('ai:Cluster name'), isRequired: true }, name)) : (React.createElement(formik_2.RichInputField, { ref: nameInputRef, label: t('ai:Cluster name'), name: "name", placeholder: t('ai:Enter cluster name'), richValidationMessages: (0, formik_2.acmClusterNameValidationMessages)(t), isRequired: true })),
66
66
  (extensionAfter === null || extensionAfter === void 0 ? void 0 : extensionAfter['name']) && extensionAfter['name'],
@@ -69,15 +69,14 @@ const ClusterDetailsFormFields = ({ isEditFlow, versions, allVersions, forceOpen
69
69
  t('ai:OpenShift'),
70
70
  " ",
71
71
  forceOpenshiftVersion)) : (React.createElement(React.Fragment, null,
72
- React.createElement(common_1.OpenShiftVersionDropdown, { name: "openshiftVersion", items: selectOptions, versions: versions, showReleasesLink: false, showOpenshiftVersionModal: () => setOpenshiftVersionModalOpen(true), customItems: additionalSelectOptions }),
72
+ React.createElement(common_1.OpenShiftVersionDropdown, { name: "openshiftVersion", items: selectOptions, versions: versions, showReleasesLink: false, showOpenshiftVersionModal: () => setOpenshiftVersionModalOpen(true), customItem: additionalSelectOption }),
73
73
  openshiftVersionModalOpen && (React.createElement(common_1.OpenShiftVersionModal, { allVersions: allVersions, setOpenshiftVersionModalOpen: setOpenshiftVersionModalOpen })))),
74
- React.createElement(ControlPlaneNodesDropdown_1.default, { isDisabled: isEditFlow, allowHighlyAvailable: allowHighlyAvailable }),
74
+ React.createElement(ControlPlaneNodesDropdown_1.default, { isDisabled: isEditFlow, allowHighlyAvailable: allowHighlyAvailable, allowTNA: allowTNA }),
75
75
  !isNutanix && (React.createElement(CpuArchitectureDropdown_1.default, { cpuArchitectures: cpuArchitectures, isDisabled: isEditFlow })),
76
+ React.createElement(common_1.ExternalPlatformsDropdown, { isDisabled: isEditFlow }),
76
77
  (extensionAfter === null || extensionAfter === void 0 ? void 0 : extensionAfter['openshiftVersion']) && extensionAfter['openshiftVersion'],
77
78
  !isEditFlow && React.createElement(clusters_1.PullSecret, null),
78
- (extensionAfter === null || extensionAfter === void 0 ? void 0 : extensionAfter['pullSecret']) && extensionAfter['pullSecret'],
79
- isDiskEncryptionEnabled && values.diskEncryptionMode === 'tpmv2' && (React.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.warning, isInline: true, title: React.createElement(react_core_1.FlexItem, null, t('ai:To use this encryption method, enable TPMv2 encryption in the BIOS of each selected host.')) })),
80
- isDiskEncryptionEnabled && values.diskEncryptionMode === 'tang' && (React.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.warning, isInline: true, title: React.createElement(react_core_1.FlexItem, null, t('ai:The use of Tang encryption mode to encrypt your disks is only supported for bare metal or vSphere installations on user-provisioned infrastructure.')) }))));
79
+ (extensionAfter === null || extensionAfter === void 0 ? void 0 : extensionAfter['pullSecret']) && extensionAfter['pullSecret']));
81
80
  };
82
81
  exports.ClusterDetailsFormFields = ClusterDetailsFormFields;
83
82
  //# sourceMappingURL=ClusterDetailsFormFields.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClusterDetailsFormFields.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeploy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A,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAG,YAAY,CAAC,KAAI,cAAc,CAAC,YAAY,CAAC,CAC1D,CACR,CAAC;AACJ,CAAC,CAAC;AApIW,QAAA,wBAAwB,4BAoInC"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./ClusterDeploymentDetailsStep"), exports);
5
+ tslib_1.__exportStar(require("./ClusterDeploymentDetailsForm"), exports);
6
+ tslib_1.__exportStar(require("./ACMClusterDeploymentDetailsStep"), exports);
7
+ tslib_1.__exportStar(require("./ClusterDetailsFormFields"), exports);
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/clusterDetails/index.tsx"],"names":[],"mappings":";;;AAAA,yEAA+C;AAC/C,yEAA+C;AAC/C,4EAAkD;AAClD,qEAA2C"}
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AdditionalNTPSourcesDialogToggle = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importDefault(require("react"));
6
- const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
6
+ const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
7
7
  // TODO we should use hostValidationFailureHints instead of passing this 'action' which is actually a hint
8
8
  const AdditionalNTPSourcesDialogToggle = () => {
9
9
  const { t } = (0, use_translation_wrapper_1.useTranslation)();
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AdditionalNTPSourcesDialogToggle.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/components/AdditionalNTPSourcesDialogToggle.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,8FAAkF;AAElF,0GAA0G;AACnG,MAAM,gCAAgC,GAAa,GAAG,EAAE;IAC7D,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,OAAO,CACL,8DACG,CAAC,CACA,oIAAoI,CACrI,CACA,CACJ,CAAC;AACJ,CAAC,CAAC;AATW,QAAA,gCAAgC,oCAS3C"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./AdditionalNTPSourcesDialogToggle"), exports);
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/components/index.tsx"],"names":[],"mappings":";;;AAAA,6EAAmD"}
@@ -14,6 +14,7 @@ const wizardStepNames = (t) => ({
14
14
  'hosts-selection': t('ai:Cluster hosts'),
15
15
  'hosts-discovery': t('ai:Cluster hosts'),
16
16
  networking: t('ai:Networking'),
17
+ 'custom-manifests': t('ai:Custom manifests'),
17
18
  review: t('ai:Review and create'),
18
19
  });
19
20
  exports.wizardStepNames = wizardStepNames;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/constants.ts"],"names":[],"mappings":";;;AAGO,MAAM,0BAA0B,GAAG,CAAC,CAAY,EAA+B,EAAE,CAAC,CAAC;IACxF,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC;IAC7B,YAAY,EAAE,CAAC,CAAC,gBAAgB,CAAC;IACjC,YAAY,EAAE,CAAC,CAAC,wBAAwB,CAAC;CAC1C,CAAC,CAAC;AAJU,QAAA,0BAA0B,8BAIpC;AAEI,MAAM,eAAe,GAAG,CAC7B,CAAY,EAGZ,EAAE,CAAC,CAAC;IACJ,mBAAmB,EAAE,CAAC,CAAC,sBAAsB,CAAC;IAC9C,UAAU,EAAE,CAAC,CAAC,eAAe,CAAC;IAC9B,iBAAiB,EAAE,CAAC,CAAC,oBAAoB,CAA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@@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ClusterDeploymentCustomManifestsStep = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const react_1 = tslib_1.__importDefault(require("react"));
6
+ const Yup = tslib_1.__importStar(require("yup"));
7
+ const formik_1 = require("formik");
8
+ const dynamic_plugin_sdk_1 = require("@openshift-console/dynamic-plugin-sdk");
9
+ const react_core_1 = require("@patternfly/react-core");
10
+ const external_link_alt_icon_1 = tslib_1.__importDefault(require("@patternfly/react-icons/dist/js/icons/external-link-alt-icon"));
11
+ const common_1 = require("../../../../common");
12
+ const types_1 = require("../../../types");
13
+ const ConfigMapForm_1 = require("./ConfigMapForm");
14
+ const utils_1 = require("../../../utils");
15
+ const ClusterDeploymentCustomManifestsStep = ({ agentClusterInstall, }) => {
16
+ var _a, _b, _c, _d;
17
+ const { t } = (0, common_1.useTranslation)();
18
+ const initialValues = {
19
+ configMaps: ((_b = (_a = agentClusterInstall.spec) === null || _a === void 0 ? void 0 : _a.manifestsConfigMapRefs) === null || _b === void 0 ? void 0 : _b.map(({ name }) => ({
20
+ name,
21
+ valid: false,
22
+ }))) || [],
23
+ };
24
+ const validationSchema = Yup.lazy((values) => {
25
+ var _a;
26
+ return Yup.object({
27
+ configMaps: Yup.array()
28
+ .of(Yup.object().shape({
29
+ name: Yup.string().required(t('ai:Config map name is required')),
30
+ valid: Yup.boolean().isTrue(t('ai:Config map not found')),
31
+ manifestNames: Yup.array()
32
+ .of(Yup.string())
33
+ .test('unique-manifests', t('ai:Manifest names in each config map should be unique across all referenced config maps.'), (value) =>
34
+ // check if another config map has any manifests with the same names as this one
35
+ values.configMaps
36
+ .flatMap(({ manifestNames }) => manifestNames)
37
+ .filter((v) => value === null || value === void 0 ? void 0 : value.includes(v)).length === (value === null || value === void 0 ? void 0 : value.length)),
38
+ }))
39
+ .min(((_a = agentClusterInstall.spec) === null || _a === void 0 ? void 0 : _a.platformType) === 'External' ? 1 : 0, t('ai:At least one config map is required')),
40
+ });
41
+ });
42
+ const onSubmit = (values) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
43
+ var _e;
44
+ const patches = [];
45
+ (0, utils_1.appendPatch)(patches, '/spec/manifestsConfigMapRefs', values.configMaps.map(({ name }) => ({ name })), (_e = agentClusterInstall.spec) === null || _e === void 0 ? void 0 : _e.manifestsConfigMapRefs);
46
+ if (patches.length > 0) {
47
+ yield (0, dynamic_plugin_sdk_1.k8sPatch)({
48
+ model: types_1.AgentClusterInstallModel,
49
+ resource: agentClusterInstall,
50
+ data: patches,
51
+ });
52
+ }
53
+ });
54
+ return (react_1.default.createElement(react_core_1.Grid, { hasGutter: true },
55
+ react_1.default.createElement(react_core_1.GridItem, null,
56
+ react_1.default.createElement(common_1.ClusterWizardStepHeader, null, t('ai:Custom manifests'))),
57
+ react_1.default.createElement(react_core_1.GridItem, null,
58
+ react_1.default.createElement(react_core_1.Alert, { variant: "info", isInline: true, title: t('ai:Add custom manifests'), actionLinks: [
59
+ react_1.default.createElement(react_core_1.AlertActionLink, { key: "define-config-map", component: 'a', href: `/k8s/ns/${(_c = agentClusterInstall.metadata) === null || _c === void 0 ? void 0 : _c.namespace}/core~v1~ConfigMap`, target: "_blank", rel: "noopener noreferrer" },
60
+ t('ai:Define a config map'),
61
+ " ",
62
+ react_1.default.createElement(external_link_alt_icon_1.default, null)),
63
+ ] },
64
+ react_1.default.createElement(react_core_1.Text, { component: react_core_1.TextVariants.p }, t('ai:Define a config map with your custom manifests and select it in the form below.')),
65
+ react_1.default.createElement(react_core_1.Text, { component: react_core_1.TextVariants.p }, t('ai:Manifest names in each config map should be unique across all referenced config maps.')))),
66
+ react_1.default.createElement(react_core_1.GridItem, null,
67
+ react_1.default.createElement(formik_1.Formik, { initialValues: initialValues, onSubmit: onSubmit, validationSchema: validationSchema },
68
+ react_1.default.createElement(ConfigMapForm_1.ConfigMapForm, { namespace: (_d = agentClusterInstall.metadata) === null || _d === void 0 ? void 0 : _d.namespace })))));
69
+ };
70
+ exports.ClusterDeploymentCustomManifestsStep = ClusterDeploymentCustomManifestsStep;
71
+ //# sourceMappingURL=ClusterDeploymentCustomManifestsStep.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClusterDeploymentCustomManifestsStep.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,iDAA2B;AAC3B,mCAAgC;AAChC,8EAAwE;AACxE,uDAAoG;AACpG,kIAA+F;AAC/F,+CAA6E;AAC7E,0CAA0F;AAC1F,mDAAwE;AACxE,0CAA6C;AAEtC,MAAM,oCAAoC,GAAG,CAAC,EACnD,mBAAmB,GAGpB,EAAE,EAAE;;IACH,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,uBAAc,GAAE,CAAC;IAE/B,MAAM,aAAa,GAA2B;QAC5C,UAAU,EACR,CAAA,MAAA,MAAA,mBAAmB,CAAC,IAAI,0CAAE,sBAAsB,0CAAE,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;YACnE,IAAI;YACJ,KAAK,EAAE,KAAK;SACb,CAAC,CAAC,KAAI,EAAE;KACZ,CAAC;IAEF,MAAM,gBAAgB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC,MAA8B,EAAE,EAAE;;QACnE,OAAA,GAAG,CAAC,MAAM,CAAyB;YACjC,UAAU,EAAE,GAAG,CAAC,KAAK,EAAE;iBACpB,EAAE,CACD,GAAG,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC;gBACjB,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,gCAAgC,CAAC,CAAC;gBAChE,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC;gBACzD,aAAa,EAAE,GAAG,CAAC,KAAK,EAAE;qBAC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,qBAAQ;YACP,8BAAC,gCAAuB,QAAE,CAAC,CAAC,qBAAqB,CAAC,CAA2B,CACpE;QACX,8BAAC,qBAAQ;YACP,8BAAC,kBAAK,IACJ,OAAO,EAAC,MAAM,EACd,QAAQ,QACR,KAAK,EAAE,CAAC,CAAC,yBAAyB,CAAC,EACnC,WAAW,EAAE;oBACX,8BAAC,4BAAe,IACd,GAAG,EAAC,mBAAmB,EACvB,SAAS,EAAE,GAAG,EACd,IAAI,EAAE,WACJ,MAAA,mBAAmB,CAAC,QAAQ,0CAAE,SAChC,oBAAoB,EACpB,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB;wBAExB,CAAC,CAAC,wBAAwB,CAAC;;wBAAE,8BAAC,gCAAmB,OAAG,CACrC;iBACnB;gBAED,8BAAC,iBAAI,IAAC,SAAS,EAAE,yBAAY,CAAC,CAAC,IAC5B,CAAC,CACA,oFAAoF,CACrF,CACI;gBACP,8BAAC,iBAAI,IAAC,SAAS,EAAE,yBAAY,CAAC,CAAC,IAC5B,CAAC,CACA,0FAA0F,CAC3F,CACI,CACD,CACC;QACX,8BAAC,qBAAQ;YACP,8BAAC,eAAM,IACL,aAAa,EAAE,aAAa,EAC5B,QAAQ,EAAE,QAAQ,EAClB,gBAAgB,EAAE,gBAAgB;gBAElC,8BAAC,6BAAa,IAAC,SAAS,EAAE,MAAA,mBAAmB,CAAC,QAAQ,0CAAE,SAAmB,GAAI,CACxE,CACA,CACN,CACR,CAAC;AACJ,CAAC,CAAC;AA7GW,QAAA,oCAAoC,wCA6G/C"}
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConfigMapDetail = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const react_1 = tslib_1.__importDefault(require("react"));
6
+ const react_core_1 = require("@patternfly/react-core");
7
+ const common_1 = require("../../../../common");
8
+ const minus_circle_icon_1 = require("@patternfly/react-icons/dist/js/icons/minus-circle-icon");
9
+ const info_circle_icon_1 = tslib_1.__importDefault(require("@patternfly/react-icons/dist/js/icons/info-circle-icon"));
10
+ const formik_1 = require("formik");
11
+ const ExpandedConfigMap = ({ index, configMap, }) => {
12
+ var _a, _b, _c, _d;
13
+ const { t } = (0, common_1.useTranslation)();
14
+ const [, { error: isValidError }] = (0, formik_1.useField)(`configMaps.${index}.valid`);
15
+ const [, { error: manifestNamesError }] = (0, formik_1.useField)(`configMaps.${index}.manifestNames`);
16
+ return isValidError ? (react_1.default.createElement(react_core_1.GridItem, null,
17
+ react_1.default.createElement(react_core_1.Label, { variant: "outline", icon: react_1.default.createElement(info_circle_icon_1.default, null), color: "red" }, isValidError))) : (react_1.default.createElement(react_1.default.Fragment, null,
18
+ react_1.default.createElement(react_core_1.GridItem, null,
19
+ react_1.default.createElement(react_core_1.DescriptionList, null,
20
+ react_1.default.createElement(react_core_1.DescriptionListGroup, null,
21
+ react_1.default.createElement(react_core_1.DescriptionListTerm, null, t('ai:Name')),
22
+ react_1.default.createElement(react_core_1.DescriptionListDescription, null, (_a = configMap === null || configMap === void 0 ? void 0 : configMap.metadata) === null || _a === void 0 ? void 0 : _a.name)),
23
+ react_1.default.createElement(react_core_1.DescriptionListGroup, null,
24
+ react_1.default.createElement(react_core_1.DescriptionListTerm, null, t('ai:Namespace')),
25
+ react_1.default.createElement(react_core_1.DescriptionListDescription, null, (_b = configMap === null || configMap === void 0 ? void 0 : configMap.metadata) === null || _b === void 0 ? void 0 : _b.namespace)),
26
+ react_1.default.createElement(react_core_1.DescriptionListGroup, null,
27
+ react_1.default.createElement(react_core_1.DescriptionListTerm, null, t('ai:Data')),
28
+ react_1.default.createElement(react_core_1.DescriptionListDescription, null,
29
+ react_1.default.createElement(react_core_1.Grid, { hasGutter: true },
30
+ react_1.default.createElement(react_core_1.GridItem, null,
31
+ react_1.default.createElement(common_1.ExternalLink, { href: `/k8s/ns/${((_c = configMap === null || configMap === void 0 ? void 0 : configMap.metadata) === null || _c === void 0 ? void 0 : _c.namespace) || ''}/configmaps/${((_d = configMap === null || configMap === void 0 ? void 0 : configMap.metadata) === null || _d === void 0 ? void 0 : _d.name) || ''}/form` }, t('ai:Edit config map data'))),
32
+ Object.entries((configMap === null || configMap === void 0 ? void 0 : configMap.data) || {}).map(([key, val]) => (react_1.default.createElement(react_core_1.GridItem, { key: key },
33
+ react_1.default.createElement(react_core_1.Text, { component: react_core_1.TextVariants.h4 }, key),
34
+ react_1.default.createElement(react_core_1.CodeBlock, null,
35
+ react_1.default.createElement(react_core_1.CodeBlockCode, null, val)))))))))),
36
+ manifestNamesError && (react_1.default.createElement(react_core_1.GridItem, null,
37
+ react_1.default.createElement(react_core_1.Alert, { title: manifestNamesError, variant: "danger", isInline: true })))));
38
+ };
39
+ const CollapsedConfigMap = ({ index, configMap, }) => {
40
+ const [, { error: isValidError }] = (0, formik_1.useField)(`configMaps.${index}.valid`);
41
+ const [, { error: manifestNamesError }] = (0, formik_1.useField)(`configMaps.${index}.manifestNames`);
42
+ const { t } = (0, common_1.useTranslation)();
43
+ return (react_1.default.createElement(react_core_1.GridItem, null, isValidError || manifestNamesError ? (react_1.default.createElement(react_core_1.Label, { variant: "outline", icon: react_1.default.createElement(info_circle_icon_1.default, null), color: "red" }, isValidError || manifestNamesError)) : (react_1.default.createElement(react_core_1.Label, { variant: "outline", icon: react_1.default.createElement(info_circle_icon_1.default, null) }, t('ai:{{count}} entry', { count: Object.entries((configMap === null || configMap === void 0 ? void 0 : configMap.data) || {}).length })))));
44
+ };
45
+ const ConfigMapDetail = ({ index, configMapName, configMap, onRemove, isLoading, }) => {
46
+ const [isExpanded, setIsExpanded] = react_1.default.useState(false);
47
+ const [showRemoveButton, setShowRemoveButton] = react_1.default.useState(false);
48
+ return (react_1.default.createElement(react_core_1.GridItem, null,
49
+ react_1.default.createElement(react_core_1.Grid, { onMouseEnter: () => setShowRemoveButton(true), onMouseLeave: () => setShowRemoveButton(false), hasGutter: true },
50
+ react_1.default.createElement(react_core_1.GridItem, null,
51
+ react_1.default.createElement(react_core_1.Flex, null,
52
+ react_1.default.createElement(react_core_1.FlexItem, null,
53
+ react_1.default.createElement(react_core_1.ExpandableSectionToggle, { isExpanded: isExpanded, onToggle: () => setIsExpanded(!isExpanded), direction: "down" }, configMapName)),
54
+ react_1.default.createElement(react_core_1.FlexItem, { align: { default: 'alignRight' } },
55
+ react_1.default.createElement(react_core_1.Button, { "aria-label": "remove config map", style: { visibility: showRemoveButton ? 'visible' : 'hidden' }, variant: "plain", onClick: onRemove },
56
+ react_1.default.createElement(minus_circle_icon_1.MinusCircleIcon, null))))),
57
+ isLoading ? (react_1.default.createElement(react_core_1.GridItem, null,
58
+ react_1.default.createElement(react_core_1.Bullseye, null,
59
+ react_1.default.createElement(react_core_1.Spinner, { size: "lg" })))) : isExpanded ? (react_1.default.createElement(ExpandedConfigMap, { configMap: configMap, index: index })) : (react_1.default.createElement(CollapsedConfigMap, { configMap: configMap, index: index })),
60
+ react_1.default.createElement(react_core_1.GridItem, null,
61
+ react_1.default.createElement(react_core_1.Divider, null)))));
62
+ };
63
+ exports.ConfigMapDetail = ConfigMapDetail;
64
+ //# sourceMappingURL=ConfigMapDetail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfigMapDetail.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAoBgC;AAChC,+CAAkE;AAClE,+FAA0F;AAC1F,sHAAoF;AAEpF,mCAAkC;AAElC,MAAM,iBAAiB,GAAG,CAAC,EACzB,KAAK,EACL,SAAS,GAIV,EAAE,EAAE;;IACH,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,uBAAc,GAAE,CAAC;IAC/B,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,GAAG,IAAA,iBAAQ,EAAU,cAAc,KAAK,QAAQ,CAAC,CAAC;IACnF,MAAM,CAAC,EAAE,EAAE,KAAK,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AC,qBAAQ;gBACP,8BAAC,qBAAQ;oBACP,8BAAC,oBAAO,IAAC,IAAI,EAAC,IAAI,GAAG,CACZ,CACF,CACZ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CACf,8BAAC,iBAAiB,IAAC,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,GAAI,CAC1D,CAAC,CAAC,CAAC,CACF,8BAAC,kBAAkB,IAAC,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,GAAI,CAC3D;YAED,8BAAC,qBAAQ;gBACP,8BAAC,oBAAO,OAAG,CACF,CACN,CACE,CACZ,CAAC;AACJ,CAAC,CAAC;AAjEW,QAAA,eAAe,mBAiE1B"}
@@ -0,0 +1,134 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConfigMapForm = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const react_1 = tslib_1.__importDefault(require("react"));
6
+ const fuse_js_1 = tslib_1.__importDefault(require("fuse.js"));
7
+ const formik_1 = require("formik");
8
+ const react_core_1 = require("@patternfly/react-core");
9
+ const common_1 = require("../../../../common");
10
+ const ClusterDeploymentWizardContext_1 = require("../ClusterDeploymentWizardContext");
11
+ const ValidationSection_1 = require("../components/ValidationSection");
12
+ const ConfigMapDetail_1 = require("./ConfigMapDetail");
13
+ const hooks_1 = require("../../../hooks");
14
+ const NO_RESULTS = 'no_results';
15
+ const ConfigMapForm = ({ namespace }) => {
16
+ const { t } = (0, common_1.useTranslation)();
17
+ const { syncError } = react_1.default.useContext(ClusterDeploymentWizardContext_1.ClusterDeploymentWizardContext);
18
+ const { alerts, addAlert, clearAlerts } = (0, common_1.useAlerts)();
19
+ const [isSubmitting, setSubmitting] = react_1.default.useState(false);
20
+ const { activeStep, goToPrevStep, goToNextStep, close } = (0, react_core_1.useWizardContext)();
21
+ const { values, errors, isValid, setFieldValue, submitForm } = (0, formik_1.useFormikContext)();
22
+ const [filter, setFilter] = react_1.default.useState('');
23
+ const [configMaps, setConfigMaps] = react_1.default.useState([]);
24
+ const [data, loaded, isError] = (0, hooks_1.useConfigMaps)({
25
+ namespace,
26
+ isList: true,
27
+ });
28
+ react_1.default.useEffect(() => {
29
+ if (data && loaded && !isError) {
30
+ setConfigMaps(data.map((configMap) => {
31
+ var _a, _b;
32
+ return ({
33
+ value: {
34
+ name: (_a = configMap.metadata) === null || _a === void 0 ? void 0 : _a.name,
35
+ valid: true,
36
+ manifestNames: Object.keys(configMap.data || {}),
37
+ },
38
+ children: (_b = configMap.metadata) === null || _b === void 0 ? void 0 : _b.name,
39
+ });
40
+ }));
41
+ }
42
+ }, [data, isError, loaded]);
43
+ react_1.default.useEffect(() => {
44
+ if (loaded && !isError) {
45
+ const newConfigMaps = values.configMaps.map((configMap) => {
46
+ const map = data.find((item) => { var _a; return ((_a = item.metadata) === null || _a === void 0 ? void 0 : _a.name) === configMap.name; });
47
+ if (map) {
48
+ return Object.assign(Object.assign({}, configMap), { valid: true, manifestNames: Object.keys(map.data || {}) });
49
+ }
50
+ return Object.assign(Object.assign({}, configMap), { valid: false, manifestNames: [] });
51
+ });
52
+ setFieldValue('configMaps', newConfigMaps);
53
+ }
54
+ // eslint-disable-next-line react-hooks/exhaustive-deps
55
+ }, [data, isError, loaded, setFieldValue]);
56
+ const placeholder = react_1.default.useMemo(() => {
57
+ if (values.configMaps.length > 0) {
58
+ return `${values.configMaps.length} config map${values.configMaps.length !== 1 ? 's' : ''} selected`;
59
+ }
60
+ return 'No config map selected';
61
+ }, [values.configMaps]);
62
+ const fuse = react_1.default.useMemo(() => new fuse_js_1.default(Object.values(configMaps), {
63
+ includeScore: true,
64
+ ignoreLocation: true,
65
+ threshold: 0.3,
66
+ keys: ['value.name'],
67
+ }), [configMaps]);
68
+ const selectOptions = react_1.default.useMemo(() => {
69
+ if (filter) {
70
+ const newSelectOptions = fuse
71
+ .search(filter)
72
+ .sort((a, b) => (a.score || 0) - (b.score || 0))
73
+ .map(({ item }) => item);
74
+ if (!newSelectOptions.length) {
75
+ return [
76
+ {
77
+ isAriaDisabled: true,
78
+ children: t('ai:No results found for {{filter}}', { filter }),
79
+ value: NO_RESULTS,
80
+ hasCheckbox: false,
81
+ },
82
+ ];
83
+ }
84
+ return newSelectOptions;
85
+ }
86
+ return configMaps;
87
+ }, [filter, configMaps, fuse, t]);
88
+ const submittingText = react_1.default.useMemo(() => {
89
+ if (isSubmitting) {
90
+ return t('ai:Saving changes...');
91
+ }
92
+ return undefined;
93
+ }, [isSubmitting, t]);
94
+ const onNext = react_1.default.useCallback(() => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
95
+ try {
96
+ clearAlerts();
97
+ setSubmitting(true);
98
+ yield submitForm();
99
+ yield goToNextStep();
100
+ }
101
+ catch (error) {
102
+ addAlert({
103
+ title: t('ai:Failed to save ClusterDeployment'),
104
+ message: error instanceof Error ? error.message : undefined,
105
+ });
106
+ }
107
+ finally {
108
+ setSubmitting(false);
109
+ }
110
+ }), [addAlert, clearAlerts, goToNextStep, submitForm, t]);
111
+ const footer = react_1.default.useMemo(() => (react_1.default.createElement(react_core_1.WizardFooter, { activeStep: activeStep, onNext: onNext, nextButtonProps: { isLoading: !!submittingText }, nextButtonText: submittingText || t('ai:Next'), isNextDisabled: !isValid || !loaded, onBack: goToPrevStep, onClose: close })), [activeStep, onNext, submittingText, t, isValid, loaded, goToPrevStep, close]);
112
+ (0, react_core_1.useWizardFooter)(footer);
113
+ const errorAlert = typeof errors.configMaps === 'string' ? (react_1.default.createElement(react_core_1.GridItem, null,
114
+ react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.danger, title: errors.configMaps, isInline: true }))) : (react_1.default.createElement(react_core_1.GridItem, null,
115
+ react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.danger, title: t('ai:Some config map items are invalid'), isInline: true })));
116
+ return (react_1.default.createElement(react_core_1.Grid, { hasGutter: true },
117
+ react_1.default.createElement(react_core_1.GridItem, null,
118
+ react_1.default.createElement(react_core_1.Stack, { hasGutter: true },
119
+ react_1.default.createElement(react_core_1.StackItem, null,
120
+ react_1.default.createElement(common_1.SelectFieldWithSearch, { name: 'configMaps', label: t('ai:Config maps'), isMultiSelect: true, isRequired: true, isLoading: !loaded, selectOptions: selectOptions, filterValue: filter, setFilterValue: setFilter, placeholder: placeholder, helperText: t('ai:Select config maps from the list or use the type ahead to narrow down the list.') })),
121
+ react_1.default.createElement(react_core_1.StackItem, null,
122
+ react_1.default.createElement(react_core_1.Grid, { hasGutter: true },
123
+ react_1.default.createElement(formik_1.FieldArray, { name: "configMaps" }, ({ remove }) => values.configMaps.map((configMap, index) => (react_1.default.createElement(ConfigMapDetail_1.ConfigMapDetail, { index: index, key: configMap.name, configMapName: configMap.name, configMap: data.find((item) => { var _a; return ((_a = item.metadata) === null || _a === void 0 ? void 0 : _a.name) === configMap.name; }), onRemove: () => remove(index), isLoading: !loaded })))))))),
124
+ !isValid && errorAlert,
125
+ isError && (react_1.default.createElement(react_core_1.GridItem, null,
126
+ react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.danger, title: t('ai:An error occurred while fetching config maps'), isInline: true }))),
127
+ !!alerts.length && (react_1.default.createElement(react_core_1.GridItem, null,
128
+ react_1.default.createElement(common_1.Alerts, null))),
129
+ syncError && (react_1.default.createElement(react_core_1.GridItem, null,
130
+ react_1.default.createElement(ValidationSection_1.ValidationSection, { currentStepId: 'custom-manifests', hosts: [] },
131
+ react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.danger, title: t('ai:An error occurred'), isInline: true }, syncError))))));
132
+ };
133
+ exports.ConfigMapForm = ConfigMapForm;
134
+ //# sourceMappingURL=ConfigMapForm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfigMapForm.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/customManifests/ConfigMapForm.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,8DAA2B;AAC3B,mCAA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AS,CAAC,IAAI,EACnB,aAAa,EAAE,SAAS,CAAC,IAAI,EAC7B,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,WAAC,OAAA,CAAA,MAAA,IAAI,CAAC,QAAQ,0CAAE,IAAI,MAAK,SAAS,CAAC,IAAI,CAAA,EAAA,CAAC,EACtE,QAAQ,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,EAC7B,SAAS,EAAE,CAAC,MAAM,GAClB,CACH,CAAC,CAEO,CACR,CACG,CACN,CACC;QAEV,CAAC,OAAO,IAAI,UAAU;QAEtB,OAAO,IAAI,CACV,8BAAC,qBAAQ;YACP,8BAAC,kBAAK,IACJ,OAAO,EAAE,yBAAY,CAAC,MAAM,EAC5B,KAAK,EAAE,CAAC,CAAC,iDAAiD,CAAC,EAC3D,QAAQ,SACR,CACO,CACZ;QAEA,CAAC,CAAC,MAAM,CAAC,MAAM,IAAI,CAClB,8BAAC,qBAAQ;YACP,8BAAC,eAAM,OAAG,CACD,CACZ;QAEA,SAAS,IAAI,CACZ,8BAAC,qBAAQ;YACP,8BAAC,qCAAiB,IAAC,aAAa,EAAE,kBAAkB,EAAE,KAAK,EAAE,EAAE;gBAC7D,8BAAC,kBAAK,IAAC,OAAO,EAAE,yBAAY,CAAC,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC,sBAAsB,CAAC,EAAE,QAAQ,UAC5E,SAAS,CACJ,CACU,CACX,CACZ,CACI,CACR,CAAC;AACJ,CAAC,CAAC;AAvNW,QAAA,aAAa,iBAuNxB"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./ClusterDeploymentCustomManifestsStep"), exports);
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/customManifests/index.tsx"],"names":[],"mappings":";;;AAAA,iFAAuD"}
@@ -3,18 +3,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  const React = tslib_1.__importStar(require("react"));
5
5
  const react_core_1 = require("@patternfly/react-core");
6
- const tableUtils_1 = require("../Agent/tableUtils");
7
- const HostsTable_1 = tslib_1.__importStar(require("../../../common/components/hosts/HostsTable"));
8
- const tableUtils_2 = require("../../../common/components/hosts/tableUtils");
9
- const common_1 = require("../../../common");
10
- const MassApproveAgentModal_1 = tslib_1.__importDefault(require("../modals/MassApproveAgentModal"));
11
- const MassApproveAction_1 = tslib_1.__importDefault(require("../modals/MassApproveAction"));
12
- const usePagination_1 = require("../../../common/components/hosts/usePagination");
13
- const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
14
- const AgentsSelectionTable_1 = require("../Agent/AgentsSelectionTable");
15
- const HostsTableDetailContext_1 = require("../../../common/components/hosts/HostsTableDetailContext");
16
- const agentStatus_1 = require("../helpers/agentStatus");
17
- const helpers_1 = require("../helpers");
6
+ const tableUtils_1 = require("../../Agent/tableUtils");
7
+ const HostsTable_1 = tslib_1.__importStar(require("../../../../common/components/hosts/HostsTable"));
8
+ const tableUtils_2 = require("../../../../common/components/hosts/tableUtils");
9
+ const common_1 = require("../../../../common");
10
+ const MassApproveAgentModal_1 = tslib_1.__importDefault(require("../../modals/MassApproveAgentModal"));
11
+ const MassApproveAction_1 = tslib_1.__importDefault(require("../../modals/MassApproveAction"));
12
+ const usePagination_1 = require("../../../../common/components/hosts/usePagination");
13
+ const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
14
+ const AgentsSelectionTable_1 = require("../../Agent/AgentsSelectionTable");
15
+ const HostsTableDetailContext_1 = require("../../../../common/components/hosts/HostsTableDetailContext");
16
+ const agentStatus_1 = require("../../helpers/agentStatus");
17
+ const helpers_1 = require("../../helpers");
18
18
  const ClusterDeploymentHostDiscoveryTable = ({ agents, bareMetalHosts, infraEnv, onApprove, onChangeHostname, onChangeBMHHostname, onEditRole, onSetInstallationDiskId, onEditHost, onEditBMH, onDeleteHost, width, }) => {
19
19
  const [isDiscoveryHintModalOpen, setDiscoveryHintModalOpen] = React.useState(false);
20
20
  const [isMassChangeHostOpen, setMassChangeHostOpen] = React.useState(false);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClusterDeploymentHostDiscoveryTable.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,uDAA0D;AAE1D,uDAKgC;AAChC,qGAGwD;AACxD,+EAOwD;AACxD,+CAK4B;AAE5B,uGAAuE;AACvE,+FAA+D;AAC/D,qFAAkF;AAClF,8FAAkF;AAClF,2EAAmE;AACnE,yGAA8G;AAC9G,2DAAmE;AACnE,2CAAsD;AAEtD,MAAM,mCAAmC,GAAuD,CAAC,EAC/F,MAAM,EACN,cAAc,EACd,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,mBAAmB,EACnB,UAAU,EACV,uBAAuB,EACvB,UAAU,EACV,SAAS,EACT,YAAY,EACZ,KAAK,GACN,EAAE,EAAE;IACH,MAAM,CAAC,wBAAwB,EAAE,yBAAyB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACpF,MAAM,CAAC,oBAAoB,EAAE,qBAAqB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC5E,MAAM,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtE,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAW,EAAE,CAAC,CAAC;IAE3E,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,aAAa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AC,CAAC;AAEF,kBAAe,mCAAmC,CAAC"}
@@ -4,13 +4,13 @@ const tslib_1 = require("tslib");
4
4
  const react_1 = tslib_1.__importDefault(require("react"));
5
5
  const react_core_1 = require("@patternfly/react-core");
6
6
  const react_measure_1 = tslib_1.__importDefault(require("react-measure"));
7
- const common_1 = require("../../../common");
8
- const helpers_1 = require("../helpers");
9
- const MinimalHWRequirements_1 = tslib_1.__importDefault(require("../Agent/MinimalHWRequirements"));
10
- const modals_1 = require("../modals");
7
+ const common_1 = require("../../../../common");
8
+ const helpers_1 = require("../../helpers");
9
+ const MinimalHWRequirements_1 = tslib_1.__importDefault(require("../../Agent/MinimalHWRequirements"));
10
+ const modals_1 = require("../../modals");
11
11
  const ClusterDeploymentHostDiscoveryTable_1 = tslib_1.__importDefault(require("./ClusterDeploymentHostDiscoveryTable"));
12
- const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
13
- const AddHostDropdown_1 = tslib_1.__importDefault(require("../InfraEnv/AddHostDropdown"));
12
+ const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
13
+ const AddHostDropdown_1 = tslib_1.__importDefault(require("../../InfraEnv/AddHostDropdown"));
14
14
  const DiscoveryInstructions = () => {
15
15
  const { t } = (0, use_translation_wrapper_1.useTranslation)();
16
16
  return (react_1.default.createElement(react_core_1.TextContent, null,
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClusterDeploymentHostsDiscovery.js","sourceRoot":"","sources":["../../../../../../lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,uDAQgC;AAChC,0EAAoC;AACpC,+CAK4B;AAC5B,2CAAuE;AACvE,sGAAsE;AAEtE,yCAA4D;AAE5D,wHAAwF;AACxF,8FAAkF;AAClF,6FAA6D;AAE7D,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACjC,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc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KAAK,EAAE,MAAA,WAAW,CAAC,MAAM,0CAAE,KAAK,EAChC,YAAY,EAAE,YAAY,GAC1B,CACE,CACP,CAAA;aAAA,CACO;YACV,8BAAC,qBAAY,IACX,QAAQ,EAAE,QAAQ,EAClB,GAAG,EAAE,OAAO,EACZ,QAAQ,EAAE,aAAa,EACvB,MAAM,EAAE,CAAC,CAAC,OAAO,EACjB,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,EACpC,MAAM,EAAE,SAAS,EACjB,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,aAAa,IAAI,EAAE,GAClC;YACD,SAAS,IAAI,CACZ,8BAAC,uBAAc,IACb,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,EACtC,aAAa,EAAE,aAAa,EAC5B,KAAK,EAAE,SAAS,EAChB,MAAM,EAAE,IAAA,+BAAqB,EAC3B,MAAM,EACN,cAAc,EACd,gBAAgB,EAChB,mBAAmB,CACpB,GACD,CACH,CACQ;QACX,8BAAC,sCAA6B,IAC5B,MAAM,EAAE,wBAAwB,EAChC,yBAAyB,EAAE,yBAAyB,GACpD,CACG,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,+BAA+B,CAAC"}
@@ -1,17 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ClusterDeploymentHostsDiscoveryStep = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  const react_1 = tslib_1.__importDefault(require("react"));
5
6
  const uniq_js_1 = tslib_1.__importDefault(require("lodash-es/uniq.js"));
6
7
  const react_core_1 = require("@patternfly/react-core");
7
- const common_1 = require("../../../common");
8
+ const common_1 = require("../../../../common");
8
9
  const ClusterDeploymentHostsDiscovery_1 = tslib_1.__importDefault(require("./ClusterDeploymentHostsDiscovery"));
9
- const helpers_1 = require("./helpers");
10
- const helpers_2 = require("../helpers");
11
- const wizardTransition_1 = require("./wizardTransition");
12
- const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
13
- const ValidationSection_1 = require("./components/ValidationSection");
14
- const ClusterDeploymentWizardContext_1 = require("./ClusterDeploymentWizardContext");
10
+ const helpers_1 = require("../helpers");
11
+ const helpers_2 = require("../../helpers");
12
+ const wizardTransition_1 = require("../wizardTransition");
13
+ const use_translation_wrapper_1 = require("../../../../common/hooks/use-translation-wrapper");
14
+ const ValidationSection_1 = require("../components/ValidationSection");
15
+ const ClusterDeploymentWizardContext_1 = require("../ClusterDeploymentWizardContext");
15
16
  const ClusterDeploymentHostsDiscoveryStep = (_a) => {
16
17
  var { agentClusterInstall, agents: allAgents, infraEnv, onSaveHostsDiscovery } = _a, rest = tslib_1.__rest(_a, ["agentClusterInstall", "agents", "infraEnv", "onSaveHostsDiscovery"]);
17
18
  const { t } = (0, use_translation_wrapper_1.useTranslation)();
@@ -103,7 +104,7 @@ const ClusterDeploymentHostsDiscoveryStep = (_a) => {
103
104
  react_1.default.createElement(react_core_1.List, null, errors.map((error) => (react_1.default.createElement(react_core_1.ListItem, { key: error }, error)))))),
104
105
  !!syncError && (react_1.default.createElement(react_core_1.GridItem, null,
105
106
  react_1.default.createElement(ValidationSection_1.ValidationSection, { currentStepId: 'hosts-selection', hosts: [] },
106
- react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.danger, title: t('ai:An error occured'), isInline: true }, syncError))))));
107
+ react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.danger, title: t('ai:An error occurred'), isInline: true }, syncError))))));
107
108
  };
108
- exports.default = ClusterDeploymentHostsDiscoveryStep;
109
+ exports.ClusterDeploymentHostsDiscoveryStep = ClusterDeploymentHostsDiscoveryStep;
109
110
  //# sourceMappingURL=ClusterDeploymentHostsDiscoveryStep.js.map