svelteplot 0.4.0 → 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.
@@ -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").DataRecord>;
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").DataRecord>;
7
- fy: import("../types").ChannelAccessor<import("../types").DataRecord>;
8
- dx: import("../types").ConstantAccessor<number, import("../types").DataRecord>;
9
- dy: import("../types").ConstantAccessor<number, import("../types").DataRecord>;
10
- fill: import("../types").ChannelAccessor<import("../types").DataRecord>;
11
- fillOpacity: import("../types").ConstantAccessor<number, import("../types").DataRecord>;
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").DataRecord>;
16
- stroke: import("../types").ChannelAccessor<import("../types").DataRecord>;
17
- strokeWidth: import("../types").ConstantAccessor<number, import("../types").DataRecord>;
18
- strokeOpacity: import("../types").ConstantAccessor<number, import("../types").DataRecord>;
19
- strokeLinejoin: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinejoin, import("../types").DataRecord>;
20
- strokeLinecap: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinecap, import("../types").DataRecord>;
21
- strokeMiterlimit: import("../types").ConstantAccessor<number, import("../types").DataRecord>;
22
- opacity: import("../types").ChannelAccessor<import("../types").DataRecord>;
23
- strokeDasharray: import("../types").ConstantAccessor<string, import("../types").DataRecord>;
24
- strokeDashoffset: import("../types").ConstantAccessor<number, import("../types").DataRecord>;
25
- mixBlendMode: import("../types").ConstantAccessor<import("csstype").Property.MixBlendMode, import("../types").DataRecord>;
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").DataRecord>;
28
- shapeRendering: import("../types").ConstantAccessor<import("csstype").Property.ShapeRendering, import("../types").DataRecord>;
29
- paintOrder: import("../types").ConstantAccessor<string, import("../types").DataRecord>;
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").DataRecord>;
61
+ cursor: import("../types").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types").RawValue>>;
62
62
  }> & {
63
- data?: import("../types").DataRecord[] | undefined;
64
- x?: import("../types").ChannelAccessor<import("../types").DataRecord>;
65
- y?: import("../types").ChannelAccessor<import("../types").DataRecord>;
66
- z?: import("../types").ChannelAccessor<import("../types").DataRecord>;
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").DataRecord> | {
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").DataRecord>;
76
- textFill?: import("../types").ConstantAccessor<string, import("../types").DataRecord>;
77
- textStroke?: import("../types").ConstantAccessor<string, import("../types").DataRecord>;
78
- textStartOffset?: import("../types").ConstantAccessor<string, import("../types").DataRecord>;
79
- textStrokeWidth?: import("../types").ConstantAccessor<number, import("../types").DataRecord>;
80
- lineClass?: import("../types").ConstantAccessor<string, import("../types").DataRecord>;
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, DataRecord>;
4
+ filter?: import("../types/index.js").ConstantAccessor<boolean, Record<string | symbol, import("../types/data").RawValue>>;
5
5
  facet?: "auto" | "include" | "exclude";
6
- fx: ChannelAccessor<DataRecord>;
7
- fy: ChannelAccessor<DataRecord>;
8
- dx: import("../types/index.js").ConstantAccessor<number, DataRecord>;
9
- dy: import("../types/index.js").ConstantAccessor<number, DataRecord>;
10
- fill: ChannelAccessor<DataRecord>;
11
- fillOpacity: import("../types/index.js").ConstantAccessor<number, DataRecord>;
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, DataRecord>;
16
- stroke: ChannelAccessor<DataRecord>;
17
- strokeWidth: import("../types/index.js").ConstantAccessor<number, DataRecord>;
18
- strokeOpacity: import("../types/index.js").ConstantAccessor<number, DataRecord>;
19
- strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, DataRecord>;
20
- strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, DataRecord>;
21
- strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, DataRecord>;
22
- opacity: ChannelAccessor<DataRecord>;
23
- strokeDasharray: import("../types/index.js").ConstantAccessor<string, DataRecord>;
24
- strokeDashoffset: import("../types/index.js").ConstantAccessor<number, DataRecord>;
25
- mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, DataRecord>;
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, DataRecord>;
28
- shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, DataRecord>;
29
- paintOrder: import("../types/index.js").ConstantAccessor<string, DataRecord>;
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, DataRecord>;
61
+ cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types/data").RawValue>>;
62
62
  }> & {
63
- data: DataRecord[];
64
- x: ChannelAccessor<DataRecord>;
65
- y: ChannelAccessor<DataRecord>;
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<DataRecord>;
68
- rotate?: ChannelAccessor<DataRecord>;
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;
@@ -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,7 +46,8 @@
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
  >;
52
53
  /**
@@ -75,7 +76,7 @@
75
76
  fontSize: 12,
76
77
  c: 500,
77
78
  strokeWidth: 1.6,
78
- frameAnchor: 'center',
79
+ frameAnchor: 'middle' as const,
79
80
  lineHeight: 1.1,
80
81
  rotate: 0,
81
82
  ...getContext<PlotDefaults>('svelteplot/_defaults').text
@@ -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<CSS.Property.FontSize<0 | (string & {})>, Datum>;
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,7 @@ 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
97
  /**
98
98
  * rotate text by angle in degrees
99
99
  */
@@ -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,
@@ -126,9 +123,8 @@
126
123
  bind:this={textElement}
127
124
  class={[textClassName]}
128
125
  dominant-baseline={LINE_ANCHOR[lineAnchor]}
129
- transform="translate({Math.round(x + dx)},{Math.round(
130
- y +
131
- dy -
126
+ transform="translate({Math.round(x)},{Math.round(
127
+ y -
132
128
  (lineAnchor === 'bottom'
133
129
  ? textLines.length - 1
134
130
  : lineAnchor === 'middle'
@@ -148,7 +144,7 @@
148
144
  <text
149
145
  class={[textClassName, styleClass]}
150
146
  dominant-baseline={LINE_ANCHOR[lineAnchor]}
151
- transform="translate({Math.round(x + dx)},{Math.round(y + dy)}) rotate({rotate})"
147
+ transform="translate({Math.round(x)},{Math.round(y)}) rotate({rotate})"
152
148
  {style}
153
149
  >{textLines[0]}{#if title}<title>{title}</title>{/if}</text>
154
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, DataRecord>;
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<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>;
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, 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>;
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, DataRecord>;
39
- shapeRendering?: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, DataRecord>;
40
- paintOrder?: import("../types/index.js").ConstantAccessor<string, DataRecord>;
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, DataRecord>;
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;
@@ -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: DataRecord[];
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: DataRecord[];
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: DataRecord[];
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: DataRecord[];
64
+ data: Record<string | symbol, RawValue>[];
65
65
  };
66
66
  export {};