@devtron-labs/devtron-fe-common-lib 4.0.2-beta-1 → 4.0.3-pre-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (976) hide show
  1. package/dist/@code-editor-BAM7bZOw.js +101094 -0
  2. package/dist/@common-rjsf-Bx2aOoF1.js +14244 -0
  3. package/dist/@framer-motion-CJHeDr_5.js +151 -0
  4. package/dist/@react-virtualized-sticky-tree-Cru7sOnT.js +1255 -0
  5. package/dist/@src-assets-images-B2NAtpLS.js +1073 -0
  6. package/dist/@vendor-M2R6W7KJ.js +82170 -0
  7. package/dist/Common/API/CoreAPI.d.ts +29 -0
  8. package/dist/Common/API/QueryClientProvider.d.ts +2 -0
  9. package/dist/Common/API/constants.d.ts +70 -0
  10. package/dist/Common/API/index.d.ts +5 -0
  11. package/dist/Common/API/reactQueryHooks.d.ts +7 -0
  12. package/dist/Common/API/types.d.ts +23 -0
  13. package/dist/Common/API/utils.d.ts +12 -0
  14. package/dist/Common/AddCDButton/AddCDButton.d.ts +1 -1
  15. package/dist/Common/BreadCrumb/BreadCrumb.d.ts +1 -1
  16. package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +3 -2
  17. package/dist/Common/BreadCrumb/NestedBreadCrumb.d.ts +2 -0
  18. package/dist/Common/BreadCrumb/Types.d.ts +25 -0
  19. package/dist/Common/CIPipeline.Types.d.ts +68 -15
  20. package/dist/Common/ChartVersionAndTypeSelector.d.ts +1 -1
  21. package/dist/Common/Checkbox/Checkbox.d.ts +2 -0
  22. package/dist/Common/Checkbox/index.d.ts +1 -0
  23. package/dist/Common/ClipboardButton/ClipboardButton.d.ts +3 -4
  24. package/dist/Common/ClipboardButton/index.d.ts +1 -0
  25. package/dist/Common/ClipboardButton/types.d.ts +27 -4
  26. package/dist/Common/Common.service.d.ts +34 -12
  27. package/dist/Common/Constants.d.ts +150 -79
  28. package/dist/Common/CustomTagSelector/PropagateTagInfo.d.ts +1 -1
  29. package/dist/Common/CustomTagSelector/ResizableTagTextArea.d.ts +1 -1
  30. package/dist/Common/CustomTagSelector/TagDetails.d.ts +1 -1
  31. package/dist/Common/CustomTagSelector/TagLabelValueSelector.d.ts +1 -1
  32. package/dist/Common/CustomTagSelector/Types.d.ts +20 -29
  33. package/dist/Common/CustomTagSelector/ValidationRules.d.ts +2 -4
  34. package/dist/Common/CustomTagSelector/index.d.ts +2 -2
  35. package/dist/Common/CustomTagSelector/tags.utils.d.ts +13 -0
  36. package/dist/Common/DebouncedSearch/DebouncedSearch.d.ts +1 -1
  37. package/dist/Common/DeleteCINodeButton/DeleteCINodeButton.d.ts +2 -0
  38. package/dist/Common/DeleteCINodeButton/index.d.ts +3 -0
  39. package/dist/Common/DeleteCINodeButton/types.d.ts +18 -0
  40. package/dist/Common/DeleteCINodeButton/utils.d.ts +5 -0
  41. package/dist/Common/DevtronCopyright.d.ts +2 -0
  42. package/dist/Common/DevtronProgressing/DevtronProgressing.d.ts +1 -0
  43. package/dist/Common/Dialogs/DialogForm.d.ts +6 -6
  44. package/dist/Common/Dialogs/Types.d.ts +0 -16
  45. package/dist/Common/Dialogs/index.d.ts +0 -3
  46. package/dist/Common/DraggableWrapper/DraggableButton.d.ts +1 -1
  47. package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +4 -2
  48. package/dist/Common/DraggableWrapper/index.d.ts +1 -1
  49. package/dist/Common/DraggableWrapper/types.d.ts +4 -6
  50. package/dist/Common/Drawer/Drawer.d.ts +4 -3
  51. package/dist/Common/Drawer/index.d.ts +1 -0
  52. package/dist/Common/EmptyState/GenericEmptyState.d.ts +2 -1
  53. package/dist/Common/EmptyState/GenericFilterEmptyState.d.ts +1 -1
  54. package/dist/Common/EmptyState/index.d.ts +2 -0
  55. package/dist/Common/ErrorPage.d.ts +1 -1
  56. package/dist/Common/ErrorScreenManager.d.ts +1 -1
  57. package/dist/Common/ErrorScreenNotAuthorized.d.ts +1 -1
  58. package/dist/Common/GenericDescription/GenericDescription.d.ts +1 -1
  59. package/dist/Common/GenericDescription/constant.d.ts +40 -0
  60. package/dist/Common/GenericDescription/types.d.ts +5 -7
  61. package/dist/Common/GenericDescription/utils.d.ts +1 -0
  62. package/dist/Common/Grid/Grid.d.ts +1 -1
  63. package/dist/Common/Helper.d.ts +40 -12
  64. package/dist/Common/Hooks/UseGetUserRoles/UseGetUserRoles.d.ts +7 -0
  65. package/dist/Common/Hooks/UseGetUserRoles/index.d.ts +1 -0
  66. package/dist/Common/Hooks/UseGetUserRoles/types.d.ts +8 -0
  67. package/dist/Common/Hooks/UseIsTextTruncated/UseIsTextTruncated.d.ts +5 -0
  68. package/dist/Common/Hooks/UseIsTextTruncated/constants.d.ts +1 -0
  69. package/dist/Common/Hooks/UseIsTextTruncated/index.d.ts +1 -0
  70. package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutContext.d.ts +1 -1
  71. package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +1 -1
  72. package/dist/Common/Hooks/UseRegisterShortcut/index.d.ts +1 -0
  73. package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +91 -3
  74. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +6 -0
  75. package/dist/Common/Hooks/index.d.ts +4 -3
  76. package/dist/Common/Hooks/useStateFilters/index.d.ts +1 -1
  77. package/dist/Common/Hooks/useStateFilters/types.d.ts +2 -2
  78. package/dist/Common/Hooks/useStateFilters/useStateFilters.d.ts +1 -1
  79. package/dist/Common/Hooks/useUrlFilters/index.d.ts +2 -1
  80. package/dist/Common/Hooks/useUrlFilters/types.d.ts +16 -3
  81. package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +1 -1
  82. package/dist/Common/Hooks/useUrlFilters/utils.d.ts +2 -0
  83. package/dist/Common/ImageTags.Types.d.ts +2 -0
  84. package/dist/Common/ImageTags.d.ts +2 -2
  85. package/dist/Common/InteractiveCellText/InteractiveCellText.d.ts +27 -0
  86. package/dist/Common/InteractiveCellText/index.d.ts +2 -0
  87. package/dist/Common/InteractiveCellText/types.d.ts +10 -0
  88. package/dist/Common/Markdown/MarkDown.d.ts +1 -1
  89. package/dist/Common/Modals/Modal.d.ts +1 -2
  90. package/dist/Common/Modals/VisibleModal.d.ts +9 -10
  91. package/dist/Common/Modals/VisibleModal2.d.ts +7 -9
  92. package/dist/Common/MultiSelectCustomization.d.ts +9 -7
  93. package/dist/Common/Pagination/PageSizeSelector.d.ts +1 -1
  94. package/dist/Common/Pagination/Pagination.d.ts +1 -1
  95. package/dist/Common/Pagination/constants.d.ts +4 -0
  96. package/dist/Common/Pagination/index.d.ts +1 -0
  97. package/dist/Common/Policy.Types.d.ts +58 -22
  98. package/dist/Common/PopupMenu.d.ts +2 -2
  99. package/dist/Common/Progressing.d.ts +1 -0
  100. package/dist/Common/RJSF/Form.d.ts +1 -1
  101. package/dist/Common/RJSF/common/FieldRow.d.ts +1 -1
  102. package/dist/Common/RJSF/constants.d.ts +1 -0
  103. package/dist/Common/RJSF/index.d.ts +3 -3
  104. package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +2 -2
  105. package/dist/Common/RJSF/templates/ArrayFieldTemplate.d.ts +1 -1
  106. package/dist/Common/RJSF/templates/BaseInput.d.ts +1 -1
  107. package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +1 -1
  108. package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.d.ts +1 -1
  109. package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.d.ts +1 -1
  110. package/dist/Common/RJSF/templates/Field.d.ts +1 -1
  111. package/dist/Common/RJSF/templates/FieldErrorTemplate.d.ts +1 -1
  112. package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +1 -1
  113. package/dist/Common/RJSF/templates/TitleField.d.ts +3 -2
  114. package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +1 -1
  115. package/dist/Common/RJSF/templates/index.d.ts +1 -1
  116. package/dist/Common/RJSF/types.d.ts +17 -3
  117. package/dist/Common/RJSF/utils.d.ts +5 -11
  118. package/dist/Common/RJSF/widgets/Checkbox.d.ts +1 -1
  119. package/dist/Common/RJSF/widgets/Select.d.ts +1 -1
  120. package/dist/Common/RadioGroup.d.ts +1 -1
  121. package/dist/Common/RadioGroupItem.d.ts +1 -1
  122. package/dist/Common/Reload.d.ts +1 -1
  123. package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
  124. package/dist/Common/SearchBar/types.d.ts +15 -0
  125. package/dist/Common/SegmentedBarChart/types.d.ts +23 -2
  126. package/dist/Common/SegmentedBarChart/utils.d.ts +2 -0
  127. package/dist/Common/SegmentedControl/Segment.d.ts +3 -0
  128. package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +3 -0
  129. package/dist/Common/SegmentedControl/constants.d.ts +3 -0
  130. package/dist/Common/SegmentedControl/index.d.ts +2 -0
  131. package/dist/Common/SegmentedControl/types.d.ts +76 -0
  132. package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +18 -1
  133. package/dist/Common/SortableTableHeaderCell/constants.d.ts +2 -0
  134. package/dist/Common/SortableTableHeaderCell/index.d.ts +1 -0
  135. package/dist/Common/SortableTableHeaderCell/types.d.ts +53 -16
  136. package/dist/Common/SortableTableHeaderCell/useResizableTableConfig.d.ts +6 -0
  137. package/dist/Common/TippyCustomized.d.ts +1 -1
  138. package/dist/Common/Tooltip/ShortcutKeyComboTooltipContent.d.ts +1 -1
  139. package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
  140. package/dist/Common/Tooltip/index.d.ts +2 -2
  141. package/dist/Common/Tooltip/types.d.ts +1 -7
  142. package/dist/Common/Types.d.ts +315 -177
  143. package/dist/Common/index.d.ts +39 -43
  144. package/dist/MMQ4R4NB-C7ZzhIbi.js +2 -0
  145. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/index.d.ts +1 -0
  146. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/utils.d.ts +3 -0
  147. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/DTApplicationMetricsFormField.d.ts +3 -0
  148. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/index.d.ts +2 -0
  149. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/types.d.ts +2 -0
  150. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/utils.d.ts +6 -0
  151. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/constants.d.ts +2 -0
  152. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/index.d.ts +5 -0
  153. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/service.d.ts +4 -0
  154. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +193 -0
  155. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/OverrideStrategyTippyContent.d.ts +3 -0
  156. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/constants.d.ts +5 -0
  157. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/index.d.ts +6 -0
  158. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +72 -0
  159. package/dist/Pages/{App → Applications/DevtronApps/Details}/AppConfigurations/utils.d.ts +1 -1
  160. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/constants.d.ts +6 -0
  161. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/index.d.ts +5 -0
  162. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +9 -0
  163. package/dist/Pages/{CDPipeline → Applications/DevtronApps/Details/CDPipeline}/types.d.ts +44 -6
  164. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/utils.d.ts +10 -0
  165. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/FileConfigTippy.d.ts +2 -0
  166. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/SystemVariableIcon.d.ts +1 -0
  167. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/index.d.ts +2 -0
  168. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/constants.d.ts +11 -0
  169. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/index.d.ts +3 -0
  170. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/services.d.ts +7 -0
  171. package/dist/Pages/Applications/DevtronApps/Details/index.d.ts +3 -0
  172. package/dist/Pages/Applications/DevtronApps/index.d.ts +1 -0
  173. package/dist/Pages/Applications/index.d.ts +1 -0
  174. package/dist/Pages/BulkEdit/index.d.ts +1 -0
  175. package/dist/Pages/BulkEdit/types.d.ts +50 -0
  176. package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +3 -2
  177. package/dist/Pages/GlobalConfigurations/Authorization/service.d.ts +1 -1
  178. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +2 -2
  179. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupsTable.component.d.ts +1 -1
  180. package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +13 -1
  181. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.d.ts +2 -2
  182. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.d.ts +2 -2
  183. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraUtilityContext.d.ts +3 -0
  184. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
  185. package/dist/Pages/GlobalConfigurations/BuildInfra/UseBuildInfraForm.d.ts +3 -0
  186. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +27 -11
  187. package/dist/Pages/GlobalConfigurations/BuildInfra/index.d.ts +8 -3
  188. package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +5 -6
  189. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +331 -110
  190. package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +10 -16
  191. package/dist/Pages/GlobalConfigurations/BuildInfra/validations.d.ts +11 -0
  192. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +2 -0
  193. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -0
  194. package/dist/Pages/GlobalConfigurations/DeploymentCharts/basicViewSchema.json.d.ts +27 -30
  195. package/dist/Pages/GlobalConfigurations/DeploymentCharts/types.d.ts +6 -8
  196. package/dist/Pages/GlobalConfigurations/ScopedVariables/types.d.ts +2 -2
  197. package/dist/Pages/GlobalConfigurations/index.d.ts +3 -2
  198. package/dist/Pages/ResourceBrowser/ClusterMap/ClusterMap.d.ts +2 -0
  199. package/dist/Pages/ResourceBrowser/ClusterMap/index.d.ts +1 -0
  200. package/dist/Pages/ResourceBrowser/ClusterMap/types.d.ts +27 -0
  201. package/dist/Pages/ResourceBrowser/ClusterMap/utils.d.ts +14 -0
  202. package/dist/Pages/ResourceBrowser/ForceDeleteOption.d.ts +3 -0
  203. package/dist/Pages/ResourceBrowser/Helper.d.ts +11 -0
  204. package/dist/Pages/ResourceBrowser/NodeDrainOptions.d.ts +3 -0
  205. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +125 -2
  206. package/dist/Pages/ResourceBrowser/constants.d.ts +55 -0
  207. package/dist/Pages/ResourceBrowser/index.d.ts +7 -1
  208. package/dist/Pages/ResourceBrowser/service.d.ts +10 -0
  209. package/dist/Pages/ResourceBrowser/types.d.ts +135 -0
  210. package/dist/Pages/index.d.ts +2 -2
  211. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +1 -0
  212. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/index.d.ts +2 -0
  213. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/utils.d.ts +6 -0
  214. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +1 -0
  215. package/dist/Pages-Devtron-2.0/ApplicationManagement/index.d.ts +1 -0
  216. package/dist/Pages-Devtron-2.0/Automation&Enablement/AutomationEnablementIcon/AutomationEnablementIcon.d.ts +1 -0
  217. package/dist/Pages-Devtron-2.0/Automation&Enablement/AutomationEnablementIcon/index.d.ts +2 -0
  218. package/dist/Pages-Devtron-2.0/Automation&Enablement/AutomationEnablementIcon/utils.d.ts +6 -0
  219. package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +1 -0
  220. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +1 -0
  221. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/index.d.ts +1 -0
  222. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/constants.d.ts +4 -0
  223. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +2 -0
  224. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +31 -0
  225. package/dist/Pages-Devtron-2.0/CostVisibility/index.d.ts +1 -0
  226. package/dist/Pages-Devtron-2.0/DataProtectionManagement/types.d.ts +8 -0
  227. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +1 -0
  228. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/index.d.ts +1 -0
  229. package/dist/Pages-Devtron-2.0/GlobalConfiguration/index.d.ts +1 -0
  230. package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +1 -0
  231. package/dist/Pages-Devtron-2.0/GlobalOverview/index.d.ts +1 -0
  232. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +1 -0
  233. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/index.d.ts +2 -0
  234. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +6 -0
  235. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +1 -0
  236. package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +1 -0
  237. package/dist/Pages-Devtron-2.0/Navigation/index.d.ts +1 -0
  238. package/dist/Pages-Devtron-2.0/Navigation/types.d.ts +32 -0
  239. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.d.ts +1 -0
  240. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/index.d.ts +1 -0
  241. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/utils.d.ts +6 -0
  242. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/index.d.ts +1 -0
  243. package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +1 -0
  244. package/dist/Pages-Devtron-2.0/Shared/Overview/components.d.ts +7 -0
  245. package/dist/Pages-Devtron-2.0/Shared/Overview/constants.d.ts +8 -0
  246. package/dist/Pages-Devtron-2.0/Shared/Overview/index.d.ts +3 -0
  247. package/dist/Pages-Devtron-2.0/Shared/Overview/types.d.ts +26 -0
  248. package/dist/Pages-Devtron-2.0/Shared/Routes/index.d.ts +1 -0
  249. package/dist/Pages-Devtron-2.0/Shared/Routes/routes.d.ts +569 -0
  250. package/dist/Pages-Devtron-2.0/Shared/index.d.ts +2 -0
  251. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +1 -0
  252. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/index.d.ts +1 -0
  253. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/index.d.ts +1 -0
  254. package/dist/Pages-Devtron-2.0/index.d.ts +8 -0
  255. package/dist/Shared/API/APIQueuing.d.ts +1 -1
  256. package/dist/Shared/Analytics/analytics.d.ts +3 -0
  257. package/dist/Shared/Analytics/index.d.ts +2 -0
  258. package/dist/Shared/Analytics/types.d.ts +7 -0
  259. package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +1 -1
  260. package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +2 -0
  261. package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +4 -0
  262. package/dist/Shared/Components/AboutDevtron/index.d.ts +2 -0
  263. package/dist/Shared/Components/ActionMenu/ActionMenu.component.d.ts +2 -0
  264. package/dist/Shared/Components/ActionMenu/ActionMenuItem.d.ts +2 -0
  265. package/dist/Shared/Components/ActionMenu/index.d.ts +2 -0
  266. package/dist/Shared/Components/ActionMenu/types.d.ts +95 -0
  267. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +302 -0
  268. package/dist/Shared/Components/ActionMenu/utils.d.ts +7 -0
  269. package/dist/Shared/Components/ActivityIndicator/ActivityIndicator.d.ts +1 -1
  270. package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +3 -0
  271. package/dist/Shared/Components/AnimatedDeployButton/index.d.ts +1 -0
  272. package/dist/Shared/Components/AnimatedDeployButton/types.d.ts +6 -0
  273. package/dist/Shared/Components/AnimatedTimer/AnimatedTimer.component.d.ts +3 -0
  274. package/dist/Shared/Components/AnimatedTimer/constants.d.ts +5 -0
  275. package/dist/Shared/Components/AnimatedTimer/index.d.ts +1 -0
  276. package/dist/Shared/Components/AnimatedTimer/types.d.ts +15 -0
  277. package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +2 -0
  278. package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +3 -0
  279. package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +3 -0
  280. package/dist/Shared/Components/AppStatusModal/AppStatusModalTabList.d.ts +3 -0
  281. package/dist/Shared/Components/AppStatusModal/constants.d.ts +4 -0
  282. package/dist/Shared/Components/AppStatusModal/index.d.ts +3 -0
  283. package/dist/Shared/Components/AppStatusModal/service.d.ts +4 -0
  284. package/dist/Shared/Components/AppStatusModal/types.d.ts +88 -0
  285. package/dist/Shared/Components/AppStatusModal/utils.d.ts +8 -0
  286. package/dist/Shared/Components/ArtifactInfoModal/ArtifactInfoModal.component.d.ts +1 -1
  287. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +3 -0
  288. package/dist/Shared/Components/Backdrop/index.d.ts +2 -0
  289. package/dist/Shared/Components/Backdrop/types.d.ts +26 -0
  290. package/dist/Shared/Components/Backdrop/utils.d.ts +1 -0
  291. package/dist/Shared/Components/Badge/Badge.d.ts +3 -0
  292. package/dist/Shared/Components/Badge/index.d.ts +2 -0
  293. package/dist/Shared/Components/Badge/types.d.ts +18 -0
  294. package/dist/Shared/Components/Badge/utils.d.ts +8 -0
  295. package/dist/Shared/Components/BulkOperations/BulkOperations.component.d.ts +3 -0
  296. package/dist/Shared/Components/BulkOperations/BulkOperationsResultModal.d.ts +3 -0
  297. package/dist/Shared/Components/BulkOperations/OperationResultStore.d.ts +21 -0
  298. package/dist/Shared/Components/BulkOperations/constants.d.ts +13 -0
  299. package/dist/Shared/Components/BulkOperations/index.d.ts +2 -0
  300. package/dist/Shared/Components/BulkOperations/types.d.ts +69 -0
  301. package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
  302. package/dist/Shared/Components/BulkSelection/BulkSelectionProvider.d.ts +1 -1
  303. package/dist/Shared/Components/BulkSelection/index.d.ts +1 -1
  304. package/dist/Shared/Components/BulkSelection/types.d.ts +18 -14
  305. package/dist/Shared/Components/Button/Button.component.d.ts +2 -2
  306. package/dist/Shared/Components/Button/constants.d.ts +1 -0
  307. package/dist/Shared/Components/Button/index.d.ts +1 -0
  308. package/dist/Shared/Components/Button/types.d.ts +70 -16
  309. package/dist/Shared/Components/Button/useTriggerAutoClickTimestamp.d.ts +6 -0
  310. package/dist/Shared/Components/Button/utils.d.ts +3 -1
  311. package/dist/Shared/Components/ButtonWithLoader/ButtonWithLoader.d.ts +1 -1
  312. package/dist/Shared/Components/ButtonWithSelector/ButtonWithSelector.d.ts +1 -1
  313. package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +2 -2
  314. package/dist/Shared/Components/CICDHistory/BuildAndTaskSummaryTooltipCard.d.ts +4 -0
  315. package/dist/Shared/Components/CICDHistory/CDEmptyState.d.ts +1 -1
  316. package/dist/Shared/Components/CICDHistory/CiPipelineSourceConfig.d.ts +2 -11
  317. package/dist/Shared/Components/CICDHistory/ConflictedResourcesTable.d.ts +3 -0
  318. package/dist/Shared/Components/CICDHistory/DeploymentDetailSteps.d.ts +1 -1
  319. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiff.d.ts +2 -0
  320. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiffCompare.d.ts +2 -0
  321. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryDiffView.d.ts +3 -0
  322. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/helpers.d.ts +5 -0
  323. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/index.d.ts +2 -0
  324. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +38 -0
  325. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +23 -0
  326. package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +1 -1
  327. package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +1 -1
  328. package/dist/Shared/Components/CICDHistory/GitTriggerList.d.ts +6 -0
  329. package/dist/Shared/Components/CICDHistory/History.components.d.ts +3 -55
  330. package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +1 -1
  331. package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +2 -55
  332. package/dist/Shared/Components/CICDHistory/ResourceConflictDeployDialog.d.ts +3 -0
  333. package/dist/Shared/Components/CICDHistory/ResourceConflictDetailsModal.d.ts +3 -0
  334. package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +1 -1
  335. package/dist/Shared/Components/CICDHistory/StatusFilterButtonComponent.d.ts +1 -1
  336. package/dist/Shared/Components/CICDHistory/TriggerDetails.d.ts +3 -0
  337. package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +2 -4
  338. package/dist/Shared/Components/CICDHistory/WorkerStatus.d.ts +4 -0
  339. package/dist/Shared/Components/CICDHistory/constants.d.ts +44 -1
  340. package/dist/Shared/Components/CICDHistory/index.d.ts +10 -10
  341. package/dist/Shared/Components/CICDHistory/service.d.ts +7 -8
  342. package/dist/Shared/Components/CICDHistory/types.d.ts +262 -156
  343. package/dist/Shared/Components/CICDHistory/utils.d.ts +39 -4
  344. package/dist/Shared/Components/CMCS/ConfigMapSecretReadyOnly.d.ts +3 -0
  345. package/dist/Shared/Components/CMCS/constants.d.ts +23 -0
  346. package/dist/Shared/Components/CMCS/helpers.d.ts +1 -0
  347. package/dist/Shared/Components/CMCS/index.d.ts +6 -0
  348. package/dist/Shared/Components/CMCS/types.d.ts +24 -0
  349. package/dist/Shared/Components/CMCS/utils.d.ts +18 -0
  350. package/dist/Shared/Components/CMCS/validations.d.ts +3 -0
  351. package/dist/Shared/Components/Card/Card.component.d.ts +3 -0
  352. package/dist/Shared/Components/Card/constants.d.ts +4 -0
  353. package/dist/Shared/Components/Card/index.d.ts +2 -0
  354. package/dist/Shared/Components/Card/types.d.ts +25 -0
  355. package/dist/Shared/Components/Charts/Chart.component.d.ts +121 -0
  356. package/dist/Shared/Components/Charts/constants.d.ts +10 -0
  357. package/dist/Shared/Components/Charts/index.d.ts +4 -0
  358. package/dist/Shared/Components/Charts/plugins.d.ts +7 -0
  359. package/dist/Shared/Components/Charts/types.d.ts +133 -0
  360. package/dist/Shared/Components/Charts/utils.d.ts +30 -0
  361. package/dist/Shared/Components/Chip/Chip.component.d.ts +3 -0
  362. package/dist/Shared/Components/Chip/index.d.ts +2 -0
  363. package/dist/Shared/Components/Chip/types.d.ts +64 -0
  364. package/dist/Shared/Components/Chip/utils.d.ts +6 -0
  365. package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +3 -0
  366. package/dist/Shared/Components/ClusterStatusIcon/index.d.ts +1 -0
  367. package/dist/Shared/Components/ClusterStatusIcon/types.d.ts +5 -0
  368. package/dist/Shared/Components/ClusterStatusIcon/utils.d.ts +2 -0
  369. package/dist/Shared/Components/CodeEditor/CodeEditor.components.d.ts +11 -0
  370. package/dist/Shared/Components/CodeEditor/CodeEditor.constants.d.ts +10 -0
  371. package/dist/Shared/Components/CodeEditor/CodeEditor.context.d.ts +3 -0
  372. package/dist/Shared/Components/CodeEditor/CodeEditor.d.ts +14 -0
  373. package/dist/Shared/Components/CodeEditor/CodeEditor.theme.d.ts +4 -0
  374. package/dist/Shared/Components/CodeEditor/CodeEditorRenderer.d.ts +2 -0
  375. package/dist/Shared/Components/CodeEditor/Commands/findAndReplace.d.ts +7 -0
  376. package/dist/Shared/Components/CodeEditor/Commands/index.d.ts +2 -0
  377. package/dist/Shared/Components/CodeEditor/Commands/keyMaps.d.ts +2 -0
  378. package/dist/Shared/Components/CodeEditor/Extensions/DiffMinimap.d.ts +2 -0
  379. package/dist/Shared/Components/CodeEditor/Extensions/findAndReplace.d.ts +3 -0
  380. package/dist/Shared/Components/CodeEditor/Extensions/index.d.ts +5 -0
  381. package/dist/Shared/Components/CodeEditor/Extensions/readOnlyTooltip.d.ts +6 -0
  382. package/dist/Shared/Components/CodeEditor/Extensions/yamlHighlight.d.ts +2 -0
  383. package/dist/Shared/Components/CodeEditor/Extensions/yamlParseLinter.d.ts +3 -0
  384. package/dist/Shared/Components/CodeEditor/index.d.ts +2 -0
  385. package/dist/Shared/Components/CodeEditor/types.d.ts +116 -0
  386. package/dist/Shared/Components/CodeEditor/utils.d.ts +18 -0
  387. package/dist/Shared/Components/Collapse/Collapse.d.ts +5 -1
  388. package/dist/Shared/Components/CollapsibleList/CollapsibleList.component.d.ts +5 -2
  389. package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +47 -12
  390. package/dist/Shared/Components/CommitChipCell/CommitChipCell.d.ts +1 -1
  391. package/dist/Shared/Components/ConfirmationModal/CannotDeleteModal.d.ts +2 -0
  392. package/dist/Shared/Components/ConfirmationModal/ConfirmationModal.d.ts +4 -0
  393. package/dist/Shared/Components/ConfirmationModal/ConfirmationModalContext.d.ts +5 -0
  394. package/dist/Shared/Components/ConfirmationModal/DeleteConfirmationModal.d.ts +3 -0
  395. package/dist/Shared/Components/ConfirmationModal/ForceDeleteConfirmationModal.d.ts +2 -0
  396. package/dist/Shared/Components/ConfirmationModal/index.d.ts +7 -0
  397. package/dist/Shared/Components/ConfirmationModal/types.d.ts +143 -0
  398. package/dist/Shared/Components/ConfirmationModal/utils.d.ts +6 -0
  399. package/dist/Shared/Components/ContextSwitcher/ContextSwitcher.d.ts +2 -0
  400. package/dist/Shared/Components/ContextSwitcher/index.d.ts +3 -0
  401. package/dist/Shared/Components/ContextSwitcher/types.d.ts +15 -0
  402. package/dist/Shared/Components/ContextSwitcher/utils.d.ts +5 -0
  403. package/dist/Shared/Components/CountrySelect/CountrySelect.component.d.ts +3 -0
  404. package/dist/Shared/Components/CountrySelect/index.d.ts +1 -0
  405. package/dist/Shared/Components/CountrySelect/types.d.ts +7 -0
  406. package/dist/Shared/Components/CountrySelect/utils.d.ts +4 -0
  407. package/dist/Shared/Components/CustomInput/CustomInput.d.ts +3 -0
  408. package/dist/Shared/Components/CustomInput/PasswordField.d.ts +3 -0
  409. package/dist/Shared/Components/CustomInput/constants.d.ts +3 -0
  410. package/dist/Shared/Components/CustomInput/index.d.ts +3 -0
  411. package/dist/Shared/Components/CustomInput/types.d.ts +40 -0
  412. package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +3 -0
  413. package/dist/Shared/Components/DTFocusTrap/index.d.ts +2 -0
  414. package/dist/Shared/Components/DTFocusTrap/types.d.ts +34 -0
  415. package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +1 -1
  416. package/dist/Shared/Components/DatePicker/MonthlySelect.d.ts +1 -1
  417. package/dist/Shared/Components/DatePicker/TimeSelect.d.ts +1 -1
  418. package/dist/Shared/Components/DatePicker/constants.d.ts +2 -48
  419. package/dist/Shared/Components/DatePicker/index.d.ts +3 -4
  420. package/dist/Shared/Components/DatePicker/types.d.ts +35 -18
  421. package/dist/Shared/Components/DatePicker/utils.d.ts +1 -1
  422. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.component.d.ts +1 -1
  423. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.constants.d.ts +7 -0
  424. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +59 -15
  425. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +4 -3
  426. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffAccordion.d.ts +1 -1
  427. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.d.ts +1 -1
  428. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffNavigation.d.ts +1 -1
  429. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffRadioSelect.d.ts +7 -0
  430. package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +2 -0
  431. package/dist/Shared/Components/DeploymentStatusBreakdown/constants.d.ts +11 -0
  432. package/dist/Shared/Components/DeploymentStatusBreakdown/index.d.ts +3 -0
  433. package/dist/Shared/Components/DeploymentStatusBreakdown/types.d.ts +25 -0
  434. package/dist/Shared/Components/DeploymentStatusBreakdown/utils.d.ts +25 -0
  435. package/dist/Shared/Components/DetectBottom/DetectBottom.component.d.ts +1 -1
  436. package/dist/Shared/Components/DocLink/DocLink.d.ts +2 -0
  437. package/dist/Shared/Components/DocLink/constants.d.ts +108 -0
  438. package/dist/Shared/Components/DocLink/index.d.ts +4 -0
  439. package/dist/Shared/Components/DocLink/types.d.ts +23 -0
  440. package/dist/Shared/Components/DocLink/utils.d.ts +3 -0
  441. package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +2 -0
  442. package/dist/Shared/Components/DynamicDataTable/DynamicDataTableHeader.d.ts +2 -0
  443. package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +2 -0
  444. package/dist/Shared/Components/DynamicDataTable/constants.d.ts +2 -0
  445. package/dist/Shared/Components/DynamicDataTable/index.d.ts +2 -0
  446. package/dist/Shared/Components/DynamicDataTable/types.d.ts +180 -0
  447. package/dist/Shared/Components/DynamicDataTable/utils.d.ts +5 -0
  448. package/dist/Shared/Components/EditImageFormField/EditImageFormField.d.ts +1 -1
  449. package/dist/Shared/Components/EditableTextArea/EditableTextArea.d.ts +1 -1
  450. package/dist/Shared/Components/EditableTextArea/types.d.ts +0 -1
  451. package/dist/Shared/Components/EnvironmentSelector/EnvironmentSelector.component.d.ts +1 -1
  452. package/dist/Shared/Components/Error/ErrorBar.d.ts +1 -1
  453. package/dist/Shared/Components/Error/types.d.ts +4 -0
  454. package/dist/Shared/Components/Error/utils.d.ts +2 -1
  455. package/dist/Shared/Components/ExcludedImageNode/ExcludedImageNode.d.ts +1 -1
  456. package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +3 -0
  457. package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +3 -0
  458. package/dist/Shared/Components/ExportToCsv/index.d.ts +2 -0
  459. package/dist/Shared/Components/ExportToCsv/types.d.ts +65 -0
  460. package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +1 -1
  461. package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +1 -1
  462. package/dist/Shared/Components/FeatureDescription/types.d.ts +42 -8
  463. package/dist/Shared/Components/FileUpload/FileUpload.d.ts +2 -0
  464. package/dist/Shared/Components/FileUpload/index.d.ts +2 -0
  465. package/dist/Shared/Components/FileUpload/types.d.ts +8 -0
  466. package/dist/Shared/Components/FilterChips/FilterChips.component.d.ts +1 -1
  467. package/dist/Shared/Components/FilterChips/types.d.ts +2 -3
  468. package/dist/Shared/Components/FlagImage/FlagImage.component.d.ts +3 -0
  469. package/dist/Shared/Components/FlagImage/index.d.ts +1 -0
  470. package/dist/Shared/Components/FlagImage/types.d.ts +5 -0
  471. package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts +4 -0
  472. package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionItem.d.ts +3 -0
  473. package/dist/Shared/Components/FloatingVariablesSuggestions/Suggestions.d.ts +3 -0
  474. package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionsInfo.d.ts +2 -0
  475. package/dist/Shared/Components/FloatingVariablesSuggestions/constants.d.ts +4 -0
  476. package/dist/Shared/Components/FloatingVariablesSuggestions/index.d.ts +1 -0
  477. package/dist/Shared/Components/FloatingVariablesSuggestions/service.d.ts +4 -0
  478. package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +38 -0
  479. package/dist/Shared/Components/FormFieldWrapper/FormFieldInfo.d.ts +3 -0
  480. package/dist/Shared/Components/FormFieldWrapper/FormFieldLabel.d.ts +3 -0
  481. package/dist/Shared/Components/FormFieldWrapper/FormFieldWrapper.d.ts +3 -0
  482. package/dist/Shared/Components/FormFieldWrapper/index.d.ts +4 -0
  483. package/dist/Shared/Components/FormFieldWrapper/types.d.ts +71 -0
  484. package/dist/Shared/Components/FormFieldWrapper/utils.d.ts +17 -0
  485. package/dist/Shared/Components/FramerComponents/index.d.ts +2 -0
  486. package/dist/Shared/Components/GenericInfoCard/GenericInfoCard.component.d.ts +3 -0
  487. package/dist/Shared/Components/GenericInfoCard/GenericInfoCardListing.d.ts +2 -0
  488. package/dist/Shared/Components/GenericInfoCard/GenericInfoListSkeleton.d.ts +2 -0
  489. package/dist/Shared/Components/GenericInfoCard/index.d.ts +4 -0
  490. package/dist/Shared/Components/GenericInfoCard/types.d.ts +39 -0
  491. package/dist/Shared/Components/GenericInfoCard/utils.d.ts +2 -0
  492. package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +9 -0
  493. package/dist/Shared/Components/GenericModal/GenericModal.context.d.ts +6 -0
  494. package/dist/Shared/Components/GenericModal/constants.d.ts +3 -0
  495. package/dist/Shared/Components/GenericModal/index.d.ts +2 -0
  496. package/dist/Shared/Components/GenericModal/types.d.ts +41 -0
  497. package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +2 -1
  498. package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +38 -9
  499. package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +1 -1
  500. package/dist/Shared/Components/GettingStartedCard/types.d.ts +0 -3
  501. package/dist/Shared/Components/GitCommitInfoGeneric/GitCommitInfoGeneric.d.ts +1 -1
  502. package/dist/Shared/Components/GitCommitInfoGeneric/GitMaterialInfoHeader.d.ts +1 -1
  503. package/dist/Shared/Components/GitProviderIcon/GitProviderIcon.d.ts +2 -0
  504. package/dist/Shared/Components/GitProviderIcon/index.d.ts +2 -0
  505. package/dist/Shared/Components/GitProviderIcon/types.d.ts +15 -0
  506. package/dist/Shared/Components/GitProviderIcon/utils.d.ts +3 -0
  507. package/dist/Shared/Components/GraphVisualizer/GraphVisualizer.d.ts +2 -0
  508. package/dist/Shared/Components/GraphVisualizer/components/BaseNode.d.ts +2 -0
  509. package/dist/Shared/Components/GraphVisualizer/components/DropdownNode.d.ts +3 -0
  510. package/dist/Shared/Components/GraphVisualizer/components/IconNode.d.ts +3 -0
  511. package/dist/Shared/Components/GraphVisualizer/components/TextNode.d.ts +3 -0
  512. package/dist/Shared/Components/GraphVisualizer/components/index.d.ts +4 -0
  513. package/dist/Shared/Components/GraphVisualizer/components/types.d.ts +19 -0
  514. package/dist/Shared/Components/GraphVisualizer/constants.d.ts +15 -0
  515. package/dist/Shared/Components/GraphVisualizer/index.d.ts +2 -0
  516. package/dist/Shared/Components/GraphVisualizer/types.d.ts +12 -0
  517. package/dist/Shared/Components/GraphVisualizer/utils.d.ts +17 -0
  518. package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +2 -4
  519. package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +10 -0
  520. package/dist/Shared/Components/Header/HeaderWithCreateButton/utils.d.ts +2 -0
  521. package/dist/Shared/Components/Header/HelpButton.d.ts +2 -0
  522. package/dist/Shared/Components/Header/IframePromoButton.d.ts +1 -0
  523. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  524. package/dist/Shared/Components/Header/ProfileMenu.d.ts +2 -0
  525. package/dist/Shared/Components/Header/constants.d.ts +5 -3
  526. package/dist/Shared/Components/Header/index.d.ts +2 -1
  527. package/dist/Shared/Components/Header/types.d.ts +36 -22
  528. package/dist/Shared/Components/Header/utils.d.ts +3 -1
  529. package/dist/Shared/Components/Icon/Icon.d.ts +347 -0
  530. package/dist/Shared/Components/Icon/IconBase.d.ts +2 -0
  531. package/dist/Shared/Components/Icon/constants.d.ts +2 -0
  532. package/dist/Shared/Components/Icon/index.d.ts +1 -0
  533. package/dist/Shared/Components/Icon/types.d.ts +52 -0
  534. package/dist/Shared/Components/IframeContainer/IframeContainer.component.d.ts +1 -1
  535. package/dist/Shared/Components/IframeContainer/IframeElement.d.ts +1 -1
  536. package/dist/Shared/Components/Illustration/Illustration.d.ts +31 -0
  537. package/dist/Shared/Components/Illustration/IllustrationBase.d.ts +2 -0
  538. package/dist/Shared/Components/Illustration/index.d.ts +1 -0
  539. package/dist/Shared/Components/Illustration/types.d.ts +27 -0
  540. package/dist/Shared/Components/ImageCard/ArtifactInfo/ArtifactInfo.d.ts +1 -1
  541. package/dist/Shared/Components/ImageCard/ImageCard.d.ts +1 -1
  542. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/DeploymentEnvState.d.ts +1 -1
  543. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/types.d.ts +1 -1
  544. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/SequentialCDCardTitle.d.ts +1 -1
  545. package/dist/Shared/Components/ImageCard/index.d.ts +1 -1
  546. package/dist/Shared/Components/ImageCard/types.d.ts +2 -2
  547. package/dist/Shared/Components/ImageCardAccordion/ImageCardAccordion.d.ts +1 -1
  548. package/dist/Shared/Components/ImageCardAccordion/types.d.ts +2 -3
  549. package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +1 -1
  550. package/dist/Shared/Components/ImageChipCell/types.d.ts +1 -1
  551. package/dist/Shared/Components/ImageWithFallback/ImageWithFallback.component.d.ts +1 -1
  552. package/dist/Shared/Components/ImageWithFallback/types.d.ts +2 -2
  553. package/dist/Shared/Components/InfoBlock/InfoBlock.component.d.ts +3 -0
  554. package/dist/Shared/Components/InfoBlock/constants.d.ts +8 -0
  555. package/dist/Shared/Components/InfoBlock/index.d.ts +2 -0
  556. package/dist/Shared/Components/InfoBlock/types.d.ts +40 -0
  557. package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
  558. package/dist/Shared/Components/InvalidYAMLTippy/InvalidYAMLTippyWrapper.d.ts +3 -0
  559. package/dist/Shared/Components/InvalidYAMLTippy/constants.d.ts +1 -0
  560. package/dist/Shared/Components/InvalidYAMLTippy/index.d.ts +3 -0
  561. package/dist/Shared/Components/InvalidYAMLTippy/types.d.ts +13 -0
  562. package/dist/Shared/Components/InvalidYAMLTippy/utils.d.ts +2 -0
  563. package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
  564. package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +75 -78
  565. package/dist/Shared/Components/KeyValueTable/index.d.ts +1 -1
  566. package/dist/Shared/Components/KeyValueTable/utils.d.ts +13 -0
  567. package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +3 -0
  568. package/dist/Shared/Components/KeyboardShortcut/constants.d.ts +3 -0
  569. package/dist/Shared/Components/KeyboardShortcut/index.d.ts +1 -0
  570. package/dist/Shared/Components/KeyboardShortcut/types.d.ts +4 -0
  571. package/dist/Shared/Components/License/ActivateLicenseDialog.d.ts +3 -0
  572. package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +3 -0
  573. package/dist/Shared/Components/License/License.components.d.ts +5 -0
  574. package/dist/Shared/Components/License/constants.d.ts +1 -0
  575. package/dist/Shared/Components/License/index.d.ts +6 -0
  576. package/dist/Shared/Components/License/services.d.ts +1 -0
  577. package/dist/Shared/Components/License/types.d.ts +45 -0
  578. package/dist/Shared/Components/License/utils.d.ts +9 -0
  579. package/dist/Shared/Components/LoadingCard.d.ts +5 -0
  580. package/dist/Shared/Components/LoginBanner/LoginBanner.d.ts +2 -0
  581. package/dist/Shared/Components/LoginBanner/Testimonials.components.d.ts +3 -0
  582. package/dist/Shared/Components/LoginBanner/constants.d.ts +4 -0
  583. package/dist/Shared/Components/LoginBanner/index.d.ts +3 -0
  584. package/dist/Shared/Components/LoginBanner/types.d.ts +7 -0
  585. package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +1 -1
  586. package/dist/Shared/Components/MaterialHistory/types.d.ts +1 -2
  587. package/dist/Shared/Components/ModalSidebarPanel/ModalSidebarPanel.component.d.ts +1 -1
  588. package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +4 -3
  589. package/dist/Shared/Components/NumbersCount/NumbersCount.component.d.ts +3 -0
  590. package/dist/Shared/Components/NumbersCount/index.d.ts +2 -0
  591. package/dist/Shared/Components/NumbersCount/types.d.ts +13 -0
  592. package/dist/Shared/Components/PhoneInput/PhoneInput.component.d.ts +3 -0
  593. package/dist/Shared/Components/PhoneInput/index.d.ts +1 -0
  594. package/dist/Shared/Components/PhoneInput/types.d.ts +11 -0
  595. package/dist/Shared/Components/Plugin/PluginCard.d.ts +1 -1
  596. package/dist/Shared/Components/Plugin/PluginCardSkeletonList.d.ts +1 -1
  597. package/dist/Shared/Components/Plugin/PluginImageContainer.d.ts +1 -1
  598. package/dist/Shared/Components/Plugin/PluginList.d.ts +1 -1
  599. package/dist/Shared/Components/Plugin/PluginListContainer.d.ts +1 -1
  600. package/dist/Shared/Components/Plugin/PluginTagSelect.d.ts +1 -1
  601. package/dist/Shared/Components/Plugin/PluginTagsContainer.d.ts +1 -1
  602. package/dist/Shared/Components/Plugin/index.d.ts +4 -4
  603. package/dist/Shared/Components/Plugin/service.d.ts +3 -3
  604. package/dist/Shared/Components/Plugin/types.d.ts +33 -12
  605. package/dist/Shared/Components/Plugin/utils.d.ts +0 -16
  606. package/dist/Shared/Components/Popover/Popover.component.d.ts +8 -0
  607. package/dist/Shared/Components/Popover/index.d.ts +3 -0
  608. package/dist/Shared/Components/Popover/types.d.ts +121 -0
  609. package/dist/Shared/Components/Popover/usePopover.hook.d.ts +2 -0
  610. package/dist/Shared/Components/Popover/utils.d.ts +92 -0
  611. package/dist/Shared/Components/PortalContainer/PortalContainer.d.ts +5 -0
  612. package/dist/Shared/Components/PortalContainer/index.d.ts +1 -0
  613. package/dist/Shared/Components/ProgressBar/ProgressBar.component.d.ts +2 -0
  614. package/dist/Shared/Components/ProgressBar/index.d.ts +1 -0
  615. package/dist/Shared/Components/ProgressBar/types.d.ts +9 -0
  616. package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +3 -0
  617. package/dist/Shared/Components/PrometheusConfigurations/index.d.ts +2 -0
  618. package/dist/Shared/Components/PrometheusConfigurations/types.d.ts +20 -0
  619. package/dist/Shared/Components/QRCode.d.ts +10 -0
  620. package/dist/Shared/Components/ReactSelect/constants.d.ts +18 -14
  621. package/dist/Shared/Components/ReactSelect/index.d.ts +1 -1
  622. package/dist/Shared/Components/ReactSelect/utils.d.ts +7 -32
  623. package/dist/Shared/Components/RegistryIcon/RegistryIcon.d.ts +2 -0
  624. package/dist/Shared/Components/RegistryIcon/constants.d.ts +2 -0
  625. package/dist/Shared/Components/RegistryIcon/index.d.ts +2 -0
  626. package/dist/Shared/Components/RegistryIcon/types.d.ts +25 -0
  627. package/dist/Shared/Components/SSOProviderIcon/SSOProviderIcon.d.ts +2 -0
  628. package/dist/Shared/Components/SSOProviderIcon/index.d.ts +2 -0
  629. package/dist/Shared/Components/SSOProviderIcon/types.d.ts +10 -0
  630. package/dist/Shared/Components/ScannedByToolModal/types.d.ts +2 -1
  631. package/dist/Shared/Components/Security/SecurityDetailsCards/ReportTabEmptyState.d.ts +2 -0
  632. package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityCard.d.ts +3 -0
  633. package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityDetailsCards.d.ts +3 -0
  634. package/dist/Shared/Components/Security/SecurityDetailsCards/index.d.ts +3 -0
  635. package/dist/Shared/Components/Security/SecurityDetailsCards/types.d.ts +18 -0
  636. package/dist/Shared/Components/Security/SecurityModal/components/OpenDetailViewButton.d.ts +1 -1
  637. package/dist/Shared/Components/Security/SecurityModal/components/index.d.ts +1 -1
  638. package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +6 -98
  639. package/dist/Shared/Components/Security/SecurityModal/config/EmptyState.d.ts +2 -2
  640. package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +3 -2
  641. package/dist/Shared/Components/Security/SecurityModal/config/InfoCard.d.ts +2 -2
  642. package/dist/Shared/Components/Security/SecurityModal/config/KubernetesManifest.d.ts +2 -2
  643. package/dist/Shared/Components/Security/SecurityModal/config/Sidebar.d.ts +6 -2
  644. package/dist/Shared/Components/Security/SecurityModal/config/Table.d.ts +2 -2
  645. package/dist/Shared/Components/Security/SecurityModal/config/index.d.ts +3 -2
  646. package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +19 -17
  647. package/dist/Shared/Components/Security/SecurityModal/index.d.ts +6 -5
  648. package/dist/Shared/Components/Security/SecurityModal/service.d.ts +6 -2
  649. package/dist/Shared/Components/Security/SecurityModal/types.d.ts +77 -43
  650. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +10 -11
  651. package/dist/Shared/Components/Security/SeverityChip.d.ts +6 -0
  652. package/dist/Shared/Components/Security/Vulnerabilities/Vulnerabilities.d.ts +1 -1
  653. package/dist/Shared/Components/Security/Vulnerabilities/index.d.ts +1 -1
  654. package/dist/Shared/Components/Security/Vulnerabilities/types.d.ts +2 -18
  655. package/dist/Shared/Components/Security/Vulnerabilities/utils.d.ts +0 -5
  656. package/dist/Shared/Components/Security/constants.d.ts +4 -0
  657. package/dist/Shared/Components/Security/index.d.ts +5 -2
  658. package/dist/Shared/Components/Security/types.d.ts +33 -0
  659. package/dist/Shared/Components/Security/utils.d.ts +8 -4
  660. package/dist/Shared/Components/SelectPicker/FilterSelectPicker.d.ts +2 -2
  661. package/dist/Shared/Components/SelectPicker/GroupedFilterSelectPicker.d.ts +2 -0
  662. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +6 -7
  663. package/dist/Shared/Components/SelectPicker/SelectPickerTextArea.component.d.ts +2 -0
  664. package/dist/Shared/Components/SelectPicker/common.d.ts +15 -11
  665. package/dist/Shared/Components/SelectPicker/constants.d.ts +6 -0
  666. package/dist/Shared/Components/SelectPicker/index.d.ts +5 -2
  667. package/dist/Shared/Components/SelectPicker/type.d.ts +112 -24
  668. package/dist/Shared/Components/SelectPicker/utils.d.ts +4 -2
  669. package/dist/Shared/Components/ShowMoreText/ShowMoreText.d.ts +3 -1
  670. package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +2 -0
  671. package/dist/Shared/Components/SideNavigation/index.d.ts +2 -0
  672. package/dist/Shared/Components/SideNavigation/types.d.ts +19 -0
  673. package/dist/Shared/Components/StatusComponent/AppStatus.d.ts +2 -0
  674. package/dist/Shared/Components/StatusComponent/DeploymentStatus.d.ts +2 -0
  675. package/dist/Shared/Components/StatusComponent/StatusComponent.d.ts +2 -0
  676. package/dist/Shared/Components/StatusComponent/constants.d.ts +7 -0
  677. package/dist/Shared/Components/StatusComponent/index.d.ts +5 -0
  678. package/dist/Shared/Components/StatusComponent/types.d.ts +49 -0
  679. package/dist/Shared/Components/StatusComponent/utils.d.ts +5 -0
  680. package/dist/Shared/Components/Switch/Switch.component.d.ts +3 -0
  681. package/dist/Shared/Components/Switch/constants.d.ts +14 -0
  682. package/dist/Shared/Components/Switch/index.d.ts +2 -0
  683. package/dist/Shared/Components/Switch/types.d.ts +111 -0
  684. package/dist/Shared/Components/Switch/utils.d.ts +12 -0
  685. package/dist/Shared/Components/SwitchThemeDialog/SwitchThemeDialog.component.d.ts +3 -0
  686. package/dist/Shared/Components/SwitchThemeDialog/index.d.ts +2 -0
  687. package/dist/Shared/Components/SwitchThemeDialog/types.d.ts +35 -0
  688. package/dist/Shared/Components/TabGroup/TabGroup.component.d.ts +1 -1
  689. package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +6 -6
  690. package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +46 -11
  691. package/dist/Shared/Components/TabGroup/TabGroup.utils.d.ts +3 -1
  692. package/dist/Shared/Components/Table/BulkSelectionActionWidget.d.ts +3 -0
  693. package/dist/Shared/Components/Table/InternalTable.d.ts +3 -0
  694. package/dist/Shared/Components/Table/Table.component.d.ts +3 -0
  695. package/dist/Shared/Components/Table/TableContent.d.ts +3 -0
  696. package/dist/Shared/Components/Table/constants.d.ts +9 -0
  697. package/dist/Shared/Components/Table/index.d.ts +3 -0
  698. package/dist/Shared/Components/Table/types.d.ts +240 -0
  699. package/dist/Shared/Components/Table/useTableWithKeyboardShortcuts.d.ts +11 -0
  700. package/dist/Shared/Components/Table/utils.d.ts +11 -0
  701. package/dist/Shared/Components/TagsKeyValueTable/TagsContainer.d.ts +3 -0
  702. package/dist/Shared/Components/TagsKeyValueTable/constants.d.ts +4 -0
  703. package/dist/Shared/Components/TagsKeyValueTable/index.d.ts +4 -0
  704. package/dist/Shared/Components/TagsKeyValueTable/types.d.ts +12 -0
  705. package/dist/Shared/Components/TagsKeyValueTable/utils.d.ts +3 -0
  706. package/dist/Shared/Components/TargetPlatforms/TargetPlatformBadgeList.d.ts +3 -0
  707. package/dist/Shared/Components/TargetPlatforms/TargetPlatformListTooltip.d.ts +3 -0
  708. package/dist/Shared/Components/TargetPlatforms/index.d.ts +3 -0
  709. package/dist/Shared/Components/TargetPlatforms/types.d.ts +6 -0
  710. package/dist/Shared/Components/TempAppWindow/TempAppWindow.d.ts +1 -0
  711. package/dist/Shared/Components/TempAppWindow/index.d.ts +1 -0
  712. package/dist/Shared/Components/Textarea/Textarea.component.d.ts +3 -0
  713. package/dist/Shared/Components/Textarea/constants.d.ts +4 -0
  714. package/dist/Shared/Components/Textarea/index.d.ts +2 -0
  715. package/dist/Shared/Components/Textarea/types.d.ts +37 -0
  716. package/dist/Shared/Components/Textarea/utils.d.ts +5 -0
  717. package/dist/Shared/Components/ThemeSwitcher/ThemeSwitcher.component.d.ts +3 -0
  718. package/dist/Shared/Components/ThemeSwitcher/index.d.ts +1 -0
  719. package/dist/Shared/Components/ThemeSwitcher/types.d.ts +3 -0
  720. package/dist/Shared/Components/ToggleResolveScopedVariables/ToggleResolveScopedVariables.component.d.ts +3 -0
  721. package/dist/Shared/Components/ToggleResolveScopedVariables/index.d.ts +1 -0
  722. package/dist/Shared/Components/ToggleResolveScopedVariables/types.d.ts +10 -0
  723. package/dist/Shared/Components/TrailingItem/TrailingItem.component.d.ts +3 -0
  724. package/dist/Shared/Components/TrailingItem/index.d.ts +2 -0
  725. package/dist/Shared/Components/TrailingItem/types.d.ts +43 -0
  726. package/dist/Shared/Components/TreeView/TreeView.component.d.ts +3 -0
  727. package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +3 -0
  728. package/dist/Shared/Components/TreeView/constants.d.ts +7 -0
  729. package/dist/Shared/Components/TreeView/index.d.ts +2 -0
  730. package/dist/Shared/Components/TreeView/types.d.ts +218 -0
  731. package/dist/Shared/Components/TreeView/utils.d.ts +22 -0
  732. package/dist/Shared/Components/Typewriter/BlinkingCursor.d.ts +1 -0
  733. package/dist/Shared/Components/Typewriter/index.d.ts +2 -0
  734. package/dist/Shared/Components/Typewriter/useTypewriter.d.ts +1 -0
  735. package/dist/Shared/Components/UnsavedChanges/UnsavedChanges.component.d.ts +2 -0
  736. package/dist/Shared/Components/UnsavedChanges/index.d.ts +1 -0
  737. package/dist/Shared/Components/UnsavedChangesDialog/UnsavedChangesDialog.component.d.ts +3 -0
  738. package/dist/Shared/Components/UnsavedChangesDialog/index.d.ts +1 -0
  739. package/dist/Shared/Components/UnsavedChangesDialog/types.d.ts +4 -0
  740. package/dist/Shared/Components/UserIdentifier/UserIdentifier.d.ts +2 -0
  741. package/dist/Shared/Components/UserIdentifier/index.d.ts +2 -0
  742. package/dist/Shared/Components/UserIdentifier/types.d.ts +16 -0
  743. package/dist/Shared/Components/VirtualizedList/VirtualizedList.component.d.ts +2 -0
  744. package/dist/Shared/Components/VirtualizedList/VirtualizedList.constants.d.ts +2 -0
  745. package/dist/Shared/Components/VirtualizedList/VirtualizedList.types.d.ts +36 -0
  746. package/dist/Shared/Components/VirtualizedList/index.d.ts +2 -0
  747. package/dist/Shared/Components/WorkflowOptionsModal/SourceTypeCard.d.ts +3 -0
  748. package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +3 -0
  749. package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +88 -0
  750. package/dist/Shared/Components/WorkflowOptionsModal/index.d.ts +2 -0
  751. package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +27 -0
  752. package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +25 -0
  753. package/dist/Shared/Components/index.d.ts +92 -29
  754. package/dist/Shared/Helpers.d.ts +66 -10
  755. package/dist/Shared/Hooks/UseDownload/UseDownload.d.ts +2 -6
  756. package/dist/Shared/Hooks/UseDownload/index.d.ts +1 -1
  757. package/dist/Shared/Hooks/UseDownload/types.d.ts +13 -0
  758. package/dist/Shared/Hooks/UsePrompt/UsePrompt.d.ts +1 -2
  759. package/dist/Shared/Hooks/UsePrompt/types.d.ts +1 -0
  760. package/dist/Shared/Hooks/index.d.ts +6 -2
  761. package/dist/Shared/Hooks/useForm/useForm.d.ts +47 -27
  762. package/dist/Shared/Hooks/useForm/useForm.types.d.ts +15 -8
  763. package/dist/Shared/Hooks/useForm/useForm.utils.d.ts +1 -1
  764. package/dist/Shared/Hooks/useGetResourceKindsOptions/index.d.ts +2 -1
  765. package/dist/Shared/Hooks/useGetResourceKindsOptions/service.d.ts +0 -6
  766. package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +6 -16
  767. package/dist/Shared/Hooks/useIsSecureConnection/index.d.ts +1 -0
  768. package/dist/Shared/Hooks/useIsSecureConnection/useIsSecureConnection.d.ts +1 -0
  769. package/dist/Shared/Hooks/useOneTimePrompt/constants.d.ts +1 -0
  770. package/dist/Shared/Hooks/useOneTimePrompt/index.d.ts +1 -0
  771. package/dist/Shared/Hooks/useOneTimePrompt/types.d.ts +3 -0
  772. package/dist/Shared/Hooks/useOneTimePrompt/useOneTimePrompt.d.ts +6 -0
  773. package/dist/Shared/Hooks/useStickyEvent/constants.d.ts +4 -0
  774. package/dist/Shared/Hooks/useStickyEvent/index.d.ts +1 -0
  775. package/dist/Shared/Hooks/useStickyEvent/types.d.ts +32 -0
  776. package/dist/Shared/Hooks/useStickyEvent/useStickyEvent.d.ts +8 -0
  777. package/dist/Shared/Hooks/useStickyEvent/utils.d.ts +2 -0
  778. package/dist/Shared/Hooks/useUserPreferences/constants.d.ts +3 -0
  779. package/dist/Shared/Hooks/useUserPreferences/index.d.ts +4 -0
  780. package/dist/Shared/Hooks/useUserPreferences/service.d.ts +20 -0
  781. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +127 -0
  782. package/dist/Shared/Hooks/useUserPreferences/useUserPrefrences.d.ts +12 -0
  783. package/dist/Shared/Hooks/useUserPreferences/utils.d.ts +3 -0
  784. package/dist/Shared/Providers/ImageSelectionUtility/ImageSelectionUtility.d.ts +1 -1
  785. package/dist/Shared/Providers/{MainContextProvider.d.ts → MainContextProvider/MainContextProvider.d.ts} +1 -1
  786. package/dist/Shared/Providers/MainContextProvider/index.d.ts +3 -0
  787. package/dist/Shared/Providers/MainContextProvider/types.d.ts +185 -0
  788. package/dist/Shared/Providers/ThemeProvider/ThemeProvider.d.ts +3 -0
  789. package/dist/Shared/Providers/ThemeProvider/constants.d.ts +2 -0
  790. package/dist/Shared/Providers/ThemeProvider/index.d.ts +4 -0
  791. package/dist/Shared/Providers/ThemeProvider/types.d.ts +41 -0
  792. package/dist/Shared/Providers/ThemeProvider/utils.d.ts +8 -0
  793. package/dist/Shared/Providers/UserEmailProvider/UserEmailProvider.d.ts +3 -3
  794. package/dist/Shared/Providers/UserEmailProvider/index.d.ts +1 -1
  795. package/dist/Shared/Providers/index.d.ts +2 -1
  796. package/dist/Shared/Services/ToastManager/ToastContent.d.ts +3 -2
  797. package/dist/Shared/Services/ToastManager/constants.d.ts +3 -3
  798. package/dist/Shared/Services/ToastManager/index.d.ts +1 -1
  799. package/dist/Shared/Services/ToastManager/types.d.ts +26 -6
  800. package/dist/Shared/Services/app.service.d.ts +11 -4
  801. package/dist/Shared/Services/app.types.d.ts +156 -34
  802. package/dist/Shared/Services/common.service.d.ts +7 -1
  803. package/dist/Shared/Services/index.d.ts +4 -2
  804. package/dist/Shared/Services/template.service.d.ts +2 -0
  805. package/dist/Shared/Services/types.d.ts +28 -1
  806. package/dist/Shared/Store/IndexStore.d.ts +2 -1
  807. package/dist/Shared/constants.d.ts +79 -68
  808. package/dist/Shared/index.d.ts +6 -5
  809. package/dist/Shared/types.d.ts +783 -32
  810. package/dist/Shared/validations.d.ts +22 -1
  811. package/dist/V4HPSUGU-BVMnhgRJ.js +2 -0
  812. package/dist/assets/@code-editor.css +1 -0
  813. package/dist/assets/@common-rjsf.css +1 -0
  814. package/dist/assets/@vendor.css +1 -0
  815. package/dist/assets/DeployAudio.566e45df.mp3 +0 -0
  816. package/dist/assets/create-backup-schedule.bbac4a86.webp +0 -0
  817. package/dist/assets/create-backup-snapshot.c794f612.webp +0 -0
  818. package/dist/assets/empty-create.661d9355.png +0 -0
  819. package/dist/assets/ic-loading-failure.aa68693d.png +0 -0
  820. package/dist/assets/img-code.fa00ae8e.webp +0 -0
  821. package/dist/assets/img-devtron-freemium.d0657c61.webp +0 -0
  822. package/dist/assets/img-man-on-rocket.ab6bef97.webp +0 -0
  823. package/dist/assets/img-no-result.51284acb.webp +0 -0
  824. package/dist/assets/index.css +1 -1
  825. package/dist/assets/lifebuoy.7d8fdf27.png +0 -0
  826. package/dist/assets/login-screen-ui.a33a6496.webp +0 -0
  827. package/dist/assets/no-artifact.fd2d84d9.webp +0 -0
  828. package/dist/assets/no-cluster-cost-enabled.038c73db.webp +0 -0
  829. package/dist/index.d.ts +141 -12
  830. package/dist/index.js +28882 -564
  831. package/dist/javascript-CP782ZPa.js +2 -0
  832. package/dist/rolldown-runtime-BETGA6I9.js +23 -0
  833. package/dist/vitesse-dark-XJRLdhTE.js +2 -0
  834. package/dist/vitesse-light-DS2ELujL.js +2 -0
  835. package/package.json +83 -48
  836. package/dist/Common/Api.d.ts +0 -15
  837. package/dist/Common/AppStatus/AppStatus.d.ts +0 -2
  838. package/dist/Common/AppStatus/constants.d.ts +0 -36
  839. package/dist/Common/AppStatus/index.d.ts +0 -2
  840. package/dist/Common/AppStatus/types.d.ts +0 -12
  841. package/dist/Common/AppStatus/utils.d.ts +0 -1
  842. package/dist/Common/Checkbox.d.ts +0 -5
  843. package/dist/Common/CodeEditor/CodeEditor.d.ts +0 -4
  844. package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +0 -35
  845. package/dist/Common/CodeEditor/index.d.ts +0 -2
  846. package/dist/Common/CodeEditor/types.d.ts +0 -98
  847. package/dist/Common/CustomInput/CustomInput.d.ts +0 -2
  848. package/dist/Common/CustomInput/Types.d.ts +0 -30
  849. package/dist/Common/CustomInput/index.d.ts +0 -2
  850. package/dist/Common/CustomTagSelector/TagLabelSelect.d.ts +0 -2
  851. package/dist/Common/CustomTagSelector/TagSelector.utils.d.ts +0 -12
  852. package/dist/Common/DeleteComponentModal/DeleteComponent.d.ts +0 -3
  853. package/dist/Common/DeleteComponentModal/types.d.ts +0 -18
  854. package/dist/Common/Dialogs/ConfirmationDialog.d.ts +0 -8
  855. package/dist/Common/Dialogs/DeleteDialog.d.ts +0 -5
  856. package/dist/Common/Dialogs/ForceDeleteDialog.d.ts +0 -2
  857. package/dist/Common/Hooks/UseSuperAdmin/UseSuperAdmin.d.ts +0 -6
  858. package/dist/Common/Hooks/UseSuperAdmin/types.d.ts +0 -3
  859. package/dist/Common/InfoColorBar/InfoColourbar.d.ts +0 -3
  860. package/dist/Common/Markdown/constant.d.ts +0 -28
  861. package/dist/Common/ResizableTextarea.d.ts +0 -3
  862. package/dist/Common/Toggle/Toggle.d.ts +0 -12
  863. package/dist/Common/utils.d.ts +0 -1
  864. package/dist/Pages/App/AppConfigurations/index.d.ts +0 -1
  865. package/dist/Pages/App/index.d.ts +0 -1
  866. package/dist/Shared/Components/AnnouncementBanner/AnnouncementBanner.d.ts +0 -6
  867. package/dist/Shared/Components/AnnouncementBanner/index.d.ts +0 -1
  868. package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +0 -3
  869. package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +0 -3
  870. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryConfigList.component.d.ts +0 -3
  871. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDetailedView.d.ts +0 -3
  872. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts +0 -3
  873. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryHeader.d.ts +0 -3
  874. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistorySidebar.d.ts +0 -3
  875. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/index.d.ts +0 -3
  876. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/types.d.ts +0 -35
  877. package/dist/Shared/Components/CICDHistory/ErrorInfoStatusBar.d.ts +0 -2
  878. package/dist/Shared/Components/DatePicker/SingleDatePickerComponent.d.ts +0 -11
  879. package/dist/Shared/Components/Header/HelpNav.d.ts +0 -3
  880. package/dist/Shared/Components/KeyValueList/KeyValueList.d.ts +0 -3
  881. package/dist/Shared/Components/KeyValueList/constants.d.ts +0 -5
  882. package/dist/Shared/Components/KeyValueList/index.d.ts +0 -2
  883. package/dist/Shared/Components/KeyValueList/types.d.ts +0 -52
  884. package/dist/Shared/Components/LogoutCard.d.ts +0 -9
  885. package/dist/Shared/Components/Security/SecuritySummaryCard/SecuritySummaryCard.d.ts +0 -3
  886. package/dist/Shared/Components/Security/SecuritySummaryCard/index.d.ts +0 -1
  887. package/dist/Shared/Components/Security/SecuritySummaryCard/types.d.ts +0 -12
  888. package/dist/Shared/Providers/types.d.ts +0 -29
  889. package/dist/Shared/Services/ToastManager/toastManager.service.d.ts +0 -80
  890. package/dist/abap-DttVK1gE.js +0 -1314
  891. package/dist/apex-BjfHvyb2.js +0 -315
  892. package/dist/azcli-Ws-Trf8e.js +0 -74
  893. package/dist/bat-CeCHpU9_.js +0 -95
  894. package/dist/bicep-C7a7aEmi.js +0 -108
  895. package/dist/cameligo-CJeEIvX4.js +0 -168
  896. package/dist/clojure-CEKXhLdU.js +0 -754
  897. package/dist/coffee-CKu3e6V1.js +0 -228
  898. package/dist/cpp-CvUiT5Ec.js +0 -390
  899. package/dist/csharp-PmU9HJkB.js +0 -320
  900. package/dist/csp-DULvRLPF.js +0 -57
  901. package/dist/css-CNWXQPpt.js +0 -186
  902. package/dist/cssMode-DzZAlFXm.js +0 -1446
  903. package/dist/cypher-CYHOQS2R.js +0 -262
  904. package/dist/dart-BjGx-9Jk.js +0 -270
  905. package/dist/dockerfile-D0WaVIZ2.js +0 -132
  906. package/dist/ecl-CijaJu-p.js +0 -454
  907. package/dist/elixir-BI5Tc37S.js +0 -489
  908. package/dist/flow9-BApGtQOO.js +0 -141
  909. package/dist/freemarker2-DQO2yiWh.js +0 -643
  910. package/dist/fsharp-VeKgt2eG.js +0 -210
  911. package/dist/go-Cl8cKDlN.js +0 -208
  912. package/dist/graphql-PfgPBmj4.js +0 -141
  913. package/dist/handlebars-IrTn8N2Z.js +0 -391
  914. package/dist/hcl-CG4VZSkm.js +0 -177
  915. package/dist/html-DLBso2oN.js +0 -281
  916. package/dist/htmlMode-Dx8V65o4.js +0 -1456
  917. package/dist/index-Btf7nBuW.js +0 -155495
  918. package/dist/ini-EhiBNPZF.js +0 -68
  919. package/dist/java-DPbnXhoY.js +0 -221
  920. package/dist/javascript-Dvn-Mpn4.js +0 -75
  921. package/dist/jsonMode-DKuzVHCA.js +0 -1866
  922. package/dist/julia-Bw7EYexg.js +0 -496
  923. package/dist/kotlin-BNXLDoV0.js +0 -245
  924. package/dist/less-DtuF_id_.js +0 -168
  925. package/dist/lexon-DpB0-37O.js +0 -151
  926. package/dist/liquid-BVJW9xij.js +0 -238
  927. package/dist/lua-CzRNOk9S.js +0 -157
  928. package/dist/m3-pXPmDwal.js +0 -210
  929. package/dist/markdown-CeQ3rxjn.js +0 -202
  930. package/dist/mdx-CgFHm_Sz.js +0 -171
  931. package/dist/mips-DyE0VSNz.js +0 -194
  932. package/dist/msdax-CbdkoqRa.js +0 -377
  933. package/dist/mysql-B86-uHNu.js +0 -876
  934. package/dist/objective-c-1xvkKPId.js +0 -188
  935. package/dist/pascal-DcyFhj80.js +0 -245
  936. package/dist/pascaligo-QnM0hvMG.js +0 -158
  937. package/dist/perl-Bqp3FbU4.js +0 -599
  938. package/dist/pgsql-HdG7BG_Z.js +0 -847
  939. package/dist/php-zf7L2p7t.js +0 -471
  940. package/dist/pla-3Ykqsyzl.js +0 -131
  941. package/dist/postiats-D1v08O4B.js +0 -544
  942. package/dist/powerquery-CiQ9b1-b.js +0 -890
  943. package/dist/powershell-DFNK6VaX.js +0 -233
  944. package/dist/protobuf-D5P2Z6tc.js +0 -422
  945. package/dist/pug-BeyMX5am.js +0 -393
  946. package/dist/python-BFJ7kh5W.js +0 -259
  947. package/dist/qsharp-DcFOTjuP.js +0 -282
  948. package/dist/r-B3aJPcWp.js +0 -245
  949. package/dist/razor-CYjsrqGD.js +0 -512
  950. package/dist/redis-CyC__Tub.js +0 -298
  951. package/dist/redshift-NqbcQPcY.js +0 -806
  952. package/dist/restructuredtext-CZMxBkap.js +0 -162
  953. package/dist/ruby-C_jEtDv5.js +0 -444
  954. package/dist/rust-WAeitMCC.js +0 -337
  955. package/dist/sb-CSBm2pED.js +0 -110
  956. package/dist/scala-D76PhKmh.js +0 -353
  957. package/dist/scheme-CBSAjRuO.js +0 -114
  958. package/dist/scss-BHY8wFFg.js +0 -244
  959. package/dist/shell-Cwju9_l8.js +0 -224
  960. package/dist/solidity-BV1-nze3.js +0 -1351
  961. package/dist/sophia-DfoUlGAs.js +0 -190
  962. package/dist/sparql-4kfArTtK.js +0 -193
  963. package/dist/sql-DIpn0HSX.js +0 -818
  964. package/dist/st-BgJ_KDZh.js +0 -415
  965. package/dist/swift-D-ucEgIi.js +0 -315
  966. package/dist/systemverilog-DjkH5zuo.js +0 -556
  967. package/dist/tcl-gd8XLKJA.js +0 -232
  968. package/dist/tsMode-CMRuvqqP.js +0 -810
  969. package/dist/twig-D5XtTFGM.js +0 -323
  970. package/dist/typescript-CSXwlDVg.js +0 -328
  971. package/dist/vb-DYqqYAf3.js +0 -364
  972. package/dist/wgsl-CkZE0qf3.js +0 -420
  973. package/dist/xml-CCXFyBZo.js +0 -95
  974. package/dist/yaml-D8DXGT6k.js +0 -184
  975. package/dist/yaml.worker.d.ts +0 -0
  976. /package/dist/{Pages/CDPipeline → Pages-Devtron-2.0/DataProtectionManagement}/index.d.ts +0 -0
