@devtron-labs/devtron-fe-common-lib 0.2.16-beta-2 → 0.2.16
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/Common/DraggableWrapper/DraggableWrapper.d.ts +1 -1
- package/dist/Common/InfoColorBar/InfoColourbar.d.ts +1 -1
- package/dist/Common/MultiSelectCustomization.d.ts +1 -1
- package/dist/Common/PopupMenu.d.ts +1 -1
- package/dist/Common/RJSF/templates/TitleField.d.ts +1 -1
- package/dist/Pages/index.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +2 -2
- package/dist/Shared/Components/CICDHistory/types.d.ts +3 -18
- package/dist/Shared/Components/SelectPicker/type.d.ts +1 -1
- package/dist/Shared/types.d.ts +0 -1
- package/dist/Shared/validations.d.ts +0 -11
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-4ccf6812.js → cssMode-02507659.js} +1 -1
- package/dist/{freemarker2-8e935c69.js → freemarker2-8ad905cd.js} +1 -1
- package/dist/{handlebars-c525a3e4.js → handlebars-4378a457.js} +1 -1
- package/dist/{html-43565ffd.js → html-be2aea32.js} +1 -1
- package/dist/{htmlMode-82dc6250.js → htmlMode-f869d9bf.js} +1 -1
- package/dist/{index-8b76eba8.js → index-a3ebe9d7.js} +24647 -24218
- package/dist/index.js +287 -290
- package/dist/{javascript-fd85686e.js → javascript-905090cb.js} +1 -1
- package/dist/{jsonMode-f1c8d40e.js → jsonMode-e936cbe8.js} +1 -1
- package/dist/{liquid-168ae917.js → liquid-5a865495.js} +1 -1
- package/dist/{mdx-f4b3e403.js → mdx-b333ba3a.js} +1 -1
- package/dist/{python-eebdca8a.js → python-1fc42063.js} +1 -1
- package/dist/{razor-df29362b.js → razor-ca7335e6.js} +1 -1
- package/dist/{tsMode-d9c5b9f8.js → tsMode-d1444e2d.js} +1 -1
- package/dist/{typescript-f3466380.js → typescript-be883a41.js} +1 -1
- package/dist/{xml-aeb26365.js → xml-09ba0cf4.js} +1 -1
- package/dist/{yaml-bf350c40.js → yaml-d56d64b7.js} +1 -1
- package/package.json +1 -1
- package/dist/Pages/App/AppConfigurations/index.d.ts +0 -1
- package/dist/Pages/App/AppConfigurations/utils.d.ts +0 -3
- package/dist/Pages/App/index.d.ts +0 -1
|
@@ -6,4 +6,4 @@ import { DraggableWrapperProps } from './types';
|
|
|
6
6
|
* 2. dragSelector will be used to identify the grabbable button that will grab the div to drag
|
|
7
7
|
* 3. parentRef is the reference point from which we will derive the base top:0 ,left: 0 position
|
|
8
8
|
*/
|
|
9
|
-
export default function DraggableWrapper({ children, zIndex, positionVariant, dragSelector, parentRef, boundaryGap, childDivProps, layoutFixDelta
|
|
9
|
+
export default function DraggableWrapper({ children, zIndex, positionVariant, dragSelector, parentRef, boundaryGap, childDivProps, layoutFixDelta }: DraggableWrapperProps): JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { InfoColourBarType } from '../Types';
|
|
2
2
|
|
|
3
|
-
declare const InfoColourBar: ({ message, classname, Icon, iconClass, iconSize, renderActionButton, linkText, redirectLink, linkOnClick, linkClass, internalLink, styles, hideIcon
|
|
3
|
+
declare const InfoColourBar: ({ message, classname, Icon, iconClass, iconSize, renderActionButton, linkText, redirectLink, linkOnClick, linkClass, internalLink, styles, hideIcon }: InfoColourBarType) => JSX.Element;
|
|
4
4
|
export default InfoColourBar;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PopupMenuBodyType, PopupMenuButtonType, PopupMenuType } from './Types';
|
|
2
2
|
|
|
3
3
|
declare const PopupMenu: {
|
|
4
|
-
({ children, onToggleCallback, autoClose, autoPosition, shouldPreventDefault
|
|
4
|
+
({ children, onToggleCallback, autoClose, autoPosition, shouldPreventDefault }: PopupMenuType): any;
|
|
5
5
|
Button: ({ children, disabled, rootClassName, tabIndex, onHover, isKebab, dataTestId, }: PopupMenuButtonType) => JSX.Element;
|
|
6
6
|
Body: ({ children, rootClassName, style, autoWidth, preventWheelDisable, noBackDrop, }: PopupMenuBodyType) => JSX.Element;
|
|
7
7
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TitleFieldProps } from '@rjsf/utils';
|
|
2
2
|
|
|
3
|
-
export declare const TitleField: ({ id, title, required, description
|
|
3
|
+
export declare const TitleField: ({ id, title, required, description }: TitleFieldProps & Partial<Record<'description', string>>) => JSX.Element;
|
package/dist/Pages/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { TriggerDetailsType, TriggerOutputProps } from './types';
|
|
3
3
|
|
|
4
|
-
export declare const TriggerDetails: React.MemoExoticComponent<({ status, startedOn, finishedOn, triggeredBy, triggeredByEmail, ciMaterials, gitTriggers, message, podStatus, type, stage, artifact, environmentName, isJobView, workerPodName, triggerMetadata, renderDeploymentHistoryTriggerMetaText,
|
|
5
|
-
declare const TriggerOutput: ({ fullScreenView, triggerHistory, setTriggerHistory, setFullScreenView, setDeploymentHistoryList, deploymentHistoryList, deploymentAppType, isBlobStorageConfigured, appReleaseTags, tagsEditable, hideImageTaggingHardDelete, fetchIdData, setFetchTriggerIdData, selectedEnvironmentName, deploymentHistoryResult, renderRunSource, renderCIListHeader, renderDeploymentApprovalInfo, processVirtualEnvironmentDeploymentData, renderVirtualHistoryArtifacts, renderDeploymentHistoryTriggerMetaText, resourceId, scrollToTop, scrollToBottom,
|
|
4
|
+
export declare const TriggerDetails: React.MemoExoticComponent<({ status, startedOn, finishedOn, triggeredBy, triggeredByEmail, ciMaterials, gitTriggers, message, podStatus, type, stage, artifact, environmentName, isJobView, workerPodName, triggerMetadata, renderDeploymentHistoryTriggerMetaText, }: TriggerDetailsType) => JSX.Element>;
|
|
5
|
+
declare const TriggerOutput: ({ fullScreenView, triggerHistory, setTriggerHistory, setFullScreenView, setDeploymentHistoryList, deploymentHistoryList, deploymentAppType, isBlobStorageConfigured, appReleaseTags, tagsEditable, hideImageTaggingHardDelete, fetchIdData, setFetchTriggerIdData, selectedEnvironmentName, deploymentHistoryResult, renderRunSource, renderCIListHeader, renderDeploymentApprovalInfo, processVirtualEnvironmentDeploymentData, renderVirtualHistoryArtifacts, renderDeploymentHistoryTriggerMetaText, resourceId, scrollToTop, scrollToBottom, }: TriggerOutputProps) => JSX.Element;
|
|
6
6
|
export default TriggerOutput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
2
|
import { OptionType, UserApprovalMetadataType, ReleaseTag, ImageComment, PromotionApprovalMetadataType, FilterConditionsListType, DeploymentAppTypes, ResponseType, PaginationProps, useScrollable, SortingOrder } from '../../../Common';
|
|
3
3
|
import { DeploymentStageType } from '../../constants';
|
|
4
4
|
import { AggregationKeys, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType } from '../../types';
|
|
@@ -47,15 +47,6 @@ export interface CICDSidebarFilterOptionType extends OptionType {
|
|
|
47
47
|
pipelineType?: string;
|
|
48
48
|
deploymentAppDeleteRequest?: boolean;
|
|
49
49
|
}
|
|
50
|
-
export interface TargetConfigType {
|
|
51
|
-
tenantIcon?: string;
|
|
52
|
-
tenantId?: string;
|
|
53
|
-
tenantName?: string;
|
|
54
|
-
installationId?: string;
|
|
55
|
-
installationName?: string;
|
|
56
|
-
releaseChannelId?: string;
|
|
57
|
-
releaseChannelName?: string;
|
|
58
|
-
}
|
|
59
50
|
export interface History {
|
|
60
51
|
id: number;
|
|
61
52
|
name: string;
|
|
@@ -90,7 +81,6 @@ export interface History {
|
|
|
90
81
|
promotionApprovalMetadata?: PromotionApprovalMetadataType;
|
|
91
82
|
triggerMetadata?: string;
|
|
92
83
|
runSource?: RunSourceType;
|
|
93
|
-
targetConfig?: TargetConfigType;
|
|
94
84
|
}
|
|
95
85
|
export interface DeploymentHistoryResultObject {
|
|
96
86
|
cdWorkflows: History[];
|
|
@@ -168,13 +158,8 @@ export interface StartDetailsType {
|
|
|
168
158
|
isJobView?: boolean;
|
|
169
159
|
triggerMetadata?: string;
|
|
170
160
|
renderDeploymentHistoryTriggerMetaText: (triggerMetaData: string) => JSX.Element;
|
|
171
|
-
/**
|
|
172
|
-
* Callback handler for showing the target config
|
|
173
|
-
*/
|
|
174
|
-
renderTargetConfigInfo?: () => ReactElement;
|
|
175
|
-
stage: DeploymentStageType;
|
|
176
161
|
}
|
|
177
|
-
export interface TriggerDetailsType
|
|
162
|
+
export interface TriggerDetailsType {
|
|
178
163
|
status: string;
|
|
179
164
|
startedOn: string;
|
|
180
165
|
finishedOn: string;
|
|
@@ -309,7 +294,7 @@ export interface VirtualHistoryArtifactProps {
|
|
|
309
294
|
workflowId: number;
|
|
310
295
|
};
|
|
311
296
|
}
|
|
312
|
-
export interface TriggerOutputProps extends RenderRunSourceType
|
|
297
|
+
export interface TriggerOutputProps extends RenderRunSourceType {
|
|
313
298
|
fullScreenView: boolean;
|
|
314
299
|
triggerHistory: Map<number, History>;
|
|
315
300
|
setFullScreenView: React.Dispatch<React.SetStateAction<boolean>>;
|
|
@@ -157,7 +157,7 @@ export type SelectPickerGroupHeadingProps<OptionValue> = GroupHeadingProps<Selec
|
|
|
157
157
|
isGroupHeadingSelectable: boolean;
|
|
158
158
|
};
|
|
159
159
|
export interface FilterSelectPickerProps extends Required<Pick<SelectPickerProps<number | string, true>, 'options' | 'isDisabled' | 'placeholder' | 'isLoading'>>, Pick<SelectPickerProps<number | string, true>, 'selectRef' | 'inputId' | 'menuPosition' | 'autoFocus' | 'shouldMenuAlignRight'> {
|
|
160
|
-
appliedFilterOptions:
|
|
160
|
+
appliedFilterOptions: SelectPickerProps<number | string, true>['options'];
|
|
161
161
|
handleApplyFilter: (filtersToApply: SelectPickerOptionType<number | string>[]) => void;
|
|
162
162
|
}
|
|
163
163
|
export {};
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -367,7 +367,6 @@ export declare enum ResourceKindType {
|
|
|
367
367
|
cluster = "cluster",
|
|
368
368
|
release = "release",
|
|
369
369
|
releaseTrack = "release-track",
|
|
370
|
-
releaseChannel = "release-channel",
|
|
371
370
|
tenant = "tenant",
|
|
372
371
|
installation = "installation",
|
|
373
372
|
environment = "environment",
|
|
@@ -14,7 +14,6 @@ export declare const MESSAGES: {
|
|
|
14
14
|
VALID_POSITIVE_NUMBER: string;
|
|
15
15
|
VALID_POSITIVE_INTEGER: string;
|
|
16
16
|
MAX_SAFE_INTEGER: string;
|
|
17
|
-
INVALID_SEMANTIC_VERSION: string;
|
|
18
17
|
};
|
|
19
18
|
export declare const requiredField: (value: string) => ValidationResponseType;
|
|
20
19
|
export declare const validateName: (name: string) => ValidationResponseType;
|
|
@@ -32,14 +31,4 @@ export declare const validateUniqueKeys: (keys: string[]) => {
|
|
|
32
31
|
isValid: boolean;
|
|
33
32
|
message: string;
|
|
34
33
|
};
|
|
35
|
-
/**
|
|
36
|
-
* Rules for valid semantic version:
|
|
37
|
-
* 1. version.length < 128 and not empty
|
|
38
|
-
* 2. version should follow semantic versioning regex from https://semver.org/
|
|
39
|
-
*/
|
|
40
|
-
export declare const validateSemanticVersioning: (version: string) => ValidationResponseType;
|
|
41
|
-
/**
|
|
42
|
-
* A valid display name should be between 3 and 50 characters
|
|
43
|
-
*/
|
|
44
|
-
export declare const validateDisplayName: (name: string) => ValidationResponseType;
|
|
45
34
|
export declare const validateJSON: (json: string) => ValidationResponseType;
|