@aura-react-comp/charts 0.3.1 → 0.4.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.
Files changed (68) hide show
  1. package/esm/charts/area-chart/index.js +27 -23
  2. package/esm/charts/bar-chart/index.js +17 -21
  3. package/esm/charts/candlestick-chart/index.js +242 -180
  4. package/esm/charts/combo-chart/index.js +8 -20
  5. package/esm/charts/funnel-chart/index.js +133 -108
  6. package/esm/charts/gauge-chart/index.js +102 -105
  7. package/esm/charts/graph-chart/index.js +154 -114
  8. package/esm/charts/heatmap-chart/index.js +179 -135
  9. package/esm/charts/line-chart/index.js +28 -24
  10. package/esm/charts/pie-chart/index.d.ts.map +1 -1
  11. package/esm/charts/pie-chart/index.js +198 -139
  12. package/esm/charts/radar-chart/index.d.ts.map +1 -1
  13. package/esm/charts/radar-chart/index.js +154 -128
  14. package/esm/charts/ring-progress/index.js +81 -82
  15. package/esm/charts/sankey-chart/index.js +171 -141
  16. package/esm/charts/scatter-chart/index.d.ts.map +1 -1
  17. package/esm/charts/scatter-chart/index.js +225 -159
  18. package/esm/charts/sparkline/index.js +81 -66
  19. package/esm/charts/tree-chart/index.js +128 -102
  20. package/esm/charts/treemap-chart/index.js +162 -141
  21. package/esm/charts/waterfall-chart/index.js +165 -121
  22. package/esm/components/Legend.d.ts +3 -2
  23. package/esm/components/Legend.d.ts.map +1 -1
  24. package/esm/components/Legend.js +79 -48
  25. package/esm/components/Tooltip.js +62 -71
  26. package/esm/components/chart/index.d.ts +4 -1
  27. package/esm/components/chart/index.d.ts.map +1 -1
  28. package/esm/components/chart/index.js +80 -102
  29. package/esm/components/chart.less +13 -0
  30. package/esm/core/animation.js +31 -43
  31. package/esm/core/export.d.ts +34 -0
  32. package/esm/core/export.d.ts.map +1 -0
  33. package/esm/core/export.js +390 -0
  34. package/esm/core/force.js +22 -45
  35. package/esm/core/format.js +48 -52
  36. package/esm/core/hierarchy.js +60 -92
  37. package/esm/core/layout.js +32 -50
  38. package/esm/core/sampling.js +30 -53
  39. package/esm/core/sankey.js +35 -55
  40. package/esm/core/scale.js +72 -86
  41. package/esm/core/shape.js +101 -133
  42. package/esm/core/sync.d.ts +41 -0
  43. package/esm/core/sync.d.ts.map +1 -0
  44. package/esm/core/sync.js +120 -0
  45. package/esm/hooks/useChartExport.d.ts +19 -0
  46. package/esm/hooks/useChartExport.d.ts.map +1 -0
  47. package/esm/hooks/useChartExport.js +35 -0
  48. package/esm/hooks/useChartTheme.js +17 -19
  49. package/esm/hooks/useChartTransition.js +58 -73
  50. package/esm/hooks/useElementSize.js +19 -28
  51. package/esm/hooks/usePlotPointer.d.ts +23 -0
  52. package/esm/hooks/usePlotPointer.d.ts.map +1 -0
  53. package/esm/hooks/usePlotPointer.js +94 -0
  54. package/esm/index.d.ts +6 -0
  55. package/esm/index.d.ts.map +1 -1
  56. package/esm/index.js +136 -47
  57. package/esm/internal/CartesianChart.d.ts.map +1 -1
  58. package/esm/internal/CartesianChart.js +666 -485
  59. package/esm/internal/model.js +44 -60
  60. package/esm/scene/canvas.js +100 -107
  61. package/esm/scene/svg.js +106 -99
  62. package/esm/scene/types.js +8 -15
  63. package/esm/style.css +10 -0
  64. package/esm/theme/index.js +143 -171
  65. package/esm/types.d.ts +4 -0
  66. package/esm/types.d.ts.map +1 -1
  67. package/esm/types.js +0 -1
  68. package/package.json +1 -1
@@ -1,31 +1,30 @@
1
1
  'use client';
