@devtron-labs/devtron-fe-common-lib 1.22.8-beta-9 → 1.22.8-beta-10

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 (387) hide show
  1. package/dist/{@code-editor-BQuL3MJ4.js → @code-editor-rEqJGIcw.js} +11462 -11720
  2. package/dist/{@common-rjsf-D0gZheG0.js → @common-rjsf-C0hoYq5-.js} +269 -257
  3. package/dist/{@framer-motion-F-ZV0kPL.js → @framer-motion-Bi7d_Mil.js} +147 -147
  4. package/dist/{@moment-DMLRxgRE.js → @moment-CGWt8tF2.js} +532 -501
  5. package/dist/@react-dates-CR-uCH60.js +7634 -0
  6. package/dist/{@react-select-CTafio-F.js → @react-select-C5q5RdNV.js} +3 -3
  7. package/dist/{@react-virtualized-sticky-tree-DX-A0tLR.js → @react-virtualized-sticky-tree-LXSXNrbc.js} +1 -1
  8. package/dist/@vendor-CtCMPfdc.js +81580 -0
  9. package/dist/Common/API/QueryClientProvider.d.ts +1 -1
  10. package/dist/Common/API/reactQueryHooks.d.ts +3 -2
  11. package/dist/Common/AddCDButton/AddCDButton.d.ts +1 -1
  12. package/dist/Common/BreadCrumb/BreadCrumb.d.ts +1 -1
  13. package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +3 -3
  14. package/dist/Common/BreadCrumb/NestedBreadCrumb.d.ts +1 -1
  15. package/dist/Common/BreadCrumb/Types.d.ts +0 -1
  16. package/dist/Common/ChartVersionAndTypeSelector.d.ts +1 -1
  17. package/dist/Common/ClipboardButton/ClipboardButton.d.ts +1 -1
  18. package/dist/Common/ClipboardButton/types.d.ts +3 -0
  19. package/dist/Common/Common.service.d.ts +12 -1
  20. package/dist/Common/Constants.d.ts +77 -2
  21. package/dist/Common/CustomTagSelector/PropagateTagInfo.d.ts +1 -1
  22. package/dist/Common/CustomTagSelector/ResizableTagTextArea.d.ts +1 -1
  23. package/dist/Common/CustomTagSelector/TagDetails.d.ts +1 -1
  24. package/dist/Common/CustomTagSelector/TagLabelValueSelector.d.ts +1 -1
  25. package/dist/Common/DebouncedSearch/DebouncedSearch.d.ts +1 -1
  26. package/dist/Common/DeleteCINodeButton/DeleteCINodeButton.d.ts +1 -1
  27. package/dist/Common/DevtronCopyright.d.ts +1 -1
  28. package/dist/Common/Dialogs/DialogForm.d.ts +6 -6
  29. package/dist/Common/DraggableWrapper/DraggableButton.d.ts +1 -1
  30. package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +1 -1
  31. package/dist/Common/Drawer/Drawer.d.ts +1 -1
  32. package/dist/Common/EmptyState/GenericFilterEmptyState.d.ts +1 -1
  33. package/dist/Common/ErrorPage.d.ts +1 -1
  34. package/dist/Common/ErrorScreenManager.d.ts +1 -1
  35. package/dist/Common/ErrorScreenNotAuthorized.d.ts +1 -1
  36. package/dist/Common/GenericDescription/GenericDescription.d.ts +1 -1
  37. package/dist/Common/GenericDescription/constant.d.ts +0 -40
  38. package/dist/Common/GenericDescription/types.d.ts +6 -0
  39. package/dist/Common/GenericDescription/utils.d.ts +1 -0
  40. package/dist/Common/Grid/Grid.d.ts +1 -1
  41. package/dist/Common/Helper.d.ts +4 -4
  42. package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +1 -1
  43. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  44. package/dist/Common/ImageTags.d.ts +2 -2
  45. package/dist/Common/InteractiveCellText/InteractiveCellText.d.ts +1 -1
  46. package/dist/Common/Markdown/MarkDown.d.ts +1 -1
  47. package/dist/Common/Markdown/constant.d.ts +28 -0
  48. package/dist/Common/Modals/Modal.d.ts +1 -1
  49. package/dist/Common/Modals/VisibleModal.d.ts +4 -4
  50. package/dist/Common/Modals/VisibleModal2.d.ts +4 -4
  51. package/dist/Common/MultiSelectCustomization.d.ts +7 -7
  52. package/dist/Common/Pagination/PageSizeSelector.d.ts +1 -1
  53. package/dist/Common/Pagination/Pagination.d.ts +1 -1
  54. package/dist/Common/PopupMenu.d.ts +2 -2
  55. package/dist/Common/RJSF/Form.d.ts +1 -1
  56. package/dist/Common/RJSF/common/FieldRow.d.ts +1 -1
  57. package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +2 -2
  58. package/dist/Common/RJSF/templates/ArrayFieldTemplate.d.ts +1 -1
  59. package/dist/Common/RJSF/templates/BaseInput.d.ts +1 -1
  60. package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +1 -1
  61. package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.d.ts +1 -1
  62. package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.d.ts +1 -1
  63. package/dist/Common/RJSF/templates/Field.d.ts +1 -1
  64. package/dist/Common/RJSF/templates/FieldErrorTemplate.d.ts +1 -1
  65. package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +1 -1
  66. package/dist/Common/RJSF/templates/TitleField.d.ts +2 -3
  67. package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +1 -1
  68. package/dist/Common/RJSF/utils.d.ts +1 -1
  69. package/dist/Common/RJSF/widgets/Checkbox.d.ts +1 -1
  70. package/dist/Common/RJSF/widgets/Select.d.ts +1 -1
  71. package/dist/Common/RadioGroup.d.ts +1 -1
  72. package/dist/Common/RadioGroupItem.d.ts +1 -1
  73. package/dist/Common/Reload.d.ts +1 -1
  74. package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
  75. package/dist/Common/SegmentedControl/Segment.d.ts +1 -1
  76. package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +1 -1
  77. package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +1 -1
  78. package/dist/Common/SortableTableHeaderCell/types.d.ts +4 -0
  79. package/dist/Common/TippyCustomized.d.ts +1 -1
  80. package/dist/Common/Tooltip/ShortcutKeyComboTooltipContent.d.ts +1 -1
  81. package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
  82. package/dist/Common/Types.d.ts +75 -81
  83. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/DTApplicationMetricsFormField.d.ts +1 -1
  84. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/OverrideStrategyTippyContent.d.ts +1 -1
  85. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/utils.d.ts +1 -1
  86. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/FileConfigTippy.d.ts +1 -1
  87. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/SystemVariableIcon.d.ts +1 -1
  88. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +1 -1
  89. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupsTable.component.d.ts +1 -1
  90. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
  91. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +1 -1
  92. package/dist/Pages/GlobalConfigurations/ScopedVariables/types.d.ts +2 -2
  93. package/dist/Pages/ResourceBrowser/ClusterMap/ClusterMap.d.ts +1 -1
  94. package/dist/Pages/ResourceBrowser/ForceDeleteOption.d.ts +1 -1
  95. package/dist/Pages/ResourceBrowser/NodeDrainOptions.d.ts +1 -1
  96. package/dist/Pages/ResourceBrowser/constants.d.ts +11 -1
  97. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +1 -1
  98. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/utils.d.ts +1 -1
  99. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/Overview.d.ts +1 -1
  100. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +1 -1
  101. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +1 -1
  102. package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +1 -1
  103. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +1 -1
  104. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +1 -1
  105. package/dist/Pages-Devtron-2.0/InfrastructureManagement/utils.d.ts +3 -3
  106. package/dist/Pages-Devtron-2.0/Navigation/types.d.ts +2 -2
  107. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.d.ts +1 -1
  108. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/utils.d.ts +1 -1
  109. package/dist/Pages-Devtron-2.0/Shared/Overview/components.d.ts +4 -4
  110. package/dist/Pages-Devtron-2.0/Shared/index.d.ts +0 -1
  111. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +1 -1
  112. package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +1 -1
  113. package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +1 -1
  114. package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +1 -1
  115. package/dist/Shared/Components/ActionMenu/ActionMenu.component.d.ts +1 -1
  116. package/dist/Shared/Components/ActionMenu/ActionMenuItem.d.ts +1 -1
  117. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +29 -39
  118. package/dist/Shared/Components/ActivityIndicator/ActivityIndicator.d.ts +1 -1
  119. package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +1 -1
  120. package/dist/Shared/Components/AnimatedTimer/AnimatedTimer.component.d.ts +1 -1
  121. package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +1 -1
  122. package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +1 -1
  123. package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +1 -1
  124. package/dist/Shared/Components/AppStatusModal/AppStatusModalTabList.d.ts +1 -1
  125. package/dist/Shared/Components/AppStatusModal/types.d.ts +4 -1
  126. package/dist/Shared/Components/ArtifactInfoModal/ArtifactInfoModal.component.d.ts +1 -1
  127. package/dist/Shared/Components/Badge/Badge.d.ts +1 -1
  128. package/dist/Shared/Components/BulkOperations/BulkOperations.component.d.ts +1 -1
  129. package/dist/Shared/Components/BulkOperations/BulkOperationsResultModal.d.ts +1 -1
  130. package/dist/Shared/Components/BulkOperations/types.d.ts +1 -1
  131. package/dist/Shared/Components/BulkSelection/BulkSelectionProvider.d.ts +1 -1
  132. package/dist/Shared/Components/Button/Button.component.d.ts +69 -69
  133. package/dist/Shared/Components/ButtonWithLoader/ButtonWithLoader.d.ts +1 -1
  134. package/dist/Shared/Components/ButtonWithSelector/ButtonWithSelector.d.ts +1 -1
  135. package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +2 -2
  136. package/dist/Shared/Components/CICDHistory/CDEmptyState.d.ts +1 -1
  137. package/dist/Shared/Components/CICDHistory/CiPipelineSourceConfig.d.ts +1 -1
  138. package/dist/Shared/Components/CICDHistory/ConflictedResourcesTable.d.ts +1 -1
  139. package/dist/Shared/Components/CICDHistory/DeploymentDetailSteps.d.ts +1 -1
  140. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiff.d.ts +1 -1
  141. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiffCompare.d.ts +1 -1
  142. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryDiffView.d.ts +1 -1
  143. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/helpers.d.ts +2 -2
  144. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +6 -6
  145. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +1 -1
  146. package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +1 -1
  147. package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +1 -1
  148. package/dist/Shared/Components/CICDHistory/History.components.d.ts +1 -1
  149. package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +1 -1
  150. package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +1 -1
  151. package/dist/Shared/Components/CICDHistory/ResourceConflictDeployDialog.d.ts +1 -1
  152. package/dist/Shared/Components/CICDHistory/ResourceConflictDetailsModal.d.ts +1 -1
  153. package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +1 -1
  154. package/dist/Shared/Components/CICDHistory/StatusFilterButtonComponent.d.ts +1 -1
  155. package/dist/Shared/Components/CICDHistory/TriggerDetails.d.ts +1 -1
  156. package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +1 -1
  157. package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -1
  158. package/dist/Shared/Components/CICDHistory/types.d.ts +6 -8
  159. package/dist/Shared/Components/CICDHistory/utils.d.ts +2 -2
  160. package/dist/Shared/Components/CMCS/ConfigMapSecretReadyOnly.d.ts +1 -1
  161. package/dist/Shared/Components/CMCS/helpers.d.ts +1 -1
  162. package/dist/Shared/Components/Card/Card.component.d.ts +1 -1
  163. package/dist/Shared/Components/Charts/Chart.component.d.ts +1 -1
  164. package/dist/Shared/Components/Charts/types.d.ts +0 -2
  165. package/dist/Shared/Components/Charts/utils.d.ts +1 -1
  166. package/dist/Shared/Components/Chip/Chip.component.d.ts +1 -1
  167. package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +1 -1
  168. package/dist/Shared/Components/CodeEditor/CodeEditor.components.d.ts +6 -6
  169. package/dist/Shared/Components/CodeEditor/CodeEditor.d.ts +7 -7
  170. package/dist/Shared/Components/CodeEditor/CodeEditorRenderer.d.ts +1 -1
  171. package/dist/Shared/Components/CodeEditor/Extensions/DiffMinimap.d.ts +1 -1
  172. package/dist/Shared/Components/CodeEditor/utils.d.ts +1 -1
  173. package/dist/Shared/Components/Collapse/Collapse.d.ts +1 -1
  174. package/dist/Shared/Components/CollapsibleList/CollapsibleList.component.d.ts +1 -1
  175. package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +2 -1
  176. package/dist/Shared/Components/CommitChipCell/CommitChipCell.d.ts +1 -1
  177. package/dist/Shared/Components/Confetti/Confetti.component.d.ts +1 -1
  178. package/dist/Shared/Components/ConfirmationModal/CannotDeleteModal.d.ts +1 -1
  179. package/dist/Shared/Components/ConfirmationModal/ConfirmationModal.d.ts +1 -1
  180. package/dist/Shared/Components/ConfirmationModal/ConfirmationModalContext.d.ts +1 -1
  181. package/dist/Shared/Components/ConfirmationModal/ForceDeleteConfirmationModal.d.ts +1 -1
  182. package/dist/Shared/Components/ContextSwitcher/ContextSwitcher.d.ts +1 -1
  183. package/dist/Shared/Components/CountrySelect/CountrySelect.component.d.ts +1 -1
  184. package/dist/Shared/Components/CustomInput/CustomInput.d.ts +1 -1
  185. package/dist/Shared/Components/CustomInput/PasswordField.d.ts +1 -1
  186. package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
  187. package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +1 -1
  188. package/dist/Shared/Components/DatePicker/DayPickerRangeController.d.ts +2 -0
  189. package/dist/Shared/Components/DatePicker/MonthlySelect.d.ts +1 -1
  190. package/dist/Shared/Components/DatePicker/SingleDatePickerComponent.d.ts +11 -0
  191. package/dist/Shared/Components/DatePicker/TimeSelect.d.ts +1 -1
  192. package/dist/Shared/Components/DatePicker/constants.d.ts +112 -2
  193. package/dist/Shared/Components/DatePicker/index.d.ts +2 -0
  194. package/dist/Shared/Components/DatePicker/types.d.ts +29 -34
  195. package/dist/Shared/Components/DatePicker/utils.d.ts +1 -1
  196. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.component.d.ts +1 -1
  197. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffAccordion.d.ts +1 -1
  198. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.d.ts +1 -1
  199. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffNavigation.d.ts +1 -1
  200. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffRadioSelect.d.ts +1 -1
  201. package/dist/Shared/Components/DetectBottom/DetectBottom.component.d.ts +1 -1
  202. package/dist/Shared/Components/DocLink/DocLink.d.ts +1 -1
  203. package/dist/Shared/Components/DocLink/constants.d.ts +0 -1
  204. package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +1 -1
  205. package/dist/Shared/Components/DynamicDataTable/DynamicDataTableHeader.d.ts +1 -1
  206. package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +1 -1
  207. package/dist/Shared/Components/EditImageFormField/EditImageFormField.d.ts +1 -1
  208. package/dist/Shared/Components/EditableTextArea/EditableTextArea.d.ts +1 -1
  209. package/dist/Shared/Components/EnvironmentSelector/EnvironmentSelector.component.d.ts +1 -1
  210. package/dist/Shared/Components/Error/ErrorBar.d.ts +1 -1
  211. package/dist/Shared/Components/Error/utils.d.ts +1 -1
  212. package/dist/Shared/Components/ExcludedImageNode/ExcludedImageNode.d.ts +1 -1
  213. package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +1 -1
  214. package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +1 -1
  215. package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +1 -1
  216. package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +1 -1
  217. package/dist/Shared/Components/FeatureDescription/types.d.ts +2 -7
  218. package/dist/Shared/Components/FileUpload/FileUpload.d.ts +1 -1
  219. package/dist/Shared/Components/FilterChips/FilterChips.component.d.ts +1 -1
  220. package/dist/Shared/Components/FlagImage/FlagImage.component.d.ts +1 -1
  221. package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts +1 -1
  222. package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionItem.d.ts +1 -1
  223. package/dist/Shared/Components/FloatingVariablesSuggestions/Suggestions.d.ts +1 -1
  224. package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionsInfo.d.ts +1 -1
  225. package/dist/Shared/Components/FormFieldWrapper/FormFieldInfo.d.ts +1 -1
  226. package/dist/Shared/Components/FormFieldWrapper/FormFieldLabel.d.ts +1 -1
  227. package/dist/Shared/Components/FormFieldWrapper/FormFieldWrapper.d.ts +1 -1
  228. package/dist/Shared/Components/GenericInfoCard/GenericInfoCard.component.d.ts +1 -1
  229. package/dist/Shared/Components/GenericInfoCard/GenericInfoCardListing.d.ts +1 -1
  230. package/dist/Shared/Components/GenericInfoCard/GenericInfoListSkeleton.d.ts +1 -1
  231. package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +4 -4
  232. package/dist/Shared/Components/GenericModal/GenericModal.context.d.ts +1 -1
  233. package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +1 -1
  234. package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +1 -1
  235. package/dist/Shared/Components/GitCommitInfoGeneric/GitCommitInfoGeneric.d.ts +1 -1
  236. package/dist/Shared/Components/GitCommitInfoGeneric/GitMaterialInfoHeader.d.ts +1 -1
  237. package/dist/Shared/Components/GitProviderIcon/GitProviderIcon.d.ts +1 -1
  238. package/dist/Shared/Components/GraphVisualizer/GraphVisualizer.d.ts +1 -1
  239. package/dist/Shared/Components/GraphVisualizer/components/BaseNode.d.ts +1 -1
  240. package/dist/Shared/Components/GraphVisualizer/components/DropdownNode.d.ts +1 -1
  241. package/dist/Shared/Components/GraphVisualizer/components/IconNode.d.ts +1 -1
  242. package/dist/Shared/Components/GraphVisualizer/components/TextNode.d.ts +1 -1
  243. package/dist/Shared/Components/GraphVisualizer/constants.d.ts +3 -3
  244. package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -1
  245. package/dist/Shared/Components/Header/HeaderWithCreateButton/utils.d.ts +1 -1
  246. package/dist/Shared/Components/Header/HelpButton.d.ts +1 -1
  247. package/dist/Shared/Components/Header/IframePromoButton.d.ts +1 -1
  248. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  249. package/dist/Shared/Components/Header/ProfileMenu.d.ts +1 -1
  250. package/dist/Shared/Components/Icon/Icon.d.ts +19 -1
  251. package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
  252. package/dist/Shared/Components/IframeContainer/IframeContainer.component.d.ts +1 -1
  253. package/dist/Shared/Components/IframeContainer/IframeElement.d.ts +1 -1
  254. package/dist/Shared/Components/Illustration/Illustration.d.ts +1 -1
  255. package/dist/Shared/Components/Illustration/IllustrationBase.d.ts +1 -1
  256. package/dist/Shared/Components/ImageCard/ArtifactInfo/ArtifactInfo.d.ts +1 -1
  257. package/dist/Shared/Components/ImageCard/ImageCard.d.ts +1 -1
  258. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/DeploymentEnvState.d.ts +1 -1
  259. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/SequentialCDCardTitle.d.ts +1 -1
  260. package/dist/Shared/Components/ImageCardAccordion/ImageCardAccordion.d.ts +1 -1
  261. package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +1 -1
  262. package/dist/Shared/Components/ImageWithFallback/ImageWithFallback.component.d.ts +1 -1
  263. package/dist/Shared/Components/InfoBlock/InfoBlock.component.d.ts +1 -1
  264. package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
  265. package/dist/Shared/Components/InvalidYAMLTippy/InvalidYAMLTippyWrapper.d.ts +1 -1
  266. package/dist/Shared/Components/InvalidYAMLTippy/utils.d.ts +1 -1
  267. package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
  268. package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +1 -1
  269. package/dist/Shared/Components/License/ActivateLicenseDialog.d.ts +1 -1
  270. package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +1 -1
  271. package/dist/Shared/Components/License/License.components.d.ts +3 -3
  272. package/dist/Shared/Components/LoadingCard.d.ts +1 -1
  273. package/dist/Shared/Components/LoginBanner/LoginBanner.d.ts +1 -1
  274. package/dist/Shared/Components/LoginBanner/Testimonials.components.d.ts +1 -1
  275. package/dist/Shared/Components/LoginBanner/types.d.ts +1 -1
  276. package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +1 -1
  277. package/dist/Shared/Components/ModalSidebarPanel/ModalSidebarPanel.component.d.ts +1 -1
  278. package/dist/Shared/Components/NumbersCount/NumbersCount.component.d.ts +1 -1
  279. package/dist/Shared/Components/PhoneInput/PhoneInput.component.d.ts +1 -1
  280. package/dist/Shared/Components/Plugin/PluginCard.d.ts +1 -1
  281. package/dist/Shared/Components/Plugin/PluginCardSkeletonList.d.ts +1 -1
  282. package/dist/Shared/Components/Plugin/PluginImageContainer.d.ts +1 -1
  283. package/dist/Shared/Components/Plugin/PluginList.d.ts +1 -1
  284. package/dist/Shared/Components/Plugin/PluginListContainer.d.ts +1 -1
  285. package/dist/Shared/Components/Plugin/PluginTagSelect.d.ts +1 -1
  286. package/dist/Shared/Components/Plugin/PluginTagsContainer.d.ts +1 -1
  287. package/dist/Shared/Components/Plugin/types.d.ts +2 -2
  288. package/dist/Shared/Components/Popover/Popover.component.d.ts +1 -1
  289. package/dist/Shared/Components/Popover/utils.d.ts +1 -1
  290. package/dist/Shared/Components/ProgressBar/ProgressBar.component.d.ts +1 -1
  291. package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +1 -1
  292. package/dist/Shared/Components/QRCode.d.ts +1 -1
  293. package/dist/Shared/Components/ReactSelect/constants.d.ts +1 -1
  294. package/dist/Shared/Components/ReactSelect/utils.d.ts +4 -4
  295. package/dist/Shared/Components/RegistryIcon/RegistryIcon.d.ts +1 -1
  296. package/dist/Shared/Components/SSOProviderIcon/SSOProviderIcon.d.ts +1 -1
  297. package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityCard.d.ts +1 -1
  298. package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityDetailsCards.d.ts +1 -1
  299. package/dist/Shared/Components/Security/SecurityModal/components/OpenDetailViewButton.d.ts +1 -1
  300. package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +97 -5
  301. package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +1 -1
  302. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +2 -2
  303. package/dist/Shared/Components/Security/SeverityChip.d.ts +1 -1
  304. package/dist/Shared/Components/Security/Vulnerabilities/Vulnerabilities.d.ts +1 -1
  305. package/dist/Shared/Components/SelectPicker/FilterSelectPicker.d.ts +1 -1
  306. package/dist/Shared/Components/SelectPicker/GroupedFilterSelectPicker.d.ts +1 -1
  307. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  308. package/dist/Shared/Components/SelectPicker/SelectPickerTextArea.component.d.ts +1 -1
  309. package/dist/Shared/Components/SelectPicker/common.d.ts +12 -12
  310. package/dist/Shared/Components/ShowMoreText/ShowMoreText.d.ts +1 -1
  311. package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +1 -1
  312. package/dist/Shared/Components/StatusComponent/AppStatus.d.ts +1 -1
  313. package/dist/Shared/Components/StatusComponent/DeploymentStatus.d.ts +1 -1
  314. package/dist/Shared/Components/StatusComponent/StatusComponent.d.ts +1 -1
  315. package/dist/Shared/Components/Switch/Switch.component.d.ts +1 -1
  316. package/dist/Shared/Components/SwitchThemeDialog/SwitchThemeDialog.component.d.ts +1 -1
  317. package/dist/Shared/Components/TabGroup/TabGroup.component.d.ts +1 -1
  318. package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +4 -4
  319. package/dist/Shared/Components/Table/BulkSelectionActionWidget.d.ts +1 -1
  320. package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
  321. package/dist/Shared/Components/Table/Table.component.d.ts +1 -1
  322. package/dist/Shared/Components/Table/TableContent.d.ts +1 -1
  323. package/dist/Shared/Components/Table/constants.d.ts +1 -0
  324. package/dist/Shared/Components/Table/types.d.ts +27 -7
  325. package/dist/Shared/Components/Table/utils.d.ts +1 -1
  326. package/dist/Shared/Components/TagsKeyValueTable/TagsContainer.d.ts +1 -1
  327. package/dist/Shared/Components/TargetPlatforms/TargetPlatformBadgeList.d.ts +1 -1
  328. package/dist/Shared/Components/TargetPlatforms/TargetPlatformListTooltip.d.ts +1 -1
  329. package/dist/Shared/Components/TempAppWindow/TempAppWindow.d.ts +1 -1
  330. package/dist/Shared/Components/Textarea/Textarea.component.d.ts +1 -1
  331. package/dist/Shared/Components/ThemeSwitcher/ThemeSwitcher.component.d.ts +1 -1
  332. package/dist/Shared/Components/ToggleResolveScopedVariables/ToggleResolveScopedVariables.component.d.ts +1 -1
  333. package/dist/Shared/Components/TrailingItem/TrailingItem.component.d.ts +1 -1
  334. package/dist/Shared/Components/TreeView/TreeView.component.d.ts +1 -1
  335. package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +1 -1
  336. package/dist/Shared/Components/Typewriter/BlinkingCursor.d.ts +1 -1
  337. package/dist/Shared/Components/UnsavedChanges/UnsavedChanges.component.d.ts +1 -1
  338. package/dist/Shared/Components/UnsavedChangesDialog/UnsavedChangesDialog.component.d.ts +1 -1
  339. package/dist/Shared/Components/UserIdentifier/UserIdentifier.d.ts +1 -1
  340. package/dist/Shared/Components/VirtualizedList/VirtualizedList.component.d.ts +1 -1
  341. package/dist/Shared/Components/WorkflowOptionsModal/SourceTypeCard.d.ts +1 -1
  342. package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +1 -1
  343. package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +3 -3
  344. package/dist/Shared/Helpers.d.ts +13 -3
  345. package/dist/Shared/Hooks/UsePrompt/UsePrompt.d.ts +2 -1
  346. package/dist/Shared/Hooks/UsePrompt/types.d.ts +0 -1
  347. package/dist/Shared/Hooks/useGetResourceKindsOptions/index.d.ts +1 -0
  348. package/dist/Shared/Providers/ImageSelectionUtility/ImageSelectionUtility.d.ts +1 -1
  349. package/dist/Shared/Providers/MainContextProvider/MainContextProvider.d.ts +1 -1
  350. package/dist/Shared/Providers/MainContextProvider/index.d.ts +1 -1
  351. package/dist/Shared/Providers/MainContextProvider/types.d.ts +45 -4
  352. package/dist/Shared/Providers/ThemeProvider/ThemeProvider.d.ts +1 -1
  353. package/dist/Shared/Providers/UserEmailProvider/UserEmailProvider.d.ts +3 -3
  354. package/dist/Shared/Services/ToastManager/ToastContent.d.ts +2 -2
  355. package/dist/Shared/Services/ToastManager/toastManager.service.d.ts +1 -1
  356. package/dist/Shared/Services/types.d.ts +1 -0
  357. package/dist/Shared/Store/IndexStore.d.ts +1 -1
  358. package/dist/Shared/types.d.ts +4 -176
  359. package/dist/Shared/validations.d.ts +1 -0
  360. package/dist/assets/@code-editor.css +1 -1
  361. package/dist/assets/@react-dates.css +1 -0
  362. package/dist/assets/@vendor.css +1 -1
  363. package/dist/assets/ic-bell.d2aa01ec.svg +3 -0
  364. package/dist/assets/ic-bulb.3906a732.svg +7 -0
  365. package/dist/assets/ic-calender-blank.963e3423.svg +19 -0
  366. package/dist/assets/ic-close-circle.b39dd87d.svg +3 -0
  367. package/dist/assets/ic-comment.cc141b33.svg +3 -0
  368. package/dist/assets/ic-dot-circle.5ce1fccf.svg +3 -0
  369. package/dist/assets/ic-medium-megaphone.a069bf1d.svg +5 -0
  370. package/dist/assets/ic-new-chat.f7c90f8e.svg +5 -0
  371. package/dist/assets/ic-piggybank.3a4839d7.svg +3 -0
  372. package/dist/assets/ic-priority-high-fill.53755d8f.svg +3 -0
  373. package/dist/assets/ic-priority-low-fill.79e781ae.svg +4 -0
  374. package/dist/assets/ic-priority-urgent-fill.78d42fa0.svg +10 -0
  375. package/dist/assets/ic-red-bulb.25e01bfc.svg +9 -0
  376. package/dist/assets/ic-ses.7797b214.svg +6 -0
  377. package/dist/assets/ic-slack.3c916573.svg +10 -0
  378. package/dist/assets/ic-smtp.f6f45abc.svg +7 -0
  379. package/dist/assets/ic-thumb-down-fill.e3cb6362.svg +3 -0
  380. package/dist/assets/ic-thumb-up-fill.ddf7c8eb.svg +3 -0
  381. package/dist/assets/ic-webhook-config.d0dd47eb.svg +5 -0
  382. package/dist/index.d.ts +173 -1
  383. package/dist/index.js +1152 -1011
  384. package/package.json +22 -14
  385. package/dist/@vendor-zzMkp5ik.js +0 -135824
  386. package/dist/Pages-Devtron-2.0/Shared/Routes/index.d.ts +0 -1
  387. package/dist/Pages-Devtron-2.0/Shared/Routes/routes.d.ts +0 -563
