@openshift-assisted/ui-lib 2.38.5 → 2.39.0

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 (523) hide show
  1. package/build/@types/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.d.ts +2 -3
  2. package/build/@types/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.d.ts.map +1 -1
  3. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts +3 -0
  4. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts.map +1 -1
  5. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.d.ts.map +1 -1
  6. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.d.ts.map +1 -1
  7. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.d.ts.map +1 -1
  8. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts.map +1 -1
  9. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts +1 -1
  10. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts.map +1 -1
  11. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.d.ts +15 -2
  12. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.d.ts.map +1 -1
  13. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.d.ts +1 -2
  14. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.d.ts.map +1 -1
  15. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts +1 -2
  16. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts.map +1 -1
  17. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts +8 -7
  18. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts.map +1 -1
  19. package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts +4 -2
  20. package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts.map +1 -1
  21. package/build/@types/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.d.ts +17 -0
  22. package/build/@types/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -0
  23. package/build/@types/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.d.ts +8 -0
  24. package/build/@types/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.d.ts.map +1 -0
  25. package/build/@types/cim/components/ClusterDeployment/components/ValidationSection.d.ts +16 -0
  26. package/build/@types/cim/components/ClusterDeployment/components/ValidationSection.d.ts.map +1 -0
  27. package/build/@types/cim/components/ClusterDeployment/constants.d.ts +2 -0
  28. package/build/@types/cim/components/ClusterDeployment/constants.d.ts.map +1 -1
  29. package/build/@types/cim/components/ClusterDeployment/index.d.ts +1 -2
  30. package/build/@types/cim/components/ClusterDeployment/index.d.ts.map +1 -1
  31. package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts +1 -11
  32. package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts.map +1 -1
  33. package/build/@types/cim/components/ClusterDeployment/types.d.ts +7 -9
  34. package/build/@types/cim/components/ClusterDeployment/types.d.ts.map +1 -1
  35. package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +8 -2
  36. package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts.map +1 -1
  37. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
  38. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
  39. package/build/@types/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.d.ts.map +1 -1
  40. package/build/@types/cim/components/Hypershift/types.d.ts +6 -3
  41. package/build/@types/cim/components/Hypershift/types.d.ts.map +1 -1
  42. package/build/@types/cim/components/InfraEnv/InfraEnvAgentTable.d.ts.map +1 -1
  43. package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts +7 -0
  44. package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts.map +1 -0
  45. package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts +2 -1
  46. package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts.map +1 -1
  47. package/build/@types/cim/components/helpers/agents.d.ts +3 -0
  48. package/build/@types/cim/components/helpers/agents.d.ts.map +1 -1
  49. package/build/@types/cim/components/helpers/clusterDeployment.d.ts +1 -1
  50. package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
  51. package/build/@types/cim/components/helpers/versions.d.ts +2 -2
  52. package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
  53. package/build/@types/cim/components/modals/EditAgentModal.d.ts.map +1 -1
  54. package/build/@types/cim/components/modals/ScaleUpModal.d.ts +3 -0
  55. package/build/@types/cim/components/modals/ScaleUpModal.d.ts.map +1 -1
  56. package/build/@types/common/api/index.d.ts +1 -0
  57. package/build/@types/common/api/index.d.ts.map +1 -1
  58. package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +2 -2
  59. package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
  60. package/build/@types/common/components/clusterDetail/index.d.ts +1 -0
  61. package/build/@types/common/components/clusterDetail/index.d.ts.map +1 -1
  62. package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts.map +1 -1
  63. package/build/@types/common/components/hosts/EditHostForm.d.ts.map +1 -1
  64. package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts.map +1 -1
  65. package/build/@types/common/components/newFeatureSupportLevels/types.d.ts +4 -2
  66. package/build/@types/common/components/newFeatureSupportLevels/types.d.ts.map +1 -1
  67. package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
  68. package/build/@types/common/components/ui/DeveloperPreview.d.ts.map +1 -1
  69. package/build/@types/common/components/ui/{OpenshiftSelectWithSearch.d.ts → OpenShiftSelectWithSearch.d.ts} +3 -3
  70. package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts.map +1 -0
  71. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +2 -2
  72. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
  73. package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts +12 -0
  74. package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -0
  75. package/build/@types/common/components/ui/WizardFooter.d.ts +1 -0
  76. package/build/@types/common/components/ui/WizardFooter.d.ts.map +1 -1
  77. package/build/@types/common/components/ui/formik/RichInputField.d.ts.map +1 -1
  78. package/build/@types/common/components/ui/formik/validationSchemas.d.ts +1 -1
  79. package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +1 -1
  80. package/build/@types/common/components/ui/index.d.ts +2 -0
  81. package/build/@types/common/components/ui/index.d.ts.map +1 -1
  82. package/build/@types/common/config/constants.d.ts +20 -0
  83. package/build/@types/common/config/constants.d.ts.map +1 -1
  84. package/build/@types/common/config/docs_links.d.ts +8 -1
  85. package/build/@types/common/config/docs_links.d.ts.map +1 -1
  86. package/build/@types/common/hooks/index.d.ts +1 -0
  87. package/build/@types/common/hooks/index.d.ts.map +1 -1
  88. package/build/@types/common/index.d.ts +1 -0
  89. package/build/@types/common/index.d.ts.map +1 -1
  90. package/build/@types/common/types/clusters.d.ts +5 -0
  91. package/build/@types/common/types/clusters.d.ts.map +1 -1
  92. package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
  93. package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
  94. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
  95. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +1 -1
  96. package/build/@types/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.d.ts.map +1 -1
  97. package/build/@types/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.d.ts.map +1 -1
  98. package/build/@types/ocm/components/clusterConfiguration/operators/CnvCheckbox.d.ts.map +1 -1
  99. package/build/@types/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.d.ts +8 -0
  100. package/build/@types/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.d.ts.map +1 -0
  101. package/build/@types/ocm/components/clusterConfiguration/operators/KmmCheckbox.d.ts.map +1 -1
  102. package/build/@types/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.d.ts +8 -0
  103. package/build/@types/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.d.ts.map +1 -0
  104. package/build/@types/ocm/components/clusterConfiguration/operators/LsoCheckbox.d.ts.map +1 -1
  105. package/build/@types/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.d.ts.map +1 -1
  106. package/build/@types/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.d.ts.map +1 -1
  107. package/build/@types/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.d.ts +8 -0
  108. package/build/@types/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.d.ts.map +1 -0
  109. package/build/@types/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.d.ts +8 -0
  110. package/build/@types/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.d.ts.map +1 -0
  111. package/build/@types/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.d.ts.map +1 -1
  112. package/build/@types/ocm/components/clusterConfiguration/operators/PipelinesChekbox.d.ts.map +1 -1
  113. package/build/@types/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.d.ts +8 -0
  114. package/build/@types/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.d.ts.map +1 -0
  115. package/build/@types/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.d.ts.map +1 -1
  116. package/build/@types/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.d.ts.map +1 -1
  117. package/build/@types/ocm/components/clusterConfiguration/operators/SupportedOperators.d.ts.map +1 -1
  118. package/build/@types/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.d.ts.map +1 -1
  119. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts.map +1 -1
  120. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts.map +1 -1
  121. package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
  122. package/build/@types/ocm/components/clusterWizard/ClusterWizard.d.ts.map +1 -1
  123. package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
  124. package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts.map +1 -1
  125. package/build/@types/ocm/components/clusterWizard/KubeconfigDownload.d.ts +7 -0
  126. package/build/@types/ocm/components/clusterWizard/KubeconfigDownload.d.ts.map +1 -0
  127. package/build/@types/ocm/components/clusterWizard/{OpenshiftVersionsContext.d.ts → OpenShiftVersionsContext.d.ts} +4 -4
  128. package/build/@types/ocm/components/clusterWizard/{OpenshiftVersionsContext.d.ts.map → OpenShiftVersionsContext.d.ts.map} +1 -1
  129. package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
  130. package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
  131. package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
  132. package/build/@types/ocm/components/clusterWizard/index.d.ts +2 -0
  133. package/build/@types/ocm/components/clusterWizard/index.d.ts.map +1 -1
  134. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +2 -2
  135. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
  136. package/build/@types/ocm/components/clusters/ClusterPage.d.ts +2 -1
  137. package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
  138. package/build/@types/ocm/components/clusters/index.d.ts +3 -0
  139. package/build/@types/ocm/components/clusters/index.d.ts.map +1 -1
  140. package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts +5 -1
  141. package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts.map +1 -1
  142. package/build/@types/ocm/components/index.d.ts +2 -0
  143. package/build/@types/ocm/components/index.d.ts.map +1 -1
  144. package/build/@types/ocm/hooks/index.d.ts +2 -0
  145. package/build/@types/ocm/hooks/index.d.ts.map +1 -1
  146. package/build/@types/ocm/index.d.ts +1 -0
  147. package/build/@types/ocm/index.d.ts.map +1 -1
  148. package/build/@types/ocm/services/OperatorsService.d.ts +1 -1
  149. package/build/@types/ocm/services/OperatorsService.d.ts.map +1 -1
  150. package/build/cjs/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.js +9 -7
  151. package/build/cjs/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.js.map +1 -1
  152. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js +40 -14
  153. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js.map +1 -1
  154. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.js +13 -29
  155. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.js.map +1 -1
  156. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.js +2 -12
  157. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.js.map +1 -1
  158. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.js +50 -26
  159. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.js.map +1 -1
  160. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js +3 -3
  161. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js.map +1 -1
  162. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.js +39 -21
  163. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.js.map +1 -1
  164. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.js +58 -27
  165. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.js.map +1 -1
  166. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.js +24 -24
  167. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.js.map +1 -1
  168. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js +26 -42
  169. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js.map +1 -1
  170. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.js +12 -8
  171. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.js.map +1 -1
  172. package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js +24 -9
  173. package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js.map +1 -1
  174. package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js +5 -5
  175. package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js.map +1 -1
  176. package/build/cjs/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.js +50 -0
  177. package/build/cjs/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.js.map +1 -0
  178. package/build/cjs/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.js +24 -0
  179. package/build/cjs/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.js.map +1 -0
  180. package/build/cjs/cim/components/ClusterDeployment/components/ValidationSection.js +17 -0
  181. package/build/cjs/cim/components/ClusterDeployment/components/ValidationSection.js.map +1 -0
  182. package/build/cjs/cim/components/ClusterDeployment/constants.js +2 -0
  183. package/build/cjs/cim/components/ClusterDeployment/constants.js.map +1 -1
  184. package/build/cjs/cim/components/ClusterDeployment/index.js +2 -5
  185. package/build/cjs/cim/components/ClusterDeployment/index.js.map +1 -1
  186. package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js +1 -14
  187. package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js.map +1 -1
  188. package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +2 -2
  189. package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
  190. package/build/cjs/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.js +6 -4
  191. package/build/cjs/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.js.map +1 -1
  192. package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js +2 -12
  193. package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js.map +1 -1
  194. package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +2 -2
  195. package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js.map +1 -1
  196. package/build/cjs/cim/components/InfraEnv/{OpenshiftVersionDropdown.js → InfraEnvOpenShiftVersionDropdown.js} +3 -3
  197. package/build/cjs/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.js.map +1 -0
  198. package/build/cjs/cim/components/common/CpuArchitectureDropdown.js +14 -19
  199. package/build/cjs/cim/components/common/CpuArchitectureDropdown.js.map +1 -1
  200. package/build/cjs/cim/components/helpers/agents.js +19 -1
  201. package/build/cjs/cim/components/helpers/agents.js.map +1 -1
  202. package/build/cjs/cim/components/helpers/toAssisted.js +25 -23
  203. package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
  204. package/build/cjs/cim/components/helpers/versions.js +19 -11
  205. package/build/cjs/cim/components/helpers/versions.js.map +1 -1
  206. package/build/cjs/cim/components/modals/EditAgentModal.js +2 -2
  207. package/build/cjs/cim/components/modals/EditAgentModal.js.map +1 -1
  208. package/build/cjs/cim/components/modals/ScaleUpModal.js +3 -2
  209. package/build/cjs/cim/components/modals/ScaleUpModal.js.map +1 -1
  210. package/build/cjs/common/api/index.js +1 -0
  211. package/build/cjs/common/api/index.js.map +1 -1
  212. package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js +11 -9
  213. package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
  214. package/build/cjs/common/components/clusterDetail/index.js +3 -1
  215. package/build/cjs/common/components/clusterDetail/index.js.map +1 -1
  216. package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js +14 -18
  217. package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js.map +1 -1
  218. package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +4 -4
  219. package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
  220. package/build/cjs/common/components/hosts/EditHostForm.js +3 -3
  221. package/build/cjs/common/components/hosts/EditHostForm.js.map +1 -1
  222. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +12 -9
  223. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
  224. package/build/cjs/common/components/storage/DisksTable.js +0 -2
  225. package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
  226. package/build/cjs/common/components/ui/DeveloperPreview.js +2 -1
  227. package/build/cjs/common/components/ui/DeveloperPreview.js.map +1 -1
  228. package/build/cjs/common/components/ui/{OpenshiftSelectWithSearch.js → OpenShiftSelectWithSearch.js} +6 -6
  229. package/build/cjs/common/components/ui/{OpenshiftSelectWithSearch.js.map → OpenShiftSelectWithSearch.js.map} +1 -1
  230. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.css +9 -0
  231. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +2 -2
  232. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
  233. package/build/cjs/{ocm/components/clusterConfiguration → common/components/ui}/OpenShiftVersionModal.js +4 -6
  234. package/build/cjs/common/components/ui/OpenShiftVersionModal.js.map +1 -0
  235. package/build/cjs/common/components/ui/WizardFooter.js +5 -3
  236. package/build/cjs/common/components/ui/WizardFooter.js.map +1 -1
  237. package/build/cjs/common/components/ui/formik/RichInputField.js +3 -2
  238. package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
  239. package/build/cjs/common/components/ui/formik/validationSchemas.js +18 -15
  240. package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
  241. package/build/cjs/common/components/ui/index.js +2 -0
  242. package/build/cjs/common/components/ui/index.js.map +1 -1
  243. package/build/cjs/common/config/constants.js +33 -2
  244. package/build/cjs/common/config/constants.js.map +1 -1
  245. package/build/cjs/common/config/docs_links.js +22 -9
  246. package/build/cjs/common/config/docs_links.js.map +1 -1
  247. package/build/cjs/common/hooks/index.js +3 -1
  248. package/build/cjs/common/hooks/index.js.map +1 -1
  249. package/build/cjs/common/index.js +1 -0
  250. package/build/cjs/common/index.js.map +1 -1
  251. package/build/cjs/common/types/clusters.js.map +1 -1
  252. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js +2 -2
  253. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +2 -2
  254. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.js +2 -2
  255. package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js.map +1 -1
  256. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +3 -4
  257. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
  258. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersion.js +1 -1
  259. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +5 -6
  260. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
  261. package/build/cjs/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.js +2 -2
  262. package/build/cjs/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.js.map +1 -1
  263. package/build/cjs/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.js +1 -2
  264. package/build/cjs/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.js.map +1 -1
  265. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js +1 -3
  266. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js.map +1 -1
  267. package/build/cjs/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.js +34 -0
  268. package/build/cjs/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.js.map +1 -0
  269. package/build/cjs/ocm/components/clusterConfiguration/operators/KmmCheckbox.js +9 -3
  270. package/build/cjs/ocm/components/clusterConfiguration/operators/KmmCheckbox.js.map +1 -1
  271. package/build/cjs/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.js +34 -0
  272. package/build/cjs/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.js.map +1 -0
  273. package/build/cjs/ocm/components/clusterConfiguration/operators/LsoCheckbox.js +1 -2
  274. package/build/cjs/ocm/components/clusterConfiguration/operators/LsoCheckbox.js.map +1 -1
  275. package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js +0 -1
  276. package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js.map +1 -1
  277. package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js +1 -1
  278. package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js.map +1 -1
  279. package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js +2 -2
  280. package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js.map +1 -1
  281. package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateCheckbox.js +1 -1
  282. package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateCheckbox.js.map +1 -1
  283. package/build/cjs/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.js +1 -2
  284. package/build/cjs/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.js.map +1 -1
  285. package/build/cjs/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.js +34 -0
  286. package/build/cjs/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.js.map +1 -0
  287. package/build/cjs/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.js +34 -0
  288. package/build/cjs/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.js.map +1 -0
  289. package/build/cjs/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.js +2 -2
  290. package/build/cjs/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.js.map +1 -1
  291. package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js +1 -1
  292. package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js.map +1 -1
  293. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js +1 -1
  294. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js.map +1 -1
  295. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenshiftAIAmdRequirements.js +1 -1
  296. package/build/cjs/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.js +1 -1
  297. package/build/cjs/ocm/components/clusterConfiguration/operators/OscCheckbox.js +1 -1
  298. package/build/cjs/ocm/components/clusterConfiguration/operators/OscCheckbox.js.map +1 -1
  299. package/build/cjs/ocm/components/clusterConfiguration/operators/PipelinesChekbox.js +1 -2
  300. package/build/cjs/ocm/components/clusterConfiguration/operators/PipelinesChekbox.js.map +1 -1
  301. package/build/cjs/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.js +34 -0
  302. package/build/cjs/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.js.map +1 -0
  303. package/build/cjs/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.js +1 -2
  304. package/build/cjs/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.js.map +1 -1
  305. package/build/cjs/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.js +1 -2
  306. package/build/cjs/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.js.map +1 -1
  307. package/build/cjs/ocm/components/clusterConfiguration/operators/SupportedOperators.js +20 -0
  308. package/build/cjs/ocm/components/clusterConfiguration/operators/SupportedOperators.js.map +1 -1
  309. package/build/cjs/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.js +9 -2
  310. package/build/cjs/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.js.map +1 -1
  311. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +27 -10
  312. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
  313. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js +2 -2
  314. package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js +1 -1
  315. package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js.map +1 -1
  316. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsSelect.js +1 -1
  317. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js +8 -2
  318. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
  319. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js +2 -2
  320. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js +2 -2
  321. package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +2 -2
  322. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +2 -2
  323. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +5 -1
  324. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
  325. package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js +3 -0
  326. package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js.map +1 -1
  327. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +1 -2
  328. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
  329. package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js +11 -1
  330. package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js.map +1 -1
  331. package/build/cjs/ocm/components/clusterWizard/KubeconfigDownload.js +21 -0
  332. package/build/cjs/ocm/components/clusterWizard/KubeconfigDownload.js.map +1 -0
  333. package/build/cjs/ocm/components/clusterWizard/{OpenshiftVersionsContext.js → OpenShiftVersionsContext.js} +10 -10
  334. package/build/cjs/ocm/components/clusterWizard/{OpenshiftVersionsContext.js.map → OpenShiftVersionsContext.js.map} +1 -1
  335. package/build/cjs/ocm/components/clusterWizard/Operators.js +5 -0
  336. package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
  337. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +13 -6
  338. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
  339. package/build/cjs/ocm/components/clusterWizard/constants.js +1 -0
  340. package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
  341. package/build/cjs/ocm/components/clusterWizard/index.js +5 -1
  342. package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
  343. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +3 -0
  344. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
  345. package/build/cjs/ocm/components/clusters/ClusterPage.js +7 -9
  346. package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
  347. package/build/cjs/ocm/components/clusters/NewClusterPage.js +2 -2
  348. package/build/cjs/ocm/components/clusters/index.js +7 -1
  349. package/build/cjs/ocm/components/clusters/index.js.map +1 -1
  350. package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js +2 -2
  351. package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +2 -2
  352. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +1 -1
  353. package/build/cjs/ocm/components/hosts/ModalDialogsContext.js +1 -0
  354. package/build/cjs/ocm/components/hosts/ModalDialogsContext.js.map +1 -1
  355. package/build/cjs/ocm/components/index.js +2 -0
  356. package/build/cjs/ocm/components/index.js.map +1 -1
  357. package/build/cjs/ocm/hooks/index.js +5 -1
  358. package/build/cjs/ocm/hooks/index.js.map +1 -1
  359. package/build/cjs/ocm/hooks/useInfraEnv.js +2 -2
  360. package/build/cjs/ocm/hooks/useInfraEnv.js.map +1 -1
  361. package/build/cjs/ocm/index.js +1 -0
  362. package/build/cjs/ocm/index.js.map +1 -1
  363. package/build/cjs/ocm/services/OperatorsService.js +7 -2
  364. package/build/cjs/ocm/services/OperatorsService.js.map +1 -1
  365. package/lib/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.tsx +11 -9
  366. package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.tsx +85 -19
  367. package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.tsx +25 -53
  368. package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.tsx +7 -16
  369. package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.tsx +102 -59
  370. package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.tsx +16 -10
  371. package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.tsx +84 -48
  372. package/lib/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.tsx +106 -54
  373. package/lib/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.tsx +96 -85
  374. package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizard.tsx +109 -119
  375. package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.tsx +27 -14
  376. package/lib/cim/components/ClusterDeployment/ClusterDetailsFormFields.tsx +54 -13
  377. package/lib/cim/components/ClusterDeployment/NetworkConfiguration.tsx +5 -5
  378. package/lib/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.tsx +107 -0
  379. package/lib/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.tsx +49 -0
  380. package/lib/cim/components/ClusterDeployment/components/ValidationSection.tsx +41 -0
  381. package/lib/cim/components/ClusterDeployment/constants.ts +3 -1
  382. package/lib/cim/components/ClusterDeployment/index.ts +1 -3
  383. package/lib/cim/components/ClusterDeployment/networkConfigurationValidation.ts +1 -26
  384. package/lib/cim/components/ClusterDeployment/types.ts +7 -10
  385. package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +3 -3
  386. package/lib/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.tsx +4 -2
  387. package/lib/cim/components/Hypershift/types.ts +6 -3
  388. package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +7 -16
  389. package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +2 -2
  390. package/lib/cim/components/InfraEnv/{OpenshiftVersionDropdown.tsx → InfraEnvOpenShiftVersionDropdown.tsx} +2 -2
  391. package/lib/cim/components/common/CpuArchitectureDropdown.tsx +51 -40
  392. package/lib/cim/components/helpers/agents.ts +30 -1
  393. package/lib/cim/components/helpers/toAssisted.ts +12 -8
  394. package/lib/cim/components/helpers/versions.ts +20 -6
  395. package/lib/cim/components/modals/EditAgentModal.tsx +2 -1
  396. package/lib/cim/components/modals/ScaleUpModal.tsx +12 -2
  397. package/lib/common/api/index.ts +1 -0
  398. package/lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +14 -14
  399. package/lib/common/components/clusterDetail/index.ts +1 -0
  400. package/lib/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.tsx +50 -61
  401. package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +4 -4
  402. package/lib/common/components/hosts/EditHostForm.tsx +16 -6
  403. package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +10 -4
  404. package/lib/common/components/newFeatureSupportLevels/types.ts +14 -10
  405. package/lib/common/components/storage/DisksTable.tsx +0 -2
  406. package/lib/common/components/ui/DeveloperPreview.tsx +2 -0
  407. package/lib/common/components/ui/{OpenshiftSelectWithSearch.tsx → OpenShiftSelectWithSearch.tsx} +4 -4
  408. package/lib/common/components/ui/OpenShiftVersionDropdown.css +9 -0
  409. package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +3 -3
  410. package/lib/{ocm/components/clusterConfiguration → common/components/ui}/OpenShiftVersionModal.tsx +9 -9
  411. package/lib/common/components/ui/WizardFooter.tsx +26 -10
  412. package/lib/common/components/ui/formik/RichInputField.tsx +4 -2
  413. package/lib/common/components/ui/formik/validationSchemas.ts +13 -10
  414. package/lib/common/components/ui/index.ts +3 -0
  415. package/lib/common/config/constants.ts +31 -1
  416. package/lib/common/config/docs_links.ts +37 -7
  417. package/lib/common/hooks/index.ts +1 -0
  418. package/lib/common/index.ts +1 -0
  419. package/lib/common/types/clusters.ts +5 -0
  420. package/lib/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.tsx +2 -2
  421. package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +3 -3
  422. package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.tsx +3 -3
  423. package/lib/ocm/components/clusterConfiguration/HostInventory.tsx +0 -1
  424. package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +9 -13
  425. package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersion.tsx +1 -1
  426. package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +9 -5
  427. package/lib/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.tsx +2 -1
  428. package/lib/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.tsx +3 -7
  429. package/lib/ocm/components/clusterConfiguration/operators/CnvCheckbox.tsx +1 -3
  430. package/lib/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.tsx +71 -0
  431. package/lib/ocm/components/clusterConfiguration/operators/KmmCheckbox.tsx +9 -8
  432. package/lib/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.tsx +66 -0
  433. package/lib/ocm/components/clusterConfiguration/operators/LsoCheckbox.tsx +2 -7
  434. package/lib/ocm/components/clusterConfiguration/operators/LvmCheckbox.tsx +1 -1
  435. package/lib/ocm/components/clusterConfiguration/operators/MceCheckbox.tsx +1 -1
  436. package/lib/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.tsx +3 -4
  437. package/lib/ocm/components/clusterConfiguration/operators/NmstateCheckbox.tsx +1 -1
  438. package/lib/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.tsx +2 -7
  439. package/lib/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.tsx +66 -0
  440. package/lib/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.tsx +66 -0
  441. package/lib/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.tsx +2 -1
  442. package/lib/ocm/components/clusterConfiguration/operators/OdfCheckbox.tsx +1 -1
  443. package/lib/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.tsx +1 -1
  444. package/lib/ocm/components/clusterConfiguration/operators/OpenshiftAIAmdRequirements.tsx +1 -1
  445. package/lib/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.tsx +1 -1
  446. package/lib/ocm/components/clusterConfiguration/operators/OscCheckbox.tsx +1 -1
  447. package/lib/ocm/components/clusterConfiguration/operators/PipelinesChekbox.tsx +2 -7
  448. package/lib/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.tsx +68 -0
  449. package/lib/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.tsx +2 -7
  450. package/lib/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.tsx +2 -7
  451. package/lib/ocm/components/clusterConfiguration/operators/SupportedOperators.tsx +25 -0
  452. package/lib/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.tsx +9 -0
  453. package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +55 -30
  454. package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +2 -2
  455. package/lib/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.tsx +1 -1
  456. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsSelect.tsx +1 -1
  457. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +13 -8
  458. package/lib/ocm/components/clusterDetail/AssistedInstallerDetailCard.tsx +3 -3
  459. package/lib/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.tsx +3 -3
  460. package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +2 -2
  461. package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +2 -2
  462. package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +7 -1
  463. package/lib/ocm/components/clusterWizard/ClusterWizard.tsx +3 -0
  464. package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +1 -2
  465. package/lib/ocm/components/clusterWizard/ClusterWizardFooter.tsx +15 -1
  466. package/lib/ocm/components/clusterWizard/KubeconfigDownload.tsx +39 -0
  467. package/lib/ocm/components/clusterWizard/{OpenshiftVersionsContext.tsx → OpenShiftVersionsContext.tsx} +8 -8
  468. package/lib/ocm/components/clusterWizard/Operators.tsx +10 -0
  469. package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +13 -5
  470. package/lib/ocm/components/clusterWizard/constants.ts +1 -0
  471. package/lib/ocm/components/clusterWizard/index.ts +2 -0
  472. package/lib/ocm/components/clusterWizard/wizardTransition.ts +6 -1
  473. package/lib/ocm/components/clusters/ClusterPage.tsx +16 -13
  474. package/lib/ocm/components/clusters/NewClusterPage.tsx +3 -3
  475. package/lib/ocm/components/clusters/index.ts +3 -0
  476. package/lib/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.tsx +2 -2
  477. package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +2 -2
  478. package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +1 -1
  479. package/lib/ocm/components/hosts/ModalDialogsContext.tsx +8 -1
  480. package/lib/ocm/components/index.ts +2 -0
  481. package/lib/ocm/hooks/index.ts +2 -0
  482. package/lib/ocm/hooks/useInfraEnv.ts +1 -1
  483. package/lib/ocm/index.ts +1 -0
  484. package/lib/ocm/services/OperatorsService.tsx +12 -2
  485. package/package.json +4 -3
  486. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.d.ts +0 -10
  487. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.d.ts.map +0 -1
  488. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.d.ts +0 -13
  489. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.d.ts.map +0 -1
  490. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.d.ts +0 -4
  491. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.d.ts.map +0 -1
  492. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.d.ts +0 -7
  493. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.d.ts.map +0 -1
  494. package/build/@types/cim/components/InfraEnv/OpenshiftVersionDropdown.d.ts +0 -7
  495. package/build/@types/cim/components/InfraEnv/OpenshiftVersionDropdown.d.ts.map +0 -1
  496. package/build/@types/common/components/ui/OpenshiftSelectWithSearch.d.ts.map +0 -1
  497. package/build/@types/ocm/components/clusterConfiguration/OpenShiftVersionModal.d.ts +0 -10
  498. package/build/@types/ocm/components/clusterConfiguration/OpenShiftVersionModal.d.ts.map +0 -1
  499. package/build/@types/ocm/components/clusterDetail/RebootNodeZeroModal.d.ts +0 -7
  500. package/build/@types/ocm/components/clusterDetail/RebootNodeZeroModal.d.ts.map +0 -1
  501. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.js +0 -31
  502. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.js.map +0 -1
  503. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.js +0 -50
  504. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.js.map +0 -1
  505. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.js +0 -35
  506. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.js.map +0 -1
  507. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.js +0 -9
  508. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.js.map +0 -1
  509. package/build/cjs/cim/components/InfraEnv/OpenshiftVersionDropdown.js.map +0 -1
  510. package/build/cjs/common/components/ui/OpenshiftVersionDropdown.css +0 -4
  511. package/build/cjs/ocm/components/clusterConfiguration/OpenShiftVersionModal.js.map +0 -1
  512. package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.css +0 -7
  513. package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.js +0 -35
  514. package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.js.map +0 -1
  515. package/lib/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.tsx +0 -79
  516. package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.tsx +0 -128
  517. package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.tsx +0 -81
  518. package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.tsx +0 -13
  519. package/lib/common/components/ui/OpenshiftVersionDropdown.css +0 -4
  520. package/lib/ocm/components/clusterDetail/RebootNodeZeroModal.css +0 -7
  521. package/lib/ocm/components/clusterDetail/RebootNodeZeroModal.tsx +0 -69
  522. /package/build/cjs/{ocm/components/clusterConfiguration/OpenshiftVersionModal.css → common/components/ui/OpenShiftVersionModal.css} +0 -0
  523. /package/lib/{ocm/components/clusterConfiguration/OpenshiftVersionModal.css → common/components/ui/OpenShiftVersionModal.css} +0 -0
