layerchart 0.60.0 → 0.60.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.
- package/dist/components/Brush.svelte.d.ts +1 -1
- package/dist/components/Calendar.svelte.d.ts +1 -1
- package/dist/components/ClipPath.svelte.d.ts +1 -1
- package/dist/components/ColorRamp.svelte.d.ts +2 -2
- package/dist/components/Dagre.svelte +1 -1
- package/dist/components/GeoPath.svelte.d.ts +6 -6
- package/dist/components/Graticule.svelte.d.ts +28 -4
- package/dist/components/Hull.svelte.d.ts +1 -3
- package/dist/components/Labels.svelte.d.ts +1 -1
- package/dist/components/Legend.svelte.d.ts +4 -4
- package/dist/components/LinearGradient.svelte.d.ts +3 -3
- package/dist/components/Marker.svelte.d.ts +7 -7
- package/dist/components/Points.svelte.d.ts +5 -5
- package/dist/components/RadialGradient.svelte.d.ts +4 -4
- package/dist/components/TransformControls.svelte.d.ts +2 -4
- package/dist/components/charts/AreaChart.svelte +2 -1
- package/dist/components/charts/BarChart.svelte +2 -2
- package/dist/components/charts/LineChart.svelte +2 -1
- package/dist/components/charts/PieChart.svelte.d.ts +4 -4
- package/dist/components/charts/ScatterChart.svelte +9 -1
- package/dist/components/layout/Canvas.svelte.d.ts +4 -4
- package/dist/components/layout/Html.svelte.d.ts +5 -5
- package/dist/components/layout/Svg.svelte.d.ts +7 -7
- package/dist/components/tooltip/Tooltip.svelte.d.ts +4 -4
- package/dist/components/tooltip/TooltipHeader.svelte.d.ts +1 -1
- package/dist/components/tooltip/TooltipItem.svelte.d.ts +2 -2
- package/dist/docs/Code.svelte.d.ts +1 -1
- package/dist/docs/Preview.svelte.d.ts +1 -1
- package/package.json +17 -17
- package/dist/components/Arc.svelte.d.ts +0 -47
- package/dist/components/Area.svelte.d.ts +0 -36
- package/dist/components/Axis.svelte.d.ts +0 -49
- package/dist/components/Bar.svelte.d.ts +0 -38
- package/dist/components/Bars.svelte.d.ts +0 -34
- package/dist/components/Circle.svelte.d.ts +0 -29
- package/dist/components/CircleClipPath.svelte.d.ts +0 -28
- package/dist/components/Grid.svelte.d.ts +0 -35
- package/dist/components/Group.svelte.d.ts +0 -33
- package/dist/components/Highlight.svelte.d.ts +0 -78
- package/dist/components/Line.svelte.d.ts +0 -43
- package/dist/components/Link.svelte.d.ts +0 -48
- package/dist/components/Rect.svelte.d.ts +0 -39
- package/dist/components/RectClipPath.svelte.d.ts +0 -30
- package/dist/components/Spline.svelte.d.ts +0 -55
- package/dist/components/Text.svelte.d.ts +0 -33
- package/dist/components/charts/AreaChart.svelte.d.ts +0 -334
- package/dist/components/charts/BarChart.svelte.d.ts +0 -320
- package/dist/components/charts/LineChart.svelte.d.ts +0 -331
- package/dist/components/charts/ScatterChart.svelte.d.ts +0 -307
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import { type ComponentProps } from 'svelte';
|
|
3
|
-
import { fade } from 'svelte/transition';
|
|
4
|
-
import type { SVGAttributes } from 'svelte/elements';
|
|
5
|
-
import type { spring as springStore, tweened as tweenedStore } from 'svelte/motion';
|
|
6
|
-
import { type FormatType } from '@layerstack/utils';
|
|
7
|
-
import type { TransitionParams } from 'svelte-ux';
|
|
8
|
-
import Rule from './Rule.svelte';
|
|
9
|
-
import Text from './Text.svelte';
|
|
10
|
-
import { type AnyScale } from '../utils/scales.js';
|
|
11
|
-
declare const __propDef: {
|
|
12
|
-
props: {
|
|
13
|
-
[x: string]: any;
|
|
14
|
-
placement: "top" | "bottom" | "left" | "right" | "angle" | "radius";
|
|
15
|
-
label?: string | undefined;
|
|
16
|
-
labelPlacement?: ("start" | "middle" | "end") | undefined;
|
|
17
|
-
labelProps?: Partial<ComponentProps<Text>> | undefined;
|
|
18
|
-
rule?: (boolean | Partial<ComponentProps<Rule>>) | undefined;
|
|
19
|
-
grid?: (boolean | Pick<SVGAttributes<SVGElement>, "class" | "style">) | undefined;
|
|
20
|
-
ticks?: number | any[] | ((scale: AnyScale) => any) | null | undefined;
|
|
21
|
-
tickLength?: number | undefined;
|
|
22
|
-
format?: FormatType | undefined;
|
|
23
|
-
tickLabelProps?: Partial<ComponentProps<Text>> | undefined;
|
|
24
|
-
spring?: boolean | Parameters<typeof springStore>[1];
|
|
25
|
-
tweened?: boolean | Parameters<typeof tweenedStore>[1];
|
|
26
|
-
transitionIn?: (typeof fade | (() => {})) | undefined;
|
|
27
|
-
transitionInParams?: TransitionParams | undefined;
|
|
28
|
-
scale?: any;
|
|
29
|
-
classes?: {
|
|
30
|
-
root?: string;
|
|
31
|
-
label?: string;
|
|
32
|
-
} | undefined;
|
|
33
|
-
};
|
|
34
|
-
events: {
|
|
35
|
-
[evt: string]: CustomEvent<any>;
|
|
36
|
-
};
|
|
37
|
-
slots: {
|
|
38
|
-
tickLabel: {
|
|
39
|
-
labelProps: any;
|
|
40
|
-
index: any;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
export type AxisProps = typeof __propDef.props;
|
|
45
|
-
export type AxisEvents = typeof __propDef.events;
|
|
46
|
-
export type AxisSlots = typeof __propDef.slots;
|
|
47
|
-
export default class Axis extends SvelteComponentTyped<AxisProps, AxisEvents, AxisSlots> {
|
|
48
|
-
}
|
|
49
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import { type ComponentProps } from 'svelte';
|
|
3
|
-
import Rect from './Rect.svelte';
|
|
4
|
-
import { type Accessor } from '../utils/common.js';
|
|
5
|
-
declare const __propDef: {
|
|
6
|
-
props: {
|
|
7
|
-
[x: string]: any;
|
|
8
|
-
bar: Object;
|
|
9
|
-
x?: Accessor;
|
|
10
|
-
y?: Accessor;
|
|
11
|
-
x1?: Accessor;
|
|
12
|
-
y1?: Accessor;
|
|
13
|
-
fill?: string | undefined;
|
|
14
|
-
stroke?: string | undefined;
|
|
15
|
-
strokeWidth?: number | undefined;
|
|
16
|
-
radius?: number | undefined;
|
|
17
|
-
rounded?: ("all" | "none" | "edge" | "top" | "bottom" | "left" | "right" | "top-left" | "top-right" | "bottom-left" | "bottom-right") | undefined;
|
|
18
|
-
inset?: number | undefined;
|
|
19
|
-
spring?: ComponentProps<Rect>["spring"];
|
|
20
|
-
tweened?: ComponentProps<Rect>["tweened"];
|
|
21
|
-
};
|
|
22
|
-
events: {
|
|
23
|
-
click: MouseEvent;
|
|
24
|
-
pointerenter: PointerEvent;
|
|
25
|
-
pointermove: PointerEvent;
|
|
26
|
-
pointerleave: PointerEvent;
|
|
27
|
-
touchmove: CustomEvent<any>;
|
|
28
|
-
} & {
|
|
29
|
-
[evt: string]: CustomEvent<any>;
|
|
30
|
-
};
|
|
31
|
-
slots: {};
|
|
32
|
-
};
|
|
33
|
-
export type BarProps = typeof __propDef.props;
|
|
34
|
-
export type BarEvents = typeof __propDef.events;
|
|
35
|
-
export type BarSlots = typeof __propDef.slots;
|
|
36
|
-
export default class Bar extends SvelteComponentTyped<BarProps, BarEvents, BarSlots> {
|
|
37
|
-
}
|
|
38
|
-
export {};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import { type ComponentProps } from 'svelte';
|
|
3
|
-
import Rect from './Rect.svelte';
|
|
4
|
-
import { type Accessor } from '../utils/common.js';
|
|
5
|
-
declare const __propDef: {
|
|
6
|
-
props: {
|
|
7
|
-
[x: string]: any;
|
|
8
|
-
data?: any;
|
|
9
|
-
x?: Accessor;
|
|
10
|
-
y?: Accessor;
|
|
11
|
-
x1?: Accessor;
|
|
12
|
-
y1?: Accessor;
|
|
13
|
-
stroke?: string | undefined;
|
|
14
|
-
strokeWidth?: number | undefined;
|
|
15
|
-
radius?: number | undefined;
|
|
16
|
-
fill?: string | undefined;
|
|
17
|
-
inset?: number | undefined;
|
|
18
|
-
key?: ((d: any, index: number) => any) | undefined;
|
|
19
|
-
spring?: ComponentProps<Rect>["spring"];
|
|
20
|
-
tweened?: ComponentProps<Rect>["tweened"];
|
|
21
|
-
};
|
|
22
|
-
events: {
|
|
23
|
-
[evt: string]: CustomEvent<any>;
|
|
24
|
-
};
|
|
25
|
-
slots: {
|
|
26
|
-
default: {};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export type BarsProps = typeof __propDef.props;
|
|
30
|
-
export type BarsEvents = typeof __propDef.events;
|
|
31
|
-
export type BarsSlots = typeof __propDef.slots;
|
|
32
|
-
export default class Bars extends SvelteComponentTyped<BarsProps, BarsEvents, BarsSlots> {
|
|
33
|
-
}
|
|
34
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import type { spring as springStore, tweened as tweenedStore } from 'svelte/motion';
|
|
3
|
-
declare const __propDef: {
|
|
4
|
-
props: {
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
cx?: number | undefined;
|
|
7
|
-
initialCx?: number | undefined;
|
|
8
|
-
cy?: number | undefined;
|
|
9
|
-
initialCy?: number | undefined;
|
|
10
|
-
r?: number | undefined;
|
|
11
|
-
initialR?: number | undefined;
|
|
12
|
-
spring?: boolean | Parameters<typeof springStore>[1];
|
|
13
|
-
tweened?: boolean | Parameters<typeof tweenedStore>[1];
|
|
14
|
-
};
|
|
15
|
-
events: {
|
|
16
|
-
click: MouseEvent;
|
|
17
|
-
pointermove: PointerEvent;
|
|
18
|
-
pointerleave: PointerEvent;
|
|
19
|
-
} & {
|
|
20
|
-
[evt: string]: CustomEvent<any>;
|
|
21
|
-
};
|
|
22
|
-
slots: {};
|
|
23
|
-
};
|
|
24
|
-
export type CircleProps = typeof __propDef.props;
|
|
25
|
-
export type CircleEvents = typeof __propDef.events;
|
|
26
|
-
export type CircleSlots = typeof __propDef.slots;
|
|
27
|
-
export default class Circle extends SvelteComponentTyped<CircleProps, CircleEvents, CircleSlots> {
|
|
28
|
-
}
|
|
29
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import type { spring as springStore, tweened as tweenedStore } from 'svelte/motion';
|
|
3
|
-
declare const __propDef: {
|
|
4
|
-
props: {
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
id?: string | undefined;
|
|
7
|
-
cx?: number | undefined;
|
|
8
|
-
cy?: number | undefined;
|
|
9
|
-
r: number;
|
|
10
|
-
spring?: boolean | Parameters<typeof springStore>[1];
|
|
11
|
-
tweened?: boolean | Parameters<typeof tweenedStore>[1];
|
|
12
|
-
};
|
|
13
|
-
events: {
|
|
14
|
-
[evt: string]: CustomEvent<any>;
|
|
15
|
-
};
|
|
16
|
-
slots: {
|
|
17
|
-
default: {
|
|
18
|
-
id: string;
|
|
19
|
-
url: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export type CircleClipPathProps = typeof __propDef.props;
|
|
24
|
-
export type CircleClipPathEvents = typeof __propDef.events;
|
|
25
|
-
export type CircleClipPathSlots = typeof __propDef.slots;
|
|
26
|
-
export default class CircleClipPath extends SvelteComponentTyped<CircleClipPathProps, CircleClipPathEvents, CircleClipPathSlots> {
|
|
27
|
-
}
|
|
28
|
-
export {};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import type { SVGAttributes } from 'svelte/elements';
|
|
3
|
-
import { fade } from 'svelte/transition';
|
|
4
|
-
import type { spring as springStore, tweened as tweenedStore } from 'svelte/motion';
|
|
5
|
-
import type { TransitionParams } from 'svelte-ux';
|
|
6
|
-
import { type AnyScale } from '../utils/scales.js';
|
|
7
|
-
declare const __propDef: {
|
|
8
|
-
props: {
|
|
9
|
-
[x: string]: any;
|
|
10
|
-
x?: (boolean | Pick<SVGAttributes<SVGElement>, "class" | "style">) | undefined;
|
|
11
|
-
y?: (boolean | Pick<SVGAttributes<SVGElement>, "class" | "style">) | undefined;
|
|
12
|
-
xTicks?: number | any[] | ((scale: AnyScale) => any) | null | undefined;
|
|
13
|
-
yTicks?: number | any[] | ((scale: AnyScale) => any) | null | undefined;
|
|
14
|
-
bandAlign?: ("center" | "between") | undefined;
|
|
15
|
-
radialY?: ("circle" | "linear") | undefined;
|
|
16
|
-
spring?: boolean | Parameters<typeof springStore>[1];
|
|
17
|
-
tweened?: boolean | Parameters<typeof tweenedStore>[1];
|
|
18
|
-
transitionIn?: (typeof fade | (() => {})) | undefined;
|
|
19
|
-
transitionInParams?: TransitionParams | undefined;
|
|
20
|
-
classes?: {
|
|
21
|
-
root?: string;
|
|
22
|
-
line?: string;
|
|
23
|
-
} | undefined;
|
|
24
|
-
};
|
|
25
|
-
events: {
|
|
26
|
-
[evt: string]: CustomEvent<any>;
|
|
27
|
-
};
|
|
28
|
-
slots: {};
|
|
29
|
-
};
|
|
30
|
-
export type GridProps = typeof __propDef.props;
|
|
31
|
-
export type GridEvents = typeof __propDef.events;
|
|
32
|
-
export type GridSlots = typeof __propDef.slots;
|
|
33
|
-
export default class Grid extends SvelteComponentTyped<GridProps, GridEvents, GridSlots> {
|
|
34
|
-
}
|
|
35
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import type { spring as springStore, tweened as tweenedStore } from 'svelte/motion';
|
|
3
|
-
declare const __propDef: {
|
|
4
|
-
props: {
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
x?: number | undefined;
|
|
7
|
-
initialX?: number | undefined;
|
|
8
|
-
y?: number | undefined;
|
|
9
|
-
initialY?: number | undefined;
|
|
10
|
-
center?: (boolean | "x" | "y") | undefined;
|
|
11
|
-
preventTouchMove?: boolean | undefined;
|
|
12
|
-
spring?: boolean | Parameters<typeof springStore>[1];
|
|
13
|
-
tweened?: boolean | Parameters<typeof tweenedStore>[1];
|
|
14
|
-
};
|
|
15
|
-
events: {
|
|
16
|
-
click: MouseEvent;
|
|
17
|
-
pointerdown: PointerEvent;
|
|
18
|
-
pointerenter: PointerEvent;
|
|
19
|
-
pointermove: PointerEvent;
|
|
20
|
-
pointerleave: PointerEvent;
|
|
21
|
-
} & {
|
|
22
|
-
[evt: string]: CustomEvent<any>;
|
|
23
|
-
};
|
|
24
|
-
slots: {
|
|
25
|
-
default: {};
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export type GroupProps = typeof __propDef.props;
|
|
29
|
-
export type GroupEvents = typeof __propDef.events;
|
|
30
|
-
export type GroupSlots = typeof __propDef.slots;
|
|
31
|
-
export default class Group extends SvelteComponentTyped<GroupProps, GroupEvents, GroupSlots> {
|
|
32
|
-
}
|
|
33
|
-
export {};
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import { type ComponentProps } from 'svelte';
|
|
3
|
-
import Circle from './Circle.svelte';
|
|
4
|
-
import Line from './Line.svelte';
|
|
5
|
-
import Bar from './Bar.svelte';
|
|
6
|
-
import Rect from './Rect.svelte';
|
|
7
|
-
import { type Accessor } from '../utils/common.js';
|
|
8
|
-
declare const __propDef: {
|
|
9
|
-
props: {
|
|
10
|
-
/** Highlight specific data (annotate), espect uses tooltip data */ data?: any;
|
|
11
|
-
/**
|
|
12
|
-
* Override `x` from context
|
|
13
|
-
*/ x?: Accessor;
|
|
14
|
-
/**
|
|
15
|
-
* Override `y` from context
|
|
16
|
-
*/ y?: Accessor;
|
|
17
|
-
axis?: "x" | "y" | "both" | "none" | undefined;
|
|
18
|
-
/** Show points and pass props to Circles */ points?: boolean | Partial<ComponentProps<Circle>>;
|
|
19
|
-
/** Show lines and pass props to Lines */ lines?: boolean | Partial<ComponentProps<Line>>;
|
|
20
|
-
/** Show area and pass props to Rect */ area?: boolean | Partial<ComponentProps<Rect>>;
|
|
21
|
-
/** Show bar and pass props to Rect */ bar?: boolean | Partial<ComponentProps<Bar>>;
|
|
22
|
-
/** Set to false to disable spring transitions */ motion?: boolean;
|
|
23
|
-
};
|
|
24
|
-
events: {
|
|
25
|
-
click: MouseEvent;
|
|
26
|
-
} & {
|
|
27
|
-
[evt: string]: CustomEvent<any>;
|
|
28
|
-
};
|
|
29
|
-
slots: {
|
|
30
|
-
area: {
|
|
31
|
-
area: {
|
|
32
|
-
x: number;
|
|
33
|
-
y: number;
|
|
34
|
-
width: number;
|
|
35
|
-
height: number;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
bar: {
|
|
39
|
-
bar: boolean | Partial<{
|
|
40
|
-
[x: string]: any;
|
|
41
|
-
bar: Object;
|
|
42
|
-
x?: Accessor;
|
|
43
|
-
y?: Accessor;
|
|
44
|
-
x1?: Accessor;
|
|
45
|
-
y1?: Accessor;
|
|
46
|
-
fill?: string | undefined;
|
|
47
|
-
stroke?: string | undefined;
|
|
48
|
-
strokeWidth?: number | undefined;
|
|
49
|
-
radius?: number | undefined;
|
|
50
|
-
rounded?: ("all" | "none" | "edge" | "top" | "bottom" | "left" | "right" | "top-left" | "top-right" | "bottom-left" | "bottom-right") | undefined;
|
|
51
|
-
inset?: number | undefined;
|
|
52
|
-
spring?: ComponentProps<Rect>["spring"];
|
|
53
|
-
tweened?: ComponentProps<Rect>["tweened"];
|
|
54
|
-
}>;
|
|
55
|
-
};
|
|
56
|
-
lines: {
|
|
57
|
-
lines: {
|
|
58
|
-
x1: number;
|
|
59
|
-
y1: number;
|
|
60
|
-
x2: number;
|
|
61
|
-
y2: number;
|
|
62
|
-
}[];
|
|
63
|
-
};
|
|
64
|
-
points: {
|
|
65
|
-
points: {
|
|
66
|
-
x: number;
|
|
67
|
-
y: number;
|
|
68
|
-
fill: string;
|
|
69
|
-
}[];
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
export type HighlightProps = typeof __propDef.props;
|
|
74
|
-
export type HighlightEvents = typeof __propDef.events;
|
|
75
|
-
export type HighlightSlots = typeof __propDef.slots;
|
|
76
|
-
export default class Highlight extends SvelteComponentTyped<HighlightProps, HighlightEvents, HighlightSlots> {
|
|
77
|
-
}
|
|
78
|
-
export {};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import { type ComponentProps } from 'svelte';
|
|
3
|
-
import type { spring as springStore, tweened as tweenedStore } from 'svelte/motion';
|
|
4
|
-
import Marker from './Marker.svelte';
|
|
5
|
-
declare const __propDef: {
|
|
6
|
-
props: {
|
|
7
|
-
[x: string]: any;
|
|
8
|
-
x1: number;
|
|
9
|
-
initialX1?: number | undefined;
|
|
10
|
-
y1: number;
|
|
11
|
-
initialY1?: number | undefined;
|
|
12
|
-
x2: number;
|
|
13
|
-
initialX2?: number | undefined;
|
|
14
|
-
y2: number;
|
|
15
|
-
initialY2?: number | undefined;
|
|
16
|
-
marker?: ComponentProps<Marker>["type"] | ComponentProps<Marker> | undefined;
|
|
17
|
-
markerStart?: ComponentProps<Marker>["type"] | ComponentProps<Marker> | undefined;
|
|
18
|
-
markerEnd?: ComponentProps<Marker>["type"] | ComponentProps<Marker> | undefined;
|
|
19
|
-
spring?: boolean | Parameters<typeof springStore>[1];
|
|
20
|
-
tweened?: boolean | Parameters<typeof tweenedStore>[1];
|
|
21
|
-
};
|
|
22
|
-
events: {
|
|
23
|
-
click: MouseEvent;
|
|
24
|
-
pointermove: PointerEvent;
|
|
25
|
-
pointerleave: PointerEvent;
|
|
26
|
-
} & {
|
|
27
|
-
[evt: string]: CustomEvent<any>;
|
|
28
|
-
};
|
|
29
|
-
slots: {
|
|
30
|
-
markerStart: {
|
|
31
|
-
id: string;
|
|
32
|
-
};
|
|
33
|
-
markerEnd: {
|
|
34
|
-
id: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export type LineProps = typeof __propDef.props;
|
|
39
|
-
export type LineEvents = typeof __propDef.events;
|
|
40
|
-
export type LineSlots = typeof __propDef.slots;
|
|
41
|
-
export default class Line extends SvelteComponentTyped<LineProps, LineEvents, LineSlots> {
|
|
42
|
-
}
|
|
43
|
-
export {};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import type { ComponentProps } from 'svelte';
|
|
3
|
-
import type { tweened as tweenedStore } from 'svelte/motion';
|
|
4
|
-
import Marker from './Marker.svelte';
|
|
5
|
-
declare const __propDef: {
|
|
6
|
-
props: {
|
|
7
|
-
[x: string]: any;
|
|
8
|
-
data?: any;
|
|
9
|
-
sankey?: boolean | undefined;
|
|
10
|
-
source?: ((d: any) => any) | undefined;
|
|
11
|
-
target?: ((d: any) => any) | undefined;
|
|
12
|
-
orientation?: ("vertical" | "horizontal") | undefined;
|
|
13
|
-
x?: ((d: any) => any) | undefined;
|
|
14
|
-
y?: ((d: any) => any) | undefined;
|
|
15
|
-
curve?: import("d3-shape").CurveFactory | undefined;
|
|
16
|
-
marker?: ComponentProps<Marker>["type"] | ComponentProps<Marker> | undefined;
|
|
17
|
-
markerStart?: ComponentProps<Marker>["type"] | ComponentProps<Marker> | undefined;
|
|
18
|
-
markerMid?: ComponentProps<Marker>["type"] | ComponentProps<Marker> | undefined;
|
|
19
|
-
markerEnd?: ComponentProps<Marker>["type"] | ComponentProps<Marker> | undefined;
|
|
20
|
-
tweened?: boolean | Parameters<typeof tweenedStore>[1];
|
|
21
|
-
};
|
|
22
|
-
events: {
|
|
23
|
-
click: MouseEvent;
|
|
24
|
-
pointerover: PointerEvent;
|
|
25
|
-
pointermove: PointerEvent;
|
|
26
|
-
pointerout: PointerEvent;
|
|
27
|
-
pointerleave: PointerEvent;
|
|
28
|
-
} & {
|
|
29
|
-
[evt: string]: CustomEvent<any>;
|
|
30
|
-
};
|
|
31
|
-
slots: {
|
|
32
|
-
markerStart: {
|
|
33
|
-
id: string;
|
|
34
|
-
};
|
|
35
|
-
markerMid: {
|
|
36
|
-
id: string;
|
|
37
|
-
};
|
|
38
|
-
markerEnd: {
|
|
39
|
-
id: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
export type LinkProps = typeof __propDef.props;
|
|
44
|
-
export type LinkEvents = typeof __propDef.events;
|
|
45
|
-
export type LinkSlots = typeof __propDef.slots;
|
|
46
|
-
export default class Link extends SvelteComponentTyped<LinkProps, LinkEvents, LinkSlots> {
|
|
47
|
-
}
|
|
48
|
-
export {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import { type SpringOptions, type TweenedOptions } from '../stores/motionStore.js';
|
|
3
|
-
declare const __propDef: {
|
|
4
|
-
props: {
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
x?: number | undefined;
|
|
7
|
-
initialX?: number | undefined;
|
|
8
|
-
y?: number | undefined;
|
|
9
|
-
initialY?: number | undefined;
|
|
10
|
-
width: number;
|
|
11
|
-
initialWidth?: number | undefined;
|
|
12
|
-
height: number;
|
|
13
|
-
initialHeight?: number | undefined;
|
|
14
|
-
spring?: boolean | SpringOptions | {
|
|
15
|
-
[prop: string]: SpringOptions;
|
|
16
|
-
};
|
|
17
|
-
tweened?: boolean | TweenedOptions | {
|
|
18
|
-
[prop: string]: TweenedOptions;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
events: {
|
|
22
|
-
click: MouseEvent;
|
|
23
|
-
pointerenter: PointerEvent;
|
|
24
|
-
pointerover: PointerEvent;
|
|
25
|
-
pointermove: PointerEvent;
|
|
26
|
-
pointerout: PointerEvent;
|
|
27
|
-
pointerleave: PointerEvent;
|
|
28
|
-
dblclick: MouseEvent;
|
|
29
|
-
} & {
|
|
30
|
-
[evt: string]: CustomEvent<any>;
|
|
31
|
-
};
|
|
32
|
-
slots: {};
|
|
33
|
-
};
|
|
34
|
-
export type RectProps = typeof __propDef.props;
|
|
35
|
-
export type RectEvents = typeof __propDef.events;
|
|
36
|
-
export type RectSlots = typeof __propDef.slots;
|
|
37
|
-
export default class Rect extends SvelteComponentTyped<RectProps, RectEvents, RectSlots> {
|
|
38
|
-
}
|
|
39
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import type { ComponentProps } from 'svelte';
|
|
3
|
-
import Rect from './Rect.svelte';
|
|
4
|
-
declare const __propDef: {
|
|
5
|
-
props: {
|
|
6
|
-
[x: string]: any;
|
|
7
|
-
id?: string | undefined;
|
|
8
|
-
x?: number | undefined;
|
|
9
|
-
y?: number | undefined;
|
|
10
|
-
width: number;
|
|
11
|
-
height: number;
|
|
12
|
-
spring?: ComponentProps<Rect>["spring"];
|
|
13
|
-
tweened?: ComponentProps<Rect>["tweened"];
|
|
14
|
-
};
|
|
15
|
-
events: {
|
|
16
|
-
[evt: string]: CustomEvent<any>;
|
|
17
|
-
};
|
|
18
|
-
slots: {
|
|
19
|
-
default: {
|
|
20
|
-
id: string;
|
|
21
|
-
url: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export type RectClipPathProps = typeof __propDef.props;
|
|
26
|
-
export type RectClipPathEvents = typeof __propDef.events;
|
|
27
|
-
export type RectClipPathSlots = typeof __propDef.slots;
|
|
28
|
-
export default class RectClipPath extends SvelteComponentTyped<RectClipPathProps, RectClipPathEvents, RectClipPathSlots> {
|
|
29
|
-
}
|
|
30
|
-
export {};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import { type ComponentProps } from 'svelte';
|
|
3
|
-
import { tweened as tweenedStore } from 'svelte/motion';
|
|
4
|
-
import { draw as _drawTransition } from 'svelte/transition';
|
|
5
|
-
import type { CurveFactory, CurveFactoryLineOnly, Line } from 'd3-shape';
|
|
6
|
-
import Marker from './Marker.svelte';
|
|
7
|
-
import { type Accessor } from '../utils/common.js';
|
|
8
|
-
declare const __propDef: {
|
|
9
|
-
props: {
|
|
10
|
-
[x: string]: any;
|
|
11
|
-
data?: any;
|
|
12
|
-
pathData?: string | undefined | null;
|
|
13
|
-
x?: Accessor;
|
|
14
|
-
y?: Accessor;
|
|
15
|
-
tweened?: boolean | Parameters<typeof tweenedStore>[1];
|
|
16
|
-
draw?: boolean | Parameters<typeof _drawTransition>[1];
|
|
17
|
-
curve?: CurveFactory | CurveFactoryLineOnly | undefined;
|
|
18
|
-
defined?: Parameters<Line<any>["defined"]>[0] | undefined;
|
|
19
|
-
marker?: ComponentProps<Marker>["type"] | ComponentProps<Marker> | undefined;
|
|
20
|
-
markerStart?: ComponentProps<Marker>["type"] | ComponentProps<Marker> | undefined;
|
|
21
|
-
markerMid?: ComponentProps<Marker>["type"] | ComponentProps<Marker> | undefined;
|
|
22
|
-
markerEnd?: ComponentProps<Marker>["type"] | ComponentProps<Marker> | undefined;
|
|
23
|
-
};
|
|
24
|
-
events: {
|
|
25
|
-
click: MouseEvent;
|
|
26
|
-
pointerenter: PointerEvent;
|
|
27
|
-
pointermove: PointerEvent;
|
|
28
|
-
pointerleave: PointerEvent;
|
|
29
|
-
} & {
|
|
30
|
-
[evt: string]: CustomEvent<any>;
|
|
31
|
-
};
|
|
32
|
-
slots: {
|
|
33
|
-
markerStart: {
|
|
34
|
-
id: string;
|
|
35
|
-
};
|
|
36
|
-
markerMid: {
|
|
37
|
-
id: string;
|
|
38
|
-
};
|
|
39
|
-
markerEnd: {
|
|
40
|
-
id: string;
|
|
41
|
-
};
|
|
42
|
-
start: {
|
|
43
|
-
point: DOMPoint | undefined;
|
|
44
|
-
};
|
|
45
|
-
end: {
|
|
46
|
-
point: DOMPoint | undefined;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
export type SplineProps = typeof __propDef.props;
|
|
51
|
-
export type SplineEvents = typeof __propDef.events;
|
|
52
|
-
export type SplineSlots = typeof __propDef.slots;
|
|
53
|
-
export default class Spline extends SvelteComponentTyped<SplineProps, SplineEvents, SplineSlots> {
|
|
54
|
-
}
|
|
55
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import type { spring as springStore, tweened as tweenedStore } from 'svelte/motion';
|
|
3
|
-
declare const __propDef: {
|
|
4
|
-
props: {
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
value?: (string | number) | undefined;
|
|
7
|
-
width?: number | undefined;
|
|
8
|
-
x?: (string | number) | undefined;
|
|
9
|
-
initialX?: (string | number) | undefined;
|
|
10
|
-
y?: (string | number) | undefined;
|
|
11
|
-
initialY?: (string | number) | undefined;
|
|
12
|
-
dx?: (string | number) | undefined;
|
|
13
|
-
dy?: (string | number) | undefined;
|
|
14
|
-
lineHeight?: string | undefined;
|
|
15
|
-
capHeight?: string | undefined;
|
|
16
|
-
scaleToFit?: boolean | undefined;
|
|
17
|
-
textAnchor?: ("start" | "middle" | "end" | "inherit") | undefined;
|
|
18
|
-
verticalAnchor?: ("start" | "middle" | "end" | "inherit") | undefined;
|
|
19
|
-
rotate?: number | undefined;
|
|
20
|
-
spring?: boolean | Parameters<typeof springStore>[1];
|
|
21
|
-
tweened?: boolean | Parameters<typeof tweenedStore>[1];
|
|
22
|
-
};
|
|
23
|
-
events: {
|
|
24
|
-
[evt: string]: CustomEvent<any>;
|
|
25
|
-
};
|
|
26
|
-
slots: {};
|
|
27
|
-
};
|
|
28
|
-
export type TextProps = typeof __propDef.props;
|
|
29
|
-
export type TextEvents = typeof __propDef.events;
|
|
30
|
-
export type TextSlots = typeof __propDef.slots;
|
|
31
|
-
export default class Text extends SvelteComponentTyped<TextProps, TextEvents, TextSlots> {
|
|
32
|
-
}
|
|
33
|
-
export {};
|