@devtron-labs/devtron-fe-common-lib 1.20.2-pre-4 → 1.20.3-alpha-9
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-C2Lc4glz.js → @code-editor-C1qarmFO.js} +6992 -6669
- package/dist/{@common-rjsf-C_N83Sme.js → @common-rjsf-CgG-X3UG.js} +18 -18
- package/dist/{@framer-motion-D-YaCAW-.js → @framer-motion-DMkBQPN0.js} +1 -1
- package/dist/{@react-dates-Bo3yT8LF.js → @react-dates-BjZWpiVv.js} +1 -1
- package/dist/{@react-select-DTi_5fIc.js → @react-select-DtwlfcIG.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-CuvDiqTo.js → @react-virtualized-sticky-tree-M81Af3Qs.js} +1 -1
- package/dist/{@vendor-DMIFbFhR.js → @vendor-DceGoESd.js} +14522 -14363
- package/dist/Common/API/CoreAPI.d.ts +1 -0
- package/dist/Common/API/index.d.ts +1 -1
- package/dist/Common/Common.service.d.ts +2 -1
- package/dist/Common/Constants.d.ts +1 -1
- package/dist/Common/Types.d.ts +26 -1
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +3 -3
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +0 -1
- package/dist/Shared/Components/ActionMenu/types.d.ts +1 -0
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +1 -1
- package/dist/Shared/Components/Charts/constants.d.ts +3 -11
- package/dist/Shared/Components/Charts/index.d.ts +1 -1
- package/dist/Shared/Components/Charts/plugins.d.ts +2 -3
- package/dist/Shared/Components/Charts/types.d.ts +38 -24
- package/dist/Shared/Components/Charts/utils.d.ts +61 -6
- package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +3 -0
- package/dist/Shared/Components/ClusterStatusIcon/index.d.ts +1 -0
- package/dist/Shared/Components/ClusterStatusIcon/types.d.ts +5 -0
- package/dist/Shared/Components/ClusterStatusIcon/utils.d.ts +2 -0
- package/dist/Shared/Components/ConfirmationModal/ForceDeleteConfirmationModal.d.ts +1 -1
- package/dist/Shared/Components/ConfirmationModal/types.d.ts +1 -1
- package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +3 -0
- package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +3 -0
- package/dist/Shared/Components/ExportToCsv/index.d.ts +2 -0
- package/dist/Shared/Components/ExportToCsv/types.d.ts +64 -0
- package/dist/Shared/Components/Icon/Icon.d.ts +5 -1
- package/dist/Shared/Components/index.d.ts +2 -0
- package/dist/Shared/Helpers.d.ts +1 -0
- package/dist/assets/ic-arrow-line-down.b6a98848.svg +3 -0
- package/dist/assets/{ic-bg-build.7de825b3.svg → ic-bg-build.8609d0ea.svg} +1 -1
- package/dist/assets/{ic-bg-production-pipelines.5965401c.svg → ic-bg-production-pipelines.2951cdc0.svg} +3 -2
- package/dist/assets/ic-bg-webhook.b455152d.svg +13 -0
- package/dist/assets/ic-edit-lines.57927b07.svg +3 -0
- package/dist/assets/ic-file-download.ca57c068.svg +5 -0
- package/dist/assets/{ic-graph-negative.d49ba2b7.svg → ic-priority-medium-fill.7bab0ff8.svg} +2 -2
- package/dist/index.js +1003 -1018
- package/package.json +3 -1
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/PageHeader.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/constants.d.ts +0 -2
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/types.d.ts +0 -12
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/utils.d.ts +0 -2
- /package/dist/Pages-Devtron-2.0/{InfrastructureManagement → ApplicationManagement}/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +0 -0
- /package/dist/Pages-Devtron-2.0/{InfrastructureManagement → ApplicationManagement}/Shared/ApplicationManagementIcon/index.d.ts +0 -0
- /package/dist/Pages-Devtron-2.0/{InfrastructureManagement → ApplicationManagement}/Shared/ApplicationManagementIcon/utils.d.ts +0 -0
@@ -24,5 +24,6 @@ declare class CoreAPI {
|
|
24
24
|
patch: <T = any, K = object>(url: string, data: K, options?: APIOptions) => Promise<ResponseType<T>>;
|
25
25
|
get: <T = any>(url: string, options?: APIOptions) => Promise<ResponseType<T>>;
|
26
26
|
trash: <T = any, K = object>(url: string, data?: K, options?: APIOptions) => Promise<ResponseType<T>>;
|
27
|
+
setGlobalAPITimeout: (timeout: number) => void;
|
27
28
|
}
|
28
29
|
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>>, setGlobalAPITimeout: (timeout: number) => void;
|
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 } from './Types';
|
3
|
+
import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole, APIOptions, EnvAppsMetaDTO, GetAppsInfoForEnvProps, EnvironmentsGroupedByClustersType, AppsGroupedByProjectsType, ClusterDetailListType } from './Types';
|
4
4
|
import { ApiResourceType } from '../Pages';
|
5
5
|
export declare const getTeamListMin: () => Promise<TeamList>;
|
6
6
|
export declare const SourceTypeMap: {
|
@@ -38,3 +38,4 @@ 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[]>;
|
@@ -62,7 +62,6 @@ export declare const URLS: {
|
|
62
62
|
readonly APPLICATION_MANAGEMENT_PROJECTS: "/application-management/projects";
|
63
63
|
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS: "/application-management/configurations";
|
64
64
|
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_DEPLOYMENT_CHARTS: "/application-management/configurations/deployment-charts";
|
65
|
-
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_CATALOG_FRAMEWORK: "/application-management/configurations/catalog-framework";
|
66
65
|
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_SCOPED_VARIABLES: "/application-management/configurations/scoped-variables";
|
67
66
|
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_BUILD_INFRA: "/application-management/configurations/build-infra";
|
68
67
|
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_NOTIFICATIONS: "/application-management/configurations/notifications";
|
@@ -354,6 +353,7 @@ export declare const DATE_TIME_FORMATS: {
|
|
354
353
|
DD_MMM_YYYY_HH_MM: string;
|
355
354
|
DD_MMM_YYYY: string;
|
356
355
|
'DD/MM/YYYY': string;
|
356
|
+
DD_MMM: string;
|
357
357
|
};
|
358
358
|
export declare const SEMANTIC_VERSION_DOCUMENTATION_LINK = "https://semver.org/";
|
359
359
|
export declare const VULNERABILITIES_SORT_PRIORITY: {
|
package/dist/Common/Types.d.ts
CHANGED
@@ -4,7 +4,8 @@ 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 } from '../Shared/Components';
|
7
|
+
import { IllustrationName, SelectPickerOptionType } from '../Shared/Components';
|
8
|
+
import { ClusterStatusType } from '../Pages/ResourceBrowser';
|
8
9
|
/**
|
9
10
|
* Generic response type object with support for overriding the result type
|
10
11
|
*
|
@@ -943,4 +944,28 @@ export type EnvironmentsGroupedByClustersType = {
|
|
943
944
|
clusterName: EnvironmentType['cluster'];
|
944
945
|
envList: EnvironmentType[];
|
945
946
|
}[];
|
947
|
+
export interface ClusterDetailDTO {
|
948
|
+
category: ClusterEnvironmentCategoryType;
|
949
|
+
cluster_name: string;
|
950
|
+
description: string;
|
951
|
+
id: number;
|
952
|
+
insecureSkipTlsVerify: boolean;
|
953
|
+
installationId: number;
|
954
|
+
isProd: boolean;
|
955
|
+
isVirtualCluster: boolean;
|
956
|
+
server_url: string;
|
957
|
+
sshTunnelConfig: any;
|
958
|
+
prometheus_url: string;
|
959
|
+
proxyUrl: string;
|
960
|
+
toConnectWithSSHTunnel: boolean;
|
961
|
+
clusterStatus: ClusterStatusType;
|
962
|
+
}
|
963
|
+
export interface ClusterDetailListType extends Omit<ClusterDetailDTO, 'server_url' | 'cluster_name' | 'prometheus_url' | 'id' | 'category' | 'clusterStatus'> {
|
964
|
+
serverUrl: ClusterDetailDTO['server_url'];
|
965
|
+
clusterName: ClusterDetailDTO['cluster_name'];
|
966
|
+
prometheusUrl: ClusterDetailDTO['prometheus_url'];
|
967
|
+
clusterId: ClusterDetailDTO['id'];
|
968
|
+
category: SelectPickerOptionType;
|
969
|
+
status: ClusterStatusType;
|
970
|
+
}
|
946
971
|
export {};
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { RefObject } from 'react';
|
2
|
+
import { FiltersTypeEnum, TableViewWrapperProps } from '../../Shared/Components';
|
2
3
|
import { Nodes, NodeType } from '../../Shared/types';
|
3
4
|
export interface GVKType {
|
4
5
|
Group: string;
|
@@ -136,8 +137,7 @@ export interface GVKOptionValueType {
|
|
136
137
|
kind: string;
|
137
138
|
apiVersion: string;
|
138
139
|
}
|
139
|
-
export interface ResourceRecommenderActionMenuProps {
|
140
|
-
children: ReactNode;
|
140
|
+
export interface ResourceRecommenderActionMenuProps extends Pick<TableViewWrapperProps<K8sResourceDetailDataType, FiltersTypeEnum.URL>, 'filteredRows'> {
|
141
141
|
lastScannedOn: string;
|
142
142
|
}
|
143
143
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
export * from './
|
1
|
+
export * from './ApplicationManagementIcon';
|
@@ -39,6 +39,7 @@ 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;
|
42
43
|
} & ConditionalActionMenuComponentType;
|
43
44
|
export type ActionMenuOptionType<T extends string | number> = {
|
44
45
|
/**
|
@@ -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" | "decimal" | "tel" | "email" | "numeric";
|
68
68
|
"aria-activedescendant"?: string;
|
69
69
|
"aria-atomic"?: boolean | "true" | "false";
|
70
70
|
"aria-autocomplete"?: "none" | "list" | "inline" | "both";
|
@@ -1,16 +1,8 @@
|
|
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
|
-
};
|
14
3
|
export declare const CHART_COLORS: Record<AppThemeType, Record<ChartColorKey, string>>;
|
15
4
|
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>;
|
16
7
|
export declare const CHART_CANVAS_BACKGROUND_COLORS: Record<AppThemeType, string>;
|
8
|
+
export declare const LINE_DASH: number[];
|
@@ -1,4 +1,4 @@
|
|
1
1
|
export { default as Chart } from './Chart.component';
|
2
2
|
export { CHART_COLORS } from './constants';
|
3
|
-
export type { ChartColorKey, ChartProps, ChartType, SimpleDataset, SimpleDatasetForPie } from './types';
|
3
|
+
export type { ChartColorKey, ChartProps, ChartType, ReferenceLineConfigType, SimpleDataset, SimpleDatasetForPie, } from './types';
|
4
4
|
export { chartColorGenerator } from './utils';
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { Plugin } from 'chart.js';
|
2
2
|
import { AppThemeType } from '../../Providers';
|
3
|
-
import {
|
4
|
-
export declare const
|
5
|
-
export declare const getSeparatorLinePlugin: (separatorIndex: number, chartType: ChartType, appTheme: AppThemeType) => Plugin;
|
3
|
+
import { ReferenceLineConfigType } from './types';
|
4
|
+
export declare const drawReferenceLine: (config: ReferenceLineConfigType, id: string, appTheme: AppThemeType) => Plugin;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ReactNode } from 'react';
|
2
|
-
import {
|
2
|
+
import { TooltipOptions, TooltipPositionerFunction } from 'chart.js';
|
3
3
|
import { TooltipProps } from '../../../Common/Tooltip';
|
4
4
|
import { AppThemeType } from '../../Providers';
|
5
5
|
import { Never } from '../../types';
|
@@ -13,41 +13,49 @@ interface BaseSimpleDataset {
|
|
13
13
|
yAxisValues: number[];
|
14
14
|
}
|
15
15
|
export interface SimpleDataset extends BaseSimpleDataset {
|
16
|
-
|
16
|
+
color: ChartColorKey;
|
17
|
+
isClickable?: boolean;
|
18
|
+
}
|
19
|
+
export interface SimpleDatasetForLineAndArea extends Omit<SimpleDataset, 'isClickable'> {
|
20
|
+
isDashed?: boolean;
|
17
21
|
}
|
18
22
|
export interface SimpleDatasetForPie extends BaseSimpleDataset {
|
19
|
-
|
23
|
+
colors: Array<ChartColorKey>;
|
24
|
+
isClickable?: boolean[];
|
20
25
|
}
|
21
|
-
export interface
|
22
|
-
|
26
|
+
export interface ReferenceLineConfigType {
|
27
|
+
strokeWidth?: number;
|
28
|
+
color?: ChartColorKey;
|
29
|
+
value: number;
|
23
30
|
}
|
24
31
|
type XYAxisMax = {
|
25
32
|
xAxisMax?: number;
|
26
33
|
yAxisMax?: number;
|
34
|
+
/**
|
35
|
+
* Optional reference lines to draw across the chart
|
36
|
+
*/
|
37
|
+
referenceLines?: ReferenceLineConfigType[];
|
27
38
|
};
|
28
|
-
type
|
39
|
+
type OnChartClickHandler = (datasetName: string, value: number) => void;
|
40
|
+
export type TypeAndDatasetsType = ({
|
29
41
|
type: 'pie';
|
30
42
|
/**
|
31
43
|
* Needs to be memoized
|
32
44
|
*/
|
33
45
|
datasets: SimpleDatasetForPie;
|
34
|
-
|
35
|
-
averageLineValue?: never;
|
46
|
+
onChartClick?: OnChartClickHandler;
|
36
47
|
} & Never<XYAxisMax>) | ({
|
37
48
|
type: 'line';
|
38
|
-
datasets:
|
39
|
-
|
40
|
-
averageLineValue?: number;
|
49
|
+
datasets: SimpleDatasetForLineAndArea[];
|
50
|
+
onChartClick?: never;
|
41
51
|
} & XYAxisMax) | ({
|
42
52
|
type: 'area';
|
43
|
-
datasets:
|
44
|
-
|
45
|
-
averageLineValue?: number;
|
53
|
+
datasets: SimpleDatasetForLineAndArea;
|
54
|
+
onChartClick?: never;
|
46
55
|
} & XYAxisMax) | ({
|
47
56
|
type: Exclude<ChartType, 'pie' | 'line' | 'area'>;
|
48
57
|
datasets: SimpleDataset[];
|
49
|
-
|
50
|
-
averageLineValue?: number;
|
58
|
+
onChartClick?: OnChartClickHandler;
|
51
59
|
} & XYAxisMax);
|
52
60
|
export type ChartProps = {
|
53
61
|
id: string;
|
@@ -61,10 +69,6 @@ export type ChartProps = {
|
|
61
69
|
*/
|
62
70
|
hideAxis?: boolean;
|
63
71
|
hideXAxisLabels?: boolean;
|
64
|
-
/**
|
65
|
-
* Callback function for chart click events
|
66
|
-
*/
|
67
|
-
onChartClick?: ChartOptions['onClick'];
|
68
72
|
tooltipConfig?: {
|
69
73
|
getTooltipContent?: (args: Parameters<TooltipOptions['external']>[0]) => ReactNode;
|
70
74
|
/**
|
@@ -72,6 +76,10 @@ export type ChartProps = {
|
|
72
76
|
*/
|
73
77
|
placement?: TooltipProps['placement'];
|
74
78
|
};
|
79
|
+
/** A title for x axis */
|
80
|
+
xScaleTitle?: string;
|
81
|
+
/** A title for y axis */
|
82
|
+
yScaleTitle?: string;
|
75
83
|
} & TypeAndDatasetsType;
|
76
84
|
export type TransformDatasetProps = {
|
77
85
|
appTheme: AppThemeType;
|
@@ -79,18 +87,24 @@ export type TransformDatasetProps = {
|
|
79
87
|
type: 'pie';
|
80
88
|
dataset: SimpleDatasetForPie;
|
81
89
|
} | {
|
82
|
-
type: 'line';
|
83
|
-
dataset:
|
90
|
+
type: 'line' | 'area';
|
91
|
+
dataset: SimpleDatasetForLineAndArea;
|
84
92
|
} | {
|
85
|
-
type: Exclude<ChartType, 'pie' | 'line'>;
|
93
|
+
type: Exclude<ChartType, 'pie' | 'line' | 'area'>;
|
86
94
|
dataset: SimpleDataset;
|
87
95
|
});
|
88
96
|
export type GetBackgroundAndBorderColorProps = TransformDatasetProps;
|
89
97
|
export type TransformDataForChartProps = {
|
90
98
|
appTheme: AppThemeType;
|
91
99
|
} & TypeAndDatasetsType;
|
92
|
-
export interface GetDefaultOptionsParams
|
100
|
+
export interface GetDefaultOptionsParams {
|
101
|
+
chartProps: ChartProps;
|
93
102
|
appTheme: AppThemeType;
|
94
103
|
externalTooltipHandler: TooltipOptions['external'];
|
95
104
|
}
|
105
|
+
declare module 'chart.js' {
|
106
|
+
interface TooltipPositionerMap {
|
107
|
+
barElementCenterPositioner: TooltipPositionerFunction<'bar'>;
|
108
|
+
}
|
109
|
+
}
|
96
110
|
export {};
|
@@ -1,15 +1,70 @@
|
|
1
1
|
import { ReactNode } from 'react';
|
2
|
-
import { ChartDataset, ChartOptions, ChartType as ChartJSChartType, TooltipOptions } from 'chart.js';
|
2
|
+
import { Chart, ChartDataset, ChartOptions, ChartType as ChartJSChartType, Point, TooltipOptions } from 'chart.js';
|
3
|
+
import { AppThemeType } from '../../Providers';
|
3
4
|
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
|
+
};
|
4
46
|
export declare const getChartJSType: (type: ChartType) => ChartJSChartType;
|
5
|
-
export declare const getDefaultOptions: ({
|
47
|
+
export declare const getDefaultOptions: ({ chartProps, appTheme, externalTooltipHandler, }: GetDefaultOptionsParams) => ChartOptions;
|
6
48
|
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;
|
7
65
|
label: string;
|
8
66
|
data: number[];
|
9
|
-
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);
|
10
|
-
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);
|
11
|
-
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);
|
12
|
-
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);
|
13
67
|
})[];
|
14
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>;
|
15
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;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as ClusterStatusIcon } from './ClusterStatusIcon';
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { ForceDeleteConfirmationProps } from './types';
|
2
|
-
export declare const ForceDeleteConfirmationModal: ({ title, subtitle, onDelete, closeConfirmationModal, }: ForceDeleteConfirmationProps) => JSX.Element;
|
2
|
+
export declare const ForceDeleteConfirmationModal: ({ title, subtitle, onDelete, closeConfirmationModal, isDeleting, }: 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'>>, Partial<Pick<ConfirmationModalProps, 'title' | 'subtitle'>> {
|
138
|
+
export interface ForceDeleteConfirmationProps extends Partial<Pick<DeleteConfirmationModalProps, 'onDelete' | 'closeConfirmationModal' | 'isDeleting'>>, Partial<Pick<ConfirmationModalProps, 'title' | 'subtitle'>> {
|
139
139
|
}
|
140
140
|
export interface ConfirmationModalContextType {
|
141
141
|
settersRef: MutableRefObject<{
|
@@ -0,0 +1,3 @@
|
|
1
|
+
import { ExportToCsvProps } from './types';
|
2
|
+
declare const ExportToCsv: <HeaderItemType extends string>({ apiPromise, fileName, triggerElementConfig, disabled, modalConfig, headers, downloadRequestId, }: ExportToCsvProps<HeaderItemType>) => JSX.Element;
|
3
|
+
export default ExportToCsv;
|
@@ -0,0 +1,64 @@
|
|
1
|
+
import { ServerErrors } from '../../../Common/ServerError';
|
2
|
+
import { APIOptions } from '../../../Common/Types';
|
3
|
+
import { ButtonProps } from '../Button';
|
4
|
+
type TriggerElementConfigType = {
|
5
|
+
buttonProps: ButtonProps;
|
6
|
+
showOnlyIcon?: boolean;
|
7
|
+
customButton?: never;
|
8
|
+
isExternalTrigger?: false;
|
9
|
+
} | {
|
10
|
+
customButton: {
|
11
|
+
content: JSX.Element;
|
12
|
+
className: string;
|
13
|
+
};
|
14
|
+
buttonProps?: never;
|
15
|
+
showOnlyIcon?: false;
|
16
|
+
isExternalTrigger?: false;
|
17
|
+
} | {
|
18
|
+
isExternalTrigger: true;
|
19
|
+
showOnlyIcon?: false;
|
20
|
+
buttonProps?: never;
|
21
|
+
customButton?: never;
|
22
|
+
} | {
|
23
|
+
showOnlyIcon: true;
|
24
|
+
buttonProps?: never;
|
25
|
+
customButton?: never;
|
26
|
+
isExternalTrigger?: false;
|
27
|
+
};
|
28
|
+
export interface ExportToCsvProps<HeaderItemKeyType extends string> {
|
29
|
+
headers: {
|
30
|
+
label: string;
|
31
|
+
key: HeaderItemKeyType;
|
32
|
+
}[];
|
33
|
+
apiPromise: ({ signal, }: Pick<APIOptions, 'signal'>) => Promise<Record<HeaderItemKeyType, string | number | boolean>[]>;
|
34
|
+
fileName: string;
|
35
|
+
/**
|
36
|
+
* If nothing given will render a Button with "Export CSV" text
|
37
|
+
*/
|
38
|
+
triggerElementConfig?: TriggerElementConfigType;
|
39
|
+
/**
|
40
|
+
* @default false
|
41
|
+
*/
|
42
|
+
disabled?: boolean;
|
43
|
+
/**
|
44
|
+
* If not given would show default dialog
|
45
|
+
*/
|
46
|
+
modalConfig?: {
|
47
|
+
hideDialog: false;
|
48
|
+
renderCustomModal?: (proceedWithDownload: (shouldProceed: boolean) => void) => JSX.Element;
|
49
|
+
} | {
|
50
|
+
hideDialog: true;
|
51
|
+
renderCustomModal?: never;
|
52
|
+
};
|
53
|
+
/**
|
54
|
+
* If given, would trigger export on when this changes and has some value
|
55
|
+
*/
|
56
|
+
downloadRequestId?: string | number;
|
57
|
+
}
|
58
|
+
export interface ExportToCsvDialogProps {
|
59
|
+
isLoading: boolean;
|
60
|
+
exportDataError: ServerErrors;
|
61
|
+
initiateDownload: () => void;
|
62
|
+
handleCancelRequest: () => void;
|
63
|
+
}
|
64
|
+
export {};
|
@@ -10,6 +10,7 @@ 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>>;
|
13
14
|
'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
14
15
|
'ic-arrow-square-out': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
15
16
|
'ic-arrows-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -27,6 +28,7 @@ export declare const iconMap: {
|
|
27
28
|
'ic-bg-production-pipelines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
28
29
|
'ic-bg-project': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
29
30
|
'ic-bg-scan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
31
|
+
'ic-bg-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
30
32
|
'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
31
33
|
'ic-bitbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
32
34
|
'ic-book-open': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -91,6 +93,7 @@ export declare const iconMap: {
|
|
91
93
|
'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
92
94
|
'ic-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
93
95
|
'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
96
|
+
'ic-edit-lines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
94
97
|
'ic-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
95
98
|
'ic-email': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
96
99
|
'ic-enterprise-feat': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -104,6 +107,7 @@ export declare const iconMap: {
|
|
104
107
|
'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
105
108
|
'ic-fast-forward': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
106
109
|
'ic-file-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
110
|
+
'ic-file-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
107
111
|
'ic-file-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
108
112
|
'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
109
113
|
'ic-file': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -131,7 +135,6 @@ export declare const iconMap: {
|
|
131
135
|
'ic-google-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
132
136
|
'ic-google-gke': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
133
137
|
'ic-google': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
134
|
-
'ic-graph-negative': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
135
138
|
'ic-grid-view': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
136
139
|
'ic-group-filter-applied': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
137
140
|
'ic-group-filter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -201,6 +204,7 @@ export declare const iconMap: {
|
|
201
204
|
'ic-pause-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
202
205
|
'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
203
206
|
'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
207
|
+
'ic-priority-medium-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
204
208
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
205
209
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
206
210
|
'ic-ratings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -16,6 +16,7 @@ export * from './ButtonWithSelector';
|
|
16
16
|
export * from './Charts';
|
17
17
|
export * from './Chip';
|
18
18
|
export * from './CICDHistory';
|
19
|
+
export * from './ClusterStatusIcon';
|
19
20
|
export * from './CMCS';
|
20
21
|
export * from './CodeEditor';
|
21
22
|
export * from './Collapse';
|
@@ -37,6 +38,7 @@ export * from './EditImageFormField';
|
|
37
38
|
export * from './EnvironmentSelector';
|
38
39
|
export * from './Error';
|
39
40
|
export * from './ExcludedImageNode';
|
41
|
+
export * from './ExportToCsv';
|
40
42
|
export * from './FeatureDescription';
|
41
43
|
export * from './FileUpload';
|
42
44
|
export * from './FilterChips';
|
package/dist/Shared/Helpers.d.ts
CHANGED
@@ -104,4 +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
108
|
export {};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
2
2
|
<g clip-path="url(#a)">
|
3
|
-
<rect width="24" height="24" fill="
|
3
|
+
<rect width="24" height="24" fill="var(--O100)" rx="6"/>
|
4
4
|
<path fill="#8898A6" fill-rule="evenodd" d="M17.396 6.271 15.98 7.67a.452.452 0 0 0 0 .643l1.052 1.04c.18.177.47.177.65 0l1.416-1.4a.18.18 0 0 1 .298.08c.268.98.014 2.07-.764 2.838a2.986 2.986 0 0 1-3.13.672l-6.125 6.62a1.646 1.646 0 0 1-2.362.052 1.603 1.603 0 0 1 .06-2.343l6.713-5.984a2.902 2.902 0 0 1 .656-3.156 2.986 2.986 0 0 1 2.871-.755.175.175 0 0 1 .08.294Zm-9.679 10.79c0 .267.22.484.49.484s.49-.217.49-.485a.487.487 0 0 0-.49-.483c-.27 0-.49.216-.49.483Z" clip-rule="evenodd"/>
|
5
5
|
<path fill="#F4910D" fill-rule="evenodd" d="m8.355 10.166 1.679-1.659 8.104 8.011c.32.316.32.829 0 1.145l-.52.514a.826.826 0 0 1-1.158 0l-8.105-8.011Z" clip-rule="evenodd"/>
|
6
6
|
<path fill="#66757F" fill-rule="evenodd" d="m7.1 11.927.47-.465.044-.31a.485.485 0 0 1 .654-.38l2.098-2.074-.083-.655a1.49 1.49 0 0 1 .432-1.246 1.8 1.8 0 0 1 1.266-.518h.833c-1.312-1.296-2.55-1.368-3.716-.216L6.212 8.916a.826.826 0 0 1-.627.236L5.21 9.13l-.47.464a.803.803 0 0 0 0 1.145l1.201 1.188a.826.826 0 0 0 1.158 0Z" clip-rule="evenodd"/>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<rect width="24" height="24" fill="#E9FBF4" rx="6"/>
|
4
4
|
<path fill="#FF6B6B" d="M7.273 13.64c-1.055.055-2.858.653-2.684 1.903.44 3.172-3.027 4.19 1.588 4.19 2.321 0 3.785-1.018 4.006-3.155l-.627-2.423-2.283-.515Z"/>
|
5
5
|
<path fill="#FFC266" d="M8.103 14.479c-.49.025-1.327.303-1.247.884.205 1.473-1.406 1.946.738 1.946 1.078 0 1.759-.473 1.861-1.466l-.237-1.197-1.115-.168Z"/>
|
6
|
-
<path fill="#
|
6
|
+
<path fill="#C73232" d="M9.162 16.672c-.627 1.14-1.87 1.69-3.576 1.69-.668 0-1.167-.021-1.532-.067-.493 1.05-.733 1.44 2.123 1.44 2.321 0 3.785-1.019 4.006-3.156l-.527-.532-.18-.182a3.64 3.64 0 0 1-.052.182 1.569 1.569 0 0 1-.262.625Z"/>
|
7
7
|
<path fill="#FFB549" d="M8.964 15.349c-.23.712-.859 1.053-1.776 1.053a8.38 8.38 0 0 1-.47-.01c-.27.676-.657.918.876.918.715 0 1.255-.208 1.568-.638.125-.173.214-.38.262-.625a1.87 1.87 0 0 0 .031-.203l-.49-.495Z"/>
|
8
8
|
<path fill="#B6E9D3" d="m8.55 11.901-1.377.808c-.276.162-.23.597-.01.82l.11.11.83.84 1.352 1.364.728.735.38.383c.22.222.651.268.812-.01l.8-1.39-.905-3.519-2.72-.14Zm11.148-8.108c-.662-.122-1.867.006-3.335.508l.66 2.45 2.683.916c.5-1.491.625-2.713.498-3.376-.073-.387-.12-.426-.506-.498Z"/>
|
9
9
|
<path fill="#1DAD70" d="M12.14 6.521c-1.838-.67-3.26-.364-4.703.954-.67.65-1.783 1.504-.863 2.432l1.143 1.154 3.286-1.675L12.14 6.52Zm5.365 5.416-3.09 1.289-1.408 3.175 1.143 1.155c.92.928 1.766-.196 2.41-.871.667-.745 1.855-2.163.945-4.748Z"/>
|
@@ -11,7 +11,8 @@
|
|
11
11
|
<path fill="#7ACCAA" d="M19.49 3.765c.065.695-.08 1.815-.528 3.152l.744.75c.5-1.491.624-2.713.498-3.376-.073-.387-.12-.427-.506-.498a2.132 2.132 0 0 0-.208-.028Z"/>
|
12
12
|
<path fill="#D0D4D9" d="M18.7 7.634a16.87 16.87 0 0 1-1.94 3.553 18.227 18.227 0 0 1-1.27 1.59 18.82 18.82 0 0 1-1.566 1.559c-.511.452-1.064.893-1.66 1.315l.516.522.227.229a18.857 18.857 0 0 0 4.497-4.465 16.884 16.884 0 0 0 1.942-3.553c.096-.244.183-.484.26-.717l-.744-.75a13.42 13.42 0 0 1-.261.717Z"/>
|
13
13
|
<path fill="#7ACCAA" d="m11.268 14.646-.799 1.39c-.16.279-.592.233-.813.01l.527.533.38.383c.22.222.651.268.812-.01l.8-1.39-.907-.915Z"/>
|
14
|
-
<path fill="#168859" d="M17.504 11.937c-.151.213-.31.427-.476.64.215 1.812-.691 2.887-1.243 3.502-.529.554-1.192 1.41-1.922 1.187l.287.29c.92.928 1.766-.196 2.41-.871.667-.745 1.855-2.163.944-4.748ZM10.975 6.22A18.879 18.879 0 0 0 7 10.338l.718.725a18.877 18.877 0 0 1 4.422-4.54 5.755 5.755 0 0 0-1.164-.
|
14
|
+
<path fill="#168859" d="M17.504 11.937c-.151.213-.31.427-.476.64.215 1.812-.691 2.887-1.243 3.502-.529.554-1.192 1.41-1.922 1.187l.287.29c.92.928 1.766-.196 2.41-.871.667-.745 1.855-2.163.944-4.748ZM10.975 6.22A18.879 18.879 0 0 0 7 10.338l.718.725a18.877 18.877 0 0 1 4.422-4.54 5.755 5.755 0 0 0-1.164-.301Z"/>
|
15
|
+
<path fill="#95D199" d="m11.822 12.615-1.282 1.294h-.002l-.176-.177-.177-.179 1.281-1.292a.25.25 0 1 1 .356.354Z"/>
|
15
16
|
</g>
|
16
17
|
<defs>
|
17
18
|
<clipPath id="a">
|