@@ -1,5 +1,9 @@
1
- import { SeverityCount } from '../../types';
2
- import { SeveritiesDTO } from './SecurityModal/types';
3
- export declare const getTotalSeverityCount: (severityCount: SeverityCount) => number;
4
- export declare const getSeverityCountFromSummary: (scanResultSeverities: Partial<Record<SeveritiesDTO, number>>) => SeverityCount;
1
+ import { ImageScanLicenseListType, ImageScanVulnerabilityListType, StatusType } from './SecurityModal/types';
2
+ import { ScanResultDTO, SeveritiesDTO } from './SecurityModal';
3
+ import { CategoriesConfig, SecurityConfigType } from './types';
5
4
  export declare const getCVEUrlFromCVEName: (cveName: string) => string;
5
+ export declare const getTotalSeverities: (severityCount: Partial<Record<SeveritiesDTO, number>>) => number;
6
+ export declare const getSecurityConfig: ({ imageScan, codeScan, kubernetesManifest, }: CategoriesConfig) => SecurityConfigType;
7
+ export declare const getCompiledSecurityThreats: (scanResult: ScanResultDTO) => Partial<Record<SeveritiesDTO, number>>;
8
+ export declare const getStatusForScanList: (scanList: ImageScanVulnerabilityListType[] | ImageScanLicenseListType[]) => StatusType["status"];
9
+ export declare const getSecurityScanStatus: (scanResult: ScanResultDTO) => StatusType["status"];
@@ -1,3 +1,3 @@
1
1
  import { FilterSelectPickerProps } from './type';
