svelteplot 0.9.2 → 0.10.0-pr-356.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 +9 -2
- package/dist/Mark.svelte.d.ts +5 -4
- package/dist/constants.d.ts +1 -1
- package/dist/helpers/colors.d.ts +8 -11
- package/dist/helpers/curves.d.ts +2 -2
- package/dist/helpers/facets.d.ts +1 -1
- package/dist/helpers/getBaseStyles.d.ts +2 -4
- package/dist/helpers/index.d.ts +3 -3
- package/dist/helpers/reduce.d.ts +1 -1
- package/dist/helpers/scales.d.ts +7 -7
- package/dist/helpers/symbols.d.ts +1 -1
- package/dist/helpers/time.d.ts +3 -3
- package/dist/helpers/typeChecks.d.ts +8 -8
- package/dist/marks/Area.svelte.d.ts +5 -4
- package/dist/marks/AreaX.svelte.d.ts +6 -5
- package/dist/marks/Arrow.svelte.d.ts +5 -4
- package/dist/marks/AxisX.svelte.d.ts +6 -5
- package/dist/marks/AxisY.svelte.d.ts +6 -5
- package/dist/marks/BarX.svelte.d.ts +5 -4
- package/dist/marks/BarY.svelte.d.ts +5 -4
- package/dist/marks/BollingerX.svelte.d.ts +2 -77
- package/dist/marks/BollingerY.svelte.d.ts +2 -77
- package/dist/marks/BoxY.svelte.d.ts +1 -64
- package/dist/marks/Brush.svelte.d.ts +1 -64
- package/dist/marks/Cell.svelte.d.ts +5 -4
- package/dist/marks/CellX.svelte.d.ts +31 -30
- package/dist/marks/CellY.svelte.d.ts +31 -30
- package/dist/marks/CustomMark.svelte.d.ts +2 -85
- package/dist/marks/DifferenceY.svelte.d.ts +1 -64
- package/dist/marks/Dot.svelte.d.ts +5 -4
- package/dist/marks/DotX.svelte.d.ts +6 -5
- package/dist/marks/DotY.svelte.d.ts +6 -5
- package/dist/marks/Frame.svelte.d.ts +6 -5
- package/dist/marks/Geo.svelte.d.ts +5 -4
- package/dist/marks/GridX.svelte.d.ts +5 -4
- package/dist/marks/GridY.svelte.d.ts +5 -4
- package/dist/marks/Image.svelte.d.ts +2 -76
- package/dist/marks/Line.svelte +2 -0
- package/dist/marks/Line.svelte.d.ts +5 -4
- package/dist/marks/LineX.svelte.d.ts +7 -6
- package/dist/marks/LineY.svelte.d.ts +7 -6
- package/dist/marks/Link.svelte +2 -0
- package/dist/marks/Link.svelte.d.ts +5 -4
- package/dist/marks/Rect.svelte.d.ts +5 -4
- package/dist/marks/RuleX.svelte +39 -15
- package/dist/marks/RuleX.svelte.d.ts +6 -4
- package/dist/marks/RuleY.svelte +39 -16
- package/dist/marks/RuleY.svelte.d.ts +6 -4
- package/dist/marks/Spike.svelte.d.ts +6 -5
- package/dist/marks/Text.svelte +49 -20
- package/dist/marks/Text.svelte.d.ts +119 -7
- package/dist/marks/TickX.svelte +40 -33
- package/dist/marks/TickX.svelte.d.ts +6 -4
- package/dist/marks/TickY.svelte +40 -33
- package/dist/marks/TickY.svelte.d.ts +6 -4
- package/dist/marks/Trail.svelte.d.ts +1 -64
- package/dist/marks/Vector.svelte +6 -10
- package/dist/marks/Vector.svelte.d.ts +5 -4
- package/dist/marks/WaffleX.svelte.d.ts +2 -86
- package/dist/marks/WaffleY.svelte.d.ts +2 -84
- package/dist/marks/helpers/Box.svelte.d.ts +1 -64
- package/dist/marks/helpers/Marker.svelte +5 -4
- package/dist/marks/helpers/Marker.svelte.d.ts +1 -0
- package/dist/marks/helpers/MarkerPath.svelte +8 -1
- package/dist/marks/helpers/MarkerPath.svelte.d.ts +2 -103
- package/dist/marks/helpers/RuleCanvas.svelte +175 -0
- package/dist/marks/helpers/RuleCanvas.svelte.d.ts +41 -0
- package/dist/marks/helpers/TextCanvas.svelte +332 -0
- package/dist/marks/helpers/TextCanvas.svelte.d.ts +50 -0
- package/dist/marks/helpers/TickCanvas.svelte +214 -0
- package/dist/marks/helpers/TickCanvas.svelte.d.ts +36 -0
- package/dist/transforms/centroid.d.ts +1 -4
- package/dist/transforms/group.d.ts +4 -12
- package/dist/transforms/interval.d.ts +2 -130
- package/dist/transforms/normalize.d.ts +33 -0
- package/dist/transforms/recordize.d.ts +4 -7
- package/dist/transforms/rename.d.ts +1 -1
- package/dist/transforms/select.d.ts +7 -455
- package/dist/transforms/sort.d.ts +5 -257
- package/dist/transforms/stack.d.ts +3 -23
- package/dist/transforms/window.d.ts +2 -136
- package/dist/types/index.d.ts +4 -0
- package/package.json +87 -71
|
@@ -1,69 +1,6 @@
|
|
|
1
1
|
import type { ChannelAccessor, DataRecord, RawValue } from '../types';
|
|
2
2
|
declare function $$render<Datum extends DataRecord>(): {
|
|
3
|
-
props: Pick<
|
|
4
|
-
filter: import("../types").ConstantAccessor<boolean, Datum>;
|
|
5
|
-
facet: "auto" | "include" | "exclude";
|
|
6
|
-
fx: ChannelAccessor<Datum>;
|
|
7
|
-
fy: ChannelAccessor<Datum>;
|
|
8
|
-
dx: import("../types").ConstantAccessor<number, Datum>;
|
|
9
|
-
dy: import("../types").ConstantAccessor<number, Datum>;
|
|
10
|
-
dodgeX: import("../transforms/dodge").DodgeXOptions;
|
|
11
|
-
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
12
|
-
fill: ChannelAccessor<Datum>;
|
|
13
|
-
fillOpacity: import("../types").ConstantAccessor<number, Datum>;
|
|
14
|
-
sort: ((a: RawValue, b: RawValue) => number) | {
|
|
15
|
-
channel: string;
|
|
16
|
-
order?: "ascending" | "descending";
|
|
17
|
-
} | import("../types").ConstantAccessor<RawValue, Datum>;
|
|
18
|
-
stroke: ChannelAccessor<Datum>;
|
|
19
|
-
strokeWidth: import("../types").ConstantAccessor<number, Datum>;
|
|
20
|
-
strokeOpacity: import("../types").ConstantAccessor<number, Datum>;
|
|
21
|
-
strokeLinejoin: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
|
|
22
|
-
strokeLinecap: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
|
|
23
|
-
strokeMiterlimit: import("../types").ConstantAccessor<number, Datum>;
|
|
24
|
-
opacity: ChannelAccessor<Datum>;
|
|
25
|
-
strokeDasharray: import("../types").ConstantAccessor<string, Datum>;
|
|
26
|
-
strokeDashoffset: import("../types").ConstantAccessor<number, Datum>;
|
|
27
|
-
mixBlendMode: import("../types").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
28
|
-
clipPath: string;
|
|
29
|
-
mask: string;
|
|
30
|
-
imageFilter: import("../types").ConstantAccessor<string, Datum>;
|
|
31
|
-
shapeRendering: import("../types").ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
|
|
32
|
-
paintOrder: import("../types").ConstantAccessor<string, Datum>;
|
|
33
|
-
onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
34
|
-
ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
35
|
-
onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
36
|
-
onmousedown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
37
|
-
onmouseenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
38
|
-
onmousemove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
39
|
-
onmouseleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
40
|
-
onmouseout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
41
|
-
onmouseover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
42
|
-
onpointercancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
43
|
-
onpointerdown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
44
|
-
onpointerup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
45
|
-
onpointerenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
46
|
-
onpointerleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
47
|
-
onpointermove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
48
|
-
onpointerover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
49
|
-
onpointerout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
50
|
-
ondrag: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
51
|
-
ondrop: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
52
|
-
ondragstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
53
|
-
ondragenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
54
|
-
ondragleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
55
|
-
ondragover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
56
|
-
ondragend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
57
|
-
ontouchstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
|
-
ontouchmove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
|
-
ontouchend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
-
ontouchcancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
|
-
oncontextmenu: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
62
|
-
onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
63
|
-
class: string;
|
|
64
|
-
style: string;
|
|
65
|
-
cursor: import("../types").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
66
|
-
}>, "fx" | "fy" | "fill" | "stroke" | "class"> & {
|
|
3
|
+
props: Pick<BaseMarkProps<Datum>, "fill" | "stroke" | "fx" | "fy" | "class"> & {
|
|
67
4
|
data: Datum[];
|
|
68
5
|
x: ChannelAccessor;
|
|
69
6
|
y: ChannelAccessor;
|
|
@@ -1,69 +1,6 @@
|
|
|
1
1
|
import type { DataRecord } from '../types/index.js';
|
|
2
2
|
declare function $$render<Datum extends DataRecord>(): {
|
|
3
|
-
props: Pick<
|
|
4
|
-
filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
|
|
5
|
-
facet: "auto" | "include" | "exclude";
|
|
6
|
-
fx: import("../types/index.js").ChannelAccessor<Datum>;
|
|
7
|
-
fy: import("../types/index.js").ChannelAccessor<Datum>;
|
|
8
|
-
dx: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
9
|
-
dy: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
10
|
-
dodgeX: import("../transforms/dodge.js").DodgeXOptions;
|
|
11
|
-
dodgeY: import("../transforms/dodge.js").DodgeYOptions;
|
|
12
|
-
fill: import("../types/index.js").ChannelAccessor<Datum>;
|
|
13
|
-
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
14
|
-
sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
|
|
15
|
-
channel: string;
|
|
16
|
-
order?: "ascending" | "descending";
|
|
17
|
-
} | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Datum>;
|
|
18
|
-
stroke: import("../types/index.js").ChannelAccessor<Datum>;
|
|
19
|
-
strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
20
|
-
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
21
|
-
strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
|
|
22
|
-
strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
|
|
23
|
-
strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
24
|
-
opacity: import("../types/index.js").ChannelAccessor<Datum>;
|
|
25
|
-
strokeDasharray: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
26
|
-
strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
27
|
-
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
28
|
-
clipPath: string;
|
|
29
|
-
mask: string;
|
|
30
|
-
imageFilter: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
31
|
-
shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
|
|
32
|
-
paintOrder: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
33
|
-
onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
34
|
-
ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
35
|
-
onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
36
|
-
onmousedown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
37
|
-
onmouseenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
38
|
-
onmousemove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
39
|
-
onmouseleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
40
|
-
onmouseout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
41
|
-
onmouseover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
42
|
-
onpointercancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
43
|
-
onpointerdown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
44
|
-
onpointerup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
45
|
-
onpointerenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
46
|
-
onpointerleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
47
|
-
onpointermove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
48
|
-
onpointerover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
49
|
-
onpointerout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
50
|
-
ondrag: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
51
|
-
ondrop: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
52
|
-
ondragstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
53
|
-
ondragenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
54
|
-
ondragleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
55
|
-
ondragover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
56
|
-
ondragend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
57
|
-
ontouchstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
|
-
ontouchmove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
|
-
ontouchend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
-
ontouchcancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
|
-
oncontextmenu: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
62
|
-
onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
63
|
-
class: string;
|
|
64
|
-
style: string;
|
|
65
|
-
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
66
|
-
}>, "stroke" | "strokeWidth" | "strokeOpacity" | "strokeLinejoin" | "strokeLinecap" | "strokeMiterlimit" | "strokeDasharray" | "strokeDashoffset" | "cursor"> & {
|
|
3
|
+
props: Pick<BaseMarkProps<Datum>, "stroke" | "strokeOpacity" | "strokeDasharray" | "strokeLinejoin" | "strokeLinecap" | "cursor" | "strokeWidth" | "strokeMiterlimit" | "strokeDashoffset"> & {
|
|
67
4
|
brush: {
|
|
68
5
|
x1?: number | Date;
|
|
69
6
|
x2?: number | Date;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DataRecord, BaseRectMarkProps, ChannelAccessor, LinkableMarkProps } from '../types/index.js';
|
|
2
|
+
import { recordizeY } from '../index.js';
|
|
2
3
|
declare function $$render<Datum extends DataRecord>(): {
|
|
3
4
|
props: Partial<{
|
|
4
5
|
filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
|
|
@@ -7,14 +8,14 @@ declare function $$render<Datum extends DataRecord>(): {
|
|
|
7
8
|
fy: ChannelAccessor<Datum>;
|
|
8
9
|
dx: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
9
10
|
dy: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
10
|
-
dodgeX:
|
|
11
|
-
dodgeY:
|
|
11
|
+
dodgeX: recordizeY;
|
|
12
|
+
dodgeY: recordizeY;
|
|
12
13
|
fill: ChannelAccessor<Datum>;
|
|
13
14
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
14
|
-
sort:
|
|
15
|
+
sort: {
|
|
15
16
|
channel: string;
|
|
16
17
|
order?: "ascending" | "descending";
|
|
17
|
-
} | import("../types/index.js").ConstantAccessor<import("../types/data.js").RawValue, Datum>;
|
|
18
|
+
} | ((a: import("../types/data.js").RawValue, b: import("../types/data.js").RawValue) => number) | import("../types/index.js").ConstantAccessor<import("../types/data.js").RawValue, Datum>;
|
|
18
19
|
stroke: ChannelAccessor<Datum>;
|
|
19
20
|
strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
20
21
|
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
@@ -1,35 +1,36 @@
|
|
|
1
|
+
import { recordizeY } from '../index.js';
|
|
1
2
|
import type { DataRow } from '../types/index.js';
|
|
2
3
|
declare function $$render<Datum extends DataRow>(): {
|
|
3
4
|
props: Omit<Partial<{
|
|
4
|
-
filter: import("../types
|
|
5
|
+
filter: import("../types").ConstantAccessor<boolean, Record<string | symbol, import("../types").RawValue>>;
|
|
5
6
|
facet: "auto" | "include" | "exclude";
|
|
6
|
-
fx: import("../types
|
|
7
|
-
fy: import("../types
|
|
8
|
-
dx: import("../types
|
|
9
|
-
dy: import("../types
|
|
10
|
-
dodgeX:
|
|
11
|
-
dodgeY:
|
|
12
|
-
fill: import("../types
|
|
13
|
-
fillOpacity: import("../types
|
|
14
|
-
sort:
|
|
7
|
+
fx: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
8
|
+
fy: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
9
|
+
dx: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
10
|
+
dy: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
11
|
+
dodgeX: recordizeY;
|
|
12
|
+
dodgeY: recordizeY;
|
|
13
|
+
fill: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
14
|
+
fillOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
15
|
+
sort: {
|
|
15
16
|
channel: string;
|
|
16
17
|
order?: "ascending" | "descending";
|
|
17
|
-
} | import("../types
|
|
18
|
-
stroke: import("../types
|
|
19
|
-
strokeWidth: import("../types
|
|
20
|
-
strokeOpacity: import("../types
|
|
21
|
-
strokeLinejoin: import("../types
|
|
22
|
-
strokeLinecap: import("../types
|
|
23
|
-
strokeMiterlimit: import("../types
|
|
24
|
-
opacity: import("../types
|
|
25
|
-
strokeDasharray: import("../types
|
|
26
|
-
strokeDashoffset: import("../types
|
|
27
|
-
mixBlendMode: import("../types
|
|
18
|
+
} | ((a: import("../types").RawValue, b: import("../types").RawValue) => number) | import("../types").ConstantAccessor<import("../types").RawValue, Record<string | symbol, import("../types").RawValue>>;
|
|
19
|
+
stroke: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
20
|
+
strokeWidth: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
21
|
+
strokeOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
22
|
+
strokeLinejoin: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Record<string | symbol, import("../types").RawValue>>;
|
|
23
|
+
strokeLinecap: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinecap, Record<string | symbol, import("../types").RawValue>>;
|
|
24
|
+
strokeMiterlimit: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
25
|
+
opacity: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
26
|
+
strokeDasharray: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
27
|
+
strokeDashoffset: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
28
|
+
mixBlendMode: import("../types").ConstantAccessor<import("csstype").Property.MixBlendMode, Record<string | symbol, import("../types").RawValue>>;
|
|
28
29
|
clipPath: string;
|
|
29
30
|
mask: string;
|
|
30
|
-
imageFilter: import("../types
|
|
31
|
-
shapeRendering: import("../types
|
|
32
|
-
paintOrder: import("../types
|
|
31
|
+
imageFilter: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
32
|
+
shapeRendering: import("../types").ConstantAccessor<import("csstype").Property.ShapeRendering, Record<string | symbol, import("../types").RawValue>>;
|
|
33
|
+
paintOrder: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
33
34
|
onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
34
35
|
ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
35
36
|
onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
@@ -62,13 +63,13 @@ declare function $$render<Datum extends DataRow>(): {
|
|
|
62
63
|
onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
63
64
|
class: string;
|
|
64
65
|
style: string;
|
|
65
|
-
cursor: import("../types
|
|
66
|
-
}> & import("../types
|
|
67
|
-
data: Record<string | symbol, import("../types
|
|
68
|
-
x?: import("../types
|
|
69
|
-
y?: import("../types
|
|
66
|
+
cursor: import("../types").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types").RawValue>>;
|
|
67
|
+
}> & import("../types").LinkableMarkProps<Record<string | symbol, import("../types").RawValue>> & import("../types").BaseRectMarkProps<Record<string | symbol, import("../types").RawValue>> & {
|
|
68
|
+
data: Record<string | symbol, import("../types").RawValue>[];
|
|
69
|
+
x?: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
70
|
+
y?: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
70
71
|
canvas?: boolean;
|
|
71
|
-
}, "
|
|
72
|
+
}, "y" | "data"> & {
|
|
72
73
|
data: Datum[];
|
|
73
74
|
};
|
|
74
75
|
exports: {};
|
|
@@ -1,35 +1,36 @@
|
|
|
1
|
+
import { recordizeX } from '../index.js';
|
|
1
2
|
import type { DataRow } from '../types/index.js';
|
|
2
3
|
declare function $$render<Datum extends DataRow>(): {
|
|
3
4
|
props: Omit<Partial<{
|
|
4
|
-
filter: import("../types
|
|
5
|
+
filter: import("../types").ConstantAccessor<boolean, Record<string | symbol, import("../types").RawValue>>;
|
|
5
6
|
facet: "auto" | "include" | "exclude";
|
|
6
|
-
fx: import("../types
|
|
7
|
-
fy: import("../types
|
|
8
|
-
dx: import("../types
|
|
9
|
-
dy: import("../types
|
|
10
|
-
dodgeX:
|
|
11
|
-
dodgeY:
|
|
12
|
-
fill: import("../types
|
|
13
|
-
fillOpacity: import("../types
|
|
14
|
-
sort:
|
|
7
|
+
fx: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
8
|
+
fy: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
9
|
+
dx: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
10
|
+
dy: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
11
|
+
dodgeX: recordizeX;
|
|
12
|
+
dodgeY: recordizeX;
|
|
13
|
+
fill: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
14
|
+
fillOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
15
|
+
sort: {
|
|
15
16
|
channel: string;
|
|
16
17
|
order?: "ascending" | "descending";
|
|
17
|
-
} | import("../types
|
|
18
|
-
stroke: import("../types
|
|
19
|
-
strokeWidth: import("../types
|
|
20
|
-
strokeOpacity: import("../types
|
|
21
|
-
strokeLinejoin: import("../types
|
|
22
|
-
strokeLinecap: import("../types
|
|
23
|
-
strokeMiterlimit: import("../types
|
|
24
|
-
opacity: import("../types
|
|
25
|
-
strokeDasharray: import("../types
|
|
26
|
-
strokeDashoffset: import("../types
|
|
27
|
-
mixBlendMode: import("../types
|
|
18
|
+
} | ((a: import("../types").RawValue, b: import("../types").RawValue) => number) | import("../types").ConstantAccessor<import("../types").RawValue, Record<string | symbol, import("../types").RawValue>>;
|
|
19
|
+
stroke: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
20
|
+
strokeWidth: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
21
|
+
strokeOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
22
|
+
strokeLinejoin: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Record<string | symbol, import("../types").RawValue>>;
|
|
23
|
+
strokeLinecap: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinecap, Record<string | symbol, import("../types").RawValue>>;
|
|
24
|
+
strokeMiterlimit: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
25
|
+
opacity: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
26
|
+
strokeDasharray: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
27
|
+
strokeDashoffset: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
28
|
+
mixBlendMode: import("../types").ConstantAccessor<import("csstype").Property.MixBlendMode, Record<string | symbol, import("../types").RawValue>>;
|
|
28
29
|
clipPath: string;
|
|
29
30
|
mask: string;
|
|
30
|
-
imageFilter: import("../types
|
|
31
|
-
shapeRendering: import("../types
|
|
32
|
-
paintOrder: import("../types
|
|
31
|
+
imageFilter: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
32
|
+
shapeRendering: import("../types").ConstantAccessor<import("csstype").Property.ShapeRendering, Record<string | symbol, import("../types").RawValue>>;
|
|
33
|
+
paintOrder: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
33
34
|
onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
34
35
|
ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
35
36
|
onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
@@ -62,13 +63,13 @@ declare function $$render<Datum extends DataRow>(): {
|
|
|
62
63
|
onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
63
64
|
class: string;
|
|
64
65
|
style: string;
|
|
65
|
-
cursor: import("../types
|
|
66
|
-
}> & import("../types
|
|
67
|
-
data: Record<string | symbol, import("../types
|
|
68
|
-
x?: import("../types
|
|
69
|
-
y?: import("../types
|
|
66
|
+
cursor: import("../types").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types").RawValue>>;
|
|
67
|
+
}> & import("../types").LinkableMarkProps<Record<string | symbol, import("../types").RawValue>> & import("../types").BaseRectMarkProps<Record<string | symbol, import("../types").RawValue>> & {
|
|
68
|
+
data: Record<string | symbol, import("../types").RawValue>[];
|
|
69
|
+
x?: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
70
|
+
y?: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
70
71
|
canvas?: boolean;
|
|
71
|
-
}, "
|
|
72
|
+
}, "x" | "data"> & {
|
|
72
73
|
data: Datum[];
|
|
73
74
|
};
|
|
74
75
|
exports: {};
|
|
@@ -1,89 +1,6 @@
|
|
|
1
|
-
import type { DataRecord
|
|
2
|
-
import type { Snippet } from 'svelte';
|
|
1
|
+
import type { DataRecord } from '../types/index.js';
|
|
3
2
|
declare function $$render<Datum extends DataRecord>(): {
|
|
4
|
-
props:
|
|
5
|
-
filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
|
|
6
|
-
facet: "auto" | "include" | "exclude";
|
|
7
|
-
fx: ChannelAccessor<Datum>;
|
|
8
|
-
fy: ChannelAccessor<Datum>;
|
|
9
|
-
dx: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
10
|
-
dy: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
11
|
-
dodgeX: import("../transforms/dodge").DodgeXOptions;
|
|
12
|
-
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
13
|
-
fill: ChannelAccessor<Datum>;
|
|
14
|
-
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
15
|
-
sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
|
|
16
|
-
channel: string;
|
|
17
|
-
order?: "ascending" | "descending";
|
|
18
|
-
} | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Datum>;
|
|
19
|
-
stroke: ChannelAccessor<Datum>;
|
|
20
|
-
strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
21
|
-
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
22
|
-
strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
|
|
23
|
-
strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
|
|
24
|
-
strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
25
|
-
opacity: ChannelAccessor<Datum>;
|
|
26
|
-
strokeDasharray: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
27
|
-
strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
28
|
-
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
29
|
-
clipPath: string;
|
|
30
|
-
mask: string;
|
|
31
|
-
imageFilter: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
32
|
-
shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
|
|
33
|
-
paintOrder: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
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
|
-
class: string;
|
|
65
|
-
style: string;
|
|
66
|
-
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
67
|
-
}> & {
|
|
68
|
-
data?: Datum[];
|
|
69
|
-
type?: string;
|
|
70
|
-
x?: ChannelAccessor<Datum>;
|
|
71
|
-
x1?: ChannelAccessor<Datum>;
|
|
72
|
-
x2?: ChannelAccessor<Datum>;
|
|
73
|
-
y?: ChannelAccessor<Datum>;
|
|
74
|
-
y1?: ChannelAccessor<Datum>;
|
|
75
|
-
y2?: ChannelAccessor<Datum>;
|
|
76
|
-
r?: ChannelAccessor<Datum>;
|
|
77
|
-
mark?: Snippet<[{
|
|
78
|
-
record: ScaledDataRecord<Datum>;
|
|
79
|
-
index: number;
|
|
80
|
-
usedScales: UsedScales;
|
|
81
|
-
}]>;
|
|
82
|
-
marks?: Snippet<[{
|
|
83
|
-
records: ScaledDataRecord<Datum>[];
|
|
84
|
-
usedScales: UsedScales;
|
|
85
|
-
}]>;
|
|
86
|
-
};
|
|
3
|
+
props: any;
|
|
87
4
|
exports: {};
|
|
88
5
|
bindings: "";
|
|
89
6
|
slots: {};
|
|
@@ -1,70 +1,7 @@
|
|
|
1
1
|
import type { ChannelAccessor, CurveName, DataRecord } from '../types/index.js';
|
|
2
2
|
import type { CurveFactory } from 'd3-shape';
|
|
3
3
|
declare function $$render<Datum extends DataRecord>(): {
|
|
4
|
-
props: Omit<
|
|
5
|
-
filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
|
|
6
|
-
facet: "auto" | "include" | "exclude";
|
|
7
|
-
fx: ChannelAccessor<Datum>;
|
|
8
|
-
fy: ChannelAccessor<Datum>;
|
|
9
|
-
dx: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
10
|
-
dy: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
11
|
-
dodgeX: import("../transforms/dodge").DodgeXOptions;
|
|
12
|
-
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
13
|
-
fill: ChannelAccessor<Datum>;
|
|
14
|
-
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
15
|
-
sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
|
|
16
|
-
channel: string;
|
|
17
|
-
order?: "ascending" | "descending";
|
|
18
|
-
} | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Datum>;
|
|
19
|
-
stroke: ChannelAccessor<Datum>;
|
|
20
|
-
strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
21
|
-
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
22
|
-
strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
|
|
23
|
-
strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
|
|
24
|
-
strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
25
|
-
opacity: ChannelAccessor<Datum>;
|
|
26
|
-
strokeDasharray: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
27
|
-
strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
28
|
-
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
29
|
-
clipPath: string;
|
|
30
|
-
mask: string;
|
|
31
|
-
imageFilter: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
32
|
-
shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
|
|
33
|
-
paintOrder: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
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
|
-
class: string;
|
|
65
|
-
style: string;
|
|
66
|
-
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
67
|
-
}>, "fill" | "fillOpacity"> & {
|
|
4
|
+
props: Omit<BaseMarkProps<Datum>, "fill" | "fillOpacity"> & {
|
|
68
5
|
data: Datum[];
|
|
69
6
|
x1: ChannelAccessor<Datum>;
|
|
70
7
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type Snippet } from 'svelte';
|
|
2
2
|
import type { DataRecord, ConstantAccessor, ChannelAccessor, LinkableMarkProps } from '../types/index.js';
|
|
3
|
+
import { maybeSymbol } from '../helpers/symbols.js';
|
|
3
4
|
declare function $$render<Datum extends DataRecord>(): {
|
|
4
5
|
props: Partial<{
|
|
5
6
|
filter: ConstantAccessor<boolean, Datum>;
|
|
@@ -8,14 +9,14 @@ declare function $$render<Datum extends DataRecord>(): {
|
|
|
8
9
|
fy: ChannelAccessor<Datum>;
|
|
9
10
|
dx: ConstantAccessor<number, Datum>;
|
|
10
11
|
dy: ConstantAccessor<number, Datum>;
|
|
11
|
-
dodgeX:
|
|
12
|
-
dodgeY:
|
|
12
|
+
dodgeX: maybeSymbol;
|
|
13
|
+
dodgeY: maybeSymbol;
|
|
13
14
|
fill: ChannelAccessor<Datum>;
|
|
14
15
|
fillOpacity: ConstantAccessor<number, Datum>;
|
|
15
|
-
sort:
|
|
16
|
+
sort: {
|
|
16
17
|
channel: string;
|
|
17
18
|
order?: "ascending" | "descending";
|
|
18
|
-
} | ConstantAccessor<import("../types/data.js").RawValue, Datum>;
|
|
19
|
+
} | ((a: import("../types/data.js").RawValue, b: import("../types/data.js").RawValue) => number) | ConstantAccessor<import("../types/data.js").RawValue, Datum>;
|
|
19
20
|
stroke: ChannelAccessor<Datum>;
|
|
20
21
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
21
22
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { recordizeX } from '../index.js';
|
|
1
2
|
import type { ChannelAccessor, DataRow } from '../types/index.js';
|
|
2
3
|
declare function $$render<Datum extends DataRow>(): {
|
|
3
4
|
props: Omit<Partial<{
|
|
@@ -7,14 +8,14 @@ declare function $$render<Datum extends DataRow>(): {
|
|
|
7
8
|
fy: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
8
9
|
dx: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
9
10
|
dy: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
10
|
-
dodgeX:
|
|
11
|
-
dodgeY:
|
|
11
|
+
dodgeX: recordizeX;
|
|
12
|
+
dodgeY: recordizeX;
|
|
12
13
|
fill: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
13
14
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
14
|
-
sort:
|
|
15
|
+
sort: {
|
|
15
16
|
channel: string;
|
|
16
17
|
order?: "ascending" | "descending";
|
|
17
|
-
} | import("../types/index.js").ConstantAccessor<import("../types/data").RawValue, Record<string | symbol, import("../types/data").RawValue>>;
|
|
18
|
+
} | ((a: import("../types/data").RawValue, b: import("../types/data").RawValue) => number) | import("../types/index.js").ConstantAccessor<import("../types/data").RawValue, Record<string | symbol, import("../types/data").RawValue>>;
|
|
18
19
|
stroke: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
19
20
|
strokeWidth: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
20
21
|
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
@@ -71,7 +72,7 @@ declare function $$render<Datum extends DataRow>(): {
|
|
|
71
72
|
symbol?: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>> | import("svelte").Snippet<[number, string]>;
|
|
72
73
|
canvas?: boolean;
|
|
73
74
|
dotClass?: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/data").RawValue>>;
|
|
74
|
-
}, "
|
|
75
|
+
}, "x" | "y" | "data"> & {
|
|
75
76
|
data: Datum[];
|
|
76
77
|
x?: ChannelAccessor<Datum>;
|
|
77
78
|
};
|