@visactor/vchart-theme-demo-component 1.11.6-alpha.2 → 1.12.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/cjs/spec/businessFunnel.d.ts +223 -0
- package/cjs/spec/businessFunnel.js +261 -0
- package/cjs/spec/businessFunnel.js.map +1 -0
- package/cjs/spec/combination.d.ts +48 -0
- package/cjs/spec/combination.js +133 -0
- package/cjs/spec/combination.js.map +1 -0
- package/cjs/spec/gauge.d.ts +1 -0
- package/cjs/spec/gauge.js +2 -2
- package/cjs/spec/gauge.js.map +1 -1
- package/cjs/spec/indicatorSankey.js +2 -1
- package/cjs/vchart-chart-hub-theme/chart-list.js +13 -1
- package/cjs/vchart-chart-hub-theme/chart-list.js.map +1 -1
- package/esm/spec/businessFunnel.d.ts +223 -0
- package/esm/spec/businessFunnel.js +257 -0
- package/esm/spec/businessFunnel.js.map +1 -0
- package/esm/spec/combination.d.ts +48 -0
- package/esm/spec/combination.js +129 -0
- package/esm/spec/combination.js.map +1 -0
- package/esm/spec/gauge.d.ts +1 -0
- package/esm/spec/gauge.js +2 -2
- package/esm/spec/gauge.js.map +1 -1
- package/esm/spec/indicatorSankey.js +2 -1
- package/esm/vchart-chart-hub-theme/chart-list.js +18 -0
- package/esm/vchart-chart-hub-theme/chart-list.js.map +1 -1
- package/package.json +11 -9
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
export const CombinationSpec = {
|
|
2
|
+
type: "common",
|
|
3
|
+
seriesField: "color",
|
|
4
|
+
data: [ {
|
|
5
|
+
id: "id0",
|
|
6
|
+
values: [ {
|
|
7
|
+
x: "周一",
|
|
8
|
+
type: "早餐",
|
|
9
|
+
y: 15
|
|
10
|
+
}, {
|
|
11
|
+
x: "周一",
|
|
12
|
+
type: "午餐",
|
|
13
|
+
y: 25
|
|
14
|
+
}, {
|
|
15
|
+
x: "周二",
|
|
16
|
+
type: "早餐",
|
|
17
|
+
y: 12
|
|
18
|
+
}, {
|
|
19
|
+
x: "周二",
|
|
20
|
+
type: "午餐",
|
|
21
|
+
y: 30
|
|
22
|
+
}, {
|
|
23
|
+
x: "周三",
|
|
24
|
+
type: "早餐",
|
|
25
|
+
y: 15
|
|
26
|
+
}, {
|
|
27
|
+
x: "周三",
|
|
28
|
+
type: "午餐",
|
|
29
|
+
y: 24
|
|
30
|
+
}, {
|
|
31
|
+
x: "周四",
|
|
32
|
+
type: "早餐",
|
|
33
|
+
y: 10
|
|
34
|
+
}, {
|
|
35
|
+
x: "周四",
|
|
36
|
+
type: "午餐",
|
|
37
|
+
y: 25
|
|
38
|
+
}, {
|
|
39
|
+
x: "周五",
|
|
40
|
+
type: "早餐",
|
|
41
|
+
y: 13
|
|
42
|
+
}, {
|
|
43
|
+
x: "周五",
|
|
44
|
+
type: "午餐",
|
|
45
|
+
y: 20
|
|
46
|
+
}, {
|
|
47
|
+
x: "周六",
|
|
48
|
+
type: "早餐",
|
|
49
|
+
y: 10
|
|
50
|
+
}, {
|
|
51
|
+
x: "周六",
|
|
52
|
+
type: "午餐",
|
|
53
|
+
y: 22
|
|
54
|
+
}, {
|
|
55
|
+
x: "周日",
|
|
56
|
+
type: "早餐",
|
|
57
|
+
y: 12
|
|
58
|
+
}, {
|
|
59
|
+
x: "周日",
|
|
60
|
+
type: "午餐",
|
|
61
|
+
y: 19
|
|
62
|
+
} ]
|
|
63
|
+
}, {
|
|
64
|
+
id: "id1",
|
|
65
|
+
values: [ {
|
|
66
|
+
x: "周一",
|
|
67
|
+
type: "饮料",
|
|
68
|
+
y: 22
|
|
69
|
+
}, {
|
|
70
|
+
x: "周二",
|
|
71
|
+
type: "饮料",
|
|
72
|
+
y: 43
|
|
73
|
+
}, {
|
|
74
|
+
x: "周三",
|
|
75
|
+
type: "饮料",
|
|
76
|
+
y: 33
|
|
77
|
+
}, {
|
|
78
|
+
x: "周四",
|
|
79
|
+
type: "饮料",
|
|
80
|
+
y: 22
|
|
81
|
+
}, {
|
|
82
|
+
x: "周五",
|
|
83
|
+
type: "饮料",
|
|
84
|
+
y: 10
|
|
85
|
+
}, {
|
|
86
|
+
x: "周六",
|
|
87
|
+
type: "饮料",
|
|
88
|
+
y: 30
|
|
89
|
+
}, {
|
|
90
|
+
x: "周日",
|
|
91
|
+
type: "饮料",
|
|
92
|
+
y: 50
|
|
93
|
+
} ]
|
|
94
|
+
} ],
|
|
95
|
+
series: [ {
|
|
96
|
+
type: "bar",
|
|
97
|
+
dataIndex: 0,
|
|
98
|
+
label: {
|
|
99
|
+
visible: !0
|
|
100
|
+
},
|
|
101
|
+
seriesField: "type",
|
|
102
|
+
xField: [ "x", "type" ],
|
|
103
|
+
yField: "y"
|
|
104
|
+
}, {
|
|
105
|
+
type: "line",
|
|
106
|
+
dataIndex: 1,
|
|
107
|
+
label: {
|
|
108
|
+
visible: !0
|
|
109
|
+
},
|
|
110
|
+
seriesField: "type",
|
|
111
|
+
xField: "x",
|
|
112
|
+
yField: "y",
|
|
113
|
+
stack: !1
|
|
114
|
+
} ],
|
|
115
|
+
axes: [ {
|
|
116
|
+
orient: "left"
|
|
117
|
+
}, {
|
|
118
|
+
orient: "bottom",
|
|
119
|
+
label: {
|
|
120
|
+
visible: !0
|
|
121
|
+
},
|
|
122
|
+
type: "band"
|
|
123
|
+
} ],
|
|
124
|
+
legends: {
|
|
125
|
+
visible: !0,
|
|
126
|
+
orient: "bottom"
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
//# sourceMappingURL=combination.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/spec/combination.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,OAAO;IACpB,IAAI,EAAE;QACJ;YACE,EAAE,EAAE,KAAK;YACT,MAAM,EAAE;gBACN,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE;gB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F,CAAC","file":"combination.js","sourcesContent":["export const CombinationSpec = {\n type: 'common',\n seriesField: 'color',\n data: [\n {\n id: 'id0',\n values: [\n { x: '周一', type: '早餐', y: 15 },\n { x: '周一', type: '午餐', y: 25 },\n { x: '周二', type: '早餐', y: 12 },\n { x: '周二', type: '午餐', y: 30 },\n { x: '周三', type: '早餐', y: 15 },\n { x: '周三', type: '午餐', y: 24 },\n { x: '周四', type: '早餐', y: 10 },\n { x: '周四', type: '午餐', y: 25 },\n { x: '周五', type: '早餐', y: 13 },\n { x: '周五', type: '午餐', y: 20 },\n { x: '周六', type: '早餐', y: 10 },\n { x: '周六', type: '午餐', y: 22 },\n { x: '周日', type: '早餐', y: 12 },\n { x: '周日', type: '午餐', y: 19 }\n ]\n },\n {\n id: 'id1',\n values: [\n { x: '周一', type: '饮料', y: 22 },\n { x: '周二', type: '饮料', y: 43 },\n { x: '周三', type: '饮料', y: 33 },\n { x: '周四', type: '饮料', y: 22 },\n { x: '周五', type: '饮料', y: 10 },\n { x: '周六', type: '饮料', y: 30 },\n { x: '周日', type: '饮料', y: 50 }\n ]\n }\n ],\n series: [\n {\n type: 'bar',\n dataIndex: 0,\n label: { visible: true },\n seriesField: 'type',\n xField: ['x', 'type'],\n yField: 'y'\n },\n {\n type: 'line',\n dataIndex: 1,\n label: { visible: true },\n seriesField: 'type',\n xField: 'x',\n yField: 'y',\n stack: false\n }\n ],\n axes: [{ orient: 'left' }, { orient: 'bottom', label: { visible: true }, type: 'band' }],\n legends: {\n visible: true,\n orient: 'bottom'\n }\n};\n"]}
|
package/esm/spec/gauge.d.ts
CHANGED
package/esm/spec/gauge.js
CHANGED
|
@@ -13,6 +13,7 @@ export const gaugeSpec = {
|
|
|
13
13
|
innerRadius: .7,
|
|
14
14
|
startAngle: -180,
|
|
15
15
|
endAngle: 0,
|
|
16
|
+
centerY: "60%",
|
|
16
17
|
indicator: [ {
|
|
17
18
|
visible: !0,
|
|
18
19
|
title: {
|
|
@@ -55,5 +56,4 @@ export const gaugeSpec = {
|
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
} ]
|
|
58
|
-
};
|
|
59
|
-
//# sourceMappingURL=gauge.js.map
|
|
59
|
+
};
|
package/esm/spec/gauge.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/spec/gauge.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,IAAI,EAAE;QACJ;YACE,EAAE,EAAE,KAAK;YACT,MAAM,EAAE;gBACN;oBACE,IAAI,EAAE,KAAK;oBACX,KAAK,EAAE,EAAE;iBACV;aACF;SACF;KACF;IACD,aAAa,EAAE,MAAM;IACrB,UAAU,EAAE,OAAO;IACnB,WAAW,EAAE,GAAG;IAChB,WAAW,EAAE,GAAG;IAChB,UAAU,EAAE,CAAC,GAAG;IAChB,QAAQ,EAAE,CAAC;IACX,SAAS,EAAE;QACT;YACE,OAAO,EAAE,IAAI;YACb,KAAK,EAAE;gBACL,KAAK,EAAE;oBACL,IAAI,EAAE,IAAI;oBACV,QAAQ,EAAE,EAAE;oBACZ,UAAU,EAAE,GAAG;iBAChB;aACF;SACF;KACF;IACD,IAAI,EAAE;QACJ;YACE,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,OAAO;YACf,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,EAAE;YACP,MAAM,EAAE,EAAE;YACV,MAAM,EAAE,IAAI;YACZ,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;YACxB,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE;YAC7D,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE;YAChE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,EAAE;SACjE;KACF;CACF,CAAC","file":"gauge.js","sourcesContent":["export const gaugeSpec = {\n type: 'gauge',\n data: [\n {\n id: 'id0',\n values: [\n {\n type: '目标A',\n value: 45\n }\n ]\n }\n ],\n categoryField: 'type',\n valueField: 'value',\n outerRadius: 0.8,\n innerRadius: 0.7,\n startAngle: -180,\n endAngle: 0,\n indicator: [\n {\n visible: true,\n title: {\n style: {\n text: '45',\n fontSize: 60,\n fontWeight: 800\n }\n }\n }\n ],\n axes: [\n {\n type: 'linear',\n orient: 'angle',\n min: 0,\n max: 50,\n offset: 20,\n radius: 0.81,\n grid: { visible: false },\n tick: { visible: true, tickSize: 5, style: { lineWidth: 1 } },\n subTick: { visible: true, tickSize: 3, style: { lineWidth: 1 } },\n label: { visible: true, style: { fill: 'black', fontSize: 12 } }\n }\n ]\n};\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/spec/gauge.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,IAAI,EAAE;QACJ;YACE,EAAE,EAAE,KAAK;YACT,MAAM,EAAE;gBACN;oBACE,IAAI,EAAE,KAAK;oBACX,KAAK,EAAE,EAAE;iBACV;aACF;SACF;KACF;IACD,aAAa,EAAE,MAAM;IACrB,UAAU,EAAE,OAAO;IACnB,WAAW,EAAE,GAAG;IAChB,WAAW,EAAE,GAAG;IAChB,UAAU,EAAE,CAAC,GAAG;IAChB,QAAQ,EAAE,CAAC;IACX,OAAO,EAAE,KAAK;IACd,SAAS,EAAE;QACT;YACE,OAAO,EAAE,IAAI;YACb,KAAK,EAAE;gBACL,KAAK,EAAE;oBACL,IAAI,EAAE,IAAI;oBACV,QAAQ,EAAE,EAAE;oBACZ,UAAU,EAAE,GAAG;iBAChB;aACF;SACF;KACF;IACD,IAAI,EAAE;QACJ;YACE,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,OAAO;YACf,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,EAAE;YACP,MAAM,EAAE,EAAE;YACV,MAAM,EAAE,IAAI;YACZ,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;YACxB,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE;YAC7D,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE;YAChE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,EAAE;SACjE;KACF;CACF,CAAC","file":"gauge.js","sourcesContent":["export const gaugeSpec = {\n type: 'gauge',\n data: [\n {\n id: 'id0',\n values: [\n {\n type: '目标A',\n value: 45\n }\n ]\n }\n ],\n categoryField: 'type',\n valueField: 'value',\n outerRadius: 0.8,\n innerRadius: 0.7,\n startAngle: -180,\n endAngle: 0,\n centerY: '60%',\n indicator: [\n {\n visible: true,\n title: {\n style: {\n text: '45',\n fontSize: 60,\n fontWeight: 800\n }\n }\n }\n ],\n axes: [\n {\n type: 'linear',\n orient: 'angle',\n min: 0,\n max: 50,\n offset: 20,\n radius: 0.81,\n grid: { visible: false },\n tick: { visible: true, tickSize: 5, style: { lineWidth: 1 } },\n subTick: { visible: true, tickSize: 3, style: { lineWidth: 1 } },\n label: { visible: true, style: { fill: 'black', fontSize: 12 } }\n }\n ]\n};\n"]}
|
|
@@ -26,6 +26,12 @@ import { ringSpec } from "../spec/ring";
|
|
|
26
26
|
|
|
27
27
|
import { scatterSpec } from "../spec/scatter";
|
|
28
28
|
|
|
29
|
+
import { funnelSpec } from "../spec/funnel";
|
|
30
|
+
|
|
31
|
+
import { CombinationSpec } from "../spec/combination";
|
|
32
|
+
|
|
33
|
+
import { businessFunnelSpec } from "../spec/businessFunnel";
|
|
34
|
+
|
|
29
35
|
export const charts = [ {
|
|
30
36
|
title: "Line Chart",
|
|
31
37
|
spec: lineSpec,
|
|
@@ -85,5 +91,17 @@ export const charts = [ {
|
|
|
85
91
|
title: "Horizontal Funnel",
|
|
86
92
|
spec: horizontalFunnelSpec,
|
|
87
93
|
fileName: "funnelHorizontal"
|
|
94
|
+
}, {
|
|
95
|
+
title: "漏斗图",
|
|
96
|
+
spec: funnelSpec,
|
|
97
|
+
fileName: "funnel"
|
|
98
|
+
}, {
|
|
99
|
+
title: "基础组合图",
|
|
100
|
+
spec: CombinationSpec,
|
|
101
|
+
fileName: "combination"
|
|
102
|
+
}, {
|
|
103
|
+
title: "业务漏斗图",
|
|
104
|
+
spec: businessFunnelSpec,
|
|
105
|
+
fileName: "businessFunnel"
|
|
88
106
|
} ];
|
|
89
107
|
//# sourceMappingURL=chart-list.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/vchart-chart-hub-theme/chart-list.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MA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AK,EAAE,KAAK;QACZ,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,QAAQ;KACnB;IACD;QACE,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,eAAe;QACrB,QAAQ,EAAE,aAAa;KACxB;IACD;QACE,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,kBAAkB;QACxB,QAAQ,EAAE,gBAAgB;KAC3B;CACF,CAAC","file":"chart-list.js","sourcesContent":["import type { IChartInfo } from '../interface';\nimport { areaSpec } from '../spec/area';\nimport { barGroupSpec } from '../spec/barGroup';\nimport { barGroupHorizontalSpec } from '../spec/barGroupHorizontal';\nimport { barStackedSpec } from '../spec/barStacked';\nimport { barStackedHorizontalSpec } from '../spec/barStackedHorizontal';\nimport { horizontalFunnelSpec } from '../spec/funnelHorizontal';\nimport { gaugeSpec } from '../spec/gauge';\nimport { horizontalBarSpec } from '../spec/horizontalBar';\nimport { indicatorSankeySpec } from '../spec/indicatorSankey';\nimport { lineSpec } from '../spec/line';\nimport { pieSpec } from '../spec/pie';\nimport { radarSpec } from '../spec/radar';\nimport { ringSpec } from '../spec/ring';\nimport { scatterSpec } from '../spec/scatter';\nimport { funnelSpec } from '../spec/funnel';\nimport { CombinationSpec } from '../spec/combination';\nimport { businessFunnelSpec } from '../spec/businessFunnel';\n\nexport const charts: IChartInfo[] = [\n {\n title: 'Line Chart',\n spec: lineSpec,\n fileName: 'line'\n },\n {\n title: 'Area Chart',\n spec: areaSpec,\n fileName: 'area'\n },\n {\n title: 'Grouped Bar Chart',\n spec: barGroupSpec,\n fileName: 'barGroup'\n },\n {\n title: 'Stacked Bar Chart',\n spec: barStackedSpec,\n fileName: 'barStacked'\n },\n {\n title: 'Horizontal Grouped Bar Chart',\n spec: barGroupHorizontalSpec,\n fileName: 'barGroupHorizontal'\n },\n {\n title: 'Horizontal Stacked Bar Chart',\n spec: barStackedHorizontalSpec,\n fileName: 'barStackedHorizontal'\n },\n {\n title: 'Pie Chart',\n spec: pieSpec,\n fileName: 'pie'\n },\n {\n title: 'Ring Chart',\n spec: ringSpec,\n fileName: 'ring'\n },\n {\n title: 'Gauge Chart',\n spec: gaugeSpec,\n fileName: 'gauge'\n },\n {\n title: 'Horizontal Bar Chart',\n spec: horizontalBarSpec,\n fileName: 'horizontalBar'\n },\n {\n title: 'Scatter Chart',\n spec: scatterSpec,\n fileName: 'scatter'\n },\n {\n title: 'Radar Chart',\n spec: radarSpec,\n fileName: 'radar'\n },\n {\n title: 'Indicator Sankey Chart',\n spec: indicatorSankeySpec,\n fileName: 'indicatorSankey',\n option: {\n enableHtmlAttribute: true\n }\n },\n {\n title: 'Horizontal Funnel',\n spec: horizontalFunnelSpec,\n fileName: 'funnelHorizontal'\n },\n {\n title: '漏斗图',\n spec: funnelSpec,\n fileName: 'funnel'\n },\n {\n title: '基础组合图',\n spec: CombinationSpec,\n fileName: 'combination'\n },\n {\n title: '业务漏斗图',\n spec: businessFunnelSpec,\n fileName: 'businessFunnel'\n }\n];\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/vchart-theme-demo-component",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"description": "theme demo page in vchart site",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "cjs/index.js",
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
"@douyinfe/semi-icons": "latest",
|
|
16
16
|
"@douyinfe/semi-icons-lab": "latest",
|
|
17
17
|
"@arco-design/web-react": "^2.32.2",
|
|
18
|
-
"@visactor/vchart-theme-utils": "1.
|
|
19
|
-
"@visactor/vchart-theme": "1.
|
|
20
|
-
"@visactor/vchart": "1.11.6",
|
|
21
|
-
"@visactor/react-vchart": "1.11.0"
|
|
18
|
+
"@visactor/vchart-theme-utils": "1.12.0",
|
|
19
|
+
"@visactor/vchart-theme": "1.12.0"
|
|
22
20
|
},
|
|
23
21
|
"peerDependencies": {
|
|
24
22
|
"react": ">=16.0.0",
|
|
25
|
-
"react-dom": ">=16.0.0"
|
|
23
|
+
"react-dom": ">=16.0.0",
|
|
24
|
+
"@visactor/vchart": ">=1.10.4",
|
|
25
|
+
"@visactor/react-vchart": ">=1.10.4"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@rushstack/eslint-patch": "~1.1.4",
|
|
@@ -38,10 +38,12 @@
|
|
|
38
38
|
"@types/jest": "~29.5.0",
|
|
39
39
|
"@types/offscreencanvas": "2019.6.4",
|
|
40
40
|
"@types/node": "*",
|
|
41
|
-
"@
|
|
41
|
+
"@visactor/vchart": "1.12.1",
|
|
42
|
+
"@visactor/react-vchart": "1.12.1",
|
|
42
43
|
"@internal/eslint-config": "0.0.1",
|
|
43
|
-
"@internal/
|
|
44
|
-
"@internal/jest-config": "0.0.1"
|
|
44
|
+
"@internal/bundler": "0.0.1",
|
|
45
|
+
"@internal/jest-config": "0.0.1",
|
|
46
|
+
"@internal/ts-config": "0.0.1"
|
|
45
47
|
},
|
|
46
48
|
"publishConfig": {
|
|
47
49
|
"access": "public"
|