2
- declare const FilterSelectPicker: ({ appliedFilterOptions, handleApplyFilter, options, ...props }: FilterSelectPickerProps) => JSX.Element;
3
- export default FilterSelectPicker;
2
+ declare const FilterSelectPickerWrapper: (props: FilterSelectPickerProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default FilterSelectPickerWrapper;
@@ -0,0 +1,2 @@
1
+ import { GroupedFilterSelectPickerProps } from './type';
2
+ export declare const GroupedFilterSelectPicker: <T extends string | number>({ id, filterSelectPickerPropsMap, isFilterApplied, ...restProps }: GroupedFilterSelectPickerProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -37,16 +37,15 @@ import { SelectPickerProps } from './type';
37
37
  * <SelectPicker ... helperText="Help information" />
38
38
  * ```
39
39
  *
40
- * @example Menu list footer
40
+ * @example Menu list footer config
41
41
  * The footer is sticky by default
42
42
  * ```tsx
43
43
  * <SelectPicker
44
44
  * ...
45
- * renderMenuListFooter={() => (
46
- * <div className="px-8 py-6 dc__border-top bcn-50 cn-6">
47
- * <div>Foot note</div>
48
- * </div>
49
- * )}
45
+ * menuListFooterConfig={{
46
+ * type: 'text',
47
+ * value: 'Info text',
48
+ * }}
50
49
  * />
51
50
  * ```
52
51
  *
@@ -134,5 +133,5 @@ import { SelectPickerProps } from './type';
134
133
  * />
135
134
  * ```
136
135
  */
137
- declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, menuPosition, variant, disableDescriptionEllipsis, multiSelectProps, isMulti, name, classNamePrefix, shouldRenderCustomOptions, isSearchable, selectRef, shouldMenuAlignRight, fullWidth, customSelectedOptionsCount, renderMenuListFooter, inputValue, onInputChange, isCreatable, onCreateOption, closeMenuOnSelect, ...props }: SelectPickerProps<OptionValue, IsMulti>) => JSX.Element;
136
+ declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, keyboardShortcut, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, menuPosition, variant, disableDescriptionEllipsis, isUserIdentifier, multiSelectProps, isMulti, name, classNamePrefix, shouldRenderCustomOptions, isSearchable, selectRef: refFromConsumer, shouldMenuAlignRight, fullWidth, customSelectedOptionsCount, menuListFooterConfig, isCreatable, onCreateOption, closeMenuOnSelect: _closeMenuOnSelect, shouldShowNoOptionsMessage, shouldRenderTextArea, onKeyDown, shouldHideMenu, warningText, layout, ariaLabel, borderConfig, borderRadiusConfig, labelTippyCustomizedConfig, labelTooltipConfig, hideFormFieldInfo, autoFocus, showCheckboxForMultiSelect, ...props }: SelectPickerProps<OptionValue, IsMulti>) => import("react/jsx-runtime").JSX.Element;
138
137
  export default SelectPicker;
