@devtron-labs/devtron-fe-common-lib 1.20.6-pre-37 → 1.20.6-pre-38

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.
Files changed (47) hide show
  1. package/dist/{@code-editor-wyOLlaHm.js → @code-editor-L8xbBPsz.js} +4664 -4705
  2. package/dist/{@common-rjsf-BZMLxMF1.js → @common-rjsf-CW-p2vUB.js} +2 -2
  3. package/dist/{@framer-motion-DMkBQPN0.js → @framer-motion-BbD0XILR.js} +1 -1
  4. package/dist/{@react-dates-BjZWpiVv.js → @react-dates-DLCF81bK.js} +1 -1
  5. package/dist/{@react-select-DtwlfcIG.js → @react-select-CK9Bxd-k.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-M81Af3Qs.js → @react-virtualized-sticky-tree-J61SX97M.js} +1 -1
  7. package/dist/{@vendor-DceGoESd.js → @vendor-DEAetXNs.js} +63 -63
  8. package/dist/Common/Constants.d.ts +2 -3
  9. package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
  10. package/dist/Shared/Components/Charts/Chart.component.d.ts +0 -2
  11. package/dist/Shared/Components/Charts/constants.d.ts +1 -0
  12. package/dist/Shared/Components/Charts/plugins.d.ts +3 -1
  13. package/dist/Shared/Components/Charts/types.d.ts +10 -13
  14. package/dist/Shared/Components/Charts/utils.d.ts +4 -44
  15. package/dist/Shared/Components/DocLink/constants.d.ts +0 -1
  16. package/dist/Shared/Components/Icon/Icon.d.ts +1 -22
  17. package/dist/Shared/Helpers.d.ts +1 -1
  18. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -2
  19. package/dist/Shared/Providers/MainContextProvider/types.d.ts +0 -1
  20. package/dist/Shared/Services/common.service.d.ts +2 -1
  21. package/dist/Shared/Services/types.d.ts +4 -1
  22. package/dist/assets/ic-coins-color-animated.fe11cdc3.svg +112 -0
  23. package/dist/index.d.ts +0 -2
  24. package/dist/index.js +338 -337
  25. package/package.json +1 -1
  26. package/dist/assets/ic-arrow-white.be4aea3f.svg +0 -3
  27. package/dist/assets/ic-book-gear.bb9bca1f.svg +0 -9
  28. package/dist/assets/ic-bulb.3906a732.svg +0 -7
  29. package/dist/assets/ic-check-green.b03d325d.svg +0 -3
  30. package/dist/assets/ic-circle-progress.0875625d.svg +0 -6
  31. package/dist/assets/ic-close-circle-red.72e0a495.svg +0 -3
  32. package/dist/assets/ic-close-circle.b39dd87d.svg +0 -3
  33. package/dist/assets/ic-confirm.f6b1c31c.svg +0 -3
  34. package/dist/assets/ic-dot-circle.5ce1fccf.svg +0 -3
  35. package/dist/assets/ic-failure-color.e167df98.svg +0 -4
  36. package/dist/assets/ic-info-filled-new.28815384.svg +0 -8
  37. package/dist/assets/ic-line.4e8fa046.svg +0 -3
  38. package/dist/assets/ic-new-chat.f7c90f8e.svg +0 -5
  39. package/dist/assets/ic-pencil-white.369e78d9.svg +0 -3
  40. package/dist/assets/ic-piggybank.3a4839d7.svg +0 -3
  41. package/dist/assets/ic-priority-high-fill.53755d8f.svg +0 -3
  42. package/dist/assets/ic-priority-low-fill.79e781ae.svg +0 -4
  43. package/dist/assets/ic-priority-urgent-fill.78d42fa0.svg +0 -10
  44. package/dist/assets/ic-red-bulb.25e01bfc.svg +0 -9
  45. package/dist/assets/ic-spider.99b77bd8.svg +0 -3
  46. package/dist/assets/ic-timer-green.00bf295e.svg +0 -3
  47. package/dist/assets/ic-timer-red.656bee16.svg +0 -3
