@devtron-labs/devtron-fe-common-lib 1.12.0-beta-7 → 1.12.0-beta-9
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-DchqrobO.js → @common-rjsf-N2ix2wkE.js} +10143 -9771
- package/dist/{@framer-motion-BaOj5B1h.js → @framer-motion-BL6-Hrrc.js} +1 -1
- package/dist/{@react-dates-CdRpENvm.js → @react-dates-CIHHgq4p.js} +1 -1
- package/dist/{@react-select-BLSAqXV1.js → @react-select-BVKpsqGO.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-BLmFnJWD.js → @react-virtualized-sticky-tree-CjKfeUxB.js} +1 -1
- package/dist/{@vendor-SjXFleuT.js → @vendor-CekuMgQx.js} +14646 -15466
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Common/Types.d.ts +0 -9
- package/dist/Common/index.d.ts +0 -1
- package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +4 -0
- package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +5 -0
- package/dist/Shared/Components/AboutDevtron/index.d.ts +2 -0
- package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +1 -1
- package/dist/Shared/Components/AnimatedDeployButton/types.d.ts +6 -0
- package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentDetailSteps.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/History.components.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +8 -5
- package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/types.d.ts +3 -3
- 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 +3 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +16 -2
- package/dist/Shared/Components/TabGroup/TabGroup.component.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +2 -0
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +3 -5
- package/dist/Shared/Components/TabGroup/TabGroup.utils.d.ts +1 -1
- package/dist/Shared/Components/UserIdentifier/UserIdentifier.d.ts +2 -0
- package/dist/Shared/Components/UserIdentifier/index.d.ts +2 -0
- package/dist/Shared/Components/UserIdentifier/types.d.ts +11 -0
- package/dist/Shared/Components/index.d.ts +3 -1
- package/dist/Shared/Providers/types.d.ts +3 -1
- package/dist/Shared/constants.d.ts +2 -0
- package/dist/Shared/types.d.ts +8 -0
- package/dist/assets/@common-rjsf.css +1 -1
- package/dist/assets/ic-amazon-eks.13404569.svg +5 -0
- package/dist/assets/ic-azure-aks.a9e437d5.svg +46 -0
- package/dist/assets/ic-checks.d276fd05.svg +3 -0
- package/dist/assets/ic-cloud-vms.27ea954e.svg +5 -0
- package/dist/assets/ic-gift-gradient.7690a246.svg +9 -0
- package/dist/assets/ic-google-gke.07314724.svg +9 -0
- package/dist/assets/{ic-info-filled.9277eb13.svg → ic-info-filled.763be331.svg} +1 -1
- package/dist/assets/ic-k3s.7f4bf72d.svg +3 -0
- package/dist/assets/ic-key.8c76fb61.svg +3 -0
- package/dist/assets/ic-kind.bd8ee992.svg +9 -0
- package/dist/assets/ic-minikube.d9ff1575.svg +9 -0
- package/dist/assets/{ic-timeout-two-dash.9a580698.svg → ic-selected.3a29e244.svg} +2 -3
- package/dist/assets/ic-thumb-down.92d2c4d7.svg +3 -0
- package/dist/assets/ic-thumb-up.7c6f6896.svg +3 -0
- package/dist/assets/ic-timeout-dash.d8e2d62e.svg +21 -0
- package/dist/assets/ic-ubuntu.fa47508f.svg +4 -0
- package/dist/assets/ic-wifi-slash.d0390749.svg +3 -0
- package/dist/index.d.ts +1 -5
- package/dist/index.js +722 -721
- package/package.json +1 -7
- package/dist/@common-rjsf-DyHrlx2Z.js +0 -617
- package/dist/@monaco-editor-CVagbUeH.js +0 -138960
- package/dist/Common/CodeEditor/CodeEditor.d.ts +0 -4
- package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +0 -48
- package/dist/Common/CodeEditor/index.d.ts +0 -2
- package/dist/Common/CodeEditor/types.d.ts +0 -110
- package/dist/Common/CodeEditor/utils.d.ts +0 -3
- package/dist/Shared/Components/CodeEditorWrapper/CodeEditorWrapper.d.ts +0 -19
- package/dist/Shared/Components/CodeEditorWrapper/index.d.ts +0 -1
- package/dist/Shared/Components/CodeEditorWrapper/types.d.ts +0 -7
- package/dist/assets/@code-editor.css +0 -1
- package/dist/assets/@monaco-editor.css +0 -1
- package/dist/assets/codicon.ecfbfe4b.ttf +0 -0
- package/dist/assets/ic-14-day-trial-chip.0fbc1bf7.svg +0 -36
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.components.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.constants.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.context.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.theme.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditorRenderer.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Commands/findAndReplace.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Commands/index.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Commands/keyMaps.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/DiffMinimap.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/findAndReplace.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/index.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/readOnlyTooltip.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/yamlHighlight.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/yamlParseLinter.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/index.d.ts +0 -0
- /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/utils.d.ts +0 -0
@@ -1,3 +1,3 @@
|
|
1
1
|
import { default as RJSF } from '@rjsf/core';
|
2
2
|
import { FormProps } from './types';
|
3
|
-
export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "
|
3
|
+
export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "children" | "className" | "name" | "id" | "disabled" | "action" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "method" | "autoComplete" | "tagName" | "noValidate" | "readonly" | "uiSchema" | "schema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "acceptCharset" | "enctype" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<any, import('./types').RJSFFormSchema, any>>>;
|
package/dist/Common/Types.d.ts
CHANGED
@@ -911,15 +911,6 @@ export interface EnvironmentHelmResult {
|
|
911
911
|
allowedDeploymentTypes?: DeploymentAppTypes[];
|
912
912
|
}
|
913
913
|
export type EnvironmentListHelmResponse = ResponseType<EnvironmentListHelmResult[]>;
|
914
|
-
export interface WidgetEventDetails {
|
915
|
-
message: string;
|
916
|
-
namespace: string;
|
917
|
-
object: string;
|
918
|
-
source: string;
|
919
|
-
count: number;
|
920
|
-
age: string;
|
921
|
-
lastSeen: string;
|
922
|
-
}
|
923
914
|
export interface GlobalVariableDTO {
|
924
915
|
name: string;
|
925
916
|
format: VariableTypeFormat;
|
package/dist/Common/index.d.ts
CHANGED
@@ -6,7 +6,6 @@ export { default as ChartVersionAndTypeSelector } from './ChartVersionAndTypeSel
|
|
6
6
|
export * from './Checkbox';
|
7
7
|
export * from './CIPipeline.Types';
|
8
8
|
export { ClipboardButton } from './ClipboardButton/ClipboardButton';
|
9
|
-
export * from './CodeEditor/types';
|
10
9
|
export * from './Common.service';
|
11
10
|
export * from './Constants';
|
12
11
|
export * from './CustomTagSelector';
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { AnimatedDeployButtonProps } from './types';
|
2
|
-
declare const AnimatedDeployButton: ({ isVirtualEnvironment, onButtonClick }: AnimatedDeployButtonProps) => JSX.Element;
|
2
|
+
declare const AnimatedDeployButton: ({ isLoading, isVirtualEnvironment, onButtonClick, exceptionUserConfig, isBulkCDTrigger, }: AnimatedDeployButtonProps) => JSX.Element;
|
3
3
|
export default AnimatedDeployButton;
|
@@ -1,4 +1,10 @@
|
|
1
1
|
export interface AnimatedDeployButtonProps {
|
2
|
+
isLoading?: boolean;
|
2
3
|
isVirtualEnvironment: boolean;
|
3
4
|
onButtonClick: (e: any, disableDeployButton: boolean) => void;
|
5
|
+
exceptionUserConfig?: {
|
6
|
+
canDeploy: boolean;
|
7
|
+
isImageApprover: boolean;
|
8
|
+
};
|
9
|
+
isBulkCDTrigger?: boolean;
|
4
10
|
}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { ArtifactType, CIListItemType } from './types';
|
2
|
-
export declare const CIListItem: ({ type, userApprovalMetadata, triggeredBy, children, ciPipelineId, artifactId, imageComment, imageReleaseTags, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, appliedFilters, isSuperAdmin, promotionApprovalMetadata, appliedFiltersTimestamp, selectedEnvironmentName, renderCIListHeader, targetPlatforms, }: CIListItemType) => JSX.Element;
|
2
|
+
export declare const CIListItem: ({ type, userApprovalMetadata, triggeredBy, children, ciPipelineId, artifactId, imageComment, imageReleaseTags, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, appliedFilters, isSuperAdmin, promotionApprovalMetadata, appliedFiltersTimestamp, selectedEnvironmentName, renderCIListHeader, targetPlatforms, isDeploymentWithoutApproval, }: CIListItemType) => JSX.Element;
|
3
3
|
declare const Artifacts: ({ status, artifact, blobStorageEnabled, isArtifactUploaded, downloadArtifactUrl, ciPipelineId, artifactId, isJobCI, imageComment, imageReleaseTags, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, rootClassName, renderCIListHeader, targetPlatforms, }: ArtifactType) => JSX.Element;
|
4
4
|
export default Artifacts;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { DeploymentDetailStepsType } from './types';
|
2
|
-
declare const DeploymentDetailSteps: ({ deploymentStatus, deploymentAppType, isHelmApps, installedAppVersionHistoryId, isGitops, userApprovalMetadata, isVirtualEnvironment, processVirtualEnvironmentDeploymentData, renderDeploymentApprovalInfo, }: DeploymentDetailStepsType) => JSX.Element;
|
2
|
+
declare const DeploymentDetailSteps: ({ deploymentStatus, deploymentAppType, isHelmApps, installedAppVersionHistoryId, isGitops, userApprovalMetadata, isVirtualEnvironment, processVirtualEnvironmentDeploymentData, renderDeploymentApprovalInfo, isDeploymentWithoutApproval, }: DeploymentDetailStepsType) => JSX.Element;
|
3
3
|
export default DeploymentDetailSteps;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { GitChangesType, LogResizeButtonType, ScrollerType } from './types';
|
2
2
|
export declare const LogResizeButton: ({ shortcutCombo, showOnlyWhenPathIncludesLogs, fullScreenView, setFullScreenView, }: LogResizeButtonType) => JSX.Element;
|
3
3
|
export declare const Scroller: ({ scrollToTop, scrollToBottom, style }: ScrollerType) => JSX.Element;
|
4
|
-
export declare const GitChanges: ({ gitTriggers, ciMaterials, artifact, userApprovalMetadata, triggeredByEmail, ciPipelineId, artifactId, imageComment, imageReleaseTags, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, appliedFilters, appliedFiltersTimestamp, promotionApprovalMetadata, selectedEnvironmentName, renderCIListHeader, targetPlatforms, }: GitChangesType) => JSX.Element;
|
4
|
+
export declare const GitChanges: ({ gitTriggers, ciMaterials, artifact, userApprovalMetadata, triggeredByEmail, ciPipelineId, artifactId, imageComment, imageReleaseTags, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, appliedFilters, appliedFiltersTimestamp, promotionApprovalMetadata, selectedEnvironmentName, renderCIListHeader, targetPlatforms, isDeploymentWithoutApproval, }: GitChangesType) => JSX.Element;
|
@@ -134,6 +134,7 @@ export interface History extends Pick<TargetPlatformsDTO, 'targetPlatforms'>, Wo
|
|
134
134
|
triggerMetadata?: string;
|
135
135
|
runSource?: RunSourceType;
|
136
136
|
targetConfig?: TargetConfigType;
|
137
|
+
isDeploymentWithoutApproval?: boolean;
|
137
138
|
}
|
138
139
|
export interface ExecutionInfoType {
|
139
140
|
/**
|
@@ -313,7 +314,7 @@ export interface DeploymentStatusDetailsTimelineType {
|
|
313
314
|
statusTime: string;
|
314
315
|
resourceDetails?: SyncStageResourceDetail[];
|
315
316
|
}
|
316
|
-
export interface DeploymentStatusDetailsType {
|
317
|
+
export interface DeploymentStatusDetailsType extends Pick<History, 'isDeploymentWithoutApproval'> {
|
317
318
|
deploymentFinishedOn: string;
|
318
319
|
deploymentStartedOn: string;
|
319
320
|
triggeredBy: string;
|
@@ -327,7 +328,7 @@ export interface DeploymentStatusDetailsResponse extends ResponseType {
|
|
327
328
|
}
|
328
329
|
interface DeploymentStatusDetailRow {
|
329
330
|
icon: string;
|
330
|
-
displayText:
|
331
|
+
displayText: ReactNode;
|
331
332
|
displaySubText: string;
|
332
333
|
time: string;
|
333
334
|
resourceDetails?: any;
|
@@ -355,7 +356,7 @@ export interface DeploymentStatusDetailsBreakdownDataType {
|
|
355
356
|
HELM_PACKAGE_GENERATED?: DeploymentStatusDetailRow;
|
356
357
|
};
|
357
358
|
}
|
358
|
-
export interface DeploymentDetailStepsType {
|
359
|
+
export interface DeploymentDetailStepsType extends Pick<History, 'isDeploymentWithoutApproval'> {
|
359
360
|
deploymentStatus?: string;
|
360
361
|
deploymentAppType?: DeploymentAppTypes;
|
361
362
|
isHelmApps?: boolean;
|
@@ -366,7 +367,7 @@ export interface DeploymentDetailStepsType {
|
|
366
367
|
processVirtualEnvironmentDeploymentData: (data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
|
367
368
|
renderDeploymentApprovalInfo: (userApprovalMetadata: UserApprovalMetadataType) => JSX.Element;
|
368
369
|
}
|
369
|
-
export interface RenderCIListHeaderProps {
|
370
|
+
export interface RenderCIListHeaderProps extends Required<Pick<History, 'isDeploymentWithoutApproval'>> {
|
370
371
|
userApprovalMetadata: UserApprovalMetadataType;
|
371
372
|
triggeredBy: string;
|
372
373
|
appliedFilters: FilterConditionsListType[];
|
@@ -384,7 +385,7 @@ export interface VirtualHistoryArtifactProps {
|
|
384
385
|
workflowId: number;
|
385
386
|
};
|
386
387
|
}
|
387
|
-
export type CIListItemType = Pick<History, 'promotionApprovalMetadata'> & {
|
388
|
+
export type CIListItemType = Pick<History, 'promotionApprovalMetadata' | 'isDeploymentWithoutApproval'> & {
|
388
389
|
userApprovalMetadata?: UserApprovalMetadataType;
|
389
390
|
triggeredBy?: string;
|
390
391
|
children: ReactNode;
|
@@ -601,6 +602,7 @@ export type GitChangesType = {
|
|
601
602
|
appliedFilters?: never;
|
602
603
|
appliedFiltersTimestamp?: never;
|
603
604
|
renderCIListHeader?: never;
|
605
|
+
isDeploymentWithoutApproval?: never;
|
604
606
|
} | {
|
605
607
|
artifact: string;
|
606
608
|
promotionApprovalMetadata: History['promotionApprovalMetadata'];
|
@@ -618,6 +620,7 @@ export type GitChangesType = {
|
|
618
620
|
appliedFilters?: FilterConditionsListType[];
|
619
621
|
appliedFiltersTimestamp?: string;
|
620
622
|
renderCIListHeader: (renderCIListHeaderProps: RenderCIListHeaderProps) => JSX.Element;
|
623
|
+
isDeploymentWithoutApproval?: History['isDeploymentWithoutApproval'];
|
621
624
|
});
|
622
625
|
export interface ArtifactType extends Pick<TargetPlatformBadgeListProps, 'targetPlatforms'> {
|
623
626
|
status: string;
|
@@ -3,9 +3,9 @@ import { MergeView } from '@codemirror/merge';
|
|
3
3
|
import { SearchQuery } from '@codemirror/search';
|
4
4
|
import { EditorView, Extension, ReactCodeMirrorProps } from '@uiw/react-codemirror';
|
5
5
|
import { JSONSchema7 } from 'json-schema';
|
6
|
-
import { MODES } from '
|
7
|
-
import { AppThemeType } from '../../
|
8
|
-
import { Never } from '../../
|
6
|
+
import { MODES } from '../../../Common/Constants';
|
7
|
+
import { AppThemeType } from '../../Providers';
|
8
|
+
import { Never } from '../../types';
|
9
9
|
export interface CodeEditorStatusBarProps {
|
10
10
|
text: string;
|
11
11
|
className?: string;
|
@@ -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, }: DynamicDataTableRowProps<K, CustomStateType>) => JSX.Element;
|
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';
|
@@ -170,5 +170,7 @@ export type DynamicDataTableProps<K extends string, CustomStateType = Record<str
|
|
170
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'> {
|
171
171
|
}
|
172
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>>;
|
173
175
|
}
|
174
176
|
export {};
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { IconBaseProps } from './types';
|
2
2
|
export declare const iconMap: {
|
3
|
-
'ic-14-day-trial-chip': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
4
3
|
'ic-73strings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
5
4
|
'ic-aborted': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
6
5
|
'ic-add': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
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
9
|
'ic-arrow-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -11,6 +11,7 @@ export declare const iconMap: {
|
|
11
11
|
'ic-arrow-square-out': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
12
12
|
'ic-arrows-left-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
13
13
|
'ic-ather': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
14
|
+
'ic-azure-aks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
14
15
|
'ic-azure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
15
16
|
'ic-bg-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
16
17
|
'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -27,12 +28,14 @@ export declare const iconMap: {
|
|
27
28
|
'ic-cd': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
28
29
|
'ic-chat-circle-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
29
30
|
'ic-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
31
|
+
'ic-checks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
30
32
|
'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
31
33
|
'ic-ci-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
32
34
|
'ic-circle-loader': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
33
35
|
'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
34
36
|
'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
35
37
|
'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
38
|
+
'ic-cloud-vms': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
36
39
|
'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
37
40
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
38
41
|
'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -54,11 +57,13 @@ export declare const iconMap: {
|
|
54
57
|
'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
55
58
|
'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
56
59
|
'ic-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
60
|
+
'ic-gift-gradient': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
57
61
|
'ic-git': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
58
62
|
'ic-github': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
59
63
|
'ic-gitlab': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
60
64
|
'ic-google-artifact-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
61
65
|
'ic-google-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
66
|
+
'ic-google-gke': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
62
67
|
'ic-google': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
63
68
|
'ic-grid-view': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
64
69
|
'ic-hand-pointing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -74,7 +79,10 @@ export declare const iconMap: {
|
|
74
79
|
'ic-info-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
75
80
|
'ic-install': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
76
81
|
'ic-job-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
82
|
+
'ic-k3s': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
77
83
|
'ic-k8s-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
84
|
+
'ic-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
85
|
+
'ic-kind': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
78
86
|
'ic-laptop': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
79
87
|
'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
80
88
|
'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -86,6 +94,7 @@ export declare const iconMap: {
|
|
86
94
|
'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
87
95
|
'ic-memory': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
88
96
|
'ic-microsoft': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
97
|
+
'ic-minikube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
89
98
|
'ic-missing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
90
99
|
'ic-mobile': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
91
100
|
'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -101,6 +110,7 @@ export declare const iconMap: {
|
|
101
110
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
102
111
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
103
112
|
'ic-rocket-launch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
113
|
+
'ic-selected': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
104
114
|
'ic-shield-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
105
115
|
'ic-sliders-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
106
116
|
'ic-sort-ascending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -113,14 +123,18 @@ export declare const iconMap: {
|
|
113
123
|
'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
114
124
|
'ic-tata1mg': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
115
125
|
'ic-terminal-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
116
|
-
'ic-
|
126
|
+
'ic-thumb-down': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
127
|
+
'ic-thumb-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
128
|
+
'ic-timeout-dash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
117
129
|
'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
118
130
|
'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
131
|
+
'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
119
132
|
'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
120
133
|
'ic-user-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
121
134
|
'ic-user-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
122
135
|
'ic-users': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
123
136
|
'ic-warning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
137
|
+
'ic-wifi-slash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
124
138
|
};
|
125
139
|
export type IconName = keyof typeof iconMap;
|
126
140
|
export interface IconsProps extends Omit<IconBaseProps, 'name' | 'iconMap'> {
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { TabGroupProps } from './TabGroup.types';
|
2
|
-
export declare const TabGroup: ({ tabs, size, rightComponent,
|
2
|
+
export declare const TabGroup: ({ tabs, size, rightComponent, hideTopPadding, }: TabGroupProps) => JSX.Element;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { LinkProps, NavLinkProps } from 'react-router-dom';
|
1
2
|
import { TabGroupProps, TabProps } from './TabGroup.types';
|
2
3
|
export declare const getTabIcon: ({ icon, showError, showWarning, className, size, active, }: Pick<TabProps, "showError" | "showWarning" | "icon" | "active"> & Pick<TabGroupProps, "size"> & {
|
3
4
|
className: string;
|
@@ -5,3 +6,4 @@ export declare const getTabIcon: ({ icon, showError, showWarning, className, siz
|
|
5
6
|
export declare const getTabBadge: (badge: TabProps["badge"], className: string) => JSX.Element;
|
6
7
|
export declare const getTabIndicator: (showIndicator: TabProps["showIndicator"]) => JSX.Element;
|
7
8
|
export declare const getTabDescription: (description: TabProps["description"]) => JSX.Element;
|
9
|
+
export declare const getPathnameToMatch: (to: NavLinkProps["to"] | LinkProps["to"], currentPathname: string) => string;
|
@@ -122,15 +122,13 @@ export interface TabGroupProps {
|
|
122
122
|
* Optional component to be rendered on the right side of the tab list.
|
123
123
|
*/
|
124
124
|
rightComponent?: React.ReactElement;
|
125
|
-
/**
|
126
|
-
* Set to `true` to align the active tab's border with the bottom border of the parent container.
|
127
|
-
* @default false
|
128
|
-
*/
|
129
|
-
alignActiveBorderWithContainer?: boolean;
|
130
125
|
/**
|
131
126
|
* Determines if the top padding of the tab group should be hidden.
|
132
127
|
* @default false
|
133
128
|
*/
|
134
129
|
hideTopPadding?: boolean;
|
135
130
|
}
|
131
|
+
export type AdditionalTabProps = {
|
132
|
+
uniqueGroupId: string;
|
133
|
+
};
|
136
134
|
export {};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { IconsProps } from '../Icon';
|
2
2
|
import { TabGroupProps } from './TabGroup.types';
|
3
|
-
export declare const getClassNameBySizeMap: ({ hideTopPadding,
|
3
|
+
export declare const getClassNameBySizeMap: ({ hideTopPadding, }: Pick<TabGroupProps, "hideTopPadding">) => Record<TabGroupProps["size"], {
|
4
4
|
tabClassName: string;
|
5
5
|
iconClassName: string;
|
6
6
|
badgeClassName: string;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { ReactNode } from 'react';
|
2
|
+
export interface UserIdentifierProps {
|
3
|
+
identifier: string;
|
4
|
+
children?: ReactNode;
|
5
|
+
isUserGroup?: boolean;
|
6
|
+
rootClassName?: string;
|
7
|
+
/**
|
8
|
+
* @description - If given, would show tooltip on div containing avatar, email and children
|
9
|
+
*/
|
10
|
+
tooltipContent?: string;
|
11
|
+
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
export * from './AboutDevtron';
|
1
2
|
export * from './ActionMenu';
|
2
3
|
export * from './ActivityIndicator';
|
3
4
|
export * from './AnimatedDeployButton';
|
@@ -13,7 +14,7 @@ export * from './ButtonWithLoader';
|
|
13
14
|
export * from './ButtonWithSelector';
|
14
15
|
export * from './CICDHistory';
|
15
16
|
export * from './CMCS';
|
16
|
-
export * from './
|
17
|
+
export * from './CodeEditor';
|
17
18
|
export * from './Collapse';
|
18
19
|
export * from './CollapsibleList';
|
19
20
|
export * from './CommitChipCell';
|
@@ -79,5 +80,6 @@ export * from './ThemeSwitcher';
|
|
79
80
|
export * from './ToggleResolveScopedVariables';
|
80
81
|
export * from './UnsavedChanges';
|
81
82
|
export * from './UnsavedChangesDialog';
|
83
|
+
export * from './UserIdentifier';
|
82
84
|
export * from './VirtualizedList';
|
83
85
|
export * from './WorkflowOptionsModal';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Dispatch, MutableRefObject, ReactNode, SetStateAction } from 'react';
|
2
2
|
import { SERVER_MODE } from '../../Common';
|
3
3
|
import { ServerInfo } from '../Components/Header/types';
|
4
|
-
import { DevtronLicenseInfo, LicenseInfoDialogType } from '..';
|
4
|
+
import { DevtronLicenseInfo, IntelligenceConfig, LicenseInfoDialogType } from '..';
|
5
5
|
export interface MainContext {
|
6
6
|
serverMode: SERVER_MODE;
|
7
7
|
setServerMode: (serverMode: SERVER_MODE) => void;
|
@@ -46,6 +46,8 @@ export interface MainContext {
|
|
46
46
|
licenseData: DevtronLicenseInfo;
|
47
47
|
setLicenseData: Dispatch<SetStateAction<DevtronLicenseInfo>>;
|
48
48
|
canFetchHelmAppStatus: boolean;
|
49
|
+
intelligenceConfig: IntelligenceConfig;
|
50
|
+
setIntelligenceConfig: Dispatch<SetStateAction<IntelligenceConfig>>;
|
49
51
|
}
|
50
52
|
export interface MainContextProviderProps {
|
51
53
|
children: ReactNode;
|
@@ -422,6 +422,8 @@ export declare const DC_DELETE_SUBTITLES: {
|
|
422
422
|
};
|
423
423
|
export declare const EULA_LINK = "https://devtron.ai/end-user-license-agreement-eula";
|
424
424
|
export declare const CONTACT_SUPPORT_LINK = "https://devtron.ai/enterprise-support";
|
425
|
+
export declare const PRIVACY_POLICY_LINK = "https://devtron.ai/privacy-policy";
|
426
|
+
export declare const TERMS_OF_USE_LINK = "https://devtron.ai/terms-of-use";
|
425
427
|
export declare const enum DeleteComponentsName {
|
426
428
|
Cluster = "cluster",
|
427
429
|
Job = "job pipeline",
|
package/dist/Shared/types.d.ts
CHANGED
@@ -245,6 +245,8 @@ export interface WorkflowType {
|
|
245
245
|
showTippy?: boolean;
|
246
246
|
appId?: number;
|
247
247
|
isSelected?: boolean;
|
248
|
+
isExceptionUser?: boolean;
|
249
|
+
canApproverDeploy?: boolean;
|
248
250
|
approvalConfiguredIdsMap?: Record<number, ApprovalConfigDataType>;
|
249
251
|
imageReleaseTags: string[];
|
250
252
|
appReleaseTags?: string[];
|
@@ -953,4 +955,10 @@ export declare enum RegistryCredentialsType {
|
|
953
955
|
USERNAME_PASSWORD = "username_password",
|
954
956
|
ANONYMOUS = "anonymous"
|
955
957
|
}
|
958
|
+
export interface IntelligenceConfig {
|
959
|
+
clusterId: number;
|
960
|
+
metadata: Record<string, string>;
|
961
|
+
prompt: string;
|
962
|
+
analyticsCategory: string;
|
963
|
+
}
|
956
964
|
export {};
|