From feea1894756a9cd14ab9c8602e4a9b2c95d8fc6f Mon Sep 17 00:00:00 2001 From: Davont Date: Fri, 11 Oct 2024 11:02:06 +0800 Subject: [PATCH] refactor(charts): [charts] rename chart-core packages to huicharts-core (#2027) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 【Charts】update charts snapshots * fix: 修复图表height为100%时的高度问题 * fix: 优化图表extend逻辑 * fix: 修复图表extend失效问题 * fix: 删除注释 * fix: 新增图表echartOption变量,以便用户获取echart配置 * fix: 修复playground百度地图案例错误问题 * fix: 修复图表option复杂变量失效问题 * fix: 修改高德百度地图案例注释 * fix: chart-core添加cloneDeep引入 * fix: 修改chart组件getFormatted函数判断逻辑 * fix: 更新chart-core包版本为3.17.1 * fix: 修复箱型图data为空数组时的报错问题 * fix: 添加图标属性逻辑的深拷贝 * fix: 删除注释文件 * docs: 更新图表文档 * fix: 修复机器人提出的问题 * chore: [charts]rename chart-core packages to huicharts-core * fix: 修改图表引用路径 * fix: 修改盒须图案例代码和图表简介 * fix: 切换图表基本引入,删除本地无用代码 * fix: 修复图表colors属性失效问题,修改引入路径 * fix: 更新chart图表依赖 * fix: 修改chart打包路径 * fix: 修改图表组件路径和案例导入路径 * fix: 修改案例导入路径 * fix: 还原文件 --------- Co-authored-by: Davont --- .../mobile-first/app/tabs/show-echarts.vue | 6 +- .../app/chart/amap/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/amap/base.vue | 4 +- .../pc/app/chart/bar/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/bar/base.vue | 4 +- .../app/chart/bar/demo2-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/bar/demo2.vue | 4 +- .../app/chart/bar/demo3-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/bar/demo3.vue | 4 +- .../app/chart/bar/demo4-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/bar/demo4.vue | 4 +- .../app/chart/bar/demo5-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/bar/demo5.vue | 4 +- .../app/chart/bar/demo6-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/bar/demo6.vue | 4 +- .../app/chart/bar/demo7-composition-api.vue | 3 +- .../sites/demos/pc/app/chart/bar/demo7.vue | 4 +- .../pc/app/chart/base-composition-api.vue | 2 +- examples/sites/demos/pc/app/chart/base.vue | 4 +- .../app/chart/bmap/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/bmap/base.vue | 4 +- .../chart/boxplot/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/boxplot/base.vue | 4 +- .../boxplot/multiple-composition-api.vue | 2 +- .../demos/pc/app/chart/boxplot/multiple.vue | 4 +- .../boxplot/vertical-composition-api.vue | 2 +- .../demos/pc/app/chart/boxplot/vertical.vue | 10 +- .../app/chart/candle/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/candle/base.vue | 4 +- .../chart/candle/demo2-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/candle/demo2.vue | 4 +- .../chart/candle/demo3-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/candle/demo3.vue | 4 +- .../chart/candle/demo4-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/candle/demo4.vue | 4 +- .../chart/candle/demo5-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/candle/demo5.vue | 4 +- .../chart/candle/demo6-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/candle/demo6.vue | 4 +- .../app/chart/events/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/events/base.vue | 4 +- .../app/chart/funnel/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/funnel/base.vue | 4 +- .../chart/funnel/demo2-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/funnel/demo2.vue | 4 +- .../chart/funnel/demo3-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/funnel/demo3.vue | 4 +- .../chart/funnel/demo4-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/funnel/demo4.vue | 4 +- .../chart/funnel/demo5-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/funnel/demo5.vue | 4 +- .../chart/funnel/demo6-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/funnel/demo6.vue | 4 +- .../chart/funnel/demo7-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/funnel/demo7.vue | 4 +- .../app/chart/gauge/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/gauge/base.vue | 4 +- .../app/chart/gauge/demo2-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/gauge/demo2.vue | 4 +- .../app/chart/gauge/demo3-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/gauge/demo3.vue | 4 +- .../app/chart/gauge/demo4-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/gauge/demo4.vue | 4 +- .../app/chart/gauge/demo5-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/gauge/demo5.vue | 4 +- .../app/chart/gauge/demo6-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/gauge/demo6.vue | 4 +- .../app/chart/graph/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/graph/base.vue | 4 +- .../app/chart/graph/demo2-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/graph/demo2.vue | 4 +- .../chart/heatmap/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/heatmap/base.vue | 4 +- .../chart/heatmap/demo2-composition-api.vue | 2 +- .../demos/pc/app/chart/heatmap/demo2.vue | 4 +- .../chart/heatmap/demo3-composition-api.vue | 2 +- .../demos/pc/app/chart/heatmap/demo3.vue | 4 +- .../chart/histogram/base-composition-api.vue | 2 +- .../demos/pc/app/chart/histogram/base.vue | 4 +- .../chart/histogram/demo2-composition-api.vue | 2 +- .../demos/pc/app/chart/histogram/demo2.vue | 4 +- .../chart/histogram/demo3-composition-api.vue | 2 +- .../demos/pc/app/chart/histogram/demo3.vue | 4 +- .../chart/histogram/demo4-composition-api.vue | 2 +- .../demos/pc/app/chart/histogram/demo4.vue | 4 +- .../chart/histogram/demo5-composition-api.vue | 2 +- .../demos/pc/app/chart/histogram/demo5.vue | 4 +- .../chart/histogram/demo6-composition-api.vue | 2 +- .../demos/pc/app/chart/histogram/demo6.vue | 4 +- .../chart/histogram/demo7-composition-api.vue | 2 +- .../demos/pc/app/chart/histogram/demo7.vue | 4 +- .../chart/histogram/demo8-composition-api.vue | 2 +- .../demos/pc/app/chart/histogram/demo8.vue | 4 +- .../app/chart/line/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/line/base.vue | 4 +- .../app/chart/line/demo2-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/line/demo2.vue | 4 +- .../app/chart/line/demo3-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/line/demo3.vue | 4 +- .../app/chart/line/demo4-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/line/demo4.vue | 4 +- .../app/chart/line/demo5-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/line/demo5.vue | 4 +- .../app/chart/line/demo6-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/line/demo6.vue | 4 +- .../app/chart/line/demo7-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/line/demo7.vue | 4 +- .../app/chart/line/demo8-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/line/demo8.vue | 4 +- .../app/chart/line/demo9-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/line/demo9.vue | 4 +- .../chart/liquidfill/base-composition-api.vue | 2 +- .../demos/pc/app/chart/liquidfill/base.vue | 4 +- .../pc/app/chart/map/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/map/base.vue | 4 +- .../pc/app/chart/pie/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/pie/base.vue | 4 +- .../app/chart/pie/demo2-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/pie/demo2.vue | 4 +- .../app/chart/pie/demo3-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/pie/demo3.vue | 4 +- .../app/chart/pie/demo4-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/pie/demo4.vue | 4 +- .../app/chart/pie/demo5-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/pie/demo5.vue | 4 +- .../app/chart/pie/demo6-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/pie/demo6.vue | 4 +- .../app/chart/pie/demo7-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/pie/demo7.vue | 4 +- .../chart/process/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/process/base.vue | 4 +- .../chart/process/demo2-composition-api.vue | 2 +- .../demos/pc/app/chart/process/demo2.vue | 4 +- .../chart/process/demo3-composition-api.vue | 2 +- .../demos/pc/app/chart/process/demo3.vue | 4 +- .../chart/process/demo4-composition-api.vue | 2 +- .../demos/pc/app/chart/process/demo4.vue | 4 +- .../chart/process/demo5-composition-api.vue | 2 +- .../demos/pc/app/chart/process/demo5.vue | 4 +- .../chart/process/demo6-composition-api.vue | 2 +- .../demos/pc/app/chart/process/demo6.vue | 4 +- .../app/chart/props/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/props/base.vue | 4 +- .../chart/props/demo10-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/props/demo10.vue | 4 +- .../chart/props/demo11-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/props/demo11.vue | 4 +- .../chart/props/demo12-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/props/demo12.vue | 4 +- .../app/chart/props/demo2-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/props/demo2.vue | 4 +- .../app/chart/props/demo3-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/props/demo3.vue | 4 +- .../app/chart/props/demo4-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/props/demo4.vue | 4 +- .../app/chart/props/demo5-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/props/demo5.vue | 4 +- .../app/chart/props/demo6-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/props/demo6.vue | 4 +- .../app/chart/props/demo7-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/props/demo7.vue | 4 +- .../app/chart/props/demo8-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/props/demo8.vue | 4 +- .../app/chart/props/demo9-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/props/demo9.vue | 4 +- .../chart/question/base-composition-api.vue | 2 +- .../demos/pc/app/chart/question/base.vue | 4 +- .../chart/question/demo2-composition-api.vue | 2 +- .../demos/pc/app/chart/question/demo2.vue | 4 +- .../chart/question/demo3-composition-api.vue | 2 +- .../demos/pc/app/chart/question/demo3.vue | 4 +- .../chart/question/demo4-composition-api.vue | 2 +- .../demos/pc/app/chart/question/demo4.vue | 4 +- .../chart/question/demo5-composition-api.vue | 2 +- .../demos/pc/app/chart/question/demo5.vue | 4 +- .../app/chart/radar/base-composition-api.vue | 3 +- .../sites/demos/pc/app/chart/radar/base.vue | 4 +- .../app/chart/radar/demo2-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/radar/demo2.vue | 4 +- .../app/chart/radar/demo3-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/radar/demo3.vue | 4 +- .../app/chart/ring/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/ring/base.vue | 4 +- .../app/chart/ring/demo2-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/ring/demo2.vue | 4 +- .../app/chart/ring/demo3-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/ring/demo3.vue | 4 +- .../app/chart/ring/demo4-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/ring/demo4.vue | 4 +- .../app/chart/ring/demo5-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/ring/demo5.vue | 4 +- .../app/chart/ring/demo6-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/ring/demo6.vue | 4 +- .../chart/ring/ring-title-composition-api.vue | 2 +- .../demos/pc/app/chart/ring/ring-title.vue | 4 +- .../app/chart/sankey/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/sankey/base.vue | 4 +- .../chart/sankey/demo2-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/sankey/demo2.vue | 4 +- .../chart/scatter/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/scatter/base.vue | 4 +- .../chart/scatter/demo2-composition-api.vue | 2 +- .../demos/pc/app/chart/scatter/demo2.vue | 4 +- .../chart/scatter/demo3-composition-api.vue | 2 +- .../demos/pc/app/chart/scatter/demo3.vue | 4 +- .../chart/sunburst/base-composition-api.vue | 2 +- .../demos/pc/app/chart/sunburst/base.vue | 4 +- .../chart/sunburst/demo2-composition-api.vue | 2 +- .../demos/pc/app/chart/sunburst/demo2.vue | 4 +- .../chart/sunburst/demo3-composition-api.vue | 2 +- .../demos/pc/app/chart/sunburst/demo3.vue | 4 +- .../app/chart/tree/base-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/tree/base.vue | 4 +- .../app/chart/tree/demo2-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/tree/demo2.vue | 4 +- .../app/chart/tree/demo3-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/tree/demo3.vue | 4 +- .../app/chart/tree/demo4-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/tree/demo4.vue | 4 +- .../app/chart/tree/demo5-composition-api.vue | 2 +- .../sites/demos/pc/app/chart/tree/demo5.vue | 4 +- .../chart/waterfall/base-composition-api.vue | 3 +- .../demos/pc/app/chart/waterfall/base.vue | 4 +- .../chart/waterfall/demo2-composition-api.vue | 2 +- .../demos/pc/app/chart/waterfall/demo2.vue | 4 +- .../chart/waterfall/demo3-composition-api.vue | 2 +- .../demos/pc/app/chart/waterfall/demo3.vue | 4 +- .../chart/waterfall/demo4-composition-api.vue | 2 +- .../demos/pc/app/chart/waterfall/demo4.vue | 4 +- .../chart/webdoc/chart-attributes-demo.cn.md | 4 +- .../webdoc/chart-attributes-demo.json.cn.md | 4 +- .../app/chart/webdoc/chart-autonavi-map.cn.md | 4 +- .../webdoc/chart-autonavi-map.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-baidu-map.cn.md | 4 +- .../chart/webdoc/chart-baidu-map.json.cn.md | 4 +- .../demos/pc/app/chart/webdoc/chart-bar.cn.md | 4 +- .../pc/app/chart/webdoc/chart-bar.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-boxplot.cn.md | 4 +- .../app/chart/webdoc/chart-boxplot.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-candle.cn.md | 4 +- .../app/chart/webdoc/chart-candle.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-docs.cn.md | 6 +- .../pc/app/chart/webdoc/chart-docs.en.md | 6 +- .../pc/app/chart/webdoc/chart-docs.json.cn.md | 6 +- .../pc/app/chart/webdoc/chart-docs.json.en.md | 6 +- .../pc/app/chart/webdoc/chart-events.cn.md | 4 +- .../app/chart/webdoc/chart-events.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-funnel.cn.md | 4 +- .../app/chart/webdoc/chart-funnel.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-gauge.cn.md | 4 +- .../app/chart/webdoc/chart-gauge.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-graph.cn.md | 4 +- .../app/chart/webdoc/chart-graph.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-heatmap.cn.md | 4 +- .../app/chart/webdoc/chart-heatmap.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-histogram.cn.md | 4 +- .../chart/webdoc/chart-histogram.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-line.cn.md | 4 +- .../pc/app/chart/webdoc/chart-line.json.cn.md | 4 +- .../app/chart/webdoc/chart-liquidfill.cn.md | 4 +- .../chart/webdoc/chart-liquidfill.json.cn.md | 4 +- .../demos/pc/app/chart/webdoc/chart-map.cn.md | 4 +- .../pc/app/chart/webdoc/chart-map.json.cn.md | 4 +- .../demos/pc/app/chart/webdoc/chart-pie.cn.md | 4 +- .../pc/app/chart/webdoc/chart-pie.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-process.cn.md | 4 +- .../app/chart/webdoc/chart-process.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-question.cn.md | 4 +- .../chart/webdoc/chart-question.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-radar.cn.md | 4 +- .../app/chart/webdoc/chart-radar.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-ring.cn.md | 4 +- .../pc/app/chart/webdoc/chart-ring.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-sankey.cn.md | 4 +- .../app/chart/webdoc/chart-sankey.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-scatter.cn.md | 4 +- .../app/chart/webdoc/chart-scatter.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-sunburst.cn.md | 4 +- .../chart/webdoc/chart-sunburst.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-tree.cn.md | 4 +- .../pc/app/chart/webdoc/chart-tree.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-waterfall.cn.md | 4 +- .../chart/webdoc/chart-waterfall.json.cn.md | 4 +- .../pc/app/chart/webdoc/chart-wordcloud.cn.md | 4 +- .../chart/webdoc/chart-wordcloud.json.cn.md | 4 +- .../demos/pc/app/chart/webdoc/chart.cn.md | 4 +- .../chart/wordcloud/base-composition-api.vue | 2 +- .../demos/pc/app/chart/wordcloud/base.vue | 4 +- .../chart/wordcloud/demo2-composition-api.vue | 2 +- .../demos/pc/app/chart/wordcloud/demo2.vue | 4 +- .../chart/wordcloud/demo3-composition-api.vue | 2 +- .../demos/pc/app/chart/wordcloud/demo3.vue | 4 +- .../chart/wordcloud/demo4-composition-api.vue | 2 +- .../demos/pc/app/chart/wordcloud/demo4.vue | 4 +- packages/modules.json | 250 +++---- packages/vue/package.json | 50 +- packages/vue/src/chart/chart-bar/index.ts | 9 - packages/vue/src/chart/chart-boxplot/index.ts | 9 - packages/vue/src/chart/chart-candle/index.ts | 9 - .../vue/src/chart/chart-core/base/chart.ts | 63 -- .../base/components/AutonaviMapChart/index.ts | 147 ----- .../base/components/BaiduMapChart/index.ts | 138 ---- .../base/components/BarChart/chartToken.ts | 29 - .../base/components/BarChart/handleOptipn.ts | 84 --- .../base/components/BarChart/handleSeries.ts | 619 ------------------ .../components/BarChart/handleVisualMap.ts | 37 -- .../base/components/BarChart/index.ts | 110 ---- .../base/components/BaseChart/index.ts | 113 ---- .../components/BoxplotChart/chartToken.ts | 16 - .../components/BoxplotChart/handleOption.ts | 52 -- .../components/BoxplotChart/handleSeries.ts | 50 -- .../base/components/BoxplotChart/index.ts | 52 -- .../base/components/BubbleChart/chartToken.ts | 19 - .../base/components/BubbleChart/handleData.ts | 22 - .../components/BubbleChart/handleOptipn.ts | 53 -- .../components/BubbleChart/handleSeries.ts | 72 -- .../components/BubbleChart/handleTrendLine.ts | 45 -- .../components/BubbleChart/handleVisualMap.ts | 39 -- .../base/components/BubbleChart/index.ts | 86 --- .../components/CandlestickChart/BaseOption.ts | 33 - .../components/CandlestickChart/chartToken.ts | 21 - .../CandlestickChart/hanleOption.ts | 119 ---- .../CandlestickChart/hanleSeries.ts | 110 ---- .../base/components/CandlestickChart/index.ts | 55 -- .../base/components/FunnelChart/chartToken.ts | 18 - .../components/FunnelChart/handleLegend.ts | 37 -- .../components/FunnelChart/handleSeries.ts | 141 ---- .../base/components/FunnelChart/index.ts | 37 -- .../base/components/GaugeChart/BaseOption.ts | 11 - .../base/components/GaugeChart/chartToken.ts | 31 - .../components/GaugeChart/handleOptipn.ts | 9 - .../components/GaugeChart/handleSeries.ts | 479 -------------- .../base/components/GaugeChart/index.ts | 42 -- .../base/components/GraphChart/index.ts | 23 - .../components/HeatMapChart/BaseOption.ts | 101 --- .../components/HeatMapChart/chartToken.ts | 28 - .../components/HeatMapChart/handleData.ts | 127 ---- .../components/HeatMapChart/handleOptipn.ts | 228 ------- .../components/HeatMapChart/handleSeries.ts | 71 -- .../HeatMapChart/handleVisualMap.ts | 62 -- .../base/components/HeatMapChart/index.ts | 72 -- .../LineChart/AreaChart/bottomArea.ts | 173 ----- .../LineChart/AreaChart/chartToken.ts | 19 - .../components/LineChart/AreaChart/index.ts | 4 - .../components/LineChart/AreaChart/topArea.ts | 122 ---- .../base/components/LineChart/chartToken.ts | 35 - .../base/components/LineChart/handleOptipn.ts | 92 --- .../components/LineChart/handlePredict.ts | 99 --- .../base/components/LineChart/handleSeries.ts | 232 ------- .../components/LineChart/handleVisualMap.ts | 84 --- .../base/components/LineChart/index.ts | 104 --- .../components/LiquidfillChart/chartToken.ts | 21 - .../LiquidfillChart/handleSeries.ts | 152 ----- .../base/components/LiquidfillChart/index.ts | 32 - .../base/components/PieChart/chartToken.ts | 27 - .../base/components/PieChart/handleLabel.ts | 83 --- .../base/components/PieChart/handleMulti.ts | 119 ---- .../base/components/PieChart/handleSeries.ts | 193 ------ .../base/components/PieChart/index.ts | 45 -- .../components/ProcessChart/BaseOption.js | 283 -------- .../components/ProcessChart/chartToken.js | 5 - .../components/ProcessChart/handleData.js | 144 ---- .../components/ProcessChart/handleOption.js | 220 ------- .../components/ProcessChart/handleSeries.js | 362 ---------- .../base/components/ProcessChart/index.js | 62 -- .../base/components/RadarChart/chartToken.ts | 5 - .../base/components/RadarChart/getRadar.ts | 62 -- .../components/RadarChart/handleOptipn.ts | 339 ---------- .../components/RadarChart/handleSeries.ts | 188 ------ .../base/components/RadarChart/index.ts | 62 -- .../base/components/RegionChart/chartToken.ts | 18 - .../components/RegionChart/handleOption.ts | 18 - .../base/components/RegionChart/index.ts | 38 -- .../base/components/SankeyChart/BaseOption.ts | 75 --- .../base/components/SankeyChart/chartToken.ts | 16 - .../components/SankeyChart/handleColor.ts | 19 - .../base/components/SankeyChart/handleData.ts | 27 - .../components/SankeyChart/handleOption.ts | 216 ------ .../base/components/SankeyChart/index.ts | 77 --- .../components/SunburstChart/chartToken.ts | 18 - .../components/SunburstChart/handleSeries.ts | 37 -- .../base/components/SunburstChart/index.ts | 33 - .../base/components/TreeChart/BaseOption.ts | 11 - .../base/components/TreeChart/chartToken.ts | 21 - .../base/components/TreeChart/handleOptipn.ts | 65 -- .../base/components/TreeChart/handleSeries.ts | 140 ---- .../base/components/TreeChart/index.ts | 37 -- .../components/WordCloudChart/BaseOption.ts | 9 - .../components/WordCloudChart/chartToken.ts | 18 - .../components/WordCloudChart/handleOptipn.ts | 10 - .../components/WordCloudChart/handleSeries.ts | 93 --- .../base/components/WordCloudChart/index.ts | 56 -- .../vue/src/chart/chart-core/base/core.ts | 310 --------- .../chart-core/base/feature/axistip/index.ts | 79 --- .../chart-core/base/feature/drag/index.less | 41 -- .../chart-core/base/feature/drag/index.ts | 226 ------- .../base/feature/fluctuation/index.ts | 54 -- .../base/feature/mediaScreen/index.ts | 78 --- .../chart-core/base/feature/mini/index.ts | 46 -- .../base/feature/readScreen/index.ts | 8 - .../base/feature/token/color/bpit/dark.ts | 46 -- .../base/feature/token/color/bpit/index.ts | 9 - .../base/feature/token/color/bpit/light.ts | 46 -- .../base/feature/token/color/cloud/board.ts | 263 -------- .../base/feature/token/color/cloud/dark.ts | 43 -- .../base/feature/token/color/cloud/index.ts | 9 - .../base/feature/token/color/cloud/light.ts | 42 -- .../base/feature/token/color/hdesign/board.ts | 193 ------ .../base/feature/token/color/hdesign/dark.ts | 44 -- .../base/feature/token/color/hdesign/index.ts | 9 - .../base/feature/token/color/hdesign/light.ts | 44 -- .../base/feature/token/color/ict/board.ts | 179 ----- .../base/feature/token/color/ict/dark.ts | 41 -- .../base/feature/token/color/ict/index.ts | 9 - .../base/feature/token/color/ict/light.ts | 41 -- .../base/feature/token/color/index.ts | 18 - .../base/feature/token/color/util.ts | 28 - .../base/feature/token/constants.ts | 51 -- .../token/factory/chartsToken/AreaChart.ts | 10 - .../chartsToken/AssembleBubbleChart.ts | 16 - .../token/factory/chartsToken/BarChart.ts | 20 - .../token/factory/chartsToken/BoxplotChart.ts | 11 - .../token/factory/chartsToken/BubbleChart.ts | 12 - .../factory/chartsToken/CandlestickChart.ts | 13 - .../factory/chartsToken/CircleProcessChart.ts | 11 - .../token/factory/chartsToken/FunnelChart.ts | 13 - .../token/factory/chartsToken/GaugeChart.ts | 26 - .../token/factory/chartsToken/HeatMapChart.ts | 26 - .../token/factory/chartsToken/HillChart.ts | 13 - .../token/factory/chartsToken/JadeJueChart.ts | 13 - .../token/factory/chartsToken/LineChart.ts | 26 - .../factory/chartsToken/LiquidfillChart.ts | 14 - .../token/factory/chartsToken/PieChart.ts | 35 - .../factory/chartsToken/PolarBarChart.ts | 12 - .../token/factory/chartsToken/ProcessChart.ts | 23 - .../token/factory/chartsToken/RadarChart.ts | 25 - .../token/factory/chartsToken/RegionChart.ts | 13 - .../token/factory/chartsToken/SankeyChart.ts | 11 - .../token/factory/chartsToken/ScatterChart.ts | 11 - .../factory/chartsToken/SunburstChart.ts | 14 - .../token/factory/chartsToken/TreeChart.ts | 13 - .../token/factory/chartsToken/WaveChart.ts | 11 - .../factory/chartsToken/WordCloudChart.ts | 13 - .../token/factory/chartsToken/index.ts | 62 -- .../feature/token/factory/getAliasToken.ts | 32 - .../feature/token/factory/getGlobalToken.ts | 13 - .../feature/token/factory/getModelToken.ts | 303 --------- .../token/factory/globalToken/border.ts | 11 - .../token/factory/globalToken/borderRadius.ts | 59 -- .../feature/token/factory/globalToken/font.ts | 53 -- .../token/factory/globalToken/index.ts | 17 - .../token/factory/globalToken/lineType.ts | 8 - .../feature/token/factory/globalToken/size.ts | 11 - .../token/factory/globalToken/space.ts | 15 - .../base/feature/token/factory/index.ts | 23 - .../base/feature/token/factory/mergeToken.ts | 61 -- .../chart-core/base/feature/token/index.ts | 133 ---- .../chart-core/base/feature/token/readme.md | 15 - .../feature/token/theme/bpit/getAliasToken.ts | 179 ----- .../base/feature/token/theme/bpit/index.ts | 8 - .../token/theme/cloud/getAliasToken.ts | 179 ----- .../base/feature/token/theme/cloud/index.ts | 8 - .../token/theme/hdesign/getAliasToken.ts | 183 ------ .../base/feature/token/theme/hdesign/index.ts | 8 - .../feature/token/theme/ict/getAliasToken.ts | 179 ----- .../base/feature/token/theme/ict/index.ts | 8 - .../vue/src/chart/chart-core/base/index.less | 11 - .../vue/src/chart/chart-core/base/index.ts | 25 - .../chart-core/base/option/PolarSys/index.ts | 32 - .../chart-core/base/option/RectSys/index.ts | 40 -- .../chart-core/base/option/base/index.ts | 13 - .../base/option/config/angleAxis/base.ts | 46 -- .../base/option/config/angleAxis/index.ts | 31 - .../base/option/config/datazoom/base.ts | 112 ---- .../base/option/config/datazoom/index.ts | 45 -- .../base/option/config/grid/base.ts | 16 - .../base/option/config/grid/index.ts | 21 - .../base/option/config/legend/base.ts | 66 -- .../base/option/config/legend/icon.ts | 11 - .../base/option/config/legend/index.ts | 45 -- .../base/option/config/legend/itemStyle.ts | 5 - .../base/option/config/legend/ldata.ts | 17 - .../base/option/config/legend/pageIcon.ts | 43 -- .../base/option/config/legend/position.ts | 8 - .../base/option/config/legend/size.ts | 6 - .../base/option/config/legend/textStyle.ts | 6 - .../base/option/config/mark/index.ts | 34 - .../base/option/config/polar/base.ts | 15 - .../base/option/config/polar/index.ts | 22 - .../base/option/config/polarTitle/base.ts | 29 - .../base/option/config/polarTitle/index.ts | 40 -- .../option/config/polarTitle/subtextStyle.ts | 10 - .../option/config/polarTitle/textStyle.ts | 11 - .../base/option/config/radiusAxis/base.ts | 45 -- .../base/option/config/radiusAxis/index.ts | 29 - .../base/option/config/rectTitle/base.ts | 20 - .../base/option/config/rectTitle/index.ts | 43 -- .../option/config/rectTitle/titlePadding.ts | 25 - .../base/option/config/tooltip/axisPointer.ts | 19 - .../base/option/config/tooltip/base.ts | 50 -- .../base/option/config/tooltip/index.ts | 24 - .../base/option/config/xAxis/axisLabel.ts | 17 - .../base/option/config/xAxis/axisLine.ts | 18 - .../base/option/config/xAxis/axisMargin.ts | 19 - .../base/option/config/xAxis/base.ts | 54 -- .../base/option/config/xAxis/boundaryGap.ts | 6 - .../base/option/config/xAxis/index.ts | 34 - .../base/option/config/xAxis/name.ts | 7 - .../base/option/config/xAxis/xdata.ts | 12 - .../base/option/config/xAxis/xkey.ts | 9 - .../base/option/config/yAxis/base.ts | 47 -- .../base/option/config/yAxis/index.ts | 70 -- .../base/option/config/yAxis/ydata.ts | 17 - .../chart-core/base/option/init/index.ts | 148 ----- .../vue/src/chart/chart-core/base/register.ts | 122 ---- .../chart/chart-core/base/util/centerDom.ts | 80 --- .../chart/chart-core/base/util/cloneDeep.ts | 18 - .../src/chart/chart-core/base/util/color.ts | 144 ---- .../src/chart/chart-core/base/util/convert.ts | 27 - .../chart/chart-core/base/util/defendXSS.ts | 91 --- .../vue/src/chart/chart-core/base/util/dom.ts | 48 -- .../src/chart/chart-core/base/util/equal.ts | 47 -- .../src/chart/chart-core/base/util/event.ts | 14 - .../src/chart/chart-core/base/util/hashMap.ts | 100 --- .../chart/chart-core/base/util/init/insert.ts | 150 ----- .../src/chart/chart-core/base/util/math.ts | 108 --- .../src/chart/chart-core/base/util/merge.ts | 64 -- .../src/chart/chart-core/base/util/proxy.ts | 11 - .../chart/chart-core/base/util/sort/max.ts | 53 -- .../chart/chart-core/base/util/sort/min.ts | 53 -- .../chart/chart-core/base/util/throttle.ts | 51 -- .../src/chart/chart-core/base/util/tips.ts | 14 - .../src/chart/chart-core/base/util/type.ts | 32 - packages/vue/src/chart/chart-funnel/index.ts | 8 - packages/vue/src/chart/chart-gauge/index.ts | 8 - packages/vue/src/chart/chart-graph/index.ts | 9 - .../vue/src/chart/chart-graph/package.json | 19 - packages/vue/src/chart/chart-heatmap/index.ts | 9 - .../vue/src/chart/chart-heatmap/package.json | 19 - .../vue/src/chart/chart-histogram/index.ts | 8 - .../src/chart/chart-histogram/package.json | 19 - packages/vue/src/chart/chart-line/index.ts | 8 - .../vue/src/chart/chart-line/package.json | 19 - .../vue/src/chart/chart-liquidfill/index.ts | 8 - packages/vue/src/chart/chart-map/index.ts | 8 - packages/vue/src/chart/chart-map/package.json | 19 - .../vue/src/chart/chart-map/src/chart-map.vue | 2 +- packages/vue/src/chart/chart-pie/index.ts | 8 - .../vue/src/chart/chart-pie/src/chart-pie.vue | 2 +- packages/vue/src/chart/chart-process/index.ts | 9 - .../vue/src/chart/chart-process/package.json | 19 - packages/vue/src/chart/chart-radar/index.ts | 8 - .../vue/src/chart/chart-radar/package.json | 19 - .../src/chart/chart-radar/src/chart-radar.vue | 2 +- packages/vue/src/chart/chart-ring/index.ts | 8 - .../src/chart/chart-ring/src/chart-ring.vue | 2 +- packages/vue/src/chart/chart-sankey/index.ts | 8 - .../vue/src/chart/chart-sankey/package.json | 19 - .../chart/chart-sankey/src/chart-sankey.vue | 2 +- packages/vue/src/chart/chart-scatter/index.ts | 8 - .../vue/src/chart/chart-scatter/package.json | 19 - .../chart/chart-scatter/src/chart-scatter.vue | 2 +- .../vue/src/chart/chart-sunburst/index.ts | 9 - .../vue/src/chart/chart-sunburst/package.json | 19 - .../chart-sunburst/src/chart-sunburst.vue | 2 +- packages/vue/src/chart/chart-tree/index.ts | 9 - .../vue/src/chart/chart-tree/package.json | 19 - .../src/chart/chart-tree/src/chart-tree.vue | 2 +- .../vue/src/chart/chart-waterfall/index.ts | 8 - .../chart-waterfall/src/chart-waterfall.vue | 2 +- .../vue/src/chart/chart-wordcloud/index.ts | 8 - .../chart-wordcloud/src/chart-wordcloud.vue | 2 +- packages/vue/src/chart/index.ts | 16 - packages/vue/src/chart/package.json | 52 -- packages/vue/src/chart/src/index.ts | 104 --- .../huicharts-amap}/index.ts | 0 .../huicharts-amap}/package.json | 4 +- .../huicharts-amap}/src/AMapCoordSys.ts | 0 .../huicharts-amap}/src/AMapModel.ts | 0 .../huicharts-amap}/src/AMapView.ts | 0 .../huicharts-amap}/src/amap.ts | 0 .../huicharts-amap}/src/autonavi-map.vue | 5 +- .../vue/src/huicharts/huicharts-bar/index.ts | 9 + .../huicharts-bar}/package.json | 4 +- .../huicharts-bar}/src/chart-bar.vue | 4 +- .../huicharts-bar}/src/histogram.ts | 11 +- .../huicharts-bmap}/index.ts | 0 .../huicharts-bmap}/package.json | 4 +- .../huicharts-bmap}/src/baidu-map.vue | 4 +- .../src/huicharts/huicharts-boxplot/index.ts | 9 + .../huicharts/huicharts-boxplot/package.json | 19 + .../huicharts-boxplot}/src/boxplot.ts | 2 +- .../huicharts-boxplot}/src/chart-boxplot.vue | 2 +- .../huicharts-boxplot}/src/types.ts | 0 .../src/huicharts/huicharts-candle/index.ts | 9 + .../huicharts-candle}/package.json | 4 +- .../huicharts-candle}/src/candle.ts | 2 +- .../huicharts-candle}/src/chart-candle.vue | 2 +- .../huicharts-candle}/src/types.ts | 0 .../huicharts-core}/common/constants.ts | 0 .../huicharts-core}/common/defendXSS.ts | 0 .../huicharts-core}/common/extend.ts | 2 +- .../huicharts-core}/common/numerify.ts | 0 .../huicharts-core}/common/object.ts | 0 .../huicharts-core}/common/type.ts | 0 .../huicharts-core}/common/util.ts | 0 .../huicharts-core}/index.ts | 0 .../huicharts-core}/package.json | 3 +- .../huicharts-core}/src/chart-core.ts | 59 +- .../huicharts-core}/utils/deep-clone.ts | 0 .../huicharts-core}/utils/options.ts | 0 .../huicharts-core}/utils/throttle.ts | 0 .../huicharts-core}/utils/type.ts | 0 .../src/huicharts/huicharts-funnel/index.ts | 8 + .../huicharts/huicharts-funnel/package.json | 19 + .../huicharts-funnel}/src/chart-funnel.vue | 2 +- .../huicharts-funnel}/src/funnel.ts | 2 +- .../huicharts-funnel}/src/types.ts | 0 .../src/huicharts/huicharts-gauge/index.ts | 8 + .../huicharts/huicharts-gauge/package.json | 19 + .../huicharts-gauge}/src/chart-gauge.vue | 2 +- .../huicharts-gauge}/src/gauge.ts | 8 +- .../huicharts-gauge}/src/types.ts | 0 .../src/huicharts/huicharts-graph/index.ts | 9 + .../huicharts/huicharts-graph/package.json | 19 + .../huicharts-graph}/src/chart-graph.vue | 2 +- .../huicharts-graph}/src/graph.ts | 2 +- .../huicharts-graph}/src/types.ts | 0 .../src/huicharts/huicharts-heatmap/index.ts | 9 + .../huicharts/huicharts-heatmap/package.json | 19 + .../huicharts-heatmap}/src/chart-heatmap.vue | 2 +- .../huicharts-heatmap}/src/heatmap.ts | 11 +- .../huicharts-heatmap}/src/type.ts | 0 .../huicharts/huicharts-histogram/index.ts | 8 + .../huicharts-histogram/package.json | 19 + .../src/chart-histogram.vue | 2 +- .../huicharts-histogram}/src/histogram.ts | 11 +- .../vue/src/huicharts/huicharts-line/index.ts | 8 + .../huicharts-line}/package.json | 4 +- .../huicharts-line}/src/chart-line.vue | 2 +- .../huicharts-line}/src/line.ts | 2 +- .../huicharts-line}/src/types.ts | 0 .../huicharts/huicharts-liquidfill/index.ts | 8 + .../huicharts-liquidfill}/package.json | 4 +- .../src/chart-liquidfill.vue | 2 +- .../huicharts-liquidfill}/src/liquidfill.ts | 2 +- .../huicharts-liquidfill}/src/types.ts | 0 .../vue/src/huicharts/huicharts-map/index.ts | 8 + .../huicharts-map}/package.json | 4 +- .../huicharts/huicharts-map/src/chart-map.vue | 47 ++ .../huicharts-map}/src/map.ts | 2 +- .../huicharts-map}/src/types.ts | 0 .../vue/src/huicharts/huicharts-pie/index.ts | 8 + .../huicharts-pie}/package.json | 4 +- .../huicharts/huicharts-pie/src/chart-pie.vue | 36 + .../huicharts-pie}/src/pie.ts | 2 +- .../huicharts-pie}/src/types.ts | 0 .../src/huicharts/huicharts-process/index.ts | 9 + .../huicharts/huicharts-process/package.json | 19 + .../huicharts-process}/src/chart-process.vue | 2 +- .../src/huicharts/huicharts-radar/index.ts | 8 + .../huicharts/huicharts-radar/package.json | 19 + .../huicharts-radar/src/chart-radar.vue | 49 ++ .../huicharts-radar}/src/radar.ts | 2 +- .../vue/src/huicharts/huicharts-ring/index.ts | 8 + .../huicharts-ring}/package.json | 4 +- .../huicharts-ring/src/chart-ring.vue | 35 + .../huicharts-ring}/src/ring.ts | 2 +- .../huicharts-ring}/src/types.ts | 0 .../src/huicharts/huicharts-sankey/index.ts | 8 + .../huicharts/huicharts-sankey/package.json | 19 + .../huicharts-sankey/src/chart-sankey.vue | 37 ++ .../huicharts-sankey}/src/sankey.ts | 2 +- .../huicharts-sankey}/src/types.ts | 0 .../src/huicharts/huicharts-scatter/index.ts | 8 + .../huicharts/huicharts-scatter/package.json | 19 + .../huicharts-scatter/src/chart-scatter.vue | 35 + .../huicharts-scatter}/src/scatter.ts | 2 +- .../huicharts-scatter}/src/types.ts | 0 .../src/huicharts/huicharts-sunburst/index.ts | 9 + .../huicharts/huicharts-sunburst/package.json | 19 + .../huicharts-sunburst/src/chart-sunburst.vue | 37 ++ .../huicharts-sunburst}/src/sunburst.ts | 2 +- .../huicharts-sunburst}/src/types.ts | 0 .../vue/src/huicharts/huicharts-tree/index.ts | 9 + .../huicharts-tree}/package.json | 4 +- .../huicharts-tree/src/chart-tree.vue | 37 ++ .../huicharts-tree}/src/tree.ts | 4 +- .../huicharts-tree}/src/types.ts | 0 .../huicharts/huicharts-waterfall/index.ts | 8 + .../huicharts-waterfall}/package.json | 4 +- .../src/chart-waterfall.vue | 38 ++ .../huicharts-waterfall}/src/types.ts | 0 .../huicharts-waterfall}/src/waterfall.ts | 2 +- .../huicharts/huicharts-wordcloud/index.ts | 8 + .../huicharts-wordcloud}/package.json | 4 +- .../src/chart-wordcloud.vue | 37 ++ .../huicharts-wordcloud}/src/types.ts | 0 .../huicharts-wordcloud}/src/wordcloud.ts | 2 +- packages/vue/src/huicharts/index.ts | 16 + packages/vue/src/huicharts/package.json | 52 ++ packages/vue/src/huicharts/src/index.ts | 104 +++ tsconfig.solid.json | 46 +- tsconfig.vue2.7.json | 46 +- tsconfig.vue2.json | 46 +- tsconfig.vue3.json | 46 +- 706 files changed, 1918 insertions(+), 16018 deletions(-) delete mode 100644 packages/vue/src/chart/chart-bar/index.ts delete mode 100644 packages/vue/src/chart/chart-boxplot/index.ts delete mode 100644 packages/vue/src/chart/chart-candle/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/chart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/AutonaviMapChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/BaiduMapChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/BarChart/chartToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/BarChart/handleOptipn.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/BarChart/handleSeries.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/BarChart/handleVisualMap.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/BarChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/BaseChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/BoxplotChart/chartToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/BoxplotChart/handleOption.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/BoxplotChart/handleSeries.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/BoxplotChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/BubbleChart/chartToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/BubbleChart/handleData.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/BubbleChart/handleOptipn.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/BubbleChart/handleSeries.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/BubbleChart/handleTrendLine.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/BubbleChart/handleVisualMap.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/BubbleChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/CandlestickChart/BaseOption.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/CandlestickChart/chartToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/CandlestickChart/hanleOption.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/CandlestickChart/hanleSeries.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/CandlestickChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/FunnelChart/chartToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/FunnelChart/handleLegend.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/FunnelChart/handleSeries.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/FunnelChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/GaugeChart/BaseOption.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/GaugeChart/chartToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/GaugeChart/handleOptipn.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/GaugeChart/handleSeries.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/GaugeChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/GraphChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/HeatMapChart/BaseOption.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/HeatMapChart/chartToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/HeatMapChart/handleData.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/HeatMapChart/handleOptipn.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/HeatMapChart/handleSeries.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/HeatMapChart/handleVisualMap.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/HeatMapChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/LineChart/AreaChart/bottomArea.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/LineChart/AreaChart/chartToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/LineChart/AreaChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/LineChart/AreaChart/topArea.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/LineChart/chartToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/LineChart/handleOptipn.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/LineChart/handlePredict.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/LineChart/handleSeries.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/LineChart/handleVisualMap.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/LineChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/LiquidfillChart/chartToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/LiquidfillChart/handleSeries.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/LiquidfillChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/PieChart/chartToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/PieChart/handleLabel.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/PieChart/handleMulti.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/PieChart/handleSeries.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/PieChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/ProcessChart/BaseOption.js delete mode 100644 packages/vue/src/chart/chart-core/base/components/ProcessChart/chartToken.js delete mode 100644 packages/vue/src/chart/chart-core/base/components/ProcessChart/handleData.js delete mode 100644 packages/vue/src/chart/chart-core/base/components/ProcessChart/handleOption.js delete mode 100644 packages/vue/src/chart/chart-core/base/components/ProcessChart/handleSeries.js delete mode 100644 packages/vue/src/chart/chart-core/base/components/ProcessChart/index.js delete mode 100644 packages/vue/src/chart/chart-core/base/components/RadarChart/chartToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/RadarChart/getRadar.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/RadarChart/handleOptipn.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/RadarChart/handleSeries.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/RadarChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/RegionChart/chartToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/RegionChart/handleOption.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/RegionChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/SankeyChart/BaseOption.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/SankeyChart/chartToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/SankeyChart/handleColor.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/SankeyChart/handleData.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/SankeyChart/handleOption.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/SankeyChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/SunburstChart/chartToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/SunburstChart/handleSeries.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/SunburstChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/TreeChart/BaseOption.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/TreeChart/chartToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/TreeChart/handleOptipn.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/TreeChart/handleSeries.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/TreeChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/WordCloudChart/BaseOption.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/WordCloudChart/chartToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/WordCloudChart/handleOptipn.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/WordCloudChart/handleSeries.ts delete mode 100644 packages/vue/src/chart/chart-core/base/components/WordCloudChart/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/core.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/axistip/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/drag/index.less delete mode 100644 packages/vue/src/chart/chart-core/base/feature/drag/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/fluctuation/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/mediaScreen/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/mini/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/readScreen/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/color/bpit/dark.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/color/bpit/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/color/bpit/light.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/color/cloud/board.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/color/cloud/dark.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/color/cloud/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/color/cloud/light.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/color/hdesign/board.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/color/hdesign/dark.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/color/hdesign/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/color/hdesign/light.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/color/ict/board.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/color/ict/dark.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/color/ict/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/color/ict/light.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/color/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/color/util.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/constants.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/AreaChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/AssembleBubbleChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/BarChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/BoxplotChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/BubbleChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/CandlestickChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/CircleProcessChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/FunnelChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/GaugeChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/HeatMapChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/HillChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/JadeJueChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/LineChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/LiquidfillChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/PieChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/PolarBarChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/ProcessChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/RadarChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/RegionChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/SankeyChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/ScatterChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/SunburstChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/TreeChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/WaveChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/WordCloudChart.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/chartsToken/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/getAliasToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/getGlobalToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/getModelToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/globalToken/border.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/globalToken/borderRadius.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/globalToken/font.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/globalToken/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/globalToken/lineType.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/globalToken/size.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/globalToken/space.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/factory/mergeToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/readme.md delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/theme/bpit/getAliasToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/theme/bpit/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/theme/cloud/getAliasToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/theme/cloud/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/theme/hdesign/getAliasToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/theme/hdesign/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/theme/ict/getAliasToken.ts delete mode 100644 packages/vue/src/chart/chart-core/base/feature/token/theme/ict/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/index.less delete mode 100644 packages/vue/src/chart/chart-core/base/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/PolarSys/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/RectSys/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/base/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/angleAxis/base.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/angleAxis/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/datazoom/base.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/datazoom/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/grid/base.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/grid/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/legend/base.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/legend/icon.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/legend/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/legend/itemStyle.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/legend/ldata.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/legend/pageIcon.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/legend/position.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/legend/size.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/legend/textStyle.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/mark/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/polar/base.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/polar/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/polarTitle/base.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/polarTitle/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/polarTitle/subtextStyle.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/polarTitle/textStyle.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/radiusAxis/base.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/radiusAxis/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/rectTitle/base.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/rectTitle/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/rectTitle/titlePadding.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/tooltip/axisPointer.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/tooltip/base.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/tooltip/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/xAxis/axisLabel.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/xAxis/axisLine.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/xAxis/axisMargin.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/xAxis/base.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/xAxis/boundaryGap.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/xAxis/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/xAxis/name.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/xAxis/xdata.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/xAxis/xkey.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/yAxis/base.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/yAxis/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/config/yAxis/ydata.ts delete mode 100644 packages/vue/src/chart/chart-core/base/option/init/index.ts delete mode 100644 packages/vue/src/chart/chart-core/base/register.ts delete mode 100644 packages/vue/src/chart/chart-core/base/util/centerDom.ts delete mode 100644 packages/vue/src/chart/chart-core/base/util/cloneDeep.ts delete mode 100644 packages/vue/src/chart/chart-core/base/util/color.ts delete mode 100644 packages/vue/src/chart/chart-core/base/util/convert.ts delete mode 100644 packages/vue/src/chart/chart-core/base/util/defendXSS.ts delete mode 100644 packages/vue/src/chart/chart-core/base/util/dom.ts delete mode 100644 packages/vue/src/chart/chart-core/base/util/equal.ts delete mode 100644 packages/vue/src/chart/chart-core/base/util/event.ts delete mode 100644 packages/vue/src/chart/chart-core/base/util/hashMap.ts delete mode 100644 packages/vue/src/chart/chart-core/base/util/init/insert.ts delete mode 100644 packages/vue/src/chart/chart-core/base/util/math.ts delete mode 100644 packages/vue/src/chart/chart-core/base/util/merge.ts delete mode 100644 packages/vue/src/chart/chart-core/base/util/proxy.ts delete mode 100644 packages/vue/src/chart/chart-core/base/util/sort/max.ts delete mode 100644 packages/vue/src/chart/chart-core/base/util/sort/min.ts delete mode 100644 packages/vue/src/chart/chart-core/base/util/throttle.ts delete mode 100644 packages/vue/src/chart/chart-core/base/util/tips.ts delete mode 100644 packages/vue/src/chart/chart-core/base/util/type.ts delete mode 100644 packages/vue/src/chart/chart-funnel/index.ts delete mode 100644 packages/vue/src/chart/chart-gauge/index.ts delete mode 100644 packages/vue/src/chart/chart-graph/index.ts delete mode 100644 packages/vue/src/chart/chart-graph/package.json delete mode 100644 packages/vue/src/chart/chart-heatmap/index.ts delete mode 100644 packages/vue/src/chart/chart-heatmap/package.json delete mode 100644 packages/vue/src/chart/chart-histogram/index.ts delete mode 100644 packages/vue/src/chart/chart-histogram/package.json delete mode 100644 packages/vue/src/chart/chart-line/index.ts delete mode 100644 packages/vue/src/chart/chart-line/package.json delete mode 100644 packages/vue/src/chart/chart-liquidfill/index.ts delete mode 100644 packages/vue/src/chart/chart-map/index.ts delete mode 100644 packages/vue/src/chart/chart-map/package.json delete mode 100644 packages/vue/src/chart/chart-pie/index.ts delete mode 100644 packages/vue/src/chart/chart-process/index.ts delete mode 100644 packages/vue/src/chart/chart-process/package.json delete mode 100644 packages/vue/src/chart/chart-radar/index.ts delete mode 100644 packages/vue/src/chart/chart-radar/package.json delete mode 100644 packages/vue/src/chart/chart-ring/index.ts delete mode 100644 packages/vue/src/chart/chart-sankey/index.ts delete mode 100644 packages/vue/src/chart/chart-sankey/package.json delete mode 100644 packages/vue/src/chart/chart-scatter/index.ts delete mode 100644 packages/vue/src/chart/chart-scatter/package.json delete mode 100644 packages/vue/src/chart/chart-sunburst/index.ts delete mode 100644 packages/vue/src/chart/chart-sunburst/package.json delete mode 100644 packages/vue/src/chart/chart-tree/index.ts delete mode 100644 packages/vue/src/chart/chart-tree/package.json delete mode 100644 packages/vue/src/chart/chart-waterfall/index.ts delete mode 100644 packages/vue/src/chart/chart-wordcloud/index.ts delete mode 100644 packages/vue/src/chart/index.ts delete mode 100644 packages/vue/src/chart/package.json delete mode 100644 packages/vue/src/chart/src/index.ts rename packages/vue/src/{chart/autonavi-map => huicharts/huicharts-amap}/index.ts (100%) rename packages/vue/src/{chart/autonavi-map => huicharts/huicharts-amap}/package.json (82%) rename packages/vue/src/{chart/autonavi-map => huicharts/huicharts-amap}/src/AMapCoordSys.ts (100%) rename packages/vue/src/{chart/autonavi-map => huicharts/huicharts-amap}/src/AMapModel.ts (100%) rename packages/vue/src/{chart/autonavi-map => huicharts/huicharts-amap}/src/AMapView.ts (100%) rename packages/vue/src/{chart/autonavi-map => huicharts/huicharts-amap}/src/amap.ts (100%) rename packages/vue/src/{chart/autonavi-map => huicharts/huicharts-amap}/src/autonavi-map.vue (93%) create mode 100644 packages/vue/src/huicharts/huicharts-bar/index.ts rename packages/vue/src/{chart/chart-gauge => huicharts/huicharts-bar}/package.json (79%) rename packages/vue/src/{chart/chart-bar => huicharts/huicharts-bar}/src/chart-bar.vue (87%) rename packages/vue/src/{chart/chart-bar => huicharts/huicharts-bar}/src/histogram.ts (98%) rename packages/vue/src/{chart/baidu-map => huicharts/huicharts-bmap}/index.ts (100%) rename packages/vue/src/{chart/baidu-map => huicharts/huicharts-bmap}/package.json (82%) rename packages/vue/src/{chart/baidu-map => huicharts/huicharts-bmap}/src/baidu-map.vue (93%) create mode 100644 packages/vue/src/huicharts/huicharts-boxplot/index.ts create mode 100644 packages/vue/src/huicharts/huicharts-boxplot/package.json rename packages/vue/src/{chart/chart-boxplot => huicharts/huicharts-boxplot}/src/boxplot.ts (98%) rename packages/vue/src/{chart/chart-boxplot => huicharts/huicharts-boxplot}/src/chart-boxplot.vue (94%) rename packages/vue/src/{chart/chart-boxplot => huicharts/huicharts-boxplot}/src/types.ts (100%) create mode 100644 packages/vue/src/huicharts/huicharts-candle/index.ts rename packages/vue/src/{chart/chart-ring => huicharts/huicharts-candle}/package.json (80%) rename packages/vue/src/{chart/chart-candle => huicharts/huicharts-candle}/src/candle.ts (99%) rename packages/vue/src/{chart/chart-candle => huicharts/huicharts-candle}/src/chart-candle.vue (93%) rename packages/vue/src/{chart/chart-candle => huicharts/huicharts-candle}/src/types.ts (100%) rename packages/vue/src/{chart/chart-core => huicharts/huicharts-core}/common/constants.ts (100%) rename packages/vue/src/{chart/chart-core => huicharts/huicharts-core}/common/defendXSS.ts (100%) rename packages/vue/src/{chart/chart-core => huicharts/huicharts-core}/common/extend.ts (97%) rename packages/vue/src/{chart/chart-core => huicharts/huicharts-core}/common/numerify.ts (100%) rename packages/vue/src/{chart/chart-core => huicharts/huicharts-core}/common/object.ts (100%) rename packages/vue/src/{chart/chart-core => huicharts/huicharts-core}/common/type.ts (100%) rename packages/vue/src/{chart/chart-core => huicharts/huicharts-core}/common/util.ts (100%) rename packages/vue/src/{chart/chart-core => huicharts/huicharts-core}/index.ts (100%) rename packages/vue/src/{chart/chart-core => huicharts/huicharts-core}/package.json (82%) rename packages/vue/src/{chart/chart-core => huicharts/huicharts-core}/src/chart-core.ts (90%) rename packages/vue/src/{chart/chart-core => huicharts/huicharts-core}/utils/deep-clone.ts (100%) rename packages/vue/src/{chart/chart-core => huicharts/huicharts-core}/utils/options.ts (100%) rename packages/vue/src/{chart/chart-core => huicharts/huicharts-core}/utils/throttle.ts (100%) rename packages/vue/src/{chart/chart-core => huicharts/huicharts-core}/utils/type.ts (100%) create mode 100644 packages/vue/src/huicharts/huicharts-funnel/index.ts create mode 100644 packages/vue/src/huicharts/huicharts-funnel/package.json rename packages/vue/src/{chart/chart-funnel => huicharts/huicharts-funnel}/src/chart-funnel.vue (93%) rename packages/vue/src/{chart/chart-funnel => huicharts/huicharts-funnel}/src/funnel.ts (99%) rename packages/vue/src/{chart/chart-funnel => huicharts/huicharts-funnel}/src/types.ts (100%) create mode 100644 packages/vue/src/huicharts/huicharts-gauge/index.ts create mode 100644 packages/vue/src/huicharts/huicharts-gauge/package.json rename packages/vue/src/{chart/chart-gauge => huicharts/huicharts-gauge}/src/chart-gauge.vue (93%) rename packages/vue/src/{chart/chart-gauge => huicharts/huicharts-gauge}/src/gauge.ts (93%) rename packages/vue/src/{chart/chart-gauge => huicharts/huicharts-gauge}/src/types.ts (100%) create mode 100644 packages/vue/src/huicharts/huicharts-graph/index.ts create mode 100644 packages/vue/src/huicharts/huicharts-graph/package.json rename packages/vue/src/{chart/chart-graph => huicharts/huicharts-graph}/src/chart-graph.vue (93%) rename packages/vue/src/{chart/chart-graph => huicharts/huicharts-graph}/src/graph.ts (97%) rename packages/vue/src/{chart/chart-graph => huicharts/huicharts-graph}/src/types.ts (100%) create mode 100644 packages/vue/src/huicharts/huicharts-heatmap/index.ts create mode 100644 packages/vue/src/huicharts/huicharts-heatmap/package.json rename packages/vue/src/{chart/chart-heatmap => huicharts/huicharts-heatmap}/src/chart-heatmap.vue (97%) rename packages/vue/src/{chart/chart-heatmap => huicharts/huicharts-heatmap}/src/heatmap.ts (97%) rename packages/vue/src/{chart/chart-heatmap => huicharts/huicharts-heatmap}/src/type.ts (100%) create mode 100644 packages/vue/src/huicharts/huicharts-histogram/index.ts create mode 100644 packages/vue/src/huicharts/huicharts-histogram/package.json rename packages/vue/src/{chart/chart-histogram => huicharts/huicharts-histogram}/src/chart-histogram.vue (94%) rename packages/vue/src/{chart/chart-histogram => huicharts/huicharts-histogram}/src/histogram.ts (98%) create mode 100644 packages/vue/src/huicharts/huicharts-line/index.ts rename packages/vue/src/{chart/chart-boxplot => huicharts/huicharts-line}/package.json (79%) rename packages/vue/src/{chart/chart-line => huicharts/huicharts-line}/src/chart-line.vue (93%) rename packages/vue/src/{chart/chart-line => huicharts/huicharts-line}/src/line.ts (99%) rename packages/vue/src/{chart/chart-line => huicharts/huicharts-line}/src/types.ts (100%) create mode 100644 packages/vue/src/huicharts/huicharts-liquidfill/index.ts rename packages/vue/src/{chart/chart-liquidfill => huicharts/huicharts-liquidfill}/package.json (79%) rename packages/vue/src/{chart/chart-liquidfill => huicharts/huicharts-liquidfill}/src/chart-liquidfill.vue (93%) rename packages/vue/src/{chart/chart-liquidfill => huicharts/huicharts-liquidfill}/src/liquidfill.ts (98%) rename packages/vue/src/{chart/chart-liquidfill => huicharts/huicharts-liquidfill}/src/types.ts (100%) create mode 100644 packages/vue/src/huicharts/huicharts-map/index.ts rename packages/vue/src/{chart/chart-funnel => huicharts/huicharts-map}/package.json (79%) create mode 100644 packages/vue/src/huicharts/huicharts-map/src/chart-map.vue rename packages/vue/src/{chart/chart-map => huicharts/huicharts-map}/src/map.ts (99%) rename packages/vue/src/{chart/chart-map => huicharts/huicharts-map}/src/types.ts (100%) create mode 100644 packages/vue/src/huicharts/huicharts-pie/index.ts rename packages/vue/src/{chart/chart-candle => huicharts/huicharts-pie}/package.json (81%) create mode 100644 packages/vue/src/huicharts/huicharts-pie/src/chart-pie.vue rename packages/vue/src/{chart/chart-pie => huicharts/huicharts-pie}/src/pie.ts (99%) rename packages/vue/src/{chart/chart-pie => huicharts/huicharts-pie}/src/types.ts (100%) create mode 100644 packages/vue/src/huicharts/huicharts-process/index.ts create mode 100644 packages/vue/src/huicharts/huicharts-process/package.json rename packages/vue/src/{chart/chart-process => huicharts/huicharts-process}/src/chart-process.vue (90%) create mode 100644 packages/vue/src/huicharts/huicharts-radar/index.ts create mode 100644 packages/vue/src/huicharts/huicharts-radar/package.json create mode 100644 packages/vue/src/huicharts/huicharts-radar/src/chart-radar.vue rename packages/vue/src/{chart/chart-radar => huicharts/huicharts-radar}/src/radar.ts (98%) create mode 100644 packages/vue/src/huicharts/huicharts-ring/index.ts rename packages/vue/src/{chart/chart-pie => huicharts/huicharts-ring}/package.json (80%) create mode 100644 packages/vue/src/huicharts/huicharts-ring/src/chart-ring.vue rename packages/vue/src/{chart/chart-ring => huicharts/huicharts-ring}/src/ring.ts (99%) rename packages/vue/src/{chart/chart-ring => huicharts/huicharts-ring}/src/types.ts (100%) create mode 100644 packages/vue/src/huicharts/huicharts-sankey/index.ts create mode 100644 packages/vue/src/huicharts/huicharts-sankey/package.json create mode 100644 packages/vue/src/huicharts/huicharts-sankey/src/chart-sankey.vue rename packages/vue/src/{chart/chart-sankey => huicharts/huicharts-sankey}/src/sankey.ts (98%) rename packages/vue/src/{chart/chart-sankey => huicharts/huicharts-sankey}/src/types.ts (100%) create mode 100644 packages/vue/src/huicharts/huicharts-scatter/index.ts create mode 100644 packages/vue/src/huicharts/huicharts-scatter/package.json create mode 100644 packages/vue/src/huicharts/huicharts-scatter/src/chart-scatter.vue rename packages/vue/src/{chart/chart-scatter => huicharts/huicharts-scatter}/src/scatter.ts (99%) rename packages/vue/src/{chart/chart-scatter => huicharts/huicharts-scatter}/src/types.ts (100%) create mode 100644 packages/vue/src/huicharts/huicharts-sunburst/index.ts create mode 100644 packages/vue/src/huicharts/huicharts-sunburst/package.json create mode 100644 packages/vue/src/huicharts/huicharts-sunburst/src/chart-sunburst.vue rename packages/vue/src/{chart/chart-sunburst => huicharts/huicharts-sunburst}/src/sunburst.ts (97%) rename packages/vue/src/{chart/chart-sunburst => huicharts/huicharts-sunburst}/src/types.ts (100%) create mode 100644 packages/vue/src/huicharts/huicharts-tree/index.ts rename packages/vue/src/{chart/chart-bar => huicharts/huicharts-tree}/package.json (79%) create mode 100644 packages/vue/src/huicharts/huicharts-tree/src/chart-tree.vue rename packages/vue/src/{chart/chart-tree => huicharts/huicharts-tree}/src/tree.ts (96%) rename packages/vue/src/{chart/chart-tree => huicharts/huicharts-tree}/src/types.ts (100%) create mode 100644 packages/vue/src/huicharts/huicharts-waterfall/index.ts rename packages/vue/src/{chart/chart-waterfall => huicharts/huicharts-waterfall}/package.json (80%) create mode 100644 packages/vue/src/huicharts/huicharts-waterfall/src/chart-waterfall.vue rename packages/vue/src/{chart/chart-waterfall => huicharts/huicharts-waterfall}/src/types.ts (100%) rename packages/vue/src/{chart/chart-waterfall => huicharts/huicharts-waterfall}/src/waterfall.ts (99%) create mode 100644 packages/vue/src/huicharts/huicharts-wordcloud/index.ts rename packages/vue/src/{chart/chart-wordcloud => huicharts/huicharts-wordcloud}/package.json (79%) create mode 100644 packages/vue/src/huicharts/huicharts-wordcloud/src/chart-wordcloud.vue rename packages/vue/src/{chart/chart-wordcloud => huicharts/huicharts-wordcloud}/src/types.ts (100%) rename packages/vue/src/{chart/chart-wordcloud => huicharts/huicharts-wordcloud}/src/wordcloud.ts (96%) create mode 100644 packages/vue/src/huicharts/index.ts create mode 100644 packages/vue/src/huicharts/package.json create mode 100644 packages/vue/src/huicharts/src/index.ts diff --git a/examples/sites/demos/mobile-first/app/tabs/show-echarts.vue b/examples/sites/demos/mobile-first/app/tabs/show-echarts.vue index 7bfb22a73..9c5fe60f6 100644 --- a/examples/sites/demos/mobile-first/app/tabs/show-echarts.vue +++ b/examples/sites/demos/mobile-first/app/tabs/show-echarts.vue @@ -10,14 +10,14 @@ diff --git a/packages/vue/src/chart/chart-map/src/map.ts b/packages/vue/src/huicharts/huicharts-map/src/map.ts similarity index 99% rename from packages/vue/src/chart/chart-map/src/map.ts rename to packages/vue/src/huicharts/huicharts-map/src/map.ts index bf78a57fb..586a4b2fd 100644 --- a/packages/vue/src/chart/chart-map/src/map.ts +++ b/packages/vue/src/huicharts/huicharts-map/src/map.ts @@ -1,4 +1,4 @@ -import { getFormatted, getMapJSON, itemPoint, itemLabel, itemContent, isNull } from '@opentiny/vue-chart-core' +import { getFormatted, getMapJSON, itemPoint, itemLabel, itemContent, isNull } from '@opentiny/vue-huicharts-core' const getLegendMap = (args, legendItemStyle) => { const { metrics, legendName, labelMap } = args diff --git a/packages/vue/src/chart/chart-map/src/types.ts b/packages/vue/src/huicharts/huicharts-map/src/types.ts similarity index 100% rename from packages/vue/src/chart/chart-map/src/types.ts rename to packages/vue/src/huicharts/huicharts-map/src/types.ts diff --git a/packages/vue/src/huicharts/huicharts-pie/index.ts b/packages/vue/src/huicharts/huicharts-pie/index.ts new file mode 100644 index 000000000..76872705e --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-pie/index.ts @@ -0,0 +1,8 @@ +import HuiChartsPie from './src/chart-pie.vue' + +HuiChartsPie.install = function (Vue: any) { + Vue.component(HuiChartsPie.name, HuiChartsPie) +} + +export { HuiChartsPie } +export default HuiChartsPie diff --git a/packages/vue/src/chart/chart-candle/package.json b/packages/vue/src/huicharts/huicharts-pie/package.json similarity index 81% rename from packages/vue/src/chart/chart-candle/package.json rename to packages/vue/src/huicharts/huicharts-pie/package.json index 0309cf16d..e26800c71 100644 --- a/packages/vue/src/chart/chart-candle/package.json +++ b/packages/vue/src/huicharts/huicharts-pie/package.json @@ -1,5 +1,5 @@ { - "name": "@opentiny/vue-chart-candle", + "name": "@opentiny/vue-huicharts-pie", "version": "3.18.0", "description": "", "main": "lib/index.js", @@ -12,7 +12,7 @@ "//postversion": "pnpm build" }, "dependencies": { - "@opentiny/vue-chart-core": "workspace:~", + "@opentiny/vue-huicharts-core": "workspace:~", "@opentiny/vue-locale": "workspace:~", "@opentiny/vue-common": "workspace:~" }, diff --git a/packages/vue/src/huicharts/huicharts-pie/src/chart-pie.vue b/packages/vue/src/huicharts/huicharts-pie/src/chart-pie.vue new file mode 100644 index 000000000..ea873778a --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-pie/src/chart-pie.vue @@ -0,0 +1,36 @@ + + + diff --git a/packages/vue/src/chart/chart-pie/src/pie.ts b/packages/vue/src/huicharts/huicharts-pie/src/pie.ts similarity index 99% rename from packages/vue/src/chart/chart-pie/src/pie.ts rename to packages/vue/src/huicharts/huicharts-pie/src/pie.ts index 2507b3c9e..63c4a4962 100644 --- a/packages/vue/src/chart/chart-pie/src/pie.ts +++ b/packages/vue/src/huicharts/huicharts-pie/src/pie.ts @@ -24,7 +24,7 @@ * tooltipVisible boolean 是否显示提示框,true */ -import { deepCopy, getFormatted, itemPoint, itemLabel, itemContent, isDefined } from '@opentiny/vue-chart-core' +import { deepCopy, getFormatted, itemPoint, itemLabel, itemContent, isDefined } from '@opentiny/vue-huicharts-core' const PIE_RADIUS = 100 const RING_RADIUS = [90, 100] diff --git a/packages/vue/src/chart/chart-pie/src/types.ts b/packages/vue/src/huicharts/huicharts-pie/src/types.ts similarity index 100% rename from packages/vue/src/chart/chart-pie/src/types.ts rename to packages/vue/src/huicharts/huicharts-pie/src/types.ts diff --git a/packages/vue/src/huicharts/huicharts-process/index.ts b/packages/vue/src/huicharts/huicharts-process/index.ts new file mode 100644 index 000000000..f879012d4 --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-process/index.ts @@ -0,0 +1,9 @@ +import HuiChartsProcess from './src/chart-process.vue' +import type { VueConstructor } from 'vue' + +HuiChartsProcess.install = function (Vue: VueConstructor) { + Vue.component(HuiChartsProcess.name as string, HuiChartsProcess) +} + +export { HuiChartsProcess } +export default HuiChartsProcess diff --git a/packages/vue/src/huicharts/huicharts-process/package.json b/packages/vue/src/huicharts/huicharts-process/package.json new file mode 100644 index 000000000..5fbfcae69 --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-process/package.json @@ -0,0 +1,19 @@ +{ + "name": "@opentiny/vue-huicharts-process", + "version": "3.18.0", + "description": "", + "main": "lib/index.js", + "module": "index.ts", + "sideEffects": false, + "type": "module", + "devDependencies": {}, + "scripts": { + "build": "pnpm -w build:ui $npm_package_name", + "//postversion": "pnpm build" + }, + "dependencies": { + "@opentiny/vue-huicharts-core": "workspace:~", + "@opentiny/vue-common": "workspace:~" + }, + "license": "MIT" +} \ No newline at end of file diff --git a/packages/vue/src/chart/chart-process/src/chart-process.vue b/packages/vue/src/huicharts/huicharts-process/src/chart-process.vue similarity index 90% rename from packages/vue/src/chart/chart-process/src/chart-process.vue rename to packages/vue/src/huicharts/huicharts-process/src/chart-process.vue index b95b7a6b0..a6df47fcc 100644 --- a/packages/vue/src/chart/chart-process/src/chart-process.vue +++ b/packages/vue/src/huicharts/huicharts-process/src/chart-process.vue @@ -6,7 +6,7 @@ diff --git a/packages/vue/src/chart/chart-radar/src/radar.ts b/packages/vue/src/huicharts/huicharts-radar/src/radar.ts similarity index 98% rename from packages/vue/src/chart/chart-radar/src/radar.ts rename to packages/vue/src/huicharts/huicharts-radar/src/radar.ts index c146c1a89..58c613da4 100644 --- a/packages/vue/src/chart/chart-radar/src/radar.ts +++ b/packages/vue/src/huicharts/huicharts-radar/src/radar.ts @@ -1,4 +1,4 @@ -import { getFormatted, itemPoint, itemLabel, itemContent, isNull } from '@opentiny/vue-chart-core' +import { getFormatted, itemPoint, itemLabel, itemContent, isNull } from '@opentiny/vue-huicharts-core' const getRadarLegend = (rows, dimension, legendName, legendVisible) => { let legendData = rows.map((row) => row[dimension]).filter((i) => i) diff --git a/packages/vue/src/huicharts/huicharts-ring/index.ts b/packages/vue/src/huicharts/huicharts-ring/index.ts new file mode 100644 index 000000000..2a34bf6cd --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-ring/index.ts @@ -0,0 +1,8 @@ +import HuiChartsRing from './src/chart-ring.vue' + +HuiChartsRing.install = function (Vue: any) { + Vue.component(HuiChartsRing.name, HuiChartsRing) +} + +export { HuiChartsRing } +export default HuiChartsRing diff --git a/packages/vue/src/chart/chart-pie/package.json b/packages/vue/src/huicharts/huicharts-ring/package.json similarity index 80% rename from packages/vue/src/chart/chart-pie/package.json rename to packages/vue/src/huicharts/huicharts-ring/package.json index a9028f0ba..fd244ec05 100644 --- a/packages/vue/src/chart/chart-pie/package.json +++ b/packages/vue/src/huicharts/huicharts-ring/package.json @@ -1,5 +1,5 @@ { - "name": "@opentiny/vue-chart-pie", + "name": "@opentiny/vue-huicharts-ring", "version": "3.18.0", "description": "", "main": "lib/index.js", @@ -12,7 +12,7 @@ "//postversion": "pnpm build" }, "dependencies": { - "@opentiny/vue-chart-core": "workspace:~", + "@opentiny/vue-huicharts-core": "workspace:~", "@opentiny/vue-locale": "workspace:~", "@opentiny/vue-common": "workspace:~" }, diff --git a/packages/vue/src/huicharts/huicharts-ring/src/chart-ring.vue b/packages/vue/src/huicharts/huicharts-ring/src/chart-ring.vue new file mode 100644 index 000000000..2829a5750 --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-ring/src/chart-ring.vue @@ -0,0 +1,35 @@ + + + diff --git a/packages/vue/src/chart/chart-ring/src/ring.ts b/packages/vue/src/huicharts/huicharts-ring/src/ring.ts similarity index 99% rename from packages/vue/src/chart/chart-ring/src/ring.ts rename to packages/vue/src/huicharts/huicharts-ring/src/ring.ts index 2507b3c9e..63c4a4962 100644 --- a/packages/vue/src/chart/chart-ring/src/ring.ts +++ b/packages/vue/src/huicharts/huicharts-ring/src/ring.ts @@ -24,7 +24,7 @@ * tooltipVisible boolean 是否显示提示框,true */ -import { deepCopy, getFormatted, itemPoint, itemLabel, itemContent, isDefined } from '@opentiny/vue-chart-core' +import { deepCopy, getFormatted, itemPoint, itemLabel, itemContent, isDefined } from '@opentiny/vue-huicharts-core' const PIE_RADIUS = 100 const RING_RADIUS = [90, 100] diff --git a/packages/vue/src/chart/chart-ring/src/types.ts b/packages/vue/src/huicharts/huicharts-ring/src/types.ts similarity index 100% rename from packages/vue/src/chart/chart-ring/src/types.ts rename to packages/vue/src/huicharts/huicharts-ring/src/types.ts diff --git a/packages/vue/src/huicharts/huicharts-sankey/index.ts b/packages/vue/src/huicharts/huicharts-sankey/index.ts new file mode 100644 index 000000000..96512e4f2 --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-sankey/index.ts @@ -0,0 +1,8 @@ +import HuiChartsSankey from './src/chart-sankey.vue' + +HuiChartsSankey.install = function (Vue: any) { + Vue.component(HuiChartsSankey.name, HuiChartsSankey) +} + +export { HuiChartsSankey } +export default HuiChartsSankey diff --git a/packages/vue/src/huicharts/huicharts-sankey/package.json b/packages/vue/src/huicharts/huicharts-sankey/package.json new file mode 100644 index 000000000..dbd6df37f --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-sankey/package.json @@ -0,0 +1,19 @@ +{ + "name": "@opentiny/vue-huicharts-sankey", + "version": "3.18.0", + "description": "", + "main": "lib/index.js", + "module": "index.ts", + "sideEffects": false, + "type": "module", + "devDependencies": {}, + "scripts": { + "build": "pnpm -w build:ui $npm_package_name", + "//postversion": "pnpm build" + }, + "dependencies": { + "@opentiny/vue-huicharts-core": "workspace:~", + "@opentiny/vue-common": "workspace:~" + }, + "license": "MIT" +} \ No newline at end of file diff --git a/packages/vue/src/huicharts/huicharts-sankey/src/chart-sankey.vue b/packages/vue/src/huicharts/huicharts-sankey/src/chart-sankey.vue new file mode 100644 index 000000000..ebbd6e110 --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-sankey/src/chart-sankey.vue @@ -0,0 +1,37 @@ + + + diff --git a/packages/vue/src/chart/chart-sankey/src/sankey.ts b/packages/vue/src/huicharts/huicharts-sankey/src/sankey.ts similarity index 98% rename from packages/vue/src/chart/chart-sankey/src/sankey.ts rename to packages/vue/src/huicharts/huicharts-sankey/src/sankey.ts index bf15d5f96..d7b67e09f 100644 --- a/packages/vue/src/chart/chart-sankey/src/sankey.ts +++ b/packages/vue/src/huicharts/huicharts-sankey/src/sankey.ts @@ -1,4 +1,4 @@ -import { getFormatted, itemPoint, itemLabel, itemContent, isNull } from '@opentiny/vue-chart-core' +import { getFormatted, itemPoint, itemLabel, itemContent, isNull } from '@opentiny/vue-huicharts-core' const getTooltip = (args) => { const { digit, itemDataType, linksDataType } = args diff --git a/packages/vue/src/chart/chart-sankey/src/types.ts b/packages/vue/src/huicharts/huicharts-sankey/src/types.ts similarity index 100% rename from packages/vue/src/chart/chart-sankey/src/types.ts rename to packages/vue/src/huicharts/huicharts-sankey/src/types.ts diff --git a/packages/vue/src/huicharts/huicharts-scatter/index.ts b/packages/vue/src/huicharts/huicharts-scatter/index.ts new file mode 100644 index 000000000..462325ecf --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-scatter/index.ts @@ -0,0 +1,8 @@ +import HuiChartsScatter from './src/chart-scatter.vue' + +HuiChartsScatter.install = function (Vue: any) { + Vue.component(HuiChartsScatter.name, HuiChartsScatter) +} + +export { HuiChartsScatter } +export default HuiChartsScatter diff --git a/packages/vue/src/huicharts/huicharts-scatter/package.json b/packages/vue/src/huicharts/huicharts-scatter/package.json new file mode 100644 index 000000000..ccfd553c0 --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-scatter/package.json @@ -0,0 +1,19 @@ +{ + "name": "@opentiny/vue-huicharts-scatter", + "version": "3.18.0", + "description": "", + "main": "lib/index.js", + "module": "index.ts", + "sideEffects": false, + "type": "module", + "devDependencies": {}, + "scripts": { + "build": "pnpm -w build:ui $npm_package_name", + "//postversion": "pnpm build" + }, + "dependencies": { + "@opentiny/vue-huicharts-core": "workspace:~", + "@opentiny/vue-common": "workspace:~" + }, + "license": "MIT" +} \ No newline at end of file diff --git a/packages/vue/src/huicharts/huicharts-scatter/src/chart-scatter.vue b/packages/vue/src/huicharts/huicharts-scatter/src/chart-scatter.vue new file mode 100644 index 000000000..71dfbd115 --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-scatter/src/chart-scatter.vue @@ -0,0 +1,35 @@ + + + diff --git a/packages/vue/src/chart/chart-scatter/src/scatter.ts b/packages/vue/src/huicharts/huicharts-scatter/src/scatter.ts similarity index 99% rename from packages/vue/src/chart/chart-scatter/src/scatter.ts rename to packages/vue/src/huicharts/huicharts-scatter/src/scatter.ts index 569fc0a6c..e7e375a61 100644 --- a/packages/vue/src/chart/chart-scatter/src/scatter.ts +++ b/packages/vue/src/huicharts/huicharts-scatter/src/scatter.ts @@ -23,7 +23,7 @@ * itemStyle 图形样式。series-scatter. itemStyle */ -import { getFormatted, itemLabel, itemPoint, itemContent, isDefined } from '@opentiny/vue-chart-core' +import { getFormatted, itemLabel, itemPoint, itemContent, isDefined } from '@opentiny/vue-huicharts-core' const getLegend = (args) => { const { legendVisible, legendName } = args diff --git a/packages/vue/src/chart/chart-scatter/src/types.ts b/packages/vue/src/huicharts/huicharts-scatter/src/types.ts similarity index 100% rename from packages/vue/src/chart/chart-scatter/src/types.ts rename to packages/vue/src/huicharts/huicharts-scatter/src/types.ts diff --git a/packages/vue/src/huicharts/huicharts-sunburst/index.ts b/packages/vue/src/huicharts/huicharts-sunburst/index.ts new file mode 100644 index 000000000..fb442cc3e --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-sunburst/index.ts @@ -0,0 +1,9 @@ +import HuiChartsSunburst from './src/chart-sunburst.vue' + +HuiChartsSunburst.install = function (Vue: any) { + Vue.component(HuiChartsSunburst.name, HuiChartsSunburst) +} + +export { HuiChartsSunburst } + +export default HuiChartsSunburst diff --git a/packages/vue/src/huicharts/huicharts-sunburst/package.json b/packages/vue/src/huicharts/huicharts-sunburst/package.json new file mode 100644 index 000000000..14efe2020 --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-sunburst/package.json @@ -0,0 +1,19 @@ +{ + "name": "@opentiny/vue-huicharts-sunburst", + "version": "3.18.0", + "description": "", + "main": "lib/index.js", + "module": "index.ts", + "sideEffects": false, + "type": "module", + "devDependencies": {}, + "scripts": { + "build": "pnpm -w build:ui $npm_package_name", + "//postversion": "pnpm build" + }, + "dependencies": { + "@opentiny/vue-huicharts-core": "workspace:~", + "@opentiny/vue-common": "workspace:~" + }, + "license": "MIT" +} \ No newline at end of file diff --git a/packages/vue/src/huicharts/huicharts-sunburst/src/chart-sunburst.vue b/packages/vue/src/huicharts/huicharts-sunburst/src/chart-sunburst.vue new file mode 100644 index 000000000..9f2c2f1c5 --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-sunburst/src/chart-sunburst.vue @@ -0,0 +1,37 @@ + + + diff --git a/packages/vue/src/chart/chart-sunburst/src/sunburst.ts b/packages/vue/src/huicharts/huicharts-sunburst/src/sunburst.ts similarity index 97% rename from packages/vue/src/chart/chart-sunburst/src/sunburst.ts rename to packages/vue/src/huicharts/huicharts-sunburst/src/sunburst.ts index 6b74a7b7f..7faf00c03 100644 --- a/packages/vue/src/chart/chart-sunburst/src/sunburst.ts +++ b/packages/vue/src/huicharts/huicharts-sunburst/src/sunburst.ts @@ -1,4 +1,4 @@ -import { itemPoint, itemLabel, itemContent } from '@opentiny/vue-chart-core' +import { itemPoint, itemLabel, itemContent } from '@opentiny/vue-huicharts-core' const getTooltip = () => ({ trigger: 'item', diff --git a/packages/vue/src/chart/chart-sunburst/src/types.ts b/packages/vue/src/huicharts/huicharts-sunburst/src/types.ts similarity index 100% rename from packages/vue/src/chart/chart-sunburst/src/types.ts rename to packages/vue/src/huicharts/huicharts-sunburst/src/types.ts diff --git a/packages/vue/src/huicharts/huicharts-tree/index.ts b/packages/vue/src/huicharts/huicharts-tree/index.ts new file mode 100644 index 000000000..49c220dd8 --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-tree/index.ts @@ -0,0 +1,9 @@ +import HuiChartsTree from './src/chart-tree.vue' + +HuiChartsTree.install = function (Vue: any) { + Vue.component(HuiChartsTree.name, HuiChartsTree) +} + +export { HuiChartsTree } + +export default HuiChartsTree diff --git a/packages/vue/src/chart/chart-bar/package.json b/packages/vue/src/huicharts/huicharts-tree/package.json similarity index 79% rename from packages/vue/src/chart/chart-bar/package.json rename to packages/vue/src/huicharts/huicharts-tree/package.json index 4fea76890..96b262803 100644 --- a/packages/vue/src/chart/chart-bar/package.json +++ b/packages/vue/src/huicharts/huicharts-tree/package.json @@ -1,5 +1,5 @@ { - "name": "@opentiny/vue-chart-bar", + "name": "@opentiny/vue-huicharts-tree", "version": "3.18.0", "description": "", "main": "lib/index.js", @@ -12,7 +12,7 @@ "//postversion": "pnpm build" }, "dependencies": { - "@opentiny/vue-chart-core": "workspace:~", + "@opentiny/vue-huicharts-core": "workspace:~", "@opentiny/vue-common": "workspace:~" }, "license": "MIT" diff --git a/packages/vue/src/huicharts/huicharts-tree/src/chart-tree.vue b/packages/vue/src/huicharts/huicharts-tree/src/chart-tree.vue new file mode 100644 index 000000000..dedf81f2c --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-tree/src/chart-tree.vue @@ -0,0 +1,37 @@ + + + diff --git a/packages/vue/src/chart/chart-tree/src/tree.ts b/packages/vue/src/huicharts/huicharts-tree/src/tree.ts similarity index 96% rename from packages/vue/src/chart/chart-tree/src/tree.ts rename to packages/vue/src/huicharts/huicharts-tree/src/tree.ts index 3bcc45c0f..e35d6267c 100644 --- a/packages/vue/src/chart/chart-tree/src/tree.ts +++ b/packages/vue/src/huicharts/huicharts-tree/src/tree.ts @@ -1,4 +1,4 @@ -import { isObject, itemLabel, itemContent } from '@opentiny/vue-chart-core' +import { isObject, itemLabel, itemContent } from '@opentiny/vue-huicharts-core' const getTreeLegend = (args) => { const { dimension, rows } = args @@ -73,5 +73,5 @@ export const tree = (columns, rows, settings, extra) => { name: item.name, data: item.value })) - return { data, series, legend, tooltip, tipHtml: tooltip.formatter, type: 'LineTreeChart', initialTreeDepth: 3 } + return { data, series, legend, tooltip, tipHtml: tooltip.formatter, type: 'LineTreeHuiCharts', initialTreeDepth: 3 } } diff --git a/packages/vue/src/chart/chart-tree/src/types.ts b/packages/vue/src/huicharts/huicharts-tree/src/types.ts similarity index 100% rename from packages/vue/src/chart/chart-tree/src/types.ts rename to packages/vue/src/huicharts/huicharts-tree/src/types.ts diff --git a/packages/vue/src/huicharts/huicharts-waterfall/index.ts b/packages/vue/src/huicharts/huicharts-waterfall/index.ts new file mode 100644 index 000000000..ea5f061c3 --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-waterfall/index.ts @@ -0,0 +1,8 @@ +import HuiChartsWaterfall from './src/chart-waterfall.vue' + +HuiChartsWaterfall.install = function (Vue: any) { + Vue.component(HuiChartsWaterfall.name, HuiChartsWaterfall) +} + +export { HuiChartsWaterfall } +export default HuiChartsWaterfall diff --git a/packages/vue/src/chart/chart-waterfall/package.json b/packages/vue/src/huicharts/huicharts-waterfall/package.json similarity index 80% rename from packages/vue/src/chart/chart-waterfall/package.json rename to packages/vue/src/huicharts/huicharts-waterfall/package.json index 0b6f799bd..319920abd 100644 --- a/packages/vue/src/chart/chart-waterfall/package.json +++ b/packages/vue/src/huicharts/huicharts-waterfall/package.json @@ -1,5 +1,5 @@ { - "name": "@opentiny/vue-chart-waterfall", + "name": "@opentiny/vue-huicharts-waterfall", "version": "3.18.0", "description": "", "main": "lib/index.js", @@ -12,7 +12,7 @@ "//postversion": "pnpm build" }, "dependencies": { - "@opentiny/vue-chart-core": "workspace:~", + "@opentiny/vue-huicharts-core": "workspace:~", "@opentiny/vue-locale": "workspace:~", "@opentiny/vue-common": "workspace:~" }, diff --git a/packages/vue/src/huicharts/huicharts-waterfall/src/chart-waterfall.vue b/packages/vue/src/huicharts/huicharts-waterfall/src/chart-waterfall.vue new file mode 100644 index 000000000..434c46691 --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-waterfall/src/chart-waterfall.vue @@ -0,0 +1,38 @@ + + + diff --git a/packages/vue/src/chart/chart-waterfall/src/types.ts b/packages/vue/src/huicharts/huicharts-waterfall/src/types.ts similarity index 100% rename from packages/vue/src/chart/chart-waterfall/src/types.ts rename to packages/vue/src/huicharts/huicharts-waterfall/src/types.ts diff --git a/packages/vue/src/chart/chart-waterfall/src/waterfall.ts b/packages/vue/src/huicharts/huicharts-waterfall/src/waterfall.ts similarity index 99% rename from packages/vue/src/chart/chart-waterfall/src/waterfall.ts rename to packages/vue/src/huicharts/huicharts-waterfall/src/waterfall.ts index 78044b564..a22e30150 100644 --- a/packages/vue/src/chart/chart-waterfall/src/waterfall.ts +++ b/packages/vue/src/huicharts/huicharts-waterfall/src/waterfall.ts @@ -11,7 +11,7 @@ * labelMap 坐标轴名称映射, 设置别名 */ -import { itemLabel, itemContent, getFormatted } from '@opentiny/vue-chart-core' +import { itemLabel, itemContent, getFormatted } from '@opentiny/vue-huicharts-core' const getWaterfallTooltip = (dataType, digit) => { const formatter = (items) => { diff --git a/packages/vue/src/huicharts/huicharts-wordcloud/index.ts b/packages/vue/src/huicharts/huicharts-wordcloud/index.ts new file mode 100644 index 000000000..c33546e50 --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-wordcloud/index.ts @@ -0,0 +1,8 @@ +import HuiChartsWordcloud from './src/chart-wordcloud.vue' + +HuiChartsWordcloud.install = function (Vue: any) { + Vue.component(HuiChartsWordcloud.name, HuiChartsWordcloud) +} + +export { HuiChartsWordcloud } +export default HuiChartsWordcloud diff --git a/packages/vue/src/chart/chart-wordcloud/package.json b/packages/vue/src/huicharts/huicharts-wordcloud/package.json similarity index 79% rename from packages/vue/src/chart/chart-wordcloud/package.json rename to packages/vue/src/huicharts/huicharts-wordcloud/package.json index ece1db2f3..bc717b6b0 100644 --- a/packages/vue/src/chart/chart-wordcloud/package.json +++ b/packages/vue/src/huicharts/huicharts-wordcloud/package.json @@ -1,5 +1,5 @@ { - "name": "@opentiny/vue-chart-wordcloud", + "name": "@opentiny/vue-huicharts-wordcloud", "version": "3.18.0", "description": "", "main": "lib/index.js", @@ -12,7 +12,7 @@ "//postversion": "pnpm build" }, "dependencies": { - "@opentiny/vue-chart-core": "workspace:~", + "@opentiny/vue-huicharts-core": "workspace:~", "echarts-wordcloud": "2.0.0", "@opentiny/vue-common": "workspace:~" }, diff --git a/packages/vue/src/huicharts/huicharts-wordcloud/src/chart-wordcloud.vue b/packages/vue/src/huicharts/huicharts-wordcloud/src/chart-wordcloud.vue new file mode 100644 index 000000000..bd94c205b --- /dev/null +++ b/packages/vue/src/huicharts/huicharts-wordcloud/src/chart-wordcloud.vue @@ -0,0 +1,37 @@ + + + diff --git a/packages/vue/src/chart/chart-wordcloud/src/types.ts b/packages/vue/src/huicharts/huicharts-wordcloud/src/types.ts similarity index 100% rename from packages/vue/src/chart/chart-wordcloud/src/types.ts rename to packages/vue/src/huicharts/huicharts-wordcloud/src/types.ts diff --git a/packages/vue/src/chart/chart-wordcloud/src/wordcloud.ts b/packages/vue/src/huicharts/huicharts-wordcloud/src/wordcloud.ts similarity index 96% rename from packages/vue/src/chart/chart-wordcloud/src/wordcloud.ts rename to packages/vue/src/huicharts/huicharts-wordcloud/src/wordcloud.ts index 7d23ffe85..5ce4ff2f3 100644 --- a/packages/vue/src/chart/chart-wordcloud/src/wordcloud.ts +++ b/packages/vue/src/huicharts/huicharts-wordcloud/src/wordcloud.ts @@ -7,7 +7,7 @@ * color 词云图字体颜色 Array[String], String, Function 默认为 "rgb(Math.round(Math.random * 160), Math.round(Math.random * 160), Math.round(Math.random * 160))" */ -import { itemLabel, itemContent } from '@opentiny/vue-chart-core' +import { itemLabel, itemContent } from '@opentiny/vue-huicharts-core' const getTooltip = (args) => { const { tooltipFormatter } = args diff --git a/packages/vue/src/huicharts/index.ts b/packages/vue/src/huicharts/index.ts new file mode 100644 index 000000000..a840d5b2f --- /dev/null +++ b/packages/vue/src/huicharts/index.ts @@ -0,0 +1,16 @@ +import HuiCharts from './src/index' +import { version } from './package.json' + +HuiCharts.install = function (Vue) { + Vue.component(HuiCharts.name, HuiCharts) +} + +HuiCharts.version = version + +if (process.env.BUILD_TARGET === 'runtime') { + if (typeof window !== 'undefined' && window.Vue) { + HuiCharts.install(window.Vue) + } +} + +export default HuiCharts diff --git a/packages/vue/src/huicharts/package.json b/packages/vue/src/huicharts/package.json new file mode 100644 index 000000000..4df732580 --- /dev/null +++ b/packages/vue/src/huicharts/package.json @@ -0,0 +1,52 @@ +{ + "name": "@opentiny/vue-huicharts", + "version": "3.18.0", + "description": "", + "main": "lib/index.js", + "module": "index.ts", + "files": [ + "index.js", + "lib", + "index.d.ts", + "src" + ], + "sideEffects": false, + "type": "module", + "devDependencies": { + "@opentiny-internal/vue-test-utils": "workspace:*", + "vitest": "^0.31.0" + }, + "scripts": { + "build": "pnpm -w build:ui $npm_package_name", + "//postversion": "pnpm build" + }, + "dependencies": { + "@opentiny/vue-huicharts-bar": "workspace:~", + "@opentiny/vue-huicharts-core": "workspace:~", + "@opentiny/vue-huicharts-histogram": "workspace:~", + "@opentiny/vue-huicharts-line": "workspace:~", + "@opentiny/vue-huicharts-pie": "workspace:~", + "@opentiny/vue-huicharts-radar": "workspace:~", + "@opentiny/vue-huicharts-ring": "workspace:~", + "@opentiny/vue-huicharts-waterfall": "workspace:~", + "@opentiny/vue-huicharts-funnel": "workspace:~", + "@opentiny/vue-huicharts-gauge": "workspace:~", + "@opentiny/vue-huicharts-scatter": "workspace:~", + "@opentiny/vue-huicharts-tree": "workspace:~", + "@opentiny/vue-huicharts-sankey": "workspace:~", + "@opentiny/vue-huicharts-candle": "workspace:~", + "@opentiny/vue-huicharts-heatmap": "workspace:~", + "@opentiny/vue-huicharts-liquidfill": "workspace:~", + "@opentiny/vue-huicharts-wordcloud": "workspace:~", + "@opentiny/vue-huicharts-map": "workspace:~", + "@opentiny/vue-huicharts-boxplot": "workspace:~", + "@opentiny/vue-huicharts-amap": "workspace:~", + "@opentiny/vue-huicharts-bmap": "workspace:~", + "@opentiny/vue-huicharts-graph": "workspace:~", + "@opentiny/vue-huicharts-sunburst": "workspace:~", + "@opentiny/vue-common": "workspace:~", + "@opentiny/vue-locale": "workspace:~", + "@opentiny/vue-theme": "workspace:~" + }, + "license": "MIT" +} \ No newline at end of file diff --git a/packages/vue/src/huicharts/src/index.ts b/packages/vue/src/huicharts/src/index.ts new file mode 100644 index 000000000..4c21a763c --- /dev/null +++ b/packages/vue/src/huicharts/src/index.ts @@ -0,0 +1,104 @@ +import { HuiChartsRing } from '../huicharts-ring' +import { HuiChartsPie } from '../huicharts-pie' +import { HuiChartsBar } from '../huicharts-bar' +import { HuiChartsHistogram } from '../huicharts-histogram' +import { HuiChartsRadar } from '../huicharts-radar' +import { HuiChartsLine } from '../huicharts-line' + +import { AutonaviMap } from '../huicharts-amap' +import { BaiduMap } from '../huicharts-bmap' +import { HuiChartsBoxplot } from '../huicharts-boxplot' +import { HuiChartsCandle } from '../huicharts-candle' +import { HuiChartsFunnel } from '../huicharts-funnel' +import { HuiChartsGauge } from '../huicharts-gauge' +import { HuiChartsGraph } from '../huicharts-graph' +import { HuiChartsHeatmap } from '../huicharts-heatmap' +import { HuiChartsLiquidfill } from '../huicharts-liquidfill' +import { HuiChartsMap } from '../huicharts-map' + +import { HuiChartsSankey } from '../huicharts-sankey' +import { HuiChartsScatter } from '../huicharts-scatter' +import { HuiChartsSunburst } from '../huicharts-sunburst' +import { HuiChartsTree } from '../huicharts-tree' +import { HuiChartsWaterfall } from '../huicharts-waterfall' +import { HuiChartsWordcloud } from '../huicharts-wordcloud' + +import Core from '@opentiny/vue-huicharts-core' + +import { $prefix, defineComponent, h } from '@opentiny/vue-common' + +export default defineComponent({ + name: $prefix + 'HuiCharts', + props: { + ...Core.props, + type: { + type: String + } + }, + data() { + this.chartLib = { + bar: HuiChartsBar, + histogram: HuiChartsHistogram, + line: HuiChartsLine, + pie: HuiChartsPie, + ring: HuiChartsRing, + radar: HuiChartsRadar, + autonaviMap: AutonaviMap, + baiduMap: BaiduMap, + boxplot: HuiChartsBoxplot, + candle: HuiChartsCandle, + funnel: HuiChartsFunnel, + gauge: HuiChartsGauge, + graph: HuiChartsGraph, + heatmap: HuiChartsHeatmap, + liquidfill: HuiChartsLiquidfill, + map: HuiChartsMap, + sankey: HuiChartsSankey, + scatter: HuiChartsScatter, + sunburst: HuiChartsSunburst, + tree: HuiChartsTree, + waterfall: HuiChartsWaterfall, + wordcloud: HuiChartsWordcloud + } + return {} + }, + methods: { + ready(val) { + this.$emit('ready', val) + }, + readyOnce(val) { + this.$emit('readyOnce', val) + }, + handleColor(val) { + this.$emit('handle-color', val) + }, + ...Core.methods + }, + render() { + return h( + 'div', + { + style: { + width: this.width, + height: this.height, + position: 'relative' + } + }, + [ + h(this.chartLib[this.settings.type || this.type], { + props: { + ...this.$props + }, + on: { + ready: this.ready, + readyOnce: this.readyOnce, + handleColor: this.handleColor + } + }), + + // eslint-disable-next-line vue/require-slots-as-functions + this.$slots.default + ] + ) + } +}) diff --git a/tsconfig.solid.json b/tsconfig.solid.json index f8c5e211d..cd7e82b0a 100644 --- a/tsconfig.solid.json +++ b/tsconfig.solid.json @@ -5,16 +5,36 @@ "noImplicitAny": false, "baseUrl": ".", "paths": { - "@opentiny/vue-autonavi-map": ["packages/vue/src/chart/autonavi-map"], - "@opentiny/vue-baidu-map": ["packages/vue/src/chart/baidu-map"], - "@opentiny/vue-chart-*": ["packages/vue/src/chart/chart-*"], - "@opentiny/vue-*": ["packages/vue-*", "packages/vue/src/*"], - "@opentiny/vue-renderless/types*": ["packages/renderless/types*"], - "@opentiny/vue-renderless*": ["packages/renderless/src*"], - "virtual:common/adapter/vue": ["packages/vue-common/src/adapter/vue3/index.ts"], - "virtual:locale/vue": ["packages/vue-locale/src/vue3/index.ts"] + "@opentiny/vue-huicharts-amap": [ + "packages/vue/src/chart/autonavi-map" + ], + "@opentiny/vue-huicharts-bmap": [ + "packages/vue/src/chart/baidu-map" + ], + "@opentiny/vue-huicharts-*": [ + "packages/vue/src/chart/chart-*" + ], + "@opentiny/vue-*": [ + "packages/vue-*", + "packages/vue/src/*" + ], + "@opentiny/vue-renderless/types*": [ + "packages/renderless/types*" + ], + "@opentiny/vue-renderless*": [ + "packages/renderless/src*" + ], + "virtual:common/adapter/vue": [ + "packages/vue-common/src/adapter/vue3/index.ts" + ], + "virtual:locale/vue": [ + "packages/vue-locale/src/vue3/index.ts" + ] }, - "types": ["node", "vite/client"] + "types": [ + "node", + "vite/client" + ] }, "vueCompilerOptions": { "target": 3 @@ -26,5 +46,9 @@ "examples/vue3/shims-app.d.ts", "examples/vue3/shims-vue.d.ts" ], - "exclude": ["**/node_modules", "**/dist*", "**/*.md"] -} + "exclude": [ + "**/node_modules", + "**/dist*", + "**/*.md" + ] +} \ No newline at end of file diff --git a/tsconfig.vue2.7.json b/tsconfig.vue2.7.json index 44e008795..e89137591 100644 --- a/tsconfig.vue2.7.json +++ b/tsconfig.vue2.7.json @@ -5,16 +5,36 @@ "noImplicitAny": false, "baseUrl": ".", "paths": { - "@opentiny/vue-autonavi-map": ["packages/vue/src/chart/autonavi-map"], - "@opentiny/vue-baidu-map": ["packages/vue/src/chart/baidu-map"], - "@opentiny/vue-chart-*": ["packages/vue/src/chart/chart-*"], - "@opentiny/vue-*": ["packages/vue-*", "packages/vue/src/*"], - "@opentiny/vue-renderless/types*": ["packages/renderless/types*"], - "@opentiny/vue-renderless*": ["packages/renderless/src*"], - "virtual:common/adapter/vue": ["packages/vue-common/src/adapter/vue2.7/index.ts"], - "virtual:locale/vue": ["packages/vue-locale/src/vue2.7/index.ts"] + "@opentiny/vue-huicharts-amap": [ + "packages/vue/src/chart/autonavi-map" + ], + "@opentiny/vue-huicharts-bmap": [ + "packages/vue/src/chart/baidu-map" + ], + "@opentiny/vue-huicharts-*": [ + "packages/vue/src/chart/chart-*" + ], + "@opentiny/vue-*": [ + "packages/vue-*", + "packages/vue/src/*" + ], + "@opentiny/vue-renderless/types*": [ + "packages/renderless/types*" + ], + "@opentiny/vue-renderless*": [ + "packages/renderless/src*" + ], + "virtual:common/adapter/vue": [ + "packages/vue-common/src/adapter/vue2.7/index.ts" + ], + "virtual:locale/vue": [ + "packages/vue-locale/src/vue2.7/index.ts" + ] }, - "types": ["node", "vite/client"] + "types": [ + "node", + "vite/client" + ] }, "vueCompilerOptions": { "target": 2.7 @@ -26,5 +46,9 @@ "examples/vue2.7/shims-app.d.ts", "examples/vue2.7/shims-vue.d.ts" ], - "exclude": ["**/node_modules", "**/dist*", "**/*.md"] -} + "exclude": [ + "**/node_modules", + "**/dist*", + "**/*.md" + ] +} \ No newline at end of file diff --git a/tsconfig.vue2.json b/tsconfig.vue2.json index 75a77145d..8346d2726 100644 --- a/tsconfig.vue2.json +++ b/tsconfig.vue2.json @@ -5,16 +5,36 @@ "noImplicitAny": false, "baseUrl": ".", "paths": { - "@opentiny/vue-autonavi-map": ["packages/vue/src/chart/autonavi-map"], - "@opentiny/vue-baidu-map": ["packages/vue/src/chart/baidu-map"], - "@opentiny/vue-chart-*": ["packages/vue/src/chart/chart-*"], - "@opentiny/vue-*": ["packages/vue-*", "packages/vue/src/*"], - "@opentiny/vue-renderless/types*": ["packages/renderless/types*"], - "@opentiny/vue-renderless*": ["packages/renderless/src*"], - "virtual:common/adapter/vue": ["packages/vue-common/src/adapter/vue2/index.ts"], - "virtual:locale/vue": ["packages/vue-locale/src/vue2/index.ts"] + "@opentiny/vue-huicharts-amap": [ + "packages/vue/src/chart/autonavi-map" + ], + "@opentiny/vue-huicharts-bmap": [ + "packages/vue/src/chart/baidu-map" + ], + "@opentiny/vue-huicharts-*": [ + "packages/vue/src/chart/chart-*" + ], + "@opentiny/vue-*": [ + "packages/vue-*", + "packages/vue/src/*" + ], + "@opentiny/vue-renderless/types*": [ + "packages/renderless/types*" + ], + "@opentiny/vue-renderless*": [ + "packages/renderless/src*" + ], + "virtual:common/adapter/vue": [ + "packages/vue-common/src/adapter/vue2/index.ts" + ], + "virtual:locale/vue": [ + "packages/vue-locale/src/vue2/index.ts" + ] }, - "types": ["node", "vite/client"] + "types": [ + "node", + "vite/client" + ] }, "vueCompilerOptions": { "target": 2 @@ -26,5 +46,9 @@ "examples/vue2/shims-app.d.ts", "examples/vue2/shims-vue.d.ts" ], - "exclude": ["**/node_modules", "**/dist*", "**/*.md"] -} + "exclude": [ + "**/node_modules", + "**/dist*", + "**/*.md" + ] +} \ No newline at end of file diff --git a/tsconfig.vue3.json b/tsconfig.vue3.json index f8c5e211d..be0622864 100644 --- a/tsconfig.vue3.json +++ b/tsconfig.vue3.json @@ -5,16 +5,36 @@ "noImplicitAny": false, "baseUrl": ".", "paths": { - "@opentiny/vue-autonavi-map": ["packages/vue/src/chart/autonavi-map"], - "@opentiny/vue-baidu-map": ["packages/vue/src/chart/baidu-map"], - "@opentiny/vue-chart-*": ["packages/vue/src/chart/chart-*"], - "@opentiny/vue-*": ["packages/vue-*", "packages/vue/src/*"], - "@opentiny/vue-renderless/types*": ["packages/renderless/types*"], - "@opentiny/vue-renderless*": ["packages/renderless/src*"], - "virtual:common/adapter/vue": ["packages/vue-common/src/adapter/vue3/index.ts"], - "virtual:locale/vue": ["packages/vue-locale/src/vue3/index.ts"] + "@opentiny/vue-huicharts-amap": [ + "packages/vue/src/huicharts/huicharts-amap" + ], + "@opentiny/vue-huicharts-bmap": [ + "packages/vue/src/huicharts/huicharts-bmap" + ], + "@opentiny/vue-huicharts-*": [ + "packages/vue/src/huicharts/chart-*" + ], + "@opentiny/vue-*": [ + "packages/vue-*", + "packages/vue/src/*" + ], + "@opentiny/vue-renderless/types*": [ + "packages/renderless/types*" + ], + "@opentiny/vue-renderless*": [ + "packages/renderless/src*" + ], + "virtual:common/adapter/vue": [ + "packages/vue-common/src/adapter/vue3/index.ts" + ], + "virtual:locale/vue": [ + "packages/vue-locale/src/vue3/index.ts" + ] }, - "types": ["node", "vite/client"] + "types": [ + "node", + "vite/client" + ] }, "vueCompilerOptions": { "target": 3 @@ -26,5 +46,9 @@ "examples/vue3/shims-app.d.ts", "examples/vue3/shims-vue.d.ts" ], - "exclude": ["**/node_modules", "**/dist*", "**/*.md"] -} + "exclude": [ + "**/node_modules", + "**/dist*", + "**/*.md" + ] +} \ No newline at end of file