@openshift-assisted/ui-lib 2.9.5-cim → 2.9.6-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 (356) hide show
  1. package/build/@types/cim/components/ClusterDeployment/types.d.ts +2 -3
  2. package/build/@types/cim/components/ClusterDeployment/types.d.ts.map +1 -1
  3. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
  4. package/build/@types/cim/components/InfraEnv/AddHostDropdown.d.ts +1 -1
  5. package/build/@types/cim/components/InfraEnv/AddHostDropdown.d.ts.map +1 -1
  6. package/build/@types/cim/components/InfraEnv/types.d.ts +3 -1
  7. package/build/@types/cim/components/InfraEnv/types.d.ts.map +1 -1
  8. package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
  9. package/build/@types/cim/components/modals/AddBmcHostModal.d.ts.map +1 -1
  10. package/build/@types/cim/components/modals/AddBmcHostYamlModal.d.ts.map +1 -1
  11. package/build/@types/cim/components/modals/ProvisioningConfigErrorAlert.d.ts +5 -0
  12. package/build/@types/cim/components/modals/ProvisioningConfigErrorAlert.d.ts.map +1 -0
  13. package/build/@types/cim/components/modals/types.d.ts +2 -0
  14. package/build/@types/cim/components/modals/types.d.ts.map +1 -1
  15. package/build/@types/common/api/axiosClient.d.ts.map +1 -1
  16. package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
  17. package/build/@types/common/components/clusterWizard/types.d.ts +1 -0
  18. package/build/@types/common/components/clusterWizard/types.d.ts.map +1 -1
  19. package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts +4 -0
  20. package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts.map +1 -1
  21. package/build/@types/common/components/ui/formik/SingleNodeCheckbox.d.ts.map +1 -1
  22. package/build/@types/common/components/ui/formik/validationSchemas.d.ts +0 -1
  23. package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +1 -1
  24. package/build/@types/common/config/constants.d.ts.map +1 -1
  25. package/build/@types/common/features/featureGate.d.ts +1 -2
  26. package/build/@types/common/features/featureGate.d.ts.map +1 -1
  27. package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.d.ts.map +1 -1
  28. package/build/@types/ocm/components/Routes.d.ts +6 -0
  29. package/build/@types/ocm/components/Routes.d.ts.map +1 -0
  30. package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageForm.d.ts.map +1 -1
  31. package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts.map +1 -1
  32. package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
  33. package/build/@types/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.d.ts.map +1 -1
  34. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.d.ts.map +1 -1
  35. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
  36. package/build/@types/ocm/components/clusterConfiguration/operators/CnvHostRequirements.d.ts.map +1 -1
  37. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts +13 -4
  38. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts.map +1 -1
  39. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.d.ts.map +1 -1
  40. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/constants.d.ts +3 -0
  41. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/constants.d.ts.map +1 -1
  42. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.d.ts.map +1 -1
  43. package/build/@types/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts.map +1 -1
  44. package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
  45. package/build/@types/ocm/components/clusterWizard/CustomManifestStep.d.ts.map +1 -1
  46. package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
  47. package/build/@types/ocm/components/clusterWizard/StaticIp.d.ts.map +1 -1
  48. package/build/@types/ocm/components/clusters/AssistedInstallerHeader.d.ts +2 -0
  49. package/build/@types/ocm/components/clusters/AssistedInstallerHeader.d.ts.map +1 -0
  50. package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
  51. package/build/@types/ocm/components/clusters/Clusters.d.ts.map +1 -1
  52. package/build/@types/ocm/components/clusters/ClustersTable.d.ts.map +1 -1
  53. package/build/@types/ocm/components/clusters/NewClusterPage.d.ts.map +1 -1
  54. package/build/@types/ocm/components/clusters/clusterPolling.d.ts +1 -1
  55. package/build/@types/ocm/components/clusters/clusterPolling.d.ts.map +1 -1
  56. package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
  57. package/build/@types/ocm/components/hosts/use-hosts-table.d.ts.map +1 -1
  58. package/build/@types/ocm/components/index.d.ts +1 -1
  59. package/build/@types/ocm/index.d.ts +0 -1
  60. package/build/@types/ocm/index.d.ts.map +1 -1
  61. package/build/@types/ocm/store/hooks.d.ts +5 -1
  62. package/build/@types/ocm/store/hooks.d.ts.map +1 -1
  63. package/build/@types/ocm/store/index.d.ts +5 -36
  64. package/build/@types/ocm/store/index.d.ts.map +1 -1
  65. package/build/@types/ocm/{selectors/clusters.d.ts → store/slices/clusters/selectors.d.ts} +15 -11
  66. package/build/@types/ocm/store/slices/clusters/selectors.d.ts.map +1 -0
  67. package/build/@types/ocm/{reducers/clusters/clustersSlice.d.ts → store/slices/clusters/slice.d.ts} +4 -4
  68. package/build/@types/ocm/store/slices/clusters/slice.d.ts.map +1 -0
  69. package/build/@types/ocm/store/slices/current-cluster/selectors.d.ts +14 -0
  70. package/build/@types/ocm/store/slices/current-cluster/selectors.d.ts.map +1 -0
  71. package/build/@types/ocm/{reducers/clusters/currentClusterSlice.d.ts → store/slices/current-cluster/slice.d.ts} +5 -5
  72. package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -0
  73. package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts +9 -0
  74. package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts.map +1 -0
  75. package/build/@types/ocm/store/slices/feature-flags/slice.d.ts +7 -0
  76. package/build/@types/ocm/store/slices/feature-flags/slice.d.ts.map +1 -0
  77. package/build/@types/ocm/store/slices/{infraEnvs → infra-envs}/selectors.d.ts +4 -3
  78. package/build/@types/ocm/store/slices/infra-envs/selectors.d.ts.map +1 -0
  79. package/build/@types/ocm/store/slices/infra-envs/slice.d.ts.map +1 -0
  80. package/build/@types/ocm/store/slices/infra-envs/thunks.d.ts.map +1 -0
  81. package/build/@types/ocm/store/store-day1.d.ts +32 -0
  82. package/build/@types/ocm/store/store-day1.d.ts.map +1 -0
  83. package/build/@types/ocm/store/store-day2.d.ts +10 -0
  84. package/build/@types/ocm/store/store-day2.d.ts.map +1 -0
  85. package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js +9 -0
  86. package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js.map +1 -1
  87. package/build/cjs/cim/components/InfraEnv/AddHostDropdown.js +23 -10
  88. package/build/cjs/cim/components/InfraEnv/AddHostDropdown.js.map +1 -1
  89. package/build/cjs/cim/components/helpers/toAssisted.js +2 -1
  90. package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
  91. package/build/cjs/cim/components/modals/AddBmcHostModal.js +3 -1
  92. package/build/cjs/cim/components/modals/AddBmcHostModal.js.map +1 -1
  93. package/build/cjs/cim/components/modals/AddBmcHostYamlModal.js +3 -1
  94. package/build/cjs/cim/components/modals/AddBmcHostYamlModal.js.map +1 -1
  95. package/build/cjs/cim/components/modals/ProvisioningConfigErrorAlert.js +16 -0
  96. package/build/cjs/cim/components/modals/ProvisioningConfigErrorAlert.js.map +1 -0
  97. package/build/cjs/common/api/axiosClient.js +2 -4
  98. package/build/cjs/common/api/axiosClient.js.map +1 -1
  99. package/build/cjs/common/components/clusterWizard/ReviewValidations.js +11 -3
  100. package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
  101. package/build/cjs/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.js +2 -2
  102. package/build/cjs/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.js.map +1 -1
  103. package/build/cjs/common/components/clusterWizard/validationsInfoUtils.js.map +1 -1
  104. package/build/cjs/common/components/ui/formik/SingleNodeCheckbox.js +1 -3
  105. package/build/cjs/common/components/ui/formik/SingleNodeCheckbox.js.map +1 -1
  106. package/build/cjs/common/components/ui/formik/validationSchemas.js +8 -16
  107. package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
  108. package/build/cjs/common/config/constants.js +1 -3
  109. package/build/cjs/common/config/constants.js.map +1 -1
  110. package/build/cjs/common/features/featureGate.js +1 -11
  111. package/build/cjs/common/features/featureGate.js.map +1 -1
  112. package/build/cjs/common/utils.js +1 -1
  113. package/build/cjs/common/utils.js.map +1 -1
  114. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.js +9 -5
  115. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.js.map +1 -1
  116. package/build/cjs/ocm/components/Routes.js +29 -0
  117. package/build/cjs/ocm/components/Routes.js.map +1 -0
  118. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageForm.js +4 -4
  119. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageForm.js.map +1 -1
  120. package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js +1 -1
  121. package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js.map +1 -1
  122. package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js +0 -1
  123. package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js.map +1 -1
  124. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +2 -4
  125. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
  126. package/build/cjs/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.js +1 -2
  127. package/build/cjs/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.js.map +1 -1
  128. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js +1 -1
  129. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js.map +1 -1
  130. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.js +1 -1
  131. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.js.map +1 -1
  132. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.js +1 -1
  133. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.js.map +1 -1
  134. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +1 -1
  135. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
  136. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +4 -4
  137. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
  138. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.js +1 -1
  139. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.js.map +1 -1
  140. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.js +1 -1
  141. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.js.map +1 -1
  142. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvHostRequirements.js +1 -1
  143. package/build/cjs/ocm/components/clusterConfiguration/operators/CnvHostRequirements.js.map +1 -1
  144. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +61 -17
  145. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
  146. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js +2 -2
  147. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js.map +1 -1
  148. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/constants.js +8 -1
  149. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/constants.js.map +1 -1
  150. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js +3 -3
  151. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js.map +1 -1
  152. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js +1 -1
  153. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
  154. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js +1 -1
  155. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js.map +1 -1
  156. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.js +1 -1
  157. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.js.map +1 -1
  158. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js +4 -4
  159. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js.map +1 -1
  160. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js +2 -2
  161. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js.map +1 -1
  162. package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js +2 -2
  163. package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js.map +1 -1
  164. package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js +2 -2
  165. package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js.map +1 -1
  166. package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js +2 -2
  167. package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
  168. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +4 -4
  169. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
  170. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +4 -2
  171. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
  172. package/build/cjs/ocm/components/clusterWizard/CustomManifestStep.js +1 -1
  173. package/build/cjs/ocm/components/clusterWizard/CustomManifestStep.js.map +1 -1
  174. package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js +4 -4
  175. package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js.map +1 -1
  176. package/build/cjs/ocm/components/clusterWizard/Operators.js +3 -3
  177. package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
  178. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +4 -9
  179. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
  180. package/build/cjs/ocm/components/clusterWizard/StaticIp.js +1 -1
  181. package/build/cjs/ocm/components/clusterWizard/StaticIp.js.map +1 -1
  182. package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js +18 -0
  183. package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js.map +1 -0
  184. package/build/cjs/ocm/components/clusters/ClusterPage.js +4 -9
  185. package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
  186. package/build/cjs/ocm/components/clusters/Clusters.js +8 -8
  187. package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
  188. package/build/cjs/ocm/components/clusters/ClustersListToolbar.js +6 -6
  189. package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
  190. package/build/cjs/ocm/components/clusters/ClustersTable.js +2 -2
  191. package/build/cjs/ocm/components/clusters/ClustersTable.js.map +1 -1
  192. package/build/cjs/ocm/components/clusters/NewClusterPage.js +2 -2
  193. package/build/cjs/ocm/components/clusters/NewClusterPage.js.map +1 -1
  194. package/build/cjs/ocm/components/clusters/clusterPolling.js +11 -11
  195. package/build/cjs/ocm/components/clusters/clusterPolling.js.map +1 -1
  196. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +20 -8
  197. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
  198. package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js +1 -1
  199. package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js.map +1 -1
  200. package/build/cjs/ocm/components/hosts/use-hosts-table.js +20 -20
  201. package/build/cjs/ocm/components/hosts/use-hosts-table.js.map +1 -1
  202. package/build/cjs/ocm/components/hosts/utils.js +2 -2
  203. package/build/cjs/ocm/components/hosts/utils.js.map +1 -1
  204. package/build/cjs/ocm/components/index.js +1 -1
  205. package/build/cjs/ocm/components/ui/OcmFormFields.js +1 -1
  206. package/build/cjs/ocm/components/ui/OcmFormFields.js.map +1 -1
  207. package/build/cjs/ocm/hooks/useSetClusterPermissions.js +2 -2
  208. package/build/cjs/ocm/hooks/useSetClusterPermissions.js.map +1 -1
  209. package/build/cjs/ocm/index.js +1 -2
  210. package/build/cjs/ocm/index.js.map +1 -1
  211. package/build/cjs/ocm/store/hooks.js +3 -1
  212. package/build/cjs/ocm/store/hooks.js.map +1 -1
  213. package/build/cjs/ocm/store/index.js +10 -19
  214. package/build/cjs/ocm/store/index.js.map +1 -1
  215. package/build/cjs/ocm/{selectors/clusters.js → store/slices/clusters/selectors.js} +4 -4
  216. package/build/cjs/ocm/store/slices/clusters/selectors.js.map +1 -0
  217. package/build/cjs/ocm/{reducers/clusters/clustersSlice.js → store/slices/clusters/slice.js} +8 -7
  218. package/build/cjs/ocm/store/slices/clusters/slice.js.map +1 -0
  219. package/build/cjs/ocm/{selectors/currentCluster.js → store/slices/current-cluster/selectors.js} +1 -1
  220. package/build/cjs/ocm/store/slices/current-cluster/selectors.js.map +1 -0
  221. package/build/cjs/ocm/{reducers/clusters/currentClusterSlice.js → store/slices/current-cluster/slice.js} +12 -13
  222. package/build/cjs/ocm/store/slices/current-cluster/slice.js.map +1 -0
  223. package/build/cjs/ocm/store/slices/feature-flags/selectors.js +11 -0
  224. package/build/cjs/ocm/store/slices/feature-flags/selectors.js.map +1 -0
  225. package/build/cjs/ocm/store/slices/feature-flags/slice.js +16 -0
  226. package/build/cjs/ocm/store/slices/feature-flags/slice.js.map +1 -0
  227. package/build/cjs/ocm/store/slices/infra-envs/selectors.js.map +1 -0
  228. package/build/cjs/ocm/store/slices/infra-envs/slice.js.map +1 -0
  229. package/build/cjs/ocm/store/slices/infra-envs/thunks.js.map +1 -0
  230. package/build/cjs/ocm/store/store-day1.js +24 -0
  231. package/build/cjs/ocm/store/store-day1.js.map +1 -0
  232. package/build/cjs/ocm/store/store-day2.js +20 -0
  233. package/build/cjs/ocm/store/store-day2.js.map +1 -0
  234. package/lib/cim/components/ClusterDeployment/types.ts +2 -3
  235. package/lib/cim/components/ClusterDeployment/wizardTransition.ts +10 -0
  236. package/lib/cim/components/InfraEnv/AddHostDropdown.tsx +45 -18
  237. package/lib/cim/components/InfraEnv/types.ts +4 -1
  238. package/lib/cim/components/helpers/toAssisted.ts +3 -0
  239. package/lib/cim/components/modals/AddBmcHostModal.tsx +3 -0
  240. package/lib/cim/components/modals/AddBmcHostYamlModal.tsx +3 -0
  241. package/lib/cim/components/modals/ProvisioningConfigErrorAlert.tsx +18 -0
  242. package/lib/cim/components/modals/types.ts +2 -0
  243. package/lib/common/api/axiosClient.ts +2 -3
  244. package/lib/common/components/clusterWizard/ReviewValidations.tsx +12 -1
  245. package/lib/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.tsx +2 -2
  246. package/lib/common/components/clusterWizard/types.ts +1 -0
  247. package/lib/common/components/clusterWizard/validationsInfoUtils.ts +9 -0
  248. package/lib/common/components/ui/formik/SingleNodeCheckbox.tsx +1 -3
  249. package/lib/common/components/ui/formik/validationSchemas.test.ts +4 -22
  250. package/lib/common/components/ui/formik/validationSchemas.ts +13 -22
  251. package/lib/common/config/constants.ts +1 -3
  252. package/lib/common/features/featureGate.tsx +1 -19
  253. package/lib/common/utils.ts +2 -2
  254. package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.tsx +16 -11
  255. package/lib/ocm/components/Routes.tsx +34 -0
  256. package/lib/ocm/components/clusterConfiguration/DiscoveryImageForm.tsx +5 -1
  257. package/lib/ocm/components/clusterConfiguration/HostInventory.tsx +1 -1
  258. package/lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx +0 -2
  259. package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +6 -10
  260. package/lib/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.tsx +2 -3
  261. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.tsx +1 -1
  262. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.tsx +1 -1
  263. package/lib/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.tsx +1 -1
  264. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +1 -1
  265. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +5 -2
  266. package/lib/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.tsx +1 -1
  267. package/lib/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.tsx +1 -1
  268. package/lib/ocm/components/clusterConfiguration/operators/CnvHostRequirements.tsx +1 -1
  269. package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +134 -35
  270. package/lib/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.tsx +10 -8
  271. package/lib/ocm/components/clusterConfiguration/platformIntegration/constants.tsx +8 -0
  272. package/lib/ocm/components/clusterConfiguration/review/ReviewStep.tsx +2 -2
  273. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +1 -1
  274. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.tsx +3 -3
  275. package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.tsx +1 -1
  276. package/lib/ocm/components/clusterDetail/AssistedInstallerDetailCard.tsx +6 -4
  277. package/lib/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.tsx +3 -3
  278. package/lib/ocm/components/clusterDetail/CancelInstallationModal.tsx +1 -1
  279. package/lib/ocm/components/clusterDetail/ClusterDetail.tsx +1 -1
  280. package/lib/ocm/components/clusterDetail/ResetClusterModal.tsx +1 -1
  281. package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +1 -1
  282. package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +5 -3
  283. package/lib/ocm/components/clusterWizard/CustomManifestStep.tsx +1 -1
  284. package/lib/ocm/components/clusterWizard/HostDiscovery.tsx +2 -2
  285. package/lib/ocm/components/clusterWizard/Operators.tsx +1 -1
  286. package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +6 -19
  287. package/lib/ocm/components/clusterWizard/StaticIp.tsx +1 -1
  288. package/lib/ocm/components/clusters/AssistedInstallerHeader.tsx +25 -0
  289. package/lib/ocm/components/clusters/ClusterPage.tsx +4 -28
  290. package/lib/ocm/components/clusters/Clusters.tsx +9 -11
  291. package/lib/ocm/components/clusters/ClustersListToolbar.tsx +5 -5
  292. package/lib/ocm/components/clusters/ClustersTable.tsx +4 -1
  293. package/lib/ocm/components/clusters/NewClusterPage.tsx +3 -6
  294. package/lib/ocm/components/clusters/clusterPolling.ts +7 -7
  295. package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +21 -7
  296. package/lib/ocm/components/hosts/HostsDiscoveryTable.tsx +1 -1
  297. package/lib/ocm/components/hosts/use-hosts-table.tsx +5 -2
  298. package/lib/ocm/components/hosts/utils.ts +1 -1
  299. package/lib/ocm/components/index.ts +1 -1
  300. package/lib/ocm/components/ui/OcmFormFields.tsx +1 -1
  301. package/lib/ocm/hooks/useSetClusterPermissions.ts +1 -1
  302. package/lib/ocm/index.ts +0 -1
  303. package/lib/ocm/store/hooks.ts +6 -2
  304. package/lib/ocm/store/index.ts +5 -23
  305. package/lib/ocm/{selectors/clusters.tsx → store/slices/clusters/selectors.tsx} +10 -12
  306. package/lib/ocm/{reducers/clusters/clustersSlice.ts → store/slices/clusters/slice.ts} +6 -5
  307. package/lib/ocm/{selectors/currentCluster.ts → store/slices/current-cluster/selectors.ts} +7 -7
  308. package/lib/ocm/{reducers/clusters/currentClusterSlice.ts → store/slices/current-cluster/slice.ts} +10 -8
  309. package/lib/ocm/store/slices/feature-flags/selectors.ts +13 -0
  310. package/lib/ocm/store/slices/feature-flags/slice.ts +15 -0
  311. package/lib/ocm/store/slices/{infraEnvs → infra-envs}/selectors.ts +3 -3
  312. package/lib/ocm/store/slices/{infraEnvs → infra-envs}/thunks.ts +3 -3
  313. package/lib/ocm/store/store-day1.ts +23 -0
  314. package/lib/ocm/store/store-day2.ts +19 -0
  315. package/package.json +3 -3
  316. package/build/@types/ocm/components/Router.d.ts +0 -9
  317. package/build/@types/ocm/components/Router.d.ts.map +0 -1
  318. package/build/@types/ocm/hooks/useOracleDropdownItemState.d.ts +0 -10
  319. package/build/@types/ocm/hooks/useOracleDropdownItemState.d.ts.map +0 -1
  320. package/build/@types/ocm/reducers/clusters/clustersSlice.d.ts.map +0 -1
  321. package/build/@types/ocm/reducers/clusters/currentClusterSlice.d.ts.map +0 -1
  322. package/build/@types/ocm/reducers/clusters/index.d.ts +0 -3
  323. package/build/@types/ocm/reducers/clusters/index.d.ts.map +0 -1
  324. package/build/@types/ocm/selectors/clusters.d.ts.map +0 -1
  325. package/build/@types/ocm/selectors/currentCluster.d.ts +0 -14
  326. package/build/@types/ocm/selectors/currentCluster.d.ts.map +0 -1
  327. package/build/@types/ocm/selectors/index.d.ts +0 -3
  328. package/build/@types/ocm/selectors/index.d.ts.map +0 -1
  329. package/build/@types/ocm/store/slices/infraEnvs/selectors.d.ts.map +0 -1
  330. package/build/@types/ocm/store/slices/infraEnvs/slice.d.ts.map +0 -1
  331. package/build/@types/ocm/store/slices/infraEnvs/thunks.d.ts.map +0 -1
  332. package/build/cjs/ocm/components/Router.js +0 -25
  333. package/build/cjs/ocm/components/Router.js.map +0 -1
  334. package/build/cjs/ocm/hooks/useOracleDropdownItemState.js +0 -30
  335. package/build/cjs/ocm/hooks/useOracleDropdownItemState.js.map +0 -1
  336. package/build/cjs/ocm/reducers/clusters/clustersSlice.js.map +0 -1
  337. package/build/cjs/ocm/reducers/clusters/currentClusterSlice.js.map +0 -1
  338. package/build/cjs/ocm/reducers/clusters/index.js +0 -6
  339. package/build/cjs/ocm/reducers/clusters/index.js.map +0 -1
  340. package/build/cjs/ocm/selectors/clusters.js.map +0 -1
  341. package/build/cjs/ocm/selectors/currentCluster.js.map +0 -1
  342. package/build/cjs/ocm/selectors/index.js +0 -6
  343. package/build/cjs/ocm/selectors/index.js.map +0 -1
  344. package/build/cjs/ocm/store/slices/infraEnvs/selectors.js.map +0 -1
  345. package/build/cjs/ocm/store/slices/infraEnvs/slice.js.map +0 -1
  346. package/build/cjs/ocm/store/slices/infraEnvs/thunks.js.map +0 -1
  347. package/lib/ocm/components/Router.tsx +0 -29
  348. package/lib/ocm/hooks/useOracleDropdownItemState.ts +0 -45
  349. package/lib/ocm/reducers/clusters/index.ts +0 -2
  350. package/lib/ocm/selectors/index.ts +0 -2
  351. /package/build/@types/ocm/store/slices/{infraEnvs → infra-envs}/slice.d.ts +0 -0
  352. /package/build/@types/ocm/store/slices/{infraEnvs → infra-envs}/thunks.d.ts +0 -0
  353. /package/build/cjs/ocm/store/slices/{infraEnvs → infra-envs}/selectors.js +0 -0
  354. /package/build/cjs/ocm/store/slices/{infraEnvs → infra-envs}/slice.js +0 -0
  355. /package/build/cjs/ocm/store/slices/{infraEnvs → infra-envs}/thunks.js +0 -0
  356. /package/lib/ocm/store/slices/{infraEnvs → infra-envs}/slice.ts +0 -0
