@agions/taroviz 1.5.0 → 1.6.0
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 +4 -4
- package/dist/cjs/index.js +1 -1
- package/dist/esm/index.js +810 -10
- package/package.json +1 -1
- package/src/charts/boxplot/__tests__/index.test.tsx +130 -0
- package/src/charts/boxplot/index.tsx +18 -0
- package/src/charts/boxplot/types.ts +46 -0
- package/src/charts/index.ts +5 -1
- package/src/charts/parallel/__tests__/index.test.tsx +164 -0
- package/src/charts/parallel/index.tsx +18 -0
- package/src/charts/parallel/types.ts +73 -0
- package/src/editor/EnhancedThemeEditor.tsx +624 -0
- package/src/index.ts +14 -9
package/src/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* TaroViz - 基于 Taro 和 ECharts 的多端图表组件库
|
|
3
|
-
* @version 1.
|
|
3
|
+
* @version 1.6.0
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
// 核心组件
|
|
@@ -45,7 +45,7 @@ export { default as HeatmapChart } from './charts/heatmap';
|
|
|
45
45
|
export { default as GaugeChart } from './charts/gauge';
|
|
46
46
|
export { default as FunnelChart } from './charts/funnel';
|
|
47
47
|
|
|
48
|
-
// 扩展图表组件
|
|
48
|
+
// 扩展图表组件
|
|
49
49
|
export { default as TreeMapChart } from './charts/treemap';
|
|
50
50
|
export { default as SunburstChart } from './charts/sunburst';
|
|
51
51
|
export { default as SankeyChart } from './charts/sankey';
|
|
@@ -55,6 +55,10 @@ export { default as GraphChart } from './charts/graph';
|
|
|
55
55
|
export { default as CandlestickChart } from './charts/candlestick';
|
|
56
56
|
export { default as WordCloudChart } from './charts/wordcloud';
|
|
57
57
|
|
|
58
|
+
// v1.6.0 新增图表组件
|
|
59
|
+
export { default as BoxplotChart } from './charts/boxplot';
|
|
60
|
+
export { default as ParallelChart } from './charts/parallel';
|
|
61
|
+
|
|
58
62
|
// 适配器
|
|
59
63
|
export { getAdapter, detectPlatform, getEnv } from './adapters';
|
|
60
64
|
export { default as H5Adapter } from './adapters/h5';
|
|
@@ -75,7 +79,7 @@ export {
|
|
|
75
79
|
getThemesByTag,
|
|
76
80
|
} from './themes';
|
|
77
81
|
|
|
78
|
-
// 主题管理器
|
|
82
|
+
// 主题管理器
|
|
79
83
|
export {
|
|
80
84
|
themeManager,
|
|
81
85
|
PRESET_THEMES,
|
|
@@ -86,15 +90,17 @@ export {
|
|
|
86
90
|
|
|
87
91
|
// 编辑器
|
|
88
92
|
export { ThemeEditor } from './editor';
|
|
93
|
+
export { default as EnhancedThemeEditor } from './editor/EnhancedThemeEditor';
|
|
94
|
+
export type { EnhancedThemeEditorProps, ThemeExportOptions } from './editor/EnhancedThemeEditor';
|
|
89
95
|
|
|
90
|
-
// 错误边界组件
|
|
96
|
+
// 错误边界组件
|
|
91
97
|
export {
|
|
92
98
|
ErrorBoundary,
|
|
93
99
|
withErrorBoundary,
|
|
94
100
|
type ErrorBoundaryProps,
|
|
95
101
|
} from './core/components/ErrorBoundary';
|
|
96
102
|
|
|
97
|
-
// 懒加载组件
|
|
103
|
+
// 懒加载组件
|
|
98
104
|
export {
|
|
99
105
|
withLazyLoad,
|
|
100
106
|
preloadChart,
|
|
@@ -103,7 +109,7 @@ export {
|
|
|
103
109
|
LazyChartRegistry,
|
|
104
110
|
} from './core/components/LazyChart';
|
|
105
111
|
|
|
106
|
-
// 标注系统
|
|
112
|
+
// 标注系统
|
|
107
113
|
export {
|
|
108
114
|
useAnnotation,
|
|
109
115
|
convertAnnotationToMarkLine,
|
|
@@ -118,7 +124,7 @@ export {
|
|
|
118
124
|
type ScatterAnnotationConfig,
|
|
119
125
|
} from './core/components/Annotation';
|
|
120
126
|
|
|
121
|
-
// 导出工具
|
|
127
|
+
// 导出工具
|
|
122
128
|
export {
|
|
123
129
|
exportChart,
|
|
124
130
|
type ExportImageOptions,
|
|
@@ -143,7 +149,6 @@ export {
|
|
|
143
149
|
useFullscreen,
|
|
144
150
|
useExport,
|
|
145
151
|
useChartTools,
|
|
146
|
-
// 新增数据转换 hooks
|
|
147
152
|
useDataTransform,
|
|
148
153
|
useTableTransform,
|
|
149
154
|
useTimeSeriesTransform,
|
|
@@ -153,4 +158,4 @@ export {
|
|
|
153
158
|
* 库信息
|
|
154
159
|
*/
|
|
155
160
|
export const name = 'taroviz';
|
|
156
|
-
export const version = '1.
|
|
161
|
+
export const version = '1.6.0';
|