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

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 (341) hide show
  1. package/dist/{@code-editor-QkakENNz.js → @code-editor-BQuL3MJ4.js} +11630 -10910
  2. package/dist/{@common-rjsf-BHsdR2Q-.js → @common-rjsf-D0gZheG0.js} +257 -269
  3. package/dist/{@framer-motion-C1DEPd1l.js → @framer-motion-F-ZV0kPL.js} +79 -79
  4. package/dist/{@moment-CwOqp704.js → @moment-DMLRxgRE.js} +8 -8
  5. package/dist/{@react-select-DRXgZqgY.js → @react-select-CTafio-F.js} +3 -3
  6. package/dist/{@react-virtualized-sticky-tree-BSwmpJIm.js → @react-virtualized-sticky-tree-DX-A0tLR.js} +1 -1
  7. package/dist/{@vendor-D8IC1B-Y.js → @vendor-zzMkp5ik.js} +118324 -104711
  8. package/dist/Common/API/QueryClientProvider.d.ts +1 -1
  9. package/dist/Common/AddCDButton/AddCDButton.d.ts +1 -1
  10. package/dist/Common/BreadCrumb/BreadCrumb.d.ts +1 -1
  11. package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +3 -3
  12. package/dist/Common/BreadCrumb/NestedBreadCrumb.d.ts +1 -1
  13. package/dist/Common/BreadCrumb/Types.d.ts +1 -0
  14. package/dist/Common/ChartVersionAndTypeSelector.d.ts +1 -1
  15. package/dist/Common/ClipboardButton/ClipboardButton.d.ts +1 -1
  16. package/dist/Common/Constants.d.ts +2 -71
  17. package/dist/Common/CustomTagSelector/PropagateTagInfo.d.ts +1 -1
  18. package/dist/Common/CustomTagSelector/ResizableTagTextArea.d.ts +1 -1
  19. package/dist/Common/CustomTagSelector/TagDetails.d.ts +1 -1
  20. package/dist/Common/CustomTagSelector/TagLabelValueSelector.d.ts +1 -1
  21. package/dist/Common/DebouncedSearch/DebouncedSearch.d.ts +1 -1
  22. package/dist/Common/DeleteCINodeButton/DeleteCINodeButton.d.ts +1 -1
  23. package/dist/Common/DevtronCopyright.d.ts +1 -1
  24. package/dist/Common/Dialogs/DialogForm.d.ts +6 -6
  25. package/dist/Common/DraggableWrapper/DraggableButton.d.ts +1 -1
  26. package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +1 -1
  27. package/dist/Common/Drawer/Drawer.d.ts +1 -1
  28. package/dist/Common/EmptyState/GenericFilterEmptyState.d.ts +1 -1
  29. package/dist/Common/ErrorPage.d.ts +1 -1
  30. package/dist/Common/ErrorScreenManager.d.ts +1 -1
  31. package/dist/Common/ErrorScreenNotAuthorized.d.ts +1 -1
  32. package/dist/Common/GenericDescription/GenericDescription.d.ts +1 -1
  33. package/dist/Common/GenericDescription/constant.d.ts +2 -2
  34. package/dist/Common/Grid/Grid.d.ts +1 -1
  35. package/dist/Common/Helper.d.ts +4 -4
  36. package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +1 -1
  37. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  38. package/dist/Common/ImageTags.d.ts +2 -2
  39. package/dist/Common/InteractiveCellText/InteractiveCellText.d.ts +1 -1
  40. package/dist/Common/Markdown/MarkDown.d.ts +1 -1
  41. package/dist/Common/Modals/Modal.d.ts +1 -1
  42. package/dist/Common/Modals/VisibleModal.d.ts +4 -4
  43. package/dist/Common/Modals/VisibleModal2.d.ts +4 -4
  44. package/dist/Common/MultiSelectCustomization.d.ts +7 -7
  45. package/dist/Common/Pagination/PageSizeSelector.d.ts +1 -1
  46. package/dist/Common/Pagination/Pagination.d.ts +1 -1
  47. package/dist/Common/PopupMenu.d.ts +2 -2
  48. package/dist/Common/RJSF/Form.d.ts +1 -1
  49. package/dist/Common/RJSF/common/FieldRow.d.ts +1 -1
  50. package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +2 -2
  51. package/dist/Common/RJSF/templates/ArrayFieldTemplate.d.ts +1 -1
  52. package/dist/Common/RJSF/templates/BaseInput.d.ts +1 -1
  53. package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +1 -1
  54. package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.d.ts +1 -1
  55. package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.d.ts +1 -1
  56. package/dist/Common/RJSF/templates/Field.d.ts +1 -1
  57. package/dist/Common/RJSF/templates/FieldErrorTemplate.d.ts +1 -1
  58. package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +1 -1
  59. package/dist/Common/RJSF/templates/TitleField.d.ts +3 -2
  60. package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +1 -1
  61. package/dist/Common/RJSF/utils.d.ts +1 -1
  62. package/dist/Common/RJSF/widgets/Checkbox.d.ts +1 -1
  63. package/dist/Common/RJSF/widgets/Select.d.ts +1 -1
  64. package/dist/Common/RadioGroup.d.ts +1 -1
  65. package/dist/Common/RadioGroupItem.d.ts +1 -1
  66. package/dist/Common/Reload.d.ts +1 -1
  67. package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
  68. package/dist/Common/SegmentedControl/Segment.d.ts +1 -1
  69. package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +1 -1
  70. package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +1 -1
  71. package/dist/Common/TippyCustomized.d.ts +1 -1
  72. package/dist/Common/Tooltip/ShortcutKeyComboTooltipContent.d.ts +1 -1
  73. package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
  74. package/dist/Common/Types.d.ts +81 -75
  75. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/DTApplicationMetricsFormField.d.ts +1 -1
  76. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/OverrideStrategyTippyContent.d.ts +1 -1
  77. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/utils.d.ts +1 -1
  78. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/FileConfigTippy.d.ts +1 -1
  79. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/SystemVariableIcon.d.ts +1 -1
  80. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +1 -1
  81. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupsTable.component.d.ts +1 -1
  82. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
  83. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +1 -1
  84. package/dist/Pages/GlobalConfigurations/ScopedVariables/types.d.ts +2 -2
  85. package/dist/Pages/ResourceBrowser/ClusterMap/ClusterMap.d.ts +1 -1
  86. package/dist/Pages/ResourceBrowser/ForceDeleteOption.d.ts +1 -1
  87. package/dist/Pages/ResourceBrowser/NodeDrainOptions.d.ts +1 -1
  88. package/dist/Pages/ResourceBrowser/constants.d.ts +1 -11
  89. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +1 -1
  90. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/utils.d.ts +1 -1
  91. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/Overview.d.ts +1 -1
  92. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +1 -1
  93. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +1 -1
  94. package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +1 -1
  95. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +1 -1
  96. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +1 -1
  97. package/dist/Pages-Devtron-2.0/InfrastructureManagement/utils.d.ts +3 -3
  98. package/dist/Pages-Devtron-2.0/Navigation/types.d.ts +1 -1
  99. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.d.ts +1 -1
  100. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/utils.d.ts +1 -1
  101. package/dist/Pages-Devtron-2.0/Shared/Overview/components.d.ts +4 -4
  102. package/dist/Pages-Devtron-2.0/Shared/Routes/index.d.ts +1 -0
  103. package/dist/Pages-Devtron-2.0/Shared/Routes/routes.d.ts +563 -0
  104. package/dist/Pages-Devtron-2.0/Shared/index.d.ts +1 -0
  105. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +1 -1
  106. package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +1 -1
  107. package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +1 -1
  108. package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +1 -1
  109. package/dist/Shared/Components/ActionMenu/ActionMenu.component.d.ts +1 -1
  110. package/dist/Shared/Components/ActionMenu/ActionMenuItem.d.ts +1 -1
  111. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +39 -29
  112. package/dist/Shared/Components/ActivityIndicator/ActivityIndicator.d.ts +1 -1
  113. package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +1 -1
  114. package/dist/Shared/Components/AnimatedTimer/AnimatedTimer.component.d.ts +1 -1
  115. package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +1 -1
  116. package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +1 -1
  117. package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +1 -1
  118. package/dist/Shared/Components/AppStatusModal/AppStatusModalTabList.d.ts +1 -1
  119. package/dist/Shared/Components/ArtifactInfoModal/ArtifactInfoModal.component.d.ts +1 -1
  120. package/dist/Shared/Components/Badge/Badge.d.ts +1 -1
  121. package/dist/Shared/Components/BulkOperations/BulkOperations.component.d.ts +1 -1
  122. package/dist/Shared/Components/BulkOperations/BulkOperationsResultModal.d.ts +1 -1
  123. package/dist/Shared/Components/BulkOperations/types.d.ts +1 -1
  124. package/dist/Shared/Components/BulkSelection/BulkSelectionProvider.d.ts +1 -1
  125. package/dist/Shared/Components/Button/Button.component.d.ts +69 -69
  126. package/dist/Shared/Components/ButtonWithLoader/ButtonWithLoader.d.ts +1 -1
  127. package/dist/Shared/Components/ButtonWithSelector/ButtonWithSelector.d.ts +1 -1
  128. package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +2 -2
  129. package/dist/Shared/Components/CICDHistory/CDEmptyState.d.ts +1 -1
  130. package/dist/Shared/Components/CICDHistory/CiPipelineSourceConfig.d.ts +1 -1
  131. package/dist/Shared/Components/CICDHistory/ConflictedResourcesTable.d.ts +1 -1
  132. package/dist/Shared/Components/CICDHistory/DeploymentDetailSteps.d.ts +1 -1
  133. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiff.d.ts +1 -1
  134. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiffCompare.d.ts +1 -1
  135. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryDiffView.d.ts +1 -1
  136. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/helpers.d.ts +2 -2
  137. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +6 -6
  138. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +1 -1
  139. package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +1 -1
  140. package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +1 -1
  141. package/dist/Shared/Components/CICDHistory/History.components.d.ts +1 -1
  142. package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +1 -1
  143. package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +1 -1
  144. package/dist/Shared/Components/CICDHistory/ResourceConflictDeployDialog.d.ts +1 -1
  145. package/dist/Shared/Components/CICDHistory/ResourceConflictDetailsModal.d.ts +1 -1
  146. package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +1 -1
  147. package/dist/Shared/Components/CICDHistory/StatusFilterButtonComponent.d.ts +1 -1
  148. package/dist/Shared/Components/CICDHistory/TriggerDetails.d.ts +1 -1
  149. package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +1 -1
  150. package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -1
  151. package/dist/Shared/Components/CICDHistory/types.d.ts +8 -6
  152. package/dist/Shared/Components/CICDHistory/utils.d.ts +2 -2
  153. package/dist/Shared/Components/CMCS/ConfigMapSecretReadyOnly.d.ts +1 -1
  154. package/dist/Shared/Components/CMCS/helpers.d.ts +1 -1
  155. package/dist/Shared/Components/Card/Card.component.d.ts +1 -1
  156. package/dist/Shared/Components/Charts/Chart.component.d.ts +1 -1
  157. package/dist/Shared/Components/Charts/utils.d.ts +1 -1
  158. package/dist/Shared/Components/Chip/Chip.component.d.ts +1 -1
  159. package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +1 -1
  160. package/dist/Shared/Components/CodeEditor/CodeEditor.components.d.ts +6 -6
  161. package/dist/Shared/Components/CodeEditor/CodeEditor.d.ts +7 -7
  162. package/dist/Shared/Components/CodeEditor/CodeEditorRenderer.d.ts +1 -1
  163. package/dist/Shared/Components/CodeEditor/Extensions/DiffMinimap.d.ts +1 -1
  164. package/dist/Shared/Components/CodeEditor/utils.d.ts +1 -1
  165. package/dist/Shared/Components/Collapse/Collapse.d.ts +1 -1
  166. package/dist/Shared/Components/CollapsibleList/CollapsibleList.component.d.ts +1 -1
  167. package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +1 -2
  168. package/dist/Shared/Components/CommitChipCell/CommitChipCell.d.ts +1 -1
  169. package/dist/Shared/Components/Confetti/Confetti.component.d.ts +1 -1
  170. package/dist/Shared/Components/ConfirmationModal/CannotDeleteModal.d.ts +1 -1
  171. package/dist/Shared/Components/ConfirmationModal/ConfirmationModal.d.ts +1 -1
  172. package/dist/Shared/Components/ConfirmationModal/ConfirmationModalContext.d.ts +1 -1
  173. package/dist/Shared/Components/ConfirmationModal/ForceDeleteConfirmationModal.d.ts +1 -1
  174. package/dist/Shared/Components/ContextSwitcher/ContextSwitcher.d.ts +1 -1
  175. package/dist/Shared/Components/CountrySelect/CountrySelect.component.d.ts +1 -1
  176. package/dist/Shared/Components/CustomInput/CustomInput.d.ts +1 -1
  177. package/dist/Shared/Components/CustomInput/PasswordField.d.ts +1 -1
  178. package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
  179. package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +1 -1
  180. package/dist/Shared/Components/DatePicker/MonthlySelect.d.ts +1 -1
  181. package/dist/Shared/Components/DatePicker/TimeSelect.d.ts +1 -1
  182. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.component.d.ts +1 -1
  183. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffAccordion.d.ts +1 -1
  184. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.d.ts +1 -1
  185. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffNavigation.d.ts +1 -1
  186. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffRadioSelect.d.ts +1 -1
  187. package/dist/Shared/Components/DetectBottom/DetectBottom.component.d.ts +1 -1
  188. package/dist/Shared/Components/DocLink/DocLink.d.ts +1 -1
  189. package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +1 -1
  190. package/dist/Shared/Components/DynamicDataTable/DynamicDataTableHeader.d.ts +1 -1
  191. package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +1 -1
  192. package/dist/Shared/Components/EditImageFormField/EditImageFormField.d.ts +1 -1
  193. package/dist/Shared/Components/EditableTextArea/EditableTextArea.d.ts +1 -1
  194. package/dist/Shared/Components/EnvironmentSelector/EnvironmentSelector.component.d.ts +1 -1
  195. package/dist/Shared/Components/Error/ErrorBar.d.ts +1 -1
  196. package/dist/Shared/Components/Error/utils.d.ts +1 -1
  197. package/dist/Shared/Components/ExcludedImageNode/ExcludedImageNode.d.ts +1 -1
  198. package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +1 -1
  199. package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +1 -1
  200. package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +1 -1
  201. package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +1 -1
  202. package/dist/Shared/Components/FeatureDescription/types.d.ts +7 -2
  203. package/dist/Shared/Components/FileUpload/FileUpload.d.ts +1 -1
  204. package/dist/Shared/Components/FilterChips/FilterChips.component.d.ts +1 -1
  205. package/dist/Shared/Components/FlagImage/FlagImage.component.d.ts +1 -1
  206. package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts +1 -1
  207. package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionItem.d.ts +1 -1
  208. package/dist/Shared/Components/FloatingVariablesSuggestions/Suggestions.d.ts +1 -1
  209. package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionsInfo.d.ts +1 -1
  210. package/dist/Shared/Components/FormFieldWrapper/FormFieldInfo.d.ts +1 -1
  211. package/dist/Shared/Components/FormFieldWrapper/FormFieldLabel.d.ts +1 -1
  212. package/dist/Shared/Components/FormFieldWrapper/FormFieldWrapper.d.ts +1 -1
  213. package/dist/Shared/Components/GenericInfoCard/GenericInfoCard.component.d.ts +1 -1
  214. package/dist/Shared/Components/GenericInfoCard/GenericInfoCardListing.d.ts +1 -1
  215. package/dist/Shared/Components/GenericInfoCard/GenericInfoListSkeleton.d.ts +1 -1
  216. package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +4 -4
  217. package/dist/Shared/Components/GenericModal/GenericModal.context.d.ts +1 -1
  218. package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +1 -1
  219. package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +1 -1
  220. package/dist/Shared/Components/GitCommitInfoGeneric/GitCommitInfoGeneric.d.ts +1 -1
  221. package/dist/Shared/Components/GitCommitInfoGeneric/GitMaterialInfoHeader.d.ts +1 -1
  222. package/dist/Shared/Components/GitProviderIcon/GitProviderIcon.d.ts +1 -1
  223. package/dist/Shared/Components/GraphVisualizer/GraphVisualizer.d.ts +1 -1
  224. package/dist/Shared/Components/GraphVisualizer/components/BaseNode.d.ts +1 -1
  225. package/dist/Shared/Components/GraphVisualizer/components/DropdownNode.d.ts +1 -1
  226. package/dist/Shared/Components/GraphVisualizer/components/IconNode.d.ts +1 -1
  227. package/dist/Shared/Components/GraphVisualizer/components/TextNode.d.ts +1 -1
  228. package/dist/Shared/Components/GraphVisualizer/constants.d.ts +3 -3
  229. package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -1
  230. package/dist/Shared/Components/Header/HeaderWithCreateButton/utils.d.ts +1 -1
  231. package/dist/Shared/Components/Header/HelpButton.d.ts +1 -1
  232. package/dist/Shared/Components/Header/IframePromoButton.d.ts +1 -1
  233. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  234. package/dist/Shared/Components/Header/ProfileMenu.d.ts +1 -1
  235. package/dist/Shared/Components/Icon/Icon.d.ts +1 -1
  236. package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
  237. package/dist/Shared/Components/IframeContainer/IframeContainer.component.d.ts +1 -1
  238. package/dist/Shared/Components/IframeContainer/IframeElement.d.ts +1 -1
  239. package/dist/Shared/Components/Illustration/Illustration.d.ts +1 -1
  240. package/dist/Shared/Components/Illustration/IllustrationBase.d.ts +1 -1
  241. package/dist/Shared/Components/ImageCard/ArtifactInfo/ArtifactInfo.d.ts +1 -1
  242. package/dist/Shared/Components/ImageCard/ImageCard.d.ts +1 -1
  243. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/DeploymentEnvState.d.ts +1 -1
  244. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/SequentialCDCardTitle.d.ts +1 -1
  245. package/dist/Shared/Components/ImageCardAccordion/ImageCardAccordion.d.ts +1 -1
  246. package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +1 -1
  247. package/dist/Shared/Components/ImageWithFallback/ImageWithFallback.component.d.ts +1 -1
  248. package/dist/Shared/Components/InfoBlock/InfoBlock.component.d.ts +1 -1
  249. package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
  250. package/dist/Shared/Components/InvalidYAMLTippy/InvalidYAMLTippyWrapper.d.ts +1 -1
  251. package/dist/Shared/Components/InvalidYAMLTippy/utils.d.ts +1 -1
  252. package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
  253. package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +1 -1
  254. package/dist/Shared/Components/License/ActivateLicenseDialog.d.ts +1 -1
  255. package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +1 -1
  256. package/dist/Shared/Components/License/License.components.d.ts +3 -3
  257. package/dist/Shared/Components/LoadingCard.d.ts +1 -1
  258. package/dist/Shared/Components/LoginBanner/LoginBanner.d.ts +1 -1
  259. package/dist/Shared/Components/LoginBanner/Testimonials.components.d.ts +1 -1
  260. package/dist/Shared/Components/LoginBanner/types.d.ts +1 -1
  261. package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +1 -1
  262. package/dist/Shared/Components/ModalSidebarPanel/ModalSidebarPanel.component.d.ts +1 -1
  263. package/dist/Shared/Components/NumbersCount/NumbersCount.component.d.ts +1 -1
  264. package/dist/Shared/Components/PhoneInput/PhoneInput.component.d.ts +1 -1
  265. package/dist/Shared/Components/Plugin/PluginCard.d.ts +1 -1
  266. package/dist/Shared/Components/Plugin/PluginCardSkeletonList.d.ts +1 -1
  267. package/dist/Shared/Components/Plugin/PluginImageContainer.d.ts +1 -1
  268. package/dist/Shared/Components/Plugin/PluginList.d.ts +1 -1
  269. package/dist/Shared/Components/Plugin/PluginListContainer.d.ts +1 -1
  270. package/dist/Shared/Components/Plugin/PluginTagSelect.d.ts +1 -1
  271. package/dist/Shared/Components/Plugin/PluginTagsContainer.d.ts +1 -1
  272. package/dist/Shared/Components/Plugin/types.d.ts +2 -2
  273. package/dist/Shared/Components/Popover/Popover.component.d.ts +1 -1
  274. package/dist/Shared/Components/Popover/utils.d.ts +1 -1
  275. package/dist/Shared/Components/ProgressBar/ProgressBar.component.d.ts +1 -1
  276. package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +1 -1
  277. package/dist/Shared/Components/QRCode.d.ts +1 -1
  278. package/dist/Shared/Components/ReactSelect/constants.d.ts +1 -1
  279. package/dist/Shared/Components/ReactSelect/utils.d.ts +4 -4
  280. package/dist/Shared/Components/RegistryIcon/RegistryIcon.d.ts +1 -1
  281. package/dist/Shared/Components/SSOProviderIcon/SSOProviderIcon.d.ts +1 -1
  282. package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityCard.d.ts +1 -1
  283. package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityDetailsCards.d.ts +1 -1
  284. package/dist/Shared/Components/Security/SecurityModal/components/OpenDetailViewButton.d.ts +1 -1
  285. package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +5 -97
  286. package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +1 -1
  287. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +2 -2
  288. package/dist/Shared/Components/Security/SeverityChip.d.ts +1 -1
  289. package/dist/Shared/Components/Security/Vulnerabilities/Vulnerabilities.d.ts +1 -1
  290. package/dist/Shared/Components/SelectPicker/FilterSelectPicker.d.ts +1 -1
  291. package/dist/Shared/Components/SelectPicker/GroupedFilterSelectPicker.d.ts +1 -1
  292. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  293. package/dist/Shared/Components/SelectPicker/SelectPickerTextArea.component.d.ts +1 -1
  294. package/dist/Shared/Components/SelectPicker/common.d.ts +12 -12
  295. package/dist/Shared/Components/ShowMoreText/ShowMoreText.d.ts +1 -1
  296. package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +1 -1
  297. package/dist/Shared/Components/StatusComponent/AppStatus.d.ts +1 -1
  298. package/dist/Shared/Components/StatusComponent/DeploymentStatus.d.ts +1 -1
  299. package/dist/Shared/Components/StatusComponent/StatusComponent.d.ts +1 -1
  300. package/dist/Shared/Components/Switch/Switch.component.d.ts +1 -1
  301. package/dist/Shared/Components/SwitchThemeDialog/SwitchThemeDialog.component.d.ts +1 -1
  302. package/dist/Shared/Components/TabGroup/TabGroup.component.d.ts +1 -1
  303. package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +4 -4
  304. package/dist/Shared/Components/Table/BulkSelectionActionWidget.d.ts +1 -1
  305. package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
  306. package/dist/Shared/Components/Table/Table.component.d.ts +1 -1
  307. package/dist/Shared/Components/Table/TableContent.d.ts +1 -1
  308. package/dist/Shared/Components/TagsKeyValueTable/TagsContainer.d.ts +1 -1
  309. package/dist/Shared/Components/TargetPlatforms/TargetPlatformBadgeList.d.ts +1 -1
  310. package/dist/Shared/Components/TargetPlatforms/TargetPlatformListTooltip.d.ts +1 -1
  311. package/dist/Shared/Components/TempAppWindow/TempAppWindow.d.ts +1 -1
  312. package/dist/Shared/Components/Textarea/Textarea.component.d.ts +1 -1
  313. package/dist/Shared/Components/ThemeSwitcher/ThemeSwitcher.component.d.ts +1 -1
  314. package/dist/Shared/Components/ToggleResolveScopedVariables/ToggleResolveScopedVariables.component.d.ts +1 -1
  315. package/dist/Shared/Components/TrailingItem/TrailingItem.component.d.ts +1 -1
  316. package/dist/Shared/Components/TreeView/TreeView.component.d.ts +1 -1
  317. package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +1 -1
  318. package/dist/Shared/Components/Typewriter/BlinkingCursor.d.ts +1 -1
  319. package/dist/Shared/Components/UnsavedChanges/UnsavedChanges.component.d.ts +1 -1
  320. package/dist/Shared/Components/UnsavedChangesDialog/UnsavedChangesDialog.component.d.ts +1 -1
  321. package/dist/Shared/Components/UserIdentifier/UserIdentifier.d.ts +1 -1
  322. package/dist/Shared/Components/VirtualizedList/VirtualizedList.component.d.ts +1 -1
  323. package/dist/Shared/Components/WorkflowOptionsModal/SourceTypeCard.d.ts +1 -1
  324. package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +1 -1
  325. package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +3 -3
  326. package/dist/Shared/Helpers.d.ts +3 -13
  327. package/dist/Shared/Hooks/UsePrompt/UsePrompt.d.ts +1 -2
  328. package/dist/Shared/Hooks/UsePrompt/types.d.ts +1 -0
  329. package/dist/Shared/Providers/ImageSelectionUtility/ImageSelectionUtility.d.ts +1 -1
  330. package/dist/Shared/Providers/MainContextProvider/MainContextProvider.d.ts +1 -1
  331. package/dist/Shared/Providers/ThemeProvider/ThemeProvider.d.ts +1 -1
  332. package/dist/Shared/Providers/UserEmailProvider/UserEmailProvider.d.ts +3 -3
  333. package/dist/Shared/Services/ToastManager/ToastContent.d.ts +2 -2
  334. package/dist/Shared/Services/ToastManager/toastManager.service.d.ts +1 -1
  335. package/dist/Shared/Store/IndexStore.d.ts +1 -1
  336. package/dist/Shared/types.d.ts +175 -3
  337. package/dist/assets/@code-editor.css +1 -1
  338. package/dist/assets/@vendor.css +1 -1
  339. package/dist/index.d.ts +1 -173
  340. package/dist/index.js +1011 -1136
  341. package/package.json +13 -16
