svelteplot 0.3.7 → 0.3.8-pr-134.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/dist/Mark.svelte +2 -2
- package/dist/Mark.svelte.d.ts +1 -1
- package/dist/helpers/colors.d.ts +1 -1
- package/dist/helpers/index.d.ts +2 -5
- package/dist/helpers/scales.d.ts +1 -1
- package/dist/helpers/typeChecks.d.ts +4 -4
- package/dist/marks/Area.svelte +6 -0
- package/dist/marks/AreaX.svelte.d.ts +2 -1
- package/dist/marks/AreaY.svelte.d.ts +2 -1
- package/dist/marks/AxisX.svelte.d.ts +1 -1
- package/dist/marks/AxisY.svelte.d.ts +1 -1
- package/dist/marks/BarX.svelte.d.ts +1 -1
- package/dist/marks/BollingerX.svelte.d.ts +2 -73
- package/dist/marks/BollingerY.svelte.d.ts +2 -73
- package/dist/marks/BoxY.svelte.d.ts +6 -65
- package/dist/marks/CustomMark.svelte +46 -27
- package/dist/marks/CustomMark.svelte.d.ts +2 -71
- package/dist/marks/DifferenceY.svelte.d.ts +7 -66
- package/dist/marks/Line.svelte.d.ts +2 -2
- package/dist/marks/LineX.svelte.d.ts +2 -1
- package/dist/marks/LineY.svelte.d.ts +2 -1
- package/dist/transforms/bollinger.d.ts +1 -66
- package/dist/transforms/group.d.ts +4 -12
- package/dist/transforms/interval.d.ts +2 -122
- package/dist/transforms/map.d.ts +4 -184
- package/dist/transforms/normalize.d.ts +3 -123
- package/dist/transforms/select.d.ts +7 -427
- package/dist/transforms/sort.d.ts +3 -242
- package/dist/transforms/window.d.ts +2 -130
- package/dist/types/channel.d.ts +1 -0
- package/dist/types/data.d.ts +4 -2
- package/dist/types/mark.d.ts +1 -1
- package/dist/ui/Checkbox.svelte +9 -2
- package/dist/ui/Checkbox.svelte.d.ts +2 -2
- package/package.json +126 -125
|
@@ -1,82 +1,23 @@
|
|
|
1
1
|
import type { ChannelAccessor, CurveName, DataRecord } from '../types/index.js';
|
|
2
2
|
import type { CurveFactory } from 'd3-shape';
|
|
3
3
|
declare class __sveltets_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
|
-
fill: ChannelAccessor<Datum>;
|
|
12
|
-
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
13
|
-
sort: {
|
|
14
|
-
channel: string;
|
|
15
|
-
order?: "ascending" | "descending";
|
|
16
|
-
} | ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Datum>;
|
|
17
|
-
stroke: ChannelAccessor<Datum>;
|
|
18
|
-
strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
19
|
-
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
20
|
-
strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
|
|
21
|
-
strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
|
|
22
|
-
strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
23
|
-
opacity: ChannelAccessor<Datum>;
|
|
24
|
-
strokeDasharray: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
25
|
-
strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
26
|
-
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
27
|
-
clipPath: string;
|
|
28
|
-
imageFilter: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
29
|
-
shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
|
|
30
|
-
paintOrder: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
31
|
-
onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
32
|
-
ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
33
|
-
onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
34
|
-
onmousedown?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
35
|
-
onmouseenter?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
36
|
-
onmousemove?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
37
|
-
onmouseleave?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
38
|
-
onmouseout?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
39
|
-
onmouseover?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
40
|
-
onpointercancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
41
|
-
onpointerdown?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
42
|
-
onpointerup?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
43
|
-
onpointerenter?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
44
|
-
onpointerleave?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
45
|
-
onpointermove?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
46
|
-
onpointerover?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
47
|
-
onpointerout?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
48
|
-
ondrag?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
49
|
-
ondrop?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
50
|
-
ondragstart?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
51
|
-
ondragenter?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
52
|
-
ondragleave?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
53
|
-
ondragover?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
54
|
-
ondragend?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
55
|
-
ontouchstart?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
56
|
-
ontouchmove?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
57
|
-
ontouchend?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
|
-
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
|
-
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
-
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
|
-
class: string | null;
|
|
62
|
-
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
63
|
-
}>, "fill" | "fillOpacity"> & {
|
|
4
|
+
props(): Omit<BaseMarkProps<Datum_1>, "fill" | "fillOpacity"> & {
|
|
64
5
|
data: Datum[];
|
|
65
|
-
x1: ChannelAccessor<
|
|
6
|
+
x1: ChannelAccessor<Datum_1>;
|
|
66
7
|
/**
|
|
67
8
|
* the horizontal position of the metric; bound to the x scale
|
|
68
9
|
*/
|
|
69
|
-
x2: ChannelAccessor<
|
|
70
|
-
x: ChannelAccessor<
|
|
10
|
+
x2: ChannelAccessor<Datum_1>;
|
|
11
|
+
x: ChannelAccessor<Datum_1>;
|
|
71
12
|
/**
|
|
72
13
|
* the vertical position of the comparison; bound to the y scale
|
|
73
14
|
*/
|
|
74
|
-
y1: ChannelAccessor<
|
|
15
|
+
y1: ChannelAccessor<Datum_1>;
|
|
75
16
|
/**
|
|
76
17
|
* the vertical position of the metric; bound to the y scale
|
|
77
18
|
*/
|
|
78
|
-
y2: ChannelAccessor<
|
|
79
|
-
y: ChannelAccessor<
|
|
19
|
+
y2: ChannelAccessor<Datum_1>;
|
|
20
|
+
y: ChannelAccessor<Datum_1>;
|
|
80
21
|
fillOpacity?: number;
|
|
81
22
|
/**
|
|
82
23
|
* the stroke color of the "positive" area; defaults to 'blue'
|
|
@@ -14,7 +14,7 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
14
14
|
sort: {
|
|
15
15
|
channel: string;
|
|
16
16
|
order?: "ascending" | "descending";
|
|
17
|
-
} | ((a: RawValue, b: RawValue) => number) | ConstantAccessor<RawValue, Datum>;
|
|
17
|
+
} | ((a: import("../types/data.js").RawValue, b: import("../types/data.js").RawValue) => number) | ConstantAccessor<import("../types/data.js").RawValue, Datum>;
|
|
18
18
|
stroke: ChannelAccessor<Datum>;
|
|
19
19
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
20
20
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
@@ -71,7 +71,7 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
71
71
|
outlineStrokeOpacity?: number;
|
|
72
72
|
curve?: CurveName | CurveFactory | "auto";
|
|
73
73
|
tension?: number;
|
|
74
|
-
sort?: ConstantAccessor<RawValue,
|
|
74
|
+
sort?: ConstantAccessor<RawValue, Datum_1> | {
|
|
75
75
|
channel: "stroke" | "fill";
|
|
76
76
|
};
|
|
77
77
|
text?: ConstantAccessor<string, Datum>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { recordizeX } from '../index.js';
|
|
1
2
|
import type { DataRow } from '../index.js';
|
|
2
3
|
declare class __sveltets_Render<Datum extends DataRow> {
|
|
3
4
|
props(): Omit<import("../types").MarkerOptions & Partial<{
|
|
@@ -69,7 +70,7 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
69
70
|
outlineStrokeOpacity?: number;
|
|
70
71
|
curve?: import("../types").CurveName | import("d3-shape").CurveFactory | "auto";
|
|
71
72
|
tension?: number;
|
|
72
|
-
sort?: import("../types").ConstantAccessor<
|
|
73
|
+
sort?: import("../types").ConstantAccessor<recordizeX, Datum_1> | {
|
|
73
74
|
channel: "stroke" | "fill";
|
|
74
75
|
};
|
|
75
76
|
text?: import("../types").ConstantAccessor<string, import("../types").DataRecord>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { recordizeY } from '../index.js';
|
|
1
2
|
import type { DataRow } from '../index.js';
|
|
2
3
|
declare class __sveltets_Render<Datum extends DataRow> {
|
|
3
4
|
props(): Omit<import("../types").MarkerOptions & Partial<{
|
|
@@ -69,7 +70,7 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
69
70
|
outlineStrokeOpacity?: number;
|
|
70
71
|
curve?: import("../types").CurveName | import("d3-shape").CurveFactory | "auto";
|
|
71
72
|
tension?: number;
|
|
72
|
-
sort?: import("../types").ConstantAccessor<
|
|
73
|
+
sort?: import("../types").ConstantAccessor<recordizeY, Datum_1> | {
|
|
73
74
|
channel: "stroke" | "fill";
|
|
74
75
|
};
|
|
75
76
|
text?: import("../types").ConstantAccessor<string, import("../types").DataRecord>;
|
|
@@ -11,69 +11,4 @@ export type BollingerOptions = {
|
|
|
11
11
|
};
|
|
12
12
|
export declare function bollingerX(args: TransformArg<DataRecord>, options?: BollingerOptions): TransformArg<DataRecord>;
|
|
13
13
|
export declare function bollingerY(args: TransformArg<DataRecord>, options?: BollingerOptions): TransformArg<DataRecord>;
|
|
14
|
-
export declare function bollingerDim(dim: 'x' | 'y', { data, ...channels }: TransformArg<DataRecord>, options?: BollingerOptions):
|
|
15
|
-
filter?: import("../types/index.js").ConstantAccessor<boolean, DataRecord>;
|
|
16
|
-
facet?: "auto" | "include" | "exclude" | undefined;
|
|
17
|
-
fx?: import("../types/index.js").ChannelAccessor<DataRecord>;
|
|
18
|
-
fy?: import("../types/index.js").ChannelAccessor<DataRecord>;
|
|
19
|
-
dx?: import("../types/index.js").ConstantAccessor<number, DataRecord>;
|
|
20
|
-
dy?: import("../types/index.js").ConstantAccessor<number, DataRecord>;
|
|
21
|
-
fill?: import("../types/index.js").ChannelAccessor<DataRecord>;
|
|
22
|
-
fillOpacity?: import("../types/index.js").ConstantAccessor<number, DataRecord>;
|
|
23
|
-
sort?: {
|
|
24
|
-
channel: string;
|
|
25
|
-
order?: "ascending" | "descending";
|
|
26
|
-
} | ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, DataRecord>;
|
|
27
|
-
stroke?: import("../types/index.js").ChannelAccessor<DataRecord>;
|
|
28
|
-
strokeWidth?: import("../types/index.js").ConstantAccessor<number, DataRecord>;
|
|
29
|
-
strokeOpacity?: import("../types/index.js").ConstantAccessor<number, DataRecord>;
|
|
30
|
-
strokeLinejoin?: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, DataRecord>;
|
|
31
|
-
strokeLinecap?: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, DataRecord>;
|
|
32
|
-
strokeMiterlimit?: import("../types/index.js").ConstantAccessor<number, DataRecord>;
|
|
33
|
-
opacity?: import("../types/index.js").ChannelAccessor<DataRecord>;
|
|
34
|
-
strokeDasharray?: import("../types/index.js").ConstantAccessor<string, DataRecord>;
|
|
35
|
-
strokeDashoffset?: import("../types/index.js").ConstantAccessor<number, DataRecord>;
|
|
36
|
-
mixBlendMode?: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, DataRecord>;
|
|
37
|
-
clipPath?: string | undefined;
|
|
38
|
-
imageFilter?: import("../types/index.js").ConstantAccessor<string, DataRecord>;
|
|
39
|
-
shapeRendering?: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, DataRecord>;
|
|
40
|
-
paintOrder?: import("../types/index.js").ConstantAccessor<string, DataRecord>;
|
|
41
|
-
onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
42
|
-
ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
43
|
-
onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
44
|
-
onmousedown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
45
|
-
onmouseenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
46
|
-
onmousemove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
47
|
-
onmouseleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
48
|
-
onmouseout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
49
|
-
onmouseover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
50
|
-
onpointercancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
51
|
-
onpointerdown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
52
|
-
onpointerup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
53
|
-
onpointerenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
54
|
-
onpointerleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
55
|
-
onpointermove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
56
|
-
onpointerover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
57
|
-
onpointerout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
58
|
-
ondrag?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
59
|
-
ondrop?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
60
|
-
ondragstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
61
|
-
ondragenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
62
|
-
ondragleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
63
|
-
ondragover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
64
|
-
ondragend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
65
|
-
ontouchstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
66
|
-
ontouchmove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
67
|
-
ontouchend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
68
|
-
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
69
|
-
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
70
|
-
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
71
|
-
class?: string | null | undefined;
|
|
72
|
-
cursor?: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, DataRecord>;
|
|
73
|
-
data: {
|
|
74
|
-
__x: import("../types/index.js").RawValue;
|
|
75
|
-
__lo: number;
|
|
76
|
-
__avg: number;
|
|
77
|
-
__hi: number;
|
|
78
|
-
}[];
|
|
79
|
-
};
|
|
14
|
+
export declare function bollingerDim(dim: 'x' | 'y', { data, ...channels }: TransformArg<DataRecord>, options?: BollingerOptions): any;
|
|
@@ -38,29 +38,21 @@ type GroupZOptions = GroupXOptions | GroupYOptions;
|
|
|
38
38
|
* groups the dataset by x and y channel and optionally reduces the group items
|
|
39
39
|
* to output channels fill, stroke, r, opacity, fillOpacity, or strokeOpacity
|
|
40
40
|
*/
|
|
41
|
-
export declare function group({ data, ...channels }: TransformArg<T, DataRecord>, options?: GroupXOptions):
|
|
42
|
-
data: DataRecord[];
|
|
43
|
-
};
|
|
41
|
+
export declare function group({ data, ...channels }: TransformArg<T, DataRecord>, options?: GroupXOptions): any;
|
|
44
42
|
/**
|
|
45
43
|
* groups the dataset by the x channel and optionally reduces the group items
|
|
46
44
|
* to output channels y, y1, y2, fill, stroke, r, opacity, fillOpacity, or strokeOpacity
|
|
47
45
|
*/
|
|
48
|
-
export declare function groupX(input: TransformArg<T, DataRecord>, options?: GroupXOptions):
|
|
49
|
-
data: DataRecord[];
|
|
50
|
-
};
|
|
46
|
+
export declare function groupX(input: TransformArg<T, DataRecord>, options?: GroupXOptions): any;
|
|
51
47
|
/**
|
|
52
48
|
* groups the dataset by the y channel and optionally reduces the group items
|
|
53
49
|
* to output channels x, x1, x2, fill, stroke, r, opacity, fillOpacity, or strokeOpacity
|
|
54
50
|
*/
|
|
55
|
-
export declare function groupY(input: TransformArg<T, DataRecord>, options?: GroupYOptions):
|
|
56
|
-
data: DataRecord[];
|
|
57
|
-
};
|
|
51
|
+
export declare function groupY(input: TransformArg<T, DataRecord>, options?: GroupYOptions): any;
|
|
58
52
|
/**
|
|
59
53
|
* groups the dataset by the z channel and optionally reduces the group items
|
|
60
54
|
* to output channels x, x1, x2, y, y1, y2, fill, stroke, r, opacity, fillOpacity,
|
|
61
55
|
* or strokeOpacity
|
|
62
56
|
*/
|
|
63
|
-
export declare function groupZ(input: TransformArg<T, DataRecord>, options?: GroupZOptions):
|
|
64
|
-
data: DataRecord[];
|
|
65
|
-
};
|
|
57
|
+
export declare function groupZ(input: TransformArg<T, DataRecord>, options?: GroupZOptions): any;
|
|
66
58
|
export {};
|
|
@@ -1,127 +1,7 @@
|
|
|
1
1
|
import type { PlotState, TransformArg } from '../types/index.js';
|
|
2
2
|
export declare function intervalX<T>(args: TransformArg<T>, { plot }: {
|
|
3
3
|
plot: PlotState;
|
|
4
|
-
}):
|
|
5
|
-
filter?: import("../types/index.js").ConstantAccessor<boolean, T>;
|
|
6
|
-
facet?: "auto" | "include" | "exclude" | undefined;
|
|
7
|
-
fx?: import("../types/index.js").ChannelAccessor<T>;
|
|
8
|
-
fy?: import("../types/index.js").ChannelAccessor<T>;
|
|
9
|
-
dx?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
10
|
-
dy?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
11
|
-
fill?: import("../types/index.js").ChannelAccessor<T>;
|
|
12
|
-
fillOpacity?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
13
|
-
sort?: {
|
|
14
|
-
channel: string;
|
|
15
|
-
order?: "ascending" | "descending";
|
|
16
|
-
} | ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, T>;
|
|
17
|
-
stroke?: import("../types/index.js").ChannelAccessor<T>;
|
|
18
|
-
strokeWidth?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
19
|
-
strokeOpacity?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
20
|
-
strokeLinejoin?: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, T>;
|
|
21
|
-
strokeLinecap?: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, T>;
|
|
22
|
-
strokeMiterlimit?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
23
|
-
opacity?: import("../types/index.js").ChannelAccessor<T>;
|
|
24
|
-
strokeDasharray?: import("../types/index.js").ConstantAccessor<string, T>;
|
|
25
|
-
strokeDashoffset?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
26
|
-
mixBlendMode?: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, T>;
|
|
27
|
-
clipPath?: string | undefined;
|
|
28
|
-
imageFilter?: import("../types/index.js").ConstantAccessor<string, T>;
|
|
29
|
-
shapeRendering?: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, T>;
|
|
30
|
-
paintOrder?: import("../types/index.js").ConstantAccessor<string, T>;
|
|
31
|
-
onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
32
|
-
ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
33
|
-
onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
34
|
-
onmousedown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
35
|
-
onmouseenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
36
|
-
onmousemove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
37
|
-
onmouseleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
38
|
-
onmouseout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
39
|
-
onmouseover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
40
|
-
onpointercancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
41
|
-
onpointerdown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
42
|
-
onpointerup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
43
|
-
onpointerenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
44
|
-
onpointerleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
45
|
-
onpointermove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
46
|
-
onpointerover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
47
|
-
onpointerout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
48
|
-
ondrag?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
49
|
-
ondrop?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
50
|
-
ondragstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
51
|
-
ondragenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
52
|
-
ondragleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
53
|
-
ondragover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
54
|
-
ondragend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
55
|
-
ontouchstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
56
|
-
ontouchmove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
57
|
-
ontouchend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
58
|
-
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
59
|
-
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
60
|
-
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
61
|
-
class?: string | null | undefined;
|
|
62
|
-
cursor?: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, T>;
|
|
63
|
-
data: T[];
|
|
64
|
-
};
|
|
4
|
+
}): any;
|
|
65
5
|
export declare function intervalY<T>(args: TransformArg<T>, { plot }: {
|
|
66
6
|
plot: PlotState;
|
|
67
|
-
}):
|
|
68
|
-
filter?: import("../types/index.js").ConstantAccessor<boolean, T>;
|
|
69
|
-
facet?: "auto" | "include" | "exclude" | undefined;
|
|
70
|
-
fx?: import("../types/index.js").ChannelAccessor<T>;
|
|
71
|
-
fy?: import("../types/index.js").ChannelAccessor<T>;
|
|
72
|
-
dx?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
73
|
-
dy?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
74
|
-
fill?: import("../types/index.js").ChannelAccessor<T>;
|
|
75
|
-
fillOpacity?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
76
|
-
sort?: {
|
|
77
|
-
channel: string;
|
|
78
|
-
order?: "ascending" | "descending";
|
|
79
|
-
} | ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, T>;
|
|
80
|
-
stroke?: import("../types/index.js").ChannelAccessor<T>;
|
|
81
|
-
strokeWidth?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
82
|
-
strokeOpacity?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
83
|
-
strokeLinejoin?: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, T>;
|
|
84
|
-
strokeLinecap?: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, T>;
|
|
85
|
-
strokeMiterlimit?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
86
|
-
opacity?: import("../types/index.js").ChannelAccessor<T>;
|
|
87
|
-
strokeDasharray?: import("../types/index.js").ConstantAccessor<string, T>;
|
|
88
|
-
strokeDashoffset?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
89
|
-
mixBlendMode?: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, T>;
|
|
90
|
-
clipPath?: string | undefined;
|
|
91
|
-
imageFilter?: import("../types/index.js").ConstantAccessor<string, T>;
|
|
92
|
-
shapeRendering?: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, T>;
|
|
93
|
-
paintOrder?: import("../types/index.js").ConstantAccessor<string, T>;
|
|
94
|
-
onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
95
|
-
ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
96
|
-
onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
97
|
-
onmousedown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
98
|
-
onmouseenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
99
|
-
onmousemove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
100
|
-
onmouseleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
101
|
-
onmouseout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
102
|
-
onmouseover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
103
|
-
onpointercancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
104
|
-
onpointerdown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
105
|
-
onpointerup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
106
|
-
onpointerenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
107
|
-
onpointerleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
108
|
-
onpointermove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
109
|
-
onpointerover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
110
|
-
onpointerout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
111
|
-
ondrag?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
112
|
-
ondrop?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
113
|
-
ondragstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
114
|
-
ondragenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
115
|
-
ondragleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
116
|
-
ondragover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
117
|
-
ondragend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
118
|
-
ontouchstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
119
|
-
ontouchmove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
120
|
-
ontouchend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
121
|
-
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
122
|
-
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
123
|
-
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
124
|
-
class?: string | null | undefined;
|
|
125
|
-
cursor?: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, T>;
|
|
126
|
-
data: T[];
|
|
127
|
-
};
|
|
7
|
+
}): any;
|
package/dist/transforms/map.d.ts
CHANGED
|
@@ -1,184 +1,4 @@
|
|
|
1
|
-
import type { TransformArg, MapOptions, MapMethod
|
|
2
|
-
export declare function map<T>(args: TransformArg<T>, options: MapOptions):
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
fx?: import("../types/index.js").ChannelAccessor<T>;
|
|
6
|
-
fy?: import("../types/index.js").ChannelAccessor<T>;
|
|
7
|
-
dx?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
8
|
-
dy?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
9
|
-
fill?: import("../types/index.js").ChannelAccessor<T>;
|
|
10
|
-
fillOpacity?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
11
|
-
sort?: {
|
|
12
|
-
channel: string;
|
|
13
|
-
order?: "ascending" | "descending";
|
|
14
|
-
} | ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, T>;
|
|
15
|
-
stroke?: import("../types/index.js").ChannelAccessor<T>;
|
|
16
|
-
strokeWidth?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
17
|
-
strokeOpacity?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
18
|
-
strokeLinejoin?: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, T>;
|
|
19
|
-
strokeLinecap?: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, T>;
|
|
20
|
-
strokeMiterlimit?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
21
|
-
opacity?: import("../types/index.js").ChannelAccessor<T>;
|
|
22
|
-
strokeDasharray?: import("../types/index.js").ConstantAccessor<string, T>;
|
|
23
|
-
strokeDashoffset?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
24
|
-
mixBlendMode?: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, T>;
|
|
25
|
-
clipPath?: string | undefined;
|
|
26
|
-
imageFilter?: import("../types/index.js").ConstantAccessor<string, T>;
|
|
27
|
-
shapeRendering?: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, T>;
|
|
28
|
-
paintOrder?: import("../types/index.js").ConstantAccessor<string, T>;
|
|
29
|
-
onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
30
|
-
ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
31
|
-
onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
32
|
-
onmousedown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
33
|
-
onmouseenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
34
|
-
onmousemove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
35
|
-
onmouseleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
36
|
-
onmouseout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
37
|
-
onmouseover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
38
|
-
onpointercancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
39
|
-
onpointerdown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
40
|
-
onpointerup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
41
|
-
onpointerenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
42
|
-
onpointerleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
43
|
-
onpointermove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
44
|
-
onpointerover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
45
|
-
onpointerout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
46
|
-
ondrag?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
47
|
-
ondrop?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
48
|
-
ondragstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
49
|
-
ondragenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
50
|
-
ondragleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
51
|
-
ondragover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
52
|
-
ondragend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
53
|
-
ontouchstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
54
|
-
ontouchmove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
55
|
-
ontouchend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
56
|
-
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
57
|
-
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
58
|
-
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
59
|
-
class?: string | null | undefined;
|
|
60
|
-
cursor?: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, T>;
|
|
61
|
-
data: DataRecord[];
|
|
62
|
-
};
|
|
63
|
-
export declare function mapX<T>(args: TransformArg<T>, mapper: MapMethod): {
|
|
64
|
-
filter?: import("../types/index.js").ConstantAccessor<boolean, T>;
|
|
65
|
-
facet?: "auto" | "include" | "exclude" | undefined;
|
|
66
|
-
fx?: import("../types/index.js").ChannelAccessor<T>;
|
|
67
|
-
fy?: import("../types/index.js").ChannelAccessor<T>;
|
|
68
|
-
dx?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
69
|
-
dy?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
70
|
-
fill?: import("../types/index.js").ChannelAccessor<T>;
|
|
71
|
-
fillOpacity?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
72
|
-
sort?: {
|
|
73
|
-
channel: string;
|
|
74
|
-
order?: "ascending" | "descending";
|
|
75
|
-
} | ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, T>;
|
|
76
|
-
stroke?: import("../types/index.js").ChannelAccessor<T>;
|
|
77
|
-
strokeWidth?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
78
|
-
strokeOpacity?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
79
|
-
strokeLinejoin?: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, T>;
|
|
80
|
-
strokeLinecap?: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, T>;
|
|
81
|
-
strokeMiterlimit?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
82
|
-
opacity?: import("../types/index.js").ChannelAccessor<T>;
|
|
83
|
-
strokeDasharray?: import("../types/index.js").ConstantAccessor<string, T>;
|
|
84
|
-
strokeDashoffset?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
85
|
-
mixBlendMode?: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, T>;
|
|
86
|
-
clipPath?: string | undefined;
|
|
87
|
-
imageFilter?: import("../types/index.js").ConstantAccessor<string, T>;
|
|
88
|
-
shapeRendering?: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, T>;
|
|
89
|
-
paintOrder?: import("../types/index.js").ConstantAccessor<string, T>;
|
|
90
|
-
onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
91
|
-
ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
92
|
-
onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
93
|
-
onmousedown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
94
|
-
onmouseenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
95
|
-
onmousemove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
96
|
-
onmouseleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
97
|
-
onmouseout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
98
|
-
onmouseover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
99
|
-
onpointercancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
100
|
-
onpointerdown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
101
|
-
onpointerup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
102
|
-
onpointerenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
103
|
-
onpointerleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
104
|
-
onpointermove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
105
|
-
onpointerover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
106
|
-
onpointerout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
107
|
-
ondrag?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
108
|
-
ondrop?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
109
|
-
ondragstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
110
|
-
ondragenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
111
|
-
ondragleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
112
|
-
ondragover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
113
|
-
ondragend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
114
|
-
ontouchstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
115
|
-
ontouchmove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
116
|
-
ontouchend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
117
|
-
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
118
|
-
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
119
|
-
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
120
|
-
class?: string | null | undefined;
|
|
121
|
-
cursor?: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, T>;
|
|
122
|
-
data: DataRecord[];
|
|
123
|
-
};
|
|
124
|
-
export declare function mapY<T>(args: TransformArg<T>, mapper: MapMethod): {
|
|
125
|
-
filter?: import("../types/index.js").ConstantAccessor<boolean, T>;
|
|
126
|
-
facet?: "auto" | "include" | "exclude" | undefined;
|
|
127
|
-
fx?: import("../types/index.js").ChannelAccessor<T>;
|
|
128
|
-
fy?: import("../types/index.js").ChannelAccessor<T>;
|
|
129
|
-
dx?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
130
|
-
dy?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
131
|
-
fill?: import("../types/index.js").ChannelAccessor<T>;
|
|
132
|
-
fillOpacity?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
133
|
-
sort?: {
|
|
134
|
-
channel: string;
|
|
135
|
-
order?: "ascending" | "descending";
|
|
136
|
-
} | ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, T>;
|
|
137
|
-
stroke?: import("../types/index.js").ChannelAccessor<T>;
|
|
138
|
-
strokeWidth?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
139
|
-
strokeOpacity?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
140
|
-
strokeLinejoin?: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, T>;
|
|
141
|
-
strokeLinecap?: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, T>;
|
|
142
|
-
strokeMiterlimit?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
143
|
-
opacity?: import("../types/index.js").ChannelAccessor<T>;
|
|
144
|
-
strokeDasharray?: import("../types/index.js").ConstantAccessor<string, T>;
|
|
145
|
-
strokeDashoffset?: import("../types/index.js").ConstantAccessor<number, T>;
|
|
146
|
-
mixBlendMode?: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, T>;
|
|
147
|
-
clipPath?: string | undefined;
|
|
148
|
-
imageFilter?: import("../types/index.js").ConstantAccessor<string, T>;
|
|
149
|
-
shapeRendering?: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, T>;
|
|
150
|
-
paintOrder?: import("../types/index.js").ConstantAccessor<string, T>;
|
|
151
|
-
onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
152
|
-
ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
153
|
-
onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
154
|
-
onmousedown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
155
|
-
onmouseenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
156
|
-
onmousemove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
157
|
-
onmouseleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
158
|
-
onmouseout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
159
|
-
onmouseover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
160
|
-
onpointercancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
161
|
-
onpointerdown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
162
|
-
onpointerup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
163
|
-
onpointerenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
164
|
-
onpointerleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
165
|
-
onpointermove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
166
|
-
onpointerover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
167
|
-
onpointerout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
168
|
-
ondrag?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
169
|
-
ondrop?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
170
|
-
ondragstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
171
|
-
ondragenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
172
|
-
ondragleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
173
|
-
ondragover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
174
|
-
ondragend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
175
|
-
ontouchstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
176
|
-
ontouchmove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
177
|
-
ontouchend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
178
|
-
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
179
|
-
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
180
|
-
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
181
|
-
class?: string | null | undefined;
|
|
182
|
-
cursor?: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, T>;
|
|
183
|
-
data: DataRecord[];
|
|
184
|
-
};
|
|
1
|
+
import type { TransformArg, MapOptions, MapMethod } from '../types/index.js';
|
|
2
|
+
export declare function map<T>(args: TransformArg<T>, options: MapOptions): any;
|
|
3
|
+
export declare function mapX<T>(args: TransformArg<T>, mapper: MapMethod): any;
|
|
4
|
+
export declare function mapY<T>(args: TransformArg<T>, mapper: MapMethod): any;
|