@devtron-labs/devtron-fe-common-lib 1.22.1 → 1.22.2-beta-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{@code-editor-umdiXXey.js → @code-editor-HKkptS1b.js} +8721 -8620
- package/dist/{@common-rjsf-DlvuWlrc.js → @common-rjsf-DlDBj-OU.js} +22 -22
- package/dist/{@framer-motion-LZK2bgCK.js → @framer-motion-BQTs5Wxy.js} +64 -64
- package/dist/{@react-dates-CbpfVsC0.js → @react-dates-P5PZUVj0.js} +1 -1
- package/dist/{@react-select-BuPEYnTv.js → @react-select-BbY7LVyg.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-DX7VkyTZ.js → @react-virtualized-sticky-tree-vfWX2CbE.js} +1 -1
- package/dist/{@vendor-BsABdDGm.js → @vendor-Cdc4Z61e.js} +12712 -12070
- package/dist/Shared/Components/CICDHistory/LogStageHeader.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/types.d.ts +14 -5
- package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -0
- package/dist/Shared/Components/Plugin/types.d.ts +11 -4
- package/dist/Shared/Components/SelectPicker/SelectPickerTextArea.component.d.ts +1 -1
- package/dist/index.js +338 -337
- package/package.json +2 -1
- package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +0 -3
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { LogStageHeaderProps } from './types';
|
|
2
|
+
declare const LogStageHeader: ({ stage, isOpen, status, startTime, endTime, targetPlatforms, stageIndex, fullScreenView, handleStageClose, handleStageOpen, logsRendererRef, applySticky, }: LogStageHeaderProps) => JSX.Element;
|
|
3
|
+
export default LogStageHeader;
|
|
@@ -686,16 +686,25 @@ export interface StageDetailType extends Pick<StageInfoDTO, 'stage' | 'startTime
|
|
|
686
686
|
isOpen: boolean;
|
|
687
687
|
targetPlatforms?: StageInfoDTO['metadata']['targetPlatforms'];
|
|
688
688
|
}
|
|
689
|
-
export
|
|
689
|
+
export type LogVirtualItem = {
|
|
690
|
+
type: 'header';
|
|
691
|
+
stageIndex: number;
|
|
692
|
+
} | {
|
|
693
|
+
type: 'log';
|
|
694
|
+
stageIndex: number;
|
|
695
|
+
logIndex: number;
|
|
696
|
+
};
|
|
697
|
+
export interface LogStageHeaderProps extends Omit<StageDetailType, 'logs'>, Pick<LogsRendererType, 'fullScreenView'> {
|
|
690
698
|
handleStageClose: (index: number) => void;
|
|
691
699
|
handleStageOpen: (index: number) => void;
|
|
692
700
|
stageIndex: number;
|
|
701
|
+
logsRendererRef: MutableRefObject<HTMLDivElement>;
|
|
693
702
|
/**
|
|
694
|
-
*
|
|
703
|
+
* When false, the sticky CSS is not applied to the button.
|
|
704
|
+
* The virtual list wrapper div controls positioning instead.
|
|
705
|
+
* @default true
|
|
695
706
|
*/
|
|
696
|
-
|
|
697
|
-
searchIndex: string;
|
|
698
|
-
logsRendererRef: MutableRefObject<HTMLDivElement>;
|
|
707
|
+
applySticky?: boolean;
|
|
699
708
|
}
|
|
700
709
|
export interface CreateMarkupReturnType {
|
|
701
710
|
__html: string;
|
|
@@ -41,3 +41,4 @@ export declare const renderDeploymentTimelineIcon: (iconState: DeploymentStatusB
|
|
|
41
41
|
export declare const getDeploymentTimelineBGColorFromIcon: (icon: DeploymentStatusBreakdownItemType["icon"]) => string;
|
|
42
42
|
export declare const getTriggerOutputTabs: (triggerDetails: History, deploymentAppType: DeploymentAppTypes) => TabGroupProps["tabs"];
|
|
43
43
|
export declare const getSortedTriggerHistory: (triggerHistory: Map<number, History>) => [number, History][];
|
|
44
|
+
export declare const findScrollableAncestor: (el: HTMLElement | null) => HTMLElement | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MutableRefObject } from 'react';
|
|
2
|
-
import { ConsequenceType, ServerErrors, VariableType } from '../../../Common';
|
|
2
|
+
import { ConditionDetails, ConsequenceType, ServerErrors, VariableType } from '../../../Common';
|
|
3
3
|
import { BaseFilterQueryParams } from '../../types';
|
|
4
4
|
import { ImageWithFallbackProps } from '../ImageWithFallback';
|
|
5
5
|
import { getPluginStoreData } from './service';
|
|
@@ -28,10 +28,17 @@ interface MinimalPluginVersionDataDTO {
|
|
|
28
28
|
pluginVersion: string;
|
|
29
29
|
isLatest: boolean;
|
|
30
30
|
}
|
|
31
|
+
export interface PluginStepConditionDTO extends Pick<ConditionDetails, 'conditionType' | 'conditionalValue'> {
|
|
32
|
+
conditionalOperator: ConditionDetails['conditionOperator'];
|
|
33
|
+
id: number;
|
|
34
|
+
}
|
|
35
|
+
interface PluginVariableType extends VariableType {
|
|
36
|
+
pluginStepCondition?: PluginStepConditionDTO[];
|
|
37
|
+
}
|
|
31
38
|
interface DetailedPluginVersionDTO extends MinimalPluginVersionDataDTO {
|
|
32
39
|
tags: string[];
|
|
33
|
-
inputVariables:
|
|
34
|
-
outputVariables:
|
|
40
|
+
inputVariables: PluginVariableType[];
|
|
41
|
+
outputVariables: PluginVariableType[];
|
|
35
42
|
/**
|
|
36
43
|
* Present in case of shared plugin
|
|
37
44
|
*/
|
|
@@ -77,7 +84,7 @@ export interface ParentPluginType extends Pick<ParentPluginDTO, 'id' | 'name' |
|
|
|
77
84
|
latestVersionId: MinimalPluginVersionDataDTO['id'];
|
|
78
85
|
pluginVersions: MinimalPluginVersionDataDTO[];
|
|
79
86
|
}
|
|
80
|
-
interface DetailedPluginVersionType extends Pick<MinimalPluginVersionDataDTO, 'id' | 'description' | 'name' | 'pluginVersion'>, Pick<DetailedPluginVersionDTO, 'tags' | 'inputVariables' | 'outputVariables' | 'updatedBy' | 'docLink'>, Pick<ParentPluginType, 'icon' | 'type' | 'pluginIdentifier'> {
|
|
87
|
+
export interface DetailedPluginVersionType extends Pick<MinimalPluginVersionDataDTO, 'id' | 'description' | 'name' | 'pluginVersion'>, Pick<DetailedPluginVersionDTO, 'tags' | 'inputVariables' | 'outputVariables' | 'updatedBy' | 'docLink'>, Pick<ParentPluginType, 'icon' | 'type' | 'pluginIdentifier'> {
|
|
81
88
|
parentPluginId: ParentPluginType['id'];
|
|
82
89
|
}
|
|
83
90
|
export interface PluginDataStoreType {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { SelectPickerTextAreaProps } from './type';
|
|
2
|
-
export declare const SelectPickerTextArea: ({ value, options, isCreatable, onChange, minHeight, maxHeight, refVar, dependentRefs, ...props }: SelectPickerTextAreaProps) => JSX.Element;
|
|
2
|
+
export declare const SelectPickerTextArea: ({ value, options, isCreatable, onChange, minHeight, maxHeight, refVar, dependentRefs, filterOption: filterOptionProp, ...props }: SelectPickerTextAreaProps) => JSX.Element;
|