@devtron-labs/devtron-fe-common-lib 1.20.6-alpha-32 → 1.20.6-alpha-95

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 (85) hide show
  1. package/dist/{@code-editor-D9F_p-C2.js → @code-editor-Bi8V0EkO.js} +7910 -7934
  2. package/dist/{@common-rjsf-CW_GOcCr.js → @common-rjsf-pPsGytQU.js} +22 -22
  3. package/dist/{@framer-motion-DMkBQPN0.js → @framer-motion-LZK2bgCK.js} +61 -61
  4. package/dist/{@react-dates-BjZWpiVv.js → @react-dates-CbpfVsC0.js} +1 -1
  5. package/dist/{@react-select-DtwlfcIG.js → @react-select-BuPEYnTv.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-M81Af3Qs.js → @react-virtualized-sticky-tree-DX7VkyTZ.js} +1 -1
  7. package/dist/{@vendor-DceGoESd.js → @vendor-BsABdDGm.js} +14676 -13806
  8. package/dist/Common/Constants.d.ts +10 -8
  9. package/dist/Common/SegmentedControl/Segment.d.ts +1 -1
  10. package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +1 -1
  11. package/dist/Common/SegmentedControl/index.d.ts +1 -1
  12. package/dist/Common/SegmentedControl/types.d.ts +12 -8
  13. package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
  14. package/dist/Common/index.d.ts +0 -1
  15. package/dist/Pages/ResourceBrowser/service.d.ts +3 -2
  16. package/dist/Pages/ResourceBrowser/types.d.ts +5 -0
  17. package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +0 -1
  18. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.d.ts +1 -0
  19. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/index.d.ts +1 -0
  20. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/utils.d.ts +6 -0
  21. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/index.d.ts +1 -0
  22. package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +1 -1
  23. package/dist/Pages-Devtron-2.0/index.d.ts +1 -0
  24. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +1 -1
  25. package/dist/Shared/Components/Button/Button.component.d.ts +12 -12
  26. package/dist/Shared/Components/Charts/Chart.component.d.ts +25 -8
  27. package/dist/Shared/Components/Charts/constants.d.ts +1 -0
  28. package/dist/Shared/Components/Charts/index.d.ts +1 -1
  29. package/dist/Shared/Components/Charts/plugins.d.ts +4 -1
  30. package/dist/Shared/Components/Charts/types.d.ts +27 -18
  31. package/dist/Shared/Components/Charts/utils.d.ts +4 -44
  32. package/dist/Shared/Components/DocLink/constants.d.ts +2 -1
  33. package/dist/Shared/Components/Icon/Icon.d.ts +10 -22
  34. package/dist/Shared/Components/Security/constants.d.ts +2 -0
  35. package/dist/Shared/Components/Security/index.d.ts +1 -0
  36. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  37. package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
  38. package/dist/Shared/Components/SelectPicker/type.d.ts +3 -1
  39. package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +3 -3
  40. package/dist/Shared/Helpers.d.ts +10 -1
  41. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -2
  42. package/dist/Shared/Providers/MainContextProvider/types.d.ts +0 -1
  43. package/dist/Shared/Services/common.service.d.ts +3 -2
  44. package/dist/Shared/Services/types.d.ts +4 -1
  45. package/dist/Shared/validations.d.ts +1 -1
  46. package/dist/assets/@code-editor.css +1 -1
  47. package/dist/assets/ic-bg-backup-schedule.9ef9bc39.svg +19 -0
  48. package/dist/assets/ic-bg-backups.396e99bd.svg +19 -0
  49. package/dist/assets/ic-bg-pause-schedule.6edcc1d4.svg +14 -0
  50. package/dist/assets/ic-bg-ransomware-vulnerable-cluster.1b25a5d0.svg +7 -0
  51. package/dist/assets/ic-bg-restore.4fa13869.svg +33 -0
  52. package/dist/assets/ic-bg-storage-locations.894070b0.svg +22 -0
  53. package/dist/assets/ic-coins-color-animated.fe11cdc3.svg +112 -0
  54. package/dist/assets/ic-security-fixable.168b5bf8.svg +12 -0
  55. package/dist/assets/ic-security-not-fixable.be099f65.svg +12 -0
  56. package/dist/assets/ic-security-vulnerability.c954b87a.svg +4 -0
  57. package/dist/index.d.ts +0 -2
  58. package/dist/index.js +1017 -992
  59. package/package.json +3 -1
  60. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Overview/Overview.d.ts +0 -1
  61. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Overview/index.d.ts +0 -1
  62. package/dist/Pages-Devtron-2.0/SecurityCenter/Overview/Overview.d.ts +0 -1
  63. package/dist/Pages-Devtron-2.0/SecurityCenter/Overview/index.d.ts +0 -1
  64. package/dist/assets/ic-arrow-white.be4aea3f.svg +0 -3
  65. package/dist/assets/ic-book-gear.bb9bca1f.svg +0 -9
  66. package/dist/assets/ic-bulb.3906a732.svg +0 -7
  67. package/dist/assets/ic-check-green.b03d325d.svg +0 -3
  68. package/dist/assets/ic-circle-progress.0875625d.svg +0 -6
  69. package/dist/assets/ic-close-circle-red.72e0a495.svg +0 -3
  70. package/dist/assets/ic-close-circle.b39dd87d.svg +0 -3
  71. package/dist/assets/ic-confirm.f6b1c31c.svg +0 -3
  72. package/dist/assets/ic-dot-circle.5ce1fccf.svg +0 -3
  73. package/dist/assets/ic-failure-color.e167df98.svg +0 -4
  74. package/dist/assets/ic-info-filled-new.28815384.svg +0 -8
  75. package/dist/assets/ic-line.4e8fa046.svg +0 -3
  76. package/dist/assets/ic-new-chat.f7c90f8e.svg +0 -5
  77. package/dist/assets/ic-pencil-white.369e78d9.svg +0 -3
  78. package/dist/assets/ic-piggybank.3a4839d7.svg +0 -3
  79. package/dist/assets/ic-priority-high-fill.53755d8f.svg +0 -3
  80. package/dist/assets/ic-priority-low-fill.79e781ae.svg +0 -4
  81. package/dist/assets/ic-priority-urgent-fill.78d42fa0.svg +0 -10
  82. package/dist/assets/ic-red-bulb.25e01bfc.svg +0 -9
  83. package/dist/assets/ic-spider.99b77bd8.svg +0 -3
  84. package/dist/assets/ic-timer-green.00bf295e.svg +0 -3
  85. package/dist/assets/ic-timer-red.656bee16.svg +0 -3
