@devtron-labs/devtron-fe-common-lib 4.0.2 → 4.0.3-pre-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@code-editor-BAM7bZOw.js +101094 -0
- package/dist/@common-rjsf-Bx2aOoF1.js +14244 -0
- package/dist/@framer-motion-CJHeDr_5.js +151 -0
- package/dist/@react-virtualized-sticky-tree-Cru7sOnT.js +1255 -0
- package/dist/@src-assets-images-B2NAtpLS.js +1073 -0
- package/dist/@vendor-M2R6W7KJ.js +82170 -0
- package/dist/Common/API/CoreAPI.d.ts +29 -0
- package/dist/Common/API/QueryClientProvider.d.ts +2 -0
- package/dist/Common/API/constants.d.ts +70 -0
- package/dist/Common/API/index.d.ts +5 -0
- package/dist/Common/API/reactQueryHooks.d.ts +7 -0
- package/dist/Common/API/types.d.ts +23 -0
- package/dist/Common/API/utils.d.ts +12 -0
- 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 -2
- package/dist/Common/BreadCrumb/NestedBreadCrumb.d.ts +2 -0
- package/dist/Common/BreadCrumb/Types.d.ts +25 -0
- package/dist/Common/CIPipeline.Types.d.ts +68 -15
- package/dist/Common/ChartVersionAndTypeSelector.d.ts +1 -1
- package/dist/Common/Checkbox/Checkbox.d.ts +2 -0
- package/dist/Common/Checkbox/index.d.ts +1 -0
- package/dist/Common/ClipboardButton/ClipboardButton.d.ts +3 -4
- package/dist/Common/ClipboardButton/index.d.ts +1 -0
- package/dist/Common/ClipboardButton/types.d.ts +27 -4
- package/dist/Common/Common.service.d.ts +34 -12
- package/dist/Common/Constants.d.ts +150 -79
- 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/CustomTagSelector/Types.d.ts +20 -29
- package/dist/Common/CustomTagSelector/ValidationRules.d.ts +2 -4
- package/dist/Common/CustomTagSelector/index.d.ts +2 -2
- package/dist/Common/CustomTagSelector/tags.utils.d.ts +13 -0
- package/dist/Common/DebouncedSearch/DebouncedSearch.d.ts +1 -1
- package/dist/Common/DeleteCINodeButton/DeleteCINodeButton.d.ts +2 -0
- package/dist/Common/DeleteCINodeButton/index.d.ts +3 -0
- package/dist/Common/DeleteCINodeButton/types.d.ts +18 -0
- package/dist/Common/DeleteCINodeButton/utils.d.ts +5 -0
- package/dist/Common/DevtronCopyright.d.ts +2 -0
- package/dist/Common/DevtronProgressing/DevtronProgressing.d.ts +1 -0
- package/dist/Common/Dialogs/DialogForm.d.ts +6 -6
- package/dist/Common/Dialogs/Types.d.ts +0 -16
- package/dist/Common/Dialogs/index.d.ts +0 -3
- package/dist/Common/DraggableWrapper/DraggableButton.d.ts +1 -1
- package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +4 -2
- package/dist/Common/DraggableWrapper/index.d.ts +1 -1
- package/dist/Common/DraggableWrapper/types.d.ts +4 -6
- package/dist/Common/Drawer/Drawer.d.ts +4 -3
- package/dist/Common/Drawer/index.d.ts +1 -0
- package/dist/Common/EmptyState/GenericEmptyState.d.ts +2 -1
- package/dist/Common/EmptyState/GenericFilterEmptyState.d.ts +1 -1
- package/dist/Common/EmptyState/index.d.ts +2 -0
- 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 +40 -0
- package/dist/Common/GenericDescription/types.d.ts +5 -7
- package/dist/Common/GenericDescription/utils.d.ts +1 -0
- package/dist/Common/Grid/Grid.d.ts +1 -1
- package/dist/Common/Helper.d.ts +40 -12
- package/dist/Common/Hooks/UseGetUserRoles/UseGetUserRoles.d.ts +7 -0
- package/dist/Common/Hooks/UseGetUserRoles/index.d.ts +1 -0
- package/dist/Common/Hooks/UseGetUserRoles/types.d.ts +8 -0
- package/dist/Common/Hooks/UseIsTextTruncated/UseIsTextTruncated.d.ts +5 -0
- package/dist/Common/Hooks/UseIsTextTruncated/constants.d.ts +1 -0
- package/dist/Common/Hooks/UseIsTextTruncated/index.d.ts +1 -0
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutContext.d.ts +1 -1
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +1 -1
- package/dist/Common/Hooks/UseRegisterShortcut/index.d.ts +1 -0
- package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +91 -3
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +6 -0
- package/dist/Common/Hooks/index.d.ts +4 -3
- package/dist/Common/Hooks/useStateFilters/index.d.ts +1 -1
- package/dist/Common/Hooks/useStateFilters/types.d.ts +2 -2
- package/dist/Common/Hooks/useStateFilters/useStateFilters.d.ts +1 -1
- package/dist/Common/Hooks/useUrlFilters/index.d.ts +2 -1
- package/dist/Common/Hooks/useUrlFilters/types.d.ts +16 -3
- package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +1 -1
- package/dist/Common/Hooks/useUrlFilters/utils.d.ts +2 -0
- package/dist/Common/ImageTags.Types.d.ts +2 -0
- package/dist/Common/ImageTags.d.ts +2 -2
- package/dist/Common/InteractiveCellText/InteractiveCellText.d.ts +27 -0
- package/dist/Common/InteractiveCellText/index.d.ts +2 -0
- package/dist/Common/InteractiveCellText/types.d.ts +10 -0
- package/dist/Common/Markdown/MarkDown.d.ts +1 -1
- package/dist/Common/Modals/Modal.d.ts +1 -2
- package/dist/Common/Modals/VisibleModal.d.ts +9 -10
- package/dist/Common/Modals/VisibleModal2.d.ts +7 -9
- package/dist/Common/MultiSelectCustomization.d.ts +9 -7
- package/dist/Common/Pagination/PageSizeSelector.d.ts +1 -1
- package/dist/Common/Pagination/Pagination.d.ts +1 -1
- package/dist/Common/Pagination/constants.d.ts +4 -0
- package/dist/Common/Pagination/index.d.ts +1 -0
- package/dist/Common/Policy.Types.d.ts +58 -22
- package/dist/Common/PopupMenu.d.ts +2 -2
- package/dist/Common/Progressing.d.ts +1 -0
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Common/RJSF/common/FieldRow.d.ts +1 -1
- package/dist/Common/RJSF/constants.d.ts +1 -0
- package/dist/Common/RJSF/index.d.ts +3 -3
- 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 +3 -2
- package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +1 -1
- package/dist/Common/RJSF/templates/index.d.ts +1 -1
- package/dist/Common/RJSF/types.d.ts +17 -3
- package/dist/Common/RJSF/utils.d.ts +5 -11
- 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/SearchBar/types.d.ts +15 -0
- package/dist/Common/SegmentedBarChart/types.d.ts +23 -2
- package/dist/Common/SegmentedBarChart/utils.d.ts +2 -0
- package/dist/Common/SegmentedControl/Segment.d.ts +3 -0
- package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +3 -0
- package/dist/Common/SegmentedControl/constants.d.ts +3 -0
- package/dist/Common/SegmentedControl/index.d.ts +2 -0
- package/dist/Common/SegmentedControl/types.d.ts +76 -0
- package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +18 -1
- package/dist/Common/SortableTableHeaderCell/constants.d.ts +2 -0
- package/dist/Common/SortableTableHeaderCell/index.d.ts +1 -0
- package/dist/Common/SortableTableHeaderCell/types.d.ts +53 -16
- package/dist/Common/SortableTableHeaderCell/useResizableTableConfig.d.ts +6 -0
- 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/Tooltip/index.d.ts +2 -2
- package/dist/Common/Tooltip/types.d.ts +1 -7
- package/dist/Common/Types.d.ts +315 -177
- package/dist/Common/index.d.ts +39 -43
- package/dist/MMQ4R4NB-C7ZzhIbi.js +2 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/index.d.ts +1 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/utils.d.ts +3 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/DTApplicationMetricsFormField.d.ts +3 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/index.d.ts +2 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/types.d.ts +2 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/utils.d.ts +6 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/constants.d.ts +2 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/index.d.ts +5 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/service.d.ts +4 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +193 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/OverrideStrategyTippyContent.d.ts +3 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/constants.d.ts +5 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/index.d.ts +6 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +72 -0
- package/dist/Pages/{App → Applications/DevtronApps/Details}/AppConfigurations/utils.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/constants.d.ts +6 -0
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/index.d.ts +5 -0
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +9 -0
- package/dist/Pages/{CDPipeline → Applications/DevtronApps/Details/CDPipeline}/types.d.ts +44 -6
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/utils.d.ts +10 -0
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/FileConfigTippy.d.ts +2 -0
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/SystemVariableIcon.d.ts +1 -0
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/index.d.ts +2 -0
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/constants.d.ts +11 -0
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/index.d.ts +3 -0
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/services.d.ts +7 -0
- package/dist/Pages/Applications/DevtronApps/Details/index.d.ts +3 -0
- package/dist/Pages/Applications/DevtronApps/index.d.ts +1 -0
- package/dist/Pages/Applications/index.d.ts +1 -0
- package/dist/Pages/BulkEdit/index.d.ts +1 -0
- package/dist/Pages/BulkEdit/types.d.ts +50 -0
- package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +3 -2
- package/dist/Pages/GlobalConfigurations/Authorization/service.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +2 -2
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupsTable.component.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +13 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.d.ts +2 -2
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.d.ts +2 -2
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraUtilityContext.d.ts +3 -0
- package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +2 -2
- package/dist/Pages/GlobalConfigurations/BuildInfra/UseBuildInfraForm.d.ts +3 -0
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +27 -11
- package/dist/Pages/GlobalConfigurations/BuildInfra/index.d.ts +8 -3
- package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +5 -6
- package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +331 -110
- package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +10 -16
- package/dist/Pages/GlobalConfigurations/BuildInfra/validations.d.ts +11 -0
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +2 -0
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -0
- package/dist/Pages/GlobalConfigurations/DeploymentCharts/basicViewSchema.json.d.ts +27 -30
- package/dist/Pages/GlobalConfigurations/DeploymentCharts/types.d.ts +6 -8
- package/dist/Pages/GlobalConfigurations/ScopedVariables/types.d.ts +2 -2
- package/dist/Pages/GlobalConfigurations/index.d.ts +3 -2
- package/dist/Pages/ResourceBrowser/ClusterMap/ClusterMap.d.ts +2 -0
- package/dist/Pages/ResourceBrowser/ClusterMap/index.d.ts +1 -0
- package/dist/Pages/ResourceBrowser/ClusterMap/types.d.ts +27 -0
- package/dist/Pages/ResourceBrowser/ClusterMap/utils.d.ts +14 -0
- package/dist/Pages/ResourceBrowser/ForceDeleteOption.d.ts +3 -0
- package/dist/Pages/ResourceBrowser/Helper.d.ts +11 -0
- package/dist/Pages/ResourceBrowser/NodeDrainOptions.d.ts +3 -0
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +125 -2
- package/dist/Pages/ResourceBrowser/constants.d.ts +55 -0
- package/dist/Pages/ResourceBrowser/index.d.ts +7 -1
- package/dist/Pages/ResourceBrowser/service.d.ts +10 -0
- package/dist/Pages/ResourceBrowser/types.d.ts +135 -0
- package/dist/Pages/index.d.ts +2 -2
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/index.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/utils.d.ts +6 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/AutomationEnablementIcon/AutomationEnablementIcon.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/AutomationEnablementIcon/index.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/AutomationEnablementIcon/utils.d.ts +6 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/constants.d.ts +4 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +31 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/DataProtectionManagement/types.d.ts +8 -0
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalOverview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/index.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +6 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Navigation/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Navigation/types.d.ts +32 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/utils.d.ts +6 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Shared/Overview/components.d.ts +7 -0
- package/dist/Pages-Devtron-2.0/Shared/Overview/constants.d.ts +8 -0
- package/dist/Pages-Devtron-2.0/Shared/Overview/index.d.ts +3 -0
- package/dist/Pages-Devtron-2.0/Shared/Overview/types.d.ts +26 -0
- package/dist/Pages-Devtron-2.0/Shared/Routes/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Shared/Routes/routes.d.ts +569 -0
- package/dist/Pages-Devtron-2.0/Shared/index.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/index.d.ts +8 -0
- package/dist/Shared/API/APIQueuing.d.ts +1 -1
- package/dist/Shared/Analytics/analytics.d.ts +3 -0
- package/dist/Shared/Analytics/index.d.ts +2 -0
- package/dist/Shared/Analytics/types.d.ts +7 -0
- package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +1 -1
- package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +2 -0
- package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +4 -0
- package/dist/Shared/Components/AboutDevtron/index.d.ts +2 -0
- package/dist/Shared/Components/ActionMenu/ActionMenu.component.d.ts +2 -0
- package/dist/Shared/Components/ActionMenu/ActionMenuItem.d.ts +2 -0
- package/dist/Shared/Components/ActionMenu/index.d.ts +2 -0
- package/dist/Shared/Components/ActionMenu/types.d.ts +95 -0
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +302 -0
- package/dist/Shared/Components/ActionMenu/utils.d.ts +7 -0
- package/dist/Shared/Components/ActivityIndicator/ActivityIndicator.d.ts +1 -1
- package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +3 -0
- package/dist/Shared/Components/AnimatedDeployButton/index.d.ts +1 -0
- package/dist/Shared/Components/AnimatedDeployButton/types.d.ts +6 -0
- package/dist/Shared/Components/AnimatedTimer/AnimatedTimer.component.d.ts +3 -0
- package/dist/Shared/Components/AnimatedTimer/constants.d.ts +5 -0
- package/dist/Shared/Components/AnimatedTimer/index.d.ts +1 -0
- package/dist/Shared/Components/AnimatedTimer/types.d.ts +15 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +2 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusModalTabList.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/constants.d.ts +4 -0
- package/dist/Shared/Components/AppStatusModal/index.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/service.d.ts +4 -0
- package/dist/Shared/Components/AppStatusModal/types.d.ts +88 -0
- package/dist/Shared/Components/AppStatusModal/utils.d.ts +8 -0
- package/dist/Shared/Components/ArtifactInfoModal/ArtifactInfoModal.component.d.ts +1 -1
- package/dist/Shared/Components/Backdrop/Backdrop.d.ts +3 -0
- package/dist/Shared/Components/Backdrop/index.d.ts +2 -0
- package/dist/Shared/Components/Backdrop/types.d.ts +26 -0
- package/dist/Shared/Components/Backdrop/utils.d.ts +1 -0
- package/dist/Shared/Components/Badge/Badge.d.ts +3 -0
- package/dist/Shared/Components/Badge/index.d.ts +2 -0
- package/dist/Shared/Components/Badge/types.d.ts +18 -0
- package/dist/Shared/Components/Badge/utils.d.ts +8 -0
- package/dist/Shared/Components/BulkOperations/BulkOperations.component.d.ts +3 -0
- package/dist/Shared/Components/BulkOperations/BulkOperationsResultModal.d.ts +3 -0
- package/dist/Shared/Components/BulkOperations/OperationResultStore.d.ts +21 -0
- package/dist/Shared/Components/BulkOperations/constants.d.ts +13 -0
- package/dist/Shared/Components/BulkOperations/index.d.ts +2 -0
- package/dist/Shared/Components/BulkOperations/types.d.ts +69 -0
- 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/index.d.ts +1 -1
- package/dist/Shared/Components/BulkSelection/types.d.ts +18 -14
- package/dist/Shared/Components/Button/Button.component.d.ts +2 -2
- package/dist/Shared/Components/Button/constants.d.ts +1 -0
- package/dist/Shared/Components/Button/index.d.ts +1 -0
- package/dist/Shared/Components/Button/types.d.ts +70 -16
- package/dist/Shared/Components/Button/useTriggerAutoClickTimestamp.d.ts +6 -0
- package/dist/Shared/Components/Button/utils.d.ts +3 -1
- 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 +4 -0
- package/dist/Shared/Components/CICDHistory/CDEmptyState.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/CiPipelineSourceConfig.d.ts +2 -11
- package/dist/Shared/Components/CICDHistory/ConflictedResourcesTable.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/DeploymentDetailSteps.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiff.d.ts +2 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiffCompare.d.ts +2 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryDiffView.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/helpers.d.ts +5 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/index.d.ts +2 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +38 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +23 -0
- 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 +6 -0
- package/dist/Shared/Components/CICDHistory/History.components.d.ts +3 -55
- package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +2 -55
- package/dist/Shared/Components/CICDHistory/ResourceConflictDeployDialog.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/ResourceConflictDetailsModal.d.ts +3 -0
- 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 +3 -0
- package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +2 -4
- package/dist/Shared/Components/CICDHistory/WorkerStatus.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/constants.d.ts +44 -1
- package/dist/Shared/Components/CICDHistory/index.d.ts +10 -10
- package/dist/Shared/Components/CICDHistory/service.d.ts +7 -8
- package/dist/Shared/Components/CICDHistory/types.d.ts +262 -156
- package/dist/Shared/Components/CICDHistory/utils.d.ts +39 -4
- package/dist/Shared/Components/CMCS/ConfigMapSecretReadyOnly.d.ts +3 -0
- package/dist/Shared/Components/CMCS/constants.d.ts +23 -0
- package/dist/Shared/Components/CMCS/helpers.d.ts +1 -0
- package/dist/Shared/Components/CMCS/index.d.ts +6 -0
- package/dist/Shared/Components/CMCS/types.d.ts +24 -0
- package/dist/Shared/Components/CMCS/utils.d.ts +18 -0
- package/dist/Shared/Components/CMCS/validations.d.ts +3 -0
- package/dist/Shared/Components/Card/Card.component.d.ts +3 -0
- package/dist/Shared/Components/Card/constants.d.ts +4 -0
- package/dist/Shared/Components/Card/index.d.ts +2 -0
- package/dist/Shared/Components/Card/types.d.ts +25 -0
- package/dist/Shared/Components/Charts/Chart.component.d.ts +121 -0
- package/dist/Shared/Components/Charts/constants.d.ts +10 -0
- package/dist/Shared/Components/Charts/index.d.ts +4 -0
- package/dist/Shared/Components/Charts/plugins.d.ts +7 -0
- package/dist/Shared/Components/Charts/types.d.ts +133 -0
- package/dist/Shared/Components/Charts/utils.d.ts +30 -0
- package/dist/Shared/Components/Chip/Chip.component.d.ts +3 -0
- package/dist/Shared/Components/Chip/index.d.ts +2 -0
- package/dist/Shared/Components/Chip/types.d.ts +64 -0
- package/dist/Shared/Components/Chip/utils.d.ts +6 -0
- package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +3 -0
- package/dist/Shared/Components/ClusterStatusIcon/index.d.ts +1 -0
- package/dist/Shared/Components/ClusterStatusIcon/types.d.ts +5 -0
- package/dist/Shared/Components/ClusterStatusIcon/utils.d.ts +2 -0
- package/dist/Shared/Components/CodeEditor/CodeEditor.components.d.ts +11 -0
- package/dist/Shared/Components/CodeEditor/CodeEditor.constants.d.ts +10 -0
- package/dist/Shared/Components/CodeEditor/CodeEditor.context.d.ts +3 -0
- package/dist/Shared/Components/CodeEditor/CodeEditor.d.ts +14 -0
- package/dist/Shared/Components/CodeEditor/CodeEditor.theme.d.ts +4 -0
- package/dist/Shared/Components/CodeEditor/CodeEditorRenderer.d.ts +2 -0
- package/dist/Shared/Components/CodeEditor/Commands/findAndReplace.d.ts +7 -0
- package/dist/Shared/Components/CodeEditor/Commands/index.d.ts +2 -0
- package/dist/Shared/Components/CodeEditor/Commands/keyMaps.d.ts +2 -0
- package/dist/Shared/Components/CodeEditor/Extensions/DiffMinimap.d.ts +2 -0
- package/dist/Shared/Components/CodeEditor/Extensions/findAndReplace.d.ts +3 -0
- package/dist/Shared/Components/CodeEditor/Extensions/index.d.ts +5 -0
- package/dist/Shared/Components/CodeEditor/Extensions/readOnlyTooltip.d.ts +6 -0
- package/dist/Shared/Components/CodeEditor/Extensions/yamlHighlight.d.ts +2 -0
- package/dist/Shared/Components/CodeEditor/Extensions/yamlParseLinter.d.ts +3 -0
- package/dist/Shared/Components/CodeEditor/index.d.ts +2 -0
- package/dist/Shared/Components/CodeEditor/types.d.ts +116 -0
- package/dist/Shared/Components/CodeEditor/utils.d.ts +18 -0
- package/dist/Shared/Components/Collapse/Collapse.d.ts +5 -1
- package/dist/Shared/Components/CollapsibleList/CollapsibleList.component.d.ts +5 -2
- package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +47 -12
- package/dist/Shared/Components/CommitChipCell/CommitChipCell.d.ts +1 -1
- package/dist/Shared/Components/ConfirmationModal/CannotDeleteModal.d.ts +2 -0
- package/dist/Shared/Components/ConfirmationModal/ConfirmationModal.d.ts +4 -0
- package/dist/Shared/Components/ConfirmationModal/ConfirmationModalContext.d.ts +5 -0
- package/dist/Shared/Components/ConfirmationModal/DeleteConfirmationModal.d.ts +3 -0
- package/dist/Shared/Components/ConfirmationModal/ForceDeleteConfirmationModal.d.ts +2 -0
- package/dist/Shared/Components/ConfirmationModal/index.d.ts +7 -0
- package/dist/Shared/Components/ConfirmationModal/types.d.ts +143 -0
- package/dist/Shared/Components/ConfirmationModal/utils.d.ts +6 -0
- package/dist/Shared/Components/ContextSwitcher/ContextSwitcher.d.ts +2 -0
- package/dist/Shared/Components/ContextSwitcher/index.d.ts +3 -0
- package/dist/Shared/Components/ContextSwitcher/types.d.ts +15 -0
- package/dist/Shared/Components/ContextSwitcher/utils.d.ts +5 -0
- package/dist/Shared/Components/CountrySelect/CountrySelect.component.d.ts +3 -0
- package/dist/Shared/Components/CountrySelect/index.d.ts +1 -0
- package/dist/Shared/Components/CountrySelect/types.d.ts +7 -0
- package/dist/Shared/Components/CountrySelect/utils.d.ts +4 -0
- package/dist/Shared/Components/CustomInput/CustomInput.d.ts +3 -0
- package/dist/Shared/Components/CustomInput/PasswordField.d.ts +3 -0
- package/dist/Shared/Components/CustomInput/constants.d.ts +3 -0
- package/dist/Shared/Components/CustomInput/index.d.ts +3 -0
- package/dist/Shared/Components/CustomInput/types.d.ts +40 -0
- package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +3 -0
- package/dist/Shared/Components/DTFocusTrap/index.d.ts +2 -0
- package/dist/Shared/Components/DTFocusTrap/types.d.ts +34 -0
- package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +1 -1
- package/dist/Shared/Components/DatePicker/MonthlySelect.d.ts +1 -1
- package/dist/Shared/Components/DatePicker/TimeSelect.d.ts +1 -1
- package/dist/Shared/Components/DatePicker/constants.d.ts +2 -48
- package/dist/Shared/Components/DatePicker/index.d.ts +3 -4
- package/dist/Shared/Components/DatePicker/types.d.ts +35 -18
- 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/DeploymentConfigDiff.constants.d.ts +7 -0
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +59 -15
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +4 -3
- 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 +7 -0
- package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +2 -0
- package/dist/Shared/Components/DeploymentStatusBreakdown/constants.d.ts +11 -0
- package/dist/Shared/Components/DeploymentStatusBreakdown/index.d.ts +3 -0
- package/dist/Shared/Components/DeploymentStatusBreakdown/types.d.ts +25 -0
- package/dist/Shared/Components/DeploymentStatusBreakdown/utils.d.ts +25 -0
- package/dist/Shared/Components/DetectBottom/DetectBottom.component.d.ts +1 -1
- package/dist/Shared/Components/DocLink/DocLink.d.ts +2 -0
- package/dist/Shared/Components/DocLink/constants.d.ts +108 -0
- package/dist/Shared/Components/DocLink/index.d.ts +4 -0
- package/dist/Shared/Components/DocLink/types.d.ts +23 -0
- package/dist/Shared/Components/DocLink/utils.d.ts +3 -0
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableHeader.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/constants.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/index.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +180 -0
- package/dist/Shared/Components/DynamicDataTable/utils.d.ts +5 -0
- package/dist/Shared/Components/EditImageFormField/EditImageFormField.d.ts +1 -1
- package/dist/Shared/Components/EditableTextArea/EditableTextArea.d.ts +1 -1
- package/dist/Shared/Components/EditableTextArea/types.d.ts +0 -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/types.d.ts +4 -0
- package/dist/Shared/Components/Error/utils.d.ts +2 -1
- package/dist/Shared/Components/ExcludedImageNode/ExcludedImageNode.d.ts +1 -1
- package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +3 -0
- package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +3 -0
- package/dist/Shared/Components/ExportToCsv/index.d.ts +2 -0
- package/dist/Shared/Components/ExportToCsv/types.d.ts +65 -0
- 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/index.d.ts +1 -0
- package/dist/Shared/Components/FeatureDescription/types.d.ts +48 -8
- package/dist/Shared/Components/FileUpload/FileUpload.d.ts +2 -0
- package/dist/Shared/Components/FileUpload/index.d.ts +2 -0
- package/dist/Shared/Components/FileUpload/types.d.ts +8 -0
- package/dist/Shared/Components/FilterChips/FilterChips.component.d.ts +1 -1
- package/dist/Shared/Components/FilterChips/types.d.ts +2 -3
- package/dist/Shared/Components/FlagImage/FlagImage.component.d.ts +3 -0
- package/dist/Shared/Components/FlagImage/index.d.ts +1 -0
- package/dist/Shared/Components/FlagImage/types.d.ts +5 -0
- package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts +4 -0
- package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionItem.d.ts +3 -0
- package/dist/Shared/Components/FloatingVariablesSuggestions/Suggestions.d.ts +3 -0
- package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionsInfo.d.ts +2 -0
- package/dist/Shared/Components/FloatingVariablesSuggestions/constants.d.ts +4 -0
- package/dist/Shared/Components/FloatingVariablesSuggestions/index.d.ts +1 -0
- package/dist/Shared/Components/FloatingVariablesSuggestions/service.d.ts +4 -0
- package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +38 -0
- package/dist/Shared/Components/FormFieldWrapper/FormFieldInfo.d.ts +3 -0
- package/dist/Shared/Components/FormFieldWrapper/FormFieldLabel.d.ts +3 -0
- package/dist/Shared/Components/FormFieldWrapper/FormFieldWrapper.d.ts +3 -0
- package/dist/Shared/Components/FormFieldWrapper/index.d.ts +4 -0
- package/dist/Shared/Components/FormFieldWrapper/types.d.ts +71 -0
- package/dist/Shared/Components/FormFieldWrapper/utils.d.ts +17 -0
- package/dist/Shared/Components/FramerComponents/index.d.ts +2 -0
- package/dist/Shared/Components/GenericInfoCard/GenericInfoCard.component.d.ts +3 -0
- package/dist/Shared/Components/GenericInfoCard/GenericInfoCardListing.d.ts +2 -0
- package/dist/Shared/Components/GenericInfoCard/GenericInfoListSkeleton.d.ts +2 -0
- package/dist/Shared/Components/GenericInfoCard/index.d.ts +4 -0
- package/dist/Shared/Components/GenericInfoCard/types.d.ts +39 -0
- package/dist/Shared/Components/GenericInfoCard/utils.d.ts +2 -0
- package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +9 -0
- package/dist/Shared/Components/GenericModal/GenericModal.context.d.ts +6 -0
- package/dist/Shared/Components/GenericModal/constants.d.ts +3 -0
- package/dist/Shared/Components/GenericModal/index.d.ts +2 -0
- package/dist/Shared/Components/GenericModal/types.d.ts +41 -0
- package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +2 -1
- package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +38 -9
- package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +1 -1
- package/dist/Shared/Components/GettingStartedCard/types.d.ts +0 -3
- 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 +2 -0
- package/dist/Shared/Components/GitProviderIcon/index.d.ts +2 -0
- package/dist/Shared/Components/GitProviderIcon/types.d.ts +15 -0
- package/dist/Shared/Components/GitProviderIcon/utils.d.ts +3 -0
- package/dist/Shared/Components/GraphVisualizer/GraphVisualizer.d.ts +2 -0
- package/dist/Shared/Components/GraphVisualizer/components/BaseNode.d.ts +2 -0
- package/dist/Shared/Components/GraphVisualizer/components/DropdownNode.d.ts +3 -0
- package/dist/Shared/Components/GraphVisualizer/components/IconNode.d.ts +3 -0
- package/dist/Shared/Components/GraphVisualizer/components/TextNode.d.ts +3 -0
- package/dist/Shared/Components/GraphVisualizer/components/index.d.ts +4 -0
- package/dist/Shared/Components/GraphVisualizer/components/types.d.ts +19 -0
- package/dist/Shared/Components/GraphVisualizer/constants.d.ts +15 -0
- package/dist/Shared/Components/GraphVisualizer/index.d.ts +2 -0
- package/dist/Shared/Components/GraphVisualizer/types.d.ts +12 -0
- package/dist/Shared/Components/GraphVisualizer/utils.d.ts +17 -0
- package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +2 -4
- package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +10 -0
- package/dist/Shared/Components/Header/HeaderWithCreateButton/utils.d.ts +2 -0
- package/dist/Shared/Components/Header/HelpButton.d.ts +2 -0
- package/dist/Shared/Components/Header/IframePromoButton.d.ts +1 -0
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
- package/dist/Shared/Components/Header/ProfileMenu.d.ts +2 -0
- package/dist/Shared/Components/Header/constants.d.ts +5 -3
- package/dist/Shared/Components/Header/index.d.ts +2 -1
- package/dist/Shared/Components/Header/types.d.ts +36 -22
- package/dist/Shared/Components/Header/utils.d.ts +3 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +347 -0
- package/dist/Shared/Components/Icon/IconBase.d.ts +2 -0
- package/dist/Shared/Components/Icon/constants.d.ts +2 -0
- package/dist/Shared/Components/Icon/index.d.ts +1 -0
- package/dist/Shared/Components/Icon/types.d.ts +52 -0
- 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 +31 -0
- package/dist/Shared/Components/Illustration/IllustrationBase.d.ts +2 -0
- package/dist/Shared/Components/Illustration/index.d.ts +1 -0
- package/dist/Shared/Components/Illustration/types.d.ts +27 -0
- 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/DeploymentEnvState/types.d.ts +1 -1
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/SequentialCDCardTitle.d.ts +1 -1
- package/dist/Shared/Components/ImageCard/index.d.ts +1 -1
- package/dist/Shared/Components/ImageCard/types.d.ts +2 -2
- package/dist/Shared/Components/ImageCardAccordion/ImageCardAccordion.d.ts +1 -1
- package/dist/Shared/Components/ImageCardAccordion/types.d.ts +2 -3
- package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +1 -1
- package/dist/Shared/Components/ImageChipCell/types.d.ts +1 -1
- package/dist/Shared/Components/ImageWithFallback/ImageWithFallback.component.d.ts +1 -1
- package/dist/Shared/Components/ImageWithFallback/types.d.ts +2 -2
- package/dist/Shared/Components/InfoBlock/InfoBlock.component.d.ts +3 -0
- package/dist/Shared/Components/InfoBlock/constants.d.ts +8 -0
- package/dist/Shared/Components/InfoBlock/index.d.ts +2 -0
- package/dist/Shared/Components/InfoBlock/types.d.ts +40 -0
- package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
- package/dist/Shared/Components/InvalidYAMLTippy/InvalidYAMLTippyWrapper.d.ts +3 -0
- package/dist/Shared/Components/InvalidYAMLTippy/constants.d.ts +1 -0
- package/dist/Shared/Components/InvalidYAMLTippy/index.d.ts +3 -0
- package/dist/Shared/Components/InvalidYAMLTippy/types.d.ts +13 -0
- package/dist/Shared/Components/InvalidYAMLTippy/utils.d.ts +2 -0
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +75 -78
- package/dist/Shared/Components/KeyValueTable/index.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/utils.d.ts +13 -0
- package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +3 -0
- package/dist/Shared/Components/KeyboardShortcut/constants.d.ts +3 -0
- package/dist/Shared/Components/KeyboardShortcut/index.d.ts +1 -0
- package/dist/Shared/Components/KeyboardShortcut/types.d.ts +4 -0
- package/dist/Shared/Components/License/ActivateLicenseDialog.d.ts +3 -0
- package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +3 -0
- package/dist/Shared/Components/License/License.components.d.ts +5 -0
- package/dist/Shared/Components/License/constants.d.ts +1 -0
- package/dist/Shared/Components/License/index.d.ts +6 -0
- package/dist/Shared/Components/License/services.d.ts +1 -0
- package/dist/Shared/Components/License/types.d.ts +45 -0
- package/dist/Shared/Components/License/utils.d.ts +9 -0
- package/dist/Shared/Components/LoadingCard.d.ts +5 -0
- package/dist/Shared/Components/LoginBanner/LoginBanner.d.ts +2 -0
- package/dist/Shared/Components/LoginBanner/Testimonials.components.d.ts +3 -0
- package/dist/Shared/Components/LoginBanner/constants.d.ts +4 -0
- package/dist/Shared/Components/LoginBanner/index.d.ts +3 -0
- package/dist/Shared/Components/LoginBanner/types.d.ts +7 -0
- package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +1 -1
- package/dist/Shared/Components/MaterialHistory/types.d.ts +1 -2
- package/dist/Shared/Components/ModalSidebarPanel/ModalSidebarPanel.component.d.ts +1 -1
- package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +4 -3
- package/dist/Shared/Components/NumbersCount/NumbersCount.component.d.ts +3 -0
- package/dist/Shared/Components/NumbersCount/index.d.ts +2 -0
- package/dist/Shared/Components/NumbersCount/types.d.ts +13 -0
- package/dist/Shared/Components/PhoneInput/PhoneInput.component.d.ts +3 -0
- package/dist/Shared/Components/PhoneInput/index.d.ts +1 -0
- package/dist/Shared/Components/PhoneInput/types.d.ts +11 -0
- 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/index.d.ts +4 -4
- package/dist/Shared/Components/Plugin/service.d.ts +3 -3
- package/dist/Shared/Components/Plugin/types.d.ts +33 -12
- package/dist/Shared/Components/Plugin/utils.d.ts +0 -16
- package/dist/Shared/Components/Popover/Popover.component.d.ts +8 -0
- package/dist/Shared/Components/Popover/index.d.ts +3 -0
- package/dist/Shared/Components/Popover/types.d.ts +121 -0
- package/dist/Shared/Components/Popover/usePopover.hook.d.ts +2 -0
- package/dist/Shared/Components/Popover/utils.d.ts +92 -0
- package/dist/Shared/Components/PortalContainer/PortalContainer.d.ts +5 -0
- package/dist/Shared/Components/PortalContainer/index.d.ts +1 -0
- package/dist/Shared/Components/ProgressBar/ProgressBar.component.d.ts +2 -0
- package/dist/Shared/Components/ProgressBar/index.d.ts +1 -0
- package/dist/Shared/Components/ProgressBar/types.d.ts +9 -0
- package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +3 -0
- package/dist/Shared/Components/PrometheusConfigurations/index.d.ts +2 -0
- package/dist/Shared/Components/PrometheusConfigurations/types.d.ts +20 -0
- package/dist/Shared/Components/QRCode.d.ts +10 -0
- package/dist/Shared/Components/ReactSelect/constants.d.ts +18 -14
- package/dist/Shared/Components/ReactSelect/index.d.ts +1 -1
- package/dist/Shared/Components/ReactSelect/utils.d.ts +7 -32
- package/dist/Shared/Components/RegistryIcon/RegistryIcon.d.ts +2 -0
- package/dist/Shared/Components/RegistryIcon/constants.d.ts +2 -0
- package/dist/Shared/Components/RegistryIcon/index.d.ts +2 -0
- package/dist/Shared/Components/RegistryIcon/types.d.ts +25 -0
- package/dist/Shared/Components/SSOProviderIcon/SSOProviderIcon.d.ts +2 -0
- package/dist/Shared/Components/SSOProviderIcon/index.d.ts +2 -0
- package/dist/Shared/Components/SSOProviderIcon/types.d.ts +10 -0
- package/dist/Shared/Components/ScannedByToolModal/types.d.ts +2 -1
- package/dist/Shared/Components/Security/SecurityDetailsCards/ReportTabEmptyState.d.ts +2 -0
- package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityCard.d.ts +3 -0
- package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityDetailsCards.d.ts +3 -0
- package/dist/Shared/Components/Security/SecurityDetailsCards/index.d.ts +3 -0
- package/dist/Shared/Components/Security/SecurityDetailsCards/types.d.ts +18 -0
- package/dist/Shared/Components/Security/SecurityModal/components/OpenDetailViewButton.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/components/index.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +6 -98
- package/dist/Shared/Components/Security/SecurityModal/config/EmptyState.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +3 -2
- package/dist/Shared/Components/Security/SecurityModal/config/InfoCard.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/config/KubernetesManifest.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/config/Sidebar.d.ts +6 -2
- package/dist/Shared/Components/Security/SecurityModal/config/Table.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/config/index.d.ts +3 -2
- package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +19 -17
- package/dist/Shared/Components/Security/SecurityModal/index.d.ts +6 -5
- package/dist/Shared/Components/Security/SecurityModal/service.d.ts +6 -2
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +77 -43
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +10 -11
- package/dist/Shared/Components/Security/SeverityChip.d.ts +6 -0
- package/dist/Shared/Components/Security/Vulnerabilities/Vulnerabilities.d.ts +1 -1
- package/dist/Shared/Components/Security/Vulnerabilities/index.d.ts +1 -1
- package/dist/Shared/Components/Security/Vulnerabilities/types.d.ts +2 -18
- package/dist/Shared/Components/Security/Vulnerabilities/utils.d.ts +0 -5
- package/dist/Shared/Components/Security/constants.d.ts +4 -0
- package/dist/Shared/Components/Security/index.d.ts +5 -2
- package/dist/Shared/Components/Security/types.d.ts +33 -0
- package/dist/Shared/Components/Security/utils.d.ts +8 -4
- package/dist/Shared/Components/SelectPicker/FilterSelectPicker.d.ts +2 -2
- package/dist/Shared/Components/SelectPicker/GroupedFilterSelectPicker.d.ts +2 -0
- package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +6 -7
- package/dist/Shared/Components/SelectPicker/SelectPickerTextArea.component.d.ts +2 -0
- package/dist/Shared/Components/SelectPicker/common.d.ts +15 -11
- package/dist/Shared/Components/SelectPicker/constants.d.ts +6 -0
- package/dist/Shared/Components/SelectPicker/index.d.ts +5 -2
- package/dist/Shared/Components/SelectPicker/type.d.ts +122 -34
- package/dist/Shared/Components/SelectPicker/utils.d.ts +4 -2
- package/dist/Shared/Components/ShowMoreText/ShowMoreText.d.ts +3 -1
- package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +2 -0
- package/dist/Shared/Components/SideNavigation/index.d.ts +2 -0
- package/dist/Shared/Components/SideNavigation/types.d.ts +19 -0
- package/dist/Shared/Components/StatusComponent/AppStatus.d.ts +2 -0
- package/dist/Shared/Components/StatusComponent/DeploymentStatus.d.ts +2 -0
- package/dist/Shared/Components/StatusComponent/StatusComponent.d.ts +2 -0
- package/dist/Shared/Components/StatusComponent/constants.d.ts +7 -0
- package/dist/Shared/Components/StatusComponent/index.d.ts +5 -0
- package/dist/Shared/Components/StatusComponent/types.d.ts +49 -0
- package/dist/Shared/Components/StatusComponent/utils.d.ts +5 -0
- package/dist/Shared/Components/Switch/Switch.component.d.ts +3 -0
- package/dist/Shared/Components/Switch/constants.d.ts +14 -0
- package/dist/Shared/Components/Switch/index.d.ts +2 -0
- package/dist/Shared/Components/Switch/types.d.ts +111 -0
- package/dist/Shared/Components/Switch/utils.d.ts +12 -0
- package/dist/Shared/Components/SwitchThemeDialog/SwitchThemeDialog.component.d.ts +3 -0
- package/dist/Shared/Components/SwitchThemeDialog/index.d.ts +2 -0
- package/dist/Shared/Components/SwitchThemeDialog/types.d.ts +35 -0
- package/dist/Shared/Components/TabGroup/TabGroup.component.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +6 -6
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +46 -11
- package/dist/Shared/Components/TabGroup/TabGroup.utils.d.ts +3 -1
- package/dist/Shared/Components/Table/BulkSelectionActionWidget.d.ts +3 -0
- package/dist/Shared/Components/Table/InternalTable.d.ts +3 -0
- package/dist/Shared/Components/Table/Table.component.d.ts +3 -0
- package/dist/Shared/Components/Table/TableContent.d.ts +3 -0
- package/dist/Shared/Components/Table/constants.d.ts +9 -0
- package/dist/Shared/Components/Table/index.d.ts +3 -0
- package/dist/Shared/Components/Table/types.d.ts +240 -0
- package/dist/Shared/Components/Table/useTableWithKeyboardShortcuts.d.ts +11 -0
- package/dist/Shared/Components/Table/utils.d.ts +11 -0
- package/dist/Shared/Components/TagsKeyValueTable/TagsContainer.d.ts +3 -0
- package/dist/Shared/Components/TagsKeyValueTable/constants.d.ts +4 -0
- package/dist/Shared/Components/TagsKeyValueTable/index.d.ts +4 -0
- package/dist/Shared/Components/TagsKeyValueTable/types.d.ts +12 -0
- package/dist/Shared/Components/TagsKeyValueTable/utils.d.ts +3 -0
- package/dist/Shared/Components/TargetPlatforms/TargetPlatformBadgeList.d.ts +3 -0
- package/dist/Shared/Components/TargetPlatforms/TargetPlatformListTooltip.d.ts +3 -0
- package/dist/Shared/Components/TargetPlatforms/index.d.ts +3 -0
- package/dist/Shared/Components/TargetPlatforms/types.d.ts +6 -0
- package/dist/Shared/Components/TempAppWindow/TempAppWindow.d.ts +1 -0
- package/dist/Shared/Components/TempAppWindow/index.d.ts +1 -0
- package/dist/Shared/Components/Textarea/Textarea.component.d.ts +3 -0
- package/dist/Shared/Components/Textarea/constants.d.ts +4 -0
- package/dist/Shared/Components/Textarea/index.d.ts +2 -0
- package/dist/Shared/Components/Textarea/types.d.ts +37 -0
- package/dist/Shared/Components/Textarea/utils.d.ts +5 -0
- package/dist/Shared/Components/ThemeSwitcher/ThemeSwitcher.component.d.ts +3 -0
- package/dist/Shared/Components/ThemeSwitcher/index.d.ts +1 -0
- package/dist/Shared/Components/ThemeSwitcher/types.d.ts +3 -0
- package/dist/Shared/Components/ToggleResolveScopedVariables/ToggleResolveScopedVariables.component.d.ts +3 -0
- package/dist/Shared/Components/ToggleResolveScopedVariables/index.d.ts +1 -0
- package/dist/Shared/Components/ToggleResolveScopedVariables/types.d.ts +10 -0
- package/dist/Shared/Components/TrailingItem/TrailingItem.component.d.ts +3 -0
- package/dist/Shared/Components/TrailingItem/index.d.ts +2 -0
- package/dist/Shared/Components/TrailingItem/types.d.ts +43 -0
- package/dist/Shared/Components/TreeView/TreeView.component.d.ts +3 -0
- package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +3 -0
- package/dist/Shared/Components/TreeView/constants.d.ts +7 -0
- package/dist/Shared/Components/TreeView/index.d.ts +2 -0
- package/dist/Shared/Components/TreeView/types.d.ts +218 -0
- package/dist/Shared/Components/TreeView/utils.d.ts +22 -0
- package/dist/Shared/Components/Typewriter/BlinkingCursor.d.ts +1 -0
- package/dist/Shared/Components/Typewriter/index.d.ts +2 -0
- package/dist/Shared/Components/Typewriter/useTypewriter.d.ts +1 -0
- package/dist/Shared/Components/UnsavedChanges/UnsavedChanges.component.d.ts +2 -0
- package/dist/Shared/Components/UnsavedChanges/index.d.ts +1 -0
- package/dist/Shared/Components/UnsavedChangesDialog/UnsavedChangesDialog.component.d.ts +3 -0
- package/dist/Shared/Components/UnsavedChangesDialog/index.d.ts +1 -0
- package/dist/Shared/Components/UnsavedChangesDialog/types.d.ts +4 -0
- package/dist/Shared/Components/UserIdentifier/UserIdentifier.d.ts +2 -0
- package/dist/Shared/Components/UserIdentifier/index.d.ts +2 -0
- package/dist/Shared/Components/UserIdentifier/types.d.ts +16 -0
- package/dist/Shared/Components/VirtualizedList/VirtualizedList.component.d.ts +2 -0
- package/dist/Shared/Components/VirtualizedList/VirtualizedList.constants.d.ts +2 -0
- package/dist/Shared/Components/VirtualizedList/VirtualizedList.types.d.ts +36 -0
- package/dist/Shared/Components/VirtualizedList/index.d.ts +2 -0
- package/dist/Shared/Components/WorkflowOptionsModal/SourceTypeCard.d.ts +3 -0
- package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +3 -0
- package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +88 -0
- package/dist/Shared/Components/WorkflowOptionsModal/index.d.ts +2 -0
- package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +27 -0
- package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +25 -0
- package/dist/Shared/Components/index.d.ts +92 -29
- package/dist/Shared/Helpers.d.ts +66 -10
- package/dist/Shared/Hooks/UseDownload/UseDownload.d.ts +2 -6
- package/dist/Shared/Hooks/UseDownload/index.d.ts +1 -1
- package/dist/Shared/Hooks/UseDownload/types.d.ts +13 -0
- package/dist/Shared/Hooks/UsePrompt/UsePrompt.d.ts +1 -2
- package/dist/Shared/Hooks/UsePrompt/types.d.ts +1 -0
- package/dist/Shared/Hooks/index.d.ts +6 -2
- package/dist/Shared/Hooks/useForm/useForm.d.ts +47 -27
- package/dist/Shared/Hooks/useForm/useForm.types.d.ts +15 -8
- package/dist/Shared/Hooks/useForm/useForm.utils.d.ts +1 -1
- package/dist/Shared/Hooks/useGetResourceKindsOptions/index.d.ts +2 -1
- package/dist/Shared/Hooks/useGetResourceKindsOptions/service.d.ts +0 -6
- package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +6 -16
- package/dist/Shared/Hooks/useIsSecureConnection/index.d.ts +1 -0
- package/dist/Shared/Hooks/useIsSecureConnection/useIsSecureConnection.d.ts +1 -0
- package/dist/Shared/Hooks/useOneTimePrompt/constants.d.ts +1 -0
- package/dist/Shared/Hooks/useOneTimePrompt/index.d.ts +1 -0
- package/dist/Shared/Hooks/useOneTimePrompt/types.d.ts +3 -0
- package/dist/Shared/Hooks/useOneTimePrompt/useOneTimePrompt.d.ts +6 -0
- package/dist/Shared/Hooks/useStickyEvent/constants.d.ts +4 -0
- package/dist/Shared/Hooks/useStickyEvent/index.d.ts +1 -0
- package/dist/Shared/Hooks/useStickyEvent/types.d.ts +32 -0
- package/dist/Shared/Hooks/useStickyEvent/useStickyEvent.d.ts +8 -0
- package/dist/Shared/Hooks/useStickyEvent/utils.d.ts +2 -0
- package/dist/Shared/Hooks/useUserPreferences/constants.d.ts +3 -0
- package/dist/Shared/Hooks/useUserPreferences/index.d.ts +4 -0
- package/dist/Shared/Hooks/useUserPreferences/service.d.ts +20 -0
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +127 -0
- package/dist/Shared/Hooks/useUserPreferences/useUserPrefrences.d.ts +12 -0
- package/dist/Shared/Hooks/useUserPreferences/utils.d.ts +3 -0
- package/dist/Shared/Providers/ImageSelectionUtility/ImageSelectionUtility.d.ts +1 -1
- package/dist/Shared/Providers/{MainContextProvider.d.ts → MainContextProvider/MainContextProvider.d.ts} +1 -1
- package/dist/Shared/Providers/MainContextProvider/index.d.ts +3 -0
- package/dist/Shared/Providers/MainContextProvider/types.d.ts +185 -0
- package/dist/Shared/Providers/ThemeProvider/ThemeProvider.d.ts +3 -0
- package/dist/Shared/Providers/ThemeProvider/constants.d.ts +2 -0
- package/dist/Shared/Providers/ThemeProvider/index.d.ts +4 -0
- package/dist/Shared/Providers/ThemeProvider/types.d.ts +41 -0
- package/dist/Shared/Providers/ThemeProvider/utils.d.ts +8 -0
- package/dist/Shared/Providers/UserEmailProvider/UserEmailProvider.d.ts +3 -3
- package/dist/Shared/Providers/UserEmailProvider/index.d.ts +1 -1
- package/dist/Shared/Providers/index.d.ts +2 -1
- package/dist/Shared/Services/ToastManager/ToastContent.d.ts +3 -2
- package/dist/Shared/Services/ToastManager/constants.d.ts +3 -3
- package/dist/Shared/Services/ToastManager/index.d.ts +1 -1
- package/dist/Shared/Services/ToastManager/types.d.ts +26 -6
- package/dist/Shared/Services/app.service.d.ts +11 -4
- package/dist/Shared/Services/app.types.d.ts +156 -34
- package/dist/Shared/Services/common.service.d.ts +7 -1
- package/dist/Shared/Services/index.d.ts +4 -2
- package/dist/Shared/Services/template.service.d.ts +2 -0
- package/dist/Shared/Services/types.d.ts +28 -1
- package/dist/Shared/Store/IndexStore.d.ts +2 -1
- package/dist/Shared/constants.d.ts +79 -68
- package/dist/Shared/index.d.ts +6 -5
- package/dist/Shared/types.d.ts +784 -31
- package/dist/Shared/validations.d.ts +22 -1
- package/dist/V4HPSUGU-BVMnhgRJ.js +2 -0
- package/dist/assets/@code-editor.css +1 -0
- package/dist/assets/@common-rjsf.css +1 -0
- package/dist/assets/@vendor.css +1 -0
- package/dist/assets/DeployAudio.566e45df.mp3 +0 -0
- package/dist/assets/create-backup-schedule.bbac4a86.webp +0 -0
- package/dist/assets/create-backup-snapshot.c794f612.webp +0 -0
- package/dist/assets/empty-create.661d9355.png +0 -0
- package/dist/assets/ic-loading-failure.aa68693d.png +0 -0
- package/dist/assets/img-code.fa00ae8e.webp +0 -0
- package/dist/assets/img-devtron-freemium.d0657c61.webp +0 -0
- package/dist/assets/img-man-on-rocket.ab6bef97.webp +0 -0
- package/dist/assets/img-no-result.51284acb.webp +0 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/lifebuoy.7d8fdf27.png +0 -0
- package/dist/assets/login-screen-ui.a33a6496.webp +0 -0
- package/dist/assets/no-artifact.fd2d84d9.webp +0 -0
- package/dist/assets/no-cluster-cost-enabled.038c73db.webp +0 -0
- package/dist/index.d.ts +141 -12
- package/dist/index.js +28882 -564
- package/dist/javascript-CP782ZPa.js +2 -0
- package/dist/rolldown-runtime-BETGA6I9.js +23 -0
- package/dist/vitesse-dark-XJRLdhTE.js +2 -0
- package/dist/vitesse-light-DS2ELujL.js +2 -0
- package/package.json +83 -48
- package/dist/Common/Api.d.ts +0 -15
- package/dist/Common/AppStatus/AppStatus.d.ts +0 -2
- package/dist/Common/AppStatus/constants.d.ts +0 -36
- package/dist/Common/AppStatus/index.d.ts +0 -2
- package/dist/Common/AppStatus/types.d.ts +0 -12
- package/dist/Common/AppStatus/utils.d.ts +0 -1
- package/dist/Common/Checkbox.d.ts +0 -5
- package/dist/Common/CodeEditor/CodeEditor.d.ts +0 -4
- package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +0 -35
- package/dist/Common/CodeEditor/index.d.ts +0 -2
- package/dist/Common/CodeEditor/types.d.ts +0 -98
- package/dist/Common/CustomInput/CustomInput.d.ts +0 -2
- package/dist/Common/CustomInput/Types.d.ts +0 -30
- package/dist/Common/CustomInput/index.d.ts +0 -2
- package/dist/Common/CustomTagSelector/TagLabelSelect.d.ts +0 -2
- package/dist/Common/CustomTagSelector/TagSelector.utils.d.ts +0 -12
- package/dist/Common/DeleteComponentModal/DeleteComponent.d.ts +0 -3
- package/dist/Common/DeleteComponentModal/types.d.ts +0 -18
- package/dist/Common/Dialogs/ConfirmationDialog.d.ts +0 -8
- package/dist/Common/Dialogs/DeleteDialog.d.ts +0 -5
- package/dist/Common/Dialogs/ForceDeleteDialog.d.ts +0 -2
- package/dist/Common/Hooks/UseSuperAdmin/UseSuperAdmin.d.ts +0 -6
- package/dist/Common/Hooks/UseSuperAdmin/types.d.ts +0 -3
- package/dist/Common/InfoColorBar/InfoColourbar.d.ts +0 -3
- package/dist/Common/Markdown/constant.d.ts +0 -28
- package/dist/Common/ResizableTextarea.d.ts +0 -3
- package/dist/Common/Toggle/Toggle.d.ts +0 -12
- package/dist/Common/utils.d.ts +0 -1
- package/dist/Pages/App/AppConfigurations/index.d.ts +0 -1
- package/dist/Pages/App/index.d.ts +0 -1
- package/dist/Shared/Components/AnnouncementBanner/AnnouncementBanner.d.ts +0 -6
- package/dist/Shared/Components/AnnouncementBanner/index.d.ts +0 -1
- package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryConfigList.component.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDetailedView.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryHeader.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistorySidebar.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/index.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/types.d.ts +0 -35
- package/dist/Shared/Components/CICDHistory/ErrorInfoStatusBar.d.ts +0 -2
- package/dist/Shared/Components/DatePicker/SingleDatePickerComponent.d.ts +0 -11
- package/dist/Shared/Components/Header/HelpNav.d.ts +0 -3
- package/dist/Shared/Components/KeyValueList/KeyValueList.d.ts +0 -3
- package/dist/Shared/Components/KeyValueList/constants.d.ts +0 -5
- package/dist/Shared/Components/KeyValueList/index.d.ts +0 -2
- package/dist/Shared/Components/KeyValueList/types.d.ts +0 -52
- package/dist/Shared/Components/LogoutCard.d.ts +0 -9
- package/dist/Shared/Components/Security/SecuritySummaryCard/SecuritySummaryCard.d.ts +0 -3
- package/dist/Shared/Components/Security/SecuritySummaryCard/index.d.ts +0 -1
- package/dist/Shared/Components/Security/SecuritySummaryCard/types.d.ts +0 -12
- package/dist/Shared/Providers/types.d.ts +0 -29
- package/dist/Shared/Services/ToastManager/toastManager.service.d.ts +0 -80
- package/dist/abap-DttVK1gE.js +0 -1314
- package/dist/apex-BjfHvyb2.js +0 -315
- package/dist/azcli-Ws-Trf8e.js +0 -74
- package/dist/bat-CeCHpU9_.js +0 -95
- package/dist/bicep-C7a7aEmi.js +0 -108
- package/dist/cameligo-CJeEIvX4.js +0 -168
- package/dist/clojure-CEKXhLdU.js +0 -754
- package/dist/coffee-CKu3e6V1.js +0 -228
- package/dist/cpp-CvUiT5Ec.js +0 -390
- package/dist/csharp-PmU9HJkB.js +0 -320
- package/dist/csp-DULvRLPF.js +0 -57
- package/dist/css-CNWXQPpt.js +0 -186
- package/dist/cssMode-BKAw6Gjy.js +0 -1446
- package/dist/cypher-CYHOQS2R.js +0 -262
- package/dist/dart-BjGx-9Jk.js +0 -270
- package/dist/dockerfile-D0WaVIZ2.js +0 -132
- package/dist/ecl-CijaJu-p.js +0 -454
- package/dist/elixir-BI5Tc37S.js +0 -489
- package/dist/flow9-BApGtQOO.js +0 -141
- package/dist/freemarker2-CaToeyV1.js +0 -643
- package/dist/fsharp-VeKgt2eG.js +0 -210
- package/dist/go-Cl8cKDlN.js +0 -208
- package/dist/graphql-PfgPBmj4.js +0 -141
- package/dist/handlebars-BcuRt7Wx.js +0 -391
- package/dist/hcl-CG4VZSkm.js +0 -177
- package/dist/html-BHs6br3H.js +0 -281
- package/dist/htmlMode-BHPPU3R8.js +0 -1456
- package/dist/index-ByQvKL1i.js +0 -155495
- package/dist/ini-EhiBNPZF.js +0 -68
- package/dist/java-DPbnXhoY.js +0 -221
- package/dist/javascript-CgB6Ukwh.js +0 -75
- package/dist/jsonMode-BQ72p6WC.js +0 -1866
- package/dist/julia-Bw7EYexg.js +0 -496
- package/dist/kotlin-BNXLDoV0.js +0 -245
- package/dist/less-DtuF_id_.js +0 -168
- package/dist/lexon-DpB0-37O.js +0 -151
- package/dist/liquid-BSnWNlwJ.js +0 -238
- package/dist/lua-CzRNOk9S.js +0 -157
- package/dist/m3-pXPmDwal.js +0 -210
- package/dist/markdown-CeQ3rxjn.js +0 -202
- package/dist/mdx-CmG3JYo6.js +0 -171
- package/dist/mips-DyE0VSNz.js +0 -194
- package/dist/msdax-CbdkoqRa.js +0 -377
- package/dist/mysql-B86-uHNu.js +0 -876
- package/dist/objective-c-1xvkKPId.js +0 -188
- package/dist/pascal-DcyFhj80.js +0 -245
- package/dist/pascaligo-QnM0hvMG.js +0 -158
- package/dist/perl-Bqp3FbU4.js +0 -599
- package/dist/pgsql-HdG7BG_Z.js +0 -847
- package/dist/php-zf7L2p7t.js +0 -471
- package/dist/pla-3Ykqsyzl.js +0 -131
- package/dist/postiats-D1v08O4B.js +0 -544
- package/dist/powerquery-CiQ9b1-b.js +0 -890
- package/dist/powershell-DFNK6VaX.js +0 -233
- package/dist/protobuf-D5P2Z6tc.js +0 -422
- package/dist/pug-BeyMX5am.js +0 -393
- package/dist/python-DsZUSBx9.js +0 -259
- package/dist/qsharp-DcFOTjuP.js +0 -282
- package/dist/r-B3aJPcWp.js +0 -245
- package/dist/razor-DMf-FT32.js +0 -512
- package/dist/redis-CyC__Tub.js +0 -298
- package/dist/redshift-NqbcQPcY.js +0 -806
- package/dist/restructuredtext-CZMxBkap.js +0 -162
- package/dist/ruby-C_jEtDv5.js +0 -444
- package/dist/rust-WAeitMCC.js +0 -337
- package/dist/sb-CSBm2pED.js +0 -110
- package/dist/scala-D76PhKmh.js +0 -353
- package/dist/scheme-CBSAjRuO.js +0 -114
- package/dist/scss-BHY8wFFg.js +0 -244
- package/dist/shell-Cwju9_l8.js +0 -224
- package/dist/solidity-BV1-nze3.js +0 -1351
- package/dist/sophia-DfoUlGAs.js +0 -190
- package/dist/sparql-4kfArTtK.js +0 -193
- package/dist/sql-DIpn0HSX.js +0 -818
- package/dist/st-BgJ_KDZh.js +0 -415
- package/dist/swift-D-ucEgIi.js +0 -315
- package/dist/systemverilog-DjkH5zuo.js +0 -556
- package/dist/tcl-gd8XLKJA.js +0 -232
- package/dist/tsMode-DpDNESk7.js +0 -810
- package/dist/twig-D5XtTFGM.js +0 -323
- package/dist/typescript-fK9cd2PO.js +0 -328
- package/dist/vb-DYqqYAf3.js +0 -364
- package/dist/wgsl-CkZE0qf3.js +0 -420
- package/dist/xml-DbdPKzSs.js +0 -95
- package/dist/yaml-Dn628uiu.js +0 -184
- package/dist/yaml.worker.d.ts +0 -0
- /package/dist/{Pages/CDPipeline → Pages-Devtron-2.0/DataProtectionManagement}/index.d.ts +0 -0
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SeveritiesDTO } from './SecurityModal
|
|
3
|
-
|
|
4
|
-
export declare const getSeverityCountFromSummary: (scanResultSeverities: Partial<Record<SeveritiesDTO, number>>) => SeverityCount;
|
|
1
|
+
import { ImageScanLicenseListType, ImageScanVulnerabilityListType, StatusType } from './SecurityModal/types';
|
|
2
|
+
import { ScanResultDTO, SeveritiesDTO } from './SecurityModal';
|
|
3
|
+
import { CategoriesConfig, SecurityConfigType } from './types';
|
|
5
4
|
export declare const getCVEUrlFromCVEName: (cveName: string) => string;
|
|
5
|
+
export declare const getTotalSeverities: (severityCount: Partial<Record<SeveritiesDTO, number>>) => number;
|
|
6
|
+
export declare const getSecurityConfig: ({ imageScan, codeScan, kubernetesManifest, }: CategoriesConfig) => SecurityConfigType;
|
|
7
|
+
export declare const getCompiledSecurityThreats: (scanResult: ScanResultDTO) => Partial<Record<SeveritiesDTO, number>>;
|
|
8
|
+
export declare const getStatusForScanList: (scanList: ImageScanVulnerabilityListType[] | ImageScanLicenseListType[]) => StatusType["status"];
|
|
9
|
+
export declare const getSecurityScanStatus: (scanResult: ScanResultDTO) => StatusType["status"];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FilterSelectPickerProps } from './type';
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
2
|
+
declare const FilterSelectPickerWrapper: (props: FilterSelectPickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default FilterSelectPickerWrapper;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { GroupedFilterSelectPickerProps } from './type';
|
|
2
|
+
export declare const GroupedFilterSelectPicker: <T extends string | number>({ id, filterSelectPickerPropsMap, isFilterApplied, ...restProps }: GroupedFilterSelectPickerProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -37,16 +37,15 @@ import { SelectPickerProps } from './type';
|
|
|
37
37
|
* <SelectPicker ... helperText="Help information" />
|
|
38
38
|
* ```
|
|
39
39
|
*
|
|
40
|
-
* @example Menu list footer
|
|
40
|
+
* @example Menu list footer config
|
|
41
41
|
* The footer is sticky by default
|
|
42
42
|
* ```tsx
|
|
43
43
|
* <SelectPicker
|
|
44
44
|
* ...
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* )}
|
|
45
|
+
* menuListFooterConfig={{
|
|
46
|
+
* type: 'text',
|
|
47
|
+
* value: 'Info text',
|
|
48
|
+
* }}
|
|
50
49
|
* />
|
|
51
50
|
* ```
|
|
52
51
|
*
|
|
@@ -134,5 +133,5 @@ import { SelectPickerProps } from './type';
|
|
|
134
133
|
* />
|
|
135
134
|
* ```
|
|
136
135
|
*/
|
|
137
|
-
declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, menuPosition, variant, disableDescriptionEllipsis, multiSelectProps, isMulti, name, classNamePrefix, shouldRenderCustomOptions, isSearchable, selectRef, shouldMenuAlignRight, fullWidth, customSelectedOptionsCount,
|
|
136
|
+
declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, keyboardShortcut, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, menuPosition, variant, disableDescriptionEllipsis, isUserIdentifier, multiSelectProps, isMulti, name, classNamePrefix, shouldRenderCustomOptions, isSearchable, selectRef: refFromConsumer, shouldMenuAlignRight, fullWidth, customSelectedOptionsCount, menuListFooterConfig, isCreatable, onCreateOption, closeMenuOnSelect: _closeMenuOnSelect, shouldShowNoOptionsMessage, shouldRenderTextArea, onKeyDown, shouldHideMenu, warningText, layout, ariaLabel, borderConfig, borderRadiusConfig, labelTippyCustomizedConfig, labelTooltipConfig, hideFormFieldInfo, autoFocus, showCheckboxForMultiSelect, ...props }: SelectPickerProps<OptionValue, IsMulti>) => import("react/jsx-runtime").JSX.Element;
|
|
138
137
|
export default SelectPicker;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { SelectPickerTextAreaProps } from './type';
|
|
2
|
+
export declare const SelectPickerTextArea: ({ value, options, isCreatable, onChange, minHeight, maxHeight, refVar, dependentRefs, filterOption: filterOptionProp, ...props }: SelectPickerTextAreaProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ClearIndicatorProps, ControlProps, DropdownIndicatorProps, InputProps, MenuListProps, MultiValueProps, OptionProps, ValueContainerProps } from 'react-select';
|
|
2
|
+
import { TooltipProps } from '../../../Common/Tooltip';
|
|
2
3
|
import { SelectPickerGroupHeadingProps, SelectPickerOptionType, SelectPickerProps } from './type';
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
4
|
+
export declare const getTooltipProps: (tooltipProps?: SelectPickerOptionType["tooltipProps"]) => TooltipProps;
|
|
5
|
+
export declare const SelectPickerDropdownIndicator: <OptionValue>(props: DropdownIndicatorProps<SelectPickerOptionType<OptionValue>>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const SelectPickerClearIndicator: <OptionValue>(props: ClearIndicatorProps<SelectPickerOptionType<OptionValue>>) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const SelectPickerControl: <OptionValue>(props: ControlProps<SelectPickerOptionType<OptionValue>>) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const SelectPickerInput: <OptionValue>(props: InputProps<SelectPickerOptionType<OptionValue>>) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const SelectPickerValueContainer: <OptionValue, IsMulti extends boolean>({ showSelectedOptionsCount, customSelectedOptionsCount, ...props }: ValueContainerProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "showSelectedOptionsCount" | "customSelectedOptionsCount">) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const SelectPickerOption: <OptionValue, IsMulti extends boolean>({ disableDescriptionEllipsis, isUserIdentifier, ...props }: OptionProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "disableDescriptionEllipsis" | "isUserIdentifier">) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const SelectPickerMenuListFooter: ({ menuListFooterConfig, }: Required<Pick<SelectPickerProps, "menuListFooterConfig">>) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const SelectPickerMenuList: <OptionValue>(props: MenuListProps<SelectPickerOptionType<OptionValue>>) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const SelectPickerMultiValue: <OptionValue, IsMulti extends boolean>({ getIsOptionValid, ...props }: MultiValueProps<SelectPickerOptionType<OptionValue>, true> & Pick<SelectPickerProps<OptionValue, IsMulti>["multiSelectProps"], "getIsOptionValid">) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const SelectPickerGroupHeading: <OptionValue>({ isGroupHeadingSelectable, ...props }: SelectPickerGroupHeadingProps<OptionValue>) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const renderLoadingMessage: () => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const ValueContainerWithLoadingShimmer: (props: ValueContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { SelectPickerProps } from './type';
|
|
3
|
+
export declare const SELECT_PICKER_FONT_SIZE_MAP: Record<SelectPickerProps['size'], CSSProperties['fontSize']>;
|
|
4
|
+
export declare const SELECT_PICKER_ICON_SIZE_MAP: Record<SelectPickerProps['size'], Pick<CSSProperties, 'width' | 'height'>>;
|
|
5
|
+
export declare const SELECT_PICKER_CONTROL_SIZE_MAP: Record<SelectPickerProps['size'], CSSProperties['minHeight']>;
|
|
6
|
+
export declare const SELECT_PICKER_MULTI_VALUE_LABEL_SIZE_MAP: Record<SelectPickerProps['size'], CSSProperties['lineHeight']>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ValueContainerWithLoadingShimmer } from './common';
|
|
2
2
|
export { default as FilterSelectPicker } from './FilterSelectPicker';
|
|
3
|
+
export * from './GroupedFilterSelectPicker';
|
|
4
|
+
export { default as SelectPicker } from './SelectPicker.component';
|
|
5
|
+
export * from './SelectPickerTextArea.component';
|
|
3
6
|
export * from './type';
|
|
4
|
-
export { getSelectPickerOptionByValue } from './utils';
|
|
7
|
+
export { getSelectPickerOptionByValue, getSelectPickerOptionsByValue } from './utils';
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
import { ServerErrors } from '../../../Common/ServerError';
|
|
2
|
-
import { OptionType } from '../../../Common/Types';
|
|
3
|
-
import { ComponentSizeType } from '../../constants';
|
|
4
1
|
import { MutableRefObject, ReactElement, ReactNode } from 'react';
|
|
5
2
|
import { GroupBase, GroupHeadingProps, Props as ReactSelectProps, SelectInstance } from 'react-select';
|
|
6
3
|
import { CreatableProps } from 'react-select/creatable';
|
|
7
|
-
|
|
4
|
+
import { ResizableTagTextAreaProps } from '../../../Common/CustomTagSelector';
|
|
5
|
+
import { ServerErrors } from '../../../Common/ServerError';
|
|
6
|
+
import { TooltipProps } from '../../../Common/Tooltip';
|
|
7
|
+
import { OptionType } from '../../../Common/Types';
|
|
8
|
+
import { ComponentSizeType } from '../../constants';
|
|
9
|
+
import { ActionMenuProps } from '../ActionMenu';
|
|
10
|
+
import { ButtonComponentType, ButtonProps, ButtonVariantType } from '../Button';
|
|
11
|
+
import { FormFieldWrapperProps } from '../FormFieldWrapper/types';
|
|
12
|
+
import { UsePopoverProps, UsePopoverReturnType } from '../Popover';
|
|
13
|
+
export interface SelectPickerOptionType<OptionValue = string | number, OptionLabel = ReactNode> extends OptionType<OptionValue, OptionLabel> {
|
|
8
14
|
/**
|
|
9
15
|
* Description to be displayed for the option
|
|
10
16
|
*/
|
|
11
|
-
description?:
|
|
17
|
+
description?: ReactNode;
|
|
12
18
|
/**
|
|
13
19
|
* Icon at the start of the option
|
|
14
20
|
*/
|
|
@@ -17,18 +23,40 @@ export interface SelectPickerOptionType<OptionValue = string | number> extends O
|
|
|
17
23
|
* Icon at the end of the option
|
|
18
24
|
*/
|
|
19
25
|
endIcon?: ReactElement;
|
|
26
|
+
/**
|
|
27
|
+
* Props passed to show the tippy on option
|
|
28
|
+
*/
|
|
29
|
+
tooltipProps?: Omit<TooltipProps, 'alwaysShowTippyOnHover' | 'showOnTruncate' | 'shortcutKeyCombo'> | (Omit<TooltipProps, 'alwaysShowTippyOnHover' | 'showOnTruncate' | 'content'> & Required<Pick<TooltipProps, 'shortcutKeyCombo'>>);
|
|
20
30
|
}
|
|
21
31
|
type SelectProps<OptionValue, IsMulti extends boolean> = ReactSelectProps<SelectPickerOptionType<OptionValue>, IsMulti, GroupBase<SelectPickerOptionType<OptionValue>>>;
|
|
32
|
+
type MenuListFooterConfigType = {
|
|
33
|
+
type: 'text';
|
|
34
|
+
/**
|
|
35
|
+
* String is preferred for text type
|
|
36
|
+
*/
|
|
37
|
+
value: ReactNode;
|
|
38
|
+
buttonProps?: never;
|
|
39
|
+
} | {
|
|
40
|
+
type: 'button';
|
|
41
|
+
value?: never;
|
|
42
|
+
buttonProps: {
|
|
43
|
+
variant: ButtonVariantType.primary | ButtonVariantType.borderLess;
|
|
44
|
+
} & Omit<ButtonProps<ButtonComponentType>, 'size' | 'fullWidth' | 'icon' | 'endIcon' | 'variant' | 'style'>;
|
|
45
|
+
} | {
|
|
46
|
+
type: 'customNode';
|
|
47
|
+
value: ReactElement;
|
|
48
|
+
buttonProps?: never;
|
|
49
|
+
};
|
|
22
50
|
declare module 'react-select/base' {
|
|
23
51
|
interface Props<Option, IsMulti extends boolean, Group extends GroupBase<Option>> {
|
|
24
52
|
/**
|
|
25
|
-
*
|
|
53
|
+
* Config for the footer at the bottom of menu list. It is sticky by default
|
|
26
54
|
*/
|
|
27
|
-
|
|
55
|
+
menuListFooterConfig?: MenuListFooterConfigType;
|
|
28
56
|
/**
|
|
29
57
|
* If true, custom options are rendered in the menuList component of react select
|
|
30
58
|
*
|
|
31
|
-
* Note: renderCustomOptions is required to be passed;
|
|
59
|
+
* Note: renderCustomOptions is required to be passed; menuListFooterConfig is also not used
|
|
32
60
|
*
|
|
33
61
|
* @default false
|
|
34
62
|
*/
|
|
@@ -39,46 +67,69 @@ declare module 'react-select/base' {
|
|
|
39
67
|
* Imp Note: The menu open/close needs to handled by the consumer in this case
|
|
40
68
|
*/
|
|
41
69
|
renderCustomOptions?: () => ReactElement;
|
|
70
|
+
/**
|
|
71
|
+
* Icon to be rendered in the control
|
|
72
|
+
*/
|
|
73
|
+
icon?: ReactElement;
|
|
74
|
+
/**
|
|
75
|
+
* Renders the keyboard shortcut key that opens the select picker \
|
|
76
|
+
* Shortcut key needs to be defined first in order to use it.
|
|
77
|
+
* @note This is displayed in place of the dropdown indicator
|
|
78
|
+
*/
|
|
79
|
+
keyboardShortcut?: string;
|
|
80
|
+
/**
|
|
81
|
+
* If true, checkboxes are shown for options in multi-select mode.
|
|
82
|
+
* @default true
|
|
83
|
+
*/
|
|
84
|
+
showCheckboxForMultiSelect?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* If true, the selected option icon is shown in the container.
|
|
87
|
+
* startIcon has higher priority than endIcon.
|
|
88
|
+
*
|
|
89
|
+
* @default 'true'
|
|
90
|
+
*/
|
|
91
|
+
showSelectedOptionIcon?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* If provided, the custom display text is shown in the value container
|
|
94
|
+
*
|
|
95
|
+
* @default null
|
|
96
|
+
*/
|
|
97
|
+
customDisplayText?: string;
|
|
98
|
+
/** Render function for the footer at the end of the options list. */
|
|
99
|
+
renderOptionsFooter?: () => ReactNode;
|
|
100
|
+
/**
|
|
101
|
+
* If true, the select picker will render textarea instead of input.
|
|
102
|
+
* @default false
|
|
103
|
+
*/
|
|
104
|
+
shouldRenderTextArea?: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Custom prop for the value container for focussed state
|
|
107
|
+
*/
|
|
108
|
+
isFocussed?: boolean;
|
|
42
109
|
}
|
|
43
110
|
}
|
|
44
111
|
export declare enum SelectPickerVariantType {
|
|
45
112
|
DEFAULT = "default",
|
|
46
|
-
BORDER_LESS = "border-less"
|
|
113
|
+
BORDER_LESS = "border-less",
|
|
114
|
+
COMPACT = "compact"
|
|
47
115
|
}
|
|
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' | 'onInputChange' | 'inputValue'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, '
|
|
49
|
-
/**
|
|
50
|
-
* Icon to be rendered in the control
|
|
51
|
-
*/
|
|
52
|
-
icon?: ReactElement;
|
|
53
|
-
/**
|
|
54
|
-
* Error message for the select
|
|
55
|
-
*/
|
|
56
|
-
error?: ReactNode;
|
|
116
|
+
export type SelectPickerProps<OptionValue = number | string, IsMulti extends boolean = false> = Pick<SelectProps<OptionValue, IsMulti>, 'name' | 'classNamePrefix' | 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder' | 'menuPosition' | 'getOptionLabel' | 'getOptionValue' | 'isOptionSelected' | 'menuIsOpen' | 'onMenuOpen' | 'onMenuClose' | 'autoFocus' | 'onBlur' | 'onKeyDown' | 'formatOptionLabel' | 'onInputChange' | 'inputValue' | 'filterOption' | 'noOptionsMessage' | 'defaultMenuIsOpen' | 'onFocus'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, 'shouldRenderCustomOptions' | 'renderCustomOptions' | 'icon' | 'showSelectedOptionIcon' | 'renderOptionsFooter' | 'shouldRenderTextArea' | 'keyboardShortcut' | 'showCheckboxForMultiSelect'>> & Required<Pick<SelectProps<OptionValue, IsMulti>, 'inputId'>> & Partial<Pick<CreatableProps<SelectPickerOptionType<OptionValue>, IsMulti, GroupBase<SelectPickerOptionType<OptionValue>>>, 'onCreateOption' | 'formatCreateLabel' | 'menuPortalTarget'>> & Omit<FormFieldWrapperProps, 'children'> & {
|
|
57
117
|
/**
|
|
58
|
-
*
|
|
59
|
-
*/
|
|
60
|
-
helperText?: ReactNode;
|
|
61
|
-
/**
|
|
62
|
-
* Label for the select. if required is added, the corresponding * is also added
|
|
63
|
-
*/
|
|
64
|
-
label?: ReactNode;
|
|
65
|
-
/**
|
|
66
|
-
* If true, the selected option icon is shown in the container.
|
|
67
|
-
* startIcon has higher priority than endIcon.
|
|
118
|
+
* Config for the footer at the bottom of menu list. It is sticky by default
|
|
68
119
|
*
|
|
69
|
-
*
|
|
120
|
+
* Note: Re-declaring here since dynamic typing doesn't work with module augmentation
|
|
70
121
|
*/
|
|
71
|
-
|
|
122
|
+
menuListFooterConfig?: MenuListFooterConfigType;
|
|
72
123
|
/**
|
|
73
124
|
* Custom selected options count for use cases like filters
|
|
74
125
|
*/
|
|
75
126
|
customSelectedOptionsCount?: number;
|
|
76
127
|
/**
|
|
77
|
-
*
|
|
128
|
+
* Size of select
|
|
78
129
|
*
|
|
79
130
|
* @default 'ComponentSizeType.medium'
|
|
80
131
|
*/
|
|
81
|
-
size?: Extract<ComponentSizeType, ComponentSizeType.medium | ComponentSizeType.large>;
|
|
132
|
+
size?: Extract<ComponentSizeType, ComponentSizeType.medium | ComponentSizeType.large | ComponentSizeType.small | ComponentSizeType.xl>;
|
|
82
133
|
/**
|
|
83
134
|
* Content to be shown in a tippy when disabled
|
|
84
135
|
*/
|
|
@@ -140,9 +191,24 @@ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boo
|
|
|
140
191
|
* @default false
|
|
141
192
|
*/
|
|
142
193
|
isCreatable?: boolean;
|
|
194
|
+
/**
|
|
195
|
+
* If false, the no options message is not shown
|
|
196
|
+
*
|
|
197
|
+
* Note: Handling for the menu distortion needs to be handled explicitly in this case
|
|
198
|
+
*
|
|
199
|
+
* @default true
|
|
200
|
+
*/
|
|
201
|
+
shouldShowNoOptionsMessage?: boolean;
|
|
202
|
+
/**
|
|
203
|
+
* If true, the menu list and the dropdown indicator are hidden. Suitable for use cases like multi-inputs
|
|
204
|
+
*
|
|
205
|
+
* @default false
|
|
206
|
+
*/
|
|
207
|
+
shouldHideMenu?: boolean;
|
|
143
208
|
} & (IsMulti extends true ? {
|
|
144
209
|
isMulti: IsMulti | boolean;
|
|
145
|
-
|
|
210
|
+
isUserIdentifier?: boolean;
|
|
211
|
+
multiSelectProps?: Partial<Pick<SelectProps<OptionValue, IsMulti>, 'customDisplayText'>> & {
|
|
146
212
|
/**
|
|
147
213
|
* If true, the group heading can be selected
|
|
148
214
|
*
|
|
@@ -159,12 +225,34 @@ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boo
|
|
|
159
225
|
} : {
|
|
160
226
|
isMulti?: never;
|
|
161
227
|
multiSelectProps?: never;
|
|
228
|
+
isUserIdentifier?: never;
|
|
162
229
|
});
|
|
163
230
|
export type SelectPickerGroupHeadingProps<OptionValue> = GroupHeadingProps<SelectPickerOptionType<OptionValue>> & {
|
|
164
231
|
isGroupHeadingSelectable: boolean;
|
|
165
232
|
};
|
|
166
|
-
export interface FilterSelectPickerProps extends Required<Pick<SelectPickerProps<number | string, true>, 'options' | 'isDisabled' | 'placeholder' | 'isLoading'>>, Pick<SelectPickerProps<number | string, true>, 'selectRef' | 'inputId' | 'menuPosition' | 'autoFocus' | 'shouldMenuAlignRight' | 'optionListError' | 'reloadOptionList'> {
|
|
233
|
+
export interface FilterSelectPickerProps extends Required<Pick<SelectPickerProps<number | string, true>, 'options' | 'isDisabled' | 'placeholder' | 'isLoading'>>, Pick<SelectPickerProps<number | string, true>, 'selectRef' | 'inputId' | 'menuPosition' | 'autoFocus' | 'shouldMenuAlignRight' | 'optionListError' | 'reloadOptionList' | 'getOptionValue' | 'isOptionDisabled' | 'onMenuClose' | 'menuIsOpen' | 'onKeyDown' | 'isUserIdentifier'> {
|
|
167
234
|
appliedFilterOptions: SelectPickerOptionType[];
|
|
168
235
|
handleApplyFilter: (filtersToApply: SelectPickerOptionType<number | string>[]) => void;
|
|
169
236
|
}
|
|
237
|
+
export type SelectPickerTextAreaProps = Omit<SelectPickerProps<string, false>, 'selectRef' | 'inputValue' | 'onInputChange' | 'controlShouldRenderValue' | 'onKeyDown' | 'onCreateOption' | 'shouldRenderTextArea'> & Pick<ResizableTagTextAreaProps, 'maxHeight' | 'minHeight' | 'refVar' | 'dependentRefs'>;
|
|
238
|
+
export type FilterSelectPickerMapSelectPickerVariant = {
|
|
239
|
+
variant?: 'selectPicker';
|
|
240
|
+
} & Omit<FilterSelectPickerProps, 'autoFocus' | 'menuIsOpen' | 'onMenuClose' | 'onKeyDown' | 'selectRef'>;
|
|
241
|
+
type FilterSelectPickerMapPopOverVariant = {
|
|
242
|
+
variant: 'popover';
|
|
243
|
+
/**
|
|
244
|
+
* Component rendered inside the Popover.
|
|
245
|
+
* Receives `closePopover` as a prop to allow programmatic closing.
|
|
246
|
+
*/
|
|
247
|
+
component: (closePopover: () => void, scrollableRef: UsePopoverReturnType['scrollableRef']) => ReactElement;
|
|
248
|
+
/**
|
|
249
|
+
* Optional positioning config forwarded to usePopover
|
|
250
|
+
*/
|
|
251
|
+
popoverConfig?: Pick<UsePopoverProps, 'position' | 'alignment' | 'width'>;
|
|
252
|
+
};
|
|
253
|
+
export type GroupedFilterSelectPickerMapValue = FilterSelectPickerMapSelectPickerVariant | FilterSelectPickerMapPopOverVariant;
|
|
254
|
+
export interface GroupedFilterSelectPickerProps<T extends string | number = string | number> extends Omit<ActionMenuProps<T>, 'onClick' | 'disableDescriptionEllipsis' | 'children' | 'buttonProps' | 'isSearchable'> {
|
|
255
|
+
isFilterApplied?: boolean;
|
|
256
|
+
filterSelectPickerPropsMap: Record<T, GroupedFilterSelectPickerMapValue>;
|
|
257
|
+
}
|
|
170
258
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CHECKBOX_VALUE } from '../../../Common/Types';
|
|
2
1
|
import { GroupBase, MultiValue, OptionsOrGroups, StylesConfig } from 'react-select';
|
|
2
|
+
import { CHECKBOX_VALUE } from '../../../Common/Types';
|
|
3
3
|
import { SelectPickerOptionType, SelectPickerProps } from './type';
|
|
4
4
|
export declare const getCommonSelectStyle: <OptionValue, IsMulti extends boolean>({ error, size, menuSize, variant, getIsOptionValid, isGroupHeadingSelectable, shouldMenuAlignRight, }: Pick<SelectPickerProps<OptionValue, IsMulti>, "error" | "size" | "menuSize" | "variant" | "shouldMenuAlignRight"> & Pick<SelectPickerProps<OptionValue, IsMulti>["multiSelectProps"], "getIsOptionValid" | "isGroupHeadingSelectable">) => StylesConfig<SelectPickerOptionType<OptionValue>>;
|
|
5
5
|
export declare const getGroupCheckboxValue: <OptionValue>(groupHeadingOptions: readonly SelectPickerOptionType<OptionValue>[], selectedOptions: MultiValue<SelectPickerOptionType<OptionValue>>, getOptionValue: (option: SelectPickerOptionType<OptionValue>) => string) => CHECKBOX_VALUE.CHECKED | CHECKBOX_VALUE.INTERMEDIATE;
|
|
@@ -9,6 +9,8 @@ export declare const getGroupCheckboxValue: <OptionValue>(groupHeadingOptions: r
|
|
|
9
9
|
* @param optionsList - The list of options or groups of options.
|
|
10
10
|
* @param value - The value to compare against the options' values.
|
|
11
11
|
* @param defaultOption - The default option to return if no match is found.
|
|
12
|
+
* @param getOptionValue - Override the default value for the option
|
|
12
13
|
* @returns The matched option or the default option if no match is found.
|
|
13
14
|
*/
|
|
14
|
-
export declare const getSelectPickerOptionByValue: <OptionValue>(optionsList: OptionsOrGroups<SelectPickerOptionType<OptionValue>, GroupBase<SelectPickerOptionType<OptionValue>>>, value: OptionValue, defaultOption?: SelectPickerOptionType<OptionValue>) => SelectPickerOptionType<OptionValue>;
|
|
15
|
+
export declare const getSelectPickerOptionByValue: <OptionValue>(optionsList: OptionsOrGroups<SelectPickerOptionType<OptionValue>, GroupBase<SelectPickerOptionType<OptionValue>>>, value: OptionValue, defaultOption?: SelectPickerOptionType<OptionValue>, getOptionValue?: SelectPickerProps<OptionValue>["getOptionValue"]) => SelectPickerOptionType<OptionValue>;
|
|
16
|
+
export declare const getSelectPickerOptionsByValue: <OptionValue>(optionsList: OptionsOrGroups<SelectPickerOptionType<OptionValue>, GroupBase<SelectPickerOptionType<OptionValue>>>, values: OptionValue[]) => SelectPickerOptionType<OptionValue>[];
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
interface ShowMoreTextProps {
|
|
2
2
|
text: string;
|
|
3
3
|
textClass?: string;
|
|
4
|
+
containerClass?: string;
|
|
5
|
+
hideShowMore?: boolean;
|
|
4
6
|
}
|
|
5
|
-
declare const ShowMoreText: ({ text, textClass }: ShowMoreTextProps) => JSX.Element;
|
|
7
|
+
declare const ShowMoreText: ({ text, textClass, containerClass, hideShowMore }: ShowMoreTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
8
|
export default ShowMoreText;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TooltipProps } from '../../../Common/Tooltip';
|
|
2
|
+
export type SideNavigationItemBase = {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
dataTestId: string;
|
|
6
|
+
};
|
|
7
|
+
export type SideNavigationItemLink = SideNavigationItemBase & {
|
|
8
|
+
href: string;
|
|
9
|
+
items?: never;
|
|
10
|
+
tooltipProps?: TooltipProps;
|
|
11
|
+
};
|
|
12
|
+
export type SideNavigationItemGroup = SideNavigationItemBase & {
|
|
13
|
+
items: Omit<SideNavigationItemLink, 'items'>[];
|
|
14
|
+
href?: never;
|
|
15
|
+
tooltipProps?: never;
|
|
16
|
+
};
|
|
17
|
+
export interface SideNavigationProps {
|
|
18
|
+
list: (SideNavigationItemLink | SideNavigationItemGroup)[];
|
|
19
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { IconsProps } from '../Icon';
|
|
2
|
+
export declare enum StatusType {
|
|
3
|
+
QUEUED = "QUEUED",
|
|
4
|
+
FAILED = "FAILED",
|
|
5
|
+
ERROR = "ERROR",
|
|
6
|
+
CANCELLED = "CANCELLED",
|
|
7
|
+
ABORTED = "ABORTED",
|
|
8
|
+
HEALTHY = "HEALTHY",
|
|
9
|
+
SUCCEEDED = "SUCCEEDED",
|
|
10
|
+
DRIFTED = "DRIFTED",
|
|
11
|
+
MISSING = "MISSING",
|
|
12
|
+
UNKNOWN = "UNKNOWN",
|
|
13
|
+
NOT_DEPLOYED = "NOT-DEPLOYED",
|
|
14
|
+
SUSPENDED = "SUSPENDED",
|
|
15
|
+
DEGRADED = "DEGRADED",
|
|
16
|
+
PROGRESSING = "PROGRESSING",
|
|
17
|
+
INPROGRESS = "INPROGRESS",
|
|
18
|
+
HIBERNATING = "HIBERNATING",
|
|
19
|
+
TIMED_OUT = "TIMED_OUT",
|
|
20
|
+
DELETING = "DELETING"
|
|
21
|
+
}
|
|
22
|
+
export interface StatusComponentProps {
|
|
23
|
+
/** The status to display, either a predefined StatusType or a custom string. */
|
|
24
|
+
status: StatusType | string;
|
|
25
|
+
/** A custom message to display instead of the status. If not provided, the status is shown. */
|
|
26
|
+
message?: string;
|
|
27
|
+
/** If true, hides the status icon. */
|
|
28
|
+
hideIcon?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* If true, hides the status message and displays it in a tooltip instead.
|
|
31
|
+
* @default false
|
|
32
|
+
*/
|
|
33
|
+
hideMessage?: boolean;
|
|
34
|
+
/** Size of the status icon. */
|
|
35
|
+
iconSize?: IconsProps['size'];
|
|
36
|
+
/** If true, displays an animated version of the icon (if available). */
|
|
37
|
+
showAnimatedIcon?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* If true, hides the tooltip on the status icon.
|
|
40
|
+
* @note Tooltip is only shown when `hideMessage` is true.
|
|
41
|
+
*/
|
|
42
|
+
hideIconTooltip?: boolean;
|
|
43
|
+
}
|
|
44
|
+
export interface AppStatusProps extends Omit<StatusComponentProps, 'statusMessage'> {
|
|
45
|
+
isJobView?: boolean;
|
|
46
|
+
isVirtualEnv?: boolean;
|
|
47
|
+
}
|
|
48
|
+
export interface DeploymentStatusProps extends Omit<AppStatusProps, 'isJobView'> {
|
|
49
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IconName, IconsProps } from '../Icon';
|
|
2
|
+
export declare const getIconName: (status: string, showAnimatedIcon: boolean) => IconName;
|
|
3
|
+
export declare const getIconColor: (status: string) => IconsProps["color"];
|
|
4
|
+
export declare const getDeploymentStatusFromStatus: (status: string) => string;
|
|
5
|
+
export declare const getJobStatusFromStatus: (status: string) => string;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DTSwitchProps } from './types';
|
|
2
|
+
declare const Switch: ({ ariaLabel, isDisabled, isLoading, isChecked, tooltipContent, shape, variant, iconColor, iconName, indeterminate, size, name, dataTestId, onChange, autoFocus, }: DTSwitchProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default Switch;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IconBaseColorType } from '../../types';
|
|
2
|
+
import { DTSwitchProps } from './types';
|
|
3
|
+
export declare const ROUNDED_SWITCH_SIZE_MAP: Readonly<Record<DTSwitchProps['size'], string>>;
|
|
4
|
+
export declare const SQUARE_SWITCH_SIZE_MAP: typeof ROUNDED_SWITCH_SIZE_MAP;
|
|
5
|
+
export declare const SWITCH_HEIGHT_MAP: Readonly<Record<DTSwitchProps['size'], string>>;
|
|
6
|
+
export declare const LOADING_COLOR_MAP: Record<DTSwitchProps['variant'], IconBaseColorType>;
|
|
7
|
+
export declare const ROUNDED_SWITCH_TRACK_COLOR_MAP: Record<DTSwitchProps['variant'], string>;
|
|
8
|
+
export declare const ROUNDED_SWITCH_TRACK_HOVER_COLOR_MAP: Record<DTSwitchProps['variant'], `var(--${IconBaseColorType})`>;
|
|
9
|
+
export declare const SQUARE_SWITCH_TRACK_COLOR_MAP: typeof ROUNDED_SWITCH_TRACK_COLOR_MAP;
|
|
10
|
+
export declare const SQUARE_SWITCH_TRACK_HOVER_COLOR_MAP: typeof ROUNDED_SWITCH_TRACK_HOVER_COLOR_MAP;
|
|
11
|
+
export declare const ROUNDED_SWITCH_THUMB_SIZE_MAP: Record<DTSwitchProps['size'], string>;
|
|
12
|
+
export declare const INDETERMINATE_ICON_WIDTH_MAP: Record<DTSwitchProps['size'], string>;
|
|
13
|
+
export declare const SWITCH_THUMB_PADDING_MAP: Record<DTSwitchProps['size'], string>;
|
|
14
|
+
export declare const THUMB_OUTER_PADDING_MAP: Record<DTSwitchProps['shape'], string>;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { ComponentSizeType } from '../../constants';
|
|
3
|
+
import { IconBaseColorType } from '../../types';
|
|
4
|
+
import { IconName } from '../Icon';
|
|
5
|
+
/**
|
|
6
|
+
* Represents the properties for configuring the shape and behavior of a switch component.
|
|
7
|
+
*
|
|
8
|
+
* - When `shape` is `rounded`:
|
|
9
|
+
* - The switch will have a rounded appearance.
|
|
10
|
+
* - `iconName`, `iconColor`, and `indeterminate` are not applicable.
|
|
11
|
+
*
|
|
12
|
+
* - When `shape` is `square`:
|
|
13
|
+
* - The switch will have a square appearance.
|
|
14
|
+
* - `iconName` specifies the name of the icon to display.
|
|
15
|
+
* - `iconColor` allows customization of the icon's color in the active state.
|
|
16
|
+
* - `indeterminate` indicates whether the switch is in an indeterminate state, typically used for checkboxes to represent a mixed state.
|
|
17
|
+
* If `indeterminate` is true, the switch will not be fully checked or unchecked.
|
|
18
|
+
*/
|
|
19
|
+
type SwitchShapeProps = {
|
|
20
|
+
/**
|
|
21
|
+
* The shape of the switch. Defaults to `rounded` if not specified.
|
|
22
|
+
*/
|
|
23
|
+
shape?: 'rounded';
|
|
24
|
+
/**
|
|
25
|
+
* Icon name is not applicable for the `rounded` shape.
|
|
26
|
+
*/
|
|
27
|
+
iconName?: never;
|
|
28
|
+
/**
|
|
29
|
+
* Icon color is not applicable for the `rounded` shape.
|
|
30
|
+
*/
|
|
31
|
+
iconColor?: never;
|
|
32
|
+
/**
|
|
33
|
+
* Indicates whether the switch is in an indeterminate state.
|
|
34
|
+
* This state is typically used for checkboxes to indicate a mixed state.
|
|
35
|
+
* If true, the switch will not be fully checked or unchecked. Due this state alone we are keeping role as `checkbox` instead of `switch`.
|
|
36
|
+
* This property is not applicable for the `square` shape.
|
|
37
|
+
* @default false
|
|
38
|
+
*/
|
|
39
|
+
indeterminate?: boolean;
|
|
40
|
+
} | {
|
|
41
|
+
/**
|
|
42
|
+
* The shape of the switch. Must be `square` to enable icon-related properties.
|
|
43
|
+
*/
|
|
44
|
+
shape: 'square';
|
|
45
|
+
/**
|
|
46
|
+
* The name of the icon to display when the shape is `square`.
|
|
47
|
+
*/
|
|
48
|
+
iconName: IconName;
|
|
49
|
+
/**
|
|
50
|
+
* The color of the icon. If provided, this will override the default color in the active state.
|
|
51
|
+
*/
|
|
52
|
+
iconColor?: IconBaseColorType;
|
|
53
|
+
indeterminate?: never;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Represents the properties for the `Switch` component.
|
|
57
|
+
*/
|
|
58
|
+
export type DTSwitchProps = {
|
|
59
|
+
/**
|
|
60
|
+
* The ARIA label for the switch, used for accessibility purposes.
|
|
61
|
+
*/
|
|
62
|
+
ariaLabel: string;
|
|
63
|
+
/**
|
|
64
|
+
* Used in forms to identify the switch.
|
|
65
|
+
*/
|
|
66
|
+
name: string;
|
|
67
|
+
/**
|
|
68
|
+
* Provide if name generated through `getUniqueId`.
|
|
69
|
+
*/
|
|
70
|
+
dataTestId?: string;
|
|
71
|
+
/**
|
|
72
|
+
* The visual variant of the switch.
|
|
73
|
+
*
|
|
74
|
+
* @default `positive`
|
|
75
|
+
*/
|
|
76
|
+
variant?: 'theme' | 'positive';
|
|
77
|
+
/**
|
|
78
|
+
* The size of the switch.
|
|
79
|
+
* @default `ComponentSizeType.medium`
|
|
80
|
+
*/
|
|
81
|
+
size?: Extract<ComponentSizeType, ComponentSizeType.medium | ComponentSizeType.small>;
|
|
82
|
+
/**
|
|
83
|
+
* Callback function that is called when the switch state changes.
|
|
84
|
+
* This function should handle the logic for toggling the switch.
|
|
85
|
+
*/
|
|
86
|
+
onChange: ButtonHTMLAttributes<HTMLButtonElement>['onClick'];
|
|
87
|
+
/**
|
|
88
|
+
* Indicates whether the switch is disabled.
|
|
89
|
+
*/
|
|
90
|
+
isDisabled?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Indicates whether the switch is in a loading state.
|
|
93
|
+
*/
|
|
94
|
+
isLoading?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Indicates whether the switch is currently checked (on).
|
|
97
|
+
*/
|
|
98
|
+
isChecked: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Optional tooltip content to display when hovering over the switch.
|
|
101
|
+
*
|
|
102
|
+
* @default undefined
|
|
103
|
+
*/
|
|
104
|
+
tooltipContent?: ReactNode;
|
|
105
|
+
/**
|
|
106
|
+
* Indicates whether the switch should be focused automatically when rendered.
|
|
107
|
+
* @default false
|
|
108
|
+
*/
|
|
109
|
+
autoFocus?: boolean;
|
|
110
|
+
} & SwitchShapeProps;
|
|
111
|
+
export {};
|