@@ -1,3 +1,3 @@
1
1
  import { ToggleResolveScopedVariablesProps } from './types';
2
- declare const ToggleResolveScopedVariables: ({ name, resolveScopedVariables, handleToggleScopedVariablesView, isDisabled, showTooltip, }: ToggleResolveScopedVariablesProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ToggleResolveScopedVariables: ({ name, resolveScopedVariables, handleToggleScopedVariablesView, isDisabled, showTooltip, }: ToggleResolveScopedVariablesProps) => JSX.Element;
3
3
  export default ToggleResolveScopedVariables;
@@ -1,3 +1,3 @@
1
1
  import { TrailingItemProps } from './types';
2
- declare const TrailingItem: ({ type, config, variant }: TrailingItemProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const TrailingItem: ({ type, config, variant }: TrailingItemProps) => JSX.Element;
3
3
  export default TrailingItem;
@@ -1,3 +1,3 @@
1
1
  import { TreeViewProps } from './types';
2
- declare const TreeView: <DataAttributeType = null>({ nodes, isControlled, expandedMap: expandedMapProp, selectedId, onToggle: onToggleProp, onSelect, depth, mode, flatNodeList: flatNodeListProp, getUpdateItemsRefMap: getUpdateItemsRefMapProp, variant, defaultExpandedMap, highlightSelectedHeadingOnlyWhenCollapsed, useOverflowAuto, }: TreeViewProps<DataAttributeType>) => import("react/jsx-runtime").JSX.Element;
2
+ declare const TreeView: <DataAttributeType = null>({ nodes, isControlled, expandedMap: expandedMapProp, selectedId, onToggle: onToggleProp, onSelect, depth, mode, flatNodeList: flatNodeListProp, getUpdateItemsRefMap: getUpdateItemsRefMapProp, variant, defaultExpandedMap, highlightSelectedHeadingOnlyWhenCollapsed, useOverflowAuto, }: TreeViewProps<DataAttributeType>) => JSX.Element;
3
3
  export default TreeView;
@@ -1,3 +1,3 @@
1
1
  import { TreeViewNodeContentProps } from './types';
2
- declare const TreeViewNodeContent: ({ startIconConfig, title, subtitle, type, customTooltipConfig, strikeThrough, isSelected, variant, }: TreeViewNodeContentProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const TreeViewNodeContent: ({ startIconConfig, title, subtitle, type, customTooltipConfig, strikeThrough, isSelected, variant, }: TreeViewNodeContentProps) => JSX.Element;
3
3
  export default TreeViewNodeContent;
@@ -1 +1 @@
1
- export declare const BlinkingCursor: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const BlinkingCursor: () => JSX.Element;
@@ -1,2 +1,2 @@
1
- declare const UnsavedChanges: () => import("react/jsx-runtime").JSX.Element;
1
+ declare const UnsavedChanges: () => JSX.Element;
2
2
  export default UnsavedChanges;
@@ -1,3 +1,3 @@
1
1
  import { UnsavedChangesDialogProps } from './types';
2
- declare const UnsavedChangesDialog: ({ handleClose, handleProceed }: UnsavedChangesDialogProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const UnsavedChangesDialog: ({ handleClose, handleProceed }: UnsavedChangesDialogProps) => JSX.Element;
3
3
  export default UnsavedChangesDialog;
@@ -1,2 +1,2 @@
1
1
  import { UserIdentifierProps } from './types';
2
- export declare const UserIdentifier: ({ identifier, children, rootClassName, tooltipContent, isUserGroup, displayYouLabelForCurrentUser, }: UserIdentifierProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const UserIdentifier: ({ identifier, children, rootClassName, tooltipContent, isUserGroup, displayYouLabelForCurrentUser, }: UserIdentifierProps) => JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { VirtualizedListProps } from './VirtualizedList.types';
2
- export declare const VirtualizedList: <ListKeys extends string | number, ExtendedType extends object>({ className, items, renderItem, ...restProps }: VirtualizedListProps<ListKeys, ExtendedType>) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const VirtualizedList: <ListKeys extends string | number, ExtendedType extends object>({ className, items, renderItem, ...restProps }: VirtualizedListProps<ListKeys, ExtendedType>) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { SourceTypeCardProps } from './types';
2
- declare const SourceTypeCard: ({ title, subtitle, dataTestId, icons, type, disableInfo, disabled, onCardAction, }: SourceTypeCardProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const SourceTypeCard: ({ title, subtitle, dataTestId, icons, type, disableInfo, disabled, onCardAction, }: SourceTypeCardProps) => JSX.Element;
3
3
  export default SourceTypeCard;
@@ -1,3 +1,3 @@
1
1
  import { WorkflowOptionsModalProps } from './types';
2
- declare const WorkflowOptionsModal: ({ open, addCIPipeline, addWebhookCD, addLinkedCD, showLinkedCDSource, changeCIPayload, workflows, getWorkflows, resetChangeCIPayload, linkedCDSourceVariant, isAppGroup, isTemplateView, onClose, }: Readonly<WorkflowOptionsModalProps>) => import("react/jsx-runtime").JSX.Element;
2
+ declare const WorkflowOptionsModal: ({ open, addCIPipeline, addWebhookCD, addLinkedCD, showLinkedCDSource, changeCIPayload, workflows, getWorkflows, resetChangeCIPayload, linkedCDSourceVariant, isAppGroup, isTemplateView, onClose, }: Readonly<WorkflowOptionsModalProps>) => JSX.Element;
3
3
  export default WorkflowOptionsModal;
@@ -16,10 +16,10 @@ export declare const getSwitchToWebhookPayload: (changeCIPayload: ChangeCIPayloa
16
16
  export declare const getCurrentPipelineType: ({ workflows, changeCIPayload, }: Required<Pick<WorkflowOptionsModalProps, "workflows" | "changeCIPayload">>) => SourceTypeCardProps["type"];
17
17
  export declare const getBuildWorkflowCardsConfig: ({ currentPipelineType, changeCIPayload, isAppGroup, }: {
18
18
  currentPipelineType: CIPipelineNodeType | WorkflowNodeType.WEBHOOK;
19
- } & Required<Pick<WorkflowOptionsModalProps, "changeCIPayload" | "isAppGroup">>) => Pick<SourceTypeCardProps, "type" | "disabled" | "title" | "dataTestId" | "subtitle" | "icons">[];
19
+ } & Required<Pick<WorkflowOptionsModalProps, "changeCIPayload" | "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "disabled" | "dataTestId" | "type" | "subtitle" | "icons">[];
20
20
  export declare const getReceiveWorkflowCardsConfig: ({ currentPipelineType, linkedCDSourceVariant, isAppGroup, }: {
21
21
  currentPipelineType: CIPipelineNodeType | WorkflowNodeType.WEBHOOK;
22
- } & Required<Pick<WorkflowOptionsModalProps, "linkedCDSourceVariant" | "isAppGroup">>) => Pick<SourceTypeCardProps, "type" | "disabled" | "title" | "dataTestId" | "subtitle" | "icons">[];
22
+ } & Required<Pick<WorkflowOptionsModalProps, "linkedCDSourceVariant" | "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "disabled" | "dataTestId" | "type" | "subtitle" | "icons">[];
23
23
  export declare const getJobWorkflowCardsConfig: ({ currentPipelineType, isAppGroup, }: {
24
24
  currentPipelineType: CIPipelineNodeType | WorkflowNodeType.WEBHOOK;
25
- } & Required<Pick<WorkflowOptionsModalProps, "isAppGroup">>) => Pick<SourceTypeCardProps, "type" | "disabled" | "title" | "dataTestId" | "subtitle" | "icons">[];
25
+ } & Required<Pick<WorkflowOptionsModalProps, "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "disabled" | "dataTestId" | "type" | "subtitle" | "icons">[];
@@ -1,4 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
+ import { PromptProps } from 'react-router-dom';
2
3
  import { StrictRJSFSchema } from '@rjsf/utils';
3
4
  import { Pair } from 'yaml';
4
5
  import { MaterialHistoryType } from './Services/app.types';
@@ -29,13 +30,13 @@ export declare const stringComparatorBySortOrder: (a: string, b: string, sortOrd
29
30
  export declare const numberComparatorBySortOrder: (a: number, b: number, sortOrder?: SortingOrder) => number;
30
31
  export declare function versionComparatorBySortOrder(a: string, b: string, orderBy?: SortingOrder): number;
31
32
  export declare const dateComparatorBySortOrder: (a: string | number | Date, b: string | number | Date, sortOrder?: SortingOrder) => number;
32
- export declare const getWebhookEventIcon: (eventName: WebhookEventNameType) => import("react/jsx-runtime").JSX.Element;
33
+ export declare const getWebhookEventIcon: (eventName: WebhookEventNameType) => JSX.Element;
33
34
  export declare const yamlComparatorBySortOrder: (a: Pair, b: Pair, sortOrder?: SortingOrder) => number;
34
35
  export declare const useIntersection: (target: React.RefObject<Element> | Element | null, options?: IntersectionOptions, callback?: IntersectionChangeHandler) => boolean;
35
36
  export declare const isNullOrUndefined: (value: unknown) => boolean;
36
37
  export declare const handleDisableSubmitOnEnter: (event: React.KeyboardEvent<HTMLFormElement>) => void;
37
38
  export declare const getKeyToBooleanMapFromArray: <T extends string | number>(arr?: T[]) => Record<T, boolean>;
38
- export declare const renderValidInputButtonTippy: (children: ReactElement) => import("react/jsx-runtime").JSX.Element;
39
+ export declare const renderValidInputButtonTippy: (children: ReactElement) => JSX.Element;
39
40
  export declare function aggregateNodes(nodes: any[], podMetadata: PodMetaData[]): AggregatedNodes;
40
41
  export declare const decode: (data: any, isEncoded?: boolean) => {};
41
42
  export declare const isTimeStringAvailable: (time: string) => boolean;
@@ -82,9 +83,18 @@ export declare const getLowerCaseObject: (input: any) => Record<string, any>;
82
83
  */
83
84
  export declare const getWebhookDate: (materialSourceType: string, history: MaterialHistoryType) => string;
84
85
  export declare const getUniqueId: (size?: number) => string;
86
+ /**
87
+ * Checks if the provided pathname matches the current path.
88
+ * If the paths do not match, returns a custom message or a default unsaved changes prompt.
89
+ *
90
+ * @param currentPathName - The current path to compare against.
91
+ * @param customMessage - Optional custom message to display when the path does not match.
92
+ * @returns A function that takes an object with a `pathname` property and performs the path match check.
93
+ */
94
+ export declare const checkIfPathIsMatching: (currentPathName: string, customMessage?: string) => PromptProps["message"];
85
95
  export declare const sanitizeTargetPlatforms: (targetPlatforms: TargetPlatformsDTO["targetPlatforms"]) => TargetPlatformItemDTO[];
86
96
  export declare const isAWSCodeCommitURL: (url?: string) => boolean;
87
- export declare const renderMaterialIcon: (url?: string) => import("react/jsx-runtime").JSX.Element;
97
+ export declare const renderMaterialIcon: (url?: string) => JSX.Element;
88
98
  export declare const deriveBorderRadiusAndBorderClassFromConfig: ({ borderConfig, borderRadiusConfig, }: {
89
99
  borderConfig: BorderConfigType | undefined;
90
100
  borderRadiusConfig: BorderConfigType | undefined;
@@ -1,6 +1,7 @@
1
1
  import { UsePromptProps } from './types';
2
2
  /**
3
3
  * Hook that shows a prompt when shouldPrompt is true and the user tries to leave the page through refresh
4
+ * Meant to be used alongside the Prompt component from react-router-dom
4
5
  */
5
- declare const usePrompt: ({ shouldPrompt, message }: UsePromptProps) => void;
6
+ declare const usePrompt: ({ shouldPrompt }: UsePromptProps) => void;
6
7
  export default usePrompt;
@@ -3,5 +3,4 @@ export interface UsePromptProps {
3
3
  * If true the prompt will be shown
4
4
  */
5
5
  shouldPrompt: boolean;
6
- message?: string;
7
6
  }
@@ -1,2 +1,3 @@
1
+ export { getProjectOptions } from './service';
1
2
  export type { UseGetResourceKindOptionsReturnType, UseGetResourceKindsOptionsProps } from './types';
2
3
  export { default as useGetResourceKindsOptions } from './useGetResourceKindsOptions';
@@ -1,4 +1,4 @@
1
1
  import { ImageSelectionUtilityContextType, ImageSelectionUtilityProviderProps } from './types';
2
2
  export declare const ImageSelectionUtilityContext: import('react').Context<ImageSelectionUtilityContextType>;
3
3
  export declare const useImageSelectionUtilityContext: () => ImageSelectionUtilityContextType;
4
- export declare const ImageSelectionUtilityProvider: ({ children, value }: ImageSelectionUtilityProviderProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const ImageSelectionUtilityProvider: ({ children, value }: ImageSelectionUtilityProviderProps) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { MainContext, MainContextProviderProps } from './types';
2
2
  export declare const useMainContext: () => MainContext;
3
- export declare const MainContextProvider: ({ children, value }: MainContextProviderProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const MainContextProvider: ({ children, value }: MainContextProviderProps) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  export * from './MainContextProvider';
2
2
  export type { MainContext, ReloadVersionConfigTypes, SidePanelConfig, TempAppWindowConfig } from './types';
3
- export { SidePanelTab } from './types';
3
+ export { AIAgentContextSourceType, type AIAgentContextType, SidePanelTab } from './types';
@@ -1,4 +1,4 @@
1
- import { Dispatch, MutableRefObject, ReactNode, SetStateAction } from 'react';
1
+ import { Dispatch, FunctionComponent, MutableRefObject, ReactNode, SetStateAction } from 'react';
2
2
  import { SERVER_MODE } from '../../../Common';
3
3
  import { DevtronLicenseInfo, EnvironmentDataValuesDTO, IntelligenceConfig, LicenseInfoDialogType, ToastManager } from '../..';
4
4
  import { ServerInfo } from '../../Components/Header/types';
@@ -22,10 +22,43 @@ export interface SidePanelConfig {
22
22
  /** URL to documentation that should be displayed in the panel */
23
23
  docLink: string | null;
24
24
  aiSessionId?: string;
25
+ isExpandedView?: boolean;
25
26
  }
26
- type AIAgentContextType = {
27
- path: string;
28
- context: Record<string, string>;
27
+ export declare enum AIAgentContextSourceType {
28
+ APP_DETAILS = "app-details",
29
+ RESOURCE_BROWSER_CLUSTER = "resource-browser-cluster"
30
+ }
31
+ export type AIAgentAppType = 'devtronApp' | 'devtronHelmChart' | 'externalHelmChart' | 'externalArgoApp' | 'externalFluxApp';
32
+ type AIAgentAppDataMasterType = {
33
+ appId: number | string;
34
+ appName: string;
35
+ envId: number;
36
+ envName: string;
37
+ clusterId: number;
38
+ namespace: string;
39
+ appType: AIAgentAppType;
40
+ fluxAppDeploymentType: string;
41
+ };
42
+ type AIAgentAppDataType<TAppType extends AIAgentAppType, TRequiredFields extends keyof AIAgentAppDataMasterType> = Pick<AIAgentAppDataMasterType, TRequiredFields> & {
43
+ [K in Exclude<keyof AIAgentAppDataMasterType, TRequiredFields | 'appType'>]?: never;
44
+ } & {
45
+ appType: TAppType;
46
+ };
47
+ type CommonContextDataType = Record<string, unknown> & {
48
+ uiMarkup?: string;
49
+ };
50
+ export type AIAgentContextType = {
51
+ source: AIAgentContextSourceType.APP_DETAILS;
52
+ data: AIAgentAppDataType<'devtronApp' | 'devtronHelmChart', 'appId' | 'appName' | 'envId' | 'envName' | 'clusterId'> | AIAgentAppDataType<'externalHelmChart', 'appId' | 'appName' | 'clusterId' | 'namespace'> | AIAgentAppDataType<'externalArgoApp', 'appName' | 'clusterId' | 'namespace'> | (AIAgentAppDataType<'externalFluxApp', 'appName' | 'clusterId' | 'namespace' | 'fluxAppDeploymentType'> & CommonContextDataType);
53
+ } | {
54
+ source: AIAgentContextSourceType.RESOURCE_BROWSER_CLUSTER;
55
+ data: {
56
+ clusterId: number;
57
+ clusterName: string;
58
+ } & CommonContextDataType;
59
+ };
60
+ export type DebugAgentContextType = AIAgentContextType & {
61
+ prompt?: string;
29
62
  };
30
63
  export interface TempAppWindowConfig {
31
64
  /** Whether the temporary window is open */
@@ -87,6 +120,8 @@ type CommonMainContextProps = {
87
120
  setLicenseData: Dispatch<SetStateAction<DevtronLicenseInfo>>;
88
121
  canFetchHelmAppStatus: boolean;
89
122
  setIntelligenceConfig: Dispatch<SetStateAction<IntelligenceConfig>>;
123
+ debugAgentContext: DebugAgentContextType | null;
124
+ setDebugAgentContext: (aiAgentContext: DebugAgentContextType | null) => void;
90
125
  setAIAgentContext: (aiAgentContext: AIAgentContextType) => void;
91
126
  setSidePanelConfig: Dispatch<SetStateAction<SidePanelConfig>>;
92
127
  } & Pick<EnvironmentDataValuesDTO, 'isResourceRecommendationEnabled'>;
@@ -115,6 +150,9 @@ export type MainContext = CommonMainContextProps & ({
115
150
  aiAgentContext: AIAgentContextType;
116
151
  tempAppWindowConfig: TempAppWindowConfig;
117
152
  setTempAppWindowConfig: Dispatch<SetStateAction<TempAppWindowConfig>>;
153
+ AIRecommendations?: FunctionComponent;
154
+ featureAskDevtronExpert: EnvironmentDataValuesDTO['featureAskDevtronExpert'];
155
+ AskDevtronButton?: FunctionComponent;
118
156
  } | {
119
157
  isLicenseDashboard: true;
120
158
  serverMode: null;
@@ -132,6 +170,9 @@ export type MainContext = CommonMainContextProps & ({
132
170
  aiAgentContext: null;
133
171
  tempAppWindowConfig: null;
134
172
  setTempAppWindowConfig: null;
173
+ AIRecommendations?: null;
174
+ featureAskDevtronExpert?: null;
175
+ AskDevtronButton?: null;
135
176
  });
136
177
  export interface MainContextProviderProps {
137
178
  children: ReactNode;
@@ -1,3 +1,3 @@
1
1
  import { ThemeContextType, ThemeProviderProps } from './types';
2
- export declare const ThemeProvider: ({ children }: ThemeProviderProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const ThemeProvider: ({ children }: ThemeProviderProps) => JSX.Element;
3
3
  export declare const useTheme: () => ThemeContextType;
@@ -1,5 +1,5 @@
1
- import { default as React, PropsWithChildren } from 'react';
1
+ import { default as React } from 'react';
2
2
  import { UseUserEmailContextType } from './types';
3
3
  export declare const useUserEmail: () => UseUserEmailContextType;
4
- export declare const UserEmailProvider: React.FC<PropsWithChildren<{}>>;
5
- export declare const withUserEmail: (Component: React.ComponentClass) => (props: object) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const UserEmailProvider: React.FC<{}>;
5
+ export declare const withUserEmail: (Component: React.ComponentClass) => (props: object) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { ShortcutToastContentProps, ToastProps } from './types';
2
- export declare const ToastContent: ({ title, description, buttonProps, }: Pick<ToastProps, "title" | "description" | "buttonProps">) => import("react/jsx-runtime").JSX.Element;
3
- export declare const ShortcutToastContent: ({ shortcuts, text }: ShortcutToastContentProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const ToastContent: ({ title, description, buttonProps, }: Pick<ToastProps, "title" | "description" | "buttonProps">) => JSX.Element;
3
+ export declare const ShortcutToastContent: ({ shortcuts, text }: ShortcutToastContentProps) => JSX.Element;
@@ -75,6 +75,6 @@ declare class ToastManager {
75
75
  */
76
76
  isToastActive: (id: import('react-toastify').Id) => boolean;
77
77
  }
78
- export declare const ToastManagerContainer: () => import("react/jsx-runtime").JSX.Element;
78
+ export declare const ToastManagerContainer: () => JSX.Element;
79
79
  declare const _default: ToastManager;
80
80
  export default _default;
@@ -39,6 +39,7 @@ export interface EnvironmentDataValuesDTO extends Pick<MainContext, 'featureGitO
39
39
  canOnlyViewPermittedEnvOrgLevel: boolean;
40
40
  devtronManagedLicensingEnabled: boolean;
41
41
  isResourceRecommendationEnabled?: boolean;
42
+ featureAskDevtronExpert: boolean;
42
43
  }
43
44
  export interface ClusterMinDTO {
44
45
  id: number;
@@ -1,6 +1,6 @@
1
1
  import { AppDetails, AppType, EnvDetails, iNode, Node, PodMetaData } from '../types';
2
2
  export declare function getiNodesByRootNodeWithChildNodes(_nodes: Array<Node>, rootNodes: Array<iNode>, podMetadata?: Array<PodMetaData>): Array<iNode>;
3
- export declare const reduceKindStatus: (aggregatedStatus: string, newStatus: string) => "progressing" | "healthy" | "degraded";
3
+ export declare const reduceKindStatus: (aggregatedStatus: string, newStatus: string) => "healthy" | "progressing" | "degraded";
4
4
  export declare function getiNodesByKindWithChildNodes(_nodes: Array<Node>, _kind: string): Array<iNode>;
5
5
  export declare function getPodsRootParentNameAndStatus(_nodes: Array<Node>): Array<[string, string]>;
6
6
  export declare const getPodsForRootNodeName: (_rootNode: string, _treeNodes: Array<Node>) => Array<iNode>;
@@ -2,182 +2,10 @@ import { ReactNode } from 'react';
2
2
  import { ParsedCountry } from 'react-international-phone';
3
3
  import { Dayjs } from 'dayjs';
4
4
  import { APIOptions, ApprovalConfigDataType, Strategy } from '../Common/Types';
5
- import { OverrideMergeStrategyType, ReleaseMode } from '../Pages/index';
5
+ import { ReleaseMode } from '../Pages/index';
6
6
  import { CommonNodeAttr, DeploymentAppTypes, OptionType, PluginType, RefVariableType, SegmentedControlProps, ServerError, ServerErrors, SortingParams, TriggerBlockType, ValueConstraintType, VariableType, VulnerabilityType } from '../Common';
7
7
  import { SelectPickerOptionType, WorkflowRunnerStatusDTO } from './Components';
8
8
  import { BASE_CONFIGURATION_ENV_ID, DEPLOYMENT_STATUS, EnvironmentTypeEnum, PatchOperationType } from './constants';
9
- export interface customEnv {
10
- SENTRY_ENV?: string;
11
- SENTRY_ERROR_ENABLED?: boolean;
12
- SENTRY_PERFORMANCE_ENABLED?: boolean;
13
- SENTRY_DSN?: string;
14
- /**
15
- * Release version for sentry
16
- *
17
- * @default 'dashboard@${SHORT_GIT_HASH}'
18
- */
19
- SENTRY_RELEASE_VERSION?: string;
20
- SENTRY_TRACES_SAMPLE_RATE?: number;
21
- CLUSTER_NAME?: boolean;
22
- APPLICATION_METRICS_ENABLED?: boolean;
23
- GA_ENABLED?: boolean;
24
- GA_TRACKING_ID?: string;
25
- GTM_ENABLED?: boolean;
26
- GTM_ID?: string;
27
- RECOMMEND_SECURITY_SCANNING?: boolean;
28
- FORCE_SECURITY_SCANNING?: boolean;
29
- ENABLE_CI_JOB?: boolean;
30
- HIDE_DISCORD?: boolean;
31
- POSTHOG_ENABLED?: boolean;
32
- POSTHOG_TOKEN?: string;
33
- DEVTRON_APP_DETAILS_POLLING_INTERVAL?: number;
34
- HELM_APP_DETAILS_POLLING_INTERVAL?: number;
35
- EA_APP_DETAILS_POLLING_INTERVAL?: number;
36
- CENTRAL_API_ENDPOINT?: string;
37
- HIDE_GITOPS_OR_HELM_OPTION?: boolean;
38
- CONFIGURABLE_TIMEOUT?: string;
39
- K8S_CLIENT?: boolean;
40
- CLUSTER_TERMINAL_CONNECTION_POLLING_INTERVAL?: number;
41
- CLUSTER_TERMINAL_CONNECTION_RETRY_COUNT?: number;
42
- ENABLE_CHART_SEARCH_IN_HELM_DEPLOY?: boolean;
43
- HIDE_EXCLUDE_INCLUDE_GIT_COMMITS?: boolean;
44
- ENABLE_BUILD_CONTEXT?: boolean;
45
- CLAIR_TOOL_VERSION?: string;
46
- ENABLE_RESTART_WORKLOAD?: boolean;
47
- ENABLE_SCOPED_VARIABLES?: boolean;
48
- DEFAULT_CI_TRIGGER_TYPE_MANUAL: boolean;
49
- ANNOUNCEMENT_BANNER_MSG?: string;
50
- ANNOUNCEMENT_BANNER_TYPE?: string;
51
- ANNOUNCEMENT_BANNER_BUTTON_TEXT?: string;
52
- ANNOUNCEMENT_BANNER_BUTTON_LINK?: string;
53
- HIDE_DEFAULT_CLUSTER?: boolean;
54
- GLOBAL_API_TIMEOUT?: number;
55
- TRIGGER_API_TIMEOUT?: number;
56
- NODE_REACT_APP_GIT_SHA?: string;
57
- REACT_APP_GIT_SHA?: string;
58
- NODE_ENV?: string;
59
- SIDEBAR_DT_LOGO?: string;
60
- ENABLE_EXTERNAL_ARGO_CD: boolean;
61
- API_BATCH_SIZE: number;
62
- SERVICE_WORKER_TIMEOUT?: string;
63
- /**
64
- * @default false
65
- */
66
- FEATURE_USER_DEFINED_GITOPS_REPO_ENABLE: boolean;
67
- ORGANIZATION_NAME: string;
68
- FEATURE_EXTERNAL_FLUX_CD_ENABLE: boolean;
69
- /**
70
- * If true, the direct permissions are hidden for non-super admins in user permissions
71
- *
72
- * @default false
73
- */
74
- FEATURE_HIDE_USER_DIRECT_PERMISSIONS_FOR_NON_SUPER_ADMINS?: boolean;
75
- FEATURE_PROMO_EMBEDDED_BUTTON_TEXT?: string;
76
- FEATURE_PROMO_EMBEDDED_MODAL_TITLE?: string;
77
- FEATURE_PROMO_EMBEDDED_IFRAME_URL?: string;
78
- FEATURE_BULK_RESTART_WORKLOADS_FROM_RB: string;
79
- FEATURE_RB_SYNC_CLUSTER_ENABLE?: boolean;
80
- FEATURE_DEFAULT_MERGE_STRATEGY?: OverrideMergeStrategyType;
81
- FEATURE_DEFAULT_LANDING_RB_ENABLE?: boolean;
82
- FEATURE_ACTION_AUDIOS_ENABLE?: boolean;
83
- /**
84
- * If true, only pipelines to which the user has access will be shown across the application
85
- * @default false
86
- */
87
- FEATURE_DEFAULT_AUTHENTICATED_VIEW_ENABLE?: boolean;
88
- /**
89
- * Enable Image promotion feature
90
- *
91
- * @default false
92
- */
93
- FEATURE_IMAGE_PROMOTION_ENABLE?: boolean;
94
- /**
95
- * Enable environment list for scoped variables
96
- *
97
- * @default false
98
- */
99
- FEATURE_SCOPED_VARIABLE_ENVIRONMENT_LIST_ENABLE?: boolean;
100
- /**
101
- * If true, Enable SDH feature
102
- *
103
- * @default false
104
- */
105
- FEATURE_SOFTWARE_DISTRIBUTION_HUB_ENABLE?: boolean;
106
- /**
107
- * Enable resource watcher
108
- *
109
- * @default false
110
- */
111
- FEATURE_RESOURCE_WATCHER_ENABLE?: boolean;
112
- /**
113
- * Enable config drift
114
- *
115
- * @default false
116
- */
117
- FEATURE_CONFIG_DRIFT_ENABLE: boolean;
118
- /**
119
- * Enable swap traffic (blue green deployment)
120
- *
121
- * @default false
122
- */
123
- FEATURE_SWAP_TRAFFIC_ENABLE?: boolean;
124
- /**
125
- * @default true
126
- */
127
- HIDE_NETWORK_STATUS_INTERFACE?: boolean;
128
- /**
129
- * @default 300000
130
- */
131
- SYSTEM_CONTROLLER_LISTING_TIMEOUT?: number;
132
- /**
133
- * If true, the application templates feature is enabled
134
- *
135
- * @default false
136
- */
137
- FEATURE_APPLICATION_TEMPLATES_ENABLE?: boolean;
138
- /**
139
- * @default false
140
- */
141
- FEATURE_REDFISH_NODE_ENABLE?: boolean;
142
- GATEKEEPER_URL?: string;
143
- FEATURE_AI_INTEGRATION_ENABLE?: boolean;
144
- LOGIN_PAGE_IMAGE?: string;
145
- FEATURE_ASK_DEVTRON_EXPERT?: boolean;
146
- /**
147
- * If true, the manage traffic feature is enabled in apps & app groups.
148
- *
149
- * @default false
150
- */
151
- FEATURE_MANAGE_TRAFFIC_ENABLE?: boolean;
152
- FEATURE_INFRA_PROVISION_INFO_BLOCK_HIDE?: boolean;
153
- /**
154
- * If true, will add flux option to deployment types in devtron apps and devtron charts
155
- * @default false
156
- */
157
- FEATURE_FLUX_DEPLOYMENTS_ENABLE?: boolean;
158
- FEATURE_LINK_EXTERNAL_FLUX_ENABLE?: boolean;
159
- /**
160
- * If true, online/offline connectivity banner is enabled
161
- * @default true
162
- */
163
- FEATURE_INTERNET_CONNECTIVITY_ENABLE?: boolean;
164
- /**
165
- * Show rollout progress if true, else canary step count in status
166
- * @default true
167
- */
168
- FEATURE_CANARY_ROLLOUT_PROGRESS_ENABLE?: boolean;
169
- /**
170
- * Time interval in seconds to refetch command bar data - Applications List
171
- */
172
- COMMAND_BAR_REFETCH_INTERVAL?: number;
173
- /**
174
- * Enable data protection and management
175
- * @default false
176
- */
177
- FEATURE_STORAGE_ENABLE?: boolean;
178
- /** Org ID for grafana */
179
- GRAFANA_ORG_ID?: number;
180
- }
181
9
  export declare enum InstallationType {
182
10
  OSS_KUBECTL = "oss_kubectl",
183
11
  OSS_HELM = "oss_helm",
@@ -808,11 +636,11 @@ export declare enum ConfigurationType {
808
636
  YAML = "YAML"
809
637
  }
810
638
  export declare const CONFIGURATION_TYPE_OPTIONS: SegmentedControlProps['segments'];
811
- export type BaseURLParams = {
639
+ export interface BaseURLParams {
812
640
  appId: string;
813
641
  envId: string;
814
642
  clusterId: string;
815
- };
643
+ }
816
644
  export interface ConfigKeysWithLockType {
817
645
  config: string[];
818
646
  allowed: boolean;
@@ -1300,7 +1128,7 @@ export interface DeploymentStatusDetailsBreakdownDataType {
1300
1128
  }
1301
1129
  export interface IntelligenceConfig {
1302
1130
  clusterId: number;
1303
- metadata: Record<string, string>;
1131
+ metadata: Record<string, string | number>;
1304
1132
  prompt: string;
1305
1133
  analyticsCategory: string;
1306
1134
  }
@@ -62,3 +62,4 @@ export declare const validateYAML: (yamlString: string, isRequired?: boolean) =>
62
62
  export declare const validateEmail: (email: string) => ValidationResponseType;
63
63
  export declare const getIsRegexValid: (regexString: string) => ValidationResponseType;
64
64
  export declare const validateCronExpression: (expression: string) => ValidationResponseType;
65
+ export declare const validateAppName: (value: string) => Required<ValidationResponseType>;