svelteplot 0.10.1-pr-357.2 → 0.10.2

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.
Files changed (63) hide show
  1. package/dist/Mark.svelte.d.ts +4 -4
  2. package/dist/constants.d.ts +1 -1
  3. package/dist/helpers/colors.d.ts +11 -8
  4. package/dist/helpers/curves.d.ts +2 -2
  5. package/dist/helpers/facets.d.ts +1 -1
  6. package/dist/helpers/getBaseStyles.d.ts +4 -2
  7. package/dist/helpers/index.d.ts +1 -1
  8. package/dist/helpers/reduce.d.ts +1 -1
  9. package/dist/helpers/scales.d.ts +7 -7
  10. package/dist/helpers/symbols.d.ts +1 -1
  11. package/dist/helpers/time.d.ts +3 -3
  12. package/dist/helpers/typeChecks.d.ts +4 -4
  13. package/dist/marks/Area.svelte.d.ts +4 -5
  14. package/dist/marks/AreaX.svelte.d.ts +4 -4
  15. package/dist/marks/AreaY.svelte.d.ts +4 -4
  16. package/dist/marks/Arrow.svelte.d.ts +4 -5
  17. package/dist/marks/AxisX.svelte.d.ts +5 -6
  18. package/dist/marks/AxisY.svelte.d.ts +5 -6
  19. package/dist/marks/BarX.svelte.d.ts +4 -4
  20. package/dist/marks/BarY.svelte.d.ts +4 -5
  21. package/dist/marks/BollingerX.svelte.d.ts +77 -2
  22. package/dist/marks/BollingerY.svelte.d.ts +77 -2
  23. package/dist/marks/BoxY.svelte.d.ts +64 -1
  24. package/dist/marks/Brush.svelte.d.ts +64 -1
  25. package/dist/marks/Cell.svelte.d.ts +4 -5
  26. package/dist/marks/CellX.svelte.d.ts +30 -30
  27. package/dist/marks/CellY.svelte.d.ts +30 -30
  28. package/dist/marks/CustomMark.svelte.d.ts +85 -2
  29. package/dist/marks/DifferenceY.svelte.d.ts +64 -1
  30. package/dist/marks/Dot.svelte.d.ts +4 -5
  31. package/dist/marks/DotX.svelte.d.ts +5 -5
  32. package/dist/marks/DotY.svelte.d.ts +5 -5
  33. package/dist/marks/Frame.svelte.d.ts +5 -6
  34. package/dist/marks/Geo.svelte.d.ts +4 -5
  35. package/dist/marks/GridX.svelte.d.ts +4 -5
  36. package/dist/marks/GridY.svelte.d.ts +4 -5
  37. package/dist/marks/Image.svelte.d.ts +4 -5
  38. package/dist/marks/Line.svelte.d.ts +4 -4
  39. package/dist/marks/LineX.svelte.d.ts +6 -6
  40. package/dist/marks/LineY.svelte.d.ts +6 -6
  41. package/dist/marks/Link.svelte.d.ts +4 -5
  42. package/dist/marks/Rect.svelte.d.ts +4 -5
  43. package/dist/marks/RuleX.svelte.d.ts +4 -5
  44. package/dist/marks/RuleY.svelte.d.ts +4 -5
  45. package/dist/marks/Spike.svelte.d.ts +5 -5
  46. package/dist/marks/Text.svelte.d.ts +8 -9
  47. package/dist/marks/TickX.svelte.d.ts +4 -5
  48. package/dist/marks/TickY.svelte.d.ts +4 -5
  49. package/dist/marks/Trail.svelte.d.ts +64 -1
  50. package/dist/marks/Vector.svelte.d.ts +4 -5
  51. package/dist/marks/WaffleX.svelte.d.ts +86 -2
  52. package/dist/marks/WaffleY.svelte.d.ts +4 -5
  53. package/dist/marks/helpers/Box.svelte.d.ts +64 -1
  54. package/dist/marks/helpers/MarkerPath.svelte.d.ts +107 -2
  55. package/dist/transforms/centroid.d.ts +4 -1
  56. package/dist/transforms/interval.d.ts +8 -8
  57. package/dist/transforms/recordize.d.ts +7 -4
  58. package/dist/transforms/rename.d.ts +1 -1
  59. package/dist/transforms/select.d.ts +28 -28
  60. package/dist/transforms/sort.d.ts +19 -14
  61. package/dist/transforms/stack.d.ts +12 -12
  62. package/dist/transforms/window.d.ts +136 -2
  63. package/package.json +1 -1