@@ -1,7 +1,7 @@
1
1
  import { useDispatch } from 'react-redux';
2
2
  import { AssistedInstallerOCMPermissionTypesListType } from '../../common';
3
3
  import { ExtendedCluster, getBasePermissions, ocmPermissionsToAIPermissions } from '../config';
4
- import { updateClusterPermissions } from '../reducers/clusters';
4
+ import { updateClusterPermissions } from '../store/slices/current-cluster/slice';
5
5
  import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
6
6
 
7
7
  export default function useSetClusterPermissions() {
package/lib/ocm/index.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  export * as Api from './api';
2
2
  export * as Store from './store';
3
- export * as Selectors from './selectors';
4
3
  export * as Config from './config';
5
4
  export * as Services from './services';
6
5
 
@@ -1,5 +1,9 @@
1
- import type { DispatchDay1, DispatchDay2 } from './index';
2
- import { useDispatch } from 'react-redux';
1
+ import { useDispatch, useSelector } from 'react-redux';
2
+ import type { TypedUseSelectorHook } from 'react-redux';
3
+ import type { DispatchDay1, RootStateDay1 } from './store-day1';
4
+ import type { DispatchDay2, RootStateDay2 } from './store-day2';
3
5
 
4
6
  export const useDispatchDay1: () => DispatchDay1 = useDispatch;
7
+ export const useSelectorDay1: TypedUseSelectorHook<RootStateDay1> = useSelector;
5
8
  export const useDispatchDay2: () => DispatchDay2 = useDispatch;
9
+ export const useSelectorDay2: TypedUseSelectorHook<RootStateDay2> = useSelector;
@@ -1,23 +1,5 @@
1
- import { configureStore } from '@reduxjs/toolkit';
2
- import clustersReducer from '../reducers/clusters/clustersSlice';
3
- import currentClusterReducer from '../reducers/clusters/currentClusterSlice';
4
- import { infraEnvsReducer } from './slices/infraEnvs/slice';
5
-
6
- export const store = configureStore({
7
- reducer: {
8
- clusters: clustersReducer,
9
- currentCluster: currentClusterReducer,
10
- infraEnvs: infraEnvsReducer,
11
- },
12
- preloadedState: {},
13
- });
14
- export type RootState = ReturnType<typeof store.getState>;
15
- export type DispatchDay1 = (typeof store)['dispatch'];
16
-
17
- export const storeDay2 = configureStore({
18
- reducer: {
19
- infraEnvs: infraEnvsReducer,
20
- },
21
- });
22
- export type RootStateDay2 = ReturnType<typeof storeDay2.getState>;
23
- export type DispatchDay2 = (typeof storeDay2)['dispatch'];
1
+ export { storeDay1 } from './store-day1';
2
+ export { storeDay2 } from './store-day2';
3
+ export type { RootStateDay1, DispatchDay1 } from './store-day1';
4
+ export type { RootStateDay2, DispatchDay2 } from './store-day2';
5
+ export { useSelectorDay1, useSelectorDay2, useDispatchDay1, useDispatchDay2 } from './hooks';
@@ -1,27 +1,25 @@
1
1
  import React from 'react';
2
2
  import { createSelector } from '@reduxjs/toolkit';
3
- import { IRow, IRowData } from '@patternfly/react-table';
3
+ import type { IRow, IRowData } from '@patternfly/react-table';
4
4
  import { Link } from 'react-router-dom';
5
- import { TFunction } from 'i18next';
6
-
5
+ import type { TFunction } from 'i18next';
7
6
  import {
8
7
  DASH,
9
8
  getDateTimeCell,
10
9
  getEnabledHostCount,
11
10
  getOpenshiftVersionText,
12
11
  getTotalHostCount,
13
- ClusterTableRows,
14
12
  HostsCount,
15
- HumanizedSortable,
16
13
  ResourceUIState,
17
- } from '../../common';
18
- import ClusterStatus, { getClusterStatusText } from '../components/clusters/ClusterStatus';
19
- import { routeBasePath } from '../config';
20
- import { RootState } from '../store';
21
- import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
14
+ } from '../../../../common';
15
+ import type { ClusterTableRows, HumanizedSortable } from '../../../../common';
16
+ import ClusterStatus, { getClusterStatusText } from '../../../components/clusters/ClusterStatus';
17
+ import { routeBasePath } from '../../../config';
18
+ import { RootStateDay1 } from '../../store-day1';
19
+ import type { Cluster } from '@openshift-assisted/types/assisted-installer-service';
22
20
 