@@ -1,7 +1,7 @@
1
- import { j as n, aK as v, aM as J, aL as K } from "./@vendor-DceGoESd.js";
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-wyOLlaHm.js";
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-L8xbBPsz.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";
@@ -1,4 +1,4 @@
1
- import { aW as m, aX as lt, aY as R, aZ as Zr, a_ as Le, a$ as oe, b0 as T, b1 as $e, b2 as at, b3 as Gt, b4 as Q, b5 as $r, b6 as oi, b7 as si, b8 as ui, b9 as li, ba as fi, bb as ci, bc as vi, bd as di, be as qr, bf as pi, bg as hi, bh as mi, bi as gi, bj as yi, bk as Jr, bl as Pt, bm as he, bn as X, bo as bi, bp as Qr, bq as z, br as tn, bs as me, bt as Z, bu as Pi, bv as Ot, bw as Vi, bx as Ti, by as en, bz as Ft, bA as O, bB as ge, bC as Si, bD as se, bE as xi, bF as Ci } from "./@vendor-DceGoESd.js";
1
+ import { aW as m, aX as lt, aY as R, aZ as Zr, a_ as Le, a$ as oe, b0 as T, b1 as $e, b2 as at, b3 as Gt, b4 as Q, b5 as $r, b6 as oi, b7 as si, b8 as ui, b9 as li, ba as fi, bb as ci, bc as vi, bd as di, be as qr, bf as pi, bg as hi, bh as mi, bi as gi, bj as yi, bk as Jr, bl as Pt, bm as he, bn as X, bo as bi, bp as Qr, bq as z, br as tn, bs as me, bt as Z, bu as Pi, bv as Ot, bw as Vi, bx as Ti, by as en, bz as Ft, bA as O, bB as ge, bC as Si, bD as se, bE as xi, bF as Ci } from "./@vendor-DEAetXNs.js";
2
2
  import * as Y from "react";
3
3
  import Re, { createContext as St, useContext as F, useLayoutEffect as Ai, useEffect as N, useState as De, useRef as $, useCallback as ye, useMemo as Vt, forwardRef as wi, createElement as Ei, cloneElement as Li, Children as Ri, isValidElement as Di } from "react";
