@devtron-labs/devtron-fe-common-lib 1.21.0-pre-4 → 1.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/dist/{@code-editor-CI25gc0h.js → @code-editor-C8nhIfoI.js} +17575 -19125
  2. package/dist/{@common-rjsf-CJAIqF5e.js → @common-rjsf-rYligcdi.js} +30 -30
  3. package/dist/{@framer-motion-LZK2bgCK.js → @framer-motion-DZveCoIL.js} +139 -141
  4. package/dist/{@react-dates-CbpfVsC0.js → @react-dates-CZ1bNWJM.js} +1 -1
  5. package/dist/{@react-select-BuPEYnTv.js → @react-select-DS68hCUM.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-DX7VkyTZ.js → @react-virtualized-sticky-tree-V-8klKy9.js} +1 -1
  7. package/dist/{@vendor-BsABdDGm.js → @vendor-3ORIJA0h.js} +19361 -28480
  8. package/dist/Common/API/types.d.ts +1 -1
  9. package/dist/Common/BreadCrumb/Types.d.ts +0 -20
  10. package/dist/Common/ClipboardButton/ClipboardButton.d.ts +2 -2
  11. package/dist/Common/ClipboardButton/types.d.ts +2 -12
  12. package/dist/Common/Common.service.d.ts +1 -4
  13. package/dist/Common/Constants.d.ts +19 -67
  14. package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +0 -1
  15. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  16. package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
  17. package/dist/Common/SearchBar/types.d.ts +0 -8
  18. package/dist/Common/SegmentedBarChart/types.d.ts +2 -10
  19. package/dist/Common/SegmentedControl/Segment.d.ts +1 -1
  20. package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +1 -1
  21. package/dist/Common/SegmentedControl/index.d.ts +1 -1
  22. package/dist/Common/SegmentedControl/types.d.ts +9 -13
  23. package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
  24. package/dist/Common/Types.d.ts +5 -64
  25. package/dist/Common/index.d.ts +1 -1
  26. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
  27. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +2 -0
  28. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +7 -13
  29. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -1
  30. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +8 -0
  31. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +3 -3
  32. package/dist/Pages/ResourceBrowser/constants.d.ts +8 -8
  33. package/dist/Pages/ResourceBrowser/types.d.ts +1 -2
  34. package/dist/Shared/Components/ActionMenu/types.d.ts +0 -3
  35. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +2 -2
  36. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
  37. package/dist/Shared/Components/Backdrop/types.d.ts +1 -1
  38. package/dist/Shared/Components/Badge/utils.d.ts +1 -2
  39. package/dist/Shared/Components/Button/Button.component.d.ts +12 -12
  40. package/dist/Shared/Components/CICDHistory/ConflictedResourcesTable.d.ts +3 -0
  41. package/dist/Shared/Components/CICDHistory/ResourceConflictDeployDialog.d.ts +3 -0
  42. package/dist/Shared/Components/CICDHistory/ResourceConflictDetailsModal.d.ts +3 -0
  43. package/dist/Shared/Components/CICDHistory/TriggerDetails.d.ts +1 -1
  44. package/dist/Shared/Components/CICDHistory/WorkerStatus.d.ts +1 -1
  45. package/dist/Shared/Components/CICDHistory/constants.d.ts +4 -1
  46. package/dist/Shared/Components/CICDHistory/service.d.ts +3 -1
  47. package/dist/Shared/Components/CICDHistory/types.d.ts +65 -1
  48. package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -0
  49. package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
  50. package/dist/Shared/Components/DTFocusTrap/types.d.ts +1 -2
  51. package/dist/Shared/Components/DocLink/constants.d.ts +0 -3
  52. package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -1
  53. package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
  54. package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +1 -2
  55. package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +5 -21
  56. package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -1
  57. package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +3 -1
  58. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  59. package/dist/Shared/Components/Header/types.d.ts +0 -2
  60. package/dist/Shared/Components/Icon/Icon.d.ts +0 -69
  61. package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
  62. package/dist/Shared/Components/Icon/types.d.ts +0 -6
  63. package/dist/Shared/Components/Illustration/Illustration.d.ts +0 -6
  64. package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +1 -1
  65. package/dist/Shared/Components/Security/SecurityModal/index.d.ts +1 -1
  66. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +3 -3
  67. package/dist/Shared/Components/Security/constants.d.ts +0 -2
  68. package/dist/Shared/Components/Security/index.d.ts +0 -3
  69. package/dist/Shared/Components/Security/types.d.ts +0 -10
  70. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  71. package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
  72. package/dist/Shared/Components/SelectPicker/index.d.ts +1 -1
  73. package/dist/Shared/Components/SelectPicker/type.d.ts +1 -3
  74. package/dist/Shared/Components/SelectPicker/utils.d.ts +0 -1
  75. package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
  76. package/dist/Shared/Components/Table/TableContent.d.ts +1 -1
  77. package/dist/Shared/Components/Table/types.d.ts +6 -12
  78. package/dist/Shared/Components/TrailingItem/types.d.ts +0 -4
  79. package/dist/Shared/Components/TreeView/TreeView.component.d.ts +1 -1
  80. package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +1 -1
  81. package/dist/Shared/Components/TreeView/constants.d.ts +0 -3
  82. package/dist/Shared/Components/TreeView/types.d.ts +3 -17
  83. package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +3 -3
  84. package/dist/Shared/Components/index.d.ts +0 -7
  85. package/dist/Shared/Helpers.d.ts +2 -11
  86. package/dist/Shared/Hooks/useGetResourceKindsOptions/service.d.ts +5 -0
  87. package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +20 -5
  88. package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
  89. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -31
  90. package/dist/Shared/Providers/MainContextProvider/types.d.ts +0 -9
  91. package/dist/Shared/Services/common.service.d.ts +0 -3
  92. package/dist/Shared/Services/types.d.ts +1 -10
  93. package/dist/Shared/constants.d.ts +16 -3
  94. package/dist/Shared/types.d.ts +0 -20
  95. package/dist/Shared/validations.d.ts +0 -2
  96. package/dist/assets/@code-editor.css +1 -1
  97. package/dist/index.d.ts +11 -15
  98. package/dist/index.js +970 -1029
  99. package/package.json +1 -6
  100. package/dist/Common/BreadCrumb/NestedBreadCrumb.d.ts +0 -2
  101. package/dist/Common/SegmentedBarChart/utils.d.ts +0 -2
  102. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +0 -2
  103. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +0 -1
  104. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/index.d.ts +0 -2
  105. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/utils.d.ts +0 -6
  106. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +0 -1
  107. package/dist/Pages-Devtron-2.0/ApplicationManagement/index.d.ts +0 -1
  108. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/Overview.d.ts +0 -1
  109. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/index.d.ts +0 -1
  110. package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +0 -1
  111. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +0 -1
  112. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/index.d.ts +0 -1
  113. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/constants.d.ts +0 -4
  114. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +0 -2
  115. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +0 -31
  116. package/dist/Pages-Devtron-2.0/CostVisibility/index.d.ts +0 -1
  117. package/dist/Pages-Devtron-2.0/DataProtectionManagement/index.d.ts +0 -1
  118. package/dist/Pages-Devtron-2.0/DataProtectionManagement/types.d.ts +0 -8
  119. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +0 -1
  120. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/index.d.ts +0 -1
  121. package/dist/Pages-Devtron-2.0/GlobalConfiguration/index.d.ts +0 -1
  122. package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +0 -1
  123. package/dist/Pages-Devtron-2.0/GlobalOverview/index.d.ts +0 -1
  124. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +0 -1
  125. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/index.d.ts +0 -2
  126. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +0 -6
  127. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +0 -1
  128. package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +0 -1
  129. package/dist/Pages-Devtron-2.0/InfrastructureManagement/utils.d.ts +0 -11
  130. package/dist/Pages-Devtron-2.0/Navigation/index.d.ts +0 -1
  131. package/dist/Pages-Devtron-2.0/Navigation/types.d.ts +0 -32
  132. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.d.ts +0 -1
  133. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/index.d.ts +0 -1
  134. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/utils.d.ts +0 -6
  135. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/index.d.ts +0 -1
  136. package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +0 -1
  137. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +0 -1
  138. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/index.d.ts +0 -1
  139. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/index.d.ts +0 -1
  140. package/dist/Pages-Devtron-2.0/index.d.ts +0 -6
  141. package/dist/Shared/Components/Card/Card.component.d.ts +0 -3
  142. package/dist/Shared/Components/Card/constants.d.ts +0 -4
  143. package/dist/Shared/Components/Card/index.d.ts +0 -2
  144. package/dist/Shared/Components/Card/types.d.ts +0 -25
  145. package/dist/Shared/Components/Charts/Chart.component.d.ts +0 -121
  146. package/dist/Shared/Components/Charts/constants.d.ts +0 -10
  147. package/dist/Shared/Components/Charts/index.d.ts +0 -4
  148. package/dist/Shared/Components/Charts/plugins.d.ts +0 -7
  149. package/dist/Shared/Components/Charts/types.d.ts +0 -135
  150. package/dist/Shared/Components/Charts/utils.d.ts +0 -30
  151. package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +0 -3
  152. package/dist/Shared/Components/ClusterStatusIcon/index.d.ts +0 -1
  153. package/dist/Shared/Components/ClusterStatusIcon/types.d.ts +0 -5
  154. package/dist/Shared/Components/ClusterStatusIcon/utils.d.ts +0 -2
  155. package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +0 -3
  156. package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +0 -3
  157. package/dist/Shared/Components/ExportToCsv/index.d.ts +0 -2
  158. package/dist/Shared/Components/ExportToCsv/types.d.ts +0 -64
  159. package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +0 -3
  160. package/dist/Shared/Components/KeyboardShortcut/constants.d.ts +0 -3
  161. package/dist/Shared/Components/KeyboardShortcut/index.d.ts +0 -1
  162. package/dist/Shared/Components/KeyboardShortcut/types.d.ts +0 -4
  163. package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +0 -3
  164. package/dist/Shared/Components/PrometheusConfigurations/index.d.ts +0 -2
  165. package/dist/Shared/Components/PrometheusConfigurations/types.d.ts +0 -20
  166. package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +0 -2
  167. package/dist/Shared/Components/SideNavigation/index.d.ts +0 -2
  168. package/dist/Shared/Components/SideNavigation/types.d.ts +0 -19
  169. package/dist/assets/create-backup-schedule.bbac4a86.webp +0 -0
  170. package/dist/assets/create-backup-snapshot.c794f612.webp +0 -0
  171. package/dist/assets/ic-ai.25e44e0c.svg +0 -3
  172. package/dist/assets/ic-alibaba.518d61a4.svg +0 -3
  173. package/dist/assets/ic-application-group.4b448cca.svg +0 -3
  174. package/dist/assets/ic-application-management.7fb9e3a0.svg +0 -3
  175. package/dist/assets/ic-application-template.212d14f1.svg +0 -3
  176. package/dist/assets/ic-application.4c80bfcf.svg +0 -3
  177. package/dist/assets/ic-argocd-app.9c5eba79.svg +0 -61
  178. package/dist/assets/ic-arrow-line-down.b6a98848.svg +0 -3
  179. package/dist/assets/ic-aws.eb2d0124.svg +0 -12
  180. package/dist/assets/ic-backup-and-schedule.51b7d3dd.svg +0 -3
  181. package/dist/assets/ic-backup-color.dc62e9d5.svg +0 -6
  182. package/dist/assets/ic-backup-location.ebaf1148.svg +0 -3
  183. package/dist/assets/ic-backup-schedule-color.a16c34b0.svg +0 -5
  184. package/dist/assets/ic-bg-backup-schedule.9ef9bc39.svg +0 -19
  185. package/dist/assets/ic-bg-backups.396e99bd.svg +0 -19
  186. package/dist/assets/ic-bg-build.8609d0ea.svg +0 -13
  187. package/dist/assets/ic-bg-cpu.15ec70f0.svg +0 -11
  188. package/dist/assets/ic-bg-deploy.266711fe.svg +0 -22
  189. package/dist/assets/ic-bg-memory.5373a125.svg +0 -11
  190. package/dist/assets/ic-bg-pause-schedule.6edcc1d4.svg +0 -14
  191. package/dist/assets/ic-bg-production-pipelines.2951cdc0.svg +0 -22
  192. package/dist/assets/ic-bg-project.84658405.svg +0 -12
  193. package/dist/assets/ic-bg-ransomware-vulnerable-cluster.1b25a5d0.svg +0 -7
  194. package/dist/assets/ic-bg-restore.4fa13869.svg +0 -33
  195. package/dist/assets/ic-bg-scan.2249360c.svg +0 -28
  196. package/dist/assets/ic-bg-storage-locations.894070b0.svg +0 -22
  197. package/dist/assets/ic-bg-webhook.b455152d.svg +0 -13
  198. package/dist/assets/ic-bot.65f403dd.svg +0 -3
  199. package/dist/assets/ic-building.2405d07b.svg +0 -3
  200. package/dist/assets/ic-chart-line-up.7ab47f4e.svg +0 -3
  201. package/dist/assets/ic-check-circle.af18cd7e.svg +0 -3
  202. package/dist/assets/ic-circle-small.a0740b0e.svg +0 -3
  203. package/dist/assets/ic-clipboard.2869fa7d.svg +0 -3
  204. package/dist/assets/ic-clock-counterclockwise.3d7c2ef1.svg +0 -3
  205. package/dist/assets/ic-cloud-upload.55d9c163.svg +0 -3
  206. package/dist/assets/ic-coins-color-animated.fe11cdc3.svg +0 -112
  207. package/dist/assets/ic-coins.2c15f406.svg +0 -3
  208. package/dist/assets/ic-cost-visibility.5595009f.svg +0 -3
  209. package/dist/assets/ic-database-backup.b9e7c558.svg +0 -3
  210. package/dist/assets/ic-devtron-text.67a413b6.svg +0 -3
  211. package/dist/assets/ic-edit-lines.57927b07.svg +0 -3
  212. package/dist/assets/ic-file-download.ca57c068.svg +0 -5
  213. package/dist/assets/ic-files-changed.04e6de3f.svg +0 -3
  214. package/dist/assets/ic-floppy-disk.6d392bcd.svg +0 -3
  215. package/dist/assets/ic-fluxcd-app.7bf7dce5.svg +0 -22
  216. package/dist/assets/ic-global-overview.56ba9dc0.svg +0 -3
  217. package/dist/assets/ic-google-cloud.3077a8dd.svg +0 -6
  218. package/dist/assets/ic-infrastructure-management.4b052d41.svg +0 -3
  219. package/dist/assets/ic-kubernetes.7e04c3d2.svg +0 -4
  220. package/dist/assets/ic-magic-wand.2c29cd4e.svg +0 -10
  221. package/dist/assets/ic-oracle-cloud.5a8ee45d.svg +0 -3
  222. package/dist/assets/ic-otc-cloud.43b31bd8.svg +0 -5
  223. package/dist/assets/ic-party.cfc7e7c6.svg +0 -4
  224. package/dist/assets/ic-pause.4e5c6056.svg +0 -4
  225. package/dist/assets/ic-priority-medium-fill.7bab0ff8.svg +0 -4
  226. package/dist/assets/ic-release-hub.25b9707a.svg +0 -3
  227. package/dist/assets/ic-resource-browser.4ff3e571.svg +0 -3
  228. package/dist/assets/ic-resource-watcher.7cce5305.svg +0 -3
  229. package/dist/assets/ic-right-panel-collapse.0ecf8ceb.svg +0 -3
  230. package/dist/assets/ic-security-fixable.168b5bf8.svg +0 -12
  231. package/dist/assets/ic-security-not-fixable.be099f65.svg +0 -12
  232. package/dist/assets/ic-security-policy.874568da.svg +0 -3
  233. package/dist/assets/ic-security-scan.3ae78d50.svg +0 -3
  234. package/dist/assets/ic-security-vulnerability.c954b87a.svg +0 -4
  235. package/dist/assets/ic-software-release-management.dceedf80.svg +0 -3
  236. package/dist/assets/ic-symbol-greater-than.8f71342d.svg +0 -3
  237. package/dist/assets/ic-tenants.4f997b9a.svg +0 -3
  238. package/dist/assets/ic-trend-up.5752ef30.svg +0 -3
  239. package/dist/assets/ic-warning-stroke.fc850a4a.svg +0 -3
  240. package/dist/assets/img-folder-empty.8e898c33.svg +0 -33
  241. package/dist/assets/img-no-backup-location.0e8699c5.svg +0 -180
  242. package/dist/assets/img-no-restores.f26cb7db.svg +0 -114
  243. package/dist/assets/no-cluster-cost-enabled.038c73db.webp +0 -0
