@devtron-labs/devtron-fe-common-lib 1.18.1 → 1.19.0-pre-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 (318) hide show
  1. package/dist/{@code-editor-Cmi_dLiG.js → @code-editor-CIqjdv0K.js} +8481 -8036
  2. package/dist/{@common-rjsf-DTSwvp93.js → @common-rjsf-RBW8IyBR.js} +179 -173
  3. package/dist/{@framer-motion-j6RIjEIR.js → @framer-motion-DZveCoIL.js} +1 -1
  4. package/dist/{@react-dates-BVyHiOGU.js → @react-dates-CZ1bNWJM.js} +213 -213
  5. package/dist/{@react-select-BQNFZu0Y.js → @react-select-DS68hCUM.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-CuElh0mS.js → @react-virtualized-sticky-tree-V-8klKy9.js} +1 -1
  7. package/dist/{@vendor-DbxoIktR.js → @vendor-3ORIJA0h.js} +22139 -16828
  8. package/dist/Common/API/CoreAPI.d.ts +11 -0
  9. package/dist/Common/API/QueryClientProvider.d.ts +2 -0
  10. package/dist/Common/API/index.d.ts +2 -0
  11. package/dist/Common/API/reactQueryHooks.d.ts +6 -0
  12. package/dist/Common/Constants.d.ts +4 -2
  13. package/dist/Common/Drawer/Drawer.d.ts +3 -2
  14. package/dist/Common/ErrorPage.d.ts +1 -1
  15. package/dist/Common/ErrorScreenManager.d.ts +1 -1
  16. package/dist/Common/Helper.d.ts +1 -1
  17. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  18. package/dist/Common/Modals/Modal.d.ts +1 -2
  19. package/dist/Common/Modals/VisibleModal.d.ts +6 -8
  20. package/dist/Common/Modals/VisibleModal2.d.ts +4 -7
  21. package/dist/Common/RJSF/Form.d.ts +1 -1
  22. package/dist/Common/RJSF/utils.d.ts +1 -1
  23. package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
  24. package/dist/Common/SearchBar/types.d.ts +7 -0
  25. package/dist/Common/Types.d.ts +11 -3
  26. package/dist/Pages/BulkEdit/index.d.ts +1 -0
  27. package/dist/Pages/BulkEdit/types.d.ts +50 -0
  28. package/dist/Pages/ResourceBrowser/ClusterMap/ClusterMap.d.ts +2 -0
  29. package/dist/Pages/ResourceBrowser/ClusterMap/index.d.ts +1 -0
  30. package/dist/Pages/ResourceBrowser/ClusterMap/types.d.ts +27 -0
  31. package/dist/Pages/ResourceBrowser/ClusterMap/utils.d.ts +14 -0
  32. package/dist/Pages/ResourceBrowser/index.d.ts +1 -0
  33. package/dist/Pages/ResourceBrowser/types.d.ts +1 -1
  34. package/dist/Pages/index.d.ts +1 -0
  35. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +8 -8
  36. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
  37. package/dist/Shared/Components/Backdrop/types.d.ts +2 -10
  38. package/dist/Shared/Components/Button/Button.component.d.ts +80 -68
  39. package/dist/Shared/Components/Button/types.d.ts +4 -0
  40. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +1 -1
  41. package/dist/Shared/Components/Chip/Chip.component.d.ts +3 -0
  42. package/dist/Shared/Components/Chip/index.d.ts +2 -0
  43. package/dist/Shared/Components/Chip/types.d.ts +64 -0
  44. package/dist/Shared/Components/Chip/utils.d.ts +6 -0
  45. package/dist/Shared/Components/CodeEditor/utils.d.ts +1 -1
  46. package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +8 -0
  47. package/dist/Shared/Components/DTFocusTrap/index.d.ts +2 -0
  48. package/dist/Shared/Components/DTFocusTrap/types.d.ts +33 -0
  49. package/dist/Shared/Components/FilterChips/types.d.ts +2 -3
  50. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  51. package/dist/Shared/Components/Header/types.d.ts +2 -0
  52. package/dist/Shared/Components/Icon/Icon.d.ts +11 -0
  53. package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +1 -1
  54. package/dist/Shared/Components/MaterialHistory/types.d.ts +1 -2
  55. package/dist/Shared/Components/Popover/types.d.ts +4 -0
  56. package/dist/Shared/Components/Popover/usePopover.hook.d.ts +1 -1
  57. package/dist/Shared/Components/Popover/utils.d.ts +2 -2
  58. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
  59. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  60. package/dist/Shared/Components/SelectPicker/common.d.ts +2 -3
  61. package/dist/Shared/Components/SelectPicker/constants.d.ts +1 -0
  62. package/dist/Shared/Components/SelectPicker/type.d.ts +14 -3
  63. package/dist/Shared/Components/Table/types.d.ts +1 -0
  64. package/dist/Shared/Components/TempAppWindow/TempAppWindow.d.ts +1 -0
  65. package/dist/Shared/Components/TempAppWindow/index.d.ts +1 -0
  66. package/dist/Shared/Components/index.d.ts +2 -0
  67. package/dist/Shared/Helpers.d.ts +1 -2
  68. package/dist/Shared/Providers/MainContextProvider/index.d.ts +1 -1
  69. package/dist/Shared/Providers/MainContextProvider/types.d.ts +18 -0
  70. package/dist/Shared/Services/app.service.d.ts +3 -3
  71. package/dist/Shared/constants.d.ts +1 -0
  72. package/dist/Shared/types.d.ts +0 -4
  73. package/dist/assets/@code-editor.css +1 -1
  74. package/dist/assets/{ic-73strings.ed7da294.svg → ic-73strings.ccb245ec.svg} +16 -0
  75. package/dist/assets/ic-activity.63032a88.svg +19 -0
  76. package/dist/assets/ic-add.4cc5a045.svg +19 -0
  77. package/dist/assets/{ic-amazon-eks.13404569.svg → ic-amazon-eks.af616c23.svg} +16 -0
  78. package/dist/assets/{ic-apica.5a540546.svg → ic-apica.1c78c468.svg} +16 -0
  79. package/dist/assets/ic-arrow-clockwise.4cb9c9ac.svg +19 -0
  80. package/dist/assets/ic-arrow-square-out.c107c76c.svg +19 -0
  81. package/dist/assets/ic-arrows-clockwise.0f9d94ab.svg +19 -0
  82. package/dist/assets/ic-arrows-left-right.9c24874a.svg +19 -0
  83. package/dist/assets/ic-asterisk.d3efa9a5.svg +19 -0
  84. package/dist/assets/{ic-ather.39aed36c.svg → ic-ather.0d03ef3e.svg} +16 -0
  85. package/dist/assets/{ic-azure-aks.a9e437d5.svg → ic-azure-aks.0c74ac31.svg} +16 -0
  86. package/dist/assets/{ic-bg-cluster.9a4258b9.svg → ic-bg-cluster.71a7ecdf.svg} +16 -0
  87. package/dist/assets/ic-bg-environment.72d85c8c.svg +28 -0
  88. package/dist/assets/{ic-bharatpe.fc52fe6d.svg → ic-bharatpe.63831fdf.svg} +16 -0
  89. package/dist/assets/ic-book-open.9c048ee2.svg +19 -0
  90. package/dist/assets/{ic-brain.838491eb.svg → ic-brain.1a2bb48e.svg} +16 -0
  91. package/dist/assets/ic-bug.30e24a9b.svg +19 -0
  92. package/dist/assets/ic-caret-down-small.51947d9a.svg +19 -0
  93. package/dist/assets/ic-caret-left.603097a8.svg +19 -0
  94. package/dist/assets/ic-caret-right.f4dda7a7.svg +19 -0
  95. package/dist/assets/{ic-celebration.77350694.svg → ic-celebration.0f457baf.svg} +16 -0
  96. package/dist/assets/ic-chat-circle-dots.63f39467.svg +19 -0
  97. package/dist/assets/{ic-chat-circle-online.51348da5.svg → ic-chat-circle-online.cdf88c43.svg} +16 -0
  98. package/dist/assets/ic-check-all.1d8ce377.svg +21 -0
  99. package/dist/assets/ic-check-square.ba02d96e.svg +20 -0
  100. package/dist/assets/ic-check.ca1b4793.svg +19 -0
  101. package/dist/assets/ic-checkbox-selected-error.632a283d.svg +20 -0
  102. package/dist/assets/ic-checks.939fbbcf.svg +19 -0
  103. package/dist/assets/{ic-clean-brush.c21cbe1e.svg → ic-clean-brush.367a32fe.svg} +16 -0
  104. package/dist/assets/ic-close-large.ae3d6030.svg +19 -0
  105. package/dist/assets/{ic-cloud-vms.27ea954e.svg → ic-cloud-vms.ba70e78d.svg} +16 -0
  106. package/dist/assets/{ic-cluster-isolated.93f843b9.svg → ic-cluster-isolated.778a1ee2.svg} +16 -0
  107. package/dist/assets/ic-cluster.f688b9e5.svg +19 -0
  108. package/dist/assets/ic-container.13005c27.svg +19 -0
  109. package/dist/assets/{ic-cookr.d1510986.svg → ic-cookr.a317a655.svg} +16 -0
  110. package/dist/assets/ic-cpu.3024be12.svg +19 -0
  111. package/dist/assets/{ic-delete-dots.5380e0d0.svg → ic-delete-dots.9cebdcd9.svg} +16 -0
  112. package/dist/assets/ic-delete-lightning.e835c6e9.svg +19 -0
  113. package/dist/assets/{ic-delhivery.7b49a398.svg → ic-delhivery.c4fecf0f.svg} +16 -0
  114. package/dist/assets/{ic-deploy-color.73a8df48.svg → ic-deploy-color.c7a46837.svg} +16 -0
  115. package/dist/assets/{ic-deploy-sync.6b1cf1b1.svg → ic-deploy-sync.9a3e3c28.svg} +16 -0
  116. package/dist/assets/{ic-devtron-ai.535b45ec.svg → ic-devtron-ai.d17a01ed.svg} +16 -0
  117. package/dist/assets/{ic-devtron-header-logo.265be507.svg → ic-devtron-header-logo.e18ac7b6.svg} +16 -0
  118. package/dist/assets/{ic-devtron-job.1b216232.svg → ic-devtron-job.a40f06cf.svg} +16 -0
  119. package/dist/assets/{ic-devtron.aca6cbaa.svg → ic-devtron.87ead611.svg} +16 -0
  120. package/dist/assets/{ic-disconnect.2ad261fc.svg → ic-disconnect.bfd4ffb6.svg} +16 -0
  121. package/dist/assets/{ic-discord-fill.103b579a.svg → ic-discord-fill.16103b65.svg} +16 -0
  122. package/dist/assets/ic-download.b0685453.svg +19 -0
  123. package/dist/assets/ic-edit.b8b75800.svg +19 -0
  124. package/dist/assets/ic-email.5c944f9a.svg +19 -0
  125. package/dist/assets/ic-enterprise-feat.259c841f.svg +19 -0
  126. package/dist/assets/{ic-enterprise-tag.209dd129.svg → ic-enterprise-tag.345cda52.svg} +16 -0
  127. package/dist/assets/{ic-environment-isolated.b772ae9d.svg → ic-environment-isolated.c80b4a45.svg} +16 -0
  128. package/dist/assets/ic-expand-right-sm.dfe84ab6.svg +19 -0
  129. package/dist/assets/ic-expand-sm.e0adb3a7.svg +19 -0
  130. package/dist/assets/ic-fast-forward.5c56ed0e.svg +20 -0
  131. package/dist/assets/ic-file-code.96f8c5d8.svg +19 -0
  132. package/dist/assets/ic-file-edit.7dacd421.svg +19 -0
  133. package/dist/assets/ic-file-key.495ba0bb.svg +19 -0
  134. package/dist/assets/ic-file.187aaee4.svg +19 -0
  135. package/dist/assets/ic-files.877903d3.svg +19 -0
  136. package/dist/assets/ic-filter-applied.6541e03d.svg +20 -0
  137. package/dist/assets/ic-filter.eaefc78a.svg +19 -0
  138. package/dist/assets/ic-flask.962df7dd.svg +19 -0
  139. package/dist/assets/ic-folder-color.88ee985f.svg +22 -0
  140. package/dist/assets/{ic-folder-user.ff0670e8.svg → ic-folder-user.50e60be1.svg} +16 -0
  141. package/dist/assets/ic-folder.d5a0e01e.svg +19 -0
  142. package/dist/assets/ic-gavel.1799f199.svg +19 -0
  143. package/dist/assets/{ic-gift-gradient.7690a246.svg → ic-gift-gradient.581b1ac5.svg} +16 -0
  144. package/dist/assets/ic-gift.8ea07edc.svg +19 -0
  145. package/dist/assets/ic-git-branch.7be08881.svg +19 -0
  146. package/dist/assets/{ic-google-gke.07314724.svg → ic-google-gke.a28779b8.svg} +16 -0
  147. package/dist/assets/ic-group-filter-applied.2cdb11e7.svg +20 -0
  148. package/dist/assets/ic-group-filter.ed1869f5.svg +19 -0
  149. package/dist/assets/ic-hand-pointing.f0ed4e78.svg +20 -0
  150. package/dist/assets/{ic-helm-app.a20cfeb3.svg → ic-helm-app.089be06f.svg} +16 -0
  151. package/dist/assets/ic-help-filled.b7ae284e.svg +20 -0
  152. package/dist/assets/ic-hibernate-circle.8a400518.svg +19 -0
  153. package/dist/assets/{ic-info-filled-color.47953fcf.svg → ic-info-filled-color.7b8b860f.svg} +16 -0
  154. package/dist/assets/ic-install.631b7b46.svg +19 -0
  155. package/dist/assets/{ic-k3s.7f4bf72d.svg → ic-k3s.310882f4.svg} +16 -0
  156. package/dist/assets/ic-key-enter.1bcea42a.svg +19 -0
  157. package/dist/assets/ic-key.56432553.svg +19 -0
  158. package/dist/assets/{ic-kind.bd8ee992.svg → ic-kind.5d844446.svg} +16 -0
  159. package/dist/assets/ic-laptop.06834890.svg +19 -0
  160. package/dist/assets/ic-lego.ae684d25.svg +19 -0
  161. package/dist/assets/{ic-lightning-fill.25ce980f.svg → ic-lightning-fill.83a792be.svg} +16 -0
  162. package/dist/assets/ic-lightning.f4ff5588.svg +19 -0
  163. package/dist/assets/ic-link.8b276915.svg +19 -0
  164. package/dist/assets/{ic-linked-build-color.d1df5ce1.svg → ic-linked-build-color.3833bda8.svg} +16 -0
  165. package/dist/assets/ic-list-bullets.f055aa03.svg +20 -0
  166. package/dist/assets/{ic-livspace.fc75c45f.svg → ic-livspace.9f369ef7.svg} +16 -0
  167. package/dist/assets/ic-locked.dd40e181.svg +3 -0
  168. package/dist/assets/{ic-logs.d310db72.svg → ic-logs.84f66850.svg} +16 -0
  169. package/dist/assets/ic-magnifying-glass.b8c4da8f.svg +19 -0
  170. package/dist/assets/{ic-man-on-rocket.7f67e914.svg → ic-man-on-rocket.93b070c4.svg} +16 -0
  171. package/dist/assets/{ic-medium-delete.f33a9cd7.svg → ic-medium-delete.8386c77e.svg} +16 -0
  172. package/dist/assets/ic-megaphone-left.ad5e7cbf.svg +19 -0
  173. package/dist/assets/ic-megaphone-right.0f7ef63f.svg +19 -0
  174. package/dist/assets/ic-memory.c3264de1.svg +19 -0
  175. package/dist/assets/{ic-minikube.d9ff1575.svg → ic-minikube.33d6538a.svg} +16 -0
  176. package/dist/assets/ic-minus.65e341f4.svg +19 -0
  177. package/dist/assets/ic-mobile.eabc9181.svg +20 -0
  178. package/dist/assets/ic-more-vertical.18109fc1.svg +19 -0
  179. package/dist/assets/ic-namespace.8a09efbb.svg +19 -0
  180. package/dist/assets/{ic-openai.6e4c9a37.svg → ic-openai.030b0cc2.svg} +16 -0
  181. package/dist/assets/{ic-paper-plane.ad7e6d2f.svg → ic-paper-plane.bf63ba1c.svg} +16 -0
  182. package/dist/assets/ic-path.d562ddbf.svg +19 -0
  183. package/dist/assets/ic-pause-circle.d9dc254f.svg +19 -0
  184. package/dist/assets/ic-pencil.39510f9f.svg +19 -0
  185. package/dist/assets/ic-play-outline.d2551031.svg +19 -0
  186. package/dist/assets/{ic-quote.68f093fe.svg → ic-quote.89f42bae.svg} +16 -0
  187. package/dist/assets/ic-resize-handle.f999b998.svg +25 -0
  188. package/dist/assets/{ic-rocket-gear.f1e30f8a.svg → ic-rocket-gear.b4f582da.svg} +16 -0
  189. package/dist/assets/ic-rocket-launch.5df99bf3.svg +19 -0
  190. package/dist/assets/{ic-shapes.b7b5c28f.svg → ic-shapes.77fbbb93.svg} +16 -0
  191. package/dist/assets/ic-sliders-vertical.7211dc4f.svg +23 -0
  192. package/dist/assets/ic-sort-ascending.8a25e19d.svg +19 -0
  193. package/dist/assets/ic-sort-descending.c5846635.svg +19 -0
  194. package/dist/assets/ic-sortable.117b8f83.svg +19 -0
  195. package/dist/assets/{ic-sparkle-ai-color.34768219.svg → ic-sparkle-ai-color.b67e98ce.svg} +16 -0
  196. package/dist/assets/{ic-sparkle-color.a9722593.svg → ic-sparkle-color.39f6b618.svg} +16 -0
  197. package/dist/assets/ic-speedometer.495c2d1c.svg +19 -0
  198. package/dist/assets/{ic-spinny.3884a5fb.svg → ic-spinny.945235a0.svg} +16 -0
  199. package/dist/assets/ic-spray-can.199c0450.svg +19 -0
  200. package/dist/assets/ic-stamp.a3d8dea0.svg +19 -0
  201. package/dist/assets/ic-stop-fill.b6641c8b.svg +24 -0
  202. package/dist/assets/ic-storage.03f282b6.svg +21 -0
  203. package/dist/assets/{ic-strategy-blue-green-color.0b348d03.svg → ic-strategy-blue-green-color.baaf7071.svg} +16 -0
  204. package/dist/assets/ic-strategy-blue-green.8d61b66d.svg +19 -0
  205. package/dist/assets/{ic-strategy-canary-color.db010ee7.svg → ic-strategy-canary-color.3241aea9.svg} +16 -0
  206. package/dist/assets/ic-strategy-canary.b6d42fbb.svg +19 -0
  207. package/dist/assets/ic-strategy-recreate-color.f62bd5ed.svg +20 -0
  208. package/dist/assets/ic-strategy-recreate.3aa96ce0.svg +19 -0
  209. package/dist/assets/ic-strategy-rolling-color.945b909a.svg +22 -0
  210. package/dist/assets/ic-strategy-rolling.3b901bf5.svg +19 -0
  211. package/dist/assets/ic-sun.9fe1dd26.svg +19 -0
  212. package/dist/assets/ic-tag.5fdc7834.svg +3 -0
  213. package/dist/assets/{ic-tata1mg.75b97a64.svg → ic-tata1mg.a631cafa.svg} +16 -0
  214. package/dist/assets/{ic-terminal-fill.39b542cd.svg → ic-terminal-fill.4bd66669.svg} +16 -0
  215. package/dist/assets/ic-terminal.628344b9.svg +19 -0
  216. package/dist/assets/ic-thermometer.95af4a4b.svg +19 -0
  217. package/dist/assets/{ic-thumb-down.92d2c4d7.svg → ic-thumb-down.1834436f.svg} +16 -0
  218. package/dist/assets/{ic-thumb-up.7c6f6896.svg → ic-thumb-up.976f6efb.svg} +16 -0
  219. package/dist/assets/ic-traffic-signal.cc68c2e5.svg +19 -0
  220. package/dist/assets/{ic-travclan.29b9f4c3.svg → ic-travclan.86f22c7d.svg} +16 -0
  221. package/dist/assets/{ic-two-cubes.056d1333.svg → ic-two-cubes.a775b635.svg} +16 -0
  222. package/dist/assets/{ic-ubuntu.fa47508f.svg → ic-ubuntu.540c22c9.svg} +16 -0
  223. package/dist/assets/{ic-user-circle.7d7152fa.svg → ic-user-circle.a2143a4a.svg} +16 -0
  224. package/dist/assets/ic-users.33cb397f.svg +19 -0
  225. package/dist/assets/ic-warning-fill.bfea8b38.svg +4 -0
  226. package/dist/assets/{ic-wifi-slash.d0390749.svg → ic-wifi-slash.4bd4fb85.svg} +16 -0
  227. package/dist/assets/{ic-world-globe.877fa6a0.svg → ic-world-globe.c16eb8c2.svg} +16 -0
  228. package/dist/assets/{licenseCardBG.9753c392.svg → licenseCardBG.b507c5b0.svg} +16 -0
  229. package/dist/assets/{workflow-options-modal-header.0444485e.svg → workflow-options-modal-header.ce3c6b31.svg} +16 -0
  230. package/dist/index.d.ts +16 -6
  231. package/dist/index.js +947 -936
  232. package/package.json +6 -2
  233. package/dist/assets/ic-activity.abf111c7.svg +0 -3
  234. package/dist/assets/ic-add.2d785695.svg +0 -3
  235. package/dist/assets/ic-arrow-clockwise.b327e411.svg +0 -3
  236. package/dist/assets/ic-arrow-square-out.59bb549a.svg +0 -3
  237. package/dist/assets/ic-arrows-clockwise.5858ba0a.svg +0 -3
  238. package/dist/assets/ic-arrows-left-right.2d4dda45.svg +0 -3
  239. package/dist/assets/ic-asterisk.ab224e72.svg +0 -3
  240. package/dist/assets/ic-book-open.e839bbda.svg +0 -3
  241. package/dist/assets/ic-bug.8a8dc1fc.svg +0 -3
  242. package/dist/assets/ic-caret-down-small.7c4f88bf.svg +0 -3
  243. package/dist/assets/ic-caret-left.3df25a7c.svg +0 -3
  244. package/dist/assets/ic-caret-right.0ff813c2.svg +0 -3
  245. package/dist/assets/ic-chat-circle-dots.b5afd171.svg +0 -3
  246. package/dist/assets/ic-check-all.fdea6b38.svg +0 -5
  247. package/dist/assets/ic-check-square.e355731d.svg +0 -4
  248. package/dist/assets/ic-check.a0f5ee85.svg +0 -3
  249. package/dist/assets/ic-checkbox-selected-error.185fc40c.svg +0 -4
  250. package/dist/assets/ic-checks.d276fd05.svg +0 -3
  251. package/dist/assets/ic-close-large.fb6095e0.svg +0 -3
  252. package/dist/assets/ic-cluster.f1c3fad1.svg +0 -3
  253. package/dist/assets/ic-container.92a4c33a.svg +0 -3
  254. package/dist/assets/ic-cpu.07ca0915.svg +0 -3
  255. package/dist/assets/ic-delete-lightning.2a7545bd.svg +0 -3
  256. package/dist/assets/ic-download.468a0cb7.svg +0 -3
  257. package/dist/assets/ic-edit.3249ed32.svg +0 -3
  258. package/dist/assets/ic-email.78fed574.svg +0 -3
  259. package/dist/assets/ic-enterprise-feat.5ee25d5b.svg +0 -3
  260. package/dist/assets/ic-environment.e639b8f3.svg +0 -4
  261. package/dist/assets/ic-expand-right-sm.9b347d49.svg +0 -3
  262. package/dist/assets/ic-expand-sm.a9a724f8.svg +0 -3
  263. package/dist/assets/ic-fast-forward.8d1a414b.svg +0 -4
  264. package/dist/assets/ic-file-code.0926d194.svg +0 -3
  265. package/dist/assets/ic-file-edit.96a172c7.svg +0 -3
  266. package/dist/assets/ic-file-key.a67da7ec.svg +0 -3
  267. package/dist/assets/ic-file.c3c45e13.svg +0 -3
  268. package/dist/assets/ic-files.b0ebea46.svg +0 -3
  269. package/dist/assets/ic-filter-applied.56f397cb.svg +0 -4
  270. package/dist/assets/ic-filter.d6f03b78.svg +0 -3
  271. package/dist/assets/ic-flask.d0624c30.svg +0 -3
  272. package/dist/assets/ic-folder-color.7cf84356.svg +0 -6
  273. package/dist/assets/ic-folder.8038c019.svg +0 -3
  274. package/dist/assets/ic-gavel.a3b064b5.svg +0 -3
  275. package/dist/assets/ic-gift.9b048fc7.svg +0 -3
  276. package/dist/assets/ic-git-branch.d6b3d950.svg +0 -3
  277. package/dist/assets/ic-hand-pointing.aff70667.svg +0 -4
  278. package/dist/assets/ic-help-filled.4468cdf1.svg +0 -4
  279. package/dist/assets/ic-hibernate-circle.7c32c56e.svg +0 -3
  280. package/dist/assets/ic-install.28c3beec.svg +0 -3
  281. package/dist/assets/ic-key-enter.59d23056.svg +0 -3
  282. package/dist/assets/ic-key.8c76fb61.svg +0 -3
  283. package/dist/assets/ic-laptop.485e21b4.svg +0 -3
  284. package/dist/assets/ic-lego.1d2c5e1d.svg +0 -3
  285. package/dist/assets/ic-lightning.02da5bf8.svg +0 -3
  286. package/dist/assets/ic-list-bullets.91aab240.svg +0 -4
  287. package/dist/assets/ic-magnifying-glass.cf47bce0.svg +0 -3
  288. package/dist/assets/ic-megaphone-left.6b2a00b7.svg +0 -3
  289. package/dist/assets/ic-megaphone-right.9d6bcd36.svg +0 -3
  290. package/dist/assets/ic-memory.82ba7e9b.svg +0 -3
  291. package/dist/assets/ic-minus.aac464f7.svg +0 -3
  292. package/dist/assets/ic-mobile.7c649251.svg +0 -4
  293. package/dist/assets/ic-more-vertical.6b4cc903.svg +0 -3
  294. package/dist/assets/ic-namespace.8980221f.svg +0 -3
  295. package/dist/assets/ic-path.d4fef3b0.svg +0 -3
  296. package/dist/assets/ic-pause-circle.f9405070.svg +0 -3
  297. package/dist/assets/ic-pencil.3ea1c075.svg +0 -3
  298. package/dist/assets/ic-play-outline.a4f09bf9.svg +0 -3
  299. package/dist/assets/ic-rocket-launch.1d407c66.svg +0 -3
  300. package/dist/assets/ic-sliders-vertical.2db79ea4.svg +0 -7
  301. package/dist/assets/ic-sort-ascending.45f474ff.svg +0 -3
  302. package/dist/assets/ic-sort-descending.0ee6b8dd.svg +0 -3
  303. package/dist/assets/ic-sortable.1d3308e1.svg +0 -3
  304. package/dist/assets/ic-speedometer.3ecaae3b.svg +0 -3
  305. package/dist/assets/ic-spray-can.624b202a.svg +0 -3
  306. package/dist/assets/ic-stamp.23836e37.svg +0 -3
  307. package/dist/assets/ic-stop-fill.32ea653f.svg +0 -8
  308. package/dist/assets/ic-strategy-blue-green.4e57a068.svg +0 -3
  309. package/dist/assets/ic-strategy-canary.aa75f27f.svg +0 -3
  310. package/dist/assets/ic-strategy-recreate-color.187facd4.svg +0 -4
  311. package/dist/assets/ic-strategy-recreate.77b19a53.svg +0 -3
  312. package/dist/assets/ic-strategy-rolling-color.f9b3c0bb.svg +0 -6
  313. package/dist/assets/ic-strategy-rolling.ba8a30f7.svg +0 -3
  314. package/dist/assets/ic-sun.47c14f53.svg +0 -3
  315. package/dist/assets/ic-terminal.d875cce7.svg +0 -3
  316. package/dist/assets/ic-thermometer.1bc48079.svg +0 -3
  317. package/dist/assets/ic-traffic-signal.f23a1086.svg +0 -3
  318. package/dist/assets/ic-users.102d4732.svg +0 -3
