inkplot 0.0.1-placeholder.0 → 1.0.0-beta.1
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/LICENSE +21 -0
- package/README.md +45 -1
- package/dist/adapt.d.ts +10 -0
- package/dist/adapt.js +34 -0
- package/dist/annotation.d.ts +120 -0
- package/dist/annotation.js +267 -0
- package/dist/aria.d.ts +24 -0
- package/dist/aria.js +31 -0
- package/dist/attrs.d.ts +81 -0
- package/dist/attrs.js +84 -0
- package/dist/axis.d.ts +137 -0
- package/dist/axis.js +185 -0
- package/dist/bars.d.ts +80 -0
- package/dist/bars.js +255 -0
- package/dist/boxplot.d.ts +57 -0
- package/dist/boxplot.js +177 -0
- package/dist/boxzoom.d.ts +39 -0
- package/dist/boxzoom.js +138 -0
- package/dist/brush.d.ts +60 -0
- package/dist/brush.js +185 -0
- package/dist/bucket.d.ts +22 -0
- package/dist/bucket.js +62 -0
- package/dist/callout.d.ts +30 -0
- package/dist/callout.js +98 -0
- package/dist/chart.d.ts +126 -0
- package/dist/chart.js +257 -0
- package/dist/crosshair.d.ts +28 -0
- package/dist/crosshair.js +78 -0
- package/dist/cursor.d.ts +76 -0
- package/dist/cursor.js +344 -0
- package/dist/curve.d.ts +50 -0
- package/dist/curve.js +87 -0
- package/dist/curves.d.ts +104 -0
- package/dist/curves.js +375 -0
- package/dist/data.d.ts +209 -0
- package/dist/data.js +276 -0
- package/dist/decimation.d.ts +86 -0
- package/dist/decimation.js +410 -0
- package/dist/density.d.ts +55 -0
- package/dist/density.js +252 -0
- package/dist/dimension.d.ts +103 -0
- package/dist/dimension.js +205 -0
- package/dist/dom-platform.d.ts +53 -0
- package/dist/dom-platform.js +190 -0
- package/dist/element.d.ts +232 -0
- package/dist/element.js +414 -0
- package/dist/errors.d.ts +85 -0
- package/dist/errors.js +237 -0
- package/dist/events.d.ts +144 -0
- package/dist/events.js +19 -0
- package/dist/focus.d.ts +22 -0
- package/dist/focus.js +51 -0
- package/dist/furniture.d.ts +70 -0
- package/dist/furniture.js +166 -0
- package/dist/geometry.d.ts +40 -0
- package/dist/geometry.js +7 -0
- package/dist/heatmap.d.ts +57 -0
- package/dist/heatmap.js +207 -0
- package/dist/hit.d.ts +103 -0
- package/dist/hit.js +428 -0
- package/dist/index.d.ts +73 -0
- package/dist/index.js +73 -0
- package/dist/input.d.ts +42 -0
- package/dist/input.js +166 -0
- package/dist/jsx-dev-runtime.d.ts +9 -0
- package/dist/jsx-dev-runtime.js +13 -0
- package/dist/jsx-runtime.d.ts +59 -0
- package/dist/jsx-runtime.js +81 -0
- package/dist/key.d.ts +118 -0
- package/dist/key.js +199 -0
- package/dist/legend.d.ts +36 -0
- package/dist/legend.js +220 -0
- package/dist/mapped.d.ts +80 -0
- package/dist/mapped.js +106 -0
- package/dist/marker.d.ts +143 -0
- package/dist/marker.js +213 -0
- package/dist/panzoom.d.ts +119 -0
- package/dist/panzoom.js +467 -0
- package/dist/plane.d.ts +173 -0
- package/dist/plane.js +370 -0
- package/dist/platform.d.ts +113 -0
- package/dist/platform.js +80 -0
- package/dist/png.d.ts +44 -0
- package/dist/png.js +71 -0
- package/dist/pointer.d.ts +54 -0
- package/dist/pointer.js +132 -0
- package/dist/quantile.d.ts +3 -0
- package/dist/quantile.js +11 -0
- package/dist/radial.d.ts +116 -0
- package/dist/radial.js +336 -0
- package/dist/react.d.ts +441 -0
- package/dist/react.js +252 -0
- package/dist/registry.d.ts +2 -0
- package/dist/registry.js +51 -0
- package/dist/renderer.d.ts +191 -0
- package/dist/renderer.js +164 -0
- package/dist/scale.d.ts +37 -0
- package/dist/scale.js +19 -0
- package/dist/scales.d.ts +69 -0
- package/dist/scales.js +134 -0
- package/dist/serialize.d.ts +77 -0
- package/dist/serialize.js +321 -0
- package/dist/series.d.ts +304 -0
- package/dist/series.js +513 -0
- package/dist/simple.d.ts +35 -0
- package/dist/simple.js +20 -0
- package/dist/sources.d.ts +116 -0
- package/dist/sources.js +237 -0
- package/dist/stack.d.ts +61 -0
- package/dist/stack.js +172 -0
- package/dist/stats.d.ts +38 -0
- package/dist/stats.js +159 -0
- package/dist/steps.d.ts +50 -0
- package/dist/steps.js +154 -0
- package/dist/stub.d.ts +3 -0
- package/dist/stub.js +5 -0
- package/dist/style-names.d.ts +1 -0
- package/dist/style-names.js +6 -0
- package/dist/summary.d.ts +44 -0
- package/dist/summary.js +58 -0
- package/dist/surface.d.ts +94 -0
- package/dist/surface.js +145 -0
- package/dist/table.d.ts +39 -0
- package/dist/table.js +37 -0
- package/dist/text.d.ts +23 -0
- package/dist/text.js +44 -0
- package/dist/theme.d.ts +174 -0
- package/dist/theme.js +73 -0
- package/dist/themes.d.ts +9 -0
- package/dist/themes.js +56 -0
- package/dist/time-intl.d.ts +194 -0
- package/dist/time-intl.js +144 -0
- package/dist/time-temporal.d.ts +236 -0
- package/dist/time-temporal.js +58 -0
- package/dist/time.d.ts +216 -0
- package/dist/time.js +154 -0
- package/dist/trend.d.ts +151 -0
- package/dist/trend.js +500 -0
- package/dist/web-components.d.ts +62 -0
- package/dist/web-components.js +264 -0
- package/package.json +48 -3
package/dist/react.d.ts
ADDED
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The React adapter: a chart written as React components, drawing through the same element tree as any other chart.
|
|
3
|
+
*
|
|
4
|
+
* import { Chart, CartesianPlane, Axis, LinearScale } from 'inkplot/react';
|
|
5
|
+
* import { lightTheme } from 'inkplot';
|
|
6
|
+
*
|
|
7
|
+
* <Chart theme={lightTheme} hostProps={{ style: { height: 300 } }}>
|
|
8
|
+
* <CartesianPlane>
|
|
9
|
+
* <Axis meta-title="Time"><LinearScale /></Axis>
|
|
10
|
+
* …
|
|
11
|
+
*
|
|
12
|
+
* Every concrete element class has a component of the same name, exported from here. Each is made by a call marked pure,
|
|
13
|
+
* so a bundler keeps only the ones you use, and the classes behind the rest stay out. For a class of your own, make
|
|
14
|
+
* its component with `reactWrapper(MyClass)`. The one with no wrapper above it is the root: it
|
|
15
|
+
* renders a `<div>` and attaches the chart to it (`hostProps` are that div's props, `platformOptions` the DOMPlatform's).
|
|
16
|
+
*
|
|
17
|
+
* How the two trees stay one:
|
|
18
|
+
* - Every wrapper instance owns one element, made on its first render and never swapped. React decides which instance is
|
|
19
|
+
* which (by position and key), so a reorder moves instances and a changed tag type makes a new one.
|
|
20
|
+
* - Rendering only collects. Each wrapper, as it renders, adds its element to the list its parent started. Nothing in the
|
|
21
|
+
* element tree is touched until React commits: then each wrapper links its element into its parent's, puts the
|
|
22
|
+
* parent's children in the order the list says, and writes the attributes that differ. So an abandoned render (Strict
|
|
23
|
+
* Mode, an interrupted transition) changes nothing, and unchanged attributes cost a comparison.
|
|
24
|
+
* - Attributes come from props (`meta-title`, `style-axis-color` nest as in attrs.ts). Plain objects and arrays are compared by content, so
|
|
25
|
+
* `meta={{ title }}` written in a render does not invalidate the chart each time. Functions are compared by identity: memoize them.
|
|
26
|
+
*
|
|
27
|
+
* Limits, which follow from the element tree having no idea where React put things:
|
|
28
|
+
* - A chart element that appears through state in a component *between* chart elements joins its parent in the right
|
|
29
|
+
* place only if the parent renders too; otherwise it goes last. Keep the condition in the component that renders the parent.
|
|
30
|
+
* - Do not wrap a component that renders chart elements in `React.memo`, or hand chart elements down as `children` through a
|
|
31
|
+
* component that re-renders by itself: a child that does not render is not in the list, so it cannot be reordered (it stays where it is).
|
|
32
|
+
* - Fixed children (an axis' scale) come first in the order the class' documentation gives; the order is not type-checked.
|
|
33
|
+
*/
|
|
34
|
+
import { type ForwardRefExoticComponent, type HTMLAttributes, type PropsWithoutRef, type ReactElement, type ReactNode, type RefAttributes } from 'react';
|
|
35
|
+
import type { NestedProps } from './attrs.ts';
|
|
36
|
+
import { type DOMPlatformOptions } from './dom-platform.ts';
|
|
37
|
+
import type { AnyArgs, AnyElement } from './element.ts';
|
|
38
|
+
import type { Chart as ChartElement } from './chart.ts';
|
|
39
|
+
import * as annotation_ from './annotation.ts';
|
|
40
|
+
import * as boxplot_ from './boxplot.ts';
|
|
41
|
+
import * as boxzoom_ from './boxzoom.ts';
|
|
42
|
+
import * as brush_ from './brush.ts';
|
|
43
|
+
import * as axis_ from './axis.ts';
|
|
44
|
+
import * as bars_ from './bars.ts';
|
|
45
|
+
import * as chart_ from './chart.ts';
|
|
46
|
+
import * as crosshair_ from './crosshair.ts';
|
|
47
|
+
import * as errors_ from './errors.ts';
|
|
48
|
+
import * as cursor_ from './cursor.ts';
|
|
49
|
+
import * as curve_ from './curve.ts';
|
|
50
|
+
import * as curves_ from './curves.ts';
|
|
51
|
+
import * as decimation_ from './decimation.ts';
|
|
52
|
+
import * as furniture_ from './furniture.ts';
|
|
53
|
+
import * as key_ from './key.ts';
|
|
54
|
+
import * as legend_ from './legend.ts';
|
|
55
|
+
import * as mapped_ from './mapped.ts';
|
|
56
|
+
import * as trend_ from './trend.ts';
|
|
57
|
+
import * as heatmap_ from './heatmap.ts';
|
|
58
|
+
import * as marker_ from './marker.ts';
|
|
59
|
+
import * as panzoom_ from './panzoom.ts';
|
|
60
|
+
import * as plane_ from './plane.ts';
|
|
61
|
+
import * as pointer_ from './pointer.ts';
|
|
62
|
+
import * as radial_ from './radial.ts';
|
|
63
|
+
import * as renderer_ from './renderer.ts';
|
|
64
|
+
import * as scales_ from './scales.ts';
|
|
65
|
+
import * as series_ from './series.ts';
|
|
66
|
+
import * as sources_ from './sources.ts';
|
|
67
|
+
import * as stack_ from './stack.ts';
|
|
68
|
+
import * as density_ from './density.ts';
|
|
69
|
+
import * as stats_ from './stats.ts';
|
|
70
|
+
import * as steps_ from './steps.ts';
|
|
71
|
+
import * as summary_ from './summary.ts';
|
|
72
|
+
import * as time_intl_ from './time-intl.ts';
|
|
73
|
+
import * as time_temporal_ from './time-temporal.ts';
|
|
74
|
+
type ElementConstructor = new (...args: AnyArgs) => AnyElement;
|
|
75
|
+
/** What a root wrapper takes besides the element's attributes. */
|
|
76
|
+
export interface RootProps {
|
|
77
|
+
/** Props for the `<div>` the chart is drawn in. Give it a size: the chart fills it. */
|
|
78
|
+
hostProps?: HTMLAttributes<HTMLDivElement>;
|
|
79
|
+
platformOptions?: DOMPlatformOptions;
|
|
80
|
+
}
|
|
81
|
+
/** The props of a wrapped class: its attributes, children, and for a root (anything with `attach`) the host's props. */
|
|
82
|
+
export type WrapperProps<C extends ElementConstructor> = Omit<InstanceType<C>['$props'], 'children'> & NestedProps & {
|
|
83
|
+
children?: ReactNode;
|
|
84
|
+
} & (InstanceType<C> extends {
|
|
85
|
+
attach: unknown;
|
|
86
|
+
} ? RootProps : unknown);
|
|
87
|
+
/**
|
|
88
|
+
* A React component for a chart element class. Its props are the element's attributes (hyphenated names nest) and its
|
|
89
|
+
* children are the element's children. A `ref` receives the element. See the notes at the top of this file.
|
|
90
|
+
*/
|
|
91
|
+
export declare function reactWrapper<C extends ElementConstructor>(cls: C): ForwardRefExoticComponent<PropsWithoutRef<WrapperProps<C>> & RefAttributes<InstanceType<C>>>;
|
|
92
|
+
/**
|
|
93
|
+
* Shows a chart made some other way (with `new`, or with the JSX runtime) in React. The chart is attached while this is mounted
|
|
94
|
+
* and detached when it is not; its attributes and children are yours to change, as the chart is not React's.
|
|
95
|
+
*/
|
|
96
|
+
export declare function ChartView(props: {
|
|
97
|
+
chart: ChartElement;
|
|
98
|
+
hostProps?: HTMLAttributes<HTMLDivElement>;
|
|
99
|
+
platformOptions?: DOMPlatformOptions;
|
|
100
|
+
}): ReactElement;
|
|
101
|
+
export declare const Chart: ForwardRefExoticComponent<Omit<chart_.ChartAttributes & {
|
|
102
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
103
|
+
}, "children"> & NestedProps & {
|
|
104
|
+
children?: ReactNode;
|
|
105
|
+
} & RootProps & RefAttributes<ChartElement>>;
|
|
106
|
+
export declare const ChartTitle: ForwardRefExoticComponent<Omit<furniture_.ChartTitleAttributes & {
|
|
107
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
108
|
+
}, "children"> & NestedProps & {
|
|
109
|
+
children?: ReactNode;
|
|
110
|
+
} & RefAttributes<furniture_.ChartTitle>>;
|
|
111
|
+
export declare const ChartTooltip: ForwardRefExoticComponent<Omit<furniture_.ChartTooltipAttributes & {
|
|
112
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
113
|
+
}, "children"> & NestedProps & {
|
|
114
|
+
children?: ReactNode;
|
|
115
|
+
} & RefAttributes<furniture_.ChartTooltip>>;
|
|
116
|
+
export declare const ChartSummary: ForwardRefExoticComponent<Omit<summary_.ChartSummaryAttributes & {
|
|
117
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
118
|
+
}, "children"> & NestedProps & {
|
|
119
|
+
children?: ReactNode;
|
|
120
|
+
} & RefAttributes<summary_.ChartSummary>>;
|
|
121
|
+
export declare const Cursor: ForwardRefExoticComponent<Omit<cursor_.CursorAttributes & {
|
|
122
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
123
|
+
}, "children"> & NestedProps & {
|
|
124
|
+
children?: ReactNode;
|
|
125
|
+
} & RefAttributes<cursor_.Cursor>>;
|
|
126
|
+
export declare const Crosshair: ForwardRefExoticComponent<Omit<crosshair_.CrosshairAttributes & {
|
|
127
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
128
|
+
}, "children"> & NestedProps & {
|
|
129
|
+
children?: ReactNode;
|
|
130
|
+
} & RefAttributes<crosshair_.Crosshair>>;
|
|
131
|
+
export declare const Legend: ForwardRefExoticComponent<Omit<legend_.LegendAttributes & {
|
|
132
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
133
|
+
}, "children"> & NestedProps & {
|
|
134
|
+
children?: ReactNode;
|
|
135
|
+
} & RefAttributes<legend_.Legend>>;
|
|
136
|
+
export declare const CartesianPlane: ForwardRefExoticComponent<Omit<plane_.CartesianPlaneAttributes & {
|
|
137
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
138
|
+
}, "children"> & NestedProps & {
|
|
139
|
+
children?: ReactNode;
|
|
140
|
+
} & RefAttributes<plane_.CartesianPlane>>;
|
|
141
|
+
export declare const PolarPlane: ForwardRefExoticComponent<Omit<radial_.PolarPlaneAttributes & {
|
|
142
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
143
|
+
}, "children"> & NestedProps & {
|
|
144
|
+
children?: ReactNode;
|
|
145
|
+
} & RefAttributes<radial_.PolarPlane>>;
|
|
146
|
+
export declare const RadarPlane: ForwardRefExoticComponent<Omit<radial_.RadarPlaneAttributes & {
|
|
147
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
148
|
+
}, "children"> & NestedProps & {
|
|
149
|
+
children?: ReactNode;
|
|
150
|
+
} & RefAttributes<radial_.RadarPlane>>;
|
|
151
|
+
export declare const Axis: ForwardRefExoticComponent<Omit<axis_.AxisAttributes & {
|
|
152
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
153
|
+
}, "children"> & NestedProps & {
|
|
154
|
+
children?: ReactNode;
|
|
155
|
+
} & RefAttributes<axis_.Axis>>;
|
|
156
|
+
export declare const ColorAxis: ForwardRefExoticComponent<Omit<mapped_.ColorAxisAttributes & {
|
|
157
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
158
|
+
}, "children"> & NestedProps & {
|
|
159
|
+
children?: ReactNode;
|
|
160
|
+
} & RefAttributes<mapped_.ColorAxis>>;
|
|
161
|
+
export declare const SizeAxis: ForwardRefExoticComponent<Omit<mapped_.SizeAxisAttributes & {
|
|
162
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
163
|
+
}, "children"> & NestedProps & {
|
|
164
|
+
children?: ReactNode;
|
|
165
|
+
} & RefAttributes<mapped_.SizeAxis>>;
|
|
166
|
+
export declare const ColorKey: ForwardRefExoticComponent<Omit<key_.ColorKeyAttributes & {
|
|
167
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
168
|
+
}, "children"> & NestedProps & {
|
|
169
|
+
children?: ReactNode;
|
|
170
|
+
} & RefAttributes<key_.ColorKey>>;
|
|
171
|
+
export declare const SizeKey: ForwardRefExoticComponent<Omit<key_.SizeKeyAttributes & {
|
|
172
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
173
|
+
}, "children"> & NestedProps & {
|
|
174
|
+
children?: ReactNode;
|
|
175
|
+
} & RefAttributes<key_.SizeKey>>;
|
|
176
|
+
export declare const LinearScale: ForwardRefExoticComponent<Omit<import("./scale.ts").ScaleAttributes & {
|
|
177
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
178
|
+
}, "children"> & NestedProps & {
|
|
179
|
+
children?: ReactNode;
|
|
180
|
+
} & RefAttributes<scales_.LinearScale<import("./scale.ts").ScaleAttributes>>>;
|
|
181
|
+
export declare const LogScale: ForwardRefExoticComponent<Omit<scales_.LogScaleAttributes & {
|
|
182
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
183
|
+
}, "children"> & NestedProps & {
|
|
184
|
+
children?: ReactNode;
|
|
185
|
+
} & RefAttributes<scales_.LogScale>>;
|
|
186
|
+
export declare const SqrtScale: ForwardRefExoticComponent<Omit<import("./scale.ts").ScaleAttributes & {
|
|
187
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
188
|
+
}, "children"> & NestedProps & {
|
|
189
|
+
children?: ReactNode;
|
|
190
|
+
} & RefAttributes<scales_.SqrtScale>>;
|
|
191
|
+
export declare const BandScale: ForwardRefExoticComponent<Omit<scales_.BandScaleAttributes & {
|
|
192
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
193
|
+
}, "children"> & NestedProps & {
|
|
194
|
+
children?: ReactNode;
|
|
195
|
+
} & RefAttributes<scales_.BandScale>>;
|
|
196
|
+
export declare const IntlTimeScale: ForwardRefExoticComponent<Omit<time_intl_.IntlTimeScaleAttributes & {
|
|
197
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
198
|
+
}, "children"> & NestedProps & {
|
|
199
|
+
children?: ReactNode;
|
|
200
|
+
} & RefAttributes<time_intl_.IntlTimeScale>>;
|
|
201
|
+
export declare const TemporalTimeScale: ForwardRefExoticComponent<Omit<time_temporal_.TemporalTimeScaleAttributes & {
|
|
202
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
203
|
+
}, "children"> & NestedProps & {
|
|
204
|
+
children?: ReactNode;
|
|
205
|
+
} & RefAttributes<time_temporal_.TemporalTimeScale>>;
|
|
206
|
+
export declare const DomainSeries: ForwardRefExoticComponent<Omit<series_.DomainSeriesAttributes & {
|
|
207
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
208
|
+
}, "children"> & NestedProps & {
|
|
209
|
+
children?: ReactNode;
|
|
210
|
+
} & RefAttributes<series_.DomainSeries>>;
|
|
211
|
+
export declare const XYSeries: ForwardRefExoticComponent<Omit<series_.XYSeriesAttributes<string> & {
|
|
212
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
213
|
+
}, "children"> & NestedProps & {
|
|
214
|
+
children?: ReactNode;
|
|
215
|
+
} & RefAttributes<series_.XYSeries<string>>>;
|
|
216
|
+
export declare const Stack: ForwardRefExoticComponent<Omit<stack_.StackAttributes & {
|
|
217
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
218
|
+
}, "children"> & NestedProps & {
|
|
219
|
+
children?: ReactNode;
|
|
220
|
+
} & RefAttributes<stack_.Stack>>;
|
|
221
|
+
export declare const FlatDataSource: ForwardRefExoticComponent<Omit<sources_.FlatDataSourceAttributes<string> & {
|
|
222
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
223
|
+
}, "children"> & NestedProps & {
|
|
224
|
+
children?: ReactNode;
|
|
225
|
+
} & RefAttributes<sources_.FlatDataSource<string>>>;
|
|
226
|
+
export declare const ObjectDataSource: ForwardRefExoticComponent<Omit<sources_.ObjectDataSourceAttributes<unknown, string> & {
|
|
227
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
228
|
+
}, "children"> & NestedProps & {
|
|
229
|
+
children?: ReactNode;
|
|
230
|
+
} & RefAttributes<sources_.ObjectDataSource<unknown, string>>>;
|
|
231
|
+
export declare const CompositeDataSource: ForwardRefExoticComponent<Omit<sources_.CompositeDataSourceAttributes<string> & {
|
|
232
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
233
|
+
}, "children"> & NestedProps & {
|
|
234
|
+
children?: ReactNode;
|
|
235
|
+
} & RefAttributes<sources_.CompositeDataSource<string>>>;
|
|
236
|
+
export declare const SyntheticDataSource: ForwardRefExoticComponent<Omit<sources_.SyntheticDataSourceAttributes & {
|
|
237
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
238
|
+
}, "children"> & NestedProps & {
|
|
239
|
+
children?: ReactNode;
|
|
240
|
+
} & RefAttributes<sources_.SyntheticDataSource>>;
|
|
241
|
+
export declare const Decimator: ForwardRefExoticComponent<Omit<decimation_.DecimatorAttributes & {
|
|
242
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
243
|
+
}, "children"> & NestedProps & {
|
|
244
|
+
children?: ReactNode;
|
|
245
|
+
} & RefAttributes<decimation_.Decimator>>;
|
|
246
|
+
export declare const MinMaxKernel: ForwardRefExoticComponent<Omit<import("./element.ts").BaseAttributes & {
|
|
247
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
248
|
+
}, "children"> & NestedProps & {
|
|
249
|
+
children?: ReactNode;
|
|
250
|
+
} & RefAttributes<decimation_.MinMaxKernel>>;
|
|
251
|
+
export declare const M4Kernel: ForwardRefExoticComponent<Omit<import("./element.ts").BaseAttributes & {
|
|
252
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
253
|
+
}, "children"> & NestedProps & {
|
|
254
|
+
children?: ReactNode;
|
|
255
|
+
} & RefAttributes<decimation_.M4Kernel>>;
|
|
256
|
+
export declare const LttbKernel: ForwardRefExoticComponent<Omit<import("./element.ts").BaseAttributes & {
|
|
257
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
258
|
+
}, "children"> & NestedProps & {
|
|
259
|
+
children?: ReactNode;
|
|
260
|
+
} & RefAttributes<decimation_.LttbKernel>>;
|
|
261
|
+
export declare const StrideKernel: ForwardRefExoticComponent<Omit<import("./element.ts").BaseAttributes & {
|
|
262
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
263
|
+
}, "children"> & NestedProps & {
|
|
264
|
+
children?: ReactNode;
|
|
265
|
+
} & RefAttributes<decimation_.StrideKernel>>;
|
|
266
|
+
export declare const LinePath: ForwardRefExoticComponent<Omit<renderer_.LinePathAttributes & {
|
|
267
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
268
|
+
}, "children"> & NestedProps & {
|
|
269
|
+
children?: ReactNode;
|
|
270
|
+
} & RefAttributes<renderer_.LinePath>>;
|
|
271
|
+
export declare const AreaPath: ForwardRefExoticComponent<Omit<renderer_.AreaPathAttributes & {
|
|
272
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
273
|
+
}, "children"> & NestedProps & {
|
|
274
|
+
children?: ReactNode;
|
|
275
|
+
} & RefAttributes<renderer_.AreaPath>>;
|
|
276
|
+
export declare const LinearCurve: ForwardRefExoticComponent<Omit<curve_.CurveAttributes & {
|
|
277
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
278
|
+
}, "children"> & NestedProps & {
|
|
279
|
+
children?: ReactNode;
|
|
280
|
+
} & RefAttributes<curve_.LinearCurve>>;
|
|
281
|
+
export declare const MonotoneCurve: ForwardRefExoticComponent<Omit<curve_.CurveAttributes & {
|
|
282
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
283
|
+
}, "children"> & NestedProps & {
|
|
284
|
+
children?: ReactNode;
|
|
285
|
+
} & RefAttributes<curves_.MonotoneCurve>>;
|
|
286
|
+
export declare const NaturalCurve: ForwardRefExoticComponent<Omit<curve_.CurveAttributes & {
|
|
287
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
288
|
+
}, "children"> & NestedProps & {
|
|
289
|
+
children?: ReactNode;
|
|
290
|
+
} & RefAttributes<curves_.NaturalCurve>>;
|
|
291
|
+
export declare const CardinalCurve: ForwardRefExoticComponent<Omit<curves_.CardinalCurveAttributes & {
|
|
292
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
293
|
+
}, "children"> & NestedProps & {
|
|
294
|
+
children?: ReactNode;
|
|
295
|
+
} & RefAttributes<curves_.CardinalCurve>>;
|
|
296
|
+
export declare const CatmullRomCurve: ForwardRefExoticComponent<Omit<curves_.CatmullRomCurveAttributes & {
|
|
297
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
298
|
+
}, "children"> & NestedProps & {
|
|
299
|
+
children?: ReactNode;
|
|
300
|
+
} & RefAttributes<curves_.CatmullRomCurve>>;
|
|
301
|
+
export declare const BasisCurve: ForwardRefExoticComponent<Omit<curve_.CurveAttributes & {
|
|
302
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
303
|
+
}, "children"> & NestedProps & {
|
|
304
|
+
children?: ReactNode;
|
|
305
|
+
} & RefAttributes<curves_.BasisCurve>>;
|
|
306
|
+
export declare const BumpCurve: ForwardRefExoticComponent<Omit<curves_.BumpCurveAttributes & {
|
|
307
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
308
|
+
}, "children"> & NestedProps & {
|
|
309
|
+
children?: ReactNode;
|
|
310
|
+
} & RefAttributes<curves_.BumpCurve>>;
|
|
311
|
+
export declare const QuadraticCurve: ForwardRefExoticComponent<Omit<curve_.CurveAttributes & {
|
|
312
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
313
|
+
}, "children"> & NestedProps & {
|
|
314
|
+
children?: ReactNode;
|
|
315
|
+
} & RefAttributes<curves_.QuadraticCurve>>;
|
|
316
|
+
export declare const ArcCurve: ForwardRefExoticComponent<Omit<curves_.ArcCurveAttributes & {
|
|
317
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
318
|
+
}, "children"> & NestedProps & {
|
|
319
|
+
children?: ReactNode;
|
|
320
|
+
} & RefAttributes<curves_.ArcCurve>>;
|
|
321
|
+
export declare const StepCurve: ForwardRefExoticComponent<Omit<steps_.StepCurveAttributes & {
|
|
322
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
323
|
+
}, "children"> & NestedProps & {
|
|
324
|
+
children?: ReactNode;
|
|
325
|
+
} & RefAttributes<steps_.StepCurve>>;
|
|
326
|
+
export declare const BarPath: ForwardRefExoticComponent<Omit<bars_.BarPathAttributes & {
|
|
327
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
328
|
+
}, "children"> & NestedProps & {
|
|
329
|
+
children?: ReactNode;
|
|
330
|
+
} & RefAttributes<bars_.BarPath>>;
|
|
331
|
+
export declare const BarLinePath: ForwardRefExoticComponent<Omit<bars_.BarLinePathAttributes & {
|
|
332
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
333
|
+
}, "children"> & NestedProps & {
|
|
334
|
+
children?: ReactNode;
|
|
335
|
+
} & RefAttributes<bars_.BarLinePath>>;
|
|
336
|
+
export declare const BoxPath: ForwardRefExoticComponent<Omit<boxplot_.BoxPathAttributes & {
|
|
337
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
338
|
+
}, "children"> & NestedProps & {
|
|
339
|
+
children?: ReactNode;
|
|
340
|
+
} & RefAttributes<boxplot_.BoxPath>>;
|
|
341
|
+
export declare const BoxStats: ForwardRefExoticComponent<Omit<stats_.BoxStatsAttributes & {
|
|
342
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
343
|
+
}, "children"> & NestedProps & {
|
|
344
|
+
children?: ReactNode;
|
|
345
|
+
} & RefAttributes<stats_.BoxStats>>;
|
|
346
|
+
export declare const Density: ForwardRefExoticComponent<Omit<density_.DensityAttributes & {
|
|
347
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
348
|
+
}, "children"> & NestedProps & {
|
|
349
|
+
children?: ReactNode;
|
|
350
|
+
} & RefAttributes<density_.Density>>;
|
|
351
|
+
export declare const ErrorBars: ForwardRefExoticComponent<Omit<errors_.ErrorBarsAttributes & {
|
|
352
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
353
|
+
}, "children"> & NestedProps & {
|
|
354
|
+
children?: ReactNode;
|
|
355
|
+
} & RefAttributes<errors_.ErrorBars>>;
|
|
356
|
+
export declare const ErrorBand: ForwardRefExoticComponent<Omit<errors_.ErrorBandAttributes & {
|
|
357
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
358
|
+
}, "children"> & NestedProps & {
|
|
359
|
+
children?: ReactNode;
|
|
360
|
+
} & RefAttributes<errors_.ErrorBand>>;
|
|
361
|
+
export declare const LinearTrend: ForwardRefExoticComponent<Omit<trend_.LinearTrendAttributes & {
|
|
362
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
363
|
+
}, "children"> & NestedProps & {
|
|
364
|
+
children?: ReactNode;
|
|
365
|
+
} & RefAttributes<trend_.LinearTrend>>;
|
|
366
|
+
export declare const PolynomialTrend: ForwardRefExoticComponent<Omit<trend_.PolynomialTrendAttributes & {
|
|
367
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
368
|
+
}, "children"> & NestedProps & {
|
|
369
|
+
children?: ReactNode;
|
|
370
|
+
} & RefAttributes<trend_.PolynomialTrend>>;
|
|
371
|
+
export declare const SinusoidalTrend: ForwardRefExoticComponent<Omit<trend_.SinusoidalTrendAttributes & {
|
|
372
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
373
|
+
}, "children"> & NestedProps & {
|
|
374
|
+
children?: ReactNode;
|
|
375
|
+
} & RefAttributes<trend_.SinusoidalTrend>>;
|
|
376
|
+
export declare const LoessTrend: ForwardRefExoticComponent<Omit<trend_.LoessTrendAttributes & {
|
|
377
|
+
children?: import("./attrs.ts").JsxChild<AnyElement>;
|
|
378
|
+
}, "children"> & NestedProps & {
|
|
379
|
+
children?: ReactNode;
|
|
380
|
+
} & RefAttributes<trend_.LoessTrend>>;
|
|
381
|
+
export declare const HeatMap: ForwardRefExoticComponent<Omit<heatmap_.HeatMapAttributes & {
|
|
382
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
383
|
+
}, "children"> & NestedProps & {
|
|
384
|
+
children?: ReactNode;
|
|
385
|
+
} & RefAttributes<heatmap_.HeatMap>>;
|
|
386
|
+
export declare const DotMarker: ForwardRefExoticComponent<Omit<marker_.DotMarkerAttributes & {
|
|
387
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
388
|
+
}, "children"> & NestedProps & {
|
|
389
|
+
children?: ReactNode;
|
|
390
|
+
} & RefAttributes<marker_.DotMarker>>;
|
|
391
|
+
export declare const CrossMarker: ForwardRefExoticComponent<Omit<marker_.MarkerAttributes<marker_.LineMarkerBindable> & {
|
|
392
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
393
|
+
}, "children"> & NestedProps & {
|
|
394
|
+
children?: ReactNode;
|
|
395
|
+
} & RefAttributes<marker_.CrossMarker>>;
|
|
396
|
+
export declare const PlusMarker: ForwardRefExoticComponent<Omit<marker_.MarkerAttributes<marker_.LineMarkerBindable> & {
|
|
397
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
398
|
+
}, "children"> & NestedProps & {
|
|
399
|
+
children?: ReactNode;
|
|
400
|
+
} & RefAttributes<marker_.PlusMarker>>;
|
|
401
|
+
export declare const CircleMarker: ForwardRefExoticComponent<Omit<marker_.MarkerAttributes<marker_.ShapeMarkerBindable> & {
|
|
402
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
403
|
+
}, "children"> & NestedProps & {
|
|
404
|
+
children?: ReactNode;
|
|
405
|
+
} & RefAttributes<marker_.CircleMarker>>;
|
|
406
|
+
export declare const SquareMarker: ForwardRefExoticComponent<Omit<marker_.MarkerAttributes<marker_.ShapeMarkerBindable> & {
|
|
407
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
408
|
+
}, "children"> & NestedProps & {
|
|
409
|
+
children?: ReactNode;
|
|
410
|
+
} & RefAttributes<marker_.SquareMarker>>;
|
|
411
|
+
export declare const LineAnnotation: ForwardRefExoticComponent<Omit<annotation_.LineAnnotationAttributes & {
|
|
412
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
413
|
+
}, "children"> & NestedProps & {
|
|
414
|
+
children?: ReactNode;
|
|
415
|
+
} & RefAttributes<annotation_.LineAnnotation>>;
|
|
416
|
+
export declare const CalloutAnnotation: ForwardRefExoticComponent<Omit<annotation_.CalloutAnnotationAttributes & {
|
|
417
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
418
|
+
}, "children"> & NestedProps & {
|
|
419
|
+
children?: ReactNode;
|
|
420
|
+
} & RefAttributes<annotation_.CalloutAnnotation>>;
|
|
421
|
+
export declare const BoxZoom: ForwardRefExoticComponent<Omit<boxzoom_.BoxZoomAttributes & {
|
|
422
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
423
|
+
}, "children"> & NestedProps & {
|
|
424
|
+
children?: ReactNode;
|
|
425
|
+
} & RefAttributes<boxzoom_.BoxZoom>>;
|
|
426
|
+
export declare const Brush: ForwardRefExoticComponent<Omit<brush_.BrushAttributes & {
|
|
427
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
428
|
+
}, "children"> & NestedProps & {
|
|
429
|
+
children?: ReactNode;
|
|
430
|
+
} & RefAttributes<brush_.Brush>>;
|
|
431
|
+
export declare const PanZoom: ForwardRefExoticComponent<Omit<panzoom_.PanZoomAttributes & {
|
|
432
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
433
|
+
}, "children"> & NestedProps & {
|
|
434
|
+
children?: ReactNode;
|
|
435
|
+
} & RefAttributes<panzoom_.PanZoom>>;
|
|
436
|
+
export declare const PointerListener: ForwardRefExoticComponent<Omit<pointer_.PointerListenerAttributes & {
|
|
437
|
+
children?: import("./attrs.ts").JsxChild<never>;
|
|
438
|
+
}, "children"> & NestedProps & {
|
|
439
|
+
children?: ReactNode;
|
|
440
|
+
} & RefAttributes<pointer_.PointerListener>>;
|
|
441
|
+
export {};
|