@unovis/vue 1.3.0-alpha.0 → 1.3.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/components/area/index.cjs +2 -0
  2. package/components/area/index.cjs.map +1 -0
  3. package/components/area/index.js +44 -0
  4. package/components/area/index.js.map +1 -0
  5. package/components/area/index2.cjs +2 -0
  6. package/components/area/index2.cjs.map +1 -0
  7. package/components/area/index2.js +5 -0
  8. package/components/area/index2.js.map +1 -0
  9. package/components/axis/index.cjs +2 -0
  10. package/components/axis/index.cjs.map +1 -0
  11. package/components/axis/index.js +62 -0
  12. package/components/axis/index.js.map +1 -0
  13. package/components/axis/index2.cjs +2 -0
  14. package/components/axis/index2.cjs.map +1 -0
  15. package/components/axis/index2.js +5 -0
  16. package/components/axis/index2.js.map +1 -0
  17. package/components/brush/index.cjs +2 -0
  18. package/components/brush/index.cjs.map +1 -0
  19. package/components/brush/index.js +48 -0
  20. package/components/brush/index.js.map +1 -0
  21. package/components/brush/index2.cjs +2 -0
  22. package/components/brush/index2.cjs.map +1 -0
  23. package/components/brush/index2.js +5 -0
  24. package/components/brush/index2.js.map +1 -0
  25. package/components/chord-diagram/index.cjs +2 -0
  26. package/components/chord-diagram/index.cjs.map +1 -0
  27. package/components/chord-diagram/index.js +46 -0
  28. package/components/chord-diagram/index.js.map +1 -0
  29. package/components/chord-diagram/index2.cjs +2 -0
  30. package/components/chord-diagram/index2.cjs.map +1 -0
  31. package/components/chord-diagram/index2.js +5 -0
  32. package/components/chord-diagram/index2.js.map +1 -0
  33. package/components/crosshair/index.cjs +2 -0
  34. package/components/crosshair/index.cjs.map +1 -0
  35. package/components/crosshair/index.js +47 -0
  36. package/components/crosshair/index.js.map +1 -0
  37. package/components/crosshair/index2.cjs +2 -0
  38. package/components/crosshair/index2.cjs.map +1 -0
  39. package/components/crosshair/index2.js +5 -0
  40. package/components/crosshair/index2.js.map +1 -0
  41. package/components/donut/index.cjs +2 -0
  42. package/components/donut/index.cjs.map +1 -0
  43. package/components/donut/index.js +48 -0
  44. package/components/donut/index.js.map +1 -0
  45. package/components/donut/index2.cjs +2 -0
  46. package/components/donut/index2.cjs.map +1 -0
  47. package/components/donut/index2.js +5 -0
  48. package/components/donut/index2.js.map +1 -0
  49. package/components/free-brush/index.cjs +2 -0
  50. package/components/free-brush/index.cjs.map +1 -0
  51. package/components/free-brush/index.js +48 -0
  52. package/components/free-brush/index.js.map +1 -0
  53. package/components/free-brush/index2.cjs +2 -0
  54. package/components/free-brush/index2.cjs.map +1 -0
  55. package/components/free-brush/index2.js +5 -0
  56. package/components/free-brush/index2.js.map +1 -0
  57. package/components/graph/index.cjs +2 -0
  58. package/components/graph/index.cjs.map +1 -0
  59. package/components/graph/index.js +93 -0
  60. package/components/graph/index.js.map +1 -0
  61. package/components/graph/index2.cjs +2 -0
  62. package/components/graph/index2.cjs.map +1 -0
  63. package/components/graph/index2.js +5 -0
  64. package/components/graph/index2.js.map +1 -0
  65. package/components/grouped-bar/index.cjs +2 -0
  66. package/components/grouped-bar/index.cjs.map +1 -0
  67. package/components/grouped-bar/index.js +48 -0
  68. package/components/grouped-bar/index.js.map +1 -0
  69. package/components/grouped-bar/index2.cjs +2 -0
  70. package/components/grouped-bar/index2.cjs.map +1 -0
  71. package/components/grouped-bar/index2.js +5 -0
  72. package/components/grouped-bar/index2.js.map +1 -0
  73. package/components/line/index.cjs +2 -0
  74. package/components/line/index.cjs.map +1 -0
  75. package/components/line/index.js +45 -0
  76. package/components/line/index.js.map +1 -0
  77. package/components/line/index2.cjs +2 -0
  78. package/components/line/index2.cjs.map +1 -0
  79. package/components/line/index2.js +5 -0
  80. package/components/line/index2.js.map +1 -0
  81. package/components/nested-donut/index.cjs +2 -0
  82. package/components/nested-donut/index.cjs.map +1 -0
  83. package/components/nested-donut/index.js +50 -0
  84. package/components/nested-donut/index.js.map +1 -0
  85. package/components/nested-donut/index2.cjs +2 -0
  86. package/components/nested-donut/index2.cjs.map +1 -0
  87. package/components/nested-donut/index2.js +5 -0
  88. package/components/nested-donut/index2.js.map +1 -0
  89. package/components/sankey/index.cjs +2 -0
  90. package/components/sankey/index.cjs.map +1 -0
  91. package/components/sankey/index.js +76 -0
  92. package/components/sankey/index.js.map +1 -0
  93. package/components/sankey/index2.cjs +2 -0
  94. package/components/sankey/index2.cjs.map +1 -0
  95. package/components/sankey/index2.js +5 -0
  96. package/components/sankey/index2.js.map +1 -0
  97. package/components/scatter/index.cjs +2 -0
  98. package/components/scatter/index.cjs.map +1 -0
  99. package/components/scatter/index.js +51 -0
  100. package/components/scatter/index.js.map +1 -0
  101. package/components/scatter/index2.cjs +2 -0
  102. package/components/scatter/index2.cjs.map +1 -0
  103. package/components/scatter/index2.js +5 -0
  104. package/components/scatter/index2.js.map +1 -0
  105. package/components/stacked-bar/index.cjs +2 -0
  106. package/components/stacked-bar/index.cjs.map +1 -0
  107. package/components/stacked-bar/index.js +48 -0
  108. package/components/stacked-bar/index.js.map +1 -0
  109. package/components/stacked-bar/index2.cjs +2 -0
  110. package/components/stacked-bar/index2.cjs.map +1 -0
  111. package/components/stacked-bar/index2.js +5 -0
  112. package/components/stacked-bar/index2.js.map +1 -0
  113. package/components/timeline/index.cjs +2 -0
  114. package/components/timeline/index.cjs.map +1 -0
  115. package/components/timeline/index.js +51 -0
  116. package/components/timeline/index.js.map +1 -0
  117. package/components/timeline/index2.cjs +2 -0
  118. package/components/timeline/index2.cjs.map +1 -0
  119. package/components/timeline/index2.js +5 -0
  120. package/components/timeline/index2.js.map +1 -0
  121. package/components/tooltip/index.cjs +2 -0
  122. package/components/tooltip/index.cjs.map +1 -0
  123. package/components/tooltip/index.js +36 -0
  124. package/components/tooltip/index.js.map +1 -0
  125. package/components/tooltip/index2.cjs +2 -0
  126. package/components/tooltip/index2.cjs.map +1 -0
  127. package/components/tooltip/index2.js +5 -0
  128. package/components/tooltip/index2.js.map +1 -0
  129. package/components/topojson-map/index.cjs +2 -0
  130. package/components/topojson-map/index.cjs.map +1 -0
  131. package/components/topojson-map/index.js +62 -0
  132. package/components/topojson-map/index.js.map +1 -0
  133. package/components/topojson-map/index2.cjs +2 -0
  134. package/components/topojson-map/index2.cjs.map +1 -0
  135. package/components/topojson-map/index2.js +5 -0
  136. package/components/topojson-map/index2.js.map +1 -0
  137. package/components/xy-labels/index.cjs +2 -0
  138. package/components/xy-labels/index.cjs.map +1 -0
  139. package/components/xy-labels/index.js +52 -0
  140. package/components/xy-labels/index.js.map +1 -0
  141. package/components/xy-labels/index2.cjs +2 -0
  142. package/components/xy-labels/index2.cjs.map +1 -0
  143. package/components/xy-labels/index2.js +5 -0
  144. package/components/xy-labels/index2.js.map +1 -0
  145. package/components.d.ts +21 -21
  146. package/containers/single-container/index.cjs +2 -0
  147. package/containers/single-container/index.cjs.map +1 -0
  148. package/containers/single-container/index.js +64 -0
  149. package/containers/single-container/index.js.map +1 -0
  150. package/containers/single-container/index2.cjs +2 -0
  151. package/containers/single-container/index2.cjs.map +1 -0
  152. package/containers/single-container/index2.js +5 -0
  153. package/containers/single-container/index2.js.map +1 -0
  154. package/containers/single-container/index3.cjs +2 -0
  155. package/containers/single-container/index3.cjs.map +1 -0
  156. package/containers/single-container/index3.js +6 -0
  157. package/containers/single-container/index3.js.map +1 -0
  158. package/containers/xy-container/index.cjs +2 -0
  159. package/containers/xy-container/index.cjs.map +1 -0
  160. package/containers/xy-container/index.js +103 -0
  161. package/containers/xy-container/index.js.map +1 -0
  162. package/containers/xy-container/index2.cjs +2 -0
  163. package/containers/xy-container/index2.cjs.map +1 -0
  164. package/containers/xy-container/index2.js +5 -0
  165. package/containers/xy-container/index2.js.map +1 -0
  166. package/containers/xy-container/index3.cjs +2 -0
  167. package/containers/xy-container/index3.cjs.map +1 -0
  168. package/containers/xy-container/index3.js +6 -0
  169. package/containers/xy-container/index3.js.map +1 -0
  170. package/containers.d.ts +2 -2
  171. package/html-components/bullet-legend/index.cjs +2 -0
  172. package/html-components/bullet-legend/index.cjs.map +1 -0
  173. package/html-components/bullet-legend/index.js +39 -0
  174. package/html-components/bullet-legend/index.js.map +1 -0
  175. package/html-components/bullet-legend/index2.cjs +2 -0
  176. package/html-components/bullet-legend/index2.cjs.map +1 -0
  177. package/html-components/bullet-legend/index2.js +5 -0
  178. package/html-components/bullet-legend/index2.js.map +1 -0
  179. package/html-components/bullet-legend/index3.cjs +2 -0
  180. package/html-components/bullet-legend/index3.cjs.map +1 -0
  181. package/html-components/bullet-legend/index3.js +6 -0
  182. package/html-components/bullet-legend/index3.js.map +1 -0
  183. package/html-components/leaflet-flow-map/index.cjs +2 -0
  184. package/html-components/leaflet-flow-map/index.cjs.map +1 -0
  185. package/html-components/leaflet-flow-map/index.js +93 -0
  186. package/html-components/leaflet-flow-map/index.js.map +1 -0
  187. package/html-components/leaflet-flow-map/index2.cjs +2 -0
  188. package/html-components/leaflet-flow-map/index2.cjs.map +1 -0
  189. package/html-components/leaflet-flow-map/index2.js +5 -0
  190. package/html-components/leaflet-flow-map/index2.js.map +1 -0
  191. package/html-components/leaflet-flow-map/index3.cjs +2 -0
  192. package/html-components/leaflet-flow-map/index3.cjs.map +1 -0
  193. package/html-components/leaflet-flow-map/index3.js +6 -0
  194. package/html-components/leaflet-flow-map/index3.js.map +1 -0
  195. package/html-components/leaflet-map/index.cjs +2 -0
  196. package/html-components/leaflet-map/index.cjs.map +1 -0
  197. package/html-components/leaflet-map/index.js +80 -0
  198. package/html-components/leaflet-map/index.js.map +1 -0
  199. package/html-components/leaflet-map/index2.cjs +2 -0
  200. package/html-components/leaflet-map/index2.cjs.map +1 -0
  201. package/html-components/leaflet-map/index2.js +5 -0
  202. package/html-components/leaflet-map/index2.js.map +1 -0
  203. package/html-components/leaflet-map/index3.cjs +2 -0
  204. package/html-components/leaflet-map/index3.cjs.map +1 -0
  205. package/html-components/leaflet-map/index3.js +6 -0
  206. package/html-components/leaflet-map/index3.js.map +1 -0
  207. package/index.cjs +3 -0
  208. package/index.cjs.map +1 -0
  209. package/index.js +53 -1171
  210. package/index.js.map +1 -0
  211. package/package.json +15 -9
  212. package/utils/context.cjs +2 -0
  213. package/utils/context.cjs.map +1 -0
  214. package/utils/context.js +8 -0
  215. package/utils/context.js.map +1 -0
  216. package/utils/props.cjs +2 -0
  217. package/utils/props.cjs.map +1 -0
  218. package/utils/props.js +15 -0
  219. package/utils/props.js.map +1 -0
  220. package/index.umd.cjs +0 -2
  221. /package/components/area/{area.d.ts → index.d.ts} +0 -0
  222. /package/components/axis/{axis.d.ts → index.d.ts} +0 -0
  223. /package/components/brush/{brush.d.ts → index.d.ts} +0 -0
  224. /package/components/chord-diagram/{chord-diagram.d.ts → index.d.ts} +0 -0
  225. /package/components/crosshair/{crosshair.d.ts → index.d.ts} +0 -0
  226. /package/components/donut/{donut.d.ts → index.d.ts} +0 -0
  227. /package/components/free-brush/{free-brush.d.ts → index.d.ts} +0 -0
  228. /package/components/graph/{graph.d.ts → index.d.ts} +0 -0
  229. /package/components/grouped-bar/{grouped-bar.d.ts → index.d.ts} +0 -0
  230. /package/components/line/{line.d.ts → index.d.ts} +0 -0
  231. /package/components/nested-donut/{nested-donut.d.ts → index.d.ts} +0 -0
  232. /package/components/sankey/{sankey.d.ts → index.d.ts} +0 -0
  233. /package/components/scatter/{scatter.d.ts → index.d.ts} +0 -0
  234. /package/components/stacked-bar/{stacked-bar.d.ts → index.d.ts} +0 -0
  235. /package/components/timeline/{timeline.d.ts → index.d.ts} +0 -0
  236. /package/components/tooltip/{tooltip.d.ts → index.d.ts} +0 -0
  237. /package/components/topojson-map/{topojson-map.d.ts → index.d.ts} +0 -0
  238. /package/components/xy-labels/{xy-labels.d.ts → index.d.ts} +0 -0
  239. /package/containers/single-container/{single-container.d.ts → index.d.ts} +0 -0
  240. /package/containers/xy-container/{xy-container.d.ts → index.d.ts} +0 -0
  241. /package/html-components/bullet-legend/{bullet-legend.d.ts → index.d.ts} +0 -0
  242. /package/html-components/leaflet-flow-map/{leaflet-flow-map.d.ts → index.d.ts} +0 -0
  243. /package/html-components/leaflet-map/{leaflet-map.d.ts → index.d.ts} +0 -0
