@antv/gpt-vis 0.0.1 → 0.0.3
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/README.md +3 -3
- package/dist/cjs/Area/index.js +61 -0
- package/dist/{ChartCodeRender → cjs/ChartCodeRender}/index.d.ts +2 -8
- package/dist/cjs/ChartCodeRender/index.js +121 -0
- package/dist/cjs/ChartCodeRender/type.d.ts +55 -0
- package/dist/cjs/ChartCodeRender/type.js +17 -0
- package/dist/cjs/Column/index.js +73 -0
- package/dist/cjs/GPTVis/index.d.ts +10 -0
- package/dist/cjs/GPTVis/index.js +56 -0
- package/dist/cjs/HeatMap/index.js +90 -0
- package/dist/cjs/Line/index.js +62 -0
- package/dist/cjs/PathMap/index.js +150 -0
- package/dist/cjs/Pie/index.js +72 -0
- package/dist/cjs/PinMap/index.js +125 -0
- package/dist/cjs/WordCloud/index.js +57 -0
- package/dist/cjs/constants/index.js +54 -0
- package/dist/cjs/index.d.ts +13 -0
- package/dist/cjs/index.js +65 -0
- package/dist/cjs/types/index.js +39 -0
- package/dist/esm/Area/index.d.ts +5 -0
- package/dist/esm/ChartCodeRender/index.css +19 -0
- package/dist/esm/ChartCodeRender/index.d.ts +10 -0
- package/dist/{ChartCodeRender → esm/ChartCodeRender}/index.js +8 -5
- package/dist/esm/ChartCodeRender/type.d.ts +55 -0
- package/dist/esm/Column/index.d.ts +5 -0
- package/dist/esm/GPTVis/index.d.ts +10 -0
- package/dist/{MarkdownVis → esm/GPTVis}/index.js +9 -5
- package/dist/esm/HeatMap/index.d.ts +12 -0
- package/dist/esm/Line/index.d.ts +5 -0
- package/dist/esm/PathMap/index.d.ts +12 -0
- package/dist/esm/Pie/index.d.ts +19 -0
- package/dist/esm/Pie/index.text.d.ts +0 -0
- package/dist/esm/Pie/index.text.js +0 -0
- package/dist/esm/PinMap/index.d.ts +12 -0
- package/dist/esm/PinMap/maker.svg +1 -0
- package/dist/esm/WordCloud/index.d.ts +11 -0
- package/dist/esm/constants/index.d.ts +2 -0
- package/dist/esm/constants/index.js +8 -0
- package/dist/esm/index.d.ts +13 -0
- package/dist/esm/index.js +18 -0
- package/dist/esm/types/index.d.ts +26 -0
- package/package.json +6 -5
- package/dist/ChartCodeRender/type.d.ts +0 -30
- package/dist/MarkdownVis/index.d.ts +0 -22
- package/dist/Message/index.d.ts +0 -18
- package/dist/Message/index.js +0 -14
- package/dist/constants/index.js +0 -11
- package/dist/index.d.ts +0 -12
- package/dist/index.js +0 -12
- /package/dist/{Area → cjs/Area}/index.d.ts +0 -0
- /package/dist/{ChartCodeRender/index.less → cjs/ChartCodeRender/index.css} +0 -0
- /package/dist/{Column → cjs/Column}/index.d.ts +0 -0
- /package/dist/{HeatMap → cjs/HeatMap}/index.d.ts +0 -0
- /package/dist/{Line → cjs/Line}/index.d.ts +0 -0
- /package/dist/{PathMap → cjs/PathMap}/index.d.ts +0 -0
- /package/dist/{Pie → cjs/Pie}/index.d.ts +0 -0
- /package/dist/{Pie → cjs/Pie}/index.text.d.ts +0 -0
- /package/dist/{Pie → cjs/Pie}/index.text.js +0 -0
- /package/dist/{PinMap → cjs/PinMap}/index.d.ts +0 -0
- /package/dist/{PinMap → cjs/PinMap}/maker.svg +0 -0
- /package/dist/{WordCloud → cjs/WordCloud}/index.d.ts +0 -0
- /package/dist/{constants → cjs/constants}/index.d.ts +0 -0
- /package/dist/{types → cjs/types}/index.d.ts +0 -0
- /package/dist/{Area → esm/Area}/index.js +0 -0
- /package/dist/{ChartCodeRender → esm/ChartCodeRender}/type.js +0 -0
- /package/dist/{Column → esm/Column}/index.js +0 -0
- /package/dist/{HeatMap → esm/HeatMap}/index.js +0 -0
- /package/dist/{Line → esm/Line}/index.js +0 -0
- /package/dist/{PathMap → esm/PathMap}/index.js +0 -0
- /package/dist/{Pie → esm/Pie}/index.js +0 -0
- /package/dist/{PinMap → esm/PinMap}/index.js +0 -0
- /package/dist/{WordCloud → esm/WordCloud}/index.js +0 -0
- /package/dist/{types → esm/types}/index.js +0 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { Components, ExtraProps } from 'react-markdown';
|
|
3
|
+
import { BaseChartProps } from '../types';
|
|
4
|
+
export type WithChartCodeOptions = {
|
|
5
|
+
/**
|
|
6
|
+
* 要额外加载的图表组件
|
|
7
|
+
*/
|
|
8
|
+
components: ChartComponents[];
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated
|
|
11
|
+
* 请使用 languageRenderers
|
|
12
|
+
*/
|
|
13
|
+
extraRenderers?: LanguageRenderers;
|
|
14
|
+
/**
|
|
15
|
+
* 自定义其它语言代码块渲染器
|
|
16
|
+
*/
|
|
17
|
+
languageRenderers?: LanguageRenderers;
|
|
18
|
+
/**
|
|
19
|
+
* 默认的代码渲染器
|
|
20
|
+
*/
|
|
21
|
+
defaultRenderer?: CodeRenderer;
|
|
22
|
+
/**
|
|
23
|
+
* 打开调试日志
|
|
24
|
+
*/
|
|
25
|
+
debug?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* 设置loading动画的超时时间,默认为 5s
|
|
28
|
+
*/
|
|
29
|
+
loadingTimeout?: number;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* 图表渲染数据接口,后续拓展,这里只是写个示例
|
|
33
|
+
*/
|
|
34
|
+
export interface ChartJson {
|
|
35
|
+
type: string;
|
|
36
|
+
data: any[];
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* 图表组件字典
|
|
40
|
+
*/
|
|
41
|
+
export interface ChartComponents {
|
|
42
|
+
[key: string]: FC<BaseChartProps<any>>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* 代码块渲染器接口
|
|
46
|
+
*/
|
|
47
|
+
export type CodeBlockComponent = Components['code'];
|
|
48
|
+
type CodeRenderer = FC<React.ClassAttributes<HTMLElement> & React.HTMLAttributes<HTMLElement> & ExtraProps>;
|
|
49
|
+
/**
|
|
50
|
+
* 自定义其它语言代码块渲染器
|
|
51
|
+
*/
|
|
52
|
+
interface LanguageRenderers {
|
|
53
|
+
[key: string]: CodeRenderer;
|
|
54
|
+
}
|
|
55
|
+
export {};
|
|
@@ -1,19 +1,23 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
1
2
|
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
2
3
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
4
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
5
|
+
var _excluded = ["children", "components", "rehypePlugins"];
|
|
3
6
|
import React from 'react';
|
|
4
7
|
import Markdown from 'react-markdown';
|
|
5
8
|
import rehypeRaw from 'rehype-raw';
|
|
6
9
|
import { withDefaultChartCode } from "../ChartCodeRender";
|
|
7
|
-
var
|
|
10
|
+
var GPTVis = function GPTVis(_ref) {
|
|
8
11
|
var children = _ref.children,
|
|
9
12
|
components = _ref.components,
|
|
10
|
-
rehypePlugins = _ref.rehypePlugins
|
|
13
|
+
rehypePlugins = _ref.rehypePlugins,
|
|
14
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
11
15
|
var CodeBlock = withDefaultChartCode();
|
|
12
|
-
return /*#__PURE__*/React.createElement(Markdown, {
|
|
16
|
+
return /*#__PURE__*/React.createElement(Markdown, _extends({
|
|
13
17
|
components: _objectSpread({
|
|
14
18
|
code: CodeBlock
|
|
15
19
|
}, components),
|
|
16
20
|
rehypePlugins: [rehypeRaw].concat(_toConsumableArray(rehypePlugins || []))
|
|
17
|
-
}, children);
|
|
21
|
+
}, rest), children);
|
|
18
22
|
};
|
|
19
|
-
export default
|
|
23
|
+
export default GPTVis;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { BaseChartProps } from '../types';
|
|
3
|
+
type GeoData = {
|
|
4
|
+
lng: number;
|
|
5
|
+
lat: number;
|
|
6
|
+
size: number;
|
|
7
|
+
};
|
|
8
|
+
export interface HeatMapProps extends BaseChartProps<GeoData> {
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const HeatMap: FC<HeatMapProps>;
|
|
12
|
+
export default HeatMap;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { BaseChartProps } from '../types';
|
|
3
|
+
type GeoData = {
|
|
4
|
+
originName?: string;
|
|
5
|
+
destinationName?: string;
|
|
6
|
+
coordinates: [number, number][];
|
|
7
|
+
};
|
|
8
|
+
export interface PathMapProps extends BaseChartProps<GeoData> {
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const PathMap: FC<PathMapProps>;
|
|
12
|
+
export default PathMap;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BaseChartProps } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* PieDataItem is the type for each data item in the pie chart.
|
|
5
|
+
* It includes the name of the sector and its corresponding value.
|
|
6
|
+
* @param name The name of the sector.
|
|
7
|
+
* @param value The value of the sector.
|
|
8
|
+
*/
|
|
9
|
+
export type PieDataItem = {
|
|
10
|
+
name: string;
|
|
11
|
+
value: number;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* the props for the Pie
|
|
15
|
+
* @param data pie data
|
|
16
|
+
*/
|
|
17
|
+
export type PieProps = BaseChartProps<PieDataItem>;
|
|
18
|
+
declare const Pie: (props: PieProps) => React.JSX.Element;
|
|
19
|
+
export default Pie;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { BaseChartProps } from '../types';
|
|
3
|
+
type GeoData = {
|
|
4
|
+
address: string;
|
|
5
|
+
lng: number;
|
|
6
|
+
lat: number;
|
|
7
|
+
};
|
|
8
|
+
export interface PinMapProps extends BaseChartProps<GeoData> {
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const PinMap: FC<PinMapProps>;
|
|
12
|
+
export default PinMap;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="48px" width="48px" viewBox="0 0 1024 1024"><path d="M512 490.666667C453.12 490.666667 405.333333 442.88 405.333333 384 405.333333 325.12 453.12 277.333333 512 277.333333 570.88 277.333333 618.666667 325.12 618.666667 384 618.666667 442.88 570.88 490.666667 512 490.666667M512 85.333333C346.88 85.333333 213.333333 218.88 213.333333 384 213.333333 608 512 938.666667 512 938.666667 512 938.666667 810.666667 608 810.666667 384 810.666667 218.88 677.12 85.333333 512 85.333333Z" fill="#6808FE"></path></svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { BaseChartProps } from '../types';
|
|
3
|
+
type PlotData = {
|
|
4
|
+
text: string;
|
|
5
|
+
value: number;
|
|
6
|
+
};
|
|
7
|
+
export interface WordCloudProps extends BaseChartProps<PlotData> {
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const WordCloud: FC<WordCloudProps>;
|
|
11
|
+
export default WordCloud;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import Area from "../Area";
|
|
3
|
+
import Column from "../Column";
|
|
4
|
+
import Line from "../Line";
|
|
5
|
+
import Pie from "../Pie";
|
|
6
|
+
import { ChartType } from "../types";
|
|
7
|
+
import WordCloud from "../WordCloud";
|
|
8
|
+
export var DEFAULT_CHART_COMPONENTS = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ChartType.Pie, Pie), ChartType.Area, Area), ChartType.Column, Column), ChartType.Line, Line), ChartType.WordCloud, WordCloud);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { default as Area, type AreaProps } from './Area';
|
|
2
|
+
export { default as Column, type ColumnProps } from './Column';
|
|
3
|
+
export { default as Line, type LineProps } from './Line';
|
|
4
|
+
export { default as Pie, type PieProps } from './Pie';
|
|
5
|
+
export { default as WordCloud, type WordCloudProps } from './WordCloud';
|
|
6
|
+
export { withChartCode, withDefaultChartCode } from './ChartCodeRender';
|
|
7
|
+
export { default as GPTVis } from './GPTVis';
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated
|
|
10
|
+
* 请使用 GPTVis
|
|
11
|
+
*/
|
|
12
|
+
export { default as MarkdownVis } from './GPTVis';
|
|
13
|
+
export * from './types';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { default as Area } from "./Area";
|
|
2
|
+
export { default as Column } from "./Column";
|
|
3
|
+
export { default as Line } from "./Line";
|
|
4
|
+
export { default as Pie } from "./Pie";
|
|
5
|
+
export { default as WordCloud } from "./WordCloud";
|
|
6
|
+
|
|
7
|
+
// export { default as HeatMap, type HeatMapProps } from './HeatMap';
|
|
8
|
+
// export { default as PathMap, type PathMapProps } from './PathMap';
|
|
9
|
+
// export { default as PinMap, type PinMapProps } from './PinMap';
|
|
10
|
+
|
|
11
|
+
export { withChartCode, withDefaultChartCode } from "./ChartCodeRender";
|
|
12
|
+
export { default as GPTVis } from "./GPTVis";
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated
|
|
15
|
+
* 请使用 GPTVis
|
|
16
|
+
*/
|
|
17
|
+
export { default as MarkdownVis } from "./GPTVis";
|
|
18
|
+
export * from "./types";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
|
+
export declare enum ChartType {
|
|
3
|
+
Pie = "pie",
|
|
4
|
+
Column = "column",
|
|
5
|
+
Line = "line",
|
|
6
|
+
Area = "area",
|
|
7
|
+
WordCloud = "word-cloud",
|
|
8
|
+
PinMap = "pin-map",
|
|
9
|
+
PathMap = "path-map",
|
|
10
|
+
HeatMap = "heat-map"
|
|
11
|
+
}
|
|
12
|
+
export interface BaseChartProps<T> {
|
|
13
|
+
data: T[];
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface XYAxis {
|
|
18
|
+
x: string | number;
|
|
19
|
+
y: number;
|
|
20
|
+
[key: string]: string | number;
|
|
21
|
+
}
|
|
22
|
+
export interface StackableChartProps extends BaseChartProps<XYAxis> {
|
|
23
|
+
xField?: string;
|
|
24
|
+
yField?: string;
|
|
25
|
+
stackField?: string;
|
|
26
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antv/gpt-vis",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "A chart library for LLM Agent",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -8,10 +8,11 @@
|
|
|
8
8
|
},
|
|
9
9
|
"author": "antvis",
|
|
10
10
|
"sideEffects": [
|
|
11
|
-
"**/*.
|
|
11
|
+
"**/*.css"
|
|
12
12
|
],
|
|
13
|
-
"
|
|
14
|
-
"
|
|
13
|
+
"main": "dist/cjs/index.js",
|
|
14
|
+
"module": "dist/esm/index.js",
|
|
15
|
+
"typings": "dist/esm/index.d.ts",
|
|
15
16
|
"files": [
|
|
16
17
|
"dist",
|
|
17
18
|
"README.md"
|
|
@@ -19,7 +20,7 @@
|
|
|
19
20
|
"scripts": {
|
|
20
21
|
"build": "bigfish-lib build",
|
|
21
22
|
"build:watch": "bigfish-lib build -w",
|
|
22
|
-
"ci": "tnpm run lint
|
|
23
|
+
"ci": "tnpm run lint",
|
|
23
24
|
"cov": "jest --coverage",
|
|
24
25
|
"create": "bigfish-lib create",
|
|
25
26
|
"deploy": "bigfish-lib deploy",
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { Components, ExtraProps } from 'react-markdown';
|
|
3
|
-
import { BaseChartProps } from '../types';
|
|
4
|
-
export type WithChartCodeOptions = {
|
|
5
|
-
components: ChartComponents[];
|
|
6
|
-
extraRenderers?: ExtraRenderers;
|
|
7
|
-
debug?: boolean;
|
|
8
|
-
loadingTimeout?: number;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* 图表渲染数据接口,后续拓展,这里只是写个示例
|
|
12
|
-
*/
|
|
13
|
-
export interface ChartJson {
|
|
14
|
-
type: string;
|
|
15
|
-
data: any[];
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* 图表组件字典
|
|
19
|
-
*/
|
|
20
|
-
export interface ChartComponents {
|
|
21
|
-
[key: string]: FC<BaseChartProps<any>>;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* 代码块渲染器接口
|
|
25
|
-
*/
|
|
26
|
-
export type CodeBlockComponent = Components['code'];
|
|
27
|
-
/** 额外的渲染器选项 */
|
|
28
|
-
export interface ExtraRenderers {
|
|
29
|
-
[key: string]: FC<React.ClassAttributes<HTMLElement> & React.HTMLAttributes<HTMLElement> & ExtraProps>;
|
|
30
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Options } from 'react-markdown';
|
|
3
|
-
export type MarkdownVisProps = {
|
|
4
|
-
/**
|
|
5
|
-
* 需要被渲染的 markdown 字符串
|
|
6
|
-
*/
|
|
7
|
-
children: string;
|
|
8
|
-
/**
|
|
9
|
-
* 注册的组件
|
|
10
|
-
*/
|
|
11
|
-
components?: Options['components'];
|
|
12
|
-
/**
|
|
13
|
-
* 注册的 rehype 插件
|
|
14
|
-
*/
|
|
15
|
-
rehypePlugins: Options['rehypePlugins'];
|
|
16
|
-
/**
|
|
17
|
-
* CSS Properties
|
|
18
|
-
*/
|
|
19
|
-
style?: React.CSSProperties;
|
|
20
|
-
};
|
|
21
|
-
declare const MarkdownVis: React.FC<MarkdownVisProps>;
|
|
22
|
-
export default MarkdownVis;
|
package/dist/Message/index.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Options } from 'react-markdown';
|
|
3
|
-
export type MessageProps = {
|
|
4
|
-
/**
|
|
5
|
-
* 需要被渲染的 markdown 字符串
|
|
6
|
-
*/
|
|
7
|
-
children: string;
|
|
8
|
-
/**
|
|
9
|
-
* 注册的组件
|
|
10
|
-
*/
|
|
11
|
-
components?: Options['components'];
|
|
12
|
-
/**
|
|
13
|
-
* 注册的 rehype 插件
|
|
14
|
-
*/
|
|
15
|
-
rehypePlugins?: Options['rehypePlugins'];
|
|
16
|
-
};
|
|
17
|
-
declare const Message: React.FC<MessageProps>;
|
|
18
|
-
export default Message;
|
package/dist/Message/index.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import Markdown from 'react-markdown';
|
|
4
|
-
import rehypeRaw from 'rehype-raw';
|
|
5
|
-
var Message = function Message(_ref) {
|
|
6
|
-
var children = _ref.children,
|
|
7
|
-
components = _ref.components,
|
|
8
|
-
rehypePlugins = _ref.rehypePlugins;
|
|
9
|
-
return /*#__PURE__*/React.createElement(Markdown, {
|
|
10
|
-
components: components,
|
|
11
|
-
rehypePlugins: [rehypeRaw].concat(_toConsumableArray(rehypePlugins || []))
|
|
12
|
-
}, children);
|
|
13
|
-
};
|
|
14
|
-
export default Message;
|
package/dist/constants/index.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
-
import Area from "../Area";
|
|
3
|
-
import Line from "../Line";
|
|
4
|
-
import HeatMap from "../HeatMap";
|
|
5
|
-
import PathMap from "../PathMap";
|
|
6
|
-
import Pie from "../Pie";
|
|
7
|
-
import PinMap from "../PinMap";
|
|
8
|
-
import WordCloud from "../WordCloud";
|
|
9
|
-
import Column from "../Column";
|
|
10
|
-
import { ChartType } from "../types";
|
|
11
|
-
export var DEFAULT_CHART_COMPONENTS = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ChartType.Pie, Pie), ChartType.Area, Area), ChartType.Column, Column), ChartType.Line, Line), ChartType.WordCloud, WordCloud), ChartType.PinMap, PinMap), ChartType.PathMap, PathMap), ChartType.HeatMap, HeatMap);
|
package/dist/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { default as HeatMap } from './HeatMap';
|
|
2
|
-
export { default as MarkdownVis } from './MarkdownVis';
|
|
3
|
-
export { default as Message } from './Message';
|
|
4
|
-
export { default as PathMap } from './PathMap';
|
|
5
|
-
export { default as Pie } from './Pie';
|
|
6
|
-
export { default as PinMap } from './PinMap';
|
|
7
|
-
export { default as WordCloud } from './WordCloud';
|
|
8
|
-
export { withChartCode, withDefaultChartCode } from './ChartCodeRender';
|
|
9
|
-
export * from './types';
|
|
10
|
-
export { default as Column, type ColumnProps } from './Column';
|
|
11
|
-
export { default as Line, type LineProps } from './Line';
|
|
12
|
-
export { default as Area, type AreaProps } from './Area';
|
package/dist/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { default as HeatMap } from "./HeatMap";
|
|
2
|
-
export { default as MarkdownVis } from "./MarkdownVis";
|
|
3
|
-
export { default as Message } from "./Message";
|
|
4
|
-
export { default as PathMap } from "./PathMap";
|
|
5
|
-
export { default as Pie } from "./Pie";
|
|
6
|
-
export { default as PinMap } from "./PinMap";
|
|
7
|
-
export { default as WordCloud } from "./WordCloud";
|
|
8
|
-
export { withChartCode, withDefaultChartCode } from "./ChartCodeRender";
|
|
9
|
-
export * from "./types";
|
|
10
|
-
export { default as Column } from "./Column";
|
|
11
|
-
export { default as Line } from "./Line";
|
|
12
|
-
export { default as Area } from "./Area";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|