@visactor/vchart 1.10.2-alpha.3 → 1.11.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/es5/index.js +1 -1
- package/build/index.js +370 -368
- package/build/index.min.js +1 -1
- package/build/tsconfig.tsbuildinfo +1 -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/series/index.d.ts +5 -3
- package/cjs/series/index.js +16 -2
- package/cjs/series/index.js.map +1 -1
- package/cjs/theme/builtin/common/component/crosshair.js +2 -8
- package/cjs/theme/builtin/common/component/crosshair.js.map +1 -1
- package/cjs/typings/spec/chart.d.ts +2 -0
- package/cjs/typings/spec/chart.js.map +1 -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/series/index.d.ts +5 -3
- package/esm/series/index.js +4 -2
- package/esm/series/index.js.map +1 -1
- package/esm/theme/builtin/common/component/crosshair.js +2 -8
- package/esm/theme/builtin/common/component/crosshair.js.map +1 -1
- package/esm/typings/spec/chart.d.ts +2 -0
- package/esm/typings/spec/chart.js.map +1 -1
- package/package.json +3 -3
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.
|
|
4
|
+
export declare const version = "1.11.0-alpha.0";
|
|
5
5
|
export type { IVChart } from './interface';
|
|
6
6
|
export type { IStateSpec, StateValueType } from '../compile/mark';
|
|
7
7
|
export * from '../typings/spec/common';
|
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.
|
|
38
|
+
}), exports.version = "1.11.0-alpha.0", __exportStar(require("../typings/spec/common"), exports),
|
|
39
39
|
__exportStar(require("../event/interface"), exports), __exportStar(require("../theme/interface"), exports),
|
|
40
40
|
__exportStar(require("../constant"), exports), __exportStar(require("./interface"), exports),
|
|
41
41
|
__exportStar(require("../typings/spec/index"), exports), __exportStar(require("../typings/tooltip"), 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,gBAAgB,CAAC;AAMxC,yDAAuC;AACvC,qDAAmC;AACnC,qDAAmC;AACnC,8CAA4B;AAC5B,8CAA4B;AAK5B,wDAAsC;AAGtC,qDAAmC;AAGnC,iDAA+B;AAG/B,uDAAiD;AAAxC,uGAAA,OAAO,OAAA;AAGhB,4CAA0B","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.
|
|
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,gBAAgB,CAAC;AAMxC,yDAAuC;AACvC,qDAAmC;AACnC,qDAAmC;AACnC,8CAA4B;AAC5B,8CAA4B;AAK5B,wDAAsC;AAGtC,qDAAmC;AAGnC,iDAA+B;AAG/B,uDAAiD;AAAxC,uGAAA,OAAO,OAAA;AAGhB,4CAA0B","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.11.0-alpha.0\";\n\n// export necessary types\nexport type { IVChart } from './interface';\nexport type { IStateSpec, StateValueType } from '../compile/mark';\n\nexport * from '../typings/spec/common';\nexport * from '../event/interface';\nexport * from '../theme/interface';\nexport * from '../constant';\nexport * from './interface';\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 { vglobal } from '@visactor/vrender-core';\n\n// plugin\nexport * from '../plugin';\n"]}
|
package/cjs/series/index.d.ts
CHANGED
|
@@ -63,8 +63,10 @@ import type { IProgressLikeSeriesSpec } from './polar/progress-like';
|
|
|
63
63
|
import { ProgressLikeSeries } from './polar/progress-like';
|
|
64
64
|
import type { IRoseLikeSeriesSpec } from './polar/rose-like';
|
|
65
65
|
import { RoseLikeSeries } from './polar/rose-like';
|
|
66
|
+
import type { ILiquidSeriesSpec } from './liquid/interface';
|
|
67
|
+
import { LiquidSeries, registerLiquidSeries } from './liquid/liquid';
|
|
66
68
|
import type { ISeries, ICartesianSeries, IPolarSeries, IGeoSeries } from './interface';
|
|
67
|
-
export { WaterfallSeries, Bar3dSeries, BarSeries, BoxPlotSeries, LineSeries, RadarSeries, RangeAreaSeries, RangeColumn3dSeries, RangeColumnSeries, MapSeries, Pie3dSeries, PieSeries, SankeySeries, ScatterSeries, SunburstSeries, RoseLikeSeries, RoseSeries, AreaSeries, DotSeries, LinearProgressSeries, LinkSeries, CirclePackingSeries, CircularProgressSeries, WordCloud3dSeries, WordCloudSeries, Funnel3dSeries, FunnelSeries, TreemapSeries, GaugePointerSeries, GaugeSeries, HeatmapSeries, BaseSeries, CartesianSeries, PolarSeries, ProgressLikeSeries, CorrelationSeries };
|
|
68
|
-
export { registerAreaSeries, registerBar3dSeries, registerBarSeries, registerBoxplotSeries, registerCirclePackingSeries, registerCircularProgressSeries, registerDotSeries, registerFunnel3dSeries, registerFunnelSeries, registerGaugePointerSeries, registerGaugeSeries, registerHeatmapSeries, registerLineSeries, registerLinearProgressSeries, registerLinkSeries, registerMapSeries, registerPie3dSeries, registerPieSeries, registerRadarSeries, registerRangeAreaSeries, registerRangeColumn3dSeries, registerRangeColumnSeries, registerRoseSeries, registerSankeySeries, registerScatterSeries, registerSunBurstSeries, registerTreemapSeries, registerWaterfallSeries, registerWordCloud3dSeries, registerWordCloudSeries };
|
|
69
|
-
export type { ISeries, ICartesianSeries, IPolarSeries, IGeoSeries, IRoseLikeSeriesSpec, IAreaSeriesSpec, IBar3dSeriesSpec, IBarSeriesSpec, IBoxPlotSeriesSpec, ICartesianSeriesSpec, ICirclePackingSeriesSpec, ICircularProgressSeriesSpec, IDotSeriesSpec, IFunnel3dSeriesSpec, IFunnelSeriesSpec, IGaugePointerSeriesSpec, IGaugeSeriesSpec, IHeatmapSeriesSpec, ILineSeriesSpec, ILinearProgressSeriesSpec, ILinkSeriesSpec, IMapSeriesSpec, IPie3dSeriesSpec, IPieSeriesSpec, IPolarSeriesSpec, IProgressLikeSeriesSpec, IRadarSeriesSpec, IRangeAreaSeriesSpec, IRangeColumn3dSeriesSpec, IRangeColumnSeriesSpec, IRoseSeriesSpec, ISankeySeriesSpec, IScatterSeriesSpec, ISunburstSeriesSpec, ITreemapSeriesSpec, IWaterfallSeriesSpec, IWordCloud3dSeriesSpec, IWordCloudSeriesSpec, ICorrelationSeriesSpec };
|
|
69
|
+
export { WaterfallSeries, Bar3dSeries, BarSeries, BoxPlotSeries, LineSeries, RadarSeries, RangeAreaSeries, RangeColumn3dSeries, RangeColumnSeries, MapSeries, Pie3dSeries, PieSeries, SankeySeries, ScatterSeries, SunburstSeries, RoseLikeSeries, RoseSeries, AreaSeries, DotSeries, LinearProgressSeries, LinkSeries, CirclePackingSeries, CircularProgressSeries, WordCloud3dSeries, WordCloudSeries, Funnel3dSeries, FunnelSeries, TreemapSeries, GaugePointerSeries, GaugeSeries, HeatmapSeries, BaseSeries, CartesianSeries, PolarSeries, ProgressLikeSeries, CorrelationSeries, LiquidSeries };
|
|
70
|
+
export { registerAreaSeries, registerBar3dSeries, registerBarSeries, registerBoxplotSeries, registerCirclePackingSeries, registerCircularProgressSeries, registerDotSeries, registerFunnel3dSeries, registerFunnelSeries, registerGaugePointerSeries, registerGaugeSeries, registerHeatmapSeries, registerLineSeries, registerLinearProgressSeries, registerLinkSeries, registerMapSeries, registerPie3dSeries, registerPieSeries, registerRadarSeries, registerRangeAreaSeries, registerRangeColumn3dSeries, registerRangeColumnSeries, registerRoseSeries, registerSankeySeries, registerScatterSeries, registerSunBurstSeries, registerTreemapSeries, registerWaterfallSeries, registerWordCloud3dSeries, registerWordCloudSeries, registerLiquidSeries };
|
|
71
|
+
export type { ISeries, ICartesianSeries, IPolarSeries, IGeoSeries, IRoseLikeSeriesSpec, IAreaSeriesSpec, IBar3dSeriesSpec, IBarSeriesSpec, IBoxPlotSeriesSpec, ICartesianSeriesSpec, ICirclePackingSeriesSpec, ICircularProgressSeriesSpec, IDotSeriesSpec, IFunnel3dSeriesSpec, IFunnelSeriesSpec, IGaugePointerSeriesSpec, IGaugeSeriesSpec, IHeatmapSeriesSpec, ILineSeriesSpec, ILinearProgressSeriesSpec, ILinkSeriesSpec, IMapSeriesSpec, IPie3dSeriesSpec, IPieSeriesSpec, IPolarSeriesSpec, IProgressLikeSeriesSpec, IRadarSeriesSpec, IRangeAreaSeriesSpec, IRangeColumn3dSeriesSpec, IRangeColumnSeriesSpec, IRoseSeriesSpec, ISankeySeriesSpec, IScatterSeriesSpec, ISunburstSeriesSpec, ITreemapSeriesSpec, IWaterfallSeriesSpec, IWordCloud3dSeriesSpec, IWordCloudSeriesSpec, ICorrelationSeriesSpec, ILiquidSeriesSpec };
|
|
70
72
|
export * from './interface';
|
package/cjs/series/index.js
CHANGED
|
@@ -17,8 +17,8 @@ var __createBinding = this && this.__createBinding || (Object.create ? function(
|
|
|
17
17
|
|
|
18
18
|
Object.defineProperty(exports, "__esModule", {
|
|
19
19
|
value: !0
|
|
20
|
-
}), exports.
|
|
21
|
-
exports.registerWordCloudSeries = exports.registerWordCloud3dSeries = exports.registerWaterfallSeries = exports.registerTreemapSeries = exports.registerSunBurstSeries = exports.registerScatterSeries = exports.registerSankeySeries = exports.registerRoseSeries = exports.registerRangeColumnSeries = exports.registerRangeColumn3dSeries = exports.registerRangeAreaSeries = exports.registerRadarSeries = exports.registerPieSeries = exports.registerPie3dSeries = exports.registerMapSeries = exports.registerLinkSeries = void 0;
|
|
20
|
+
}), exports.registerLineSeries = exports.registerHeatmapSeries = exports.registerGaugeSeries = exports.registerGaugePointerSeries = exports.registerFunnelSeries = exports.registerFunnel3dSeries = exports.registerDotSeries = exports.registerCircularProgressSeries = exports.registerCirclePackingSeries = exports.registerBoxplotSeries = exports.registerBarSeries = exports.registerBar3dSeries = exports.registerAreaSeries = exports.LiquidSeries = exports.CorrelationSeries = exports.ProgressLikeSeries = exports.PolarSeries = exports.CartesianSeries = exports.BaseSeries = exports.HeatmapSeries = exports.GaugeSeries = exports.GaugePointerSeries = exports.TreemapSeries = exports.FunnelSeries = exports.Funnel3dSeries = exports.WordCloudSeries = exports.WordCloud3dSeries = exports.CircularProgressSeries = exports.CirclePackingSeries = exports.LinkSeries = exports.LinearProgressSeries = exports.DotSeries = exports.AreaSeries = exports.RoseSeries = exports.RoseLikeSeries = exports.SunburstSeries = exports.ScatterSeries = exports.SankeySeries = exports.PieSeries = exports.Pie3dSeries = exports.MapSeries = exports.RangeColumnSeries = exports.RangeColumn3dSeries = exports.RangeAreaSeries = exports.RadarSeries = exports.LineSeries = exports.BoxPlotSeries = exports.BarSeries = exports.Bar3dSeries = exports.WaterfallSeries = void 0,
|
|
21
|
+
exports.registerLiquidSeries = exports.registerWordCloudSeries = exports.registerWordCloud3dSeries = exports.registerWaterfallSeries = exports.registerTreemapSeries = exports.registerSunBurstSeries = exports.registerScatterSeries = exports.registerSankeySeries = exports.registerRoseSeries = exports.registerRangeColumnSeries = exports.registerRangeColumn3dSeries = exports.registerRangeAreaSeries = exports.registerRadarSeries = exports.registerPieSeries = exports.registerPie3dSeries = exports.registerMapSeries = exports.registerLinkSeries = exports.registerLinearProgressSeries = void 0;
|
|
22
22
|
|
|
23
23
|
const waterfall_1 = require("./waterfall/waterfall");
|
|
24
24
|
|
|
@@ -488,5 +488,19 @@ Object.defineProperty(exports, "RoseLikeSeries", {
|
|
|
488
488
|
get: function() {
|
|
489
489
|
return rose_like_1.RoseLikeSeries;
|
|
490
490
|
}
|
|
491
|
+
});
|
|
492
|
+
|
|
493
|
+
const liquid_1 = require("./liquid/liquid");
|
|
494
|
+
|
|
495
|
+
Object.defineProperty(exports, "LiquidSeries", {
|
|
496
|
+
enumerable: !0,
|
|
497
|
+
get: function() {
|
|
498
|
+
return liquid_1.LiquidSeries;
|
|
499
|
+
}
|
|
500
|
+
}), Object.defineProperty(exports, "registerLiquidSeries", {
|
|
501
|
+
enumerable: !0,
|
|
502
|
+
get: function() {
|
|
503
|
+
return liquid_1.registerLiquidSeries;
|
|
504
|
+
}
|
|
491
505
|
}), __exportStar(require("./interface"), exports);
|
|
492
506
|
//# sourceMappingURL=index.js.map
|
package/cjs/series/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/series/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAIA,qDAAiF;
|
|
1
|
+
{"version":3,"sources":["../src/series/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAIA,qDAAiF;AAuE/E,gGAvEO,2BAAe,OAuEP;AAmEf,wGA1IwB,mCAAuB,OA0IxB;AAxIzB,kDAA2E;AAwEzE,8FAxEO,wBAAa,OAwEP;AAwCb,sGAhHsB,gCAAqB,OAgHtB;AA9GvB,sCAA6D;AAuE3D,2FAvEO,iBAAU,OAuEP;AAgDV,mGAvHmB,yBAAkB,OAuHnB;AArHpB,mCAAyD;AAmEvD,0FAnEO,eAAS,OAmEP;AAwCT,kGA3Gk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P;AAkCZ,qGA3EqB,6BAAoB,OA2ErB;AA8CtB,8CAA4B","file":"index.js","sourcesContent":["/* eslint-disable no-duplicate-imports */\n/**\n * @description export all mark modules\n */\nimport { WaterfallSeries, registerWaterfallSeries } from './waterfall/waterfall';\nimport type { IWaterfallSeriesSpec } from './waterfall/interface';\nimport { BoxPlotSeries, registerBoxplotSeries } from './box-plot/box-plot';\nimport type { IBoxPlotSeriesSpec } from './box-plot/interface';\nimport { LineSeries, registerLineSeries } from './line/line';\nimport type { ILineSeriesSpec } from './line/interface';\nimport { BarSeries, registerBarSeries } from './bar/bar';\nimport { Bar3dSeries, registerBar3dSeries } from './bar/bar-3d';\nimport type { IBar3dSeriesSpec, IBarSeriesSpec } from './bar/interface';\nimport { RangeColumnSeries, registerRangeColumnSeries } from './range-column/range-column';\nimport { RangeColumn3dSeries, registerRangeColumn3dSeries } from './range-column/3d/range-column-3d';\nimport type { IRangeColumn3dSeriesSpec, IRangeColumnSeriesSpec } from './range-column/interface';\nimport { RangeAreaSeries, registerRangeAreaSeries } from './range-area/range-area';\nimport type { IRangeAreaSeriesSpec } from './range-area/interface';\nimport { MapSeries, registerMapSeries } from './map/map';\nimport type { IMapSeriesSpec } from './map/interface';\nimport { PieSeries, registerPieSeries } from './pie/pie';\nimport { Pie3dSeries, registerPie3dSeries } from './pie/3d/pie-3d';\nimport type { IPie3dSeriesSpec } from './pie/interface';\nimport type { IPieSeriesSpec } from './pie/interface';\nimport { ScatterSeries, registerScatterSeries } from './scatter/scatter';\nimport type { IScatterSeriesSpec } from './scatter/interface';\nimport { RoseSeries, registerRoseSeries } from './rose/rose';\nimport type { IRoseSeriesSpec } from './rose/interface';\nimport { RadarSeries, registerRadarSeries } from './radar/radar';\nimport type { IRadarSeriesSpec } from './radar/interface';\nimport { AreaSeries, registerAreaSeries } from './area/area';\nimport type { IAreaSeriesSpec } from './area/interface';\nimport { DotSeries, registerDotSeries } from './dot/dot';\nimport type { IDotSeriesSpec } from './dot/interface';\nimport { LinkSeries, registerLinkSeries } from './link/link';\nimport type { ILinkSeriesSpec } from './link/interface';\nimport { CircularProgressSeries, registerCircularProgressSeries } from './progress/circular/circular';\nimport type { ICircularProgressSeriesSpec } from './progress/circular/interface';\nimport { LinearProgressSeries, registerLinearProgressSeries } from './progress/linear/linear';\nimport type { ILinearProgressSeriesSpec } from './progress/linear/interface';\nimport { WordCloudSeries, registerWordCloudSeries } from './word-cloud/word-cloud';\nimport { WordCloud3dSeries, registerWordCloud3dSeries } from './word-cloud/word-cloud-3d';\nimport type { IWordCloud3dSeriesSpec, IWordCloudSeriesSpec } from './word-cloud/interface';\nimport { FunnelSeries, registerFunnelSeries } from './funnel/funnel';\nimport { Funnel3dSeries, registerFunnel3dSeries } from './funnel/3d/funnel-3d';\nimport type { IFunnel3dSeriesSpec, IFunnelSeriesSpec } from './funnel/interface';\nimport { SunburstSeries, registerSunBurstSeries } from './sunburst/sunburst';\nimport type { ISunburstSeriesSpec } from './sunburst/interface';\nimport { CirclePackingSeries, registerCirclePackingSeries } from './circle-packing/circle-packing';\nimport type { ICirclePackingSeriesSpec } from './circle-packing/interface';\nimport { SankeySeries, registerSankeySeries } from './sankey/sankey';\nimport type { ISankeySeriesSpec } from './sankey/interface';\nimport { TreemapSeries, registerTreemapSeries } from './treemap/treemap';\nimport type { ITreemapSeriesSpec } from './treemap/interface';\nimport type { IGaugePointerSeriesSpec, IGaugeSeriesSpec } from './gauge';\nimport { GaugePointerSeries, GaugeSeries, registerGaugePointerSeries, registerGaugeSeries } from './gauge';\nimport { HeatmapSeries, registerHeatmapSeries } from './heatmap/heatmap';\nimport type { IHeatmapSeriesSpec } from './heatmap/interface';\nimport { CorrelationSeries } from './correlation/correlation';\nimport type { ICorrelationSeriesSpec } from './correlation/interface';\nimport { BaseSeries } from './base/base-series';\nimport type { ICartesianSeriesSpec } from './cartesian';\nimport { CartesianSeries } from './cartesian';\nimport { PolarSeries } from './polar/polar';\nimport type { IPolarSeriesSpec } from './polar/interface';\nimport type { IProgressLikeSeriesSpec } from './polar/progress-like';\nimport { ProgressLikeSeries } from './polar/progress-like';\nimport type { IRoseLikeSeriesSpec } from './polar/rose-like';\nimport { RoseLikeSeries } from './polar/rose-like';\nimport type { ILiquidSeriesSpec } from './liquid/interface';\nimport { LiquidSeries, registerLiquidSeries } from './liquid/liquid';\n\nimport type { ISeries, ICartesianSeries, IPolarSeries, IGeoSeries } from './interface';\n\nexport {\n WaterfallSeries,\n Bar3dSeries,\n BarSeries,\n BoxPlotSeries,\n LineSeries,\n RadarSeries,\n RangeAreaSeries,\n RangeColumn3dSeries,\n RangeColumnSeries,\n MapSeries,\n Pie3dSeries,\n PieSeries,\n SankeySeries,\n ScatterSeries,\n SunburstSeries,\n RoseLikeSeries,\n RoseSeries,\n AreaSeries,\n DotSeries,\n LinearProgressSeries,\n LinkSeries,\n CirclePackingSeries,\n CircularProgressSeries,\n WordCloud3dSeries,\n WordCloudSeries,\n Funnel3dSeries,\n FunnelSeries,\n TreemapSeries,\n GaugePointerSeries,\n GaugeSeries,\n HeatmapSeries,\n BaseSeries,\n CartesianSeries,\n PolarSeries,\n ProgressLikeSeries,\n CorrelationSeries,\n LiquidSeries\n};\n\nexport {\n registerAreaSeries,\n registerBar3dSeries,\n registerBarSeries,\n registerBoxplotSeries,\n registerCirclePackingSeries,\n registerCircularProgressSeries,\n registerDotSeries,\n registerFunnel3dSeries,\n registerFunnelSeries,\n registerGaugePointerSeries,\n registerGaugeSeries,\n registerHeatmapSeries,\n registerLineSeries,\n registerLinearProgressSeries,\n registerLinkSeries,\n registerMapSeries,\n registerPie3dSeries,\n registerPieSeries,\n registerRadarSeries,\n registerRangeAreaSeries,\n registerRangeColumn3dSeries,\n registerRangeColumnSeries,\n registerRoseSeries,\n registerSankeySeries,\n registerScatterSeries,\n registerSunBurstSeries,\n registerTreemapSeries,\n registerWaterfallSeries,\n registerWordCloud3dSeries,\n registerWordCloudSeries,\n registerLiquidSeries\n};\n\nexport type {\n ISeries,\n ICartesianSeries,\n IPolarSeries,\n IGeoSeries,\n IRoseLikeSeriesSpec,\n IAreaSeriesSpec,\n IBar3dSeriesSpec,\n IBarSeriesSpec,\n IBoxPlotSeriesSpec,\n ICartesianSeriesSpec,\n ICirclePackingSeriesSpec,\n ICircularProgressSeriesSpec,\n IDotSeriesSpec,\n IFunnel3dSeriesSpec,\n IFunnelSeriesSpec,\n IGaugePointerSeriesSpec,\n IGaugeSeriesSpec,\n IHeatmapSeriesSpec,\n ILineSeriesSpec,\n ILinearProgressSeriesSpec,\n ILinkSeriesSpec,\n IMapSeriesSpec,\n IPie3dSeriesSpec,\n IPieSeriesSpec,\n IPolarSeriesSpec,\n IProgressLikeSeriesSpec,\n IRadarSeriesSpec,\n IRangeAreaSeriesSpec,\n IRangeColumn3dSeriesSpec,\n IRangeColumnSeriesSpec,\n IRoseSeriesSpec,\n ISankeySeriesSpec,\n IScatterSeriesSpec,\n ISunburstSeriesSpec,\n ITreemapSeriesSpec,\n IWaterfallSeriesSpec,\n IWordCloud3dSeriesSpec,\n IWordCloudSeriesSpec,\n ICorrelationSeriesSpec,\n ILiquidSeriesSpec\n};\n\nexport * from './interface';\n"]}
|
|
@@ -90,10 +90,7 @@ const getLabelSpec = () => ({
|
|
|
90
90
|
type: "palette",
|
|
91
91
|
key: "markLineStrokeColor"
|
|
92
92
|
},
|
|
93
|
-
fill:
|
|
94
|
-
type: "palette",
|
|
95
|
-
key: "axisGridColor"
|
|
96
|
-
},
|
|
93
|
+
fill: "transparent",
|
|
97
94
|
opacity: .7,
|
|
98
95
|
lineDash: [ 2, 3 ]
|
|
99
96
|
}
|
|
@@ -190,10 +187,7 @@ exports.crosshair = {
|
|
|
190
187
|
type: "palette",
|
|
191
188
|
key: "markLineStrokeColor"
|
|
192
189
|
},
|
|
193
|
-
fill:
|
|
194
|
-
type: "palette",
|
|
195
|
-
key: "axisGridColor"
|
|
196
|
-
},
|
|
190
|
+
fill: "transparent",
|
|
197
191
|
opacity: .7,
|
|
198
192
|
lineDash: [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AA6B,EAAE,CAAC,CAAC;IACtD,OAAO,EAAE,KAAK;IACd,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YACL,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,qBAAqB,EAAE;YACvD,IAAI,EAAE,aAAa;YACnB,OAAO,EAAE,GAAG;YACZ,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;SACjB;KACoB;IACvB,KAAK,EAAE,YAAY,EAAE;CACtB,CAAC,CAAC;AAEU,QAAA,SAAS,GAAoB;IACxC,OAAO,EAAE,OAAO;IAChB,SAAS,EAAE,YAAY,EAAE;IACzB,WAAW,EAAE,cAAc,EAAE;CAC9B,CAAC","file":"crosshair.js","sourcesContent":["import type {\n ICrosshairLineSpec,\n ICrosshairRectSpec,\n ICrosshairValueFieldSpec,\n ICrosshairCategoryFieldSpec,\n ICrosshairLabelSpec,\n ICrosshairTheme\n} from '../../../../component/crosshair/interface';\n\nconst getLabelSpec = (): ICrosshairLabelSpec => ({\n visible: false,\n style: {\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'axisMarkerFontColor' },\n fontSize: { type: 'token', key: 'l5FontSize' }\n //lineHeight: { type: 'token', key: 'l5LineHeight' },\n },\n labelBackground: {\n padding: {\n bottom: 0,\n top: 0,\n left: 2,\n right: 2\n },\n style: {\n fill: { type: 'palette', key: 'axisMarkerBackgroundColor' },\n cornerRadius: 1\n }\n }\n});\n\nconst getBandField = (): ICrosshairCategoryFieldSpec => ({\n visible: false,\n line: {\n type: 'rect',\n visible: true,\n style: {\n fill: { type: 'palette', key: 'axisGridColor' },\n opacity: 0.7,\n lineWidth: 0, // 默认不显示边线\n // 此处设置 stroke 和 lineDash 是为了用户想要 line 形式的 crosshair 时,可以直接复用颜色和配置\n stroke: { type: 'palette', key: 'markLineStrokeColor' },\n lineDash: [2, 3]\n }\n } as ICrosshairRectSpec,\n label: getLabelSpec()\n});\n\nconst getLinearField = (): ICrosshairValueFieldSpec => ({\n visible: false,\n line: {\n type: 'line',\n visible: true,\n style: {\n stroke: { type: 'palette', key: 'markLineStrokeColor' },\n fill: 'transparent',\n opacity: 0.7,\n lineDash: [2, 3]\n }\n } as ICrosshairLineSpec,\n label: getLabelSpec()\n});\n\nexport const crosshair: ICrosshairTheme = {\n trigger: 'hover',\n bandField: getBandField(),\n linearField: getLinearField()\n};\n"]}
|
|
@@ -25,6 +25,7 @@ import type { IWaterfallChartSpec } from '../../chart/waterfall';
|
|
|
25
25
|
import type { ICorrelationChartSpec } from '../../chart/correlation';
|
|
26
26
|
import type { IWordCloudChartSpec, IWordCloud3dChartSpec } from '../../chart/word-cloud';
|
|
27
27
|
import type { IChartSpec } from './common';
|
|
28
|
+
import type { ILiquidChartSpec } from '../../chart/liquid/interface';
|
|
28
29
|
export interface ChartSpecMap {
|
|
29
30
|
readonly common: ICommonChartSpec;
|
|
30
31
|
readonly area: IAreaChartSpec;
|
|
@@ -58,5 +59,6 @@ export interface ChartSpecMap {
|
|
|
58
59
|
readonly circlePacking: ICirclePackingChartSpec;
|
|
59
60
|
readonly heatmap: IHeatmapChartSpec;
|
|
60
61
|
readonly correlation: ICorrelationChartSpec;
|
|
62
|
+
readonly liquid: ILiquidChartSpec;
|
|
61
63
|
}
|
|
62
64
|
export type ISpec = ChartSpecMap[keyof ChartSpecMap] | IChartSpec;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/typings/spec/chart.ts"],"names":[],"mappings":"","file":"chart.js","sourcesContent":["import type { IAreaChartSpec } from '../../chart/area';\nimport type { IBarChartSpec, IBar3dChartSpec } from '../../chart/bar';\nimport type { IBoxPlotChartSpec } from '../../chart/box-plot';\nimport type { ICirclePackingChartSpec } from '../../chart/circle-packing';\nimport type { ICommonChartSpec } from '../../chart/common';\nimport type { IFunnelChartSpec, IFunnel3dChartSpec } from '../../chart/funnel';\nimport type { IGaugeChartSpec } from '../../chart/gauge';\nimport type { IHeatmapChartSpec } from '../../chart/heatmap';\nimport type { IHistogramChartSpec, IHistogram3dChartSpec } from '../../chart/histogram';\nimport type { ILineChartSpec } from '../../chart/line';\nimport type { IMapChartSpec } from '../../chart/map';\nimport type { IPieChartSpec, IPie3dChartSpec } from '../../chart/pie';\nimport type { ICircularProgressChartSpec } from '../../chart/progress/circular';\nimport type { ILinearProgressChartSpec } from '../../chart/progress/linear';\nimport type { IRadarChartSpec } from '../../chart/radar';\nimport type { IRangeAreaChartSpec } from '../../chart/range-area';\nimport type { IRangeColumnChartSpec, IRangeColumn3dChartSpec } from '../../chart/range-column';\nimport type { IRoseChartSpec } from '../../chart/rose';\nimport type { ISankeyChartSpec } from '../../chart/sankey';\nimport type { IScatterChartSpec } from '../../chart/scatter';\nimport type { ISequenceChartSpec } from '../../chart/sequence';\nimport type { ISunburstChartSpec } from '../../chart/sunburst';\nimport type { ITreemapChartSpec } from '../../chart/treemap';\nimport type { IWaterfallChartSpec } from '../../chart/waterfall';\nimport type { ICorrelationChartSpec } from '../../chart/correlation';\nimport type { IWordCloudChartSpec, IWordCloud3dChartSpec } from '../../chart/word-cloud';\nimport type { IChartSpec } from './common';\n\nexport interface ChartSpecMap {\n readonly common: ICommonChartSpec;\n readonly area: IAreaChartSpec;\n readonly line: ILineChartSpec;\n readonly bar: IBarChartSpec;\n readonly bar3d: IBar3dChartSpec;\n readonly histogram: IHistogramChartSpec;\n readonly histogram3d: IHistogram3dChartSpec;\n readonly rangeColumn: IRangeColumnChartSpec;\n readonly rangeColumn3d: IRangeColumn3dChartSpec;\n readonly rangeArea: IRangeAreaChartSpec;\n readonly map: IMapChartSpec;\n readonly pie: IPieChartSpec;\n readonly pie3d: IPie3dChartSpec;\n readonly radar: IRadarChartSpec;\n readonly rose: IRoseChartSpec;\n readonly scatter: IScatterChartSpec;\n readonly sequence: ISequenceChartSpec;\n readonly circleProgress: ICircularProgressChartSpec;\n readonly linearProgress: ILinearProgressChartSpec;\n readonly wordCloud: IWordCloudChartSpec;\n readonly wordCloud3d: IWordCloud3dChartSpec;\n readonly funnel: IFunnelChartSpec;\n readonly funnel3d: IFunnel3dChartSpec;\n readonly waterfall: IWaterfallChartSpec;\n readonly boxplot: IBoxPlotChartSpec;\n readonly gauge: IGaugeChartSpec;\n readonly sankey: ISankeyChartSpec;\n readonly treemap: ITreemapChartSpec;\n readonly sunburst: ISunburstChartSpec;\n readonly circlePacking: ICirclePackingChartSpec;\n readonly heatmap: IHeatmapChartSpec;\n readonly correlation: ICorrelationChartSpec;\n}\n\nexport type ISpec = ChartSpecMap[keyof ChartSpecMap] | IChartSpec;\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/typings/spec/chart.ts"],"names":[],"mappings":"","file":"chart.js","sourcesContent":["import type { IAreaChartSpec } from '../../chart/area';\nimport type { IBarChartSpec, IBar3dChartSpec } from '../../chart/bar';\nimport type { IBoxPlotChartSpec } from '../../chart/box-plot';\nimport type { ICirclePackingChartSpec } from '../../chart/circle-packing';\nimport type { ICommonChartSpec } from '../../chart/common';\nimport type { IFunnelChartSpec, IFunnel3dChartSpec } from '../../chart/funnel';\nimport type { IGaugeChartSpec } from '../../chart/gauge';\nimport type { IHeatmapChartSpec } from '../../chart/heatmap';\nimport type { IHistogramChartSpec, IHistogram3dChartSpec } from '../../chart/histogram';\nimport type { ILineChartSpec } from '../../chart/line';\nimport type { IMapChartSpec } from '../../chart/map';\nimport type { IPieChartSpec, IPie3dChartSpec } from '../../chart/pie';\nimport type { ICircularProgressChartSpec } from '../../chart/progress/circular';\nimport type { ILinearProgressChartSpec } from '../../chart/progress/linear';\nimport type { IRadarChartSpec } from '../../chart/radar';\nimport type { IRangeAreaChartSpec } from '../../chart/range-area';\nimport type { IRangeColumnChartSpec, IRangeColumn3dChartSpec } from '../../chart/range-column';\nimport type { IRoseChartSpec } from '../../chart/rose';\nimport type { ISankeyChartSpec } from '../../chart/sankey';\nimport type { IScatterChartSpec } from '../../chart/scatter';\nimport type { ISequenceChartSpec } from '../../chart/sequence';\nimport type { ISunburstChartSpec } from '../../chart/sunburst';\nimport type { ITreemapChartSpec } from '../../chart/treemap';\nimport type { IWaterfallChartSpec } from '../../chart/waterfall';\nimport type { ICorrelationChartSpec } from '../../chart/correlation';\nimport type { IWordCloudChartSpec, IWordCloud3dChartSpec } from '../../chart/word-cloud';\nimport type { IChartSpec } from './common';\nimport type { ILiquidChartSpec } from '../../chart/liquid/interface';\n\nexport interface ChartSpecMap {\n readonly common: ICommonChartSpec;\n readonly area: IAreaChartSpec;\n readonly line: ILineChartSpec;\n readonly bar: IBarChartSpec;\n readonly bar3d: IBar3dChartSpec;\n readonly histogram: IHistogramChartSpec;\n readonly histogram3d: IHistogram3dChartSpec;\n readonly rangeColumn: IRangeColumnChartSpec;\n readonly rangeColumn3d: IRangeColumn3dChartSpec;\n readonly rangeArea: IRangeAreaChartSpec;\n readonly map: IMapChartSpec;\n readonly pie: IPieChartSpec;\n readonly pie3d: IPie3dChartSpec;\n readonly radar: IRadarChartSpec;\n readonly rose: IRoseChartSpec;\n readonly scatter: IScatterChartSpec;\n readonly sequence: ISequenceChartSpec;\n readonly circleProgress: ICircularProgressChartSpec;\n readonly linearProgress: ILinearProgressChartSpec;\n readonly wordCloud: IWordCloudChartSpec;\n readonly wordCloud3d: IWordCloud3dChartSpec;\n readonly funnel: IFunnelChartSpec;\n readonly funnel3d: IFunnel3dChartSpec;\n readonly waterfall: IWaterfallChartSpec;\n readonly boxplot: IBoxPlotChartSpec;\n readonly gauge: IGaugeChartSpec;\n readonly sankey: ISankeyChartSpec;\n readonly treemap: ITreemapChartSpec;\n readonly sunburst: ISunburstChartSpec;\n readonly circlePacking: ICirclePackingChartSpec;\n readonly heatmap: IHeatmapChartSpec;\n readonly correlation: ICorrelationChartSpec;\n readonly liquid: ILiquidChartSpec;\n}\n\nexport type ISpec = ChartSpecMap[keyof ChartSpecMap] | IChartSpec;\n"]}
|
package/esm/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.
|
|
4
|
+
export declare const version = "1.11.0-alpha.0";
|
|
5
5
|
export type { IVChart } from './interface';
|
|
6
6
|
export type { IStateSpec, StateValueType } from '../compile/mark';
|
|
7
7
|
export * from '../typings/spec/common';
|
package/esm/core/index.js
CHANGED
package/esm/core/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/core/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;AAG3B,MAAM,CAAC,MAAM,OAAO,GAAG,gBAAgB,CAAC;AAMxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAK5B,cAAc,uBAAuB,CAAC;AAGtC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,gBAAgB,CAAC;AAG/B,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAGjD,cAAc,WAAW,CAAC","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.
|
|
1
|
+
{"version":3,"sources":["../src/core/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;AAG3B,MAAM,CAAC,MAAM,OAAO,GAAG,gBAAgB,CAAC;AAMxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAK5B,cAAc,uBAAuB,CAAC;AAGtC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,gBAAgB,CAAC;AAG/B,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAGjD,cAAc,WAAW,CAAC","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.11.0-alpha.0\";\n\n// export necessary types\nexport type { IVChart } from './interface';\nexport type { IStateSpec, StateValueType } from '../compile/mark';\n\nexport * from '../typings/spec/common';\nexport * from '../event/interface';\nexport * from '../theme/interface';\nexport * from '../constant';\nexport * from './interface';\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 { vglobal } from '@visactor/vrender-core';\n\n// plugin\nexport * from '../plugin';\n"]}
|
package/esm/series/index.d.ts
CHANGED
|
@@ -63,8 +63,10 @@ import type { IProgressLikeSeriesSpec } from './polar/progress-like';
|
|
|
63
63
|
import { ProgressLikeSeries } from './polar/progress-like';
|
|
64
64
|
import type { IRoseLikeSeriesSpec } from './polar/rose-like';
|
|
65
65
|
import { RoseLikeSeries } from './polar/rose-like';
|
|
66
|
+
import type { ILiquidSeriesSpec } from './liquid/interface';
|
|
67
|
+
import { LiquidSeries, registerLiquidSeries } from './liquid/liquid';
|
|
66
68
|
import type { ISeries, ICartesianSeries, IPolarSeries, IGeoSeries } from './interface';
|
|
67
|
-
export { WaterfallSeries, Bar3dSeries, BarSeries, BoxPlotSeries, LineSeries, RadarSeries, RangeAreaSeries, RangeColumn3dSeries, RangeColumnSeries, MapSeries, Pie3dSeries, PieSeries, SankeySeries, ScatterSeries, SunburstSeries, RoseLikeSeries, RoseSeries, AreaSeries, DotSeries, LinearProgressSeries, LinkSeries, CirclePackingSeries, CircularProgressSeries, WordCloud3dSeries, WordCloudSeries, Funnel3dSeries, FunnelSeries, TreemapSeries, GaugePointerSeries, GaugeSeries, HeatmapSeries, BaseSeries, CartesianSeries, PolarSeries, ProgressLikeSeries, CorrelationSeries };
|
|
68
|
-
export { registerAreaSeries, registerBar3dSeries, registerBarSeries, registerBoxplotSeries, registerCirclePackingSeries, registerCircularProgressSeries, registerDotSeries, registerFunnel3dSeries, registerFunnelSeries, registerGaugePointerSeries, registerGaugeSeries, registerHeatmapSeries, registerLineSeries, registerLinearProgressSeries, registerLinkSeries, registerMapSeries, registerPie3dSeries, registerPieSeries, registerRadarSeries, registerRangeAreaSeries, registerRangeColumn3dSeries, registerRangeColumnSeries, registerRoseSeries, registerSankeySeries, registerScatterSeries, registerSunBurstSeries, registerTreemapSeries, registerWaterfallSeries, registerWordCloud3dSeries, registerWordCloudSeries };
|
|
69
|
-
export type { ISeries, ICartesianSeries, IPolarSeries, IGeoSeries, IRoseLikeSeriesSpec, IAreaSeriesSpec, IBar3dSeriesSpec, IBarSeriesSpec, IBoxPlotSeriesSpec, ICartesianSeriesSpec, ICirclePackingSeriesSpec, ICircularProgressSeriesSpec, IDotSeriesSpec, IFunnel3dSeriesSpec, IFunnelSeriesSpec, IGaugePointerSeriesSpec, IGaugeSeriesSpec, IHeatmapSeriesSpec, ILineSeriesSpec, ILinearProgressSeriesSpec, ILinkSeriesSpec, IMapSeriesSpec, IPie3dSeriesSpec, IPieSeriesSpec, IPolarSeriesSpec, IProgressLikeSeriesSpec, IRadarSeriesSpec, IRangeAreaSeriesSpec, IRangeColumn3dSeriesSpec, IRangeColumnSeriesSpec, IRoseSeriesSpec, ISankeySeriesSpec, IScatterSeriesSpec, ISunburstSeriesSpec, ITreemapSeriesSpec, IWaterfallSeriesSpec, IWordCloud3dSeriesSpec, IWordCloudSeriesSpec, ICorrelationSeriesSpec };
|
|
69
|
+
export { WaterfallSeries, Bar3dSeries, BarSeries, BoxPlotSeries, LineSeries, RadarSeries, RangeAreaSeries, RangeColumn3dSeries, RangeColumnSeries, MapSeries, Pie3dSeries, PieSeries, SankeySeries, ScatterSeries, SunburstSeries, RoseLikeSeries, RoseSeries, AreaSeries, DotSeries, LinearProgressSeries, LinkSeries, CirclePackingSeries, CircularProgressSeries, WordCloud3dSeries, WordCloudSeries, Funnel3dSeries, FunnelSeries, TreemapSeries, GaugePointerSeries, GaugeSeries, HeatmapSeries, BaseSeries, CartesianSeries, PolarSeries, ProgressLikeSeries, CorrelationSeries, LiquidSeries };
|
|
70
|
+
export { registerAreaSeries, registerBar3dSeries, registerBarSeries, registerBoxplotSeries, registerCirclePackingSeries, registerCircularProgressSeries, registerDotSeries, registerFunnel3dSeries, registerFunnelSeries, registerGaugePointerSeries, registerGaugeSeries, registerHeatmapSeries, registerLineSeries, registerLinearProgressSeries, registerLinkSeries, registerMapSeries, registerPie3dSeries, registerPieSeries, registerRadarSeries, registerRangeAreaSeries, registerRangeColumn3dSeries, registerRangeColumnSeries, registerRoseSeries, registerSankeySeries, registerScatterSeries, registerSunBurstSeries, registerTreemapSeries, registerWaterfallSeries, registerWordCloud3dSeries, registerWordCloudSeries, registerLiquidSeries };
|
|
71
|
+
export type { ISeries, ICartesianSeries, IPolarSeries, IGeoSeries, IRoseLikeSeriesSpec, IAreaSeriesSpec, IBar3dSeriesSpec, IBarSeriesSpec, IBoxPlotSeriesSpec, ICartesianSeriesSpec, ICirclePackingSeriesSpec, ICircularProgressSeriesSpec, IDotSeriesSpec, IFunnel3dSeriesSpec, IFunnelSeriesSpec, IGaugePointerSeriesSpec, IGaugeSeriesSpec, IHeatmapSeriesSpec, ILineSeriesSpec, ILinearProgressSeriesSpec, ILinkSeriesSpec, IMapSeriesSpec, IPie3dSeriesSpec, IPieSeriesSpec, IPolarSeriesSpec, IProgressLikeSeriesSpec, IRadarSeriesSpec, IRangeAreaSeriesSpec, IRangeColumn3dSeriesSpec, IRangeColumnSeriesSpec, IRoseSeriesSpec, ISankeySeriesSpec, IScatterSeriesSpec, ISunburstSeriesSpec, ITreemapSeriesSpec, IWaterfallSeriesSpec, IWordCloud3dSeriesSpec, IWordCloudSeriesSpec, ICorrelationSeriesSpec, ILiquidSeriesSpec };
|
|
70
72
|
export * from './interface';
|
package/esm/series/index.js
CHANGED
|
@@ -68,9 +68,11 @@ import { ProgressLikeSeries } from "./polar/progress-like";
|
|
|
68
68
|
|
|
69
69
|
import { RoseLikeSeries } from "./polar/rose-like";
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
import { LiquidSeries, registerLiquidSeries } from "./liquid/liquid";
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { WaterfallSeries, Bar3dSeries, BarSeries, BoxPlotSeries, LineSeries, RadarSeries, RangeAreaSeries, RangeColumn3dSeries, RangeColumnSeries, MapSeries, Pie3dSeries, PieSeries, SankeySeries, ScatterSeries, SunburstSeries, RoseLikeSeries, RoseSeries, AreaSeries, DotSeries, LinearProgressSeries, LinkSeries, CirclePackingSeries, CircularProgressSeries, WordCloud3dSeries, WordCloudSeries, Funnel3dSeries, FunnelSeries, TreemapSeries, GaugePointerSeries, GaugeSeries, HeatmapSeries, BaseSeries, CartesianSeries, PolarSeries, ProgressLikeSeries, CorrelationSeries, LiquidSeries };
|
|
74
|
+
|
|
75
|
+
export { registerAreaSeries, registerBar3dSeries, registerBarSeries, registerBoxplotSeries, registerCirclePackingSeries, registerCircularProgressSeries, registerDotSeries, registerFunnel3dSeries, registerFunnelSeries, registerGaugePointerSeries, registerGaugeSeries, registerHeatmapSeries, registerLineSeries, registerLinearProgressSeries, registerLinkSeries, registerMapSeries, registerPie3dSeries, registerPieSeries, registerRadarSeries, registerRangeAreaSeries, registerRangeColumn3dSeries, registerRangeColumnSeries, registerRoseSeries, registerSankeySeries, registerScatterSeries, registerSunBurstSeries, registerTreemapSeries, registerWaterfallSeries, registerWordCloud3dSeries, registerWordCloudSeries, registerLiquidSeries };
|
|
74
76
|
|
|
75
77
|
export * from "./interface";
|
|
76
78
|
//# sourceMappingURL=index.js.map
|
package/esm/series/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/series/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAEjF,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE3E,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAE7D,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEhE,OAAO,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAC3F,OAAO,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAErG,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAEnF,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEzD,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAGnE,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAEzE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAE7D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEjE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAE7D,OAAO,EAAE,SAAS,EAAE,iBAAiB,EA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O,EACL,eAAe,EACf,WAAW,EACX,SAAS,EACT,aAAa,EACb,UAAU,EACV,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,SAAS,EACT,YAAY,EACZ,aAAa,EACb,cAAc,EACd,cAAc,EACd,UAAU,EACV,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,UAAU,EACV,mBAAmB,EACnB,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,aAAa,EACb,kBAAkB,EAClB,WAAW,EACX,aAAa,EACb,UAAU,EACV,eAAe,EACf,WAAW,EACX,kBAAkB,EAClB,iBAAiB,EAClB,CAAC;AAEF,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,EACrB,2BAA2B,EAC3B,8BAA8B,EAC9B,iBAAiB,EACjB,sBAAsB,EACtB,oBAAoB,EACpB,0BAA0B,EAC1B,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,4BAA4B,EAC5B,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,uBAAuB,EACvB,2BAA2B,EAC3B,yBAAyB,EACzB,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,EACxB,CAAC;AA4CF,cAAc,aAAa,CAAC","file":"index.js","sourcesContent":["/* eslint-disable no-duplicate-imports */\n/**\n * @description export all mark modules\n */\nimport { WaterfallSeries, registerWaterfallSeries } from './waterfall/waterfall';\nimport type { IWaterfallSeriesSpec } from './waterfall/interface';\nimport { BoxPlotSeries, registerBoxplotSeries } from './box-plot/box-plot';\nimport type { IBoxPlotSeriesSpec } from './box-plot/interface';\nimport { LineSeries, registerLineSeries } from './line/line';\nimport type { ILineSeriesSpec } from './line/interface';\nimport { BarSeries, registerBarSeries } from './bar/bar';\nimport { Bar3dSeries, registerBar3dSeries } from './bar/bar-3d';\nimport type { IBar3dSeriesSpec, IBarSeriesSpec } from './bar/interface';\nimport { RangeColumnSeries, registerRangeColumnSeries } from './range-column/range-column';\nimport { RangeColumn3dSeries, registerRangeColumn3dSeries } from './range-column/3d/range-column-3d';\nimport type { IRangeColumn3dSeriesSpec, IRangeColumnSeriesSpec } from './range-column/interface';\nimport { RangeAreaSeries, registerRangeAreaSeries } from './range-area/range-area';\nimport type { IRangeAreaSeriesSpec } from './range-area/interface';\nimport { MapSeries, registerMapSeries } from './map/map';\nimport type { IMapSeriesSpec } from './map/interface';\nimport { PieSeries, registerPieSeries } from './pie/pie';\nimport { Pie3dSeries, registerPie3dSeries } from './pie/3d/pie-3d';\nimport type { IPie3dSeriesSpec } from './pie/interface';\nimport type { IPieSeriesSpec } from './pie/interface';\nimport { ScatterSeries, registerScatterSeries } from './scatter/scatter';\nimport type { IScatterSeriesSpec } from './scatter/interface';\nimport { RoseSeries, registerRoseSeries } from './rose/rose';\nimport type { IRoseSeriesSpec } from './rose/interface';\nimport { RadarSeries, registerRadarSeries } from './radar/radar';\nimport type { IRadarSeriesSpec } from './radar/interface';\nimport { AreaSeries, registerAreaSeries } from './area/area';\nimport type { IAreaSeriesSpec } from './area/interface';\nimport { DotSeries, registerDotSeries } from './dot/dot';\nimport type { IDotSeriesSpec } from './dot/interface';\nimport { LinkSeries, registerLinkSeries } from './link/link';\nimport type { ILinkSeriesSpec } from './link/interface';\nimport { CircularProgressSeries, registerCircularProgressSeries } from './progress/circular/circular';\nimport type { ICircularProgressSeriesSpec } from './progress/circular/interface';\nimport { LinearProgressSeries, registerLinearProgressSeries } from './progress/linear/linear';\nimport type { ILinearProgressSeriesSpec } from './progress/linear/interface';\nimport { WordCloudSeries, registerWordCloudSeries } from './word-cloud/word-cloud';\nimport { WordCloud3dSeries, registerWordCloud3dSeries } from './word-cloud/word-cloud-3d';\nimport type { IWordCloud3dSeriesSpec, IWordCloudSeriesSpec } from './word-cloud/interface';\nimport { FunnelSeries, registerFunnelSeries } from './funnel/funnel';\nimport { Funnel3dSeries, registerFunnel3dSeries } from './funnel/3d/funnel-3d';\nimport type { IFunnel3dSeriesSpec, IFunnelSeriesSpec } from './funnel/interface';\nimport { SunburstSeries, registerSunBurstSeries } from './sunburst/sunburst';\nimport type { ISunburstSeriesSpec } from './sunburst/interface';\nimport { CirclePackingSeries, registerCirclePackingSeries } from './circle-packing/circle-packing';\nimport type { ICirclePackingSeriesSpec } from './circle-packing/interface';\nimport { SankeySeries, registerSankeySeries } from './sankey/sankey';\nimport type { ISankeySeriesSpec } from './sankey/interface';\nimport { TreemapSeries, registerTreemapSeries } from './treemap/treemap';\nimport type { ITreemapSeriesSpec } from './treemap/interface';\nimport type { IGaugePointerSeriesSpec, IGaugeSeriesSpec } from './gauge';\nimport { GaugePointerSeries, GaugeSeries, registerGaugePointerSeries, registerGaugeSeries } from './gauge';\nimport { HeatmapSeries, registerHeatmapSeries } from './heatmap/heatmap';\nimport type { IHeatmapSeriesSpec } from './heatmap/interface';\nimport { CorrelationSeries } from './correlation/correlation';\nimport type { ICorrelationSeriesSpec } from './correlation/interface';\nimport { BaseSeries } from './base/base-series';\nimport type { ICartesianSeriesSpec } from './cartesian';\nimport { CartesianSeries } from './cartesian';\nimport { PolarSeries } from './polar/polar';\nimport type { IPolarSeriesSpec } from './polar/interface';\nimport type { IProgressLikeSeriesSpec } from './polar/progress-like';\nimport { ProgressLikeSeries } from './polar/progress-like';\nimport type { IRoseLikeSeriesSpec } from './polar/rose-like';\nimport { RoseLikeSeries } from './polar/rose-like';\n\nimport type { ISeries, ICartesianSeries, IPolarSeries, IGeoSeries } from './interface';\n\nexport {\n WaterfallSeries,\n Bar3dSeries,\n BarSeries,\n BoxPlotSeries,\n LineSeries,\n RadarSeries,\n RangeAreaSeries,\n RangeColumn3dSeries,\n RangeColumnSeries,\n MapSeries,\n Pie3dSeries,\n PieSeries,\n SankeySeries,\n ScatterSeries,\n SunburstSeries,\n RoseLikeSeries,\n RoseSeries,\n AreaSeries,\n DotSeries,\n LinearProgressSeries,\n LinkSeries,\n CirclePackingSeries,\n CircularProgressSeries,\n WordCloud3dSeries,\n WordCloudSeries,\n Funnel3dSeries,\n FunnelSeries,\n TreemapSeries,\n GaugePointerSeries,\n GaugeSeries,\n HeatmapSeries,\n BaseSeries,\n CartesianSeries,\n PolarSeries,\n ProgressLikeSeries,\n CorrelationSeries\n};\n\nexport {\n registerAreaSeries,\n registerBar3dSeries,\n registerBarSeries,\n registerBoxplotSeries,\n registerCirclePackingSeries,\n registerCircularProgressSeries,\n registerDotSeries,\n registerFunnel3dSeries,\n registerFunnelSeries,\n registerGaugePointerSeries,\n registerGaugeSeries,\n registerHeatmapSeries,\n registerLineSeries,\n registerLinearProgressSeries,\n registerLinkSeries,\n registerMapSeries,\n registerPie3dSeries,\n registerPieSeries,\n registerRadarSeries,\n registerRangeAreaSeries,\n registerRangeColumn3dSeries,\n registerRangeColumnSeries,\n registerRoseSeries,\n registerSankeySeries,\n registerScatterSeries,\n registerSunBurstSeries,\n registerTreemapSeries,\n registerWaterfallSeries,\n registerWordCloud3dSeries,\n registerWordCloudSeries\n};\n\nexport type {\n ISeries,\n ICartesianSeries,\n IPolarSeries,\n IGeoSeries,\n IRoseLikeSeriesSpec,\n IAreaSeriesSpec,\n IBar3dSeriesSpec,\n IBarSeriesSpec,\n IBoxPlotSeriesSpec,\n ICartesianSeriesSpec,\n ICirclePackingSeriesSpec,\n ICircularProgressSeriesSpec,\n IDotSeriesSpec,\n IFunnel3dSeriesSpec,\n IFunnelSeriesSpec,\n IGaugePointerSeriesSpec,\n IGaugeSeriesSpec,\n IHeatmapSeriesSpec,\n ILineSeriesSpec,\n ILinearProgressSeriesSpec,\n ILinkSeriesSpec,\n IMapSeriesSpec,\n IPie3dSeriesSpec,\n IPieSeriesSpec,\n IPolarSeriesSpec,\n IProgressLikeSeriesSpec,\n IRadarSeriesSpec,\n IRangeAreaSeriesSpec,\n IRangeColumn3dSeriesSpec,\n IRangeColumnSeriesSpec,\n IRoseSeriesSpec,\n ISankeySeriesSpec,\n IScatterSeriesSpec,\n ISunburstSeriesSpec,\n ITreemapSeriesSpec,\n IWaterfallSeriesSpec,\n IWordCloud3dSeriesSpec,\n IWordCloudSeriesSpec,\n ICorrelationSeriesSpec\n};\n\nexport * from './interface';\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/series/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAEjF,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE3E,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAE7D,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEhE,OAAO,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAC3F,OAAO,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAErG,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAEnF,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEzD,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAGnE,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAEzE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAE7D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEjE,OAAO,EAAE,UAAU,EAAE,kBAA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B,CAAC;AAE3D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAIrE,OAAO,EACL,eAAe,EACf,WAAW,EACX,SAAS,EACT,aAAa,EACb,UAAU,EACV,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,SAAS,EACT,YAAY,EACZ,aAAa,EACb,cAAc,EACd,cAAc,EACd,UAAU,EACV,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,UAAU,EACV,mBAAmB,EACnB,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,aAAa,EACb,kBAAkB,EAClB,WAAW,EACX,aAAa,EACb,UAAU,EACV,eAAe,EACf,WAAW,EACX,kBAAkB,EAClB,iBAAiB,EACjB,YAAY,EACb,CAAC;AAEF,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,EACrB,2BAA2B,EAC3B,8BAA8B,EAC9B,iBAAiB,EACjB,sBAAsB,EACtB,oBAAoB,EACpB,0BAA0B,EAC1B,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,4BAA4B,EAC5B,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,uBAAuB,EACvB,2BAA2B,EAC3B,yBAAyB,EACzB,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,EACvB,oBAAoB,EACrB,CAAC;AA6CF,cAAc,aAAa,CAAC","file":"index.js","sourcesContent":["/* eslint-disable no-duplicate-imports */\n/**\n * @description export all mark modules\n */\nimport { WaterfallSeries, registerWaterfallSeries } from './waterfall/waterfall';\nimport type { IWaterfallSeriesSpec } from './waterfall/interface';\nimport { BoxPlotSeries, registerBoxplotSeries } from './box-plot/box-plot';\nimport type { IBoxPlotSeriesSpec } from './box-plot/interface';\nimport { LineSeries, registerLineSeries } from './line/line';\nimport type { ILineSeriesSpec } from './line/interface';\nimport { BarSeries, registerBarSeries } from './bar/bar';\nimport { Bar3dSeries, registerBar3dSeries } from './bar/bar-3d';\nimport type { IBar3dSeriesSpec, IBarSeriesSpec } from './bar/interface';\nimport { RangeColumnSeries, registerRangeColumnSeries } from './range-column/range-column';\nimport { RangeColumn3dSeries, registerRangeColumn3dSeries } from './range-column/3d/range-column-3d';\nimport type { IRangeColumn3dSeriesSpec, IRangeColumnSeriesSpec } from './range-column/interface';\nimport { RangeAreaSeries, registerRangeAreaSeries } from './range-area/range-area';\nimport type { IRangeAreaSeriesSpec } from './range-area/interface';\nimport { MapSeries, registerMapSeries } from './map/map';\nimport type { IMapSeriesSpec } from './map/interface';\nimport { PieSeries, registerPieSeries } from './pie/pie';\nimport { Pie3dSeries, registerPie3dSeries } from './pie/3d/pie-3d';\nimport type { IPie3dSeriesSpec } from './pie/interface';\nimport type { IPieSeriesSpec } from './pie/interface';\nimport { ScatterSeries, registerScatterSeries } from './scatter/scatter';\nimport type { IScatterSeriesSpec } from './scatter/interface';\nimport { RoseSeries, registerRoseSeries } from './rose/rose';\nimport type { IRoseSeriesSpec } from './rose/interface';\nimport { RadarSeries, registerRadarSeries } from './radar/radar';\nimport type { IRadarSeriesSpec } from './radar/interface';\nimport { AreaSeries, registerAreaSeries } from './area/area';\nimport type { IAreaSeriesSpec } from './area/interface';\nimport { DotSeries, registerDotSeries } from './dot/dot';\nimport type { IDotSeriesSpec } from './dot/interface';\nimport { LinkSeries, registerLinkSeries } from './link/link';\nimport type { ILinkSeriesSpec } from './link/interface';\nimport { CircularProgressSeries, registerCircularProgressSeries } from './progress/circular/circular';\nimport type { ICircularProgressSeriesSpec } from './progress/circular/interface';\nimport { LinearProgressSeries, registerLinearProgressSeries } from './progress/linear/linear';\nimport type { ILinearProgressSeriesSpec } from './progress/linear/interface';\nimport { WordCloudSeries, registerWordCloudSeries } from './word-cloud/word-cloud';\nimport { WordCloud3dSeries, registerWordCloud3dSeries } from './word-cloud/word-cloud-3d';\nimport type { IWordCloud3dSeriesSpec, IWordCloudSeriesSpec } from './word-cloud/interface';\nimport { FunnelSeries, registerFunnelSeries } from './funnel/funnel';\nimport { Funnel3dSeries, registerFunnel3dSeries } from './funnel/3d/funnel-3d';\nimport type { IFunnel3dSeriesSpec, IFunnelSeriesSpec } from './funnel/interface';\nimport { SunburstSeries, registerSunBurstSeries } from './sunburst/sunburst';\nimport type { ISunburstSeriesSpec } from './sunburst/interface';\nimport { CirclePackingSeries, registerCirclePackingSeries } from './circle-packing/circle-packing';\nimport type { ICirclePackingSeriesSpec } from './circle-packing/interface';\nimport { SankeySeries, registerSankeySeries } from './sankey/sankey';\nimport type { ISankeySeriesSpec } from './sankey/interface';\nimport { TreemapSeries, registerTreemapSeries } from './treemap/treemap';\nimport type { ITreemapSeriesSpec } from './treemap/interface';\nimport type { IGaugePointerSeriesSpec, IGaugeSeriesSpec } from './gauge';\nimport { GaugePointerSeries, GaugeSeries, registerGaugePointerSeries, registerGaugeSeries } from './gauge';\nimport { HeatmapSeries, registerHeatmapSeries } from './heatmap/heatmap';\nimport type { IHeatmapSeriesSpec } from './heatmap/interface';\nimport { CorrelationSeries } from './correlation/correlation';\nimport type { ICorrelationSeriesSpec } from './correlation/interface';\nimport { BaseSeries } from './base/base-series';\nimport type { ICartesianSeriesSpec } from './cartesian';\nimport { CartesianSeries } from './cartesian';\nimport { PolarSeries } from './polar/polar';\nimport type { IPolarSeriesSpec } from './polar/interface';\nimport type { IProgressLikeSeriesSpec } from './polar/progress-like';\nimport { ProgressLikeSeries } from './polar/progress-like';\nimport type { IRoseLikeSeriesSpec } from './polar/rose-like';\nimport { RoseLikeSeries } from './polar/rose-like';\nimport type { ILiquidSeriesSpec } from './liquid/interface';\nimport { LiquidSeries, registerLiquidSeries } from './liquid/liquid';\n\nimport type { ISeries, ICartesianSeries, IPolarSeries, IGeoSeries } from './interface';\n\nexport {\n WaterfallSeries,\n Bar3dSeries,\n BarSeries,\n BoxPlotSeries,\n LineSeries,\n RadarSeries,\n RangeAreaSeries,\n RangeColumn3dSeries,\n RangeColumnSeries,\n MapSeries,\n Pie3dSeries,\n PieSeries,\n SankeySeries,\n ScatterSeries,\n SunburstSeries,\n RoseLikeSeries,\n RoseSeries,\n AreaSeries,\n DotSeries,\n LinearProgressSeries,\n LinkSeries,\n CirclePackingSeries,\n CircularProgressSeries,\n WordCloud3dSeries,\n WordCloudSeries,\n Funnel3dSeries,\n FunnelSeries,\n TreemapSeries,\n GaugePointerSeries,\n GaugeSeries,\n HeatmapSeries,\n BaseSeries,\n CartesianSeries,\n PolarSeries,\n ProgressLikeSeries,\n CorrelationSeries,\n LiquidSeries\n};\n\nexport {\n registerAreaSeries,\n registerBar3dSeries,\n registerBarSeries,\n registerBoxplotSeries,\n registerCirclePackingSeries,\n registerCircularProgressSeries,\n registerDotSeries,\n registerFunnel3dSeries,\n registerFunnelSeries,\n registerGaugePointerSeries,\n registerGaugeSeries,\n registerHeatmapSeries,\n registerLineSeries,\n registerLinearProgressSeries,\n registerLinkSeries,\n registerMapSeries,\n registerPie3dSeries,\n registerPieSeries,\n registerRadarSeries,\n registerRangeAreaSeries,\n registerRangeColumn3dSeries,\n registerRangeColumnSeries,\n registerRoseSeries,\n registerSankeySeries,\n registerScatterSeries,\n registerSunBurstSeries,\n registerTreemapSeries,\n registerWaterfallSeries,\n registerWordCloud3dSeries,\n registerWordCloudSeries,\n registerLiquidSeries\n};\n\nexport type {\n ISeries,\n ICartesianSeries,\n IPolarSeries,\n IGeoSeries,\n IRoseLikeSeriesSpec,\n IAreaSeriesSpec,\n IBar3dSeriesSpec,\n IBarSeriesSpec,\n IBoxPlotSeriesSpec,\n ICartesianSeriesSpec,\n ICirclePackingSeriesSpec,\n ICircularProgressSeriesSpec,\n IDotSeriesSpec,\n IFunnel3dSeriesSpec,\n IFunnelSeriesSpec,\n IGaugePointerSeriesSpec,\n IGaugeSeriesSpec,\n IHeatmapSeriesSpec,\n ILineSeriesSpec,\n ILinearProgressSeriesSpec,\n ILinkSeriesSpec,\n IMapSeriesSpec,\n IPie3dSeriesSpec,\n IPieSeriesSpec,\n IPolarSeriesSpec,\n IProgressLikeSeriesSpec,\n IRadarSeriesSpec,\n IRangeAreaSeriesSpec,\n IRangeColumn3dSeriesSpec,\n IRangeColumnSeriesSpec,\n IRoseSeriesSpec,\n ISankeySeriesSpec,\n IScatterSeriesSpec,\n ISunburstSeriesSpec,\n ITreemapSeriesSpec,\n IWaterfallSeriesSpec,\n IWordCloud3dSeriesSpec,\n IWordCloudSeriesSpec,\n ICorrelationSeriesSpec,\n ILiquidSeriesSpec\n};\n\nexport * from './interface';\n"]}
|
|
@@ -84,10 +84,7 @@ const getLabelSpec = () => ({
|
|
|
84
84
|
type: "palette",
|
|
85
85
|
key: "markLineStrokeColor"
|
|
86
86
|
},
|
|
87
|
-
fill:
|
|
88
|
-
type: "palette",
|
|
89
|
-
key: "axisGridColor"
|
|
90
|
-
},
|
|
87
|
+
fill: "transparent",
|
|
91
88
|
opacity: .7,
|
|
92
89
|
lineDash: [ 2, 3 ]
|
|
93
90
|
}
|
|
@@ -184,10 +181,7 @@ export const crosshair = {
|
|
|
184
181
|
type: "palette",
|
|
185
182
|
key: "markLineStrokeColor"
|
|
186
183
|
},
|
|
187
|
-
fill:
|
|
188
|
-
type: "palette",
|
|
189
|
-
key: "axisGridColor"
|
|
190
|
-
},
|
|
184
|
+
fill: "transparent",
|
|
191
185
|
opacity: .7,
|
|
192
186
|
lineDash: [ 2, 3 ]
|
|
193
187
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/theme/builtin/common/component/crosshair.ts"],"names":[],"mappings":"AASA,MAAM,YAAY,GAAG,GAAwB,EAAE,CAAC,CAAC;IAC/C,OAAO,EAAE,KAAK;IACd,KAAK,EA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ACvD,IAAI,EAAE,aAAa;YACnB,OAAO,EAAE,GAAG;YACZ,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;SACjB;KACoB;IACvB,KAAK,EAAE,YAAY,EAAE;CACtB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,SAAS,GAAoB;IACxC,OAAO,EAAE,OAAO;IAChB,SAAS,EAAE,YAAY,EAAE;IACzB,WAAW,EAAE,cAAc,EAAE;CAC9B,CAAC","file":"crosshair.js","sourcesContent":["import type {\n ICrosshairLineSpec,\n ICrosshairRectSpec,\n ICrosshairValueFieldSpec,\n ICrosshairCategoryFieldSpec,\n ICrosshairLabelSpec,\n ICrosshairTheme\n} from '../../../../component/crosshair/interface';\n\nconst getLabelSpec = (): ICrosshairLabelSpec => ({\n visible: false,\n style: {\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'axisMarkerFontColor' },\n fontSize: { type: 'token', key: 'l5FontSize' }\n //lineHeight: { type: 'token', key: 'l5LineHeight' },\n },\n labelBackground: {\n padding: {\n bottom: 0,\n top: 0,\n left: 2,\n right: 2\n },\n style: {\n fill: { type: 'palette', key: 'axisMarkerBackgroundColor' },\n cornerRadius: 1\n }\n }\n});\n\nconst getBandField = (): ICrosshairCategoryFieldSpec => ({\n visible: false,\n line: {\n type: 'rect',\n visible: true,\n style: {\n fill: { type: 'palette', key: 'axisGridColor' },\n opacity: 0.7,\n lineWidth: 0, // 默认不显示边线\n // 此处设置 stroke 和 lineDash 是为了用户想要 line 形式的 crosshair 时,可以直接复用颜色和配置\n stroke: { type: 'palette', key: 'markLineStrokeColor' },\n lineDash: [2, 3]\n }\n } as ICrosshairRectSpec,\n label: getLabelSpec()\n});\n\nconst getLinearField = (): ICrosshairValueFieldSpec => ({\n visible: false,\n line: {\n type: 'line',\n visible: true,\n style: {\n stroke: { type: 'palette', key: 'markLineStrokeColor' },\n fill: 'transparent',\n opacity: 0.7,\n lineDash: [2, 3]\n }\n } as ICrosshairLineSpec,\n label: getLabelSpec()\n});\n\nexport const crosshair: ICrosshairTheme = {\n trigger: 'hover',\n bandField: getBandField(),\n linearField: getLinearField()\n};\n"]}
|
|
@@ -25,6 +25,7 @@ import type { IWaterfallChartSpec } from '../../chart/waterfall';
|
|
|
25
25
|
import type { ICorrelationChartSpec } from '../../chart/correlation';
|
|
26
26
|
import type { IWordCloudChartSpec, IWordCloud3dChartSpec } from '../../chart/word-cloud';
|
|
27
27
|
import type { IChartSpec } from './common';
|
|
28
|
+
import type { ILiquidChartSpec } from '../../chart/liquid/interface';
|
|
28
29
|
export interface ChartSpecMap {
|
|
29
30
|
readonly common: ICommonChartSpec;
|
|
30
31
|
readonly area: IAreaChartSpec;
|
|
@@ -58,5 +59,6 @@ export interface ChartSpecMap {
|
|
|
58
59
|
readonly circlePacking: ICirclePackingChartSpec;
|
|
59
60
|
readonly heatmap: IHeatmapChartSpec;
|
|
60
61
|
readonly correlation: ICorrelationChartSpec;
|
|
62
|
+
readonly liquid: ILiquidChartSpec;
|
|
61
63
|
}
|
|
62
64
|
export type ISpec = ChartSpecMap[keyof ChartSpecMap] | IChartSpec;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/typings/spec/chart.ts"],"names":[],"mappings":"","file":"chart.js","sourcesContent":["import type { IAreaChartSpec } from '../../chart/area';\nimport type { IBarChartSpec, IBar3dChartSpec } from '../../chart/bar';\nimport type { IBoxPlotChartSpec } from '../../chart/box-plot';\nimport type { ICirclePackingChartSpec } from '../../chart/circle-packing';\nimport type { ICommonChartSpec } from '../../chart/common';\nimport type { IFunnelChartSpec, IFunnel3dChartSpec } from '../../chart/funnel';\nimport type { IGaugeChartSpec } from '../../chart/gauge';\nimport type { IHeatmapChartSpec } from '../../chart/heatmap';\nimport type { IHistogramChartSpec, IHistogram3dChartSpec } from '../../chart/histogram';\nimport type { ILineChartSpec } from '../../chart/line';\nimport type { IMapChartSpec } from '../../chart/map';\nimport type { IPieChartSpec, IPie3dChartSpec } from '../../chart/pie';\nimport type { ICircularProgressChartSpec } from '../../chart/progress/circular';\nimport type { ILinearProgressChartSpec } from '../../chart/progress/linear';\nimport type { IRadarChartSpec } from '../../chart/radar';\nimport type { IRangeAreaChartSpec } from '../../chart/range-area';\nimport type { IRangeColumnChartSpec, IRangeColumn3dChartSpec } from '../../chart/range-column';\nimport type { IRoseChartSpec } from '../../chart/rose';\nimport type { ISankeyChartSpec } from '../../chart/sankey';\nimport type { IScatterChartSpec } from '../../chart/scatter';\nimport type { ISequenceChartSpec } from '../../chart/sequence';\nimport type { ISunburstChartSpec } from '../../chart/sunburst';\nimport type { ITreemapChartSpec } from '../../chart/treemap';\nimport type { IWaterfallChartSpec } from '../../chart/waterfall';\nimport type { ICorrelationChartSpec } from '../../chart/correlation';\nimport type { IWordCloudChartSpec, IWordCloud3dChartSpec } from '../../chart/word-cloud';\nimport type { IChartSpec } from './common';\n\nexport interface ChartSpecMap {\n readonly common: ICommonChartSpec;\n readonly area: IAreaChartSpec;\n readonly line: ILineChartSpec;\n readonly bar: IBarChartSpec;\n readonly bar3d: IBar3dChartSpec;\n readonly histogram: IHistogramChartSpec;\n readonly histogram3d: IHistogram3dChartSpec;\n readonly rangeColumn: IRangeColumnChartSpec;\n readonly rangeColumn3d: IRangeColumn3dChartSpec;\n readonly rangeArea: IRangeAreaChartSpec;\n readonly map: IMapChartSpec;\n readonly pie: IPieChartSpec;\n readonly pie3d: IPie3dChartSpec;\n readonly radar: IRadarChartSpec;\n readonly rose: IRoseChartSpec;\n readonly scatter: IScatterChartSpec;\n readonly sequence: ISequenceChartSpec;\n readonly circleProgress: ICircularProgressChartSpec;\n readonly linearProgress: ILinearProgressChartSpec;\n readonly wordCloud: IWordCloudChartSpec;\n readonly wordCloud3d: IWordCloud3dChartSpec;\n readonly funnel: IFunnelChartSpec;\n readonly funnel3d: IFunnel3dChartSpec;\n readonly waterfall: IWaterfallChartSpec;\n readonly boxplot: IBoxPlotChartSpec;\n readonly gauge: IGaugeChartSpec;\n readonly sankey: ISankeyChartSpec;\n readonly treemap: ITreemapChartSpec;\n readonly sunburst: ISunburstChartSpec;\n readonly circlePacking: ICirclePackingChartSpec;\n readonly heatmap: IHeatmapChartSpec;\n readonly correlation: ICorrelationChartSpec;\n}\n\nexport type ISpec = ChartSpecMap[keyof ChartSpecMap] | IChartSpec;\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/typings/spec/chart.ts"],"names":[],"mappings":"","file":"chart.js","sourcesContent":["import type { IAreaChartSpec } from '../../chart/area';\nimport type { IBarChartSpec, IBar3dChartSpec } from '../../chart/bar';\nimport type { IBoxPlotChartSpec } from '../../chart/box-plot';\nimport type { ICirclePackingChartSpec } from '../../chart/circle-packing';\nimport type { ICommonChartSpec } from '../../chart/common';\nimport type { IFunnelChartSpec, IFunnel3dChartSpec } from '../../chart/funnel';\nimport type { IGaugeChartSpec } from '../../chart/gauge';\nimport type { IHeatmapChartSpec } from '../../chart/heatmap';\nimport type { IHistogramChartSpec, IHistogram3dChartSpec } from '../../chart/histogram';\nimport type { ILineChartSpec } from '../../chart/line';\nimport type { IMapChartSpec } from '../../chart/map';\nimport type { IPieChartSpec, IPie3dChartSpec } from '../../chart/pie';\nimport type { ICircularProgressChartSpec } from '../../chart/progress/circular';\nimport type { ILinearProgressChartSpec } from '../../chart/progress/linear';\nimport type { IRadarChartSpec } from '../../chart/radar';\nimport type { IRangeAreaChartSpec } from '../../chart/range-area';\nimport type { IRangeColumnChartSpec, IRangeColumn3dChartSpec } from '../../chart/range-column';\nimport type { IRoseChartSpec } from '../../chart/rose';\nimport type { ISankeyChartSpec } from '../../chart/sankey';\nimport type { IScatterChartSpec } from '../../chart/scatter';\nimport type { ISequenceChartSpec } from '../../chart/sequence';\nimport type { ISunburstChartSpec } from '../../chart/sunburst';\nimport type { ITreemapChartSpec } from '../../chart/treemap';\nimport type { IWaterfallChartSpec } from '../../chart/waterfall';\nimport type { ICorrelationChartSpec } from '../../chart/correlation';\nimport type { IWordCloudChartSpec, IWordCloud3dChartSpec } from '../../chart/word-cloud';\nimport type { IChartSpec } from './common';\nimport type { ILiquidChartSpec } from '../../chart/liquid/interface';\n\nexport interface ChartSpecMap {\n readonly common: ICommonChartSpec;\n readonly area: IAreaChartSpec;\n readonly line: ILineChartSpec;\n readonly bar: IBarChartSpec;\n readonly bar3d: IBar3dChartSpec;\n readonly histogram: IHistogramChartSpec;\n readonly histogram3d: IHistogram3dChartSpec;\n readonly rangeColumn: IRangeColumnChartSpec;\n readonly rangeColumn3d: IRangeColumn3dChartSpec;\n readonly rangeArea: IRangeAreaChartSpec;\n readonly map: IMapChartSpec;\n readonly pie: IPieChartSpec;\n readonly pie3d: IPie3dChartSpec;\n readonly radar: IRadarChartSpec;\n readonly rose: IRoseChartSpec;\n readonly scatter: IScatterChartSpec;\n readonly sequence: ISequenceChartSpec;\n readonly circleProgress: ICircularProgressChartSpec;\n readonly linearProgress: ILinearProgressChartSpec;\n readonly wordCloud: IWordCloudChartSpec;\n readonly wordCloud3d: IWordCloud3dChartSpec;\n readonly funnel: IFunnelChartSpec;\n readonly funnel3d: IFunnel3dChartSpec;\n readonly waterfall: IWaterfallChartSpec;\n readonly boxplot: IBoxPlotChartSpec;\n readonly gauge: IGaugeChartSpec;\n readonly sankey: ISankeyChartSpec;\n readonly treemap: ITreemapChartSpec;\n readonly sunburst: ISunburstChartSpec;\n readonly circlePacking: ICirclePackingChartSpec;\n readonly heatmap: IHeatmapChartSpec;\n readonly correlation: ICorrelationChartSpec;\n readonly liquid: ILiquidChartSpec;\n}\n\nexport type ISpec = ChartSpecMap[keyof ChartSpecMap] | IChartSpec;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/vchart",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0-alpha.0",
|
|
4
4
|
"description": "charts lib based @visactor/VGrammar",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
"size-limit": "9.0.0",
|
|
84
84
|
"@size-limit/file": "9.0.0",
|
|
85
85
|
"rimraf": "3.0.2",
|
|
86
|
-
"@internal/ts-config": "0.0.1",
|
|
87
86
|
"@internal/bundler": "0.0.1",
|
|
87
|
+
"@internal/ts-config": "0.0.1",
|
|
88
88
|
"@internal/typescript-json-schema": "0.0.1",
|
|
89
89
|
"@internal/eslint-config": "0.0.1"
|
|
90
90
|
},
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"@visactor/vgrammar-hierarchy": "0.12.4",
|
|
103
103
|
"@visactor/vgrammar-sankey": "0.12.4",
|
|
104
104
|
"@visactor/vgrammar-util": "0.12.4",
|
|
105
|
-
"@visactor/vutils-extension": "1.
|
|
105
|
+
"@visactor/vutils-extension": "1.11.0-alpha.0"
|
|
106
106
|
},
|
|
107
107
|
"publishConfig": {
|
|
108
108
|
"access": "public",
|