4
4
  var qe = "production", Me = typeof process > "u" || process.env === void 0 ? qe : process.env.NODE_ENV || qe, tt = function(t) {
@@ -1,5 +1,5 @@
1
1
  import Te from "react";
2
- import { bG as he, bH as Ke, bI as we, bJ as cn, bK as Le, bL as Je, bM as tt, bN as at, bO as et, bP as lt, bQ as nt, bR as so, bS as fn, bT as uo, bU as bt, bV as ei, bW as hn, bX as co, bY as fo, bZ as ho, b_ as vn, b$ as Fe, c0 as pn, c1 as ti, c2 as wn, c3 as ai, c4 as ni, c5 as ri, c6 as Rt, c7 as oi, c8 as ii, c9 as li } from "./@vendor-DceGoESd.js";
2
+ import { bG as he, bH as Ke, bI as we, bJ as cn, bK as Le, bL as Je, bM as tt, bN as at, bO as et, bP as lt, bQ as nt, bR as so, bS as fn, bT as uo, bU as bt, bV as ei, bW as hn, bX as co, bY as fo, bZ as ho, b_ as vn, b$ as Fe, c0 as pn, c1 as ti, c2 as wn, c3 as ai, c4 as ni, c5 as ri, c6 as Rt, c7 as oi, c8 as ii, c9 as li } from "./@vendor-DEAetXNs.js";
3
3
  import { r as Ne, h as si, g as di } from "./@moment-CGWt8tF2.js";
4
4
  import './assets/@react-dates.css';var Wt = {}, jt = {}, zt = {}, Nn;
5
5
  function Ve() {
@@ -1,4 +1,4 @@
1
- import { ca as xt, cb as v, b_ as re, cc as h, c5 as f, cd as Y, ce as U, cf as xe, cg as Bt, ch as Ue, ci as Ft, cj as Vt, ck as Et, cl as yt, cm as Wt, cn as Xt, co as ne, cp as Zt } from "./@vendor-DceGoESd.js";
1
+ import { ca as xt, cb as v, b_ as re, cc as h, c5 as f, cd as Y, ce as U, cf as xe, cg as Bt, ch as Ue, ci as Ft, cj as Vt, ck as Et, cl as yt, cm as Wt, cn as Xt, co as ne, cp as Zt } from "./@vendor-DEAetXNs.js";
2
2
  import * as y from "react";
3
3
  import { useRef as j, useState as ee, useMemo as q, useCallback as D, createContext as Nt, useContext as St, Component as Rt, Fragment as Be, useEffect as Qe, forwardRef as Ht } from "react";
4
4
  import { createPortal as Tt } from "react-dom";
@@ -2,7 +2,7 @@ var v = Object.defineProperty;
2
2
  var E = (a, h, e) => h in a ? v(a, h, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[h] = e;
3
3
  var f = (a, h, e) => E(a, typeof h != "symbol" ? h + "" : h, e);
4
4
  import u, { createRef as k } from "react";
5
- import { cq as x } from "./@vendor-DceGoESd.js";
5
+ import { cq as x } from "./@vendor-DEAetXNs.js";
6
6
  const b = () => typeof navigator < "u" && /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor) ? "-webkit-sticky" : "sticky";
7
7
  var g;
8
8
  (function(a) {
@@ -80412,46 +80412,46 @@ const C9e = Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#1c
80412
80412
  default: D9e
80413
80413
  }, Symbol.toStringTag, { value: "Module" }));
80414
80414
  export {
80415
- ade as $,
80416
- cFe as A,
80417
- ts as B,
80418
- GIe as C,
80415
+ V5 as $,
80416
+ aFe as A,
80417
+ cFe as B,
80418
+ ts as C,
80419
80419
  AIe as D,
80420
80420
  De as E,
80421
80421
  OIe as F,
80422
- YIe as G,
80423
- uFe as H,
80424
- fle as I,
80425
- jIe as J,
80426
- ch as K,
80427
- ZV as L,
80428
- oy as M,
80429
- iy as N,
80430
- eH as O,
80431
- MA as P,
80422
+ GIe as G,
80423
+ YIe as H,
80424
+ uFe as I,
80425
+ fle as J,
80426
+ jIe as K,
80427
+ ch as L,
80428
+ ZV as M,
80429
+ oy as N,
80430
+ iy as O,
80431
+ eH as P,
80432
80432
  _n as Q,
80433
- j5 as R,
80433
+ MA as R,
80434
80434
  bn as S,
80435
80435
  Wn as T,
80436
- Wb as U,
80436
+ j5 as U,
80437
80437
  dn as V,
80438
- MIe as W,
80439
- $e as X,
80440
- spe as Y,
80441
- UIe as Z,
80442
- V5 as _,
80438
+ Wb as W,
80439
+ MIe as X,
80440
+ $e as Y,
80441
+ spe as Z,
80442
+ UIe as _,
80443
80443
  lpe as a,
80444
80444
  aj as a$,
80445
- ap as a0,
80446
- zIe as a1,
80447
- Xc as a2,
80448
- LIe as a3,
80449
- BIe as a4,
80450
- WIe as a5,
80451
- ht as a6,
80452
- VIe as a7,
80453
- Gce as a8,
80454
- pFe as a9,
80445
+ ade as a0,
80446
+ ap as a1,
80447
+ zIe as a2,
80448
+ Xc as a3,
80449
+ LIe as a4,
80450
+ BIe as a5,
80451
+ WIe as a6,
80452
+ ht as a7,
80453
+ VIe as a8,
80454
+ Gce as a9,
80455
80455
  gb as aA,
80456
80456
  wMe as aB,
80457
80457
  BFe as aC,
@@ -80479,28 +80479,28 @@ export {
80479
80479
  U9e as aY,
80480
80480
  H9e as aZ,
80481
80481
  Rb as a_,
80482
- mFe as aa,
80483
- gFe as ab,
80484
- yFe as ac,
80485
- cu as ad,
80486
- w8 as ae,
80487
- C8 as af,
80488
- Hx as ag,
80489
- Zx as ah,
80490
- Wx as ai,
80491
- Du as aj,
80492
- Qx as ak,
80493
- ag as al,
80494
- dg as am,
80495
- ub as an,
80496
- _Fe as ao,
80497
- CFe as ap,
80498
- wFe as aq,
80499
- xFe as ar,
80500
- LY as as,
80501
- uf as at,
80502
- ko as au,
80503
- j9e as av,
80482
+ pFe as aa,
80483
+ mFe as ab,
80484
+ gFe as ac,
80485
+ yFe as ad,
80486
+ cu as ae,
80487
+ w8 as af,
80488
+ C8 as ag,
80489
+ Hx as ah,
80490
+ Zx as ai,
80491
+ Wx as aj,
80492
+ Du as ak,
80493
+ Qx as al,
80494
+ ag as am,
80495
+ dg as an,
80496
+ ub as ao,
80497
+ _Fe as ap,
80498
+ CFe as aq,
80499
+ wFe as ar,
80500
+ xFe as as,
80501
+ LY as at,
80502
+ uf as au,
80503
+ ko as av,
80504
80504
  LFe as aw,
80505
80505
  jFe as ax,
80506
80506
  vb as ay,
@@ -80601,25 +80601,25 @@ export {
80601
80601
  gD as cr,
80602
80602
  KIe as d,
80603
80603
  ZIe as e,
80604
- QIe as f,
80604
+ j9e as f,
80605
80605
  dpe as g,
80606
- Cme as h,
80606
+ QIe as h,
80607
80607
  q9e as i,
80608
80608
  ce as j,
80609
80609
  xR as k,
80610
80610
  NIe as l,
80611
- Zle as m,
80611
+ Cme as m,
80612
80612
  dIe as n,
80613
80613
  $A as o,
80614
- JIe as p,
80615
- fFe as q,
80614
+ Zle as p,
80615
+ JIe as q,
80616
80616
  nH as r,
80617
80617
  qIe as s,
80618
80618
  K as t,
80619
- hFe as u,
80620
- dFe as v,
80621
- Ype as w,
80622
- lFe as x,
80619
+ fFe as u,
80620
+ hFe as v,
80621
+ dFe as w,
80622
+ Ype as x,
80623
80623
  XIe as y,
80624
- aFe as z
80624
+ lFe as z
80625
80625
  };
@@ -74,7 +74,6 @@ export declare const URLS: {
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";
@@ -101,9 +100,8 @@ export declare const URLS: {
101
100
  readonly GLOBAL_CONFIG_EDIT_CLUSTER: "/global-configuration/cluster-env/edit/:clusterId";
102
101
  readonly PERMISSION_GROUPS: "/global-configuration/auth/groups";
103
102
  readonly AI_RECOMMENDATIONS: "/ai-recommendations";
104
- readonly AI_RECOMMENDATIONS_NOTIFICATIONS: "/ai-recommendations/notifications";
103
+ readonly AI_RECOMMENDATIONS_OVERVIEW: "/ai-recommendations/overview";
105
104
  readonly EXTERNAL_APPS: "ea";
106
- readonly AI_RECOMMENDATIONS_RUNBOOKS: "/ai-recommendations/runbooks";
107
105
  };
108
106
  export declare const ROUTES: {
109
107
  readonly APP: "app";
@@ -130,6 +128,7 @@ export declare const ROUTES: {
130
128
  readonly PATCH: "patch";
131
129
  readonly ENVIRONMENT_LIST_MIN: "env/autocomplete";
132
130
  readonly CLUSTER: "cluster";
131
+ readonly CLUSTER_MIN: "cluster/min";
133
132
  readonly API_RESOURCE: "k8s/api-resources";
134
133
  readonly GVK: "gvk";
135
134
  readonly NAMESPACE: "env/namespace";
@@ -1,3 +1,3 @@
1
1
  import { TooltipProps } from './types';
2
- declare const Tooltip: ({ shortcutKeyCombo, alwaysShowTippyOnHover, showOnTruncate, wordBreak, children: child, ...rest }: TooltipProps) => JSX.Element;
2
+ declare const Tooltip: ({ shortcutKeyCombo, alwaysShowTippyOnHover, showOnTruncate, wordBreak, children: child, plugins, ...rest }: TooltipProps) => JSX.Element;
3
3
  export default Tooltip;
@@ -69,8 +69,6 @@ import { ChartProps } from './types';
69
69
  * @param type - Chart type: 'area', 'pie', 'stackedBar', 'stackedBarHorizontal', or 'line'
70
70
  * @param xAxisLabels - Array of labels for the x-axis (or categories for pie charts)
71
71
  * @param datasets - Chart data: array of datasets for most charts, single dataset object for pie charts
72
- * @param xAxisConfig
73
- * @param yAxisConfig
74
72
  *
75
73
  * @performance
76
74
  * **Memoization Recommendations:**
@@ -7,3 +7,4 @@ export declare const CHART_AXIS_LABELS_COLOR: Record<AppThemeType, string>;
7
7
  export declare const CHART_CANVAS_BACKGROUND_COLORS: Record<AppThemeType, string>;
8
8
  export declare const LINE_DASH: number[];
9
9
  export declare const MAX_BAR_THICKNESS = 96;
10
+ export declare const DIS_JOINT_CHART_POINT_RADIUS = 4;
@@ -1,4 +1,6 @@
1
+ import { RefObject } from 'react';
1
2
  import { Plugin } from 'chart.js';
2
3
  import { AppThemeType } from '../../Providers';
3
- import { ReferenceLineConfigType } from './types';
4
+ import { ChartType, ReferenceLineConfigType } from './types';
4
5
  export declare const drawReferenceLine: (config: ReferenceLineConfigType, id: string, appTheme: AppThemeType) => Plugin;
6
+ export declare const htmlLegendPlugin: (id: string, ref: RefObject<HTMLDivElement>, type: ChartType) => Plugin;
@@ -4,7 +4,7 @@ import { TooltipProps } from '../../../Common/Tooltip';
4
4
  import { AppThemeType } from '../../Providers';
5
5
  import { Never } from '../../types';
6
6
  export type ChartType = 'area' | 'pie' | 'stackedBar' | 'stackedBarHorizontal' | 'line';
7
- export type ColorTokensType = 'DeepPlum' | 'Magenta' | 'Slate' | 'Lavender' | 'SkyBlue' | 'AquaTeal' | 'LimeGreen' | 'CoralRed' | 'GoldenYellow' | 'CharcoalGray' | 'Gray';
7
+ export type ColorTokensType = 'DeepPlum' | 'Magenta' | 'Slate' | 'Lavender' | 'SkyBlue' | 'AquaTeal' | 'LimeGreen' | 'CoralRed' | 'GoldenYellow' | 'CharcoalGray' | 'Gray' | 'SunsetOrange';
8
8
  export type VariantsType = 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
9
9
  export type ChartColorKey = `${ColorTokensType}${VariantsType}`;
10
10
  export type ChartTypeWithoutPie = Exclude<ChartType, 'pie'>;
@@ -28,16 +28,6 @@ export interface ReferenceLineConfigType {
28
28
  color?: ChartColorKey;
29
29
  value: number;
30
30
  }
31
- export interface AxisConfig {
32
- title?: string;
33
- unit?: string;
34
- unitPosition?: 'prefix' | 'suffix';
35
- labelFormatter?: (value: number | string, index: number) => string | string[] | number | number[];
36
- hide?: boolean;
37
- max?: number;
38
- min?: number;
39
- stepSize?: number;
40
- }
41
31
  type XYAxisMax = {
42
32
  xAxisMax?: number;
43
33
  yAxisMax?: number;
@@ -45,8 +35,6 @@ type XYAxisMax = {
45
35
  * Optional reference lines to draw across the chart
46
36
  */
47
37
  referenceLines?: ReferenceLineConfigType[];
48
- xAxisConfig?: AxisConfig;
49
- yAxisConfig?: AxisConfig;
50
38
  };
51
39
  type OnChartClickHandler = (datasetName: string, value: number) => void;
52
40
  type ScaleTickFormatCallbacks = Partial<{
@@ -93,7 +81,9 @@ export type ChartProps = {
93
81
  placement?: TooltipProps['placement'];
94
82
  datasetValueFormatter?: (value: number) => string | number;
95
83
  };
84
+ /** A title for x axis */
96
85
  xScaleTitle?: string;
86
+ /** A title for y axis */
97
87
  yScaleTitle?: string;
98
88
  } & TypeAndDatasetsType;
99
89
  export type TransformDatasetProps = {
@@ -123,4 +113,11 @@ declare module 'chart.js' {
123
113
  barElementCenterPositioner: TooltipPositionerFunction<'bar'>;
124
114
  }
125
115
  }
116
+ export interface HTMLLegendProps {
117
+ backgroundColor: string;
118
+ label: string;
119
+ onClick: () => void;
120
+ strikeThrough: boolean;
121
+ variant: 'line' | 'square';
122
+ }
126
123
  export {};
@@ -1,48 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
- import { Chart, ChartDataset, ChartOptions, ChartType as ChartJSChartType, Point, TooltipOptions } from 'chart.js';
3
- import { AppThemeType } from '../../Providers';
2
+ import { ChartDataset, ChartOptions, ChartType as ChartJSChartType, Point, TooltipOptions } from 'chart.js';
4
3
  import { ChartType, GetDefaultOptionsParams, TransformDataForChartProps } from './types';
5
- export declare const getLegendsLabelConfig: (type: ChartType, appTheme: AppThemeType) => {
6
- usePointStyle: false;
7
- boxHeight: number;
8
- generateLabels: (chart: Chart<"line">) => {
9
- fillStyle: string;
10
- strokeStyle: string;
11
- lineDash: number[];
12
- lineWidth: number;
13
- text: string;
14
- borderRadius?: number | import('chart.js').BorderRadius;
15
- datasetIndex?: number;
16
- index?: number;
17
- fontColor?: import('chart.js').Color;
18
- hidden?: boolean;
19
- lineCap?: CanvasLineCap;
20
- lineDashOffset?: number;
21
- lineJoin?: CanvasLineJoin;
22
- pointStyle?: import('chart.js').PointStyle;
23
- rotation?: number;
24
- textAlign?: import('chart.js').TextAlign;
25
- }[];
26
- color: string;
27
- font: {
28
- family: string;
29
- size: number;
30
- lineHeight: string;
31
- weight: number;
32
- };
33
- } | {
34
- usePointStyle: true;
35
- boxHeight: number;
36
- boxWidth: number;
37
- pointStyle: "rectRounded";
38
- color: string;
39
- font: {
40
- family: string;
41
- size: number;
42
- lineHeight: string;
43
- weight: number;
44
- };
45
- };
46
4
  export declare const getChartJSType: (type: ChartType) => ChartJSChartType;
47
5
  export declare const getDefaultOptions: ({ chartProps, appTheme, externalTooltipHandler, setTooltipVisible, }: GetDefaultOptionsParams) => ChartOptions;
48
6
  export declare const transformDataForChart: (props: TransformDataForChartProps) => (ChartDataset<"line"> | {
@@ -56,15 +14,17 @@ export declare const transformDataForChart: (props: TransformDataForChartProps)
56
14
  backgroundColor: string[];
57
15
  hoverBackgroundColor: string[];
58
16
  borderColor: string;
17
+ borderWidth: number;
59
18
  label: string;
60
19
  data: number[];
61
20
  } | {
62
21
  backgroundColor: string;
63
22
  hoverBackgroundColor: string;
64
23
  borderColor: string;
24
+ borderWidth?: undefined;
65
25
  label: string;
66
26
  data: number[];
67
27
  })[];
68
- export declare function chartColorGenerator(): Generator<"DeepPlum500" | "DeepPlum300" | "DeepPlum100" | "DeepPlum50" | "DeepPlum600" | "DeepPlum400" | "DeepPlum200" | "DeepPlum700" | "DeepPlum800" | "DeepPlum900" | "DeepPlum950" | "Magenta500" | "Magenta300" | "Magenta100" | "Magenta50" | "Magenta600" | "Magenta400" | "Magenta200" | "Magenta700" | "Magenta800" | "Magenta900" | "Magenta950" | "Slate500" | "Slate300" | "Slate100" | "Slate50" | "Slate600" | "Slate400" | "Slate200" | "Slate700" | "Slate800" | "Slate900" | "Slate950" | "Lavender500" | "Lavender300" | "Lavender100" | "Lavender50" | "Lavender600" | "Lavender400" | "Lavender200" | "Lavender700" | "Lavender800" | "Lavender900" | "Lavender950" | "SkyBlue500" | "SkyBlue300" | "SkyBlue100" | "SkyBlue50" | "SkyBlue600" | "SkyBlue400" | "SkyBlue200" | "SkyBlue700" | "SkyBlue800" | "SkyBlue900" | "SkyBlue950" | "AquaTeal500" | "AquaTeal300" | "AquaTeal100" | "AquaTeal50" | "AquaTeal600" | "AquaTeal400" | "AquaTeal200" | "AquaTeal700" | "AquaTeal800" | "AquaTeal900" | "AquaTeal950" | "LimeGreen500" | "LimeGreen300" | "LimeGreen100" | "LimeGreen50" | "LimeGreen600" | "LimeGreen400" | "LimeGreen200" | "LimeGreen700" | "LimeGreen800" | "LimeGreen900" | "LimeGreen950" | "CoralRed500" | "CoralRed300" | "CoralRed100" | "CoralRed50" | "CoralRed600" | "CoralRed400" | "CoralRed200" | "CoralRed700" | "CoralRed800" | "CoralRed900" | "CoralRed950" | "GoldenYellow500" | "GoldenYellow300" | "GoldenYellow100" | "GoldenYellow50" | "GoldenYellow600" | "GoldenYellow400" | "GoldenYellow200" | "GoldenYellow700" | "GoldenYellow800" | "GoldenYellow900" | "GoldenYellow950" | "CharcoalGray500" | "CharcoalGray300" | "CharcoalGray100" | "CharcoalGray50" | "CharcoalGray600" | "CharcoalGray400" | "CharcoalGray200" | "CharcoalGray700" | "CharcoalGray800" | "CharcoalGray900" | "CharcoalGray950" | "Gray500" | "Gray300" | "Gray100" | "Gray50" | "Gray600" | "Gray400" | "Gray200" | "Gray700" | "Gray800" | "Gray900" | "Gray950", void, unknown>;
28
+ export declare function chartColorGenerator(): Generator<"DeepPlum500" | "DeepPlum300" | "DeepPlum100" | "DeepPlum50" | "DeepPlum600" | "DeepPlum400" | "DeepPlum200" | "DeepPlum700" | "DeepPlum800" | "DeepPlum900" | "DeepPlum950" | "Magenta500" | "Magenta300" | "Magenta100" | "Magenta50" | "Magenta600" | "Magenta400" | "Magenta200" | "Magenta700" | "Magenta800" | "Magenta900" | "Magenta950" | "Slate500" | "Slate300" | "Slate100" | "Slate50" | "Slate600" | "Slate400" | "Slate200" | "Slate700" | "Slate800" | "Slate900" | "Slate950" | "Lavender500" | "Lavender300" | "Lavender100" | "Lavender50" | "Lavender600" | "Lavender400" | "Lavender200" | "Lavender700" | "Lavender800" | "Lavender900" | "Lavender950" | "SkyBlue500" | "SkyBlue300" | "SkyBlue100" | "SkyBlue50" | "SkyBlue600" | "SkyBlue400" | "SkyBlue200" | "SkyBlue700" | "SkyBlue800" | "SkyBlue900" | "SkyBlue950" | "AquaTeal500" | "AquaTeal300" | "AquaTeal100" | "AquaTeal50" | "AquaTeal600" | "AquaTeal400" | "AquaTeal200" | "AquaTeal700" | "AquaTeal800" | "AquaTeal900" | "AquaTeal950" | "LimeGreen500" | "LimeGreen300" | "LimeGreen100" | "LimeGreen50" | "LimeGreen600" | "LimeGreen400" | "LimeGreen200" | "LimeGreen700" | "LimeGreen800" | "LimeGreen900" | "LimeGreen950" | "CoralRed500" | "CoralRed300" | "CoralRed100" | "CoralRed50" | "CoralRed600" | "CoralRed400" | "CoralRed200" | "CoralRed700" | "CoralRed800" | "CoralRed900" | "CoralRed950" | "GoldenYellow500" | "GoldenYellow300" | "GoldenYellow100" | "GoldenYellow50" | "GoldenYellow600" | "GoldenYellow400" | "GoldenYellow200" | "GoldenYellow700" | "GoldenYellow800" | "GoldenYellow900" | "GoldenYellow950" | "CharcoalGray500" | "CharcoalGray300" | "CharcoalGray100" | "CharcoalGray50" | "CharcoalGray600" | "CharcoalGray400" | "CharcoalGray200" | "CharcoalGray700" | "CharcoalGray800" | "CharcoalGray900" | "CharcoalGray950" | "Gray500" | "Gray300" | "Gray100" | "Gray50" | "Gray600" | "Gray400" | "Gray200" | "Gray700" | "Gray800" | "Gray900" | "Gray950" | "SunsetOrange500" | "SunsetOrange300" | "SunsetOrange100" | "SunsetOrange50" | "SunsetOrange600" | "SunsetOrange400" | "SunsetOrange200" | "SunsetOrange700" | "SunsetOrange800" | "SunsetOrange900" | "SunsetOrange950", void, unknown>;
69
29
  export declare const buildChartTooltipFromContext: ({ title, body, labelColors: labelColorsProp, }: Pick<Parameters<TooltipOptions["external"]>[0]["tooltip"], "title" | "body" | "labelColors">) => ReactNode;
70
30
  export declare const distanceBetweenPoints: (pt1: Point, pt2: Point) => number;
@@ -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://github.com/devtron-labs/athena-be/wiki/Runbook-Actions";
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";
@@ -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>>;
@@ -266,7 +248,6 @@ export declare const iconMap: {
266
248
  'ic-sparkle-ai-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
267
249
  'ic-sparkle-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
268
250
  'ic-speedometer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
269
- 'ic-spider': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
270
251
  'ic-spinny': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
271
252
  'ic-spray-can': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
272
253
  'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -295,8 +276,6 @@ export declare const iconMap: {
295
276
  'ic-thumb-down': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
296
277
  'ic-thumb-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
297
278
  '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
279
  'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
301
280
  'ic-traffic-signal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
302
281
  'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -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' | 'infrastructure-management-audit-logs' | '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' | 'ai-recommendations-runbooks' | 'ai-recommendations-notifications';
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-runbook' | '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';
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
  }
@@ -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;
@@ -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 {};