@@ -0,0 +1,2 @@
1
+ import { SelectPickerTextAreaProps } from './type';
2
+ export declare const SelectPickerTextArea: ({ value, options, isCreatable, onChange, minHeight, maxHeight, refVar, dependentRefs, filterOption: filterOptionProp, ...props }: SelectPickerTextAreaProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,12 +1,16 @@
1
- import { DropdownIndicatorProps, ControlProps, OptionProps, ClearIndicatorProps, ValueContainerProps, MenuListProps, MultiValueRemoveProps, MultiValueProps } from 'react-select';
1
+ import { ClearIndicatorProps, ControlProps, DropdownIndicatorProps, InputProps, MenuListProps, MultiValueProps, OptionProps, ValueContainerProps } from 'react-select';
2
+ import { TooltipProps } from '../../../Common/Tooltip';
2
3
  import { SelectPickerGroupHeadingProps, SelectPickerOptionType, SelectPickerProps } from './type';
3
- export declare const SelectPickerDropdownIndicator: <OptionValue>(props: DropdownIndicatorProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
4
- export declare const SelectPickerClearIndicator: <OptionValue>(props: ClearIndicatorProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
5
- export declare const SelectPickerControl: <OptionValue>(props: ControlProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
6
- export declare const SelectPickerValueContainer: <OptionValue, IsMulti extends boolean>({ showSelectedOptionsCount, customSelectedOptionsCount, ...props }: ValueContainerProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "showSelectedOptionsCount" | "customSelectedOptionsCount">) => JSX.Element;
7
- export declare const SelectPickerLoadingIndicator: () => JSX.Element;
8
- export declare const SelectPickerOption: <OptionValue, IsMulti extends boolean>({ disableDescriptionEllipsis, ...props }: OptionProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "disableDescriptionEllipsis">) => JSX.Element;
9
- export declare const SelectPickerMenuList: <OptionValue>(props: MenuListProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
10
- export declare const SelectPickerMultiValueLabel: <OptionValue, IsMulti extends boolean>({ getIsOptionValid, ...props }: MultiValueProps<SelectPickerOptionType<OptionValue>, true> & Pick<SelectPickerProps<OptionValue, IsMulti>["multiSelectProps"], "getIsOptionValid">) => JSX.Element;
11
- export declare const SelectPickerMultiValueRemove: (props: MultiValueRemoveProps) => JSX.Element;
12
- export declare const SelectPickerGroupHeading: <OptionValue>({ isGroupHeadingSelectable, ...props }: SelectPickerGroupHeadingProps<OptionValue>) => JSX.Element;
4
+ export declare const getTooltipProps: (tooltipProps?: SelectPickerOptionType["tooltipProps"]) => TooltipProps;
5
+ export declare const SelectPickerDropdownIndicator: <OptionValue>(props: DropdownIndicatorProps<SelectPickerOptionType<OptionValue>>) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const SelectPickerClearIndicator: <OptionValue>(props: ClearIndicatorProps<SelectPickerOptionType<OptionValue>>) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const SelectPickerControl: <OptionValue>(props: ControlProps<SelectPickerOptionType<OptionValue>>) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const SelectPickerInput: <OptionValue>(props: InputProps<SelectPickerOptionType<OptionValue>>) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const SelectPickerValueContainer: <OptionValue, IsMulti extends boolean>({ showSelectedOptionsCount, customSelectedOptionsCount, ...props }: ValueContainerProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "showSelectedOptionsCount" | "customSelectedOptionsCount">) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const SelectPickerOption: <OptionValue, IsMulti extends boolean>({ disableDescriptionEllipsis, isUserIdentifier, ...props }: OptionProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "disableDescriptionEllipsis" | "isUserIdentifier">) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const SelectPickerMenuListFooter: ({ menuListFooterConfig, }: Required<Pick<SelectPickerProps, "menuListFooterConfig">>) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const SelectPickerMenuList: <OptionValue>(props: MenuListProps<SelectPickerOptionType<OptionValue>>) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const SelectPickerMultiValue: <OptionValue, IsMulti extends boolean>({ getIsOptionValid, ...props }: MultiValueProps<SelectPickerOptionType<OptionValue>, true> & Pick<SelectPickerProps<OptionValue, IsMulti>["multiSelectProps"], "getIsOptionValid">) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const SelectPickerGroupHeading: <OptionValue>({ isGroupHeadingSelectable, ...props }: SelectPickerGroupHeadingProps<OptionValue>) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const renderLoadingMessage: () => import("react/jsx-runtime").JSX.Element;
16
+ export declare const ValueContainerWithLoadingShimmer: (props: ValueContainerProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { CSSProperties } from 'react';
2
+ import { SelectPickerProps } from './type';
3
+ export declare const SELECT_PICKER_FONT_SIZE_MAP: Record<SelectPickerProps['size'], CSSProperties['fontSize']>;
4
+ export declare const SELECT_PICKER_ICON_SIZE_MAP: Record<SelectPickerProps['size'], Pick<CSSProperties, 'width' | 'height'>>;
5
+ export declare const SELECT_PICKER_CONTROL_SIZE_MAP: Record<SelectPickerProps['size'], CSSProperties['minHeight']>;
6
+ export declare const SELECT_PICKER_MULTI_VALUE_LABEL_SIZE_MAP: Record<SelectPickerProps['size'], CSSProperties['lineHeight']>;
@@ -1,4 +1,7 @@
1
- export { default as SelectPicker } from './SelectPicker.component';
1
+ export { ValueContainerWithLoadingShimmer } from './common';
2
2
  export { default as FilterSelectPicker } from './FilterSelectPicker';
3
+ export * from './GroupedFilterSelectPicker';
4
+ export { default as SelectPicker } from './SelectPicker.component';
5
+ export * from './SelectPickerTextArea.component';
3
6
  export * from './type';
4
- export { getSelectPickerOptionByValue } from './utils';
7
+ export { getSelectPickerOptionByValue, getSelectPickerOptionsByValue } from './utils';
@@ -1,14 +1,20 @@
1
- import { ServerErrors } from '../../../Common/ServerError';
2
- import { OptionType } from '../../../Common/Types';
3
- import { ComponentSizeType } from '../../constants';
4
1
  import { MutableRefObject, ReactElement, ReactNode } from 'react';
5
2
  import { GroupBase, GroupHeadingProps, Props as ReactSelectProps, SelectInstance } from 'react-select';
6
3
  import { CreatableProps } from 'react-select/creatable';
7
- export interface SelectPickerOptionType<OptionValue = string | number> extends OptionType<OptionValue, ReactNode> {
4
+ import { ResizableTagTextAreaProps } from '../../../Common/CustomTagSelector';
5
+ import { ServerErrors } from '../../../Common/ServerError';
6
+ import { TooltipProps } from '../../../Common/Tooltip';
7
+ import { OptionType } from '../../../Common/Types';
8
+ import { ComponentSizeType } from '../../constants';
9
+ import { ActionMenuProps } from '../ActionMenu';
10
+ import { ButtonComponentType, ButtonProps, ButtonVariantType } from '../Button';
11
+ import { FormFieldWrapperProps } from '../FormFieldWrapper/types';
12
+ import { UsePopoverProps, UsePopoverReturnType } from '../Popover';
13
+ export interface SelectPickerOptionType<OptionValue = string | number, OptionLabel = ReactNode> extends OptionType<OptionValue, OptionLabel> {
8
14
  /**
9
15
  * Description to be displayed for the option
10
16
  */
11
- description?: string;
17
+ description?: ReactNode;
12
18
  /**
13
19
  * Icon at the start of the option
14
20
  */
@@ -17,18 +23,40 @@ export interface SelectPickerOptionType<OptionValue = string | number> extends O
17
23
  * Icon at the end of the option
18
24
  */
19
25
  endIcon?: ReactElement;
26
+ /**
27
+ * Props passed to show the tippy on option
28
+ */
29
+ tooltipProps?: Omit<TooltipProps, 'alwaysShowTippyOnHover' | 'showOnTruncate' | 'shortcutKeyCombo'> | (Omit<TooltipProps, 'alwaysShowTippyOnHover' | 'showOnTruncate' | 'content'> & Required<Pick<TooltipProps, 'shortcutKeyCombo'>>);
20
30
  }
21
31
  type SelectProps<OptionValue, IsMulti extends boolean> = ReactSelectProps<SelectPickerOptionType<OptionValue>, IsMulti, GroupBase<SelectPickerOptionType<OptionValue>>>;
32
+ type MenuListFooterConfigType = {
33
+ type: 'text';
34
+ /**
35
+ * String is preferred for text type
36
+ */
37
+ value: ReactNode;
38
+ buttonProps?: never;
39
+ } | {
40
+ type: 'button';
41
+ value?: never;
42
+ buttonProps: {
43
+ variant: ButtonVariantType.primary | ButtonVariantType.borderLess;
44
+ } & Omit<ButtonProps<ButtonComponentType>, 'size' | 'fullWidth' | 'icon' | 'endIcon' | 'variant' | 'style'>;
45
+ } | {
46
+ type: 'customNode';
47
+ value: ReactElement;
48
+ buttonProps?: never;
49
+ };
22
50
  declare module 'react-select/base' {
23
51
  interface Props<Option, IsMulti extends boolean, Group extends GroupBase<Option>> {
24
52
  /**
25
- * Render function for the footer at the bottom of menu list. It is sticky by default
53
+ * Config for the footer at the bottom of menu list. It is sticky by default
26
54
  */
27
- renderMenuListFooter?: () => ReactNode;
55
+ menuListFooterConfig?: MenuListFooterConfigType;
28
56
  /**
29
57
  * If true, custom options are rendered in the menuList component of react select
30
58
  *
31
- * Note: renderCustomOptions is required to be passed; renderMenuListFooter is also not called
59
+ * Note: renderCustomOptions is required to be passed; menuListFooterConfig is also not used
32
60
  *
33
61
  * @default false
34
62
  */
@@ -43,6 +71,17 @@ declare module 'react-select/base' {
43
71
  * Icon to be rendered in the control
44
72
  */
45
73
  icon?: ReactElement;
74
+ /**
75
+ * Renders the keyboard shortcut key that opens the select picker \
76
+ * Shortcut key needs to be defined first in order to use it.
77
+ * @note This is displayed in place of the dropdown indicator
78
+ */
79
+ keyboardShortcut?: string;
80
+ /**
81
+ * If true, checkboxes are shown for options in multi-select mode.
82
+ * @default true
83
+ */
84
+ showCheckboxForMultiSelect?: boolean;
46
85
  /**
47
86
  * If true, the selected option icon is shown in the container.
48
87
  * startIcon has higher priority than endIcon.
@@ -50,35 +89,47 @@ declare module 'react-select/base' {
50
89
  * @default 'true'
51
90
  */
52
91
  showSelectedOptionIcon?: boolean;
92
+ /**
93
+ * If provided, the custom display text is shown in the value container
94
+ *
95
+ * @default null
96
+ */
97
+ customDisplayText?: string;
98
+ /** Render function for the footer at the end of the options list. */
99
+ renderOptionsFooter?: () => ReactNode;
100
+ /**
101
+ * If true, the select picker will render textarea instead of input.
102
+ * @default false
103
+ */
104
+ shouldRenderTextArea?: boolean;
105
+ /**
106
+ * Custom prop for the value container for focussed state
107
+ */
108
+ isFocussed?: boolean;
53
109
  }
54
110
  }
55
111
  export declare enum SelectPickerVariantType {
56
112
  DEFAULT = "default",
57
- BORDER_LESS = "border-less"
113
+ BORDER_LESS = "border-less",
114
+ COMPACT = "compact"
58
115
  }
59
- export type SelectPickerProps<OptionValue = number | string, IsMulti extends boolean = false> = Pick<SelectProps<OptionValue, IsMulti>, 'name' | 'classNamePrefix' | 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder' | 'menuPosition' | 'getOptionLabel' | 'getOptionValue' | 'isOptionSelected' | 'menuIsOpen' | 'onMenuOpen' | 'onMenuClose' | 'autoFocus' | 'onBlur' | 'onKeyDown' | 'formatOptionLabel' | 'onInputChange' | 'inputValue'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, 'renderMenuListFooter' | 'shouldRenderCustomOptions' | 'renderCustomOptions' | 'icon' | 'showSelectedOptionIcon'>> & Required<Pick<SelectProps<OptionValue, IsMulti>, 'inputId'>> & Partial<Pick<CreatableProps<SelectPickerOptionType<OptionValue>, IsMulti, GroupBase<SelectPickerOptionType<OptionValue>>>, 'onCreateOption'>> & {
60
- /**
61
- * Error message for the select
62
- */
63
- error?: ReactNode;
64
- /**
65
- * Info text for the select, if any
66
- */
67
- helperText?: ReactNode;
116
+ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boolean = false> = Pick<SelectProps<OptionValue, IsMulti>, 'name' | 'classNamePrefix' | 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder' | 'menuPosition' | 'getOptionLabel' | 'getOptionValue' | 'isOptionSelected' | 'menuIsOpen' | 'onMenuOpen' | 'onMenuClose' | 'autoFocus' | 'onBlur' | 'onKeyDown' | 'formatOptionLabel' | 'onInputChange' | 'inputValue' | 'filterOption' | 'noOptionsMessage' | 'defaultMenuIsOpen' | 'onFocus'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, 'shouldRenderCustomOptions' | 'renderCustomOptions' | 'icon' | 'showSelectedOptionIcon' | 'renderOptionsFooter' | 'shouldRenderTextArea' | 'keyboardShortcut' | 'showCheckboxForMultiSelect'>> & Required<Pick<SelectProps<OptionValue, IsMulti>, 'inputId'>> & Partial<Pick<CreatableProps<SelectPickerOptionType<OptionValue>, IsMulti, GroupBase<SelectPickerOptionType<OptionValue>>>, 'onCreateOption' | 'formatCreateLabel' | 'menuPortalTarget'>> & Omit<FormFieldWrapperProps, 'children'> & {
68
117
  /**
69
- * Label for the select. if required is added, the corresponding * is also added
118
+ * Config for the footer at the bottom of menu list. It is sticky by default
119
+ *
120
+ * Note: Re-declaring here since dynamic typing doesn't work with module augmentation
70
121
  */
71
- label?: ReactNode;
122
+ menuListFooterConfig?: MenuListFooterConfigType;
72
123
  /**
73
124
  * Custom selected options count for use cases like filters
74
125
  */
75
126
  customSelectedOptionsCount?: number;
76
127
  /**
77
- * Height of the dropdown
128
+ * Size of select
78
129
  *
79
130
  * @default 'ComponentSizeType.medium'
80
131
  */
81
- size?: Extract<ComponentSizeType, ComponentSizeType.medium | ComponentSizeType.large>;
132
+ size?: Extract<ComponentSizeType, ComponentSizeType.medium | ComponentSizeType.large | ComponentSizeType.small | ComponentSizeType.xl>;
82
133
  /**
83
134
  * Content to be shown in a tippy when disabled
84
135
  */
@@ -140,9 +191,24 @@ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boo
140
191
  * @default false
141
192
  */
142
193
  isCreatable?: boolean;
194
+ /**
195
+ * If false, the no options message is not shown
196
+ *
197
+ * Note: Handling for the menu distortion needs to be handled explicitly in this case
198
+ *
199
+ * @default true
200
+ */
201
+ shouldShowNoOptionsMessage?: boolean;
202
+ /**
203
+ * If true, the menu list and the dropdown indicator are hidden. Suitable for use cases like multi-inputs
204
+ *
205
+ * @default false
206
+ */
207
+ shouldHideMenu?: boolean;
143
208
  } & (IsMulti extends true ? {
144
209
  isMulti: IsMulti | boolean;
145
- multiSelectProps?: {
210
+ isUserIdentifier?: boolean;
211
+ multiSelectProps?: Partial<Pick<SelectProps<OptionValue, IsMulti>, 'customDisplayText'>> & {
146
212
  /**
147
213
  * If true, the group heading can be selected
148
214
  *
@@ -159,12 +225,34 @@ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boo
159
225
  } : {
160
226
  isMulti?: never;
161
227
  multiSelectProps?: never;
228
+ isUserIdentifier?: never;
162
229
  });
163
230
  export type SelectPickerGroupHeadingProps<OptionValue> = GroupHeadingProps<SelectPickerOptionType<OptionValue>> & {
164
231
  isGroupHeadingSelectable: boolean;
165
232
  };
166
- export interface FilterSelectPickerProps extends Required<Pick<SelectPickerProps<number | string, true>, 'options' | 'isDisabled' | 'placeholder' | 'isLoading'>>, Pick<SelectPickerProps<number | string, true>, 'selectRef' | 'inputId' | 'menuPosition' | 'autoFocus' | 'shouldMenuAlignRight' | 'optionListError' | 'reloadOptionList'> {
233
+ export interface FilterSelectPickerProps extends Required<Pick<SelectPickerProps<number | string, true>, 'options' | 'isDisabled' | 'placeholder' | 'isLoading'>>, Pick<SelectPickerProps<number | string, true>, 'selectRef' | 'inputId' | 'menuPosition' | 'autoFocus' | 'shouldMenuAlignRight' | 'optionListError' | 'reloadOptionList' | 'getOptionValue' | 'isOptionDisabled' | 'onMenuClose' | 'menuIsOpen' | 'onKeyDown' | 'isUserIdentifier'> {
167
234
  appliedFilterOptions: SelectPickerOptionType[];
168
235
  handleApplyFilter: (filtersToApply: SelectPickerOptionType<number | string>[]) => void;
169
236
  }
237
+ export type SelectPickerTextAreaProps = Omit<SelectPickerProps<string, false>, 'selectRef' | 'inputValue' | 'onInputChange' | 'controlShouldRenderValue' | 'onKeyDown' | 'onCreateOption' | 'shouldRenderTextArea'> & Pick<ResizableTagTextAreaProps, 'maxHeight' | 'minHeight' | 'refVar' | 'dependentRefs'>;
238
+ export type FilterSelectPickerMapSelectPickerVariant = {
239
+ variant?: 'selectPicker';
240
+ } & Omit<FilterSelectPickerProps, 'autoFocus' | 'menuIsOpen' | 'onMenuClose' | 'onKeyDown' | 'selectRef'>;
241
+ type FilterSelectPickerMapPopOverVariant = {
242
+ variant: 'popover';
243
+ /**
244
+ * Component rendered inside the Popover.
245
+ * Receives `closePopover` as a prop to allow programmatic closing.
246
+ */
247
+ component: (closePopover: () => void, scrollableRef: UsePopoverReturnType['scrollableRef']) => ReactElement;
248
+ /**
249
+ * Optional positioning config forwarded to usePopover
250
+ */
251
+ popoverConfig?: Pick<UsePopoverProps, 'position' | 'alignment' | 'width'>;
252
+ };
253
+ export type GroupedFilterSelectPickerMapValue = FilterSelectPickerMapSelectPickerVariant | FilterSelectPickerMapPopOverVariant;
254
+ export interface GroupedFilterSelectPickerProps<T extends string | number = string | number> extends Omit<ActionMenuProps<T>, 'onClick' | 'disableDescriptionEllipsis' | 'children' | 'buttonProps' | 'isSearchable'> {
255
+ isFilterApplied?: boolean;
256
+ filterSelectPickerPropsMap: Record<T, GroupedFilterSelectPickerMapValue>;
257
+ }
170
258
  export {};
@@ -1,5 +1,5 @@
1
- import { CHECKBOX_VALUE } from '../../../Common/Types';
2
1
  import { GroupBase, MultiValue, OptionsOrGroups, StylesConfig } from 'react-select';
2
+ import { CHECKBOX_VALUE } from '../../../Common/Types';
3
3
  import { SelectPickerOptionType, SelectPickerProps } from './type';
4
4
  export declare const getCommonSelectStyle: <OptionValue, IsMulti extends boolean>({ error, size, menuSize, variant, getIsOptionValid, isGroupHeadingSelectable, shouldMenuAlignRight, }: Pick<SelectPickerProps<OptionValue, IsMulti>, "error" | "size" | "menuSize" | "variant" | "shouldMenuAlignRight"> & Pick<SelectPickerProps<OptionValue, IsMulti>["multiSelectProps"], "getIsOptionValid" | "isGroupHeadingSelectable">) => StylesConfig<SelectPickerOptionType<OptionValue>>;
5
5
  export declare const getGroupCheckboxValue: <OptionValue>(groupHeadingOptions: readonly SelectPickerOptionType<OptionValue>[], selectedOptions: MultiValue<SelectPickerOptionType<OptionValue>>, getOptionValue: (option: SelectPickerOptionType<OptionValue>) => string) => CHECKBOX_VALUE.CHECKED | CHECKBOX_VALUE.INTERMEDIATE;
@@ -9,6 +9,8 @@ export declare const getGroupCheckboxValue: <OptionValue>(groupHeadingOptions: r
9
9
  * @param optionsList - The list of options or groups of options.
10
10
  * @param value - The value to compare against the options' values.
11
11
  * @param defaultOption - The default option to return if no match is found.
12
+ * @param getOptionValue - Override the default value for the option
12
13
  * @returns The matched option or the default option if no match is found.
13
14
  */
14
- export declare const getSelectPickerOptionByValue: <OptionValue>(optionsList: OptionsOrGroups<SelectPickerOptionType<OptionValue>, GroupBase<SelectPickerOptionType<OptionValue>>>, value: OptionValue, defaultOption?: SelectPickerOptionType<OptionValue>) => SelectPickerOptionType<OptionValue>;
15
+ export declare const getSelectPickerOptionByValue: <OptionValue>(optionsList: OptionsOrGroups<SelectPickerOptionType<OptionValue>, GroupBase<SelectPickerOptionType<OptionValue>>>, value: OptionValue, defaultOption?: SelectPickerOptionType<OptionValue>, getOptionValue?: SelectPickerProps<OptionValue>["getOptionValue"]) => SelectPickerOptionType<OptionValue>;
16
+ export declare const getSelectPickerOptionsByValue: <OptionValue>(optionsList: OptionsOrGroups<SelectPickerOptionType<OptionValue>, GroupBase<SelectPickerOptionType<OptionValue>>>, values: OptionValue[]) => SelectPickerOptionType<OptionValue>[];
@@ -1,6 +1,8 @@
1
1
  interface ShowMoreTextProps {
2
2
  text: string;
3
3
  textClass?: string;
4
+ containerClass?: string;
5
+ hideShowMore?: boolean;
4
6
  }
5
- declare const ShowMoreText: ({ text, textClass }: ShowMoreTextProps) => JSX.Element;
7
+ declare const ShowMoreText: ({ text, textClass, containerClass, hideShowMore }: ShowMoreTextProps) => import("react/jsx-runtime").JSX.Element;
6
8
  export default ShowMoreText;
@@ -0,0 +1,2 @@
1
+ import { SideNavigationProps } from './types';
2
+ export declare const SideNavigation: ({ list }: SideNavigationProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './SideNavigation';
2
+ export type { SideNavigationProps } from './types';
@@ -0,0 +1,19 @@
1
+ import { TooltipProps } from '../../../Common/Tooltip';
2
+ export type SideNavigationItemBase = {
3
+ id: string;
4
+ title: string;
5
+ dataTestId: string;
6
+ };
7
+ export type SideNavigationItemLink = SideNavigationItemBase & {
8
+ href: string;
9
+ items?: never;
10
+ tooltipProps?: TooltipProps;
11
+ };
12
+ export type SideNavigationItemGroup = SideNavigationItemBase & {
13
+ items: Omit<SideNavigationItemLink, 'items'>[];
14
+ href?: never;
15
+ tooltipProps?: never;
16
+ };
17
+ export interface SideNavigationProps {
18
+ list: (SideNavigationItemLink | SideNavigationItemGroup)[];
19
+ }
@@ -0,0 +1,2 @@
1
+ import { AppStatusProps } from './types';
2
+ export declare const AppStatus: ({ status, isJobView, isVirtualEnv, hideMessage, ...restProps }: AppStatusProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { DeploymentStatusProps } from './types';
2
+ export declare const DeploymentStatus: ({ status, ...restProps }: DeploymentStatusProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { StatusComponentProps } from './types';
2
+ export declare const StatusComponent: ({ status, hideIcon, hideMessage, iconSize, showAnimatedIcon, hideIconTooltip, message, }: StatusComponentProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export declare const APP_STATUS: {
2
+ NOT_AVAILABLE: string;
3
+ NOT_DEPLOYED: string;
4
+ NOT_DEPLOYED_NO_SPACE: string;
5
+ JOB_VIEW_NOT_DEPLOYED_MESSAGE: string;
6
+ NOT_DEPLOYED_MESSAGE: string;
7
+ };
@@ -0,0 +1,5 @@
1
+ export * from './AppStatus';
2
+ export * from './DeploymentStatus';
3
+ export * from './StatusComponent';
4
+ export * from './types';
5
+ export { getDeploymentStatusFromStatus } from './utils';
@@ -0,0 +1,49 @@
1
+ import { IconsProps } from '../Icon';
2
+ export declare enum StatusType {
3
+ QUEUED = "QUEUED",
4
+ FAILED = "FAILED",
5
+ ERROR = "ERROR",
6
+ CANCELLED = "CANCELLED",
7
+ ABORTED = "ABORTED",
8
+ HEALTHY = "HEALTHY",
9
+ SUCCEEDED = "SUCCEEDED",
10
+ DRIFTED = "DRIFTED",
11
+ MISSING = "MISSING",
12
+ UNKNOWN = "UNKNOWN",
13
+ NOT_DEPLOYED = "NOT-DEPLOYED",
14
+ SUSPENDED = "SUSPENDED",
15
+ DEGRADED = "DEGRADED",
16
+ PROGRESSING = "PROGRESSING",
17
+ INPROGRESS = "INPROGRESS",
18
+ HIBERNATING = "HIBERNATING",
19
+ TIMED_OUT = "TIMED_OUT",
20
+ DELETING = "DELETING"
21
+ }
22
+ export interface StatusComponentProps {
23
+ /** The status to display, either a predefined StatusType or a custom string. */
24
+ status: StatusType | string;
25
+ /** A custom message to display instead of the status. If not provided, the status is shown. */
26
+ message?: string;
27
+ /** If true, hides the status icon. */
28
+ hideIcon?: boolean;
29
+ /**
30
+ * If true, hides the status message and displays it in a tooltip instead.
31
+ * @default false
32
+ */
33
+ hideMessage?: boolean;
34
+ /** Size of the status icon. */
35
+ iconSize?: IconsProps['size'];
36
+ /** If true, displays an animated version of the icon (if available). */
37
+ showAnimatedIcon?: boolean;
38
+ /**
39
+ * If true, hides the tooltip on the status icon.
40
+ * @note Tooltip is only shown when `hideMessage` is true.
41
+ */
42
+ hideIconTooltip?: boolean;
43
+ }
44
+ export interface AppStatusProps extends Omit<StatusComponentProps, 'statusMessage'> {
45
+ isJobView?: boolean;
46
+ isVirtualEnv?: boolean;
47
+ }
48
+ export interface DeploymentStatusProps extends Omit<AppStatusProps, 'isJobView'> {
49
+ }
@@ -0,0 +1,5 @@
1
+ import { IconName, IconsProps } from '../Icon';
2
+ export declare const getIconName: (status: string, showAnimatedIcon: boolean) => IconName;
3
+ export declare const getIconColor: (status: string) => IconsProps["color"];
4
+ export declare const getDeploymentStatusFromStatus: (status: string) => string;
5
+ export declare const getJobStatusFromStatus: (status: string) => string;
@@ -0,0 +1,3 @@
1
+ import { DTSwitchProps } from './types';
2
+ declare const Switch: ({ ariaLabel, isDisabled, isLoading, isChecked, tooltipContent, shape, variant, iconColor, iconName, indeterminate, size, name, dataTestId, onChange, autoFocus, }: DTSwitchProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Switch;
@@ -0,0 +1,14 @@
1
+ import { IconBaseColorType } from '../../types';
2
+ import { DTSwitchProps } from './types';
3
+ export declare const ROUNDED_SWITCH_SIZE_MAP: Readonly<Record<DTSwitchProps['size'], string>>;
4
+ export declare const SQUARE_SWITCH_SIZE_MAP: typeof ROUNDED_SWITCH_SIZE_MAP;
5
+ export declare const SWITCH_HEIGHT_MAP: Readonly<Record<DTSwitchProps['size'], string>>;
6
+ export declare const LOADING_COLOR_MAP: Record<DTSwitchProps['variant'], IconBaseColorType>;
7
+ export declare const ROUNDED_SWITCH_TRACK_COLOR_MAP: Record<DTSwitchProps['variant'], string>;
8
+ export declare const ROUNDED_SWITCH_TRACK_HOVER_COLOR_MAP: Record<DTSwitchProps['variant'], `var(--${IconBaseColorType})`>;
9
+ export declare const SQUARE_SWITCH_TRACK_COLOR_MAP: typeof ROUNDED_SWITCH_TRACK_COLOR_MAP;
10
+ export declare const SQUARE_SWITCH_TRACK_HOVER_COLOR_MAP: typeof ROUNDED_SWITCH_TRACK_HOVER_COLOR_MAP;
11
+ export declare const ROUNDED_SWITCH_THUMB_SIZE_MAP: Record<DTSwitchProps['size'], string>;
12
+ export declare const INDETERMINATE_ICON_WIDTH_MAP: Record<DTSwitchProps['size'], string>;
13
+ export declare const SWITCH_THUMB_PADDING_MAP: Record<DTSwitchProps['size'], string>;
14
+ export declare const THUMB_OUTER_PADDING_MAP: Record<DTSwitchProps['shape'], string>;
@@ -0,0 +1,2 @@
1
+ export { default as DTSwitch } from './Switch.component';
2
+ export type { DTSwitchProps } from './types';
@@ -0,0 +1,111 @@
1
+ import { ButtonHTMLAttributes, ReactNode } from 'react';
2
+ import { ComponentSizeType } from '../../constants';
3
+ import { IconBaseColorType } from '../../types';
4
+ import { IconName } from '../Icon';
5
+ /**
6
+ * Represents the properties for configuring the shape and behavior of a switch component.
7
+ *
8
+ * - When `shape` is `rounded`:
9
+ * - The switch will have a rounded appearance.
10
+ * - `iconName`, `iconColor`, and `indeterminate` are not applicable.
11
+ *
12
+ * - When `shape` is `square`:
13
+ * - The switch will have a square appearance.
14
+ * - `iconName` specifies the name of the icon to display.
15
+ * - `iconColor` allows customization of the icon's color in the active state.
16
+ * - `indeterminate` indicates whether the switch is in an indeterminate state, typically used for checkboxes to represent a mixed state.
17
+ * If `indeterminate` is true, the switch will not be fully checked or unchecked.
18
+ */
19
+ type SwitchShapeProps = {
20
+ /**
21
+ * The shape of the switch. Defaults to `rounded` if not specified.
22
+ */
23
+ shape?: 'rounded';
24
+ /**
25
+ * Icon name is not applicable for the `rounded` shape.
26
+ */
27
+ iconName?: never;
28
+ /**
29
+ * Icon color is not applicable for the `rounded` shape.
30
+ */
31
+ iconColor?: never;
32
+ /**
33
+ * Indicates whether the switch is in an indeterminate state.
34
+ * This state is typically used for checkboxes to indicate a mixed state.
35
+ * If true, the switch will not be fully checked or unchecked. Due this state alone we are keeping role as `checkbox` instead of `switch`.
36
+ * This property is not applicable for the `square` shape.
37
+ * @default false
38
+ */
39
+ indeterminate?: boolean;
40
+ } | {
41
+ /**
42
+ * The shape of the switch. Must be `square` to enable icon-related properties.
43
+ */
44
+ shape: 'square';
45
+ /**
46
+ * The name of the icon to display when the shape is `square`.
47
+ */
48
+ iconName: IconName;
49
+ /**
50
+ * The color of the icon. If provided, this will override the default color in the active state.
51
+ */
52
+ iconColor?: IconBaseColorType;
53
+ indeterminate?: never;
54
+ };
55
+ /**
56
+ * Represents the properties for the `Switch` component.
57
+ */
58
+ export type DTSwitchProps = {
59
+ /**
60
+ * The ARIA label for the switch, used for accessibility purposes.
61
+ */
62
+ ariaLabel: string;
63
+ /**
64
+ * Used in forms to identify the switch.
65
+ */
66
+ name: string;
67
+ /**
68
+ * Provide if name generated through `getUniqueId`.
69
+ */
70
+ dataTestId?: string;
71
+ /**
72
+ * The visual variant of the switch.
73
+ *
74
+ * @default `positive`
75
+ */
76
+ variant?: 'theme' | 'positive';
77
+ /**
78
+ * The size of the switch.
79
+ * @default `ComponentSizeType.medium`
80
+ */
81
+ size?: Extract<ComponentSizeType, ComponentSizeType.medium | ComponentSizeType.small>;
82
+ /**
83
+ * Callback function that is called when the switch state changes.
84
+ * This function should handle the logic for toggling the switch.
85
+ */
86
+ onChange: ButtonHTMLAttributes<HTMLButtonElement>['onClick'];
87
+ /**
88
+ * Indicates whether the switch is disabled.
89
+ */
90
+ isDisabled?: boolean;
91
+ /**
92
+ * Indicates whether the switch is in a loading state.
93
+ */
94
+ isLoading?: boolean;
95
+ /**
96
+ * Indicates whether the switch is currently checked (on).
97
+ */
98
+ isChecked: boolean;
99
+ /**
100
+ * Optional tooltip content to display when hovering over the switch.
101
+ *
102
+ * @default undefined
103
+ */
104
+ tooltipContent?: ReactNode;
105
+ /**
106
+ * Indicates whether the switch should be focused automatically when rendered.
107
+ * @default false
108
+ */
109
+ autoFocus?: boolean;
110
+ } & SwitchShapeProps;
111
+ export {};
@@ -0,0 +1,12 @@
1
+ import { IconBaseColorType } from '../../types';
2
+ import { ROUNDED_SWITCH_TRACK_HOVER_COLOR_MAP } from './constants';
3
+ import { DTSwitchProps } from './types';
4
+ export declare const getSwitchContainerClass: ({ shape, size }: Required<Pick<DTSwitchProps, "shape" | "size">>) => string;
5
+ export declare const getSwitchTrackColor: ({ shape, variant, isChecked, isLoading, }: Required<Pick<DTSwitchProps, "shape" | "variant" | "isChecked" | "isLoading">>) => string;
6
+ export declare const getSwitchTrackHoverColor: ({ shape, variant, isChecked, isLoading, }: Required<Pick<DTSwitchProps, "shape" | "variant" | "isChecked" | "isLoading">>) => (typeof ROUNDED_SWITCH_TRACK_HOVER_COLOR_MAP)[DTSwitchProps["variant"]] | "transparent";
7
+ export declare const getSwitchThumbClass: ({ shape, size, showIndeterminateIcon, }: Pick<DTSwitchProps, "shape" | "size"> & {
8
+ showIndeterminateIcon: boolean;
9
+ }) => string;
10
+ export declare const getSwitchIconColor: ({ iconColor, isChecked, variant, }: Pick<DTSwitchProps, "iconColor" | "isChecked" | "variant">) => IconBaseColorType;
11
+ export declare const getThumbPosition: ({ isChecked, size, shape, indeterminate, isLoading, }: Required<Pick<DTSwitchProps, "isChecked" | "size" | "shape" | "indeterminate" | "isLoading">>) => number;
12
+ export declare const getThumbPadding: ({ shape, isLoading }: Pick<DTSwitchProps, "shape" | "isLoading">) => string;