@devtron-labs/devtron-fe-common-lib 1.10.17 → 1.10.19
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-BvjrvTRt.js → @code-editor-B1nhzehZ.js} +23836 -23716
- package/dist/{@common-rjsf-DM5WzH7I.js → @common-rjsf-v20lsyFO.js} +29 -29
- package/dist/{@framer-motion-DMD7dX-G.js → @framer-motion-3ACrfimm.js} +1 -1
- package/dist/{@react-dates-DxmDHBUI.js → @react-dates-C1YJpDXg.js} +990 -989
- package/dist/{@react-select-BR4eLpVa.js → @react-select-rJh4_EaU.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-Ca-pl6uN.js → @react-virtualized-sticky-tree-CMLds5Wa.js} +1 -1
- package/dist/{@vendor-DZHtXPTX.js → @vendor-HJw8T7OP.js} +29443 -29446
- 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 +2 -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 +5 -1
- package/dist/Common/SortableTableHeaderCell/index.d.ts +1 -1
- package/dist/Common/Toggle/Toggle.d.ts +2 -1
- package/dist/Common/Tooltip/index.d.ts +1 -1
- package/dist/Common/Tooltip/types.d.ts +1 -1
- package/dist/Common/Types.d.ts +1 -0
- 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/types.d.ts +1 -1
- 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/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 +5 -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/DevtronLicenseCard/DevtronLicenseCard.d.ts +1 -1
- package/dist/Shared/Components/DevtronLicenseCard/index.d.ts +1 -1
- package/dist/Shared/Components/DevtronLicenseCard/types.d.ts +2 -1
- package/dist/Shared/Components/DevtronLicenseCard/utils.d.ts +2 -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/FramerComponents/MotionDiv.d.ts +2 -0
- package/dist/Shared/Components/FramerComponents/index.d.ts +3 -0
- 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 +14 -0
- package/dist/Shared/Components/Icon/types.d.ts +1 -1
- 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/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.helpers.d.ts +2 -2
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +6 -4
- package/dist/Shared/Components/TabGroup/TabGroup.utils.d.ts +2 -0
- 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 +63 -62
- package/dist/Shared/Helpers.d.ts +3 -3
- package/dist/Shared/Hooks/UseDownload/index.d.ts +1 -1
- package/dist/Shared/Hooks/index.d.ts +3 -2
- package/dist/Shared/Hooks/useForm/useForm.d.ts +9 -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/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/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 +1 -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/Store/IndexStore.d.ts +2 -2
- package/dist/Shared/index.d.ts +6 -6
- package/dist/Shared/types.d.ts +16 -7
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/ic-arrows-left-right.2d4dda45.svg +3 -0
- package/dist/assets/ic-check.a0f5ee85.svg +3 -0
- package/dist/assets/ic-close-large.fb6095e0.svg +3 -0
- package/dist/assets/ic-delete-lightning.2a7545bd.svg +3 -0
- package/dist/assets/ic-folder-user.ff0670e8.svg +3 -0
- package/dist/assets/ic-hibernate.f75c1e70.svg +19 -0
- package/dist/assets/ic-lightning-fill.25ce980f.svg +3 -0
- package/dist/assets/ic-lightning.02da5bf8.svg +3 -0
- package/dist/assets/ic-medium-delete.f33a9cd7.svg +11 -0
- package/dist/assets/ic-pencil.3ea1c075.svg +3 -0
- package/dist/assets/ic-sort-ascending.45f474ff.svg +3 -0
- package/dist/assets/ic-sort-descending.0ee6b8dd.svg +3 -0
- package/dist/assets/ic-sortable.1d3308e1.svg +3 -0
- package/dist/assets/ic-stamp.23836e37.svg +3 -0
- package/dist/assets/ic-users.102d4732.svg +3 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +539 -534
- package/package.json +5 -4
- package/dist/assets/ic-hibernate.988d2323.svg +0 -28
@@ -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,6 +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
|
+
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;
|
@@ -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,4 +1,4 @@
|
|
1
1
|
export { default as DevtronLicenseCard } from './DevtronLicenseCard';
|
2
|
-
export { parseDevtronLicenseDTOIntoLicenseCardData } from './utils';
|
3
2
|
export { default as InstallationFingerprintInfo } from './InstallationFingerprintInfo';
|
4
3
|
export * from './types';
|
4
|
+
export { parseDevtronLicenseDTOIntoLicenseCardData } 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 {
|
1
|
+
import { DevtronLicenseDTO } from '../../types';
|
2
|
+
import { DevtronLicenseCardProps, LicenseStatus } from './types';
|
2
3
|
export declare const getLicenseColorsAccordingToStatus: (licenseStatus: LicenseStatus) => {
|
3
4
|
bgColor: string;
|
4
5
|
textColor: string;
|
@@ -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';
|
@@ -6,6 +6,7 @@ export declare const iconMap: {
|
|
6
6
|
'ic-apica': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
7
7
|
'ic-app-group': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
8
8
|
'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
9
|
+
'ic-arrows-left-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
9
10
|
'ic-ather': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
10
11
|
'ic-azure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
11
12
|
'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -19,10 +20,12 @@ export declare const iconMap: {
|
|
19
20
|
'ic-caret-left': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
20
21
|
'ic-cd': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
21
22
|
'ic-chat-circle-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
23
|
+
'ic-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
22
24
|
'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
23
25
|
'ic-ci-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
24
26
|
'ic-circle-loader': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
25
27
|
'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
28
|
+
'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
26
29
|
'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
27
30
|
'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
28
31
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -30,6 +33,7 @@ export declare const iconMap: {
|
|
30
33
|
'ic-copy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
31
34
|
'ic-crown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
32
35
|
'ic-cube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
36
|
+
'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
33
37
|
'ic-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
34
38
|
'ic-delhivery': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
35
39
|
'ic-devtron-header-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -39,6 +43,7 @@ export declare const iconMap: {
|
|
39
43
|
'ic-env': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
40
44
|
'ic-error': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
41
45
|
'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
46
|
+
'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
42
47
|
'ic-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
43
48
|
'ic-git': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
44
49
|
'ic-github': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -59,9 +64,12 @@ export declare const iconMap: {
|
|
59
64
|
'ic-job-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
60
65
|
'ic-k8s-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
61
66
|
'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
67
|
+
'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
68
|
+
'ic-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
62
69
|
'ic-livspace': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
63
70
|
'ic-login-devtron-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
64
71
|
'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
72
|
+
'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
65
73
|
'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
66
74
|
'ic-microsoft': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
67
75
|
'ic-missing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -74,11 +82,16 @@ export declare const iconMap: {
|
|
74
82
|
'ic-openshift': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
75
83
|
'ic-out-of-sync': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
76
84
|
'ic-paper-plane-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
85
|
+
'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
77
86
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
78
87
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
79
88
|
'ic-shield-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
89
|
+
'ic-sort-ascending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
90
|
+
'ic-sort-descending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
91
|
+
'ic-sortable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
80
92
|
'ic-spinny': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
81
93
|
'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
94
|
+
'ic-stamp': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
82
95
|
'ic-success': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
83
96
|
'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
84
97
|
'ic-tata1mg': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -87,6 +100,7 @@ export declare const iconMap: {
|
|
87
100
|
'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
88
101
|
'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
89
102
|
'ic-user-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
103
|
+
'ic-users': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
90
104
|
'ic-warning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
91
105
|
};
|
92
106
|
export type IconName = keyof typeof iconMap;
|
@@ -18,6 +18,6 @@ export interface IconBaseProps {
|
|
18
18
|
* If `null`, the default color present in icon is used.
|
19
19
|
* @example `'B500'`, `'N200'`, `'G50'`, `'R700'`
|
20
20
|
*/
|
21
|
-
color: `${'B' | 'N' | 'G' | 'Y' | 'R' | 'V' | 'O'}${`${1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9}00` | '50'}` | 'white' | 'black' | null;
|
21
|
+
color: `${'B' | 'N' | 'G' | 'Y' | 'R' | 'V' | 'O'}${`${1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9}00` | '50' | '0'}` | 'white' | 'black' | null;
|
22
22
|
}
|
23
23
|
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,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(--G500)" | "var(--Y500)" | "var(--O500)" | "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;
|