@@ -1,39 +1,36 @@
1
- import { j as n, aN as v, aP as J, aO as K } from "./@vendor-D8IC1B-Y.js";
2
- import V, { useState as q, useEffect as Y, forwardRef as G, useMemo as E } from "react";
3
- import z, { getDefaultRegistry as Q } from "@rjsf/core";
4
- import { T as O, j as w, c as N, b as F, S as X, i as Z, g as ee, a as te, d as R, e as ne } from "./@code-editor-QkakENNz.js";
5
- import { getUiOptions as B, getTemplate as $, getSubmitButtonOptions as re, ADDITIONAL_PROPERTY_FLAG as L, errorId as se, englishStringTranslator as ae, TranslatableString as oe, titleId as le, canExpand as ie, deepEquals as ce } from "@rjsf/utils";
1
+ import { ac as n, ch as $, ci as W, cj as J, ck as K, cl as B, cm as V, bU as v, cn as q, co as Y, bR as G, bQ as z, cp as Q, cq as X, al as Z, cr as ee } from "./@vendor-zzMkp5ik.js";
2
+ import te, { useState as ne, useEffect as se, forwardRef as ae, useMemo as E } from "react";
3
+ import { T as O, j as w, c as T, b as N, S as re, i as oe, g as le, a as ie, d as R, e as ce } from "./@code-editor-BQuL3MJ4.js";
6
4
  import { ReactComponent as de } from "./assets/ic-add.cfaa779b.svg";
