@silverpoint/react 0.3.0 → 0.6.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/README.md +27 -2
- package/dist/beeswarm-chart.d.ts +10 -0
- package/dist/beeswarm-chart.js +11 -0
- package/dist/beeswarm-chart.js.map +1 -0
- package/dist/box-plot-chart.d.ts +10 -0
- package/dist/box-plot-chart.js +11 -0
- package/dist/box-plot-chart.js.map +1 -0
- package/dist/bump-chart.d.ts +10 -0
- package/dist/bump-chart.js +11 -0
- package/dist/bump-chart.js.map +1 -0
- package/dist/chunk-3JXO2533.js +13 -0
- package/dist/chunk-3JXO2533.js.map +1 -0
- package/dist/chunk-4CDW7VWK.js +13 -0
- package/dist/chunk-4CDW7VWK.js.map +1 -0
- package/dist/chunk-4DG5NJWM.js +13 -0
- package/dist/chunk-4DG5NJWM.js.map +1 -0
- package/dist/chunk-5FYPFU6B.js +13 -0
- package/dist/chunk-5FYPFU6B.js.map +1 -0
- package/dist/chunk-6P5Z6IRH.js +13 -0
- package/dist/chunk-6P5Z6IRH.js.map +1 -0
- package/dist/chunk-7EH4NGBM.js +13 -0
- package/dist/chunk-7EH4NGBM.js.map +1 -0
- package/dist/chunk-BJZOF2YZ.js +13 -0
- package/dist/chunk-BJZOF2YZ.js.map +1 -0
- package/dist/chunk-CNRSQPRE.js +13 -0
- package/dist/chunk-CNRSQPRE.js.map +1 -0
- package/dist/chunk-DGZN27CF.js +13 -0
- package/dist/chunk-DGZN27CF.js.map +1 -0
- package/dist/chunk-DWXG7WLM.js +13 -0
- package/dist/chunk-DWXG7WLM.js.map +1 -0
- package/dist/chunk-E7OSOGUT.js +13 -0
- package/dist/chunk-E7OSOGUT.js.map +1 -0
- package/dist/chunk-IHWEQR42.js +13 -0
- package/dist/chunk-IHWEQR42.js.map +1 -0
- package/dist/chunk-INHBSJZX.js +13 -0
- package/dist/chunk-INHBSJZX.js.map +1 -0
- package/dist/chunk-K4YKDPDJ.js +13 -0
- package/dist/chunk-K4YKDPDJ.js.map +1 -0
- package/dist/chunk-KOWQNNTS.js +13 -0
- package/dist/chunk-KOWQNNTS.js.map +1 -0
- package/dist/chunk-L65CMJRG.js +13 -0
- package/dist/chunk-L65CMJRG.js.map +1 -0
- package/dist/chunk-LPKOFXAA.js +13 -0
- package/dist/chunk-LPKOFXAA.js.map +1 -0
- package/dist/chunk-M3MZMHGS.js +13 -0
- package/dist/chunk-M3MZMHGS.js.map +1 -0
- package/dist/chunk-MS5BH6TU.js +13 -0
- package/dist/chunk-MS5BH6TU.js.map +1 -0
- package/dist/chunk-NEOD2DSH.js +13 -0
- package/dist/chunk-NEOD2DSH.js.map +1 -0
- package/dist/chunk-OSDENB6W.js +13 -0
- package/dist/chunk-OSDENB6W.js.map +1 -0
- package/dist/chunk-R7AKJYNB.js +13 -0
- package/dist/chunk-R7AKJYNB.js.map +1 -0
- package/dist/chunk-SNWXRA2D.js +13 -0
- package/dist/chunk-SNWXRA2D.js.map +1 -0
- package/dist/chunk-T2IYBDCL.js +28 -0
- package/dist/chunk-T2IYBDCL.js.map +1 -0
- package/dist/chunk-UC7ADKFU.js +13 -0
- package/dist/chunk-UC7ADKFU.js.map +1 -0
- package/dist/chunk-XQTZOVFF.js +13 -0
- package/dist/chunk-XQTZOVFF.js.map +1 -0
- package/dist/chunk-Y4V5AZ32.js +13 -0
- package/dist/chunk-Y4V5AZ32.js.map +1 -0
- package/dist/chunk-YRRWP5HL.js +13 -0
- package/dist/chunk-YRRWP5HL.js.map +1 -0
- package/dist/connected-scatter-chart.d.ts +10 -0
- package/dist/connected-scatter-chart.js +11 -0
- package/dist/connected-scatter-chart.js.map +1 -0
- package/dist/contour-chart.d.ts +10 -0
- package/dist/contour-chart.js +11 -0
- package/dist/contour-chart.js.map +1 -0
- package/dist/delaunay-chart.d.ts +10 -0
- package/dist/delaunay-chart.js +11 -0
- package/dist/delaunay-chart.js.map +1 -0
- package/dist/density-bin-chart.d.ts +10 -0
- package/dist/density-bin-chart.js +11 -0
- package/dist/density-bin-chart.js.map +1 -0
- package/dist/diverging-bar-chart.d.ts +10 -0
- package/dist/diverging-bar-chart.js +11 -0
- package/dist/diverging-bar-chart.js.map +1 -0
- package/dist/drillable-C_86b56V.d.ts +7 -0
- package/dist/dumbbell-chart.d.ts +10 -0
- package/dist/dumbbell-chart.js +11 -0
- package/dist/dumbbell-chart.js.map +1 -0
- package/dist/ecdf-chart.d.ts +10 -0
- package/dist/ecdf-chart.js +11 -0
- package/dist/ecdf-chart.js.map +1 -0
- package/dist/error-bar-chart.d.ts +10 -0
- package/dist/error-bar-chart.js +11 -0
- package/dist/error-bar-chart.js.map +1 -0
- package/dist/histogram-chart.d.ts +10 -0
- package/dist/histogram-chart.js +11 -0
- package/dist/histogram-chart.js.map +1 -0
- package/dist/index.d.ts +29 -1
- package/dist/index.js +109 -0
- package/dist/index.js.map +1 -1
- package/dist/interval-chart.d.ts +10 -0
- package/dist/interval-chart.js +11 -0
- package/dist/interval-chart.js.map +1 -0
- package/dist/lollipop-chart.d.ts +10 -0
- package/dist/lollipop-chart.js +11 -0
- package/dist/lollipop-chart.js.map +1 -0
- package/dist/marimekko-chart.d.ts +10 -0
- package/dist/marimekko-chart.js +11 -0
- package/dist/marimekko-chart.js.map +1 -0
- package/dist/network-chart.d.ts +10 -0
- package/dist/network-chart.js +11 -0
- package/dist/network-chart.js.map +1 -0
- package/dist/parallel-coordinates-chart.d.ts +10 -0
- package/dist/parallel-coordinates-chart.js +11 -0
- package/dist/parallel-coordinates-chart.js.map +1 -0
- package/dist/polar-line-chart.d.ts +10 -0
- package/dist/polar-line-chart.js +11 -0
- package/dist/polar-line-chart.js.map +1 -0
- package/dist/polar-scatter-chart.d.ts +10 -0
- package/dist/polar-scatter-chart.js +11 -0
- package/dist/polar-scatter-chart.js.map +1 -0
- package/dist/ridgeline-chart.d.ts +10 -0
- package/dist/ridgeline-chart.js +11 -0
- package/dist/ridgeline-chart.js.map +1 -0
- package/dist/server/beeswarm-chart.d.ts +19 -0
- package/dist/server/beeswarm-chart.js +11 -0
- package/dist/server/beeswarm-chart.js.map +1 -0
- package/dist/server/box-plot-chart.d.ts +19 -0
- package/dist/server/box-plot-chart.js +11 -0
- package/dist/server/box-plot-chart.js.map +1 -0
- package/dist/server/bump-chart.d.ts +19 -0
- package/dist/server/bump-chart.js +11 -0
- package/dist/server/bump-chart.js.map +1 -0
- package/dist/server/connected-scatter-chart.d.ts +19 -0
- package/dist/server/connected-scatter-chart.js +11 -0
- package/dist/server/connected-scatter-chart.js.map +1 -0
- package/dist/server/contour-chart.d.ts +19 -0
- package/dist/server/contour-chart.js +11 -0
- package/dist/server/contour-chart.js.map +1 -0
- package/dist/server/delaunay-chart.d.ts +19 -0
- package/dist/server/delaunay-chart.js +11 -0
- package/dist/server/delaunay-chart.js.map +1 -0
- package/dist/server/density-bin-chart.d.ts +19 -0
- package/dist/server/density-bin-chart.js +11 -0
- package/dist/server/density-bin-chart.js.map +1 -0
- package/dist/server/diverging-bar-chart.d.ts +19 -0
- package/dist/server/diverging-bar-chart.js +11 -0
- package/dist/server/diverging-bar-chart.js.map +1 -0
- package/dist/server/dumbbell-chart.d.ts +19 -0
- package/dist/server/dumbbell-chart.js +11 -0
- package/dist/server/dumbbell-chart.js.map +1 -0
- package/dist/server/ecdf-chart.d.ts +19 -0
- package/dist/server/ecdf-chart.js +11 -0
- package/dist/server/ecdf-chart.js.map +1 -0
- package/dist/server/error-bar-chart.d.ts +19 -0
- package/dist/server/error-bar-chart.js +11 -0
- package/dist/server/error-bar-chart.js.map +1 -0
- package/dist/server/histogram-chart.d.ts +19 -0
- package/dist/server/histogram-chart.js +11 -0
- package/dist/server/histogram-chart.js.map +1 -0
- package/dist/server/interval-chart.d.ts +19 -0
- package/dist/server/interval-chart.js +11 -0
- package/dist/server/interval-chart.js.map +1 -0
- package/dist/server/lollipop-chart.d.ts +19 -0
- package/dist/server/lollipop-chart.js +11 -0
- package/dist/server/lollipop-chart.js.map +1 -0
- package/dist/server/marimekko-chart.d.ts +19 -0
- package/dist/server/marimekko-chart.js +11 -0
- package/dist/server/marimekko-chart.js.map +1 -0
- package/dist/server/network-chart.d.ts +19 -0
- package/dist/server/network-chart.js +11 -0
- package/dist/server/network-chart.js.map +1 -0
- package/dist/server/parallel-coordinates-chart.d.ts +19 -0
- package/dist/server/parallel-coordinates-chart.js +11 -0
- package/dist/server/parallel-coordinates-chart.js.map +1 -0
- package/dist/server/polar-line-chart.d.ts +19 -0
- package/dist/server/polar-line-chart.js +11 -0
- package/dist/server/polar-line-chart.js.map +1 -0
- package/dist/server/polar-scatter-chart.d.ts +19 -0
- package/dist/server/polar-scatter-chart.js +11 -0
- package/dist/server/polar-scatter-chart.js.map +1 -0
- package/dist/server/ridgeline-chart.d.ts +19 -0
- package/dist/server/ridgeline-chart.js +11 -0
- package/dist/server/ridgeline-chart.js.map +1 -0
- package/dist/server/slope-chart.d.ts +19 -0
- package/dist/server/slope-chart.js +11 -0
- package/dist/server/slope-chart.js.map +1 -0
- package/dist/server/squarified-treemap.d.ts +19 -0
- package/dist/server/squarified-treemap.js +11 -0
- package/dist/server/squarified-treemap.js.map +1 -0
- package/dist/server/sunburst-chart.d.ts +19 -0
- package/dist/server/sunburst-chart.js +11 -0
- package/dist/server/sunburst-chart.js.map +1 -0
- package/dist/server/tree-chart.d.ts +19 -0
- package/dist/server/tree-chart.js +11 -0
- package/dist/server/tree-chart.js.map +1 -0
- package/dist/server/vector-field-chart.d.ts +19 -0
- package/dist/server/vector-field-chart.js +11 -0
- package/dist/server/vector-field-chart.js.map +1 -0
- package/dist/server/violin-chart.d.ts +19 -0
- package/dist/server/violin-chart.js +11 -0
- package/dist/server/violin-chart.js.map +1 -0
- package/dist/server/waffle-chart.d.ts +19 -0
- package/dist/server/waffle-chart.js +11 -0
- package/dist/server/waffle-chart.js.map +1 -0
- package/dist/slope-chart.d.ts +10 -0
- package/dist/slope-chart.js +11 -0
- package/dist/slope-chart.js.map +1 -0
- package/dist/squarified-treemap.d.ts +11 -0
- package/dist/squarified-treemap.js +12 -0
- package/dist/squarified-treemap.js.map +1 -0
- package/dist/sunburst-chart.d.ts +11 -0
- package/dist/sunburst-chart.js +12 -0
- package/dist/sunburst-chart.js.map +1 -0
- package/dist/tree-chart.d.ts +10 -0
- package/dist/tree-chart.js +11 -0
- package/dist/tree-chart.js.map +1 -0
- package/dist/ui.js +18 -18
- package/dist/vector-field-chart.d.ts +10 -0
- package/dist/vector-field-chart.js +11 -0
- package/dist/vector-field-chart.js.map +1 -0
- package/dist/violin-chart.d.ts +10 -0
- package/dist/violin-chart.js +11 -0
- package/dist/violin-chart.js.map +1 -0
- package/dist/waffle-chart.d.ts +10 -0
- package/dist/waffle-chart.js +11 -0
- package/dist/waffle-chart.js.map +1 -0
- package/package.json +327 -3
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ drawing, with a fine silver line on a prepared ground, tone built from hatching,
|
|
|
5
5
|
heightening on the live value. The hand-drawn irregularity is only in the ornament. The data
|
|
6
6
|
geometry is exact, and every chart has a `precision` mode that turns the inking off.
|
|
7
7
|
|
|
8
|
-
-
|
|
8
|
+
- 60 charts, each importable on its own subpath so you only ship the charts you use.
|
|
9
9
|
- React 18.2+ and 19. Client components (`"use client"`) and server entry points for React
|
|
10
10
|
Server Components.
|
|
11
11
|
- Accessible: an accessible name, a hidden data table, keyboard navigation, and a
|
|
@@ -201,7 +201,7 @@ export default function Page() {
|
|
|
201
201
|
| `locale`, `numberFormat` | environment | Number formatting. |
|
|
202
202
|
| `hatchFill` | `'tile'` | `'per-shape'` gives richer hatching at a much greater weight. |
|
|
203
203
|
|
|
204
|
-
## The
|
|
204
|
+
## The 60 charts
|
|
205
205
|
|
|
206
206
|
Every chart is available as `@silverpoint/react/<kebab-case-name>` (and from the barrel
|
|
207
207
|
`@silverpoint/react`):
|
|
@@ -213,6 +213,31 @@ Every chart is available as `@silverpoint/react/<kebab-case-name>` (and from the
|
|
|
213
213
|
`BubbleChart`, `HeatmapChart`, `TreemapChart`, `SankeyChart`, `ActivityGrid`, `CoxcombChart`,
|
|
214
214
|
`WindRose`, `VolvelleChart`, `ChordRing`, `OrbitChart`.
|
|
215
215
|
|
|
216
|
+
The second catalog, for distributions, comparisons, ranks and uncertainty (since `0.6.0`):
|
|
217
|
+
|
|
218
|
+
`HistogramChart`, `EcdfChart`, `BoxPlotChart`, `ViolinChart`, `RidgelineChart`, `BeeswarmChart`,
|
|
219
|
+
`LollipopChart`, `DumbbellChart`, `SlopeChart`, `BumpChart`, `ErrorBarChart`, `IntervalChart`,
|
|
220
|
+
`DivergingBarChart`, `ConnectedScatterChart`.
|
|
221
|
+
|
|
222
|
+
Hierarchies, parts of a whole, many dimensions and polar charts (since `0.6.0`):
|
|
223
|
+
|
|
224
|
+
`WaffleChart`, `MarimekkoChart`, `SquarifiedTreemap`, `SunburstChart`, `TreeChart`,
|
|
225
|
+
`ParallelCoordinatesChart`, `PolarLineChart`, `PolarScatterChart`.
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
Fields and networks (since `0.6.0`):
|
|
229
|
+
|
|
230
|
+
`DensityBinChart`, `ContourChart`, `DelaunayChart`, `VectorFieldChart`, `NetworkChart`.
|
|
231
|
+
|
|
232
|
+
`RidgelineChart` needs `groupKey`, `DivergingBarChart` needs `levels` and `ParallelCoordinatesChart` needs `dimensions`, even with the demo dataset, which ignores them.
|
|
233
|
+
|
|
234
|
+
`SquarifiedTreemap` and `SunburstChart` drill down under your control: pass `rootId` and update it from
|
|
235
|
+
`onRootChange`, which a click, Enter or Space on a node emits with its id (its centre or frame emits
|
|
236
|
+
the parent's, `null` for the top). The chart keeps no root of its own, so it renders the same on the server.
|
|
237
|
+
|
|
238
|
+
`NetworkChart` lays out its nodes by force, the same on the server and in every browser for a given
|
|
239
|
+
`seed`; give every node in `nodes` an `x` and a `y` and it draws them there instead.
|
|
240
|
+
|
|
216
241
|
Each chart's own props (`xKey`, `valueKey`, `nameKey`…) are typed and documented in its
|
|
217
242
|
`*Props` type. The [repository](https://github.com/ecrespo/silverpoint) holds the API
|
|
218
243
|
specification and the documentation site with the gallery.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { C as ClientChart, I as InteractionProps } from './create-chart-BIG9Wtek.js';
|
|
2
|
+
import { BeeswarmChartProps } from '@silverpoint/core';
|
|
3
|
+
export { BeeswarmChartProps, ChartHandle } from '@silverpoint/core';
|
|
4
|
+
import 'react';
|
|
5
|
+
|
|
6
|
+
type ClientBeeswarmChartProps = BeeswarmChartProps & InteractionProps;
|
|
7
|
+
/** `BeeswarmChart` (REQ-405): one point per observation, packed without overlap (API Spec §7.3). */
|
|
8
|
+
declare const BeeswarmChart: ClientChart<BeeswarmChartProps>;
|
|
9
|
+
|
|
10
|
+
export { BeeswarmChart, type ClientBeeswarmChartProps, InteractionProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { C as ClientChart, I as InteractionProps } from './create-chart-BIG9Wtek.js';
|
|
2
|
+
import { BoxPlotChartProps } from '@silverpoint/core';
|
|
3
|
+
export { BoxPlotChartProps, ChartHandle } from '@silverpoint/core';
|
|
4
|
+
import 'react';
|
|
5
|
+
|
|
6
|
+
type ClientBoxPlotChartProps = BoxPlotChartProps & InteractionProps;
|
|
7
|
+
/** `BoxPlotChart` (REQ-402): quartiles, median, Tukey whiskers and outliers per group (API Spec §7.3). */
|
|
8
|
+
declare const BoxPlotChart: ClientChart<BoxPlotChartProps>;
|
|
9
|
+
|
|
10
|
+
export { BoxPlotChart, type ClientBoxPlotChartProps, InteractionProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { C as ClientChart, I as InteractionProps } from './create-chart-BIG9Wtek.js';
|
|
2
|
+
import { BumpChartProps } from '@silverpoint/core';
|
|
3
|
+
export { BumpChartProps, ChartHandle } from '@silverpoint/core';
|
|
4
|
+
import 'react';
|
|
5
|
+
|
|
6
|
+
type ClientBumpChartProps = BumpChartProps & InteractionProps;
|
|
7
|
+
/** `BumpChart` (REQ-409): the rank of each series at each x (API Spec §7.3). */
|
|
8
|
+
declare const BumpChart: ClientChart<BumpChartProps>;
|
|
9
|
+
|
|
10
|
+
export { BumpChart, type ClientBumpChartProps, InteractionProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/parallel-coordinates-chart.tsx
|
|
7
|
+
import { parallelCoordinatesChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var ParallelCoordinatesChart = createClientChart(parallelCoordinatesChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
ParallelCoordinatesChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-3JXO2533.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/parallel-coordinates-chart.tsx"],"sourcesContent":["import { parallelCoordinatesChart } from '@silverpoint/core/catalog';\nimport type { ParallelCoordinatesChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { ParallelCoordinatesChartProps } from '@silverpoint/core';\n\nexport type ClientParallelCoordinatesChartProps = ParallelCoordinatesChartProps & InteractionProps;\n\n/** `ParallelCoordinatesChart` (REQ-419): one polyline per row across parallel axes (API Spec §7.3). */\nexport const ParallelCoordinatesChart = createClientChart<ParallelCoordinatesChartProps>(parallelCoordinatesChart);\n"],"mappings":";;;;;;AAAA,SAAS,gCAAgC;AAUlC,IAAM,2BAA2B,kBAAiD,wBAAwB;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/waffle-chart.tsx
|
|
7
|
+
import { waffleChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var WaffleChart = createClientChart(waffleChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
WaffleChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-4CDW7VWK.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/waffle-chart.tsx"],"sourcesContent":["import { waffleChart } from '@silverpoint/core/catalog';\nimport type { WaffleChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { WaffleChartProps } from '@silverpoint/core';\n\nexport type ClientWaffleChartProps = WaffleChartProps & InteractionProps;\n\n/** `WaffleChart` (REQ-414): a unit grid filled in reading order by category (API Spec §7.3). */\nexport const WaffleChart = createClientChart<WaffleChartProps>(waffleChart);\n"],"mappings":";;;;;;AAAA,SAAS,mBAAmB;AAUrB,IAAM,cAAc,kBAAoC,WAAW;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/delaunay-chart.tsx
|
|
7
|
+
import { delaunayChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var DelaunayChart = createClientChart(delaunayChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
DelaunayChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-4DG5NJWM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/delaunay-chart.tsx"],"sourcesContent":["import { delaunayChart } from '@silverpoint/core/catalog';\nimport type { DelaunayChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { DelaunayChartProps } from '@silverpoint/core';\n\nexport type ClientDelaunayChartProps = DelaunayChartProps & InteractionProps;\n\n/** `DelaunayChart` (REQ-424): the triangulation of x-y points, or its Voronoi cells (API Spec §7.3). */\nexport const DelaunayChart = createClientChart<DelaunayChartProps>(delaunayChart);\n"],"mappings":";;;;;;AAAA,SAAS,qBAAqB;AAUvB,IAAM,gBAAgB,kBAAsC,aAAa;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/bump-chart.tsx
|
|
7
|
+
import { bumpChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var BumpChart = createClientChart(bumpChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
BumpChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-5FYPFU6B.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/bump-chart.tsx"],"sourcesContent":["import { bumpChart } from '@silverpoint/core/catalog';\nimport type { BumpChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { BumpChartProps } from '@silverpoint/core';\n\nexport type ClientBumpChartProps = BumpChartProps & InteractionProps;\n\n/** `BumpChart` (REQ-409): the rank of each series at each x (API Spec §7.3). */\nexport const BumpChart = createClientChart<BumpChartProps>(bumpChart);\n"],"mappings":";;;;;;AAAA,SAAS,iBAAiB;AAUnB,IAAM,YAAY,kBAAkC,SAAS;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/diverging-bar-chart.tsx
|
|
7
|
+
import { divergingBarChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var DivergingBarChart = createClientChart(divergingBarChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
DivergingBarChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-6P5Z6IRH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/diverging-bar-chart.tsx"],"sourcesContent":["import { divergingBarChart } from '@silverpoint/core/catalog';\nimport type { DivergingBarChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { DivergingBarChartProps } from '@silverpoint/core';\n\nexport type ClientDivergingBarChartProps = DivergingBarChartProps & InteractionProps;\n\n/** `DivergingBarChart` (REQ-412): ordered levels stacked on both sides of a neutral centre (API Spec §7.3). */\nexport const DivergingBarChart = createClientChart<DivergingBarChartProps>(divergingBarChart);\n"],"mappings":";;;;;;AAAA,SAAS,yBAAyB;AAU3B,IAAM,oBAAoB,kBAA0C,iBAAiB;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/network-chart.tsx
|
|
7
|
+
import { networkChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var NetworkChart = createClientChart(networkChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
NetworkChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-7EH4NGBM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/network-chart.tsx"],"sourcesContent":["import { networkChart } from '@silverpoint/core/catalog';\nimport type { NetworkChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { NetworkChartProps } from '@silverpoint/core';\n\nexport type ClientNetworkChartProps = NetworkChartProps & InteractionProps;\n\n/** `NetworkChart` (REQ-426): a node-link graph (API Spec §7.3). */\nexport const NetworkChart = createClientChart<NetworkChartProps>(networkChart);\n"],"mappings":";;;;;;AAAA,SAAS,oBAAoB;AAUtB,IAAM,eAAe,kBAAqC,YAAY;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/violin-chart.tsx
|
|
7
|
+
import { violinChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var ViolinChart = createClientChart(violinChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
ViolinChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-BJZOF2YZ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/violin-chart.tsx"],"sourcesContent":["import { violinChart } from '@silverpoint/core/catalog';\nimport type { ViolinChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { ViolinChartProps } from '@silverpoint/core';\n\nexport type ClientViolinChartProps = ViolinChartProps & InteractionProps;\n\n/** `ViolinChart` (REQ-403): a mirrored kernel density per group (API Spec §7.3). */\nexport const ViolinChart = createClientChart<ViolinChartProps>(violinChart);\n"],"mappings":";;;;;;AAAA,SAAS,mBAAmB;AAUrB,IAAM,cAAc,kBAAoC,WAAW;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/connected-scatter-chart.tsx
|
|
7
|
+
import { connectedScatterChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var ConnectedScatterChart = createClientChart(connectedScatterChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
ConnectedScatterChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-CNRSQPRE.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/connected-scatter-chart.tsx"],"sourcesContent":["import { connectedScatterChart } from '@silverpoint/core/catalog';\nimport type { ConnectedScatterChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { ConnectedScatterChartProps } from '@silverpoint/core';\n\nexport type ClientConnectedScatterChartProps = ConnectedScatterChartProps & InteractionProps;\n\n/** `ConnectedScatterChart` (REQ-413): an ordered path through x-y points (API Spec §7.3). */\nexport const ConnectedScatterChart = createClientChart<ConnectedScatterChartProps>(connectedScatterChart);\n"],"mappings":";;;;;;AAAA,SAAS,6BAA6B;AAU/B,IAAM,wBAAwB,kBAA8C,qBAAqB;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/ridgeline-chart.tsx
|
|
7
|
+
import { ridgelineChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var RidgelineChart = createClientChart(ridgelineChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
RidgelineChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-DGZN27CF.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/ridgeline-chart.tsx"],"sourcesContent":["import { ridgelineChart } from '@silverpoint/core/catalog';\nimport type { RidgelineChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { RidgelineChartProps } from '@silverpoint/core';\n\nexport type ClientRidgelineChartProps = RidgelineChartProps & InteractionProps;\n\n/** `RidgelineChart` (REQ-404): a kernel density per group on overlapping baselines (API Spec §7.3). */\nexport const RidgelineChart = createClientChart<RidgelineChartProps>(ridgelineChart);\n"],"mappings":";;;;;;AAAA,SAAS,sBAAsB;AAUxB,IAAM,iBAAiB,kBAAuC,cAAc;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/tree-chart.tsx
|
|
7
|
+
import { treeChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var TreeChart = createClientChart(treeChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
TreeChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-DWXG7WLM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/tree-chart.tsx"],"sourcesContent":["import { treeChart } from '@silverpoint/core/catalog';\nimport type { TreeChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { TreeChartProps } from '@silverpoint/core';\n\nexport type ClientTreeChartProps = TreeChartProps & InteractionProps;\n\n/** `TreeChart` (REQ-418): a tidy node-link tree (API Spec §7.3). */\nexport const TreeChart = createClientChart<TreeChartProps>(treeChart);\n"],"mappings":";;;;;;AAAA,SAAS,iBAAiB;AAUnB,IAAM,YAAY,kBAAkC,SAAS;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/error-bar-chart.tsx
|
|
7
|
+
import { errorBarChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var ErrorBarChart = createClientChart(errorBarChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
ErrorBarChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-E7OSOGUT.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/error-bar-chart.tsx"],"sourcesContent":["import { errorBarChart } from '@silverpoint/core/catalog';\nimport type { ErrorBarChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { ErrorBarChartProps } from '@silverpoint/core';\n\nexport type ClientErrorBarChartProps = ErrorBarChartProps & InteractionProps;\n\n/** `ErrorBarChart` (REQ-410): a point estimate with its interval per category (API Spec §7.3). */\nexport const ErrorBarChart = createClientChart<ErrorBarChartProps>(errorBarChart);\n"],"mappings":";;;;;;AAAA,SAAS,qBAAqB;AAUvB,IAAM,gBAAgB,kBAAsC,aAAa;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/density-bin-chart.tsx
|
|
7
|
+
import { densityBinChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var DensityBinChart = createClientChart(densityBinChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
DensityBinChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-IHWEQR42.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/density-bin-chart.tsx"],"sourcesContent":["import { densityBinChart } from '@silverpoint/core/catalog';\nimport type { DensityBinChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { DensityBinChartProps } from '@silverpoint/core';\n\nexport type ClientDensityBinChartProps = DensityBinChartProps & InteractionProps;\n\n/** `DensityBinChart` (REQ-422): x-y points counted in two-dimensional bins (API Spec §7.3). */\nexport const DensityBinChart = createClientChart<DensityBinChartProps>(densityBinChart);\n"],"mappings":";;;;;;AAAA,SAAS,uBAAuB;AAUzB,IAAM,kBAAkB,kBAAwC,eAAe;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createDrillableChart
|
|
4
|
+
} from "./chunk-T2IYBDCL.js";
|
|
5
|
+
|
|
6
|
+
// src/sunburst-chart.tsx
|
|
7
|
+
import { sunburstChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var SunburstChart = createDrillableChart(sunburstChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
SunburstChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-INHBSJZX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/sunburst-chart.tsx"],"sourcesContent":["import { sunburstChart } from '@silverpoint/core/catalog';\nimport type { SunburstChartProps } from '@silverpoint/core';\nimport type { InteractionProps } from './create-chart';\nimport { createDrillableChart, type RootChangeProps } from './drillable';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { RootChangeProps } from './drillable';\nexport type { SunburstChartProps } from '@silverpoint/core';\n\nexport type ClientSunburstChartProps = SunburstChartProps & InteractionProps & RootChangeProps;\n\n/** `SunburstChart` (REQ-417): a hierarchy as rings of arcs, drillable through `rootId` and `onRootChange` (API Spec §7.3). */\nexport const SunburstChart = createDrillableChart<SunburstChartProps>(sunburstChart);\n"],"mappings":";;;;;;AAAA,SAAS,qBAAqB;AAYvB,IAAM,gBAAgB,qBAAyC,aAAa;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/ecdf-chart.tsx
|
|
7
|
+
import { ecdfChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var EcdfChart = createClientChart(ecdfChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
EcdfChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-K4YKDPDJ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/ecdf-chart.tsx"],"sourcesContent":["import { ecdfChart } from '@silverpoint/core/catalog';\nimport type { EcdfChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { EcdfChartProps } from '@silverpoint/core';\n\nexport type ClientEcdfChartProps = EcdfChartProps & InteractionProps;\n\n/** `EcdfChart` (REQ-401): the empirical cumulative distribution as a step function (API Spec §7.3). */\nexport const EcdfChart = createClientChart<EcdfChartProps>(ecdfChart);\n"],"mappings":";;;;;;AAAA,SAAS,iBAAiB;AAUnB,IAAM,YAAY,kBAAkC,SAAS;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/box-plot-chart.tsx
|
|
7
|
+
import { boxPlotChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var BoxPlotChart = createClientChart(boxPlotChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
BoxPlotChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-KOWQNNTS.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/box-plot-chart.tsx"],"sourcesContent":["import { boxPlotChart } from '@silverpoint/core/catalog';\nimport type { BoxPlotChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { BoxPlotChartProps } from '@silverpoint/core';\n\nexport type ClientBoxPlotChartProps = BoxPlotChartProps & InteractionProps;\n\n/** `BoxPlotChart` (REQ-402): quartiles, median, Tukey whiskers and outliers per group (API Spec §7.3). */\nexport const BoxPlotChart = createClientChart<BoxPlotChartProps>(boxPlotChart);\n"],"mappings":";;;;;;AAAA,SAAS,oBAAoB;AAUtB,IAAM,eAAe,kBAAqC,YAAY;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/polar-scatter-chart.tsx
|
|
7
|
+
import { polarScatterChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var PolarScatterChart = createClientChart(polarScatterChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
PolarScatterChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-L65CMJRG.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/polar-scatter-chart.tsx"],"sourcesContent":["import { polarScatterChart } from '@silverpoint/core/catalog';\nimport type { PolarScatterChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { PolarScatterChartProps } from '@silverpoint/core';\n\nexport type ClientPolarScatterChartProps = PolarScatterChartProps & InteractionProps;\n\n/** `PolarScatterChart` (REQ-421): points over angle and radius (API Spec §7.3). */\nexport const PolarScatterChart = createClientChart<PolarScatterChartProps>(polarScatterChart);\n"],"mappings":";;;;;;AAAA,SAAS,yBAAyB;AAU3B,IAAM,oBAAoB,kBAA0C,iBAAiB;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/vector-field-chart.tsx
|
|
7
|
+
import { vectorFieldChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var VectorFieldChart = createClientChart(vectorFieldChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
VectorFieldChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-LPKOFXAA.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/vector-field-chart.tsx"],"sourcesContent":["import { vectorFieldChart } from '@silverpoint/core/catalog';\nimport type { VectorFieldChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { VectorFieldChartProps } from '@silverpoint/core';\n\nexport type ClientVectorFieldChartProps = VectorFieldChartProps & InteractionProps;\n\n/** `VectorFieldChart` (REQ-425): an arrow per grid point (API Spec §7.3). */\nexport const VectorFieldChart = createClientChart<VectorFieldChartProps>(vectorFieldChart);\n"],"mappings":";;;;;;AAAA,SAAS,wBAAwB;AAU1B,IAAM,mBAAmB,kBAAyC,gBAAgB;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/interval-chart.tsx
|
|
7
|
+
import { intervalChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var IntervalChart = createClientChart(intervalChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
IntervalChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-M3MZMHGS.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/interval-chart.tsx"],"sourcesContent":["import { intervalChart } from '@silverpoint/core/catalog';\nimport type { IntervalChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { IntervalChartProps } from '@silverpoint/core';\n\nexport type ClientIntervalChartProps = IntervalChartProps & InteractionProps;\n\n/** `IntervalChart` (REQ-411): floating bars from start to end on lanes (API Spec §7.3). */\nexport const IntervalChart = createClientChart<IntervalChartProps>(intervalChart);\n"],"mappings":";;;;;;AAAA,SAAS,qBAAqB;AAUvB,IAAM,gBAAgB,kBAAsC,aAAa;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/histogram-chart.tsx
|
|
7
|
+
import { histogramChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var HistogramChart = createClientChart(histogramChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
HistogramChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-MS5BH6TU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/histogram-chart.tsx"],"sourcesContent":["import { histogramChart } from '@silverpoint/core/catalog';\nimport type { HistogramChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { HistogramChartProps } from '@silverpoint/core';\n\nexport type ClientHistogramChartProps = HistogramChartProps & InteractionProps;\n\n/** `HistogramChart` (REQ-400): raw observations binned in the core (API Spec §7.3). */\nexport const HistogramChart = createClientChart<HistogramChartProps>(histogramChart);\n"],"mappings":";;;;;;AAAA,SAAS,sBAAsB;AAUxB,IAAM,iBAAiB,kBAAuC,cAAc;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/dumbbell-chart.tsx
|
|
7
|
+
import { dumbbellChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var DumbbellChart = createClientChart(dumbbellChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
DumbbellChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-NEOD2DSH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/dumbbell-chart.tsx"],"sourcesContent":["import { dumbbellChart } from '@silverpoint/core/catalog';\nimport type { DumbbellChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { DumbbellChartProps } from '@silverpoint/core';\n\nexport type ClientDumbbellChartProps = DumbbellChartProps & InteractionProps;\n\n/** `DumbbellChart` (REQ-407): two values per category joined by a segment (API Spec §7.3). */\nexport const DumbbellChart = createClientChart<DumbbellChartProps>(dumbbellChart);\n"],"mappings":";;;;;;AAAA,SAAS,qBAAqB;AAUvB,IAAM,gBAAgB,kBAAsC,aAAa;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/polar-line-chart.tsx
|
|
7
|
+
import { polarLineChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var PolarLineChart = createClientChart(polarLineChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
PolarLineChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-OSDENB6W.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/polar-line-chart.tsx"],"sourcesContent":["import { polarLineChart } from '@silverpoint/core/catalog';\nimport type { PolarLineChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { PolarLineChartProps } from '@silverpoint/core';\n\nexport type ClientPolarLineChartProps = PolarLineChartProps & InteractionProps;\n\n/** `PolarLineChart` (REQ-420): a line over angle and radius (API Spec §7.3). */\nexport const PolarLineChart = createClientChart<PolarLineChartProps>(polarLineChart);\n"],"mappings":";;;;;;AAAA,SAAS,sBAAsB;AAUxB,IAAM,iBAAiB,kBAAuC,cAAc;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/contour-chart.tsx
|
|
7
|
+
import { contourChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var ContourChart = createClientChart(contourChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
ContourChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-R7AKJYNB.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/contour-chart.tsx"],"sourcesContent":["import { contourChart } from '@silverpoint/core/catalog';\nimport type { ContourChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { ContourChartProps } from '@silverpoint/core';\n\nexport type ClientContourChartProps = ContourChartProps & InteractionProps;\n\n/** `ContourChart` (REQ-423): iso-lines and filled bands of a density or a grid (API Spec §7.3). */\nexport const ContourChart = createClientChart<ContourChartProps>(contourChart);\n"],"mappings":";;;;;;AAAA,SAAS,oBAAoB;AAUtB,IAAM,eAAe,kBAAqC,YAAY;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/slope-chart.tsx
|
|
7
|
+
import { slopeChart } from "@silverpoint/core/catalog";
|
|
8
|
+
var SlopeChart = createClientChart(slopeChart);
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
SlopeChart
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=chunk-SNWXRA2D.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/slope-chart.tsx"],"sourcesContent":["import { slopeChart } from '@silverpoint/core/catalog';\nimport type { SlopeChartProps } from '@silverpoint/core';\nimport { createClientChart, type InteractionProps } from './create-chart';\n\nexport type { ChartHandle, InteractionProps } from './create-chart';\nexport type { SlopeChartProps } from '@silverpoint/core';\n\nexport type ClientSlopeChartProps = SlopeChartProps & InteractionProps;\n\n/** `SlopeChart` (REQ-408): two period axes, one segment per category (API Spec §7.3). */\nexport const SlopeChart = createClientChart<SlopeChartProps>(slopeChart);\n"],"mappings":";;;;;;AAAA,SAAS,kBAAkB;AAUpB,IAAM,aAAa,kBAAmC,UAAU;","names":[]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
createClientChart
|
|
4
|
+
} from "./chunk-FBJLA3P7.js";
|
|
5
|
+
|
|
6
|
+
// src/drillable.tsx
|
|
7
|
+
import { rootChangeOf } from "@silverpoint/core/catalog";
|
|
8
|
+
import { forwardRef, useImperativeHandle, useRef } from "react";
|
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
|
10
|
+
function createDrillableChart(recipe) {
|
|
11
|
+
const Chart = createClientChart(recipe);
|
|
12
|
+
const Drillable = forwardRef(function Drillable2({ onRootChange, onSelect, ...props }, ref) {
|
|
13
|
+
const chart = useRef(null);
|
|
14
|
+
useImperativeHandle(ref, () => ({ getGeometry: () => chart.current.getGeometry(), toSVGString: () => chart.current.toSVGString() }), []);
|
|
15
|
+
const select = (item) => {
|
|
16
|
+
onSelect?.(item);
|
|
17
|
+
if (onRootChange && chart.current) onRootChange(rootChangeOf(chart.current.getGeometry(), item));
|
|
18
|
+
};
|
|
19
|
+
return /* @__PURE__ */ jsx(Chart, { ...props, onSelect: select, ref: chart });
|
|
20
|
+
});
|
|
21
|
+
Drillable.displayName = recipe.name;
|
|
22
|
+
return Drillable;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export {
|
|
26
|
+
createDrillableChart
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=chunk-T2IYBDCL.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/drillable.tsx"],"sourcesContent":["import { rootChangeOf } from '@silverpoint/core/catalog';\nimport type { ActiveItem, ChartHandle, ChartRecipe, CommonChartProps } from '@silverpoint/core';\nimport { forwardRef, useImperativeHandle, useRef } from 'react';\nimport { createClientChart, type ClientChart, type InteractionProps } from './create-chart';\n\n/** The event of the two drillable charts (API delta §4). */\nexport interface RootChangeProps {\n /** A node was activated: the id to draw as root, `null` for the data root (REQ-439). */\n onRootChange?: (id: string | null) => void;\n}\n\n/**\n * The client component of a drillable recipe: the client chart, whose `onSelect` also emits\n * `onRootChange`, read from the drawing as it is now. The root stays the consumer's `rootId`; this\n * component holds none (REQ-108).\n */\nexport function createDrillableChart<P extends CommonChartProps>(recipe: ChartRecipe<P>): ClientChart<P & RootChangeProps> {\n const Chart = createClientChart(recipe) as unknown as ClientChart<CommonChartProps>;\n const Drillable = forwardRef<ChartHandle, P & InteractionProps & RootChangeProps>(function Drillable({ onRootChange, onSelect, ...props }, ref) {\n const chart = useRef<ChartHandle>(null);\n // The inner handle changes with every drawing, so the outer one reads it at call time.\n useImperativeHandle(ref, () => ({ getGeometry: () => (chart.current as ChartHandle).getGeometry(), toSVGString: () => (chart.current as ChartHandle).toSVGString() }), []);\n const select = (item: ActiveItem) => {\n onSelect?.(item);\n if (onRootChange && chart.current) onRootChange(rootChangeOf(chart.current.getGeometry(), item));\n };\n return <Chart {...(props as CommonChartProps)} onSelect={select} ref={chart} />;\n });\n Drillable.displayName = recipe.name;\n return Drillable as unknown as ClientChart<P & RootChangeProps>;\n}\n"],"mappings":";;;;;;AAAA,SAAS,oBAAoB;AAE7B,SAAS,YAAY,qBAAqB,cAAc;AAwB7C;AAVJ,SAAS,qBAAiD,QAA0D;AACzH,QAAM,QAAQ,kBAAkB,MAAM;AACtC,QAAM,YAAY,WAAgE,SAASA,WAAU,EAAE,cAAc,UAAU,GAAG,MAAM,GAAG,KAAK;AAC9I,UAAM,QAAQ,OAAoB,IAAI;AAEtC,wBAAoB,KAAK,OAAO,EAAE,aAAa,MAAO,MAAM,QAAwB,YAAY,GAAG,aAAa,MAAO,MAAM,QAAwB,YAAY,EAAE,IAAI,CAAC,CAAC;AACzK,UAAM,SAAS,CAAC,SAAqB;AACnC,iBAAW,IAAI;AACf,UAAI,gBAAgB,MAAM,QAAS,cAAa,aAAa,MAAM,QAAQ,YAAY,GAAG,IAAI,CAAC;AAAA,IACjG;AACA,WAAO,oBAAC,SAAO,GAAI,OAA4B,UAAU,QAAQ,KAAK,OAAO;AAAA,EAC/E,CAAC;AACD,YAAU,cAAc,OAAO;AAC/B,SAAO;AACT;","names":["Drillable"]}
|