package/index.js CHANGED
@@ -1,1173 +1,55 @@
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
- });
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-flow-map],[data-vis-leaflet-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 { default as i } from "./containers/xy-container/index.js";
3
+ import "./containers/xy-container/index2.js";
4
+ import { default as l } from "./containers/single-container/index.js";
5
+ import "./containers/single-container/index2.js";
6
+ import { default as u } from "./components/line/index.js";
7
+ import { default as x } from "./components/area/index.js";
8
+ import { default as n } from "./components/axis/index.js";
9
+ import { default as B } from "./components/brush/index.js";
10
+ import { default as S } from "./components/free-brush/index.js";
11
+ import { default as g } from "./components/crosshair/index.js";
12
+ import { default as M } from "./components/grouped-bar/index.js";
13
+ import { default as c } from "./components/scatter/index.js";
14
+ import { default as A } from "./components/stacked-bar/index.js";
15
+ import { default as G } from "./components/timeline/index.js";
16
+ import { default as X } from "./components/xy-labels/index.js";
17
+ import { default as b } from "./components/donut/index.js";
18
+ import { default as y } from "./components/topojson-map/index.js";
19
+ import { default as O } from "./components/sankey/index.js";
20
+ import { default as q } from "./components/graph/index.js";
21
+ import { default as z } from "./components/chord-diagram/index.js";
22
+ import { default as H } from "./components/nested-donut/index.js";
23
+ import { default as K } from "./components/tooltip/index.js";
24
+ import { default as Q } from "./html-components/leaflet-map/index.js";
25
+ import "./html-components/leaflet-map/index2.js";
26
+ import { default as U } from "./html-components/leaflet-flow-map/index.js";
27
+ import "./html-components/leaflet-flow-map/index2.js";
28
+ import { default as Z } from "./html-components/bullet-legend/index.js";
29
+ import "./html-components/bullet-legend/index2.js";
1149
30
  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
31
+ x as VisArea,
32
+ n as VisAxis,
33
+ B as VisBrush,
34
+ Z as VisBulletLegend,
35
+ z as VisChordDiagram,
36
+ g as VisCrosshair,
37
+ b as VisDonut,
38
+ S as VisFreeBrush,
39
+ q as VisGraph,
40
+ M as VisGroupedBar,
41
+ U as VisLeafletFlowMap,
42
+ Q as VisLeafletMap,
43
+ u as VisLine,
44
+ H as VisNestedDonut,
45
+ O as VisSankey,
46
+ c as VisScatter,
47
+ l as VisSingleContainer,
48
+ A as VisStackedBar,
49
+ G as VisTimeline,
50
+ K as VisTooltip,
51
+ y as VisTopoJSONMap,
52
+ i as VisXYContainer,
53
+ X as VisXYLabels
1173
54
  };
55
+ //# sourceMappingURL=index.js.map