@unovis/vue 1.3.0-alpha.0
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/LICENSE +193 -0
- package/README.md +68 -0
- package/components/area/area.d.ts +15 -0
- package/components/axis/axis.d.ts +15 -0
- package/components/brush/brush.d.ts +15 -0
- package/components/chord-diagram/chord-diagram.d.ts +18 -0
- package/components/crosshair/crosshair.d.ts +15 -0
- package/components/donut/donut.d.ts +15 -0
- package/components/free-brush/free-brush.d.ts +15 -0
- package/components/graph/graph.d.ts +18 -0
- package/components/grouped-bar/grouped-bar.d.ts +15 -0
- package/components/line/line.d.ts +15 -0
- package/components/nested-donut/nested-donut.d.ts +15 -0
- package/components/sankey/sankey.d.ts +18 -0
- package/components/scatter/scatter.d.ts +15 -0
- package/components/stacked-bar/stacked-bar.d.ts +15 -0
- package/components/timeline/timeline.d.ts +28 -0
- package/components/tooltip/tooltip.d.ts +66 -0
- package/components/topojson-map/topojson-map.d.ts +19 -0
- package/components/xy-labels/xy-labels.d.ts +15 -0
- package/components.d.ts +21 -0
- package/containers/single-container/single-container.d.ts +17 -0
- package/containers/xy-container/xy-container.d.ts +17 -0
- package/containers.d.ts +2 -0
- package/html-components/bullet-legend/bullet-legend.d.ts +49 -0
- package/html-components/leaflet-flow-map/leaflet-flow-map.d.ts +18 -0
- package/html-components/leaflet-map/leaflet-map.d.ts +15 -0
- package/index.d.ts +2 -0
- package/index.js +1173 -0
- package/index.umd.cjs +2 -0
- package/package.json +68 -0
- package/utils/context.d.ts +22 -0
- package/utils/props.d.ts +3 -0
package/index.js
ADDED
|
@@ -0,0 +1,1173 @@
|
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".unovis-xy-container,.unovis-single-container{display:block;position:relative;width:100%}[data-vis-leaflet-map],[data-vis-leaflet-flow-map]{display:block;position:relative}[data-vis-bullet-legend]{display:block}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import { defineComponent as y, toRefs as L, getCurrentInstance as v, computed as s, ref as p, watch as d, onMounted as _, onUnmounted as F, provide as C, openBlock as m, createElementBlock as g, renderSlot as k, inject as f, nextTick as S } from "vue";
|
|
3
|
+
import { isEqual as M, XYContainer as w, SingleContainer as T, Line as P, Area as O, Axis as $, Brush as R, FreeBrush as V, Crosshair as W, GroupedBar as j, Scatter as z, StackedBar as E, Timeline as I, XYLabels as G, Donut as H, TopoJSONMap as Z, Sankey as K, Graph as U, ChordDiagram as J, NestedDonut as X, Tooltip as Y, LeafletMap as q, LeafletFlowMap as Q, BulletLegend as tt } from "@unovis/ts";
|
|
4
|
+
const x = Symbol("componentAccessorKey"), N = Symbol("tooltipAccessorKey"), A = Symbol("crosshairAccessorKey"), D = Symbol("axisAccessorKey");
|
|
5
|
+
function h(r, u) {
|
|
6
|
+
return M(r, u);
|
|
7
|
+
}
|
|
8
|
+
function b(r, u) {
|
|
9
|
+
const n = {}, c = (u == null ? void 0 : u.vnode.props) ?? {};
|
|
10
|
+
return Object.keys(c).forEach((i) => {
|
|
11
|
+
n[i] = r[i];
|
|
12
|
+
}), n;
|
|
13
|
+
}
|
|
14
|
+
const ft = /* @__PURE__ */ y({
|
|
15
|
+
__name: "xy-container",
|
|
16
|
+
props: {
|
|
17
|
+
components: {},
|
|
18
|
+
xScale: { type: [Object, Function] },
|
|
19
|
+
xDomain: {},
|
|
20
|
+
xDomainMinConstraint: {},
|
|
21
|
+
xDomainMaxConstraint: {},
|
|
22
|
+
xRange: {},
|
|
23
|
+
yScale: { type: [Object, Function] },
|
|
24
|
+
yDomain: {},
|
|
25
|
+
yDomainMinConstraint: {},
|
|
26
|
+
yDomainMaxConstraint: {},
|
|
27
|
+
yRange: {},
|
|
28
|
+
yDirection: {},
|
|
29
|
+
xAxis: {},
|
|
30
|
+
yAxis: {},
|
|
31
|
+
autoMargin: { type: Boolean },
|
|
32
|
+
tooltip: {},
|
|
33
|
+
crosshair: {},
|
|
34
|
+
preventEmptyDomain: { type: [Boolean, null] },
|
|
35
|
+
scaleByDomain: { type: Boolean },
|
|
36
|
+
duration: {},
|
|
37
|
+
margin: {},
|
|
38
|
+
padding: {},
|
|
39
|
+
sizing: {},
|
|
40
|
+
width: {},
|
|
41
|
+
height: {},
|
|
42
|
+
svgDefs: {},
|
|
43
|
+
ariaLabel: {},
|
|
44
|
+
data: {}
|
|
45
|
+
},
|
|
46
|
+
setup(r) {
|
|
47
|
+
const u = r, { data: n } = L(u), c = v(), i = s(() => b(u, c)), o = p(), e = {
|
|
48
|
+
components: [],
|
|
49
|
+
crosshair: void 0,
|
|
50
|
+
tooltip: void 0,
|
|
51
|
+
xAxis: void 0,
|
|
52
|
+
yAxis: void 0
|
|
53
|
+
}, t = p(), l = () => {
|
|
54
|
+
var a;
|
|
55
|
+
(a = o.value) == null || a.updateContainer({ ...i.value, ...e });
|
|
56
|
+
};
|
|
57
|
+
return d(n, () => {
|
|
58
|
+
o.value && (o.value.setData(n.value, !0), l());
|
|
59
|
+
}), d(i, () => {
|
|
60
|
+
l();
|
|
61
|
+
}), _(() => {
|
|
62
|
+
t.value && (o.value = new w(t.value, e, n.value));
|
|
63
|
+
}), F(() => {
|
|
64
|
+
var a;
|
|
65
|
+
return (a = o.value) == null ? void 0 : a.destroy();
|
|
66
|
+
}), C(x, {
|
|
67
|
+
data: n,
|
|
68
|
+
update: (a) => {
|
|
69
|
+
e.components = [...e.components, a], l();
|
|
70
|
+
},
|
|
71
|
+
destroy: () => {
|
|
72
|
+
var a;
|
|
73
|
+
return e.components = (a = e.components) == null ? void 0 : a.filter((B) => !B.isDestroyed());
|
|
74
|
+
}
|
|
75
|
+
}), C(D, {
|
|
76
|
+
data: n,
|
|
77
|
+
update: (a) => {
|
|
78
|
+
e[`${a.config.type}Axis`] = a, l();
|
|
79
|
+
},
|
|
80
|
+
destroy: (a) => {
|
|
81
|
+
e[`${a}Axis`] = void 0;
|
|
82
|
+
}
|
|
83
|
+
}), C(A, {
|
|
84
|
+
data: n,
|
|
85
|
+
update: (a) => {
|
|
86
|
+
e.crosshair = a, l();
|
|
87
|
+
},
|
|
88
|
+
destroy: () => {
|
|
89
|
+
e.crosshair = void 0;
|
|
90
|
+
}
|
|
91
|
+
}), C(N, {
|
|
92
|
+
data: n,
|
|
93
|
+
update: (a) => {
|
|
94
|
+
e.tooltip = a, l();
|
|
95
|
+
},
|
|
96
|
+
destroy: () => {
|
|
97
|
+
e.tooltip = void 0;
|
|
98
|
+
}
|
|
99
|
+
}), (a, B) => (m(), g("div", {
|
|
100
|
+
"data-vis-xy-container": "",
|
|
101
|
+
ref_key: "elRef",
|
|
102
|
+
ref: t,
|
|
103
|
+
class: "unovis-xy-container"
|
|
104
|
+
}, [
|
|
105
|
+
k(a.$slots, "default")
|
|
106
|
+
], 512));
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
const xt = /* @__PURE__ */ y({
|
|
110
|
+
__name: "single-container",
|
|
111
|
+
props: {
|
|
112
|
+
component: {},
|
|
113
|
+
tooltip: {},
|
|
114
|
+
duration: {},
|
|
115
|
+
margin: {},
|
|
116
|
+
padding: {},
|
|
117
|
+
sizing: {},
|
|
118
|
+
width: {},
|
|
119
|
+
height: {},
|
|
120
|
+
svgDefs: {},
|
|
121
|
+
ariaLabel: {},
|
|
122
|
+
data: {}
|
|
123
|
+
},
|
|
124
|
+
setup(r) {
|
|
125
|
+
const u = r, { data: n } = L(u), c = v(), i = s(() => b(u, c)), o = p(), e = {
|
|
126
|
+
component: void 0,
|
|
127
|
+
tooltip: void 0
|
|
128
|
+
}, t = p(), l = () => {
|
|
129
|
+
var B;
|
|
130
|
+
a(), (B = o.value) == null || B.updateContainer({ ...i.value, ...e });
|
|
131
|
+
}, a = () => {
|
|
132
|
+
o.value || t.value && e.component && n.value && (o.value = new T(t.value, e, n.value));
|
|
133
|
+
};
|
|
134
|
+
return d(n, () => {
|
|
135
|
+
o.value ? (o.value.setData(n.value, !0), l()) : a();
|
|
136
|
+
}), d(i, () => {
|
|
137
|
+
l();
|
|
138
|
+
}), F(() => {
|
|
139
|
+
var B;
|
|
140
|
+
return (B = o.value) == null ? void 0 : B.destroy();
|
|
141
|
+
}), C(x, {
|
|
142
|
+
data: n,
|
|
143
|
+
update: (B) => {
|
|
144
|
+
e.component = B, l();
|
|
145
|
+
},
|
|
146
|
+
destroy: () => e.component = void 0
|
|
147
|
+
}), C(N, {
|
|
148
|
+
data: n,
|
|
149
|
+
update: (B) => {
|
|
150
|
+
e.tooltip = B, l();
|
|
151
|
+
},
|
|
152
|
+
destroy: () => {
|
|
153
|
+
e.tooltip = void 0;
|
|
154
|
+
}
|
|
155
|
+
}), (B, _t) => (m(), g("div", {
|
|
156
|
+
"data-vis-single-container": "",
|
|
157
|
+
ref_key: "elRef",
|
|
158
|
+
ref: t,
|
|
159
|
+
class: "unovis-single-container"
|
|
160
|
+
}, [
|
|
161
|
+
k(B.$slots, "default")
|
|
162
|
+
], 512));
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
const et = { "data-vis-component": "" }, Bt = /* @__PURE__ */ y({
|
|
166
|
+
__name: "line",
|
|
167
|
+
props: {
|
|
168
|
+
curveType: {},
|
|
169
|
+
lineWidth: {},
|
|
170
|
+
lineDashArray: { type: [Function, null] },
|
|
171
|
+
fallbackValue: {},
|
|
172
|
+
highlightOnHover: { type: Boolean },
|
|
173
|
+
cursor: { type: [Function, String, null] },
|
|
174
|
+
x: { type: [Function, Number, null] },
|
|
175
|
+
y: { type: [Function, Number, null, Array] },
|
|
176
|
+
id: { type: Function },
|
|
177
|
+
color: { type: [Function, String, Array, null] },
|
|
178
|
+
xScale: { type: [Object, Function] },
|
|
179
|
+
yScale: { type: [Object, Function] },
|
|
180
|
+
excludeFromDomainCalculation: { type: Boolean },
|
|
181
|
+
duration: {},
|
|
182
|
+
events: {},
|
|
183
|
+
attributes: {},
|
|
184
|
+
data: {}
|
|
185
|
+
},
|
|
186
|
+
setup(r) {
|
|
187
|
+
const u = r, n = f(x), c = s(() => n.data.value), i = v(), o = s(() => b(u, i)), e = p();
|
|
188
|
+
return _(() => {
|
|
189
|
+
S(() => {
|
|
190
|
+
var t;
|
|
191
|
+
e.value = new P(o.value), (t = e.value) == null || t.setData(c.value), n.update(e.value);
|
|
192
|
+
});
|
|
193
|
+
}), F(() => {
|
|
194
|
+
var t;
|
|
195
|
+
(t = e.value) == null || t.destroy(), n.destroy();
|
|
196
|
+
}), d(o, (t, l) => {
|
|
197
|
+
var a;
|
|
198
|
+
h(t, l) || ((a = e.value) == null || a.setConfig(o.value), n.update(e.value));
|
|
199
|
+
}), (t, l) => (m(), g("div", et));
|
|
200
|
+
}
|
|
201
|
+
}), nt = { "data-vis-component": "" }, Ct = /* @__PURE__ */ y({
|
|
202
|
+
__name: "area",
|
|
203
|
+
props: {
|
|
204
|
+
curveType: {},
|
|
205
|
+
baseline: { type: [Function, Number, null] },
|
|
206
|
+
opacity: { type: [Function, Number, null] },
|
|
207
|
+
cursor: { type: [Function, String, null] },
|
|
208
|
+
minHeight1Px: { type: Boolean },
|
|
209
|
+
x: { type: [Function, Number, null] },
|
|
210
|
+
y: { type: [Function, Number, null, Array] },
|
|
211
|
+
id: { type: Function },
|
|
212
|
+
color: { type: [Function, String, Array, null] },
|
|
213
|
+
xScale: { type: [Object, Function] },
|
|
214
|
+
yScale: { type: [Object, Function] },
|
|
215
|
+
excludeFromDomainCalculation: { type: Boolean },
|
|
216
|
+
duration: {},
|
|
217
|
+
events: {},
|
|
218
|
+
attributes: {},
|
|
219
|
+
data: {}
|
|
220
|
+
},
|
|
221
|
+
setup(r) {
|
|
222
|
+
const u = r, n = f(x), c = s(() => n.data.value), i = v(), o = s(() => b(u, i)), e = p();
|
|
223
|
+
return _(() => {
|
|
224
|
+
S(() => {
|
|
225
|
+
var t;
|
|
226
|
+
e.value = new O(o.value), (t = e.value) == null || t.setData(c.value), n.update(e.value);
|
|
227
|
+
});
|
|
228
|
+
}), F(() => {
|
|
229
|
+
var t;
|
|
230
|
+
(t = e.value) == null || t.destroy(), n.destroy();
|
|
231
|
+
}), d(o, (t, l) => {
|
|
232
|
+
var a;
|
|
233
|
+
h(t, l) || ((a = e.value) == null || a.setConfig(o.value), n.update(e.value));
|
|
234
|
+
}), (t, l) => (m(), g("div", nt));
|
|
235
|
+
}
|
|
236
|
+
}), ot = { "data-vis-axis": "" }, Nt = /* @__PURE__ */ y({
|
|
237
|
+
__name: "axis",
|
|
238
|
+
props: {
|
|
239
|
+
position: {},
|
|
240
|
+
type: {},
|
|
241
|
+
fullSize: { type: Boolean },
|
|
242
|
+
label: {},
|
|
243
|
+
labelFontSize: {},
|
|
244
|
+
labelMargin: {},
|
|
245
|
+
labelColor: {},
|
|
246
|
+
gridLine: { type: Boolean },
|
|
247
|
+
tickLine: { type: Boolean },
|
|
248
|
+
domainLine: { type: Boolean },
|
|
249
|
+
minMaxTicksOnly: { type: Boolean },
|
|
250
|
+
tickFormat: { type: Function },
|
|
251
|
+
tickValues: {},
|
|
252
|
+
numTicks: {},
|
|
253
|
+
tickTextFitMode: {},
|
|
254
|
+
tickTextWidth: {},
|
|
255
|
+
tickTextSeparator: {},
|
|
256
|
+
tickTextForceWordBreak: { type: Boolean },
|
|
257
|
+
tickTextTrimType: {},
|
|
258
|
+
tickTextFontSize: {},
|
|
259
|
+
tickTextAlign: {},
|
|
260
|
+
tickTextColor: {},
|
|
261
|
+
tickPadding: {},
|
|
262
|
+
x: { type: [Function, Number, null] },
|
|
263
|
+
y: { type: [Function, Number, null, Array] },
|
|
264
|
+
id: { type: Function },
|
|
265
|
+
color: { type: [Function, String, Array, null] },
|
|
266
|
+
xScale: { type: [Object, Function] },
|
|
267
|
+
yScale: { type: [Object, Function] },
|
|
268
|
+
excludeFromDomainCalculation: { type: Boolean },
|
|
269
|
+
duration: {},
|
|
270
|
+
events: {},
|
|
271
|
+
attributes: {},
|
|
272
|
+
data: {}
|
|
273
|
+
},
|
|
274
|
+
setup(r) {
|
|
275
|
+
const u = r, n = f(D), c = s(() => n.data.value), i = v(), o = s(() => b(u, i)), e = p();
|
|
276
|
+
return _(() => {
|
|
277
|
+
S(() => {
|
|
278
|
+
var t;
|
|
279
|
+
e.value = new $(o.value), (t = e.value) == null || t.setData(c.value), n.update(e.value);
|
|
280
|
+
});
|
|
281
|
+
}), F(() => {
|
|
282
|
+
var t;
|
|
283
|
+
(t = e.value) == null || t.destroy(), n.destroy(u.type);
|
|
284
|
+
}), d(o, (t, l) => {
|
|
285
|
+
var a;
|
|
286
|
+
h(t, l) || ((a = e.value) == null || a.setConfig(o.value), n.update(e.value));
|
|
287
|
+
}), (t, l) => (m(), g("div", ot));
|
|
288
|
+
}
|
|
289
|
+
}), at = { "data-vis-component": "" }, Lt = /* @__PURE__ */ y({
|
|
290
|
+
__name: "brush",
|
|
291
|
+
props: {
|
|
292
|
+
onBrush: { type: Function },
|
|
293
|
+
onBrushStart: { type: Function },
|
|
294
|
+
onBrushMove: { type: Function },
|
|
295
|
+
onBrushEnd: { type: Function },
|
|
296
|
+
handleWidth: {},
|
|
297
|
+
selection: {},
|
|
298
|
+
draggable: { type: Boolean },
|
|
299
|
+
handlePosition: {},
|
|
300
|
+
selectionMinLength: {},
|
|
301
|
+
x: { type: [Function, Number, null] },
|
|
302
|
+
y: { type: [Function, Number, null, Array] },
|
|
303
|
+
id: { type: Function },
|
|
304
|
+
color: { type: [Function, String, Array, null] },
|
|
305
|
+
xScale: { type: [Object, Function] },
|
|
306
|
+
yScale: { type: [Object, Function] },
|
|
307
|
+
excludeFromDomainCalculation: { type: Boolean },
|
|
308
|
+
duration: {},
|
|
309
|
+
events: {},
|
|
310
|
+
attributes: {},
|
|
311
|
+
data: {}
|
|
312
|
+
},
|
|
313
|
+
setup(r) {
|
|
314
|
+
const u = r, n = f(x), c = s(() => n.data.value), i = v(), o = s(() => b(u, i)), e = p();
|
|
315
|
+
return _(() => {
|
|
316
|
+
S(() => {
|
|
317
|
+
var t;
|
|
318
|
+
e.value = new R(o.value), (t = e.value) == null || t.setData(c.value), n.update(e.value);
|
|
319
|
+
});
|
|
320
|
+
}), F(() => {
|
|
321
|
+
var t;
|
|
322
|
+
(t = e.value) == null || t.destroy(), n.destroy();
|
|
323
|
+
}), d(o, (t, l) => {
|
|
324
|
+
var a;
|
|
325
|
+
h(t, l) || ((a = e.value) == null || a.setConfig(o.value), n.update(e.value));
|
|
326
|
+
}), (t, l) => (m(), g("div", at));
|
|
327
|
+
}
|
|
328
|
+
}), lt = { "data-vis-component": "" }, kt = /* @__PURE__ */ y({
|
|
329
|
+
__name: "free-brush",
|
|
330
|
+
props: {
|
|
331
|
+
mode: {},
|
|
332
|
+
onBrush: { type: Function },
|
|
333
|
+
onBrushStart: { type: Function },
|
|
334
|
+
onBrushMove: { type: Function },
|
|
335
|
+
onBrushEnd: { type: Function },
|
|
336
|
+
handleWidth: {},
|
|
337
|
+
selection: {},
|
|
338
|
+
selectionMinLength: {},
|
|
339
|
+
autoHide: { type: Boolean },
|
|
340
|
+
x: { type: [Function, Number, null] },
|
|
341
|
+
y: { type: [Function, Number, null, Array] },
|
|
342
|
+
id: { type: Function },
|
|
343
|
+
color: { type: [Function, String, Array, null] },
|
|
344
|
+
xScale: { type: [Object, Function] },
|
|
345
|
+
yScale: { type: [Object, Function] },
|
|
346
|
+
excludeFromDomainCalculation: { type: Boolean },
|
|
347
|
+
duration: {},
|
|
348
|
+
events: {},
|
|
349
|
+
attributes: {},
|
|
350
|
+
data: {}
|
|
351
|
+
},
|
|
352
|
+
setup(r) {
|
|
353
|
+
const u = r, n = f(x), c = s(() => n.data.value), i = v(), o = s(() => b(u, i)), e = p();
|
|
354
|
+
return _(() => {
|
|
355
|
+
S(() => {
|
|
356
|
+
var t;
|
|
357
|
+
e.value = new V(o.value), (t = e.value) == null || t.setData(c.value), n.update(e.value);
|
|
358
|
+
});
|
|
359
|
+
}), F(() => {
|
|
360
|
+
var t;
|
|
361
|
+
(t = e.value) == null || t.destroy(), n.destroy();
|
|
362
|
+
}), d(o, (t, l) => {
|
|
363
|
+
var a;
|
|
364
|
+
h(t, l) || ((a = e.value) == null || a.setConfig(o.value), n.update(e.value));
|
|
365
|
+
}), (t, l) => (m(), g("div", lt));
|
|
366
|
+
}
|
|
367
|
+
}), it = { "data-vis-crosshair": "" }, At = /* @__PURE__ */ y({
|
|
368
|
+
__name: "crosshair",
|
|
369
|
+
props: {
|
|
370
|
+
yStacked: {},
|
|
371
|
+
baseline: { type: [Function, Number, null] },
|
|
372
|
+
tooltip: {},
|
|
373
|
+
template: { type: Function },
|
|
374
|
+
hideWhenFarFromPointer: { type: Boolean },
|
|
375
|
+
hideWhenFarFromPointerDistance: {},
|
|
376
|
+
snapToData: { type: Boolean },
|
|
377
|
+
getCircles: { type: Function },
|
|
378
|
+
x: { type: [Function, Number, null] },
|
|
379
|
+
y: { type: [Function, Number, null, Array] },
|
|
380
|
+
id: { type: Function },
|
|
381
|
+
color: { type: [Function, String, Array, null] },
|
|
382
|
+
xScale: { type: [Object, Function] },
|
|
383
|
+
yScale: { type: [Object, Function] },
|
|
384
|
+
excludeFromDomainCalculation: { type: Boolean },
|
|
385
|
+
duration: {},
|
|
386
|
+
events: {},
|
|
387
|
+
attributes: {},
|
|
388
|
+
data: {}
|
|
389
|
+
},
|
|
390
|
+
setup(r) {
|
|
391
|
+
const u = r, n = f(A), c = s(() => n.data.value), i = v(), o = s(() => b(u, i)), e = p();
|
|
392
|
+
return _(() => {
|
|
393
|
+
S(() => {
|
|
394
|
+
var t;
|
|
395
|
+
e.value = new W(o.value), (t = e.value) == null || t.setData(c.value), n.update(e.value);
|
|
396
|
+
});
|
|
397
|
+
}), F(() => {
|
|
398
|
+
var t;
|
|
399
|
+
(t = e.value) == null || t.destroy(), n.destroy();
|
|
400
|
+
}), d(o, (t, l) => {
|
|
401
|
+
var a;
|
|
402
|
+
h(t, l) || ((a = e.value) == null || a.setConfig(o.value), n.update(e.value));
|
|
403
|
+
}), (t, l) => (m(), g("div", it));
|
|
404
|
+
}
|
|
405
|
+
}), ut = { "data-vis-component": "" }, Dt = /* @__PURE__ */ y({
|
|
406
|
+
__name: "grouped-bar",
|
|
407
|
+
props: {
|
|
408
|
+
groupWidth: {},
|
|
409
|
+
groupMaxWidth: {},
|
|
410
|
+
dataStep: {},
|
|
411
|
+
groupPadding: {},
|
|
412
|
+
barPadding: {},
|
|
413
|
+
roundedCorners: { type: [Number, Boolean] },
|
|
414
|
+
barMinHeight: {},
|
|
415
|
+
cursor: { type: [Function, String, null] },
|
|
416
|
+
orientation: {},
|
|
417
|
+
x: { type: [Function, Number, null] },
|
|
418
|
+
y: { type: [Function, Number, null, Array] },
|
|
419
|
+
id: { type: Function },
|
|
420
|
+
color: { type: [Function, String, Array, null] },
|
|
421
|
+
xScale: { type: [Object, Function] },
|
|
422
|
+
yScale: { type: [Object, Function] },
|
|
423
|
+
excludeFromDomainCalculation: { type: Boolean },
|
|
424
|
+
duration: {},
|
|
425
|
+
events: {},
|
|
426
|
+
attributes: {},
|
|
427
|
+
data: {}
|
|
428
|
+
},
|
|
429
|
+
setup(r) {
|
|
430
|
+
const u = r, n = f(x), c = s(() => n.data.value), i = v(), o = s(() => b(u, i)), e = p();
|
|
431
|
+
return _(() => {
|
|
432
|
+
S(() => {
|
|
433
|
+
var t;
|
|
434
|
+
e.value = new j(o.value), (t = e.value) == null || t.setData(c.value), n.update(e.value);
|
|
435
|
+
});
|
|
436
|
+
}), F(() => {
|
|
437
|
+
var t;
|
|
438
|
+
(t = e.value) == null || t.destroy(), n.destroy();
|
|
439
|
+
}), d(o, (t, l) => {
|
|
440
|
+
var a;
|
|
441
|
+
h(t, l) || ((a = e.value) == null || a.setConfig(o.value), n.update(e.value));
|
|
442
|
+
}), (t, l) => (m(), g("div", ut));
|
|
443
|
+
}
|
|
444
|
+
}), rt = { "data-vis-component": "" }, Mt = /* @__PURE__ */ y({
|
|
445
|
+
__name: "scatter",
|
|
446
|
+
props: {
|
|
447
|
+
size: { type: [Function, Number, null] },
|
|
448
|
+
sizeScale: { type: [Object, Function] },
|
|
449
|
+
sizeRange: {},
|
|
450
|
+
shape: { type: [Function, String] },
|
|
451
|
+
label: { type: [Function, String, null] },
|
|
452
|
+
labelColor: { type: [Function, String, Array, null] },
|
|
453
|
+
labelHideOverlapping: { type: Boolean },
|
|
454
|
+
cursor: { type: [Function, String, null] },
|
|
455
|
+
labelTextBrightnessRatio: {},
|
|
456
|
+
labelPosition: { type: [Function, null] },
|
|
457
|
+
strokeColor: { type: [Function, String, Array, null] },
|
|
458
|
+
strokeWidth: { type: [Function, Number, null] },
|
|
459
|
+
x: { type: [Function, Number, null] },
|
|
460
|
+
y: { type: [Function, Number, null, Array] },
|
|
461
|
+
id: { type: Function },
|
|
462
|
+
color: { type: [Function, String, Array, null] },
|
|
463
|
+
xScale: { type: [Object, Function] },
|
|
464
|
+
yScale: { type: [Object, Function] },
|
|
465
|
+
excludeFromDomainCalculation: { type: Boolean },
|
|
466
|
+
duration: {},
|
|
467
|
+
events: {},
|
|
468
|
+
attributes: {},
|
|
469
|
+
data: {}
|
|
470
|
+
},
|
|
471
|
+
setup(r) {
|
|
472
|
+
const u = r, n = f(x), c = s(() => n.data.value), i = v(), o = s(() => b(u, i)), e = p();
|
|
473
|
+
return _(() => {
|
|
474
|
+
S(() => {
|
|
475
|
+
var t;
|
|
476
|
+
e.value = new z(o.value), (t = e.value) == null || t.setData(c.value), n.update(e.value);
|
|
477
|
+
});
|
|
478
|
+
}), F(() => {
|
|
479
|
+
var t;
|
|
480
|
+
(t = e.value) == null || t.destroy(), n.destroy();
|
|
481
|
+
}), d(o, (t, l) => {
|
|
482
|
+
var a;
|
|
483
|
+
h(t, l) || ((a = e.value) == null || a.setConfig(o.value), n.update(e.value));
|
|
484
|
+
}), (t, l) => (m(), g("div", rt));
|
|
485
|
+
}
|
|
486
|
+
}), ct = { "data-vis-component": "" }, wt = /* @__PURE__ */ y({
|
|
487
|
+
__name: "stacked-bar",
|
|
488
|
+
props: {
|
|
489
|
+
barWidth: {},
|
|
490
|
+
barMaxWidth: {},
|
|
491
|
+
dataStep: {},
|
|
492
|
+
barPadding: {},
|
|
493
|
+
roundedCorners: { type: [Number, Boolean] },
|
|
494
|
+
cursor: { type: [Function, String, null] },
|
|
495
|
+
barMinHeight1Px: { type: Boolean },
|
|
496
|
+
barMinHeightZeroValue: {},
|
|
497
|
+
orientation: {},
|
|
498
|
+
x: { type: [Function, Number, null] },
|
|
499
|
+
y: { type: [Function, Number, null, Array] },
|
|
500
|
+
id: { type: Function },
|
|
501
|
+
color: { type: [Function, String, Array, null] },
|
|
502
|
+
xScale: { type: [Object, Function] },
|
|
503
|
+
yScale: { type: [Object, Function] },
|
|
504
|
+
excludeFromDomainCalculation: { type: Boolean },
|
|
505
|
+
duration: {},
|
|
506
|
+
events: {},
|
|
507
|
+
attributes: {},
|
|
508
|
+
data: {}
|
|
509
|
+
},
|
|
510
|
+
setup(r) {
|
|
511
|
+
const u = r, n = f(x), c = s(() => n.data.value), i = v(), o = s(() => b(u, i)), e = p();
|
|
512
|
+
return _(() => {
|
|
513
|
+
S(() => {
|
|
514
|
+
var t;
|
|
515
|
+
e.value = new E(o.value), (t = e.value) == null || t.setData(c.value), n.update(e.value);
|
|
516
|
+
});
|
|
517
|
+
}), F(() => {
|
|
518
|
+
var t;
|
|
519
|
+
(t = e.value) == null || t.destroy(), n.destroy();
|
|
520
|
+
}), d(o, (t, l) => {
|
|
521
|
+
var a;
|
|
522
|
+
h(t, l) || ((a = e.value) == null || a.setConfig(o.value), n.update(e.value));
|
|
523
|
+
}), (t, l) => (m(), g("div", ct));
|
|
524
|
+
}
|
|
525
|
+
}), st = { "data-vis-component": "" }, Tt = /* @__PURE__ */ y({
|
|
526
|
+
__name: "timeline",
|
|
527
|
+
props: {
|
|
528
|
+
x: { type: [Function, Number, null] },
|
|
529
|
+
y: { type: [Function, Number, null, Array] },
|
|
530
|
+
id: { type: Function },
|
|
531
|
+
color: { type: [Function, String, Array, null] },
|
|
532
|
+
xScale: { type: [Object, Function] },
|
|
533
|
+
yScale: { type: [Object, Function] },
|
|
534
|
+
excludeFromDomainCalculation: { type: Boolean },
|
|
535
|
+
duration: {},
|
|
536
|
+
events: {},
|
|
537
|
+
attributes: {},
|
|
538
|
+
lineWidth: { type: [Function, Number, null] },
|
|
539
|
+
lineCap: { type: Boolean },
|
|
540
|
+
rowHeight: {},
|
|
541
|
+
length: { type: [Function, Number, null] },
|
|
542
|
+
type: { type: [Function, String, null] },
|
|
543
|
+
cursor: { type: [Function, String, null] },
|
|
544
|
+
showLabels: { type: Boolean },
|
|
545
|
+
labelWidth: {},
|
|
546
|
+
maxLabelWidth: {},
|
|
547
|
+
alternatingRowColors: { type: Boolean },
|
|
548
|
+
onScroll: { type: Function },
|
|
549
|
+
showEmptySegments: { type: Boolean },
|
|
550
|
+
data: {}
|
|
551
|
+
},
|
|
552
|
+
setup(r) {
|
|
553
|
+
const u = r, n = f(x), c = s(() => n.data.value), i = v(), o = s(() => b(u, i)), e = p();
|
|
554
|
+
return _(() => {
|
|
555
|
+
S(() => {
|
|
556
|
+
var t;
|
|
557
|
+
e.value = new I(o.value), (t = e.value) == null || t.setData(c.value), n.update(e.value);
|
|
558
|
+
});
|
|
559
|
+
}), F(() => {
|
|
560
|
+
var t;
|
|
561
|
+
(t = e.value) == null || t.destroy(), n.destroy();
|
|
562
|
+
}), d(o, (t, l) => {
|
|
563
|
+
var a;
|
|
564
|
+
h(t, l) || ((a = e.value) == null || a.setConfig(o.value), n.update(e.value));
|
|
565
|
+
}), (t, l) => (m(), g("div", st));
|
|
566
|
+
}
|
|
567
|
+
}), pt = { "data-vis-component": "" }, Pt = /* @__PURE__ */ y({
|
|
568
|
+
__name: "xy-labels",
|
|
569
|
+
props: {
|
|
570
|
+
y: { type: [Function, Number, null] },
|
|
571
|
+
xPositioning: { type: [Function, null] },
|
|
572
|
+
yPositioning: { type: [Function, null] },
|
|
573
|
+
labelFontSize: { type: [Function, Number, null] },
|
|
574
|
+
label: { type: [Function, String, null] },
|
|
575
|
+
backgroundColor: { type: [Function, String, Array, null] },
|
|
576
|
+
cursor: { type: [Function, String, null] },
|
|
577
|
+
labelTextBrightnessRatio: {},
|
|
578
|
+
clustering: { type: Boolean },
|
|
579
|
+
clusterLabel: { type: [Function, String, null] },
|
|
580
|
+
clusterFontSize: { type: [Function, Number, null] },
|
|
581
|
+
clusterBackgroundColor: { type: [Function, String, Array, null] },
|
|
582
|
+
clusterCursor: { type: [Function, String, null] },
|
|
583
|
+
clusterLabelColor: { type: [Function, String, Array, null] },
|
|
584
|
+
x: { type: [Function, Number, null] },
|
|
585
|
+
id: { type: Function },
|
|
586
|
+
color: { type: [Function, String, Array, null] },
|
|
587
|
+
xScale: { type: [Object, Function] },
|
|
588
|
+
yScale: { type: [Object, Function] },
|
|
589
|
+
excludeFromDomainCalculation: { type: Boolean },
|
|
590
|
+
duration: {},
|
|
591
|
+
events: {},
|
|
592
|
+
attributes: {},
|
|
593
|
+
data: {}
|
|
594
|
+
},
|
|
595
|
+
setup(r) {
|
|
596
|
+
const u = r, n = f(x), c = s(() => n.data.value), i = v(), o = s(() => b(u, i)), e = p();
|
|
597
|
+
return _(() => {
|
|
598
|
+
S(() => {
|
|
599
|
+
var t;
|
|
600
|
+
e.value = new G(o.value), (t = e.value) == null || t.setData(c.value), n.update(e.value);
|
|
601
|
+
});
|
|
602
|
+
}), F(() => {
|
|
603
|
+
var t;
|
|
604
|
+
(t = e.value) == null || t.destroy(), n.destroy();
|
|
605
|
+
}), d(o, (t, l) => {
|
|
606
|
+
var a;
|
|
607
|
+
h(t, l) || ((a = e.value) == null || a.setConfig(o.value), n.update(e.value));
|
|
608
|
+
}), (t, l) => (m(), g("div", pt));
|
|
609
|
+
}
|
|
610
|
+
}), dt = { "data-vis-component": "" }, Ot = /* @__PURE__ */ y({
|
|
611
|
+
__name: "donut",
|
|
612
|
+
props: {
|
|
613
|
+
id: { type: Function },
|
|
614
|
+
value: { type: [Function, Number, null] },
|
|
615
|
+
angleRange: {},
|
|
616
|
+
padAngle: {},
|
|
617
|
+
sortFunction: { type: Function },
|
|
618
|
+
cornerRadius: {},
|
|
619
|
+
color: { type: [Function, String, Array, null] },
|
|
620
|
+
radius: {},
|
|
621
|
+
arcWidth: {},
|
|
622
|
+
centralLabel: {},
|
|
623
|
+
centralSubLabel: {},
|
|
624
|
+
centralSubLabelWrap: { type: Boolean },
|
|
625
|
+
showEmptySegments: { type: Boolean },
|
|
626
|
+
emptySegmentAngle: {},
|
|
627
|
+
showBackground: { type: Boolean },
|
|
628
|
+
backgroundAngleRange: {},
|
|
629
|
+
duration: {},
|
|
630
|
+
events: {},
|
|
631
|
+
attributes: {},
|
|
632
|
+
data: {}
|
|
633
|
+
},
|
|
634
|
+
setup(r) {
|
|
635
|
+
const u = r, n = f(x), c = s(() => n.data.value), i = v(), o = s(() => b(u, i)), e = p();
|
|
636
|
+
return _(() => {
|
|
637
|
+
S(() => {
|
|
638
|
+
var t;
|
|
639
|
+
e.value = new H(o.value), (t = e.value) == null || t.setData(c.value), n.update(e.value);
|
|
640
|
+
});
|
|
641
|
+
}), F(() => {
|
|
642
|
+
var t;
|
|
643
|
+
(t = e.value) == null || t.destroy(), n.destroy();
|
|
644
|
+
}), d(o, (t, l) => {
|
|
645
|
+
var a;
|
|
646
|
+
h(t, l) || ((a = e.value) == null || a.setConfig(o.value), n.update(e.value));
|
|
647
|
+
}), (t, l) => (m(), g("div", dt));
|
|
648
|
+
}
|
|
649
|
+
}), yt = { "data-vis-component": "" }, $t = /* @__PURE__ */ y({
|
|
650
|
+
__name: "topojson-map",
|
|
651
|
+
props: {
|
|
652
|
+
projection: { type: [Function, Object] },
|
|
653
|
+
topojson: {},
|
|
654
|
+
mapFeatureName: {},
|
|
655
|
+
mapFitToPoints: { type: Boolean },
|
|
656
|
+
zoomFactor: {},
|
|
657
|
+
disableZoom: { type: Boolean },
|
|
658
|
+
zoomExtent: {},
|
|
659
|
+
zoomDuration: {},
|
|
660
|
+
linkWidth: { type: [Function, Number, null] },
|
|
661
|
+
linkColor: { type: [Function, String, Array, null] },
|
|
662
|
+
linkCursor: { type: [Function, String, null] },
|
|
663
|
+
linkId: { type: [Function, String, null] },
|
|
664
|
+
linkSource: { type: Function },
|
|
665
|
+
linkTarget: { type: Function },
|
|
666
|
+
areaId: { type: [Function, String, null] },
|
|
667
|
+
areaColor: { type: [Function, String, Array, null] },
|
|
668
|
+
areaCursor: { type: [Function, String, null] },
|
|
669
|
+
pointColor: { type: [Function, String, Array, null] },
|
|
670
|
+
pointRadius: { type: [Function, Number, null] },
|
|
671
|
+
pointStrokeWidth: { type: [Function, Number, null] },
|
|
672
|
+
pointCursor: { type: [Function, String, null] },
|
|
673
|
+
longitude: { type: [Function, Number, null] },
|
|
674
|
+
latitude: { type: [Function, Number, null] },
|
|
675
|
+
pointLabel: { type: [Function, String, null] },
|
|
676
|
+
pointLabelPosition: {},
|
|
677
|
+
pointLabelTextBrightnessRatio: {},
|
|
678
|
+
pointId: { type: Function },
|
|
679
|
+
heatmapMode: { type: Boolean },
|
|
680
|
+
heatmapModeBlurStdDeviation: {},
|
|
681
|
+
heatmapModeZoomLevelThreshold: {},
|
|
682
|
+
duration: {},
|
|
683
|
+
events: {},
|
|
684
|
+
attributes: {},
|
|
685
|
+
data: {}
|
|
686
|
+
},
|
|
687
|
+
setup(r) {
|
|
688
|
+
const u = r, n = f(x), c = s(() => n.data.value), i = v(), o = s(() => b(u, i)), e = p();
|
|
689
|
+
return _(() => {
|
|
690
|
+
S(() => {
|
|
691
|
+
var t;
|
|
692
|
+
e.value = new Z(o.value), (t = e.value) == null || t.setData(c.value), n.update(e.value);
|
|
693
|
+
});
|
|
694
|
+
}), F(() => {
|
|
695
|
+
var t;
|
|
696
|
+
(t = e.value) == null || t.destroy(), n.destroy();
|
|
697
|
+
}), d(o, (t, l) => {
|
|
698
|
+
var a;
|
|
699
|
+
h(t, l) || ((a = e.value) == null || a.setConfig(o.value), n.update(e.value));
|
|
700
|
+
}), (t, l) => (m(), g("div", yt));
|
|
701
|
+
}
|
|
702
|
+
}), vt = { "data-vis-component": "" }, Rt = /* @__PURE__ */ y({
|
|
703
|
+
__name: "sankey",
|
|
704
|
+
props: {
|
|
705
|
+
id: { type: Function },
|
|
706
|
+
heightNormalizationCoeff: {},
|
|
707
|
+
exitTransitionType: {},
|
|
708
|
+
enterTransitionType: {},
|
|
709
|
+
highlightSubtreeOnHover: { type: Boolean },
|
|
710
|
+
highlightDuration: {},
|
|
711
|
+
highlightDelay: {},
|
|
712
|
+
iterations: {},
|
|
713
|
+
nodeSort: { type: [Function, null] },
|
|
714
|
+
linkSort: { type: [Function, null] },
|
|
715
|
+
nodeWidth: {},
|
|
716
|
+
nodeAlign: {},
|
|
717
|
+
nodeHorizontalSpacing: {},
|
|
718
|
+
nodeMinHeight: {},
|
|
719
|
+
nodeMaxHeight: {},
|
|
720
|
+
nodePadding: {},
|
|
721
|
+
showSingleNode: { type: Boolean },
|
|
722
|
+
nodeCursor: { type: [Function, String, null] },
|
|
723
|
+
nodeIcon: { type: [Function, String, null] },
|
|
724
|
+
nodeColor: { type: [Function, String, Array, null] },
|
|
725
|
+
nodeFixedValue: { type: [Function, Number, null] },
|
|
726
|
+
nodeIconColor: { type: [Function, String, Array, null] },
|
|
727
|
+
linkColor: { type: [Function, String, null] },
|
|
728
|
+
linkValue: { type: [Function, Number, null] },
|
|
729
|
+
linkCursor: { type: [Function, String, null] },
|
|
730
|
+
label: { type: [Function, String, null] },
|
|
731
|
+
subLabel: { type: [Function, String, null] },
|
|
732
|
+
labelPosition: { type: [Function, null] },
|
|
733
|
+
labelVerticalAlign: {},
|
|
734
|
+
labelBackground: { type: Boolean },
|
|
735
|
+
labelFit: {},
|
|
736
|
+
labelMaxWidth: {},
|
|
737
|
+
labelExpandTrimmedOnHover: { type: Boolean },
|
|
738
|
+
labelTrimMode: {},
|
|
739
|
+
labelFontSize: {},
|
|
740
|
+
labelTextSeparator: {},
|
|
741
|
+
labelForceWordBreak: { type: Boolean },
|
|
742
|
+
labelColor: { type: [Function, String, Array, null] },
|
|
743
|
+
labelCursor: { type: [Function, String, null] },
|
|
744
|
+
labelVisibility: { type: Function },
|
|
745
|
+
subLabelFontSize: {},
|
|
746
|
+
subLabelColor: { type: [Function, String, Array, null] },
|
|
747
|
+
subLabelPlacement: {},
|
|
748
|
+
subLabelToLabelInlineWidthRatio: {},
|
|
749
|
+
duration: {},
|
|
750
|
+
events: {},
|
|
751
|
+
attributes: {},
|
|
752
|
+
data: {}
|
|
753
|
+
},
|
|
754
|
+
setup(r) {
|
|
755
|
+
const u = r, n = f(x), c = s(() => n.data.value), i = v(), o = s(() => b(u, i)), e = p();
|
|
756
|
+
return _(() => {
|
|
757
|
+
S(() => {
|
|
758
|
+
var t;
|
|
759
|
+
e.value = new K(o.value), (t = e.value) == null || t.setData(c.value), n.update(e.value);
|
|
760
|
+
});
|
|
761
|
+
}), F(() => {
|
|
762
|
+
var t;
|
|
763
|
+
(t = e.value) == null || t.destroy(), n.destroy();
|
|
764
|
+
}), d(o, (t, l) => {
|
|
765
|
+
var a;
|
|
766
|
+
h(t, l) || ((a = e.value) == null || a.setConfig(o.value), n.update(e.value));
|
|
767
|
+
}), (t, l) => (m(), g("div", vt));
|
|
768
|
+
}
|
|
769
|
+
}), Ft = { "data-vis-component": "" }, Vt = /* @__PURE__ */ y({
|
|
770
|
+
__name: "graph",
|
|
771
|
+
props: {
|
|
772
|
+
zoomScaleExtent: {},
|
|
773
|
+
disableZoom: { type: Boolean },
|
|
774
|
+
disableDrag: { type: Boolean },
|
|
775
|
+
zoomThrottledUpdateNodeThreshold: {},
|
|
776
|
+
onZoom: { type: Function },
|
|
777
|
+
layoutType: {},
|
|
778
|
+
layoutAutofit: { type: Boolean },
|
|
779
|
+
layoutAutofitTolerance: {},
|
|
780
|
+
layoutNonConnectedAside: { type: Boolean },
|
|
781
|
+
layoutNodeGroup: { type: [Function, String, null] },
|
|
782
|
+
layoutGroupOrder: {},
|
|
783
|
+
layoutParallelNodesPerColumn: {},
|
|
784
|
+
layoutParallelNodeSubGroup: { type: [Function, String, null] },
|
|
785
|
+
layoutParallelSubGroupsPerRow: {},
|
|
786
|
+
layoutParallelGroupSpacing: {},
|
|
787
|
+
layoutParallelSortConnectionsByGroup: {},
|
|
788
|
+
forceLayoutSettings: {},
|
|
789
|
+
dagreLayoutSettings: {},
|
|
790
|
+
layoutElkSettings: { type: [Function, null] },
|
|
791
|
+
layoutElkNodeGroups: {},
|
|
792
|
+
linkWidth: { type: [Function, Number, null] },
|
|
793
|
+
linkStyle: { type: [Function, null] },
|
|
794
|
+
linkBandWidth: { type: [Function, Number, null] },
|
|
795
|
+
linkArrow: { type: [Function, null] },
|
|
796
|
+
linkStroke: { type: [Function, String, Array, null] },
|
|
797
|
+
linkDisabled: { type: [Function, Boolean, null] },
|
|
798
|
+
linkFlow: { type: [Function, Boolean, null] },
|
|
799
|
+
linkFlowAnimDuration: {},
|
|
800
|
+
linkFlowParticleSize: {},
|
|
801
|
+
linkLabel: { type: [Function, null] },
|
|
802
|
+
linkLabelShiftFromCenter: { type: [Function, Boolean, null] },
|
|
803
|
+
linkNeighborSpacing: {},
|
|
804
|
+
selectedLinkId: {},
|
|
805
|
+
nodeSize: { type: [Function, Number, null] },
|
|
806
|
+
nodeStrokeWidth: { type: [Function, Number, null] },
|
|
807
|
+
nodeShape: { type: [Function, null] },
|
|
808
|
+
nodeGaugeValue: { type: [Function, Number, null] },
|
|
809
|
+
nodeGaugeFill: { type: [Function, String, Array, null] },
|
|
810
|
+
nodeGaugeAnimDuration: {},
|
|
811
|
+
nodeIcon: { type: [Function, String, null] },
|
|
812
|
+
nodeIconSize: { type: [Function, Number, null] },
|
|
813
|
+
nodeLabel: { type: [Function, String, null] },
|
|
814
|
+
nodeLabelTrim: { type: [Function, Boolean, null] },
|
|
815
|
+
nodeLabelTrimMode: { type: [Function, null] },
|
|
816
|
+
nodeLabelTrimLength: { type: [Function, Number, null] },
|
|
817
|
+
nodeSubLabel: { type: [Function, String, null] },
|
|
818
|
+
nodeSubLabelTrim: { type: [Function, Boolean, null] },
|
|
819
|
+
nodeSubLabelTrimMode: { type: [Function, null] },
|
|
820
|
+
nodeSubLabelTrimLength: { type: [Function, Number, null] },
|
|
821
|
+
nodeSideLabels: { type: [Function, null] },
|
|
822
|
+
nodeBottomIcon: { type: [Function, String, null] },
|
|
823
|
+
nodeDisabled: { type: [Function, Boolean, null] },
|
|
824
|
+
nodeFill: { type: [Function, String, Array, null] },
|
|
825
|
+
nodeStroke: { type: [Function, String, Array, null] },
|
|
826
|
+
nodeSort: { type: Function },
|
|
827
|
+
nodeEnterPosition: { type: [Function, null] },
|
|
828
|
+
nodeEnterScale: { type: [Function, Number, null] },
|
|
829
|
+
nodeExitPosition: { type: [Function, null] },
|
|
830
|
+
nodeExitScale: { type: [Function, Number, null] },
|
|
831
|
+
selectedNodeId: {},
|
|
832
|
+
panels: {},
|
|
833
|
+
duration: {},
|
|
834
|
+
events: {},
|
|
835
|
+
attributes: {},
|
|
836
|
+
data: {}
|
|
837
|
+
},
|
|
838
|
+
setup(r) {
|
|
839
|
+
const u = r, n = f(x), c = s(() => n.data.value), i = v(), o = s(() => b(u, i)), e = p();
|
|
840
|
+
return _(() => {
|
|
841
|
+
S(() => {
|
|
842
|
+
var t;
|
|
843
|
+
e.value = new U(o.value), (t = e.value) == null || t.setData(c.value), n.update(e.value);
|
|
844
|
+
});
|
|
845
|
+
}), F(() => {
|
|
846
|
+
var t;
|
|
847
|
+
(t = e.value) == null || t.destroy(), n.destroy();
|
|
848
|
+
}), d(o, (t, l) => {
|
|
849
|
+
var a;
|
|
850
|
+
h(t, l) || ((a = e.value) == null || a.setConfig(o.value), n.update(e.value));
|
|
851
|
+
}), (t, l) => (m(), g("div", Ft));
|
|
852
|
+
}
|
|
853
|
+
}), mt = { "data-vis-component": "" }, Wt = /* @__PURE__ */ y({
|
|
854
|
+
__name: "chord-diagram",
|
|
855
|
+
props: {
|
|
856
|
+
highlightedNodeId: {},
|
|
857
|
+
highlightedLinkIds: {},
|
|
858
|
+
linkColor: { type: [Function, String, Array, null] },
|
|
859
|
+
linkValue: { type: [Function, Number, null] },
|
|
860
|
+
nodeLevels: {},
|
|
861
|
+
nodeWidth: {},
|
|
862
|
+
nodeColor: { type: [Function, String, Array, null] },
|
|
863
|
+
nodeLabel: { type: [Function, String, null] },
|
|
864
|
+
nodeLabelColor: { type: [Function, String, null] },
|
|
865
|
+
nodeLabelAlignment: { type: [Function, null] },
|
|
866
|
+
padAngle: { type: [Function, Number, null] },
|
|
867
|
+
cornerRadius: { type: [Function, Number, null] },
|
|
868
|
+
angleRange: {},
|
|
869
|
+
radiusScaleExponent: {},
|
|
870
|
+
duration: {},
|
|
871
|
+
events: {},
|
|
872
|
+
attributes: {},
|
|
873
|
+
data: {}
|
|
874
|
+
},
|
|
875
|
+
setup(r) {
|
|
876
|
+
const u = r, n = f(x), c = s(() => n.data.value), i = v(), o = s(() => b(u, i)), e = p();
|
|
877
|
+
return _(() => {
|
|
878
|
+
S(() => {
|
|
879
|
+
var t;
|
|
880
|
+
e.value = new J(o.value), (t = e.value) == null || t.setData(c.value), n.update(e.value);
|
|
881
|
+
});
|
|
882
|
+
}), F(() => {
|
|
883
|
+
var t;
|
|
884
|
+
(t = e.value) == null || t.destroy(), n.destroy();
|
|
885
|
+
}), d(o, (t, l) => {
|
|
886
|
+
var a;
|
|
887
|
+
h(t, l) || ((a = e.value) == null || a.setConfig(o.value), n.update(e.value));
|
|
888
|
+
}), (t, l) => (m(), g("div", mt));
|
|
889
|
+
}
|
|
890
|
+
}), gt = { "data-vis-component": "" }, jt = /* @__PURE__ */ y({
|
|
891
|
+
__name: "nested-donut",
|
|
892
|
+
props: {
|
|
893
|
+
angleRange: {},
|
|
894
|
+
direction: {},
|
|
895
|
+
value: { type: [Function, Number, null] },
|
|
896
|
+
centralLabel: {},
|
|
897
|
+
centralSubLabel: {},
|
|
898
|
+
centralSubLabelWrap: { type: Boolean },
|
|
899
|
+
showBackground: { type: Boolean },
|
|
900
|
+
sort: { type: Function },
|
|
901
|
+
layers: {},
|
|
902
|
+
layerSettings: { type: [Function, null] },
|
|
903
|
+
layerPadding: {},
|
|
904
|
+
cornerRadius: {},
|
|
905
|
+
emptySegmentAngle: {},
|
|
906
|
+
hideOverflowingSegmentLabels: { type: Boolean },
|
|
907
|
+
segmentColor: { type: [Function, String, Array, null] },
|
|
908
|
+
segmentLabel: { type: [Function, String, null] },
|
|
909
|
+
segmentLabelColor: { type: [Function, String, Array, null] },
|
|
910
|
+
showEmptySegments: { type: Boolean },
|
|
911
|
+
duration: {},
|
|
912
|
+
events: {},
|
|
913
|
+
attributes: {},
|
|
914
|
+
data: {}
|
|
915
|
+
},
|
|
916
|
+
setup(r) {
|
|
917
|
+
const u = r, n = f(x), c = s(() => n.data.value), i = v(), o = s(() => b(u, i)), e = p();
|
|
918
|
+
return _(() => {
|
|
919
|
+
S(() => {
|
|
920
|
+
var t;
|
|
921
|
+
e.value = new X(o.value), (t = e.value) == null || t.setData(c.value), n.update(e.value);
|
|
922
|
+
});
|
|
923
|
+
}), F(() => {
|
|
924
|
+
var t;
|
|
925
|
+
(t = e.value) == null || t.destroy(), n.destroy();
|
|
926
|
+
}), d(o, (t, l) => {
|
|
927
|
+
var a;
|
|
928
|
+
h(t, l) || ((a = e.value) == null || a.setConfig(o.value), n.update(e.value));
|
|
929
|
+
}), (t, l) => (m(), g("div", gt));
|
|
930
|
+
}
|
|
931
|
+
}), bt = { "data-vis-tooltip": "" }, zt = /* @__PURE__ */ y({
|
|
932
|
+
__name: "tooltip",
|
|
933
|
+
props: {
|
|
934
|
+
components: {},
|
|
935
|
+
container: {},
|
|
936
|
+
horizontalPlacement: {},
|
|
937
|
+
horizontalShift: {},
|
|
938
|
+
verticalPlacement: {},
|
|
939
|
+
verticalShift: {},
|
|
940
|
+
triggers: {},
|
|
941
|
+
attributes: {},
|
|
942
|
+
data: {}
|
|
943
|
+
},
|
|
944
|
+
setup(r) {
|
|
945
|
+
const u = r, n = f(N), c = v(), i = s(() => b(u, c)), o = p();
|
|
946
|
+
return _(() => {
|
|
947
|
+
S(() => {
|
|
948
|
+
o.value = new Y(i.value), n.update(o.value);
|
|
949
|
+
});
|
|
950
|
+
}), F(() => {
|
|
951
|
+
var e;
|
|
952
|
+
(e = o.value) == null || e.destroy(), n.destroy();
|
|
953
|
+
}), d(i, (e, t) => {
|
|
954
|
+
var l;
|
|
955
|
+
h(e, t) || ((l = o.value) == null || l.setConfig(i.value), n.update(o.value));
|
|
956
|
+
}), (e, t) => (m(), g("div", bt));
|
|
957
|
+
}
|
|
958
|
+
}), Et = /* @__PURE__ */ y({
|
|
959
|
+
__name: "leaflet-map",
|
|
960
|
+
props: {
|
|
961
|
+
width: {},
|
|
962
|
+
height: {},
|
|
963
|
+
flyToDuration: {},
|
|
964
|
+
fitViewPadding: {},
|
|
965
|
+
zoomDuration: {},
|
|
966
|
+
initialBounds: {},
|
|
967
|
+
fitBoundsOnUpdate: {},
|
|
968
|
+
fitViewOnInit: { type: Boolean },
|
|
969
|
+
fitViewOnUpdate: { type: Boolean },
|
|
970
|
+
style: {},
|
|
971
|
+
styleDarkTheme: {},
|
|
972
|
+
accessToken: {},
|
|
973
|
+
attribution: {},
|
|
974
|
+
renderer: {},
|
|
975
|
+
onMapInitialized: { type: Function },
|
|
976
|
+
onMapMoveZoom: { type: Function },
|
|
977
|
+
onMapMoveStart: { type: Function },
|
|
978
|
+
onMapMoveEnd: { type: Function },
|
|
979
|
+
onMapZoomStart: { type: Function },
|
|
980
|
+
onMapZoomEnd: { type: Function },
|
|
981
|
+
onMapClick: { type: Function },
|
|
982
|
+
pointLongitude: { type: [Function, Number, null] },
|
|
983
|
+
pointLatitude: { type: [Function, Number, null] },
|
|
984
|
+
pointId: { type: [Function, String, null] },
|
|
985
|
+
pointShape: { type: [Function, null] },
|
|
986
|
+
pointColor: { type: [Function, String, Array, null] },
|
|
987
|
+
pointRadius: { type: [Function, Number, null] },
|
|
988
|
+
pointLabel: { type: [Function, String, null] },
|
|
989
|
+
pointLabelColor: { type: [Function, String, null] },
|
|
990
|
+
pointBottomLabel: { type: [Function, String, null] },
|
|
991
|
+
pointCursor: { type: [Function, String, null] },
|
|
992
|
+
pointRingWidth: {},
|
|
993
|
+
selectedPointId: {},
|
|
994
|
+
clusterColor: { type: [Function, String, Array, null] },
|
|
995
|
+
clusterRadius: { type: [Function, Number, null] },
|
|
996
|
+
clusterLabel: { type: [Function, String, null] },
|
|
997
|
+
clusterLabelColor: { type: [Function, String, null] },
|
|
998
|
+
clusterBottomLabel: { type: [Function, String, null] },
|
|
999
|
+
clusterRingWidth: {},
|
|
1000
|
+
clusterBackground: { type: Boolean },
|
|
1001
|
+
clusterExpandOnClick: { type: Boolean },
|
|
1002
|
+
clusteringDistance: {},
|
|
1003
|
+
colorMap: {},
|
|
1004
|
+
topoJSONLayer: {},
|
|
1005
|
+
tooltip: {},
|
|
1006
|
+
ariaLabel: {},
|
|
1007
|
+
duration: {},
|
|
1008
|
+
events: {},
|
|
1009
|
+
attributes: {},
|
|
1010
|
+
data: {}
|
|
1011
|
+
},
|
|
1012
|
+
setup(r) {
|
|
1013
|
+
const u = r, n = s(() => u.data), c = v(), i = s(() => b(u, c)), o = p(), e = p();
|
|
1014
|
+
return _(() => {
|
|
1015
|
+
S(() => {
|
|
1016
|
+
e.value && (o.value = new q(e.value, i.value, n.value));
|
|
1017
|
+
});
|
|
1018
|
+
}), F(() => {
|
|
1019
|
+
var t;
|
|
1020
|
+
(t = o.value) == null || t.destroy();
|
|
1021
|
+
}), d(i, (t, l) => {
|
|
1022
|
+
var a;
|
|
1023
|
+
h(t, l) || (a = o.value) == null || a.setConfig(i.value);
|
|
1024
|
+
}), (t, l) => (m(), g("div", {
|
|
1025
|
+
"data-vis-leaflet-map": "",
|
|
1026
|
+
ref_key: "elRef",
|
|
1027
|
+
ref: e
|
|
1028
|
+
}, null, 512));
|
|
1029
|
+
}
|
|
1030
|
+
});
|
|
1031
|
+
const It = /* @__PURE__ */ y({
|
|
1032
|
+
__name: "leaflet-flow-map",
|
|
1033
|
+
props: {
|
|
1034
|
+
sourceLongitude: { type: [Function, Number, null] },
|
|
1035
|
+
sourceLatitude: { type: [Function, Number, null] },
|
|
1036
|
+
targetLongitude: { type: [Function, Number, null] },
|
|
1037
|
+
targetLatitude: { type: [Function, Number, null] },
|
|
1038
|
+
sourcePointRadius: { type: [Function, Number, null] },
|
|
1039
|
+
sourcePointColor: { type: [Function, String, Array, null] },
|
|
1040
|
+
flowParticleColor: { type: [Function, String, Array, null] },
|
|
1041
|
+
flowParticleRadius: { type: [Function, Number, null] },
|
|
1042
|
+
flowParticleSpeed: { type: [Function, Number, null] },
|
|
1043
|
+
flowParticleDensity: { type: [Function, Number, null] },
|
|
1044
|
+
onSourcePointClick: { type: Function },
|
|
1045
|
+
onSourcePointMouseEnter: { type: Function },
|
|
1046
|
+
onSourcePointMouseLeave: { type: Function },
|
|
1047
|
+
width: {},
|
|
1048
|
+
height: {},
|
|
1049
|
+
flyToDuration: {},
|
|
1050
|
+
fitViewPadding: {},
|
|
1051
|
+
zoomDuration: {},
|
|
1052
|
+
initialBounds: {},
|
|
1053
|
+
fitBoundsOnUpdate: {},
|
|
1054
|
+
fitViewOnInit: { type: Boolean },
|
|
1055
|
+
fitViewOnUpdate: { type: Boolean },
|
|
1056
|
+
style: {},
|
|
1057
|
+
styleDarkTheme: {},
|
|
1058
|
+
accessToken: {},
|
|
1059
|
+
attribution: {},
|
|
1060
|
+
renderer: {},
|
|
1061
|
+
onMapInitialized: { type: Function },
|
|
1062
|
+
onMapMoveZoom: { type: Function },
|
|
1063
|
+
onMapMoveStart: { type: Function },
|
|
1064
|
+
onMapMoveEnd: { type: Function },
|
|
1065
|
+
onMapZoomStart: { type: Function },
|
|
1066
|
+
onMapZoomEnd: { type: Function },
|
|
1067
|
+
onMapClick: { type: Function },
|
|
1068
|
+
pointLongitude: { type: [Function, Number, null] },
|
|
1069
|
+
pointLatitude: { type: [Function, Number, null] },
|
|
1070
|
+
pointId: { type: [Function, String, null] },
|
|
1071
|
+
pointShape: { type: [Function, null] },
|
|
1072
|
+
pointColor: { type: [Function, String, Array, null] },
|
|
1073
|
+
pointRadius: { type: [Function, Number, null] },
|
|
1074
|
+
pointLabel: { type: [Function, String, null] },
|
|
1075
|
+
pointLabelColor: { type: [Function, String, null] },
|
|
1076
|
+
pointBottomLabel: { type: [Function, String, null] },
|
|
1077
|
+
pointCursor: { type: [Function, String, null] },
|
|
1078
|
+
pointRingWidth: {},
|
|
1079
|
+
selectedPointId: {},
|
|
1080
|
+
clusterColor: { type: [Function, String, Array, null] },
|
|
1081
|
+
clusterRadius: { type: [Function, Number, null] },
|
|
1082
|
+
clusterLabel: { type: [Function, String, null] },
|
|
1083
|
+
clusterLabelColor: { type: [Function, String, null] },
|
|
1084
|
+
clusterBottomLabel: { type: [Function, String, null] },
|
|
1085
|
+
clusterRingWidth: {},
|
|
1086
|
+
clusterBackground: { type: Boolean },
|
|
1087
|
+
clusterExpandOnClick: { type: Boolean },
|
|
1088
|
+
clusteringDistance: {},
|
|
1089
|
+
colorMap: {},
|
|
1090
|
+
topoJSONLayer: {},
|
|
1091
|
+
tooltip: {},
|
|
1092
|
+
ariaLabel: {},
|
|
1093
|
+
duration: {},
|
|
1094
|
+
events: {},
|
|
1095
|
+
attributes: {},
|
|
1096
|
+
data: {}
|
|
1097
|
+
},
|
|
1098
|
+
setup(r) {
|
|
1099
|
+
const u = r, n = s(() => u.data), c = v(), i = s(() => b(u, c)), o = p(), e = p();
|
|
1100
|
+
return _(() => {
|
|
1101
|
+
S(() => {
|
|
1102
|
+
e.value && (o.value = new Q(e.value, i.value, n.value));
|
|
1103
|
+
});
|
|
1104
|
+
}), F(() => {
|
|
1105
|
+
var t;
|
|
1106
|
+
(t = o.value) == null || t.destroy();
|
|
1107
|
+
}), d(i, (t, l) => {
|
|
1108
|
+
var a;
|
|
1109
|
+
h(t, l) || (a = o.value) == null || a.setConfig(i.value);
|
|
1110
|
+
}), (t, l) => (m(), g("div", {
|
|
1111
|
+
"data-vis-leaflet-flow-map": "",
|
|
1112
|
+
ref_key: "elRef",
|
|
1113
|
+
ref: e
|
|
1114
|
+
}, null, 512));
|
|
1115
|
+
}
|
|
1116
|
+
});
|
|
1117
|
+
const Gt = /* @__PURE__ */ y({
|
|
1118
|
+
__name: "bullet-legend",
|
|
1119
|
+
props: {
|
|
1120
|
+
items: {},
|
|
1121
|
+
labelClassName: {},
|
|
1122
|
+
onLegendItemClick: { type: Function },
|
|
1123
|
+
labelFontSize: {},
|
|
1124
|
+
labelMaxWidth: {},
|
|
1125
|
+
bulletSize: {},
|
|
1126
|
+
data: {}
|
|
1127
|
+
},
|
|
1128
|
+
setup(r) {
|
|
1129
|
+
const u = r;
|
|
1130
|
+
s(() => u.data);
|
|
1131
|
+
const n = v(), c = s(() => b(u, n)), i = p(), o = p();
|
|
1132
|
+
return _(() => {
|
|
1133
|
+
S(() => {
|
|
1134
|
+
o.value && (i.value = new tt(o.value, c.value));
|
|
1135
|
+
});
|
|
1136
|
+
}), F(() => {
|
|
1137
|
+
var e;
|
|
1138
|
+
(e = i.value) == null || e.destroy();
|
|
1139
|
+
}), d(c, (e, t) => {
|
|
1140
|
+
var l;
|
|
1141
|
+
h(e, t) || (l = i.value) == null || l.update(c.value);
|
|
1142
|
+
}), (e, t) => (m(), g("div", {
|
|
1143
|
+
"data-vis-bullet-legend": "",
|
|
1144
|
+
ref_key: "elRef",
|
|
1145
|
+
ref: o
|
|
1146
|
+
}, null, 512));
|
|
1147
|
+
}
|
|
1148
|
+
});
|
|
1149
|
+
export {
|
|
1150
|
+
Ct as VisArea,
|
|
1151
|
+
Nt as VisAxis,
|
|
1152
|
+
Lt as VisBrush,
|
|
1153
|
+
Gt as VisBulletLegend,
|
|
1154
|
+
Wt as VisChordDiagram,
|
|
1155
|
+
At as VisCrosshair,
|
|
1156
|
+
Ot as VisDonut,
|
|
1157
|
+
kt as VisFreeBrush,
|
|
1158
|
+
Vt as VisGraph,
|
|
1159
|
+
Dt as VisGroupedBar,
|
|
1160
|
+
It as VisLeafletFlowMap,
|
|
1161
|
+
Et as VisLeafletMap,
|
|
1162
|
+
Bt as VisLine,
|
|
1163
|
+
jt as VisNestedDonut,
|
|
1164
|
+
Rt as VisSankey,
|
|
1165
|
+
Mt as VisScatter,
|
|
1166
|
+
xt as VisSingleContainer,
|
|
1167
|
+
wt as VisStackedBar,
|
|
1168
|
+
Tt as VisTimeline,
|
|
1169
|
+
zt as VisTooltip,
|
|
1170
|
+
$t as VisTopoJSONMap,
|
|
1171
|
+
ft as VisXYContainer,
|
|
1172
|
+
Pt as VisXYLabels
|
|
1173
|
+
};
|