@@ -18,6 +18,6 @@ export interface FetchInTimeParamsType<Data = object> {
18
18
  options?: APIOptions;
19
19
  isMultipartRequest?: boolean;
20
20
  }
21
- export interface FetchAPIParamsType<Data = object> extends Omit<FetchInTimeParamsType<Data>, 'options'>, Pick<APIOptions, 'preventAutoLogout' | 'preventLicenseRedirect' | 'shouldParseServerErrorForUnauthorizedUser' | 'isProxyHost'> {
21
+ export interface FetchAPIParamsType<Data = object> extends Omit<FetchInTimeParamsType<Data>, 'options'>, Pick<APIOptions, 'preventAutoLogout' | 'preventLicenseRedirect' | 'shouldParseServerErrorForUnauthorizedUser'> {
22
22
  signal: AbortSignal;
23
23
  }
@@ -34,23 +34,3 @@ export interface BreadcrumbTextProps {
34
34
  */
35
35
  shouldTruncate?: boolean;
36
36
  }
37
- export interface NestedBreadCrumbProps {
38
- /**
39
- * It is the url to which the link should redirect
40
- */
41
- redirectUrl: string;
42
- /**
43
- * It is the text of the link
44
- */
45
- linkText: string;
46
- /**
47
- * It is the name of the profile
48
- * If not given, would show "Create Profile"
49
- */
50
- profileName: string;
51
- /**
52
- * @default Profiles
53
- * It is the text of the nested breadcrumb
54
- */
55
- nestedBreadCrumbsText?: string;
56
- }
@@ -1,4 +1,4 @@
1
- import { ClipboardProps } from './types';
1
+ import { default as ClipboardProps } from './types';
2
2
  /**
3
3
  * @param content - Content to be copied
4
4
  * @param copiedTippyText - Text to be shown in the tippy when the content is copied, default 'Copied!'
@@ -7,4 +7,4 @@ import { ClipboardProps } from './types';
7
7
  * @param rootClassName - additional classes to add to button
8
8
  * @param iconSize - size of svg icon to be shown, default 16 (icon-dim-16)
9
9
  */
10
- export declare const ClipboardButton: ({ content, initialTippyText, copiedTippyText, duration, copyToClipboardPromise, rootClassName, iconSize, handleSuccess, variant, size, }: ClipboardProps) => JSX.Element;
10
+ export declare const ClipboardButton: ({ content, initialTippyText, copiedTippyText, duration, copyToClipboardPromise, rootClassName, iconSize, handleSuccess, }: ClipboardProps) => JSX.Element;
@@ -1,14 +1,4 @@
1
- import { ComponentSizeType } from '../../Shared/constants';
2
- export type ClipboardProps = ({
3
- /**
4
- * @default 'default'
5
- */
6
- variant?: 'default';
7
- size?: never;
8
- } | {
9
- variant: 'button--secondary';
10
- size: ComponentSizeType;
11
- }) & {
1
+ export default interface ClipboardProps {
12
2
  content: string;
13
3
  /**
14
4
  * tippy text before copying
@@ -26,4 +16,4 @@ export type ClipboardProps = ({
26
16
  rootClassName?: string;
27
17
  iconSize?: number;
28
18
  handleSuccess?: () => void;
29
- };
19
+ }
@@ -1,6 +1,6 @@
1
1
  import { MutableRefObject } from 'react';
2
2
  import { RuntimeParamsAPIResponseType, RuntimePluginVariables } from '../Shared/types';
3
- import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole, APIOptions, EnvAppsMetaDTO, GetAppsInfoForEnvProps, EnvironmentsGroupedByClustersType, AppsGroupedByProjectsType, ClusterDetailListType } from './Types';
3
+ import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole, APIOptions, EnvAppsMetaDTO, GetAppsInfoForEnvProps } from './Types';
4
4
  import { ApiResourceType } from '../Pages';
5
5
  export declare const getTeamListMin: () => Promise<TeamList>;
6
6
  export declare const SourceTypeMap: {
@@ -36,6 +36,3 @@ export declare const getGlobalVariables: ({ appId, isCD, abortControllerRef, }:
36
36
  abortControllerRef?: MutableRefObject<AbortController>;
37
37
  }) => Promise<GlobalVariableOptionType[]>;
38
38
  export declare const getAppsInfoForEnv: ({ envId, appIds }: GetAppsInfoForEnvProps) => Promise<EnvAppsMetaDTO>;
39
- export declare const getAppOptionsGroupedByProjects: () => Promise<AppsGroupedByProjectsType>;
40
- export declare const getEnvironmentOptionsGroupedByClusters: () => Promise<EnvironmentsGroupedByClustersType>;
41
- export declare const getDetailedClusterList: (clusterIds?: number[], signal?: AbortSignal) => Promise<ClusterDetailListType[]>;
@@ -3,7 +3,7 @@ export declare const FALLBACK_REQUEST_TIMEOUT = 60000;
3
3
  export declare const Host: string;
4
4
  export declare const DOCUMENTATION_HOME_PAGE = "https://docs.devtron.ai";
5
5
  export declare const DEVTRON_HOME_PAGE = "https://devtron.ai/";
6
- export declare const DOCUMENTATION_VERSION = "/devtron/v2.0";
6
+ export declare const DOCUMENTATION_VERSION = "/devtron/v1.7";
7
7
  export declare const DISCORD_LINK = "https://discord.devtron.ai/";
8
8
  export declare const DEFAULT_JSON_SCHEMA_URI = "https://json-schema.org/draft/2020-12/schema";
9
9
  export declare const LICENSE_DASHBOARD_HOME_PAGE = "https://license.devtron.ai/dashboard";
@@ -30,7 +30,11 @@ export declare const PATTERNS: {
30
30
  export declare const URLS: {
31
31
  readonly LOGIN: "/login";
32
32
  readonly LOGIN_SSO: "/login/sso";
33
+ readonly PERMISSION_GROUPS: "/global-config/auth/groups";
34
+ readonly APP: "/app";
33
35
  readonly APP_LIST: "list";
36
+ readonly CHARTS_DISCOVER: "/chart-store/discover";
37
+ readonly JOB: "/job";
34
38
  readonly CREATE_JOB: "create-job";
35
39
  readonly GETTING_STARTED: "getting-started";
36
40
  readonly STACK_MANAGER_ABOUT: "/stack-manager/about";
@@ -45,67 +49,24 @@ export declare const URLS: {
45
49
  readonly DETAILS: "/details";
46
50
  readonly CD_DETAILS: "cd-details";
47
51
  readonly APP_TRIGGER: "trigger";
52
+ readonly GLOBAL_CONFIG_DOCKER: "/global-config/docker";
48
53
  readonly DEPLOYMENT_HISTORY_CONFIGURATIONS: "/configuration";
54
+ readonly GLOBAL_CONFIG_SCOPED_VARIABLES: "/global-config/scoped-variables";
55
+ readonly GLOBAL_CONFIG_DEPLOYMENT_CHARTS_LIST: "/global-config/deployment-charts";
56
+ readonly GLOBAL_CONFIG_DEPLOYMENT_CHARTS_UPLOAD_CHART: "/global-config/deployment-charts/upload-chart";
49
57
  readonly NETWORK_STATUS_INTERFACE: "/network-status-interface";
58
+ readonly RESOURCE_BROWSER: "/resource-browser";
50
59
  readonly COMPARE_CLUSTERS: "/compare-clusters";
51
60
  readonly APP_CONFIG: "edit";
61
+ readonly GLOBAL_CONFIG: "/global-config";
62
+ readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP: "/global-config/templates/devtron-apps";
63
+ readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_CREATE: "/global-config/templates/devtron-apps/create";
64
+ readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_DETAIL: "/global-config/templates/devtron-apps/detail/:appId";
52
65
  readonly LICENSE_AUTH: "/license-auth";
53
- readonly APPLICATION_MANAGEMENT: "/application-management";
54
- readonly APPLICATION_MANAGEMENT_OVERVIEW: "/application-management/overview";
55
- readonly APPLICATION_MANAGEMENT_APP: "/application-management/devtron-app";
56
- readonly APPLICATION_MANAGEMENT_APP_LIST: "/application-management/devtron-app/list";
57
- readonly APPLICATION_MANAGEMENT_CREATE_DEVTRON_APP: "/application-management/devtron-app/list/create-app";
58
- readonly APPLICATION_MANAGEMENT_APPLICATION_GROUP: "/application-management/application-group";
59
- readonly APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP: "/application-management/templates/devtron-app";
60
- readonly APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_CREATE: "/application-management/templates/devtron-app/create";
61
- readonly APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_DETAIL: "/application-management/templates/devtron-app/detail/:appId";
62
- readonly APPLICATION_MANAGEMENT_PROJECTS: "/application-management/projects";
63
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS: "/application-management/configurations";
64
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_DEPLOYMENT_CHARTS: "/application-management/configurations/deployment-charts";
65
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_SCOPED_VARIABLES: "/application-management/configurations/scoped-variables";
66
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_BUILD_INFRA: "/application-management/configurations/build-infra";
67
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_BUILD_INFRA_PROFILES: "/application-management/configurations/build-infra/profiles";
68
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_NOTIFICATIONS: "/application-management/configurations/notifications";
69
- readonly INFRASTRUCTURE_MANAGEMENT: "/infrastructure-management";
70
- readonly INFRASTRUCTURE_MANAGEMENT_OVERVIEW: "/infrastructure-management/overview";
71
- readonly INFRASTRUCTURE_MANAGEMENT_APP_LIST: `/infrastructure-management/apps/:appType(${string})`;
72
- readonly INFRASTRUCTURE_MANAGEMENT_APP: "/infrastructure-management/apps";
73
- readonly INFRASTRUCTURE_MANAGEMENT_CHART_STORE: "/infrastructure-management/chart-store";
74
- readonly INFRASTRUCTURE_MANAGEMENT_CHART_STORE_DISCOVER: "/infrastructure-management/chart-store/discover";
75
- readonly INFRASTRUCTURE_MANAGEMENT_RESOURCE_BROWSER: "/infrastructure-management/resource-browser";
76
- readonly INFRASTRUCTURE_MANAGEMENT_RESOURCE_WATCHER: "/infrastructure-management/resource-watcher";
77
- readonly SOFTWARE_RELEASE_MANAGEMENT: "/software-release-management";
78
- readonly COST_VISIBILITY: "/cost-visibility";
79
- readonly COST_VISIBILITY_OVERVIEW: "/cost-visibility/overview";
80
- readonly COST_BREAKDOWN_ROUTE: "/cost-visibility/breakdown/:breakdownViewType";
81
- readonly COST_BREAKDOWN_CLUSTERS: "/cost-visibility/breakdown/clusters";
82
- readonly COST_BREAKDOWN_ENVIRONMENTS: "/cost-visibility/breakdown/environments";
83
- readonly COST_BREAKDOWN_PROJECTS: "/cost-visibility/breakdown/projects";
84
- readonly COST_BREAKDOWN_APPLICATIONS: "/cost-visibility/breakdown/applications";
85
- readonly COST_BREAKDOWN_DETAIL: ":itemName/:view/:detail?";
86
- readonly COST_CONFIGURATIONS: "/cost-visibility/configurations";
87
- readonly SECURITY_CENTER: "/security-center";
88
- readonly SECURITY_CENTER_OVERVIEW: "/security-center/overview";
89
- readonly SECURITY_CENTER_VULNERABILITIES: "/security-center/vulnerabilities";
90
- readonly SECURITY_CENTER_VULNERABILITY_DEPLOYMENTS: "/security-center/vulnerabilities/deployments";
91
- readonly SECURITY_CENTER_VULNERABILITY_CVES: "/security-center/vulnerabilities/cves";
92
- readonly SECURITY_CENTER_SECURITY_ENABLEMENT: "/security-center/security-enablement";
93
- readonly SECURITY_CENTER_POLICIES: "/security-center/policies";
94
- readonly AUTOMATION_AND_ENABLEMENT: "/automation-and-enablement";
95
- readonly AUTOMATION_AND_ENABLEMENT_JOB: "/automation-and-enablement/job";
96
- readonly DATA_PROTECTION: "/data-protection-management";
97
- readonly DATA_PROTECTION_OVERVIEW: "/data-protection-management/overview";
98
- readonly DATA_PROTECTION_BACKUP_AND_SCHEDULE: `/data-protection-management/backup-and-schedule/:view(${string})`;
99
- readonly DATA_PROTECTION_BACKUP_AND_SCHEDULE_DETAIL: `/data-protection-management/backup-and-schedule/:view(${string})/detail/:id`;
100
- readonly DATA_PROTECTION_RESTORES: "/data-protection-management/restores";
101
- readonly DATA_PROTECTION_RESTORES_DETAIL: "/data-protection-management/restores/:restoreId";
102
- readonly DATA_PROTECTION_BACKUP_LOCATIONS: `/data-protection-management/backup-locations/:type(${string})`;
103
- readonly BACKUP_LOCATION_DETAILS: "/:locationId";
104
- readonly GLOBAL_CONFIG: "/global-configuration";
105
- readonly GLOBAL_CONFIG_DOCKER: "/global-configuration/docker";
106
- readonly GLOBAL_CONFIG_EDIT_CLUSTER: "/global-configuration/cluster-env/edit/:clusterId";
107
- readonly PERMISSION_GROUPS: "/global-configuration/auth/groups";
108
- readonly EXTERNAL_APPS: "ea";
66
+ readonly GLOBAL_CONFIG_EDIT_CLUSTER: "/global-config/cluster-env/edit/:clusterId";
67
+ readonly OBSERVABILITY: "/observability";
68
+ readonly OBSERVABILITY_OVERVIEW: "/observability/overview";
69
+ readonly OBSERVABILITY_CUSTOMER_LIST: "/observability/tenants";
109
70
  };
110
71
  export declare const ROUTES: {
111
72
  readonly APP: "app";
@@ -132,7 +93,6 @@ export declare const ROUTES: {
132
93
  readonly PATCH: "patch";
133
94
  readonly ENVIRONMENT_LIST_MIN: "env/autocomplete";
134
95
  readonly CLUSTER: "cluster";
135
- readonly CLUSTER_MIN: "cluster/min";
136
96
  readonly API_RESOURCE: "k8s/api-resources";
137
97
  readonly GVK: "gvk";
138
98
  readonly NAMESPACE: "env/namespace";
@@ -175,6 +135,7 @@ export declare const ROUTES: {
175
135
  readonly LICENSE_DATA: "license/data";
176
136
  readonly ENV: "env";
177
137
  readonly APP_METADATA: "app-metadata";
138
+ readonly RESOURCE_CONFLICTS_LIST: "app/:appId/cd-pipeline/:pipelineId/history/:wfrId/helm-ownership-conflicts";
178
139
  };
179
140
  export declare enum KEY_VALUE {
180
141
  KEY = "key",
@@ -370,15 +331,6 @@ export declare const DATE_TIME_FORMATS: {
370
331
  DD_MMM_YYYY_HH_MM: string;
371
332
  DD_MMM_YYYY: string;
372
333
  'DD/MM/YYYY': string;
373
- DD_MMM: string;
374
- TWENTY_FOUR_HOUR_FORMAT_HOUR: string;
375
- ABBREVIATED_MONTH: string;
376
- DATE_WITH_ABBREVIATED_MONTH: string;
377
- WEEKDAY_WITH_DATE_MONTH_AND_YEAR: string;
378
- WEEKDAY_DATE_MONTH_YEAR_AND_HOUR: string;
379
- DAY_OF_MONTH_WITH_ORDINAL: string;
380
- ABBREVIATED_WEEKDAY: string;
381
- DAY_OF_MONTH: string;
382
334
  };
383
335
  export declare const SEMANTIC_VERSION_DOCUMENTATION_LINK = "https://semver.org/";
384
336
  export declare const VULNERABILITIES_SORT_PRIORITY: {
@@ -27,7 +27,6 @@ export declare const KEYBOARD_KEYS_MAP: {
27
27
  readonly Delete: "⌦";
28
28
  readonly '.': ".";
29
29
  readonly Space: "Space";
30
- readonly '>': ">";
31
30
  };
32
31
  export type SupportedKeyboardKeysType = keyof typeof KEYBOARD_KEYS_MAP;
33
32
  export interface ShortcutType {
@@ -1,6 +1,6 @@
1
1
  import { ShortcutType } from './types';
2
2
  export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
3
- keys: ("N" | "R" | "Enter" | "/" | "Alt" | "F" | "E" | "K" | "X" | "A" | "S" | "Home" | "End" | "." | "Space" | ">" | "Control" | "Shift" | "Meta" | "Escape" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
3
+ keys: ("N" | "R" | "Enter" | "/" | "Alt" | "F" | "E" | "K" | "X" | "A" | "S" | "Home" | "End" | "." | "Space" | "Control" | "Shift" | "Meta" | "Escape" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
4
4
  id: string;
5
5
  };
6
6
  export declare const verifyCallbackStack: (stack: ShortcutType["callbackStack"]) => void;
@@ -33,5 +33,5 @@ import { SearchBarProps } from './types';
33
33
  * <SearchBar inputProps={{ placeholder: 'Enter search text' }} />
34
34
  * ```
35
35
  */
36
- declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, dataTestId, noBackgroundAndBorder, size, keyboardShortcut, variant, isLoading, }: SearchBarProps) => JSX.Element;
36
+ declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, dataTestId, noBackgroundAndBorder, size, keyboardShortcut, }: SearchBarProps) => JSX.Element;
37
37
  export default SearchBar;