7
5
  import { ReactComponent as ue } from "./assets/ic-warning.ecf7ff97.svg";
8
6
  import { ReactComponent as me } from "./assets/ic-cross.01e03666.svg";
9
- import './assets/@common-rjsf.css';const P = {
7
+ import './assets/@common-rjsf.css';const F = {
10
8
  SELECT: "Please select an option",
11
9
  INPUT: "Please enter an input",
12
10
  OBJECT_KEY: "Please enter a value for the key"
13
- }, pe = "Key not available", Je = {
11
+ }, pe = "Key not available", He = {
14
12
  "ui:submitButtonOptions": {
15
13
  norender: !0
16
14
  }
17
- }, U = "rjsf-form-select-portal-target", fe = ({
15
+ }, L = "rjsf-form-select-portal-target", fe = ({
18
16
  children: e,
19
17
  disabled: t,
20
- hasToolbar: s,
21
- hasRemove: r,
22
- index: a,
23
- onDropIndexClick: i,
24
- readonly: l,
18
+ hasToolbar: a,
19
+ hasRemove: s,
20
+ onRemoveItem: r,
21
+ readonly: i,
25
22
  registry: o,
26
- uiSchema: c
23
+ uiSchema: l
27
24
  }) => {
28
- const { RemoveButton: d } = o.templates.ButtonTemplates;
25
+ const { RemoveButton: c } = o.templates.ButtonTemplates;
29
26
  return /* @__PURE__ */ n.jsxs("div", { className: "dc__position-rel display-grid rjsf-form-template__array-field-item flex-align-center", children: [
30
27
  e,
31
- /* @__PURE__ */ n.jsx("div", { className: "dc__position-abs remove-btn__container", style: { right: "-28px", top: "9px" }, children: s && r && /* @__PURE__ */ n.jsx(
32
- d,
28
+ /* @__PURE__ */ n.jsx("div", { className: "dc__position-abs remove-btn__container", style: { right: "-28px", top: "9px" }, children: a && s && /* @__PURE__ */ n.jsx(
29
+ c,
33
30
  {
34
- disabled: t || l,
35
- onClick: i(a),
36
- uiSchema: c,
31
+ disabled: t || i,
32
+ onClick: r,
33
+ uiSchema: l,
37
34
  registry: o
38
35
  }
39
36
  ) })
@@ -41,106 +38,98 @@ import './assets/@common-rjsf.css';const P = {
41
38
  }, S = ({
42
39
  showLabel: e,
43
40
  label: t,
44
- required: s,
45
- children: r,
46
- id: a,
41
+ required: a,
42
+ children: s,
43
+ id: r,
47
44
  rawDescription: i,
48
- shouldAlignCenter: l = !0
45
+ shouldAlignCenter: o = !0
49
46
  }) => /* @__PURE__ */ n.jsxs(
50
47
  "div",
51
48
  {
52
- className: e ? `display-grid dc__gap-12 rjsf-form-template__field ${l ? "" : "rjsf-form-template__field--align-top"}` : "",
49
+ className: e ? `display-grid dc__gap-12 rjsf-form-template__field ${o ? "" : "rjsf-form-template__field--align-top"}` : "",
53
50
  children: [
54
- e && /* @__PURE__ */ n.jsxs("label", { className: "cn-7 fs-13 lh-20 fw-4 flexbox mb-0", htmlFor: a, children: [
51
+ e && /* @__PURE__ */ n.jsxs("label", { className: "cn-7 fs-13 lh-20 fw-4 flexbox mb-0", htmlFor: r, children: [
55
52
  /* @__PURE__ */ n.jsx(O, { alwaysShowTippyOnHover: !!i, content: i, children: /* @__PURE__ */ n.jsx("span", { className: `dc__ellipsis-right ${i ? "dc__underline-dotted" : ""}`, children: t || pe }) }),
56
- s && /* @__PURE__ */ n.jsx("span", { className: "cr-5", children: " *" })
53
+ a && /* @__PURE__ */ n.jsx("span", { className: "cr-5", children: " *" })
57
54
  ] }),
58
- r
55
+ s
59
56
  ]
60
57
  }
61
- ), A = ({ label: e, canAdd: t, onAddClick: s, disabled: r, readonly: a, uiSchema: i, registry: l }) => {
58
+ ), A = ({ label: e, canAdd: t, onAddClick: a, disabled: s, readonly: r, uiSchema: i, registry: o }) => {
62
59
  const {
63
- ButtonTemplates: { AddButton: o }
64
- } = l.templates;
60
+ ButtonTemplates: { AddButton: l }
61
+ } = o.templates;
65
62
  return t && /* @__PURE__ */ n.jsx(
66
- o,
63
+ l,
67
64
  {
68
65
  label: e,
69
- onClick: s,
70
- disabled: r || a,
66
+ onClick: a,
67
+ disabled: s || r,
71
68
  uiSchema: i,
72
- registry: l
69
+ registry: o
73
70
  }
74
71
  );
75
72
  }, he = ({
76
73
  canAdd: e,
77
74
  className: t,
78
- disabled: s,
79
- idSchema: r,
80
- uiSchema: a,
75
+ disabled: a,
76
+ fieldPathId: s,
77
+ uiSchema: r,
81
78
  items: i,
82
- onAddClick: l,
83
- readonly: o,
79
+ onAddClick: o,
80
+ readonly: l,
84
81
  registry: c,
85
82
  required: d,
86
- title: f
83
+ title: p
87
84
  }) => {
88
- const m = B(a), h = $("ArrayFieldItemTemplate", c, m), u = m.title || f;
89
- return /* @__PURE__ */ n.jsx("fieldset", { className: t, id: r.$id, children: i.length ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
90
- i.map(({ key: x, ...p }, j) => {
91
- const _ = {
92
- ...p.children,
93
- props: {
94
- ...p.children.props
95
- }
96
- };
97
- return /* @__PURE__ */ n.jsx(h, { ...p, children: _ }, x);
98
- }),
85
+ const u = $(r).title || p;
86
+ return /* @__PURE__ */ n.jsx("fieldset", { className: t, id: s.$id, children: i.length ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
87
+ i,
99
88
  /* @__PURE__ */ n.jsx(
100
89
  A,
101
90
  {
102
91
  label: u,
103
92
  canAdd: e,
104
- onAddClick: l,
105
- disabled: s,
106
- readonly: o,
107
- uiSchema: a,
93
+ onAddClick: o,
94
+ disabled: a,
95
+ readonly: l,
96
+ uiSchema: r,
108
97
  registry: c
109
98
  }
110
99
  )
111
- ] }) : /* @__PURE__ */ n.jsx(S, { label: u, required: d, showLabel: !0, id: r.$id, children: /* @__PURE__ */ n.jsx(
100
+ ] }) : /* @__PURE__ */ n.jsx(S, { label: u, required: d, showLabel: !0, id: s.$id, children: /* @__PURE__ */ n.jsx(
112
101
  A,
113
102
  {
114
103
  label: u,
115
104
  canAdd: e,
116
- onAddClick: l,
117
- disabled: s,
118
- readonly: o,
119
- uiSchema: a,
105
+ onAddClick: o,
106
+ disabled: a,
107
+ readonly: l,
108
+ uiSchema: r,
120
109
  registry: c
121
110
  }
122
111
  ) }) });
123
112
  }, {
124
113
  templates: { BaseInputTemplate: _e }
125
- } = Q(), xe = ({ placeholder: e, ...t }) => {
126
- const { schema: s } = t;
114
+ } = W(), xe = ({ placeholder: e, ...t }) => {
115
+ const { schema: a } = t;
127
116
  return /* @__PURE__ */ n.jsx(
128
117
  _e,
129
118
  {
130
- placeholder: s.placeholder || e || P.INPUT,
119
+ placeholder: a.placeholder || e || F.INPUT,
131
120
  ...t,
132
121
  className: "form__input cn-9 fs-13 lh-20 fw-4"
133
122
  }
134
123
  );
135
- }, k = ({
124
+ }, U = ({
136
125
  label: e,
137
126
  icon: t,
138
- iconType: s,
139
- registry: r,
140
- uiSchema: a,
127
+ iconType: a,
128
+ registry: s,
129
+ uiSchema: r,
141
130
  ...i
142
131
  }) => {
143
- const l = `Add ${e}`;
132
+ const o = `Add ${e}`;
144
133
  return /* @__PURE__ */ n.jsx("div", { className: "flexbox flex-justify-start", children: /* @__PURE__ */ n.jsxs(
145
134
  "button",
146
135
  {
@@ -150,86 +139,86 @@ import './assets/@common-rjsf.css';const P = {
150
139
  title: "Add",
151
140
  children: [
152
141
  /* @__PURE__ */ n.jsx(de, { className: "icon-dim-16 fcb-5" }),
153
- /* @__PURE__ */ n.jsx(O, { placement: "right", content: l, children: /* @__PURE__ */ n.jsx("span", { className: "cb-5 fs-13 lh-34 dc__truncate", children: l }) })
142
+ /* @__PURE__ */ n.jsx(O, { placement: "right", content: o, children: /* @__PURE__ */ n.jsx("span", { className: "cb-5 fs-13 lh-34 dc__truncate", children: o }) })
154
143
  ]
155
144
  }
156
145
  ) });
157
- }, je = ({ icon: e, iconType: t, registry: s, uiSchema: r, ...a }) => /* @__PURE__ */ n.jsx("button", { ...a, type: "button", className: "dc__outline-none-imp p-0 dc__transparent flex cursor", title: "Remove", children: /* @__PURE__ */ n.jsx(me, { className: "icon-dim-16 fcn-6" }) }), ge = ({ uiSchema: e }) => {
158
- const { submitText: t, norender: s, props: r = {} } = re(e);
159
- return s ? null : /* @__PURE__ */ n.jsx("div", { className: "flexbox flex-justify-end", children: /* @__PURE__ */ n.jsx("button", { type: "submit", ...r, className: `cta ${r.className || ""}`, children: t }) });
160
- }, C = ({
146
+ }, je = ({ icon: e, iconType: t, registry: a, uiSchema: s, ...r }) => /* @__PURE__ */ n.jsx("button", { ...r, type: "button", className: "dc__outline-none-imp p-0 dc__transparent flex cursor", title: "Remove", children: /* @__PURE__ */ n.jsx(me, { className: "icon-dim-16 fcn-6" }) }), ge = ({ uiSchema: e }) => {
147
+ const { submitText: t, norender: a, props: s = {} } = J(e);
148
+ return a ? null : /* @__PURE__ */ n.jsx("div", { className: "flexbox flex-justify-end", children: /* @__PURE__ */ n.jsx("button", { type: "submit", ...s, className: `cta ${s.className || ""}`, children: t }) });
149
+ }, P = ({
161
150
  id: e,
162
151
  title: t,
163
- required: s,
164
- description: r
152
+ required: a,
153
+ description: s
165
154
  }) => /* @__PURE__ */ n.jsxs("legend", { className: "fs-13 fw-6 cn-9 lh-20 dc__no-border pb-9 mb-0", id: e, children: [
166
- /* @__PURE__ */ n.jsx(O, { alwaysShowTippyOnHover: !!r, content: r, children: /* @__PURE__ */ n.jsx("span", { className: `${r ? "dc__underline-dotted" : ""}`, children: t }) }),
167
- s && /* @__PURE__ */ n.jsx("span", { className: "cr-5", children: " *" })
155
+ /* @__PURE__ */ n.jsx(O, { alwaysShowTippyOnHover: !!s, content: s, children: /* @__PURE__ */ n.jsx("span", { className: `${s ? "dc__underline-dotted" : ""}`, children: t }) }),
156
+ a && /* @__PURE__ */ n.jsx("span", { className: "cr-5", children: " *" })
168
157
  ] }), be = (e) => {
169
158
  const {
170
159
  id: t,
171
- label: s,
172
- children: r,
173
- errors: a,
160
+ label: a,
161
+ children: s,
162
+ errors: r,
174
163
  hidden: i,
175
- required: l,
176
- displayLabel: o,
164
+ required: o,
165
+ displayLabel: l,
177
166
  registry: c,
178
167
  uiSchema: d,
179
- classNames: f,
168
+ classNames: p,
180
169
  schema: m,
181
- rawDescription: h
182
- } = e, u = B(d), x = $(
170
+ rawDescription: u
171
+ } = e, f = $(d), h = K(
183
172
  "WrapIfAdditionalTemplate",
184
173
  c,
185
- u
186
- ), p = L in m, j = (o || m.type === "boolean") && !p, _ = m.type === "array";
187
- return i ? /* @__PURE__ */ n.jsx("div", { className: "hidden", children: r }) : (
174
+ f
175
+ ), x = B in m, _ = (l || m.type === "boolean") && !x, j = m.type === "array";
176
+ return i ? /* @__PURE__ */ n.jsx("div", { className: "hidden", children: s }) : (
188
177
  // NOTE: need to override the margins of default rjsf css
189
- /* @__PURE__ */ n.jsxs("div", { className: `${f} mb-0`, children: [
190
- _ && /* @__PURE__ */ n.jsx(
191
- C,
178
+ /* @__PURE__ */ n.jsxs("div", { className: `${p} mb-0`, children: [
179
+ j && /* @__PURE__ */ n.jsx(
180
+ P,
192
181
  {
193
182
  id: t,
194
- title: s,
195
- required: l,
183
+ title: a,
184
+ required: o,
196
185
  registry: c,
197
186
  uiSchema: d,
198
187
  schema: m,
199
- description: h
188
+ description: u
200
189
  }
201
190
  ),
202
191
  /* @__PURE__ */ n.jsx(
203
192
  S,
204
193
  {
205
- label: s,
206
- showLabel: j,
194
+ label: a,
195
+ showLabel: _,
207
196
  id: t,
208
- required: l,
209
- rawDescription: h,
210
- children: /* @__PURE__ */ n.jsx(x, { ...e, children: r })
197
+ required: o,
198
+ rawDescription: u,
199
+ children: /* @__PURE__ */ n.jsx(h, { ...e, children: s })
211
200
  }
212
201
  ),
213
- a
202
+ r
214
203
  ] })
215
204
  );
216
- }, ye = ({ errors: e = [], idSchema: t }) => {
217
- const s = se(t);
218
- return e.length > 0 && /* @__PURE__ */ n.jsx("span", { className: "display-grid rjsf-form-template__field--error dc__gap-12", id: s, children: e.filter((r) => !!r).map((r, a) => /* @__PURE__ */ n.jsxs(V.Fragment, { children: [
205
+ }, ye = ({ errors: e = [], fieldPathId: t }) => {
206
+ const a = V(t);
207
+ return e.length > 0 && /* @__PURE__ */ n.jsx("span", { className: "display-grid rjsf-form-template__field--error dc__gap-12", id: a, children: e.filter((s) => !!s).map((s, r) => /* @__PURE__ */ n.jsxs(te.Fragment, { children: [
219
208
  /* @__PURE__ */ n.jsx("span", {}),
220
209
  /* @__PURE__ */ n.jsxs("span", { className: "form__error", children: [
221
210
  /* @__PURE__ */ n.jsx(ue, { className: "form__icon form__icon--error" }),
222
- r
211
+ s
223
212
  ] })
224
- ] }, a)) });
225
- }, Te = (e, t) => {
213
+ ] }, r)) });
214
+ }, ve = (e, t) => {
226
215
  switch (e) {
227
- case oe.NewStringDefault:
216
+ case Y.NewStringDefault:
228
217
  return "";
229
218
  default:
230
- return ae(e, t);
219
+ return q(e, t);
231
220
  }
232
- }, Ke = (e) => {
221
+ }, Me = (e) => {
233
222
  try {
234
223
  const t = new URL(e).origin === window.location.origin;
235
224
  return {
@@ -245,7 +234,7 @@ import './assets/@common-rjsf.css';const P = {
245
234
  url: `${e} (Invalid URL)`
246
235
  };
247
236
  }
248
- }, Ve = (e) => {
237
+ }, We = (e) => {
249
238
  const t = typeof e;
250
239
  switch (t) {
251
240
  case "boolean":
@@ -257,275 +246,274 @@ import './assets/@common-rjsf.css';const P = {
257
246
  default:
258
247
  return "null";
259
248
  }
260
- }, T = (e) => {
249
+ }, y = (e) => {
261
250
  if (!e)
262
251
  return "";
263
- const t = e.trim(), r = (/^\/.+$/g.test(t) ? t : `/${t}`).replaceAll(/\./g, "/");
264
- return /(\/(([^/~])|(~[01]))*)/g.test(r) ? r : "";
252
+ const t = e.trim(), s = (/^\/.+$/g.test(t) ? t : `/${t}`).replaceAll(/\./g, "/");
253
+ return /(\/(([^/~])|(~[01]))*)/g.test(s) ? s : "";
265
254
  }, I = {
266
255
  value: !1,
267
256
  path: ""
268
- }, ve = (e) => {
257
+ }, Te = (e) => {
269
258
  if (!e)
270
259
  return null;
271
260
  const t = structuredClone(e);
272
261
  return typeof t == "string" ? {
273
262
  value: !0,
274
- path: T(t)
263
+ path: y(t)
275
264
  } : typeof t != "object" ? structuredClone(I) : Object.hasOwn(t, "condition") && "condition" in t && Object.hasOwn(t, "value") && "value" in t ? {
276
265
  value: t.condition,
277
- path: T(t.value)
266
+ path: y(t.value)
278
267
  } : Object.hasOwn(t, "value") && "value" in t && Object.hasOwn(t, "path") && "path" in t ? {
279
268
  value: t.value,
280
- path: T(t.path)
269
+ path: y(t.path)
281
270
  } : structuredClone(I);
282
- }, H = (e, t, s) => {
283
- e && (e.type === "object" && e.properties && typeof e.properties == "object" && Object.entries(e.properties).forEach(([r, a]) => {
284
- H(a, `${t}/${r}`, s);
285
- }), (e.type === "boolean" || e.type === "string" || e.type === "number" || e.type === "integer") && (s[t] = T(e.updatePath ?? t)));
286
- }, Ne = (e) => {
271
+ }, k = (e, t, a) => {
272
+ e && (e.type === "object" && e.properties && typeof e.properties == "object" && Object.entries(e.properties).forEach(([s, r]) => {
273
+ k(r, `${t}/${s}`, a);
274
+ }), (e.type === "boolean" || e.type === "string" || e.type === "number" || e.type === "integer") && (a[t] = y(e.updatePath ?? t)));
275
+ }, Se = (e) => {
287
276
  const t = {};
288
- return H(e, "", t), t;
289
- }, M = (e, t, s) => {
290
- if (t >= s.length)
277
+ return k(e, "", t), t;
278
+ }, H = (e, t, a) => {
279
+ if (t >= a.length)
291
280
  return e;
292
- const r = s[t];
293
- if (t === s.length - 1) {
294
- const a = structuredClone(e);
295
- return delete a[r], a;
281
+ const s = a[t];
282
+ if (t === a.length - 1) {
283
+ const r = structuredClone(e);
284
+ return delete r[s], r;
296
285
  }
297
- if (e[r] && (e[r] = M(e[r], t + 1, s)), Object.keys(e[r] ?? {}).length === 0) {
298
- const a = structuredClone(e);
299
- return delete a[r], a;
286
+ if (e[s] && (e[s] = H(e[s], t + 1, a)), Object.keys(e[s] ?? {}).length === 0) {
287
+ const r = structuredClone(e);
288
+ return delete r[s], r;
300
289
  }
301
290
  return e;
302
- }, Se = (e, t) => {
291
+ }, we = (e, t) => {
303
292
  if (!e || typeof e != "object" || Array.isArray(e))
304
293
  throw new Error("Invalid object");
305
294
  if (!t || !t.startsWith("/"))
306
295
  throw new Error("Invalid path");
307
- const s = t.split("/").slice(1);
308
- return M(e, 0, s);
296
+ const a = t.split("/").slice(1);
297
+ return H(e, 0, a);
309
298
  }, D = ({
310
299
  formState: e,
311
300
  formData: t,
312
- schemaPathToUpdatePathMap: s
301
+ schemaPathToUpdatePathMap: a
313
302
  }) => {
314
- let r = structuredClone(e);
315
- return r && (Object.entries(s).forEach(([a, i]) => {
316
- if (a === i || !i)
303
+ let s = structuredClone(e);
304
+ return s && (Object.entries(a).forEach(([r, i]) => {
305
+ if (r === i || !i)
317
306
  return;
318
- const l = v({
307
+ const o = v({
319
308
  json: t,
320
- path: N(a),
309
+ path: T(r),
321
310
  resultType: "value",
322
311
  wrap: !1
323
312
  });
324
- l === void 0 ? r = Se(r, a) : r = w([F(a, l), r]);
325
- const o = v({
313
+ o === void 0 ? s = we(s, r) : s = w([N(r, o), s]);
314
+ const l = v({
326
315
  json: e,
327
- path: N(a),
316
+ path: T(r),
328
317
  resultType: "value",
329
318
  wrap: !1
330
319
  });
331
- o !== void 0 && (r = w([F(i, o), r]));
332
- }), t && r ? J(t, K(t, r), !1, !1).newDocument : r);
333
- }, we = ({ formData: e, schemaPathToUpdatePathMap: t }) => w([
334
- ...Object.entries(t).map(([s, r]) => {
335
- if (s === r || !r)
320
+ l !== void 0 && (s = w([N(i, l), s]));
321
+ }), t && s ? G(t, z(t, s), !1, !1).newDocument : s);
322
+ }, Ne = ({ formData: e, schemaPathToUpdatePathMap: t }) => w([
323
+ ...Object.entries(t).map(([a, s]) => {
324
+ if (a === s || !s)
336
325
  return {};
337
- const a = v({
326
+ const r = v({
338
327
  json: e,
339
- path: N(r),
328
+ path: T(s),
340
329
  resultType: "value",
341
330
  wrap: !1
342
331
  });
343
- return a === void 0 ? {} : F(s, a);
332
+ return r === void 0 ? {} : N(a, r);
344
333
  }),
345
334
  structuredClone(e)
346
- ]), Fe = ({
335
+ ]), Oe = ({
347
336
  disabled: e,
348
337
  formData: t,
349
- idSchema: s,
350
- onAddClick: r,
351
- properties: a,
338
+ fieldPathId: a,
339
+ onAddProperty: s,
340
+ properties: r,
352
341
  readonly: i,
353
- registry: l,
354
- required: o,
342
+ registry: o,
343
+ required: l,
355
344
  schema: c,
356
345
  title: d,
357
- uiSchema: f,
358
- formContext: m
346
+ uiSchema: p
359
347
  }) => {
360
- const h = !!c.additionalProperties, u = ie(c, f, t) && /* @__PURE__ */ n.jsx(
361
- k,
348
+ const m = !!c.additionalProperties, u = X(c, p, t) && /* @__PURE__ */ n.jsx(
349
+ U,
362
350
  {
363
351
  label: d,
364
352
  className: "object-property-expand",
365
- onClick: r(c),
353
+ onClick: s,
366
354
  disabled: e || i,
367
- uiSchema: f,
368
- registry: l
355
+ uiSchema: p,
356
+ registry: o
369
357
  }
370
- ), x = a.filter((p) => {
371
- const j = c.properties?.[p.name]?.hidden;
372
- if (!j)
358
+ ), f = r.filter((h) => {
359
+ const x = c.properties?.[h.name]?.hidden;
360
+ if (!x)
373
361
  return !0;
374
362
  try {
375
- const _ = ve(j);
363
+ const _ = Te(x);
376
364
  if (!_.path)
377
365
  throw new Error("Empty path property of hidden descriptor field");
378
- const y = v({
379
- path: N(_.path),
380
- json: m,
366
+ const j = v({
367
+ path: T(_.path),
368
+ json: o.formContext,
381
369
  resultType: "value",
382
370
  wrap: !1
383
371
  });
384
- return !(y === void 0 || ce(_.value, y));
372
+ return !(j === void 0 || Z(_.value, j));
385
373
  } catch {
386
374
  return !0;
387
375
  }
388
- }).map((p) => p.content);
389
- return h ? a.length ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
376
+ }).map((h) => h.content);
377
+ return m ? r.length ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
390
378
  /* @__PURE__ */ n.jsx(
391
379
  S,
392
380
  {
393
381
  label: d,
394
- required: o,
382
+ required: l,
395
383
  showLabel: !0,
396
- id: s.$id,
384
+ id: a.$id,
397
385
  shouldAlignCenter: !1,
398
- children: /* @__PURE__ */ n.jsx("div", { children: x })
386
+ children: /* @__PURE__ */ n.jsx("div", { children: f })
399
387
  }
400
388
  ),
401
389
  u
402
- ] }) : /* @__PURE__ */ n.jsx(S, { label: d, required: o, showLabel: !0, id: s.$id, children: u }) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
403
- x,
390
+ ] }) : /* @__PURE__ */ n.jsx(S, { label: d, required: l, showLabel: !0, id: a.$id, children: u }) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
391
+ f,
404
392
  u
405
393
  ] });
406
- }, Oe = (e) => {
407
- const { idSchema: t, registry: s, required: r, schema: a, title: i, uiSchema: l, description: o } = e, c = !!a.additionalProperties, d = i && !c;
394
+ }, Fe = (e) => {
395
+ const { fieldPathId: t, registry: a, required: s, schema: r, title: i, uiSchema: o, description: l } = e, c = !!r.additionalProperties, d = i && !c;
408
396
  return /* @__PURE__ */ n.jsxs("fieldset", { id: t.$id, children: [
409
397
  d && /* @__PURE__ */ n.jsx(
410
- C,
398
+ P,
411
399
  {
412
- id: le(t),
400
+ id: Q(t),
413
401
  title: i,
414
- required: r,
415
- schema: a,
416
- uiSchema: l,
417
- registry: s,
418
- description: o
402
+ required: s,
403
+ schema: r,
404
+ uiSchema: o,
405
+ registry: a,
406
+ description: l
419
407
  }
420
408
  ),
421
409
  /* @__PURE__ */ n.jsx(
422
410
  "div",
423
411
  {
424
- className: `${a.properties && !c && t.$id !== "root" ? "dc__border-left pl-12" : ""} ${t.$id === "root" ? "dc__separated-flexbox dc__separated-flexbox--vertical" : "flexbox-col dc__gap-8"}`,
425
- children: /* @__PURE__ */ n.jsx(Fe, { ...e })
412
+ className: `${r.properties && !c && t.$id !== "root" ? "dc__border-left pl-12" : ""} ${t.$id === "root" ? "dc__separated-flexbox dc__separated-flexbox--vertical" : "flexbox-col dc__gap-8"}`,
413
+ children: /* @__PURE__ */ n.jsx(Oe, { ...e })
426
414
  }
427
415
  )
428
416
  ] });
429
417
  }, Pe = ({
430
418
  id: e,
431
419
  disabled: t,
432
- label: s,
433
- onKeyChange: r,
434
- onDropPropertyClick: a,
420
+ label: a,
421
+ onKeyRename: s,
422
+ onRemoveProperty: r,
435
423
  readonly: i,
436
- schema: l,
437
- children: o,
424
+ schema: o,
425
+ children: l,
438
426
  uiSchema: c,
439
427
  registry: d
440
428
  }) => {
441
- const { templates: f } = d, { RemoveButton: m } = f.ButtonTemplates, h = L in l;
442
- return /* @__PURE__ */ n.jsx(n.Fragment, { children: h ? /* @__PURE__ */ n.jsxs("div", { className: "dc__position-rel rjsf-form-template__additional-fields display-grid dc__gap-8 flex-align-center", children: [
429
+ const { templates: p } = d, { RemoveButton: m } = p.ButtonTemplates, u = B in o;
430
+ return /* @__PURE__ */ n.jsx(n.Fragment, { children: u ? /* @__PURE__ */ n.jsxs("div", { className: "dc__position-rel rjsf-form-template__additional-fields display-grid dc__gap-8 flex-align-center", children: [
443
431
  /* @__PURE__ */ n.jsx("div", { children: /* @__PURE__ */ n.jsx(
444
432
  "input",
445
433
  {
446
434
  type: "text",
447
435
  className: "form__input cn-9 fs-13 lh-20 fw-4",
448
436
  id: `${e}-key`,
449
- onBlur: (u) => r(u.target.value),
450
- placeholder: P.OBJECT_KEY,
451
- defaultValue: s
437
+ onBlur: (f) => s(f.target.value),
438
+ placeholder: F.OBJECT_KEY,
439
+ defaultValue: a
452
440
  }
453
441
  ) }),
454
- /* @__PURE__ */ n.jsx("div", { children: o }),
442
+ /* @__PURE__ */ n.jsx("div", { children: l }),
455
443
  /* @__PURE__ */ n.jsx("div", { className: "dc__position-abs remove-btn__container", style: { right: "-28px", top: "9px" }, children: /* @__PURE__ */ n.jsx(
456
444
  m,
457
445
  {
458
446
  disabled: t || i,
459
- onClick: a(s),
447
+ onClick: r,
460
448
  uiSchema: c,
461
449
  registry: d
462
450
  }
463
451
  ) })
464
- ] }) : o });
452
+ ] }) : l });
465
453
  }, Ce = ({
466
454
  id: e,
467
455
  onChange: t,
468
- value: s,
469
- disabled: r,
470
- readonly: a,
456
+ value: a,
457
+ disabled: s,
458
+ readonly: r,
471
459
  autofocus: i
472
460
  }) => {
473
- const l = Z(s) ? !1 : s, o = () => {
474
- t(!l);
461
+ const o = oe(a) ? !1 : a, l = () => {
462
+ t(!o);
475
463
  };
476
464
  return /* @__PURE__ */ n.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8", children: [
477
465
  /* @__PURE__ */ n.jsx(
478
- X,
466
+ re,
479
467
  {
480
468
  name: e,
481
469
  ariaLabel: e,
482
- onChange: o,
483
- isChecked: l,
470
+ onChange: l,
471
+ isChecked: o,
484
472
  autoFocus: i,
485
- isDisabled: r || a
473
+ isDisabled: s || r
486
474
  }
487
475
  ),
488
- /* @__PURE__ */ n.jsx("span", { className: "dc__capitalize", children: l.toString() })
476
+ /* @__PURE__ */ n.jsx("span", { className: "dc__capitalize", children: o.toString() })
489
477
  ] });
490
478
  }, Ee = (e) => {
491
479
  const {
492
480
  id: t,
493
- multiple: s = !1,
494
- options: r,
495
- value: a,
481
+ multiple: a = !1,
482
+ options: s,
483
+ value: r,
496
484
  disabled: i,
497
- readonly: l,
498
- autofocus: o = !1,
485
+ readonly: o,
486
+ autofocus: l = !1,
499
487
  onChange: c,
500
488
  onBlur: d,
501
- onFocus: f,
489
+ onFocus: p,
502
490
  placeholder: m,
503
- schema: h
504
- } = e, { enumOptions: u = [] } = r, x = s ? [] : null, p = (g) => {
505
- c(s ? g.map((b) => b.value) : g.value);
506
- }, [j, _] = q();
507
- Y(() => {
508
- _(ee(8));
491
+ schema: u
492
+ } = e, { enumOptions: f = [] } = s, h = a ? [] : null, x = (g) => {
493
+ c(a ? g.map((b) => b.value) : g.value);
494
+ }, [_, j] = ne();
495
+ se(() => {
496
+ j(le(8));
509
497
  }, []);
510
- const y = (g) => s ? u.filter((b) => g.some((W) => R(W, b.value))) : u.find((b) => R(g, b.value));
498
+ const C = (g) => a ? f.filter((b) => g.some((M) => R(M, b.value))) : f.find((b) => R(g, b.value));
511
499
  return /* @__PURE__ */ n.jsx(
512
- te,
500
+ ie,
513
501
  {
514
502
  inputId: `devtron-rjsf-select__${t}`,
515
503
  name: t,
516
- isMulti: s,
517
- value: typeof a > "u" ? x : y(a),
518
- autoFocus: o,
519
- onChange: p,
520
- options: u,
521
- onBlur: () => d(t, a),
522
- onFocus: () => f(t, a),
523
- placeholder: h.placeholder || m || P.SELECT,
524
- isDisabled: i || l,
525
- menuPortalTarget: document.getElementById(U),
504
+ isMulti: a,
505
+ value: typeof r > "u" ? h : C(r),
506
+ autoFocus: l,
507
+ onChange: x,
508
+ options: f,
509
+ onBlur: () => d(t, r),
510
+ onFocus: () => p(t, r),
511
+ placeholder: u.placeholder || m || F.SELECT,
512
+ isDisabled: i || o,
513
+ menuPortalTarget: document.getElementById(L),
526
514
  menuPosition: "fixed"
527
515
  },
528
- j
516
+ _
529
517
  );
530
518
  }, Re = {
531
519
  CheckboxWidget: Ce,
@@ -534,37 +522,37 @@ import './assets/@common-rjsf.css';const P = {
534
522
  ArrayFieldItemTemplate: fe,
535
523
  ArrayFieldTemplate: he,
536
524
  BaseInputTemplate: xe,
537
- ButtonTemplates: { AddButton: k, RemoveButton: je, SubmitButton: ge },
525
+ ButtonTemplates: { AddButton: U, RemoveButton: je, SubmitButton: ge },
538
526
  FieldTemplate: be,
539
527
  FieldErrorTemplate: ye,
540
- ObjectFieldTemplate: Oe,
541
- TitleFieldTemplate: C,
528
+ ObjectFieldTemplate: Fe,
529
+ TitleFieldTemplate: P,
542
530
  WrapIfAdditionalTemplate: Pe
543
- }, Ie = z, De = ne, qe = G((e, t) => {
544
- const { schemaPathToUpdatePathMap: s, isUpdatePathKeywordPresent: r } = E(() => {
545
- const o = Ne(e.schema);
531
+ }, Ie = ee, Je = ae((e, t) => {
532
+ const { schemaPathToUpdatePathMap: a, isUpdatePathKeywordPresent: s } = E(() => {
533
+ const l = Se(e.schema);
546
534
  return {
547
- schemaPathToUpdatePathMap: o,
548
- isUpdatePathKeywordPresent: Object.entries(o).some(([c, d]) => c !== d)
535
+ schemaPathToUpdatePathMap: l,
536
+ isUpdatePathKeywordPresent: Object.entries(l).some(([c, d]) => c !== d)
549
537
  };
550
- }, [e.schema]), a = E(() => r ? we({ formData: e.formData ?? {}, schemaPathToUpdatePathMap: s }) : e.formData, [e.formData, s, r]), i = (o) => {
538
+ }, [e.schema]), r = E(() => s ? Ne({ formData: e.formData ?? {}, schemaPathToUpdatePathMap: a }) : e.formData, [e.formData, a, s]), i = (l) => {
551
539
  if (!e.onChange)
552
540
  return;
553
541
  const c = D({
554
- formState: o.formData,
542
+ formState: l.formData,
555
543
  formData: e.formData,
556
- schemaPathToUpdatePathMap: s
544
+ schemaPathToUpdatePathMap: a
557
545
  });
558
- e.onChange({ ...o, formData: c });
559
- }, l = (o, c) => {
546
+ e.onChange({ ...l, formData: c });
547
+ }, o = (l, c) => {
560
548
  if (!e.onSubmit)
561
549
  return;
562
550
  const d = D({
563
- formState: o.formData,
551
+ formState: l.formData,
564
552
  formData: e.formData,
565
- schemaPathToUpdatePathMap: s
553
+ schemaPathToUpdatePathMap: a
566
554
  });
567
- e.onSubmit?.({ ...o, formData: d }, c);
555
+ e.onSubmit?.({ ...l, formData: d }, c);
568
556
  };
569
557
  return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
570
558
  /* @__PURE__ */ n.jsx(
@@ -574,31 +562,31 @@ import './assets/@common-rjsf.css';const P = {
574
562
  showErrorList: !1,
575
563
  autoComplete: "off",
576
564
  ...e,
577
- formData: a,
578
- ...r ? {
565
+ formData: r,
566
+ ...s ? {
579
567
  onChange: i,
580
- onSubmit: l
568
+ onSubmit: o
581
569
  } : {},
582
570
  className: `rjsf-form-template__container ${e.className || ""}`,
583
- validator: De,
571
+ validator: ce,
584
572
  templates: {
585
573
  ...Ae,
586
574
  ...e.templates
587
575
  },
588
- formContext: a,
576
+ formContext: r,
589
577
  widgets: { ...Re, ...e.widgets },
590
- translateString: Te,
578
+ translateString: ve,
591
579
  ref: t
592
580
  }
593
581
  ),
594
- /* @__PURE__ */ n.jsx("div", { id: U })
582
+ /* @__PURE__ */ n.jsx("div", { id: L })
595
583
  ] });
596
584
  });
597
585
  export {
598
- Je as H,
599
- qe as R,
600
- Ke as a,
601
- Ne as b,
602
- T as c,
603
- Ve as g
586
+ He as H,
587
+ Je as R,
588
+ Me as a,
589
+ Se as b,
590
+ y as c,
591
+ We as g
604
592
  };