@devtron-labs/devtron-fe-common-lib 1.12.0-beta-10 → 1.12.0-gatekeeper-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/{@common-rjsf-DEJF-ChY.js → @common-rjsf-BRJCn9w_.js} +8668 -8874
- package/dist/{@framer-motion-Hh5HoZEj.js → @framer-motion-CR14HVwJ.js} +1 -1
- package/dist/{@react-dates-RAg1eRYJ.js → @react-dates-z_WnuIha.js} +1 -1
- package/dist/{@react-select-Cyc43HrK.js → @react-select-C1KOG39W.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-Cby7tsJ8.js → @react-virtualized-sticky-tree-DE3LznCK.js} +1 -1
- package/dist/{@vendor-BZpoz8Ez.js → @vendor-0Z6AwxJy.js} +10561 -10561
- package/dist/Common/Checkbox/Checkbox.d.ts +2 -0
- package/dist/Common/Checkbox/index.d.ts +1 -0
- package/dist/Common/Constants.d.ts +1 -2
- package/dist/Common/Helper.d.ts +1 -4
- package/dist/Common/Toggle/Toggle.d.ts +1 -4
- package/dist/Common/Types.d.ts +1 -1
- package/dist/Common/index.d.ts +3 -2
- package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/constants.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/index.d.ts +1 -0
- package/dist/Shared/Components/CICDHistory/types.d.ts +6 -0
- package/dist/Shared/Components/Error/ErrorBar.d.ts +1 -1
- package/dist/Shared/Components/Error/types.d.ts +0 -4
- package/dist/Shared/Components/Error/utils.d.ts +0 -1
- package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
- package/dist/Shared/Components/Icon/Icon.d.ts +18 -1
- package/dist/Shared/Components/Icon/types.d.ts +1 -1
- package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
- package/dist/Shared/Components/License/index.d.ts +1 -1
- package/dist/Shared/Components/License/utils.d.ts +2 -1
- package/dist/Shared/Components/index.d.ts +0 -1
- package/dist/Shared/constants.d.ts +1 -2
- package/dist/Shared/types.d.ts +0 -5
- package/dist/assets/@common-rjsf.css +1 -1
- package/dist/assets/ic-amazon-eks.13404569.svg +5 -0
- package/dist/assets/ic-arrow-square-out.59bb549a.svg +3 -0
- package/dist/assets/ic-azure-aks.a9e437d5.svg +46 -0
- package/dist/assets/ic-bulk-check.0f698efa.svg +21 -0
- package/dist/assets/ic-bulk-check.99e92f7a.svg +21 -0
- package/dist/assets/ic-caret-down-small.7c4f88bf.svg +3 -0
- package/dist/assets/ic-caret-right.0ff813c2.svg +3 -0
- package/dist/assets/ic-checkbox-hover.0151d832.svg +20 -0
- package/dist/assets/ic-checkbox-hover.93e8d66a.svg +20 -0
- package/dist/assets/ic-checkbox-intermediate.24c6d21d.svg +22 -0
- package/dist/assets/ic-checkbox-intermediate.2a2d6c49.svg +22 -0
- package/dist/assets/ic-checkbox-selected.47444fab.svg +20 -0
- package/dist/assets/ic-checkbox-selected.c5539d6f.svg +20 -0
- package/dist/assets/ic-checkbox-unselected.8054e3d7.svg +19 -0
- package/dist/assets/ic-checkbox-unselected.ab91cdba.svg +19 -0
- package/dist/assets/ic-cloud-vms.27ea954e.svg +5 -0
- package/dist/assets/ic-expand-right-sm.9b347d49.svg +3 -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-install.28c3beec.svg +3 -0
- package/dist/assets/ic-k3s.7f4bf72d.svg +3 -0
- package/dist/assets/ic-kind.bd8ee992.svg +9 -0
- package/dist/assets/ic-laptop.485e21b4.svg +3 -0
- package/dist/assets/ic-minikube.d9ff1575.svg +9 -0
- package/dist/assets/ic-mobile.7c649251.svg +4 -0
- package/dist/assets/ic-ubuntu.fa47508f.svg +4 -0
- package/dist/assets/ic-user-circle.7d7152fa.svg +3 -0
- package/dist/assets/ic-wifi-slash.d0390749.svg +3 -0
- package/dist/index.js +838 -841
- package/package.json +1 -1
- package/dist/Common/Checkbox.d.ts +0 -5
- package/dist/Common/Drawer/index.d.ts +0 -1
- package/dist/Common/EmptyState/index.d.ts +0 -2
- package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +0 -2
- package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +0 -3
- package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +0 -3
- package/dist/Shared/Components/AppStatusModal/constants.d.ts +0 -4
- package/dist/Shared/Components/AppStatusModal/index.d.ts +0 -2
- package/dist/Shared/Components/AppStatusModal/service.d.ts +0 -3
- package/dist/Shared/Components/AppStatusModal/types.d.ts +0 -38
- package/dist/Shared/Components/AppStatusModal/utils.d.ts +0 -5
- package/dist/assets/ic-expand-sm.a9a724f8.svg +0 -3
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Checkbox';
|
@@ -13,7 +13,6 @@ export declare const DOCUMENTATION: {
|
|
13
13
|
GLOBAL_CONFIG_BUILD_INFRA: string;
|
14
14
|
ENTERPRISE_LICENSE: string;
|
15
15
|
KUBE_CONFIG: string;
|
16
|
-
TENANT_INSTALLATION: string;
|
17
16
|
};
|
18
17
|
export declare const PATTERNS: {
|
19
18
|
STRING: RegExp;
|
@@ -65,6 +64,7 @@ export declare const URLS: {
|
|
65
64
|
readonly COMPARE_CLUSTERS: "/compare-clusters";
|
66
65
|
readonly APP_CONFIG: "edit";
|
67
66
|
readonly GLOBAL_CONFIG: "/global-config";
|
67
|
+
readonly CONFIG_DRIFT: "config-drift";
|
68
68
|
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP: "/global-config/templates/devtron-apps";
|
69
69
|
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_CREATE: "/global-config/templates/devtron-apps/create";
|
70
70
|
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_DETAIL: "/global-config/templates/devtron-apps/detail/:appId";
|
@@ -111,7 +111,6 @@ export declare const ROUTES: {
|
|
111
111
|
readonly ATTRIBUTES_CREATE: "attributes/create";
|
112
112
|
readonly ATTRIBUTES_UPDATE: "attributes/update";
|
113
113
|
readonly APP_LIST_MIN: "app/min";
|
114
|
-
readonly APP_DETAIL: "app/detail";
|
115
114
|
readonly CLUSTER_LIST_MIN: "cluster/autocomplete";
|
116
115
|
readonly CLUSTER_LIST_RAW: "k8s/capacity/cluster/list/raw";
|
117
116
|
readonly PLUGIN_GLOBAL_LIST_DETAIL_V2: "plugin/global/list/detail/v2";
|
package/dist/Common/Helper.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { default as React, SyntheticEvent } from 'react';
|
2
2
|
import { JSONPathOptions } from 'jsonpath-plus';
|
3
3
|
import { AsyncOptions, DeploymentNodeType, UseSearchString } from './Types';
|
4
|
-
import { scrollableInterface
|
4
|
+
import { scrollableInterface } from '../Shared';
|
5
5
|
import * as Sentry from '@sentry/browser';
|
6
6
|
export declare function showError(serverError: any, showToastOnUnknownError?: boolean, hideAccessError?: boolean): void;
|
7
7
|
interface ConditionalWrapper<T> {
|
@@ -95,10 +95,8 @@ export declare const flatMapOfJSONPaths: (paths: string[], json: object, resultT
|
|
95
95
|
export declare const applyCompareDiffOnUneditedDocument: (uneditedDocument: object, editedDocument: object) => any;
|
96
96
|
/**
|
97
97
|
* Returns a debounced variant of the function
|
98
|
-
* @deprecated - It should use useRef instead, pls use useDebounce
|
99
98
|
*/
|
100
99
|
export declare const debounce: (func: any, timeout?: number) => (this: any, ...args: any[]) => void;
|
101
|
-
export declare const useDebounce: <Callback extends (...args: any[]) => void>(cb: Callback, delay: number) => (...args: Parameters<Callback>) => void;
|
102
100
|
/**
|
103
101
|
* Returns a capitalized string with first letter in uppercase and rest in lowercase
|
104
102
|
*/
|
@@ -146,5 +144,4 @@ export declare const getGoLangFormattedDateWithTimezone: (dateFormat: string) =>
|
|
146
144
|
*/
|
147
145
|
export declare const getHashedValue: (value: string) => Promise<string | null>;
|
148
146
|
export declare const getTTLInHumanReadableFormat: (ttl: number) => string;
|
149
|
-
export declare const getAIAnalyticsEvents: (context: string, appType?: AppType) => string;
|
150
147
|
export {};
|
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
declare const Toggle: ({ selected, onSelect, color, rootClassName, disabled, dataTestId, Icon, iconClass, throttleOnChange, shouldToggleValueOnLabelClick, isLoading, value, isControlled, ...props }: {
|
1
|
+
declare const Toggle: ({ selected, onSelect, color, rootClassName, disabled, dataTestId, Icon, iconClass, throttleOnChange, shouldToggleValueOnLabelClick, isLoading, ...props }: {
|
3
2
|
[x: string]: any;
|
4
3
|
selected?: boolean;
|
5
4
|
onSelect?: any;
|
@@ -12,7 +11,5 @@ declare const Toggle: ({ selected, onSelect, color, rootClassName, disabled, dat
|
|
12
11
|
throttleOnChange?: boolean;
|
13
12
|
shouldToggleValueOnLabelClick?: boolean;
|
14
13
|
isLoading?: boolean;
|
15
|
-
value?: CHECKBOX_VALUE;
|
16
|
-
isControlled?: boolean;
|
17
14
|
}) => JSX.Element;
|
18
15
|
export default Toggle;
|
package/dist/Common/Types.d.ts
CHANGED
@@ -75,6 +75,7 @@ export interface CheckboxProps {
|
|
75
75
|
onClick?: (event: any) => void;
|
76
76
|
id?: string;
|
77
77
|
dataTestId?: string;
|
78
|
+
children?: ReactNode;
|
78
79
|
}
|
79
80
|
export interface TippyCustomizedProps extends Pick<TippyProps, 'appendTo'> {
|
80
81
|
theme: TippyTheme;
|
@@ -110,7 +111,6 @@ export interface InfoIconTippyProps extends Pick<TippyCustomizedProps, 'heading'
|
|
110
111
|
dataTestid?: string;
|
111
112
|
children?: TippyCustomizedProps['children'];
|
112
113
|
iconClassName?: string;
|
113
|
-
buttonPadding?: string;
|
114
114
|
}
|
115
115
|
export interface GenericEmptyStateType {
|
116
116
|
title: ReactNode;
|
package/dist/Common/index.d.ts
CHANGED
@@ -15,8 +15,9 @@ export { default as DevtronCopyright } from './DevtronCopyright';
|
|
15
15
|
export * from './DevtronProgressing';
|
16
16
|
export * from './Dialogs';
|
17
17
|
export * from './DraggableWrapper';
|
18
|
-
export * from './Drawer';
|
19
|
-
export
|
18
|
+
export * from './Drawer/Drawer';
|
19
|
+
export { default as GenericEmptyState } from './EmptyState/GenericEmptyState';
|
20
|
+
export { default as GenericFilterEmptyState } from './EmptyState/GenericFilterEmptyState';
|
20
21
|
export { default as ErrorScreenManager } from './ErrorScreenManager';
|
21
22
|
export { default as ErrorScreenNotAuthorized } from './ErrorScreenNotAuthorized';
|
22
23
|
export * from './GenericDescription';
|
@@ -84,4 +84,3 @@ export declare const PROGRESSING_STATUS: {
|
|
84
84
|
readonly [x: string]: "progressing" | "starting" | "initiating" | "queued" | "running";
|
85
85
|
};
|
86
86
|
export declare const FAILED_WORKFLOW_STAGE_STATUS_MAP: Record<Extract<WorkflowStageStatusType, WorkflowStageStatusType.ABORTED | WorkflowStageStatusType.FAILED | WorkflowStageStatusType.TIMEOUT>, true>;
|
87
|
-
export declare const APP_HEALTH_DROP_DOWN_LIST: string[];
|
@@ -508,6 +508,12 @@ export interface DeploymentHistorySidebarType {
|
|
508
508
|
deploymentHistoryList: DeploymentTemplateList[];
|
509
509
|
setDeploymentHistoryList: React.Dispatch<React.SetStateAction<DeploymentTemplateList[]>>;
|
510
510
|
}
|
511
|
+
export interface AppStatusDetailsChartType {
|
512
|
+
filterRemoveHealth?: boolean;
|
513
|
+
showFooter: boolean;
|
514
|
+
showConfigDriftInfo?: boolean;
|
515
|
+
onClose?: () => void;
|
516
|
+
}
|
511
517
|
export interface StatusFilterButtonType {
|
512
518
|
nodes: Array<Node>;
|
513
519
|
selectedTab: string;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { AnimatePresence } from 'framer-motion';
|
1
|
+
import { AnimatePresence, motion } from 'framer-motion';
|
2
2
|
export * from './MotionDiv';
|
3
|
-
export { AnimatePresence };
|
3
|
+
export { AnimatePresence, motion };
|
@@ -3,12 +3,15 @@ export declare const iconMap: {
|
|
3
3
|
'ic-73strings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
4
4
|
'ic-aborted': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
5
5
|
'ic-add': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
6
|
+
'ic-amazon-eks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
6
7
|
'ic-apica': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
7
8
|
'ic-app-group': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
8
9
|
'ic-arrow-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
9
10
|
'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
11
|
+
'ic-arrow-square-out': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
10
12
|
'ic-arrows-left-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
11
13
|
'ic-ather': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
14
|
+
'ic-azure-aks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
12
15
|
'ic-azure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
13
16
|
'ic-bg-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
14
17
|
'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -19,7 +22,9 @@ export declare const iconMap: {
|
|
19
22
|
'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
20
23
|
'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
21
24
|
'ic-card-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
25
|
+
'ic-caret-down-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
22
26
|
'ic-caret-left': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
27
|
+
'ic-caret-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
23
28
|
'ic-cd': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
24
29
|
'ic-chat-circle-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
25
30
|
'ic-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -30,6 +35,7 @@ export declare const iconMap: {
|
|
30
35
|
'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
31
36
|
'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
32
37
|
'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
38
|
+
'ic-cloud-vms': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
33
39
|
'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
34
40
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
35
41
|
'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -46,16 +52,18 @@ export declare const iconMap: {
|
|
46
52
|
'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
47
53
|
'ic-env': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
48
54
|
'ic-error': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
49
|
-
'ic-expand-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
55
|
+
'ic-expand-right-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
50
56
|
'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
51
57
|
'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
52
58
|
'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
53
59
|
'ic-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
60
|
+
'ic-gift-gradient': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
54
61
|
'ic-git': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
55
62
|
'ic-github': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
56
63
|
'ic-gitlab': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
57
64
|
'ic-google-artifact-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
58
65
|
'ic-google-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
66
|
+
'ic-google-gke': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
59
67
|
'ic-google': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
60
68
|
'ic-grid-view': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
61
69
|
'ic-hand-pointing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -69,9 +77,13 @@ export declare const iconMap: {
|
|
69
77
|
'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
70
78
|
'ic-info-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
71
79
|
'ic-info-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
80
|
+
'ic-install': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
72
81
|
'ic-job-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
82
|
+
'ic-k3s': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
73
83
|
'ic-k8s-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
74
84
|
'ic-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
85
|
+
'ic-kind': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
86
|
+
'ic-laptop': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
75
87
|
'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
76
88
|
'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
77
89
|
'ic-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -82,7 +94,9 @@ export declare const iconMap: {
|
|
82
94
|
'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
83
95
|
'ic-memory': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
84
96
|
'ic-microsoft': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
97
|
+
'ic-minikube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
85
98
|
'ic-missing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
99
|
+
'ic-mobile': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
86
100
|
'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
87
101
|
'ic-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
88
102
|
'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -114,10 +128,13 @@ export declare const iconMap: {
|
|
114
128
|
'ic-timeout-dash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
115
129
|
'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
116
130
|
'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
131
|
+
'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
117
132
|
'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
133
|
+
'ic-user-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
118
134
|
'ic-user-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
119
135
|
'ic-users': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
120
136
|
'ic-warning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
137
|
+
'ic-wifi-slash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
121
138
|
};
|
122
139
|
export type IconName = keyof typeof iconMap;
|
123
140
|
export interface IconsProps extends Omit<IconBaseProps, 'name' | 'iconMap'> {
|
@@ -11,7 +11,7 @@ export interface IconBaseProps {
|
|
11
11
|
* The size of the icon in pixels.
|
12
12
|
* @default 16
|
13
13
|
*/
|
14
|
-
size?: IconBaseSizeType;
|
14
|
+
size?: IconBaseSizeType | null;
|
15
15
|
/** Props to configure the tooltip when hovering over the icon. */
|
16
16
|
tooltipProps?: TooltipProps;
|
17
17
|
/**
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { InfoIconTippyProps } from '../../../Common/Types';
|
2
|
-
declare const InfoIconTippy: ({ heading, infoText, iconClass, documentationLink, documentationLinkText, additionalContent, iconClassName, placement, dataTestid, children, headingInfo,
|
2
|
+
declare const InfoIconTippy: ({ heading, infoText, iconClass, documentationLink, documentationLinkText, additionalContent, iconClassName, placement, dataTestid, children, headingInfo, }: InfoIconTippyProps) => JSX.Element;
|
3
3
|
export default InfoIconTippy;
|
@@ -2,4 +2,4 @@ export { default as ActivateLicenseDialog } from './ActivateLicenseDialog';
|
|
2
2
|
export { default as DevtronLicenseCard } from './DevtronLicenseCard';
|
3
3
|
export { ICDevtronWithBorder, default as InstallationFingerprintInfo } from './License.components';
|
4
4
|
export * from './types';
|
5
|
-
export { parseDevtronLicenseData } from './utils';
|
5
|
+
export { parseDevtronLicenseData, parseDevtronLicenseDTOIntoLicenseCardData } from './utils';
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import { DevtronLicenseDTO } from '../../types';
|
2
|
-
import { DevtronLicenseInfo, LicenseStatus } from './types';
|
2
|
+
import { DevtronLicenseCardProps, DevtronLicenseInfo, LicenseStatus } from './types';
|
3
3
|
export declare const getLicenseColorsAccordingToStatus: (licenseStatus: LicenseStatus) => {
|
4
4
|
bgColor: string;
|
5
5
|
textColor: string;
|
6
6
|
};
|
7
|
+
export declare const parseDevtronLicenseDTOIntoLicenseCardData: <isCentralDashboard extends boolean = false>(licenseDTO: DevtronLicenseDTO<isCentralDashboard>, currentUserEmail?: isCentralDashboard extends true ? string : never) => Omit<DevtronLicenseCardProps, "appTheme">;
|
7
8
|
export declare const parseDevtronLicenseData: (result: DevtronLicenseDTO) => DevtronLicenseInfo;
|
8
9
|
export declare const getGateKeeperUrl: (fingerprint: string) => string;
|
@@ -5,7 +5,6 @@ export * from './AnimatedDeployButton';
|
|
5
5
|
export * from './AnimatedTimer';
|
6
6
|
export * from './AnnouncementBanner';
|
7
7
|
export * from './APIResponseHandler';
|
8
|
-
export * from './AppStatusModal';
|
9
8
|
export * from './ArtifactInfoModal';
|
10
9
|
export * from './Backdrop';
|
11
10
|
export * from './BulkOperations';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { OptionType } from '../Common/Types';
|
2
2
|
import { CDMaterialSidebarType, ConfigKeysWithLockType, ConfigurationType } from './types';
|
3
3
|
export declare const ARTIFACT_STATUS: {
|
4
4
|
PROGRESSING: string;
|
@@ -435,4 +435,3 @@ export declare const Routes: {
|
|
435
435
|
};
|
436
436
|
export declare const ENTERPRISE_SUPPORT_LINK = "enterprise@devtron.ai";
|
437
437
|
export declare const INVALID_LICENSE_KEY = "inValid";
|
438
|
-
export declare const DEPLOYMENT_STAGE_TO_NODE_MAP: Readonly<Record<DeploymentStageType, DeploymentNodeType>>;
|
package/dist/Shared/types.d.ts
CHANGED
@@ -111,7 +111,6 @@ export interface Node {
|
|
111
111
|
canBeHibernated: boolean;
|
112
112
|
isHibernated: boolean;
|
113
113
|
hasDrift?: boolean;
|
114
|
-
status?: string;
|
115
114
|
}
|
116
115
|
export interface iNodes extends Array<iNode> {
|
117
116
|
}
|
@@ -199,10 +198,6 @@ export interface AppDetails {
|
|
199
198
|
fluxTemplateType?: string;
|
200
199
|
FluxAppStatusDetail?: FluxAppStatusDetail;
|
201
200
|
}
|
202
|
-
export interface ConfigDriftModalProps extends Required<Pick<AppDetails, 'appId'>> {
|
203
|
-
envId: number;
|
204
|
-
handleCloseModal?: () => void;
|
205
|
-
}
|
206
201
|
export declare enum RegistryType {
|
207
202
|
GIT = "git",
|
208
203
|
GITHUB = "github",
|