@@ -53,12 +53,4 @@ export interface SearchBarProps {
53
53
  * @note This is displayed in place of the dropdown indicator
54
54
  */
55
55
  keyboardShortcut?: SupportedKeyboardKeysType;
56
- /**
57
- * @default 'default'
58
- */
59
- variant?: 'default' | 'sidenav';
60
- /**
61
- * If true, would convert the magnifying glass icon to a loading spinner
62
- */
63
- isLoading?: boolean;
64
56
  }
@@ -1,4 +1,3 @@
1
- import { ComponentSizeType } from '../../Shared/constants';
2
1
  export type Entity = {
3
2
  color: string;
4
3
  label: string;
@@ -13,20 +12,13 @@ type EntityPropType = {
13
12
  label?: never;
14
13
  }>[];
15
14
  };
16
- type ProportionalType = {
17
- isProportional?: true;
18
- hideTotal?: boolean;
19
- } | {
20
- isProportional?: false | never;
21
- hideTotal?: never;
22
- };
23
15
  export type SegmentedBarChartProps = {
24
16
  rootClassName?: string;
25
17
  countClassName?: string;
26
18
  labelClassName?: string;
19
+ isProportional?: boolean;
27
20
  swapLegendAndBar?: boolean;
28
21
  showAnimationOnBar?: boolean;
29
22
  isLoading?: boolean;
30
- size?: ComponentSizeType;
31
- } & EntityPropType & ProportionalType;
23
+ } & EntityPropType;
32
24
  export {};