@@ -7,6 +7,17 @@ declare class CoreAPI {
7
7
  timeout: number;
8
8
  constructor({ handleLogout, host, timeout, handleRedirectToLicenseActivation }: CoreAPIConstructorParamsType);
9
9
  private fetchAPI;
10
+ /**
11
+ * Merges multiple AbortSignals into a single AbortSignal that aborts
12
+ * as soon as any of the input signals abort.
13
+ *
14
+ * This is useful when you want to race multiple async cancellation signals,
15
+ * for example, to support both a global timeout and a user-triggered abort.
16
+ *
17
+ * @param signals - AbortSignals to merge.
18
+ * @returns An AbortSignal that aborts if any input signal aborts.
19
+ */
20
+ private static mergeAbortSignals;
10
21
  private fetchInTime;
11
22
  post: <T = any, K = object>(url: string, data: K, options?: APIOptions, isMultipartRequest?: boolean) => Promise<ResponseType<T>>;
12
23
  put: <T = any, K = object>(url: string, data: K, options?: APIOptions) => Promise<ResponseType<T>>;
@@ -0,0 +1,2 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export declare const QueryClientProvider: ({ children }: PropsWithChildren<{}>) => JSX.Element;
@@ -1,3 +1,5 @@
1
1
  export declare const post: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions, isMultipartRequest?: boolean) => Promise<import('..').ResponseType<T>>, put: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, patch: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, get: <T = any>(url: string, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, trash: <T = any, K = object>(url: string, data?: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>;
2
2
  export { default as CoreAPI } from './CoreAPI';
3
+ export { QueryClientProvider } from './QueryClientProvider';
4
+ export * from './reactQueryHooks';
3
5
  export { abortPreviousRequests, getIsRequestAborted, handleRedirectToLicenseActivation } from './utils';
@@ -0,0 +1,6 @@
1
+ import { QueryKey, UseMutationOptions, UseMutationResult, useQueryClient, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
2
+ import { ServerErrors } from '../ServerError';
3
+ import { ResponseType } from '../Types';
4
+ export declare const useQuery: <TQueryFnData = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: UseQueryOptions<ResponseType<TQueryFnData>, ServerErrors, TData, TQueryKey>) => UseQueryResult<TData, ServerErrors>;
5
+ export declare const useMutation: <TData = unknown, TVariables = void, TContext = unknown>(options: UseMutationOptions<ResponseType<TData>, ServerErrors, TVariables, TContext>) => UseMutationResult<ResponseType<TData>, ServerErrors, TVariables, TContext>;
6
+ export { useQueryClient };
@@ -1,8 +1,9 @@
1
+ import { SelectPickerOptionType } from '../Shared/Components';
1
2
  export declare const FALLBACK_REQUEST_TIMEOUT = 60000;
2
3
  export declare const Host: string;
3
4
  export declare const DOCUMENTATION_HOME_PAGE = "https://docs.devtron.ai";
4
5
  export declare const DEVTRON_HOME_PAGE = "https://devtron.ai/";
5
- export declare const DOCUMENTATION_VERSION = "/devtron/v0.7";
6
+ export declare const DOCUMENTATION_VERSION = "/devtron/v1.7";
6
7
  export declare const DISCORD_LINK = "https://discord.devtron.ai/";
7
8
  export declare const DEFAULT_JSON_SCHEMA_URI = "https://json-schema.org/draft/2020-12/schema";
8
9
  export declare const LICENSE_DASHBOARD_HOME_PAGE = "https://license.devtron.ai/dashboard";
@@ -58,7 +59,6 @@ export declare const URLS: {
58
59
  readonly COMPARE_CLUSTERS: "/compare-clusters";
59
60
  readonly APP_CONFIG: "edit";
60
61
  readonly GLOBAL_CONFIG: "/global-config";
61
- readonly GLOBAL_CONFIG_MANAGE_CATEGORIES: "/global-config/cluster-env/manage-categories";
62
62
  readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP: "/global-config/templates/devtron-apps";
63
63
  readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_CREATE: "/global-config/templates/devtron-apps/create";
64
64
  readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_DETAIL: "/global-config/templates/devtron-apps/detail/:appId";
@@ -365,3 +365,5 @@ export declare enum SSOProvider {
365
365
  oidc = "oidc",
366
366
  openshift = "openshift"
367
367
  }
368
+ export declare const BULK_DEPLOY_LATEST_IMAGE_TAG: SelectPickerOptionType<string>;
369
+ export declare const BULK_DEPLOY_ACTIVE_IMAGE_TAG: SelectPickerOptionType<string>;
@@ -1,4 +1,5 @@
1
- export interface DrawerProps {
1
+ import { DTFocusTrapType } from '../../Shared/Components/DTFocusTrap';
2
+ export interface DrawerProps extends Pick<DTFocusTrapType, 'initialFocus'> {
2
3
  position: 'left' | 'right' | 'bottom' | 'top';
3
4
  children?: any;
4
5
  backdrop?: boolean;
@@ -11,4 +12,4 @@ export interface DrawerProps {
11
12
  onEscape?: (e?: any) => void;
12
13
  disableTransition?: boolean;
13
14
  }
14
- export declare const Drawer: ({ children, position, height, width, minWidth, maxWidth, parentClassName, onEscape, onClose, disableTransition, }: DrawerProps) => JSX.Element;
15
+ export declare const Drawer: ({ children, position, height, width, minWidth, maxWidth, parentClassName, onEscape, onClose, disableTransition, initialFocus, }: DrawerProps) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { ErrorPageType } from './Types';
2
- declare const ErrorPage: ({ code, image, title, subTitle, imageType, redirectURL, reload }: ErrorPageType) => JSX.Element;
2
+ declare const ErrorPage: ({ code, image, title, subTitle, imageType, redirectURL, reload, on404Redirect }: ErrorPageType) => JSX.Element;
3
3
  export default ErrorPage;
@@ -1,3 +1,3 @@
1
1
  import { ErrorScreenManagerProps } from './Types';
2
- declare const ErrorScreenManager: ({ code, reload, subtitle, reloadClass, redirectURL, imageType, }: ErrorScreenManagerProps) => JSX.Element;
2
+ declare const ErrorScreenManager: ({ code, reload, subtitle, reloadClass, redirectURL, on404Redirect, imageType, }: ErrorScreenManagerProps) => JSX.Element;
3
3
  export default ErrorScreenManager;
@@ -10,7 +10,7 @@ interface ConditionalWrapper<T> {
10
10
  children: T;
11
11
  }
12
12
  export declare const ConditionalWrap: React.FC<ConditionalWrapper<any>>;
13
- export declare function sortCallback(key: string, a: any, b: any, isCaseSensitive?: boolean): 1 | 0 | -1;
13
+ export declare function sortCallback(key: string, a: any, b: any, isCaseSensitive?: boolean): 1 | -1 | 0;
14
14
  export declare const stopPropagation: (event: any) => void;
15
15
  export declare const preventDefault: (event: SyntheticEvent) => void;
16
16
  export declare function useThrottledEffect(callback: any, delay: any, deps?: any[]): void;
@@ -1,6 +1,6 @@
1
1
  import { ShortcutType } from './types';
2
2
  export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
3
- keys: ("N" | "R" | "Alt" | "F" | "E" | "K" | "X" | "A" | "S" | "/" | "Home" | "End" | "." | "Space" | "Control" | "Shift" | "Meta" | "Escape" | "Enter" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
3
+ keys: ("N" | "R" | "Enter" | "/" | "Escape" | "." | "Alt" | "F" | "E" | "K" | "X" | "A" | "S" | "Home" | "End" | "Space" | "Control" | "Shift" | "Meta" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
4
4
  id: string;
5
5
  };
6
6
  export declare const verifyCallbackStack: (stack: ShortcutType["callbackStack"]) => void;
@@ -1,6 +1,5 @@
1
- import { default as React } from 'react';
2
1
  import { ModalType } from '../Types';
3
2
  /**
4
3
  * @deprecated Use VisibleModal instead
5
4
  */
6
- export declare const Modal: ({ style, children, modal, rootClassName, onClick, callbackRef, preventWheelDisable, noBackDrop, }: ModalType) => React.ReactPortal;
5
+ export declare const Modal: ({ style, children, rootClassName, onClick, callbackRef, preventWheelDisable, noBackDrop, }: ModalType) => JSX.Element;
@@ -1,17 +1,15 @@
1
1
  import { default as React, SyntheticEvent } from 'react';
2
+ import { DTFocusTrapType } from '../../Shared/Components/DTFocusTrap';
2
3
  export declare class VisibleModal extends React.Component<{
3
4
  className?: string;
4
5
  parentClassName?: string;
5
6
  noBackground?: boolean;
6
- close?: (e: any) => void;
7
- onEscape?: (e: any) => void;
7
+ close?: (e?: any) => void;
8
+ onEscape?: (e?: any) => void;
9
+ initialFocus?: DTFocusTrapType['initialFocus'];
8
10
  }> {
9
- modalRef: HTMLElement;
10
- previousActiveElement: HTMLElement | null;
11
11
  constructor(props: any);
12
- escFunction(event: any): void;
13
- componentDidMount(): void;
14
- componentWillUnmount(): void;
12
+ escFunction(): void;
15
13
  handleBodyClick: (e: SyntheticEvent) => void;
16
- render(): React.ReactPortal;
14
+ render(): JSX.Element;
17
15
  }
@@ -1,14 +1,11 @@
1
1
  import { default as React, SyntheticEvent } from 'react';
2
+ import { DTFocusTrapType } from '../../Shared/Components/DTFocusTrap';
2
3
  export declare class VisibleModal2 extends React.Component<{
3
4
  className?: string;
4
- close?: (e: any) => void;
5
+ close?: (e?: any) => void;
6
+ initialFocus?: DTFocusTrapType['initialFocus'];
5
7
  }> {
6
- modalRef: HTMLElement;
7
- previousActiveElement: HTMLElement | null;
8
8
  constructor(props: any);
9
- escFunction(event: any): void;
10
- componentDidMount(): void;
11
- componentWillUnmount(): void;
12
9
  handleBodyClick: (e: SyntheticEvent) => void;
13
- render(): React.ReactPortal;
10
+ render(): JSX.Element;
14
11
  }
@@ -1,3 +1,3 @@
1
1
  import { default as RJSF } from '@rjsf/core';
2
2
  import { FormProps } from './types';
3
- export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "children" | "className" | "name" | "id" | "disabled" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "autoComplete" | "method" | "action" | "tagName" | "noValidate" | "readonly" | "uiSchema" | "schema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "acceptCharset" | "enctype" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<any, import('./types').RJSFFormSchema, any>>>;
3
+ export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "children" | "className" | "name" | "id" | "disabled" | "tagName" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "autoComplete" | "acceptCharset" | "action" | "method" | "noValidate" | "readonly" | "uiSchema" | "schema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "enctype" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<any, import('./types').RJSFFormSchema, any>>>;
@@ -13,7 +13,7 @@ export declare const getRedirectionProps: (url: string) => React.AnchorHTMLAttri
13
13
  /**
14
14
  * Infers the type for json schema from value type
15
15
  */
16
- export declare const getInferredTypeFromValueType: (value: any) => "string" | "number" | "boolean" | "object" | "null" | "array";
16
+ export declare const getInferredTypeFromValueType: (value: any) => "string" | "number" | "boolean" | "object" | "array" | "null";
17
17
  export declare const conformPathToPointers: (path: string) => string;
18
18
  export declare const parseSchemaHiddenType: (hiddenSchema: HiddenType) => MetaHiddenType;
19
19
  export declare const getSchemaPathToUpdatePathMap: (schema: RJSFFormSchema) => Record<string, string>;
@@ -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, }: 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;
@@ -1,3 +1,4 @@
1
+ import { SupportedKeyboardKeysType } from '../Hooks/UseRegisterShortcut/types';
1
2
  import { ComponentSizeType } from '../../Shared/constants';
2
3
  export interface SearchBarProps {
3
4
  /**
@@ -46,4 +47,10 @@ export interface SearchBarProps {
46
47
  * @default 'ComponentSizeType.medium'
47
48
  */
48
49
  size?: ComponentSizeType.medium | ComponentSizeType.large;
50
+ /**
51
+ * Renders the keyboard shortcut key that opens the select picker \
52
+ * Shortcut key needs to be defined first in order to use it.
53
+ * @note This is displayed in place of the dropdown indicator
54
+ */
55
+ keyboardShortcut?: SupportedKeyboardKeysType;
49
56
  }
@@ -141,20 +141,29 @@ export interface GenericEmptyStateType {
141
141
  export interface ErrorPageType extends Pick<GenericEmptyStateType, 'image' | 'title' | 'subTitle' | 'renderButton' | 'imageType'>, Pick<ErrorScreenManagerProps, 'reload' | 'redirectURL'> {
142
142
  code: number;
143
143
  redirectURL?: string;
144
+ on404Redirect?: () => void;
144
145
  reload?: () => void;
145
146
  }
146
- export interface ErrorScreenManagerProps {
147
+ export type ErrorScreenManagerProps = {
147
148
  code?: number;
148
149
  imageType?: ImageType;
149
150
  reload?: (...args: any[]) => any;
150
151
  subtitle?: React.ReactChild;
151
152
  reloadClass?: string;
153
+ } & ({
152
154
  /**
153
155
  * Would be used to redirect URL in case of 404
154
156
  * @default - APP_LIST
155
157
  */
156
158
  redirectURL?: string;
157
- }
159
+ on404Redirect?: never;
160
+ } | {
161
+ redirectURL?: never;
162
+ on404Redirect: () => void;
163
+ } | {
164
+ redirectURL?: never;
165
+ on404Redirect?: never;
166
+ });
158
167
  export interface ErrorScreenNotAuthorizedProps {
159
168
  subtitle?: React.ReactChild;
160
169
  title?: string;
@@ -245,7 +254,6 @@ export interface PopupMenuBodyType {
245
254
  export interface ModalType {
246
255
  style?: React.CSSProperties;
247
256
  children?: ReactNode;
248
- modal?: boolean;
249
257
  rootClassName?: string;
250
258
  onClick?: any;
251
259
  callbackRef?: (element?: any) => any;
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,50 @@
1
+ export interface BulkEditConfigV2Type {
2
+ gvk: string;
3
+ readme: string;
4
+ schema: Record<string, any>;
5
+ }
6
+ export interface AppEnvDetail {
7
+ appName: string;
8
+ envName?: string;
9
+ message: string;
10
+ }
11
+ export interface ObjectsWithAppEnvDetail extends AppEnvDetail {
12
+ names: string[];
13
+ }
14
+ export interface DeploymentTemplateResponse {
15
+ message: string[];
16
+ failure: AppEnvDetail[];
17
+ successful: AppEnvDetail[];
18
+ }
19
+ export interface CmCsResponse {
20
+ message: string[];
21
+ failure: ObjectsWithAppEnvDetail[];
22
+ successful: ObjectsWithAppEnvDetail[];
23
+ }
24
+ export interface BulkEditResponseType {
25
+ deploymentTemplate?: DeploymentTemplateResponse;
26
+ configMap?: CmCsResponse;
27
+ secret?: CmCsResponse;
28
+ }
29
+ export interface ImpactedDeploymentTemplate {
30
+ appId?: number;
31
+ envId?: number;
32
+ appName: string;
33
+ envName?: string;
34
+ }
35
+ export interface ImpactedCmCs {
36
+ appId?: number;
37
+ envId?: number;
38
+ appName: string;
39
+ envName?: string;
40
+ names: string[];
41
+ }
42
+ export interface ImpactedObjectsType {
43
+ deploymentTemplate?: ImpactedDeploymentTemplate[];
44
+ configMap?: ImpactedCmCs[];
45
+ secret?: ImpactedCmCs[];
46
+ }
47
+ export declare enum BulkEditVersion {
48
+ v1 = "batch/v1beta1",
49
+ v2 = "batch/v1beta2"
50
+ }
@@ -0,0 +1,2 @@
1
+ import { ClusterMapProps } from './types';
2
+ export declare const ClusterMap: ({ filteredList, isLoading }: ClusterMapProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './ClusterMap';
@@ -0,0 +1,27 @@
1
+ import { ClusterStatusType } from '../types';
2
+ export interface ClusterStatusAndType {
3
+ isProd: boolean;
4
+ status: ClusterStatusType;
5
+ isVirtualCluster?: boolean;
6
+ }
7
+ export interface ClusterMapProps {
8
+ isLoading?: boolean;
9
+ filteredList: ClusterStatusAndType[];
10
+ }
11
+ export interface StatusCountEnum {
12
+ healthyCount: number;
13
+ unhealthyCount: number;
14
+ connectionFailedCount: number;
15
+ prodCount: number;
16
+ virtualCount: number;
17
+ }
18
+ export interface StatusEntity {
19
+ value: number;
20
+ label: string;
21
+ color: string;
22
+ proportionalValue: string;
23
+ }
24
+ export interface ClusterEntitiesTypes {
25
+ statusEntities: StatusEntity[];
26
+ deploymentEntities: StatusEntity[];
27
+ }
@@ -0,0 +1,14 @@
1
+ import { ClusterEntitiesTypes, ClusterStatusAndType, StatusCountEnum } from './types';
2
+ /**
3
+ *
4
+ * @param filteredList
5
+ * @returns healthyCount, unhealthyCount, connectionFailedCount, prodCount, virtualCount
6
+ */
7
+ export declare const getStatusCount: (filteredList: ClusterStatusAndType[]) => StatusCountEnum;
8
+ /**
9
+ *
10
+ * @param filteredList
11
+ * @returns statusEntities, deploymentEntities
12
+ *
13
+ */
14
+ export declare const getEntities: (filteredList: ClusterStatusAndType[]) => ClusterEntitiesTypes;
@@ -1,3 +1,4 @@
1
+ export * from './ClusterMap';
1
2
  export * from './constants';
2
3
  export { default as ForceDeleteOption } from './ForceDeleteOption';
3
4
  export * from './Helper';
@@ -51,7 +51,7 @@ export interface ClusterCapacityType {
51
51
  serverVersion: string;
52
52
  nodeDetails?: NodeDetailsType[];
53
53
  nodeErrors: Record<string, string>[];
54
- status?: ClusterStatusType;
54
+ status: ClusterStatusType;
55
55
  isProd: boolean;
56
56
  installationId?: number;
57
57
  }
@@ -1,3 +1,4 @@
1
1
  export * from './Applications';
2
+ export * from './BulkEdit';
2
3
  export * from './GlobalConfigurations';
3
4
  export * from './ResourceBrowser';
@@ -9,7 +9,7 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
9
9
  }[];
10
10
  filteredOptions: import('./types').ActionMenuOptionType<T>[];
11
11
  focusedIndex: number;
12
- itemsRef: import('react').MutableRefObject<RefObject<HTMLAnchorElement | HTMLButtonElement>[]>;
12
+ itemsRef: import('react').MutableRefObject<RefObject<HTMLButtonElement | HTMLAnchorElement>[]>;
13
13
  triggerProps: import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
14
14
  bounds: Pick<DOMRect, "left" | "top" | "height" | "width">;
15
15
  };
@@ -26,12 +26,16 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
26
26
  about?: string;
27
27
  is?: string;
28
28
  security?: string;
29
+ hidden?: boolean;
30
+ prefix?: string;
31
+ resource?: string;
32
+ draggable?: boolean | "true" | "false";
33
+ onClick?: import('react').MouseEventHandler<HTMLDivElement>;
29
34
  onMouseEnter?: import('react').MouseEventHandler<HTMLDivElement>;
30
35
  "aria-describedby"?: string;
31
36
  "aria-errormessage"?: string;
32
37
  "aria-label"?: string;
33
38
  "aria-labelledby"?: string;
34
- onClick?: import('react').MouseEventHandler<HTMLDivElement>;
35
39
  defaultChecked?: boolean;
36
40
  suppressContentEditableWarning?: boolean;
37
41
  suppressHydrationWarning?: boolean;
@@ -39,8 +43,6 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
39
43
  contentEditable?: "inherit" | (boolean | "true" | "false");
40
44
  contextMenu?: string;
41
45
  dir?: string;
42
- draggable?: boolean | "true" | "false";
43
- hidden?: boolean;
44
46
  lang?: string;
45
47
  placeholder?: string;
46
48
  spellCheck?: boolean | "true" | "false";
@@ -49,9 +51,7 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
49
51
  radioGroup?: string;
50
52
  datatype?: string;
51
53
  inlist?: any;
52
- prefix?: string;
53
54
  property?: string;
54
- resource?: string;
55
55
  typeof?: string;
56
56
  vocab?: string;
57
57
  autoCapitalize?: string;
@@ -67,14 +67,14 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
67
67
  inputMode?: "search" | "text" | "none" | "url" | "tel" | "email" | "numeric" | "decimal";
68
68
  "aria-activedescendant"?: string;
69
69
  "aria-atomic"?: boolean | "true" | "false";
70
- "aria-autocomplete"?: "list" | "none" | "inline" | "both";
70
+ "aria-autocomplete"?: "none" | "list" | "inline" | "both";
71
71
  "aria-busy"?: boolean | "true" | "false";
72
72
  "aria-checked"?: boolean | "true" | "false" | "mixed";
73
73
  "aria-colcount"?: number;
74
74
  "aria-colindex"?: number;
75
75
  "aria-colspan"?: number;
76
76
  "aria-controls"?: string;
77
- "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date";
77
+ "aria-current"?: boolean | "time" | "location" | "true" | "false" | "page" | "step" | "date";
78
78
  "aria-details"?: string;
79
79
  "aria-disabled"?: boolean | "true" | "false";
80
80
  "aria-dropeffect"?: "link" | "none" | "popup" | "copy" | "execute" | "move";
@@ -1,3 +1,3 @@
1
1
  import { BackdropProps } from './types';
2
- declare const Backdrop: ({ children, onEscape, onClick, hasClearBackground, onBackdropMount }: BackdropProps) => import('react').ReactPortal;
2
+ declare const Backdrop: ({ children, onEscape, onClick, hasClearBackground, onBackdropMount, deactivateFocusOnEscape, initialFocus, }: BackdropProps) => import('react').ReactPortal;
3
3
  export default Backdrop;
@@ -1,18 +1,10 @@
1
1
  import { MouseEvent, ReactNode } from 'react';
2
- export interface BackdropProps {
2
+ import { DTFocusTrapType } from '../DTFocusTrap';
3
+ export interface BackdropProps extends Pick<DTFocusTrapType, 'deactivateFocusOnEscape' | 'initialFocus' | 'onEscape'> {
3
4
  /**
4
5
  * The content to be rendered within the backdrop component.
5
6
  */
6
7
  children: ReactNode;
7
- /**
8
- * Callback function that gets triggered when the Escape key is pressed. \
9
- * Should be wrapped in useCallback to prevent unnecessary re-renders.
10
- * @example
11
- * const handleEscape = useCallback(() => {
12
- * // Handle escape key press
13
- * }, []);
14
- */
15
- onEscape: () => void;
16
8
  /**
17
9
  * Callback function that gets triggered when the backdrop is clicked.
18
10
  * Useful for dismissing modals or other overlay content.