@devtron-labs/devtron-fe-common-lib 1.15.3-pre-4 → 1.15.3
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-BqrKjHnF.js → @code-editor-BSHPw8A0.js} +5687 -5700
- package/dist/{@common-rjsf-BouEdO2I.js → @common-rjsf-CwVuUFdU.js} +6 -6
- package/dist/{@framer-motion-BhKAac90.js → @framer-motion-Bw9QEkUf.js} +20 -20
- package/dist/{@moment-CGWt8tF2.js → @moment-C_WeV3Af.js} +1 -12
- package/dist/{@react-dates-CfRo6n5e.js → @react-dates-D5kydtW-.js} +2140 -2065
- package/dist/{@react-select-DNDV8S9D.js → @react-select-Cmser7OI.js} +6 -6
- package/dist/{@react-virtualized-sticky-tree-mXcyQzGx.js → @react-virtualized-sticky-tree-DMnFy9PE.js} +1 -1
- package/dist/{@vendor-CA9d7Ztm.js → @vendor-STJ9h0oI.js} +20458 -20720
- package/dist/Common/Tooltip/types.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +1 -1
- package/dist/Shared/Components/BulkOperations/types.d.ts +1 -1
- package/dist/Shared/Components/Button/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/helpers.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +1 -1
- package/dist/Shared/Components/CodeEditor/CodeEditor.constants.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -1
- package/dist/Shared/Components/GenericInfoCard/types.d.ts +1 -1
- package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +1 -1
- package/dist/Shared/Components/InvalidYAMLTippy/types.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +7 -7
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +1 -1
- package/dist/Shared/Components/Security/Vulnerabilities/types.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -1
- package/dist/Shared/Components/Table/types.d.ts +1 -1
- package/dist/Shared/Components/TargetPlatforms/types.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +0 -1
- package/dist/Shared/Helpers.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -2
- package/dist/Shared/constants.d.ts +0 -1
- package/dist/index.js +853 -854
- package/package.json +7 -6
- package/dist/Shared/Components/Badge/Badge.d.ts +0 -3
- package/dist/Shared/Components/Badge/index.d.ts +0 -2
- package/dist/Shared/Components/Badge/types.d.ts +0 -18
- package/dist/Shared/Components/Badge/utils.d.ts +0 -7
- package/dist/Shared/Components/Security/SeverityChip.d.ts +0 -6
@@ -1,5 +1,5 @@
|
|
1
1
|
import { TippyProps } from '@tippyjs/react';
|
2
|
-
import { SupportedKeyboardKeysType } from '
|
2
|
+
import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
|
3
3
|
type BaseTooltipProps = {
|
4
4
|
/**
|
5
5
|
* If true, show tippy on truncate
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { UseBreadcrumbProps } from '
|
1
|
+
import { UseBreadcrumbProps } from '@Common/BreadCrumb/Types';
|
2
2
|
import { CMSecretComponentType } from '../../../Shared/Services';
|
3
3
|
import { BuildInfraAPIVersionType, BuildInfraConfigTypes, BuildInfraFormFieldType, BuildInfraInheritActionsOnSubValues, BuildInfraLocators, BuildInfraMetaConfigTypes, BuildInfraToleranceEffectType, BuildInfraToleranceOperatorType, HandleProfileInputChangeType, InfraConfigWithSubValues, ProfileInputErrorType, RequestLimitConfigType, TargetPlatformErrorFields, ValidateRequestLimitType } from './types';
|
4
4
|
export declare const BUILD_INFRA_INPUT_CONSTRAINTS: {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ReactNode } from 'react';
|
2
2
|
import { APIOptions, DrawerProps } from '../../../Common/index';
|
3
|
-
import { Entity } from '
|
3
|
+
import { Entity } from '@Common/SegmentedBarChart/types';
|
4
4
|
import { ConfirmationModalProps } from '../ConfirmationModal/types';
|
5
5
|
import { getProgressingStateForStatus } from '../Security';
|
6
6
|
interface BulkOperationAdditionalKeysType {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactElement } from 'react';
|
2
2
|
import { LinkProps } from 'react-router-dom';
|
3
|
-
import { TooltipProps } from '
|
3
|
+
import { TooltipProps } from '@Common/Tooltip/types';
|
4
4
|
import { ComponentSizeType } from '../../constants';
|
5
5
|
export declare enum ButtonVariantType {
|
6
6
|
primary = "primary",
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DeploymentConfigDiffProps } from '
|
1
|
+
import { DeploymentConfigDiffProps } from '@Shared/Components/DeploymentConfigDiff';
|
2
2
|
import { History } from '../types';
|
3
3
|
import { DeploymentHistoryConfigDiffProps } from './types';
|
4
4
|
export declare const renderDeploymentHistoryConfig: (config: DeploymentConfigDiffProps["configList"], heading: string, pathname: string, hideDiffState: boolean) => JSX.Element;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Dispatch, SetStateAction } from 'react';
|
2
2
|
import { UseUrlFiltersReturnType } from '../../../../Common/Hooks';
|
3
|
-
import { DeploymentConfigDiffProps } from '
|
3
|
+
import { DeploymentConfigDiffProps } from '@Shared/Components/DeploymentConfigDiff';
|
4
4
|
import { EnvResourceType } from '../../../Services';
|
5
5
|
import { History, HistoryLogsProps } from '../types';
|
6
6
|
export interface DeploymentHistoryConfigDiffQueryParams {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { SelectPickerOptionType } from '
|
1
|
+
import { SelectPickerOptionType } from '@Shared/Components/SelectPicker';
|
2
2
|
import { DeploymentHistorySingleValue, History } from '../types';
|
3
3
|
import { DeploymentHistoryConfigDiffProps } from './types';
|
4
4
|
export declare const getPipelineDeployments: (triggerHistory: DeploymentHistoryConfigDiffProps["triggerHistory"]) => History[];
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { CSSProperties, MutableRefObject, ReactElement, ReactNode } from 'react';
|
2
|
-
import { SupportedKeyboardKeysType } from '
|
2
|
+
import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
|
3
3
|
import { DeploymentAppTypes, FilterConditionsListType, ImageComment, OptionType, PaginationProps, PromotionApprovalMetadataType, ReleaseTag, ResponseType, TooltipProps, UserApprovalMetadataType, useScrollable } from '../../../Common';
|
4
4
|
import { DeploymentStageType } from '../../constants';
|
5
5
|
import { AggregationKeys, AppDetails, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, DeploymentStatusTimelineType, DeploymentStrategyType, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType, TargetPlatformsDTO } from '../../types';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { SupportedKeyboardKeysType } from '
|
1
|
+
import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
|
2
2
|
export declare const PREVIOUS_MATCH_SHORTCUT_KEYS: SupportedKeyboardKeysType[];
|
3
3
|
export declare const NEXT_MATCH_SHORTCUT_KEYS: SupportedKeyboardKeysType[];
|
4
4
|
export declare const REPLACE_SHORTCUT_KEYS: SupportedKeyboardKeysType[];
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { DetailedHTMLProps, ReactElement, ReactNode } from 'react';
|
2
2
|
import { ResizableTagTextAreaProps } from '../../../Common/CustomTagSelector';
|
3
3
|
import { UseStateFiltersReturnType } from '../../../Common/Hooks';
|
4
|
-
import { TooltipProps } from '
|
4
|
+
import { TooltipProps } from '@Common/Tooltip/types';
|
5
5
|
import { FileUploadProps } from '../FileUpload';
|
6
6
|
import { SelectPickerOptionType, SelectPickerProps, SelectPickerTextAreaProps } from '../SelectPicker';
|
7
7
|
/**
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { MouseEventHandler, ReactElement } from 'react';
|
2
2
|
import { LinkProps } from 'react-router-dom';
|
3
|
-
import { GenericFilterEmptyStateProps } from '
|
3
|
+
import { GenericFilterEmptyStateProps } from '@Common/EmptyState/types';
|
4
4
|
import { GenericEmptyStateType } from '../../../Common/Types';
|
5
5
|
import { APIResponseHandlerProps } from '../APIResponseHandler';
|
6
6
|
type BaseGenericInfoCardProps = {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CodeScan, DetailViewDataType, EmptyStateType, InfoCardPropsType, OpenDetailViewButtonProps, ScanResultDTO, SecurityModalStateType,
|
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;
|
@@ -10,7 +10,7 @@ export declare const getCodeScanVulnerabilities: (data: CodeScan["vulnerability"
|
|
10
10
|
headerText: string;
|
11
11
|
isSortable: boolean;
|
12
12
|
width: number;
|
13
|
-
compareFunc: (a: SeveritiesDTO, b: SeveritiesDTO) => number;
|
13
|
+
compareFunc: (a: import('../types').SeveritiesDTO, b: import('../types').SeveritiesDTO) => number;
|
14
14
|
defaultSortOrder: import('../types').SortOrderEnum;
|
15
15
|
})[];
|
16
16
|
rows: {
|
@@ -34,7 +34,7 @@ export declare const getCodeScanLicense: (data: CodeScan["license"]) => {
|
|
34
34
|
headerText: string;
|
35
35
|
isSortable: boolean;
|
36
36
|
width: number;
|
37
|
-
compareFunc: (a: SeveritiesDTO, b: SeveritiesDTO) => number;
|
37
|
+
compareFunc: (a: import('../types').SeveritiesDTO, b: import('../types').SeveritiesDTO) => number;
|
38
38
|
defaultSortOrder: import('../types').SortOrderEnum;
|
39
39
|
})[];
|
40
40
|
rows: {
|
@@ -57,7 +57,7 @@ export declare const getCodeScanMisconfigurations: (data: CodeScan["misConfigura
|
|
57
57
|
headerText: string;
|
58
58
|
isSortable: boolean;
|
59
59
|
width: number;
|
60
|
-
compareFunc: (a: Record<SeveritiesDTO, number>, b: Record<SeveritiesDTO, number>) => number;
|
60
|
+
compareFunc: (a: Record<import('../types').SeveritiesDTO, number>, b: Record<import('../types').SeveritiesDTO, number>) => number;
|
61
61
|
})[];
|
62
62
|
rows: {
|
63
63
|
id: number;
|
@@ -67,7 +67,7 @@ export declare const getCodeScanMisconfigurations: (data: CodeScan["misConfigura
|
|
67
67
|
cellContent: string;
|
68
68
|
} | {
|
69
69
|
component: JSX.Element;
|
70
|
-
cellContent: Partial<Record<SeveritiesDTO, number>>;
|
70
|
+
cellContent: Partial<Record<import('../types').SeveritiesDTO, number>>;
|
71
71
|
})[];
|
72
72
|
}[];
|
73
73
|
};
|
@@ -81,7 +81,7 @@ export declare const getCodeScanExposedSecrets: (data: CodeScan["exposedSecrets"
|
|
81
81
|
headerText: string;
|
82
82
|
isSortable: boolean;
|
83
83
|
width: number;
|
84
|
-
compareFunc: (a: Record<SeveritiesDTO, number>, b: Record<SeveritiesDTO, number>) => number;
|
84
|
+
compareFunc: (a: Record<import('../types').SeveritiesDTO, number>, b: Record<import('../types').SeveritiesDTO, number>) => number;
|
85
85
|
})[];
|
86
86
|
rows: {
|
87
87
|
id: number;
|
@@ -91,7 +91,7 @@ export declare const getCodeScanExposedSecrets: (data: CodeScan["exposedSecrets"
|
|
91
91
|
cellContent: string;
|
92
92
|
} | {
|
93
93
|
component: JSX.Element;
|
94
|
-
cellContent: Partial<Record<SeveritiesDTO, number>>;
|
94
|
+
cellContent: Partial<Record<import('../types').SeveritiesDTO, number>>;
|
95
95
|
})[];
|
96
96
|
}[];
|
97
97
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { default as React } from 'react';
|
2
|
-
import { Entity } from '
|
2
|
+
import { Entity } from '@Common/SegmentedBarChart/types';
|
3
3
|
import { ServerErrors } from '../../../../Common/ServerError';
|
4
4
|
import { GenericEmptyStateType } from '../../../../Common/Types';
|
5
5
|
import { LastExecutionResultType, Nodes, NodeType } from '../../../types';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ImageCardAccordionProps } from '
|
1
|
+
import { ImageCardAccordionProps } from '@Shared/Components/ImageCardAccordion/types';
|
2
2
|
import { MaterialSecurityInfoType } from '../../../types';
|
3
3
|
export interface VulnerabilitiesProps extends MaterialSecurityInfoType, Pick<ImageCardAccordionProps, 'SecurityModalSidebar'> {
|
4
4
|
artifactId: number;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ClearIndicatorProps, ControlProps, DropdownIndicatorProps, InputProps, MenuListProps, MultiValueProps, MultiValueRemoveProps, OptionProps, ValueContainerProps } from 'react-select';
|
2
|
-
import { TooltipProps } from '
|
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;
|
5
5
|
export declare const SelectPickerDropdownIndicator: <OptionValue>(props: DropdownIndicatorProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
|
@@ -3,7 +3,7 @@ import { GroupBase, GroupHeadingProps, Props as ReactSelectProps, SelectInstance
|
|
3
3
|
import { CreatableProps } from 'react-select/creatable';
|
4
4
|
import { ResizableTagTextAreaProps } from '../../../Common/CustomTagSelector';
|
5
5
|
import { ServerErrors } from '../../../Common/ServerError';
|
6
|
-
import { TooltipProps } from '
|
6
|
+
import { TooltipProps } from '@Common/Tooltip/types';
|
7
7
|
import { OptionType } from '../../../Common/Types';
|
8
8
|
import { ComponentSizeType } from '../../constants';
|
9
9
|
import { ButtonComponentType, ButtonProps, ButtonVariantType } from '../Button';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { LinkProps, NavLinkProps } from 'react-router-dom';
|
2
|
-
import { TooltipProps } from '
|
2
|
+
import { TooltipProps } from '@Common/Tooltip/types';
|
3
3
|
import { ComponentSizeType } from '../../constants';
|
4
4
|
import { DataAttributes } from '../../types';
|
5
5
|
import { IconName } from '../Icon';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Dispatch, FunctionComponent, PropsWithChildren, SetStateAction } from 'react';
|
2
|
-
import { GenericFilterEmptyStateProps } from '
|
2
|
+
import { GenericFilterEmptyStateProps } from '@Common/EmptyState/types';
|
3
3
|
import { UseStateFiltersProps, UseStateFiltersReturnType, UseUrlFiltersProps } from '../../../Common/Hooks';
|
4
4
|
import { GenericEmptyStateType } from '../../../Common/index';
|
5
5
|
import { SortableTableHeaderCellProps, useResizableTableConfig } from '../../../Common/SortableTableHeaderCell';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { TooltipProps } from '
|
1
|
+
import { TooltipProps } from '@Common/Tooltip/types';
|
2
2
|
import { TargetPlatformsDTO } from '../../types';
|
3
3
|
export interface TargetPlatformBadgeListProps extends Required<Pick<TargetPlatformsDTO, 'targetPlatforms'>> {
|
4
4
|
}
|
@@ -7,7 +7,6 @@ export * from './APIResponseHandler';
|
|
7
7
|
export * from './AppStatusModal';
|
8
8
|
export * from './ArtifactInfoModal';
|
9
9
|
export * from './Backdrop';
|
10
|
-
export * from './Badge';
|
11
10
|
export * from './BulkOperations';
|
12
11
|
export * from './BulkSelection';
|
13
12
|
export * from './Button';
|
package/dist/Shared/Helpers.d.ts
CHANGED
@@ -2,7 +2,7 @@ import { ReactElement } from 'react';
|
|
2
2
|
import { PromptProps } from 'react-router-dom';
|
3
3
|
import { StrictRJSFSchema } from '@rjsf/utils';
|
4
4
|
import { Pair } from 'yaml';
|
5
|
-
import { MaterialHistoryType } from '
|
5
|
+
import { MaterialHistoryType } from '@Shared/Services/app.types';
|
6
6
|
import { ApprovalConfigDataType, MaterialInfo, SortingOrder, UserApprovalConfigType, UserApprovalInfo } from '../Common';
|
7
7
|
import { AggregatedNodes, PodMetadatum } from './Components';
|
8
8
|
import { BorderConfigType, GetTimeDifferenceParamsType, GitTriggers, IntersectionChangeHandler, IntersectionOptions, PreventOutsideFocusProps, TargetPlatformItemDTO, TargetPlatformsDTO, WebhookEventNameType } from './types';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { USER_PREFERENCES_ATTRIBUTE_KEY } from '
|
2
|
-
import { AppThemeType, ThemeConfigType, ThemePreferenceType } from '
|
1
|
+
import { USER_PREFERENCES_ATTRIBUTE_KEY } from '@Shared/Hooks/useUserPreferences/constants';
|
2
|
+
import { AppThemeType, ThemeConfigType, ThemePreferenceType } from '@Shared/Providers/ThemeProvider/types';
|
3
3
|
import { BaseAppMetaData } from '../../Services';
|
4
4
|
import { ResourceKindType } from '../../types';
|
5
5
|
export interface GetUserPreferencesQueryParamsType {
|