@devtron-labs/devtron-fe-common-lib 1.20.5-pre-6 → 1.20.5-pre-8

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 (166) hide show
  1. package/dist/{@code-editor-BX0ncFEa.js → @code-editor-Bg-AwZAt.js} +9680 -11225
  2. package/dist/{@common-rjsf-DkWOuVME.js → @common-rjsf-DOxR7tJ7.js} +30 -30
  3. package/dist/{@framer-motion-DMkBQPN0.js → @framer-motion-DZveCoIL.js} +90 -92
  4. package/dist/{@react-dates-BjZWpiVv.js → @react-dates-CZ1bNWJM.js} +1 -1
  5. package/dist/{@react-select-DtwlfcIG.js → @react-select-DS68hCUM.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-M81Af3Qs.js → @react-virtualized-sticky-tree-V-8klKy9.js} +1 -1
  7. package/dist/{@vendor-DceGoESd.js → @vendor-3ORIJA0h.js} +18073 -26322
  8. package/dist/Common/API/reactQueryHooks.d.ts +1 -1
  9. package/dist/Common/API/types.d.ts +1 -1
  10. package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +0 -1
  11. package/dist/Common/BreadCrumb/Types.d.ts +0 -15
  12. package/dist/Common/Common.service.d.ts +1 -4
  13. package/dist/Common/Constants.d.ts +14 -45
  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 +0 -2
  19. package/dist/Common/Types.d.ts +5 -55
  20. package/dist/Common/index.d.ts +0 -1
  21. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
  22. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +2 -0
  23. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +7 -13
  24. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -1
  25. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +8 -0
  26. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +3 -3
  27. package/dist/Pages/ResourceBrowser/constants.d.ts +8 -8
  28. package/dist/Shared/Components/ActionMenu/types.d.ts +0 -3
  29. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +1 -1
  30. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
  31. package/dist/Shared/Components/Backdrop/types.d.ts +1 -1
  32. package/dist/Shared/Components/Badge/utils.d.ts +1 -2
  33. package/dist/Shared/Components/ContextSwitcher/ContextSwitcher.d.ts +1 -1
  34. package/dist/Shared/Components/ContextSwitcher/types.d.ts +1 -0
  35. package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
  36. package/dist/Shared/Components/DTFocusTrap/types.d.ts +1 -2
  37. package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -1
  38. package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
  39. package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +1 -2
  40. package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +5 -21
  41. package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -1
  42. package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +3 -1
  43. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  44. package/dist/Shared/Components/Header/types.d.ts +0 -2
  45. package/dist/Shared/Components/Icon/Icon.d.ts +0 -32
  46. package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
  47. package/dist/Shared/Components/Icon/types.d.ts +0 -6
  48. package/dist/Shared/Components/Illustration/Illustration.d.ts +0 -1
  49. package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
  50. package/dist/Shared/Components/Table/types.d.ts +4 -6
  51. package/dist/Shared/Components/TrailingItem/types.d.ts +0 -4
  52. package/dist/Shared/Components/TreeView/TreeView.component.d.ts +1 -1
  53. package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +1 -1
  54. package/dist/Shared/Components/TreeView/constants.d.ts +0 -3
  55. package/dist/Shared/Components/TreeView/types.d.ts +3 -17
  56. package/dist/Shared/Components/index.d.ts +0 -6
  57. package/dist/Shared/Helpers.d.ts +0 -2
  58. package/dist/Shared/Hooks/useGetResourceKindsOptions/service.d.ts +5 -0
  59. package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +20 -5
  60. package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
  61. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -32
  62. package/dist/Shared/Providers/MainContextProvider/types.d.ts +0 -9
  63. package/dist/Shared/Services/common.service.d.ts +0 -2
  64. package/dist/Shared/Services/types.d.ts +0 -6
  65. package/dist/Shared/constants.d.ts +1 -2
  66. package/dist/Shared/types.d.ts +0 -20
  67. package/dist/assets/@code-editor.css +1 -1
  68. package/dist/assets/ic-gift-animated.9ca6ccb4.svg +38 -0
  69. package/dist/index.d.ts +0 -5
  70. package/dist/index.js +957 -1007
  71. package/package.json +1 -4
  72. package/dist/Common/BreadCrumb/NestedBreadCrumb.d.ts +0 -2
  73. package/dist/Common/SegmentedBarChart/utils.d.ts +0 -2
  74. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +0 -2
  75. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +0 -1
  76. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/index.d.ts +0 -2
  77. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/utils.d.ts +0 -11
  78. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +0 -1
  79. package/dist/Pages-Devtron-2.0/ApplicationManagement/index.d.ts +0 -1
  80. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/Overview.d.ts +0 -1
  81. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/index.d.ts +0 -1
  82. package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +0 -1
  83. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +0 -1
  84. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/index.d.ts +0 -1
  85. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/constants.d.ts +0 -4
  86. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +0 -2
  87. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +0 -31
  88. package/dist/Pages-Devtron-2.0/CostVisibility/index.d.ts +0 -1
  89. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +0 -1
  90. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/index.d.ts +0 -1
  91. package/dist/Pages-Devtron-2.0/GlobalConfiguration/index.d.ts +0 -1
  92. package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +0 -1
  93. package/dist/Pages-Devtron-2.0/GlobalOverview/index.d.ts +0 -1
  94. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Overview/Overview.d.ts +0 -1
  95. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Overview/index.d.ts +0 -1
  96. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +0 -1
  97. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/index.d.ts +0 -2
  98. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +0 -6
  99. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +0 -1
  100. package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +0 -2
  101. package/dist/Pages-Devtron-2.0/InfrastructureManagement/utils.d.ts +0 -11
  102. package/dist/Pages-Devtron-2.0/SecurityCenter/Overview/Overview.d.ts +0 -1
  103. package/dist/Pages-Devtron-2.0/SecurityCenter/Overview/index.d.ts +0 -1
  104. package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +0 -1
  105. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +0 -1
  106. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/index.d.ts +0 -1
  107. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/index.d.ts +0 -1
  108. package/dist/Pages-Devtron-2.0/index.d.ts +0 -3
  109. package/dist/Shared/Components/Charts/Chart.component.d.ts +0 -102
  110. package/dist/Shared/Components/Charts/constants.d.ts +0 -8
  111. package/dist/Shared/Components/Charts/index.d.ts +0 -4
  112. package/dist/Shared/Components/Charts/plugins.d.ts +0 -4
  113. package/dist/Shared/Components/Charts/types.d.ts +0 -110
  114. package/dist/Shared/Components/Charts/utils.d.ts +0 -70
  115. package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +0 -3
  116. package/dist/Shared/Components/ClusterStatusIcon/index.d.ts +0 -1
  117. package/dist/Shared/Components/ClusterStatusIcon/types.d.ts +0 -5
  118. package/dist/Shared/Components/ClusterStatusIcon/utils.d.ts +0 -2
  119. package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +0 -3
  120. package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +0 -3
  121. package/dist/Shared/Components/ExportToCsv/index.d.ts +0 -2
  122. package/dist/Shared/Components/ExportToCsv/types.d.ts +0 -64
  123. package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +0 -3
  124. package/dist/Shared/Components/KeyboardShortcut/constants.d.ts +0 -3
  125. package/dist/Shared/Components/KeyboardShortcut/index.d.ts +0 -1
  126. package/dist/Shared/Components/KeyboardShortcut/types.d.ts +0 -4
  127. package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +0 -3
  128. package/dist/Shared/Components/PrometheusConfigurations/index.d.ts +0 -2
  129. package/dist/Shared/Components/PrometheusConfigurations/types.d.ts +0 -20
  130. package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +0 -2
  131. package/dist/Shared/Components/SideNavigation/index.d.ts +0 -2
  132. package/dist/Shared/Components/SideNavigation/types.d.ts +0 -19
  133. package/dist/assets/ic-alibaba.518d61a4.svg +0 -3
  134. package/dist/assets/ic-argocd-app.9c5eba79.svg +0 -61
  135. package/dist/assets/ic-arrow-line-down.b6a98848.svg +0 -3
  136. package/dist/assets/ic-aws.b094356f.svg +0 -11
  137. package/dist/assets/ic-bg-build.8609d0ea.svg +0 -13
  138. package/dist/assets/ic-bg-deploy.266711fe.svg +0 -22
  139. package/dist/assets/ic-bg-production-pipelines.2951cdc0.svg +0 -22
  140. package/dist/assets/ic-bg-project.84658405.svg +0 -12
  141. package/dist/assets/ic-bg-scan.2249360c.svg +0 -28
  142. package/dist/assets/ic-bg-webhook.b455152d.svg +0 -13
  143. package/dist/assets/ic-bot.65f403dd.svg +0 -3
  144. package/dist/assets/ic-building.2405d07b.svg +0 -3
  145. package/dist/assets/ic-clipboard.2869fa7d.svg +0 -3
  146. package/dist/assets/ic-clock-counterclockwise.3d7c2ef1.svg +0 -3
  147. package/dist/assets/ic-cloud.aa7acc8a.svg +0 -3
  148. package/dist/assets/ic-coins.2c15f406.svg +0 -3
  149. package/dist/assets/ic-database-backup.b9e7c558.svg +0 -3
  150. package/dist/assets/ic-devtron-text.67a413b6.svg +0 -3
  151. package/dist/assets/ic-edit-lines.57927b07.svg +0 -3
  152. package/dist/assets/ic-file-download.ca57c068.svg +0 -5
  153. package/dist/assets/ic-files-changed.04e6de3f.svg +0 -3
  154. package/dist/assets/ic-floppy-disk.6d392bcd.svg +0 -3
  155. package/dist/assets/ic-fluxcd-app.7bf7dce5.svg +0 -22
  156. package/dist/assets/ic-gift-animated.d848dfa3.svg +0 -1
  157. package/dist/assets/ic-google-cloud.a0198038.svg +0 -6
  158. package/dist/assets/ic-kubernetes.7e04c3d2.svg +0 -4
  159. package/dist/assets/ic-magic-wand.2c29cd4e.svg +0 -10
  160. package/dist/assets/ic-oracle-cloud.5a8ee45d.svg +0 -3
  161. package/dist/assets/ic-otc-cloud.43b31bd8.svg +0 -5
  162. package/dist/assets/ic-priority-medium-fill.7bab0ff8.svg +0 -4
  163. package/dist/assets/ic-right-panel-collapse.0ecf8ceb.svg +0 -3
  164. package/dist/assets/ic-symbol-greater-than.8f71342d.svg +0 -3
  165. package/dist/assets/ic-trend-up.5752ef30.svg +0 -3
  166. package/dist/assets/no-cluster-cost-enabled.038c73db.webp +0 -0