@@ -1,6 +1,69 @@
1
1
  import type { ChannelAccessor, DataRecord, RawValue } from '../types';
2
2
  declare function $$render<Datum extends DataRecord>(): {
3
- props: Pick<BaseMarkProps<Datum>, "fill" | "stroke" | "fx" | "fy" | "class"> & {
3
+ props: Pick<Partial<{
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.js").DodgeXOptions;
11
+ dodgeY: import("../transforms/dodge.js").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"> & {
4
67
  data: Datum[];
5
68
  x: ChannelAccessor;
6
69
  y: ChannelAccessor;
@@ -1,6 +1,69 @@
1
1
  import type { DataRecord } from '../types/index.js';
2
2
  declare function $$render<Datum extends DataRecord>(): {
3
- props: Pick<BaseMarkProps<Datum>, "stroke" | "strokeOpacity" | "strokeDasharray" | "strokeLinejoin" | "strokeLinecap" | "cursor" | "strokeWidth" | "strokeMiterlimit" | "strokeDashoffset"> & {
3
+ props: Pick<Partial<{
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").DodgeXOptions;
11
+ dodgeY: import("../transforms/dodge").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"> & {
4
67
  brush: {
5
68
  x1?: number | Date;
6
69
  x2?: number | Date;
@@ -1,5 +1,4 @@
1
1
  import type { DataRecord, BaseRectMarkProps, ChannelAccessor, LinkableMarkProps } from '../types/index.js';
2
- import { usePlot } from '../hooks/usePlot.svelte.js';
3
2
  declare function $$render<Datum extends DataRecord>(): {
4
3
  props: Partial<{
5
4
  filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
@@ -8,14 +7,14 @@ declare function $$render<Datum extends DataRecord>(): {
8
7
  fy: ChannelAccessor<Datum>;
9
8
  dx: import("../types/index.js").ConstantAccessor<number, Datum>;
10
9
  dy: import("../types/index.js").ConstantAccessor<number, Datum>;
11
- dodgeX: usePlot;
12
- dodgeY: usePlot;
10
+ dodgeX: import("../transforms/dodge.js").DodgeXOptions;
11
+ dodgeY: import("../transforms/dodge.js").DodgeYOptions;
13
12
  fill: ChannelAccessor<Datum>;
14
13
  fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
15
- sort: {
14
+ sort: ((a: import("../types/data.js").RawValue, b: import("../types/data.js").RawValue) => number) | {
16
15
  channel: string;
17
16
  order?: "ascending" | "descending";
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>;
17
+ } | import("../types/index.js").ConstantAccessor<import("../types/data.js").RawValue, Datum>;
19
18
  stroke: ChannelAccessor<Datum>;
20
19
  strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
21
20
  strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
@@ -1,35 +1,35 @@
1
1
  import type { DataRow } from '../types/index.js';
2
2
  declare function $$render<Datum extends DataRow>(): {
3
3
  props: Omit<Partial<{
4
- filter: import("../types").ConstantAccessor<boolean, Record<string | symbol, import("../types").RawValue>>;
4
+ filter: import("../types/index.js").ConstantAccessor<boolean, Record<string | symbol, import("../types/index.js").RawValue>>;
5
5
  facet: "auto" | "include" | "exclude";
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
- dodgeX: DataRow;
11
- dodgeY: DataRow;
12
- fill: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
13
- fillOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
14
- sort: {
6
+ fx: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
7
+ fy: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
8
+ dx: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
9
+ dy: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
10
+ dodgeX: import("../transforms/dodge").DodgeXOptions;
11
+ dodgeY: import("../transforms/dodge").DodgeYOptions;
12
+ fill: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
13
+ fillOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
14
+ sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
15
15
  channel: string;
16
16
  order?: "ascending" | "descending";
17
- } | ((a: import("../types").RawValue, b: import("../types").RawValue) => number) | import("../types").ConstantAccessor<import("../types").RawValue, Record<string | symbol, import("../types").RawValue>>;
18
- stroke: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
19
- strokeWidth: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
20
- strokeOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
21
- strokeLinejoin: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Record<string | symbol, import("../types").RawValue>>;
22
- strokeLinecap: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinecap, Record<string | symbol, import("../types").RawValue>>;
23
- strokeMiterlimit: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
24
- opacity: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
25
- strokeDasharray: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
26
- strokeDashoffset: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
27
- mixBlendMode: import("../types").ConstantAccessor<import("csstype").Property.MixBlendMode, Record<string | symbol, import("../types").RawValue>>;
17
+ } | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Record<string | symbol, import("../types/index.js").RawValue>>;
18
+ stroke: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
19
+ strokeWidth: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
20
+ strokeOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
21
+ strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Record<string | symbol, import("../types/index.js").RawValue>>;
22
+ strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Record<string | symbol, import("../types/index.js").RawValue>>;
23
+ strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
24
+ opacity: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
25
+ strokeDasharray: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/index.js").RawValue>>;
26
+ strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
27
+ mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Record<string | symbol, import("../types/index.js").RawValue>>;
28
28
  clipPath: string;
29
29
  mask: string;
30
- imageFilter: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
31
- shapeRendering: import("../types").ConstantAccessor<import("csstype").Property.ShapeRendering, Record<string | symbol, import("../types").RawValue>>;
32
- paintOrder: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
30
+ imageFilter: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/index.js").RawValue>>;
31
+ shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Record<string | symbol, import("../types/index.js").RawValue>>;
32
+ paintOrder: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/index.js").RawValue>>;
33
33
  onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
34
34
  ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
35
35
  onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
@@ -62,13 +62,13 @@ declare function $$render<Datum extends DataRow>(): {
62
62
  onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
63
63
  class: string;
64
64
  style: string;
65
- cursor: import("../types").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types").RawValue>>;
66
- }> & import("../types").LinkableMarkProps<Record<string | symbol, import("../types").RawValue>> & import("../types").BaseRectMarkProps<Record<string | symbol, import("../types").RawValue>> & {
67
- data: Record<string | symbol, import("../types").RawValue>[];
68
- x?: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
69
- y?: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
65
+ cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types/index.js").RawValue>>;
66
+ }> & import("../types/index.js").LinkableMarkProps<Record<string | symbol, import("../types/index.js").RawValue>> & import("../types/index.js").BaseRectMarkProps<Record<string | symbol, import("../types/index.js").RawValue>> & {
67
+ data: Record<string | symbol, import("../types/index.js").RawValue>[];
68
+ x?: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
69
+ y?: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
70
70
  canvas?: boolean;
71
- }, "y" | "data"> & {
71
+ }, "data" | "y"> & {
72
72
  data: Datum[];
73
73
  };
74
74
  exports: {};
@@ -1,35 +1,35 @@
1
1
  import type { DataRow } from '../types/index.js';
2
2
  declare function $$render<Datum extends DataRow>(): {
3
3
  props: Omit<Partial<{
4
- filter: import("../types").ConstantAccessor<boolean, Record<string | symbol, import("../types").RawValue>>;
4
+ filter: import("../types/index.js").ConstantAccessor<boolean, Record<string | symbol, import("../types/index.js").RawValue>>;
5
5
  facet: "auto" | "include" | "exclude";
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
- dodgeX: DataRow;
11
- dodgeY: DataRow;
12
- fill: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
13
- fillOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
14
- sort: {
6
+ fx: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
7
+ fy: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
8
+ dx: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
9
+ dy: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
10
+ dodgeX: import("../transforms/dodge").DodgeXOptions;
11
+ dodgeY: import("../transforms/dodge").DodgeYOptions;
12
+ fill: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
13
+ fillOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
14
+ sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
15
15
  channel: string;
16
16
  order?: "ascending" | "descending";
17
- } | ((a: import("../types").RawValue, b: import("../types").RawValue) => number) | import("../types").ConstantAccessor<import("../types").RawValue, Record<string | symbol, import("../types").RawValue>>;
18
- stroke: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
19
- strokeWidth: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
20
- strokeOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
21
- strokeLinejoin: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Record<string | symbol, import("../types").RawValue>>;
22
- strokeLinecap: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinecap, Record<string | symbol, import("../types").RawValue>>;
23
- strokeMiterlimit: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
24
- opacity: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
25
- strokeDasharray: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
26
- strokeDashoffset: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
27
- mixBlendMode: import("../types").ConstantAccessor<import("csstype").Property.MixBlendMode, Record<string | symbol, import("../types").RawValue>>;
17
+ } | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Record<string | symbol, import("../types/index.js").RawValue>>;
18
+ stroke: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
19
+ strokeWidth: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
20
+ strokeOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
21
+ strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Record<string | symbol, import("../types/index.js").RawValue>>;
22
+ strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Record<string | symbol, import("../types/index.js").RawValue>>;
23
+ strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
24
+ opacity: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
25
+ strokeDasharray: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/index.js").RawValue>>;
26
+ strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
27
+ mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Record<string | symbol, import("../types/index.js").RawValue>>;
28
28
  clipPath: string;
29
29
  mask: string;
30
- imageFilter: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
31
- shapeRendering: import("../types").ConstantAccessor<import("csstype").Property.ShapeRendering, Record<string | symbol, import("../types").RawValue>>;
32
- paintOrder: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
30
+ imageFilter: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/index.js").RawValue>>;
31
+ shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Record<string | symbol, import("../types/index.js").RawValue>>;
32
+ paintOrder: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/index.js").RawValue>>;
33
33
  onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
34
34
  ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
35
35
  onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
@@ -62,13 +62,13 @@ declare function $$render<Datum extends DataRow>(): {
62
62
  onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
63
63
  class: string;
64
64
  style: string;
65
- cursor: import("../types").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types").RawValue>>;
66
- }> & import("../types").LinkableMarkProps<Record<string | symbol, import("../types").RawValue>> & import("../types").BaseRectMarkProps<Record<string | symbol, import("../types").RawValue>> & {
67
- data: Record<string | symbol, import("../types").RawValue>[];
68
- x?: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
69
- y?: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
65
+ cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types/index.js").RawValue>>;
66
+ }> & import("../types/index.js").LinkableMarkProps<Record<string | symbol, import("../types/index.js").RawValue>> & import("../types/index.js").BaseRectMarkProps<Record<string | symbol, import("../types/index.js").RawValue>> & {
67
+ data: Record<string | symbol, import("../types/index.js").RawValue>[];
68
+ x?: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
69
+ y?: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
70
70
  canvas?: boolean;
71
- }, "x" | "data"> & {
71
+ }, "data" | "x"> & {
72
72
  data: Datum[];
73
73
  };
74
74
  exports: {};
@@ -1,6 +1,89 @@
1
- import type { DataRecord } from '../types/index.js';
1
+ import type { DataRecord, ChannelAccessor, ScaledDataRecord, UsedScales } from '../types/index.js';
2
+ import type { Snippet } from 'svelte';
2
3
  declare function $$render<Datum extends DataRecord>(): {
3
- props: any;
4
+ props: Partial<{
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.js").DodgeXOptions;
12
+ dodgeY: import("../transforms/dodge.js").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
+ };
4
87
  exports: {};
5
88
  bindings: "";
6
89
  slots: {};
@@ -1,7 +1,70 @@
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<BaseMarkProps<Datum>, "fill" | "fillOpacity"> & {
4
+ props: Omit<Partial<{
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.js").DodgeXOptions;
12
+ dodgeY: import("../transforms/dodge.js").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"> & {
5
68
  data: Datum[];
6
69
  x1: ChannelAccessor<Datum>;
7
70
  /**
@@ -1,6 +1,5 @@
1
1
  import { type Snippet } from 'svelte';
2
2
  import type { DataRecord, ConstantAccessor, ChannelAccessor, LinkableMarkProps } from '../types/index.js';
3
- import { isOrdinalScale } from '../helpers/scales.js';
4
3
  declare function $$render<Datum extends DataRecord>(): {
5
4
  props: Partial<{
6
5
  filter: ConstantAccessor<boolean, Datum>;
@@ -9,14 +8,14 @@ declare function $$render<Datum extends DataRecord>(): {
9
8
  fy: ChannelAccessor<Datum>;
10
9
  dx: ConstantAccessor<number, Datum>;
11
10
  dy: ConstantAccessor<number, Datum>;
12
- dodgeX: isOrdinalScale;
13
- dodgeY: isOrdinalScale;
11
+ dodgeX: import("../transforms/dodge.js").DodgeXOptions;
12
+ dodgeY: import("../transforms/dodge.js").DodgeYOptions;
14
13
  fill: ChannelAccessor<Datum>;
15
14
  fillOpacity: ConstantAccessor<number, Datum>;
16
- sort: {
15
+ sort: ((a: import("../types/data.js").RawValue, b: import("../types/data.js").RawValue) => number) | {
17
16
  channel: string;
18
17
  order?: "ascending" | "descending";
19
- } | ((a: import("../types/data.js").RawValue, b: import("../types/data.js").RawValue) => number) | ConstantAccessor<import("../types/data.js").RawValue, Datum>;
18
+ } | ConstantAccessor<import("../types/data.js").RawValue, Datum>;
20
19
  stroke: ChannelAccessor<Datum>;
21
20
  strokeWidth: ConstantAccessor<number, Datum>;
22
21
  strokeOpacity: ConstantAccessor<number, Datum>;
@@ -7,14 +7,14 @@ declare function $$render<Datum extends DataRow>(): {
7
7
  fy: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
8
8
  dx: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
9
9
  dy: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
10
- dodgeX: DodgeXOptions;
11
- dodgeY: DodgeYOptions;
10
+ dodgeX: import("../transforms/dodge").DodgeXOptions;
11
+ dodgeY: import("../transforms/dodge").DodgeYOptions;
12
12
  fill: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
13
13
  fillOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
14
- sort: {
14
+ sort: ((a: import("../types/data").RawValue, b: import("../types/data").RawValue) => number) | {
15
15
  channel: string;
16
16
  order?: "ascending" | "descending";
17
- } | ((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>>;
17
+ } | import("../types/index.js").ConstantAccessor<import("../types/data").RawValue, Record<string | symbol, import("../types/data").RawValue>>;
18
18
  stroke: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
19
19
  strokeWidth: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
20
20
  strokeOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
@@ -71,7 +71,7 @@ declare function $$render<Datum extends DataRow>(): {
71
71
  symbol?: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>> | import("svelte").Snippet<[number, string]>;
72
72
  canvas?: boolean;
73
73
  dotClass?: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/data").RawValue>>;
74
- }, "x" | "y" | "data"> & {
74
+ }, "data" | "x" | "y"> & {
75
75
  data: Datum[];
76
76
  x?: ChannelAccessor<Datum>;
77
77
  };
@@ -7,14 +7,14 @@ declare function $$render<Datum extends DataRow>(): {
7
7
  fy: import("../types/channel").ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
8
8
  dx: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
9
9
  dy: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
10
- dodgeX: DodgeXOptions;
11
- dodgeY: DodgeYOptions;
10
+ dodgeX: import("../transforms/dodge").DodgeXOptions;
11
+ dodgeY: import("../transforms/dodge").DodgeYOptions;
12
12
  fill: import("../types/channel").ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
13
13
  fillOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
14
- sort: {
14
+ sort: ((a: import("../types/data").RawValue, b: import("../types/data").RawValue) => number) | {
15
15
  channel: string;
16
16
  order?: "ascending" | "descending";
17
- } | ((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>>;
17
+ } | import("../types/index.js").ConstantAccessor<import("../types/data").RawValue, Record<string | symbol, import("../types/data").RawValue>>;
18
18
  stroke: import("../types/channel").ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
19
19
  strokeWidth: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
20
20
  strokeOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
@@ -71,7 +71,7 @@ declare function $$render<Datum extends DataRow>(): {
71
71
  symbol?: import("../types/channel").ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>> | import("svelte").Snippet<[number, string]>;
72
72
  canvas?: boolean;
73
73
  dotClass?: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/data").RawValue>>;
74
- }, "x" | "data"> & {
74
+ }, "data" | "x"> & {
75
75
  data: Datum[];
76
76
  };
77
77
  exports: {};