@devtron-labs/devtron-fe-common-lib 1.20.3-pre-10 → 1.20.4-pre-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{@code-editor-DSCCeHlr.js → @code-editor-cEeqCE4Q.js} +7450 -7891
- package/dist/{@common-rjsf-BuYoyjSG.js → @common-rjsf-LytvGdGR.js} +18 -18
- package/dist/{@framer-motion-DMkBQPN0.js → @framer-motion-D-YaCAW-.js} +1 -1
- package/dist/{@react-dates-BjZWpiVv.js → @react-dates-Bo3yT8LF.js} +1 -1
- package/dist/{@react-select-DtwlfcIG.js → @react-select-DTi_5fIc.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-M81Af3Qs.js → @react-virtualized-sticky-tree-CuvDiqTo.js} +1 -1
- package/dist/{@vendor-DceGoESd.js → @vendor-DMIFbFhR.js} +14363 -14522
- package/dist/Common/API/CoreAPI.d.ts +6 -1
- package/dist/Common/API/index.d.ts +1 -1
- package/dist/Common/Common.service.d.ts +1 -2
- package/dist/Common/Constants.d.ts +5 -1
- package/dist/Common/Types.d.ts +1 -38
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +3 -3
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/PageHeader.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/constants.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/types.d.ts +12 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/utils.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +0 -20
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +1 -0
- package/dist/Shared/Components/ActionMenu/types.d.ts +0 -1
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +1 -1
- package/dist/Shared/Components/Charts/constants.d.ts +11 -3
- package/dist/Shared/Components/Charts/index.d.ts +1 -2
- package/dist/Shared/Components/Charts/plugins.d.ts +3 -2
- package/dist/Shared/Components/Charts/types.d.ts +26 -51
- package/dist/Shared/Components/Charts/utils.d.ts +6 -64
- package/dist/Shared/Components/ConfirmationModal/ForceDeleteConfirmationModal.d.ts +1 -1
- package/dist/Shared/Components/ConfirmationModal/types.d.ts +1 -1
- package/dist/Shared/Components/DocLink/constants.d.ts +0 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +2 -8
- package/dist/Shared/Components/Icon/types.d.ts +1 -1
- package/dist/Shared/Components/Illustration/Illustration.d.ts +0 -1
- package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +1 -1
- package/dist/Shared/Components/PrometheusConfigurations/types.d.ts +1 -0
- package/dist/Shared/Components/SelectPicker/GroupedFilterSelectPicker.example.d.ts +0 -0
- package/dist/Shared/Components/Table/types.d.ts +4 -6
- package/dist/Shared/Components/index.d.ts +0 -2
- package/dist/Shared/Helpers.d.ts +0 -1
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/{ic-bg-build.8609d0ea.svg → ic-bg-build.7de825b3.svg} +1 -1
- package/dist/assets/{ic-bg-production-pipelines.2951cdc0.svg → ic-bg-production-pipelines.5965401c.svg} +2 -3
- package/dist/assets/{ic-priority-medium-fill.7bab0ff8.svg → ic-graph-negative.d49ba2b7.svg} +2 -2
- package/dist/assets/ic-new-chat.f7c90f8e.svg +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1018 -1005
- package/package.json +1 -3
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/constants.d.ts +0 -4
- package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +0 -3
- package/dist/Shared/Components/ClusterStatusIcon/index.d.ts +0 -1
- package/dist/Shared/Components/ClusterStatusIcon/types.d.ts +0 -5
- package/dist/Shared/Components/ClusterStatusIcon/utils.d.ts +0 -2
- package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +0 -3
- package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +0 -3
- package/dist/Shared/Components/ExportToCsv/index.d.ts +0 -2
- package/dist/Shared/Components/ExportToCsv/types.d.ts +0 -64
- package/dist/assets/ic-arrow-line-down.b6a98848.svg +0 -3
- package/dist/assets/ic-bg-webhook.b455152d.svg +0 -13
- package/dist/assets/ic-edit-lines.57927b07.svg +0 -3
- package/dist/assets/ic-file-download.ca57c068.svg +0 -5
- package/dist/assets/ic-gift-animated.d848dfa3.svg +0 -1
- package/dist/assets/ic-ratings.a1d31244.svg +0 -13
- package/dist/assets/ic-success-blue.7b3a2720.svg +0 -4
- package/dist/assets/img-devtron-freemium.d0657c61.webp +0 -0
- /package/dist/Pages-Devtron-2.0/{ApplicationManagement → InfrastructureManagement}/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +0 -0
- /package/dist/Pages-Devtron-2.0/{ApplicationManagement → InfrastructureManagement}/Shared/ApplicationManagementIcon/index.d.ts +0 -0
- /package/dist/Pages-Devtron-2.0/{ApplicationManagement → InfrastructureManagement}/Shared/ApplicationManagementIcon/utils.d.ts +0 -0
@@ -6,6 +6,12 @@ declare class CoreAPI {
|
|
6
6
|
host: string;
|
7
7
|
timeout: number;
|
8
8
|
constructor({ handleLogout, host, timeout, handleRedirectToLicenseActivation }: CoreAPIConstructorParamsType);
|
9
|
+
/**
|
10
|
+
* Constructs the final URL by detecting service paths and applying appropriate routing
|
11
|
+
* @param url - The endpoint URL
|
12
|
+
* @returns The final URL with correct base path
|
13
|
+
*/
|
14
|
+
private constructUrl;
|
9
15
|
private fetchAPI;
|
10
16
|
/**
|
11
17
|
* Merges multiple AbortSignals into a single AbortSignal that aborts
|
@@ -24,6 +30,5 @@ declare class CoreAPI {
|
|
24
30
|
patch: <T = any, K = object>(url: string, data: K, options?: APIOptions) => Promise<ResponseType<T>>;
|
25
31
|
get: <T = any>(url: string, options?: APIOptions) => Promise<ResponseType<T>>;
|
26
32
|
trash: <T = any, K = object>(url: string, data?: K, options?: APIOptions) => Promise<ResponseType<T>>;
|
27
|
-
setGlobalAPITimeout: (timeout: number) => void;
|
28
33
|
}
|
29
34
|
export default CoreAPI;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const post: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions, isMultipartRequest?: boolean) => Promise<import('..').ResponseType<T>>, put: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, patch: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, get: <T = any>(url: string, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, trash: <T = any, K = object>(url: string, data?: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T
|
1
|
+
export declare const post: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions, isMultipartRequest?: boolean) => Promise<import('..').ResponseType<T>>, put: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, patch: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, get: <T = any>(url: string, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, trash: <T = any, K = object>(url: string, data?: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>;
|
2
2
|
export { default as CoreAPI } from './CoreAPI';
|
3
3
|
export { QueryClientProvider } from './QueryClientProvider';
|
4
4
|
export * from './reactQueryHooks';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { MutableRefObject } from 'react';
|
2
2
|
import { RuntimeParamsAPIResponseType, RuntimePluginVariables } from '../Shared/types';
|
3
|
-
import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole, APIOptions, EnvAppsMetaDTO, GetAppsInfoForEnvProps, EnvironmentsGroupedByClustersType, AppsGroupedByProjectsType
|
3
|
+
import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole, APIOptions, EnvAppsMetaDTO, GetAppsInfoForEnvProps, EnvironmentsGroupedByClustersType, AppsGroupedByProjectsType } from './Types';
|
4
4
|
import { ApiResourceType } from '../Pages';
|
5
5
|
export declare const getTeamListMin: () => Promise<TeamList>;
|
6
6
|
export declare const SourceTypeMap: {
|
@@ -38,4 +38,3 @@ export declare const getGlobalVariables: ({ appId, isCD, abortControllerRef, }:
|
|
38
38
|
export declare const getAppsInfoForEnv: ({ envId, appIds }: GetAppsInfoForEnvProps) => Promise<EnvAppsMetaDTO>;
|
39
39
|
export declare const getAppOptionsGroupedByProjects: () => Promise<AppsGroupedByProjectsType>;
|
40
40
|
export declare const getEnvironmentOptionsGroupedByClusters: () => Promise<EnvironmentsGroupedByClustersType>;
|
41
|
-
export declare const getDetailedClusterList: (clusterIds?: number[], signal?: AbortSignal) => Promise<ClusterDetailListType[]>;
|
@@ -1,6 +1,10 @@
|
|
1
1
|
import { SelectPickerOptionType } from '../Shared/Components';
|
2
2
|
export declare const FALLBACK_REQUEST_TIMEOUT = 60000;
|
3
3
|
export declare const Host: string;
|
4
|
+
export declare const SERVICE_PATHS: {
|
5
|
+
readonly ATHENA: "athena";
|
6
|
+
readonly ORCHESTRATOR: "orchestrator";
|
7
|
+
};
|
4
8
|
export declare const DOCUMENTATION_HOME_PAGE = "https://docs.devtron.ai";
|
5
9
|
export declare const DEVTRON_HOME_PAGE = "https://devtron.ai/";
|
6
10
|
export declare const DOCUMENTATION_VERSION = "/devtron/v1.7";
|
@@ -62,6 +66,7 @@ export declare const URLS: {
|
|
62
66
|
readonly APPLICATION_MANAGEMENT_PROJECTS: "/application-management/projects";
|
63
67
|
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS: "/application-management/configurations";
|
64
68
|
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_DEPLOYMENT_CHARTS: "/application-management/configurations/deployment-charts";
|
69
|
+
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_CATALOG_FRAMEWORK: "/application-management/configurations/catalog-framework";
|
65
70
|
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_SCOPED_VARIABLES: "/application-management/configurations/scoped-variables";
|
66
71
|
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_BUILD_INFRA: "/application-management/configurations/build-infra";
|
67
72
|
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_NOTIFICATIONS: "/application-management/configurations/notifications";
|
@@ -353,7 +358,6 @@ export declare const DATE_TIME_FORMATS: {
|
|
353
358
|
DD_MMM_YYYY_HH_MM: string;
|
354
359
|
DD_MMM_YYYY: string;
|
355
360
|
'DD/MM/YYYY': string;
|
356
|
-
DD_MMM: string;
|
357
361
|
};
|
358
362
|
export declare const SEMANTIC_VERSION_DOCUMENTATION_LINK = "https://semver.org/";
|
359
363
|
export declare const VULNERABILITIES_SORT_PRIORITY: {
|
package/dist/Common/Types.d.ts
CHANGED
@@ -4,8 +4,7 @@ import { UserGroupDTO } from '../Pages/GlobalConfigurations';
|
|
4
4
|
import { ImageComment, ReleaseTag } from './ImageTags.Types';
|
5
5
|
import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ComponentLayoutType, StatusType, DocLinkProps, DeploymentStrategyType, EnvironmentType } from '../Shared';
|
6
6
|
import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, RefVariableType, SortingOrder, TaskErrorObj, VariableTypeFormat } from '.';
|
7
|
-
import { IllustrationName
|
8
|
-
import { ClusterStatusType } from '../Pages/ResourceBrowser';
|
7
|
+
import { IllustrationName } from '../Shared/Components';
|
9
8
|
/**
|
10
9
|
* Generic response type object with support for overriding the result type
|
11
10
|
*
|
@@ -944,40 +943,4 @@ export type EnvironmentsGroupedByClustersType = {
|
|
944
943
|
clusterName: EnvironmentType['cluster'];
|
945
944
|
envList: EnvironmentType[];
|
946
945
|
}[];
|
947
|
-
export type ClusterCostModuleConfigPayload = {
|
948
|
-
enabled: true;
|
949
|
-
config?: Record<string, any>;
|
950
|
-
} | {
|
951
|
-
enabled: false;
|
952
|
-
config?: never;
|
953
|
-
};
|
954
|
-
interface ClusterCostModuleDetailsDTO extends Pick<ClusterCostModuleConfigPayload, 'enabled' | 'config'> {
|
955
|
-
installationStatus: 'Success' | 'Installing' | 'Upgrading' | 'NotInstalled' | 'Failed';
|
956
|
-
installationError?: string;
|
957
|
-
}
|
958
|
-
export interface ClusterDetailDTO {
|
959
|
-
category: ClusterEnvironmentCategoryType;
|
960
|
-
cluster_name: string;
|
961
|
-
description: string;
|
962
|
-
id: number;
|
963
|
-
insecureSkipTlsVerify: boolean;
|
964
|
-
installationId: number;
|
965
|
-
isProd: boolean;
|
966
|
-
isVirtualCluster: boolean;
|
967
|
-
server_url: string;
|
968
|
-
sshTunnelConfig: any;
|
969
|
-
prometheus_url: string;
|
970
|
-
proxyUrl: string;
|
971
|
-
toConnectWithSSHTunnel: boolean;
|
972
|
-
clusterStatus: ClusterStatusType;
|
973
|
-
costModuleConfig: ClusterCostModuleDetailsDTO;
|
974
|
-
}
|
975
|
-
export interface ClusterDetailListType extends Omit<ClusterDetailDTO, 'server_url' | 'cluster_name' | 'prometheus_url' | 'id' | 'category' | 'clusterStatus'> {
|
976
|
-
serverUrl: ClusterDetailDTO['server_url'];
|
977
|
-
clusterName: ClusterDetailDTO['cluster_name'];
|
978
|
-
prometheusUrl: ClusterDetailDTO['prometheus_url'];
|
979
|
-
clusterId: ClusterDetailDTO['id'];
|
980
|
-
category: SelectPickerOptionType;
|
981
|
-
status: ClusterStatusType;
|
982
|
-
}
|
983
946
|
export {};
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import { RefObject } from 'react';
|
2
|
-
import { FiltersTypeEnum, TableViewWrapperProps } from '../../Shared/Components';
|
1
|
+
import { ReactNode, RefObject } from 'react';
|
3
2
|
import { Nodes, NodeType } from '../../Shared/types';
|
4
3
|
export interface GVKType {
|
5
4
|
Group: string;
|
@@ -137,7 +136,8 @@ export interface GVKOptionValueType {
|
|
137
136
|
kind: string;
|
138
137
|
apiVersion: string;
|
139
138
|
}
|
140
|
-
export interface ResourceRecommenderActionMenuProps
|
139
|
+
export interface ResourceRecommenderActionMenuProps {
|
140
|
+
children: ReactNode;
|
141
141
|
lastScannedOn: string;
|
142
142
|
}
|
143
143
|
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const ApplicationManagementPageHeader: () => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './PageHeader';
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export type BreadcrumbKey = 'overview';
|
2
|
+
export interface BreadcrumbConfig {
|
3
|
+
key: BreadcrumbKey;
|
4
|
+
route: string;
|
5
|
+
heading: string;
|
6
|
+
}
|
7
|
+
export interface BreadcrumbAlias {
|
8
|
+
[key: string]: {
|
9
|
+
component: React.ReactNode;
|
10
|
+
linked: boolean;
|
11
|
+
} | null;
|
12
|
+
}
|
@@ -1 +1 @@
|
|
1
|
-
export * from './
|
1
|
+
export * from './PageHeader';
|
@@ -1,6 +1,3 @@
|
|
1
|
-
import { ReactNode } from 'react';
|
2
|
-
import { RJSFFormSchema } from '../../../Common/RJSF';
|
3
|
-
import { ClusterDetailListType } from '../../../Common/Types';
|
4
1
|
export declare enum CostBreakdownViewType {
|
5
2
|
CLUSTERS = "clusters",
|
6
3
|
ENVIRONMENTS = "environments",
|
@@ -12,20 +9,3 @@ export declare enum CostBreakdownItemViewParamsType {
|
|
12
9
|
VIEW = "view",
|
13
10
|
DETAIL = "detail"
|
14
11
|
}
|
15
|
-
type RenderClusterFormParamsType = {
|
16
|
-
clusterDetails: ClusterDetailListType;
|
17
|
-
handleClose: () => void;
|
18
|
-
handleSuccess: () => void;
|
19
|
-
};
|
20
|
-
export interface CostVisibilityRenderContextType {
|
21
|
-
renderClusterForm: (params: RenderClusterFormParamsType) => JSX.Element;
|
22
|
-
}
|
23
|
-
export interface CostVisibilityRenderProviderProps extends CostVisibilityRenderContextType {
|
24
|
-
children: ReactNode;
|
25
|
-
}
|
26
|
-
export type ClusterProviderType = 'AWS' | 'GCP' | 'Azure' | 'Alibaba' | 'Scaleway' | 'Oracle' | 'OTC' | 'DigitalOcean' | 'Unknown';
|
27
|
-
export interface ClusterProviderDetailsType {
|
28
|
-
clusterProvider: ClusterProviderType;
|
29
|
-
costModuleSchema: RJSFFormSchema;
|
30
|
-
}
|
31
|
-
export {};
|
@@ -39,7 +39,6 @@ export type ActionMenuItemType<T extends string | number = string | number> = Om
|
|
39
39
|
trailingItem?: TrailingItemType;
|
40
40
|
/** Prevents the menu from closing when the item is clicked. */
|
41
41
|
doNotCloseMenuOnClick?: boolean;
|
42
|
-
dataAttributesId?: number;
|
43
42
|
} & ConditionalActionMenuComponentType;
|
44
43
|
export type ActionMenuOptionType<T extends string | number> = {
|
45
44
|
/**
|
@@ -64,7 +64,7 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
64
64
|
itemRef?: string;
|
65
65
|
results?: number;
|
66
66
|
unselectable?: "on" | "off";
|
67
|
-
inputMode?: "search" | "text" | "none" | "url" | "
|
67
|
+
inputMode?: "search" | "text" | "none" | "url" | "tel" | "email" | "numeric" | "decimal";
|
68
68
|
"aria-activedescendant"?: string;
|
69
69
|
"aria-atomic"?: boolean | "true" | "false";
|
70
70
|
"aria-autocomplete"?: "none" | "list" | "inline" | "both";
|
@@ -1,8 +1,16 @@
|
|
1
1
|
import { AppThemeType } from '../../Providers';
|
2
2
|
import { ChartColorKey } from './types';
|
3
|
+
export declare const LEGENDS_LABEL_CONFIG: {
|
4
|
+
readonly usePointStyle: true;
|
5
|
+
readonly pointStyle: "rectRounded";
|
6
|
+
readonly pointStyleWidth: 0;
|
7
|
+
readonly font: {
|
8
|
+
readonly family: "'IBM Plex Sans', 'Open Sans', 'Roboto'";
|
9
|
+
readonly size: 13;
|
10
|
+
readonly lineHeight: "150%";
|
11
|
+
readonly weight: 400;
|
12
|
+
};
|
13
|
+
};
|
3
14
|
export declare const CHART_COLORS: Record<AppThemeType, Record<ChartColorKey, string>>;
|
4
15
|
export declare const CHART_GRID_LINES_COLORS: Record<AppThemeType, string>;
|
5
|
-
export declare const CHART_AXIS_COLORS: Record<AppThemeType, string>;
|
6
|
-
export declare const CHART_AXIS_LABELS_COLOR: Record<AppThemeType, string>;
|
7
16
|
export declare const CHART_CANVAS_BACKGROUND_COLORS: Record<AppThemeType, string>;
|
8
|
-
export declare const LINE_DASH: number[];
|
@@ -1,4 +1,3 @@
|
|
1
1
|
export { default as Chart } from './Chart.component';
|
2
2
|
export { CHART_COLORS } from './constants';
|
3
|
-
export type { ChartColorKey, ChartProps, ChartType,
|
4
|
-
export { chartColorGenerator } from './utils';
|
3
|
+
export type { ChartColorKey, ChartProps, ChartType, SimpleDataset, SimpleDatasetForPie } from './types';
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { Plugin } from 'chart.js';
|
2
2
|
import { AppThemeType } from '../../Providers';
|
3
|
-
import {
|
4
|
-
export declare const
|
3
|
+
import { ChartType } from './types';
|
4
|
+
export declare const getAverageLinePlugin: (averageValue: number, appTheme: AppThemeType) => Plugin;
|
5
|
+
export declare const getSeparatorLinePlugin: (separatorIndex: number, chartType: ChartType, appTheme: AppThemeType) => Plugin;
|
@@ -1,11 +1,9 @@
|
|
1
|
-
import {
|
2
|
-
import { TooltipOptions, TooltipPositionerFunction } from 'chart.js';
|
3
|
-
import { TooltipProps } from '../../../Common/Tooltip';
|
1
|
+
import { ChartOptions } from 'chart.js';
|
4
2
|
import { AppThemeType } from '../../Providers';
|
5
3
|
import { Never } from '../../types';
|
6
4
|
export type ChartType = 'area' | 'pie' | 'stackedBar' | 'stackedBarHorizontal' | 'line';
|
7
|
-
|
8
|
-
|
5
|
+
type ColorTokensType = 'DeepPlum' | 'Magenta' | 'Slate' | 'Lavender' | 'SkyBlue' | 'AquaTeal' | 'LimeGreen' | 'CoralRed' | 'GoldenYellow' | 'CharcoalGray' | 'Gray';
|
6
|
+
type VariantsType = 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
|
9
7
|
export type ChartColorKey = `${ColorTokensType}${VariantsType}`;
|
10
8
|
export type ChartTypeWithoutPie = Exclude<ChartType, 'pie'>;
|
11
9
|
interface BaseSimpleDataset {
|
@@ -13,49 +11,41 @@ interface BaseSimpleDataset {
|
|
13
11
|
yAxisValues: number[];
|
14
12
|
}
|
15
13
|
export interface SimpleDataset extends BaseSimpleDataset {
|
16
|
-
|
17
|
-
isClickable?: boolean;
|
18
|
-
}
|
19
|
-
export interface SimpleDatasetForLineAndArea extends Omit<SimpleDataset, 'isClickable'> {
|
20
|
-
isDashed?: boolean;
|
14
|
+
backgroundColor: ChartColorKey;
|
21
15
|
}
|
22
16
|
export interface SimpleDatasetForPie extends BaseSimpleDataset {
|
23
|
-
|
24
|
-
isClickable?: boolean[];
|
17
|
+
backgroundColor: Array<ChartColorKey>;
|
25
18
|
}
|
26
|
-
export interface
|
27
|
-
|
28
|
-
color?: ChartColorKey;
|
29
|
-
value: number;
|
19
|
+
export interface SimpleDatasetForLine extends BaseSimpleDataset {
|
20
|
+
borderColor: ChartColorKey;
|
30
21
|
}
|
31
22
|
type XYAxisMax = {
|
32
23
|
xAxisMax?: number;
|
33
24
|
yAxisMax?: number;
|
34
|
-
/**
|
35
|
-
* Optional reference lines to draw across the chart
|
36
|
-
*/
|
37
|
-
referenceLines?: ReferenceLineConfigType[];
|
38
25
|
};
|
39
|
-
type
|
40
|
-
export type TypeAndDatasetsType = ({
|
26
|
+
type TypeAndDatasetsType = ({
|
41
27
|
type: 'pie';
|
42
28
|
/**
|
43
29
|
* Needs to be memoized
|
44
30
|
*/
|
45
31
|
datasets: SimpleDatasetForPie;
|
46
|
-
|
32
|
+
separatorIndex?: never;
|
33
|
+
averageLineValue?: never;
|
47
34
|
} & Never<XYAxisMax>) | ({
|
48
35
|
type: 'line';
|
49
|
-
datasets:
|
50
|
-
|
36
|
+
datasets: SimpleDatasetForLine[];
|
37
|
+
separatorIndex?: never;
|
38
|
+
averageLineValue?: number;
|
51
39
|
} & XYAxisMax) | ({
|
52
40
|
type: 'area';
|
53
|
-
datasets:
|
54
|
-
|
41
|
+
datasets: SimpleDataset[];
|
42
|
+
separatorIndex?: never;
|
43
|
+
averageLineValue?: number;
|
55
44
|
} & XYAxisMax) | ({
|
56
45
|
type: Exclude<ChartType, 'pie' | 'line' | 'area'>;
|
57
46
|
datasets: SimpleDataset[];
|
58
|
-
|
47
|
+
separatorIndex?: number;
|
48
|
+
averageLineValue?: never;
|
59
49
|
} & XYAxisMax);
|
60
50
|
export type ChartProps = {
|
61
51
|
id: string;
|
@@ -68,18 +58,10 @@ export type ChartProps = {
|
|
68
58
|
* @default false
|
69
59
|
*/
|
70
60
|
hideAxis?: boolean;
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
* @default 'top'
|
76
|
-
*/
|
77
|
-
placement?: TooltipProps['placement'];
|
78
|
-
};
|
79
|
-
/** A title for x axis */
|
80
|
-
xScaleTitle?: string;
|
81
|
-
/** A title for y axis */
|
82
|
-
yScaleTitle?: string;
|
61
|
+
/**
|
62
|
+
* Callback function for chart click events
|
63
|
+
*/
|
64
|
+
onChartClick?: ChartOptions['onClick'];
|
83
65
|
} & TypeAndDatasetsType;
|
84
66
|
export type TransformDatasetProps = {
|
85
67
|
appTheme: AppThemeType;
|
@@ -87,24 +69,17 @@ export type TransformDatasetProps = {
|
|
87
69
|
type: 'pie';
|
88
70
|
dataset: SimpleDatasetForPie;
|
89
71
|
} | {
|
90
|
-
type: 'line'
|
91
|
-
dataset:
|
72
|
+
type: 'line';
|
73
|
+
dataset: SimpleDatasetForLine;
|
92
74
|
} | {
|
93
|
-
type: Exclude<ChartType, 'pie' | 'line'
|
75
|
+
type: Exclude<ChartType, 'pie' | 'line'>;
|
94
76
|
dataset: SimpleDataset;
|
95
77
|
});
|
96
78
|
export type GetBackgroundAndBorderColorProps = TransformDatasetProps;
|
97
79
|
export type TransformDataForChartProps = {
|
98
80
|
appTheme: AppThemeType;
|
99
81
|
} & TypeAndDatasetsType;
|
100
|
-
export interface GetDefaultOptionsParams {
|
101
|
-
chartProps: ChartProps;
|
82
|
+
export interface GetDefaultOptionsParams extends Pick<ChartProps, 'hideAxis' | 'onChartClick' | 'type' | 'xAxisMax' | 'yAxisMax'> {
|
102
83
|
appTheme: AppThemeType;
|
103
|
-
externalTooltipHandler: TooltipOptions['external'];
|
104
|
-
}
|
105
|
-
declare module 'chart.js' {
|
106
|
-
interface TooltipPositionerMap {
|
107
|
-
barElementCenterPositioner: TooltipPositionerFunction<'bar'>;
|
108
|
-
}
|
109
84
|
}
|
110
85
|
export {};
|
@@ -1,70 +1,12 @@
|
|
1
|
-
import {
|
2
|
-
import { Chart, ChartDataset, ChartOptions, ChartType as ChartJSChartType, Point, TooltipOptions } from 'chart.js';
|
3
|
-
import { AppThemeType } from '../../Providers';
|
1
|
+
import { ChartDataset, ChartOptions, ChartType as ChartJSChartType } from 'chart.js';
|
4
2
|
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
3
|
export declare const getChartJSType: (type: ChartType) => ChartJSChartType;
|
47
|
-
export declare const getDefaultOptions: ({
|
4
|
+
export declare const getDefaultOptions: ({ type, appTheme, hideAxis, xAxisMax, yAxisMax, onChartClick, }: GetDefaultOptionsParams) => ChartOptions;
|
48
5
|
export declare const transformDataForChart: (props: TransformDataForChartProps) => (ChartDataset<"line"> | {
|
49
|
-
backgroundColor?: string | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableContext<"line">, options: import('chart.js/dist/types/basic').AnyObject) => import('chart.js').Color) | readonly (string | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern>)[];
|
50
|
-
borderColor?: string | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableContext<"line">, options: import('chart.js/dist/types/basic').AnyObject) => import('chart.js').Color) | readonly (string | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern>)[];
|
51
|
-
pointBackgroundColor?: string | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableContext<"line">, options: import('chart.js/dist/types/basic').AnyObject) => import('chart.js').Color) | readonly (string | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern>)[];
|
52
|
-
pointBorderColor?: string | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | ((ctx: import('chart.js').ScriptableContext<"line">, options: import('chart.js/dist/types/basic').AnyObject) => import('chart.js').Color) | readonly (string | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern>)[];
|
53
|
-
label: string;
|
54
|
-
data: number[];
|
55
|
-
} | {
|
56
|
-
backgroundColor: string[];
|
57
|
-
hoverBackgroundColor: string[];
|
58
|
-
borderColor: string;
|
59
|
-
label: string;
|
60
|
-
data: number[];
|
61
|
-
} | {
|
62
|
-
backgroundColor: string;
|
63
|
-
hoverBackgroundColor: string;
|
64
|
-
borderColor: string;
|
65
6
|
label: string;
|
66
7
|
data: number[];
|
8
|
+
backgroundColor: string | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | readonly (string | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern>)[] | ((ctx: import('chart.js').ScriptableContext<"line">, options: import('chart.js/dist/types/basic').AnyObject) => import('chart.js').Color);
|
9
|
+
borderColor: string | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | readonly (string | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern>)[] | ((ctx: import('chart.js').ScriptableContext<"line">, options: import('chart.js/dist/types/basic').AnyObject) => import('chart.js').Color);
|
10
|
+
pointBackgroundColor: string | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | readonly (string | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern>)[] | ((ctx: import('chart.js').ScriptableContext<"line">, options: import('chart.js/dist/types/basic').AnyObject) => import('chart.js').Color);
|
11
|
+
pointBorderColor: string | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern> | readonly (string | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasGradient> | import('chart.js/dist/types/utils')._DeepPartialObject<CanvasPattern>)[] | ((ctx: import('chart.js').ScriptableContext<"line">, options: import('chart.js/dist/types/basic').AnyObject) => import('chart.js').Color);
|
67
12
|
})[];
|
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>;
|
69
|
-
export declare const buildChartTooltipFromContext: ({ title, body, labelColors: labelColorsProp, }: Pick<Parameters<TooltipOptions["external"]>[0]["tooltip"], "title" | "body" | "labelColors">) => ReactNode;
|
70
|
-
export declare const distanceBetweenPoints: (pt1: Point, pt2: Point) => number;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { ForceDeleteConfirmationProps } from './types';
|
2
|
-
export declare const ForceDeleteConfirmationModal: ({ title, subtitle, onDelete, closeConfirmationModal,
|
2
|
+
export declare const ForceDeleteConfirmationModal: ({ title, subtitle, onDelete, closeConfirmationModal, }: ForceDeleteConfirmationProps) => JSX.Element;
|
@@ -135,7 +135,7 @@ export interface CannotDeleteModalProps extends Partial<Pick<DeleteConfirmationM
|
|
135
135
|
* This interface extends selected properties from `DeleteConfirmationModalProps`
|
136
136
|
* and `ConfirmationModalProps` to configure the force delete confirmation modal.
|
137
137
|
*/
|
138
|
-
export interface ForceDeleteConfirmationProps extends Partial<Pick<DeleteConfirmationModalProps, 'onDelete' | 'closeConfirmationModal'
|
138
|
+
export interface ForceDeleteConfirmationProps extends Partial<Pick<DeleteConfirmationModalProps, 'onDelete' | 'closeConfirmationModal'>>, Partial<Pick<ConfirmationModalProps, 'title' | 'subtitle'>> {
|
139
139
|
}
|
140
140
|
export interface ConfirmationModalContextType {
|
141
141
|
settersRef: MutableRefObject<{
|
@@ -86,7 +86,6 @@ export declare const DOCUMENTATION: {
|
|
86
86
|
readonly GLOBAL_CONFIG_PLUGINS_POLICY: "global-configurations/plugins-policy";
|
87
87
|
readonly GLOBAL_CONFIG_APPROVAL_POLICY: "global-configurations/approval-policy";
|
88
88
|
readonly GLOBAL_CONFIG_SSO_LOGIN_LDAP: "global-configurations/authorization/sso-login/ldap";
|
89
|
-
readonly GLOBAL_CONFIG_SSO_LOGIN_OIDC: "global-configurations/authorization/sso-login/oidc";
|
90
89
|
readonly GLOBAL_CONFIG_SSO_LOGIN_MICROSOFT: "global-configurations/authorization/sso-login/microsoft";
|
91
90
|
readonly GLOBAL_CONFIG_PULL_IMAGE_DIGEST: "global-configurations/pull-image-digest";
|
92
91
|
readonly GLOBAL_CONFIG_TAGS: "getting-started/global-configurations/tags-policy";
|
@@ -10,7 +10,6 @@ export declare const iconMap: {
|
|
10
10
|
'ic-app-template': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
11
11
|
'ic-argocd-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
12
12
|
'ic-arrow-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
13
|
-
'ic-arrow-line-down': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
14
13
|
'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
15
14
|
'ic-arrow-square-out': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
16
15
|
'ic-arrows-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -28,7 +27,6 @@ export declare const iconMap: {
|
|
28
27
|
'ic-bg-production-pipelines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
29
28
|
'ic-bg-project': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
30
29
|
'ic-bg-scan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
31
|
-
'ic-bg-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
32
30
|
'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
33
31
|
'ic-bitbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
34
32
|
'ic-book-open': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -93,7 +91,6 @@ export declare const iconMap: {
|
|
93
91
|
'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
94
92
|
'ic-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
95
93
|
'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
96
|
-
'ic-edit-lines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
97
94
|
'ic-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
98
95
|
'ic-email': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
99
96
|
'ic-enterprise-feat': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -107,7 +104,6 @@ export declare const iconMap: {
|
|
107
104
|
'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
108
105
|
'ic-fast-forward': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
109
106
|
'ic-file-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
110
|
-
'ic-file-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
111
107
|
'ic-file-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
112
108
|
'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
113
109
|
'ic-file': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -123,7 +119,6 @@ export declare const iconMap: {
|
|
123
119
|
'ic-folder': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
124
120
|
'ic-gavel': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
125
121
|
'ic-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
126
|
-
'ic-gift-animated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
127
122
|
'ic-gift-gradient': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
128
123
|
'ic-gift': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
129
124
|
'ic-git-branch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -135,6 +130,7 @@ export declare const iconMap: {
|
|
135
130
|
'ic-google-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
136
131
|
'ic-google-gke': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
137
132
|
'ic-google': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
133
|
+
'ic-graph-negative': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
138
134
|
'ic-grid-view': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
139
135
|
'ic-group-filter-applied': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
140
136
|
'ic-group-filter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -188,6 +184,7 @@ export declare const iconMap: {
|
|
188
184
|
'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
189
185
|
'ic-more-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
190
186
|
'ic-namespace': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
187
|
+
'ic-new-chat': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
191
188
|
'ic-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
192
189
|
'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
193
190
|
'ic-oidc': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -204,10 +201,8 @@ export declare const iconMap: {
|
|
204
201
|
'ic-pause-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
205
202
|
'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
206
203
|
'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
207
|
-
'ic-priority-medium-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
208
204
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
209
205
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
210
|
-
'ic-ratings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
211
206
|
'ic-resize-handle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
212
207
|
'ic-right-panel-collapse': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
213
208
|
'ic-rocket-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -236,7 +231,6 @@ export declare const iconMap: {
|
|
236
231
|
'ic-strategy-recreate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
237
232
|
'ic-strategy-rolling-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
238
233
|
'ic-strategy-rolling': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
239
|
-
'ic-success-blue': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
240
234
|
'ic-success': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
241
235
|
'ic-sun': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
242
236
|
'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -2,7 +2,6 @@ import { IllustrationBaseProps } from './types';
|
|
2
2
|
export declare const illustrationMap: {
|
3
3
|
'img-mechanical-operation': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
4
4
|
'img-code': string;
|
5
|
-
'img-devtron-freemium': string;
|
6
5
|
'img-man-on-rocket': string;
|
7
6
|
'img-no-result': string;
|
8
7
|
'no-cluster-cost-enabled': string;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { PromoetheusConfigProps } from './types';
|
2
|
-
declare const PromoetheusConfigCard: ({ prometheusConfig, handleOnChange, onPrometheusAuthTypeChange, }: PromoetheusConfigProps) => JSX.Element;
|
2
|
+
declare const PromoetheusConfigCard: ({ prometheusConfig, isCostPrometheus, handleOnChange, onPrometheusAuthTypeChange, }: PromoetheusConfigProps) => JSX.Element;
|
3
3
|
export default PromoetheusConfigCard;
|