@devtron-labs/devtron-fe-common-lib 1.14.1-pre-7-beta-1 → 1.14.2
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-CkMdOfQQ.js → @code-editor-CVEmKqGD.js} +10049 -10223
- package/dist/{@common-rjsf-CSPmJewm.js → @common-rjsf-C9V3H0_L.js} +2 -2
- package/dist/{@framer-motion-CXr339mx.js → @framer-motion-eB9Rj-_8.js} +3 -3
- package/dist/{@react-dates-BqsAxdEY.js → @react-dates-CJpoumtu.js} +1 -1
- package/dist/{@react-select-BMTMYG5B.js → @react-select-CUbAbK6L.js} +6 -6
- package/dist/{@react-virtualized-sticky-tree-wtn_BsmV.js → @react-virtualized-sticky-tree-Ckb5S1RC.js} +1 -1
- package/dist/{@vendor-CmCjU670.js → @vendor-4cEd9dja.js} +15910 -14016
- package/dist/Common/Constants.d.ts +11 -3
- package/dist/Common/SegmentedControl/Segment.d.ts +1 -1
- package/dist/Common/SegmentedControl/types.d.ts +2 -3
- package/dist/Common/TippyCustomized.d.ts +1 -1
- package/dist/Common/Types.d.ts +8 -16
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +2 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +1 -2
- package/dist/Shared/Components/CodeEditor/CodeEditor.d.ts +1 -1
- package/dist/Shared/Components/CodeEditor/CodeEditorRenderer.d.ts +1 -1
- package/dist/Shared/Components/CodeEditor/Extensions/findAndReplace.d.ts +1 -2
- package/dist/Shared/Components/CodeEditor/types.d.ts +1 -14
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +2 -0
- package/dist/Shared/Components/DiffViewer/DiffViewer.component.d.ts +41 -0
- package/dist/Shared/Components/DiffViewer/constants.d.ts +2 -0
- package/dist/Shared/Components/DiffViewer/index.d.ts +1 -0
- package/dist/Shared/Components/DiffViewer/types.d.ts +9 -0
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +4 -8
- package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -2
- package/dist/Shared/Components/FramerComponents/MotionDiv.d.ts +2 -0
- package/dist/Shared/Components/FramerComponents/index.d.ts +3 -2
- package/dist/Shared/Components/GenericInfoCard/index.d.ts +1 -3
- package/dist/Shared/Components/GenericInfoCard/types.d.ts +0 -13
- package/dist/Shared/Components/Header/types.d.ts +8 -4
- package/dist/Shared/Components/Icon/Icon.d.ts +21 -10
- package/dist/Shared/Components/Icon/types.d.ts +2 -2
- package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +1 -1
- package/dist/Shared/Components/LoadingCard.d.ts +5 -0
- package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +1 -2
- package/dist/Shared/Components/StatusComponent/AppStatus.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +2 -2
- package/dist/Shared/Helpers.d.ts +0 -1
- package/dist/Shared/Providers/index.d.ts +1 -1
- package/dist/Shared/Providers/types.d.ts +0 -16
- package/dist/Shared/constants.d.ts +0 -1
- package/dist/Shared/types.d.ts +3 -5
- package/dist/Shared/validations.d.ts +0 -1
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/{ic-hibernate.f75c1e70.svg → ic-arrow-square-out.3d1a0d41.svg} +2 -2
- package/dist/assets/ic-arrows-clockwise.5858ba0a.svg +3 -0
- package/dist/assets/ic-checkbox-selected-error.185fc40c.svg +4 -0
- package/dist/assets/ic-checkbox-selected-error.b40237bc.svg +20 -0
- package/dist/assets/{ic-cluster.f1c3fad1.svg → ic-cluster.71ba9e26.svg} +1 -1
- package/dist/assets/ic-fast-forward.8d1a414b.svg +4 -0
- package/dist/assets/ic-filter-applied.56f397cb.svg +4 -0
- package/dist/assets/{ic-email.78fed574.svg → ic-filter.d6f03b78.svg} +1 -1
- package/dist/assets/ic-flask.d0624c30.svg +3 -0
- package/dist/assets/ic-hibernate-circle.7c32c56e.svg +3 -0
- package/dist/assets/ic-hibernate.263ffcea.svg +19 -0
- package/dist/assets/ic-lego.1d2c5e1d.svg +3 -0
- package/dist/assets/{ic-key-enter.59d23056.svg → ic-magnifying-glass.cf47bce0.svg} +1 -1
- package/dist/assets/ic-mechanical-operation.04a318d6.svg +17 -0
- package/dist/assets/ic-more-vertical.6b4cc903.svg +3 -0
- package/dist/assets/ic-play-outline.a4f09bf9.svg +3 -0
- package/dist/assets/ic-rocket-gear.f1e30f8a.svg +3 -0
- package/dist/assets/ic-strategy-blue-green-color.0b348d03.svg +6 -0
- package/dist/assets/ic-strategy-blue-green.4e57a068.svg +3 -0
- package/dist/assets/ic-strategy-canary-color.db010ee7.svg +5 -0
- package/dist/assets/ic-strategy-canary.aa75f27f.svg +3 -0
- package/dist/assets/ic-strategy-recreate-color.187facd4.svg +4 -0
- package/dist/assets/ic-strategy-recreate.77b19a53.svg +3 -0
- package/dist/assets/ic-strategy-rolling-color.f9b3c0bb.svg +6 -0
- package/dist/assets/ic-strategy-rolling.ba8a30f7.svg +3 -0
- package/dist/assets/ic-sun.47c14f53.svg +3 -0
- package/dist/assets/ic-traffic-signal.f23a1086.svg +3 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +784 -792
- package/package.json +2 -1
- package/dist/Shared/Components/DocLink/DocLink.d.ts +0 -2
- package/dist/Shared/Components/DocLink/constants.d.ts +0 -94
- package/dist/Shared/Components/DocLink/index.d.ts +0 -4
- package/dist/Shared/Components/DocLink/types.d.ts +0 -18
- package/dist/Shared/Components/DocLink/utils.d.ts +0 -2
- package/dist/Shared/Components/GenericInfoCard/GenericInfoCardListing.d.ts +0 -2
- package/dist/Shared/Components/GenericInfoCard/GenericInfoListSkeleton.d.ts +0 -2
- package/dist/Shared/Components/Switch/Switch.component.d.ts +0 -3
- package/dist/Shared/Components/Switch/constants.d.ts +0 -14
- package/dist/Shared/Components/Switch/index.d.ts +0 -2
- package/dist/Shared/Components/Switch/types.d.ts +0 -105
- package/dist/Shared/Components/Switch/utils.d.ts +0 -12
- package/dist/assets/empty-create.661d9355.png +0 -0
- package/dist/assets/ic-app-template.82736707.svg +0 -23
- package/dist/assets/ic-cluster-isolated.93f843b9.svg +0 -3
- package/dist/assets/ic-devtron-app.a8b688d3.svg +0 -23
- package/dist/assets/ic-devtron-job.1b216232.svg +0 -10
- package/dist/assets/ic-environment-isolated.b772ae9d.svg +0 -3
- package/dist/assets/ic-environment.e639b8f3.svg +0 -4
- package/dist/assets/ic-mechanical-operation.3c3f4672.svg +0 -76
- package/dist/assets/ic-shapes.b7b5c28f.svg +0 -3
- package/dist/assets/ic-spray-can.624b202a.svg +0 -3
@@ -5,6 +5,16 @@ export declare const DEVTRON_HOME_PAGE = "https://devtron.ai/";
|
|
5
5
|
export declare const DOCUMENTATION_VERSION = "/v/v0.7";
|
6
6
|
export declare const DISCORD_LINK = "https://discord.devtron.ai/";
|
7
7
|
export declare const DEFAULT_JSON_SCHEMA_URI = "https://json-schema.org/draft/2020-12/schema";
|
8
|
+
export declare const DOCUMENTATION: {
|
9
|
+
APP_METRICS: string;
|
10
|
+
APP_TAGS: string;
|
11
|
+
APP_OVERVIEW_TAGS: string;
|
12
|
+
BLOB_STORAGE: string;
|
13
|
+
GLOBAL_CONFIG_BUILD_INFRA: string;
|
14
|
+
ENTERPRISE_LICENSE: string;
|
15
|
+
KUBE_CONFIG: string;
|
16
|
+
TENANT_INSTALLATION: string;
|
17
|
+
};
|
8
18
|
export declare const PATTERNS: {
|
9
19
|
STRING: RegExp;
|
10
20
|
DECIMAL_NUMBERS: RegExp;
|
@@ -22,7 +32,6 @@ export declare const PATTERNS: {
|
|
22
32
|
CONFIG_MAP_AND_SECRET_KEY: RegExp;
|
23
33
|
CONFIGMAP_AND_SECRET_NAME: RegExp;
|
24
34
|
ALPHANUMERIC_WITH_SPECIAL_CHAR_AND_SLASH: RegExp;
|
25
|
-
EMAIL: RegExp;
|
26
35
|
};
|
27
36
|
export declare const URLS: {
|
28
37
|
readonly LOGIN_SSO: "/login/sso";
|
@@ -55,7 +64,6 @@ export declare const URLS: {
|
|
55
64
|
readonly COMPARE_CLUSTERS: "/compare-clusters";
|
56
65
|
readonly APP_CONFIG: "edit";
|
57
66
|
readonly GLOBAL_CONFIG: "/global-config";
|
58
|
-
readonly GLOBAL_CONFIG_MANAGE_CATEGORIES: "/global-config/cluster-env/manage-categories";
|
59
67
|
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP: "/global-config/templates/devtron-apps";
|
60
68
|
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_CREATE: "/global-config/templates/devtron-apps/create";
|
61
69
|
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_DETAIL: "/global-config/templates/devtron-apps/detail/:appId";
|
@@ -65,7 +73,6 @@ export declare const ROUTES: {
|
|
65
73
|
readonly APP: "app";
|
66
74
|
readonly APP_ARTIFACT_PROMOTE_MATERIAL: "app/artifact/promotion-request/material";
|
67
75
|
readonly APP_TEMPLATE_DATA: "app/template/data";
|
68
|
-
readonly ENVIRONMENT_CATEGORIES: "env/categories";
|
69
76
|
readonly PROJECT_LIST_MIN: "team/autocomplete";
|
70
77
|
readonly USER_CHECK_ROLE: "user/check/roles";
|
71
78
|
readonly IMAGE_TAGGING: "app/image-tagging";
|
@@ -293,6 +300,7 @@ export declare const API_STATUS_CODES: {
|
|
293
300
|
EXPECTATION_FAILED: number;
|
294
301
|
UNPROCESSABLE_ENTITY: number;
|
295
302
|
LOCKED: number;
|
303
|
+
FAILED_DEPENDENCY: number;
|
296
304
|
};
|
297
305
|
export declare enum SERVER_MODE {
|
298
306
|
EA_ONLY = "EA_ONLY",
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { SegmentProps } from './types';
|
2
|
-
declare const Segment: ({ segment, isSelected, name, onChange, fullWidth, size, disabled }: SegmentProps) => JSX.Element;
|
2
|
+
declare const Segment: ({ segment, isSelected, name, selectedSegmentRef, onChange, fullWidth, size, disabled, }: SegmentProps) => JSX.Element;
|
3
3
|
export default Segment;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { RefObject } from 'react';
|
1
2
|
import { TooltipProps } from '../Tooltip';
|
2
3
|
import { IconsProps, SelectPickerOptionType } from '../../Shared/Components';
|
3
4
|
import { ComponentSizeType } from '../../Shared/constants';
|
@@ -45,9 +46,6 @@ export type SegmentedControlProps = {
|
|
45
46
|
* List of segments to be displayed
|
46
47
|
*/
|
47
48
|
segments: SegmentType[];
|
48
|
-
/**
|
49
|
-
* Please make sure this is unique
|
50
|
-
*/
|
51
49
|
name: string;
|
52
50
|
size?: Extract<ComponentSizeType, ComponentSizeType.xs | ComponentSizeType.small | ComponentSizeType.medium>;
|
53
51
|
fullWidth?: boolean;
|
@@ -68,5 +66,6 @@ export type SegmentedControlProps = {
|
|
68
66
|
export interface SegmentProps extends Required<Pick<SegmentedControlProps, 'name' | 'onChange' | 'fullWidth' | 'size' | 'disabled'>> {
|
69
67
|
isSelected: boolean;
|
70
68
|
segment: SegmentType;
|
69
|
+
selectedSegmentRef: RefObject<HTMLDivElement> | undefined;
|
71
70
|
}
|
72
71
|
export {};
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { TippyCustomizedProps } from './Types';
|
2
|
-
export declare const TippyCustomized:
|
2
|
+
export declare const TippyCustomized: (props: TippyCustomizedProps) => JSX.Element;
|
package/dist/Common/Types.d.ts
CHANGED
@@ -2,7 +2,7 @@ import { default as React, ReactNode, CSSProperties, ReactElement, MutableRefObj
|
|
2
2
|
import { TippyProps } from '@tippyjs/react';
|
3
3
|
import { UserGroupDTO } from '../Pages/GlobalConfigurations';
|
4
4
|
import { ImageComment, ReleaseTag } from './ImageTags.Types';
|
5
|
-
import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ButtonProps, ComponentLayoutType, StatusType,
|
5
|
+
import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ButtonProps, ComponentLayoutType, StatusType, DeploymentStrategyType } from '../Shared';
|
6
6
|
import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, RefVariableType, SortingOrder, TaskErrorObj, VariableTypeFormat } from '.';
|
7
7
|
/**
|
8
8
|
* Generic response type object with support for overriding the result type
|
@@ -75,12 +75,10 @@ export interface CheckboxProps {
|
|
75
75
|
onClick?: (event: any) => void;
|
76
76
|
id?: string;
|
77
77
|
dataTestId?: string;
|
78
|
+
error?: boolean;
|
78
79
|
children?: ReactNode;
|
79
80
|
}
|
80
|
-
export interface
|
81
|
-
documentationLink?: DocLinkProps<T>['docLinkKey'];
|
82
|
-
}
|
83
|
-
export type TippyCustomizedProps<T extends boolean> = Pick<TippyProps, 'appendTo'> & TippyWithBaseDocLinkTypes<T> & {
|
81
|
+
export interface TippyCustomizedProps extends Pick<TippyProps, 'appendTo'> {
|
84
82
|
theme: TippyTheme;
|
85
83
|
visible?: boolean;
|
86
84
|
heading?: ReactNode | string;
|
@@ -105,13 +103,14 @@ export type TippyCustomizedProps<T extends boolean> = Pick<TippyProps, 'appendTo
|
|
105
103
|
animation?: string;
|
106
104
|
duration?: number;
|
107
105
|
additionalContent?: ReactNode;
|
106
|
+
documentationLink?: string;
|
108
107
|
documentationLinkText?: string;
|
109
108
|
children: React.ReactElement<any>;
|
110
109
|
disableClose?: boolean;
|
111
|
-
}
|
112
|
-
export interface InfoIconTippyProps
|
110
|
+
}
|
111
|
+
export interface InfoIconTippyProps extends Pick<TippyCustomizedProps, 'heading' | 'infoText' | 'iconClass' | 'documentationLink' | 'documentationLinkText' | 'additionalContent' | 'placement' | 'Icon' | 'headingInfo'> {
|
113
112
|
dataTestid?: string;
|
114
|
-
children?: TippyCustomizedProps
|
113
|
+
children?: TippyCustomizedProps['children'];
|
115
114
|
iconClassName?: string;
|
116
115
|
buttonPadding?: string;
|
117
116
|
}
|
@@ -714,7 +713,7 @@ export interface AppEnvironment {
|
|
714
713
|
ciArtifactId?: number;
|
715
714
|
}
|
716
715
|
export interface Strategy {
|
717
|
-
deploymentTemplate:
|
716
|
+
deploymentTemplate: DeploymentStrategyType;
|
718
717
|
config: any;
|
719
718
|
default?: boolean;
|
720
719
|
}
|
@@ -957,11 +956,4 @@ export interface EnvAppsMetaDTO {
|
|
957
956
|
appCount: number;
|
958
957
|
apps: AppMeta[];
|
959
958
|
}
|
960
|
-
export interface ClusterEnvironmentCategoryDTO {
|
961
|
-
id: number;
|
962
|
-
name: string;
|
963
|
-
description?: string;
|
964
|
-
}
|
965
|
-
export interface ClusterEnvironmentCategoryType extends ClusterEnvironmentCategoryDTO {
|
966
|
-
}
|
967
959
|
export {};
|
@@ -6,4 +6,4 @@ export declare const uploadCDPipelineFile: ({ file, appId, envId, allowedExtensi
|
|
6
6
|
envId: number;
|
7
7
|
abortControllerRef?: MutableRefObject<AbortController>;
|
8
8
|
}) => Promise<UploadFileDTO>;
|
9
|
-
export declare const triggerCDNode: ({ pipelineId, ciArtifactId, appId, stageType, deploymentWithConfig, wfrId, runtimeParamsPayload, abortControllerRef, skipIfHibernated, isRollbackTrigger, }: TriggerCDNodeServiceProps) => Promise<import('../../../../../Common/Types').ResponseType<any>>;
|
9
|
+
export declare const triggerCDNode: ({ pipelineId, ciArtifactId, appId, stageType, deploymentWithConfig, wfrId, runtimeParamsPayload, abortControllerRef, skipIfHibernated, isRollbackTrigger, strategy, }: TriggerCDNodeServiceProps) => Promise<import('../../../../../Common/Types').ResponseType<any>>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { BuildStageType, FormType } from '../../../../../Common/CIPipeline.Types';
|
2
2
|
import { APIOptions, DeploymentAppTypes, DeploymentNodeType } from '../../../../../Common/Types';
|
3
3
|
import { DeploymentStrategy } from '../../../../../Shared/Components';
|
4
|
-
import { EnvListMinDTO, RuntimeParamsTriggerPayloadType } from '../../../../../Shared/types';
|
4
|
+
import { DeploymentStrategyType, EnvListMinDTO, RuntimeParamsTriggerPayloadType } from '../../../../../Shared/types';
|
5
5
|
import { STAGE_MAP } from '../../../../index';
|
6
6
|
interface ConfigSecretType {
|
7
7
|
label: string;
|
@@ -108,6 +108,7 @@ export interface TriggerCDNodeServiceProps extends Pick<APIOptions, 'abortContro
|
|
108
108
|
*/
|
109
109
|
runtimeParamsPayload?: RuntimeParamsTriggerPayloadType;
|
110
110
|
isRollbackTrigger?: boolean;
|
111
|
+
strategy?: DeploymentStrategyType;
|
111
112
|
}
|
112
113
|
export interface TriggerCDPipelinePayloadType extends Pick<TriggerCDNodeServiceProps, 'pipelineId' | 'appId' | 'ciArtifactId' | 'runtimeParamsPayload' | 'deploymentWithConfig'>, Partial<Pick<TriggerCDNodeServiceProps, 'skipIfHibernated'>> {
|
113
114
|
cdWorkflowType: (typeof STAGE_MAP)[keyof typeof STAGE_MAP];
|
@@ -2,7 +2,7 @@ import { CSSProperties, MutableRefObject, ReactElement, ReactNode } from 'react'
|
|
2
2
|
import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
|
3
3
|
import { DeploymentAppTypes, FilterConditionsListType, ImageComment, OptionType, PaginationProps, PromotionApprovalMetadataType, ReleaseTag, ResponseType, UserApprovalMetadataType, useScrollable } from '../../../Common';
|
4
4
|
import { DeploymentStageType } from '../../constants';
|
5
|
-
import { AggregationKeys, AppDetails, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, DeploymentStatusTimelineType, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType, TargetPlatformsDTO } from '../../types';
|
5
|
+
import { AggregationKeys, AppDetails, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, DeploymentStatusTimelineType, DeploymentStrategyType, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType, TargetPlatformsDTO } from '../../types';
|
6
6
|
import { TargetPlatformBadgeListProps } from '../TargetPlatforms';
|
7
7
|
export declare enum HistoryComponentType {
|
8
8
|
CI = "CI",
|
@@ -593,7 +593,6 @@ export interface DeploymentHistory {
|
|
593
593
|
ci_artifact_id?: number;
|
594
594
|
runSource?: RunSourceType;
|
595
595
|
}
|
596
|
-
type DeploymentStrategyType = 'CANARY' | 'ROLLING' | 'RECREATE' | 'BLUE_GREEN';
|
597
596
|
export interface DeploymentStrategy {
|
598
597
|
deploymentTemplate: DeploymentStrategyType;
|
599
598
|
config: any;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { CodeEditorProps } from './types';
|
2
2
|
declare const CodeEditor: {
|
3
|
-
<DiffView extends boolean = false>({ theme, value: propValue, originalValue, modifiedValue, isOriginalModifiable, mode, noParsing, children, tabSize, height, shebang, onChange, onOriginalValueChange, onModifiedValueChange, placeholder, diffView, loading, customLoader, validatorSchema, schemaURI, cleanData, onBlur, onFocus, autoFocus,
|
3
|
+
<DiffView extends boolean = false>({ theme, value: propValue, originalValue, modifiedValue, isOriginalModifiable, mode, noParsing, children, tabSize, height, shebang, onChange, onOriginalValueChange, onModifiedValueChange, readOnly, placeholder, diffView, loading, customLoader, validatorSchema, schemaURI, cleanData, onBlur, onFocus, autoFocus, disableSearch, }: CodeEditorProps<DiffView>): JSX.Element;
|
4
4
|
Clipboard: () => JSX.Element;
|
5
5
|
Header: ({ children, className, hideDefaultSplitHeader }: import('./types').CodeEditorHeaderProps) => JSX.Element;
|
6
6
|
Warning: ({ className, text, children }: import('./types').CodeEditorStatusBarProps) => JSX.Element;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { CodeEditorRendererProps } from './types';
|
2
|
-
export declare const CodeEditorRenderer: ({ codemirrorMergeKey, theme, loading, customLoader, height, codeEditorTheme, readOnly, handleLhsOnChange, originalViewExtensions, handleOnChange, modifiedViewExtensions, codeMirrorParentDivRef, shebang, placeholder, onFocus, onBlur, extensions, autoFocus, diffMinimapExtensions,
|
2
|
+
export declare const CodeEditorRenderer: ({ codemirrorMergeKey, theme, loading, customLoader, height, codeEditorTheme, readOnly, handleLhsOnChange, originalViewExtensions, handleOnChange, modifiedViewExtensions, codeMirrorParentDivRef, shebang, placeholder, onFocus, onBlur, extensions, autoFocus, diffMinimapExtensions, }: CodeEditorRendererProps) => JSX.Element;
|
@@ -1,3 +1,2 @@
|
|
1
1
|
import { EditorView, Panel } from '@uiw/react-codemirror';
|
2
|
-
|
3
|
-
export declare const getCodeEditorFindReplace: (onSearchBarAction: CodeEditorProps["onSearchBarAction"]) => (view: EditorView) => Panel;
|
2
|
+
export declare const codeEditorFindReplace: (view: EditorView) => Panel;
|
@@ -29,12 +29,6 @@ type CodeEditorDiffBaseProps = {
|
|
29
29
|
originalValue?: ReactCodeMirrorProps['value'];
|
30
30
|
modifiedValue?: ReactCodeMirrorProps['value'];
|
31
31
|
isOriginalModifiable?: boolean;
|
32
|
-
/**
|
33
|
-
* When true, renders a diff view in readOnly mode with collapsed unchanged diffs.
|
34
|
-
* This disables the minimap, code-editor search functionality, and language linting.
|
35
|
-
* @default false
|
36
|
-
*/
|
37
|
-
collapseUnchangedDiffView?: boolean;
|
38
32
|
};
|
39
33
|
type CodeEditorPropsBasedOnDiffView<DiffView extends boolean> = DiffView extends true ? CodeEditorDiffBaseProps & Never<CodeEditorBaseProps> : CodeEditorBaseProps & Never<CodeEditorDiffBaseProps>;
|
40
34
|
export type CodeEditorProps<DiffView extends boolean = false> = {
|
@@ -58,11 +52,6 @@ export type CodeEditorProps<DiffView extends boolean = false> = {
|
|
58
52
|
disableSearch?: boolean;
|
59
53
|
diffView?: DiffView;
|
60
54
|
theme?: AppThemeType;
|
61
|
-
onSearchPanelOpen?: () => void;
|
62
|
-
/**
|
63
|
-
* This method is triggered when user types something in the search/replace bar or applies a search or replace action.
|
64
|
-
*/
|
65
|
-
onSearchBarAction?: () => void;
|
66
55
|
} & CodeEditorPropsBasedOnDiffView<DiffView>;
|
67
56
|
export interface GetCodeEditorHeightReturnType {
|
68
57
|
codeEditorParentClassName: string;
|
@@ -74,7 +63,7 @@ export type HoverTexts = {
|
|
74
63
|
typeInfo: string;
|
75
64
|
};
|
76
65
|
export type FindReplaceQuery = Partial<Pick<SearchQuery, 'search' | 'wholeWord' | 'regexp' | 'replace' | 'caseSensitive'>>;
|
77
|
-
export interface FindReplaceProps
|
66
|
+
export interface FindReplaceProps {
|
78
67
|
view: EditorView;
|
79
68
|
/** Default value for Search Query state. */
|
80
69
|
defaultQuery: SearchQuery;
|
@@ -105,8 +94,6 @@ export type CodeEditorRendererProps = Required<Pick<CodeEditorProps, 'theme' | '
|
|
105
94
|
modifiedViewExtensions: ReactCodeMirrorProps['extensions'];
|
106
95
|
extensions: ReactCodeMirrorProps['extensions'];
|
107
96
|
diffMinimapExtensions: ReactCodeMirrorProps['extensions'];
|
108
|
-
collapseUnchanged?: boolean;
|
109
|
-
disableMinimap?: boolean;
|
110
97
|
};
|
111
98
|
export interface DiffMinimapProps extends Pick<CodeEditorRendererProps, 'theme'> {
|
112
99
|
view: MergeView;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { AppEnvDeploymentConfigListParams, DeploymentConfigDiffProps } from '..';
|
2
2
|
import { ConfigMapSecretDataConfigDatumDTO, DeploymentTemplateDTO, TemplateListDTO } from '../../Services/app.types';
|
3
|
+
import { DiffViewerProps } from '../DiffViewer/types';
|
3
4
|
export declare const getDeploymentTemplateData: (data: DeploymentTemplateDTO) => any;
|
4
5
|
/**
|
5
6
|
* Retrieves the draft data from the given configuration data object.
|
@@ -37,3 +38,4 @@ export declare const getDefaultVersionAndPreviousDeploymentOptions: (data: Templ
|
|
37
38
|
previousDeployments: TemplateListDTO[];
|
38
39
|
defaultVersions: TemplateListDTO[];
|
39
40
|
};
|
41
|
+
export declare const renderDiffViewNoDifferenceState: (lhsValue: string, rhsValue: string) => DiffViewerProps["codeFoldMessageRenderer"];
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { DiffViewerProps } from './types';
|
2
|
+
/**
|
3
|
+
* Component for showing diff between two string or object.
|
4
|
+
*
|
5
|
+
* Note: Pass down the object as stringified for optimized performance.
|
6
|
+
*
|
7
|
+
* @example Usage
|
8
|
+
*
|
9
|
+
* ```tsx
|
10
|
+
* <DiffViewer
|
11
|
+
* oldValue={oldValue}
|
12
|
+
* newValue={newValue}
|
13
|
+
* />
|
14
|
+
* ```
|
15
|
+
*
|
16
|
+
* @example With left/right title for lhs/rhs
|
17
|
+
*
|
18
|
+
* ```tsx
|
19
|
+
* <DiffViewer
|
20
|
+
* oldValue={oldValue}
|
21
|
+
* newValue={newValue}
|
22
|
+
* leftTitle="Title for LHS"
|
23
|
+
* rightTitle={
|
24
|
+
* <span>Title for RHS</span>
|
25
|
+
* }
|
26
|
+
* />
|
27
|
+
* ```
|
28
|
+
*
|
29
|
+
* @example With custom message for folded code
|
30
|
+
* Note: the entire section would be clickable
|
31
|
+
*
|
32
|
+
* ```tsx
|
33
|
+
* <DiffViewer
|
34
|
+
* oldValue={oldValue}
|
35
|
+
* newValue={newValue}
|
36
|
+
* codeFoldMessageRenderer={(totalFoldedLines, leftStartLineNumber, rightStartLineNumber) => <span>Custom text</span>}
|
37
|
+
* />
|
38
|
+
* ```
|
39
|
+
*/
|
40
|
+
declare const DiffViewer: ({ oldValue, newValue, leftTitle, rightTitle, ...props }: DiffViewerProps) => JSX.Element;
|
41
|
+
export default DiffViewer;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as DiffViewer } from './DiffViewer.component';
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ReactNode } from 'react';
|
2
|
+
import { ReactDiffViewerProps } from 'react-diff-viewer-continued';
|
3
|
+
export interface DiffViewerProps extends Pick<ReactDiffViewerProps, 'oldValue' | 'newValue' | 'codeFoldMessageRenderer'> {
|
4
|
+
leftTitle?: ReactDiffViewerProps['leftTitle'] | ReactNode;
|
5
|
+
rightTitle?: ReactDiffViewerProps['rightTitle'] | ReactNode;
|
6
|
+
}
|
7
|
+
export interface DiffViewTitleWrapperProps {
|
8
|
+
title: DiffViewerProps['leftTitle'];
|
9
|
+
}
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { DynamicDataTableProps } from './types';
|
2
|
-
export declare const DynamicDataTable: <K extends string, CustomStateType = Record<string, unknown>>({ headers, ...props }: DynamicDataTableProps<K, CustomStateType>) => JSX.Element;
|
2
|
+
export declare const DynamicDataTable: <K extends string, CustomStateType = Record<string, unknown>>({ headers, onRowAdd, ...props }: DynamicDataTableProps<K, CustomStateType>) => JSX.Element;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { DynamicDataTableRowProps } from './types';
|
2
|
-
export declare const DynamicDataTableRow: <K extends string, CustomStateType = Record<string, unknown>>({ rows, headers, readOnly, isDeletionNotAllowed, cellError, actionButtonConfig, onRowEdit, onRowDelete, leadingCellIcon, trailingCellIcon, buttonCellWrapComponent, focusableFieldKey,
|
2
|
+
export declare const DynamicDataTableRow: <K extends string, CustomStateType = Record<string, unknown>>({ rows, headers, readOnly, isDeletionNotAllowed, cellError, actionButtonConfig, onRowEdit, onRowDelete, leadingCellIcon, trailingCellIcon, buttonCellWrapComponent, focusableFieldKey, isAddRowButtonClicked, setIsAddRowButtonClicked, }: DynamicDataTableRowProps<K, CustomStateType>) => JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DetailedHTMLProps, ReactElement, ReactNode } from 'react';
|
1
|
+
import { DetailedHTMLProps, Dispatch, ReactElement, ReactNode, SetStateAction } from 'react';
|
2
2
|
import { ResizableTagTextAreaProps } from '../../../Common/CustomTagSelector';
|
3
3
|
import { UseStateFiltersReturnType } from '../../../Common/Hooks';
|
4
4
|
import { TooltipProps } from '@Common/Tooltip/types';
|
@@ -166,15 +166,11 @@ export type DynamicDataTableProps<K extends string, CustomStateType = Record<str
|
|
166
166
|
* @default 'first column key'
|
167
167
|
*/
|
168
168
|
focusableFieldKey?: K;
|
169
|
-
/**
|
170
|
-
* When true, the table will automatically focus the first focusable cell
|
171
|
-
* or cell key denoted by `focusableFieldKey` when the component mounts.
|
172
|
-
* @default false
|
173
|
-
*/
|
174
|
-
shouldAutoFocusOnMount?: boolean;
|
175
169
|
};
|
176
170
|
export interface DynamicDataTableHeaderProps<K extends string, CustomStateType = Record<string, unknown>> extends Pick<DynamicDataTableProps<K, CustomStateType>, 'headers' | 'rows' | 'headerComponent' | 'sortingConfig' | 'addBtnTooltip' | 'onRowAdd' | 'readOnly' | 'isAdditionNotAllowed' | 'isDeletionNotAllowed' | 'actionButtonConfig'> {
|
177
171
|
}
|
178
|
-
export interface DynamicDataTableRowProps<K extends string, CustomStateType = Record<string, unknown>> extends Pick<DynamicDataTableProps<K, CustomStateType>, 'rows' | 'headers' | 'isAdditionNotAllowed' | 'isDeletionNotAllowed' | 'readOnly' | 'onRowEdit' | 'onRowDelete' | 'actionButtonConfig' | 'cellError' | 'leadingCellIcon' | 'trailingCellIcon' | 'buttonCellWrapComponent' | 'focusableFieldKey'
|
172
|
+
export interface DynamicDataTableRowProps<K extends string, CustomStateType = Record<string, unknown>> extends Pick<DynamicDataTableProps<K, CustomStateType>, 'rows' | 'headers' | 'isAdditionNotAllowed' | 'isDeletionNotAllowed' | 'readOnly' | 'onRowEdit' | 'onRowDelete' | 'actionButtonConfig' | 'cellError' | 'leadingCellIcon' | 'trailingCellIcon' | 'buttonCellWrapComponent' | 'focusableFieldKey'> {
|
173
|
+
isAddRowButtonClicked: boolean;
|
174
|
+
setIsAddRowButtonClicked: Dispatch<SetStateAction<boolean>>;
|
179
175
|
}
|
180
176
|
export {};
|
@@ -1,10 +1,9 @@
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
2
2
|
import { ImageType } from '../../../Common';
|
3
3
|
import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
|
4
|
-
import { DocLinkProps } from '../DocLink';
|
5
4
|
interface BaseFeatureDescriptionModalProps {
|
6
5
|
renderDescriptionContent?: () => ReactNode;
|
7
|
-
docLink?:
|
6
|
+
docLink?: string;
|
8
7
|
imageVariant?: ImageType;
|
9
8
|
SVGImage?: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
|
10
9
|
imageStyles?: React.CSSProperties;
|
@@ -1,2 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
export
|
1
|
+
import { AnimatePresence, motion } from 'framer-motion';
|
2
|
+
export * from './MotionDiv';
|
3
|
+
export { AnimatePresence, motion };
|
@@ -1,4 +1,2 @@
|
|
1
1
|
export { default as GenericInfoCard } from './GenericInfoCard.component';
|
2
|
-
export
|
3
|
-
export { GenericInfoListSkeleton } from './GenericInfoListSkeleton';
|
4
|
-
export { GenericInfoCardBorderVariant, type GenericInfoCardListingProps, type GenericInfoCardProps } from './types';
|
2
|
+
export { GenericInfoCardBorderVariant, type GenericInfoCardProps } from './types';
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { MouseEventHandler, ReactElement } from 'react';
|
2
2
|
import { LinkProps } from 'react-router-dom';
|
3
|
-
import { GenericFilterEmptyStateProps } from '@Common/EmptyState/types';
|
4
|
-
import { GenericEmptyStateType } from '../../../Common/Types';
|
5
|
-
import { APIResponseHandlerProps } from '../APIResponseHandler';
|
6
3
|
type BaseGenericInfoCardProps = {
|
7
4
|
title: string;
|
8
5
|
description: string;
|
@@ -26,14 +23,4 @@ export type GenericInfoCardProps = {
|
|
26
23
|
} & Partial<Record<keyof BaseGenericInfoCardProps, never>>) | ({
|
27
24
|
isLoading?: boolean;
|
28
25
|
} & BaseGenericInfoCardProps));
|
29
|
-
export interface GenericInfoCardListingProps extends Pick<GenericInfoCardProps, 'borderVariant'>, Pick<GenericFilterEmptyStateProps, 'handleClearFilters'> {
|
30
|
-
list: (Pick<GenericInfoCardProps, 'Icon' | 'author' | 'description' | 'linkProps' | 'onClick' | 'title'> & Record<'id', string>)[];
|
31
|
-
emptyStateConfig: Pick<GenericEmptyStateType, 'title' | 'subTitle' | 'image' | 'renderButton' | 'renderButton'>;
|
32
|
-
searchKey?: string;
|
33
|
-
reloadList: () => void;
|
34
|
-
error?: APIResponseHandlerProps['error'];
|
35
|
-
isLoading?: boolean;
|
36
|
-
}
|
37
|
-
export interface GenericInfoListSkeletonProps extends Partial<Pick<GenericInfoCardProps, 'borderVariant'>> {
|
38
|
-
}
|
39
26
|
export {};
|
@@ -1,7 +1,11 @@
|
|
1
|
-
import {
|
1
|
+
import { ModuleStatus } from '../../types';
|
2
2
|
import { ResponseType, TippyCustomizedProps } from '../../../Common';
|
3
3
|
import { ActionMenuProps } from '../ActionMenu';
|
4
|
-
|
4
|
+
export declare enum InstallationType {
|
5
|
+
OSS_KUBECTL = "oss_kubectl",
|
6
|
+
OSS_HELM = "oss_helm",
|
7
|
+
ENTERPRISE = "enterprise"
|
8
|
+
}
|
5
9
|
export interface PageHeaderType {
|
6
10
|
headerName?: string;
|
7
11
|
showTabs?: boolean;
|
@@ -13,9 +17,9 @@ export interface PageHeaderType {
|
|
13
17
|
showCloseButton?: boolean;
|
14
18
|
onClose?: () => void;
|
15
19
|
markAsBeta?: boolean;
|
16
|
-
tippyProps?: Pick<TippyCustomizedProps
|
20
|
+
tippyProps?: Pick<TippyCustomizedProps, 'additionalContent'> & {
|
17
21
|
isTippyCustomized?: boolean;
|
18
|
-
tippyRedirectLink?:
|
22
|
+
tippyRedirectLink?: string;
|
19
23
|
TippyIcon?: React.FunctionComponent<any>;
|
20
24
|
tippyMessage?: string;
|
21
25
|
onClickTippyButton?: () => void;
|
@@ -6,10 +6,10 @@ export declare const iconMap: {
|
|
6
6
|
'ic-amazon-eks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
7
7
|
'ic-apica': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
8
8
|
'ic-app-group': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
9
|
-
'ic-app-template': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
10
9
|
'ic-arrow-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
11
10
|
'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
12
11
|
'ic-arrow-square-out': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
12
|
+
'ic-arrows-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
13
13
|
'ic-arrows-left-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
14
14
|
'ic-ather': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
15
15
|
'ic-azure-aks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -38,7 +38,6 @@ export declare const iconMap: {
|
|
38
38
|
'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
39
39
|
'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
40
40
|
'ic-cloud-vms': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
41
|
-
'ic-cluster-isolated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
42
41
|
'ic-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
43
42
|
'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
44
43
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -51,29 +50,28 @@ export declare const iconMap: {
|
|
51
50
|
'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
52
51
|
'ic-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
53
52
|
'ic-delhivery': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
54
|
-
'ic-devtron-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
55
53
|
'ic-devtron-header-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
56
|
-
'ic-devtron-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
57
54
|
'ic-devtron': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
58
55
|
'ic-disconnect': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
59
56
|
'ic-discord-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
60
57
|
'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
61
58
|
'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
62
59
|
'ic-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
63
|
-
'ic-email': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
64
60
|
'ic-enterprise-feat': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
65
61
|
'ic-enterprise-tag': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
66
62
|
'ic-env': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
67
|
-
'ic-environment-isolated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
68
|
-
'ic-environment': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
69
63
|
'ic-error': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
70
64
|
'ic-expand-right-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
71
65
|
'ic-expand-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
72
66
|
'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
67
|
+
'ic-fast-forward': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
73
68
|
'ic-file-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
74
69
|
'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
75
70
|
'ic-file': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
76
71
|
'ic-files': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
72
|
+
'ic-filter-applied': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
73
|
+
'ic-filter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
74
|
+
'ic-flask': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
77
75
|
'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
78
76
|
'ic-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
79
77
|
'ic-gift-gradient': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -93,6 +91,7 @@ export declare const iconMap: {
|
|
93
91
|
'ic-helm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
94
92
|
'ic-help-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
95
93
|
'ic-help-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
94
|
+
'ic-hibernate-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
96
95
|
'ic-hibernate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
97
96
|
'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
98
97
|
'ic-info-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -101,15 +100,16 @@ export declare const iconMap: {
|
|
101
100
|
'ic-job-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
102
101
|
'ic-k3s': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
103
102
|
'ic-k8s-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
104
|
-
'ic-key-enter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
105
103
|
'ic-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
106
104
|
'ic-kind': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
107
105
|
'ic-laptop': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
108
106
|
'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
107
|
+
'ic-lego': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
109
108
|
'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
110
109
|
'ic-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
111
110
|
'ic-livspace': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
112
111
|
'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
112
|
+
'ic-magnifying-glass': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
113
113
|
'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
114
114
|
'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
115
115
|
'ic-megaphone-left': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -120,6 +120,7 @@ export declare const iconMap: {
|
|
120
120
|
'ic-missing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
121
121
|
'ic-mobile': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
122
122
|
'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
123
|
+
'ic-more-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
123
124
|
'ic-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
124
125
|
'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
125
126
|
'ic-oidc': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -130,11 +131,12 @@ export declare const iconMap: {
|
|
130
131
|
'ic-paper-plane-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
131
132
|
'ic-path': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
132
133
|
'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
134
|
+
'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
133
135
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
134
136
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
137
|
+
'ic-rocket-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
135
138
|
'ic-rocket-launch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
136
139
|
'ic-selected': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
137
|
-
'ic-shapes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
138
140
|
'ic-shield-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
139
141
|
'ic-sliders-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
140
142
|
'ic-sort-ascending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -142,10 +144,18 @@ export declare const iconMap: {
|
|
142
144
|
'ic-sortable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
143
145
|
'ic-sparkle-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
144
146
|
'ic-spinny': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
145
|
-
'ic-spray-can': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
146
147
|
'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
147
148
|
'ic-stamp': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
149
|
+
'ic-strategy-blue-green-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
150
|
+
'ic-strategy-blue-green': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
151
|
+
'ic-strategy-canary-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
152
|
+
'ic-strategy-canary': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
153
|
+
'ic-strategy-recreate-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
154
|
+
'ic-strategy-recreate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
155
|
+
'ic-strategy-rolling-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
156
|
+
'ic-strategy-rolling': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
148
157
|
'ic-success': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
158
|
+
'ic-sun': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
149
159
|
'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
150
160
|
'ic-tata1mg': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
151
161
|
'ic-terminal-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -155,6 +165,7 @@ export declare const iconMap: {
|
|
155
165
|
'ic-thumb-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
156
166
|
'ic-timeout-dash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
157
167
|
'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
168
|
+
'ic-traffic-signal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
158
169
|
'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
159
170
|
'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
160
171
|
'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FC, SVGProps } from 'react';
|
2
|
-
import { TooltipProps } from '
|
3
|
-
import { IconBaseColorType, IconBaseSizeType } from '../../
|
2
|
+
import { TooltipProps } from '../../../Common/Tooltip';
|
3
|
+
import { IconBaseColorType, IconBaseSizeType } from '../../types';
|
4
4
|
type IconMap = Record<string, FC<SVGProps<SVGSVGElement>>>;
|
5
5
|
export interface IconBaseProps {
|
6
6
|
/**
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { InfoIconTippyProps } from '../../../Common/Types';
|
2
|
-
declare const InfoIconTippy:
|
2
|
+
declare const InfoIconTippy: ({ heading, infoText, iconClass, documentationLink, documentationLinkText, additionalContent, iconClassName, placement, dataTestid, children, headingInfo, buttonPadding, }: InfoIconTippyProps) => JSX.Element;
|
3
3
|
export default InfoIconTippy;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { KeyValueTableProps } from './KeyValueTable.types';
|
2
|
-
export declare const KeyValueTable: ({ headerLabel, rows: initialRows, placeholder, maskValue, isSortable, headerComponent, onChange, isAdditionNotAllowed,
|
2
|
+
export declare const KeyValueTable: ({ headerLabel, rows: initialRows, placeholder, maskValue, isSortable, headerComponent, onChange, isAdditionNotAllowed, readOnly, showError, validationSchema: parentValidationSchema, onError, validateDuplicateKeys, validateEmptyKeys, }: KeyValueTableProps) => JSX.Element;
|