@@ -1,3 +1,3 @@
1
1
  import { SegmentProps } from './types';
2
- declare const Segment: <T extends string | number>({ segment, isSelected, name, onChange, fullWidth, size, disabled, }: SegmentProps<T>) => JSX.Element;
2
+ declare const Segment: ({ segment, isSelected, name, onChange, fullWidth, size, disabled }: SegmentProps) => JSX.Element;
3
3
  export default Segment;
@@ -1,3 +1,3 @@
1
1
  import { SegmentedControlProps } from './types';
2
- declare const SegmentedControl: <T extends string | number>({ segments, onChange, name, size, value: controlledValue, fullWidth, disabled, }: SegmentedControlProps<T>) => JSX.Element;
2
+ declare const SegmentedControl: ({ segments, onChange, name, size, value: controlledValue, fullWidth, disabled, }: SegmentedControlProps) => JSX.Element;
3
3
  export default SegmentedControl;
@@ -1,2 +1,2 @@
1
1
  export { default as SegmentedControl } from './SegmentedControl.component';
2
- export { type SegmentedControlProps, type SegmentType } from './types';
2
+ export { type SegmentedControlProps } from './types';
@@ -2,7 +2,7 @@ import { TooltipProps } from '../Tooltip';
2
2
  import { IconsProps, SelectPickerOptionType } from '../../Shared/Components';
