@devtron-labs/devtron-fe-common-lib 1.11.1 → 1.12.0-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-DvXC6tWe.js → @code-editor-BeFRFVuv.js} +23759 -23686
- package/dist/{@common-rjsf-BzdfA2cI.js → @common-rjsf-DTzNgON8.js} +29 -29
- package/dist/{@framer-motion-CRC_R7iM.js → @framer-motion-BaOj5B1h.js} +3 -3
- package/dist/{@react-dates-C-O0TUaC.js → @react-dates-CdRpENvm.js} +990 -989
- package/dist/{@react-select-CaCDGT85.js → @react-select-BLSAqXV1.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-BINLYj4Y.js → @react-virtualized-sticky-tree-BLmFnJWD.js} +1 -1
- package/dist/{@vendor-DBDnc0ZN.js → @vendor-SjXFleuT.js} +29396 -29399
- package/dist/Common/API/CoreAPI.d.ts +1 -1
- package/dist/Common/API/index.d.ts +1 -1
- package/dist/Common/CodeMirror/Extensions/index.d.ts +3 -3
- package/dist/Common/CodeMirror/Extensions/yamlParseLinter.d.ts +1 -1
- package/dist/Common/CodeMirror/index.d.ts +1 -1
- package/dist/Common/CodeMirror/types.d.ts +3 -3
- package/dist/Common/CodeMirror/utils.d.ts +1 -1
- package/dist/Common/Constants.d.ts +1 -1
- package/dist/Common/CustomTagSelector/index.d.ts +2 -2
- package/dist/Common/DeleteCINodeButton/index.d.ts +1 -1
- package/dist/Common/DraggableWrapper/index.d.ts +1 -1
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/Hooks/index.d.ts +3 -3
- package/dist/Common/Hooks/useStateFilters/index.d.ts +1 -1
- package/dist/Common/Hooks/useUrlFilters/index.d.ts +1 -1
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Common/RJSF/index.d.ts +2 -2
- package/dist/Common/RJSF/templates/index.d.ts +1 -1
- package/dist/Common/SegmentedControl/types.d.ts +1 -1
- package/dist/Common/SortableTableHeaderCell/index.d.ts +1 -1
- package/dist/Common/Tooltip/index.d.ts +1 -1
- package/dist/Common/Tooltip/types.d.ts +1 -1
- package/dist/Common/index.d.ts +41 -41
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/utils.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/index.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/index.d.ts +3 -3
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/index.d.ts +3 -3
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/index.d.ts +2 -2
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +3 -2
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/index.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/index.d.ts +2 -2
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/services.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +3 -3
- package/dist/Pages/GlobalConfigurations/Authorization/service.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +2 -2
- package/dist/Pages/GlobalConfigurations/BuildInfra/index.d.ts +6 -6
- package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/validations.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/index.d.ts +2 -2
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +1 -1
- package/dist/Pages/ResourceBrowser/index.d.ts +5 -5
- package/dist/Pages/ResourceBrowser/types.d.ts +1 -1
- package/dist/Pages/index.d.ts +1 -1
- 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/BulkOperations/index.d.ts +1 -1
- package/dist/Shared/Components/BulkOperations/types.d.ts +2 -2
- package/dist/Shared/Components/BulkSelection/index.d.ts +1 -1
- package/dist/Shared/Components/Button/index.d.ts +1 -1
- package/dist/Shared/Components/Button/types.d.ts +2 -2
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/index.d.ts +11 -11
- package/dist/Shared/Components/CICDHistory/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -1
- package/dist/Shared/Components/CMCS/index.d.ts +2 -2
- package/dist/Shared/Components/CMCS/types.d.ts +1 -1
- package/dist/Shared/Components/CMCS/validations.d.ts +1 -1
- package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +1 -1
- package/dist/Shared/Components/ConfirmationModal/index.d.ts +4 -4
- package/dist/Shared/Components/ConfirmationModal/utils.d.ts +1 -1
- package/dist/Shared/Components/CountrySelect/types.d.ts +1 -1
- package/dist/Shared/Components/CountrySelect/utils.d.ts +1 -1
- package/dist/Shared/Components/CustomInput/types.d.ts +1 -1
- package/dist/Shared/Components/DatePicker/index.d.ts +4 -4
- package/dist/Shared/Components/DatePicker/types.d.ts +2 -2
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -1
- package/dist/Shared/Components/FlagImage/types.d.ts +1 -1
- package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +1 -1
- package/dist/Shared/Components/FormFieldWrapper/index.d.ts +1 -1
- package/dist/Shared/Components/GenericInfoCard/index.d.ts +1 -1
- package/dist/Shared/Components/GraphVisualizer/components/index.d.ts +1 -1
- package/dist/Shared/Components/GraphVisualizer/index.d.ts +1 -1
- package/dist/Shared/Components/Header/index.d.ts +1 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +8 -0
- package/dist/Shared/Components/Icon/types.d.ts +3 -2
- package/dist/Shared/Components/ImageCard/index.d.ts +1 -1
- package/dist/Shared/Components/ImageChipCell/types.d.ts +1 -1
- package/dist/Shared/Components/InfoBlock/types.d.ts +1 -1
- package/dist/Shared/Components/InvalidYAMLTippy/index.d.ts +1 -1
- package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +1 -1
- package/dist/Shared/Components/License/index.d.ts +3 -3
- package/dist/Shared/Components/License/types.d.ts +2 -1
- package/dist/Shared/Components/License/utils.d.ts +2 -1
- package/dist/Shared/Components/Plugin/index.d.ts +4 -4
- package/dist/Shared/Components/ReactSelect/index.d.ts +1 -1
- package/dist/Shared/Components/RegistryIcon/index.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 +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/EmptyState.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/KubernetesManifest.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/Table.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/index.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/index.d.ts +5 -5
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +2 -2
- package/dist/Shared/Components/Security/Vulnerabilities/index.d.ts +1 -1
- package/dist/Shared/Components/Security/index.d.ts +2 -2
- package/dist/Shared/Components/Security/utils.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/index.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +5 -5
- package/dist/Shared/Components/SelectPicker/utils.d.ts +1 -1
- package/dist/Shared/Components/StatusComponent/index.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -1
- package/dist/Shared/Components/Table/index.d.ts +1 -1
- package/dist/Shared/Components/Table/types.d.ts +2 -2
- package/dist/Shared/Components/TagsKeyValueTable/index.d.ts +2 -2
- package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +65 -64
- package/dist/Shared/Helpers.d.ts +4 -4
- package/dist/Shared/Hooks/UseDownload/index.d.ts +1 -1
- package/dist/Shared/Hooks/index.d.ts +3 -3
- package/dist/Shared/Hooks/useForm/useForm.d.ts +1 -1
- package/dist/Shared/Hooks/useGetResourceKindsOptions/index.d.ts +1 -1
- package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/index.d.ts +2 -2
- package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +3 -2
- package/dist/Shared/Hooks/useUserPreferences/utils.d.ts +1 -1
- package/dist/Shared/Providers/ThemeProvider/index.d.ts +1 -1
- package/dist/Shared/Providers/ThemeProvider/utils.d.ts +1 -1
- package/dist/Shared/Providers/UserEmailProvider/index.d.ts +1 -1
- package/dist/Shared/Providers/index.d.ts +2 -2
- package/dist/Shared/Providers/types.d.ts +2 -1
- package/dist/Shared/Services/ToastManager/constants.d.ts +1 -1
- package/dist/Shared/Services/ToastManager/index.d.ts +1 -1
- package/dist/Shared/Services/ToastManager/types.d.ts +1 -1
- package/dist/Shared/Services/app.service.d.ts +1 -1
- package/dist/Shared/Services/app.types.d.ts +2 -2
- package/dist/Shared/Services/index.d.ts +3 -3
- package/dist/Shared/Services/types.d.ts +1 -1
- package/dist/Shared/Store/IndexStore.d.ts +2 -2
- package/dist/Shared/index.d.ts +6 -6
- package/dist/Shared/types.d.ts +17 -3
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/ic-arrow-clockwise.b327e411.svg +3 -0
- package/dist/assets/ic-bg-cluster.9a4258b9.svg +6 -0
- package/dist/assets/ic-cpu.07ca0915.svg +3 -0
- package/dist/assets/ic-file-key.a67da7ec.svg +3 -0
- package/dist/assets/ic-help-filled.4468cdf1.svg +4 -0
- package/dist/assets/ic-memory.82ba7e9b.svg +3 -0
- package/dist/assets/ic-sliders-vertical.2db79ea4.svg +7 -0
- package/dist/assets/ic-terminal-fill.39b542cd.svg +3 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +842 -840
- package/package.json +5 -4
- package/dist/assets/ic-cpu.8be677ee.svg +0 -20
- package/dist/assets/ic-memory.c4159f96.svg +0 -19
@@ -81,6 +81,6 @@ export declare const TERMINAL_STATUS_COLOR_CLASS_MAP: {
|
|
81
81
|
readonly [x: string]: "cr-5" | "cg-5" | "co-5";
|
82
82
|
};
|
83
83
|
export declare const PROGRESSING_STATUS: {
|
84
|
-
readonly [x: string]: "
|
84
|
+
readonly [x: string]: "progressing" | "starting" | "initiating" | "queued" | "running";
|
85
85
|
};
|
86
86
|
export declare const FAILED_WORKFLOW_STAGE_STATUS_MAP: Record<Extract<WorkflowStageStatusType, WorkflowStageStatusType.ABORTED | WorkflowStageStatusType.FAILED | WorkflowStageStatusType.TIMEOUT>, true>;
|
@@ -1,17 +1,17 @@
|
|
1
|
-
export { default as
|
1
|
+
export { default as AppStatusDetailsChart } from './AppStatusDetailsChart';
|
2
2
|
export { default as Artifacts } from './Artifacts';
|
3
|
-
export { default as TriggerOutput } from './TriggerOutput';
|
4
|
-
export { default as TriggerDetails } from './TriggerDetails';
|
5
3
|
export { default as CDEmptyState } from './CDEmptyState';
|
6
|
-
export
|
7
|
-
export {
|
4
|
+
export * from './CiPipelineSourceConfig';
|
5
|
+
export { statusColor } from './constants';
|
8
6
|
export { default as DeploymentDetailSteps } from './DeploymentDetailSteps';
|
9
|
-
export * from './
|
10
|
-
export
|
7
|
+
export * from './DeploymentHistoryConfigDiff';
|
8
|
+
export { default as DeploymentStatusDetailBreakdown } from './DeploymentStatusBreakdown';
|
11
9
|
export * from './History.components';
|
12
|
-
export * from './utils';
|
13
10
|
export { default as LogsRenderer } from './LogsRenderer';
|
14
|
-
export * from './
|
15
|
-
export
|
11
|
+
export * from './service';
|
12
|
+
export { default as Sidebar } from './Sidebar';
|
16
13
|
export * from './StatusFilterButtonComponent';
|
17
|
-
export {
|
14
|
+
export { default as TriggerDetails } from './TriggerDetails';
|
15
|
+
export { default as TriggerOutput } from './TriggerOutput';
|
16
|
+
export * from './types';
|
17
|
+
export * from './utils';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { CSSProperties, ReactElement, ReactNode } from 'react';
|
2
2
|
import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
|
3
|
-
import {
|
3
|
+
import { DeploymentAppTypes, FilterConditionsListType, ImageComment, OptionType, PaginationProps, PromotionApprovalMetadataType, ReleaseTag, ResponseType, UserApprovalMetadataType, useScrollable } from '../../../Common';
|
4
4
|
import { DeploymentStageType } from '../../constants';
|
5
5
|
import { AggregationKeys, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType, TargetPlatformsDTO } from '../../types';
|
6
6
|
import { TargetPlatformBadgeListProps } from '../TargetPlatforms';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ReactElement } from 'react';
|
2
2
|
import { Node } from '../../types';
|
3
|
-
import {
|
3
|
+
import { DeploymentHistoryResultObject, ExecutionInfoType, NodeFilters, NodeStatus, StageStatusType, TriggerHistoryFilterCriteriaProps, TriggerHistoryFilterCriteriaType, WorkflowExecutionStagesMapDTO, WorkflowStageStatusType } from './types';
|
4
4
|
export declare const getTriggerHistoryFilterCriteria: ({ appId, envId, releaseId, showCurrentReleaseDeployments, }: TriggerHistoryFilterCriteriaProps) => TriggerHistoryFilterCriteriaType;
|
5
5
|
export declare const getParsedTriggerHistory: (result: any) => DeploymentHistoryResultObject;
|
6
6
|
export declare const buildHoverHtmlForWebhook: (eventName: any, condition: any, selectors: any) => JSX.Element;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export { default as ConfigMapSecretReadyOnly } from './ConfigMapSecretReadyOnly';
|
2
|
-
export * from './
|
2
|
+
export * from './constants';
|
3
3
|
export * from './helpers';
|
4
4
|
export * from './types';
|
5
5
|
export * from './utils';
|
6
|
-
export * from './
|
6
|
+
export * from './validations';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { OverrideMergeStrategyType } from '../../../Pages/index';
|
2
1
|
import { CM_SECRET_STATE, CMSecretComponentType, CMSecretConfigData } from '../../Services';
|
2
|
+
import { OverrideMergeStrategyType } from '../../../Pages/index';
|
3
3
|
import { SelectPickerOptionType } from '../SelectPicker';
|
4
4
|
export interface ConfigMapSecretReadyOnlyProps {
|
5
5
|
configMapSecretData: CMSecretConfigData;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { ConfigMapSecretUseFormProps } from '../../Services';
|
2
1
|
import { UseFormValidations } from '../../Hooks';
|
2
|
+
import { ConfigMapSecretUseFormProps } from '../../Services';
|
3
3
|
export declare const getConfigMapSecretFormValidations: UseFormValidations<ConfigMapSecretUseFormProps>;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
export { default as ConfirmationModal, BaseConfirmationModal } from './ConfirmationModal';
|
2
|
-
export { DeleteConfirmationModal } from './DeleteConfirmationModal';
|
3
|
-
export { ForceDeleteConfirmationModal } from './ForceDeleteConfirmationModal';
|
4
1
|
export { CannotDeleteModal } from './CannotDeleteModal';
|
5
|
-
export {
|
2
|
+
export { BaseConfirmationModal, default as ConfirmationModal } from './ConfirmationModal';
|
6
3
|
export { ConfirmationModalProvider } from './ConfirmationModalContext';
|
4
|
+
export { DeleteConfirmationModal } from './DeleteConfirmationModal';
|
5
|
+
export { ForceDeleteConfirmationModal } from './ForceDeleteConfirmationModal';
|
6
|
+
export { type ConfirmationModalProps, ConfirmationModalVariantType, type DeleteConfirmationModalProps } from './types';
|
7
7
|
export { getConfirmationLabel } from './utils';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
2
|
-
import { ConfirmationModalVariantType } from './types';
|
3
2
|
import { ButtonStyleType } from '../Button';
|
3
|
+
import { ConfirmationModalVariantType } from './types';
|
4
4
|
export declare const getIconFromVariant: (variant: ConfirmationModalVariantType) => ReactElement;
|
5
5
|
export declare const getConfirmationLabel: (confirmationKeyword: string) => ReactNode;
|
6
6
|
export declare const getPrimaryButtonStyleFromVariant: (variant: ConfirmationModalVariantType) => ButtonStyleType;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CountryISO2Type } from '../../
|
1
|
+
import { CountryISO2Type } from '../../types';
|
2
2
|
import { SelectPickerProps } from '../SelectPicker';
|
3
3
|
export interface CountrySelectProps extends Pick<SelectPickerProps, 'required' | 'label' | 'error' | 'placeholder' | 'size' | 'onMenuOpen' | 'onMenuClose'>, Required<Pick<SelectPickerProps, 'name'>> {
|
4
4
|
selectedCountry: CountryISO2Type;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { ParsedCountry } from 'react-international-phone';
|
2
|
-
import { CountrySelectProps } from './types';
|
3
2
|
import { SelectPickerOptionType } from '../SelectPicker';
|
3
|
+
import { CountrySelectProps } from './types';
|
4
4
|
export declare const getCountryOptions: (variant: CountrySelectProps["variant"]) => SelectPickerOptionType<ParsedCountry>[];
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { InputHTMLAttributes, MutableRefObject } from 'react';
|
2
2
|
import { ComponentSizeType } from '../../constants';
|
3
|
-
import { FormFieldWrapperProps } from '../FormFieldWrapper';
|
4
3
|
import { ButtonComponentType, ButtonProps } from '../Button';
|
4
|
+
import { FormFieldWrapperProps } from '../FormFieldWrapper';
|
5
5
|
export interface CustomInputProps extends Omit<FormFieldWrapperProps, 'children' | 'inputId'>, Pick<InputHTMLAttributes<HTMLInputElement>, 'onBlur' | 'disabled' | 'autoFocus' | 'onFocus' | 'onKeyDown'>, Required<Pick<InputHTMLAttributes<HTMLInputElement>, 'placeholder' | 'onChange' | 'value' | 'name'>> {
|
6
6
|
/**
|
7
7
|
* If false, the input is not trimmed on blur
|
@@ -1,7 +1,7 @@
|
|
1
|
-
export
|
2
|
-
export
|
1
|
+
export * from './constants';
|
2
|
+
export { default as DateTimePicker } from './DateTimePicker';
|
3
3
|
export * from './MonthlySelect';
|
4
|
+
export { default as SingleDatePickerComponent } from './SingleDatePickerComponent';
|
4
5
|
export * from './TimeSelect';
|
6
|
+
export * from './types';
|
5
7
|
export * from './utils';
|
6
|
-
export * from './constants';
|
7
|
-
export { default as DateTimePicker } from './DateTimePicker';
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { Moment } from 'moment';
|
2
|
-
import { SelectInstance } from 'react-select';
|
3
1
|
import { SingleDatePickerShape } from 'react-dates';
|
2
|
+
import { SelectInstance } from 'react-select';
|
3
|
+
import { Moment } from 'moment';
|
4
4
|
import { SelectPickerOptionType } from '../SelectPicker';
|
5
5
|
export interface SingleDatePickerProps {
|
6
6
|
/**
|
@@ -2,9 +2,9 @@ import { SortingOrder } from '../../../Common/Constants';
|
|
2
2
|
import { AppEnvDeploymentConfigDTO, ConfigMapSecretDataConfigDatumDTO, DeploymentTemplateDTO, EnvResourceType, TemplateListDTO } from '../../Services';
|
3
3
|
import { ManifestTemplateDTO } from '../../../Pages/Applications';
|
4
4
|
import { DeploymentHistoryDetail } from '../CICDHistory';
|
5
|
+
import { CollapseProps } from '../Collapse';
|
5
6
|
import { CollapsibleListConfig, CollapsibleListItem } from '../CollapsibleList';
|
6
7
|
import { SelectPickerProps } from '../SelectPicker';
|
7
|
-
import { CollapseProps } from '../Collapse';
|
8
8
|
export declare enum DeploymentConfigDiffState {
|
9
9
|
NO_DIFF = "noDiff",
|
10
10
|
HAS_DIFF = "hasDiff",
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { AppEnvDeploymentConfigListParams, DeploymentConfigDiffProps } from '..';
|
2
2
|
import { ConfigMapSecretDataConfigDatumDTO, DeploymentTemplateDTO, TemplateListDTO } from '../../Services/app.types';
|
3
3
|
import { DiffViewerProps } from '../DiffViewer/types';
|
4
4
|
export declare const getDeploymentTemplateData: (data: DeploymentTemplateDTO) => any;
|
@@ -2,8 +2,8 @@ import { DetailedHTMLProps, ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { ResizableTagTextAreaProps } from '../../../Common/CustomTagSelector';
|
3
3
|
import { UseStateFiltersReturnType } from '../../../Common/Hooks';
|
4
4
|
import { TooltipProps } from '@Common/Tooltip/types';
|
5
|
-
import { SelectPickerOptionType, SelectPickerProps, SelectPickerTextAreaProps } from '../SelectPicker';
|
6
5
|
import { FileUploadProps } from '../FileUpload';
|
6
|
+
import { SelectPickerOptionType, SelectPickerProps, SelectPickerTextAreaProps } from '../SelectPicker';
|
7
7
|
/**
|
8
8
|
* Interface representing header for a dynamic data table.
|
9
9
|
* @template K - A string representing the key type.
|
@@ -1,4 +1,4 @@
|
|
1
|
+
export { default as FormFieldInfo } from './FormFieldInfo';
|
1
2
|
export { default as FormFieldWrapper } from './FormFieldWrapper';
|
2
3
|
export type { FormFieldWrapperProps } from './types';
|
3
4
|
export { getFormFieldAriaAttributes } from './utils';
|
4
|
-
export { default as FormFieldInfo } from './FormFieldInfo';
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export * from './GraphVisualizer';
|
2
|
-
export type {
|
2
|
+
export type { GraphVisualizerEdge, GraphVisualizerNode, GraphVisualizerProps } from './types';
|
@@ -5,10 +5,12 @@ export declare const iconMap: {
|
|
5
5
|
'ic-add': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
6
6
|
'ic-apica': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
7
7
|
'ic-app-group': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
8
|
+
'ic-arrow-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
8
9
|
'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
9
10
|
'ic-arrows-left-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
10
11
|
'ic-ather': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
11
12
|
'ic-azure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
13
|
+
'ic-bg-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
12
14
|
'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
13
15
|
'ic-bitbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
14
16
|
'ic-book-open': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -31,6 +33,7 @@ export declare const iconMap: {
|
|
31
33
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
32
34
|
'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
33
35
|
'ic-copy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
36
|
+
'ic-cpu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
34
37
|
'ic-crown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
35
38
|
'ic-cube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
36
39
|
'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -43,6 +46,7 @@ export declare const iconMap: {
|
|
43
46
|
'ic-env': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
44
47
|
'ic-error': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
45
48
|
'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
49
|
+
'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
46
50
|
'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
47
51
|
'ic-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
48
52
|
'ic-git': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -56,6 +60,7 @@ export declare const iconMap: {
|
|
56
60
|
'ic-heart-red-animated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
57
61
|
'ic-heart-red': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
58
62
|
'ic-helm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
63
|
+
'ic-help-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
59
64
|
'ic-help-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
60
65
|
'ic-hibernate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
61
66
|
'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -71,6 +76,7 @@ export declare const iconMap: {
|
|
71
76
|
'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
72
77
|
'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
73
78
|
'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
79
|
+
'ic-memory': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
74
80
|
'ic-microsoft': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
75
81
|
'ic-missing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
76
82
|
'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -86,6 +92,7 @@ export declare const iconMap: {
|
|
86
92
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
87
93
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
88
94
|
'ic-shield-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
95
|
+
'ic-sliders-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
89
96
|
'ic-sort-ascending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
90
97
|
'ic-sort-descending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
91
98
|
'ic-sortable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -95,6 +102,7 @@ export declare const iconMap: {
|
|
95
102
|
'ic-success': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
96
103
|
'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
97
104
|
'ic-tata1mg': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
105
|
+
'ic-terminal-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
98
106
|
'ic-timeout-two-dash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
99
107
|
'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
100
108
|
'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { FC, SVGProps } from 'react';
|
2
2
|
import { TooltipProps } from '@Common/Tooltip/types';
|
3
|
+
import { IconBaseColorType, IconBaseSizeType } from '../../index';
|
3
4
|
type IconMap = Record<string, FC<SVGProps<SVGSVGElement>>>;
|
4
5
|
export interface IconBaseProps {
|
5
6
|
/** The name of the icon to render. */
|
@@ -10,7 +11,7 @@ export interface IconBaseProps {
|
|
10
11
|
* The size of the icon in pixels.
|
11
12
|
* @default 16
|
12
13
|
*/
|
13
|
-
size?:
|
14
|
+
size?: IconBaseSizeType;
|
14
15
|
/** Props to configure the tooltip when hovering over the icon. */
|
15
16
|
tooltipProps?: TooltipProps;
|
16
17
|
/**
|
@@ -18,6 +19,6 @@ export interface IconBaseProps {
|
|
18
19
|
* If `null`, the default color present in icon is used.
|
19
20
|
* @example `'B500'`, `'N200'`, `'G50'`, `'R700'`
|
20
21
|
*/
|
21
|
-
color:
|
22
|
+
color: IconBaseColorType;
|
22
23
|
}
|
23
24
|
export {};
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { default as Tippy } from '@tippyjs/react';
|
2
1
|
import { ComponentProps, SyntheticEvent } from 'react';
|
2
|
+
import { default as Tippy } from '@tippyjs/react';
|
3
3
|
import { RegistryType } from '../../types';
|
4
4
|
type ImageChipCellButtonActionProps = {
|
5
5
|
handleClick: (e: SyntheticEvent) => void;
|
@@ -1,6 +1,6 @@
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
1
2
|
import { ComponentSizeType } from '../../constants';
|
2
3
|
import { BorderConfigType, ComponentLayoutType } from '../../types';
|
3
|
-
import { ReactElement, ReactNode } from 'react';
|
4
4
|
import { ButtonComponentType, ButtonProps } from '../Button';
|
5
5
|
export type InfoBlockProps = {
|
6
6
|
/**
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { DevtronLicenseCardProps } from '
|
1
|
+
import { DevtronLicenseCardProps } from './types';
|
2
2
|
export declare const DevtronLicenseCard: ({ enterpriseName, licenseKey, licenseSuffix, expiryDate, licenseStatus, isTrial, ttl, appTheme, handleCopySuccess, }: DevtronLicenseCardProps) => JSX.Element;
|
3
3
|
export default DevtronLicenseCard;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export { default as DevtronLicenseCard } from './DevtronLicenseCard';
|
2
|
-
export { parseDevtronLicenseData } from './utils';
|
3
|
-
export { default as InstallationFingerprintInfo, ICDevtronWithBorder } from './License.components';
|
4
1
|
export { default as ActivateLicenseDialog } from './ActivateLicenseDialog';
|
2
|
+
export { default as DevtronLicenseCard } from './DevtronLicenseCard';
|
3
|
+
export { ICDevtronWithBorder, default as InstallationFingerprintInfo } from './License.components';
|
5
4
|
export * from './types';
|
5
|
+
export { parseDevtronLicenseData } from './utils';
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { AppThemeType
|
1
|
+
import { AppThemeType } from '../../Providers';
|
2
|
+
import { DevtronLicenseBaseDTO, DevtronLicenseDTO } from '../../types';
|
2
3
|
export declare enum LicenseStatus {
|
3
4
|
ACTIVE = "ACTIVE",
|
4
5
|
EXPIRED = "EXPIRED",
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { DevtronLicenseDTO
|
1
|
+
import { DevtronLicenseDTO } from '../../types';
|
2
|
+
import { DevtronLicenseInfo, LicenseStatus } from './types';
|
2
3
|
export declare const getLicenseColorsAccordingToStatus: (licenseStatus: LicenseStatus) => {
|
3
4
|
bgColor: string;
|
4
5
|
textColor: string;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
export * from './types';
|
2
|
-
export * from './service';
|
3
|
-
export * from './utils';
|
4
1
|
export * from './constants';
|
2
|
+
export { default as PluginImageContainer } from './PluginImageContainer';
|
5
3
|
export { default as PluginListContainer } from './PluginListContainer';
|
6
4
|
export { default as PluginTagsContainer } from './PluginTagsContainer';
|
7
|
-
export
|
5
|
+
export * from './service';
|
6
|
+
export * from './types';
|
7
|
+
export * from './utils';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { CodeScan, DetailViewDataType, EmptyStateType, InfoCardPropsType, OpenDetailViewButtonProps, ScanResultDTO, SecurityModalStateType, StatusType, TablePropsType } from '../types';
|
2
2
|
export declare const getCodeScanVulnerabilities: (data: CodeScan["vulnerability"], hidePolicy: boolean) => {
|
3
3
|
headers: ({
|
4
4
|
headerText: string;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import {
|
1
|
+
import { DetailViewDataType, ScanResultDTO, SecurityModalStateType } from '../types';
|
2
2
|
export declare const getEmptyStateValues: (data: ScanResultDTO, category: SecurityModalStateType["category"], subCategory: SecurityModalStateType["subCategory"], detailViewData: DetailViewDataType) => import('../types').EmptyStateType;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DetailViewDataType,
|
1
|
+
import { DetailViewDataType, EmptyStateType, ImageScan, InfoCardPropsType, OpenDetailViewButtonProps, ScanResultDTO, SecurityModalStateType, StatusType, TablePropsType } from '../types';
|
2
2
|
export declare const getProgressingStateForStatus: (status: StatusType["status"]) => JSX.Element;
|
3
3
|
export declare const getImageScanTableData: (data: ImageScan, subCategory: SecurityModalStateType["subCategory"], setDetailViewData: OpenDetailViewButtonProps["setDetailViewData"], hidePolicy: boolean) => TablePropsType;
|
4
4
|
export declare const getImageScanInfoCardData: (data: ImageScan, subCategory: SecurityModalStateType["subCategory"]) => InfoCardPropsType;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { DetailViewDataType, EmptyStateType, InfoCardPropsType, KubernetesManifest, OpenDetailViewButtonProps, ScanResultDTO, SecurityModalStateType, TablePropsType } from '../types';
|
2
2
|
export declare const getKubernetesManifestTableData: (data: KubernetesManifest, subCategory: SecurityModalStateType["subCategory"], setDetailViewData: OpenDetailViewButtonProps["setDetailViewData"]) => TablePropsType;
|
3
3
|
export declare const getKubernetesManifestInfoCardData: (data: KubernetesManifest, subCategory: SecurityModalStateType["subCategory"]) => InfoCardPropsType;
|
4
4
|
export declare const getKubernetesManifestEmptyState: (data: ScanResultDTO, subCategory: SecurityModalStateType["subCategory"], detailViewData: DetailViewDataType) => EmptyStateType;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import {
|
1
|
+
import { OpenDetailViewButtonProps, ScanResultDTO, SecurityModalStateType, TablePropsType } from '../types';
|
2
2
|
export declare const getTableData: (data: ScanResultDTO, category: SecurityModalStateType["category"], subCategory: SecurityModalStateType["subCategory"], setDetailViewData: OpenDetailViewButtonProps["setDetailViewData"], hidePolicy: boolean) => TablePropsType;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export {
|
1
|
+
export { getProgressingStateForStatus } from './ImageScan';
|
2
2
|
export { getInfoCardData } from './InfoCard';
|
3
3
|
export { getSidebarData } from './Sidebar';
|
4
|
-
export {
|
4
|
+
export { getTableData } from './Table';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { SeveritiesDTO, SortOrderEnum, EmptyStateType, SecurityModalStateType } from './types';
|
2
1
|
import { ScanCategoriesWithLicense } from '../types';
|
2
|
+
import { EmptyStateType, SecurityModalStateType, SeveritiesDTO, SortOrderEnum } from './types';
|
3
3
|
export declare const DEFAULT_SECURITY_MODAL_IMAGE_STATE: {
|
4
4
|
category: "imageScan";
|
5
5
|
subCategory: "vulnerability";
|
@@ -1,7 +1,7 @@
|
|
1
|
-
export {
|
2
|
-
export { getSecurityScanSeveritiesCount, getTotalVulnerabilityCount, parseGetResourceScanDetailsResponse, } from './utils';
|
3
|
-
export type { ScanResultDTO, SidebarPropsType, SidebarDataChildType, SidebarDataType, GetResourceScanDetailsPayloadType, GetResourceScanDetailsResponseType, } from './types';
|
4
|
-
export { SeveritiesDTO } from './types';
|
5
|
-
export { getSidebarData, getProgressingStateForStatus } from './config';
|
1
|
+
export { getProgressingStateForStatus, getSidebarData } from './config';
|
6
2
|
export { CATEGORY_LABELS } from './constants';
|
3
|
+
export { default as SecurityModal } from './SecurityModal';
|
7
4
|
export { getSecurityScan } from './service';
|
5
|
+
export type { GetResourceScanDetailsPayloadType, GetResourceScanDetailsResponseType, ScanResultDTO, SidebarDataChildType, SidebarDataType, SidebarPropsType, } from './types';
|
6
|
+
export { SeveritiesDTO } from './types';
|
7
|
+
export { getSecurityScanSeveritiesCount, getTotalVulnerabilityCount, parseGetResourceScanDetailsResponse, } from './utils';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { default as React } from 'react';
|
2
|
-
import { GenericEmptyStateType } from '../../../../Common/Types';
|
3
|
-
import { LastExecutionResultType, NodeType, Nodes } from '../../../types';
|
4
2
|
import { SegmentedBarChartProps } from '../../../../Common/SegmentedBarChart';
|
5
3
|
import { ServerErrors } from '../../../../Common/ServerError';
|
4
|
+
import { GenericEmptyStateType } from '../../../../Common/Types';
|
5
|
+
import { LastExecutionResultType, Nodes, NodeType } from '../../../types';
|
6
6
|
import { ScanCategories, ScanSubCategories } from '../types';
|
7
7
|
export interface GetResourceScanDetailsPayloadType {
|
8
8
|
name: string;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { ScanResultDTO, SeveritiesDTO, GetResourceScanDetailsResponseType, ImageScanVulnerabilityType, ImageVulnerabilityType, VulnerabilityCountType } from './types';
|
2
1
|
import { SEVERITIES } from './constants';
|
2
|
+
import { GetResourceScanDetailsResponseType, ImageScanVulnerabilityType, ImageVulnerabilityType, ScanResultDTO, SeveritiesDTO, VulnerabilityCountType } from './types';
|
3
3
|
export declare const mapSeveritiesToSegmentedBarChartEntities: (severities: Partial<Record<keyof typeof SEVERITIES, number>>) => {
|
4
|
-
color: "var(--
|
4
|
+
color: "var(--R500)" | "var(--N300)" | "var(--O500)" | "var(--G500)" | "var(--Y500)" | "var(--R700)";
|
5
5
|
label: "Unknown" | "Critical" | "High" | "Medium" | "Low" | "Failures" | "Successes" | "Exceptions";
|
6
6
|
value: number;
|
7
7
|
}[];
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ScanResultDTO, SeveritiesDTO } from './SecurityModal';
|
2
1
|
import { ImageScanLicenseListType, ImageScanVulnerabilityListType, StatusType } from './SecurityModal/types';
|
2
|
+
import { ScanResultDTO, SeveritiesDTO } from './SecurityModal';
|
3
3
|
import { CategoriesConfig, SecurityConfigType } from './types';
|
4
4
|
export declare const getCVEUrlFromCVEName: (cveName: string) => string;
|
5
5
|
export declare const getTotalSeverities: (severityCount: Partial<Record<SeveritiesDTO, number>>) => number;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { ClearIndicatorProps, ControlProps, DropdownIndicatorProps, InputProps, MenuListProps, MultiValueProps, MultiValueRemoveProps, OptionProps, ValueContainerProps } from 'react-select';
|
2
2
|
import { TooltipProps } from '@Common/Tooltip/types';
|
3
3
|
import { SelectPickerGroupHeadingProps, SelectPickerOptionType, SelectPickerProps } from './type';
|
4
4
|
export declare const getTooltipProps: (tooltipProps?: SelectPickerOptionType["tooltipProps"]) => TooltipProps;
|
@@ -1,5 +1,5 @@
|
|
1
|
+
export { default as FilterSelectPicker } from './FilterSelectPicker';
|
1
2
|
export { default as SelectPicker } from './SelectPicker.component';
|
2
3
|
export * from './SelectPickerTextArea.component';
|
3
|
-
export { default as FilterSelectPicker } from './FilterSelectPicker';
|
4
4
|
export * from './type';
|
5
5
|
export { getSelectPickerOptionByValue } from './utils';
|
@@ -1,13 +1,13 @@
|
|
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
|
-
import { TooltipProps } from '@Common/Tooltip/types';
|
8
4
|
import { ResizableTagTextAreaProps } from '../../../Common/CustomTagSelector';
|
9
|
-
import {
|
5
|
+
import { ServerErrors } from '../../../Common/ServerError';
|
6
|
+
import { TooltipProps } from '@Common/Tooltip/types';
|
7
|
+
import { OptionType } from '../../../Common/Types';
|
8
|
+
import { ComponentSizeType } from '../../constants';
|
10
9
|
import { ButtonComponentType, ButtonProps, ButtonVariantType } from '../Button';
|
10
|
+
import { FormFieldWrapperProps } from '../FormFieldWrapper/types';
|
11
11
|
export interface SelectPickerOptionType<OptionValue = string | number> extends OptionType<OptionValue, ReactNode> {
|
12
12
|
/**
|
13
13
|
* Description to be displayed for the option
|
@@ -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;
|