@visactor/react-vchart 2.0.0-alpha.2 → 2.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/charts/PictogramChart.d.ts +1 -1
- package/cjs/charts/PictogramChart.js +2 -2
- package/cjs/charts/PictogramChart.js.map +1 -1
- package/cjs/index.d.ts +2 -1
- package/cjs/index.js +3 -2
- package/cjs/index.js.map +1 -1
- package/cjs/register.d.ts +3 -0
- package/cjs/register.js +364 -0
- package/cjs/register.js.map +1 -0
- package/cjs/series/Pictogram.d.ts +1 -1
- package/cjs/series/Pictogram.js +2 -2
- package/cjs/series/Pictogram.js.map +1 -1
- package/esm/charts/PictogramChart.d.ts +1 -1
- package/esm/charts/PictogramChart.js +3 -1
- package/esm/charts/PictogramChart.js.map +1 -1
- package/esm/index.d.ts +2 -1
- package/esm/index.js +3 -1
- package/esm/index.js.map +1 -1
- package/esm/register.d.ts +3 -0
- package/esm/register.js +6 -0
- package/esm/register.js.map +1 -0
- package/esm/series/Pictogram.d.ts +1 -1
- package/esm/series/Pictogram.js +1 -1
- package/esm/series/Pictogram.js.map +1 -1
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import type { IPictogramChartSpec } from '@visactor/vchart';
|
|
2
|
+
import type { IPictogramChartSpec } from '@visactor/vchart-extension';
|
|
3
3
|
import type { BaseChartProps } from './BaseChart';
|
|
4
4
|
export interface PictogramChartProps extends Omit<BaseChartProps, 'container' | 'type' | 'data'>, Omit<Partial<IPictogramChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.PictogramChart = void 0;
|
|
6
6
|
|
|
7
|
-
const vchart_1 = require("@visactor/vchart"), simple_1 = require("./registers/simple"), BaseChart_1 = require("./BaseChart");
|
|
7
|
+
const vchart_1 = require("@visactor/vchart"), vchart_extension_1 = require("@visactor/vchart-extension"), simple_1 = require("./registers/simple"), BaseChart_1 = require("./BaseChart");
|
|
8
8
|
|
|
9
9
|
exports.PictogramChart = (0, BaseChart_1.createChart)("PictogramChart", {
|
|
10
10
|
type: "pictogram",
|
|
11
11
|
vchartConstrouctor: vchart_1.VChart
|
|
12
|
-
}, [
|
|
12
|
+
}, [ vchart_extension_1.registerPictogramChart, vchart_1.registerLabel, ...simple_1.registers ]);
|
|
13
13
|
//# sourceMappingURL=PictogramChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/PictogramChart.tsx"],"names":[],"mappings":";;;AAEA,
|
|
1
|
+
{"version":3,"sources":["../src/charts/PictogramChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAyD;AAEzD,iEAAoE;AACpE,+CAA+C;AAE/C,2CAA0C;AAM7B,QAAA,cAAc,GAAG,IAAA,uBAAW,EACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,yCAAsB,EAAE,sBAAa,EAAE,GAAG,kBAAS,CAAC,CACtD,CAAC","file":"PictogramChart.js","sourcesContent":["import type React from 'react';\nimport type { IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerLabel } from '@visactor/vchart';\nimport type { IPictogramChartSpec } from '@visactor/vchart-extension';\nimport { registerPictogramChart } from '@visactor/vchart-extension';\nimport { registers } from './registers/simple';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface PictogramChartProps\n extends Omit<BaseChartProps, 'container' | 'type' | 'data'>,\n Omit<Partial<IPictogramChartSpec>, 'type'> {}\n\nexport const PictogramChart = createChart<React.PropsWithChildren<PictogramChartProps> & { type?: 'pictogram' }>(\n 'PictogramChart',\n {\n type: 'pictogram',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerPictogramChart, registerLabel, ...registers]\n);\n"]}
|
package/cjs/index.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ export * from './series';
|
|
|
3
3
|
export * from './components';
|
|
4
4
|
export * from './VChart';
|
|
5
5
|
export * from './VChartSimple';
|
|
6
|
+
export * from './register';
|
|
6
7
|
export { VChart as VChartCore } from '@visactor/vchart';
|
|
7
|
-
export declare const version = "2.0.0-alpha.
|
|
8
|
+
export declare const version = "2.0.0-alpha.3";
|
|
8
9
|
export type { IAreaChartSpec, IBarChartSpec, IBoxPlotChartSpec, ICirclePackingChartSpec, ICommonChartSpec, IFunnelChartSpec, IGaugeChartSpec, IHeatmapChartSpec, IHistogramChartSpec, ILineChartSpec, IMapChartSpec, IPieChartSpec, ICircularProgressChartSpec, ILinearProgressChartSpec, IRadarChartSpec, IRangeColumnChartSpec, IRangeAreaChartSpec, IRoseChartSpec, IScatterChartSpec, ISankeyChartSpec, ISequenceChartSpec, ISunburstChartSpec, ITreemapChartSpec, IWaterfallChartSpec, ICorrelationChartSpec, ILiquidChartSpec, IWordCloudChartSpec, IPolarChartSpec, ICartesianChartSpec, ITheme, IInitOption, ISpec, IVChart } from '@visactor/vchart';
|
|
9
10
|
export type { IBar3dChartSpec, IFunnel3dChartSpec, IHistogram3dChartSpec, IPie3dChartSpec, IRangeColumn3dChartSpec, IWordCloud3dChartSpec } from '@visactor/vchart-extension';
|
package/cjs/index.js
CHANGED
|
@@ -19,7 +19,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
19
19
|
value: !0
|
|
20
20
|
}), exports.version = exports.VChartCore = void 0, __exportStar(require("./charts"), exports),
|
|
21
21
|
__exportStar(require("./series"), exports), __exportStar(require("./components"), exports),
|
|
22
|
-
__exportStar(require("./VChart"), exports), __exportStar(require("./VChartSimple"), exports)
|
|
22
|
+
__exportStar(require("./VChart"), exports), __exportStar(require("./VChartSimple"), exports),
|
|
23
|
+
__exportStar(require("./register"), exports);
|
|
23
24
|
|
|
24
25
|
var vchart_1 = require("@visactor/vchart");
|
|
25
26
|
|
|
@@ -28,5 +29,5 @@ Object.defineProperty(exports, "VChartCore", {
|
|
|
28
29
|
get: function() {
|
|
29
30
|
return vchart_1.VChart;
|
|
30
31
|
}
|
|
31
|
-
}), exports.version = "2.0.0-alpha.
|
|
32
|
+
}), exports.version = "2.0.0-alpha.3";
|
|
32
33
|
//# sourceMappingURL=index.js.map
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,2CAAyB;AACzB,iDAA+B;AAC/B,2CAAwD;AAA/C,oGAAA,MAAM,OAAc;AAGhB,QAAA,OAAO,GAAG,eAAe,CAAC","file":"index.js","sourcesContent":["export * from './charts';\nexport * from './series';\nexport * from './components';\nexport * from './VChart';\nexport * from './VChartSimple';\nexport { VChart as VChartCore } from '@visactor/vchart';\n\n// export the version, since @1.8.3\nexport const version = \"2.0.0-alpha.
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,2CAAyB;AACzB,iDAA+B;AAC/B,6CAA2B;AAC3B,2CAAwD;AAA/C,oGAAA,MAAM,OAAc;AAGhB,QAAA,OAAO,GAAG,eAAe,CAAC","file":"index.js","sourcesContent":["export * from './charts';\nexport * from './series';\nexport * from './components';\nexport * from './VChart';\nexport * from './VChartSimple';\nexport * from './register';\nexport { VChart as VChartCore } from '@visactor/vchart';\n\n// export the version, since @1.8.3\nexport const version = \"2.0.0-alpha.3\";\n\nexport type {\n IAreaChartSpec,\n IBarChartSpec,\n IBoxPlotChartSpec,\n ICirclePackingChartSpec,\n ICommonChartSpec,\n IFunnelChartSpec,\n IGaugeChartSpec,\n IHeatmapChartSpec,\n IHistogramChartSpec,\n ILineChartSpec,\n IMapChartSpec,\n IPieChartSpec,\n ICircularProgressChartSpec,\n ILinearProgressChartSpec,\n IRadarChartSpec,\n IRangeColumnChartSpec,\n IRangeAreaChartSpec,\n IRoseChartSpec,\n IScatterChartSpec,\n ISankeyChartSpec,\n ISequenceChartSpec,\n ISunburstChartSpec,\n ITreemapChartSpec,\n IWaterfallChartSpec,\n ICorrelationChartSpec,\n ILiquidChartSpec,\n IWordCloudChartSpec,\n IPolarChartSpec,\n ICartesianChartSpec,\n ITheme,\n IInitOption,\n ISpec,\n IVChart\n} from '@visactor/vchart';\n\nexport type {\n IBar3dChartSpec,\n IFunnel3dChartSpec,\n IHistogram3dChartSpec,\n IPie3dChartSpec,\n IRangeColumn3dChartSpec,\n IWordCloud3dChartSpec\n} from '@visactor/vchart-extension';\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { registerBrush, registerScrollBar, registerTitle, registerTooltip, registerCartesianBandAxis, registerCartesianCrossHair, registerCartesianLinearAxis, registerCartesianLogAxis, registerCartesianSymlogAxis, registerCartesianTimeAxis, registerContinuousLegend, registerCustomMark, registerDataZoom, registerDiscreteLegend, registerGeoCoordinate, registerIndicator, registerLabel, registerTotalLabel, registerMarkLine, registerMarkArea, registerMarkPoint, registerPolarMarkLine, registerPolarMarkArea, registerPolarMarkPoint, registerGeoMarkPoint, registerPlayer, registerPolarBandAxis, registerPolarCrossHair, registerPolarLinearAxis, registerPoptip } from '@visactor/vchart';
|
|
2
|
+
export { registerMapLabel, registerAxis3dPlugin, registerBar3dChart, registerFunnel3dChart, registerHistogram3dChart, registerPie3dChart, registerRangeColumn3dChart, registerWordCloud3dChart, registerPictogramChart } from '@visactor/vchart-extension';
|
|
3
|
+
export { registerLineChart, registerAreaChart, registerBarChart, registerBoxplotChart, registerCirclePackingChart, registerCircularProgressChart, registerCommonChart, registerFunnelChart, registerGaugeChart, registerHeatmapChart, registerHistogramChart, registerLinearProgressChart, registerMapChart, registerPieChart, registerRadarChart, registerRangeAreaChart, registerRangeColumnChart, registerRoseChart, registerSankeyChart, registerScatterChart, registerSequenceChart, registerSunburstChart, registerTreemapChart, registerWaterfallChart, registerWordCloudChart, registerCorrelationChart, registerLiquidChart, registerWordCloudShapeChart, registerVennChart, registerMosaicChart } from '@visactor/vchart';
|
package/cjs/register.js
ADDED
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: !0
|
|
5
|
+
}), exports.registerHistogramChart = exports.registerHeatmapChart = exports.registerGaugeChart = exports.registerFunnelChart = exports.registerCommonChart = exports.registerCircularProgressChart = exports.registerCirclePackingChart = exports.registerBoxplotChart = exports.registerBarChart = exports.registerAreaChart = exports.registerLineChart = exports.registerPictogramChart = exports.registerWordCloud3dChart = exports.registerRangeColumn3dChart = exports.registerPie3dChart = exports.registerHistogram3dChart = exports.registerFunnel3dChart = exports.registerBar3dChart = exports.registerAxis3dPlugin = exports.registerMapLabel = exports.registerPoptip = exports.registerPolarLinearAxis = exports.registerPolarCrossHair = exports.registerPolarBandAxis = exports.registerPlayer = exports.registerGeoMarkPoint = exports.registerPolarMarkPoint = exports.registerPolarMarkArea = exports.registerPolarMarkLine = exports.registerMarkPoint = exports.registerMarkArea = exports.registerMarkLine = exports.registerTotalLabel = exports.registerLabel = exports.registerIndicator = exports.registerGeoCoordinate = exports.registerDiscreteLegend = exports.registerDataZoom = exports.registerCustomMark = exports.registerContinuousLegend = exports.registerCartesianTimeAxis = exports.registerCartesianSymlogAxis = exports.registerCartesianLogAxis = exports.registerCartesianLinearAxis = exports.registerCartesianCrossHair = exports.registerCartesianBandAxis = exports.registerTooltip = exports.registerTitle = exports.registerScrollBar = exports.registerBrush = void 0,
|
|
6
|
+
exports.registerMosaicChart = exports.registerVennChart = exports.registerWordCloudShapeChart = exports.registerLiquidChart = exports.registerCorrelationChart = exports.registerWordCloudChart = exports.registerWaterfallChart = exports.registerTreemapChart = exports.registerSunburstChart = exports.registerSequenceChart = exports.registerScatterChart = exports.registerSankeyChart = exports.registerRoseChart = exports.registerRangeColumnChart = exports.registerRangeAreaChart = exports.registerRadarChart = exports.registerPieChart = exports.registerMapChart = exports.registerLinearProgressChart = void 0;
|
|
7
|
+
|
|
8
|
+
var vchart_1 = require("@visactor/vchart");
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "registerBrush", {
|
|
11
|
+
enumerable: !0,
|
|
12
|
+
get: function() {
|
|
13
|
+
return vchart_1.registerBrush;
|
|
14
|
+
}
|
|
15
|
+
}), Object.defineProperty(exports, "registerScrollBar", {
|
|
16
|
+
enumerable: !0,
|
|
17
|
+
get: function() {
|
|
18
|
+
return vchart_1.registerScrollBar;
|
|
19
|
+
}
|
|
20
|
+
}), Object.defineProperty(exports, "registerTitle", {
|
|
21
|
+
enumerable: !0,
|
|
22
|
+
get: function() {
|
|
23
|
+
return vchart_1.registerTitle;
|
|
24
|
+
}
|
|
25
|
+
}), Object.defineProperty(exports, "registerTooltip", {
|
|
26
|
+
enumerable: !0,
|
|
27
|
+
get: function() {
|
|
28
|
+
return vchart_1.registerTooltip;
|
|
29
|
+
}
|
|
30
|
+
}), Object.defineProperty(exports, "registerCartesianBandAxis", {
|
|
31
|
+
enumerable: !0,
|
|
32
|
+
get: function() {
|
|
33
|
+
return vchart_1.registerCartesianBandAxis;
|
|
34
|
+
}
|
|
35
|
+
}), Object.defineProperty(exports, "registerCartesianCrossHair", {
|
|
36
|
+
enumerable: !0,
|
|
37
|
+
get: function() {
|
|
38
|
+
return vchart_1.registerCartesianCrossHair;
|
|
39
|
+
}
|
|
40
|
+
}), Object.defineProperty(exports, "registerCartesianLinearAxis", {
|
|
41
|
+
enumerable: !0,
|
|
42
|
+
get: function() {
|
|
43
|
+
return vchart_1.registerCartesianLinearAxis;
|
|
44
|
+
}
|
|
45
|
+
}), Object.defineProperty(exports, "registerCartesianLogAxis", {
|
|
46
|
+
enumerable: !0,
|
|
47
|
+
get: function() {
|
|
48
|
+
return vchart_1.registerCartesianLogAxis;
|
|
49
|
+
}
|
|
50
|
+
}), Object.defineProperty(exports, "registerCartesianSymlogAxis", {
|
|
51
|
+
enumerable: !0,
|
|
52
|
+
get: function() {
|
|
53
|
+
return vchart_1.registerCartesianSymlogAxis;
|
|
54
|
+
}
|
|
55
|
+
}), Object.defineProperty(exports, "registerCartesianTimeAxis", {
|
|
56
|
+
enumerable: !0,
|
|
57
|
+
get: function() {
|
|
58
|
+
return vchart_1.registerCartesianTimeAxis;
|
|
59
|
+
}
|
|
60
|
+
}), Object.defineProperty(exports, "registerContinuousLegend", {
|
|
61
|
+
enumerable: !0,
|
|
62
|
+
get: function() {
|
|
63
|
+
return vchart_1.registerContinuousLegend;
|
|
64
|
+
}
|
|
65
|
+
}), Object.defineProperty(exports, "registerCustomMark", {
|
|
66
|
+
enumerable: !0,
|
|
67
|
+
get: function() {
|
|
68
|
+
return vchart_1.registerCustomMark;
|
|
69
|
+
}
|
|
70
|
+
}), Object.defineProperty(exports, "registerDataZoom", {
|
|
71
|
+
enumerable: !0,
|
|
72
|
+
get: function() {
|
|
73
|
+
return vchart_1.registerDataZoom;
|
|
74
|
+
}
|
|
75
|
+
}), Object.defineProperty(exports, "registerDiscreteLegend", {
|
|
76
|
+
enumerable: !0,
|
|
77
|
+
get: function() {
|
|
78
|
+
return vchart_1.registerDiscreteLegend;
|
|
79
|
+
}
|
|
80
|
+
}), Object.defineProperty(exports, "registerGeoCoordinate", {
|
|
81
|
+
enumerable: !0,
|
|
82
|
+
get: function() {
|
|
83
|
+
return vchart_1.registerGeoCoordinate;
|
|
84
|
+
}
|
|
85
|
+
}), Object.defineProperty(exports, "registerIndicator", {
|
|
86
|
+
enumerable: !0,
|
|
87
|
+
get: function() {
|
|
88
|
+
return vchart_1.registerIndicator;
|
|
89
|
+
}
|
|
90
|
+
}), Object.defineProperty(exports, "registerLabel", {
|
|
91
|
+
enumerable: !0,
|
|
92
|
+
get: function() {
|
|
93
|
+
return vchart_1.registerLabel;
|
|
94
|
+
}
|
|
95
|
+
}), Object.defineProperty(exports, "registerTotalLabel", {
|
|
96
|
+
enumerable: !0,
|
|
97
|
+
get: function() {
|
|
98
|
+
return vchart_1.registerTotalLabel;
|
|
99
|
+
}
|
|
100
|
+
}), Object.defineProperty(exports, "registerMarkLine", {
|
|
101
|
+
enumerable: !0,
|
|
102
|
+
get: function() {
|
|
103
|
+
return vchart_1.registerMarkLine;
|
|
104
|
+
}
|
|
105
|
+
}), Object.defineProperty(exports, "registerMarkArea", {
|
|
106
|
+
enumerable: !0,
|
|
107
|
+
get: function() {
|
|
108
|
+
return vchart_1.registerMarkArea;
|
|
109
|
+
}
|
|
110
|
+
}), Object.defineProperty(exports, "registerMarkPoint", {
|
|
111
|
+
enumerable: !0,
|
|
112
|
+
get: function() {
|
|
113
|
+
return vchart_1.registerMarkPoint;
|
|
114
|
+
}
|
|
115
|
+
}), Object.defineProperty(exports, "registerPolarMarkLine", {
|
|
116
|
+
enumerable: !0,
|
|
117
|
+
get: function() {
|
|
118
|
+
return vchart_1.registerPolarMarkLine;
|
|
119
|
+
}
|
|
120
|
+
}), Object.defineProperty(exports, "registerPolarMarkArea", {
|
|
121
|
+
enumerable: !0,
|
|
122
|
+
get: function() {
|
|
123
|
+
return vchart_1.registerPolarMarkArea;
|
|
124
|
+
}
|
|
125
|
+
}), Object.defineProperty(exports, "registerPolarMarkPoint", {
|
|
126
|
+
enumerable: !0,
|
|
127
|
+
get: function() {
|
|
128
|
+
return vchart_1.registerPolarMarkPoint;
|
|
129
|
+
}
|
|
130
|
+
}), Object.defineProperty(exports, "registerGeoMarkPoint", {
|
|
131
|
+
enumerable: !0,
|
|
132
|
+
get: function() {
|
|
133
|
+
return vchart_1.registerGeoMarkPoint;
|
|
134
|
+
}
|
|
135
|
+
}), Object.defineProperty(exports, "registerPlayer", {
|
|
136
|
+
enumerable: !0,
|
|
137
|
+
get: function() {
|
|
138
|
+
return vchart_1.registerPlayer;
|
|
139
|
+
}
|
|
140
|
+
}), Object.defineProperty(exports, "registerPolarBandAxis", {
|
|
141
|
+
enumerable: !0,
|
|
142
|
+
get: function() {
|
|
143
|
+
return vchart_1.registerPolarBandAxis;
|
|
144
|
+
}
|
|
145
|
+
}), Object.defineProperty(exports, "registerPolarCrossHair", {
|
|
146
|
+
enumerable: !0,
|
|
147
|
+
get: function() {
|
|
148
|
+
return vchart_1.registerPolarCrossHair;
|
|
149
|
+
}
|
|
150
|
+
}), Object.defineProperty(exports, "registerPolarLinearAxis", {
|
|
151
|
+
enumerable: !0,
|
|
152
|
+
get: function() {
|
|
153
|
+
return vchart_1.registerPolarLinearAxis;
|
|
154
|
+
}
|
|
155
|
+
}), Object.defineProperty(exports, "registerPoptip", {
|
|
156
|
+
enumerable: !0,
|
|
157
|
+
get: function() {
|
|
158
|
+
return vchart_1.registerPoptip;
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
|
|
162
|
+
var vchart_extension_1 = require("@visactor/vchart-extension");
|
|
163
|
+
|
|
164
|
+
Object.defineProperty(exports, "registerMapLabel", {
|
|
165
|
+
enumerable: !0,
|
|
166
|
+
get: function() {
|
|
167
|
+
return vchart_extension_1.registerMapLabel;
|
|
168
|
+
}
|
|
169
|
+
}), Object.defineProperty(exports, "registerAxis3dPlugin", {
|
|
170
|
+
enumerable: !0,
|
|
171
|
+
get: function() {
|
|
172
|
+
return vchart_extension_1.registerAxis3dPlugin;
|
|
173
|
+
}
|
|
174
|
+
}), Object.defineProperty(exports, "registerBar3dChart", {
|
|
175
|
+
enumerable: !0,
|
|
176
|
+
get: function() {
|
|
177
|
+
return vchart_extension_1.registerBar3dChart;
|
|
178
|
+
}
|
|
179
|
+
}), Object.defineProperty(exports, "registerFunnel3dChart", {
|
|
180
|
+
enumerable: !0,
|
|
181
|
+
get: function() {
|
|
182
|
+
return vchart_extension_1.registerFunnel3dChart;
|
|
183
|
+
}
|
|
184
|
+
}), Object.defineProperty(exports, "registerHistogram3dChart", {
|
|
185
|
+
enumerable: !0,
|
|
186
|
+
get: function() {
|
|
187
|
+
return vchart_extension_1.registerHistogram3dChart;
|
|
188
|
+
}
|
|
189
|
+
}), Object.defineProperty(exports, "registerPie3dChart", {
|
|
190
|
+
enumerable: !0,
|
|
191
|
+
get: function() {
|
|
192
|
+
return vchart_extension_1.registerPie3dChart;
|
|
193
|
+
}
|
|
194
|
+
}), Object.defineProperty(exports, "registerRangeColumn3dChart", {
|
|
195
|
+
enumerable: !0,
|
|
196
|
+
get: function() {
|
|
197
|
+
return vchart_extension_1.registerRangeColumn3dChart;
|
|
198
|
+
}
|
|
199
|
+
}), Object.defineProperty(exports, "registerWordCloud3dChart", {
|
|
200
|
+
enumerable: !0,
|
|
201
|
+
get: function() {
|
|
202
|
+
return vchart_extension_1.registerWordCloud3dChart;
|
|
203
|
+
}
|
|
204
|
+
}), Object.defineProperty(exports, "registerPictogramChart", {
|
|
205
|
+
enumerable: !0,
|
|
206
|
+
get: function() {
|
|
207
|
+
return vchart_extension_1.registerPictogramChart;
|
|
208
|
+
}
|
|
209
|
+
});
|
|
210
|
+
|
|
211
|
+
var vchart_2 = require("@visactor/vchart");
|
|
212
|
+
|
|
213
|
+
Object.defineProperty(exports, "registerLineChart", {
|
|
214
|
+
enumerable: !0,
|
|
215
|
+
get: function() {
|
|
216
|
+
return vchart_2.registerLineChart;
|
|
217
|
+
}
|
|
218
|
+
}), Object.defineProperty(exports, "registerAreaChart", {
|
|
219
|
+
enumerable: !0,
|
|
220
|
+
get: function() {
|
|
221
|
+
return vchart_2.registerAreaChart;
|
|
222
|
+
}
|
|
223
|
+
}), Object.defineProperty(exports, "registerBarChart", {
|
|
224
|
+
enumerable: !0,
|
|
225
|
+
get: function() {
|
|
226
|
+
return vchart_2.registerBarChart;
|
|
227
|
+
}
|
|
228
|
+
}), Object.defineProperty(exports, "registerBoxplotChart", {
|
|
229
|
+
enumerable: !0,
|
|
230
|
+
get: function() {
|
|
231
|
+
return vchart_2.registerBoxplotChart;
|
|
232
|
+
}
|
|
233
|
+
}), Object.defineProperty(exports, "registerCirclePackingChart", {
|
|
234
|
+
enumerable: !0,
|
|
235
|
+
get: function() {
|
|
236
|
+
return vchart_2.registerCirclePackingChart;
|
|
237
|
+
}
|
|
238
|
+
}), Object.defineProperty(exports, "registerCircularProgressChart", {
|
|
239
|
+
enumerable: !0,
|
|
240
|
+
get: function() {
|
|
241
|
+
return vchart_2.registerCircularProgressChart;
|
|
242
|
+
}
|
|
243
|
+
}), Object.defineProperty(exports, "registerCommonChart", {
|
|
244
|
+
enumerable: !0,
|
|
245
|
+
get: function() {
|
|
246
|
+
return vchart_2.registerCommonChart;
|
|
247
|
+
}
|
|
248
|
+
}), Object.defineProperty(exports, "registerFunnelChart", {
|
|
249
|
+
enumerable: !0,
|
|
250
|
+
get: function() {
|
|
251
|
+
return vchart_2.registerFunnelChart;
|
|
252
|
+
}
|
|
253
|
+
}), Object.defineProperty(exports, "registerGaugeChart", {
|
|
254
|
+
enumerable: !0,
|
|
255
|
+
get: function() {
|
|
256
|
+
return vchart_2.registerGaugeChart;
|
|
257
|
+
}
|
|
258
|
+
}), Object.defineProperty(exports, "registerHeatmapChart", {
|
|
259
|
+
enumerable: !0,
|
|
260
|
+
get: function() {
|
|
261
|
+
return vchart_2.registerHeatmapChart;
|
|
262
|
+
}
|
|
263
|
+
}), Object.defineProperty(exports, "registerHistogramChart", {
|
|
264
|
+
enumerable: !0,
|
|
265
|
+
get: function() {
|
|
266
|
+
return vchart_2.registerHistogramChart;
|
|
267
|
+
}
|
|
268
|
+
}), Object.defineProperty(exports, "registerLinearProgressChart", {
|
|
269
|
+
enumerable: !0,
|
|
270
|
+
get: function() {
|
|
271
|
+
return vchart_2.registerLinearProgressChart;
|
|
272
|
+
}
|
|
273
|
+
}), Object.defineProperty(exports, "registerMapChart", {
|
|
274
|
+
enumerable: !0,
|
|
275
|
+
get: function() {
|
|
276
|
+
return vchart_2.registerMapChart;
|
|
277
|
+
}
|
|
278
|
+
}), Object.defineProperty(exports, "registerPieChart", {
|
|
279
|
+
enumerable: !0,
|
|
280
|
+
get: function() {
|
|
281
|
+
return vchart_2.registerPieChart;
|
|
282
|
+
}
|
|
283
|
+
}), Object.defineProperty(exports, "registerRadarChart", {
|
|
284
|
+
enumerable: !0,
|
|
285
|
+
get: function() {
|
|
286
|
+
return vchart_2.registerRadarChart;
|
|
287
|
+
}
|
|
288
|
+
}), Object.defineProperty(exports, "registerRangeAreaChart", {
|
|
289
|
+
enumerable: !0,
|
|
290
|
+
get: function() {
|
|
291
|
+
return vchart_2.registerRangeAreaChart;
|
|
292
|
+
}
|
|
293
|
+
}), Object.defineProperty(exports, "registerRangeColumnChart", {
|
|
294
|
+
enumerable: !0,
|
|
295
|
+
get: function() {
|
|
296
|
+
return vchart_2.registerRangeColumnChart;
|
|
297
|
+
}
|
|
298
|
+
}), Object.defineProperty(exports, "registerRoseChart", {
|
|
299
|
+
enumerable: !0,
|
|
300
|
+
get: function() {
|
|
301
|
+
return vchart_2.registerRoseChart;
|
|
302
|
+
}
|
|
303
|
+
}), Object.defineProperty(exports, "registerSankeyChart", {
|
|
304
|
+
enumerable: !0,
|
|
305
|
+
get: function() {
|
|
306
|
+
return vchart_2.registerSankeyChart;
|
|
307
|
+
}
|
|
308
|
+
}), Object.defineProperty(exports, "registerScatterChart", {
|
|
309
|
+
enumerable: !0,
|
|
310
|
+
get: function() {
|
|
311
|
+
return vchart_2.registerScatterChart;
|
|
312
|
+
}
|
|
313
|
+
}), Object.defineProperty(exports, "registerSequenceChart", {
|
|
314
|
+
enumerable: !0,
|
|
315
|
+
get: function() {
|
|
316
|
+
return vchart_2.registerSequenceChart;
|
|
317
|
+
}
|
|
318
|
+
}), Object.defineProperty(exports, "registerSunburstChart", {
|
|
319
|
+
enumerable: !0,
|
|
320
|
+
get: function() {
|
|
321
|
+
return vchart_2.registerSunburstChart;
|
|
322
|
+
}
|
|
323
|
+
}), Object.defineProperty(exports, "registerTreemapChart", {
|
|
324
|
+
enumerable: !0,
|
|
325
|
+
get: function() {
|
|
326
|
+
return vchart_2.registerTreemapChart;
|
|
327
|
+
}
|
|
328
|
+
}), Object.defineProperty(exports, "registerWaterfallChart", {
|
|
329
|
+
enumerable: !0,
|
|
330
|
+
get: function() {
|
|
331
|
+
return vchart_2.registerWaterfallChart;
|
|
332
|
+
}
|
|
333
|
+
}), Object.defineProperty(exports, "registerWordCloudChart", {
|
|
334
|
+
enumerable: !0,
|
|
335
|
+
get: function() {
|
|
336
|
+
return vchart_2.registerWordCloudChart;
|
|
337
|
+
}
|
|
338
|
+
}), Object.defineProperty(exports, "registerCorrelationChart", {
|
|
339
|
+
enumerable: !0,
|
|
340
|
+
get: function() {
|
|
341
|
+
return vchart_2.registerCorrelationChart;
|
|
342
|
+
}
|
|
343
|
+
}), Object.defineProperty(exports, "registerLiquidChart", {
|
|
344
|
+
enumerable: !0,
|
|
345
|
+
get: function() {
|
|
346
|
+
return vchart_2.registerLiquidChart;
|
|
347
|
+
}
|
|
348
|
+
}), Object.defineProperty(exports, "registerWordCloudShapeChart", {
|
|
349
|
+
enumerable: !0,
|
|
350
|
+
get: function() {
|
|
351
|
+
return vchart_2.registerWordCloudShapeChart;
|
|
352
|
+
}
|
|
353
|
+
}), Object.defineProperty(exports, "registerVennChart", {
|
|
354
|
+
enumerable: !0,
|
|
355
|
+
get: function() {
|
|
356
|
+
return vchart_2.registerVennChart;
|
|
357
|
+
}
|
|
358
|
+
}), Object.defineProperty(exports, "registerMosaicChart", {
|
|
359
|
+
enumerable: !0,
|
|
360
|
+
get: function() {
|
|
361
|
+
return vchart_2.registerMosaicChart;
|
|
362
|
+
}
|
|
363
|
+
});
|
|
364
|
+
//# sourceMappingURL=register.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/register.ts"],"names":[],"mappings":";;;;AACA,2CA+B0B;AA9BxB,uGAAA,aAAa,OAAA;AACb,2GAAA,iBAAiB,OAAA;AACjB,uGAAA,aAAa,OAAA;AACb,yGAAA,eAAe,OAAA;AACf,mHAAA,yBAAyB,OAAA;AACzB,oHAAA,0BAA0B,OAAA;AAC1B,qHAAA,2BAA2B,OAAA;AAC3B,kHAAA,wBAAwB,OAAA;AACxB,qHAAA,2BAA2B,OAAA;AAC3B,mHAAA,yBAAyB,OAAA;AACzB,kHAAA,wBAAwB,OAAA;AACxB,4GAAA,kBAAkB,OAAA;AAClB,0GAAA,gBAAgB,OAAA;AAChB,gHAAA,sBAAsB,OAAA;AACtB,+GAAA,qBAAqB,OAAA;AACrB,2GAAA,iBAAiB,OAAA;AACjB,uGAAA,aAAa,OAAA;AACb,4GAAA,kBAAkB,OAAA;AAClB,0GAAA,gBAAgB,OAAA;AAChB,0GAAA,gBAAgB,OAAA;AAChB,2GAAA,iBAAiB,OAAA;AACjB,+GAAA,qBAAqB,OAAA;AACrB,+GAAA,qBAAqB,OAAA;AACrB,gHAAA,sBAAsB,OAAA;AACtB,8GAAA,oBAAoB,OAAA;AACpB,wGAAA,cAAc,OAAA;AACd,+GAAA,qBAAqB,OAAA;AACrB,gHAAA,sBAAsB,OAAA;AACtB,iHAAA,uBAAuB,OAAA;AACvB,wGAAA,cAAc,OAAA;AAGhB,+DAUoC;AATlC,oHAAA,gBAAgB,OAAA;AAChB,wHAAA,oBAAoB,OAAA;AACpB,sHAAA,kBAAkB,OAAA;AAClB,yHAAA,qBAAqB,OAAA;AACrB,4HAAA,wBAAwB,OAAA;AACxB,sHAAA,kBAAkB,OAAA;AAClB,8HAAA,0BAA0B,OAAA;AAC1B,4HAAA,wBAAwB,OAAA;AACxB,0HAAA,sBAAsB,OAAA;AAIxB,2CA+B0B;AA9BxB,2GAAA,iBAAiB,OAAA;AACjB,2GAAA,iBAAiB,OAAA;AACjB,0GAAA,gBAAgB,OAAA;AAChB,8GAAA,oBAAoB,OAAA;AACpB,oHAAA,0BAA0B,OAAA;AAC1B,uHAAA,6BAA6B,OAAA;AAC7B,6GAAA,mBAAmB,OAAA;AACnB,6GAAA,mBAAmB,OAAA;AACnB,4GAAA,kBAAkB,OAAA;AAClB,8GAAA,oBAAoB,OAAA;AACpB,gHAAA,sBAAsB,OAAA;AACtB,qHAAA,2BAA2B,OAAA;AAC3B,0GAAA,gBAAgB,OAAA;AAChB,0GAAA,gBAAgB,OAAA;AAChB,4GAAA,kBAAkB,OAAA;AAClB,gHAAA,sBAAsB,OAAA;AACtB,kHAAA,wBAAwB,OAAA;AACxB,2GAAA,iBAAiB,OAAA;AACjB,6GAAA,mBAAmB,OAAA;AACnB,8GAAA,oBAAoB,OAAA;AACpB,+GAAA,qBAAqB,OAAA;AACrB,+GAAA,qBAAqB,OAAA;AACrB,8GAAA,oBAAoB,OAAA;AACpB,gHAAA,sBAAsB,OAAA;AACtB,gHAAA,sBAAsB,OAAA;AACtB,kHAAA,wBAAwB,OAAA;AACxB,6GAAA,mBAAmB,OAAA;AACnB,qHAAA,2BAA2B,OAAA;AAC3B,2GAAA,iBAAiB,OAAA;AACjB,6GAAA,mBAAmB,OAAA","file":"register.js","sourcesContent":["// Components\nexport {\n registerBrush,\n registerScrollBar,\n registerTitle,\n registerTooltip,\n registerCartesianBandAxis,\n registerCartesianCrossHair,\n registerCartesianLinearAxis,\n registerCartesianLogAxis,\n registerCartesianSymlogAxis,\n registerCartesianTimeAxis,\n registerContinuousLegend,\n registerCustomMark,\n registerDataZoom,\n registerDiscreteLegend,\n registerGeoCoordinate,\n registerIndicator,\n registerLabel,\n registerTotalLabel,\n registerMarkLine,\n registerMarkArea,\n registerMarkPoint,\n registerPolarMarkLine,\n registerPolarMarkArea,\n registerPolarMarkPoint,\n registerGeoMarkPoint,\n registerPlayer,\n registerPolarBandAxis,\n registerPolarCrossHair,\n registerPolarLinearAxis,\n registerPoptip\n} from '@visactor/vchart';\n\nexport {\n registerMapLabel,\n registerAxis3dPlugin,\n registerBar3dChart,\n registerFunnel3dChart,\n registerHistogram3dChart,\n registerPie3dChart,\n registerRangeColumn3dChart,\n registerWordCloud3dChart,\n registerPictogramChart\n} from '@visactor/vchart-extension';\n\n// Charts\nexport {\n registerLineChart,\n registerAreaChart,\n registerBarChart,\n registerBoxplotChart,\n registerCirclePackingChart,\n registerCircularProgressChart,\n registerCommonChart,\n registerFunnelChart,\n registerGaugeChart,\n registerHeatmapChart,\n registerHistogramChart,\n registerLinearProgressChart,\n registerMapChart,\n registerPieChart,\n registerRadarChart,\n registerRangeAreaChart,\n registerRangeColumnChart,\n registerRoseChart,\n registerSankeyChart,\n registerScatterChart,\n registerSequenceChart,\n registerSunburstChart,\n registerTreemapChart,\n registerWaterfallChart,\n registerWordCloudChart,\n registerCorrelationChart,\n registerLiquidChart,\n registerWordCloudShapeChart,\n registerVennChart,\n registerMosaicChart\n} from '@visactor/vchart';\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseSeriesProps } from './BaseSeries';
|
|
2
|
-
import type { IPictogramSeriesSpec } from '@visactor/vchart';
|
|
2
|
+
import type { IPictogramSeriesSpec } from '@visactor/vchart-extension';
|
|
3
3
|
export type PictogramProps = BaseSeriesProps & Omit<IPictogramSeriesSpec, 'type'>;
|
|
4
4
|
export declare const Pictogram: import("react").FC<BaseSeriesProps & Omit<IPictogramSeriesSpec, "type"> & {
|
|
5
5
|
updateId?: number;
|
package/cjs/series/Pictogram.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.Pictogram = void 0;
|
|
6
6
|
|
|
7
|
-
const BaseSeries_1 = require("./BaseSeries"),
|
|
7
|
+
const BaseSeries_1 = require("./BaseSeries"), vchart_extension_1 = require("@visactor/vchart-extension");
|
|
8
8
|
|
|
9
|
-
exports.Pictogram = (0, BaseSeries_1.createSeries)("Pictogram", [ "pictogram" ], "pictogram", [
|
|
9
|
+
exports.Pictogram = (0, BaseSeries_1.createSeries)("Pictogram", [ "pictogram" ], "pictogram", [ vchart_extension_1.registerPictogramSeries ]);
|
|
10
10
|
//# sourceMappingURL=Pictogram.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/series/Pictogram.tsx"],"names":[],"mappings":";;;AACA,6CAA4C;AAE5C,
|
|
1
|
+
{"version":3,"sources":["../src/series/Pictogram.tsx"],"names":[],"mappings":";;;AACA,6CAA4C;AAE5C,iEAAqE;AAIxD,QAAA,SAAS,GAAG,IAAA,yBAAY,EAAiB,WAAW,EAAE,CAAC,WAAW,CAAC,EAAE,WAAW,EAAE;IAC7F,0CAAuB;CACxB,CAAC,CAAC","file":"Pictogram.js","sourcesContent":["import type { BaseSeriesProps } from './BaseSeries';\nimport { createSeries } from './BaseSeries';\nimport type { IPictogramSeriesSpec } from '@visactor/vchart-extension';\nimport { registerPictogramSeries } from '@visactor/vchart-extension';\n\nexport type PictogramProps = BaseSeriesProps & Omit<IPictogramSeriesSpec, 'type'>;\n\nexport const Pictogram = createSeries<PictogramProps>('Pictogram', ['pictogram'], 'pictogram', [\n registerPictogramSeries\n]);\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import type { IPictogramChartSpec } from '@visactor/vchart';
|
|
2
|
+
import type { IPictogramChartSpec } from '@visactor/vchart-extension';
|
|
3
3
|
import type { BaseChartProps } from './BaseChart';
|
|
4
4
|
export interface PictogramChartProps extends Omit<BaseChartProps, 'container' | 'type' | 'data'>, Omit<Partial<IPictogramChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { VChart,
|
|
1
|
+
import { VChart, registerLabel } from "@visactor/vchart";
|
|
2
|
+
|
|
3
|
+
import { registerPictogramChart } from "@visactor/vchart-extension";
|
|
2
4
|
|
|
3
5
|
import { registers } from "./registers/simple";
|
|
4
6
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/PictogramChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"sources":["../src/charts/PictogramChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1C,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,sBAAsB,EAAE,aAAa,EAAE,GAAG,SAAS,CAAC,CACtD,CAAC","file":"PictogramChart.js","sourcesContent":["import type React from 'react';\nimport type { IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerLabel } from '@visactor/vchart';\nimport type { IPictogramChartSpec } from '@visactor/vchart-extension';\nimport { registerPictogramChart } from '@visactor/vchart-extension';\nimport { registers } from './registers/simple';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface PictogramChartProps\n extends Omit<BaseChartProps, 'container' | 'type' | 'data'>,\n Omit<Partial<IPictogramChartSpec>, 'type'> {}\n\nexport const PictogramChart = createChart<React.PropsWithChildren<PictogramChartProps> & { type?: 'pictogram' }>(\n 'PictogramChart',\n {\n type: 'pictogram',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerPictogramChart, registerLabel, ...registers]\n);\n"]}
|
package/esm/index.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ export * from './series';
|
|
|
3
3
|
export * from './components';
|
|
4
4
|
export * from './VChart';
|
|
5
5
|
export * from './VChartSimple';
|
|
6
|
+
export * from './register';
|
|
6
7
|
export { VChart as VChartCore } from '@visactor/vchart';
|
|
7
|
-
export declare const version = "2.0.0-alpha.
|
|
8
|
+
export declare const version = "2.0.0-alpha.3";
|
|
8
9
|
export type { IAreaChartSpec, IBarChartSpec, IBoxPlotChartSpec, ICirclePackingChartSpec, ICommonChartSpec, IFunnelChartSpec, IGaugeChartSpec, IHeatmapChartSpec, IHistogramChartSpec, ILineChartSpec, IMapChartSpec, IPieChartSpec, ICircularProgressChartSpec, ILinearProgressChartSpec, IRadarChartSpec, IRangeColumnChartSpec, IRangeAreaChartSpec, IRoseChartSpec, IScatterChartSpec, ISankeyChartSpec, ISequenceChartSpec, ISunburstChartSpec, ITreemapChartSpec, IWaterfallChartSpec, ICorrelationChartSpec, ILiquidChartSpec, IWordCloudChartSpec, IPolarChartSpec, ICartesianChartSpec, ITheme, IInitOption, ISpec, IVChart } from '@visactor/vchart';
|
|
9
10
|
export type { IBar3dChartSpec, IFunnel3dChartSpec, IHistogram3dChartSpec, IPie3dChartSpec, IRangeColumn3dChartSpec, IWordCloud3dChartSpec } from '@visactor/vchart-extension';
|
package/esm/index.js
CHANGED
|
@@ -8,7 +8,9 @@ export * from "./VChart";
|
|
|
8
8
|
|
|
9
9
|
export * from "./VChartSimple";
|
|
10
10
|
|
|
11
|
+
export * from "./register";
|
|
12
|
+
|
|
11
13
|
export { VChart as VChartCore } from "@visactor/vchart";
|
|
12
14
|
|
|
13
|
-
export const version = "2.0.0-alpha.
|
|
15
|
+
export const version = "2.0.0-alpha.3";
|
|
14
16
|
//# sourceMappingURL=index.js.map
|
package/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGxD,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC","file":"index.js","sourcesContent":["export * from './charts';\nexport * from './series';\nexport * from './components';\nexport * from './VChart';\nexport * from './VChartSimple';\nexport { VChart as VChartCore } from '@visactor/vchart';\n\n// export the version, since @1.8.3\nexport const version = \"2.0.0-alpha.
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGxD,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC","file":"index.js","sourcesContent":["export * from './charts';\nexport * from './series';\nexport * from './components';\nexport * from './VChart';\nexport * from './VChartSimple';\nexport * from './register';\nexport { VChart as VChartCore } from '@visactor/vchart';\n\n// export the version, since @1.8.3\nexport const version = \"2.0.0-alpha.3\";\n\nexport type {\n IAreaChartSpec,\n IBarChartSpec,\n IBoxPlotChartSpec,\n ICirclePackingChartSpec,\n ICommonChartSpec,\n IFunnelChartSpec,\n IGaugeChartSpec,\n IHeatmapChartSpec,\n IHistogramChartSpec,\n ILineChartSpec,\n IMapChartSpec,\n IPieChartSpec,\n ICircularProgressChartSpec,\n ILinearProgressChartSpec,\n IRadarChartSpec,\n IRangeColumnChartSpec,\n IRangeAreaChartSpec,\n IRoseChartSpec,\n IScatterChartSpec,\n ISankeyChartSpec,\n ISequenceChartSpec,\n ISunburstChartSpec,\n ITreemapChartSpec,\n IWaterfallChartSpec,\n ICorrelationChartSpec,\n ILiquidChartSpec,\n IWordCloudChartSpec,\n IPolarChartSpec,\n ICartesianChartSpec,\n ITheme,\n IInitOption,\n ISpec,\n IVChart\n} from '@visactor/vchart';\n\nexport type {\n IBar3dChartSpec,\n IFunnel3dChartSpec,\n IHistogram3dChartSpec,\n IPie3dChartSpec,\n IRangeColumn3dChartSpec,\n IWordCloud3dChartSpec\n} from '@visactor/vchart-extension';\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { registerBrush, registerScrollBar, registerTitle, registerTooltip, registerCartesianBandAxis, registerCartesianCrossHair, registerCartesianLinearAxis, registerCartesianLogAxis, registerCartesianSymlogAxis, registerCartesianTimeAxis, registerContinuousLegend, registerCustomMark, registerDataZoom, registerDiscreteLegend, registerGeoCoordinate, registerIndicator, registerLabel, registerTotalLabel, registerMarkLine, registerMarkArea, registerMarkPoint, registerPolarMarkLine, registerPolarMarkArea, registerPolarMarkPoint, registerGeoMarkPoint, registerPlayer, registerPolarBandAxis, registerPolarCrossHair, registerPolarLinearAxis, registerPoptip } from '@visactor/vchart';
|
|
2
|
+
export { registerMapLabel, registerAxis3dPlugin, registerBar3dChart, registerFunnel3dChart, registerHistogram3dChart, registerPie3dChart, registerRangeColumn3dChart, registerWordCloud3dChart, registerPictogramChart } from '@visactor/vchart-extension';
|
|
3
|
+
export { registerLineChart, registerAreaChart, registerBarChart, registerBoxplotChart, registerCirclePackingChart, registerCircularProgressChart, registerCommonChart, registerFunnelChart, registerGaugeChart, registerHeatmapChart, registerHistogramChart, registerLinearProgressChart, registerMapChart, registerPieChart, registerRadarChart, registerRangeAreaChart, registerRangeColumnChart, registerRoseChart, registerSankeyChart, registerScatterChart, registerSequenceChart, registerSunburstChart, registerTreemapChart, registerWaterfallChart, registerWordCloudChart, registerCorrelationChart, registerLiquidChart, registerWordCloudShapeChart, registerVennChart, registerMosaicChart } from '@visactor/vchart';
|
package/esm/register.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { registerBrush, registerScrollBar, registerTitle, registerTooltip, registerCartesianBandAxis, registerCartesianCrossHair, registerCartesianLinearAxis, registerCartesianLogAxis, registerCartesianSymlogAxis, registerCartesianTimeAxis, registerContinuousLegend, registerCustomMark, registerDataZoom, registerDiscreteLegend, registerGeoCoordinate, registerIndicator, registerLabel, registerTotalLabel, registerMarkLine, registerMarkArea, registerMarkPoint, registerPolarMarkLine, registerPolarMarkArea, registerPolarMarkPoint, registerGeoMarkPoint, registerPlayer, registerPolarBandAxis, registerPolarCrossHair, registerPolarLinearAxis, registerPoptip } from "@visactor/vchart";
|
|
2
|
+
|
|
3
|
+
export { registerMapLabel, registerAxis3dPlugin, registerBar3dChart, registerFunnel3dChart, registerHistogram3dChart, registerPie3dChart, registerRangeColumn3dChart, registerWordCloud3dChart, registerPictogramChart } from "@visactor/vchart-extension";
|
|
4
|
+
|
|
5
|
+
export { registerLineChart, registerAreaChart, registerBarChart, registerBoxplotChart, registerCirclePackingChart, registerCircularProgressChart, registerCommonChart, registerFunnelChart, registerGaugeChart, registerHeatmapChart, registerHistogramChart, registerLinearProgressChart, registerMapChart, registerPieChart, registerRadarChart, registerRangeAreaChart, registerRangeColumnChart, registerRoseChart, registerSankeyChart, registerScatterChart, registerSequenceChart, registerSunburstChart, registerTreemapChart, registerWaterfallChart, registerWordCloudChart, registerCorrelationChart, registerLiquidChart, registerWordCloudShapeChart, registerVennChart, registerMosaicChart } from "@visactor/vchart";
|
|
6
|
+
//# sourceMappingURL=register.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/register.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,yBAAyB,EACzB,0BAA0B,EAC1B,2BAA2B,EAC3B,wBAAwB,EACxB,2BAA2B,EAC3B,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,cAAc,EACd,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,cAAc,EACf,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,kBAAkB,EAClB,qBAAqB,EACrB,wBAAwB,EACxB,kBAAkB,EAClB,0BAA0B,EAC1B,wBAAwB,EACxB,sBAAsB,EACvB,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,0BAA0B,EAC1B,6BAA6B,EAC7B,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,2BAA2B,EAC3B,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,EACxB,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,mBAAmB,EACnB,2BAA2B,EAC3B,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,kBAAkB,CAAC","file":"register.js","sourcesContent":["// Components\nexport {\n registerBrush,\n registerScrollBar,\n registerTitle,\n registerTooltip,\n registerCartesianBandAxis,\n registerCartesianCrossHair,\n registerCartesianLinearAxis,\n registerCartesianLogAxis,\n registerCartesianSymlogAxis,\n registerCartesianTimeAxis,\n registerContinuousLegend,\n registerCustomMark,\n registerDataZoom,\n registerDiscreteLegend,\n registerGeoCoordinate,\n registerIndicator,\n registerLabel,\n registerTotalLabel,\n registerMarkLine,\n registerMarkArea,\n registerMarkPoint,\n registerPolarMarkLine,\n registerPolarMarkArea,\n registerPolarMarkPoint,\n registerGeoMarkPoint,\n registerPlayer,\n registerPolarBandAxis,\n registerPolarCrossHair,\n registerPolarLinearAxis,\n registerPoptip\n} from '@visactor/vchart';\n\nexport {\n registerMapLabel,\n registerAxis3dPlugin,\n registerBar3dChart,\n registerFunnel3dChart,\n registerHistogram3dChart,\n registerPie3dChart,\n registerRangeColumn3dChart,\n registerWordCloud3dChart,\n registerPictogramChart\n} from '@visactor/vchart-extension';\n\n// Charts\nexport {\n registerLineChart,\n registerAreaChart,\n registerBarChart,\n registerBoxplotChart,\n registerCirclePackingChart,\n registerCircularProgressChart,\n registerCommonChart,\n registerFunnelChart,\n registerGaugeChart,\n registerHeatmapChart,\n registerHistogramChart,\n registerLinearProgressChart,\n registerMapChart,\n registerPieChart,\n registerRadarChart,\n registerRangeAreaChart,\n registerRangeColumnChart,\n registerRoseChart,\n registerSankeyChart,\n registerScatterChart,\n registerSequenceChart,\n registerSunburstChart,\n registerTreemapChart,\n registerWaterfallChart,\n registerWordCloudChart,\n registerCorrelationChart,\n registerLiquidChart,\n registerWordCloudShapeChart,\n registerVennChart,\n registerMosaicChart\n} from '@visactor/vchart';\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseSeriesProps } from './BaseSeries';
|
|
2
|
-
import type { IPictogramSeriesSpec } from '@visactor/vchart';
|
|
2
|
+
import type { IPictogramSeriesSpec } from '@visactor/vchart-extension';
|
|
3
3
|
export type PictogramProps = BaseSeriesProps & Omit<IPictogramSeriesSpec, 'type'>;
|
|
4
4
|
export declare const Pictogram: import("react").FC<BaseSeriesProps & Omit<IPictogramSeriesSpec, "type"> & {
|
|
5
5
|
updateId?: number;
|
package/esm/series/Pictogram.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createSeries } from "./BaseSeries";
|
|
2
2
|
|
|
3
|
-
import { registerPictogramSeries } from "@visactor/vchart";
|
|
3
|
+
import { registerPictogramSeries } from "@visactor/vchart-extension";
|
|
4
4
|
|
|
5
5
|
export const Pictogram = createSeries("Pictogram", [ "pictogram" ], "pictogram", [ registerPictogramSeries ]);
|
|
6
6
|
//# sourceMappingURL=Pictogram.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/series/Pictogram.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"sources":["../src/series/Pictogram.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAIrE,MAAM,CAAC,MAAM,SAAS,GAAG,YAAY,CAAiB,WAAW,EAAE,CAAC,WAAW,CAAC,EAAE,WAAW,EAAE;IAC7F,uBAAuB;CACxB,CAAC,CAAC","file":"Pictogram.js","sourcesContent":["import type { BaseSeriesProps } from './BaseSeries';\nimport { createSeries } from './BaseSeries';\nimport type { IPictogramSeriesSpec } from '@visactor/vchart-extension';\nimport { registerPictogramSeries } from '@visactor/vchart-extension';\n\nexport type PictogramProps = BaseSeriesProps & Omit<IPictogramSeriesSpec, 'type'>;\n\nexport const Pictogram = createSeries<PictogramProps>('Pictogram', ['pictogram'], 'pictogram', [\n registerPictogramSeries\n]);\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/react-vchart",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.3",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "The react version of VChart 4.x",
|
|
6
6
|
"keywords": [
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"dist"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@visactor/vchart": "2.0.0-alpha.
|
|
27
|
-
"@visactor/vchart-extension": "2.0.0-alpha.
|
|
26
|
+
"@visactor/vchart": "2.0.0-alpha.3",
|
|
27
|
+
"@visactor/vchart-extension": "2.0.0-alpha.3",
|
|
28
28
|
"@visactor/vutils": "~1.0.6",
|
|
29
|
-
"@visactor/vrender-core": "1.0.0-alpha.
|
|
30
|
-
"@visactor/vrender-kits": "1.0.0-alpha.
|
|
29
|
+
"@visactor/vrender-core": "1.0.0-alpha.18",
|
|
30
|
+
"@visactor/vrender-kits": "1.0.0-alpha.18",
|
|
31
31
|
"react-is": "^18.2.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|