3
3
  import { ComponentSizeType } from '../../Shared/constants';
4
4
  type SegmentTooltipProps = Omit<TooltipProps, 'alwaysShowTippyOnHover' | 'showOnTruncate' | 'shortcutKeyCombo' | 'placement'>;
5
- export type SegmentType<T = string | number> = {
5
+ export type SegmentType = Pick<SelectPickerOptionType, 'value'> & {
6
6
  /**
7
7
  * If true, the segment will be in error state with error icon
8
8
  */
@@ -11,10 +11,6 @@ export type SegmentType<T = string | number> = {
11
11
  * If true, the segment will be in disabled state
12
12
  */
13
13
  isDisabled?: boolean;
14
- /**
15
- * Value for the segment
16
- */
17
- value: T;
18
14
  } & (({
19
15
  /**
20
16
  * Label for the segment
@@ -44,16 +40,16 @@ export type SegmentType<T = string | number> = {
44
40
  */
45
41
  ariaLabel: string;
46
42
  });
47
- export type SegmentedControlProps<T = string | number> = {
43
+ export type SegmentedControlProps = {
48
44
  /**
49
45
  * List of segments to be displayed
50
46
  */
51
- segments: SegmentType<T>[];
47
+ segments: SegmentType[];
52
48
  /**
53
49
  * Please make sure this is unique
54
50
  */
55
51
  name: string;
56
- size?: Extract<ComponentSizeType, ComponentSizeType.xs | ComponentSizeType.small | ComponentSizeType.medium | ComponentSizeType.large>;
52
+ size?: Extract<ComponentSizeType, ComponentSizeType.xs | ComponentSizeType.small | ComponentSizeType.medium>;
57
53
  fullWidth?: boolean;
58
54
  disabled?: boolean;
59
55
  } & ({
@@ -61,16 +57,16 @@ export type SegmentedControlProps<T = string | number> = {
61
57
  /**
62
58
  * On change handler for the component
63
59
  */
64
- onChange?: (selectedSegment: SegmentType<T>) => void;
60
+ onChange?: (selectedSegment: SegmentType) => void;
65
61
  } | {
66
62
  /**
67
63
  * If defined, the component is controlled and onChange needs to be handled by the parent
68
64
  */
69
- value: SegmentType<T>['value'];
70
- onChange: (selectedSegment: SegmentType<T>) => void;
65
+ value: SegmentType['value'];
66
+ onChange: (selectedSegment: SegmentType) => void;
71
67
  });
72
- export interface SegmentProps<T> extends Required<Pick<SegmentedControlProps<T>, 'name' | 'onChange' | 'fullWidth' | 'size' | 'disabled'>> {
68
+ export interface SegmentProps extends Required<Pick<SegmentedControlProps, 'name' | 'onChange' | 'fullWidth' | 'size' | 'disabled'>> {
73
69
  isSelected: boolean;
74
- segment: SegmentType<T>;
70
+ segment: SegmentType;
75
71
  }
76
72
  export {};
@@ -1,3 +1,3 @@
1
1
  import { TooltipProps } from './types';
2
- declare const Tooltip: ({ shortcutKeyCombo, alwaysShowTippyOnHover, showOnTruncate, wordBreak, children: child, plugins, ...rest }: TooltipProps) => JSX.Element;
2
+ declare const Tooltip: ({ shortcutKeyCombo, alwaysShowTippyOnHover, showOnTruncate, wordBreak, children: child, ...rest }: TooltipProps) => JSX.Element;
3
3
  export default Tooltip;
@@ -2,11 +2,9 @@ import { default as React, ReactNode, CSSProperties, ReactElement, MutableRefObj
2
2
  import { TippyProps } from '@tippyjs/react';
3
3
  import { UserGroupDTO } from '../Pages/GlobalConfigurations';
4
4
  import { ImageComment, ReleaseTag } from './ImageTags.Types';
5
- import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ComponentLayoutType, StatusType, DocLinkProps, DeploymentStrategyType, EnvironmentType } from '../Shared';
5
+ import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ComponentLayoutType, StatusType, DocLinkProps, DeploymentStrategyType } from '../Shared';
6
6
  import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, RefVariableType, SortingOrder, TaskErrorObj, VariableTypeFormat } from '.';
7
- import { IllustrationName, SelectPickerOptionType } from '../Shared/Components';
8
- import { ClusterStatusType } from '../Pages/ResourceBrowser';
9
- import { ClusterProviderType } from '../Pages-Devtron-2.0/CostVisibility';
7
+ import { IllustrationName } from '../Shared/Components';
10
8
  /**
11
9
  * Generic response type object with support for overriding the result type
12
10
  *
@@ -28,6 +26,9 @@ export interface ResponseType<T = any> {
28
26
  }
29
27
  export interface APIOptions {
30
28
  timeout?: number;
29
+ /**
30
+ * @deprecated Use abortController instead
31
+ */
31
32
  signal?: AbortSignal;
32
33
  abortControllerRef?: MutableRefObject<AbortController>;
33
34
  /**
@@ -42,11 +43,6 @@ export interface APIOptions {
42
43
  * @default false
43
44
  */
44
45
  shouldParseServerErrorForUnauthorizedUser?: boolean;
45
- /**
46
- * @default false
47
- * @description - If true, will override the default host (orchestrator or whatever defined initially in CoreAPI constructor) with the `proxy` host
48
- */
49
- isProxyHost?: boolean;
50
46
  }
51
47
  export interface OptionType<T = string, K = string> {
52
48
  value: T;
@@ -939,59 +935,4 @@ export interface ClusterEnvironmentCategoryDTO {
939
935
  }
940
936
  export interface ClusterEnvironmentCategoryType extends ClusterEnvironmentCategoryDTO {
941
937
  }
942
- export type AppsGroupedByProjectsType = {
943
- projectId: number;
944
- projectName: string;
945
- appList: {
946
- name: string;
947
- id: number;
948
- }[];
949
- }[];
950
- export type EnvironmentsGroupedByClustersType = {
951
- clusterName: EnvironmentType['cluster'];
952
- envList: EnvironmentType[];
953
- }[];
954
- export type ClusterCostModuleConfigPayload = {
955
- enabled: true;
956
- config?: Record<string, any> & {
957
- detectedProvider: ClusterProviderType;
958
- };
959
- } | {
960
- enabled: false;
961
- config?: never;
962
- };
963
- interface ClusterCostModuleDetailsDTO extends Pick<ClusterCostModuleConfigPayload, 'enabled' | 'config'> {
964
- installationStatus: 'Success' | 'Installing' | 'Upgrading' | 'NotInstalled' | 'Failed';
965
- installationError?: string;
966
- }
967
- export interface ClusterDetailDTO {
968
- category: ClusterEnvironmentCategoryType;
969
- cluster_name: string;
970
- description: string;
971
- id: number;
972
- insecureSkipTlsVerify: boolean;
973
- installationId: number;
974
- isProd: boolean;
975
- isVirtualCluster: boolean;
976
- server_url: string;
977
- sshTunnelConfig: any;
978
- prometheus_url: string;
979
- proxyUrl: string;
980
- toConnectWithSSHTunnel: boolean;
981
- clusterStatus: ClusterStatusType;
982
- costModuleConfig: ClusterCostModuleDetailsDTO;
983
- }
984
- export interface ClusterDetailListType extends Omit<ClusterDetailDTO, 'server_url' | 'cluster_name' | 'prometheus_url' | 'id' | 'category' | 'clusterStatus'> {
985
- serverUrl: ClusterDetailDTO['server_url'];
986
- clusterName: ClusterDetailDTO['cluster_name'];
987
- prometheusUrl: ClusterDetailDTO['prometheus_url'];
988
- clusterId: ClusterDetailDTO['id'];
989
- category: SelectPickerOptionType;
990
- status: ClusterStatusType;
991
- }
992
- export declare enum InfrastructureManagementAppListType {
993
- HELM = "helm",
994
- ARGO_CD = "argocd",
995
- FLUX_CD = "fluxcd"
996
- }
997
938
  export {};
@@ -2,7 +2,6 @@ export * from './AddCDButton';
2
2
  export * from './API';
3
3
  export { BreadCrumb, useBreadcrumb } from './BreadCrumb/BreadCrumb';
4
4
  export { default as BreadcrumbStore, BreadcrumbText } from './BreadCrumb/BreadcrumbStore';
5
- export { NestedBreadCrumb } from './BreadCrumb/NestedBreadCrumb';
6
5
  export { default as ChartVersionAndTypeSelector } from './ChartVersionAndTypeSelector';
7
6
  export * from './Checkbox';
8
7
  export * from './CIPipeline.Types';
@@ -37,6 +36,7 @@ export * from './Policy.Types';
37
36
  export { default as PopupMenu } from './PopupMenu';
38
37
  export * from './Progressing';
39
38
  export { default as RadioGroup } from './RadioGroup';
39
+ export { default as StyledRadioGroup } from './RadioGroup/RadioGroup';
40
40
  export { default as RadioGroupItem } from './RadioGroupItem';
41
41
  export { default as Reload } from './Reload';
42
42
  export * from './RJSF';
@@ -1,3 +1,3 @@
1
1
  import { BuildInfraDescriptorProps } from './types';
2
- declare const Descriptor: ({ additionalContainerClasses, children, tooltipNode, tippyInfoText, tippyAdditionalContent, tooltipHeading, profileName, }: BuildInfraDescriptorProps) => JSX.Element;
2
+ declare const Descriptor: ({ additionalContainerClasses, breadCrumbs, children, tippyInfoText, tippyAdditionalContent, tooltipNode, tooltipHeading, }: BuildInfraDescriptorProps) => JSX.Element;
3
3
  export default Descriptor;
@@ -1,3 +1,4 @@
1
+ import { UseBreadcrumbProps } from '../../../Common/BreadCrumb/Types';
1
2
  import { CMSecretComponentType } from '../../../Shared/Services';
2
3
  import { BuildInfraAPIVersionType, BuildInfraConfigTypes, BuildInfraFormFieldType, BuildInfraInheritActionsOnSubValues, BuildInfraLocators, BuildInfraMetaConfigTypes, BuildInfraToleranceEffectType, BuildInfraToleranceOperatorType, HandleProfileInputChangeType, InfraConfigWithSubValues, ProfileInputErrorType, RequestLimitConfigType, TargetPlatformErrorFields, ValidateRequestLimitType } from './types';
3
4
  export declare const BUILD_INFRA_INPUT_CONSTRAINTS: {
@@ -36,6 +37,7 @@ export declare const BUILD_INFRA_TEXT: {
36
37
  };
37
38
  readonly INVALID_FORM_MESSAGE: "Valid input is required for all mandatory fields.";
38
39
  };
40
+ export declare const BUILD_INFRA_BREADCRUMB: UseBreadcrumbProps;
39
41
  export declare const BUILD_INFRA_LOCATOR_MARKER_MAP: Readonly<Record<BuildInfraLocators, BuildInfraFormFieldType['marker']>>;
40
42
  export declare const BUILD_INFRA_LOCATOR_LABEL_MAP: Readonly<Record<BuildInfraLocators, string>>;
41
43
  export declare const BUILD_INFRA_FORM_FIELDS: Readonly<BuildInfraFormFieldType[]>;
@@ -1,6 +1,7 @@
1
1
  import { FormEvent, FunctionComponent, ReactNode, SyntheticEvent } from 'react';
2
2
  import { BUILD_INFRA_INHERIT_ACTIONS, useBuildInfraForm } from '../../index';
3
3
  import { ServerErrors } from '../../../Common';
4
+ import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
4
5
  import { CMSecretComponentType, CMSecretConfigData, CMSecretPayloadType, ConfigMapSecretUseFormProps, getUniqueId, useForm, ValidationResponseType } from '../../../Shared';
5
6
  /**
6
7
  * Unique actions that will be dispatched and,
@@ -42,28 +43,21 @@ export declare enum BuildInfraProfileVariants {
42
43
  NORMAL = "NORMAL",
43
44
  CUSTOM = "CUSTOM"
44
45
  }
45
- export type BuildInfraDescriptorProps = {
46
+ export interface BuildInfraDescriptorProps {
46
47
  /**
47
48
  * In case we want to restrict the max-width
48
49
  */
49
50
  additionalContainerClasses?: string;
51
+ breadCrumbs: Breadcrumb[];
50
52
  /**
51
53
  * Would stick at right of div
52
54
  */
53
55
  children?: ReactNode;
54
- } & ({
55
- tooltipNode: ReactNode;
56
- tippyInfoText?: never;
57
- tooltipHeading?: never;
58
- tippyAdditionalContent?: never;
59
- profileName?: never;
60
- } | {
61
- tooltipNode?: never;
62
- tippyInfoText: string;
63
- tooltipHeading?: string;
56
+ tippyInfoText?: string;
64
57
  tippyAdditionalContent?: ReactNode;
65
- profileName?: string;
66
- });
58
+ tooltipNode?: ReactNode;
59
+ tooltipHeading?: string;
60
+ }
67
61
  export type NumericBuildInfraConfigTypes = Extract<BuildInfraConfigTypes, BuildInfraConfigTypes.BUILD_TIMEOUT | BuildInfraConfigTypes.CPU_LIMIT | BuildInfraConfigTypes.CPU_REQUEST | BuildInfraConfigTypes.MEMORY_LIMIT | BuildInfraConfigTypes.MEMORY_REQUEST>;
68
62
  export interface BuildInfraActionType {
69
63
  /**
@@ -1 +1 @@
1
- export { default as VirtualClusterSidebar } from './VirtualClusterSidebar';
1
+ export type { NewClusterFormFooterProps, NewClusterFormProps } from './types';
@@ -0,0 +1,8 @@
1
+ export interface NewClusterFormFooterProps {
2
+ apiCallInProgress: boolean;
3
+ handleModalClose: () => void;
4
+ closeButtonText?: string;
5
+ }
6
+ export interface NewClusterFormProps extends Pick<NewClusterFormFooterProps, 'handleModalClose'> {
7
+ FooterComponent: React.FunctionComponent<NewClusterFormFooterProps> & Record<'CTA' | 'Start', React.FunctionComponent<{}>>;
8
+ }
@@ -1,5 +1,4 @@
1
- import { RefObject } from 'react';
2
- import { FiltersTypeEnum, TableViewWrapperProps } from '../../Shared/Components';
1
+ import { ReactNode, RefObject } from 'react';
3
2
  import { Nodes, NodeType } from '../../Shared/types';
4
3
  export interface GVKType {
5
4
  Group: string;
@@ -137,7 +136,8 @@ export interface GVKOptionValueType {
137
136
  kind: string;
138
137
  apiVersion: string;
139
138
  }
140
- export interface ResourceRecommenderActionMenuProps extends Pick<TableViewWrapperProps<K8sResourceDetailDataType, FiltersTypeEnum.URL>, 'filteredRows'> {
139
+ export interface ResourceRecommenderActionMenuProps {
140
+ children: ReactNode;
141
141
  lastScannedOn: string;
142
142
  }
143
143
  export {};
@@ -53,13 +53,13 @@ export declare const NODE_DRAIN_OPTIONS_CHECKBOX_CONFIG: {
53
53
  export declare const GVK_FILTER_KIND_QUERY_PARAM_KEY = "gvkFilterKind";
54
54
  export declare const GVK_FILTER_API_VERSION_QUERY_PARAM_KEY = "gvkFilterApiVersion";
55
55
  export declare const RESOURCE_BROWSER_ROUTES: {
56
- readonly OVERVIEW: "/infrastructure-management/resource-browser/:clusterId/overview";
57
- readonly MONITORING_DASHBOARD: "/infrastructure-management/resource-browser/:clusterId/monitoring-dashboard";
58
- readonly TERMINAL: "/infrastructure-management/resource-browser/:clusterId/terminal";
59
- readonly CLUSTER_UPGRADE: "/infrastructure-management/resource-browser/:clusterId/cluster-upgrade";
60
- readonly NODE_DETAIL: "/infrastructure-management/resource-browser/:clusterId/node/detail/:name";
61
- readonly K8S_RESOURCE_DETAIL: "/infrastructure-management/resource-browser/:clusterId/:namespace/:kind/:group/:name";
62
- readonly K8S_RESOURCE_LIST: "/infrastructure-management/resource-browser/:clusterId/:kind/:group";
63
- readonly RESOURCE_RECOMMENDER: "/infrastructure-management/resource-browser/:clusterId/resource-recommender";
56
+ readonly OVERVIEW: "/resource-browser/:clusterId/overview";
57
+ readonly MONITORING_DASHBOARD: "/resource-browser/:clusterId/monitoring-dashboard";
58
+ readonly TERMINAL: "/resource-browser/:clusterId/terminal";
59
+ readonly CLUSTER_UPGRADE: "/resource-browser/:clusterId/cluster-upgrade";
60
+ readonly NODE_DETAIL: "/resource-browser/:clusterId/node/detail/:name";
61
+ readonly K8S_RESOURCE_DETAIL: "/resource-browser/:clusterId/:namespace/:kind/:group/:name";
62
+ readonly K8S_RESOURCE_LIST: "/resource-browser/:clusterId/:kind/:group";
63
+ readonly RESOURCE_RECOMMENDER: "/resource-browser/:clusterId/resource-recommender";
64
64
  };
65
65
  export declare const K8S_EMPTY_GROUP = "k8sEmptyGroup";
@@ -5,8 +5,7 @@ import { NodeActionRequest } from './ResourceBrowser.Types';
5
5
  export declare enum ClusterFiltersType {
6
6
  ALL_CLUSTERS = "all",
7
7
  HEALTHY = "healthy",
8
- UNHEALTHY = "unhealthy",
9
- CONNECTION_FAILED = "connectionFailed"
8
+ UNHEALTHY = "unhealthy"
10
9
  }
11
10
  export declare enum InstallationClusterStatus {
12
11
  Creating = "Creating",
@@ -37,9 +37,6 @@ export type ActionMenuItemType<T extends string | number = string | number> = Om
37
37
  startIcon?: ActionMenuItemIconType;
38
38
  /** Defines the item to be displayed at the end of the menu item. */
39
39
  trailingItem?: TrailingItemType;
40
- /** Prevents the menu from closing when the item is clicked. */
41
- doNotCloseMenuOnClick?: boolean;
42
- dataAttributesId?: number;
43
40
  } & ConditionalActionMenuComponentType;
44
41
  export type ActionMenuOptionType<T extends string | number> = {
45
42
  /**