@@ -40,6 +40,10 @@ type MassDeleteHostDialogProps = {
40
40
  reloadCluster: VoidFunction;
41
41
  };
42
42
 
43
+ type ResetSingleClusterDialogProps = {
44
+ cluster?: Cluster;
45
+ };
46
+
43
47
  type ModalDialogsDataTypes = {
44
48
  eventsDialog: HostIdAndHostname;
45
49
  editHostDialog: EditHostProps;
@@ -53,6 +57,7 @@ type ModalDialogsDataTypes = {
53
57
  UpdateDay2ApiVipDialog: void;
54
58
  massUpdateHostnameDialog: MassUpdateHostnameDialogProps;
55
59
  massDeleteHostDialog: MassDeleteHostDialogProps;
60
+ resetSingleClusterDialog: ResetSingleClusterDialogProps;
56
61
  };
57
62
 
58
63
  type DialogId =
@@ -67,7 +72,8 @@ type DialogId =
67
72
  | 'day2DiscoveryImageDialog'
68
73
  | 'UpdateDay2ApiVipDialog'
69
74
  | 'massUpdateHostnameDialog'
70
- | 'massDeleteHostDialog';
75
+ | 'massDeleteHostDialog'
76
+ | 'resetSingleClusterDialog';
71
77
 
72
78
  export type ModalDialogsContextType = {
73
79
  [key in DialogId]: {
@@ -91,6 +97,7 @@ const dialogIds: DialogId[] = [
91
97
  'UpdateDay2ApiVipDialog',
92
98
  'massUpdateHostnameDialog',
93
99
  'massDeleteHostDialog',
100
+ 'resetSingleClusterDialog',
94
101
  ];
95
102
 
96
103
  const ModalDialogsContext = React.createContext<ModalDialogsContextType | undefined>(undefined);
@@ -6,3 +6,5 @@ export * from './AddHosts';
6
6
  export * from './clusterWizard';
7
7
  export * from './HostsClusterDetailTab';
8
8
  export * from './featureSupportLevels';
9
+ export * from './clusterConfiguration/ClusterDefaultConfigurationContext';
10
+ export * from './hosts/ModalDialogsContext';
@@ -4,3 +4,5 @@ export { default as useInfraEnvId } from './useInfraEnvId';
4
4
  export { default as usePullSecret } from './usePullSecret';
5
5
  export { default as useClusterPreflightRequirements } from './useClusterPreflightRequirements';
6
6
  export { default as useUISettings } from './useUISettings';
7
+ export { default as useInfraEnv } from './useInfraEnv';
8
+ export { useFeatureDetection } from './use-feature-detection';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { useInfraEnvId } from '.';
2
+ import useInfraEnvId from './useInfraEnvId';
3
3
  import { CpuArchitecture } from '../../common';
4
4
  import { getErrorMessage } from '../../common/utils';
5
5
  import { InfraEnvsAPI } from '../services/apis';
package/lib/ocm/index.ts CHANGED
@@ -6,6 +6,7 @@ export * as Services from './services';
6
6
  // without namespace
7
7
  export * from './components';
8
8
  export * from './services';
9
+ export * from './hooks';
9
10
 
10
11
  // re-export selected from common
11
12
  export * as Features from '../common/features';
@@ -18,6 +18,11 @@ import {
18
18
  OPERATOR_NAME_NVIDIA_GPU,
19
19
  OPERATOR_NAME_AMD_GPU,
20
20
  OPERATOR_NAME_KMM,
21
+ OPERATOR_NAME_NODE_HEALTHCHECK,
22
+ OPERATOR_NAME_SELF_NODE_REMEDIATION,
23
+ OPERATOR_NAME_FENCE_AGENTS_REMEDIATION,
24
+ OPERATOR_NAME_NODE_MAINTENANCE,
25
+ OPERATOR_NAME_KUBE_DESCHEDULER,
21
26
  } from '../../common';
22
27
  import { getOlmOperatorCreateParamsByName } from '../components/clusters/utils';
23
28
  import {
@@ -56,12 +61,17 @@ const OperatorsService = {
56
61
  setOperator(OPERATOR_NAME_NVIDIA_GPU, values.useNvidiaGpu);
57
62
  setOperator(OPERATOR_NAME_AMD_GPU, values.useAmdGpu);
58
63
  setOperator(OPERATOR_NAME_KMM, values.useKmm);
64
+ setOperator(OPERATOR_NAME_NODE_HEALTHCHECK, values.useNodeHealthcheck);
65
+ setOperator(OPERATOR_NAME_SELF_NODE_REMEDIATION, values.useNodeMaintenance);
66
+ setOperator(OPERATOR_NAME_FENCE_AGENTS_REMEDIATION, values.useFenceAgentsRemediation);
67
+ setOperator(OPERATOR_NAME_NODE_MAINTENANCE, values.useNodeMaintenance);
68
+ setOperator(OPERATOR_NAME_KUBE_DESCHEDULER, values.useKubeDescheduler);
59
69
 
60
70
  return Object.values(enabledOlmOperatorsByName);
61
71
  },
62
72
 
63
73
  /**
64
- * Depending on the Openshift version and certain selected operators, the
74
+ * Depending on the OpenShift version and certain selected operators, the
65
75
  * Backend can activate some other operators.
66
76
  * We need to synchronise them back to the form
67
77
  */
@@ -71,7 +81,7 @@ const OperatorsService = {
71
81
  ): Partial<OperatorsValues> {
72
82
  const updates: Partial<OperatorsValues> = {};
73
83
 
74
- // LVM operator can be automatically selected depending on Openshift version + other operators
84
+ // LVM operator can be automatically selected depending on OpenShift version + other operators
75
85
  const lvmPrevInactive = uiOperators?.find((op) => op.name === OPERATOR_NAME_LVM) === undefined;
76
86
  const lvmNowActive =
77
87
  updatedOperators?.find((op) => op.name === OPERATOR_NAME_LVM) !== undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "dependencies": {
3
- "@openshift-assisted/locales": "2.38.5",
4
- "@openshift-assisted/types": "2.38.5",
3
+ "@openshift-assisted/locales": "2.39.0",
4
+ "@openshift-assisted/types": "2.39.0",
5
5
  "@openshift-console/dynamic-plugin-sdk": "0.0.3",
6
6
  "@patternfly/patternfly": "5.2.0",
7
7
  "@patternfly/react-code-editor": "5.2.0",
@@ -25,6 +25,7 @@
25
25
  "is-in-subnet": "^4",
26
26
  "js-yaml": "^4.1.0",
27
27
  "lodash-es": "^4.17.21",
28
+ "parse-url": "^9.2.0",
28
29
  "prism-react-renderer": "^1.1.1",
29
30
  "react-error-boundary": "^3.1.4",
30
31
  "react-measure": "^2.5.2",
@@ -139,5 +140,5 @@
139
140
  ]
140
141
  }
141
142
  },
142
- "version": "2.38.5"
143
+ "version": "2.39.0"
143
144
  }
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- import { AgentClusterInstallK8sResource } from '../../types';
3
- type ClusterDeploymentCreateProgressProps = {
4
- agentClusterInstall: AgentClusterInstallK8sResource;
5
- toDetails: VoidFunction;
6
- toListView: VoidFunction;
7
- };
8
- declare const ClusterDeploymentCreateProgress: React.FC<ClusterDeploymentCreateProgressProps>;
9
- export default ClusterDeploymentCreateProgress;
10
- //# sourceMappingURL=ClusterDeploymentCreateProgress.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ClusterDeploymentCreateProgress.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAc/B,OAAO,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAO7D,KAAK,oCAAoC,GAAG;IAC1C,mBAAmB,EAAE,8BAA8B,CAAC;IACpD,SAAS,EAAE,YAAY,CAAC;IACxB,UAAU,EAAE,YAAY,CAAC;CAC1B,CAAC;AAEF,QAAA,MAAM,+BAA+B,EAAE,KAAK,CAAC,EAAE,CAAC,oCAAoC,CAiDnF,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { WizardFooter, WizardFooterGenericProps } from '../../../common';
3
- import { AgentClusterInstallK8sResource } from '../../types/k8s/agent-cluster-install';
4
- import { AgentK8sResource } from '../../types/k8s/agent';
5
- type ClusterDeploymentWizardFooterProps = React.ComponentProps<typeof WizardFooter> & WizardFooterGenericProps & {
6
- agentClusterInstall?: AgentClusterInstallK8sResource;
7
- agents?: AgentK8sResource[];
8
- showClusterErrors?: boolean;
9
- onSyncError?: VoidFunction;
10
- };
11
- declare const ClusterDeploymentWizardFooter: React.FC<ClusterDeploymentWizardFooterProps>;
12
- export default ClusterDeploymentWizardFooter;
13
- //# sourceMappingURL=ClusterDeploymentWizardFooter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ClusterDeploymentWizardFooter.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAEL,YAAY,EAEZ,wBAAwB,EAEzB,MAAM,iBAAiB,CAAC;AAMzB,OAAO,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAqCzD,KAAK,kCAAkC,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,GACjF,wBAAwB,GAAG;IACzB,mBAAmB,CAAC,EAAE,8BAA8B,CAAC;IACrD,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC5B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEJ,QAAA,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,kCAAkC,CAiE/E,CAAC;AAEF,eAAe,6BAA6B,CAAC"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- declare const ClusterDeploymentWizardNavigation: React.FC<{}>;
3
- export default ClusterDeploymentWizardNavigation;
4
- //# sourceMappingURL=ClusterDeploymentWizardNavigation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ClusterDeploymentWizardNavigation.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,QAAA,MAAM,iCAAiC,EAAE,KAAK,CAAC,EAAE,CAAC,EAEjD,CAiEA,CAAC;AAEF,eAAe,iCAAiC,CAAC"}
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- type ClusterDeploymentWizardStepProps = {
3
- footer: React.ReactNode;
4
- };
5
- declare const ClusterDeploymentWizardStep: React.FC<ClusterDeploymentWizardStepProps>;
6
- export default ClusterDeploymentWizardStep;
7
- //# sourceMappingURL=ClusterDeploymentWizardStep.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ClusterDeploymentWizardStep.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,KAAK,gCAAgC,GAAG;IACtC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB,CAAC;AAEF,QAAA,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,gCAAgC,CAE3E,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import { OsImage } from '../../types';
3
- declare const OpenshiftVersionDropdown: ({ osImages }: {
4
- osImages: OsImage[];
5
- }) => React.JSX.Element;
6
- export default OpenshiftVersionDropdown;
7
- //# sourceMappingURL=OpenshiftVersionDropdown.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OpenshiftVersionDropdown.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/components/InfraEnv/OpenshiftVersionDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,QAAA,MAAM,wBAAwB;cAA8B,OAAO,EAAE;uBA6DpE,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"OpenshiftSelectWithSearch.d.ts","sourceRoot":"","sources":["../../../../../lib/common/components/ui/OpenshiftSelectWithSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAkBxD,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAG5D,KAAK,8BAA8B,GAAG;IACpC,QAAQ,EAAE,0BAA0B,EAAE,CAAC;IACvC,aAAa,EAAE,cAAc,CAAC;IAC9B,wBAAwB,EAAE,QAAQ,CAAC,cAAc,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC,CAAC;CAC5F,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,iBAAiB,CAAC,8BAA8B,CAyQ7F,CAAC"}
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import './OpenshiftVersionModal.css';
3
- import { HelperTextType } from '../../../common/components/ui/OpenShiftVersionDropdown';
4
- type OpenShiftVersionModalProps = {
5
- setOpenshiftVersionModalOpen: (isOpen: boolean) => void;
6
- getHelperText: HelperTextType;
7
- };
8
- export declare const OpenShiftVersionModal: ({ setOpenshiftVersionModalOpen, getHelperText, }: OpenShiftVersionModalProps) => React.JSX.Element;
9
- export {};
10
- //# sourceMappingURL=OpenShiftVersionModal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OpenShiftVersionModal.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OpenShiftVersionModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,6BAA6B,CAAC;AAGrC,OAAO,EAAE,cAAc,EAAE,MAAM,wDAAwD,CAAC;AAIxF,KAAK,0BAA0B,GAAG;IAChC,4BAA4B,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACxD,aAAa,EAAE,cAAc,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,qDAG/B,0BAA0B,sBA2C5B,CAAC"}
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import './RebootNodeZeroModal.css';
3
- import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
4
- export declare const RebootNodeZeroModal: React.FC<{
5
- cluster: Cluster;
6
- }>;
7
- //# sourceMappingURL=RebootNodeZeroModal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RebootNodeZeroModal.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterDetail/RebootNodeZeroModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAG/E,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CA0D9D,CAAC"}
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const React = tslib_1.__importStar(require("react"));
5
- const check_circle_icon_1 = require("@patternfly/react-icons/dist/js/icons/check-circle-icon");
6
- const global_palette_green_500_1 = require("@patternfly/react-tokens/dist/js/global_palette_green_500");
7
- const react_core_1 = require("@patternfly/react-core");
8
- const helpers_1 = require("./helpers");
9
- const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
10
- const GreenCheckCircleIcon = (props) => (React.createElement(check_circle_icon_1.CheckCircleIcon, Object.assign({}, props, { color: global_palette_green_500_1.global_palette_green_500.value })));
11
- const ClusterDeploymentCreateProgress = ({ agentClusterInstall, toDetails, toListView, }) => {
12
- const { t } = (0, use_translation_wrapper_1.useTranslation)();
13
- return (React.createElement(react_core_1.Bullseye, null,
14
- React.createElement(react_core_1.EmptyState, null,
15
- (0, helpers_1.isInstallationReady)(agentClusterInstall) ? (React.createElement(React.Fragment, null,
16
- React.createElement(react_core_1.EmptyStateIcon, { icon: GreenCheckCircleIcon }),
17
- React.createElement(react_core_1.Title, { headingLevel: "h4", size: "lg" }, t('ai:Cluster is ready for installation')),
18
- React.createElement(react_core_1.EmptyStateBody, null,
19
- React.createElement("div", null, t('ai:This cluster has been created and is ready to begin installation.')),
20
- React.createElement("div", null, t('ai:To see the status of the installation see the details page.'))))) : (React.createElement(React.Fragment, null,
21
- React.createElement(react_core_1.EmptyStateIcon, { icon: react_core_1.Spinner }),
22
- React.createElement(react_core_1.Title, { headingLevel: "h4", size: "lg" }, t('ai:Preparing cluster installation')),
23
- React.createElement(react_core_1.EmptyStateBody, null,
24
- React.createElement("div", null, t('ai:This cluster is in the process of getting ready to start installation.')),
25
- React.createElement("div", null, t('ai:If you exit this flow you can see its status in the list view or details page.'))))),
26
- React.createElement(react_core_1.EmptyStateActions, null,
27
- React.createElement(react_core_1.Button, { variant: "primary", onClick: toDetails }, t('ai:See cluster details')),
28
- React.createElement(react_core_1.Button, { variant: "link", onClick: toListView }, t('ai:Go to cluster list'))))));
29
- };
30
- exports.default = ClusterDeploymentCreateProgress;
31
- //# sourceMappingURL=ClusterDeploymentCreateProgress.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ClusterDeploymentCreateProgress.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,+FAA0F;AAC1F,wGAAgH;AAChH,uDASgC;AAChC,uCAAgD;AAEhD,2FAA+E;AAE/E,MAAM,oBAAoB,GAAa,CAAC,KAAK,EAAE,EAAE,CAAC,CAChD,oBAAC,mCAAe,oBAAK,KAAK,IAAE,KAAK,EAAE,mDAAO,CAAC,KAAK,IAAI,CACrD,CAAC;AAQF,MAAM,+BAA+B,GAAmD,CAAC,EACvF,mBAAmB,EACnB,SAAS,EACT,UAAU,GACX,EAAE,EAAE;IACH,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,OAAO,CACL,oBAAC,qBAAQ;QACP,oBAAC,uBAAU;YACR,IAAA,6BAAmB,EAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAC1C;gBACE,oBAAC,2BAAc,IAAC,IAAI,EAAE,oBAAoB,GAAI;gBAC9C,oBAAC,kBAAK,IAAC,YAAY,EAAC,IAAI,EAAC,IAAI,EAAC,IAAI,IAC/B,CAAC,CAAC,sCAAsC,CAAC,CACpC;gBACR,oBAAC,2BAAc;oBACb,iCAAM,CAAC,CAAC,sEAAsE,CAAC,CAAO;oBACtF,iCAAM,CAAC,CAAC,gEAAgE,CAAC,CAAO,CACjE,CAChB,CACJ,CAAC,CAAC,CAAC,CACF;gBACE,oBAAC,2BAAc,IAAC,IAAI,EAAE,oBAAO,GAAI;gBACjC,oBAAC,kBAAK,IAAC,YAAY,EAAC,IAAI,EAAC,IAAI,EAAC,IAAI,IAC/B,CAAC,CAAC,mCAAmC,CAAC,CACjC;gBACR,oBAAC,2BAAc;oBACb,iCACG,CAAC,CAAC,2EAA2E,CAAC,CAC3E;oBACN,iCACG,CAAC,CACA,mFAAmF,CACpF,CACG,CACS,CAChB,CACJ;YACD,oBAAC,8BAAiB;gBAChB,oBAAC,mBAAM,IAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,SAAS,IACzC,CAAC,CAAC,wBAAwB,CAAC,CACrB;gBACT,oBAAC,mBAAM,IAAC,OAAO,EAAC,MAAM,EAAC,OAAO,EAAE,UAAU,IACvC,CAAC,CAAC,uBAAuB,CAAC,CACpB,CACS,CACT,CACJ,CACZ,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,+BAA+B,CAAC"}
@@ -1,50 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const react_1 = tslib_1.__importDefault(require("react"));
5
- const react_core_1 = require("@patternfly/react-core");
6
- const common_1 = require("../../../common");
7
- const ClusterDeploymentWizardContext_1 = tslib_1.__importDefault(require("./ClusterDeploymentWizardContext"));
8
- const wizardTransition_1 = require("./wizardTransition");
9
- const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
10
- const ValidationsRunningAlert_1 = tslib_1.__importDefault(require("../common/ValidationsRunningAlert"));
11
- const ValidationSection = ({ currentStepId, clusterStatus, validationsInfo, hosts, children, }) => {
12
- return (react_1.default.createElement(react_core_1.AlertGroup, null,
13
- children,
14
- clusterStatus && (react_1.default.createElement(common_1.ClusterWizardStepValidationsAlert, { currentStepId: currentStepId, clusterStatus: clusterStatus, hosts: hosts, validationsInfo: validationsInfo, wizardStepsValidationsMap: wizardTransition_1.wizardStepsValidationsMap },
15
- react_1.default.createElement(ValidationsRunningAlert_1.default, null)))));
16
- };
17
- const ClusterDeploymentWizardFooter = (_a) => {
18
- var _b, _c, _d, _e, _f, _g;
19
- var { agentClusterInstall, agents, showClusterErrors, children, onSyncError, isNextDisabled } = _a, rest = tslib_1.__rest(_a, ["agentClusterInstall", "agents", "showClusterErrors", "children", "onSyncError", "isNextDisabled"]);
20
- const { alerts } = (0, common_1.useAlerts)();
21
- const { currentStepId } = react_1.default.useContext(ClusterDeploymentWizardContext_1.default);
22
- const clusterStatus = showClusterErrors
23
- ? (_c = (_b = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.status) === null || _b === void 0 ? void 0 : _b.debugInfo) === null || _c === void 0 ? void 0 : _c.state
24
- : undefined;
25
- const validationsInfo = showClusterErrors
26
- ? (_d = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.status) === null || _d === void 0 ? void 0 : _d.validationsInfo
27
- : undefined;
28
- const hosts = react_1.default.useMemo(() => (agents || []).reduce((result, agent) => {
29
- var _a, _b, _c;
30
- const status = (_b = (_a = agent.status) === null || _a === void 0 ? void 0 : _a.debugInfo) === null || _b === void 0 ? void 0 : _b.state;
31
- if (status) {
32
- result.push({ status, validationsInfo: (_c = agent.status) === null || _c === void 0 ? void 0 : _c.validationsInfo });
33
- }
34
- return result;
35
- }, []), [agents]);
36
- const syncError = (_g = (_f = (_e = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.status) === null || _e === void 0 ? void 0 : _e.conditions) === null || _f === void 0 ? void 0 : _f.find((c) => c.type === 'SpecSynced' && c.status === 'False')) === null || _g === void 0 ? void 0 : _g.message;
37
- const { t } = (0, use_translation_wrapper_1.useTranslation)();
38
- react_1.default.useEffect(() => {
39
- if (syncError && onSyncError) {
40
- onSyncError();
41
- }
42
- }, [syncError, onSyncError]);
43
- const alertsSection = alerts.length ? react_1.default.createElement(common_1.Alerts, null) : undefined;
44
- const errorsSection = (react_1.default.createElement(ValidationSection, { currentStepId: currentStepId, clusterStatus: clusterStatus, validationsInfo: validationsInfo, hosts: hosts },
45
- syncError && (react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.danger, title: t('ai:An error occured'), isInline: true }, syncError)),
46
- children));
47
- return (react_1.default.createElement(common_1.WizardFooter, Object.assign({ alerts: alertsSection, errors: errorsSection, isNextDisabled: isNextDisabled || !!syncError }, rest)));
48
- };
49
- exports.default = ClusterDeploymentWizardFooter;
50
- //# sourceMappingURL=ClusterDeploymentWizardFooter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ClusterDeploymentWizardFooter.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,uDAAyE;AACzE,4CAMyB;AACzB,8GAA8E;AAI9E,yDAAuF;AAGvF,2FAA+E;AAC/E,wGAAwE;AAUxE,MAAM,iBAAiB,GAAqC,CAAC,EAC3D,aAAa,EACb,aAAa,EACb,eAAe,EACf,KAAK,EACL,QAAQ,GACT,EAAE,EAAE;IACH,OAAO,CACL,8BAAC,uBAAU;QACR,QAAQ;QACR,aAAa,IAAI,CAChB,8BAAC,0CAAiC,IAChC,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,aAAa,EAC5B,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,eAAe,EAChC,yBAAyB,EAAE,4CAAyB;YAEpD,8BAAC,iCAAuB,OAAG,CACO,CACrC,CACU,CACd,CAAC;AACJ,CAAC,CA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,IAAI,CAC7D,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,YAAY,IAAI,CAAC,CAAC,MAAM,KAAK,OAAO,CACvD,0CAAE,OAAO,CAAC;IAEX,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,eAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,SAAS,IAAI,WAAW,EAAE;YAC5B,WAAW,EAAE,CAAC;SACf;IACH,CAAC,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC,CAAC;IAE7B,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,8BAAC,eAAM,OAAG,CAAC,CAAC,CAAC,SAAS,CAAC;IAC7D,MAAM,aAAa,GAAG,CACpB,8BAAC,iBAAiB,IAChB,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe,EAChC,KAAK,EAAE,KAAK;QAEX,SAAS,IAAI,CACZ,8BAAC,kBAAK,IAAC,OAAO,EAAE,yBAAY,CAAC,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC,qBAAqB,CAAC,EAAE,QAAQ,UAC3E,SAAS,CACJ,CACT;QACA,QAAQ,CACS,CACrB,CAAC;IAEF,OAAO,CACL,8BAAC,qBAAY,kBACX,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,aAAa,EACrB,cAAc,EAAE,cAAc,IAAI,CAAC,CAAC,SAAS,IACzC,IAAI,EACR,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,6BAA6B,CAAC"}
@@ -1,35 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const react_1 = tslib_1.__importDefault(require("react"));
5
- const deprecated_1 = require("@patternfly/react-core/deprecated");
6
- const common_1 = require("../../../common");
7
- const constants_1 = require("./constants");
8
- const ClusterDeploymentWizardContext_1 = tslib_1.__importDefault(require("./ClusterDeploymentWizardContext"));
9
- const helpers_1 = require("./helpers");
10
- const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
11
- const wizardSteps = Object.keys(constants_1.wizardStepNames);
12
- const ClusterDeploymentWizardNavigation = () => {
13
- const { currentStepId, setCurrentStepId, clusterDeployment } = react_1.default.useContext(ClusterDeploymentWizardContext_1.default);
14
- const { t } = (0, use_translation_wrapper_1.useTranslation)();
15
- const stepNames = (0, constants_1.wizardStepNames)(t);
16
- return (react_1.default.createElement(deprecated_1.WizardNav, null,
17
- react_1.default.createElement(common_1.WizardNavItem, { key: "installation-type", content: t('ai:Installation type'), step: 0, isDisabled: true }),
18
- react_1.default.createElement(common_1.WizardNavItem, { key: "cluster-details", content: stepNames['cluster-details'], isCurrent: currentStepId === 'cluster-details',
19
- // isValid={ () => !cluster || canNextHostDiscovery({ cluster }) }
20
- isDisabled: false, step: 1, onNavItemClick: () => setCurrentStepId('cluster-details') }),
21
- react_1.default.createElement(common_1.WizardNavItem, { key: "automation", content: t('ai:Automation'), step: 2, isDisabled: true }),
22
- (0, helpers_1.isCIMFlow)(clusterDeployment) ? (react_1.default.createElement(common_1.WizardNavItem, { key: "hosts-selection", content: stepNames['hosts-selection'], isDisabled: !wizardSteps.slice(1).includes(currentStepId),
23
- // isValid={ () => !cluster || canNextHostDiscovery({ cluster }) }
24
- isCurrent: currentStepId === 'hosts-selection', step: 2, onNavItemClick: () => setCurrentStepId('hosts-selection') })) : (react_1.default.createElement(common_1.WizardNavItem, { key: "hosts-discovery", content: stepNames['hosts-discovery'], isDisabled: !wizardSteps.slice(1).includes(currentStepId),
25
- // isValid={ () => !cluster || canNextHostDiscovery({ cluster }) }
26
- isCurrent: currentStepId === 'hosts-discovery', step: 2, onNavItemClick: () => setCurrentStepId('hosts-discovery') })),
27
- react_1.default.createElement(common_1.WizardNavItem, { key: "networking", content: stepNames['networking'], isDisabled: !wizardSteps.slice(2).includes(currentStepId),
28
- // isValid={ () => !cluster || canNextHostDiscovery({ cluster }) }
29
- isCurrent: currentStepId === 'networking', step: 3, onNavItemClick: () => setCurrentStepId('networking') }),
30
- react_1.default.createElement(common_1.WizardNavItem, { key: "review", content: stepNames['review'], isDisabled: !wizardSteps.slice(3).includes(currentStepId),
31
- // isValid={ () => !cluster || canNextHostDiscovery({ cluster }) }
32
- isCurrent: currentStepId === 'review', step: 4, onNavItemClick: () => setCurrentStepId('review') })));
33
- };
34
- exports.default = ClusterDeploymentWizardNavigation;
35
- //# sourceMappingURL=ClusterDeploymentWizardNavigation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ClusterDeploymentWizardNavigation.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,kEAA8D;AAC9D,4CAAgD;AAChD,2CAA8C;AAC9C,8GAA8E;AAE9E,uCAAsC;AACtC,2FAA+E;AAE/E,MAAM,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,2BAAe,CAAuC,CAAC;AAEvF,MAAM,iCAAiC,GAElC,GAAG,EAAE;IACR,MAAM,EAAE,aAAa,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,GAAG,eAAK,CAAC,UAAU,CAC7E,wCAA8B,CAC/B,CAAC;IACF,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,SAAS,GAAG,IAAA,2BAAe,EAAC,CAAC,CAAC,CAAC;IACrC,OAAO,CACL,8BAAC,sBAAS;QACR,8BAAC,sBAAa,IACZ,GAAG,EAAC,mBAAmB,EACvB,OAAO,EAAE,CAAC,CAAC,sBAAsB,CAAC,EAClC,IAAI,EAAE,CAAC,EACP,UAAU,SACV;QACF,8BAAC,sBAAa,IACZ,GAAG,EAAC,iBAAiB,EACrB,OAAO,EAAE,SAAS,CAAC,iBAAiB,CAAC,EACrC,SAAS,EAAE,aAAa,KAAK,iBAAiB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AAY,EACzC,IAAI,EAAE,CAAC,EACP,cAAc,EAAE,GAAG,EAAE,CAAC,gBAAgB,CAAC,YAAY,CAAC,GACpD;QACF,8BAAC,sBAAa,IACZ,GAAG,EAAC,QAAQ,EACZ,OAAO,EAAE,SAAS,CAAC,QAAQ,CAAC,EAC5B,UAAU,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC;YACzD,kEAAkE;YAClE,SAAS,EAAE,aAAa,KAAK,QAAQ,EACrC,IAAI,EAAE,CAAC,EACP,cAAc,EAAE,GAAG,EAAE,CAAC,gBAAgB,CAAC,QAAQ,CAAC,GAChD,CACQ,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,iCAAiC,CAAC"}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const React = tslib_1.__importStar(require("react"));
5
- const clusterWizard_1 = require("../../../common/components/clusterWizard");
6
- const ClusterDeploymentWizardNavigation_1 = tslib_1.__importDefault(require("./ClusterDeploymentWizardNavigation"));
7
- const ClusterDeploymentWizardStep = (props) => (React.createElement(clusterWizard_1.ClusterWizardStep, Object.assign({ navigation: React.createElement(ClusterDeploymentWizardNavigation_1.default, null) }, props)));
8
- exports.default = ClusterDeploymentWizardStep;
9
- //# sourceMappingURL=ClusterDeploymentWizardStep.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ClusterDeploymentWizardStep.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,4EAA6E;AAC7E,oHAAoF;AAMpF,MAAM,2BAA2B,GAA+C,CAAC,KAAK,EAAE,EAAE,CAAC,CACzF,oBAAC,iCAAiB,kBAAC,UAAU,EAAE,oBAAC,2CAAiC,OAAG,IAAM,KAAK,EAAI,CACpF,CAAC;AAEF,kBAAe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AAE,CACzB,CAChB,CAAC;iBACH,EACD,SAAS,EAAC,YAAY,GACtB,CACM,CACA,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,wBAAwB,CAAC"}
@@ -1,4 +0,0 @@
1
- #form-input-openshiftVersion-field .pf-v5-c-dropdown__menu {
2
- max-height: 22vh;
3
- overflow: auto;
4
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"OpenShiftVersionModal.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OpenShiftVersionModal.tsx"],"names":[],"mappings":";;;;AAAA,uDAAwC;AACxC,uDAA+F;AAC/F,uCAAqC;AACrC,uGAAoG;AACpG,wFAAwF;AAExF,mCAA0C;AAQnC,MAAM,qBAAqB,GAAG,CAAC,EACpC,4BAA4B,EAC5B,aAAa,GACc,EAAE,EAAE;IAC/B,MAAM,EAAE,aAAa,EAAE,GAAG,IAAA,yBAAgB,GAAwB,CAAC;IACnE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,IAAA,sDAA2B,GAAE,CAAC;IAChE,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC,4BAA4B,CAAC,KAAK,CAAC,CAAC;IAC1D,MAAM,CAAC,qBAAqB,EAAE,wBAAwB,CAAC,GAAG,IAAA,gBAAQ,GAA8B,CAAC,CAAC,4CAA4C;IAE9I,MAAM,YAAY,GAAG,GAAG,EAAE;QACxB,IAAI,qBAAqB,EAAE;YACzB,aAAa,CAAC,uBAAuB,EAAE,qBAAqB,CAAC,CAAC;SAC/D;QACD,OAAO,EAAE,CAAC;IACZ,CAAC,CAAC;IAEF,OAAO,CACL,8BAAC,kBAAK,IACJ,KAAK,EAAC,8BAA8B,EACpC,EAAE,EAAC,oCAAoC,EACvC,MAAM,QACN,OAAO,EAAE;YACP,8BAAC,mBAAM,IAAC,GAAG,EAAC,mBAAmB,EAAC,OAAO,EAAE,0BAAa,CAAC,OAAO,EAAE,OAAO,EAAE,YAAY,aAE5E;YACT,8BAAC,mBAAM,IAAC,GAAG,EAAC,kBAAkB,EAAC,OAAO,EAAE,0BAAa,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,aAEnE;SACV,EACD,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,yBAAY,CAAC,KAAK;QAE3B,8BAAC,sBAAS,IACR,EAAE,EAAE,qCAAqC,EACzC,OAAO,EAAE,uBAAuB,EAChC,KAAK,EAAE,mBAAmB,EAC1B,UAAU;YAEV,8BAAC,qDAAyB,IACxB,QAAQ,EAAE,QAAQ,EAClB,aAAa,EAAE,aAAa,EAC5B,wBAAwB,EAAE,wBAAwB,GAClD,CACQ,CACN,CACT,CAAC;AACJ,CAAC,CAAC;AA9CW,QAAA,qBAAqB,yBA8ChC"}
@@ -1,7 +0,0 @@
1
- .ai-reboot-modal .detail-list dt {
2
- margin-top: var(--pf-v5-global--spacer--lg);
3
- }
4
-
5
- .ai-reboot-modal__item {
6
- margin-top: var(--pf-v5-global--spacer--lg);
7
- }
@@ -1,35 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RebootNodeZeroModal = 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 ClusterDetailStatusVarieties_1 = require("./ClusterDetailStatusVarieties");
8
- const common_1 = require("../../../common");
9
- require("./RebootNodeZeroModal.css");
10
- // TODO(mlibra): Following will be reimplemented based on future decisions in https://issues.redhat.com/browse/AGENT-522
11
- const RebootNodeZeroModal = ({ cluster }) => {
12
- const [rebootConfirmed, setRebootCofirmed] = react_1.default.useState(false);
13
- const clusterVarieties = (0, ClusterDetailStatusVarieties_1.useClusterStatusVarieties)(cluster);
14
- const { credentials, credentialsError, fetchCredentials } = clusterVarieties;
15
- const onReboot = () => {
16
- // console.error('onReboot handler to be implemented');
17
- // TODO(mlibra): Make HTTP Rest call to the assisted-service to restart the node, such endpoint is not yet implemented
18
- };
19
- // Do not merge, development only:
20
- // credentials = credentials || {
21
- // username: 'mock-user',
22
- // password: 'mock-password',
23
- // consoleUrl: 'https://www.google.com/search?q=mock',
24
- // };
25
- return (react_1.default.createElement(react_core_1.Modal, { title: "Reboot node?", className: "ai-reboot-modal", isOpen: true, variant: react_core_1.ModalVariant.medium, actions: [
26
- react_1.default.createElement(react_core_1.Button, { key: "reboot", onClick: onReboot, isDisabled: !rebootConfirmed }, "Reboot"),
27
- ] },
28
- react_1.default.createElement(react_core_1.TextContent, null,
29
- react_1.default.createElement(react_core_1.Text, null, "This node is about to reboot. Make sure you have downloaded the kubeconfig before you proceed to reboot.")),
30
- react_1.default.createElement(common_1.KubeconfigDownload, { status: cluster.status, clusterId: cluster.id, className: "ai-reboot-modal__item", "data-testid": "button-download-kubeconfig" }),
31
- react_1.default.createElement(common_1.ClusterCredentials, { cluster: cluster, credentials: credentials, error: !!credentialsError, retry: fetchCredentials, credentialsError: credentialsError }),
32
- react_1.default.createElement(react_core_1.Checkbox, { label: "I have downloaded the kubeconfig, saved the credentials and the node is ready to reboot", className: "ai-reboot-modal__item", isChecked: rebootConfirmed, onChange: () => setRebootCofirmed(!rebootConfirmed), id: "checkbox-confirm-reboot", name: "confirm-reboot" })));
33
- };
34
- exports.RebootNodeZeroModal = RebootNodeZeroModal;
35
- //# sourceMappingURL=RebootNodeZeroModal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RebootNodeZeroModal.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterDetail/RebootNodeZeroModal.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAkG;AAElG,iFAA2E;AAC3E,4CAAyE;AAEzE,qCAAmC;AAGnC,wHAAwH;AACjH,MAAM,mBAAmB,GAAmC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;IACjF,MAAM,CAAC,eAAe,EAAE,iBAAiB,CAAC,GAAG,eAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACnE,MAAM,gBA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
@@ -1,79 +0,0 @@
1
- import * as React from 'react';
2
- import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
3
- import { global_palette_green_500 as okColor } from '@patternfly/react-tokens/dist/js/global_palette_green_500';
4
- import {
5
- Bullseye,
6
- Button,
7
- EmptyState,
8
- EmptyStateBody,
9
- EmptyStateIcon,
10
- EmptyStateActions,
11
- Spinner,
12
- Title,
13
- } from '@patternfly/react-core';
14
- import { isInstallationReady } from './helpers';
15
- import { AgentClusterInstallK8sResource } from '../../types';
16
- import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
17
-
18
- const GreenCheckCircleIcon: React.FC = (props) => (
19
- <CheckCircleIcon {...props} color={okColor.value} />
20
- );
21
-
22
- type ClusterDeploymentCreateProgressProps = {
23
- agentClusterInstall: AgentClusterInstallK8sResource;
24
- toDetails: VoidFunction;
25
- toListView: VoidFunction;
26
- };
27
-
28
- const ClusterDeploymentCreateProgress: React.FC<ClusterDeploymentCreateProgressProps> = ({
29
- agentClusterInstall,
30
- toDetails,
31
- toListView,
32
- }) => {
33
- const { t } = useTranslation();
34
- return (
35
- <Bullseye>
36
- <EmptyState>
37
- {isInstallationReady(agentClusterInstall) ? (
38
- <>
39
- <EmptyStateIcon icon={GreenCheckCircleIcon} />
40
- <Title headingLevel="h4" size="lg">
41
- {t('ai:Cluster is ready for installation')}
42
- </Title>
43
- <EmptyStateBody>
44
- <div>{t('ai:This cluster has been created and is ready to begin installation.')}</div>
45
- <div>{t('ai:To see the status of the installation see the details page.')}</div>
46
- </EmptyStateBody>
47
- </>
48
- ) : (
49
- <>
50
- <EmptyStateIcon icon={Spinner} />
51
- <Title headingLevel="h4" size="lg">
52
- {t('ai:Preparing cluster installation')}
53
- </Title>
54
- <EmptyStateBody>
55
- <div>
56
- {t('ai:This cluster is in the process of getting ready to start installation.')}
57
- </div>
58
- <div>
59
- {t(
60
- 'ai:If you exit this flow you can see its status in the list view or details page.',
61
- )}
62
- </div>
63
- </EmptyStateBody>
64
- </>
65
- )}
66
- <EmptyStateActions>
67
- <Button variant="primary" onClick={toDetails}>
68
- {t('ai:See cluster details')}
69
- </Button>
70
- <Button variant="link" onClick={toListView}>
71
- {t('ai:Go to cluster list')}
72
- </Button>
73
- </EmptyStateActions>
74
- </EmptyState>
75
- </Bullseye>
76
- );
77
- };
78
-
79
- export default ClusterDeploymentCreateProgress;