@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.
@@ -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<({ className, chartStyle, components }: ChartContainerProps) => import("react/jsx-runtime").JSX.Element>;
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
  }[];
@@ -29,7 +29,6 @@ export interface DetailData {
29
29
  loading?: boolean;
30
30
  }
31
31
  export interface ChartControllersConfig extends ChartControllersState {
32
- dataFormat?: any;
33
32
  }
34
33
  export interface VizChartState {
35
34
  theme: string;