@advt-gpt-chart/package 3.0.5 → 3.0.7
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/Chart/ChartControllers/Filter/utils.d.ts +1 -0
- package/dist/Chart/ChartControllers/TimeRange/utils.d.ts +1 -0
- package/dist/Chart/ChartControllers/utils.d.ts +1 -1
- package/dist/Chart/ChartWrapper/ChartWrapper.d.ts +1 -1
- package/dist/Chart/Dataset/useDataset.d.ts +1 -1
- package/dist/GPTVis/hooks/useChartStore.d.ts +0 -1
- package/dist/index.es.js +24327 -24169
- package/dist/index.es.js.gz +0 -0
- package/dist/index.umd.js +704 -704
- package/dist/index.umd.js.gz +0 -0
- package/dist/version.d.ts +1 -1
- package/package.json +108 -107
|
@@ -33,6 +33,7 @@ export declare const conditionTypeOptions: {
|
|
|
33
33
|
export declare function findBasicFilterDataset(dimension: any, dimensions?: any[]): {
|
|
34
34
|
datasetName: any;
|
|
35
35
|
dimensionColumn: any;
|
|
36
|
+
englishName: any;
|
|
36
37
|
dimensionId: any;
|
|
37
38
|
} | null;
|
|
38
39
|
export declare const getFilters: (filters?: FilterItem[]) => {
|
|
@@ -55,6 +55,7 @@ export declare const getMql2TimeRange: (timeRange: TimeRange, dataSource: DataSo
|
|
|
55
55
|
to: any;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
|
+
export declare const formatCustomTimeRange: (timeRange?: TimeRange) => TimeRange | undefined;
|
|
58
59
|
export declare const emptyTimeRange: {
|
|
59
60
|
type: string;
|
|
60
61
|
basic: string;
|
|
@@ -33,7 +33,7 @@ export declare function handleMqlControlInfo(controlInfo: any, metricsInfo: any,
|
|
|
33
33
|
filters: any;
|
|
34
34
|
queryMetricOrgId: any;
|
|
35
35
|
};
|
|
36
|
-
export declare function getMeticsderivationMethods(metricsOptions: any[]): any
|
|
36
|
+
export declare function getMeticsderivationMethods(metricsOptions: any[]): any;
|
|
37
37
|
export declare function handleDeaultSelectedDisabledOptions(dimensionId: string, derivationMethod: any): {
|
|
38
38
|
defaultSelected: boolean;
|
|
39
39
|
defaultDisabled: boolean;
|
|
@@ -5,5 +5,5 @@ export interface ChartContainerProps {
|
|
|
5
5
|
className?: string;
|
|
6
6
|
chartStyle?: React.CSSProperties;
|
|
7
7
|
}
|
|
8
|
-
declare const _default: React.MemoExoticComponent<(
|
|
8
|
+
declare const _default: React.MemoExoticComponent<(props: ChartContainerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
9
9
|
export default _default;
|
|
@@ -64,7 +64,7 @@ export declare const transform2FillAndMegreData: (data: any[] | undefined, field
|
|
|
64
64
|
isColumnMegred: boolean;
|
|
65
65
|
megreColumnName: string | undefined;
|
|
66
66
|
};
|
|
67
|
-
export declare const mergeDataByDimensions: (data: Record<string, any>[], fieldInfo: FieldInfoItem[], type: ChartType, dimensions?: string[]) => {
|
|
67
|
+
export declare const mergeDataByDimensions: (data: Record<string, any>[], fieldInfo: FieldInfoItem[], type: ChartType, dimensions?: string[], metrics?: string[]) => {
|
|
68
68
|
data: {
|
|
69
69
|
[x: string]: any;
|
|
70
70
|
}[];
|