@devtron-labs/devtron-fe-common-lib 0.2.21 → 0.2.23
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.
- package/dist/Common/AddCDButton/AddCDButton.d.ts +0 -1
- package/dist/Common/AddCDButton/types.d.ts +0 -1
- package/dist/Common/AddCDButton/utils.d.ts +0 -1
- package/dist/Common/Api.d.ts +5 -6
- package/dist/Common/AppStatus/AppStatus.d.ts +0 -1
- package/dist/Common/BreadCrumb/BreadCrumb.d.ts +0 -1
- package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +0 -1
- package/dist/Common/CIPipeline.Types.d.ts +4 -1
- package/dist/Common/ChartVersionAndTypeSelector.d.ts +0 -1
- package/dist/Common/Checkbox.d.ts +0 -1
- package/dist/Common/ClipboardButton/ClipboardButton.d.ts +0 -1
- package/dist/Common/ClipboardButton/types.d.ts +0 -1
- package/dist/Common/CodeEditor/CodeEditor.d.ts +0 -1
- package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +0 -1
- package/dist/Common/CodeEditor/types.d.ts +0 -1
- package/dist/Common/Common.service.d.ts +0 -1
- package/dist/Common/Constants.d.ts +2 -1
- package/dist/Common/CustomInput/CustomInput.d.ts +0 -1
- package/dist/Common/CustomInput/Types.d.ts +2 -3
- package/dist/Common/CustomTagSelector/PropagateTagInfo.d.ts +0 -1
- package/dist/Common/CustomTagSelector/ResizableTagTextArea.d.ts +0 -1
- package/dist/Common/CustomTagSelector/TagDetails.d.ts +0 -1
- package/dist/Common/CustomTagSelector/TagLabelSelect.d.ts +0 -1
- package/dist/Common/CustomTagSelector/TagLabelValueSelector.d.ts +0 -1
- package/dist/Common/CustomTagSelector/Types.d.ts +0 -1
- package/dist/Common/DebouncedSearch/DebouncedSearch.d.ts +0 -1
- package/dist/Common/DebouncedSearch/Types.d.ts +0 -1
- package/dist/Common/DeleteComponentModal/DeleteComponent.d.ts +0 -1
- package/dist/Common/DevtronProgressing/DevtronProgressing.d.ts +0 -1
- package/dist/Common/Dialogs/ConfirmationDialog.d.ts +0 -1
- package/dist/Common/Dialogs/DeleteDialog.d.ts +0 -1
- package/dist/Common/Dialogs/DialogForm.d.ts +0 -1
- package/dist/Common/Dialogs/ForceDeleteDialog.d.ts +0 -1
- package/dist/Common/Dialogs/Types.d.ts +0 -1
- package/dist/Common/DraggableWrapper/DraggableButton.d.ts +0 -1
- package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +0 -1
- package/dist/Common/DraggableWrapper/types.d.ts +0 -1
- package/dist/Common/Drawer/Drawer.d.ts +0 -1
- package/dist/Common/EmptyState/GenericEmptyState.d.ts +0 -1
- package/dist/Common/EmptyState/GenericFilterEmptyState.d.ts +0 -1
- package/dist/Common/EmptyState/types.d.ts +0 -1
- package/dist/Common/ErrorPage.d.ts +0 -1
- package/dist/Common/ErrorScreenManager.d.ts +0 -1
- package/dist/Common/ErrorScreenNotAuthorized.d.ts +0 -1
- package/dist/Common/GenericDescription/GenericDescription.d.ts +0 -1
- package/dist/Common/Grid/Grid.d.ts +0 -1
- package/dist/Common/Grid/types.d.ts +0 -1
- package/dist/Common/Helper.d.ts +1 -2
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutContext.d.ts +0 -1
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +0 -1
- package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +0 -1
- package/dist/Common/Hooks/UseSuperAdmin/UseSuperAdmin.d.ts +0 -1
- package/dist/Common/Hooks/useStateFilters/types.d.ts +0 -1
- package/dist/Common/Hooks/useStateFilters/useStateFilters.d.ts +0 -1
- package/dist/Common/Hooks/useUrlFilters/types.d.ts +0 -1
- package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +0 -1
- package/dist/Common/ImageTags.d.ts +0 -1
- package/dist/Common/InfoColorBar/InfoColourbar.d.ts +0 -1
- package/dist/Common/Markdown/MarkDown.d.ts +0 -1
- package/dist/Common/Modals/Modal.d.ts +0 -1
- package/dist/Common/Modals/VisibleModal.d.ts +1 -2
- package/dist/Common/Modals/VisibleModal2.d.ts +1 -2
- package/dist/Common/MultiSelectCustomization.d.ts +0 -1
- package/dist/Common/Pagination/PageSizeSelector.d.ts +0 -1
- package/dist/Common/Pagination/Pagination.d.ts +0 -1
- package/dist/Common/Pagination/types.d.ts +0 -1
- package/dist/Common/Pagination/utils.d.ts +0 -1
- package/dist/Common/Policy.Types.d.ts +0 -1
- package/dist/Common/PopupMenu.d.ts +0 -1
- package/dist/Common/Progressing.d.ts +0 -1
- package/dist/Common/RJSF/Form.d.ts +0 -1
- package/dist/Common/RJSF/common/FieldRow.d.ts +0 -1
- package/dist/Common/RJSF/common/types.d.ts +0 -1
- package/dist/Common/RJSF/config.d.ts +0 -1
- package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +0 -1
- package/dist/Common/RJSF/templates/ArrayFieldTemplate.d.ts +0 -1
- package/dist/Common/RJSF/templates/BaseInput.d.ts +0 -1
- package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +1 -2
- package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.d.ts +0 -1
- package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.d.ts +0 -1
- package/dist/Common/RJSF/templates/Field.d.ts +0 -1
- package/dist/Common/RJSF/templates/FieldErrorTemplate.d.ts +0 -1
- package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +0 -1
- package/dist/Common/RJSF/templates/TitleField.d.ts +1 -2
- package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +0 -1
- package/dist/Common/RJSF/types.d.ts +0 -1
- package/dist/Common/RJSF/utils.d.ts +1 -2
- package/dist/Common/RJSF/widgets/Checkbox.d.ts +0 -1
- package/dist/Common/RJSF/widgets/Select.d.ts +0 -1
- package/dist/Common/RadioGroup/RadioGroup.d.ts +0 -1
- package/dist/Common/RadioGroup.d.ts +0 -1
- package/dist/Common/RadioGroupItem.d.ts +0 -1
- package/dist/Common/Reload.d.ts +0 -1
- package/dist/Common/ResizableTextarea.d.ts +0 -1
- package/dist/Common/SearchBar/SearchBar.component.d.ts +0 -1
- package/dist/Common/SearchBar/types.d.ts +0 -1
- package/dist/Common/SearchBar/utils.d.ts +1 -2
- package/dist/Common/Security/ScanVulnerabilitiesTable.d.ts +0 -1
- package/dist/Common/SegmentedBarChart/SegmentedBarChart.d.ts +0 -1
- package/dist/Common/Select/Select.d.ts +0 -1
- package/dist/Common/Select/types.d.ts +0 -1
- package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +0 -1
- package/dist/Common/SortableTableHeaderCell/types.d.ts +0 -1
- package/dist/Common/TippyCustomized.d.ts +0 -1
- package/dist/Common/ToastBody.d.ts +0 -1
- package/dist/Common/Toggle/Toggle.d.ts +0 -1
- package/dist/Common/Tooltip/Tooltip.d.ts +0 -1
- package/dist/Common/Tooltip/types.d.ts +0 -1
- package/dist/Common/Types.d.ts +2 -3
- package/dist/Pages/CDPipeline/types.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/Authorization/service.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupsTable.component.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/types.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/Authorization/utils.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraConfigForm.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormAction.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormItem.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/Footer.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +1 -2
- package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/DeploymentCharts/utils.d.ts +0 -1
- package/dist/Pages/ResourceBrowser/Helper.d.ts +0 -1
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +0 -1
- package/dist/Shared/API/APIQueuing.d.ts +0 -1
- package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +0 -1
- package/dist/Shared/Components/APIResponseHandler/types.d.ts +0 -1
- package/dist/Shared/Components/ActivityIndicator/ActivityIndicator.d.ts +0 -1
- package/dist/Shared/Components/ArtifactInfoModal/ArtifactInfoModal.component.d.ts +0 -1
- package/dist/Shared/Components/ArtifactInfoModal/types.d.ts +0 -1
- package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +0 -1
- package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +0 -1
- package/dist/Shared/Components/BulkSelection/BulkSelectionProvider.d.ts +0 -1
- package/dist/Shared/Components/BulkSelection/types.d.ts +0 -1
- package/dist/Shared/Components/ButtonWithLoader/ButtonWithLoader.d.ts +0 -1
- package/dist/Shared/Components/ButtonWithSelector/ButtonWithSelector.d.ts +0 -1
- package/dist/Shared/Components/ButtonWithSelector/types.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/CDEmptyState.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/DeploymentDetailSteps.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryConfigList.component.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDetailedView.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryHeader.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistorySidebar.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/types.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/ErrorInfoStatusBar.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/History.components.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/StatusFilterButtonComponent.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/service.d.ts +1 -2
- package/dist/Shared/Components/CICDHistory/types.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/utils.d.ts +0 -1
- package/dist/Shared/Components/Collapse/Collapse.d.ts +0 -1
- package/dist/Shared/Components/Collapse/types.d.ts +0 -1
- package/dist/Shared/Components/CollapsibleList/CollapsibleList.component.d.ts +0 -1
- package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +0 -1
- package/dist/Shared/Components/CommitChipCell/CommitChipCell.d.ts +0 -1
- package/dist/Shared/Components/CommitChipCell/types.d.ts +0 -1
- package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +0 -1
- package/dist/Shared/Components/DatePicker/MonthlySelect.d.ts +0 -1
- package/dist/Shared/Components/DatePicker/SingleDatePickerComponent.d.ts +0 -1
- package/dist/Shared/Components/DatePicker/TimeSelect.d.ts +0 -1
- package/dist/Shared/Components/DatePicker/types.d.ts +0 -1
- package/dist/Shared/Components/DatePicker/utils.d.ts +0 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.component.d.ts +0 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +3 -4
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffAccordion.d.ts +0 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.d.ts +0 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffNavigation.d.ts +0 -1
- package/dist/Shared/Components/DeploymentConfigDiff/types.d.ts +0 -1
- package/dist/Shared/Components/DetectBottom/DetectBottom.component.d.ts +2 -1
- package/dist/Shared/Components/EditImageFormField/EditImageFormField.d.ts +18 -0
- package/dist/Shared/Components/EditImageFormField/constants.d.ts +7 -0
- package/dist/Shared/Components/EditImageFormField/index.d.ts +2 -0
- package/dist/Shared/Components/EditImageFormField/types.d.ts +40 -0
- package/dist/Shared/Components/EditableTextArea/EditableTextArea.d.ts +0 -1
- package/dist/Shared/Components/EnvironmentSelector/EnvironmentSelector.component.d.ts +0 -1
- package/dist/Shared/Components/EnvironmentSelector/service.d.ts +0 -1
- package/dist/Shared/Components/EnvironmentSelector/types.d.ts +0 -1
- package/dist/Shared/Components/EnvironmentSelector/utils.d.ts +0 -1
- package/dist/Shared/Components/Error/ErrorBar.d.ts +0 -1
- package/dist/Shared/Components/Error/types.d.ts +0 -1
- package/dist/Shared/Components/Error/utils.d.ts +0 -1
- package/dist/Shared/Components/ExcludedImageNode/ExcludedImageNode.d.ts +0 -1
- package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +0 -1
- package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +0 -1
- package/dist/Shared/Components/FeatureDescription/types.d.ts +0 -1
- package/dist/Shared/Components/FeatureDescription/utils.d.ts +0 -1
- package/dist/Shared/Components/FilterButton/FilterButton.d.ts +0 -1
- package/dist/Shared/Components/FilterButton/types.d.ts +0 -1
- package/dist/Shared/Components/FilterChips/FilterChips.component.d.ts +0 -1
- package/dist/Shared/Components/FilterChips/types.d.ts +0 -1
- package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +0 -1
- package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +0 -1
- package/dist/Shared/Components/GettingStartedCard/service.d.ts +0 -1
- package/dist/Shared/Components/GettingStartedCard/types.d.ts +0 -1
- package/dist/Shared/Components/GitCommitInfoGeneric/GitCommitInfoGeneric.d.ts +0 -1
- package/dist/Shared/Components/GitCommitInfoGeneric/GitMaterialInfoHeader.d.ts +0 -1
- package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +0 -1
- package/dist/Shared/Components/Header/HelpNav.d.ts +0 -1
- package/dist/Shared/Components/Header/PageHeader.d.ts +0 -1
- package/dist/Shared/Components/Header/constants.d.ts +0 -1
- package/dist/Shared/Components/Header/service.d.ts +0 -1
- package/dist/Shared/Components/Header/types.d.ts +1 -13
- package/dist/Shared/Components/IframeContainer/IframeContainer.component.d.ts +0 -1
- package/dist/Shared/Components/IframeContainer/IframeElement.d.ts +0 -1
- package/dist/Shared/Components/ImageCard/ArtifactInfo/ArtifactInfo.d.ts +0 -1
- package/dist/Shared/Components/ImageCard/ArtifactInfo/types.d.ts +0 -1
- package/dist/Shared/Components/ImageCard/ImageCard.d.ts +0 -1
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/DeploymentEnvState.d.ts +0 -1
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/types.d.ts +0 -1
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/utils.d.ts +0 -1
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/SequentialCDCardTitle.d.ts +0 -1
- package/dist/Shared/Components/ImageCard/types.d.ts +0 -1
- package/dist/Shared/Components/ImageCardAccordion/ImageCardAccordion.d.ts +0 -1
- package/dist/Shared/Components/ImageCardAccordion/types.d.ts +0 -1
- package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +0 -1
- package/dist/Shared/Components/ImageChipCell/types.d.ts +0 -1
- package/dist/Shared/Components/ImageWithFallback/ImageWithFallback.component.d.ts +0 -1
- package/dist/Shared/Components/ImageWithFallback/types.d.ts +0 -1
- package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +0 -1
- package/dist/Shared/Components/KeyValueList/KeyValueList.d.ts +0 -1
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +0 -1
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +0 -1
- package/dist/Shared/Components/LogoutCard.d.ts +0 -1
- package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +0 -1
- package/dist/Shared/Components/MaterialHistory/types.d.ts +0 -1
- package/dist/Shared/Components/ModalSidebarPanel/ModalSidebarPanel.component.d.ts +0 -1
- package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +0 -1
- package/dist/Shared/Components/Plugin/PluginCard.d.ts +0 -1
- package/dist/Shared/Components/Plugin/PluginCardSkeletonList.d.ts +0 -1
- package/dist/Shared/Components/Plugin/PluginImageContainer.d.ts +0 -1
- package/dist/Shared/Components/Plugin/PluginList.d.ts +0 -1
- package/dist/Shared/Components/Plugin/PluginListContainer.d.ts +0 -1
- package/dist/Shared/Components/Plugin/PluginTagSelect.d.ts +0 -1
- package/dist/Shared/Components/Plugin/PluginTagsContainer.d.ts +0 -1
- package/dist/Shared/Components/Plugin/constants.d.ts +0 -1
- package/dist/Shared/Components/Plugin/service.d.ts +4 -3
- package/dist/Shared/Components/Plugin/types.d.ts +11 -4
- package/dist/Shared/Components/Plugin/utils.d.ts +4 -2
- package/dist/Shared/Components/ReactSelect/utils.d.ts +2 -3
- package/dist/Shared/Components/ScannedByToolModal/ScannedByToolModal.d.ts +0 -1
- package/dist/Shared/Components/SelectPicker/FilterSelectPicker.d.ts +0 -1
- package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -2
- package/dist/Shared/Components/SelectPicker/common.d.ts +7 -8
- package/dist/Shared/Components/SelectPicker/type.d.ts +10 -2
- package/dist/Shared/Components/SelectPicker/utils.d.ts +1 -2
- package/dist/Shared/Components/Vulnerabilities/Vulnerabilities.d.ts +0 -1
- package/dist/Shared/Components/Vulnerabilities/service.d.ts +0 -1
- package/dist/Shared/Components/Vulnerabilities/types.d.ts +0 -1
- package/dist/Shared/Components/Vulnerabilities/utils.d.ts +0 -1
- package/dist/Shared/Components/index.d.ts +1 -0
- package/dist/Shared/Helpers.d.ts +2 -3
- package/dist/Shared/Hooks/UseDownload/UseDownload.d.ts +0 -1
- package/dist/Shared/Hooks/UsePrompt/UsePrompt.d.ts +0 -1
- package/dist/Shared/Hooks/useGetResourceKindsOptions/service.d.ts +1 -2
- package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +0 -1
- package/dist/Shared/Hooks/useGetResourceKindsOptions/useGetResourceKindsOptions.d.ts +0 -1
- package/dist/Shared/Hooks/useGetResourceKindsOptions/utils.d.ts +1 -2
- package/dist/Shared/Providers/ImageSelectionUtility/ImageSelectionUtility.d.ts +0 -1
- package/dist/Shared/Providers/ImageSelectionUtility/types.d.ts +0 -1
- package/dist/Shared/Providers/MainContextProvider.d.ts +0 -1
- package/dist/Shared/Providers/UserEmailProvider/UserEmailProvider.d.ts +0 -1
- package/dist/Shared/Providers/UserEmailProvider/types.d.ts +0 -1
- package/dist/Shared/Providers/types.d.ts +0 -1
- package/dist/Shared/Services/app.service.d.ts +1 -2
- package/dist/Shared/Services/app.types.d.ts +0 -1
- package/dist/Shared/Services/common.service.d.ts +0 -1
- package/dist/Shared/Services/types.d.ts +0 -1
- package/dist/Shared/Services/utils.d.ts +0 -1
- package/dist/Shared/Store/IndexStore.d.ts +1 -5
- package/dist/Shared/constants.d.ts +1 -0
- package/dist/Shared/types.d.ts +1 -2
- package/dist/Shared/validations.d.ts +11 -1
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-3d7a8944.js → cssMode-CRUBjsi5.js} +88 -88
- package/dist/{freemarker2-b3120be4.js → freemarker2-CLlxqsl-.js} +14 -14
- package/dist/{handlebars-ab0fb2f4.js → handlebars-B6lyOnzG.js} +11 -11
- package/dist/{html-af9cbe0d.js → html-lAmXB-IE.js} +9 -9
- package/dist/{htmlMode-b4803b0c.js → htmlMode--9UVZVdn.js} +112 -112
- package/dist/{index-e0deebd0.js → index-5BYTRdf3.js} +53250 -53973
- package/dist/index.js +420 -413
- package/dist/{javascript-356455e6.js → javascript-694ZVMg8.js} +1 -1
- package/dist/{jsonMode-402b4a64.js → jsonMode-Dmh6ZoP5.js} +107 -108
- package/dist/{liquid-7a0ac147.js → liquid-cCgHRKYN.js} +9 -9
- package/dist/{mdx-eaff30b0.js → mdx-BunKYBub.js} +6 -6
- package/dist/{python-e6b2eb9f.js → python-B1avY699.js} +7 -7
- package/dist/{razor-82adb0cc.js → razor-BEndl8O8.js} +9 -9
- package/dist/{tsMode-e8dbc0d5.js → tsMode-DLdiu18i.js} +23 -24
- package/dist/{typescript-0e6c4e29.js → typescript-DRxjI6mI.js} +6 -6
- package/dist/{xml-00eaaec9.js → xml-DlajdoYB.js} +8 -8
- package/dist/{yaml-c867fe95.js → yaml-Md-8DsZ-.js} +7 -7
- package/dist/yaml.worker.d.ts +0 -0
- package/package.json +13 -10
- /package/dist/{abap-5361cc9f.js → abap-DttVK1gE.js} +0 -0
- /package/dist/{apex-f9413e6f.js → apex-BjfHvyb2.js} +0 -0
- /package/dist/{azcli-36f2cb5e.js → azcli-Ws-Trf8e.js} +0 -0
- /package/dist/{bat-6b05202d.js → bat-CeCHpU9_.js} +0 -0
- /package/dist/{bicep-788415e3.js → bicep-C7a7aEmi.js} +0 -0
- /package/dist/{cameligo-4e85ec93.js → cameligo-CJeEIvX4.js} +0 -0
- /package/dist/{clojure-40fa5799.js → clojure-CEKXhLdU.js} +0 -0
- /package/dist/{coffee-f557f5e0.js → coffee-CKu3e6V1.js} +0 -0
- /package/dist/{cpp-ebbf7759.js → cpp-CvUiT5Ec.js} +0 -0
- /package/dist/{csharp-1616f566.js → csharp-PmU9HJkB.js} +0 -0
- /package/dist/{csp-5f0bc3c4.js → csp-DULvRLPF.js} +0 -0
- /package/dist/{css-2b1aec9b.js → css-CNWXQPpt.js} +0 -0
- /package/dist/{cypher-b12b4ba8.js → cypher-CYHOQS2R.js} +0 -0
- /package/dist/{dart-e0d70030.js → dart-BjGx-9Jk.js} +0 -0
- /package/dist/{dockerfile-f9d4b2b0.js → dockerfile-D0WaVIZ2.js} +0 -0
- /package/dist/{ecl-5b91fdec.js → ecl-CijaJu-p.js} +0 -0
- /package/dist/{elixir-deffd5a6.js → elixir-BI5Tc37S.js} +0 -0
- /package/dist/{flow9-84cd00d7.js → flow9-BApGtQOO.js} +0 -0
- /package/dist/{fsharp-d296151f.js → fsharp-VeKgt2eG.js} +0 -0
- /package/dist/{go-7e72ff3b.js → go-Cl8cKDlN.js} +0 -0
- /package/dist/{graphql-a93568a1.js → graphql-PfgPBmj4.js} +0 -0
- /package/dist/{hcl-b3994d8f.js → hcl-CG4VZSkm.js} +0 -0
- /package/dist/{ini-df84509a.js → ini-EhiBNPZF.js} +0 -0
- /package/dist/{java-fba3d046.js → java-DPbnXhoY.js} +0 -0
- /package/dist/{julia-cefd45f6.js → julia-Bw7EYexg.js} +0 -0
- /package/dist/{kotlin-b87b6942.js → kotlin-BNXLDoV0.js} +0 -0
- /package/dist/{less-8a7f37bc.js → less-DtuF_id_.js} +0 -0
- /package/dist/{lexon-cb95cd13.js → lexon-DpB0-37O.js} +0 -0
- /package/dist/{lua-6d5b3ea4.js → lua-CzRNOk9S.js} +0 -0
- /package/dist/{m3-d0daf5d0.js → m3-pXPmDwal.js} +0 -0
- /package/dist/{markdown-48bb0c6f.js → markdown-CeQ3rxjn.js} +0 -0
- /package/dist/{mips-20dcf886.js → mips-DyE0VSNz.js} +0 -0
- /package/dist/{msdax-e9759e23.js → msdax-CbdkoqRa.js} +0 -0
- /package/dist/{mysql-95f335b2.js → mysql-B86-uHNu.js} +0 -0
- /package/dist/{objective-c-ad0cfb47.js → objective-c-1xvkKPId.js} +0 -0
- /package/dist/{pascal-eda19dc3.js → pascal-DcyFhj80.js} +0 -0
- /package/dist/{pascaligo-b7e0c89b.js → pascaligo-QnM0hvMG.js} +0 -0
- /package/dist/{perl-bbe5d32a.js → perl-Bqp3FbU4.js} +0 -0
- /package/dist/{pgsql-7ebaee1c.js → pgsql-HdG7BG_Z.js} +0 -0
- /package/dist/{php-2526756d.js → php-zf7L2p7t.js} +0 -0
- /package/dist/{pla-9ebd6f68.js → pla-3Ykqsyzl.js} +0 -0
- /package/dist/{postiats-9ac05cf6.js → postiats-D1v08O4B.js} +0 -0
- /package/dist/{powerquery-1cae399d.js → powerquery-CiQ9b1-b.js} +0 -0
- /package/dist/{powershell-093b5b87.js → powershell-DFNK6VaX.js} +0 -0
- /package/dist/{protobuf-37993cbc.js → protobuf-D5P2Z6tc.js} +0 -0
- /package/dist/{pug-c2a5db5f.js → pug-BeyMX5am.js} +0 -0
- /package/dist/{qsharp-1450aac5.js → qsharp-DcFOTjuP.js} +0 -0
- /package/dist/{r-a0642b90.js → r-B3aJPcWp.js} +0 -0
- /package/dist/{redis-405cb63d.js → redis-CyC__Tub.js} +0 -0
- /package/dist/{redshift-830f82de.js → redshift-NqbcQPcY.js} +0 -0
- /package/dist/{restructuredtext-d81f5ef4.js → restructuredtext-CZMxBkap.js} +0 -0
- /package/dist/{ruby-d607b87e.js → ruby-C_jEtDv5.js} +0 -0
- /package/dist/{rust-86e74dbb.js → rust-WAeitMCC.js} +0 -0
- /package/dist/{sb-b7e5010d.js → sb-CSBm2pED.js} +0 -0
- /package/dist/{scala-a4d4a3c6.js → scala-D76PhKmh.js} +0 -0
- /package/dist/{scheme-81927e94.js → scheme-CBSAjRuO.js} +0 -0
- /package/dist/{scss-3f112fcd.js → scss-BHY8wFFg.js} +0 -0
- /package/dist/{shell-d795bcaa.js → shell-Cwju9_l8.js} +0 -0
- /package/dist/{solidity-5b556d3e.js → solidity-BV1-nze3.js} +0 -0
- /package/dist/{sophia-1da55998.js → sophia-DfoUlGAs.js} +0 -0
- /package/dist/{sparql-ac34318e.js → sparql-4kfArTtK.js} +0 -0
- /package/dist/{sql-eef6393b.js → sql-DIpn0HSX.js} +0 -0
- /package/dist/{st-758b1972.js → st-BgJ_KDZh.js} +0 -0
- /package/dist/{swift-63cb1847.js → swift-D-ucEgIi.js} +0 -0
- /package/dist/{systemverilog-2538c608.js → systemverilog-DjkH5zuo.js} +0 -0
- /package/dist/{tcl-53e6282a.js → tcl-gd8XLKJA.js} +0 -0
- /package/dist/{twig-80c3dc23.js → twig-D5XtTFGM.js} +0 -0
- /package/dist/{vb-32089525.js → vb-DYqqYAf3.js} +0 -0
- /package/dist/{wgsl-e681d5a0.js → wgsl-CkZE0qf3.js} +0 -0
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { PluginListProps } from './types';
|
|
2
|
-
|
|
3
2
|
declare const PluginList: ({ pluginDataStore, pluginList, totalCount, handleDataUpdateForPluginResponse, filters: { selectedTags, searchKey }, handlePluginSelection, selectedPluginsMap, isSelectable, handleClearFilters, showCardBorder, getPluginStoreRef, }: PluginListProps) => JSX.Element;
|
|
4
3
|
export default PluginList;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { PluginListContainerProps } from './types';
|
|
2
|
-
|
|
3
2
|
declare const PluginListContainer: ({ availableTags, handleUpdateAvailableTags, pluginDataStore, handlePluginDataStoreUpdate, handlePluginSelection, isSelectable, selectedPluginsMap, persistFilters, parentPluginList, handleParentPluginListUpdate, parentTotalCount, handleParentTotalCount, parentFilters, handleUpdateParentFilters, rootClassName, showCardBorder, }: Readonly<PluginListContainerProps>) => JSX.Element;
|
|
4
3
|
export default PluginListContainer;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PluginDataStoreType, PluginListFiltersType } from './types';
|
|
2
|
-
|
|
3
2
|
export declare const DEFAULT_PLUGIN_DATA_STORE: PluginDataStoreType;
|
|
4
3
|
export declare const DEFAULT_PLUGIN_LIST_FILTERS: PluginListFiltersType;
|
|
5
4
|
export declare const DEFAULT_PLUGIN_CREATED_BY = "Devtron";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export declare const getPluginsDetail: ({ appId, parentPluginIds, pluginIds, shouldShowError, }: PluginDetailServiceParamsType) => Promise<Pick<GetPluginStoreDataReturnType,
|
|
1
|
+
import { ResponseType } from '../../../Common';
|
|
2
|
+
import { GetPluginStoreDataReturnType, GetPluginStoreDataServiceParamsType, MinParentPluginDTO, PluginDetailServiceParamsType } from './types';
|
|
3
|
+
export declare const getPluginsDetail: ({ appId, parentPluginIds, pluginIds, signal, shouldShowError, }: PluginDetailServiceParamsType) => Promise<Pick<GetPluginStoreDataReturnType, "pluginStore">>;
|
|
4
4
|
export declare const getPluginStoreData: ({ searchKey, selectedTags, appId, offset, signal, }: GetPluginStoreDataServiceParamsType) => Promise<GetPluginStoreDataReturnType>;
|
|
5
5
|
export declare const getAvailablePluginTags: (appId: number) => Promise<string[]>;
|
|
6
|
+
export declare const getParentPluginList: (appId?: number) => Promise<ResponseType<MinParentPluginDTO[]>>;
|
|
@@ -3,14 +3,17 @@ import { VariableType } from '../../../Common';
|
|
|
3
3
|
import { BaseFilterQueryParams } from '../../types';
|
|
4
4
|
import { ImageWithFallbackProps } from '../ImageWithFallback';
|
|
5
5
|
import { getPluginStoreData } from './service';
|
|
6
|
-
|
|
7
6
|
export declare enum PluginCreationType {
|
|
8
7
|
SHARED = "SHARED",
|
|
9
8
|
PRESET = "PRESET"
|
|
10
9
|
}
|
|
11
|
-
export interface
|
|
10
|
+
export interface PluginAPIBaseQueryParamsType {
|
|
12
11
|
appId: number;
|
|
13
12
|
}
|
|
13
|
+
export interface GetPluginTagsPayloadType extends PluginAPIBaseQueryParamsType {
|
|
14
|
+
}
|
|
15
|
+
export interface GetParentPluginListPayloadType extends PluginAPIBaseQueryParamsType {
|
|
16
|
+
}
|
|
14
17
|
export interface PluginTagNamesDTO {
|
|
15
18
|
tagNames: string[];
|
|
16
19
|
}
|
|
@@ -45,6 +48,9 @@ export interface ParentPluginDTO {
|
|
|
45
48
|
type: PluginCreationType;
|
|
46
49
|
icon: string;
|
|
47
50
|
pluginVersions: PluginVersionsDTO;
|
|
51
|
+
pluginIdentifier: string;
|
|
52
|
+
}
|
|
53
|
+
export interface MinParentPluginDTO extends Pick<ParentPluginDTO, 'id' | 'name' | 'icon'> {
|
|
48
54
|
}
|
|
49
55
|
export interface PluginDetailDTO {
|
|
50
56
|
parentPlugins: ParentPluginDTO[];
|
|
@@ -58,6 +64,7 @@ export interface PluginDetailServiceParamsType {
|
|
|
58
64
|
* @default true
|
|
59
65
|
*/
|
|
60
66
|
shouldShowError?: boolean;
|
|
67
|
+
signal?: AbortSignal;
|
|
61
68
|
}
|
|
62
69
|
export interface PluginDetailPayloadType extends Pick<PluginDetailServiceParamsType, 'appId'> {
|
|
63
70
|
pluginId?: PluginDetailServiceParamsType['pluginIds'];
|
|
@@ -66,11 +73,11 @@ export interface PluginDetailPayloadType extends Pick<PluginDetailServiceParamsT
|
|
|
66
73
|
export interface PluginListFiltersType extends Pick<BaseFilterQueryParams<unknown>, 'searchKey'> {
|
|
67
74
|
selectedTags: string[];
|
|
68
75
|
}
|
|
69
|
-
interface ParentPluginType extends Pick<ParentPluginDTO, 'id' | 'name' | 'description' | 'type' | 'icon'> {
|
|
76
|
+
interface ParentPluginType extends Pick<ParentPluginDTO, 'id' | 'name' | 'description' | 'type' | 'icon' | 'pluginIdentifier'> {
|
|
70
77
|
latestVersionId: MinimalPluginVersionDataDTO['id'];
|
|
71
78
|
pluginVersions: MinimalPluginVersionDataDTO[];
|
|
72
79
|
}
|
|
73
|
-
interface DetailedPluginVersionType extends Pick<MinimalPluginVersionDataDTO, 'id' | 'description' | 'name' | 'pluginVersion'>, Pick<DetailedPluginVersionDTO, 'tags' | 'isLatest' | 'inputVariables' | 'outputVariables' | 'updatedBy' | 'docLink'>, Pick<ParentPluginType, 'icon' | 'type'> {
|
|
80
|
+
interface DetailedPluginVersionType extends Pick<MinimalPluginVersionDataDTO, 'id' | 'description' | 'name' | 'pluginVersion'>, Pick<DetailedPluginVersionDTO, 'tags' | 'isLatest' | 'inputVariables' | 'outputVariables' | 'updatedBy' | 'docLink'>, Pick<ParentPluginType, 'icon' | 'type' | 'pluginIdentifier'> {
|
|
74
81
|
parentPluginId: ParentPluginType['id'];
|
|
75
82
|
}
|
|
76
83
|
export interface PluginDataStoreType {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { OptionProps } from 'react-select';
|
|
2
|
+
import { OptionType } from '../../../Common/Types';
|
|
1
3
|
import { ParentPluginDTO, PluginDataStoreType } from './types';
|
|
2
|
-
|
|
3
4
|
export declare const parsePluginDetailsDTOIntoPluginStore: (pluginData: ParentPluginDTO[]) => PluginDataStoreType;
|
|
4
5
|
export declare const pluginTagSelectStyles: {
|
|
5
6
|
option: (base: any, state: any) => any;
|
|
@@ -14,7 +15,8 @@ export declare const pluginTagSelectStyles: {
|
|
|
14
15
|
group: (base: any) => any;
|
|
15
16
|
groupHeading: (base: any) => any;
|
|
16
17
|
};
|
|
18
|
+
export declare const PluginTagOption: (props: OptionProps<OptionType, true>) => JSX.Element;
|
|
17
19
|
/**
|
|
18
20
|
* @description This method takes the initial plugin data store and updates the keys with the target parent plugin store and plugin version store
|
|
19
21
|
*/
|
|
20
|
-
export declare const getUpdatedPluginStore: (initialPluginDataStore: PluginDataStoreType, targetParentPluginStore: PluginDataStoreType[
|
|
22
|
+
export declare const getUpdatedPluginStore: (initialPluginDataStore: PluginDataStoreType, targetParentPluginStore: PluginDataStoreType["parentPluginStore"], targetPluginVersionStore: PluginDataStoreType["pluginVersionStore"]) => PluginDataStoreType;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { MenuListProps, ValueContainerProps } from 'react-select';
|
|
2
2
|
import { OptionType } from '../../../Common';
|
|
3
|
-
|
|
4
3
|
export declare const getCommonSelectStyle: (styleOverrides?: {}) => {
|
|
5
4
|
container: (base: any, state: any) => any;
|
|
6
5
|
menuList: (base: any) => any;
|
|
@@ -31,9 +30,9 @@ export declare const commonSelectStyles: {
|
|
|
31
30
|
group: (base: any) => any;
|
|
32
31
|
groupHeading: (base: any) => any;
|
|
33
32
|
};
|
|
34
|
-
export declare const MenuListWithApplyButton: ({ handleApplyFilter, ...props }: MenuListProps
|
|
33
|
+
export declare const MenuListWithApplyButton: ({ handleApplyFilter, ...props }: MenuListProps & {
|
|
35
34
|
handleApplyFilter: () => void;
|
|
36
35
|
}) => JSX.Element;
|
|
37
|
-
export declare const MultiSelectValueContainer: ({ title, ...props }: ValueContainerProps<OptionType
|
|
36
|
+
export declare const MultiSelectValueContainer: ({ title, ...props }: ValueContainerProps<OptionType, true> & {
|
|
38
37
|
title: string;
|
|
39
38
|
}) => JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SelectPickerProps } from './type';
|
|
2
|
-
|
|
3
2
|
/**
|
|
4
3
|
* Generic component for select picker
|
|
5
4
|
*
|
|
@@ -135,5 +134,5 @@ import { SelectPickerProps } from './type';
|
|
|
135
134
|
* />
|
|
136
135
|
* ```
|
|
137
136
|
*/
|
|
138
|
-
declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, menuPosition, variant, disableDescriptionEllipsis, multiSelectProps, isMulti, name, classNamePrefix, shouldRenderCustomOptions, isSearchable, selectRef, shouldMenuAlignRight, fullWidth, customSelectedOptionsCount, ...props }: SelectPickerProps<OptionValue, IsMulti>) => JSX.Element;
|
|
137
|
+
declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, menuPosition, variant, disableDescriptionEllipsis, multiSelectProps, isMulti, name, classNamePrefix, shouldRenderCustomOptions, isSearchable, selectRef, shouldMenuAlignRight, fullWidth, customSelectedOptionsCount, ...props }: SelectPickerProps<OptionValue, IsMulti>) => JSX.Element;
|
|
139
138
|
export default SelectPicker;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { DropdownIndicatorProps, ControlProps, OptionProps, ClearIndicatorProps, ValueContainerProps, MenuListProps, MultiValueRemoveProps, MultiValueProps } from 'react-select';
|
|
2
2
|
import { SelectPickerGroupHeadingProps, SelectPickerOptionType, SelectPickerProps } from './type';
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const SelectPickerValueContainer: <OptionValue, IsMulti extends boolean>({ showSelectedOptionsCount, customSelectedOptionsCount, ...props }: ValueContainerProps<SelectPickerOptionType<OptionValue>, boolean, import('react-select').GroupBase<SelectPickerOptionType<OptionValue>>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "customSelectedOptionsCount" | "showSelectedOptionsCount">) => JSX.Element;
|
|
3
|
+
export declare const SelectPickerDropdownIndicator: <OptionValue>(props: DropdownIndicatorProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
|
|
4
|
+
export declare const SelectPickerClearIndicator: <OptionValue>(props: ClearIndicatorProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
|
|
5
|
+
export declare const SelectPickerControl: <OptionValue, IsMulti extends boolean>({ icon, showSelectedOptionIcon, ...props }: ControlProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "icon" | "showSelectedOptionIcon">) => JSX.Element;
|
|
6
|
+
export declare const SelectPickerValueContainer: <OptionValue, IsMulti extends boolean>({ showSelectedOptionsCount, customSelectedOptionsCount, ...props }: ValueContainerProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "showSelectedOptionsCount" | "customSelectedOptionsCount">) => JSX.Element;
|
|
8
7
|
export declare const SelectPickerLoadingIndicator: () => JSX.Element;
|
|
9
|
-
export declare const SelectPickerOption: <OptionValue, IsMulti extends boolean>({ disableDescriptionEllipsis, ...props }: OptionProps<SelectPickerOptionType<OptionValue
|
|
10
|
-
export declare const SelectPickerMenuList: <OptionValue>(props: MenuListProps<SelectPickerOptionType<OptionValue
|
|
11
|
-
export declare const SelectPickerMultiValueLabel: <OptionValue, IsMulti extends boolean>({ getIsOptionValid, ...props }: MultiValueProps<SelectPickerOptionType<OptionValue>, true
|
|
8
|
+
export declare const SelectPickerOption: <OptionValue, IsMulti extends boolean>({ disableDescriptionEllipsis, ...props }: OptionProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "disableDescriptionEllipsis">) => JSX.Element;
|
|
9
|
+
export declare const SelectPickerMenuList: <OptionValue>(props: MenuListProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
|
|
10
|
+
export declare const SelectPickerMultiValueLabel: <OptionValue, IsMulti extends boolean>({ getIsOptionValid, ...props }: MultiValueProps<SelectPickerOptionType<OptionValue>, true> & Pick<SelectPickerProps<OptionValue, IsMulti>["multiSelectProps"], "getIsOptionValid">) => JSX.Element;
|
|
12
11
|
export declare const SelectPickerMultiValueRemove: (props: MultiValueRemoveProps) => JSX.Element;
|
|
13
12
|
export declare const SelectPickerGroupHeading: <OptionValue>({ isGroupHeadingSelectable, ...props }: SelectPickerGroupHeadingProps<OptionValue>) => JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { ServerErrors } from '../../../Common/ServerError';
|
|
1
2
|
import { OptionType } from '../../../Common/Types';
|
|
2
3
|
import { ComponentSizeType } from '../../constants';
|
|
3
4
|
import { MutableRefObject, ReactElement, ReactNode } from 'react';
|
|
4
5
|
import { GroupBase, GroupHeadingProps, Props as ReactSelectProps, SelectInstance } from 'react-select';
|
|
5
6
|
import { CreatableProps } from 'react-select/creatable';
|
|
6
|
-
|
|
7
7
|
export interface SelectPickerOptionType<OptionValue = string | number> extends OptionType<OptionValue, ReactNode> {
|
|
8
8
|
/**
|
|
9
9
|
* Description to be displayed for the option
|
|
@@ -45,7 +45,7 @@ export declare enum SelectPickerVariantType {
|
|
|
45
45
|
DEFAULT = "default",
|
|
46
46
|
BORDER_LESS = "border-less"
|
|
47
47
|
}
|
|
48
|
-
export type SelectPickerProps<OptionValue = number | string, IsMulti extends boolean = false> = Pick<SelectProps<OptionValue, IsMulti>, 'name' | 'classNamePrefix' | 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder' | 'menuPosition' | 'getOptionLabel' | 'getOptionValue' | 'isOptionSelected' | 'menuIsOpen' | 'onMenuOpen' | 'onMenuClose' | 'autoFocus' | 'onBlur'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, 'renderMenuListFooter' | 'shouldRenderCustomOptions' | 'renderCustomOptions'>> & Required<Pick<SelectProps<OptionValue, IsMulti>, 'inputId'>> & {
|
|
48
|
+
export type SelectPickerProps<OptionValue = number | string, IsMulti extends boolean = false> = Pick<SelectProps<OptionValue, IsMulti>, 'name' | 'classNamePrefix' | 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder' | 'menuPosition' | 'getOptionLabel' | 'getOptionValue' | 'isOptionSelected' | 'menuIsOpen' | 'onMenuOpen' | 'onMenuClose' | 'autoFocus' | 'onBlur' | 'onKeyDown'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, 'renderMenuListFooter' | 'shouldRenderCustomOptions' | 'renderCustomOptions'>> & Required<Pick<SelectProps<OptionValue, IsMulti>, 'inputId'>> & {
|
|
49
49
|
/**
|
|
50
50
|
* Icon to be rendered in the control
|
|
51
51
|
*/
|
|
@@ -126,6 +126,14 @@ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boo
|
|
|
126
126
|
* @default false
|
|
127
127
|
*/
|
|
128
128
|
fullWidth?: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* If truthy, would show generic section error state as no options message
|
|
131
|
+
*/
|
|
132
|
+
optionListError?: ServerErrors;
|
|
133
|
+
/**
|
|
134
|
+
* Would reload the option list when called in case optionListError is present
|
|
135
|
+
*/
|
|
136
|
+
reloadOptionList?: () => void;
|
|
129
137
|
} & (IsMulti extends true ? {
|
|
130
138
|
isMulti: IsMulti | boolean;
|
|
131
139
|
multiSelectProps?: Pick<CreatableProps<SelectPickerOptionType<OptionValue>, true, GroupBase<SelectPickerOptionType<OptionValue>>>, 'onCreateOption'> & {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { CHECKBOX_VALUE } from '../../../Common/Types';
|
|
2
2
|
import { GroupBase, MultiValue, OptionsOrGroups, StylesConfig } from 'react-select';
|
|
3
3
|
import { SelectPickerOptionType, SelectPickerProps } from './type';
|
|
4
|
-
|
|
5
|
-
export declare const getCommonSelectStyle: <OptionValue, IsMulti extends boolean>({ error, size, menuSize, variant, getIsOptionValid, isGroupHeadingSelectable, shouldMenuAlignRight, }: Pick<SelectPickerProps<OptionValue, IsMulti>, "error" | "size" | "shouldMenuAlignRight" | "menuSize" | "variant"> & Pick<SelectPickerProps<OptionValue, IsMulti>["multiSelectProps"], "getIsOptionValid" | "isGroupHeadingSelectable">) => StylesConfig<SelectPickerOptionType<OptionValue>, boolean, GroupBase<SelectPickerOptionType<OptionValue>>>;
|
|
4
|
+
export declare const getCommonSelectStyle: <OptionValue, IsMulti extends boolean>({ error, size, menuSize, variant, getIsOptionValid, isGroupHeadingSelectable, shouldMenuAlignRight, }: Pick<SelectPickerProps<OptionValue, IsMulti>, "error" | "size" | "menuSize" | "variant" | "shouldMenuAlignRight"> & Pick<SelectPickerProps<OptionValue, IsMulti>["multiSelectProps"], "getIsOptionValid" | "isGroupHeadingSelectable">) => StylesConfig<SelectPickerOptionType<OptionValue>>;
|
|
6
5
|
export declare const getGroupCheckboxValue: <OptionValue>(groupHeadingOptions: readonly SelectPickerOptionType<OptionValue>[], selectedOptions: MultiValue<SelectPickerOptionType<OptionValue>>, getOptionValue: (option: SelectPickerOptionType<OptionValue>) => string) => CHECKBOX_VALUE.CHECKED | CHECKBOX_VALUE.INTERMEDIATE;
|
|
7
6
|
/**
|
|
8
7
|
* Retrieves an option from the options list based on the provided value.
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LastExecutionResponseType, LastExecutionResultType } from '../../types';
|
|
2
|
-
|
|
3
2
|
export declare const getSortedVulnerabilities: (vulnerabilities: any) => any;
|
|
4
3
|
export declare const getParsedScanResult: (scanResult: any) => LastExecutionResultType;
|
|
5
4
|
export declare const parseLastExecutionResponse: (response: any) => LastExecutionResponseType;
|
package/dist/Shared/Helpers.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { Pair } from 'yaml';
|
|
|
3
3
|
import { MaterialInfo, SortingOrder, UserApprovalConfigType } from '../Common';
|
|
4
4
|
import { GitTriggers, IntersectionChangeHandler, IntersectionOptions, WebhookEventNameType } from './types';
|
|
5
5
|
import { AggregatedNodes, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, PodMetadatum } from './Components';
|
|
6
|
-
|
|
7
6
|
interface HighlightSearchTextProps {
|
|
8
7
|
/**
|
|
9
8
|
* The text to be highlighted
|
|
@@ -43,8 +42,8 @@ export declare const sanitizeUserApprovalConfig: (userApprovalConfig: UserApprov
|
|
|
43
42
|
/**
|
|
44
43
|
* Manual approval is considered configured only if the type is not notConfigured
|
|
45
44
|
*/
|
|
46
|
-
export declare const getIsManualApprovalConfigured: (userApprovalConfig?: Pick<UserApprovalConfigType,
|
|
47
|
-
export declare const getIsManualApprovalSpecific: (userApprovalConfig?: Pick<UserApprovalConfigType,
|
|
45
|
+
export declare const getIsManualApprovalConfigured: (userApprovalConfig?: Pick<UserApprovalConfigType, "type">) => boolean;
|
|
46
|
+
export declare const getIsManualApprovalSpecific: (userApprovalConfig?: Pick<UserApprovalConfigType, "type">) => boolean;
|
|
48
47
|
/**
|
|
49
48
|
* @description - Function to open a new tab with the given url
|
|
50
49
|
* @param url - url to be opened in new tab
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ServerErrors } from '../../../Common/ServerError';
|
|
2
2
|
import { HandleDownloadProps } from './types';
|
|
3
|
-
|
|
4
3
|
declare const useDownload: () => {
|
|
5
4
|
handleDownload: ({ downloadUrl, showFilePreparingToast, fileName, showSuccessfulToast, downloadSuccessToastContent, }: HandleDownloadProps) => Promise<Error | ServerErrors>;
|
|
6
5
|
isDownloading: boolean;
|
|
@@ -2,8 +2,7 @@ import { Teams } from '../../../Common/Types';
|
|
|
2
2
|
import { ClusterType } from '../../Services';
|
|
3
3
|
import { EnvironmentType } from '../../types';
|
|
4
4
|
import { AppsGroupedByProjectsType } from './types';
|
|
5
|
-
|
|
6
5
|
export declare const getAppOptionsGroupedByProjects: () => Promise<AppsGroupedByProjectsType>;
|
|
7
|
-
export declare const getProjectOptions: () => Promise<Pick<Teams,
|
|
6
|
+
export declare const getProjectOptions: () => Promise<Pick<Teams, "id" | "name">[]>;
|
|
8
7
|
export declare const getClusterOptions: () => Promise<ClusterType[]>;
|
|
9
8
|
export declare const getEnvironmentOptions: () => Promise<EnvironmentType[]>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ResourceKindType } from '../../types';
|
|
2
2
|
import { ServerErrors } from '../../../Common/ServerError';
|
|
3
3
|
import { getAppOptionsGroupedByProjects, getClusterOptions, getEnvironmentOptions, getProjectOptions } from './service';
|
|
4
|
-
|
|
5
4
|
export interface AppType {
|
|
6
5
|
name: string;
|
|
7
6
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { ResourceKindType } from '../../types';
|
|
2
2
|
import { UseGetResourceKindsOptionsProps } from './types';
|
|
3
|
-
|
|
4
|
-
export declare const getResourcesToFetchMap: (resourcesToFetch: UseGetResourceKindsOptionsProps['resourcesToFetch']) => Record<ResourceKindType.devtronApplication | ResourceKindType.cluster | ResourceKindType.environment | ResourceKindType.project, boolean>;
|
|
3
|
+
export declare const getResourcesToFetchMap: (resourcesToFetch: UseGetResourceKindsOptionsProps["resourcesToFetch"]) => Record<ResourceKindType.devtronApplication | ResourceKindType.cluster | ResourceKindType.environment | ResourceKindType.project, boolean>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ImageSelectionUtilityContextType, ImageSelectionUtilityProviderProps } from './types';
|
|
2
|
-
|
|
3
2
|
export declare const ImageSelectionUtilityContext: import('react').Context<ImageSelectionUtilityContextType>;
|
|
4
3
|
export declare const useImageSelectionUtilityContext: () => ImageSelectionUtilityContextType;
|
|
5
4
|
export declare const ImageSelectionUtilityProvider: ({ children, value }: ImageSelectionUtilityProviderProps) => JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { UseUserEmailContextType } from './types';
|
|
3
|
-
|
|
4
3
|
export declare const useUserEmail: () => UseUserEmailContextType;
|
|
5
4
|
export declare const UserEmailProvider: React.FC<{}>;
|
|
6
5
|
export declare const withUserEmail: (Component: React.ComponentClass) => (props: object) => JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { MutableRefObject, ReactNode } from 'react';
|
|
2
2
|
import { ServerInfo } from '../Components/Header/types';
|
|
3
3
|
import { SERVER_MODE } from '../../Common';
|
|
4
|
-
|
|
5
4
|
export interface MainContext {
|
|
6
5
|
serverMode: SERVER_MODE;
|
|
7
6
|
setServerMode: (serverMode: SERVER_MODE) => void;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ResponseType } from '../../Common';
|
|
2
2
|
import { CIMaterialInfoType, GetCITriggerInfoParamsType, AppEnvDeploymentConfigDTO, AppEnvDeploymentConfigPayloadType } from './app.types';
|
|
3
|
-
|
|
4
3
|
export declare const getCITriggerInfo: (params: GetCITriggerInfoParamsType) => Promise<CIMaterialInfoType>;
|
|
5
4
|
/**
|
|
6
5
|
* The only difference between this and getCITriggerInfo is it doesn't have env and trigger related meta info
|
|
7
6
|
*/
|
|
8
|
-
export declare const getArtifactInfo: (params: Pick<GetCITriggerInfoParamsType,
|
|
7
|
+
export declare const getArtifactInfo: (params: Pick<GetCITriggerInfoParamsType, "ciArtifactId">) => Promise<CIMaterialInfoType>;
|
|
9
8
|
export declare const getAppEnvDeploymentConfig: (params: AppEnvDeploymentConfigPayloadType, signal?: AbortSignal) => Promise<ResponseType<AppEnvDeploymentConfigDTO>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { GetPolicyApiUrlProps, GetResourceApiUrlProps } from './types';
|
|
2
|
-
|
|
3
2
|
export declare const getResourceApiUrl: <T>({ baseUrl, kind, version, suffix, queryParams }: GetResourceApiUrlProps<T>) => string;
|
|
4
3
|
export declare const getPolicyApiUrl: <T>({ kind, version, queryParams, suffix }: GetPolicyApiUrlProps<T>) => string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AppDetails, AppType, EnvDetails, Node, PodMetaData, iNode } from '../types';
|
|
2
|
-
|
|
3
2
|
export declare function getiNodesByRootNodeWithChildNodes(_nodes: Array<Node>, rootNodes: Array<iNode>, podMetadata?: Array<PodMetaData>): Array<iNode>;
|
|
4
3
|
export declare const reduceKindStatus: (aggregatedStatus: string, newStatus: string) => "healthy" | "progressing" | "degraded";
|
|
5
4
|
export declare function getiNodesByKindWithChildNodes(_nodes: Array<Node>, _kind: string): Array<iNode>;
|
|
@@ -22,10 +21,7 @@ export declare const IndexStore: {
|
|
|
22
21
|
getPodMetaData: () => PodMetaData[];
|
|
23
22
|
getPodsForRootNode: (rootNode: string) => Array<iNode>;
|
|
24
23
|
getAllPodNames: () => string[];
|
|
25
|
-
getPodsRootParentNameAndStatus: () => Array<[
|
|
26
|
-
string,
|
|
27
|
-
string
|
|
28
|
-
]>;
|
|
24
|
+
getPodsRootParentNameAndStatus: () => Array<[string, string]>;
|
|
29
25
|
getAllContainersForPod: (_name: string) => string[];
|
|
30
26
|
getAllContainers: () => {
|
|
31
27
|
containers: any[];
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes, ServerErrors, SortingParams } from '../Common';
|
|
2
2
|
import { EnvironmentTypeEnum, PatchOperationType } from './constants';
|
|
3
|
-
|
|
4
3
|
export declare enum EnvType {
|
|
5
4
|
CHART = "helm_charts",
|
|
6
5
|
APPLICATION = "apps"
|
|
@@ -73,7 +72,7 @@ export declare enum Nodes {
|
|
|
73
72
|
Rollout = "Rollout",
|
|
74
73
|
PersistentVolumeClaim = "PersistentVolumeClaim",
|
|
75
74
|
PersistentVolume = "PersistentVolume",
|
|
76
|
-
Containers = "Containers"
|
|
75
|
+
Containers = "Containers",// containers are being treated same way as nodes for nested table generation
|
|
77
76
|
InitContainers = "InitContainers",
|
|
78
77
|
EndpointSlice = "EndpointSlice",
|
|
79
78
|
NetworkPolicy = "NetworkPolicy",
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { URLProtocolType } from './types';
|
|
2
|
-
|
|
3
2
|
export interface ValidationResponseType {
|
|
4
3
|
isValid: boolean;
|
|
5
4
|
message?: string;
|
|
@@ -14,6 +13,7 @@ export declare const MESSAGES: {
|
|
|
14
13
|
VALID_POSITIVE_NUMBER: string;
|
|
15
14
|
VALID_POSITIVE_INTEGER: string;
|
|
16
15
|
MAX_SAFE_INTEGER: string;
|
|
16
|
+
INVALID_SEMANTIC_VERSION: string;
|
|
17
17
|
};
|
|
18
18
|
export declare const requiredField: (value: string) => ValidationResponseType;
|
|
19
19
|
export declare const validateName: (name: string) => ValidationResponseType;
|
|
@@ -31,4 +31,14 @@ export declare const validateUniqueKeys: (keys: string[]) => {
|
|
|
31
31
|
isValid: boolean;
|
|
32
32
|
message: string;
|
|
33
33
|
};
|
|
34
|
+
/**
|
|
35
|
+
* Rules for valid semantic version:
|
|
36
|
+
* 1. version.length < 128 and not empty
|
|
37
|
+
* 2. version should follow semantic versioning regex from https://semver.org/
|
|
38
|
+
*/
|
|
39
|
+
export declare const validateSemanticVersioning: (version: string) => ValidationResponseType;
|
|
40
|
+
/**
|
|
41
|
+
* A valid display name should be between 3 and 50 characters
|
|
42
|
+
*/
|
|
43
|
+
export declare const validateDisplayName: (name: string) => ValidationResponseType;
|
|
34
44
|
export declare const validateJSON: (json: string) => ValidationResponseType;
|