vue-chrts 0.2.4 → 0.2.5-test.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AreaChart/AreaChart.js +73 -70
- package/dist/components/AreaChart/types.d.ts +4 -0
- package/dist/components/AreaStackedChart/AreaStackedChart.js +31 -31
- package/dist/components/BarChart/BarChart.js +160 -122
- package/dist/components/BarChart/BarChart.vue.d.ts +1 -1
- package/dist/components/BarChart/types.d.ts +27 -11
- package/dist/components/BubbleChart/BubbleChart.js +74 -56
- package/dist/components/BubbleChart/types.d.ts +4 -0
- package/dist/components/DonutChart/DonutChart.js +39 -39
- package/dist/components/LineChart/LineChart.js +62 -58
- package/dist/components/LineChart/types.d.ts +4 -0
- package/dist/components/Tooltip.js +24 -24
- package/dist/types.d.ts +6 -2
- package/dist/types.js +4 -4
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as V, useSlots as b, useTemplateRef as
|
|
2
|
-
import { Donut as
|
|
3
|
-
import { DonutType as
|
|
4
|
-
import { VisSingleContainer as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as V, useSlots as b, useTemplateRef as x, ref as w, createElementBlock as c, openBlock as m, Fragment as T, createElementVNode as a, createCommentVNode as g, createVNode as r, renderSlot as s, unref as n, withCtx as D, normalizeStyle as S, toDisplayString as W } from "vue";
|
|
2
|
+
import { Donut as B } from "@unovis/ts";
|
|
3
|
+
import { DonutType as L } from "./types.js";
|
|
4
|
+
import { VisSingleContainer as R, VisTooltip as H, VisDonut as N, VisBulletLegend as $ } from "@unovis/vue";
|
|
5
|
+
const j = {
|
|
6
6
|
ref: "slotWrapper",
|
|
7
7
|
style: { display: "none" }
|
|
8
|
-
},
|
|
8
|
+
}, z = { style: { display: "flex", "align-items": "center", padding: "10px 15px" } }, A = {
|
|
9
9
|
key: 0,
|
|
10
10
|
style: {
|
|
11
11
|
display: "flex",
|
|
@@ -13,7 +13,7 @@ const z = {
|
|
|
13
13
|
justifyContent: "center",
|
|
14
14
|
marginTop: "1rem"
|
|
15
15
|
}
|
|
16
|
-
},
|
|
16
|
+
}, U = /* @__PURE__ */ V({
|
|
17
17
|
__name: "DonutChart",
|
|
18
18
|
props: {
|
|
19
19
|
type: {},
|
|
@@ -26,74 +26,74 @@ const z = {
|
|
|
26
26
|
padAngle: {}
|
|
27
27
|
},
|
|
28
28
|
emits: ["click"],
|
|
29
|
-
setup(
|
|
30
|
-
const f =
|
|
29
|
+
setup(t, { emit: p }) {
|
|
30
|
+
const f = p, i = t, h = b(), d = x("slotWrapper"), l = w(), y = (e) => e, v = i.type === L.Half;
|
|
31
31
|
function C(e) {
|
|
32
|
-
return
|
|
32
|
+
return l.value = e, k();
|
|
33
33
|
}
|
|
34
34
|
function k(e) {
|
|
35
|
-
return typeof window > "u" ? "" :
|
|
35
|
+
return typeof window > "u" ? "" : d.value ? d.value.innerHTML : "";
|
|
36
36
|
}
|
|
37
|
-
return (e,
|
|
38
|
-
|
|
37
|
+
return (e, u) => (m(), c(T, null, [
|
|
38
|
+
a("div", {
|
|
39
39
|
style: {
|
|
40
40
|
display: "flex",
|
|
41
41
|
alignItems: "center",
|
|
42
42
|
justifyContent: "center"
|
|
43
43
|
},
|
|
44
|
-
onClick:
|
|
44
|
+
onClick: u[0] || (u[0] = (o) => f("click", o, l.value))
|
|
45
45
|
}, [
|
|
46
|
-
|
|
47
|
-
data:
|
|
48
|
-
height:
|
|
46
|
+
r(n(R), {
|
|
47
|
+
data: t.data,
|
|
48
|
+
height: t.height,
|
|
49
49
|
margin: {}
|
|
50
50
|
}, {
|
|
51
|
-
default:
|
|
52
|
-
|
|
51
|
+
default: D(() => [
|
|
52
|
+
r(n(H), {
|
|
53
53
|
"horizontal-shift": 20,
|
|
54
54
|
"vertical-shift": 20,
|
|
55
55
|
triggers: {
|
|
56
|
-
[
|
|
56
|
+
[n(B).selectors.segment]: C
|
|
57
57
|
}
|
|
58
58
|
}, null, 8, ["triggers"]),
|
|
59
|
-
|
|
59
|
+
r(n(N), {
|
|
60
60
|
value: y,
|
|
61
|
-
"corner-radius":
|
|
62
|
-
"arc-width":
|
|
63
|
-
color:
|
|
61
|
+
"corner-radius": t.radius,
|
|
62
|
+
"arc-width": t.arcWidth ?? 20,
|
|
63
|
+
color: i.labels.map((o) => o.color),
|
|
64
64
|
"angle-range": v ? [-1.5707963267948966, 1.5707963267948966] : [],
|
|
65
|
-
"pad-angle":
|
|
65
|
+
"pad-angle": i.padAngle || 0
|
|
66
66
|
}, null, 8, ["corner-radius", "arc-width", "color", "angle-range", "pad-angle"])
|
|
67
67
|
]),
|
|
68
68
|
_: 1
|
|
69
69
|
}, 8, ["data", "height"]),
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
s(e.$slots, "default"),
|
|
71
|
+
a("div", j, [
|
|
72
|
+
n(h).tooltip ? s(e.$slots, "tooltip", {
|
|
73
73
|
key: 0,
|
|
74
|
-
values:
|
|
75
|
-
}) :
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
style:
|
|
74
|
+
values: l.value
|
|
75
|
+
}) : l.value ? s(e.$slots, "fallback", { key: 1 }, () => [
|
|
76
|
+
a("div", z, [
|
|
77
|
+
a("div", {
|
|
78
|
+
style: S({
|
|
79
79
|
width: "0.5rem",
|
|
80
80
|
height: "0.5rem",
|
|
81
81
|
borderRadius: "9999px",
|
|
82
82
|
marginRight: "0.5rem",
|
|
83
|
-
backgroundColor:
|
|
83
|
+
backgroundColor: i.labels[l.value.index].color
|
|
84
84
|
})
|
|
85
85
|
}, null, 4),
|
|
86
|
-
|
|
86
|
+
a("div", null, W(l.value.data), 1)
|
|
87
87
|
])
|
|
88
|
-
]) :
|
|
88
|
+
]) : g("", !0)
|
|
89
89
|
], 512)
|
|
90
90
|
]),
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
t.hideLegend ? g("", !0) : (m(), c("div", A, [
|
|
92
|
+
r(n($), { items: t.labels }, null, 8, ["items"])
|
|
93
93
|
]))
|
|
94
94
|
], 64));
|
|
95
95
|
}
|
|
96
96
|
});
|
|
97
97
|
export {
|
|
98
|
-
|
|
98
|
+
U as default
|
|
99
99
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as N, computed as
|
|
1
|
+
import { defineComponent as N, computed as u, useSlots as O, useTemplateRef as W, ref as j, createElementBlock as y, openBlock as a, normalizeClass as w, normalizeStyle as g, createVNode as c, createCommentVNode as r, createElementVNode as M, unref as i, withCtx as S, createBlock as d, Fragment as z, renderList as E, mergeProps as G, renderSlot as h } from "vue";
|
|
2
2
|
import { Position as v, CurveType as X } from "@unovis/ts";
|
|
3
3
|
import { createMarkers as $, getFirstPropertyValue as R } from "../../utils.js";
|
|
4
|
-
import
|
|
5
|
-
import { VisXYContainer as
|
|
6
|
-
import { LegendPosition as
|
|
7
|
-
const
|
|
4
|
+
import Y from "../Tooltip.js";
|
|
5
|
+
import { VisXYContainer as H, VisTooltip as U, VisLine as q, VisAxis as x, VisCrosshair as I, VisBulletLegend as J } from "@unovis/vue";
|
|
6
|
+
import { LegendPosition as Q } from "../../types.js";
|
|
7
|
+
const Z = {
|
|
8
8
|
ref: "slotWrapper",
|
|
9
9
|
style: { display: "none" }
|
|
10
|
-
},
|
|
10
|
+
}, le = /* @__PURE__ */ N({
|
|
11
11
|
__name: "LineChart",
|
|
12
12
|
props: {
|
|
13
13
|
data: {},
|
|
@@ -27,13 +27,14 @@ const Q = {
|
|
|
27
27
|
curveType: {},
|
|
28
28
|
lineWidth: { default: 2 },
|
|
29
29
|
lineDashArray: {},
|
|
30
|
-
xNumTicks: { default: (
|
|
30
|
+
xNumTicks: { default: (e) => e.data.length > 24 ? 24 / 4 : e.data.length - 1 },
|
|
31
31
|
xExplicitTicks: {},
|
|
32
32
|
minMaxTicksOnly: { type: Boolean },
|
|
33
|
-
yNumTicks: { default: (
|
|
33
|
+
yNumTicks: { default: (e) => e.data.length > 24 ? 24 / 4 : e.data.length - 1 },
|
|
34
34
|
hideTooltip: { type: Boolean },
|
|
35
|
-
hideLegend: { type: Boolean },
|
|
36
|
-
legendPosition: {},
|
|
35
|
+
hideLegend: { type: Boolean, default: !1 },
|
|
36
|
+
legendPosition: { default: Q.BottomCenter },
|
|
37
|
+
legendStyle: { default: void 0 },
|
|
37
38
|
xGridLine: { type: Boolean },
|
|
38
39
|
xDomainLine: { type: Boolean },
|
|
39
40
|
yGridLine: { type: Boolean },
|
|
@@ -49,51 +50,49 @@ const Q = {
|
|
|
49
50
|
xDomain: {}
|
|
50
51
|
},
|
|
51
52
|
emits: ["click"],
|
|
52
|
-
setup(
|
|
53
|
-
const
|
|
54
|
-
function
|
|
55
|
-
return typeof window > "u" ? "" :
|
|
53
|
+
setup(e, { emit: T }) {
|
|
54
|
+
const L = T, t = e, D = u(() => t.markerConfig ? $(t.markerConfig) : ""), C = O(), f = W("slotWrapper"), o = j();
|
|
55
|
+
function p(n) {
|
|
56
|
+
return typeof window > "u" ? "" : f.value ? f.value.innerHTML : "";
|
|
56
57
|
}
|
|
57
|
-
function
|
|
58
|
-
return
|
|
58
|
+
function B(n) {
|
|
59
|
+
return o.value = n, p();
|
|
59
60
|
}
|
|
60
|
-
const
|
|
61
|
-
() =>
|
|
62
|
-
),
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
return (e, r) => (n(), p("div", {
|
|
66
|
-
style: k({
|
|
61
|
+
const b = u(() => t.legendPosition.startsWith("top")), A = u(() => t.legendPosition.includes("left") ? "flex-start" : t.legendPosition.includes("right") ? "flex-end" : "center"), V = Object.values(t.categories).map(
|
|
62
|
+
(n, s) => `var(--vis-color${s})`
|
|
63
|
+
), F = (n) => Object.values(t.categories)[n].color ?? V[n];
|
|
64
|
+
return (n, s) => (a(), y("div", {
|
|
65
|
+
style: g({
|
|
67
66
|
display: "flex",
|
|
68
|
-
flexDirection:
|
|
69
|
-
gap: "
|
|
67
|
+
flexDirection: b.value ? "column-reverse" : "column",
|
|
68
|
+
gap: "var(--vis-legend-spacing)"
|
|
70
69
|
}),
|
|
71
|
-
class: w({ markers: !!
|
|
72
|
-
onClick:
|
|
70
|
+
class: w({ markers: !!t.markerConfig }),
|
|
71
|
+
onClick: s[0] || (s[0] = (l) => L("click", l, o.value))
|
|
73
72
|
}, [
|
|
74
|
-
|
|
73
|
+
c(i(H), {
|
|
75
74
|
data: e.data,
|
|
76
75
|
padding: e.padding,
|
|
77
76
|
height: e.height,
|
|
78
|
-
svgDefs:
|
|
77
|
+
svgDefs: D.value,
|
|
79
78
|
yDomain: e.yDomain,
|
|
80
79
|
xDomain: e.xDomain
|
|
81
80
|
}, {
|
|
82
|
-
default:
|
|
83
|
-
|
|
81
|
+
default: S(() => [
|
|
82
|
+
c(i(U), {
|
|
84
83
|
"horizontal-placement": i(v).Right,
|
|
85
84
|
"vertical-placement": i(v).Top
|
|
86
85
|
}, null, 8, ["horizontal-placement", "vertical-placement"]),
|
|
87
|
-
(
|
|
88
|
-
key:
|
|
89
|
-
x: (
|
|
90
|
-
y: (
|
|
91
|
-
color: F(
|
|
86
|
+
(a(!0), y(z, null, E(Object.keys(t.categories), (l, m) => (a(), d(i(q), {
|
|
87
|
+
key: m,
|
|
88
|
+
x: (k, P) => P,
|
|
89
|
+
y: (k) => k[l],
|
|
90
|
+
color: F(m),
|
|
92
91
|
"curve-type": e.curveType ?? i(X).MonotoneX,
|
|
93
92
|
"line-width": e.lineWidth,
|
|
94
|
-
lineDashArray: e.lineDashArray ? e.lineDashArray[
|
|
93
|
+
lineDashArray: e.lineDashArray ? e.lineDashArray[m] : void 0
|
|
95
94
|
}, null, 8, ["x", "y", "color", "curve-type", "line-width", "lineDashArray"]))), 128)),
|
|
96
|
-
e.hideXAxis ?
|
|
95
|
+
e.hideXAxis ? r("", !0) : (a(), d(i(x), {
|
|
97
96
|
key: 0,
|
|
98
97
|
type: "x",
|
|
99
98
|
"tick-format": e.xFormatter,
|
|
@@ -106,7 +105,7 @@ const Q = {
|
|
|
106
105
|
"tick-values": e.xExplicitTicks,
|
|
107
106
|
"min-max-ticks-only": e.minMaxTicksOnly
|
|
108
107
|
}, null, 8, ["tick-format", "label", "domain-line", "grid-line", "tick-line", "num-ticks", "tick-values", "min-max-ticks-only"])),
|
|
109
|
-
e.hideYAxis ?
|
|
108
|
+
e.hideYAxis ? r("", !0) : (a(), d(i(x), {
|
|
110
109
|
key: 1,
|
|
111
110
|
type: "y",
|
|
112
111
|
"tick-format": e.yFormatter,
|
|
@@ -116,39 +115,44 @@ const Q = {
|
|
|
116
115
|
"grid-line": e.yGridLine,
|
|
117
116
|
"tick-line": e.yTickLine
|
|
118
117
|
}, null, 8, ["tick-format", "label", "num-ticks", "domain-line", "grid-line", "tick-line"])),
|
|
119
|
-
e.hideTooltip ?
|
|
118
|
+
e.hideTooltip ? r("", !0) : (a(), d(i(I), G({ key: 2 }, e.crosshairConfig, { template: B }), null, 16))
|
|
120
119
|
]),
|
|
121
120
|
_: 1
|
|
122
121
|
}, 8, ["data", "padding", "height", "svgDefs", "yDomain", "xDomain"]),
|
|
123
|
-
|
|
122
|
+
t.hideLegend ? r("", !0) : (a(), y("div", {
|
|
124
123
|
key: 0,
|
|
125
|
-
style:
|
|
124
|
+
style: g({
|
|
126
125
|
display: "flex",
|
|
127
|
-
|
|
128
|
-
justifyContent: "flex-end",
|
|
129
|
-
paddingBottom: c.value ? "1rem" : void 0
|
|
126
|
+
justifyContent: A.value
|
|
130
127
|
})
|
|
131
128
|
}, [
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
129
|
+
c(i(J), {
|
|
130
|
+
style: g([
|
|
131
|
+
t.legendStyle,
|
|
132
|
+
"display: flex; gap: var(--vis-legend-spacing);"
|
|
133
|
+
]),
|
|
134
|
+
items: Object.values(t.categories).map((l) => ({
|
|
135
|
+
...l,
|
|
136
|
+
color: Array.isArray(l.color) ? l.color[0] : l.color
|
|
137
|
+
}))
|
|
138
|
+
}, null, 8, ["style", "items"])
|
|
135
139
|
], 4)),
|
|
136
|
-
M("div",
|
|
137
|
-
i(
|
|
140
|
+
M("div", Z, [
|
|
141
|
+
i(C).tooltip ? h(n.$slots, "tooltip", {
|
|
138
142
|
key: 0,
|
|
139
|
-
values:
|
|
140
|
-
}) :
|
|
141
|
-
|
|
142
|
-
data:
|
|
143
|
+
values: o.value
|
|
144
|
+
}) : o.value ? h(n.$slots, "fallback", { key: 1 }, () => [
|
|
145
|
+
c(Y, {
|
|
146
|
+
data: o.value,
|
|
143
147
|
categories: e.categories,
|
|
144
|
-
toolTipTitle: i(R)(
|
|
145
|
-
yFormatter:
|
|
148
|
+
toolTipTitle: i(R)(o.value) ?? "",
|
|
149
|
+
yFormatter: t.yFormatter
|
|
146
150
|
}, null, 8, ["data", "categories", "toolTipTitle", "yFormatter"])
|
|
147
|
-
]) :
|
|
151
|
+
]) : r("", !0)
|
|
148
152
|
], 512)
|
|
149
153
|
], 6));
|
|
150
154
|
}
|
|
151
155
|
});
|
|
152
156
|
export {
|
|
153
|
-
|
|
157
|
+
le as default
|
|
154
158
|
};
|
|
@@ -93,6 +93,10 @@ export interface LineChartProps<T> {
|
|
|
93
93
|
* See `LegendPosition` for available options.
|
|
94
94
|
*/
|
|
95
95
|
legendPosition?: LegendPosition;
|
|
96
|
+
/**
|
|
97
|
+
* Optional style object for the legend container. Allows custom CSS styling.
|
|
98
|
+
*/
|
|
99
|
+
legendStyle?: string | Record<string, string>;
|
|
96
100
|
/**
|
|
97
101
|
* If `true`, displays grid lines along the x-axis.
|
|
98
102
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as v, computed as y, createElementBlock as i, openBlock as l, createElementVNode as o, toDisplayString as n, Fragment as b, renderList as f, normalizeStyle as a } from "vue";
|
|
2
|
+
const h = { style: { padding: "10px 15px" } }, B = { style: {
|
|
3
3
|
color: "var(--tooltip-value-color)",
|
|
4
4
|
textTransform: "capitalize",
|
|
5
|
-
borderBottom: "1px solid
|
|
5
|
+
borderBottom: "borderBottom: 1px solid var(--tooltip-border-color)",
|
|
6
6
|
marginBottom: "0.25rem",
|
|
7
7
|
paddingBottom: "0.25rem"
|
|
8
|
-
} },
|
|
8
|
+
} }, F = /* @__PURE__ */ v({
|
|
9
9
|
__name: "Tooltip",
|
|
10
10
|
props: {
|
|
11
11
|
data: {},
|
|
@@ -13,30 +13,30 @@ const x = { style: { padding: "10px 15px" } }, _ = { style: {
|
|
|
13
13
|
toolTipTitle: {},
|
|
14
14
|
yFormatter: { type: Function }
|
|
15
15
|
},
|
|
16
|
-
setup(
|
|
17
|
-
const
|
|
18
|
-
([
|
|
16
|
+
setup(t) {
|
|
17
|
+
const c = t, g = ["_index", "_stacked", "_ending"], p = y(() => Object.entries(c.data ?? []).filter(
|
|
18
|
+
([r, u]) => !g.includes(r) && Object.keys(c.categories).includes(r)
|
|
19
19
|
));
|
|
20
|
-
return (
|
|
21
|
-
|
|
22
|
-
(
|
|
23
|
-
var
|
|
24
|
-
return
|
|
25
|
-
key:
|
|
20
|
+
return (r, u) => (l(), i("div", h, [
|
|
21
|
+
o("div", B, n(t.toolTipTitle), 1),
|
|
22
|
+
(l(!0), i(b, null, f(p.value, ([e, s], x) => {
|
|
23
|
+
var d, m;
|
|
24
|
+
return l(), i("div", {
|
|
25
|
+
key: e,
|
|
26
26
|
style: { display: "flex", "align-items": "center", "margin-bottom": "4px" }
|
|
27
27
|
}, [
|
|
28
|
-
|
|
29
|
-
style:
|
|
30
|
-
backgroundColor: typeof ((
|
|
28
|
+
o("span", {
|
|
29
|
+
style: a([{ width: "8px", height: "8px", "border-radius": "4px", "margin-right": "8px" }, {
|
|
30
|
+
backgroundColor: typeof ((d = t.categories[e]) == null ? void 0 : d.color) == "string" && ((m = t.categories[e]) != null && m.color) ? t.categories[e].color : `var(--vis-color${x})`
|
|
31
31
|
}])
|
|
32
32
|
}, null, 4),
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
style:
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
style:
|
|
39
|
-
},
|
|
33
|
+
o("div", null, [
|
|
34
|
+
o("span", {
|
|
35
|
+
style: a([{ "font-weight": "600", "margin-right": "8px" }, { color: "var(--tooltip-label-color)" }])
|
|
36
|
+
}, n(t.categories[e].name) + ":", 1),
|
|
37
|
+
o("span", {
|
|
38
|
+
style: a([{ "font-weight": "400" }, { color: "var(--tooltip-value-color)" }])
|
|
39
|
+
}, n(t.yFormatter ? t.yFormatter(s) : s), 1)
|
|
40
40
|
])
|
|
41
41
|
]);
|
|
42
42
|
}), 128))
|
|
@@ -44,5 +44,5 @@ const x = { style: { padding: "10px 15px" } }, _ = { style: {
|
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
46
|
export {
|
|
47
|
-
|
|
47
|
+
F as default
|
|
48
48
|
};
|
package/dist/types.d.ts
CHANGED
|
@@ -4,8 +4,12 @@ import { LineChartProps } from './components/LineChart/types';
|
|
|
4
4
|
import { DonutChartProps } from './components/DonutChart/types';
|
|
5
5
|
import { BubbleChartProps } from './components/BubbleChart/types';
|
|
6
6
|
declare enum LegendPosition {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
TopLeft = "top-left",
|
|
8
|
+
TopCenter = "top-center",
|
|
9
|
+
TopRight = "top-right",
|
|
10
|
+
BottomLeft = "bottom-left",
|
|
11
|
+
BottomCenter = "bottom-center",
|
|
12
|
+
BottomRight = "bottom-right"
|
|
9
13
|
}
|
|
10
14
|
declare enum CurveType {
|
|
11
15
|
Basis = "basis",
|
package/dist/types.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
1
|
+
var o = /* @__PURE__ */ ((t) => (t.TopLeft = "top-left", t.TopCenter = "top-center", t.TopRight = "top-right", t.BottomLeft = "bottom-left", t.BottomCenter = "bottom-center", t.BottomRight = "bottom-right", t))(o || {}), a = /* @__PURE__ */ ((t) => (t.Basis = "basis", t.BasisClosed = "basisClosed", t.BasisOpen = "basisOpen", t.Bundle = "bundle", t.Cardinal = "cardinal", t.CardinalClosed = "cardinalClosed", t.CardinalOpen = "cardinalOpen", t.CatmullRom = "catmullRom", t.CatmullRomClosed = "catmullRomClosed", t.CatmullRomOpen = "catmullRomOpen", t.Linear = "linear", t.LinearClosed = "linearClosed", t.MonotoneX = "monotoneX", t.MonotoneY = "monotoneY", t.Natural = "natural", t.Step = "step", t.StepAfter = "stepAfter", t.StepBefore = "stepBefore", t))(a || {}), l = /* @__PURE__ */ ((t) => (t.Horizontal = "horizontal", t.Vertical = "vertical", t))(l || {});
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
a as CurveType,
|
|
4
|
+
o as LegendPosition,
|
|
5
|
+
l as Orientation
|
|
6
6
|
};
|