@@ -4,13 +4,10 @@ export declare const iconMap: {
4
4
  'ic-aborted': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
5
5
  'ic-activity': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
6
6
  'ic-add': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
7
- 'ic-alibaba': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
8
7
  'ic-amazon-eks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
9
8
  'ic-app-group': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
10
9
  'ic-app-template': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
11
- 'ic-argocd-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
12
10
  'ic-arrow-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
13
- 'ic-arrow-line-down': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
14
11
  'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
15
12
  'ic-arrow-square-out': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
16
13
  'ic-arrows-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -18,26 +15,17 @@ export declare const iconMap: {
18
15
  'ic-asterisk': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
19
16
  'ic-ather': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
20
17
  'ic-aws-codecommit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
21
- 'ic-aws': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
22
18
  'ic-azure-aks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
23
19
  'ic-azure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
24
- 'ic-bg-build': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
25
20
  'ic-bg-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
26
- 'ic-bg-deploy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
27
21
  'ic-bg-environment': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
28
- 'ic-bg-production-pipelines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
29
- 'ic-bg-project': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
30
- 'ic-bg-scan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
31
- 'ic-bg-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
32
22
  'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
33
23
  'ic-bitbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
34
24
  'ic-book-open': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
35
- 'ic-bot': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
36
25
  'ic-brain': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
37
26
  'ic-browser': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
38
27
  'ic-bug': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
39
28
  'ic-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
40
- 'ic-building': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
41
29
  'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
42
30
  'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
43
31
  'ic-card-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -54,17 +42,13 @@ export declare const iconMap: {
54
42
  'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
55
43
  'ic-circle-loader': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
56
44
  'ic-clean-brush': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
57
- 'ic-clipboard': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
58
- 'ic-clock-counterclockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
59
45
  'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
60
46
  'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
61
47
  'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
62
48
  'ic-cloud-vms': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
63
- 'ic-cloud': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
64
49
  'ic-cluster-isolated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
65
50
  'ic-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
66
51
  'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
67
- 'ic-coins': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
68
52
  'ic-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
69
53
  'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
70
54
  'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -72,7 +56,6 @@ export declare const iconMap: {
72
56
  'ic-cpu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
73
57
  'ic-crown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
74
58
  'ic-cube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
75
- 'ic-database-backup': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
76
59
  'ic-delete-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
77
60
  'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
78
61
  'ic-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -83,7 +66,6 @@ export declare const iconMap: {
83
66
  'ic-devtron-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
84
67
  'ic-devtron-header-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
85
68
  'ic-devtron-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
86
- 'ic-devtron-text': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
87
69
  'ic-devtron': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
88
70
  'ic-diff-added': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
89
71
  'ic-diff-deleted': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -93,7 +75,6 @@ export declare const iconMap: {
93
75
  'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
94
76
  'ic-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
95
77
  'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
96
- 'ic-edit-lines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
97
78
  'ic-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
98
79
  'ic-email': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
99
80
  'ic-enterprise-feat': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -107,17 +88,13 @@ export declare const iconMap: {
107
88
  'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
108
89
  'ic-fast-forward': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
109
90
  'ic-file-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
110
- 'ic-file-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
111
91
  'ic-file-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
112
92
  'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
113
93
  'ic-file': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
114
- 'ic-files-changed': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
115
94
  'ic-files': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
116
95
  'ic-filter-applied': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
117
96
  'ic-filter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
118
97
  'ic-flask': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
119
- 'ic-floppy-disk': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
120
- 'ic-fluxcd-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
121
98
  'ic-folder-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
122
99
  'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
123
100
  'ic-folder': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -131,7 +108,6 @@ export declare const iconMap: {
131
108
  'ic-github': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
132
109
  'ic-gitlab': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
133
110
  'ic-google-artifact-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
134
- 'ic-google-cloud': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
135
111
  'ic-google-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
136
112
  'ic-google-gke': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
137
113
  'ic-google': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -160,7 +136,6 @@ export declare const iconMap: {
160
136
  'ic-key-enter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
161
137
  'ic-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
162
138
  'ic-kind': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
163
- 'ic-kubernetes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
164
139
  'ic-laptop': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
165
140
  'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
166
141
  'ic-lego': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -173,7 +148,6 @@ export declare const iconMap: {
173
148
  'ic-locked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
174
149
  'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
175
150
  'ic-logs': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
176
- 'ic-magic-wand': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
177
151
  'ic-magnifying-glass': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
178
152
  'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
179
153
  'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -195,8 +169,6 @@ export declare const iconMap: {
195
169
  'ic-open-in-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
196
170
  'ic-openai': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
197
171
  'ic-openshift': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
198
- 'ic-oracle-cloud': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
199
- 'ic-otc-cloud': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
200
172
  'ic-out-of-sync': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
201
173
  'ic-paper-plane-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
202
174
  'ic-paper-plane': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -204,12 +176,10 @@ export declare const iconMap: {
204
176
  'ic-pause-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
205
177
  'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
206
178
  'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
207
- 'ic-priority-medium-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
208
179
  'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
209
180
  'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
210
181
  'ic-ratings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
211
182
  'ic-resize-handle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
212
- 'ic-right-panel-collapse': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
213
183
  'ic-rocket-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
214
184
  'ic-rocket-launch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
215
185
  'ic-selected': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -240,7 +210,6 @@ export declare const iconMap: {
240
210
  'ic-success': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
241
211
  'ic-sun': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
242
212
  'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
243
- 'ic-symbol-greater-than': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
244
213
  'ic-tag': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
245
214
  'ic-tata1mg': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
246
215
  'ic-terminal-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -252,7 +221,6 @@ export declare const iconMap: {
252
221
  'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
253
222
  'ic-traffic-signal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
254
223
  'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
255
- 'ic-trend-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
256
224
  'ic-two-cubes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
257
225
  'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
258
226
  'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -1,2 +1,2 @@
1
1
  import { IconBaseProps } from './types';
2
- export declare const IconBase: ({ name, iconMap, size, tooltipProps, color, dataTestId, rotateBy, fillSpace, flip, }: IconBaseProps) => JSX.Element;
2
+ export declare const IconBase: ({ name, iconMap, size, tooltipProps, color, dataTestId, rotateBy, fillSpace, }: IconBaseProps) => JSX.Element;
@@ -38,12 +38,6 @@ export interface IconBaseProps {
38
38
  * @example 90, 180, 270
39
39
  */
40
40
  rotateBy?: number;
41
- /**
42
- * Flips the icon in the specified direction
43
- *
44
- * @default undefined
45
- */
46
- flip?: 'horizontal' | 'vertical';
47
41
  /**
48
42
  * If true, the icon will expand to fill the available space of its container.
49
43
  */
@@ -5,7 +5,6 @@ export declare const illustrationMap: {
5
5
  'img-devtron-freemium': string;
6
6
  'img-man-on-rocket': string;
7
7
  'img-no-result': string;
8
- 'no-cluster-cost-enabled': string;
9
8
  };
10
9
  export type IllustrationName = keyof typeof illustrationMap;
11
10
  export interface IllustrationProps extends Omit<IllustrationBaseProps, 'name' | 'illustrationMap'> {
@@ -1,3 +1,3 @@
1
1
  import { FiltersTypeEnum, InternalTableProps } from './types';
2
- declare const InternalTable: <RowData extends unknown, FilterVariant extends FiltersTypeEnum, AdditionalProps extends Record<string, any>>({ filtersVariant, filterData, rows, getRows, columns, ViewWrapper, resizableConfig, emptyStateConfig, additionalProps, areColumnsConfigurable, filter, setVisibleColumns, visibleColumns, stylesConfig, loading, bulkSelectionConfig, bulkSelectionReturnValue, id, handleClearBulkSelection, handleToggleBulkSelectionOnRow, paginationVariant, RowActionsOnHoverComponent, pageSizeOptions, clearFilters: userGivenUrlClearFilters, }: InternalTableProps<RowData, FilterVariant, AdditionalProps>) => JSX.Element;
2
+ declare const InternalTable: <RowData extends unknown, FilterVariant extends FiltersTypeEnum, AdditionalProps extends Record<string, any>>({ filtersVariant, filterData, rows, getRows, columns, ViewWrapper, resizableConfig, emptyStateConfig, additionalProps, areColumnsConfigurable, filter, setVisibleColumns, visibleColumns, stylesConfig, loading, bulkSelectionConfig, bulkSelectionReturnValue, handleClearBulkSelection, handleToggleBulkSelectionOnRow, paginationVariant, RowActionsOnHoverComponent, pageSizeOptions, clearFilters: userGivenUrlClearFilters, }: InternalTableProps<RowData, FilterVariant, AdditionalProps>) => JSX.Element;
3
3
  export default InternalTable;
@@ -1,7 +1,7 @@
1
1
  import { Dispatch, FunctionComponent, MouseEvent, PropsWithChildren, SetStateAction } from 'react';
2
2
  import { GenericFilterEmptyStateProps } from '../../../Common/EmptyState/types';
3
3
  import { UseStateFiltersProps, UseStateFiltersReturnType, UseUrlFiltersProps, UseUrlFiltersReturnType } from '../../../Common/Hooks';
4
- import { GenericEmptyStateType } from '../../../Common/index';
4
+ import { APIOptions, GenericEmptyStateType } from '../../../Common/index';
5
5
  import { PageSizeOption } from '../../../Common/Pagination/types';
6
6
  import { SortableTableHeaderCellProps, useResizableTableConfig } from '../../../Common/SortableTableHeaderCell';
7
7
  import { useBulkSelection, UseBulkSelectionProps } from '../BulkSelection';
@@ -177,7 +177,7 @@ export type InternalTableProps<RowData extends unknown, FilterVariant extends Fi
177
177
  } | {
178
178
  rows?: never;
179
179
  /** NOTE: Sorting on frontend is only handled if rows is provided instead of getRows */
180
- getRows: (props: GetRowsProps, signal: AbortSignal) => Promise<{
180
+ getRows: (props: GetRowsProps, abortControllerRef: APIOptions['abortControllerRef']) => Promise<{
181
181
  rows: RowsType<RowData>;
182
182
  totalRows: number;
183
183
  }>;
@@ -206,11 +206,9 @@ export interface GetFilteringPromiseProps<RowData extends unknown> {
206
206
  searchSortTimeoutRef: React.MutableRefObject<number>;
207
207
  callback: () => Promise<RowsType<RowData>> | RowsType<RowData>;
208
208
  }
209
- export interface RowsResultType<RowData extends unknown> {
209
+ export interface TableContentProps<RowData extends unknown, FilterVariant extends FiltersTypeEnum, AdditionalProps extends Record<string, any>> extends Pick<InternalTableProps<RowData, FilterVariant, AdditionalProps>, 'filterData' | 'rows' | 'resizableConfig' | 'additionalProps' | 'visibleColumns' | 'stylesConfig' | 'loading' | 'bulkSelectionConfig' | 'bulkSelectionReturnValue' | 'handleClearBulkSelection' | 'handleToggleBulkSelectionOnRow' | 'paginationVariant' | 'RowActionsOnHoverComponent' | 'pageSizeOptions' | 'getRows'> {
210
210
  filteredRows: RowsType<RowData>;
211
- totalRows: number;
212
- }
213
- export interface TableContentProps<RowData extends unknown, FilterVariant extends FiltersTypeEnum, AdditionalProps extends Record<string, any>> extends Pick<InternalTableProps<RowData, FilterVariant, AdditionalProps>, 'filterData' | 'rows' | 'resizableConfig' | 'additionalProps' | 'visibleColumns' | 'stylesConfig' | 'loading' | 'bulkSelectionConfig' | 'bulkSelectionReturnValue' | 'handleClearBulkSelection' | 'handleToggleBulkSelectionOnRow' | 'paginationVariant' | 'RowActionsOnHoverComponent' | 'pageSizeOptions' | 'getRows'>, RowsResultType<RowData> {
214
211
  areFilteredRowsLoading: boolean;
212
+ totalRows: number;
215
213
  }
216
214
  export {};
@@ -1,6 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { OmitNever } from '../../types';
3
- import { ActionMenuProps } from '../ActionMenu';
4
3
  import { ButtonProps } from '../Button';
5
4
  import { IconsProps } from '../Icon';
6
5
  import { NumbersCountProps } from '../NumbersCount';
@@ -31,9 +30,6 @@ export type TrailingItemType = {
31
30
  config: OmitNever<Omit<Extract<ButtonProps, {
32
31
  icon: ReactElement;
33
32
  }>, 'size' | 'variant'>>;
34
- } | {
35
- type: 'action-menu';
36
- config: ActionMenuProps;
37
33
  };
38
34
  export type TrailingItemProps = TrailingItemType & {
39
35
  /**
@@ -1,3 +1,3 @@
1
1
  import { TreeViewProps } from './types';
2
- declare const TreeView: <DataAttributeType = null>({ nodes, isControlled, expandedMap: expandedMapProp, selectedId, onToggle: onToggleProp, onSelect, depth, mode, flatNodeList: flatNodeListProp, getUpdateItemsRefMap: getUpdateItemsRefMapProp, variant, defaultExpandedMap, highlightSelectedHeadingOnlyWhenCollapsed, useOverflowAuto, }: TreeViewProps<DataAttributeType>) => JSX.Element;
2
+ declare const TreeView: <DataAttributeType = null>({ nodes, isControlled, expandedMap: expandedMapProp, selectedId, onToggle: onToggleProp, onSelect, depth, mode, flatNodeList: flatNodeListProp, getUpdateItemsRefMap: getUpdateItemsRefMapProp, variant, defaultExpandedMap, }: TreeViewProps<DataAttributeType>) => JSX.Element;
3
3
  export default TreeView;
@@ -1,3 +1,3 @@
1
1
  import { TreeViewNodeContentProps } from './types';
2
- declare const TreeViewNodeContent: ({ startIconConfig, title, subtitle, type, customTooltipConfig, strikeThrough, isSelected, variant, }: TreeViewNodeContentProps) => JSX.Element;
2
+ declare const TreeViewNodeContent: ({ startIconConfig, title, subtitle, type, customTooltipConfig, strikeThrough, isSelected, }: TreeViewNodeContentProps) => JSX.Element;
3
3
  export default TreeViewNodeContent;
@@ -2,6 +2,3 @@ import { TreeViewProps } from './types';
2
2
  export declare const DEFAULT_NO_ITEMS_TEXT = "No items found";
3
3
  export declare const VARIANT_TO_BG_CLASS_MAP: Record<TreeViewProps['variant'], string>;
4
4
  export declare const VARIANT_TO_HOVER_CLASS_MAP: Record<TreeViewProps['variant'], string>;
5
- export declare const VARIANT_TO_SELECTED_CLASS_MAP: Record<TreeViewProps['variant'], string>;
6
- export declare const VARIANT_TO_TEXT_CLASS_MAP: Record<TreeViewProps['variant'], string>;
7
- export declare const VARIANT_TO_TREE_ITEM_ACTIVE_BG_CLASS_MAP: Record<TreeViewProps['variant'], string>;
@@ -96,11 +96,9 @@ export type TreeItem<DataAttributeType = null> = BaseNode<DataAttributeType> & {
96
96
  onClick?: (e: SyntheticEvent) => void;
97
97
  href?: never;
98
98
  clearQueryParamsOnNavigation?: never;
99
- activeClassName?: never;
100
99
  } | {
101
100
  as: 'link';
102
101
  href: string;
103
- activeClassName?: string;
104
102
  /**
105
103
  * The callback function to handle click events on the nav link.
106
104
  */
@@ -115,7 +113,6 @@ export type TreeItem<DataAttributeType = null> = BaseNode<DataAttributeType> & {
115
113
  href?: never;
116
114
  onClick?: never;
117
115
  clearQueryParamsOnNavigation?: never;
118
- activeClassName?: never;
119
116
  });
120
117
  /**
121
118
  * Props for the TreeView component.
@@ -154,25 +151,14 @@ export type TreeViewProps<DataAttributeType = null> = {
154
151
  */
155
152
  mode?: 'navigation' | 'form';
156
153
  /**
157
- * If primary the background color will be bg__primary and bg__hover--opaque \
158
- * if secondary the background color will be bg__secondary bg__hover-secondary--opaque,
159
- * if sidenav the background color will be bg__transparent bg__hover-sidebar-item.
154
+ * If primary the background color will be bg__primary and bg__hover--opaque, if secondary the background color will be bg__secondary bg__hover-secondary--opaque.
160
155
  * @default 'primary'
161
156
  */
162
- variant?: 'primary' | 'secondary' | 'sidenav';
157
+ variant?: 'primary' | 'secondary';
163
158
  /**
164
159
  * @default {}
165
160
  */
166
161
  defaultExpandedMap?: Record<string, boolean>;
167
- /**
168
- * When true, the selected heading (`selectedId`) will be highlighted only when it is collapsed.
169
- * @default false
170
- */
171
- highlightSelectedHeadingOnlyWhenCollapsed?: boolean;
172
- /**
173
- * @default true
174
- */
175
- useOverflowAuto?: boolean;
176
162
  } /**
177
163
  * WARNING: For internal use only.
178
164
  */ & ({
@@ -202,7 +188,7 @@ export type TreeViewProps<DataAttributeType = null> = {
202
188
  expandedMap?: never;
203
189
  isControlled?: false;
204
190
  });
205
- export interface TreeViewNodeContentProps extends Pick<BaseNode, 'startIconConfig' | 'title' | 'subtitle' | 'customTooltipConfig' | 'strikeThrough'>, Required<Pick<TreeViewProps, 'variant'>> {
191
+ export interface TreeViewNodeContentProps extends Pick<BaseNode, 'startIconConfig' | 'title' | 'subtitle' | 'customTooltipConfig' | 'strikeThrough'> {
206
192
  type: 'heading' | 'item';
207
193
  isSelected: boolean;
208
194
  }
@@ -13,10 +13,8 @@ export * from './BulkSelection';
13
13
  export * from './Button';
14
14
  export * from './ButtonWithLoader';
15
15
  export * from './ButtonWithSelector';
16
- export * from './Charts';
17
16
  export * from './Chip';
18
17
  export * from './CICDHistory';
19
- export * from './ClusterStatusIcon';
20
18
  export * from './CMCS';
21
19
  export * from './CodeEditor';
22
20
  export * from './Collapse';
@@ -38,7 +36,6 @@ export * from './EditImageFormField';
38
36
  export * from './EnvironmentSelector';
39
37
  export * from './Error';
40
38
  export * from './ExcludedImageNode';
41
- export * from './ExportToCsv';
42
39
  export * from './FeatureDescription';
43
40
  export * from './FileUpload';
44
41
  export * from './FilterChips';
@@ -62,7 +59,6 @@ export * from './ImageWithFallback';
62
59
  export * from './InfoBlock';
63
60
  export * from './InfoIconTippy';
64
61
  export * from './InvalidYAMLTippy';
65
- export * from './KeyboardShortcut';
66
62
  export * from './KeyValueTable';
67
63
  export * from './License';
68
64
  export { default as LoadingCard } from './LoadingCard';
@@ -75,7 +71,6 @@ export * from './Plugin';
75
71
  export * from './Popover';
76
72
  export * from './PortalContainer';
77
73
  export * from './ProgressBar';
78
- export * from './PrometheusConfigurations';
79
74
  export { default as QRCode } from './QRCode';
80
75
  export * from './ReactSelect';
81
76
  export * from './RegistryIcon';
@@ -83,7 +78,6 @@ export * from './ScannedByToolModal';
83
78
  export * from './Security';
84
79
  export * from './SelectPicker';
85
80
  export * from './ShowMoreText';
86
- export * from './SideNavigation';
87
81
  export * from './SSOProviderIcon';
88
82
  export * from './StatusComponent';
89
83
  export * from './Switch';
@@ -103,6 +103,4 @@ export declare const clearCookieOnLogout: () => void;
103
103
  export declare const getAppDetailsURL: (appId: number | string, envId?: number | string) => string;
104
104
  export declare const smoothScrollToTop: (scrollContainer: HTMLElement, targetPosition: number) => import('framer-motion').AnimationPlaybackControls;
105
105
  export declare const getGroupVersionFromApiVersion: (apiVersion: string) => Pick<Node, "group" | "version">;
106
- export declare const YAMLtoJSON: (yamlString: string) => string;
107
- export declare const formatNumberToCurrency: (value: number, currency: string) => string;
108
106
  export {};
@@ -1,2 +1,7 @@
1
1
  import { Teams } from '../../../Common/Types';
2
+ import { ClusterType } from '../../Services';
3
+ import { AppsGroupedByProjectsType, EnvironmentsGroupedByClustersType } from './types';
4
+ export declare const getAppOptionsGroupedByProjects: () => Promise<AppsGroupedByProjectsType>;
2
5
  export declare const getProjectOptions: () => Promise<Pick<Teams, "id" | "name">[]>;
6
+ export declare const getClusterOptions: () => Promise<ClusterType[]>;
7
+ export declare const getEnvironmentOptionsGroupedByClusters: () => Promise<EnvironmentsGroupedByClustersType>;
@@ -1,9 +1,24 @@
1
- import { getAppOptionsGroupedByProjects } from '../../../Common/Common.service';
2
1
  import { ServerErrors } from '../../../Common/ServerError';
3
- import { EnvironmentsGroupedByClustersType } from '../../../Common/Types';
4
- import { getClusterOptions } from '../../index';
5
- import { ResourceKindType } from '../../types';
6
- import { getProjectOptions } from './service';
2
+ import { EnvironmentType, ResourceKindType } from '../../types';
3
+ import { getAppOptionsGroupedByProjects, getClusterOptions, getProjectOptions } from './service';
4
+ export interface AppType {
5
+ name: string;
6
+ }
7
+ export type AppsGroupedByProjectsType = {
8
+ projectId: number;
9
+ projectName: string;
10
+ appList: AppType[];
11
+ }[];
12
+ export type EnvironmentsGroupedByClustersType = {
13
+ clusterName: EnvironmentType['cluster'];
14
+ envList: EnvironmentType[];
15
+ }[];
16
+ export interface ClusterDTO {
17
+ id: number;
18
+ cluster_name: string;
19
+ isVirtualCluster: boolean;
20
+ isProd: boolean;
21
+ }
7
22
  export interface UseGetResourceKindsOptionsProps {
8
23
  resourcesToFetch: Extract<ResourceKindType, ResourceKindType.devtronApplication | ResourceKindType.project | ResourceKindType.cluster | ResourceKindType.environment>[];
9
24
  }
@@ -4,7 +4,7 @@ import { PreferredResourceKindType, UserPreferenceFilteredListTypes, UserPrefere
4
4
  * @description This function fetches the user preferences from the server. It uses the `get` method to make a request to the server and retrieves the user preferences based on the `USER_PREFERENCES_ATTRIBUTE_KEY`. The result is parsed and returned as a `UserPreferencesType` object.
5
5
  * @throws Will throw an error if the request fails or if the result is not in the expected format.
6
6
  */
7
- export declare const getUserPreferences: (signal?: AbortSignal) => Promise<UserPreferencesType>;
7
+ export declare const getUserPreferences: () => Promise<UserPreferencesType>;
8
8
  export declare const updateUserPreferences: ({ path, value, resourceKind, shouldThrowError, userPreferencesResponse, }: UserPreferenceResourceProps) => Promise<boolean>;
9
9
  /**
10
10
  * Optimized function to get updated user preferences with resource filtering
@@ -1,8 +1,6 @@
1
1
  import { USER_PREFERENCES_ATTRIBUTE_KEY } from './constants';
2
2
  import { AppThemeType, ThemeConfigType, ThemePreferenceType } from '../../Providers/ThemeProvider/types';
3
3
  import { ResourceKindType } from '../../types';
4
- export type NavigationItemID = 'application-management-overview' | 'application-management-applications' | 'application-management-application-groups' | 'application-management-chart-store' | 'application-management-bulk-edit' | 'application-management-application-templates' | 'application-management-projects' | 'application-management-configurations' | 'application-management-policies' | 'infrastructure-management-overview' | 'infrastructure-management-resource-browser' | 'infrastructure-management-resource-watcher' | 'infrastructure-management-catalog-framework' | 'software-release-management-overview' | 'software-release-management-release-hub' | 'software-release-management-tenants' | 'cost-visibility-overview' | 'cost-visibility-cost-breakdown' | 'cost-visibility-configurations' | 'security-center-overview' | 'security-center-security-scans' | 'security-center-security-policy' | 'automation-and-enablement-jobs' | 'automation-and-enablement-alerting' | 'automation-and-enablement-incident-response' | 'automation-and-enablement-api-portal' | 'automation-and-enablement-runbook-automation' | 'global-configuration-sso-login-services' | 'global-configuration-host-urls' | 'global-configuration-cluster-and-environments' | 'global-configuration-container-oci-registry' | 'global-configuration-authorization' | 'data-protection-overview' | 'data-protection-backup-and-schedule' | 'data-protection-restores' | 'data-protection-backup-repositories' | 'data-protection-backup-locations' | 'data-protection-history-and-logs' | 'ai-recommendations-overview';
5
- export type NavigationSubMenuItemID = 'application-management-configurations-gitops' | 'application-management-configurations-git-accounts' | 'application-management-configurations-external-links' | 'application-management-configurations-chart-repository' | 'application-management-configurations-deployment-charts' | 'application-management-configurations-notifications' | 'application-management-configurations-catalog-frameworks' | 'application-management-configurations-scoped-variables' | 'application-management-configurations-build-infra' | 'application-management-policies-deployment-window' | 'application-management-policies-approval-policy' | 'application-management-policies-plugin-policy' | 'application-management-policies-pull-image-digest' | 'application-management-policies-tag-policy' | 'application-management-policies-filter-conditions' | 'application-management-policies-image-promotion' | 'application-management-policies-lock-deployment-configuration' | 'cost-visibility-cost-breakdown-clusters' | 'cost-visibility-cost-breakdown-environments' | 'cost-visibility-cost-breakdown-projects' | 'cost-visibility-cost-breakdown-applications' | 'global-configuration-authorization-user-permissions' | 'global-configuration-authorization-permission-groups' | 'global-configuration-authorization-api-tokens';
6
4
  export interface GetUserPreferencesQueryParamsType {
7
5
  key: typeof USER_PREFERENCES_ATTRIBUTE_KEY;
8
6
  }
@@ -25,7 +23,6 @@ export interface UserResourceKindActionType {
25
23
  [UserPreferenceResourceActions.RECENTLY_VISITED]: BaseRecentlyVisitedEntitiesTypes[];
26
24
  }
27
25
  export type UserPreferenceResourceType = Partial<Record<PreferredResourceKindType, UserResourceKindActionType>>;
28
- export type CommandBarAdditionalItemsId = 'app-management-devtron-app-list' | 'app-management-helm-app-list' | 'app-management-flux-app-list' | 'app-management-argo-app-list' | `app-management-devtron-app-list-${number}` | 'search-app-list-view' | `chart-list-${number}` | 'search-chart-list-view' | `helm-app-list-${number}` | 'search-helm-app-list-view' | `cluster-list-${number}` | 'search-cluster-list-view';
29
26
  export interface GetUserPreferencesParsedDTO {
30
27
  viewPermittedEnvOnly?: boolean;
31
28
  /**
@@ -39,18 +36,13 @@ export interface GetUserPreferencesParsedDTO {
39
36
  *
40
37
  */
41
38
  resources?: UserPreferenceResourceType;
42
- commandBar: {
43
- recentNavigationActions: {
44
- id: NavigationItemID | NavigationSubMenuItemID | CommandBarAdditionalItemsId;
45
- }[];
46
- };
47
39
  }
48
40
  export interface UserPreferencesPayloadValueType extends GetUserPreferencesParsedDTO {
49
41
  }
50
42
  export interface UpdateUserPreferencesPayloadType extends Pick<GetUserPreferencesQueryParamsType, 'key'> {
51
43
  value: string;
52
44
  }
53
- export interface UserPreferencesType extends Pick<GetUserPreferencesParsedDTO, 'commandBar'> {
45
+ export interface UserPreferencesType {
54
46
  /**
55
47
  * Preferred theme for the user
56
48
  * If null, would forcibly show user theme switcher dialog for user to select
@@ -77,7 +69,7 @@ export interface UseUserPreferencesProps {
77
69
  migrateUserPreferences?: (userPreferencesResponse: UserPreferencesType) => Promise<UserPreferencesType>;
78
70
  recentlyVisitedFetchConfig?: RecentlyVisitedFetchConfigType;
79
71
  }
80
- type UserPathValueMapType = {
72
+ export type UserPathValueMapType = {
81
73
  path: 'themePreference';
82
74
  value: Required<Pick<UpdatedUserPreferencesType, 'themePreference' | 'appTheme'>>;
83
75
  resourceKind?: never;
@@ -92,28 +84,7 @@ type UserPathValueMapType = {
92
84
  value: Required<BaseRecentlyVisitedEntitiesTypes[]>;
93
85
  resourceKind: PreferredResourceKindType;
94
86
  userPreferencesResponse?: UserPreferencesType;
95
- } | {
96
- path: 'commandBar.recentNavigationActions';
97
- value: UserPreferencesType['commandBar']['recentNavigationActions'];
98
- resourceKind?: never;
99
- userPreferencesResponse?: never;
100
87
  };
101
- export type GetUserPreferencePayloadParams = {
102
- userPreferencesResponse: UserPreferencesType;
103
- resourceKind?: PreferredResourceKindType;
104
- } & ({
105
- path: 'themePreference';
106
- value: Required<Pick<UpdatedUserPreferencesType, 'themePreference' | 'appTheme'>>;
107
- } | {
108
- path: 'pipelineRBACViewSelectedTab';
109
- value: Required<Pick<UserPreferencesType, 'pipelineRBACViewSelectedTab'>>;
110
- } | {
111
- path: 'resources';
112
- value: Required<BaseRecentlyVisitedEntitiesTypes[]>;
113
- } | {
114
- path: 'commandBar.recentNavigationActions';
115
- value: UserPreferencesType['commandBar']['recentNavigationActions'];
116
- });
117
88
  export type UserPreferenceResourceProps = UserPathValueMapType & {
118
89
  shouldThrowError?: boolean;
119
90
  userPreferencesResponse?: UserPreferencesType;
@@ -121,4 +92,3 @@ export type UserPreferenceResourceProps = UserPathValueMapType & {
121
92
  export interface UserPreferenceFilteredListTypes extends UserPreferenceRecentlyVisitedAppsTypes {
122
93
  userPreferencesResponse?: UserPreferencesType;
123
94
  }
124
- export {};
@@ -21,7 +21,6 @@ export interface SidePanelConfig {
21
21
  reinitialize?: boolean;
22
22
  /** URL to documentation that should be displayed in the panel */
23
23
  docLink: string | null;
24
- aiSessionId?: string;
25
24
  }
26
25
  type AIAgentContextType = {
27
26
  path: string;
@@ -40,14 +39,6 @@ export interface TempAppWindowConfig {
40
39
  showOpenInNewTab?: boolean;
41
40
  /** React component to render in the window */
42
41
  component?: JSX.Element;
43
- customCloseConfig?: {
44
- /**
45
- * Provide this method if you want to do something before temp window closes
46
- * Provide noop if not relevant
47
- * */
48
- beforeClose: () => void;
49
- icon: JSX.Element;
50
- };
51
42
  }
52
43
  type CommonMainContextProps = {
53
44
  setServerMode: (serverMode: SERVER_MODE) => void;
@@ -1,8 +1,6 @@
1
1
  import { AppConfigProps } from '../../Pages/index';
2
- import { ClusterType } from '..';
3
2
  import { EnvironmentDataValuesDTO, GetPolicyApiUrlProps, GetResourceApiUrlProps } from './types';
4
3
  export declare const getResourceApiUrl: <T>({ baseUrl, kind, version, suffix, queryParams }: GetResourceApiUrlProps<T>) => string;
5
4
  export declare const getPolicyApiUrl: <T>({ kind, version, queryParams, suffix }: GetPolicyApiUrlProps<T>) => string;
6
5
  export declare const saveCDPipeline: (request: any, { isTemplateView }: Required<Pick<AppConfigProps, "isTemplateView">>) => Promise<import('../../Common').ResponseType<any>>;
7
6
  export declare const getEnvironmentData: () => Promise<import('../../Common').ResponseType<EnvironmentDataValuesDTO>>;
8
- export declare const getClusterOptions: () => Promise<ClusterType[]>;
@@ -40,10 +40,4 @@ export interface EnvironmentDataValuesDTO extends Pick<MainContext, 'featureGitO
40
40
  devtronManagedLicensingEnabled: boolean;
41
41
  isResourceRecommendationEnabled?: boolean;
42
42
  }
43
- export interface ClusterMinDTO {
44
- id: number;
45
- cluster_name: string;
46
- isVirtualCluster: boolean;
47
- isProd: boolean;
48
- }
49
43
  export {};
@@ -1,6 +1,6 @@
1
1
  import { DeploymentNodeType, OptionType } from '../Common/Types';
2
2
  import { InfoBlockProps } from './Components';
3
- import { CDMaterialSidebarType, ConfigKeysWithLockType, ConfigurationType, DeploymentStrategyTypeWithDefault, IconBaseColorType, RemoteConnectionType } from './types';
3
+ import { CDMaterialSidebarType, ConfigKeysWithLockType, ConfigurationType, DeploymentStrategyTypeWithDefault, IconBaseColorType } from './types';
4
4
  export declare const ARTIFACT_STATUS: {
5
5
  PROGRESSING: string;
6
6
  DEGRADED: string;
@@ -434,4 +434,3 @@ export declare const PROGRESSING_DEPLOYMENT_STATUS_POLLING_INTERVAL = 10000;
434
434
  export declare const STRATEGY_TYPE_TO_TITLE_MAP: Record<DeploymentStrategyTypeWithDefault, string>;
435
435
  export declare const CUBIC_BEZIER_CURVE: [number, number, number, number];
436
436
  export declare const ALLOW_ACTION_OUTSIDE_FOCUS_TRAP = "allow-action-outside-focus-trap";
437
- export declare const REMOTE_CONNECTION_TYPE_LABEL_MAP: Record<RemoteConnectionType, string>;
@@ -1114,24 +1114,4 @@ export interface PipelineDeploymentStrategy {
1114
1114
  strategies: Strategy[];
1115
1115
  error: ServerError;
1116
1116
  }
1117
- export declare enum RemoteConnectionType {
1118
- Direct = "DIRECT",
1119
- Proxy = "PROXY",
1120
- SSHTunnel = "SSH"
1121
- }
1122
- export declare enum AuthenticationType {
1123
- BASIC = "BASIC",
1124
- ANONYMOUS = "ANONYMOUS",
1125
- IAM = "IAM"
1126
- }
1127
- /**
1128
- * Makes all props in T optional and set to never when isLoading is true.
1129
- * Used for components with loading states.
1130
- * @example See usage in CostVisibility -> cards
1131
- */
1132
- export type PropsTypeWithIsLoading<T extends Record<string, any>> = (Partial<Record<keyof T, never>> & {
1133
- isLoading: true;
1134
- }) | ({
1135
- isLoading?: false;
1136
- } & T);
1137
1117
  export {};