@@ -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,11 +90,12 @@ 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";
97
96
  readonly RELEASE_HUB: "usage/software-distribution-hub/release-hub";
98
97
  readonly TENANTS: "usage/software-distribution-hub/tenants#adding-installation";
99
98
  readonly TENANTS_INSTALLATION: "usage/software-distribution-hub/tenants";
99
+ readonly AUTOSCALER_DETECTION: "user-guide/infra-management/infrastructure-overview#troubleshooting-autoscaler-detection";
100
+ readonly COST_CALCULATION: "user-guide/finops/overview-cost-visibility#how-is-the-cost-calculated";
100
101
  };
@@ -18,7 +18,6 @@ export declare const iconMap: {
18
18
  'ic-arrow-line-down': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
19
19
  'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
20
20
  'ic-arrow-square-out': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
21
- 'ic-arrow-white': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
22
21
  'ic-arrows-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
23
22
  'ic-arrows-left-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
24
23
  'ic-asterisk': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -31,19 +30,24 @@ export declare const iconMap: {
31
30
  'ic-backup-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
32
31
  'ic-backup-location': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
33
32
  'ic-backup-schedule-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
33
+ 'ic-bg-backup-schedule': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
34
+ 'ic-bg-backups': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
34
35
  'ic-bg-build': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
35
36
  'ic-bg-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
36
37
  'ic-bg-cpu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
37
38
  'ic-bg-deploy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
38
39
  'ic-bg-environment': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
39
40
  'ic-bg-memory': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
41
+ 'ic-bg-pause-schedule': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
40
42
  'ic-bg-production-pipelines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
41
43
  'ic-bg-project': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
44
+ 'ic-bg-ransomware-vulnerable-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
45
+ 'ic-bg-restore': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
42
46
  'ic-bg-scan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
47
+ 'ic-bg-storage-locations': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
43
48
  'ic-bg-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
44
49
  'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
45
50
  'ic-bitbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
46
- 'ic-book-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
47
51
  'ic-book-open': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
48
52
  'ic-bot': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
49
53
  'ic-brain': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -51,7 +55,6 @@ export declare const iconMap: {
51
55
  'ic-bug': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
52
56
  'ic-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
53
57
  'ic-building': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
54
- 'ic-bulb': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
55
58
  'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
56
59
  'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
57
60
  'ic-card-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -64,20 +67,16 @@ export declare const iconMap: {
64
67
  'ic-chat-circle-online': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
65
68
  'ic-check-all': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
66
69
  'ic-check-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
67
- 'ic-check-green': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
68
70
  'ic-check-square': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
69
71
  'ic-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
70
72
  'ic-checks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
71
73
  'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
72
74
  'ic-circle-loader': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
73
75
  'ic-circle-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
74
- 'ic-circle-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
75
76
  'ic-clean-brush': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
76
77
  'ic-clipboard': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
77
78
  'ic-clock-counterclockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
78
79
  '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
80
  'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
82
81
  'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
83
82
  'ic-cloud-upload': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -85,8 +84,8 @@ export declare const iconMap: {
85
84
  'ic-cluster-isolated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
86
85
  'ic-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
87
86
  'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
87
+ 'ic-coins-color-animated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
88
88
  'ic-coins': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
89
- 'ic-confirm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
90
89
  'ic-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
91
90
  'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
92
91
  'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -114,7 +113,6 @@ export declare const iconMap: {
114
113
  'ic-disconnect': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
115
114
  'ic-discord-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
116
115
  'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
117
- 'ic-dot-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
118
116
  'ic-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
119
117
  'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
120
118
  'ic-edit-lines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -128,7 +126,6 @@ export declare const iconMap: {
128
126
  'ic-error': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
129
127
  'ic-expand-right-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
130
128
  'ic-expand-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
131
- 'ic-failure-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
132
129
  'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
133
130
  'ic-fast-forward': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
134
131
  'ic-file-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -176,7 +173,6 @@ export declare const iconMap: {
176
173
  'ic-hibernate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
177
174
  'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
178
175
  'ic-info-filled-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
179
- 'ic-info-filled-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
180
176
  'ic-info-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
181
177
  'ic-info-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
182
178
  'ic-infrastructure-management': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -194,7 +190,6 @@ export declare const iconMap: {
194
190
  'ic-lego': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
195
191
  'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
196
192
  'ic-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
197
- 'ic-line': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
198
193
  'ic-link': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
199
194
  'ic-linked-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
200
195
  'ic-list-bullets': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -217,7 +212,6 @@ export declare const iconMap: {
217
212
  'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
218
213
  'ic-more-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
219
214
  'ic-namespace': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
220
- 'ic-new-chat': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
221
215
  'ic-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
222
216
  'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
223
217
  'ic-oidc': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -234,18 +228,12 @@ export declare const iconMap: {
234
228
  'ic-path': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
235
229
  'ic-pause-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
236
230
  'ic-pause': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
237
- 'ic-pencil-white': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
238
231
  'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
239
- 'ic-piggybank': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
240
232
  '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
233
  'ic-priority-medium-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
244
- 'ic-priority-urgent-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
245
234
  'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
246
235
  'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
247
236
  'ic-ratings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
248
- 'ic-red-bulb': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
249
237
  'ic-release-hub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
250
238
  'ic-resize-handle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
251
239
  'ic-resource-browser': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -253,8 +241,11 @@ export declare const iconMap: {
253
241
  'ic-right-panel-collapse': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
254
242
  'ic-rocket-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
255
243
  'ic-rocket-launch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
244
+ 'ic-security-fixable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
245
+ 'ic-security-not-fixable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
256
246
  'ic-security-policy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
257
247
  'ic-security-scan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
248
+ 'ic-security-vulnerability': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
258
249
  'ic-selected': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
259
250
  'ic-shapes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
260
251
  'ic-shield-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -266,7 +257,6 @@ export declare const iconMap: {
266
257
  'ic-sparkle-ai-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
267
258
  'ic-sparkle-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
268
259
  'ic-speedometer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
269
- 'ic-spider': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
270
260
  'ic-spinny': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
271
261
  'ic-spray-can': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
272
262
  'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -295,8 +285,6 @@ export declare const iconMap: {
295
285
  'ic-thumb-down': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
296
286
  'ic-thumb-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
297
287
  '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
288
  'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
301
289
  'ic-traffic-signal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
302
290
  'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -1,2 +1,4 @@
1
+ import { Severity } from '../../types';
1
2
  import { SecurityConfigType } from './types';
2
3
  export declare const SECURITY_CONFIG: SecurityConfigType;
4
+ export declare const SEVERITY_LABEL_MAP: Record<Severity, string>;
@@ -1,3 +1,4 @@
1
+ export { SEVERITY_LABEL_MAP } from './constants';
1
2
  export * from './SecurityDetailsCards';
2
3
  export * from './SecurityModal';
3
4
  export * from './utils';
@@ -133,5 +133,5 @@ import { SelectPickerProps } from './type';
133
133
  * />
134
134
  * ```
135
135
  */
136
- declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, keyboardShortcut, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, menuPosition, variant, disableDescriptionEllipsis, multiSelectProps, isMulti, name, classNamePrefix, shouldRenderCustomOptions, isSearchable, selectRef: refFromConsumer, shouldMenuAlignRight, fullWidth, customSelectedOptionsCount, menuListFooterConfig, isCreatable, onCreateOption, closeMenuOnSelect: _closeMenuOnSelect, shouldShowNoOptionsMessage, shouldRenderTextArea, onKeyDown, shouldHideMenu, warningText, layout, ariaLabel, borderConfig, borderRadiusConfig, labelTippyCustomizedConfig, labelTooltipConfig, hideFormFieldInfo, autoFocus, showCheckboxForMultiSelect, ...props }: SelectPickerProps<OptionValue, IsMulti>) => JSX.Element;
136
+ declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, keyboardShortcut, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, menuPosition, variant, disableDescriptionEllipsis, isUserIdentifier, multiSelectProps, isMulti, name, classNamePrefix, shouldRenderCustomOptions, isSearchable, selectRef: refFromConsumer, shouldMenuAlignRight, fullWidth, customSelectedOptionsCount, menuListFooterConfig, isCreatable, onCreateOption, closeMenuOnSelect: _closeMenuOnSelect, shouldShowNoOptionsMessage, shouldRenderTextArea, onKeyDown, shouldHideMenu, warningText, layout, ariaLabel, borderConfig, borderRadiusConfig, labelTippyCustomizedConfig, labelTooltipConfig, hideFormFieldInfo, autoFocus, showCheckboxForMultiSelect, ...props }: SelectPickerProps<OptionValue, IsMulti>) => JSX.Element;
137
137
  export default SelectPicker;
@@ -7,7 +7,7 @@ export declare const SelectPickerClearIndicator: <OptionValue>(props: ClearIndic
7
7
  export declare const SelectPickerControl: <OptionValue>(props: ControlProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
8
8
  export declare const SelectPickerInput: <OptionValue>(props: InputProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
9
9
  export declare const SelectPickerValueContainer: <OptionValue, IsMulti extends boolean>({ showSelectedOptionsCount, customSelectedOptionsCount, ...props }: ValueContainerProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "showSelectedOptionsCount" | "customSelectedOptionsCount">) => JSX.Element;
10
- export declare const SelectPickerOption: <OptionValue, IsMulti extends boolean>({ disableDescriptionEllipsis, ...props }: OptionProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "disableDescriptionEllipsis">) => JSX.Element;
10
+ export declare const SelectPickerOption: <OptionValue, IsMulti extends boolean>({ disableDescriptionEllipsis, isUserIdentifier, ...props }: OptionProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "disableDescriptionEllipsis" | "isUserIdentifier">) => JSX.Element;
11
11
  export declare const SelectPickerMenuListFooter: ({ menuListFooterConfig, }: Required<Pick<SelectPickerProps, "menuListFooterConfig">>) => JSX.Element;
12
12
  export declare const SelectPickerMenuList: <OptionValue>(props: MenuListProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
13
13
  export declare const SelectPickerMultiValue: <OptionValue, IsMulti extends boolean>({ getIsOptionValid, ...props }: MultiValueProps<SelectPickerOptionType<OptionValue>, true> & Pick<SelectPickerProps<OptionValue, IsMulti>["multiSelectProps"], "getIsOptionValid">) => JSX.Element;
@@ -206,6 +206,7 @@ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boo
206
206
  shouldHideMenu?: boolean;
207
207
  } & (IsMulti extends true ? {
208
208
  isMulti: IsMulti | boolean;
209
+ isUserIdentifier?: boolean;
209
210
  multiSelectProps?: Partial<Pick<SelectProps<OptionValue, IsMulti>, 'customDisplayText'>> & {
210
211
  /**
211
212
  * If true, the group heading can be selected
@@ -223,11 +224,12 @@ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boo
223
224
  } : {
224
225
  isMulti?: never;
225
226
  multiSelectProps?: never;
227
+ isUserIdentifier?: never;
226
228
  });
227
229
  export type SelectPickerGroupHeadingProps<OptionValue> = GroupHeadingProps<SelectPickerOptionType<OptionValue>> & {
228
230
  isGroupHeadingSelectable: boolean;
229
231
  };
230
- export interface FilterSelectPickerProps extends Required<Pick<SelectPickerProps<number | string, true>, 'options' | 'isDisabled' | 'placeholder' | 'isLoading'>>, Pick<SelectPickerProps<number | string, true>, 'selectRef' | 'inputId' | 'menuPosition' | 'autoFocus' | 'shouldMenuAlignRight' | 'optionListError' | 'reloadOptionList' | 'getOptionValue' | 'isOptionDisabled' | 'onMenuClose' | 'menuIsOpen' | 'onKeyDown'> {
232
+ export interface FilterSelectPickerProps extends Required<Pick<SelectPickerProps<number | string, true>, 'options' | 'isDisabled' | 'placeholder' | 'isLoading'>>, Pick<SelectPickerProps<number | string, true>, 'selectRef' | 'inputId' | 'menuPosition' | 'autoFocus' | 'shouldMenuAlignRight' | 'optionListError' | 'reloadOptionList' | 'getOptionValue' | 'isOptionDisabled' | 'onMenuClose' | 'menuIsOpen' | 'onKeyDown' | 'isUserIdentifier'> {
231
233
  appliedFilterOptions: SelectPickerOptionType[];
232
234
  handleApplyFilter: (filtersToApply: SelectPickerOptionType<number | string>[]) => void;
233
235
  }
@@ -16,10 +16,10 @@ export declare const getSwitchToWebhookPayload: (changeCIPayload: ChangeCIPayloa
16
16
  export declare const getCurrentPipelineType: ({ workflows, changeCIPayload, }: Required<Pick<WorkflowOptionsModalProps, "workflows" | "changeCIPayload">>) => SourceTypeCardProps["type"];
17
17
  export declare const getBuildWorkflowCardsConfig: ({ currentPipelineType, changeCIPayload, isAppGroup, }: {
18
18
  currentPipelineType: CIPipelineNodeType | WorkflowNodeType.WEBHOOK;
19
- } & Required<Pick<WorkflowOptionsModalProps, "changeCIPayload" | "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "dataTestId" | "disabled" | "type" | "subtitle" | "icons">[];
19
+ } & Required<Pick<WorkflowOptionsModalProps, "changeCIPayload" | "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "disabled" | "dataTestId" | "type" | "subtitle" | "icons">[];
20
20
  export declare const getReceiveWorkflowCardsConfig: ({ currentPipelineType, linkedCDSourceVariant, isAppGroup, }: {
21
21
  currentPipelineType: CIPipelineNodeType | WorkflowNodeType.WEBHOOK;
22
- } & Required<Pick<WorkflowOptionsModalProps, "linkedCDSourceVariant" | "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "dataTestId" | "disabled" | "type" | "subtitle" | "icons">[];
22
+ } & Required<Pick<WorkflowOptionsModalProps, "linkedCDSourceVariant" | "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "disabled" | "dataTestId" | "type" | "subtitle" | "icons">[];
23
23
  export declare const getJobWorkflowCardsConfig: ({ currentPipelineType, isAppGroup, }: {
24
24
  currentPipelineType: CIPipelineNodeType | WorkflowNodeType.WEBHOOK;
25
- } & Required<Pick<WorkflowOptionsModalProps, "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "dataTestId" | "disabled" | "type" | "subtitle" | "icons">[];
25
+ } & Required<Pick<WorkflowOptionsModalProps, "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "disabled" | "dataTestId" | "type" | "subtitle" | "icons">[];
@@ -104,5 +104,14 @@ 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
+ /**
109
+ * Returns the human readable explanation of the expression
110
+ * NOTE: expectation is that the expression is valid
111
+ *
112
+ * @throws Error - if given expression is incorrect
113
+ * @param expression
114
+ * @returns string - helper text explaining the expression in a human readable format
115
+ */
116
+ export declare const explainCronExpression: (expression: string) => string;
108
117
  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
- export declare const getClusterOptions: () => Promise<ClusterType[]>;
8
+ export declare const getClusterOptions: (signal?: AbortSignal) => 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 {};
@@ -61,4 +61,4 @@ export declare const validateCMVolumeMountPath: (value: string) => {
61
61
  export declare const validateYAML: (yamlString: string, isRequired?: boolean) => ValidationResponseType;
62
62
  export declare const validateEmail: (email: string) => ValidationResponseType;
63
63
  export declare const getIsRegexValid: (regexString: string) => ValidationResponseType;
64
- export declare const validateCronExpression: (cron: string) => ValidationResponseType;
64
+ export declare const validateCronExpression: (expression: string) => ValidationResponseType;