@advt-gpt-chart/package 3.2.7 → 3.2.8
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/ChartWrapper/ChartHeader.d.ts +2 -1
- package/dist/Chart/ChartWrapper/ChartMenu.d.ts +2 -1
- package/dist/Charts/common/hooks/useDashLine.d.ts +2 -1
- package/dist/index.es.js +553 -531
- package/dist/index.es.js.gz +0 -0
- package/dist/index.umd.js +20 -20
- package/dist/index.umd.js.gz +0 -0
- package/dist/utils/downloadAsImage.d.ts +3 -3
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ export interface ChartHeaderProps {
|
|
|
4
4
|
isFullScreen?: boolean;
|
|
5
5
|
theme?: string;
|
|
6
6
|
setFullScreen: (fullscreen: boolean) => void;
|
|
7
|
+
containerRef?: React.RefObject<HTMLDivElement>;
|
|
7
8
|
}
|
|
8
|
-
declare function ChartHeader({ theme, isFullScreen, setFullScreen, dataSource }: ChartHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function ChartHeader({ theme, isFullScreen, setFullScreen, dataSource, containerRef }: ChartHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export { ChartHeader };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DataSource } from '../../DataView/DataSource/types';
|
|
2
2
|
interface ChartMenuProps {
|
|
3
3
|
dataSource?: DataSource | null;
|
|
4
|
+
containerRef?: React.RefObject<HTMLDivElement>;
|
|
4
5
|
}
|
|
5
|
-
declare const ChartMenu: ({ dataSource }: ChartMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare const ChartMenu: ({ dataSource, containerRef }: ChartMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export default ChartMenu;
|
|
@@ -17,8 +17,9 @@ import type { DashSegment } from '../types';
|
|
|
17
17
|
* });
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
|
-
export declare const useDashLine: ({ data, xField, yField, getFieldType, dashSegments, metrics, }: {
|
|
20
|
+
export declare const useDashLine: ({ data, actualData, xField, yField, getFieldType, dashSegments, metrics, }: {
|
|
21
21
|
data: any[];
|
|
22
|
+
actualData?: any[];
|
|
22
23
|
xField: string;
|
|
23
24
|
yField: string;
|
|
24
25
|
getFieldType?: (fieldName: string, value?: any) => GenericDataType | undefined;
|