svelteplot 0.7.0-pr-274.0 → 0.7.0-pr-275.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 +1 -1
- package/dist/Mark.svelte.d.ts +43 -36
- package/dist/marks/Area.svelte.d.ts +11 -4
- package/dist/marks/AreaX.svelte.d.ts +11 -4
- package/dist/marks/Arrow.svelte.d.ts +42 -35
- package/dist/marks/AxisX.svelte.d.ts +15 -8
- package/dist/marks/AxisY.svelte.d.ts +14 -7
- package/dist/marks/BarX.svelte.d.ts +11 -4
- package/dist/marks/BarY.svelte.d.ts +11 -4
- package/dist/marks/BollingerX.svelte.d.ts +10 -3
- package/dist/marks/BollingerY.svelte.d.ts +10 -3
- package/dist/marks/BoxY.svelte.d.ts +16 -9
- package/dist/marks/Brush.svelte.d.ts +58 -31
- package/dist/marks/Cell.svelte.d.ts +41 -34
- package/dist/marks/CustomMark.svelte.d.ts +10 -3
- package/dist/marks/CustomMarkHTML.svelte.d.ts +15 -8
- package/dist/marks/DifferenceY.svelte.d.ts +17 -10
- package/dist/marks/Dot.svelte.d.ts +42 -35
- package/dist/marks/DotX.svelte.d.ts +11 -4
- package/dist/marks/DotY.svelte.d.ts +11 -4
- package/dist/marks/Frame.svelte.d.ts +85 -17
- package/dist/marks/Geo.svelte.d.ts +42 -35
- package/dist/marks/GridX.svelte.d.ts +12 -5
- package/dist/marks/GridY.svelte.d.ts +12 -5
- package/dist/marks/HTMLTooltip.svelte.d.ts +14 -7
- package/dist/marks/Image.svelte.d.ts +10 -3
- package/dist/marks/Line.svelte.d.ts +43 -36
- package/dist/marks/LineX.svelte.d.ts +11 -4
- package/dist/marks/LineY.svelte.d.ts +11 -4
- package/dist/marks/Link.svelte.d.ts +41 -34
- package/dist/marks/Pointer.svelte.d.ts +13 -6
- package/dist/marks/Rect.svelte.d.ts +11 -4
- package/dist/marks/RectX.svelte.d.ts +10 -3
- package/dist/marks/RectY.svelte.d.ts +10 -3
- package/dist/marks/RuleX.svelte.d.ts +12 -5
- package/dist/marks/RuleY.svelte.d.ts +12 -5
- package/dist/marks/Spike.svelte.d.ts +11 -4
- package/dist/marks/Text.svelte.d.ts +18 -11
- package/dist/marks/TickX.svelte.d.ts +11 -4
- package/dist/marks/TickY.svelte.d.ts +11 -4
- package/dist/marks/Vector.svelte.d.ts +41 -34
- package/dist/marks/WaffleX.svelte.d.ts +10 -3
- package/dist/marks/WaffleY.svelte.d.ts +10 -3
- package/dist/marks/helpers/Anchor.svelte.d.ts +19 -12
- package/dist/marks/helpers/MarkerPath.svelte.d.ts +10 -3
- package/dist/marks/helpers/RectPath.svelte.d.ts +13 -6
- package/package.json +16 -16
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { RawValue, ChannelAccessor } from '../types/index.js';
|
|
2
2
|
import { autoTicks } from '../helpers/autoTicks.js';
|
|
3
|
-
declare
|
|
4
|
-
props
|
|
3
|
+
declare function $$render<Datum = RawValue>(): {
|
|
4
|
+
props: Omit<Partial<{
|
|
5
5
|
filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
|
|
6
6
|
facet: "auto" | "include" | "exclude";
|
|
7
7
|
fx: ChannelAccessor<Datum>;
|
|
@@ -64,13 +64,20 @@ declare class __sveltets_Render<Datum = RawValue> {
|
|
|
64
64
|
style: string;
|
|
65
65
|
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
66
66
|
}>, "fill" | "fillOpacity"> & {
|
|
67
|
-
data?: Datum[]
|
|
67
|
+
data?: Datum[];
|
|
68
68
|
automatic?: boolean;
|
|
69
69
|
x1?: ChannelAccessor<Datum>;
|
|
70
70
|
x2?: ChannelAccessor<Datum>;
|
|
71
71
|
};
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
exports: {};
|
|
73
|
+
bindings: "";
|
|
74
|
+
slots: {};
|
|
75
|
+
events: {};
|
|
76
|
+
};
|
|
77
|
+
declare class __sveltets_Render<Datum = RawValue> {
|
|
78
|
+
props(): ReturnType<typeof $$render<Datum>>['props'];
|
|
79
|
+
events(): ReturnType<typeof $$render<Datum>>['events'];
|
|
80
|
+
slots(): ReturnType<typeof $$render<Datum>>['slots'];
|
|
74
81
|
bindings(): "";
|
|
75
82
|
exports(): {};
|
|
76
83
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Snippet } from 'svelte';
|
|
2
2
|
import type { ChannelAccessor, DataRow } from '../types/index.js';
|
|
3
|
-
declare
|
|
4
|
-
props
|
|
3
|
+
declare function $$render<Datum = DataRow>(): {
|
|
4
|
+
props: {
|
|
5
5
|
data: Datum[];
|
|
6
6
|
x?: ChannelAccessor<Datum>;
|
|
7
7
|
y?: ChannelAccessor<Datum>;
|
|
@@ -12,8 +12,15 @@ declare class __sveltets_Render<Datum = DataRow> {
|
|
|
12
12
|
datum: Datum;
|
|
13
13
|
}]>;
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
exports: {};
|
|
16
|
+
bindings: "";
|
|
17
|
+
slots: {};
|
|
18
|
+
events: {};
|
|
19
|
+
};
|
|
20
|
+
declare class __sveltets_Render<Datum = DataRow> {
|
|
21
|
+
props(): ReturnType<typeof $$render<Datum>>['props'];
|
|
22
|
+
events(): ReturnType<typeof $$render<Datum>>['events'];
|
|
23
|
+
slots(): ReturnType<typeof $$render<Datum>>['slots'];
|
|
17
24
|
bindings(): "";
|
|
18
25
|
exports(): {};
|
|
19
26
|
}
|
|
@@ -25,6 +32,6 @@ interface $$IsomorphicComponent {
|
|
|
25
32
|
z_$$bindings?: ReturnType<__sveltets_Render<any>['bindings']>;
|
|
26
33
|
}
|
|
27
34
|
/** For showing custom HTML tooltips positioned at x/y coordinates */
|
|
28
|
-
declare const
|
|
29
|
-
type
|
|
30
|
-
export default
|
|
35
|
+
declare const HTMLTooltip: $$IsomorphicComponent;
|
|
36
|
+
type HTMLTooltip<Datum = DataRow> = InstanceType<typeof HTMLTooltip<Datum>>;
|
|
37
|
+
export default HTMLTooltip;
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import type { DataRecord } from '../types';
|
|
2
|
+
declare function $$render<Datum extends DataRecord>(): {
|
|
3
|
+
props: any;
|
|
4
|
+
exports: {};
|
|
5
|
+
bindings: "";
|
|
6
|
+
slots: {};
|
|
7
|
+
events: {};
|
|
8
|
+
};
|
|
2
9
|
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
3
|
-
props():
|
|
4
|
-
events():
|
|
5
|
-
slots():
|
|
10
|
+
props(): ReturnType<typeof $$render<Datum>>['props'];
|
|
11
|
+
events(): ReturnType<typeof $$render<Datum>>['events'];
|
|
12
|
+
slots(): ReturnType<typeof $$render<Datum>>['slots'];
|
|
6
13
|
bindings(): "";
|
|
7
14
|
exports(): {};
|
|
8
15
|
}
|
|
@@ -2,8 +2,8 @@ import type { CurveName, DataRecord, ConstantAccessor, ChannelAccessor, MarkerOp
|
|
|
2
2
|
import { type CurveFactory } from 'd3-shape';
|
|
3
3
|
import callWithProps from '../helpers/callWithProps.js';
|
|
4
4
|
import type { RawValue } from '../types/index.js';
|
|
5
|
-
declare
|
|
6
|
-
props
|
|
5
|
+
declare function $$render<Datum extends DataRecord>(): {
|
|
6
|
+
props: MarkerOptions & Partial<{
|
|
7
7
|
filter: ConstantAccessor<boolean, Datum>;
|
|
8
8
|
facet: "auto" | "include" | "exclude";
|
|
9
9
|
fx: ChannelAccessor<Datum>;
|
|
@@ -32,41 +32,41 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
32
32
|
imageFilter: ConstantAccessor<string, Datum>;
|
|
33
33
|
shapeRendering: ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
|
|
34
34
|
paintOrder: ConstantAccessor<string, Datum>;
|
|
35
|
-
onclick: import("svelte/elements
|
|
36
|
-
ondblclick: import("svelte/elements
|
|
37
|
-
onmouseup: import("svelte/elements
|
|
38
|
-
onmousedown: import("svelte/elements
|
|
39
|
-
onmouseenter: import("svelte/elements
|
|
40
|
-
onmousemove: import("svelte/elements
|
|
41
|
-
onmouseleave: import("svelte/elements
|
|
42
|
-
onmouseout: import("svelte/elements
|
|
43
|
-
onmouseover: import("svelte/elements
|
|
44
|
-
onpointercancel: import("svelte/elements
|
|
45
|
-
onpointerdown: import("svelte/elements
|
|
46
|
-
onpointerup: import("svelte/elements
|
|
47
|
-
onpointerenter: import("svelte/elements
|
|
48
|
-
onpointerleave: import("svelte/elements
|
|
49
|
-
onpointermove: import("svelte/elements
|
|
50
|
-
onpointerover: import("svelte/elements
|
|
51
|
-
onpointerout: import("svelte/elements
|
|
52
|
-
ondrag: import("svelte/elements
|
|
53
|
-
ondrop: import("svelte/elements
|
|
54
|
-
ondragstart: import("svelte/elements
|
|
55
|
-
ondragenter: import("svelte/elements
|
|
56
|
-
ondragleave: import("svelte/elements
|
|
57
|
-
ondragover: import("svelte/elements
|
|
58
|
-
ondragend: import("svelte/elements
|
|
59
|
-
ontouchstart: import("svelte/elements
|
|
60
|
-
ontouchmove: import("svelte/elements
|
|
61
|
-
ontouchend: import("svelte/elements
|
|
62
|
-
ontouchcancel: import("svelte/elements
|
|
63
|
-
oncontextmenu: import("svelte/elements
|
|
64
|
-
onwheel: import("svelte/elements
|
|
35
|
+
onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
36
|
+
ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
37
|
+
onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
38
|
+
onmousedown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
39
|
+
onmouseenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
40
|
+
onmousemove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
41
|
+
onmouseleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
42
|
+
onmouseout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
43
|
+
onmouseover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
44
|
+
onpointercancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
45
|
+
onpointerdown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
46
|
+
onpointerup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
47
|
+
onpointerenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
48
|
+
onpointerleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
49
|
+
onpointermove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
50
|
+
onpointerover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
51
|
+
onpointerout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
52
|
+
ondrag: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
53
|
+
ondrop: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
54
|
+
ondragstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
55
|
+
ondragenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
56
|
+
ondragleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
57
|
+
ondragover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
|
+
ondragend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
|
+
ontouchstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
+
ontouchmove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
|
+
ontouchend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
62
|
+
ontouchcancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
63
|
+
oncontextmenu: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
64
|
+
onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
65
65
|
class: string;
|
|
66
66
|
style: string;
|
|
67
67
|
cursor: ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
68
68
|
}> & {
|
|
69
|
-
data?: Datum[]
|
|
69
|
+
data?: Datum[];
|
|
70
70
|
x?: ChannelAccessor<Datum>;
|
|
71
71
|
y?: ChannelAccessor<Datum>;
|
|
72
72
|
z?: ChannelAccessor<Datum>;
|
|
@@ -75,7 +75,7 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
75
75
|
outlineStrokeOpacity?: number;
|
|
76
76
|
curve?: CurveName | CurveFactory | "auto";
|
|
77
77
|
tension?: number;
|
|
78
|
-
sort?: ConstantAccessor<RawValue,
|
|
78
|
+
sort?: ConstantAccessor<RawValue, Datum> | {
|
|
79
79
|
channel: "stroke" | "fill";
|
|
80
80
|
};
|
|
81
81
|
text?: ConstantAccessor<string, Datum>;
|
|
@@ -86,8 +86,15 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
86
86
|
lineClass?: ConstantAccessor<string, Datum>;
|
|
87
87
|
canvas?: boolean;
|
|
88
88
|
};
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
exports: {};
|
|
90
|
+
bindings: "";
|
|
91
|
+
slots: {};
|
|
92
|
+
events: {};
|
|
93
|
+
};
|
|
94
|
+
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
95
|
+
props(): ReturnType<typeof $$render<Datum>>['props'];
|
|
96
|
+
events(): ReturnType<typeof $$render<Datum>>['events'];
|
|
97
|
+
slots(): ReturnType<typeof $$render<Datum>>['slots'];
|
|
91
98
|
bindings(): "";
|
|
92
99
|
exports(): {};
|
|
93
100
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { recordizeX } from '../index.js';
|
|
2
2
|
import type { DataRow } from '../index.js';
|
|
3
|
-
declare
|
|
4
|
-
props
|
|
3
|
+
declare function $$render<Datum extends DataRow>(): {
|
|
4
|
+
props: Omit<import("../types").MarkerOptions & Partial<{
|
|
5
5
|
filter: import("../types").ConstantAccessor<boolean, Record<string | symbol, import("../types").RawValue>>;
|
|
6
6
|
facet: "auto" | "include" | "exclude";
|
|
7
7
|
fx: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
@@ -86,8 +86,15 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
86
86
|
}, "y" | "data"> & {
|
|
87
87
|
data: Datum[];
|
|
88
88
|
};
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
exports: {};
|
|
90
|
+
bindings: "";
|
|
91
|
+
slots: {};
|
|
92
|
+
events: {};
|
|
93
|
+
};
|
|
94
|
+
declare class __sveltets_Render<Datum extends DataRow> {
|
|
95
|
+
props(): ReturnType<typeof $$render<Datum>>['props'];
|
|
96
|
+
events(): ReturnType<typeof $$render<Datum>>['events'];
|
|
97
|
+
slots(): ReturnType<typeof $$render<Datum>>['slots'];
|
|
91
98
|
bindings(): "";
|
|
92
99
|
exports(): {};
|
|
93
100
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { recordizeY } from '../index.js';
|
|
2
2
|
import type { DataRow } from '../index.js';
|
|
3
|
-
declare
|
|
4
|
-
props
|
|
3
|
+
declare function $$render<Datum extends DataRow>(): {
|
|
4
|
+
props: Omit<import("../types").MarkerOptions & Partial<{
|
|
5
5
|
filter: import("../types").ConstantAccessor<boolean, Record<string | symbol, import("../types").RawValue>>;
|
|
6
6
|
facet: "auto" | "include" | "exclude";
|
|
7
7
|
fx: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
@@ -86,8 +86,15 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
86
86
|
}, "x" | "data"> & {
|
|
87
87
|
data: Datum[];
|
|
88
88
|
};
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
exports: {};
|
|
90
|
+
bindings: "";
|
|
91
|
+
slots: {};
|
|
92
|
+
events: {};
|
|
93
|
+
};
|
|
94
|
+
declare class __sveltets_Render<Datum extends DataRow> {
|
|
95
|
+
props(): ReturnType<typeof $$render<Datum>>['props'];
|
|
96
|
+
events(): ReturnType<typeof $$render<Datum>>['events'];
|
|
97
|
+
slots(): ReturnType<typeof $$render<Datum>>['slots'];
|
|
91
98
|
bindings(): "";
|
|
92
99
|
exports(): {};
|
|
93
100
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { DataRecord, ConstantAccessor, ChannelAccessor, CurveName, MarkerOptions, RawValue } from '../types/index.js';
|
|
2
2
|
import { replaceChannels } from '../transforms/rename.js';
|
|
3
3
|
import { type CurveFactory } from 'd3-shape';
|
|
4
|
-
declare
|
|
5
|
-
props
|
|
4
|
+
declare function $$render<Datum extends DataRecord>(): {
|
|
5
|
+
props: Partial<{
|
|
6
6
|
filter: ConstantAccessor<boolean, Datum>;
|
|
7
7
|
facet: "auto" | "include" | "exclude";
|
|
8
8
|
fx: ChannelAccessor<Datum>;
|
|
@@ -31,36 +31,36 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
31
31
|
imageFilter: ConstantAccessor<string, Datum>;
|
|
32
32
|
shapeRendering: ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
|
|
33
33
|
paintOrder: ConstantAccessor<string, Datum>;
|
|
34
|
-
onclick: import("svelte/elements
|
|
35
|
-
ondblclick: import("svelte/elements
|
|
36
|
-
onmouseup: import("svelte/elements
|
|
37
|
-
onmousedown: import("svelte/elements
|
|
38
|
-
onmouseenter: import("svelte/elements
|
|
39
|
-
onmousemove: import("svelte/elements
|
|
40
|
-
onmouseleave: import("svelte/elements
|
|
41
|
-
onmouseout: import("svelte/elements
|
|
42
|
-
onmouseover: import("svelte/elements
|
|
43
|
-
onpointercancel: import("svelte/elements
|
|
44
|
-
onpointerdown: import("svelte/elements
|
|
45
|
-
onpointerup: import("svelte/elements
|
|
46
|
-
onpointerenter: import("svelte/elements
|
|
47
|
-
onpointerleave: import("svelte/elements
|
|
48
|
-
onpointermove: import("svelte/elements
|
|
49
|
-
onpointerover: import("svelte/elements
|
|
50
|
-
onpointerout: import("svelte/elements
|
|
51
|
-
ondrag: import("svelte/elements
|
|
52
|
-
ondrop: import("svelte/elements
|
|
53
|
-
ondragstart: import("svelte/elements
|
|
54
|
-
ondragenter: import("svelte/elements
|
|
55
|
-
ondragleave: import("svelte/elements
|
|
56
|
-
ondragover: import("svelte/elements
|
|
57
|
-
ondragend: import("svelte/elements
|
|
58
|
-
ontouchstart: import("svelte/elements
|
|
59
|
-
ontouchmove: import("svelte/elements
|
|
60
|
-
ontouchend: import("svelte/elements
|
|
61
|
-
ontouchcancel: import("svelte/elements
|
|
62
|
-
oncontextmenu: import("svelte/elements
|
|
63
|
-
onwheel: import("svelte/elements
|
|
34
|
+
onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
35
|
+
ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
36
|
+
onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
37
|
+
onmousedown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
38
|
+
onmouseenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
39
|
+
onmousemove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
40
|
+
onmouseleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
41
|
+
onmouseout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
42
|
+
onmouseover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
43
|
+
onpointercancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
44
|
+
onpointerdown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
45
|
+
onpointerup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
46
|
+
onpointerenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
47
|
+
onpointerleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
48
|
+
onpointermove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
49
|
+
onpointerover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
50
|
+
onpointerout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
51
|
+
ondrag: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
52
|
+
ondrop: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
53
|
+
ondragstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
54
|
+
ondragenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
55
|
+
ondragleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
56
|
+
ondragover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
57
|
+
ondragend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
|
+
ontouchstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
|
+
ontouchmove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
+
ontouchend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
|
+
ontouchcancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
62
|
+
oncontextmenu: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
63
|
+
onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
64
64
|
class: string;
|
|
65
65
|
style: string;
|
|
66
66
|
cursor: ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
@@ -96,8 +96,15 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
96
96
|
*/
|
|
97
97
|
text?: ConstantAccessor<string, Datum>;
|
|
98
98
|
};
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
exports: {};
|
|
100
|
+
bindings: "";
|
|
101
|
+
slots: {};
|
|
102
|
+
events: {};
|
|
103
|
+
};
|
|
104
|
+
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
105
|
+
props(): ReturnType<typeof $$render<Datum>>['props'];
|
|
106
|
+
events(): ReturnType<typeof $$render<Datum>>['events'];
|
|
107
|
+
slots(): ReturnType<typeof $$render<Datum>>['slots'];
|
|
101
108
|
bindings(): "";
|
|
102
109
|
exports(): {};
|
|
103
110
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { type Snippet } from 'svelte';
|
|
2
2
|
import type { ChannelAccessor, DataRow } from '../types/index.js';
|
|
3
|
-
declare
|
|
4
|
-
props
|
|
3
|
+
declare function $$render<Datum extends DataRow>(): {
|
|
4
|
+
props: {
|
|
5
5
|
data: Datum[];
|
|
6
6
|
children?: Snippet<[{
|
|
7
7
|
data: Datum[];
|
|
8
|
-
}]
|
|
8
|
+
}]>;
|
|
9
9
|
x?: ChannelAccessor<Datum>;
|
|
10
10
|
y?: ChannelAccessor<Datum>;
|
|
11
11
|
z?: ChannelAccessor<Datum>;
|
|
@@ -24,10 +24,17 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
24
24
|
* called whenever the selection changes
|
|
25
25
|
* @param data
|
|
26
26
|
*/
|
|
27
|
-
onupdate?: (
|
|
27
|
+
onupdate?: (data: Datum[]) => void;
|
|
28
28
|
};
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
exports: {};
|
|
30
|
+
bindings: "";
|
|
31
|
+
slots: {};
|
|
32
|
+
events: {};
|
|
33
|
+
};
|
|
34
|
+
declare class __sveltets_Render<Datum extends DataRow> {
|
|
35
|
+
props(): ReturnType<typeof $$render<Datum>>['props'];
|
|
36
|
+
events(): ReturnType<typeof $$render<Datum>>['events'];
|
|
37
|
+
slots(): ReturnType<typeof $$render<Datum>>['slots'];
|
|
31
38
|
bindings(): "";
|
|
32
39
|
exports(): {};
|
|
33
40
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { intervalX } from '../index.js';
|
|
2
2
|
import type { DataRecord, BaseRectMarkProps, ChannelAccessor, LinkableMarkProps } from '../types/index.js';
|
|
3
|
-
declare
|
|
4
|
-
props
|
|
3
|
+
declare function $$render<Datum extends DataRecord>(): {
|
|
4
|
+
props: Partial<{
|
|
5
5
|
filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
|
|
6
6
|
facet: "auto" | "include" | "exclude";
|
|
7
7
|
fx: ChannelAccessor<Datum>;
|
|
@@ -74,8 +74,15 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
74
74
|
interval?: number | string;
|
|
75
75
|
className?: string;
|
|
76
76
|
};
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
exports: {};
|
|
78
|
+
bindings: "";
|
|
79
|
+
slots: {};
|
|
80
|
+
events: {};
|
|
81
|
+
};
|
|
82
|
+
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
83
|
+
props(): ReturnType<typeof $$render<Datum>>['props'];
|
|
84
|
+
events(): ReturnType<typeof $$render<Datum>>['events'];
|
|
85
|
+
slots(): ReturnType<typeof $$render<Datum>>['slots'];
|
|
79
86
|
bindings(): "";
|
|
80
87
|
exports(): {};
|
|
81
88
|
}
|
|
@@ -5,10 +5,17 @@ import type { StackOptions } from '../transforms/stack.js';
|
|
|
5
5
|
interface RectXMarkProps extends Omit<ComponentProps<typeof Rect>, 'y'> {
|
|
6
6
|
stack?: Partial<StackOptions>;
|
|
7
7
|
}
|
|
8
|
+
declare function $$render<Datum extends DataRecord>(): {
|
|
9
|
+
props: RectXMarkProps;
|
|
10
|
+
exports: {};
|
|
11
|
+
bindings: "";
|
|
12
|
+
slots: {};
|
|
13
|
+
events: {};
|
|
14
|
+
};
|
|
8
15
|
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
9
|
-
props():
|
|
10
|
-
events():
|
|
11
|
-
slots():
|
|
16
|
+
props(): ReturnType<typeof $$render<Datum>>['props'];
|
|
17
|
+
events(): ReturnType<typeof $$render<Datum>>['events'];
|
|
18
|
+
slots(): ReturnType<typeof $$render<Datum>>['slots'];
|
|
12
19
|
bindings(): "";
|
|
13
20
|
exports(): {};
|
|
14
21
|
}
|
|
@@ -5,10 +5,17 @@ import type { StackOptions } from '../transforms/stack.js';
|
|
|
5
5
|
interface RectYMarkProps extends Omit<ComponentProps<typeof Rect>, 'y'> {
|
|
6
6
|
stack?: Partial<StackOptions>;
|
|
7
7
|
}
|
|
8
|
+
declare function $$render<Datum extends DataRecord>(): {
|
|
9
|
+
props: RectYMarkProps;
|
|
10
|
+
exports: {};
|
|
11
|
+
bindings: "";
|
|
12
|
+
slots: {};
|
|
13
|
+
events: {};
|
|
14
|
+
};
|
|
8
15
|
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
9
|
-
props():
|
|
10
|
-
events():
|
|
11
|
-
slots():
|
|
16
|
+
props(): ReturnType<typeof $$render<Datum>>['props'];
|
|
17
|
+
events(): ReturnType<typeof $$render<Datum>>['events'];
|
|
18
|
+
slots(): ReturnType<typeof $$render<Datum>>['slots'];
|
|
12
19
|
bindings(): "";
|
|
13
20
|
exports(): {};
|
|
14
21
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { recordizeX } from '../transforms/recordize.js';
|
|
2
2
|
import type { DataRecord, ConstantAccessor, ChannelAccessor, RawValue } from '../types/index.js';
|
|
3
|
-
declare
|
|
4
|
-
props
|
|
3
|
+
declare function $$render<Datum = DataRecord | RawValue>(): {
|
|
4
|
+
props: Omit<Partial<{
|
|
5
5
|
filter: ConstantAccessor<boolean, Datum>;
|
|
6
6
|
facet: "auto" | "include" | "exclude";
|
|
7
7
|
fx: ChannelAccessor<Datum>;
|
|
@@ -64,7 +64,7 @@ declare class __sveltets_Render<Datum = DataRecord | RawValue> {
|
|
|
64
64
|
style: string;
|
|
65
65
|
cursor: ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
66
66
|
}>, "fill" | "fillOpacity"> & {
|
|
67
|
-
data?: Datum[]
|
|
67
|
+
data?: Datum[];
|
|
68
68
|
x?: ChannelAccessor<Datum>;
|
|
69
69
|
y1?: ChannelAccessor<Datum>;
|
|
70
70
|
y2?: ChannelAccessor<Datum>;
|
|
@@ -72,8 +72,15 @@ declare class __sveltets_Render<Datum = DataRecord | RawValue> {
|
|
|
72
72
|
insetTop?: ConstantAccessor<number, Datum>;
|
|
73
73
|
insetBottom?: ConstantAccessor<number, Datum>;
|
|
74
74
|
};
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
exports: {};
|
|
76
|
+
bindings: "";
|
|
77
|
+
slots: {};
|
|
78
|
+
events: {};
|
|
79
|
+
};
|
|
80
|
+
declare class __sveltets_Render<Datum = DataRecord | RawValue> {
|
|
81
|
+
props(): ReturnType<typeof $$render<Datum>>['props'];
|
|
82
|
+
events(): ReturnType<typeof $$render<Datum>>['events'];
|
|
83
|
+
slots(): ReturnType<typeof $$render<Datum>>['slots'];
|
|
77
84
|
bindings(): "";
|
|
78
85
|
exports(): {};
|
|
79
86
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { recordizeY } from '../transforms/recordize.js';
|
|
2
2
|
import type { DataRecord, ConstantAccessor, ChannelAccessor } from '../types/index.js';
|
|
3
|
-
declare
|
|
4
|
-
props
|
|
3
|
+
declare function $$render<Datum = DataRecord>(): {
|
|
4
|
+
props: Omit<Partial<{
|
|
5
5
|
filter: ConstantAccessor<boolean, Datum>;
|
|
6
6
|
facet: "auto" | "include" | "exclude";
|
|
7
7
|
fx: ChannelAccessor<Datum>;
|
|
@@ -64,7 +64,7 @@ declare class __sveltets_Render<Datum = DataRecord> {
|
|
|
64
64
|
style: string;
|
|
65
65
|
cursor: ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
66
66
|
}>, "fill" | "fillOpacity"> & {
|
|
67
|
-
data?: Datum[]
|
|
67
|
+
data?: Datum[];
|
|
68
68
|
y?: ChannelAccessor<Datum>;
|
|
69
69
|
x1?: ChannelAccessor<Datum>;
|
|
70
70
|
x2?: ChannelAccessor<Datum>;
|
|
@@ -72,8 +72,15 @@ declare class __sveltets_Render<Datum = DataRecord> {
|
|
|
72
72
|
insetLeft?: ConstantAccessor<number, Datum>;
|
|
73
73
|
insetRight?: ConstantAccessor<number, Datum>;
|
|
74
74
|
};
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
exports: {};
|
|
76
|
+
bindings: "";
|
|
77
|
+
slots: {};
|
|
78
|
+
events: {};
|
|
79
|
+
};
|
|
80
|
+
declare class __sveltets_Render<Datum = DataRecord> {
|
|
81
|
+
props(): ReturnType<typeof $$render<Datum>>['props'];
|
|
82
|
+
events(): ReturnType<typeof $$render<Datum>>['events'];
|
|
83
|
+
slots(): ReturnType<typeof $$render<Datum>>['slots'];
|
|
77
84
|
bindings(): "";
|
|
78
85
|
exports(): {};
|
|
79
86
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChannelAccessor, DataRecord } from '../types/index.js';
|
|
2
2
|
import { getPlotDefaults } from '../hooks/plotDefaults.js';
|
|
3
|
-
declare
|
|
4
|
-
props
|
|
3
|
+
declare function $$render<Datum extends DataRecord>(): {
|
|
4
|
+
props: Omit<Partial<{
|
|
5
5
|
filter: import("../types/index.js").ConstantAccessor<boolean, Record<string | symbol, import("../types/data").RawValue>>;
|
|
6
6
|
facet: "auto" | "include" | "exclude";
|
|
7
7
|
fx: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
@@ -82,8 +82,15 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
82
82
|
length?: ChannelAccessor<Datum>;
|
|
83
83
|
rotate?: ChannelAccessor<Datum>;
|
|
84
84
|
};
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
exports: {};
|
|
86
|
+
bindings: "";
|
|
87
|
+
slots: {};
|
|
88
|
+
events: {};
|
|
89
|
+
};
|
|
90
|
+
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
91
|
+
props(): ReturnType<typeof $$render<Datum>>['props'];
|
|
92
|
+
events(): ReturnType<typeof $$render<Datum>>['events'];
|
|
93
|
+
slots(): ReturnType<typeof $$render<Datum>>['slots'];
|
|
87
94
|
bindings(): "";
|
|
88
95
|
exports(): {};
|
|
89
96
|
}
|
|
@@ -2,8 +2,8 @@ import type * as CSS from 'csstype';
|
|
|
2
2
|
import { type Snippet } from 'svelte';
|
|
3
3
|
import type { DataRecord, ConstantAccessor, ChannelAccessor, LinkableMarkProps } from '../types/index.js';
|
|
4
4
|
import { sort } from '../index.js';
|
|
5
|
-
declare
|
|
6
|
-
props
|
|
5
|
+
declare function $$render<Datum extends DataRecord>(): {
|
|
6
|
+
props: Partial<{
|
|
7
7
|
filter: ConstantAccessor<boolean, Datum>;
|
|
8
8
|
facet: "auto" | "include" | "exclude";
|
|
9
9
|
fx: ChannelAccessor<Datum>;
|
|
@@ -66,24 +66,24 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
66
66
|
style: string;
|
|
67
67
|
cursor: ConstantAccessor<CSS.Property.Cursor, Datum>;
|
|
68
68
|
}> & LinkableMarkProps<Datum> & {
|
|
69
|
-
data?: Datum[]
|
|
69
|
+
data?: Datum[];
|
|
70
70
|
x?: ChannelAccessor<Datum>;
|
|
71
71
|
y?: ChannelAccessor<Datum>;
|
|
72
72
|
children?: Snippet;
|
|
73
|
-
text: ConstantAccessor<string |
|
|
73
|
+
text: ConstantAccessor<string | null | false | undefined, Datum>;
|
|
74
74
|
title?: ConstantAccessor<string, Datum>;
|
|
75
75
|
/**
|
|
76
76
|
* the font size of the text
|
|
77
77
|
*/
|
|
78
78
|
fontFamily?: ConstantAccessor<CSS.Property.FontFamily, Datum>;
|
|
79
|
-
fontSize?: ConstantAccessor<
|
|
79
|
+
fontSize?: ConstantAccessor<CSS.Property.FontSize | number, Datum>;
|
|
80
80
|
fontWeight?: ConstantAccessor<CSS.Property.FontWeight, Datum>;
|
|
81
81
|
fontStyle?: ConstantAccessor<CSS.Property.FontStyle, Datum>;
|
|
82
82
|
fontVariant?: ConstantAccessor<CSS.Property.FontVariant, Datum>;
|
|
83
|
-
letterSpacing?: ConstantAccessor<CSS.Property.LetterSpacing
|
|
84
|
-
wordSpacing?: ConstantAccessor<CSS.Property.WordSpacing
|
|
83
|
+
letterSpacing?: ConstantAccessor<CSS.Property.LetterSpacing, Datum>;
|
|
84
|
+
wordSpacing?: ConstantAccessor<CSS.Property.WordSpacing, Datum>;
|
|
85
85
|
textTransform?: ConstantAccessor<CSS.Property.TextTransform, Datum>;
|
|
86
|
-
textDecoration?: ConstantAccessor<CSS.Property.TextDecoration
|
|
86
|
+
textDecoration?: ConstantAccessor<CSS.Property.TextDecoration, Datum>;
|
|
87
87
|
/**
|
|
88
88
|
* the horizontal text anchor; start, end, or middle
|
|
89
89
|
*/
|
|
@@ -101,14 +101,21 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
101
101
|
* @default 1.2
|
|
102
102
|
*/
|
|
103
103
|
lineHeight?: ConstantAccessor<number, Datum>;
|
|
104
|
-
frameAnchor?: ConstantAccessor<"bottom" | "top" | "left" | "right" | "
|
|
104
|
+
frameAnchor?: ConstantAccessor<"bottom" | "top" | "left" | "right" | "top-left" | "bottom-left" | "top-right" | "bottom-right" | "middle", Datum>;
|
|
105
105
|
/**
|
|
106
106
|
* rotate text by angle in degrees
|
|
107
107
|
*/
|
|
108
108
|
rotate?: ConstantAccessor<number, Datum>;
|
|
109
109
|
};
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
exports: {};
|
|
111
|
+
bindings: "";
|
|
112
|
+
slots: {};
|
|
113
|
+
events: {};
|
|
114
|
+
};
|
|
115
|
+
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
116
|
+
props(): ReturnType<typeof $$render<Datum>>['props'];
|
|
117
|
+
events(): ReturnType<typeof $$render<Datum>>['events'];
|
|
118
|
+
slots(): ReturnType<typeof $$render<Datum>>['slots'];
|
|
112
119
|
bindings(): "";
|
|
113
120
|
exports(): {};
|
|
114
121
|
}
|