2
- import React, { useMemo, useState } from 'react';
3
- import { classNames, prefixCls } from '@aura-react-comp/shared';
2
+ // src/charts/sankey-chart/index.tsx
3
+ import { useMemo, useState } from "react";
4
+ import { classNames, prefixCls } from "@aura-react-comp/shared";
4
5
  import { SvgScene } from "../../scene/svg";
5
- import { formatNumber, formatPercent, estimateTextWidth } from "../../core/format";
6
+ import {
7
+ formatNumber,
8
+ formatPercent,
9
+ estimateTextWidth
10
+ } from "../../core/format";
6
11
  import { withAlpha } from "../../theme";
7
- import { layoutSankey } from "../../core/sankey";
12
+ import {
13
+ layoutSankey
14
+ } from "../../core/sankey";
8
15
  import { useChartTheme } from "../../hooks/useChartTheme";
9
16
  import { useElementSize } from "../../hooks/useElementSize";
10
17
  import { useChartTransition } from "../../hooks/useChartTransition";
11
18
  import { resolveAnimation, staggerProgress } from "../../core/animation";
12
19
  import { Tooltip } from "../../components/Tooltip";
13
- import { jsx as _jsx } from "react/jsx-runtime";
14
- import { jsxs as _jsxs } from "react/jsx-runtime";
15
- /**
16
- * 桑基图。
17
- *
18
- * 用带宽编码流量,用节点位置编码阶段,一眼能看出「东西从哪来、到哪去、路上漏了多少」。
19
- *
20
- * 与漏斗图的区别:漏斗只能表达单链路层层递减,桑基能表达分流与合流。
21
- */
22
- export function SankeyChart({
20
+ import { jsx, jsxs } from "react/jsx-runtime";
21
+ function SankeyChart({
23
22
  nodes: nodesProp,
24
23
  links = [],
25
24
  nodeWidth = 12,
26
25
  nodeGap = 10,
27
26
  showValue = true,
28
- width = '100%',
27
+ width = "100%",
29
28
  height = 360,
30
29
  theme: themeInput,
31
30
  palette,
@@ -34,79 +33,94 @@ export function SankeyChart({
34
33
  className,
35
34
  style,
36
35
  ariaLabel,
37
- emptyText = '暂无数据'
36
+ emptyText = "暂无数据"
38
37
  }) {
39
38
  const theme = useChartTheme(themeInput, palette);
40
- const {
41
- ref,
42
- size
43
- } = useElementSize();
39
+ const { ref, size } = useElementSize();
44
40
  const [activeLink, setActiveLink] = useState(null);
45
41
  const [activeNode, setActiveNode] = useState(null);
46
- const animKey = typeof animation === 'object' ? JSON.stringify(animation) : String(animation);
47
- const animConfig = useMemo(() => resolveAnimation(animation),
48
- // eslint-disable-next-line react-hooks/exhaustive-deps
49
- [animKey]);
50
-
51
- /** 只给 links 时,按出现顺序补出节点 */
42
+ const animKey = typeof animation === "object" ? JSON.stringify(animation) : String(animation);
43
+ const animConfig = useMemo(
44
+ () => resolveAnimation(animation),
45
+ // eslint-disable-next-line react-hooks/exhaustive-deps
46
+ [animKey]
47
+ );
52
48
  const nodes = useMemo(() => {
53
- if (nodesProp?.length) return nodesProp;
54
- const seen = new Set();
49
+ if (nodesProp == null ? void 0 : nodesProp.length)
50
+ return nodesProp;
51
+ const seen = /* @__PURE__ */ new Set();
55
52
  const derived = [];
56
53
  for (const link of links) {
57
54
  if (!seen.has(link.source)) {
58
55
  seen.add(link.source);
59
- derived.push({
60
- name: link.source
61
- });
56
+ derived.push({ name: link.source });
62
57
  }
63
58
  if (!seen.has(link.target)) {
64
59
  seen.add(link.target);
65
- derived.push({
66
- name: link.target
67
- });
60
+ derived.push({ name: link.target });
68
61
  }
69
62
  }
70
63
  return derived;
71
64
  }, [nodesProp, links]);
72
- const total = useMemo(() => links.reduce((sum, link) => sum + (link.value || 0), 0) || 1, [links]);
73
-
74
- // 左右各留出标签空间
65
+ const total = useMemo(
66
+ () => links.reduce((sum, link) => sum + (link.value || 0), 0) || 1,
67
+ [links]
68
+ );
75
69
  const labelSpace = 92;
76
- const layout = useMemo(() => layoutSankey(nodes, links, {
77
- x: labelSpace,
78
- y: 12,
79
- width: Math.max(0, size.width - labelSpace * 2),
80
- height: Math.max(0, size.height - 24)
81
- }, {
82
- nodeWidth,
83
- nodeGap,
84
- colorOf: (layer, index) => theme.palette[(layer * 2 + index) % theme.palette.length]
85
- }), [nodes, links, size.width, size.height, nodeWidth, nodeGap, theme.palette]);
86
- const valueMatrix = useMemo(() => [layout.links.map(link => Math.round(link.value))], [layout.links]);
70
+ const layout = useMemo(
71
+ () => layoutSankey(
72
+ nodes,
73
+ links,
74
+ {
75
+ x: labelSpace,
76
+ y: 12,
77
+ width: Math.max(0, size.width - labelSpace * 2),
78
+ height: Math.max(0, size.height - 24)
79
+ },
80
+ {
81
+ nodeWidth,
82
+ nodeGap,
83
+ colorOf: (layer, index) => theme.palette[(layer * 2 + index) % theme.palette.length]
84
+ }
85
+ ),
86
+ [nodes, links, size.width, size.height, nodeWidth, nodeGap, theme.palette]
87
+ );
88
+ const valueMatrix = useMemo(
89
+ () => [layout.links.map((link) => Math.round(link.value))],
90
+ [layout.links]
91
+ );
87
92
  const progress = useChartTransition(valueMatrix, animConfig).progress;
88
93
  const scene = useMemo(() => {
89
- if (!layout.nodes.length || size.width <= 0) return [];
90
- const nodes = [];
91
-
92
- // 链接先画,节点压在上面
94
+ if (!layout.nodes.length || size.width <= 0)
95
+ return [];
96
+ const nodes2 = [];
93
97
  layout.links.forEach((link, index) => {
94
- const local = staggerProgress(progress, link.source.layer, layout.layers, animConfig.stagger);
95
- const isActive = activeLink?.source.name === link.source.name && activeLink?.target.name === link.target.name && activeLink.value === link.value;
96
- nodes.push({
97
- kind: 'path',
98
+ const local = staggerProgress(
99
+ progress,
100
+ link.source.layer,
101
+ layout.layers,
102
+ animConfig.stagger
103
+ );
104
+ const isActive = (activeLink == null ? void 0 : activeLink.source.name) === link.source.name && (activeLink == null ? void 0 : activeLink.target.name) === link.target.name && activeLink.value === link.value;
105
+ nodes2.push({
106
+ kind: "path",
98
107
  key: `link-${index}`,
99
108
  d: link.d,
100
109
  fill: withAlpha(link.color, isActive ? 0.55 : 0.26),
101
110
  opacity: local,
102
- pointerEvents: 'none'
111
+ pointerEvents: "none"
103
112
  });
104
113
  });
105
114
  layout.nodes.forEach((node, index) => {
106
- const local = staggerProgress(progress, node.layer, layout.layers, animConfig.stagger);
115
+ const local = staggerProgress(
116
+ progress,
117
+ node.layer,
118
+ layout.layers,
119
+ animConfig.stagger
120
+ );
107
121
  const isActive = activeNode === node.name;
108
- nodes.push({
109
- kind: 'rect',
122
+ nodes2.push({
123
+ kind: "rect",
110
124
  key: `node-${node.name}`,
111
125
  x: node.x,
112
126
  y: node.y,
@@ -114,32 +128,28 @@ export function SankeyChart({
114
128
  height: Math.max(2, node.height * local),
115
129
  radius: 2,
116
130
  fill: node.color,
117
- stroke: isActive ? theme.text.primary : undefined,
131
+ stroke: isActive ? theme.text.primary : void 0,
118
132
  strokeWidth: isActive ? 2 : 0,
119
- pointerEvents: 'none'
133
+ pointerEvents: "none"
120
134
  });
121
-
122
- // 首尾两列标签放节点外侧,中间列放内侧;内侧会被色带压住,
123
- // 所以文字统一带白色光晕
124
135
  const isLastLayer = node.layer === layout.layers - 1;
125
136
  const onLeft = node.layer === 0 || isLastLayer;
126
137
  const labelX = onLeft ? node.x - 8 : node.x + node.width + 8;
127
138
  const maxLabelWidth = onLeft ? labelX - 4 : size.width - labelX - 4;
128
- if (maxLabelWidth < 24) return;
129
- const label = showValue && node.layer === layout.layers - 1 ? `${node.name} ${formatNumber(node.value, {
130
- compact: true
131
- })}` : node.name;
139
+ if (maxLabelWidth < 24)
140
+ return;
141
+ const label = showValue && node.layer === layout.layers - 1 ? `${node.name} ${formatNumber(node.value, { compact: true })}` : node.name;
132
142
  const text = estimateTextWidth(label, theme.font.size) > maxLabelWidth ? `${label.slice(0, Math.max(2, Math.floor(maxLabelWidth / theme.font.size)))}…` : label;
133
- nodes.push({
134
- kind: 'text',
143
+ nodes2.push({
144
+ kind: "text",
135
145
  key: `node-label-${node.name}-${index}`,
136
146
  x: labelX,
137
147
  y: node.y + node.height / 2,
138
148
  text,
139
149
  fill: isActive ? theme.text.primary : theme.text.secondary,
140
150
  fontSize: theme.font.size,
141
- anchor: onLeft ? 'end' : 'start',
142
- baseline: 'middle',
151
+ anchor: onLeft ? "end" : "start",
152
+ baseline: "middle",
143
153
  opacity: local,
144
154
  fontFamily: theme.font.family,
145
155
  // 光晕:文字压在色带上也读得清
@@ -147,16 +157,24 @@ export function SankeyChart({
147
157
  strokeWidth: 3
148
158
  });
149
159
  });
150
- return nodes;
151
- }, [layout, size.width, theme, progress, animConfig.stagger, activeLink, activeNode, showValue]);
160
+ return nodes2;
161
+ }, [
162
+ layout,
163
+ size.width,
164
+ theme,
165
+ progress,
166
+ animConfig.stagger,
167
+ activeLink,
168
+ activeNode,
169
+ showValue
170
+ ]);
152
171
  const linkFromPointer = (clientX, clientY) => {
153
172
  const element = ref.current;
154
- if (!element) return null;
173
+ if (!element)
174
+ return null;
155
175
  const rect = element.getBoundingClientRect();
156
176
  const x = clientX - rect.left;
157
177
  const y = clientY - rect.top;
158
-
159
- // 节点优先
160
178
  for (const node of layout.nodes) {
161
179
  if (x >= node.x - 2 && x <= node.x + node.width + 2 && y >= node.y && y <= node.y + node.height) {
162
180
  setActiveNode(node.name);
@@ -164,85 +182,97 @@ export function SankeyChart({
164
182
  }
165
183
  }
166
184
  setActiveNode(null);
167
-
168
- // 链接:按 x 在两端之间做线性插值,得到该处的带状区间
169
185
  for (const link of layout.links) {
170
186
  const x0 = link.source.x + link.source.width;
171
187
  const x1 = link.target.x;
172
- if (x < x0 || x > x1 || x1 <= x0) continue;
188
+ if (x < x0 || x > x1 || x1 <= x0)
189
+ continue;
173
190
  const ratio = (x - x0) / (x1 - x0);
174
191
  const top = link.sourceY + (link.targetY - link.sourceY) * ratio;
175
192
  const thickness = link.sourceThickness + (link.targetThickness - link.sourceThickness) * ratio;
176
- if (y >= top && y <= top + thickness) return link;
193
+ if (y >= top && y <= top + thickness)
194
+ return link;
177
195
  }
178
196
  return null;
179
197
  };
180
198
  const tooltipPayload = activeLink ? {
181
199
  label: `${activeLink.source.name} → ${activeLink.target.name}`,
182
200
  row: null,
183
- series: [{
184
- key: 'value',
185
- name: '流量',
186
- color: activeLink.color,
187
- value: activeLink.value,
188
- formatted: `${formatNumber(activeLink.value, {
189
- compact: true
190
- })}(${formatPercent(activeLink.value, total, 1)})`
191
- }]
201
+ series: [
202
+ {
203
+ key: "value",
204
+ name: "流量",
205
+ color: activeLink.color,
206
+ value: activeLink.value,
207
+ formatted: `${formatNumber(activeLink.value, { compact: true })}(${formatPercent(activeLink.value, total, 1)})`
208
+ }
209
+ ]
192
210
  } : activeNode ? (() => {
193
- const node = layout.nodes.find(item => item.name === activeNode);
194
- if (!node) return null;
211
+ const node = layout.nodes.find((item) => item.name === activeNode);
212
+ if (!node)
213
+ return null;
195
214
  return {
196
215
  label: node.name,
197
216
  row: null,
198
- series: [{
199
- key: 'value',
200
- name: '流量',
201
- color: node.color,
202
- value: node.value,
203
- formatted: formatNumber(node.value, {
204
- compact: true
205
- })
206
- }]
217
+ series: [
218
+ {
219
+ key: "value",
220
+ name: "流量",
221
+ color: node.color,
222
+ value: node.value,
223
+ formatted: formatNumber(node.value, { compact: true })
224
+ }
225
+ ]
207
226
  };
208
227
  })() : null;
209
228
  const autoAriaLabel = ariaLabel ?? `桑基图:${layout.nodes.length} 个节点,${layout.links.length} 条流向`;
210
- return /*#__PURE__*/_jsx("div", {
211
- className: classNames(prefixCls('chart'), className),
212
- style: {
213
- width,
214
- height,
215
- ...style
216
- },
217
- "data-aura-chart": "sankey",
218
- children: /*#__PURE__*/_jsxs("div", {
219
- ref: ref,
220
- className: prefixCls('chart__plot'),
221
- onPointerMove: event => {
222
- const link = linkFromPointer(event.clientX, event.clientY);
223
- setActiveLink(link);
224
- },
225
- onPointerLeave: () => {
226
- setActiveLink(null);
227
- setActiveNode(null);
228
- },
229
- children: [!layout.nodes.length || size.width === 0 ? /*#__PURE__*/_jsx("div", {
230
- className: prefixCls('chart__empty'),
231
- children: emptyText
232
- }) : /*#__PURE__*/_jsx(SvgScene, {
233
- nodes: scene,
234
- width: size.width,
235
- height: size.height,
236
- ariaLabel: autoAriaLabel
237
- }), /*#__PURE__*/_jsx(Tooltip, {
238
- payload: tooltipPayload,
239
- x: activeLink ? (activeLink.source.x + activeLink.target.x) / 2 : size.width / 2,
240
- y: 12,
241
- containerWidth: size.width,
242
- containerHeight: size.height,
243
- theme: theme,
244
- config: tooltip
245
- })]
246
- })
247
- });
248
- }
229
+ return /* @__PURE__ */ jsx(
230
+ "div",
231
+ {
232
+ className: classNames(prefixCls("chart"), className),
233
+ style: { width, height, ...style },
234
+ "data-aura-chart": "sankey",
235
+ children: /* @__PURE__ */ jsxs(
236
+ "div",
237
+ {
238
+ ref,
239
+ className: prefixCls("chart__plot"),
240
+ onPointerMove: (event) => {
241
+ const link = linkFromPointer(event.clientX, event.clientY);
242
+ setActiveLink(link);
243
+ },
244
+ onPointerLeave: () => {
245
+ setActiveLink(null);
246
+ setActiveNode(null);
247
+ },
248
+ children: [
249
+ !layout.nodes.length || size.width === 0 ? /* @__PURE__ */ jsx("div", { className: prefixCls("chart__empty"), children: emptyText }) : /* @__PURE__ */ jsx(
250
+ SvgScene,
251
+ {
252
+ nodes: scene,
253
+ width: size.width,
254
+ height: size.height,
255
+ ariaLabel: autoAriaLabel
256
+ }
257
+ ),
258
+ /* @__PURE__ */ jsx(
259
+ Tooltip,
260
+ {
261
+ payload: tooltipPayload,
262
+ x: activeLink ? (activeLink.source.x + activeLink.target.x) / 2 : size.width / 2,
263
+ y: 12,
264
+ containerWidth: size.width,
265
+ containerHeight: size.height,
266
+ theme,
267
+ config: tooltip
268
+ }
269
+ )
270
+ ]
271
+ }
272
+ )
273
+ }
274
+ );
275
+ }
276
+ export {
277
+ SankeyChart
278
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAO9E,OAAO,EAAW,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAO5D,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,6BAA6B,CAAC;AAErC,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,YAAY,EAAE,CAAC;IACtB,eAAe;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,YAAY,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC;IAChC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