@visactor/vchart 1.13.21-alpha.0 → 1.13.21-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/es5/index.js +1 -1
- package/build/index.es.js +314 -327
- package/build/index.js +460 -468
- package/build/index.min.js +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/chart/index.d.ts +2 -2
- package/cjs/chart/index.js +7 -2
- package/cjs/chart/index.js.map +1 -1
- package/cjs/chart/sankey/sankey-transformer.js +1 -1
- package/cjs/chart/sankey/sankey-transformer.js.map +1 -1
- package/cjs/constant/funnel.js +1 -2
- package/cjs/constant/sunburst.js +2 -1
- package/cjs/core/index.d.ts +1 -1
- package/cjs/core/index.js +1 -1
- package/cjs/core/index.js.map +1 -1
- package/cjs/core/interface.js +1 -2
- package/cjs/core/vchart.d.ts +0 -2
- package/cjs/core/vchart.js +2 -4
- package/cjs/core/vchart.js.map +1 -1
- package/cjs/data/transforms/sankey.d.ts +0 -2
- package/cjs/data/transforms/sankey.js +1 -2
- package/cjs/data/transforms/sankey.js.map +1 -1
- package/cjs/index.d.ts +2 -0
- package/cjs/index.js +2 -1
- package/cjs/index.js.map +1 -1
- package/cjs/mark/index.d.ts +3 -2
- package/cjs/mark/index.js +15 -1
- package/cjs/mark/index.js.map +1 -1
- package/cjs/plugin/chart/plugin-service.d.ts +0 -1
- package/cjs/plugin/chart/plugin-service.js +0 -3
- package/cjs/plugin/chart/plugin-service.js.map +1 -1
- package/cjs/plugin/chart/scroll/scroll.d.ts +2 -16
- package/cjs/plugin/chart/scroll/scroll.js +23 -98
- package/cjs/plugin/chart/scroll/scroll.js.map +1 -1
- package/cjs/series/sankey/interface.d.ts +0 -3
- package/cjs/series/sankey/interface.js.map +1 -1
- package/cjs/series/sankey/sankey.d.ts +7 -7
- package/cjs/series/sankey/sankey.js +167 -165
- package/cjs/series/sankey/sankey.js.map +1 -1
- package/esm/chart/index.d.ts +2 -2
- package/esm/chart/index.js +2 -2
- package/esm/chart/index.js.map +1 -1
- package/esm/chart/sankey/sankey-transformer.js +1 -1
- package/esm/chart/sankey/sankey-transformer.js.map +1 -1
- package/esm/constant/funnel.js +1 -2
- package/esm/constant/sunburst.js +2 -1
- package/esm/core/index.d.ts +1 -1
- package/esm/core/index.js +1 -1
- package/esm/core/index.js.map +1 -1
- package/esm/core/interface.js +1 -2
- package/esm/core/vchart.d.ts +0 -2
- package/esm/core/vchart.js +2 -4
- package/esm/core/vchart.js.map +1 -1
- package/esm/data/transforms/sankey.d.ts +0 -2
- package/esm/data/transforms/sankey.js +1 -2
- package/esm/data/transforms/sankey.js.map +1 -1
- package/esm/index.d.ts +2 -0
- package/esm/index.js +4 -0
- package/esm/index.js.map +1 -1
- package/esm/mark/index.d.ts +3 -2
- package/esm/mark/index.js +4 -2
- package/esm/mark/index.js.map +1 -1
- package/esm/plugin/chart/plugin-service.d.ts +0 -1
- package/esm/plugin/chart/plugin-service.js +0 -3
- package/esm/plugin/chart/plugin-service.js.map +1 -1
- package/esm/plugin/chart/scroll/scroll.d.ts +2 -16
- package/esm/plugin/chart/scroll/scroll.js +23 -102
- package/esm/plugin/chart/scroll/scroll.js.map +1 -1
- package/esm/series/sankey/interface.d.ts +0 -3
- package/esm/series/sankey/interface.js.map +1 -1
- package/esm/series/sankey/sankey.d.ts +7 -7
- package/esm/series/sankey/sankey.js +166 -164
- package/esm/series/sankey/sankey.js.map +1 -1
- package/package.json +4 -4
package/cjs/chart/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ import { RangeColumnChart, RangeColumn3dChart, registerRangeColumnChart, registe
|
|
|
35
35
|
import type { IRoseChartSpec } from './rose';
|
|
36
36
|
import { RoseChart, registerRoseChart } from './rose';
|
|
37
37
|
import type { ISankeyChartSpec } from './sankey';
|
|
38
|
-
import { SankeyChart, registerSankeyChart } from './sankey';
|
|
38
|
+
import { SankeyChart, registerSankeyChart, SankeyChartSpecTransformer } from './sankey';
|
|
39
39
|
import type { IScatterChartSpec } from './scatter';
|
|
40
40
|
import { ScatterChart, registerScatterChart } from './scatter';
|
|
41
41
|
import type { ISequenceChartSpec } from './sequence';
|
|
@@ -61,6 +61,6 @@ import type { IMosaicChartSpec } from './mosaic';
|
|
|
61
61
|
import { MosaicChart, registerMosaicChart } from './mosaic';
|
|
62
62
|
import type { IPictogramChartSpec } from './pictogram/interface';
|
|
63
63
|
import { PictogramChart, registerPictogramChart } from './pictogram/pictogram';
|
|
64
|
-
export { AreaChart, BarChart, Bar3dChart, BoxPlotChart, CirclePackingChart, CommonChart, FunnelChart, Funnel3dChart, GaugeChart, HeatmapChart, HistogramChart, Histogram3dChart, LineChart, MapChart, PieChart, Pie3dChart, CircularProgressChart, LinearProgressChart, RadarChart, RangeColumnChart, RangeColumn3dChart, RangeAreaChart, RoseChart, SankeyChart, ScatterChart, SunburstChart, SequenceChart, WaterfallChart, CorrelationChart, LiquidChart, WordCloudChart, WordCloud3dChart, TreemapChart, VennChart, BaseChart, MosaicChart, PictogramChart };
|
|
64
|
+
export { AreaChart, BarChart, Bar3dChart, BoxPlotChart, CirclePackingChart, CommonChart, FunnelChart, Funnel3dChart, GaugeChart, HeatmapChart, HistogramChart, Histogram3dChart, LineChart, MapChart, PieChart, Pie3dChart, CircularProgressChart, LinearProgressChart, RadarChart, RangeColumnChart, RangeColumn3dChart, RangeAreaChart, RoseChart, SankeyChart, SankeyChartSpecTransformer, ScatterChart, SunburstChart, SequenceChart, WaterfallChart, CorrelationChart, LiquidChart, WordCloudChart, WordCloud3dChart, TreemapChart, VennChart, BaseChart, MosaicChart, PictogramChart };
|
|
65
65
|
export { registerLineChart, registerAreaChart, registerBarChart, registerBar3dChart, registerBoxplotChart, registerCirclePackingChart, registerCircularProgressChart, registerCommonChart, registerFunnelChart, registerFunnel3dChart, registerGaugeChart, registerHeatmapChart, registerHistogramChart, registerHistogram3dChart, registerLinearProgressChart, registerMapChart, registerPie3dChart, registerPieChart, registerRadarChart, registerRangeAreaChart, registerRangeColumn3dChart, registerRangeColumnChart, registerRoseChart, registerSankeyChart, registerScatterChart, registerSequenceChart, registerSunburstChart, registerTreemapChart, registerWaterfallChart, registerWordCloud3dChart, registerWordCloudChart, registerCorrelationChart, registerLiquidChart, registerWordCloudShapeChart, registerVennChart, registerMosaicChart, registerPictogramChart };
|
|
66
66
|
export type { IAreaChartSpec, IBarChartSpec, IBar3dChartSpec, IBoxPlotChartSpec, ICirclePackingChartSpec, ICommonChartSpec, IFunnelChartSpec, IFunnel3dChartSpec, IGaugeChartSpec, IHeatmapChartSpec, IHistogramChartSpec, IHistogram3dChartSpec, ILineChartSpec, IMapChartSpec, IPieChartSpec, IPie3dChartSpec, ICircularProgressChartSpec, ILinearProgressChartSpec, IRadarChartSpec, IRangeColumnChartSpec, IRangeColumn3dChartSpec, IRangeAreaChartSpec, IRoseChartSpec, IScatterChartSpec, ISankeyChartSpec, ISequenceChartSpec, ISunburstChartSpec, ITreemapChartSpec, IWaterfallChartSpec, ICorrelationChartSpec, ILiquidChartSpec, IWordCloud3dChartSpec, IWordCloudChartSpec, IPolarChartSpec, ICartesianChartSpec, IVennChartSpec, IMosaicChartSpec, IPictogramChartSpec };
|
package/cjs/chart/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: !0
|
|
5
|
-
}), exports.
|
|
6
|
-
exports.registerPictogramChart = exports.registerMosaicChart = exports.registerVennChart = exports.registerWordCloudShapeChart = exports.registerLiquidChart = exports.registerCorrelationChart = exports.registerWordCloudChart = exports.registerWordCloud3dChart = exports.registerWaterfallChart = exports.registerTreemapChart = exports.registerSunburstChart = exports.registerSequenceChart = exports.registerScatterChart = exports.registerSankeyChart = exports.registerRoseChart = exports.registerRangeColumnChart = exports.registerRangeColumn3dChart = exports.registerRangeAreaChart = exports.registerRadarChart = exports.registerPieChart = exports.registerPie3dChart = exports.registerMapChart = exports.registerLinearProgressChart = exports.registerHistogram3dChart = void 0;
|
|
5
|
+
}), exports.registerHeatmapChart = exports.registerGaugeChart = exports.registerFunnel3dChart = exports.registerFunnelChart = exports.registerCommonChart = exports.registerCircularProgressChart = exports.registerCirclePackingChart = exports.registerBoxplotChart = exports.registerBar3dChart = exports.registerBarChart = exports.registerAreaChart = exports.registerLineChart = exports.PictogramChart = exports.MosaicChart = exports.BaseChart = exports.VennChart = exports.TreemapChart = exports.WordCloud3dChart = exports.WordCloudChart = exports.LiquidChart = exports.CorrelationChart = exports.WaterfallChart = exports.SequenceChart = exports.SunburstChart = exports.ScatterChart = exports.SankeyChartSpecTransformer = exports.SankeyChart = exports.RoseChart = exports.RangeAreaChart = exports.RangeColumn3dChart = exports.RangeColumnChart = exports.RadarChart = exports.LinearProgressChart = exports.CircularProgressChart = exports.Pie3dChart = exports.PieChart = exports.MapChart = exports.LineChart = exports.Histogram3dChart = exports.HistogramChart = exports.HeatmapChart = exports.GaugeChart = exports.Funnel3dChart = exports.FunnelChart = exports.CommonChart = exports.CirclePackingChart = exports.BoxPlotChart = exports.Bar3dChart = exports.BarChart = exports.AreaChart = void 0,
|
|
6
|
+
exports.registerPictogramChart = exports.registerMosaicChart = exports.registerVennChart = exports.registerWordCloudShapeChart = exports.registerLiquidChart = exports.registerCorrelationChart = exports.registerWordCloudChart = exports.registerWordCloud3dChart = exports.registerWaterfallChart = exports.registerTreemapChart = exports.registerSunburstChart = exports.registerSequenceChart = exports.registerScatterChart = exports.registerSankeyChart = exports.registerRoseChart = exports.registerRangeColumnChart = exports.registerRangeColumn3dChart = exports.registerRangeAreaChart = exports.registerRadarChart = exports.registerPieChart = exports.registerPie3dChart = exports.registerMapChart = exports.registerLinearProgressChart = exports.registerHistogram3dChart = exports.registerHistogramChart = void 0;
|
|
7
7
|
|
|
8
8
|
const area_1 = require("./area");
|
|
9
9
|
|
|
@@ -319,6 +319,11 @@ Object.defineProperty(exports, "SankeyChart", {
|
|
|
319
319
|
get: function() {
|
|
320
320
|
return sankey_1.registerSankeyChart;
|
|
321
321
|
}
|
|
322
|
+
}), Object.defineProperty(exports, "SankeyChartSpecTransformer", {
|
|
323
|
+
enumerable: !0,
|
|
324
|
+
get: function() {
|
|
325
|
+
return sankey_1.SankeyChartSpecTransformer;
|
|
326
|
+
}
|
|
322
327
|
});
|
|
323
328
|
|
|
324
329
|
const scatter_1 = require("./scatter");
|
package/cjs/chart/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/chart/index.ts"],"names":[],"mappings":";;;;AAKA,iCAAsD;AA0EpD,0FA1EO,gBAAS,OA0EP;
|
|
1
|
+
{"version":3,"sources":["../src/chart/index.ts"],"names":[],"mappings":"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","file":"index.js","sourcesContent":["/* eslint-disable no-duplicate-imports */\n/**\n * @description export all chart modules\n */\nimport type { IAreaChartSpec } from './area';\nimport { AreaChart, registerAreaChart } from './area';\nimport type { IBarChartSpec, IBar3dChartSpec } from './bar';\nimport { BarChart, Bar3dChart, registerBarChart, registerBar3dChart } from './bar';\nimport type { IBoxPlotChartSpec } from './box-plot';\nimport { BoxPlotChart, registerBoxplotChart } from './box-plot';\nimport type { ICirclePackingChartSpec } from './circle-packing';\nimport { CirclePackingChart, registerCirclePackingChart } from './circle-packing';\nimport type { ICommonChartSpec } from './common';\nimport { CommonChart, registerCommonChart } from './common';\nimport type { IFunnelChartSpec, IFunnel3dChartSpec } from './funnel';\nimport { FunnelChart, Funnel3dChart, registerFunnelChart, registerFunnel3dChart } from './funnel';\nimport type { IGaugeChartSpec } from './gauge';\nimport { GaugeChart, registerGaugeChart } from './gauge';\nimport type { IHeatmapChartSpec } from './heatmap';\nimport { HeatmapChart, registerHeatmapChart } from './heatmap';\nimport type { IHistogramChartSpec, IHistogram3dChartSpec } from './histogram';\nimport { HistogramChart, Histogram3dChart, registerHistogramChart, registerHistogram3dChart } from './histogram';\nimport type { ILineChartSpec } from './line';\nimport { LineChart, registerLineChart } from './line';\nimport type { IMapChartSpec } from './map';\nimport { MapChart, registerMapChart } from './map';\nimport type { IPieChartSpec, IPie3dChartSpec } from './pie';\nimport { PieChart, Pie3dChart, registerPieChart, registerPie3dChart } from './pie';\nimport type { ICircularProgressChartSpec } from './progress/circular';\nimport { CircularProgressChart, registerCircularProgressChart } from './progress/circular';\nimport type { ILinearProgressChartSpec } from './progress/linear';\nimport { LinearProgressChart, registerLinearProgressChart } from './progress/linear';\nimport type { IRadarChartSpec } from './radar';\nimport { RadarChart, registerRadarChart } from './radar';\nimport type { IRangeAreaChartSpec } from './range-area';\nimport { RangeAreaChart, registerRangeAreaChart } from './range-area';\nimport type { IRangeColumnChartSpec, IRangeColumn3dChartSpec } from './range-column';\nimport {\n RangeColumnChart,\n RangeColumn3dChart,\n registerRangeColumnChart,\n registerRangeColumn3dChart\n} from './range-column';\nimport type { IRoseChartSpec } from './rose';\nimport { RoseChart, registerRoseChart } from './rose';\nimport type { ISankeyChartSpec } from './sankey';\nimport { SankeyChart, registerSankeyChart, SankeyChartSpecTransformer } from './sankey';\nimport type { IScatterChartSpec } from './scatter';\nimport { ScatterChart, registerScatterChart } from './scatter';\nimport type { ISequenceChartSpec } from './sequence';\nimport { SequenceChart, registerSequenceChart } from './sequence';\nimport type { ISunburstChartSpec } from './sunburst';\nimport { SunburstChart, registerSunburstChart } from './sunburst';\nimport type { ITreemapChartSpec } from './treemap';\nimport { TreemapChart, registerTreemapChart } from './treemap';\nimport type { IWaterfallChartSpec } from './waterfall';\nimport { WaterfallChart, registerWaterfallChart } from './waterfall';\nimport type { ICorrelationChartSpec } from './correlation';\nimport { CorrelationChart, registerCorrelationChart } from './correlation';\nimport type { ILiquidChartSpec } from './liquid';\nimport { LiquidChart, registerLiquidChart } from './liquid';\nimport type { IWordCloudChartSpec, IWordCloud3dChartSpec } from './word-cloud';\nimport {\n WordCloudChart,\n WordCloud3dChart,\n registerWordCloudChart,\n registerWordCloudShapeChart,\n registerWordCloud3dChart\n} from './word-cloud';\nimport { BaseChart } from './base/base-chart';\nimport type { ICartesianChartSpec } from './cartesian';\nimport type { IPolarChartSpec } from './polar';\nimport type { IVennChartSpec } from './venn';\nimport { VennChart, registerVennChart } from './venn';\nimport type { IMosaicChartSpec } from './mosaic';\nimport { MosaicChart, registerMosaicChart } from './mosaic';\nimport type { IPictogramChartSpec } from './pictogram/interface';\nimport { PictogramChart, registerPictogramChart } from './pictogram/pictogram';\nexport {\n AreaChart,\n BarChart,\n Bar3dChart,\n BoxPlotChart,\n CirclePackingChart,\n CommonChart,\n FunnelChart,\n Funnel3dChart,\n GaugeChart,\n HeatmapChart,\n HistogramChart,\n Histogram3dChart,\n LineChart,\n MapChart,\n PieChart,\n Pie3dChart,\n CircularProgressChart,\n LinearProgressChart,\n RadarChart,\n RangeColumnChart,\n RangeColumn3dChart,\n RangeAreaChart,\n RoseChart,\n SankeyChart,\n SankeyChartSpecTransformer,\n ScatterChart,\n SunburstChart,\n SequenceChart,\n WaterfallChart,\n CorrelationChart,\n LiquidChart,\n WordCloudChart,\n WordCloud3dChart,\n TreemapChart,\n VennChart,\n BaseChart,\n MosaicChart,\n PictogramChart\n};\n\nexport {\n registerLineChart,\n registerAreaChart,\n registerBarChart,\n registerBar3dChart,\n registerBoxplotChart,\n registerCirclePackingChart,\n registerCircularProgressChart,\n registerCommonChart,\n registerFunnelChart,\n registerFunnel3dChart,\n registerGaugeChart,\n registerHeatmapChart,\n registerHistogramChart,\n registerHistogram3dChart,\n registerLinearProgressChart,\n registerMapChart,\n registerPie3dChart,\n registerPieChart,\n registerRadarChart,\n registerRangeAreaChart,\n registerRangeColumn3dChart,\n registerRangeColumnChart,\n registerRoseChart,\n registerSankeyChart,\n registerScatterChart,\n registerSequenceChart,\n registerSunburstChart,\n registerTreemapChart,\n registerWaterfallChart,\n registerWordCloud3dChart,\n registerWordCloudChart,\n registerCorrelationChart,\n registerLiquidChart,\n registerWordCloudShapeChart,\n registerVennChart,\n registerMosaicChart,\n registerPictogramChart\n};\n\nexport type {\n IAreaChartSpec,\n IBarChartSpec,\n IBar3dChartSpec,\n IBoxPlotChartSpec,\n ICirclePackingChartSpec,\n ICommonChartSpec,\n IFunnelChartSpec,\n IFunnel3dChartSpec,\n IGaugeChartSpec,\n IHeatmapChartSpec,\n IHistogramChartSpec,\n IHistogram3dChartSpec,\n ILineChartSpec,\n IMapChartSpec,\n IPieChartSpec,\n IPie3dChartSpec,\n ICircularProgressChartSpec,\n ILinearProgressChartSpec,\n IRadarChartSpec,\n IRangeColumnChartSpec,\n IRangeColumn3dChartSpec,\n IRangeAreaChartSpec,\n IRoseChartSpec,\n IScatterChartSpec,\n ISankeyChartSpec,\n ISequenceChartSpec,\n ISunburstChartSpec,\n ITreemapChartSpec,\n IWaterfallChartSpec,\n ICorrelationChartSpec,\n ILiquidChartSpec,\n IWordCloud3dChartSpec,\n IWordCloudChartSpec,\n IPolarChartSpec,\n ICartesianChartSpec,\n IVennChartSpec,\n IMosaicChartSpec,\n IPictogramChartSpec\n};\n"]}
|
|
@@ -8,7 +8,7 @@ const base_1 = require("../base");
|
|
|
8
8
|
|
|
9
9
|
class SankeyChartSpecTransformer extends base_1.BaseChartSpecTransformer {
|
|
10
10
|
_getDefaultSeriesSpec(spec) {
|
|
11
|
-
return super._getDefaultSeriesSpec(spec, [ "categoryField", "valueField", "sourceField", "targetField", "direction", "nodeAlign", "crossNodeAlign", "nodeGap", "nodeWidth", "linkWidth", "minStepWidth", "minNodeHeight", "maxNodeHeight", "minLinkHeight", "maxLinkHeight", "dropIsolatedNode", "nodeHeight", "linkHeight", "equalNodeHeight", "linkOverlap", "iterations", "nodeKey", "linkSortBy", "nodeSortBy", "setNodeLayer", "node", "link", "emphasis", "inverse", "overflow"
|
|
11
|
+
return super._getDefaultSeriesSpec(spec, [ "categoryField", "valueField", "sourceField", "targetField", "direction", "nodeAlign", "crossNodeAlign", "nodeGap", "nodeWidth", "linkWidth", "minStepWidth", "minNodeHeight", "maxNodeHeight", "minLinkHeight", "maxLinkHeight", "dropIsolatedNode", "nodeHeight", "linkHeight", "equalNodeHeight", "linkOverlap", "iterations", "nodeKey", "linkSortBy", "nodeSortBy", "setNodeLayer", "node", "link", "emphasis", "inverse", "overflow" ]);
|
|
12
12
|
}
|
|
13
13
|
transformSpec(spec) {
|
|
14
14
|
super.transformSpec(spec), this.transformSeriesSpec(spec);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/chart/sankey/sankey-transformer.ts"],"names":[],"mappings":";;;AACA,kCAAmD;AAGnD,MAAa,0BAEX,SAAQ,+BAA2B;IACzB,qBAAqB,CAAC,IAAO;QACrC,MAAM,MAAM,GAAG,KAAK,CAAC,qBAAqB,CAAC,IAAI,EAAE;YAC/C,eAAe;YACf,YAAY;YACZ,aAAa;YACb,aAAa;YACb,WAAW;YACX,WAAW;YACX,gBAAgB;YAChB,SAAS;YACT,WAAW;YACX,WAAW;YACX,cAAc;YACd,eAAe;YACf,eAAe;YACf,eAAe;YACf,eAAe;YACf,kBAAkB;YAClB,YAAY;YACZ,YAAY;YACZ,iBAAiB;YACjB,aAAa;YACb,YAAY;YACZ,SAAS;YACT,YAAY;YACZ,YAAY;YACZ,cAAc;YACd,MAAM;YACN,MAAM;YACN,UAAU;YACV,SAAS;YACT,UAAU;
|
|
1
|
+
{"version":3,"sources":["../src/chart/sankey/sankey-transformer.ts"],"names":[],"mappings":";;;AACA,kCAAmD;AAGnD,MAAa,0BAEX,SAAQ,+BAA2B;IACzB,qBAAqB,CAAC,IAAO;QACrC,MAAM,MAAM,GAAG,KAAK,CAAC,qBAAqB,CAAC,IAAI,EAAE;YAC/C,eAAe;YACf,YAAY;YACZ,aAAa;YACb,aAAa;YACb,WAAW;YACX,WAAW;YACX,gBAAgB;YAChB,SAAS;YACT,WAAW;YACX,WAAW;YACX,cAAc;YACd,eAAe;YACf,eAAe;YACf,eAAe;YACf,eAAe;YACf,kBAAkB;YAClB,YAAY;YACZ,YAAY;YACZ,iBAAiB;YACjB,aAAa;YACb,YAAY;YACZ,SAAS;YACT,YAAY;YACZ,YAAY;YACZ,cAAc;YACd,MAAM;YACN,MAAM;YACN,UAAU;YACV,SAAS;YACT,UAAU;SACX,CAAC,CAAC;QAEH,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,aAAa,CAAC,IAAO;QACnB,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAC1B,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACjC,CAAC;CACF;AA5CD,gEA4CC","file":"sankey-transformer.js","sourcesContent":["import type { ISeriesSpec } from '../../typings';\nimport { BaseChartSpecTransformer } from '../base';\nimport type { ISankeyChartSpec } from './interface';\n\nexport class SankeyChartSpecTransformer<\n T extends ISankeyChartSpec = ISankeyChartSpec\n> extends BaseChartSpecTransformer<T> {\n protected _getDefaultSeriesSpec(spec: T): any {\n const series = super._getDefaultSeriesSpec(spec, [\n 'categoryField',\n 'valueField',\n 'sourceField',\n 'targetField',\n 'direction',\n 'nodeAlign',\n 'crossNodeAlign',\n 'nodeGap',\n 'nodeWidth',\n 'linkWidth',\n 'minStepWidth',\n 'minNodeHeight',\n 'maxNodeHeight',\n 'minLinkHeight',\n 'maxLinkHeight',\n 'dropIsolatedNode',\n 'nodeHeight',\n 'linkHeight',\n 'equalNodeHeight',\n 'linkOverlap',\n 'iterations',\n 'nodeKey',\n 'linkSortBy',\n 'nodeSortBy',\n 'setNodeLayer',\n 'node',\n 'link',\n 'emphasis',\n 'inverse',\n 'overflow'\n ]);\n\n return series;\n }\n\n transformSpec(spec: T): void {\n super.transformSpec(spec);\n this.transformSeriesSpec(spec);\n }\n}\n"]}
|
package/cjs/constant/funnel.js
CHANGED
|
@@ -12,5 +12,4 @@ exports.FUNNEL_LAST_VALUE_RATIO = `${base_1.PREFIX}_FUNNEL_LAST_VALUE_RATIO`, ex
|
|
|
12
12
|
exports.FUNNEL_LAST_VALUE = `${base_1.PREFIX}_FUNNEL_LAST_VALUE`, exports.FUNNEL_CURRENT_VALUE = `${base_1.PREFIX}_FUNNEL_CURRENT_VALUE`,
|
|
13
13
|
exports.FUNNEL_NEXT_VALUE = `${base_1.PREFIX}_FUNNEL_NEXT_VALUE`, exports.FUNNEL_TRANSFORM_LEVEL = `${base_1.PREFIX}_FUNNEL_TRANSFORM_LEVEL`,
|
|
14
14
|
exports.FUNNEL_LABEL_LINE_LENGTH = 20, exports.FUNNEL_LABEL_SPACE_WIDTH = 5, exports.FUNNEL_MAX_SIZE = "80%",
|
|
15
|
-
exports.FUNNEL_MIN_SIZE = 0;
|
|
16
|
-
//# sourceMappingURL=funnel.js.map
|
|
15
|
+
exports.FUNNEL_MIN_SIZE = 0;
|
package/cjs/constant/sunburst.js
CHANGED
|
@@ -2,4 +2,5 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: !0
|
|
5
|
-
}), exports.SUNBURST_AUTO_VISIBLE_DEFAULT_THRESHOLD = void 0, exports.SUNBURST_AUTO_VISIBLE_DEFAULT_THRESHOLD = 10;
|
|
5
|
+
}), exports.SUNBURST_AUTO_VISIBLE_DEFAULT_THRESHOLD = void 0, exports.SUNBURST_AUTO_VISIBLE_DEFAULT_THRESHOLD = 10;
|
|
6
|
+
//# sourceMappingURL=sunburst.js.map
|
package/cjs/core/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VChart } from './vchart';
|
|
2
2
|
import { Factory } from './factory';
|
|
3
3
|
export { VChart, Factory };
|
|
4
|
-
export declare const version = "1.13.21-alpha.
|
|
4
|
+
export declare const version = "1.13.21-alpha.1";
|
|
5
5
|
export type { IVChart } from './interface';
|
|
6
6
|
export type { IStateSpec, StateValueType } from '../compile/mark';
|
|
7
7
|
export type { IRegion } from '../region/interface';
|
package/cjs/core/index.js
CHANGED
|
@@ -35,7 +35,7 @@ Object.defineProperty(exports, "Factory", {
|
|
|
35
35
|
get: function() {
|
|
36
36
|
return factory_1.Factory;
|
|
37
37
|
}
|
|
38
|
-
}), exports.version = "1.13.21-alpha.
|
|
38
|
+
}), exports.version = "1.13.21-alpha.1", __exportStar(require("../typings/spec/common"), exports),
|
|
39
39
|
__exportStar(require("../event/interface"), exports), __exportStar(require("../theme/interface"), exports),
|
|
40
40
|
__exportStar(require("../compile/mark/interface"), exports), __exportStar(require("./interface"), exports),
|
|
41
41
|
__exportStar(require("../constant/base"), exports), __exportStar(require("../constant/data"), exports),
|
package/cjs/core/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAIA,qCAAkC;AAGzB,uFAHA,eAAM,OAGA;AAFf,uCAAoC;AAEnB,wFAFR,iBAAO,OAEQ;AAGX,QAAA,OAAO,GAAG,iBAAiB,CAAC;AAOzC,yDAAuC;AACvC,qDAAmC;AACnC,qDAAmC;AACnC,4DAA0C;AAC1C,8CAA4B;AAG5B,mDAAiC;AACjC,mDAAiC;AAKjC,wDAAsC;AAGtC,qDAAmC;AAGnC,iDAA+B;AAG/B,uDAYgC;AAX9B,uGAAA,OAAO,OAAA;AACP,2GAAA,WAAW,OAAA;AACX,8GAAA,cAAc,OAAA;AACd,0GAAA,UAAU,OAAA;AACV,yGAAA,SAAS,OAAA;AACT,0GAAA,UAAU,OAAA;AACV,0GAAA,UAAU,OAAA;AACV,0GAAA,UAAU,OAAA;AACV,4GAAA,YAAY,OAAA;AACZ,4GAAA,YAAY,OAAA;AACZ,2GAAA,WAAW,OAAA","file":"index.js","sourcesContent":["/**\n * @description The core module of VChart, containing the necessary interfaces for using VChart.\n */\n\nimport { VChart } from './vchart';\nimport { Factory } from './factory';\n\nexport { VChart, Factory };\n\n// export the version\nexport const version = \"1.13.21-alpha.
|
|
1
|
+
{"version":3,"sources":["../src/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAIA,qCAAkC;AAGzB,uFAHA,eAAM,OAGA;AAFf,uCAAoC;AAEnB,wFAFR,iBAAO,OAEQ;AAGX,QAAA,OAAO,GAAG,iBAAiB,CAAC;AAOzC,yDAAuC;AACvC,qDAAmC;AACnC,qDAAmC;AACnC,4DAA0C;AAC1C,8CAA4B;AAG5B,mDAAiC;AACjC,mDAAiC;AAKjC,wDAAsC;AAGtC,qDAAmC;AAGnC,iDAA+B;AAG/B,uDAYgC;AAX9B,uGAAA,OAAO,OAAA;AACP,2GAAA,WAAW,OAAA;AACX,8GAAA,cAAc,OAAA;AACd,0GAAA,UAAU,OAAA;AACV,yGAAA,SAAS,OAAA;AACT,0GAAA,UAAU,OAAA;AACV,0GAAA,UAAU,OAAA;AACV,0GAAA,UAAU,OAAA;AACV,4GAAA,YAAY,OAAA;AACZ,4GAAA,YAAY,OAAA;AACZ,2GAAA,WAAW,OAAA","file":"index.js","sourcesContent":["/**\n * @description The core module of VChart, containing the necessary interfaces for using VChart.\n */\n\nimport { VChart } from './vchart';\nimport { Factory } from './factory';\n\nexport { VChart, Factory };\n\n// export the version\nexport const version = \"1.13.21-alpha.1\";\n\n// export necessary types\nexport type { IVChart } from './interface';\nexport type { IStateSpec, StateValueType } from '../compile/mark';\nexport type { IRegion } from '../region/interface';\n\nexport * from '../typings/spec/common';\nexport * from '../event/interface';\nexport * from '../theme/interface';\nexport * from '../compile/mark/interface';\nexport * from './interface';\n\n// some constants\nexport * from '../constant/base';\nexport * from '../constant/data';\n\n/**\n * spec\n */\nexport * from '../typings/spec/index';\n\n// tooltip\nexport * from '../typings/tooltip';\n\n// theme\nexport * from '../theme/index';\n\n// vrender\nexport {\n vglobal,\n createGroup,\n createRichText,\n createText,\n createArc,\n createArea,\n createRect,\n createLine,\n createSymbol,\n ManualTicker,\n StreamLight\n} from '@visactor/vrender-core';\n"]}
|
package/cjs/core/interface.js
CHANGED
package/cjs/core/vchart.d.ts
CHANGED
|
@@ -22,7 +22,6 @@ import { Compiler } from '../compile/compiler';
|
|
|
22
22
|
import type { IMorphConfig } from '../animation/spec';
|
|
23
23
|
import type { DataLinkAxis, DataLinkSeries, IGlobalConfig, IVChart, IVChartRenderOption } from './interface';
|
|
24
24
|
import { InstanceManager } from './instance-manager';
|
|
25
|
-
import type { IChartPluginService } from '../plugin/chart/interface';
|
|
26
25
|
export declare class VChart implements IVChart {
|
|
27
26
|
readonly id: number;
|
|
28
27
|
static useRegisters(comps: (() => void)[]): void;
|
|
@@ -78,7 +77,6 @@ export declare class VChart implements IVChart {
|
|
|
78
77
|
private _context;
|
|
79
78
|
private _isReleased;
|
|
80
79
|
private _chartPlugin?;
|
|
81
|
-
get chartPlugin(): IChartPluginService<any>;
|
|
82
80
|
private _onResize?;
|
|
83
81
|
constructor(spec: ISpec, options: IInitOption);
|
|
84
82
|
private _setNewSpec;
|
package/cjs/core/vchart.js
CHANGED
|
@@ -119,9 +119,6 @@ class VChart {
|
|
|
119
119
|
getDataSet() {
|
|
120
120
|
return this._dataSet;
|
|
121
121
|
}
|
|
122
|
-
get chartPlugin() {
|
|
123
|
-
return this._chartPlugin;
|
|
124
|
-
}
|
|
125
122
|
constructor(spec, options) {
|
|
126
123
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
127
124
|
this.id = (0, id_1.createID)(), this._userEvents = [], this._autoSize = !0, this._option = {
|
|
@@ -922,4 +919,5 @@ const registerVChartCore = () => {
|
|
|
922
919
|
(0, builtin_1.registerTheme)(builtin_1.darkTheme.name, builtin_1.darkTheme), vutils_1.Logger.getInstance(vutils_1.LoggerLevel.Error);
|
|
923
920
|
};
|
|
924
921
|
|
|
925
|
-
exports.registerVChartCore = registerVChartCore, (0, exports.registerVChartCore)();
|
|
922
|
+
exports.registerVChartCore = registerVChartCore, (0, exports.registerVChartCore)();
|
|
923
|
+
//# sourceMappingURL=vchart.js.map
|