@devtron-labs/devtron-fe-common-lib 1.20.6-pre-37 → 1.20.6-pre-39
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-wyOLlaHm.js → @code-editor-DBuop1Nw.js} +6742 -6735
- package/dist/{@common-rjsf-BZMLxMF1.js → @common-rjsf-Mldh3D5a.js} +2 -2
- package/dist/{@framer-motion-DMkBQPN0.js → @framer-motion-BbD0XILR.js} +1 -1
- package/dist/{@react-dates-BjZWpiVv.js → @react-dates-DLCF81bK.js} +1 -1
- package/dist/{@react-select-DtwlfcIG.js → @react-select-CK9Bxd-k.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-M81Af3Qs.js → @react-virtualized-sticky-tree-J61SX97M.js} +1 -1
- package/dist/{@vendor-DceGoESd.js → @vendor-DEAetXNs.js} +63 -63
- package/dist/Common/Constants.d.ts +5 -3
- package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/utils.d.ts +6 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/index.d.ts +1 -0
- package/dist/Shared/Components/Charts/Chart.component.d.ts +25 -8
- package/dist/Shared/Components/Charts/constants.d.ts +1 -0
- package/dist/Shared/Components/Charts/index.d.ts +1 -1
- package/dist/Shared/Components/Charts/plugins.d.ts +4 -1
- package/dist/Shared/Components/Charts/types.d.ts +27 -18
- package/dist/Shared/Components/Charts/utils.d.ts +4 -44
- package/dist/Shared/Components/DocLink/constants.d.ts +0 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +4 -22
- package/dist/Shared/Components/Security/constants.d.ts +2 -0
- package/dist/Shared/Components/Security/index.d.ts +1 -0
- package/dist/Shared/Helpers.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -2
- package/dist/Shared/Providers/MainContextProvider/types.d.ts +0 -1
- package/dist/Shared/Services/common.service.d.ts +2 -1
- package/dist/Shared/Services/types.d.ts +4 -1
- package/dist/assets/ic-coins-color-animated.fe11cdc3.svg +112 -0
- package/dist/assets/ic-security-fixable.168b5bf8.svg +12 -0
- package/dist/assets/ic-security-not-fixable.be099f65.svg +12 -0
- package/dist/assets/ic-security-vulnerability.c954b87a.svg +4 -0
- package/dist/index.d.ts +0 -2
- package/dist/index.js +1016 -992
- package/package.json +1 -1
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Overview/Overview.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Overview/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/SecurityCenter/Overview/Overview.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/SecurityCenter/Overview/index.d.ts +0 -1
- package/dist/assets/ic-arrow-white.be4aea3f.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
|
@@ -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>>;
|
|
@@ -43,7 +42,6 @@ export declare const iconMap: {
|
|
|
43
42
|
'ic-bg-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
44
43
|
'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
45
44
|
'ic-bitbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
46
|
-
'ic-book-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
47
45
|
'ic-book-open': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
48
46
|
'ic-bot': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
49
47
|
'ic-brain': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -51,7 +49,6 @@ export declare const iconMap: {
|
|
|
51
49
|
'ic-bug': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
52
50
|
'ic-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
53
51
|
'ic-building': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
54
|
-
'ic-bulb': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
55
52
|
'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
56
53
|
'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
57
54
|
'ic-card-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -64,20 +61,16 @@ export declare const iconMap: {
|
|
|
64
61
|
'ic-chat-circle-online': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
65
62
|
'ic-check-all': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
66
63
|
'ic-check-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
67
|
-
'ic-check-green': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
68
64
|
'ic-check-square': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
69
65
|
'ic-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
70
66
|
'ic-checks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
71
67
|
'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
72
68
|
'ic-circle-loader': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
73
|
-
'ic-circle-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
74
69
|
'ic-circle-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
75
70
|
'ic-clean-brush': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
76
71
|
'ic-clipboard': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
77
72
|
'ic-clock-counterclockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
78
73
|
'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
79
|
-
'ic-close-circle-red': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
80
|
-
'ic-close-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
81
74
|
'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
82
75
|
'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
83
76
|
'ic-cloud-upload': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -85,8 +78,8 @@ export declare const iconMap: {
|
|
|
85
78
|
'ic-cluster-isolated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
86
79
|
'ic-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
87
80
|
'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
81
|
+
'ic-coins-color-animated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
88
82
|
'ic-coins': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
89
|
-
'ic-confirm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
90
83
|
'ic-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
91
84
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
92
85
|
'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -114,7 +107,6 @@ export declare const iconMap: {
|
|
|
114
107
|
'ic-disconnect': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
115
108
|
'ic-discord-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
116
109
|
'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
117
|
-
'ic-dot-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
118
110
|
'ic-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
119
111
|
'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
120
112
|
'ic-edit-lines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -128,7 +120,6 @@ export declare const iconMap: {
|
|
|
128
120
|
'ic-error': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
129
121
|
'ic-expand-right-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
130
122
|
'ic-expand-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
131
|
-
'ic-failure-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
132
123
|
'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
133
124
|
'ic-fast-forward': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
134
125
|
'ic-file-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -176,7 +167,6 @@ export declare const iconMap: {
|
|
|
176
167
|
'ic-hibernate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
177
168
|
'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
178
169
|
'ic-info-filled-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
179
|
-
'ic-info-filled-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
180
170
|
'ic-info-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
181
171
|
'ic-info-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
182
172
|
'ic-infrastructure-management': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -194,7 +184,6 @@ export declare const iconMap: {
|
|
|
194
184
|
'ic-lego': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
195
185
|
'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
196
186
|
'ic-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
197
|
-
'ic-line': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
198
187
|
'ic-link': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
199
188
|
'ic-linked-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
200
189
|
'ic-list-bullets': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -217,7 +206,6 @@ export declare const iconMap: {
|
|
|
217
206
|
'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
218
207
|
'ic-more-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
219
208
|
'ic-namespace': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
220
|
-
'ic-new-chat': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
221
209
|
'ic-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
222
210
|
'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
223
211
|
'ic-oidc': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -234,18 +222,12 @@ export declare const iconMap: {
|
|
|
234
222
|
'ic-path': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
235
223
|
'ic-pause-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
236
224
|
'ic-pause': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
237
|
-
'ic-pencil-white': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
238
225
|
'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
239
|
-
'ic-piggybank': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
240
226
|
'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
241
|
-
'ic-priority-high-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
242
|
-
'ic-priority-low-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
243
227
|
'ic-priority-medium-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
244
|
-
'ic-priority-urgent-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
245
228
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
246
229
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
247
230
|
'ic-ratings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
248
|
-
'ic-red-bulb': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
249
231
|
'ic-release-hub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
250
232
|
'ic-resize-handle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
251
233
|
'ic-resource-browser': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -253,8 +235,11 @@ export declare const iconMap: {
|
|
|
253
235
|
'ic-right-panel-collapse': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
254
236
|
'ic-rocket-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
255
237
|
'ic-rocket-launch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
238
|
+
'ic-security-fixable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
239
|
+
'ic-security-not-fixable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
256
240
|
'ic-security-policy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
257
241
|
'ic-security-scan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
242
|
+
'ic-security-vulnerability': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
258
243
|
'ic-selected': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
259
244
|
'ic-shapes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
260
245
|
'ic-shield-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -266,7 +251,6 @@ export declare const iconMap: {
|
|
|
266
251
|
'ic-sparkle-ai-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
267
252
|
'ic-sparkle-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
268
253
|
'ic-speedometer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
269
|
-
'ic-spider': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
270
254
|
'ic-spinny': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
271
255
|
'ic-spray-can': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
272
256
|
'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -295,8 +279,6 @@ export declare const iconMap: {
|
|
|
295
279
|
'ic-thumb-down': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
296
280
|
'ic-thumb-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
297
281
|
'ic-timeout-dash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
298
|
-
'ic-timer-green': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
299
|
-
'ic-timer-red': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
300
282
|
'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
301
283
|
'ic-traffic-signal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
302
284
|
'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
package/dist/Shared/Helpers.d.ts
CHANGED
|
@@ -104,5 +104,5 @@ export declare const getAppDetailsURL: (appId: number | string, envId?: number |
|
|
|
104
104
|
export declare const smoothScrollToTop: (scrollContainer: HTMLElement, targetPosition: number) => import('framer-motion').AnimationPlaybackControls;
|
|
105
105
|
export declare const getGroupVersionFromApiVersion: (apiVersion: string) => Pick<Node, "group" | "version">;
|
|
106
106
|
export declare const YAMLtoJSON: (yamlString: string) => string;
|
|
107
|
-
export declare const formatNumberToCurrency: (value: number, currency: string) => string;
|
|
107
|
+
export declare const formatNumberToCurrency: (value: number, currency: string, minimumFractionDigits?: number) => string;
|
|
108
108
|
export {};
|
|
@@ -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,8 +1,9 @@
|
|
|
1
1
|
import { AppConfigProps } from '../../Pages/index';
|
|
2
|
-
import { ClusterType } from '..';
|
|
2
|
+
import { AllClusterListMinItemDTO, ClusterType } from '..';
|
|
3
3
|
import { EnvironmentDataValuesDTO, GetPolicyApiUrlProps, GetResourceApiUrlProps } from './types';
|
|
4
4
|
export declare const getResourceApiUrl: <T>({ baseUrl, kind, version, suffix, queryParams }: GetResourceApiUrlProps<T>) => string;
|
|
5
5
|
export declare const getPolicyApiUrl: <T>({ kind, version, queryParams, suffix }: GetPolicyApiUrlProps<T>) => string;
|
|
6
6
|
export declare const saveCDPipeline: (request: any, { isTemplateView }: Required<Pick<AppConfigProps, "isTemplateView">>) => Promise<import('../../Common').ResponseType<any>>;
|
|
7
7
|
export declare const getEnvironmentData: () => Promise<import('../../Common').ResponseType<EnvironmentDataValuesDTO>>;
|
|
8
8
|
export declare const getClusterOptions: () => Promise<ClusterType[]>;
|
|
9
|
+
export declare const getAllClusterListMin: (signal: AbortSignal) => Promise<import('../../Common').ResponseType<AllClusterListMinItemDTO[]>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MainContext } from '../Providers';
|
|
2
|
-
import { getUrlWithSearchParams } from '../../Common';
|
|
2
|
+
import { ClusterDetailDTO, getUrlWithSearchParams } from '../../Common';
|
|
3
3
|
import { PolicyKindType, ResourceKindType, ResourceVersionType } from '../types';
|
|
4
4
|
export interface BaseAppMetaData {
|
|
5
5
|
appId: number;
|
|
@@ -46,4 +46,7 @@ export interface ClusterMinDTO {
|
|
|
46
46
|
isVirtualCluster: boolean;
|
|
47
47
|
isProd: boolean;
|
|
48
48
|
}
|
|
49
|
+
export type AllClusterListMinItemDTO = Pick<ClusterDetailDTO, 'id' | 'cluster_name' | 'isVirtualCluster' | 'isProd'> & {
|
|
50
|
+
costModuleConfig: Pick<ClusterDetailDTO['costModuleConfig'], 'enabled' | 'installationStatus'>;
|
|
51
|
+
};
|
|
49
52
|
export {};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
<svg width="72" height="72" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<style>
|
|
3
|
+
@keyframes roll {
|
|
4
|
+
0% {
|
|
5
|
+
transform: translateX(50px) rotate(180deg);
|
|
6
|
+
}
|
|
7
|
+
50% {
|
|
8
|
+
transform: translateX(-3px) rotate(-10deg);
|
|
9
|
+
}
|
|
10
|
+
65% {
|
|
11
|
+
transform: translateX(0) rotate(0deg);
|
|
12
|
+
}
|
|
13
|
+
to {
|
|
14
|
+
transform: translateX(-70px) rotate(-220deg);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
@keyframes jump-one {
|
|
18
|
+
0%,
|
|
19
|
+
55%,
|
|
20
|
+
to {
|
|
21
|
+
transform: translateY(0);
|
|
22
|
+
}
|
|
23
|
+
35% {
|
|
24
|
+
transform: translateY(-8px);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
@keyframes jump-two {
|
|
28
|
+
0%,
|
|
29
|
+
50%,
|
|
30
|
+
to {
|
|
31
|
+
transform: translateY(0);
|
|
32
|
+
}
|
|
33
|
+
30% {
|
|
34
|
+
transform: translateY(-8px);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
@keyframes jump-three {
|
|
38
|
+
0%,
|
|
39
|
+
45%,
|
|
40
|
+
to {
|
|
41
|
+
transform: translateY(0);
|
|
42
|
+
}
|
|
43
|
+
25% {
|
|
44
|
+
transform: translateY(-8px);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
</style>
|
|
48
|
+
<g style="animation: jump-three 2s infinite ease">
|
|
49
|
+
<ellipse cx="32" cy="44" rx="18" ry="6" fill="#fecd3d" data-style-override="false" />
|
|
50
|
+
<ellipse cx="32" cy="44" rx="15" ry="4" fill="#fea832" data-style-override="false" />
|
|
51
|
+
<path
|
|
52
|
+
d="M50 50c0 3.314-8.059 6-18 6s-18-2.686-18-6v-6c0 3.314 8.059 6 18 6s18-2.686 18-6z"
|
|
53
|
+
fill="#fe9923"
|
|
54
|
+
data-style-override="false"
|
|
55
|
+
/>
|
|
56
|
+
<path
|
|
57
|
+
d="M32.5 55.995Q32.25 56 32 56q-.25-.001-.5-.005v-6q.25.004.5.005.25-.001.5-.005zm-5-6.184q.495.041 1 .074v6q-.505-.032-1-.075zm9 6q-.495.041-1 .074v-6q.505-.032 1-.075zm-13-6.522q.49.087 1 .164v6a41 41 0 0 1-1-.164zm17 6q-.49.087-1 .164v-6q.51-.077 1-.164zm-21-6.974q.483.155 1 .3v6a26 26 0 0 1-1-.3zm25 6q-.483.155-1 .3v-6q.517-.145 1-.3zm-29-7.917q.442.338 1 .652v6a9 9 0 0 1-1-.652zm33 6a9 9 0 0 1-1 .652v-6q.558-.315 1-.652z"
|
|
58
|
+
fill="#c85929"
|
|
59
|
+
data-style-override="false"
|
|
60
|
+
/>
|
|
61
|
+
</g>
|
|
62
|
+
<g style="animation: jump-two 2s infinite ease">
|
|
63
|
+
<ellipse cx="26" cy="33" rx="18" ry="6" fill="#fecd3d" data-style-override="false" />
|
|
64
|
+
<ellipse cx="26" cy="33" rx="15" ry="4" fill="#fea832" data-style-override="false" />
|
|
65
|
+
<path
|
|
66
|
+
d="M44 39c0 3.314-8.059 6-18 6S8 42.314 8 39v-6c0 3.314 8.059 6 18 6s18-2.686 18-6z"
|
|
67
|
+
fill="#fe9923"
|
|
68
|
+
data-style-override="false"
|
|
69
|
+
/>
|
|
70
|
+
<path
|
|
71
|
+
d="M26.5 44.995Q26.25 45 26 45q-.25-.001-.5-.005v-6q.25.004.5.005.25-.001.5-.005zm-5-6.184q.495.041 1 .074v6q-.505-.032-1-.075zm9 6q-.495.041-1 .074v-6q.505-.032 1-.075zm-13-6.522q.49.087 1 .164v6a41 41 0 0 1-1-.164zm17 6q-.49.087-1 .164v-6q.51-.077 1-.164zm-21-6.974q.483.155 1 .3v6a26 26 0 0 1-1-.3zm25 6q-.483.155-1 .3v-6q.517-.145 1-.3zm-29-7.917q.442.338 1 .652v6a9 9 0 0 1-1-.652zm33 6a9 9 0 0 1-1 .652v-6q.558-.315 1-.652z"
|
|
72
|
+
fill="#c85929"
|
|
73
|
+
data-style-override="false"
|
|
74
|
+
/>
|
|
75
|
+
</g>
|
|
76
|
+
<g style="animation: jump-one 2s infinite ease">
|
|
77
|
+
<ellipse cx="34" cy="22" rx="18" ry="6" fill="#fecd3d" data-style-override="false" />
|
|
78
|
+
<ellipse cx="34" cy="22" rx="15" ry="4" fill="#fea832" data-style-override="false" />
|
|
79
|
+
<path
|
|
80
|
+
d="M52 28c0 3.314-8.059 6-18 6s-18-2.686-18-6v-6c0 3.314 8.059 6 18 6s18-2.686 18-6z"
|
|
81
|
+
fill="#fe9923"
|
|
82
|
+
data-style-override="false"
|
|
83
|
+
/>
|
|
84
|
+
<path
|
|
85
|
+
d="M34.5 33.995Q34.25 34 34 34q-.25-.001-.5-.005v-6q.25.004.5.005.25-.001.5-.005zm-5-6.184q.495.041 1 .074v6q-.505-.032-1-.075zm9 6q-.495.041-1 .074v-6q.505-.032 1-.075zm-13-6.522q.49.087 1 .164v6a41 41 0 0 1-1-.164zm17 6q-.49.087-1 .164v-6q.51-.077 1-.164zm-21-6.975q.483.157 1 .3v6a26 26 0 0 1-1-.3zm25 6q-.483.157-1 .3v-6q.517-.143 1-.3zm-29-7.916q.442.338 1 .652v6a9 9 0 0 1-1-.652zm33 6a9 9 0 0 1-1 .652v-6q.558-.315 1-.652z"
|
|
86
|
+
fill="#c85929"
|
|
87
|
+
data-style-override="false"
|
|
88
|
+
/>
|
|
89
|
+
</g>
|
|
90
|
+
<g style="animation: roll 6s infinite ease; transform-origin: center; transform-box: fill-box">
|
|
91
|
+
<path
|
|
92
|
+
d="M46.9 20q1.48.075 2.89.377a.902.902 0 0 0 1.74.465c.932.3 1.832.674 2.691 1.115a.901.901 0 0 0 1.559.902q1.229.797 2.31 1.776a.901.901 0 0 0 1.274 1.273q.979 1.082 1.775 2.31a.901.901 0 0 0 .902 1.56 18 18 0 0 1 1.116 2.692.901.901 0 0 0 .465 1.739c.2.938.33 1.903.378 2.889a.901.901 0 0 0 0 1.8 18 18 0 0 1-.377 2.89.9.9 0 0 0-.465 1.74 18 18 0 0 1-1.116 2.692.9.9 0 0 0-.901 1.559 18 18 0 0 1-1.776 2.31.9.9 0 0 0-1.273 1.273 18 18 0 0 1-2.31 1.777.9.9 0 0 0-1.558.902q-1.291.664-2.694 1.116a.9.9 0 0 0-1.739.465c-.939.2-1.905.33-2.892.378a.9.9 0 0 0-1.8 0 18 18 0 0 1-2.89-.377.9.9 0 0 0-1.74-.466q-1.4-.451-2.692-1.115a.9.9 0 0 0-1.559-.902 18 18 0 0 1-2.31-1.776.9.9 0 0 0-1.273-1.273 18 18 0 0 1-1.776-2.311.9.9 0 0 0-.903-1.559q-.663-1.292-1.114-2.693a.9.9 0 0 0-.465-1.739A18 18 0 0 1 28 38.898a.9.9 0 0 0 0-1.8c.049-.986.177-1.952.378-2.89a.9.9 0 0 0 .465-1.74q.452-1.401 1.115-2.693a.9.9 0 0 0 .902-1.557 18 18 0 0 1 1.777-2.311.9.9 0 0 0 1.272-1.273 18 18 0 0 1 2.312-1.776.9.9 0 0 0 1.559-.902 18 18 0 0 1 2.692-1.115.901.901 0 0 0 1.74-.464q1.407-.303 2.888-.377a.9.9 0 0 0 1.8 0"
|
|
93
|
+
fill="#ffce33"
|
|
94
|
+
data-style-override="false"
|
|
95
|
+
/>
|
|
96
|
+
<path
|
|
97
|
+
d="M46.002 52.625c8.077 0 14.625-6.548 14.625-14.626s-6.548-14.625-14.625-14.625S31.377 29.923 31.377 38s6.548 14.625 14.625 14.625"
|
|
98
|
+
fill="#f28a00"
|
|
99
|
+
data-style-override="false"
|
|
100
|
+
/>
|
|
101
|
+
<path
|
|
102
|
+
d="M46.002 51.5c7.456 0 13.5-6.045 13.5-13.5 0-7.456-6.044-13.5-13.5-13.5s-13.5 6.044-13.5 13.5c0 7.455 6.044 13.5 13.5 13.5"
|
|
103
|
+
fill="#fe9923"
|
|
104
|
+
data-style-override="false"
|
|
105
|
+
/>
|
|
106
|
+
<path
|
|
107
|
+
d="M49.232 34.369a1.93 1.93 0 0 0-1.74-1.92l-.19-.01h-2.571a1.93 1.93 0 0 0 0 3.859h3.215a4.501 4.501 0 0 1 0 9.003h-.643v.643a1.286 1.286 0 0 1-2.572 0v-.643h-.644a4.5 4.5 0 0 1-4.501-4.501 1.286 1.286 0 1 1 2.572 0 1.93 1.93 0 0 0 1.93 1.929h3.858a1.93 1.93 0 0 0 0-3.859h-3.215a4.501 4.501 0 0 1 0-9.003v-.643a1.286 1.286 0 1 1 2.572 0v.643a4.505 4.505 0 0 1 4.159 2.778c.226.547.342 1.133.342 1.724a1.286 1.286 0 1 1-2.572 0"
|
|
108
|
+
fill="#ffce33"
|
|
109
|
+
data-style-override="false"
|
|
110
|
+
/>
|
|
111
|
+
</g>
|
|
112
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" fill="none" viewBox="0 0 36 36">
|
|
2
|
+
<g clip-path="url(#a)">
|
|
3
|
+
<path fill="#FFF5E5" d="M0 6a6 6 0 0 1 6-6h24a6 6 0 0 1 6 6v24a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6V6Z"/>
|
|
4
|
+
<path fill="#C58D36" d="M24.304 18.584A5.703 5.703 0 0 1 30 24.292 5.703 5.703 0 0 1 24.304 30a5.703 5.703 0 0 1-5.698-5.708 5.703 5.703 0 0 1 5.698-5.708Zm2.656 3.702a.75.75 0 0 0-1.06.05l-2.282 2.509-.276-.23-.83-.691a.75.75 0 0 0-.96 1.151l.83.692.829.691a.75.75 0 0 0 1.035-.071l2.765-3.041a.75.75 0 0 0-.051-1.06Z"/>
|
|
5
|
+
<path fill="#C58D36" fill-rule="evenodd" d="M15.752 6.29a.75.75 0 0 1 .486 0l8.25 2.829a1.87 1.87 0 0 1 1.253 1.773v4.238c0 .546-.028 1.07-.078 1.575a7.726 7.726 0 0 0-1.36-.122l-.136.002c.048-.465.074-.95.074-1.455v-4.238a.37.37 0 0 0-.239-.354L15.995 7.79 7.99 10.538a.37.37 0 0 0-.239.354v4.238c0 7.79 6.007 10.702 7.913 11.429l.323.117.01.003.009-.003c.197-.067.499-.182.875-.347.133.488.314.956.535 1.4-.396.173-.713.293-.919.363l-.008.004a1.5 1.5 0 0 1-.986 0c-1.51-.515-9.252-3.61-9.252-12.966v-4.238A1.87 1.87 0 0 1 7.502 9.12l8.25-2.829Zm.245 14.26a.75.75 0 0 1 .75.75v.511a.75.75 0 0 1-1.5 0v-.51a.75.75 0 0 1 .75-.75Zm0-8.172a.75.75 0 0 1 .75.75v5.108a.75.75 0 0 1-1.5 0v-5.108a.75.75 0 0 1 .75-.75Z" clip-rule="evenodd"/>
|
|
6
|
+
</g>
|
|
7
|
+
<defs>
|
|
8
|
+
<clipPath id="a">
|
|
9
|
+
<path fill="#fff" d="M0 0h36v36H0z"/>
|
|
10
|
+
</clipPath>
|
|
11
|
+
</defs>
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" fill="none" viewBox="0 0 36 36">
|
|
2
|
+
<g clip-path="url(#a)">
|
|
3
|
+
<path fill="#FCF3F0" d="M0 6a6 6 0 0 1 6-6h24a6 6 0 0 1 6 6v24a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6V6Z"/>
|
|
4
|
+
<path fill="#FF7E5B" d="M24.243 18.465a5.764 5.764 0 0 1 5.76 5.768 5.765 5.765 0 0 1-5.76 5.77 5.765 5.765 0 0 1-5.76-5.77 5.764 5.764 0 0 1 5.76-5.768Zm2.065 3.776a.75.75 0 0 0-1.06 0l-1.004 1.003-1.003-1.003a.75.75 0 0 0-1.06 1.06l1.003 1.004-1.003 1.003a.75.75 0 0 0 1.06 1.06l1.003-1.003 1.003 1.003a.75.75 0 0 0 1.06-1.06l-1.002-1.003 1.003-1.003a.75.75 0 0 0 0-1.06Z"/>
|
|
5
|
+
<path fill="#FF7E5B" d="M15.722 6.01a.753.753 0 0 1 .366.03l8.34 2.86a1.88 1.88 0 0 1 1.261 1.784v4.284c0 .559-.029 1.096-.08 1.611a7.792 7.792 0 0 0-1.365-.122l-.132.003a14.4 14.4 0 0 0 .078-1.492v-4.284a.382.382 0 0 0-.248-.366l-8.097-2.775-8.098 2.775a.381.381 0 0 0-.247.366v4.284l.005.39c.196 7.585 6.103 10.444 8 11.167l.328.12.008.003h.008l.007-.003c.203-.07.516-.188.906-.36.133.487.312.957.534 1.401-.414.182-.744.306-.955.378h-.001a1.51 1.51 0 0 1-.991 0c-1.5-.512-9.106-3.549-9.343-12.658L6 14.968v-4.284a1.88 1.88 0 0 1 1.26-1.785l8.342-2.859.12-.03Zm.124 14.443a.75.75 0 0 1 .75.75v.517a.75.75 0 0 1-1.5 0v-.517a.75.75 0 0 1 .75-.75Zm0-8.259a.75.75 0 0 1 .75.75v5.162a.75.75 0 0 1-1.5 0v-5.162a.75.75 0 0 1 .75-.75Z"/>
|
|
6
|
+
</g>
|
|
7
|
+
<defs>
|
|
8
|
+
<clipPath id="a">
|
|
9
|
+
<path fill="#fff" d="M0 0h36v36H0z"/>
|
|
10
|
+
</clipPath>
|
|
11
|
+
</defs>
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2
|
+
<rect width="24" height="24" fill="#FDE7E7" rx="6"/>
|
|
3
|
+
<path fill="#F33E3E" d="m18.25 5.125-6.25-2-6.25 2a1.25 1.25 0 0 0-1.25 1.25v4.375c0 4.119 1.994 6.615 3.666 7.984 1.802 1.473 3.594 1.974 3.672 1.994.108.03.221.03.328 0 .079-.02 1.868-.521 3.672-1.994 1.668-1.37 3.662-3.865 3.662-7.984V6.375a1.25 1.25 0 0 0-1.25-1.25ZM11.375 8.5a.625.625 0 1 1 1.25 0v4.125a.624.624 0 1 1-1.25 0V8.5ZM12 16.375a.937.937 0 1 1 0-1.875.937.937 0 0 1 0 1.875Z"/>
|
|
4
|
+
</svg>
|
package/dist/index.d.ts
CHANGED
|
@@ -163,13 +163,11 @@ export interface customEnv {
|
|
|
163
163
|
* Time interval in seconds to refetch command bar data - Applications List
|
|
164
164
|
*/
|
|
165
165
|
COMMAND_BAR_REFETCH_INTERVAL?: number;
|
|
166
|
-
HIDE_AUDIT_LOGS?: boolean;
|
|
167
166
|
}
|
|
168
167
|
declare global {
|
|
169
168
|
interface Window {
|
|
170
169
|
__BASE_URL__: string;
|
|
171
170
|
__ORCHESTRATOR_ROOT__: string;
|
|
172
|
-
__ATHENA_ROOT__: string;
|
|
173
171
|
_env_: customEnv;
|
|
174
172
|
}
|
|
175
173
|
}
|