23
- const selectClusters = (state: RootState) => state.clusters.data;
24
- const clustersUIState = (state: RootState) => state.clusters.uiState;
21
+ const selectClusters = (state: RootStateDay1) => state.clusters.data;
22
+ const clustersUIState = (state: RootStateDay1) => state.clusters.uiState;
25
23
 
26
24
  export const selectClustersUIState = createSelector(
27
25
  [selectClusters, clustersUIState],
@@ -6,9 +6,9 @@ import {
6
6
  AnyAction,
7
7
  Dispatch,
8
8
  } from '@reduxjs/toolkit';
9
- import { ResourceUIState } from '../../../common';
10
- import { ClustersAPI } from '../../services/apis';
11
- import { handleApiError, isInOcm } from '../../api';
9
+ import { ResourceUIState } from '../../../../common';
10
+ import { ClustersAPI } from '../../../services/apis';
11
+ import { handleApiError, isInOcm } from '../../../api';
12
12
  import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
13
13
 
14
14
  export const fetchClustersAsync = createAsyncThunk<Cluster[] | void>(
@@ -60,5 +60,6 @@ export const clustersSlice = createSlice({
60
60
  },
61
61
  });
62
62
 
63
- export const { deleteCluster } = clustersSlice.actions;
64
- export default clustersSlice.reducer;
63
+ const { actions, reducer } = clustersSlice;
64
+ export const { deleteCluster } = actions;
65
+ export const clustersReducer = reducer;
@@ -1,13 +1,13 @@
1
- import { AssistedInstallerPermissionTypesListType } from '../../common';
2
- import { RootState } from '../store';
1
+ import { AssistedInstallerPermissionTypesListType } from '../../../../common';
2
+ import { RootStateDay1 } from '../../store-day1';
3
3
 
4
- export const selectCurrentClusterState = (state: RootState) => state.currentCluster;
5
- export const selectCurrentCluster = (state: RootState) => state.currentCluster.data;
6
- export const selectCurrentClusterUIState = (state: RootState) => state.currentCluster.uiState;
7
- export const selectIsCurrentClusterSNO = (state: RootState) =>
4
+ export const selectCurrentClusterState = (state: RootStateDay1) => state.currentCluster;
5
+ export const selectCurrentCluster = (state: RootStateDay1) => state.currentCluster.data;
6
+ export const selectCurrentClusterUIState = (state: RootStateDay1) => state.currentCluster.uiState;
7
+ export const selectIsCurrentClusterSNO = (state: RootStateDay1) =>
8
8
  state.currentCluster.data?.highAvailabilityMode === 'None';
9
9
  export const selectCurrentClusterPermissionsState = (
10
- state: RootState,
10
+ state: RootStateDay1,
11
11
  ): AssistedInstallerPermissionTypesListType => {
12
12
  if (state.currentCluster) {
13
13
  return state.currentCluster.permissions;
@@ -9,15 +9,16 @@ import {
9
9
  PayloadAction,
10
10
  ThunkDispatch,
11
11
  } from '@reduxjs/toolkit';
12
- import { AssistedInstallerPermissionTypesListType, ResourceUIState } from '../../../common';
12
+ import { Cluster, Host } from '@openshift-assisted/types/assisted-installer-service';
13
13
  import {
14
- getApiErrorMessage,
14
+ AssistedInstallerPermissionTypesListType,
15
+ FETCH_ABORTED_ERROR_CODE,
15
16
  getApiErrorCode,
17
+ getApiErrorMessage,
16
18
  handleApiError,
17
- FETCH_ABORTED_ERROR_CODE,
18
- } from '../../api';
19
- import { ClustersService } from '../../services';
20
- import { Cluster, Host } from '@openshift-assisted/types/assisted-installer-service';
19
+ ResourceUIState,
20
+ } from '../../../../common';
21
+ import ClustersService from '../../../services/ClustersService';
21
22
 
22
23
  export type FetchErrorType = {
23
24
  code: string | number;
@@ -140,6 +141,7 @@ export const currentClusterSlice = createSlice({
140
141
  },
141
142
  });
142
143
 
144
+ const { actions, reducer } = currentClusterSlice;
143
145
  export const {
144
146
  updateCluster,
145
147
  updateClusterBase,
@@ -149,5 +151,5 @@ export const {
149
151
  forceReload,
150
152
  cancelForceReload,
151
153
  updateClusterPermissions,
152
- } = currentClusterSlice.actions;
153
- export default currentClusterSlice.reducer;
154
+ } = actions;
155
+ export const currentClusterReducer = reducer;
@@ -0,0 +1,13 @@
1
+ import { createSelector } from '@reduxjs/toolkit';
2
+ import { AssistedInstallerFeatureType } from '../../../../common';
3
+ import { RootStateDay1 } from '../../store-day1';
4
+
5
+ export const selectFeatureFlagsSlice = (state: RootStateDay1) => state.featureFlags;
6
+
7
+ export const isFeatureEnabled = createSelector(
8
+ [selectFeatureFlagsSlice, (_, feature: AssistedInstallerFeatureType) => feature],
9
+ (featureFlags, feature) => {
10
+ // Configured via Unleash in the OCM
11
+ return !!featureFlags[feature];
12
+ },
13
+ );
@@ -0,0 +1,15 @@
1
+ import { createSlice, PayloadAction } from '@reduxjs/toolkit';
2
+ import { FeatureListType } from '../../../../common';
3
+
4
+ const featureFlagsSlice = createSlice({
5
+ name: 'featureFlags',
6
+ initialState: {} as FeatureListType,
7
+ reducers: {
8
+ setFeatureFlags: (state, action: PayloadAction<FeatureListType>) => {
9
+ return Object.assign(state, action.payload);
10
+ },
11
+ },
12
+ });
13
+
14
+ export const featureFlagsActions = featureFlagsSlice.actions;
15
+ export const featureFlagsReducer = featureFlagsSlice.reducer;
@@ -1,10 +1,10 @@
1
1
  import { createSelector } from '@reduxjs/toolkit';
2
- import type { RootState } from '../../index';
2
+ import type { RootStateDay1 } from '../../store-day1';
3
3
  import type { CpuArchitecture } from '../../../../common';
4
4
 
5
- export const selectInfraEnvsSlice = (state: RootState) => state.infraEnvs;
5
+ export const selectInfraEnvsSlice = (state: RootStateDay1) => state.infraEnvs;
6
6
  export const selectInfraEnvByCpuArchitecture = createSelector(
7
- [selectInfraEnvsSlice, (_: RootState, cpuArchitecture: CpuArchitecture) => cpuArchitecture],
7
+ [selectInfraEnvsSlice, (_: RootStateDay1, cpuArchitecture: CpuArchitecture) => cpuArchitecture],
8
8
  (infraEnvs, cpuArchitecture) =>
9
9
  infraEnvs.find((infraEnv) => infraEnv.cpuArchitecture === cpuArchitecture),
10
10
  );
@@ -1,7 +1,7 @@
1
1
  import { createAsyncThunk } from '@reduxjs/toolkit';
2
2
  import { CpuArchitecture, WithRequired } from '../../../../common';
3
3
  import { InfraEnvsAPI } from '../../../services/apis';
4
- import { RootState } from '../../index';
4
+ import { RootStateDay1 } from '../../store-day1';
5
5
  import { selectInfraEnvByCpuArchitecture } from './selectors';
6
6
  import {
7
7
  Cluster,
@@ -28,7 +28,7 @@ export const createInfraEnv = createAsyncThunk(
28
28
  );
29
29
 
30
30
  export const removeAllInfraEnvs = createAsyncThunk('infraEnvs/removeAll', async (_, thunkAPI) => {
31
- const state = thunkAPI.getState() as RootState;
31
+ const state = thunkAPI.getState() as RootStateDay1;
32
32
  const infraEnvIds = state.infraEnvs.map((infraEnv) => infraEnv.id);
33
33
  const promises = [];
34
34
  for (const infraEnvId of infraEnvIds) {
@@ -49,7 +49,7 @@ export const updateInfraEnv = createAsyncThunk(
49
49
  export const getImageUrl = createAsyncThunk(
50
50
  'infraEnvs/getImageUrl',
51
51
  async (cpuArchitecture: CpuArchitecture, thunkAPI) => {
52
- const state = thunkAPI.getState() as RootState;
52
+ const state = thunkAPI.getState() as RootStateDay1;
53
53
  // In OCM there is no late-binding, therefore every cluster created through the UI
54
54
  // will have at least one infra-env bound to it and its cpuArchitecture initialized
55
55
  // by default (to x86_64).
@@ -0,0 +1,23 @@
1
+ import { configureStore } from '@reduxjs/toolkit';
2
+ import { clustersReducer } from './slices/clusters/slice';
3
+ import { currentClusterReducer } from './slices/current-cluster/slice';
4
+ import { infraEnvsReducer } from './slices/infra-envs/slice';
5
+ import { featureFlagsReducer } from './slices/feature-flags/slice';
6
+ import { STANDALONE_DEPLOYMENT_ENABLED_FEATURES } from '../../common';
7
+
8
+ export const storeDay1 = configureStore({
9
+ devTools: {
10
+ name: 'Assisted Installer - Day 1',
11
+ },
12
+ reducer: {
13
+ clusters: clustersReducer,
14
+ currentCluster: currentClusterReducer,
15
+ infraEnvs: infraEnvsReducer,
16
+ featureFlags: featureFlagsReducer,
17
+ },
18
+ preloadedState: {
19
+ featureFlags: STANDALONE_DEPLOYMENT_ENABLED_FEATURES,
20
+ },
21
+ });
22
+ export type RootStateDay1 = ReturnType<typeof storeDay1.getState>;
23
+ export type DispatchDay1 = typeof storeDay1.dispatch;
@@ -0,0 +1,19 @@
1
+ import { configureStore } from '@reduxjs/toolkit';
2
+ import { infraEnvsReducer } from './slices/infra-envs/slice';
3
+ import { featureFlagsReducer } from './slices/feature-flags/slice';
4
+ import { STANDALONE_DEPLOYMENT_ENABLED_FEATURES } from '../../common';
5
+
6
+ export const storeDay2 = configureStore({
7
+ devTools: {
8
+ name: 'Assisted Installer - Day 2',
9
+ },
10
+ reducer: {
11
+ infraEnvs: infraEnvsReducer,
12
+ featureFlags: featureFlagsReducer,
13
+ },
14
+ preloadedState: {
15
+ featureFlags: STANDALONE_DEPLOYMENT_ENABLED_FEATURES,
16
+ },
17
+ });
18
+ export type RootStateDay2 = ReturnType<typeof storeDay2.getState>;
19
+ export type DispatchDay2 = typeof storeDay2.dispatch;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "dependencies": {
3
- "@openshift-assisted/locales": "2.9.5-cim",
4
- "@openshift-assisted/types": "2.9.5-cim",
3
+ "@openshift-assisted/locales": "2.9.6-cim",
4
+ "@openshift-assisted/types": "2.9.6-cim",
5
5
  "axios-case-converter": "^0.11.1",
6
6
  "camel-case": "^4.1.2",
7
7
  "cidr-tools": "^4.3.0",
@@ -128,5 +128,5 @@
128
128
  ]
129
129
  }
130
130
  },
131
- "version": "2.9.5-cim"
131
+ "version": "2.9.6-cim"
132
132
  }
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { FeatureListType } from '../../common';
3
- export declare const AssistedUiRouter: React.FC<{
4
- allEnabledFeatures: FeatureListType;
5
- }>;
6
- export declare const Router: React.FC<{
7
- features: FeatureListType;
8
- }>;
9
- //# sourceMappingURL=Router.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Router.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/components/Router.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAA8B,eAAe,EAAE,MAAM,cAAc,CAAC;AAI3E,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,kBAAkB,EAAE,eAAe,CAAA;CAAE,CAM9E,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,eAAe,CAAA;CAAE,CAW1D,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { NewFeatureSupportLevelMap } from '../../common/components/newFeatureSupportLevels';
2
- export declare const FEATURE_ID = "EXTERNAL_PLATFORM_OCI";
3
- export interface OracleDropdownItemState {
4
- readonly featureId: string;
5
- readonly isSupported: boolean;
6
- readonly isDisabled: boolean;
7
- readonly disabledReason?: string;
8
- }
9
- export declare const useOracleDropdownItemState: (hasExistentCluster: boolean, featureSupportLevelData: NewFeatureSupportLevelMap | null, cpuArchitecture: string) => OracleDropdownItemState | null;
10
- //# sourceMappingURL=useOracleDropdownItemState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOracleDropdownItemState.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useOracleDropdownItemState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iDAAiD,CAAC;AAGjG,eAAO,MAAM,UAAU,0BAA0B,CAAC;AAElD,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;CAClC;AAED,eAAO,MAAM,0BAA0B,uBACjB,OAAO,2BACF,yBAAyB,GAAG,IAAI,mBACxC,MAAM,KACtB,uBAAuB,GAAG,IA4B5B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"clustersSlice.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/reducers/clusters/clustersSlice.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,aAAa,EACb,aAAa,EACb,SAAS,EACT,QAAQ,EACT,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlD,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAE/E,eAAO,MAAM,kBAAkB;;;;;;;;;EAU9B,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,kBAAkB,EAAE,SAAS,EAAE,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;uGAgDK,cAAc,IAAI,CAAC;;;;2BAhD9B,MAAM;;;;;;;;iBADhB,eAAe;;;;;;;iBAAf,eAAe;;;;qHAuEZ,cAAc,wCAAwC,CAAC;;;iBAvE1D,eAAe;2BACL,MAAM;;;oBA+GzB,CAAC;AAEH,eAAO,MACL,aAAa,gGACb,iBAAiB,oGACjB,UAAU,0FACV,oBAAoB,iGACpB,YAAY,yFACZ,WAAW,wFACX,iBAAiB,8FACjB,wBAAwB,0IACK,CAAC;;AAChC,wBAA2C"}
@@ -1,3 +0,0 @@
1
- export * from './clustersSlice';
2
- export * from './currentClusterSlice';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/reducers/clusters/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"clusters.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/selectors/clusters.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAQ,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEzD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,OAAO,EAML,gBAAgB,EAEhB,iBAAiB,EACjB,eAAe,EAChB,MAAM,cAAc,CAAC;AAItB,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAK/E,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;CAMjC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AA0DF,eAAO,MAAM,yBAAyB,YAAa,QAAQ,sBACjB,CAAC;AAE3C,eAAO,MAAM,sBAAsB,MAAO,SAAS;;;;;;;;;;;;;;;;;CAKlD,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;CAE9B,CAAC"}
@@ -1,14 +0,0 @@
1
- import { AssistedInstallerPermissionTypesListType } from '../../common';
2
- import { RootState } from '../store';
3
- export declare const selectCurrentClusterState: (state: RootState) => {
4
- data?: import("@openshift-assisted/types/./assisted-installer-service").Cluster | undefined;
5
- uiState: import("../../common").ResourceUIState;
6
- isReloadScheduled: number;
7
- permissions: AssistedInstallerPermissionTypesListType;
8
- errorDetail?: import("../reducers/clusters").FetchErrorType | undefined;
9
- };
10
- export declare const selectCurrentCluster: (state: RootState) => import("@openshift-assisted/types/./assisted-installer-service").Cluster | undefined;
11
- export declare const selectCurrentClusterUIState: (state: RootState) => import("../../common").ResourceUIState;
12
- export declare const selectIsCurrentClusterSNO: (state: RootState) => boolean;
13
- export declare const selectCurrentClusterPermissionsState: (state: RootState) => AssistedInstallerPermissionTypesListType;
14
- //# sourceMappingURL=currentCluster.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"currentCluster.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/selectors/currentCluster.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wCAAwC,EAAE,MAAM,cAAc,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,yBAAyB,UAAW,SAAS;;;;;;CAAyB,CAAC;AACpF,eAAO,MAAM,oBAAoB,UAAW,SAAS,yFAA8B,CAAC;AACpF,eAAO,MAAM,2BAA2B,UAAW,SAAS,2CAAiC,CAAC;AAC9F,eAAO,MAAM,yBAAyB,UAAW,SAAS,YACE,CAAC;AAC7D,eAAO,MAAM,oCAAoC,UACxC,SAAS,KACf,wCAMF,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from './currentCluster';
2
- export * from './clusters';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/selectors/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/infraEnvs/selectors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,eAAO,MAAM,oBAAoB,UAAW,SAAS,gFAAoB,CAAC;AAC1E,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;CAI3C,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/infraEnvs/slice.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAWrF,eAAO,MAAM,gBAAgB,gEAAyB,CAAC;AACvD,eAAO,MAAM,gBAAgB,gEAAyB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"thunks.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/infraEnvs/thunks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAInE,OAAO,EAEL,QAAQ,EACR,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,sDAAsD,CAAC;AAE9D,eAAO,MAAM,wBAAwB;;;;;;;;;EAMpC,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;EAO1B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;EAQ7B,CAAC;AAEH,eAAO,MAAM,cAAc;gBAE8C,QAAQ,CAAC,IAAI,CAAC;;;;;;;;;;EAKtF,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;EAWvB,CAAC"}
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Router = exports.AssistedUiRouter = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- const react_redux_1 = require("react-redux");
7
- const react_router_dom_1 = require("react-router-dom");
8
- const clusters_1 = require("./clusters");
9
- const store_1 = require("../store");
10
- const common_1 = require("../../common");
11
- const config_1 = require("../config");
12
- const ui_1 = require("./ui");
13
- const AssistedUiRouter = ({ allEnabledFeatures, }) => (react_1.default.createElement(react_redux_1.Provider, { store: store_1.store },
14
- react_1.default.createElement(exports.Router, { features: allEnabledFeatures })));
15
- exports.AssistedUiRouter = AssistedUiRouter;
16
- const Router = ({ features, children }) => (react_1.default.createElement(common_1.FeatureGateContextProvider, { features: features },
17
- react_1.default.createElement(ui_1.AssistedUILibVersion, null),
18
- react_1.default.createElement(react_router_dom_1.Switch, null,
19
- react_1.default.createElement(react_router_dom_1.Route, { path: `${config_1.routeBasePath}/clusters/~new`, component: clusters_1.NewClusterPage }),
20
- react_1.default.createElement(react_router_dom_1.Route, { path: `${config_1.routeBasePath}/clusters/:clusterId`, component: clusters_1.ClusterPage }),
21
- react_1.default.createElement(react_router_dom_1.Route, { path: `${config_1.routeBasePath}/clusters`, component: clusters_1.Clusters }),
22
- children,
23
- react_1.default.createElement(react_router_dom_1.Redirect, { to: `${config_1.routeBasePath}/clusters` }))));
24
- exports.Router = Router;
25
- //# sourceMappingURL=Router.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Router.js","sourceRoot":"","sources":["../../../../lib/ocm/components/Router.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,6CAAuC;AACvC,uDAA2D;AAC3D,yCAAmE;AACnE,oCAAiC;AACjC,yCAA2E;AAC3E,sCAA0C;AAC1C,6BAA4C;AAErC,MAAM,gBAAgB,GAAsD,CAAC,EAClF,kBAAkB,GACnB,EAAE,EAAE,CAAC,CACJ,8BAAC,sBAAQ,IAAC,KAAK,EAAE,aAAK;IACpB,8BAAC,cAAM,IAAC,QAAQ,EAAE,kBAAkB,GAAI,CAC/B,CACZ,CAAC;AANW,QAAA,gBAAgB,oBAM3B;AAEK,MAAM,MAAM,GAA4C,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACzF,8BAAC,mCAA0B,IAAC,QAAQ,EAAE,QAAQ;IAC5C,8BAAC,yBAAoB,OAAG;IACxB,8BAAC,yBAAM;QACL,8BAAC,wBAAK,IAAC,IAAI,EAAE,GAAG,sBAAa,gBAAgB,EAAE,SAAS,EAAE,yBAAc,GAAI;QAC5E,8BAAC,wBAAK,IAAC,IAAI,EAAE,GAAG,sBAAa,sBAAsB,EAAE,SAAS,EAAE,sBAAW,GAAI;QAC/E,8BAAC,wBAAK,IAAC,IAAI,EAAE,GAAG,sBAAa,WAAW,EAAE,SAAS,EAAE,mBAAQ,GAAI;QAChE,QAAQ;QACT,8BAAC,2BAAQ,IAAC,EAAE,EAAE,GAAG,sBAAa,WAAW,GAAI,CACtC,CACkB,CAC9B,CAAC;AAXW,QAAA,MAAM,UAWjB"}
@@ -1,30 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useOracleDropdownItemState = exports.FEATURE_ID = void 0;
4
- const NewFeatureSupportLevelContext_1 = require("../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelContext");
5
- const featureStateUtils_1 = require("../components/featureSupportLevels/featureStateUtils");
6
- exports.FEATURE_ID = 'EXTERNAL_PLATFORM_OCI';
7
- const useOracleDropdownItemState = (hasExistentCluster, featureSupportLevelData, cpuArchitecture) => {
8
- const featureSupportLevelContext = (0, NewFeatureSupportLevelContext_1.useNewFeatureSupportLevel)();
9
- if (!featureSupportLevelData) {
10
- return null;
11
- }
12
- const isSupported = featureSupportLevelData
13
- ? featureSupportLevelContext.isFeatureSupported(exports.FEATURE_ID, featureSupportLevelData)
14
- : false;
15
- let disabledReason;
16
- if (hasExistentCluster) {
17
- disabledReason = featureStateUtils_1.clusterExistsReason;
18
- }
19
- else if (!isSupported) {
20
- disabledReason = featureSupportLevelContext.getFeatureDisabledReason(exports.FEATURE_ID, undefined, cpuArchitecture);
21
- }
22
- return {
23
- featureId: exports.FEATURE_ID,
24
- isSupported,
25
- isDisabled: disabledReason !== undefined,
26
- disabledReason,
27
- };
28
- };
29
- exports.useOracleDropdownItemState = useOracleDropdownItemState;
30
- //# sourceMappingURL=useOracleDropdownItemState.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOracleDropdownItemState.js","sourceRoot":"","sources":["../../../../lib/ocm/hooks/useOracleDropdownItemState.ts"],"names":[],"mappings":";;;AACA,iIAA0H;AAC1H,4FAAoH;AACvG,QAAA,UAAU,GAAG,uBAAuB,CAAC;AAS3C,MAAM,0BAA0B,GAAG,CACxC,kBAA2B,EAC3B,uBAAyD,EACzD,eAAuB,EACS,EAAE;IAClC,MAAM,0BAA0B,GAAG,IAAA,yDAAyB,GAAE,CAAC;IAC/D,IAAI,CAAC,uBAAuB,EAAE;QAC5B,OAAO,IAAI,CAAC;KACb;IAED,MAAM,WAAW,GAAG,uBAAuB;QACzC,CAAC,CAAC,0BAA0B,CAAC,kBAAkB,CAAC,kBAAU,EAAE,uBAAuB,CAAC;QACpF,CAAC,CAAC,KAAK,CAAC;IAEV,IAAI,cAAkC,CAAC;IAEvC,IAAI,kBAAkB,EAAE;QACtB,cAAc,GAAG,uCAAqB,CAAC;KACxC;SAAM,IAAI,CAAC,WAAW,EAAE;QACvB,cAAc,GAAG,0BAA0B,CAAC,wBAAwB,CAClE,kBAAU,EACV,SAAS,EACT,eAAe,CAChB,CAAC;KACH;IAED,OAAO;QACL,SAAS,EAAE,kBAAU;QACrB,WAAW;QACX,UAAU,EAAE,cAAc,KAAK,SAAS;QACxC,cAAc;KACf,CAAC;AACJ,CAAC,CAAC;AAhCW,QAAA,0BAA0B,8BAgCrC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"clustersSlice.js","sourceRoot":"","sources":["../../../../../lib/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KAAK,CAAC,IAAI,KAAK,8BAAwB,IAAI,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE;gBAC3D,4GAA4G;gBAC5G,+EAA+E;gBAC/E,uCACK,KAAK,KACR,OAAO,EAAE,wBAAe,CAAC,MAAM,IAC/B;aACH;YACD,uCACK,KAAK,KACR,OAAO,EAAE,wBAAe,CAAC,aAAa,EACtC,WAAW,EAAE,KAAK,IAClB;QACJ,CAAC,CAAC,CAAC;IACP,CAAC;CACF,CAAC,CAAC;AAEU,KAST,2BAAmB,CAAC,OAAO,EAR7B,qBAAa,qBACb,yBAAiB,yBACjB,kBAAU,kBACV,4BAAoB,4BACpB,oBAAY,oBACZ,mBAAW,mBACX,yBAAiB,yBACjB,gCAAwB,+BACM;AAChC,kBAAe,2BAAmB,CAAC,OAAO,CAAC"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./clustersSlice"), exports);
5
- tslib_1.__exportStar(require("./currentClusterSlice"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/ocm/reducers/clusters/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC;AAChC,gEAAsC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"clusters.js","sourceRoot":"","sources":["../../../../lib/ocm/selectors/clusters.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,8CAAkD;AAElD,uDAAwC;AAGxC,yCAUsB;AACtB,8FAA2F;AAC3F,sCAA0C;AAI1C,MAAM,cAAc,GAAG,CAAC,KAAgB,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;AACjE,MAAM,eAAe,GAAG,CAAC,KAAgB,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC;AAExD,QAAA,qBAAqB,GAAG,IAAA,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AA,sBAAsB,0BAKjC;AAEW,QAAA,kBAAkB,GAAG,IAAA,wBAAc,EAAC,cAAc,EAAE,CAAC,QAAQ,EAAE,EAAE,CAC5E,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAC5B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"currentCluster.js","sourceRoot":"","sources":["../../../../lib/ocm/selectors/currentCluster.ts"],"names":[],"mappings":";;;AAGO,MAAM,yBAAyB,GAAG,CAAC,KAAgB,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC;AAAvE,QAAA,yBAAyB,6BAA8C;AAC7E,MAAM,oBAAoB,GAAG,CAAC,KAAgB,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;AAAvE,QAAA,oBAAoB,wBAAmD;AAC7E,MAAM,2BAA2B,GAAG,CAAC,KAAgB,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;AAAjF,QAAA,2BAA2B,+BAAsD;AACvF,MAAM,yBAAyB,GAAG,CAAC,KAAgB,EAAE,EAAE,WAC5D,OAAA,CAAA,MAAA,KAAK,CAAC,cAAc,CAAC,IAAI,0CAAE,oBAAoB,MAAK,MAAM,CAAA,EAAA,CAAC;AADhD,QAAA,yBAAyB,6BACuB;AACtD,MAAM,oCAAoC,GAAG,CAClD,KAAgB,EAC0B,EAAE;IAC5C,IAAI,KAAK,CAAC,cAAc,EAAE;QACxB,OAAO,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;KACzC;IACD,oFAAoF;IACpF,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC;AACjC,CAAC,CAAC;AARW,QAAA,oCAAoC,wCAQ/C"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./currentCluster"), exports);
5
- tslib_1.__exportStar(require("./clusters"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/ocm/selectors/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC;AACjC,qDAA2B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"selectors.js","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/infraEnvs/selectors.ts"],"names":[],"mappings":";;;AAAA,8CAAkD;AAI3C,MAAM,oBAAoB,GAAG,CAAC,KAAgB,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;AAA7D,QAAA,oBAAoB,wBAAyC;AAC7D,QAAA,+BAA+B,GAAG,IAAA,wBAAc,EAC3D,CAAC,4BAAoB,EAAE,CAAC,CAAY,EAAE,eAAgC,EAAE,EAAE,CAAC,eAAe,CAAC,EAC3F,CAAC,SAAS,EAAE,eAAe,EAAE,EAAE,CAC7B,SAAS,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,eAAe,KAAK,eAAe,CAAC,CAC7E,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"slice.js","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/infraEnvs/slice.ts"],"names":[],"mappings":";;;AACA,8CAA+C;AAE/C,wFAAwF;AACxF,kCAAkC;AAClC,MAAM,cAAc,GAAG,IAAA,qBAAW,EAAC;IACjC,IAAI,EAAE,WAAW;IACjB,YAAY,EAAE,EAAgB;IAC9B,QAAQ,EAAE,EAAE;CACb,CAAC,CAAC;AAEU,QAAA,gBAAgB,GAAG,cAAc,CAAC,OAAO,CAAC;AAC1C,QAAA,gBAAgB,GAAG,cAAc,CAAC,OAAO,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"thunks.js","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/infraEnvs/thunks.ts"],"names":[],"mappings":";;;;AAAA,8CAAoD;AAEpD,iDAAsD;A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,GAAG,MAAM,mBAAY,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;IACzE,wGAAwG;IACxG,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CACF,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,0BAAgB,EACzC,uBAAuB,EACvB,CAAO,eAAgC,EAAE,QAAQ,EAAE,EAAE;IACnD,MAAM,KAAK,GAAG,QAAQ,CAAC,QAAQ,EAAe,CAAC;IAC/C,kFAAkF;IAClF,mFAAmF;IACnF,0BAA0B;IAC1B,MAAM,QAAQ,GAAG,IAAA,2CAA+B,EAAC,KAAK,EAAE,eAAe,CAAa,CAAC;IACrF,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,MAAM,mBAAY,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC3E,OAAO,YAAY,CAAC;AACtB,CAAC,CAAA,CACF,CAAC"}
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
- import { Provider } from 'react-redux';
3
- import { Switch, Route, Redirect } from 'react-router-dom';
4
- import { Clusters, ClusterPage, NewClusterPage } from './clusters';
5
- import { store } from '../store';
6
- import { FeatureGateContextProvider, FeatureListType } from '../../common';
7
- import { routeBasePath } from '../config';
8
- import { AssistedUILibVersion } from './ui';
9
-
10
- export const AssistedUiRouter: React.FC<{ allEnabledFeatures: FeatureListType }> = ({
11
- allEnabledFeatures,
12
- }) => (
13
- <Provider store={store}>
14
- <Router features={allEnabledFeatures} />
15
- </Provider>
16
- );
17
-
18
- export const Router: React.FC<{ features: FeatureListType }> = ({ features, children }) => (
19
- <FeatureGateContextProvider features={features}>
20
- <AssistedUILibVersion />
21
- <Switch>
22
- <Route path={`${routeBasePath}/clusters/~new`} component={NewClusterPage} />
23
- <Route path={`${routeBasePath}/clusters/:clusterId`} component={ClusterPage} />
24
- <Route path={`${routeBasePath}/clusters`} component={Clusters} />
25
- {children}
26
- <Redirect to={`${routeBasePath}/clusters`} />
27
- </Switch>
28
- </FeatureGateContextProvider>
29
- );