@devtron-labs/devtron-fe-common-lib 1.23.3-beta-3 → 1.23.3-beta-4
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/{@code-editor-AiTERtNx.js → @code-editor-D6qrr0WG.js} +11759 -12224
- package/dist/@common-rjsf-5PXacsvc.js +604 -0
- package/dist/@framer-motion-Bi7d_Mil.js +3606 -0
- package/dist/{@moment-DMLRxgRE.js → @moment-CGWt8tF2.js} +532 -501
- package/dist/@react-dates-CR-uCH60.js +7634 -0
- package/dist/{@react-select-BVtCLxA7.js → @react-select-C5q5RdNV.js} +3 -3
- package/dist/{@react-virtualized-sticky-tree-CxV5rldm.js → @react-virtualized-sticky-tree-LXSXNrbc.js} +1 -1
- package/dist/@vendor-CtCMPfdc.js +81580 -0
- package/dist/Common/API/QueryClientProvider.d.ts +1 -1
- package/dist/Common/API/reactQueryHooks.d.ts +2 -2
- package/dist/Common/AddCDButton/AddCDButton.d.ts +1 -1
- package/dist/Common/BreadCrumb/BreadCrumb.d.ts +1 -1
- package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +3 -3
- package/dist/Common/BreadCrumb/NestedBreadCrumb.d.ts +1 -1
- package/dist/Common/BreadCrumb/Types.d.ts +0 -1
- package/dist/Common/ChartVersionAndTypeSelector.d.ts +1 -1
- package/dist/Common/Checkbox/Checkbox.d.ts +1 -1
- package/dist/Common/ClipboardButton/ClipboardButton.d.ts +1 -1
- package/dist/Common/Constants.d.ts +71 -2
- package/dist/Common/CustomTagSelector/PropagateTagInfo.d.ts +1 -1
- package/dist/Common/CustomTagSelector/ResizableTagTextArea.d.ts +1 -1
- package/dist/Common/CustomTagSelector/TagDetails.d.ts +1 -1
- package/dist/Common/CustomTagSelector/TagLabelValueSelector.d.ts +1 -1
- package/dist/Common/DebouncedSearch/DebouncedSearch.d.ts +1 -1
- package/dist/Common/DeleteCINodeButton/DeleteCINodeButton.d.ts +1 -1
- package/dist/Common/DevtronCopyright.d.ts +1 -1
- package/dist/Common/DevtronProgressing/DevtronProgressing.d.ts +0 -1
- package/dist/Common/Dialogs/DialogForm.d.ts +6 -6
- package/dist/Common/DraggableWrapper/DraggableButton.d.ts +1 -1
- package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +1 -1
- package/dist/Common/Drawer/Drawer.d.ts +2 -2
- package/dist/Common/EmptyState/GenericEmptyState.d.ts +0 -1
- package/dist/Common/EmptyState/GenericFilterEmptyState.d.ts +1 -1
- package/dist/Common/ErrorPage.d.ts +1 -1
- package/dist/Common/ErrorScreenManager.d.ts +1 -1
- package/dist/Common/ErrorScreenNotAuthorized.d.ts +1 -1
- package/dist/Common/GenericDescription/GenericDescription.d.ts +1 -1
- package/dist/Common/GenericDescription/constant.d.ts +0 -40
- package/dist/Common/GenericDescription/types.d.ts +6 -1
- package/dist/Common/GenericDescription/utils.d.ts +1 -0
- package/dist/Common/Grid/Grid.d.ts +1 -1
- package/dist/Common/Helper.d.ts +4 -4
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +1 -1
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/ImageTags.d.ts +2 -2
- package/dist/Common/InteractiveCellText/InteractiveCellText.d.ts +1 -1
- package/dist/Common/Markdown/MarkDown.d.ts +1 -1
- package/dist/Common/Markdown/constant.d.ts +28 -0
- package/dist/Common/Modals/Modal.d.ts +1 -1
- package/dist/Common/Modals/VisibleModal.d.ts +5 -4
- package/dist/Common/Modals/VisibleModal2.d.ts +4 -4
- package/dist/Common/MultiSelectCustomization.d.ts +7 -7
- package/dist/Common/Pagination/PageSizeSelector.d.ts +1 -1
- package/dist/Common/Pagination/Pagination.d.ts +1 -1
- package/dist/Common/PopupMenu.d.ts +2 -2
- package/dist/Common/Progressing.d.ts +0 -1
- package/dist/Common/RJSF/Form.d.ts +2 -1
- package/dist/Common/RJSF/common/FieldRow.d.ts +1 -1
- package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +2 -2
- package/dist/Common/RJSF/templates/ArrayFieldTemplate.d.ts +1 -1
- package/dist/Common/RJSF/templates/BaseInput.d.ts +1 -1
- package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +1 -1
- package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.d.ts +1 -1
- package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.d.ts +1 -1
- package/dist/Common/RJSF/templates/Field.d.ts +1 -1
- package/dist/Common/RJSF/templates/FieldErrorTemplate.d.ts +1 -1
- package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +1 -1
- package/dist/Common/RJSF/templates/TitleField.d.ts +2 -3
- package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +1 -1
- package/dist/Common/RJSF/utils.d.ts +1 -1
- package/dist/Common/RJSF/widgets/Checkbox.d.ts +1 -1
- package/dist/Common/RJSF/widgets/Select.d.ts +1 -1
- package/dist/Common/RadioGroup.d.ts +1 -1
- package/dist/Common/RadioGroupItem.d.ts +1 -1
- package/dist/Common/Reload.d.ts +1 -1
- package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
- package/dist/Common/SegmentedControl/Segment.d.ts +1 -1
- package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +1 -1
- package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +1 -1
- package/dist/Common/TippyCustomized.d.ts +1 -1
- package/dist/Common/Tooltip/ShortcutKeyComboTooltipContent.d.ts +1 -1
- package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
- package/dist/Common/Types.d.ts +77 -84
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/DTApplicationMetricsFormField.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/OverrideStrategyTippyContent.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/utils.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/FileConfigTippy.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/SystemVariableIcon.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupsTable.component.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/ScopedVariables/types.d.ts +2 -2
- package/dist/Pages/ResourceBrowser/ClusterMap/ClusterMap.d.ts +1 -1
- package/dist/Pages/ResourceBrowser/ForceDeleteOption.d.ts +1 -1
- package/dist/Pages/ResourceBrowser/NodeDrainOptions.d.ts +1 -1
- package/dist/Pages/ResourceBrowser/constants.d.ts +11 -1
- package/dist/Pages/ResourceBrowser/types.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/utils.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/utils.d.ts +11 -0
- package/dist/Pages-Devtron-2.0/Navigation/types.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/utils.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/Shared/Overview/components.d.ts +4 -4
- package/dist/Pages-Devtron-2.0/Shared/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/index.d.ts +0 -1
- package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +1 -1
- package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +1 -1
- package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +1 -1
- package/dist/Shared/Components/ActionMenu/ActionMenu.component.d.ts +1 -1
- package/dist/Shared/Components/ActionMenu/ActionMenuItem.d.ts +1 -1
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +41 -66
- package/dist/Shared/Components/ActivityIndicator/ActivityIndicator.d.ts +1 -1
- package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +1 -1
- package/dist/Shared/Components/AnimatedTimer/AnimatedTimer.component.d.ts +1 -1
- package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +1 -1
- package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +1 -1
- package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +1 -1
- package/dist/Shared/Components/AppStatusModal/AppStatusModalTabList.d.ts +1 -1
- package/dist/Shared/Components/ArtifactInfoModal/ArtifactInfoModal.component.d.ts +1 -1
- package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
- package/dist/Shared/Components/Backdrop/types.d.ts +1 -1
- package/dist/Shared/Components/Badge/Badge.d.ts +1 -1
- package/dist/Shared/Components/BulkOperations/BulkOperations.component.d.ts +1 -1
- package/dist/Shared/Components/BulkOperations/BulkOperationsResultModal.d.ts +1 -1
- package/dist/Shared/Components/BulkOperations/types.d.ts +1 -1
- package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
- package/dist/Shared/Components/BulkSelection/BulkSelectionProvider.d.ts +1 -1
- package/dist/Shared/Components/BulkSelection/types.d.ts +0 -2
- package/dist/Shared/Components/Button/Button.component.d.ts +388 -2
- package/dist/Shared/Components/ButtonWithLoader/ButtonWithLoader.d.ts +1 -1
- package/dist/Shared/Components/ButtonWithSelector/ButtonWithSelector.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +2 -2
- package/dist/Shared/Components/CICDHistory/BuildAndTaskSummaryTooltipCard.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/CDEmptyState.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/CiPipelineSourceConfig.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/ConflictedResourcesTable.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentDetailSteps.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiff.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiffCompare.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryDiffView.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/helpers.d.ts +2 -2
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +6 -6
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/GitTriggerList.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/History.components.d.ts +1 -2
- package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/ResourceConflictDeployDialog.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/ResourceConflictDetailsModal.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/StatusFilterButtonComponent.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/TriggerDetails.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/WorkerStatus.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +7 -9
- package/dist/Shared/Components/CICDHistory/utils.d.ts +3 -3
- package/dist/Shared/Components/CMCS/ConfigMapSecretReadyOnly.d.ts +1 -1
- package/dist/Shared/Components/CMCS/helpers.d.ts +1 -1
- package/dist/Shared/Components/Card/Card.component.d.ts +1 -1
- package/dist/Shared/Components/Charts/Chart.component.d.ts +1 -1
- package/dist/Shared/Components/Charts/utils.d.ts +1 -1
- package/dist/Shared/Components/Chip/Chip.component.d.ts +1 -1
- package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +1 -1
- package/dist/Shared/Components/CodeEditor/CodeEditor.components.d.ts +6 -6
- package/dist/Shared/Components/CodeEditor/CodeEditor.d.ts +7 -7
- package/dist/Shared/Components/CodeEditor/CodeEditorRenderer.d.ts +1 -1
- package/dist/Shared/Components/CodeEditor/Extensions/DiffMinimap.d.ts +1 -1
- package/dist/Shared/Components/CodeEditor/types.d.ts +1 -1
- package/dist/Shared/Components/CodeEditor/utils.d.ts +1 -1
- package/dist/Shared/Components/Collapse/Collapse.d.ts +1 -1
- package/dist/Shared/Components/CollapsibleList/CollapsibleList.component.d.ts +1 -1
- package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +2 -1
- package/dist/Shared/Components/CommitChipCell/CommitChipCell.d.ts +1 -1
- package/dist/Shared/Components/Confetti/Confetti.component.d.ts +1 -1
- package/dist/Shared/Components/ConfirmationModal/CannotDeleteModal.d.ts +1 -1
- package/dist/Shared/Components/ConfirmationModal/ConfirmationModal.d.ts +1 -1
- package/dist/Shared/Components/ConfirmationModal/ConfirmationModalContext.d.ts +1 -1
- package/dist/Shared/Components/ConfirmationModal/ForceDeleteConfirmationModal.d.ts +1 -1
- package/dist/Shared/Components/ConfirmationModal/types.d.ts +1 -0
- package/dist/Shared/Components/ContextSwitcher/ContextSwitcher.d.ts +1 -1
- package/dist/Shared/Components/CountrySelect/CountrySelect.component.d.ts +1 -1
- package/dist/Shared/Components/CustomInput/CustomInput.d.ts +1 -1
- package/dist/Shared/Components/CustomInput/PasswordField.d.ts +1 -1
- package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
- package/dist/Shared/Components/DTFocusTrap/types.d.ts +1 -0
- package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +1 -1
- package/dist/Shared/Components/DatePicker/DayPickerRangeController.d.ts +2 -0
- package/dist/Shared/Components/DatePicker/MonthlySelect.d.ts +1 -1
- package/dist/Shared/Components/DatePicker/SingleDatePickerComponent.d.ts +11 -0
- package/dist/Shared/Components/DatePicker/TimeSelect.d.ts +1 -1
- package/dist/Shared/Components/DatePicker/constants.d.ts +112 -2
- package/dist/Shared/Components/DatePicker/index.d.ts +2 -0
- package/dist/Shared/Components/DatePicker/types.d.ts +29 -34
- package/dist/Shared/Components/DatePicker/utils.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.component.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffAccordion.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffNavigation.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffRadioSelect.d.ts +1 -1
- package/dist/Shared/Components/DetectBottom/DetectBottom.component.d.ts +1 -1
- package/dist/Shared/Components/DocLink/DocLink.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableHeader.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +1 -1
- package/dist/Shared/Components/EditImageFormField/EditImageFormField.d.ts +1 -1
- package/dist/Shared/Components/EditableTextArea/EditableTextArea.d.ts +1 -1
- package/dist/Shared/Components/EnvironmentSelector/EnvironmentSelector.component.d.ts +1 -1
- package/dist/Shared/Components/Error/ErrorBar.d.ts +1 -1
- package/dist/Shared/Components/Error/utils.d.ts +1 -1
- package/dist/Shared/Components/ExcludedImageNode/ExcludedImageNode.d.ts +1 -1
- package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +1 -1
- package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +1 -1
- package/dist/Shared/Components/ExportToCsv/types.d.ts +0 -1
- package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +1 -1
- package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +1 -1
- package/dist/Shared/Components/FeatureDescription/types.d.ts +2 -7
- package/dist/Shared/Components/FileUpload/FileUpload.d.ts +1 -1
- package/dist/Shared/Components/FilterChips/FilterChips.component.d.ts +1 -1
- package/dist/Shared/Components/FlagImage/FlagImage.component.d.ts +1 -1
- package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts +1 -1
- package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionItem.d.ts +1 -1
- package/dist/Shared/Components/FloatingVariablesSuggestions/Suggestions.d.ts +1 -1
- package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionsInfo.d.ts +1 -1
- package/dist/Shared/Components/FormFieldWrapper/FormFieldInfo.d.ts +1 -1
- package/dist/Shared/Components/FormFieldWrapper/FormFieldLabel.d.ts +1 -1
- package/dist/Shared/Components/FormFieldWrapper/FormFieldWrapper.d.ts +1 -1
- package/dist/Shared/Components/GenericInfoCard/GenericInfoCard.component.d.ts +1 -1
- package/dist/Shared/Components/GenericInfoCard/GenericInfoCardListing.d.ts +1 -1
- package/dist/Shared/Components/GenericInfoCard/GenericInfoListSkeleton.d.ts +1 -1
- package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +4 -4
- package/dist/Shared/Components/GenericModal/GenericModal.context.d.ts +1 -1
- package/dist/Shared/Components/GenericModal/types.d.ts +1 -1
- package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +1 -1
- package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +1 -1
- package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +1 -1
- package/dist/Shared/Components/GitCommitInfoGeneric/GitCommitInfoGeneric.d.ts +1 -1
- package/dist/Shared/Components/GitCommitInfoGeneric/GitMaterialInfoHeader.d.ts +1 -1
- package/dist/Shared/Components/GitProviderIcon/GitProviderIcon.d.ts +1 -1
- package/dist/Shared/Components/GraphVisualizer/GraphVisualizer.d.ts +1 -1
- package/dist/Shared/Components/GraphVisualizer/components/BaseNode.d.ts +1 -1
- package/dist/Shared/Components/GraphVisualizer/components/DropdownNode.d.ts +1 -1
- package/dist/Shared/Components/GraphVisualizer/components/IconNode.d.ts +1 -1
- package/dist/Shared/Components/GraphVisualizer/components/TextNode.d.ts +1 -1
- package/dist/Shared/Components/GraphVisualizer/constants.d.ts +3 -3
- package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -1
- package/dist/Shared/Components/Header/HeaderWithCreateButton/utils.d.ts +1 -1
- package/dist/Shared/Components/Header/HelpButton.d.ts +1 -1
- package/dist/Shared/Components/Header/IframePromoButton.d.ts +1 -1
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
- package/dist/Shared/Components/Header/ProfileMenu.d.ts +1 -1
- package/dist/Shared/Components/Header/types.d.ts +0 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +1 -1
- package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
- package/dist/Shared/Components/IframeContainer/IframeContainer.component.d.ts +1 -1
- package/dist/Shared/Components/IframeContainer/IframeElement.d.ts +1 -1
- package/dist/Shared/Components/Illustration/Illustration.d.ts +2 -1
- package/dist/Shared/Components/Illustration/IllustrationBase.d.ts +1 -1
- package/dist/Shared/Components/ImageCard/ArtifactInfo/ArtifactInfo.d.ts +1 -1
- package/dist/Shared/Components/ImageCard/ImageCard.d.ts +1 -1
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/DeploymentEnvState.d.ts +1 -1
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/SequentialCDCardTitle.d.ts +1 -1
- package/dist/Shared/Components/ImageCardAccordion/ImageCardAccordion.d.ts +1 -1
- package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +1 -1
- package/dist/Shared/Components/ImageWithFallback/ImageWithFallback.component.d.ts +1 -1
- package/dist/Shared/Components/ImageWithFallback/types.d.ts +1 -1
- package/dist/Shared/Components/InfoBlock/InfoBlock.component.d.ts +1 -1
- package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
- package/dist/Shared/Components/InvalidYAMLTippy/InvalidYAMLTippyWrapper.d.ts +1 -1
- package/dist/Shared/Components/InvalidYAMLTippy/utils.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
- package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +1 -1
- package/dist/Shared/Components/License/ActivateLicenseDialog.d.ts +1 -1
- package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +1 -1
- package/dist/Shared/Components/License/License.components.d.ts +3 -3
- package/dist/Shared/Components/LoadingCard.d.ts +1 -1
- package/dist/Shared/Components/LoginBanner/LoginBanner.d.ts +1 -1
- package/dist/Shared/Components/LoginBanner/Testimonials.components.d.ts +1 -1
- package/dist/Shared/Components/LoginBanner/types.d.ts +1 -1
- package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +1 -1
- package/dist/Shared/Components/ModalSidebarPanel/ModalSidebarPanel.component.d.ts +1 -1
- package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +1 -1
- package/dist/Shared/Components/NumbersCount/NumbersCount.component.d.ts +1 -1
- package/dist/Shared/Components/PhoneInput/PhoneInput.component.d.ts +1 -1
- package/dist/Shared/Components/Plugin/PluginCard.d.ts +1 -1
- package/dist/Shared/Components/Plugin/PluginCardSkeletonList.d.ts +1 -1
- package/dist/Shared/Components/Plugin/PluginImageContainer.d.ts +1 -1
- package/dist/Shared/Components/Plugin/PluginList.d.ts +1 -1
- package/dist/Shared/Components/Plugin/PluginListContainer.d.ts +1 -1
- package/dist/Shared/Components/Plugin/PluginTagSelect.d.ts +1 -1
- package/dist/Shared/Components/Plugin/PluginTagsContainer.d.ts +1 -1
- package/dist/Shared/Components/Plugin/types.d.ts +2 -2
- package/dist/Shared/Components/Popover/Popover.component.d.ts +1 -1
- package/dist/Shared/Components/Popover/types.d.ts +4 -0
- package/dist/Shared/Components/Popover/utils.d.ts +1 -1
- package/dist/Shared/Components/ProgressBar/ProgressBar.component.d.ts +1 -1
- package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +1 -1
- package/dist/Shared/Components/QRCode.d.ts +1 -1
- package/dist/Shared/Components/ReactSelect/constants.d.ts +1 -1
- package/dist/Shared/Components/ReactSelect/utils.d.ts +4 -4
- package/dist/Shared/Components/RegistryIcon/RegistryIcon.d.ts +1 -1
- package/dist/Shared/Components/SSOProviderIcon/SSOProviderIcon.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityCard.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityDetailsCards.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/components/OpenDetailViewButton.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +97 -5
- package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +2 -2
- package/dist/Shared/Components/Security/SeverityChip.d.ts +1 -1
- package/dist/Shared/Components/Security/Vulnerabilities/Vulnerabilities.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/FilterSelectPicker.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/GroupedFilterSelectPicker.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/SelectPickerTextArea.component.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/common.d.ts +12 -12
- package/dist/Shared/Components/SelectPicker/type.d.ts +19 -2
- package/dist/Shared/Components/ShowMoreText/ShowMoreText.d.ts +1 -1
- package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +1 -1
- package/dist/Shared/Components/StatusComponent/AppStatus.d.ts +1 -1
- package/dist/Shared/Components/StatusComponent/DeploymentStatus.d.ts +1 -1
- package/dist/Shared/Components/StatusComponent/StatusComponent.d.ts +1 -1
- package/dist/Shared/Components/Switch/Switch.component.d.ts +1 -1
- package/dist/Shared/Components/SwitchThemeDialog/SwitchThemeDialog.component.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.component.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +4 -4
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +0 -1
- package/dist/Shared/Components/Table/BulkSelectionActionWidget.d.ts +1 -1
- package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
- package/dist/Shared/Components/Table/Table.component.d.ts +1 -1
- package/dist/Shared/Components/Table/TableContent.d.ts +1 -1
- package/dist/Shared/Components/TagsKeyValueTable/TagsContainer.d.ts +1 -1
- package/dist/Shared/Components/TargetPlatforms/TargetPlatformBadgeList.d.ts +1 -1
- package/dist/Shared/Components/TargetPlatforms/TargetPlatformListTooltip.d.ts +1 -1
- package/dist/Shared/Components/TempAppWindow/TempAppWindow.d.ts +1 -1
- package/dist/Shared/Components/Textarea/Textarea.component.d.ts +1 -1
- package/dist/Shared/Components/ThemeSwitcher/ThemeSwitcher.component.d.ts +1 -1
- package/dist/Shared/Components/ToggleResolveScopedVariables/ToggleResolveScopedVariables.component.d.ts +1 -1
- package/dist/Shared/Components/TrailingItem/TrailingItem.component.d.ts +1 -1
- package/dist/Shared/Components/TreeView/TreeView.component.d.ts +1 -1
- package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +1 -1
- package/dist/Shared/Components/TreeView/types.d.ts +1 -1
- package/dist/Shared/Components/Typewriter/BlinkingCursor.d.ts +1 -1
- package/dist/Shared/Components/UnsavedChanges/UnsavedChanges.component.d.ts +1 -1
- package/dist/Shared/Components/UnsavedChangesDialog/UnsavedChangesDialog.component.d.ts +1 -1
- package/dist/Shared/Components/UserIdentifier/UserIdentifier.d.ts +1 -1
- package/dist/Shared/Components/VirtualizedList/VirtualizedList.component.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/SourceTypeCard.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +3 -3
- package/dist/Shared/Helpers.d.ts +14 -4
- package/dist/Shared/Hooks/UsePrompt/UsePrompt.d.ts +2 -1
- package/dist/Shared/Hooks/UsePrompt/types.d.ts +0 -1
- package/dist/Shared/Hooks/useForm/useForm.d.ts +1 -1
- package/dist/Shared/Providers/ImageSelectionUtility/ImageSelectionUtility.d.ts +1 -1
- package/dist/Shared/Providers/MainContextProvider/MainContextProvider.d.ts +1 -1
- package/dist/Shared/Providers/MainContextProvider/types.d.ts +1 -1
- package/dist/Shared/Providers/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/dist/Shared/Providers/UserEmailProvider/UserEmailProvider.d.ts +3 -3
- package/dist/Shared/Services/ToastManager/ToastContent.d.ts +2 -2
- package/dist/Shared/Services/ToastManager/toastManager.service.d.ts +80 -0
- package/dist/Shared/Store/IndexStore.d.ts +1 -1
- package/dist/Shared/types.d.ts +3 -174
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/@react-dates.css +1 -0
- package/dist/assets/@vendor.css +1 -1
- package/dist/assets/cmd-bar-visual.340d6226.webp +0 -0
- package/dist/assets/ic-calender-blank.963e3423.svg +19 -0
- package/dist/index.d.ts +185 -16
- package/dist/index.js +1152 -1019
- package/package.json +28 -25
- package/dist/@common-rjsf-CpWysF7z.js +0 -592
- package/dist/@framer-motion-HHs3GM1L.js +0 -4959
- package/dist/@vendor-9kEu4wD5.js +0 -204287
- package/dist/Pages-Devtron-2.0/Automation&Enablement/AutomationEnablementIcon/AutomationEnablementIcon.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/Automation&Enablement/AutomationEnablementIcon/index.d.ts +0 -2
- package/dist/Pages-Devtron-2.0/Automation&Enablement/AutomationEnablementIcon/utils.d.ts +0 -6
- package/dist/Pages-Devtron-2.0/Shared/Routes/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/Shared/Routes/routes.d.ts +0 -563
|
@@ -82,7 +82,7 @@ export declare const TERMINAL_STATUS_COLOR_CLASS_MAP: {
|
|
|
82
82
|
readonly [x: string]: "cr-5" | "cg-5" | "co-5";
|
|
83
83
|
};
|
|
84
84
|
export declare const PROGRESSING_STATUS: {
|
|
85
|
-
readonly [x: string]: "progressing" | "
|
|
85
|
+
readonly [x: string]: "progressing" | "starting" | "initiating" | "queued" | "running";
|
|
86
86
|
};
|
|
87
87
|
export declare const FAILED_WORKFLOW_STAGE_STATUS_MAP: Record<Extract<WorkflowStageStatusType, WorkflowStageStatusType.ABORTED | WorkflowStageStatusType.FAILED | WorkflowStageStatusType.TIMEOUT>, true>;
|
|
88
88
|
export declare const APP_HEALTH_DROP_DOWN_LIST: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties,
|
|
1
|
+
import { CSSProperties, MutableRefObject, ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { SupportedKeyboardKeysType } from '../../../Common/Hooks/UseRegisterShortcut/types';
|
|
3
3
|
import { GVKType } from '../../../Pages/ResourceBrowser';
|
|
4
4
|
import { DeploymentAppTypes, FilterConditionsListType, ImageComment, OptionType, PaginationProps, PromotionApprovalMetadataType, ReleaseTag, ResponseType, TooltipProps, UserApprovalMetadataType, useScrollable } from '../../../Common';
|
|
@@ -183,9 +183,8 @@ export interface SidebarType extends RenderRunSourceType {
|
|
|
183
183
|
handleViewAllHistory?: () => void;
|
|
184
184
|
children?: React.ReactNode;
|
|
185
185
|
resourceId?: number;
|
|
186
|
-
path: string;
|
|
187
186
|
}
|
|
188
|
-
export interface HistorySummaryCardType extends RenderRunSourceType, Pick<History, 'workflowExecutionStages' | 'podName' | 'namespace'
|
|
187
|
+
export interface HistorySummaryCardType extends RenderRunSourceType, Pick<History, 'workflowExecutionStages' | 'podName' | 'namespace'> {
|
|
189
188
|
id: number;
|
|
190
189
|
status: string;
|
|
191
190
|
startedOn: string;
|
|
@@ -279,10 +278,10 @@ export interface ResourceConflictDeployDialogProps extends ResourceConflictDialo
|
|
|
279
278
|
}
|
|
280
279
|
export interface ResourceConflictDetailsModalProps extends ResourceConflictDialogBaseProps {
|
|
281
280
|
}
|
|
282
|
-
export
|
|
281
|
+
export interface TriggerOutputURLParamsType extends Pick<BaseURLParams, 'appId' | 'envId'> {
|
|
283
282
|
triggerId: string;
|
|
284
283
|
pipelineId: string;
|
|
285
|
-
}
|
|
284
|
+
}
|
|
286
285
|
export type ProgressingStatusType = {
|
|
287
286
|
stage: DeploymentStageType;
|
|
288
287
|
type: HistoryComponentType;
|
|
@@ -408,9 +407,8 @@ export interface TriggerOutputProps extends RenderRunSourceType, Pick<TriggerDet
|
|
|
408
407
|
setTriggerHistory: React.Dispatch<React.SetStateAction<Map<Number, History>>>;
|
|
409
408
|
scrollToTop: ReturnType<typeof useScrollable>[1];
|
|
410
409
|
scrollToBottom: ReturnType<typeof useScrollable>[2];
|
|
411
|
-
pathPattern: string;
|
|
412
410
|
}
|
|
413
|
-
export interface HistoryLogsProps extends Pick<TriggerOutputProps, 'scrollToTop' | 'scrollToBottom' | 'setFullScreenView' | 'deploymentAppType' | 'isBlobStorageConfigured' | 'appReleaseTags' | 'tagsEditable' | 'hideImageTaggingHardDelete' | 'selectedEnvironmentName' | 'processVirtualEnvironmentDeploymentData' | 'renderDeploymentApprovalInfo' | 'renderCIListHeader' | 'renderVirtualHistoryArtifacts' | 'fullScreenView' | 'appName' | 'triggerHistory'
|
|
411
|
+
export interface HistoryLogsProps extends Pick<TriggerOutputProps, 'scrollToTop' | 'scrollToBottom' | 'setFullScreenView' | 'deploymentAppType' | 'isBlobStorageConfigured' | 'appReleaseTags' | 'tagsEditable' | 'hideImageTaggingHardDelete' | 'selectedEnvironmentName' | 'processVirtualEnvironmentDeploymentData' | 'renderDeploymentApprovalInfo' | 'renderCIListHeader' | 'renderVirtualHistoryArtifacts' | 'fullScreenView' | 'appName' | 'triggerHistory'>, Pick<TargetPlatformBadgeListProps, 'targetPlatforms'> {
|
|
414
412
|
triggerDetails: History;
|
|
415
413
|
loading: boolean;
|
|
416
414
|
userApprovalMetadata: UserApprovalMetadataType;
|
|
@@ -644,11 +642,11 @@ export interface ModuleConfigResponse extends ResponseType {
|
|
|
644
642
|
enabled: boolean;
|
|
645
643
|
};
|
|
646
644
|
}
|
|
647
|
-
export
|
|
645
|
+
export interface DeploymentHistoryBaseParamsType {
|
|
648
646
|
appId: string;
|
|
649
647
|
envId: string;
|
|
650
648
|
pipelineId: string;
|
|
651
|
-
}
|
|
649
|
+
}
|
|
652
650
|
export interface TriggerHistoryParamsType {
|
|
653
651
|
appId: number;
|
|
654
652
|
envId: number;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
2
|
import { DeploymentAppTypes } from '../../../Common/Types';
|
|
3
3
|
import { DeploymentStatusBreakdownItemType, Node } from '../../types';
|
|
4
4
|
import { TabGroupProps } from '../TabGroup';
|
|
5
5
|
import { DeploymentHistoryResultObject, ExecutionInfoType, History, NodeFilters, NodeStatus, StageStatusType, TriggerHistoryFilterCriteriaProps, TriggerHistoryFilterCriteriaType, WorkflowExecutionStagesMapDTO, WorkflowStageStatusType } from './types';
|
|
6
6
|
export declare const getTriggerHistoryFilterCriteria: ({ appId, envId, releaseId, showCurrentReleaseDeployments, }: TriggerHistoryFilterCriteriaProps) => TriggerHistoryFilterCriteriaType;
|
|
7
7
|
export declare const getParsedTriggerHistory: (result: any) => DeploymentHistoryResultObject;
|
|
8
|
-
export declare const buildHoverHtmlForWebhook: (eventName: any, condition: any, selectors: any) =>
|
|
8
|
+
export declare const buildHoverHtmlForWebhook: (eventName: any, condition: any, selectors: any) => JSX.Element;
|
|
9
9
|
export declare const getStageStatusIcon: (status: StageStatusType) => JSX.Element;
|
|
10
10
|
export declare const getLogSearchIndex: ({ stageIndex, lineNumberInsideStage, }: Record<"stageIndex" | "lineNumberInsideStage", number>) => string;
|
|
11
11
|
export declare const sanitizeWorkflowExecutionStages: (workflowExecutionStages: WorkflowExecutionStagesMapDTO["workflowExecutionStages"]) => ExecutionInfoType | null;
|
|
@@ -35,7 +35,7 @@ export declare const getStatusFilters: ({ allNodeCount, missingNodeCount, failed
|
|
|
35
35
|
count: number;
|
|
36
36
|
})[];
|
|
37
37
|
};
|
|
38
|
-
export declare const getAppStatusIcon: (status: NodeStatus | NodeFilters, hideMessage?: boolean) =>
|
|
38
|
+
export declare const getAppStatusIcon: (status: NodeStatus | NodeFilters, hideMessage?: boolean) => JSX.Element;
|
|
39
39
|
export declare const getTriggerStatusIcon: (status: string) => string;
|
|
40
40
|
export declare const renderDeploymentTimelineIcon: (iconState: DeploymentStatusBreakdownItemType["icon"]) => JSX.Element;
|
|
41
41
|
export declare const getDeploymentTimelineBGColorFromIcon: (icon: DeploymentStatusBreakdownItemType["icon"]) => string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ConfigMapSecretReadyOnlyProps } from './types';
|
|
2
|
-
declare const ConfigMapSecretReadyOnly: ({ componentType, isJob, configMapSecretData, cmSecretStateLabel, areScopeVariablesResolving, fallbackMergeStrategy, hideCodeEditor, containerClassName, displayKeys, isBorderLess, }: ConfigMapSecretReadyOnlyProps) =>
|
|
2
|
+
declare const ConfigMapSecretReadyOnly: ({ componentType, isJob, configMapSecretData, cmSecretStateLabel, areScopeVariablesResolving, fallbackMergeStrategy, hideCodeEditor, containerClassName, displayKeys, isBorderLess, }: ConfigMapSecretReadyOnlyProps) => JSX.Element;
|
|
3
3
|
export default ConfigMapSecretReadyOnly;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const renderHashiOrAwsDeprecatedInfo: () =>
|
|
1
|
+
export declare const renderHashiOrAwsDeprecatedInfo: () => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CardProps } from './types';
|
|
2
|
-
declare const Card: ({ onClick, children, isLoading, shimmerVariant, variant, flexGap, flexDirection, padding, }: CardProps) =>
|
|
2
|
+
declare const Card: ({ onClick, children, isLoading, shimmerVariant, variant, flexGap, flexDirection, padding, }: CardProps) => JSX.Element;
|
|
3
3
|
export default Card;
|
|
@@ -117,5 +117,5 @@ import { ChartProps } from './types';
|
|
|
117
117
|
* - Colors should reference CHART_COLORS tokens for consistency
|
|
118
118
|
* - Component destroys and recreates Chart.js instance on prop changes for optimal performance
|
|
119
119
|
*/
|
|
120
|
-
declare const Chart: (props: ChartProps) =>
|
|
120
|
+
declare const Chart: (props: ChartProps) => JSX.Element;
|
|
121
121
|
export default Chart;
|
|
@@ -25,6 +25,6 @@ export declare const transformDataForChart: (props: TransformDataForChartProps)
|
|
|
25
25
|
label: string;
|
|
26
26
|
data: number[];
|
|
27
27
|
})[];
|
|
28
|
-
export declare function chartColorGenerator(): Generator<"
|
|
28
|
+
export declare function chartColorGenerator(): Generator<"DeepPlum500" | "DeepPlum300" | "DeepPlum100" | "DeepPlum50" | "DeepPlum600" | "DeepPlum400" | "DeepPlum200" | "DeepPlum700" | "DeepPlum800" | "DeepPlum900" | "DeepPlum950" | "Magenta500" | "Magenta300" | "Magenta100" | "Magenta50" | "Magenta600" | "Magenta400" | "Magenta200" | "Magenta700" | "Magenta800" | "Magenta900" | "Magenta950" | "Slate500" | "Slate300" | "Slate100" | "Slate50" | "Slate600" | "Slate400" | "Slate200" | "Slate700" | "Slate800" | "Slate900" | "Slate950" | "Lavender500" | "Lavender300" | "Lavender100" | "Lavender50" | "Lavender600" | "Lavender400" | "Lavender200" | "Lavender700" | "Lavender800" | "Lavender900" | "Lavender950" | "SkyBlue500" | "SkyBlue300" | "SkyBlue100" | "SkyBlue50" | "SkyBlue600" | "SkyBlue400" | "SkyBlue200" | "SkyBlue700" | "SkyBlue800" | "SkyBlue900" | "SkyBlue950" | "AquaTeal500" | "AquaTeal300" | "AquaTeal100" | "AquaTeal50" | "AquaTeal600" | "AquaTeal400" | "AquaTeal200" | "AquaTeal700" | "AquaTeal800" | "AquaTeal900" | "AquaTeal950" | "LimeGreen500" | "LimeGreen300" | "LimeGreen100" | "LimeGreen50" | "LimeGreen600" | "LimeGreen400" | "LimeGreen200" | "LimeGreen700" | "LimeGreen800" | "LimeGreen900" | "LimeGreen950" | "CoralRed500" | "CoralRed300" | "CoralRed100" | "CoralRed50" | "CoralRed600" | "CoralRed400" | "CoralRed200" | "CoralRed700" | "CoralRed800" | "CoralRed900" | "CoralRed950" | "GoldenYellow500" | "GoldenYellow300" | "GoldenYellow100" | "GoldenYellow50" | "GoldenYellow600" | "GoldenYellow400" | "GoldenYellow200" | "GoldenYellow700" | "GoldenYellow800" | "GoldenYellow900" | "GoldenYellow950" | "CharcoalGray500" | "CharcoalGray300" | "CharcoalGray100" | "CharcoalGray50" | "CharcoalGray600" | "CharcoalGray400" | "CharcoalGray200" | "CharcoalGray700" | "CharcoalGray800" | "CharcoalGray900" | "CharcoalGray950" | "Gray500" | "Gray300" | "Gray100" | "Gray50" | "Gray600" | "Gray400" | "Gray200" | "Gray700" | "Gray800" | "Gray900" | "Gray950" | "SunsetOrange500" | "SunsetOrange300" | "SunsetOrange100" | "SunsetOrange50" | "SunsetOrange600" | "SunsetOrange400" | "SunsetOrange200" | "SunsetOrange700" | "SunsetOrange800" | "SunsetOrange900" | "SunsetOrange950", void, unknown>;
|
|
29
29
|
export declare const buildChartTooltipFromContext: ({ title, body, labelColors: labelColorsProp, }: Pick<Parameters<TooltipOptions["external"]>[0]["tooltip"], "title" | "body" | "labelColors">) => ReactNode;
|
|
30
30
|
export declare const distanceBetweenPoints: (pt1: Point, pt2: Point) => number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ChipProps } from './types';
|
|
2
|
-
declare const Chip: ({ label, startIconProps, startIcon, size: userSize, value, onRemove, style, type, onClick, capitalizeLabel, href, }: ChipProps) =>
|
|
2
|
+
declare const Chip: ({ label, startIconProps, startIcon, size: userSize, value, onRemove, style, type, onClick, capitalizeLabel, href, }: ChipProps) => JSX.Element;
|
|
3
3
|
export default Chip;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ClusterStatusIconProps } from './types';
|
|
2
|
-
declare const ClusterStatusIcon: ({ clusterStatus, isVirtualCluster }: ClusterStatusIconProps) =>
|
|
2
|
+
declare const ClusterStatusIcon: ({ clusterStatus, isVirtualCluster }: ClusterStatusIconProps) => JSX.Element;
|
|
3
3
|
export default ClusterStatusIcon;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { CodeEditorHeaderProps, CodeEditorStatusBarProps } from './types';
|
|
3
|
-
export declare const Header: ({ children, className, hideDefaultSplitHeader }: CodeEditorHeaderProps) =>
|
|
4
|
-
export declare const Warning: ({ className, text, children }: CodeEditorStatusBarProps) =>
|
|
5
|
-
export declare const ErrorBar: ({ className, text, children }: CodeEditorStatusBarProps) =>
|
|
6
|
-
export declare const Information: ({ className, children, text }: CodeEditorStatusBarProps) =>
|
|
7
|
-
export declare const Clipboard: () =>
|
|
3
|
+
export declare const Header: ({ children, className, hideDefaultSplitHeader }: CodeEditorHeaderProps) => JSX.Element;
|
|
4
|
+
export declare const Warning: ({ className, text, children }: CodeEditorStatusBarProps) => JSX.Element;
|
|
5
|
+
export declare const ErrorBar: ({ className, text, children }: CodeEditorStatusBarProps) => JSX.Element;
|
|
6
|
+
export declare const Information: ({ className, children, text }: CodeEditorStatusBarProps) => JSX.Element;
|
|
7
|
+
export declare const Clipboard: () => JSX.Element;
|
|
8
8
|
export declare const Container: ({ children, flexExpand }: {
|
|
9
9
|
children: ReactNode;
|
|
10
10
|
flexExpand?: boolean;
|
|
11
|
-
}) =>
|
|
11
|
+
}) => JSX.Element;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { CodeEditorProps } from './types';
|
|
2
2
|
declare const CodeEditor: {
|
|
3
|
-
<DiffView extends boolean = false>({ theme, value: propValue, originalValue, modifiedValue, isOriginalModifiable, mode, noParsing, children, tabSize, height, shebang, onChange, onOriginalValueChange, onModifiedValueChange, placeholder, diffView, loading, customLoader, validatorSchema, schemaURI, cleanData, onBlur, onFocus, autoFocus, onSearchPanelOpen, onSearchBarAction, collapseUnchangedDiffView, ...resProps }: CodeEditorProps<DiffView>):
|
|
4
|
-
Clipboard: () =>
|
|
5
|
-
Header: ({ children, className, hideDefaultSplitHeader }: import('./types').CodeEditorHeaderProps) =>
|
|
6
|
-
Warning: ({ className, text, children }: import('./types').CodeEditorStatusBarProps) =>
|
|
7
|
-
ErrorBar: ({ className, text, children }: import('./types').CodeEditorStatusBarProps) =>
|
|
8
|
-
Information: ({ className, children, text }: import('./types').CodeEditorStatusBarProps) =>
|
|
3
|
+
<DiffView extends boolean = false>({ theme, value: propValue, originalValue, modifiedValue, isOriginalModifiable, mode, noParsing, children, tabSize, height, shebang, onChange, onOriginalValueChange, onModifiedValueChange, placeholder, diffView, loading, customLoader, validatorSchema, schemaURI, cleanData, onBlur, onFocus, autoFocus, onSearchPanelOpen, onSearchBarAction, collapseUnchangedDiffView, ...resProps }: CodeEditorProps<DiffView>): JSX.Element;
|
|
4
|
+
Clipboard: () => JSX.Element;
|
|
5
|
+
Header: ({ children, className, hideDefaultSplitHeader }: import('./types').CodeEditorHeaderProps) => JSX.Element;
|
|
6
|
+
Warning: ({ className, text, children }: import('./types').CodeEditorStatusBarProps) => JSX.Element;
|
|
7
|
+
ErrorBar: ({ className, text, children }: import('./types').CodeEditorStatusBarProps) => JSX.Element;
|
|
8
|
+
Information: ({ className, children, text }: import('./types').CodeEditorStatusBarProps) => JSX.Element;
|
|
9
9
|
Container: ({ children, flexExpand }: {
|
|
10
10
|
children: import('react').ReactNode;
|
|
11
11
|
flexExpand?: boolean;
|
|
12
|
-
}) =>
|
|
12
|
+
}) => JSX.Element;
|
|
13
13
|
};
|
|
14
14
|
export default CodeEditor;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CodeEditorRendererProps } from './types';
|
|
2
|
-
export declare const CodeEditorRenderer: ({ codemirrorMergeKey, theme, loading, customLoader, height, codeEditorTheme, readOnly, handleLhsOnChange, originalViewExtensions, handleOnChange, modifiedViewExtensions, codeMirrorParentDivRef, shebang, placeholder, onFocus, onBlur, extensions, autoFocus, diffMinimapExtensions, collapseUnchanged, disableMinimap, }: CodeEditorRendererProps) =>
|
|
2
|
+
export declare const CodeEditorRenderer: ({ codemirrorMergeKey, theme, loading, customLoader, height, codeEditorTheme, readOnly, handleLhsOnChange, originalViewExtensions, handleOnChange, modifiedViewExtensions, codeMirrorParentDivRef, shebang, placeholder, onFocus, onBlur, extensions, autoFocus, diffMinimapExtensions, collapseUnchanged, disableMinimap, }: CodeEditorRendererProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DiffMinimapProps } from '../types';
|
|
2
|
-
export declare const DiffMinimap: ({ view, theme, diffMinimapParentRef, scalingFactor }: DiffMinimapProps) =>
|
|
2
|
+
export declare const DiffMinimap: ({ view, theme, diffMinimapParentRef, scalingFactor }: DiffMinimapProps) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dispatch, FunctionComponent,
|
|
1
|
+
import { Dispatch, FunctionComponent, Key, MutableRefObject, ReactNode, SetStateAction, SVGProps } from 'react';
|
|
2
2
|
import { MergeView } from '@codemirror/merge';
|
|
3
3
|
import { SearchQuery } from '@codemirror/search';
|
|
4
4
|
import { EditorView, Extension, ReactCodeMirrorProps } from '@uiw/react-codemirror';
|
|
@@ -10,7 +10,7 @@ export declare const getUpdatedSearchMatchesCount: (newQuery: SearchQuery, view:
|
|
|
10
10
|
current: number;
|
|
11
11
|
};
|
|
12
12
|
export declare const updateDiffMinimapValues: (view: MergeView, transactions: readonly Transaction[], side: "a" | "b") => void;
|
|
13
|
-
export declare const getScanLimit: (lhsValue: string, value: string) =>
|
|
13
|
+
export declare const getScanLimit: (lhsValue: string, value: string) => 10000 | 500 | 5000 | 15000 | 20000;
|
|
14
14
|
export declare const getFoldGutterElement: (open: boolean) => HTMLSpanElement;
|
|
15
15
|
export declare const getReadOnlyElement: () => HTMLDivElement;
|
|
16
16
|
export declare const getRevertControlButton: () => HTMLButtonElement;
|
|
@@ -3,4 +3,4 @@ import { CollapseProps } from './types';
|
|
|
3
3
|
* Collapse component for smoothly expanding or collapsing its content.
|
|
4
4
|
* It also supports a callback when the transition ends.
|
|
5
5
|
*/
|
|
6
|
-
export declare const Collapse: ({ expand, onTransitionEnd, children }: CollapseProps) =>
|
|
6
|
+
export declare const Collapse: ({ expand, onTransitionEnd, children }: CollapseProps) => JSX.Element;
|
|
@@ -2,4 +2,4 @@ import { CollapsibleListProps, TabOptions } from './CollapsibleList.types';
|
|
|
2
2
|
/**
|
|
3
3
|
* @deprecated - Please use `TreeView` component instead.
|
|
4
4
|
*/
|
|
5
|
-
export declare const CollapsibleList: <TabType extends TabOptions>({ config, tabType, onCollapseBtnClick, }: CollapsibleListProps<TabType>) =>
|
|
5
|
+
export declare const CollapsibleList: <TabType extends TabOptions>({ config, tabType, onCollapseBtnClick, }: CollapsibleListProps<TabType>) => JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { NavLinkProps } from 'react-router-dom';
|
|
2
3
|
import { TippyProps } from '@tippyjs/react';
|
|
3
4
|
interface ButtonTab {
|
|
4
5
|
/**
|
|
@@ -11,7 +12,7 @@ interface ButtonTab {
|
|
|
11
12
|
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
12
13
|
href?: never;
|
|
13
14
|
}
|
|
14
|
-
interface NavLinkTab {
|
|
15
|
+
interface NavLinkTab extends Pick<NavLinkProps, 'isActive'> {
|
|
15
16
|
/**
|
|
16
17
|
* The URL of the nav link.
|
|
17
18
|
*/
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CommitChipCellProps } from './types';
|
|
2
|
-
declare const CommitChipCell: ({ handleClick, commits }: CommitChipCellProps) =>
|
|
2
|
+
declare const CommitChipCell: ({ handleClick, commits }: CommitChipCellProps) => JSX.Element;
|
|
3
3
|
export default CommitChipCell;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Confetti: () =>
|
|
1
|
+
declare const Confetti: () => JSX.Element;
|
|
2
2
|
export default Confetti;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CannotDeleteModalProps } from './types';
|
|
2
|
-
export declare const CannotDeleteModal: ({ title, component, subtitle, closeConfirmationModal }: CannotDeleteModalProps) =>
|
|
2
|
+
export declare const CannotDeleteModal: ({ title, component, subtitle, closeConfirmationModal }: CannotDeleteModalProps) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ConfirmationModalProps } from './types';
|
|
2
|
-
export declare const BaseConfirmationModal: () =>
|
|
2
|
+
export declare const BaseConfirmationModal: () => JSX.Element;
|
|
3
3
|
declare const ConfirmationModal: (props: ConfirmationModalProps) => any;
|
|
4
4
|
export default ConfirmationModal;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { ConfirmationModalContextType } from './types';
|
|
3
3
|
export declare const ConfirmationModalContext: import('react').Context<ConfirmationModalContextType>;
|
|
4
|
-
export declare const ConfirmationModalProvider: ({ children }: PropsWithChildren<{}>) =>
|
|
4
|
+
export declare const ConfirmationModalProvider: ({ children }: PropsWithChildren<{}>) => JSX.Element;
|
|
5
5
|
export declare const useConfirmationModalContext: () => ConfirmationModalContextType;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ForceDeleteConfirmationProps } from './types';
|
|
2
|
-
export declare const ForceDeleteConfirmationModal: ({ title, subtitle, onDelete, closeConfirmationModal, isDeleting, }: ForceDeleteConfirmationProps) =>
|
|
2
|
+
export declare const ForceDeleteConfirmationModal: ({ title, subtitle, onDelete, closeConfirmationModal, isDeleting, }: ForceDeleteConfirmationProps) => JSX.Element;
|
|
@@ -67,6 +67,7 @@ export type ConfirmationModalProps<isConfig extends boolean = false> = PropsWith
|
|
|
67
67
|
* @default false
|
|
68
68
|
*/
|
|
69
69
|
showConfetti?: boolean;
|
|
70
|
+
avoidFocusTrap?: boolean;
|
|
70
71
|
}> & ButtonConfigAndVariantType<isConfig> & (isConfig extends false ? {
|
|
71
72
|
/**
|
|
72
73
|
* Function to handle modal close action.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ContextSwitcherTypes } from './types';
|
|
2
|
-
export declare const ContextSwitcher: ({ inputId, options, inputValue, onInputChange, isLoading, value, onChange, placeholder, filterOption, formatOptionLabel, optionListError, reloadOptionList, classNamePrefix, resource, }: ContextSwitcherTypes) =>
|
|
2
|
+
export declare const ContextSwitcher: ({ inputId, options, inputValue, onInputChange, isLoading, value, onChange, placeholder, filterOption, formatOptionLabel, optionListError, reloadOptionList, classNamePrefix, resource, }: ContextSwitcherTypes) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CountrySelectProps } from './types';
|
|
2
|
-
declare const CountrySelect: ({ selectedCountry, label, required, error, handleChange, placeholder, name, variant, size, onMenuClose, onMenuOpen, }: CountrySelectProps) =>
|
|
2
|
+
declare const CountrySelect: ({ selectedCountry, label, required, error, handleChange, placeholder, name, variant, size, onMenuClose, onMenuOpen, }: CountrySelectProps) => JSX.Element;
|
|
3
3
|
export default CountrySelect;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CustomInputProps } from './types';
|
|
2
|
-
declare const CustomInput: ({ name, label, fullWidth, error, helperText, warningText, layout, required, onBlur, shouldTrim, size, ariaLabel, borderConfig, borderRadiusConfig, type, autoFocus, endIconButtonConfig, labelTippyCustomizedConfig, labelTooltipConfig, inputRef: inputRefProp, hideFormFieldInfo, ...props }: CustomInputProps) =>
|
|
2
|
+
declare const CustomInput: ({ name, label, fullWidth, error, helperText, warningText, layout, required, onBlur, shouldTrim, size, ariaLabel, borderConfig, borderRadiusConfig, type, autoFocus, endIconButtonConfig, labelTippyCustomizedConfig, labelTooltipConfig, inputRef: inputRefProp, hideFormFieldInfo, ...props }: CustomInputProps) => JSX.Element;
|
|
3
3
|
export default CustomInput;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PasswordFieldProps } from './types';
|
|
2
|
-
declare const PasswordField: ({ onFocus, onBlur, shouldShowDefaultPlaceholderOnBlur, ...props }: PasswordFieldProps) =>
|
|
2
|
+
declare const PasswordField: ({ onFocus, onBlur, shouldShowDefaultPlaceholderOnBlur, ...props }: PasswordFieldProps) => JSX.Element;
|
|
3
3
|
export default PasswordField;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DTFocusTrapType } from './types';
|
|
2
|
-
declare const DTFocusTrap: ({ onEscape, deactivateFocusOnEscape, children, initialFocus, returnFocusOnDeactivate, }: DTFocusTrapType) =>
|
|
2
|
+
declare const DTFocusTrap: ({ onEscape, deactivateFocusOnEscape, children, initialFocus, returnFocusOnDeactivate, avoidFocusTrap, }: DTFocusTrapType) => JSX.Element;
|
|
3
3
|
export default DTFocusTrap;
|
|
@@ -30,5 +30,6 @@ export interface DTFocusTrapType extends Pick<FocusTrapProps['focusTrapOptions']
|
|
|
30
30
|
* Setting this option to undefined (or to a function that returns undefined) will result in the first element in the focus trap's tab order receiving focus.
|
|
31
31
|
*/
|
|
32
32
|
initialFocus?: FocusTargetOrFalse | undefined | (() => void);
|
|
33
|
+
avoidFocusTrap?: boolean;
|
|
33
34
|
}
|
|
34
35
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DateTimePickerProps } from './types';
|
|
2
|
-
declare const DateTimePicker: ({ date: dateObject,
|
|
2
|
+
declare const DateTimePicker: ({ date: dateObject, onChange, timePickerProps, disabled, id, label, required, hideTimeSelect, readOnly, isTodayBlocked, dataTestIdForTime, dataTestidForDate, openDirection, error, }: DateTimePickerProps) => JSX.Element;
|
|
3
3
|
export default DateTimePicker;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { DatePickerRangeControllerProps } from './types';
|
|
2
|
+
export declare const DatePickerRangeController: ({ handlePredefinedRange, handleApply, calendar, calendarInputs, handleDateInput, handleDatesChange, calendarValue, focusedInput, handleFocusChange, }: DatePickerRangeControllerProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { MonthlySelectProps } from './types';
|
|
2
|
-
export declare const MonthlySelect: ({ selectedMonthlyDate, onChange, dataTestId, }: MonthlySelectProps) =>
|
|
2
|
+
export declare const MonthlySelect: ({ selectedMonthlyDate, onChange, dataTestId, }: MonthlySelectProps) => JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SingleDatePickerProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @param date Date value to be displayed
|
|
5
|
+
* @param handleDatesChange Function to handle date change
|
|
6
|
+
* @param readOnly Value to make date picker read only
|
|
7
|
+
* @param isTodayBlocked Value to block today's date
|
|
8
|
+
* @returns
|
|
9
|
+
*/
|
|
10
|
+
declare const SingleDatePickerComponent: ({ date, handleDatesChange, readOnly, isTodayBlocked, displayFormat, dataTestId, }: SingleDatePickerProps) => JSX.Element;
|
|
11
|
+
export default SingleDatePickerComponent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TimeSelectProps } from './types';
|
|
2
|
-
export declare const TimePickerSelect: ({ disabled, onChange, timePickerProps, error, selectedTimeOption, }: TimeSelectProps) =>
|
|
2
|
+
export declare const TimePickerSelect: ({ disabled, onChange, timePickerProps, error, selectedTimeOption, }: TimeSelectProps) => JSX.Element;
|
|
@@ -1,4 +1,63 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { default as moment } from 'moment';
|
|
2
|
+
export declare const selectedStyles: {
|
|
3
|
+
background: string;
|
|
4
|
+
color: string;
|
|
5
|
+
hover: {
|
|
6
|
+
background: string;
|
|
7
|
+
color: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export declare const selectedSpanStyles: {
|
|
11
|
+
background: string;
|
|
12
|
+
color: string;
|
|
13
|
+
hover: {
|
|
14
|
+
background: string;
|
|
15
|
+
color: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare const hoveredSpanStyles: {
|
|
19
|
+
background: string;
|
|
20
|
+
color: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const customDayStyles: {
|
|
23
|
+
selectedStartStyles: {
|
|
24
|
+
background: string;
|
|
25
|
+
color: string;
|
|
26
|
+
hover: {
|
|
27
|
+
background: string;
|
|
28
|
+
color: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
selectedEndStyles: {
|
|
32
|
+
background: string;
|
|
33
|
+
color: string;
|
|
34
|
+
hover: {
|
|
35
|
+
background: string;
|
|
36
|
+
color: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
hoveredSpanStyles: {
|
|
40
|
+
background: string;
|
|
41
|
+
color: string;
|
|
42
|
+
};
|
|
43
|
+
selectedSpanStyles: {
|
|
44
|
+
background: string;
|
|
45
|
+
color: string;
|
|
46
|
+
hover: {
|
|
47
|
+
background: string;
|
|
48
|
+
color: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
selectedStyles: {
|
|
52
|
+
background: string;
|
|
53
|
+
color: string;
|
|
54
|
+
hover: {
|
|
55
|
+
background: string;
|
|
56
|
+
color: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
border: string;
|
|
60
|
+
};
|
|
2
61
|
export declare const MONTHLY_DATES_CONFIG: {
|
|
3
62
|
'Day 1': string;
|
|
4
63
|
'Day 2': string;
|
|
@@ -94,4 +153,55 @@ export declare const DATE_PICKER_IDS: {
|
|
|
94
153
|
MONTH: string;
|
|
95
154
|
TIME: string;
|
|
96
155
|
};
|
|
97
|
-
export declare const
|
|
156
|
+
export declare const styles: {
|
|
157
|
+
PresetDateRangePicker_panel: {
|
|
158
|
+
padding: string;
|
|
159
|
+
width: string;
|
|
160
|
+
height: string;
|
|
161
|
+
};
|
|
162
|
+
PresetDateRangePicker_button: {
|
|
163
|
+
width: string;
|
|
164
|
+
background: string;
|
|
165
|
+
border: string;
|
|
166
|
+
color: string;
|
|
167
|
+
padding: string;
|
|
168
|
+
font: string;
|
|
169
|
+
fontWeight: number;
|
|
170
|
+
lineHeight: string;
|
|
171
|
+
overflow: string;
|
|
172
|
+
cursor: string;
|
|
173
|
+
':active': {
|
|
174
|
+
outline: number;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
DayPicker__horizontal: {
|
|
178
|
+
borderRadius: string;
|
|
179
|
+
};
|
|
180
|
+
PresetDateRangePicker_button__selected: {
|
|
181
|
+
color: string;
|
|
182
|
+
fontWeight: number;
|
|
183
|
+
background: string;
|
|
184
|
+
outline: string;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
export declare const DayPickerCalendarInfoHorizontal: {
|
|
188
|
+
width: string;
|
|
189
|
+
boxShadow: string;
|
|
190
|
+
};
|
|
191
|
+
export declare const DayPickerRangeControllerPresets: {
|
|
192
|
+
text: string;
|
|
193
|
+
endDate: moment.Moment;
|
|
194
|
+
startDate: moment.Moment;
|
|
195
|
+
endStr: string;
|
|
196
|
+
}[];
|
|
197
|
+
/**
|
|
198
|
+
* Returns a string representing the range of dates
|
|
199
|
+
* given by the start and end dates. If the end date
|
|
200
|
+
* is 'now' and the start date includes 'now',
|
|
201
|
+
* it will return the corresponding range from the
|
|
202
|
+
* DayPickerRangeControllerPresets array.
|
|
203
|
+
* @param startDateStr - the start date string
|
|
204
|
+
* @param endDateStr - the end date string
|
|
205
|
+
* @returns - a string representing the range of dates
|
|
206
|
+
*/
|
|
207
|
+
export declare function getCalendarValue(startDateStr: string, endDateStr: string): string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from './constants';
|
|
2
2
|
export { default as DateTimePicker } from './DateTimePicker';
|
|
3
|
+
export { DatePickerRangeController } from './DayPickerRangeController';
|
|
3
4
|
export * from './MonthlySelect';
|
|
5
|
+
export { default as SingleDatePickerComponent } from './SingleDatePickerComponent';
|
|
4
6
|
export * from './TimeSelect';
|
|
5
7
|
export * from './types';
|
|
6
8
|
export * from './utils';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SingleDatePickerShape } from 'react-dates';
|
|
1
2
|
import { SelectInstance } from 'react-select';
|
|
2
3
|
import { Moment } from 'moment';
|
|
3
4
|
import { SelectPickerOptionType } from '../SelectPicker';
|
|
@@ -80,13 +81,11 @@ export interface TimeSelectProps {
|
|
|
80
81
|
*/
|
|
81
82
|
selectedTimeOption: DateSelectPickerType;
|
|
82
83
|
}
|
|
83
|
-
interface
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
export type UpdateSingleDateType = (date: Date) => void;
|
|
89
|
-
export type DateTimePickerProps = Pick<TimeSelectProps, 'timePickerProps' | 'error' | 'disabled' | 'dataTestIdForTime'> & {
|
|
84
|
+
export interface DateTimePickerProps extends Pick<TimeSelectProps, 'date' | 'timePickerProps' | 'error' | 'disabled' | 'dataTestIdForTime'>, Pick<SingleDatePickerShape, 'openDirection'> {
|
|
85
|
+
/**
|
|
86
|
+
* Props for the date picker
|
|
87
|
+
*/
|
|
88
|
+
datePickerProps?: any;
|
|
90
89
|
/**
|
|
91
90
|
* Id for the component
|
|
92
91
|
*/
|
|
@@ -99,6 +98,10 @@ export type DateTimePickerProps = Pick<TimeSelectProps, 'timePickerProps' | 'err
|
|
|
99
98
|
* If true, the field is required and asterisk is shown
|
|
100
99
|
*/
|
|
101
100
|
required?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* To hide time selector
|
|
103
|
+
*/
|
|
104
|
+
hideTimeSelect?: boolean;
|
|
102
105
|
/**
|
|
103
106
|
* To make the field read only
|
|
104
107
|
*/
|
|
@@ -107,32 +110,24 @@ export type DateTimePickerProps = Pick<TimeSelectProps, 'timePickerProps' | 'err
|
|
|
107
110
|
* To block today's date
|
|
108
111
|
*/
|
|
109
112
|
isTodayBlocked?: boolean;
|
|
110
|
-
blockPreviousDates?: boolean;
|
|
111
|
-
isOutsideRange?: (day: Date) => boolean;
|
|
112
|
-
} & ({
|
|
113
|
-
isRangePicker: true;
|
|
114
|
-
hideTimeSelect: true;
|
|
115
|
-
dateRange: DateRangeType;
|
|
116
|
-
onChange: UpdateDateRangeType;
|
|
117
|
-
rangeShortcutOptions?: ({
|
|
118
|
-
label: string;
|
|
119
|
-
onClick: () => void;
|
|
120
|
-
value?: never;
|
|
121
|
-
} | {
|
|
122
|
-
label: string;
|
|
123
|
-
onClick?: never;
|
|
124
|
-
value: DateRangeType;
|
|
125
|
-
})[];
|
|
126
|
-
date?: never;
|
|
127
|
-
} | {
|
|
128
|
-
isRangePicker?: false;
|
|
129
|
-
date: TimeSelectProps['date'];
|
|
130
|
-
onChange: UpdateSingleDateType;
|
|
131
113
|
/**
|
|
132
|
-
*
|
|
114
|
+
* Data test id for date picker
|
|
133
115
|
*/
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
116
|
+
dataTestidForDate?: string;
|
|
117
|
+
/**
|
|
118
|
+
* Function to handle date change
|
|
119
|
+
*/
|
|
120
|
+
onChange: (date: Date) => void;
|
|
121
|
+
}
|
|
122
|
+
export interface DatePickerRangeControllerProps {
|
|
123
|
+
calendar: any;
|
|
124
|
+
calendarInputs: any;
|
|
125
|
+
focusedInput: any;
|
|
126
|
+
handleFocusChange: any;
|
|
127
|
+
handleDatesChange: any;
|
|
128
|
+
handleCalendarInputs?: any;
|
|
129
|
+
calendarValue: string;
|
|
130
|
+
handlePredefinedRange: (start: Moment, end: Moment, endStr: string) => void;
|
|
131
|
+
handleDateInput: (key: 'startDate' | 'endDate', value: string) => void;
|
|
132
|
+
handleApply: (...args: any[]) => void;
|
|
133
|
+
}
|
|
@@ -10,7 +10,7 @@ export declare const MONTHLY_DATE_OPTIONS: {
|
|
|
10
10
|
* Return the options for the time in label and value format
|
|
11
11
|
* @type {SelectPickerOptionType[]}
|
|
12
12
|
*/
|
|
13
|
-
export declare const DEFAULT_TIME_OPTIONS: SelectPickerOptionType
|
|
13
|
+
export declare const DEFAULT_TIME_OPTIONS: SelectPickerOptionType[];
|
|
14
14
|
/**
|
|
15
15
|
* Get the time value from the date object in the format: `hh:mm:ss`
|
|
16
16
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DeploymentConfigDiffProps } from './DeploymentConfigDiff.types';
|
|
2
|
-
export declare const DeploymentConfigDiff: ({ isLoading, configList, collapsibleNavList, navList, goBackURL, navHeading, navHelpText, isNavHelpTextShowingError, tabConfig, errorConfig, showDetailedDiffState, hideDiffState, renderedInDrawer, ...resProps }: DeploymentConfigDiffProps) =>
|
|
2
|
+
export declare const DeploymentConfigDiff: ({ isLoading, configList, collapsibleNavList, navList, goBackURL, navHeading, navHelpText, isNavHelpTextShowingError, tabConfig, errorConfig, showDetailedDiffState, hideDiffState, renderedInDrawer, ...resProps }: DeploymentConfigDiffProps) => JSX.Element;
|