svelteplot 0.3.11 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/FacetGrid.svelte +3 -0
- package/dist/helpers/autoScales.js +1 -1
- package/dist/helpers/group.d.ts +2 -2
- package/dist/helpers/index.d.ts +3 -6
- package/dist/helpers/index.js +1 -1
- package/dist/helpers/mergeDeep.js +0 -1
- package/dist/helpers/reduce.js +0 -1
- package/dist/helpers/scales.js +1 -1
- package/dist/marks/AreaX.svelte.d.ts +29 -29
- package/dist/marks/AreaY.svelte.d.ts +29 -29
- package/dist/marks/DotX.svelte.d.ts +29 -29
- package/dist/marks/DotY.svelte.d.ts +29 -29
- package/dist/marks/GridX.svelte +4 -2
- package/dist/marks/GridY.svelte +4 -2
- package/dist/marks/HTMLTooltip.svelte +38 -12
- package/dist/marks/HTMLTooltip.svelte.d.ts +2 -0
- package/dist/marks/LineX.svelte.d.ts +33 -33
- package/dist/marks/LineY.svelte.d.ts +33 -33
- package/dist/marks/Spike.svelte.d.ts +27 -27
- package/dist/marks/Text.svelte +9 -6
- package/dist/marks/Text.svelte.d.ts +8 -4
- package/dist/marks/helpers/MultilineText.svelte +6 -8
- package/dist/transforms/bollinger.d.ts +22 -22
- package/dist/transforms/filter.d.ts +2 -2
- package/dist/transforms/group.d.ts +4 -4
- package/dist/transforms/index.d.ts +1 -1
- package/dist/transforms/index.js +1 -1
- package/dist/transforms/map.d.ts +4 -184
- package/dist/transforms/normalize.d.ts +3 -123
- package/dist/transforms/select.d.ts +161 -161
- package/dist/transforms/sort.d.ts +50 -50
- package/dist/transforms/stack.d.ts +23 -1
- package/dist/transforms/stack.js +71 -2
- package/dist/transforms/window.d.ts +44 -46
- package/dist/types/channel.d.ts +1 -1
- package/dist/types/data.d.ts +1 -3
- package/dist/types/index.d.ts +4 -4
- package/dist/types/scale.d.ts +1 -1
- package/dist/ui/ExamplesGrid.svelte +2 -1
- package/package.json +16 -16
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import type { DataRow } from '../index.js';
|
|
2
2
|
declare class __sveltets_Render<Datum extends DataRow> {
|
|
3
3
|
props(): Omit<import("../types").MarkerOptions & Partial<{
|
|
4
|
-
filter?: import("../types").ConstantAccessor<boolean, import("../types").
|
|
4
|
+
filter?: import("../types").ConstantAccessor<boolean, Record<string | symbol, import("../types").RawValue>>;
|
|
5
5
|
facet?: "auto" | "include" | "exclude";
|
|
6
|
-
fx: import("../types").ChannelAccessor<import("../types").
|
|
7
|
-
fy: import("../types").ChannelAccessor<import("../types").
|
|
8
|
-
dx: import("../types").ConstantAccessor<number, import("../types").
|
|
9
|
-
dy: import("../types").ConstantAccessor<number, import("../types").
|
|
10
|
-
fill: import("../types").ChannelAccessor<import("../types").
|
|
11
|
-
fillOpacity: import("../types").ConstantAccessor<number, import("../types").
|
|
6
|
+
fx: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
7
|
+
fy: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
8
|
+
dx: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
9
|
+
dy: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
10
|
+
fill: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
11
|
+
fillOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
12
12
|
sort: {
|
|
13
13
|
channel: string;
|
|
14
14
|
order?: "ascending" | "descending";
|
|
15
|
-
} | ((a: import("../types").RawValue, b: import("../types").RawValue) => number) | import("../types").ConstantAccessor<import("../types").RawValue, import("../types").
|
|
16
|
-
stroke: import("../types").ChannelAccessor<import("../types").
|
|
17
|
-
strokeWidth: import("../types").ConstantAccessor<number, import("../types").
|
|
18
|
-
strokeOpacity: import("../types").ConstantAccessor<number, import("../types").
|
|
19
|
-
strokeLinejoin: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinejoin, import("../types").
|
|
20
|
-
strokeLinecap: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinecap, import("../types").
|
|
21
|
-
strokeMiterlimit: import("../types").ConstantAccessor<number, import("../types").
|
|
22
|
-
opacity: import("../types").ChannelAccessor<import("../types").
|
|
23
|
-
strokeDasharray: import("../types").ConstantAccessor<string, import("../types").
|
|
24
|
-
strokeDashoffset: import("../types").ConstantAccessor<number, import("../types").
|
|
25
|
-
mixBlendMode: import("../types").ConstantAccessor<import("csstype").Property.MixBlendMode, import("../types").
|
|
15
|
+
} | ((a: import("../types").RawValue, b: import("../types").RawValue) => number) | import("../types").ConstantAccessor<import("../types").RawValue, Record<string | symbol, import("../types").RawValue>>;
|
|
16
|
+
stroke: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
17
|
+
strokeWidth: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
18
|
+
strokeOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
19
|
+
strokeLinejoin: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Record<string | symbol, import("../types").RawValue>>;
|
|
20
|
+
strokeLinecap: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinecap, Record<string | symbol, import("../types").RawValue>>;
|
|
21
|
+
strokeMiterlimit: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
22
|
+
opacity: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
23
|
+
strokeDasharray: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
24
|
+
strokeDashoffset: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
25
|
+
mixBlendMode: import("../types").ConstantAccessor<import("csstype").Property.MixBlendMode, Record<string | symbol, import("../types").RawValue>>;
|
|
26
26
|
clipPath: string;
|
|
27
|
-
imageFilter: import("../types").ConstantAccessor<string, import("../types").
|
|
28
|
-
shapeRendering: import("../types").ConstantAccessor<import("csstype").Property.ShapeRendering, import("../types").
|
|
29
|
-
paintOrder: import("../types").ConstantAccessor<string, import("../types").
|
|
27
|
+
imageFilter: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
28
|
+
shapeRendering: import("../types").ConstantAccessor<import("csstype").Property.ShapeRendering, Record<string | symbol, import("../types").RawValue>>;
|
|
29
|
+
paintOrder: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
30
30
|
onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
31
31
|
ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
32
32
|
onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
@@ -58,26 +58,26 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
58
58
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
60
|
class: string | null;
|
|
61
|
-
cursor: import("../types").ConstantAccessor<import("csstype").Property.Cursor, import("../types").
|
|
61
|
+
cursor: import("../types").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types").RawValue>>;
|
|
62
62
|
}> & {
|
|
63
|
-
data?: import("../types").
|
|
64
|
-
x?: import("../types").ChannelAccessor<import("../types").
|
|
65
|
-
y?: import("../types").ChannelAccessor<import("../types").
|
|
66
|
-
z?: import("../types").ChannelAccessor<import("../types").
|
|
63
|
+
data?: Record<string | symbol, import("../types").RawValue>[] | undefined;
|
|
64
|
+
x?: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
65
|
+
y?: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
66
|
+
z?: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
67
67
|
outlineStroke?: string;
|
|
68
68
|
outlineStrokeWidth?: number;
|
|
69
69
|
outlineStrokeOpacity?: number;
|
|
70
70
|
curve?: import("../types").CurveName | import("d3-shape").CurveFactory | "auto";
|
|
71
71
|
tension?: number;
|
|
72
|
-
sort?: import("../types").ConstantAccessor<import("../types").RawValue, import("../types").
|
|
72
|
+
sort?: import("../types").ConstantAccessor<import("../types").RawValue, Record<string | symbol, import("../types").RawValue>> | {
|
|
73
73
|
channel: "stroke" | "fill";
|
|
74
74
|
};
|
|
75
|
-
text?: import("../types").ConstantAccessor<string, import("../types").
|
|
76
|
-
textFill?: import("../types").ConstantAccessor<string, import("../types").
|
|
77
|
-
textStroke?: import("../types").ConstantAccessor<string, import("../types").
|
|
78
|
-
textStartOffset?: import("../types").ConstantAccessor<string, import("../types").
|
|
79
|
-
textStrokeWidth?: import("../types").ConstantAccessor<number, import("../types").
|
|
80
|
-
lineClass?: import("../types").ConstantAccessor<string, import("../types").
|
|
75
|
+
text?: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
76
|
+
textFill?: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
77
|
+
textStroke?: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
78
|
+
textStartOffset?: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
79
|
+
textStrokeWidth?: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
80
|
+
lineClass?: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
81
81
|
canvas?: boolean;
|
|
82
82
|
}, "y" | "data"> & {
|
|
83
83
|
data: Datum[];
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import type { DataRow } from '../index.js';
|
|
2
2
|
declare class __sveltets_Render<Datum extends DataRow> {
|
|
3
3
|
props(): Omit<import("../types").MarkerOptions & Partial<{
|
|
4
|
-
filter?: import("../types").ConstantAccessor<boolean, import("../types").
|
|
4
|
+
filter?: import("../types").ConstantAccessor<boolean, Record<string | symbol, import("../types").RawValue>>;
|
|
5
5
|
facet?: "auto" | "include" | "exclude";
|
|
6
|
-
fx: import("../types").ChannelAccessor<import("../types").
|
|
7
|
-
fy: import("../types").ChannelAccessor<import("../types").
|
|
8
|
-
dx: import("../types").ConstantAccessor<number, import("../types").
|
|
9
|
-
dy: import("../types").ConstantAccessor<number, import("../types").
|
|
10
|
-
fill: import("../types").ChannelAccessor<import("../types").
|
|
11
|
-
fillOpacity: import("../types").ConstantAccessor<number, import("../types").
|
|
6
|
+
fx: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
7
|
+
fy: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
8
|
+
dx: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
9
|
+
dy: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
10
|
+
fill: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
11
|
+
fillOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
12
12
|
sort: {
|
|
13
13
|
channel: string;
|
|
14
14
|
order?: "ascending" | "descending";
|
|
15
|
-
} | ((a: import("../types").RawValue, b: import("../types").RawValue) => number) | import("../types").ConstantAccessor<import("../types").RawValue, import("../types").
|
|
16
|
-
stroke: import("../types").ChannelAccessor<import("../types").
|
|
17
|
-
strokeWidth: import("../types").ConstantAccessor<number, import("../types").
|
|
18
|
-
strokeOpacity: import("../types").ConstantAccessor<number, import("../types").
|
|
19
|
-
strokeLinejoin: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinejoin, import("../types").
|
|
20
|
-
strokeLinecap: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinecap, import("../types").
|
|
21
|
-
strokeMiterlimit: import("../types").ConstantAccessor<number, import("../types").
|
|
22
|
-
opacity: import("../types").ChannelAccessor<import("../types").
|
|
23
|
-
strokeDasharray: import("../types").ConstantAccessor<string, import("../types").
|
|
24
|
-
strokeDashoffset: import("../types").ConstantAccessor<number, import("../types").
|
|
25
|
-
mixBlendMode: import("../types").ConstantAccessor<import("csstype").Property.MixBlendMode, import("../types").
|
|
15
|
+
} | ((a: import("../types").RawValue, b: import("../types").RawValue) => number) | import("../types").ConstantAccessor<import("../types").RawValue, Record<string | symbol, import("../types").RawValue>>;
|
|
16
|
+
stroke: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
17
|
+
strokeWidth: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
18
|
+
strokeOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
19
|
+
strokeLinejoin: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Record<string | symbol, import("../types").RawValue>>;
|
|
20
|
+
strokeLinecap: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinecap, Record<string | symbol, import("../types").RawValue>>;
|
|
21
|
+
strokeMiterlimit: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
22
|
+
opacity: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
23
|
+
strokeDasharray: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
24
|
+
strokeDashoffset: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
25
|
+
mixBlendMode: import("../types").ConstantAccessor<import("csstype").Property.MixBlendMode, Record<string | symbol, import("../types").RawValue>>;
|
|
26
26
|
clipPath: string;
|
|
27
|
-
imageFilter: import("../types").ConstantAccessor<string, import("../types").
|
|
28
|
-
shapeRendering: import("../types").ConstantAccessor<import("csstype").Property.ShapeRendering, import("../types").
|
|
29
|
-
paintOrder: import("../types").ConstantAccessor<string, import("../types").
|
|
27
|
+
imageFilter: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
28
|
+
shapeRendering: import("../types").ConstantAccessor<import("csstype").Property.ShapeRendering, Record<string | symbol, import("../types").RawValue>>;
|
|
29
|
+
paintOrder: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
30
30
|
onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
31
31
|
ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
32
32
|
onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
@@ -58,26 +58,26 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
58
58
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
60
|
class: string | null;
|
|
61
|
-
cursor: import("../types").ConstantAccessor<import("csstype").Property.Cursor, import("../types").
|
|
61
|
+
cursor: import("../types").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types").RawValue>>;
|
|
62
62
|
}> & {
|
|
63
|
-
data?: import("../types").
|
|
64
|
-
x?: import("../types").ChannelAccessor<import("../types").
|
|
65
|
-
y?: import("../types").ChannelAccessor<import("../types").
|
|
66
|
-
z?: import("../types").ChannelAccessor<import("../types").
|
|
63
|
+
data?: Record<string | symbol, import("../types").RawValue>[] | undefined;
|
|
64
|
+
x?: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
65
|
+
y?: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
66
|
+
z?: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
67
67
|
outlineStroke?: string;
|
|
68
68
|
outlineStrokeWidth?: number;
|
|
69
69
|
outlineStrokeOpacity?: number;
|
|
70
70
|
curve?: import("../types").CurveName | import("d3-shape").CurveFactory | "auto";
|
|
71
71
|
tension?: number;
|
|
72
|
-
sort?: import("../types").ConstantAccessor<import("../types").RawValue, import("../types").
|
|
72
|
+
sort?: import("../types").ConstantAccessor<import("../types").RawValue, Record<string | symbol, import("../types").RawValue>> | {
|
|
73
73
|
channel: "stroke" | "fill";
|
|
74
74
|
};
|
|
75
|
-
text?: import("../types").ConstantAccessor<string, import("../types").
|
|
76
|
-
textFill?: import("../types").ConstantAccessor<string, import("../types").
|
|
77
|
-
textStroke?: import("../types").ConstantAccessor<string, import("../types").
|
|
78
|
-
textStartOffset?: import("../types").ConstantAccessor<string, import("../types").
|
|
79
|
-
textStrokeWidth?: import("../types").ConstantAccessor<number, import("../types").
|
|
80
|
-
lineClass?: import("../types").ConstantAccessor<string, import("../types").
|
|
75
|
+
text?: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
76
|
+
textFill?: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
77
|
+
textStroke?: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
78
|
+
textStartOffset?: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
79
|
+
textStrokeWidth?: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
80
|
+
lineClass?: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
81
81
|
canvas?: boolean;
|
|
82
82
|
}, "x" | "data"> & {
|
|
83
83
|
data: Datum[];
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import type { ChannelAccessor, DataRecord } from '../types/index.js';
|
|
2
2
|
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
3
3
|
props(): Omit<Partial<{
|
|
4
|
-
filter?: import("../types/index.js").ConstantAccessor<boolean,
|
|
4
|
+
filter?: import("../types/index.js").ConstantAccessor<boolean, Record<string | symbol, import("../types/data").RawValue>>;
|
|
5
5
|
facet?: "auto" | "include" | "exclude";
|
|
6
|
-
fx: ChannelAccessor<
|
|
7
|
-
fy: ChannelAccessor<
|
|
8
|
-
dx: import("../types/index.js").ConstantAccessor<number,
|
|
9
|
-
dy: import("../types/index.js").ConstantAccessor<number,
|
|
10
|
-
fill: ChannelAccessor<
|
|
11
|
-
fillOpacity: import("../types/index.js").ConstantAccessor<number,
|
|
6
|
+
fx: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
7
|
+
fy: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
8
|
+
dx: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
9
|
+
dy: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
10
|
+
fill: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
11
|
+
fillOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
12
12
|
sort: {
|
|
13
13
|
channel: string;
|
|
14
14
|
order?: "ascending" | "descending";
|
|
15
|
-
} | ((a: import("../types/data").RawValue, b: import("../types/data").RawValue) => number) | import("../types/index.js").ConstantAccessor<import("../types/data").RawValue,
|
|
16
|
-
stroke: ChannelAccessor<
|
|
17
|
-
strokeWidth: import("../types/index.js").ConstantAccessor<number,
|
|
18
|
-
strokeOpacity: import("../types/index.js").ConstantAccessor<number,
|
|
19
|
-
strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin,
|
|
20
|
-
strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap,
|
|
21
|
-
strokeMiterlimit: import("../types/index.js").ConstantAccessor<number,
|
|
22
|
-
opacity: ChannelAccessor<
|
|
23
|
-
strokeDasharray: import("../types/index.js").ConstantAccessor<string,
|
|
24
|
-
strokeDashoffset: import("../types/index.js").ConstantAccessor<number,
|
|
25
|
-
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode,
|
|
15
|
+
} | ((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>>;
|
|
16
|
+
stroke: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
17
|
+
strokeWidth: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
18
|
+
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
19
|
+
strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Record<string | symbol, import("../types/data").RawValue>>;
|
|
20
|
+
strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Record<string | symbol, import("../types/data").RawValue>>;
|
|
21
|
+
strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
22
|
+
opacity: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
23
|
+
strokeDasharray: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/data").RawValue>>;
|
|
24
|
+
strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
25
|
+
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Record<string | symbol, import("../types/data").RawValue>>;
|
|
26
26
|
clipPath: string;
|
|
27
|
-
imageFilter: import("../types/index.js").ConstantAccessor<string,
|
|
28
|
-
shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering,
|
|
29
|
-
paintOrder: import("../types/index.js").ConstantAccessor<string,
|
|
27
|
+
imageFilter: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/data").RawValue>>;
|
|
28
|
+
shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Record<string | symbol, import("../types/data").RawValue>>;
|
|
29
|
+
paintOrder: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/data").RawValue>>;
|
|
30
30
|
onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
31
31
|
ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
32
32
|
onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
@@ -58,14 +58,14 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
58
58
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
60
|
class: string | null;
|
|
61
|
-
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor,
|
|
61
|
+
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types/data").RawValue>>;
|
|
62
62
|
}> & {
|
|
63
|
-
data:
|
|
64
|
-
x: ChannelAccessor<
|
|
65
|
-
y: ChannelAccessor<
|
|
63
|
+
data: Record<string | symbol, import("../types/data").RawValue>[];
|
|
64
|
+
x: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
65
|
+
y: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
66
66
|
r?: number;
|
|
67
|
-
length?: ChannelAccessor<
|
|
68
|
-
rotate?: ChannelAccessor<
|
|
67
|
+
length?: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
68
|
+
rotate?: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
69
69
|
anchor?: "start" | "middle" | "end";
|
|
70
70
|
shape?: "arrow" | "spike" | "arrow-filled" | import("./Vector.svelte").ShapeRenderer;
|
|
71
71
|
children?: import("svelte").Snippet;
|
package/dist/marks/Text.svelte
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* the font size of the text
|
|
18
18
|
*/
|
|
19
19
|
fontFamily?: ConstantAccessor<CSS.Property.FontFamily, Datum>;
|
|
20
|
-
fontSize?: ConstantAccessor<CSS.Property.FontSize, Datum>;
|
|
20
|
+
fontSize?: ConstantAccessor<CSS.Property.FontSize | number, Datum>;
|
|
21
21
|
fontWeight?: ConstantAccessor<CSS.Property.FontWeight, Datum>;
|
|
22
22
|
fontStyle?: ConstantAccessor<CSS.Property.FontStyle, Datum>;
|
|
23
23
|
fontVariant?: ConstantAccessor<CSS.Property.FontVariant, Datum>;
|
|
@@ -46,9 +46,14 @@
|
|
|
46
46
|
| 'top-left'
|
|
47
47
|
| 'bottom-left'
|
|
48
48
|
| 'top-right'
|
|
49
|
-
| 'bottom-right'
|
|
49
|
+
| 'bottom-right'
|
|
50
|
+
| 'middle',
|
|
50
51
|
Datum
|
|
51
52
|
>;
|
|
53
|
+
/**
|
|
54
|
+
* rotate text by angle in degrees
|
|
55
|
+
*/
|
|
56
|
+
rotate?: ConstantAccessor<number, Datum>;
|
|
52
57
|
}
|
|
53
58
|
|
|
54
59
|
import { getContext, type Snippet } from 'svelte';
|
|
@@ -59,14 +64,11 @@
|
|
|
59
64
|
ConstantAccessor,
|
|
60
65
|
ChannelAccessor,
|
|
61
66
|
PlotDefaults,
|
|
62
|
-
TransformArg,
|
|
63
|
-
RawValue,
|
|
64
67
|
LinkableMarkProps
|
|
65
68
|
} from '../types/index.js';
|
|
66
69
|
import { resolveProp, resolveStyles } from '../helpers/resolve.js';
|
|
67
70
|
import Mark from '../Mark.svelte';
|
|
68
71
|
import { sort } from '../index.js';
|
|
69
|
-
import Anchor from './helpers/Anchor.svelte';
|
|
70
72
|
|
|
71
73
|
import MultilineText from './helpers/MultilineText.svelte';
|
|
72
74
|
|
|
@@ -74,8 +76,9 @@
|
|
|
74
76
|
fontSize: 12,
|
|
75
77
|
c: 500,
|
|
76
78
|
strokeWidth: 1.6,
|
|
77
|
-
frameAnchor: '
|
|
79
|
+
frameAnchor: 'middle' as const,
|
|
78
80
|
lineHeight: 1.1,
|
|
81
|
+
rotate: 0,
|
|
79
82
|
...getContext<PlotDefaults>('svelteplot/_defaults').text
|
|
80
83
|
};
|
|
81
84
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as CSS from 'csstype';
|
|
2
2
|
import { type Snippet } from 'svelte';
|
|
3
|
-
import type { DataRecord, ConstantAccessor, ChannelAccessor,
|
|
3
|
+
import type { DataRecord, ConstantAccessor, ChannelAccessor, LinkableMarkProps } from '../types/index.js';
|
|
4
4
|
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
5
5
|
props(): Partial<{
|
|
6
6
|
filter?: ConstantAccessor<boolean, Datum>;
|
|
@@ -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").RawValue, b: import("../types/data").RawValue) => number) | ConstantAccessor<import("../types/data").RawValue, Datum>;
|
|
18
18
|
stroke: ChannelAccessor<Datum>;
|
|
19
19
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
20
20
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
@@ -72,7 +72,7 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
72
72
|
* the font size of the text
|
|
73
73
|
*/
|
|
74
74
|
fontFamily?: ConstantAccessor<CSS.Property.FontFamily, Datum>;
|
|
75
|
-
fontSize?: ConstantAccessor<
|
|
75
|
+
fontSize?: ConstantAccessor<number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | (string & {}) | "small" | "medium" | "large" | "x-large" | "x-small" | "xx-large" | "xx-small" | "xxx-large" | "larger" | "smaller", Datum>;
|
|
76
76
|
fontWeight?: ConstantAccessor<CSS.Property.FontWeight, Datum>;
|
|
77
77
|
fontStyle?: ConstantAccessor<CSS.Property.FontStyle, Datum>;
|
|
78
78
|
fontVariant?: ConstantAccessor<CSS.Property.FontVariant, Datum>;
|
|
@@ -93,7 +93,11 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
93
93
|
* @default 1.2
|
|
94
94
|
*/
|
|
95
95
|
lineHeight?: ConstantAccessor<number, Datum>;
|
|
96
|
-
frameAnchor?: ConstantAccessor<"bottom" | "top" | "left" | "right" | "top-left" | "bottom-left" | "top-right" | "bottom-right", Datum>;
|
|
96
|
+
frameAnchor?: ConstantAccessor<"bottom" | "top" | "left" | "right" | "middle" | "top-left" | "bottom-left" | "top-right" | "bottom-right", Datum>;
|
|
97
|
+
/**
|
|
98
|
+
* rotate text by angle in degrees
|
|
99
|
+
*/
|
|
100
|
+
rotate?: ConstantAccessor<number, Datum>;
|
|
97
101
|
};
|
|
98
102
|
events(): {};
|
|
99
103
|
slots(): {};
|
|
@@ -70,9 +70,6 @@
|
|
|
70
70
|
]
|
|
71
71
|
);
|
|
72
72
|
|
|
73
|
-
const dx = $derived(+resolveProp(args.dx, d.datum, 0));
|
|
74
|
-
const dy = $derived(+resolveProp(args.dy, d.datum, 0));
|
|
75
|
-
|
|
76
73
|
const [style, styleClass] = $derived(
|
|
77
74
|
resolveStyles(
|
|
78
75
|
plot,
|
|
@@ -116,6 +113,8 @@
|
|
|
116
113
|
const lineHeight = $derived(
|
|
117
114
|
textLines.length > 1 ? (resolveProp(args.lineHeight, d.datum) ?? 1.2) : 0
|
|
118
115
|
);
|
|
116
|
+
|
|
117
|
+
const rotate = $derived(+resolveProp(args.rotate, d.datum, 0));
|
|
119
118
|
</script>
|
|
120
119
|
|
|
121
120
|
{#if textLines.length > 1}
|
|
@@ -124,9 +123,8 @@
|
|
|
124
123
|
bind:this={textElement}
|
|
125
124
|
class={[textClassName]}
|
|
126
125
|
dominant-baseline={LINE_ANCHOR[lineAnchor]}
|
|
127
|
-
transform="translate({Math.round(x
|
|
128
|
-
y
|
|
129
|
-
dy -
|
|
126
|
+
transform="translate({Math.round(x)},{Math.round(
|
|
127
|
+
y -
|
|
130
128
|
(lineAnchor === 'bottom'
|
|
131
129
|
? textLines.length - 1
|
|
132
130
|
: lineAnchor === 'middle'
|
|
@@ -134,7 +132,7 @@
|
|
|
134
132
|
: 0) *
|
|
135
133
|
computedFontSize *
|
|
136
134
|
lineHeight
|
|
137
|
-
)})"
|
|
135
|
+
)}) rotate({rotate})"
|
|
138
136
|
>{#each textLines as line, l (l)}<tspan
|
|
139
137
|
x="0"
|
|
140
138
|
dy={l ? computedFontSize * lineHeight : 0}
|
|
@@ -146,7 +144,7 @@
|
|
|
146
144
|
<text
|
|
147
145
|
class={[textClassName, styleClass]}
|
|
148
146
|
dominant-baseline={LINE_ANCHOR[lineAnchor]}
|
|
149
|
-
transform="translate({Math.round(x
|
|
147
|
+
transform="translate({Math.round(x)},{Math.round(y)}) rotate({rotate})"
|
|
150
148
|
{style}
|
|
151
149
|
>{textLines[0]}{#if title}<title>{title}</title>{/if}</text>
|
|
152
150
|
{/if}
|
|
@@ -12,32 +12,32 @@ export type BollingerOptions = {
|
|
|
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
14
|
export declare function bollingerDim(dim: 'x' | 'y', { data, ...channels }: TransformArg<DataRecord>, options?: BollingerOptions): {
|
|
15
|
-
filter?: import("../types/index.js").ConstantAccessor<boolean,
|
|
15
|
+
filter?: import("../types/index.js").ConstantAccessor<boolean, Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
16
16
|
facet?: "auto" | "include" | "exclude" | undefined;
|
|
17
|
-
fx?: import("../types/index.js").ChannelAccessor<
|
|
18
|
-
fy?: import("../types/index.js").ChannelAccessor<
|
|
19
|
-
dx?: import("../types/index.js").ConstantAccessor<number,
|
|
20
|
-
dy?: import("../types/index.js").ConstantAccessor<number,
|
|
21
|
-
fill?: import("../types/index.js").ChannelAccessor<
|
|
22
|
-
fillOpacity?: import("../types/index.js").ConstantAccessor<number,
|
|
17
|
+
fx?: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
18
|
+
fy?: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
19
|
+
dx?: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
20
|
+
dy?: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
21
|
+
fill?: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
22
|
+
fillOpacity?: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
23
23
|
sort?: {
|
|
24
24
|
channel: string;
|
|
25
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,
|
|
27
|
-
stroke?: import("../types/index.js").ChannelAccessor<
|
|
28
|
-
strokeWidth?: import("../types/index.js").ConstantAccessor<number,
|
|
29
|
-
strokeOpacity?: import("../types/index.js").ConstantAccessor<number,
|
|
30
|
-
strokeLinejoin?: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin,
|
|
31
|
-
strokeLinecap?: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap,
|
|
32
|
-
strokeMiterlimit?: import("../types/index.js").ConstantAccessor<number,
|
|
33
|
-
opacity?: import("../types/index.js").ChannelAccessor<
|
|
34
|
-
strokeDasharray?: import("../types/index.js").ConstantAccessor<string,
|
|
35
|
-
strokeDashoffset?: import("../types/index.js").ConstantAccessor<number,
|
|
36
|
-
mixBlendMode?: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode,
|
|
26
|
+
} | ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
27
|
+
stroke?: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
28
|
+
strokeWidth?: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
29
|
+
strokeOpacity?: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
30
|
+
strokeLinejoin?: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
31
|
+
strokeLinecap?: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
32
|
+
strokeMiterlimit?: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
33
|
+
opacity?: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
34
|
+
strokeDasharray?: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
35
|
+
strokeDashoffset?: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
36
|
+
mixBlendMode?: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
37
37
|
clipPath?: string | undefined;
|
|
38
|
-
imageFilter?: import("../types/index.js").ConstantAccessor<string,
|
|
39
|
-
shapeRendering?: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering,
|
|
40
|
-
paintOrder?: import("../types/index.js").ConstantAccessor<string,
|
|
38
|
+
imageFilter?: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
39
|
+
shapeRendering?: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
40
|
+
paintOrder?: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
41
41
|
onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
42
42
|
ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
43
43
|
onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
@@ -69,7 +69,7 @@ export declare function bollingerDim(dim: 'x' | 'y', { data, ...channels }: Tran
|
|
|
69
69
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
70
70
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
|
|
71
71
|
class?: string | null | undefined;
|
|
72
|
-
cursor?: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor,
|
|
72
|
+
cursor?: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types/index.js").RawValue>>;
|
|
73
73
|
data: {
|
|
74
74
|
__x: import("../types/index.js").RawValue;
|
|
75
75
|
__lo: number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare function filter({ data, ...channels }: TransformArg<
|
|
1
|
+
import type { TransformArg } from '../types/index.js';
|
|
2
|
+
export declare function filter<T>({ data, ...channels }: TransformArg<T>): TransformArg<T>;
|
|
@@ -39,21 +39,21 @@ type GroupZOptions = GroupXOptions | GroupYOptions;
|
|
|
39
39
|
* to output channels fill, stroke, r, opacity, fillOpacity, or strokeOpacity
|
|
40
40
|
*/
|
|
41
41
|
export declare function group({ data, ...channels }: TransformArg<T, DataRecord>, options?: GroupXOptions): {
|
|
42
|
-
data:
|
|
42
|
+
data: Record<string | symbol, RawValue>[];
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
45
45
|
* groups the dataset by the x channel and optionally reduces the group items
|
|
46
46
|
* to output channels y, y1, y2, fill, stroke, r, opacity, fillOpacity, or strokeOpacity
|
|
47
47
|
*/
|
|
48
48
|
export declare function groupX(input: TransformArg<T, DataRecord>, options?: GroupXOptions): {
|
|
49
|
-
data:
|
|
49
|
+
data: Record<string | symbol, RawValue>[];
|
|
50
50
|
};
|
|
51
51
|
/**
|
|
52
52
|
* groups the dataset by the y channel and optionally reduces the group items
|
|
53
53
|
* to output channels x, x1, x2, fill, stroke, r, opacity, fillOpacity, or strokeOpacity
|
|
54
54
|
*/
|
|
55
55
|
export declare function groupY(input: TransformArg<T, DataRecord>, options?: GroupYOptions): {
|
|
56
|
-
data:
|
|
56
|
+
data: Record<string | symbol, RawValue>[];
|
|
57
57
|
};
|
|
58
58
|
/**
|
|
59
59
|
* groups the dataset by the z channel and optionally reduces the group items
|
|
@@ -61,6 +61,6 @@ export declare function groupY(input: TransformArg<T, DataRecord>, options?: Gro
|
|
|
61
61
|
* or strokeOpacity
|
|
62
62
|
*/
|
|
63
63
|
export declare function groupZ(input: TransformArg<T, DataRecord>, options?: GroupZOptions): {
|
|
64
|
-
data:
|
|
64
|
+
data: Record<string | symbol, RawValue>[];
|
|
65
65
|
};
|
|
66
66
|
export {};
|
|
@@ -12,5 +12,5 @@ export { renameChannels, replaceChannels } from './rename.js';
|
|
|
12
12
|
export { select, selectFirst, selectLast, selectMaxX, selectMaxY, selectMinX, selectMinY } from './select.js';
|
|
13
13
|
export { shiftX, shiftY } from './shift.js';
|
|
14
14
|
export { sort, shuffle, reverse } from './sort.js';
|
|
15
|
-
export { stackX, stackY } from './stack.js';
|
|
15
|
+
export { stackX, stackY, stackMosaicX, stackMosaicY } from './stack.js';
|
|
16
16
|
export { windowX, windowY } from './window.js';
|
package/dist/transforms/index.js
CHANGED
|
@@ -12,5 +12,5 @@ export { renameChannels, replaceChannels } from './rename.js';
|
|
|
12
12
|
export { select, selectFirst, selectLast, selectMaxX, selectMaxY, selectMinX, selectMinY } from './select.js';
|
|
13
13
|
export { shiftX, shiftY } from './shift.js';
|
|
14
14
|
export { sort, shuffle, reverse } from './sort.js';
|
|
15
|
-
export { stackX, stackY } from './stack.js';
|
|
15
|
+
export { stackX, stackY, stackMosaicX, stackMosaicY } from './stack.js';
|
|
16
16
|
export { windowX, windowY } from './window.js';
|