@devtron-labs/devtron-fe-common-lib 1.20.6-pre-48 → 1.20.6-pre-50
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-MJy65vkd.js → @code-editor-AAPaS3Ag.js} +6689 -6835
- package/dist/{@common-rjsf-Me4k--kI.js → @common-rjsf-BGcRJ3Lu.js} +1 -1
- package/dist/Common/Constants.d.ts +6 -6
- package/dist/Common/SegmentedControl/Segment.d.ts +1 -1
- package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +1 -1
- package/dist/Common/SegmentedControl/types.d.ts +12 -8
- package/dist/Common/index.d.ts +0 -1
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +1 -1
- package/dist/Shared/Components/Button/Button.component.d.ts +12 -12
- package/dist/Shared/Components/Charts/Chart.component.d.ts +0 -2
- package/dist/Shared/Components/Charts/types.d.ts +2 -12
- package/dist/Shared/Components/DocLink/constants.d.ts +0 -1
- package/dist/Shared/Components/Header/constants.d.ts +0 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +0 -23
- package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +3 -3
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -2
- package/dist/Shared/Providers/MainContextProvider/types.d.ts +1 -4
- package/dist/assets/@code-editor.css +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +478 -479
- package/package.json +1 -1
- package/dist/assets/ic-arrow-white.be4aea3f.svg +0 -3
- package/dist/assets/ic-bell.e03a0783.svg +0 -3
- package/dist/assets/ic-book-gear.bb9bca1f.svg +0 -9
- package/dist/assets/ic-bulb.3906a732.svg +0 -7
- package/dist/assets/ic-check-green.b03d325d.svg +0 -3
- package/dist/assets/ic-circle-progress.0875625d.svg +0 -6
- package/dist/assets/ic-close-circle-red.72e0a495.svg +0 -3
- package/dist/assets/ic-close-circle.b39dd87d.svg +0 -3
- package/dist/assets/ic-confirm.f6b1c31c.svg +0 -3
- package/dist/assets/ic-dot-circle.5ce1fccf.svg +0 -3
- package/dist/assets/ic-failure-color.e167df98.svg +0 -4
- package/dist/assets/ic-info-filled-new.28815384.svg +0 -8
- package/dist/assets/ic-line.4e8fa046.svg +0 -3
- package/dist/assets/ic-new-chat.f7c90f8e.svg +0 -5
- package/dist/assets/ic-pencil-white.369e78d9.svg +0 -3
- package/dist/assets/ic-piggybank.3a4839d7.svg +0 -3
- package/dist/assets/ic-priority-high-fill.53755d8f.svg +0 -3
- package/dist/assets/ic-priority-low-fill.79e781ae.svg +0 -4
- package/dist/assets/ic-priority-urgent-fill.78d42fa0.svg +0 -10
- package/dist/assets/ic-red-bulb.25e01bfc.svg +0 -9
- package/dist/assets/ic-spider.99b77bd8.svg +0 -3
- package/dist/assets/ic-timer-green.00bf295e.svg +0 -3
- package/dist/assets/ic-timer-red.656bee16.svg +0 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as n, aK as v, aM as J, aL as K } from "./@vendor-DEAetXNs.js";
|
|
2
2
|
import V, { useState as q, useEffect as Y, forwardRef as G, useMemo as E } from "react";
|
|
3
3
|
import z, { getDefaultRegistry as Q } from "@rjsf/core";
|
|
4
|
-
import { T as O, j as F, c as S, b as N, S as X, i as Z, g as ee, a as te, d as R, e as ne } from "./@code-editor-
|
|
4
|
+
import { T as O, j as F, c as S, b as N, S as X, i as Z, g as ee, a as te, d as R, e as ne } from "./@code-editor-AAPaS3Ag.js";
|
|
5
5
|
import { getUiOptions as B, getTemplate as $, getSubmitButtonOptions as re, ADDITIONAL_PROPERTY_FLAG as L, errorId as se, englishStringTranslator as ae, TranslatableString as oe, titleId as le, canExpand as ie, deepEquals as ce } from "@rjsf/utils";
|
|
6
6
|
import { ReactComponent as de } from "./assets/ic-add.cfaa779b.svg";
|
|
7
7
|
import { ReactComponent as ue } from "./assets/ic-warning.ecf7ff97.svg";
|
|
@@ -52,9 +52,9 @@ export declare const URLS: {
|
|
|
52
52
|
readonly LICENSE_AUTH: "/license-auth";
|
|
53
53
|
readonly APPLICATION_MANAGEMENT: "/application-management";
|
|
54
54
|
readonly APPLICATION_MANAGEMENT_OVERVIEW: "/application-management/overview";
|
|
55
|
-
readonly APPLICATION_MANAGEMENT_APP: "/application-management/app";
|
|
56
|
-
readonly APPLICATION_MANAGEMENT_APP_LIST: "/application-management/devtron-
|
|
57
|
-
readonly APPLICATION_MANAGEMENT_CREATE_DEVTRON_APP: "/application-management/devtron-
|
|
55
|
+
readonly APPLICATION_MANAGEMENT_APP: "/application-management/devtron-app";
|
|
56
|
+
readonly APPLICATION_MANAGEMENT_APP_LIST: "/application-management/devtron-app/list";
|
|
57
|
+
readonly APPLICATION_MANAGEMENT_CREATE_DEVTRON_APP: "/application-management/devtron-app/list/create-app";
|
|
58
58
|
readonly APPLICATION_MANAGEMENT_APPLICATION_GROUP: "/application-management/application-group";
|
|
59
59
|
readonly APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP: "/application-management/templates/devtron-app";
|
|
60
60
|
readonly APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_CREATE: "/application-management/templates/devtron-app/create";
|
|
@@ -69,12 +69,11 @@ export declare const URLS: {
|
|
|
69
69
|
readonly INFRASTRUCTURE_MANAGEMENT: "/infrastructure-management";
|
|
70
70
|
readonly INFRASTRUCTURE_MANAGEMENT_OVERVIEW: "/infrastructure-management/overview";
|
|
71
71
|
readonly INFRASTRUCTURE_MANAGEMENT_APP_LIST: `/infrastructure-management/apps/:appType(${string})`;
|
|
72
|
-
readonly INFRASTRUCTURE_MANAGEMENT_APP: "/infrastructure-management/
|
|
72
|
+
readonly INFRASTRUCTURE_MANAGEMENT_APP: "/infrastructure-management/apps";
|
|
73
73
|
readonly INFRASTRUCTURE_MANAGEMENT_CHART_STORE: "/infrastructure-management/chart-store";
|
|
74
74
|
readonly INFRASTRUCTURE_MANAGEMENT_CHART_STORE_DISCOVER: "/infrastructure-management/chart-store/discover";
|
|
75
75
|
readonly INFRASTRUCTURE_MANAGEMENT_RESOURCE_BROWSER: "/infrastructure-management/resource-browser";
|
|
76
76
|
readonly INFRASTRUCTURE_MANAGEMENT_RESOURCE_WATCHER: "/infrastructure-management/resource-watcher";
|
|
77
|
-
readonly INFRASTRUCTURE_MANAGEMENT_AUDIT_LOGS: "/infrastructure-management/audit-logs";
|
|
78
77
|
readonly SOFTWARE_RELEASE_MANAGEMENT: "/software-release-management";
|
|
79
78
|
readonly COST_VISIBILITY: "/cost-visibility";
|
|
80
79
|
readonly COST_VISIBILITY_OVERVIEW: "/cost-visibility/overview";
|
|
@@ -91,7 +90,6 @@ export declare const URLS: {
|
|
|
91
90
|
readonly SECURITY_CENTER_POLICIES: "/security-center/policies";
|
|
92
91
|
readonly AUTOMATION_AND_ENABLEMENT: "/automation-and-enablement";
|
|
93
92
|
readonly AUTOMATION_AND_ENABLEMENT_JOB: "/automation-and-enablement/job";
|
|
94
|
-
readonly AUTOMATION_ENABLEMENT_RUNBOOKS: "/automation-and-enablement/runbooks";
|
|
95
93
|
readonly DATA_PROTECTION: "/data-protection-management";
|
|
96
94
|
readonly DATA_PROTECTION_OVERVIEW: "/data-protection-management/overview";
|
|
97
95
|
readonly DATA_PROTECTION_BACKUP_AND_SCHEDULE: `/data-protection-management/backup-and-schedule/:view(${string})`;
|
|
@@ -104,6 +102,8 @@ export declare const URLS: {
|
|
|
104
102
|
readonly GLOBAL_CONFIG_DOCKER: "/global-configuration/docker";
|
|
105
103
|
readonly GLOBAL_CONFIG_EDIT_CLUSTER: "/global-configuration/cluster-env/edit/:clusterId";
|
|
106
104
|
readonly PERMISSION_GROUPS: "/global-configuration/auth/groups";
|
|
105
|
+
readonly AI_RECOMMENDATIONS: "/ai-recommendations";
|
|
106
|
+
readonly AI_RECOMMENDATIONS_OVERVIEW: "/ai-recommendations/overview";
|
|
107
107
|
readonly EXTERNAL_APPS: "ea";
|
|
108
108
|
};
|
|
109
109
|
export declare const ROUTES: {
|
|
@@ -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: <T extends string | number>({ segment, isSelected, name, onChange, fullWidth, size, disabled, }: SegmentProps<T>) => JSX.Element;
|
|
3
3
|
export default Segment;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SegmentedControlProps } from './types';
|
|
2
|
-
declare const SegmentedControl: ({ segments, onChange, name, size, value: controlledValue, fullWidth, disabled, }: SegmentedControlProps) => JSX.Element;
|
|
2
|
+
declare const SegmentedControl: <T extends string | number>({ segments, onChange, name, size, value: controlledValue, fullWidth, disabled, }: SegmentedControlProps<T>) => JSX.Element;
|
|
3
3
|
export default SegmentedControl;
|
|
@@ -2,7 +2,7 @@ import { TooltipProps } from '../Tooltip';
|
|
|
2
2
|
import { IconsProps, SelectPickerOptionType } from '../../Shared/Components';
|
|
3
3
|
import { ComponentSizeType } from '../../Shared/constants';
|
|
4
4
|
type SegmentTooltipProps = Omit<TooltipProps, 'alwaysShowTippyOnHover' | 'showOnTruncate' | 'shortcutKeyCombo' | 'placement'>;
|
|
5
|
-
export type SegmentType =
|
|
5
|
+
export type SegmentType<T = string | number> = {
|
|
6
6
|
/**
|
|
7
7
|
* If true, the segment will be in error state with error icon
|
|
8
8
|
*/
|
|
@@ -11,6 +11,10 @@ export type SegmentType = Pick<SelectPickerOptionType, 'value'> & {
|
|
|
11
11
|
* If true, the segment will be in disabled state
|
|
12
12
|
*/
|
|
13
13
|
isDisabled?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Value for the segment
|
|
16
|
+
*/
|
|
17
|
+
value: T;
|
|
14
18
|
} & (({
|
|
15
19
|
/**
|
|
16
20
|
* Label for the segment
|
|
@@ -40,11 +44,11 @@ export type SegmentType = Pick<SelectPickerOptionType, 'value'> & {
|
|
|
40
44
|
*/
|
|
41
45
|
ariaLabel: string;
|
|
42
46
|
});
|
|
43
|
-
export type SegmentedControlProps = {
|
|
47
|
+
export type SegmentedControlProps<T = string | number> = {
|
|
44
48
|
/**
|
|
45
49
|
* List of segments to be displayed
|
|
46
50
|
*/
|
|
47
|
-
segments: SegmentType[];
|
|
51
|
+
segments: SegmentType<T>[];
|
|
48
52
|
/**
|
|
49
53
|
* Please make sure this is unique
|
|
50
54
|
*/
|
|
@@ -57,16 +61,16 @@ export type SegmentedControlProps = {
|
|
|
57
61
|
/**
|
|
58
62
|
* On change handler for the component
|
|
59
63
|
*/
|
|
60
|
-
onChange?: (selectedSegment: SegmentType) => void;
|
|
64
|
+
onChange?: (selectedSegment: SegmentType<T>) => void;
|
|
61
65
|
} | {
|
|
62
66
|
/**
|
|
63
67
|
* If defined, the component is controlled and onChange needs to be handled by the parent
|
|
64
68
|
*/
|
|
65
|
-
value: SegmentType['value'];
|
|
66
|
-
onChange: (selectedSegment: SegmentType) => void;
|
|
69
|
+
value: SegmentType<T>['value'];
|
|
70
|
+
onChange: (selectedSegment: SegmentType<T>) => void;
|
|
67
71
|
});
|
|
68
|
-
export interface SegmentProps extends Required<Pick<SegmentedControlProps
|
|
72
|
+
export interface SegmentProps<T> extends Required<Pick<SegmentedControlProps<T>, 'name' | 'onChange' | 'fullWidth' | 'size' | 'disabled'>> {
|
|
69
73
|
isSelected: boolean;
|
|
70
|
-
segment: SegmentType
|
|
74
|
+
segment: SegmentType<T>;
|
|
71
75
|
}
|
|
72
76
|
export {};
|
package/dist/Common/index.d.ts
CHANGED
|
@@ -37,7 +37,6 @@ export * from './Policy.Types';
|
|
|
37
37
|
export { default as PopupMenu } from './PopupMenu';
|
|
38
38
|
export * from './Progressing';
|
|
39
39
|
export { default as RadioGroup } from './RadioGroup';
|
|
40
|
-
export { default as StyledRadioGroup } from './RadioGroup/RadioGroup';
|
|
41
40
|
export { default as RadioGroupItem } from './RadioGroupItem';
|
|
42
41
|
export { default as Reload } from './Reload';
|
|
43
42
|
export * from './RJSF';
|
|
@@ -21,8 +21,8 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
|
21
21
|
className?: string;
|
|
22
22
|
defaultValue?: string | number | readonly string[];
|
|
23
23
|
id?: string;
|
|
24
|
-
color?: string;
|
|
25
24
|
role?: import('react').AriaRole;
|
|
25
|
+
color?: string;
|
|
26
26
|
about?: string;
|
|
27
27
|
is?: string;
|
|
28
28
|
security?: string;
|
|
@@ -100,7 +100,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
100
100
|
startIcon?: import('react').ReactElement;
|
|
101
101
|
endIcon?: import('react').ReactElement;
|
|
102
102
|
fontWeight?: "bold" | "normal";
|
|
103
|
-
}, "style" | "text" | "id" | "
|
|
103
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
104
104
|
ref?: import('react').Ref<HTMLButtonElement>;
|
|
105
105
|
component?: ButtonComponentType.button;
|
|
106
106
|
buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
|
|
@@ -135,7 +135,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
135
135
|
startIcon?: never;
|
|
136
136
|
endIcon?: never;
|
|
137
137
|
fontWeight?: never;
|
|
138
|
-
}, "style" | "text" | "id" | "
|
|
138
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
139
139
|
ref?: import('react').Ref<HTMLButtonElement>;
|
|
140
140
|
component?: ButtonComponentType.button;
|
|
141
141
|
buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
|
|
@@ -164,7 +164,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
164
164
|
startIcon?: import('react').ReactElement;
|
|
165
165
|
endIcon?: import('react').ReactElement;
|
|
166
166
|
fontWeight?: "bold" | "normal";
|
|
167
|
-
}, "style" | "text" | "id" | "
|
|
167
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
168
168
|
ref?: import('react').Ref<HTMLButtonElement>;
|
|
169
169
|
component?: ButtonComponentType.button;
|
|
170
170
|
buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
|
|
@@ -193,7 +193,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
193
193
|
startIcon?: never;
|
|
194
194
|
endIcon?: never;
|
|
195
195
|
fontWeight?: never;
|
|
196
|
-
}, "style" | "text" | "id" | "
|
|
196
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
197
197
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
198
198
|
component: ButtonComponentType.link;
|
|
199
199
|
linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
|
|
@@ -228,7 +228,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
228
228
|
startIcon?: import('react').ReactElement;
|
|
229
229
|
endIcon?: import('react').ReactElement;
|
|
230
230
|
fontWeight?: "bold" | "normal";
|
|
231
|
-
}, "style" | "text" | "id" | "
|
|
231
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
232
232
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
233
233
|
component: ButtonComponentType.link;
|
|
234
234
|
linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
|
|
@@ -263,7 +263,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
263
263
|
startIcon?: never;
|
|
264
264
|
endIcon?: never;
|
|
265
265
|
fontWeight?: never;
|
|
266
|
-
}, "style" | "text" | "id" | "
|
|
266
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
267
267
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
268
268
|
component: ButtonComponentType.link;
|
|
269
269
|
linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
|
|
@@ -292,7 +292,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
292
292
|
startIcon?: import('react').ReactElement;
|
|
293
293
|
endIcon?: import('react').ReactElement;
|
|
294
294
|
fontWeight?: "bold" | "normal";
|
|
295
|
-
}, "style" | "text" | "id" | "
|
|
295
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
296
296
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
297
297
|
component: ButtonComponentType.link;
|
|
298
298
|
linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
|
|
@@ -321,7 +321,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
321
321
|
startIcon?: never;
|
|
322
322
|
endIcon?: never;
|
|
323
323
|
fontWeight?: never;
|
|
324
|
-
}, "style" | "text" | "id" | "
|
|
324
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
325
325
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
326
326
|
component: ButtonComponentType.anchor;
|
|
327
327
|
linkProps?: never;
|
|
@@ -356,7 +356,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
356
356
|
startIcon?: import('react').ReactElement;
|
|
357
357
|
endIcon?: import('react').ReactElement;
|
|
358
358
|
fontWeight?: "bold" | "normal";
|
|
359
|
-
}, "style" | "text" | "id" | "
|
|
359
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
360
360
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
361
361
|
component: ButtonComponentType.anchor;
|
|
362
362
|
linkProps?: never;
|
|
@@ -391,7 +391,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
391
391
|
startIcon?: never;
|
|
392
392
|
endIcon?: never;
|
|
393
393
|
fontWeight?: never;
|
|
394
|
-
}, "style" | "text" | "id" | "
|
|
394
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
395
395
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
396
396
|
component: ButtonComponentType.anchor;
|
|
397
397
|
linkProps?: never;
|
|
@@ -420,7 +420,7 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
420
420
|
startIcon?: import('react').ReactElement;
|
|
421
421
|
endIcon?: import('react').ReactElement;
|
|
422
422
|
fontWeight?: "bold" | "normal";
|
|
423
|
-
}, "style" | "text" | "id" | "
|
|
423
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
|
|
424
424
|
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
425
425
|
component: ButtonComponentType.anchor;
|
|
426
426
|
linkProps?: never;
|
|
@@ -449,5 +449,5 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
|
|
|
449
449
|
startIcon?: never;
|
|
450
450
|
endIcon?: never;
|
|
451
451
|
fontWeight?: never;
|
|
452
|
-
}, "style" | "text" | "id" | "
|
|
452
|
+
}, "style" | "text" | "id" | "disabled" | "size" | "tooltipProps" | "dataTestId" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy">) & import('react').RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
453
453
|
export default Button;
|
|
@@ -86,8 +86,6 @@ import { ChartProps } from './types';
|
|
|
86
86
|
* @param type - Chart type: 'area', 'pie', 'semiPie', 'stackedBar', 'stackedBarHorizontal', or 'line'
|
|
87
87
|
* @param xAxisLabels - Array of labels for the x-axis (or categories for pie/semi-pie charts)
|
|
88
88
|
* @param datasets - Chart data: array of datasets for most charts, single dataset object for pie/semi-pie charts
|
|
89
|
-
* @param xAxisConfig
|
|
90
|
-
* @param yAxisConfig
|
|
91
89
|
*
|
|
92
90
|
* @performance
|
|
93
91
|
* **Memoization Recommendations:**
|
|
@@ -35,16 +35,6 @@ export interface CenterTextConfig {
|
|
|
35
35
|
color?: string;
|
|
36
36
|
fontFamily?: string;
|
|
37
37
|
}
|
|
38
|
-
export interface AxisConfig {
|
|
39
|
-
title?: string;
|
|
40
|
-
unit?: string;
|
|
41
|
-
unitPosition?: 'prefix' | 'suffix';
|
|
42
|
-
labelFormatter?: (value: number | string, index: number) => string | string[] | number | number[];
|
|
43
|
-
hide?: boolean;
|
|
44
|
-
max?: number;
|
|
45
|
-
min?: number;
|
|
46
|
-
stepSize?: number;
|
|
47
|
-
}
|
|
48
38
|
type XYAxisMax = {
|
|
49
39
|
xAxisMax?: number;
|
|
50
40
|
yAxisMax?: number;
|
|
@@ -52,8 +42,6 @@ type XYAxisMax = {
|
|
|
52
42
|
* Optional reference lines to draw across the chart
|
|
53
43
|
*/
|
|
54
44
|
referenceLines?: ReferenceLineConfigType[];
|
|
55
|
-
xAxisConfig?: AxisConfig;
|
|
56
|
-
yAxisConfig?: AxisConfig;
|
|
57
45
|
};
|
|
58
46
|
type OnChartClickHandler = (datasetName: string, value: number) => void;
|
|
59
47
|
type ScaleTickFormatCallbacks = Partial<{
|
|
@@ -105,7 +93,9 @@ export type ChartProps = {
|
|
|
105
93
|
placement?: TooltipProps['placement'];
|
|
106
94
|
datasetValueFormatter?: (value: number) => string | number;
|
|
107
95
|
};
|
|
96
|
+
/** A title for x axis */
|
|
108
97
|
xScaleTitle?: string;
|
|
98
|
+
/** A title for y axis */
|
|
109
99
|
yScaleTitle?: string;
|
|
110
100
|
} & TypeAndDatasetsType;
|
|
111
101
|
export type TransformDatasetProps = {
|
|
@@ -90,7 +90,6 @@ export declare const DOCUMENTATION: {
|
|
|
90
90
|
readonly GLOBAL_CONFIG_SSO_LOGIN_MICROSOFT: "global-configurations/authorization/sso-login/microsoft";
|
|
91
91
|
readonly GLOBAL_CONFIG_PULL_IMAGE_DIGEST: "global-configurations/pull-image-digest";
|
|
92
92
|
readonly GLOBAL_CONFIG_TAGS: "getting-started/global-configurations/tags-policy";
|
|
93
|
-
readonly SAMPLE_RUNBOOK_LINK: "https://docs.devtron.ai/user-guide/ai-recommendations/runbook#add-runbook-spec";
|
|
94
93
|
readonly SOFTWARE_DISTRIBUTION_HUB: "usage/software-distribution-hub";
|
|
95
94
|
readonly RELEASE_TRACKS: "usage/software-distribution-hub/release-hub#creating-release-tracks-and-versions";
|
|
96
95
|
readonly RELEASES: "usage/software-distribution-hub/release-hub#creating-release-tracks-and-versions";
|
|
@@ -3,4 +3,3 @@ export declare const COMMON_HELP_ACTION_MENU_ITEMS: HelpButtonActionMenuProps['o
|
|
|
3
3
|
export declare const OSS_HELP_ACTION_MENU_ITEMS: HelpButtonActionMenuProps['options'][number]['items'];
|
|
4
4
|
export declare const ENTERPRISE_TRIAL_HELP_ACTION_MENU_ITEMS: HelpButtonActionMenuProps['options'][number]['items'];
|
|
5
5
|
export declare const ENTERPRISE_HELP_ACTION_MENU_ITEMS: HelpButtonActionMenuProps['options'][number]['items'];
|
|
6
|
-
export declare const NOTIFICATIONS_TEMP_WINDOW_TITLE = "Notifications";
|
|
@@ -18,7 +18,6 @@ export declare const iconMap: {
|
|
|
18
18
|
'ic-arrow-line-down': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
19
19
|
'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
20
20
|
'ic-arrow-square-out': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
21
|
-
'ic-arrow-white': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
22
21
|
'ic-arrows-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
23
22
|
'ic-arrows-left-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
24
23
|
'ic-asterisk': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -31,7 +30,6 @@ export declare const iconMap: {
|
|
|
31
30
|
'ic-backup-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
32
31
|
'ic-backup-location': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
33
32
|
'ic-backup-schedule-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
34
|
-
'ic-bell': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
35
33
|
'ic-bg-backup-schedule': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
36
34
|
'ic-bg-backups': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
37
35
|
'ic-bg-build': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -50,7 +48,6 @@ export declare const iconMap: {
|
|
|
50
48
|
'ic-bg-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
51
49
|
'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
52
50
|
'ic-bitbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
53
|
-
'ic-book-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
54
51
|
'ic-book-open': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
55
52
|
'ic-bot': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
56
53
|
'ic-brain': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -58,7 +55,6 @@ export declare const iconMap: {
|
|
|
58
55
|
'ic-bug': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
59
56
|
'ic-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
60
57
|
'ic-building': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
61
|
-
'ic-bulb': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
62
58
|
'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
63
59
|
'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
64
60
|
'ic-card-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -71,20 +67,16 @@ export declare const iconMap: {
|
|
|
71
67
|
'ic-chat-circle-online': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
72
68
|
'ic-check-all': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
73
69
|
'ic-check-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
74
|
-
'ic-check-green': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
75
70
|
'ic-check-square': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
76
71
|
'ic-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
77
72
|
'ic-checks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
78
73
|
'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
79
74
|
'ic-circle-loader': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
80
|
-
'ic-circle-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
81
75
|
'ic-circle-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
82
76
|
'ic-clean-brush': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
83
77
|
'ic-clipboard': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
84
78
|
'ic-clock-counterclockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
85
79
|
'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
86
|
-
'ic-close-circle-red': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
87
|
-
'ic-close-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
88
80
|
'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
89
81
|
'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
90
82
|
'ic-cloud-upload': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -94,7 +86,6 @@ export declare const iconMap: {
|
|
|
94
86
|
'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
95
87
|
'ic-coins-color-animated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
96
88
|
'ic-coins': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
97
|
-
'ic-confirm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
98
89
|
'ic-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
99
90
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
100
91
|
'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -122,7 +113,6 @@ export declare const iconMap: {
|
|
|
122
113
|
'ic-disconnect': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
123
114
|
'ic-discord-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
124
115
|
'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
125
|
-
'ic-dot-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
126
116
|
'ic-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
127
117
|
'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
128
118
|
'ic-edit-lines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -136,7 +126,6 @@ export declare const iconMap: {
|
|
|
136
126
|
'ic-error': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
137
127
|
'ic-expand-right-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
138
128
|
'ic-expand-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
139
|
-
'ic-failure-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
140
129
|
'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
141
130
|
'ic-fast-forward': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
142
131
|
'ic-file-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -184,7 +173,6 @@ export declare const iconMap: {
|
|
|
184
173
|
'ic-hibernate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
185
174
|
'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
186
175
|
'ic-info-filled-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
187
|
-
'ic-info-filled-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
188
176
|
'ic-info-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
189
177
|
'ic-info-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
190
178
|
'ic-infrastructure-management': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -202,7 +190,6 @@ export declare const iconMap: {
|
|
|
202
190
|
'ic-lego': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
203
191
|
'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
204
192
|
'ic-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
205
|
-
'ic-line': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
206
193
|
'ic-link': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
207
194
|
'ic-linked-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
208
195
|
'ic-list-bullets': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -225,7 +212,6 @@ export declare const iconMap: {
|
|
|
225
212
|
'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
226
213
|
'ic-more-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
227
214
|
'ic-namespace': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
228
|
-
'ic-new-chat': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
229
215
|
'ic-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
230
216
|
'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
231
217
|
'ic-oidc': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -242,18 +228,12 @@ export declare const iconMap: {
|
|
|
242
228
|
'ic-path': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
243
229
|
'ic-pause-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
244
230
|
'ic-pause': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
245
|
-
'ic-pencil-white': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
246
231
|
'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
247
|
-
'ic-piggybank': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
248
232
|
'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
249
|
-
'ic-priority-high-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
250
|
-
'ic-priority-low-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
251
233
|
'ic-priority-medium-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
252
|
-
'ic-priority-urgent-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
253
234
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
254
235
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
255
236
|
'ic-ratings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
256
|
-
'ic-red-bulb': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
257
237
|
'ic-release-hub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
258
238
|
'ic-resize-handle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
259
239
|
'ic-resource-browser': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -277,7 +257,6 @@ export declare const iconMap: {
|
|
|
277
257
|
'ic-sparkle-ai-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
278
258
|
'ic-sparkle-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
279
259
|
'ic-speedometer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
280
|
-
'ic-spider': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
281
260
|
'ic-spinny': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
282
261
|
'ic-spray-can': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
283
262
|
'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -306,8 +285,6 @@ export declare const iconMap: {
|
|
|
306
285
|
'ic-thumb-down': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
307
286
|
'ic-thumb-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
308
287
|
'ic-timeout-dash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
309
|
-
'ic-timer-green': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
310
|
-
'ic-timer-red': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
311
288
|
'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
312
289
|
'ic-traffic-signal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
313
290
|
'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -16,10 +16,10 @@ export declare const getSwitchToWebhookPayload: (changeCIPayload: ChangeCIPayloa
|
|
|
16
16
|
export declare const getCurrentPipelineType: ({ workflows, changeCIPayload, }: Required<Pick<WorkflowOptionsModalProps, "workflows" | "changeCIPayload">>) => SourceTypeCardProps["type"];
|
|
17
17
|
export declare const getBuildWorkflowCardsConfig: ({ currentPipelineType, changeCIPayload, isAppGroup, }: {
|
|
18
18
|
currentPipelineType: CIPipelineNodeType | WorkflowNodeType.WEBHOOK;
|
|
19
|
-
} & Required<Pick<WorkflowOptionsModalProps, "changeCIPayload" | "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "
|
|
19
|
+
} & Required<Pick<WorkflowOptionsModalProps, "changeCIPayload" | "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "disabled" | "dataTestId" | "type" | "subtitle" | "icons">[];
|
|
20
20
|
export declare const getReceiveWorkflowCardsConfig: ({ currentPipelineType, linkedCDSourceVariant, isAppGroup, }: {
|
|
21
21
|
currentPipelineType: CIPipelineNodeType | WorkflowNodeType.WEBHOOK;
|
|
22
|
-
} & Required<Pick<WorkflowOptionsModalProps, "linkedCDSourceVariant" | "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "
|
|
22
|
+
} & Required<Pick<WorkflowOptionsModalProps, "linkedCDSourceVariant" | "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "disabled" | "dataTestId" | "type" | "subtitle" | "icons">[];
|
|
23
23
|
export declare const getJobWorkflowCardsConfig: ({ currentPipelineType, isAppGroup, }: {
|
|
24
24
|
currentPipelineType: CIPipelineNodeType | WorkflowNodeType.WEBHOOK;
|
|
25
|
-
} & Required<Pick<WorkflowOptionsModalProps, "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "
|
|
25
|
+
} & Required<Pick<WorkflowOptionsModalProps, "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "disabled" | "dataTestId" | "type" | "subtitle" | "icons">[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { USER_PREFERENCES_ATTRIBUTE_KEY } from './constants';
|
|
2
2
|
import { AppThemeType, ThemeConfigType, ThemePreferenceType } from '../../Providers/ThemeProvider/types';
|
|
3
3
|
import { ResourceKindType } from '../../types';
|
|
4
|
-
export type NavigationItemID = 'application-management-overview' | 'application-management-devtron-applications' | 'application-management-application-groups' | 'application-management-bulk-edit' | 'application-management-application-templates' | 'application-management-projects' | 'application-management-configurations' | 'application-management-policies' | 'infrastructure-management-overview' | 'infrastructure-management-applications' | 'infrastructure-management-chart-store' | 'infrastructure-management-resource-browser' | 'infrastructure-management-resource-watcher' | 'infrastructure-management-catalog-framework' | '
|
|
5
|
-
export type NavigationSubMenuItemID = 'application-management-configurations-gitops' | 'application-management-configurations-git-accounts' | 'application-management-configurations-external-links' | 'application-management-configurations-chart-repository' | 'application-management-configurations-deployment-charts' | 'application-management-configurations-notifications' | 'application-management-configurations-
|
|
4
|
+
export type NavigationItemID = 'application-management-overview' | 'application-management-devtron-applications' | 'application-management-application-groups' | 'application-management-bulk-edit' | 'application-management-application-templates' | 'application-management-projects' | 'application-management-configurations' | 'application-management-policies' | 'infrastructure-management-overview' | 'infrastructure-management-applications' | 'infrastructure-management-chart-store' | 'infrastructure-management-resource-browser' | 'infrastructure-management-resource-watcher' | 'infrastructure-management-catalog-framework' | 'software-release-management-overview' | 'software-release-management-release-hub' | 'software-release-management-tenants' | 'cost-visibility-overview' | 'cost-visibility-cost-breakdown' | 'cost-visibility-configurations' | 'security-center-overview' | 'security-center-security-scans' | 'security-center-security-policy' | 'automation-and-enablement-jobs' | 'automation-and-enablement-alerting' | 'automation-and-enablement-incident-response' | 'automation-and-enablement-api-portal' | 'automation-and-enablement-runbook-automation' | 'global-configuration-sso-login-services' | 'global-configuration-host-urls' | 'global-configuration-cluster-and-environments' | 'global-configuration-container-oci-registry' | 'global-configuration-authorization' | 'data-protection-overview' | 'data-protection-backup-and-schedule' | 'data-protection-restores' | 'data-protection-backup-repositories' | 'data-protection-backup-locations' | 'data-protection-history-and-logs' | 'ai-recommendations-overview';
|
|
5
|
+
export type NavigationSubMenuItemID = 'application-management-configurations-gitops' | 'application-management-configurations-git-accounts' | 'application-management-configurations-external-links' | 'application-management-configurations-chart-repository' | 'application-management-configurations-deployment-charts' | 'application-management-configurations-notifications' | 'application-management-configurations-catalog-frameworks' | 'application-management-configurations-scoped-variables' | 'application-management-configurations-build-infra' | 'application-management-policies-deployment-window' | 'application-management-policies-approval-policy' | 'application-management-policies-plugin-policy' | 'application-management-policies-pull-image-digest' | 'application-management-policies-tag-policy' | 'application-management-policies-filter-conditions' | 'application-management-policies-image-promotion' | 'application-management-policies-lock-deployment-configuration' | 'cost-visibility-cost-breakdown-clusters' | 'cost-visibility-cost-breakdown-environments' | 'cost-visibility-cost-breakdown-projects' | 'cost-visibility-cost-breakdown-applications' | 'global-configuration-authorization-user-permissions' | 'global-configuration-authorization-permission-groups' | 'global-configuration-authorization-api-tokens';
|
|
6
6
|
export interface GetUserPreferencesQueryParamsType {
|
|
7
7
|
key: typeof USER_PREFERENCES_ATTRIBUTE_KEY;
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dispatch,
|
|
1
|
+
import { Dispatch, MutableRefObject, ReactNode, SetStateAction } from 'react';
|
|
2
2
|
import { SERVER_MODE } from '../../../Common';
|
|
3
3
|
import { DevtronLicenseInfo, EnvironmentDataValuesDTO, IntelligenceConfig, LicenseInfoDialogType, ToastManager } from '../..';
|
|
4
4
|
import { ServerInfo } from '../../Components/Header/types';
|
|
@@ -22,7 +22,6 @@ export interface SidePanelConfig {
|
|
|
22
22
|
/** URL to documentation that should be displayed in the panel */
|
|
23
23
|
docLink: string | null;
|
|
24
24
|
aiSessionId?: string;
|
|
25
|
-
isExpandedView?: boolean;
|
|
26
25
|
}
|
|
27
26
|
type AIAgentContextType = {
|
|
28
27
|
path: string;
|
|
@@ -116,7 +115,6 @@ export type MainContext = CommonMainContextProps & ({
|
|
|
116
115
|
aiAgentContext: AIAgentContextType;
|
|
117
116
|
tempAppWindowConfig: TempAppWindowConfig;
|
|
118
117
|
setTempAppWindowConfig: Dispatch<SetStateAction<TempAppWindowConfig>>;
|
|
119
|
-
AIRecommendations?: FunctionComponent;
|
|
120
118
|
} | {
|
|
121
119
|
isLicenseDashboard: true;
|
|
122
120
|
serverMode: null;
|
|
@@ -134,7 +132,6 @@ export type MainContext = CommonMainContextProps & ({
|
|
|
134
132
|
aiAgentContext: null;
|
|
135
133
|
tempAppWindowConfig: null;
|
|
136
134
|
setTempAppWindowConfig: null;
|
|
137
|
-
AIRecommendations?: null;
|
|
138
135
|
});
|
|
139
136
|
export interface MainContextProviderProps {
|
|
140
137
|
children: ReactNode;
|