vue-data-ui 3.22.6 → 3.22.8

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 (203) hide show
  1. package/dist/{Arrow-Ds4xmpiQ.js → Arrow-DdymhUfY.js} +1 -1
  2. package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
  3. package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-C2qlyHc7.js} +1 -1
  4. package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
  5. package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C6zonwhr.js} +2 -2
  6. package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-CK2-h611.js} +2 -2
  7. package/dist/{DataTable-CXfvIulC.js → DataTable-D9NvewTT.js} +2 -2
  8. package/dist/{Legend-D-635Kag.js → Legend-ROt6ugzW.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-BHHNsVVP.js} +29 -29
  10. package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-DW7zwRcm.js} +1 -1
  11. package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-pcgwlYr2.js} +18 -18
  12. package/dist/{Shape-BSetplwm.js → Shape-UpH0a4Ur.js} +3 -3
  13. package/dist/{Slicer-ClIGOuoX.js → Slicer-BZ5VnOOS.js} +19 -19
  14. package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-BQFeCw0m.js} +351 -351
  15. package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-BTLN-Kex.js} +6 -6
  16. package/dist/{Title-C-p0ilWB.js → Title-CcNiYzEo.js} +1 -1
  17. package/dist/{Tooltip-YabpoXo1.js → Tooltip-CxOrWlFy.js} +1 -1
  18. package/dist/{UserOptions-BO4VFL8O.js → UserOptions-16uF1ayB.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-CVJfsfwL.js → dom-to-png-BbwhsRIr.js} +1 -1
  89. package/dist/exposedLib-VXFp3Z2c.js +19 -0
  90. package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
  91. package/dist/{img-B_y5qDdm.js → img-DnP3eXuv.js} +1 -1
  92. package/dist/{labelUtils-CyVwqXSh.js → labelUtils-DBEh078l.js} +1 -1
  93. package/dist/{lib-DRBJCmHW.js → lib-JqW18y5I.js} +49 -30
  94. package/dist/{package-DyQ_PQis.js → package-gp9pYCfN.js} +1 -1
  95. package/dist/{pdf-CG02qhAH.js → pdf-hj3gzrE7.js} +1 -1
  96. package/dist/{render-common-CUAlQvAQ.js → render-common-CLn1VXJ9.js} +20 -20
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/utils.d.ts +18 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
  103. package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-DIuuzG1r.js} +1 -1
  104. package/dist/{usePrinter-CRp5IW3v.js → usePrinter-CqqHmnBI.js} +2 -2
  105. package/dist/utils.js +23 -23
  106. package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
  107. package/dist/vue-data-ui.js +77 -77
  108. package/dist/{vue-ui-3d-bar-BAH0jNtT.js → vue-ui-3d-bar-B3HxJmDI.js} +124 -124
  109. package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-YyosvEPo.js} +3 -3
  110. package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
  111. package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-CfJXeAOE.js} +6 -6
  112. package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
  113. package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
  114. package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
  115. package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
  116. package/dist/{vue-ui-chestnut-Cx8T3NEl.js → vue-ui-chestnut-RfWMGUD-.js} +114 -114
  117. package/dist/{vue-ui-chord-B-sauvLo.js → vue-ui-chord-Db1O_diJ.js} +57 -57
  118. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
  119. package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
  120. package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DL3zq0F2.js} +37 -37
  121. package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
  122. package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-ThFVNO3l.js} +3 -3
  123. package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-BuTd6dt4.js} +224 -224
  124. package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-C3Rt6j-I.js} +458 -458
  125. package/dist/vue-ui-donut-evolution-DY46UPF_.js +1510 -0
  126. package/dist/vue-ui-dumbbell-wK7vUB0x.js +1530 -0
  127. package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-BTUNfWb7.js} +122 -122
  128. package/dist/vue-ui-funnel-BhoHzyHa.js +777 -0
  129. package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DJ2uNYcN.js} +263 -263
  130. package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-Cf4NqvrO.js} +226 -226
  131. package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-ovHu_Sc9.js} +21 -21
  132. package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-DDxEj-qe.js} +7 -7
  133. package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-Npqnvb1r.js} +282 -282
  134. package/dist/vue-ui-history-plot-C3Kjy2tc.js +1715 -0
  135. package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
  136. package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
  137. package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
  138. package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
  139. package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-DlVh6hwx.js} +27 -27
  140. package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
  141. package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
  142. package/dist/{vue-ui-parallel-coordinate-plot-DBpHCFxa.js → vue-ui-parallel-coordinate-plot-DSp_cwU-.js} +57 -57
  143. package/dist/vue-ui-quadrant-ByVg-NBs.js +1978 -0
  144. package/dist/{vue-ui-quick-chart-so_8PzvS.js → vue-ui-quick-chart-WMzSJxGZ.js} +188 -188
  145. package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-DE-me6OC.js} +64 -64
  146. package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
  147. package/dist/vue-ui-relation-circle-L7-dTqet.js +924 -0
  148. package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
  149. package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
  150. package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
  151. package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
  152. package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-D4NnZ1mg.js} +17 -17
  153. package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-C38ysZ-c.js} +21 -21
  154. package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-B03ndcUe.js} +80 -80
  155. package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DgPc4vPT.js} +7 -7
  156. package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-D02ff7ZI.js} +115 -115
  157. package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-DlTfNQj8.js} +464 -464
  158. package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +662 -0
  159. package/dist/vue-ui-stackbar-BVdApDnY.js +2332 -0
  160. package/dist/vue-ui-stackline-QzQQ7lTy.js +2419 -0
  161. package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
  162. package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Q3brrivC.js} +68 -68
  163. package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
  164. package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-Q6BHPKUn.js} +199 -199
  165. package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-Bg0RR6m4.js} +26 -26
  166. package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-BdzKpoRj.js} +29 -29
  167. package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-DWb69ofh.js} +17 -17
  168. package/dist/{vue-ui-treemap-B03c4RIy.js → vue-ui-treemap-uUz07Prw.js} +401 -401
  169. package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
  170. package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-DTfvWYA7.js} +137 -137
  171. package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-DqfljAqH.js} +40 -40
  172. package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
  173. package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-Bvgy2do1.js} +1598 -1596
  174. package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-D5KsuNR2.js} +259 -259
  175. package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-BfgeE3TW.js} +440 -437
  176. package/package.json +1 -1
  177. package/dist/exposedLib-CjwriUaG.js +0 -19
  178. package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +0 -1238
  179. package/dist/vue-ui-bullet-C_oBS1cr.js +0 -710
  180. package/dist/vue-ui-bump-BZB1Na8h.js +0 -1249
  181. package/dist/vue-ui-candlestick-8d_1xO8X.js +0 -1826
  182. package/dist/vue-ui-carousel-table-BfZNcwmY.js +0 -455
  183. package/dist/vue-ui-circle-pack-BLh8HnGK.js +0 -1608
  184. package/dist/vue-ui-donut-evolution-D1k4u6cA.js +0 -1510
  185. package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
  186. package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
  187. package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
  188. package/dist/vue-ui-horizontal-bar-CwB4sc6M.js +0 -1683
  189. package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
  190. package/dist/vue-ui-nested-donuts-wfesrzle.js +0 -1487
  191. package/dist/vue-ui-onion-B8-psLbF.js +0 -1200
  192. package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
  193. package/dist/vue-ui-rating-CKWHDKOT.js +0 -343
  194. package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
  195. package/dist/vue-ui-ridgeline-DVbYznRz.js +0 -1622
  196. package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
  197. package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
  198. package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
  199. package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
  200. package/dist/vue-ui-stackline-C0NHBUaE.js +0 -2416
  201. package/dist/vue-ui-strip-plot-_6LL45i9.js +0 -1729
  202. package/dist/vue-ui-waffle-afa8HSxz.js +0 -1362
  203. package/dist/vue-ui-world-CqS-HhZl.js +0 -14264
@@ -14,7 +14,155 @@ function e(e, t = []) {
14
14
  })
15
15
  };
16
16
  }
17
- var t = {
17
+ var t = .95, n = 1e-9, r = 24, i = 100, a = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap();
18
+ function s(e) {
19
+ return e * Math.PI / 180;
20
+ }
21
+ function c(e) {
22
+ return Math.round(e * i) / i;
23
+ }
24
+ function l(e, n) {
25
+ return {
26
+ cx: e / 2,
27
+ cy: n / 2,
28
+ radius: Math.min(e, n) / 2 * t
29
+ };
30
+ }
31
+ function u(e, t, n = [0, 0]) {
32
+ let [r, i] = n, a = s(i);
33
+ return {
34
+ ...l(e, t),
35
+ lon0Rad: s(r),
36
+ sinLat0: Math.sin(a),
37
+ cosLat0: Math.cos(a)
38
+ };
39
+ }
40
+ function d([e, t]) {
41
+ let n = s(t);
42
+ return {
43
+ lon: e,
44
+ lat: t,
45
+ lonRad: s(e),
46
+ sinLat: Math.sin(n),
47
+ cosLat: Math.cos(n)
48
+ };
49
+ }
50
+ function f(e, t) {
51
+ let n = e.lonRad - t.lon0Rad, r = Math.sin(n), i = Math.cos(n);
52
+ return {
53
+ x: e.cosLat * r,
54
+ y: t.cosLat0 * e.sinLat - t.sinLat0 * e.cosLat * i,
55
+ z: t.sinLat0 * e.sinLat + t.cosLat0 * e.cosLat * i
56
+ };
57
+ }
58
+ function p(e, t = [0, 0]) {
59
+ return f(d(e), u(1, 1, t));
60
+ }
61
+ function m(e, t, n = 10) {
62
+ let { cx: r, cy: i, radius: a } = l(e, t), o = r - a - n, s = i - a - n, c = r + a + n, u = i + a + n;
63
+ return {
64
+ minX: Math.floor(o),
65
+ minY: Math.floor(s),
66
+ width: Math.ceil(c - o),
67
+ height: Math.ceil(u - s)
68
+ };
69
+ }
70
+ function h(e, t) {
71
+ return f(e, t).z >= -1e-9;
72
+ }
73
+ function g(e, t = [0, 0]) {
74
+ return p(e, t).z >= -1e-9;
75
+ }
76
+ function _(e, t, r = !1) {
77
+ let i = f(e, t);
78
+ if (i.z < -1e-9) {
79
+ if (!r) return [NaN, NaN];
80
+ let e = Math.hypot(i.x, i.y);
81
+ return !Number.isFinite(e) || e <= n ? [NaN, NaN] : [t.cx + t.radius * (i.x / e), t.cy - t.radius * (i.y / e)];
82
+ }
83
+ return [t.cx + t.radius * i.x, t.cy - t.radius * i.y];
84
+ }
85
+ function v(e, t, n, r = [0, 0], i = !1) {
86
+ return _(d(e), u(t, n, r), i);
87
+ }
88
+ function y(e) {
89
+ return ((e + 180) % 360 + 360) % 360 - 180;
90
+ }
91
+ function b(e, t, n) {
92
+ let r = y(t.lon - e.lon);
93
+ return d([e.lon + r * n, e.lat + (t.lat - e.lat) * n]);
94
+ }
95
+ function x(e, t, n) {
96
+ let i = 0, a = 1, o = h(e, n);
97
+ for (let s = 0; s < r; s += 1) {
98
+ let r = (i + a) / 2;
99
+ h(b(e, t, r), n) === o ? i = r : a = r;
100
+ }
101
+ return b(e, t, (i + a) / 2);
102
+ }
103
+ function S(e, t) {
104
+ return Math.abs(e[0] - t[0]) < 1e-12 && Math.abs(e[1] - t[1]) < 1e-12;
105
+ }
106
+ function C(e) {
107
+ if (!Array.isArray(e)) return [];
108
+ let t = a.get(e);
109
+ if (t) return t;
110
+ let n = [];
111
+ for (let t of e) {
112
+ let e = n[n.length - 1];
113
+ (!e || !S(e, t)) && n.push(t);
114
+ }
115
+ return n.length > 1 && S(n[0], n[n.length - 1]) && n.pop(), a.set(e, n), n;
116
+ }
117
+ function w(e) {
118
+ if (!Array.isArray(e)) return [];
119
+ let t = o.get(e);
120
+ if (t) return t;
121
+ let n = C(e).map(d);
122
+ return o.set(e, n), n;
123
+ }
124
+ function T(e) {
125
+ let t = "", n = 0, r = null, i = null;
126
+ for (let a of e) {
127
+ if (!a || !Number.isFinite(a[0]) || !Number.isFinite(a[1])) continue;
128
+ let e = c(a[0]), o = c(a[1]);
129
+ r !== null && Math.abs(r - e) < 1e-8 && Math.abs(i - o) < 1e-8 || (t += n === 0 ? `M${e},${o}` : `L${e},${o}`, r = e, i = o, n += 1);
130
+ }
131
+ return n < 3 ? "" : `${t}Z`;
132
+ }
133
+ function E(e, t) {
134
+ let n = w(e), r = n.length;
135
+ if (r < 3) return "";
136
+ let i = Array(r), a = !1, o = !1;
137
+ for (let e = 0; e < r; e += 1) i[e] = h(n[e], t), i[e] && (a = !0);
138
+ for (let e = 0; e < r; e += 1) {
139
+ let t = (e - 1 + r) % r;
140
+ if (i[e] !== i[t]) {
141
+ o = !0;
142
+ break;
143
+ }
144
+ }
145
+ if (!a && !o) return "";
146
+ let s = [];
147
+ for (let e = 0; e < r; e += 1) {
148
+ let a = n[e], o = n[(e - 1 + r) % r], c = i[e];
149
+ if (i[(e - 1 + r) % r] !== c) {
150
+ let e = x(o, a, t);
151
+ s.push(_(e, t, !1));
152
+ }
153
+ s.push(_(a, t, !c));
154
+ }
155
+ return T(s);
156
+ }
157
+ function D(e, t, n, r, i = [0, 0]) {
158
+ return T(C(e).map((e) => t(e, n, r, i)));
159
+ }
160
+ function O(e, { projection: t = "globe", width: n, height: r, center: i = [0, 0] } = {}) {
161
+ if (!e || !n || !r) return "";
162
+ let a = k[t] || k.globe, o = t === "globe" ? u(n, r, i) : null, s = (e) => e.map((e) => t === "globe" ? E(e, o) : D(e, a, n, r, i)).filter(Boolean).join(" ");
163
+ return e.type === "Polygon" ? s(e.coordinates) : e.type === "MultiPolygon" ? e.coordinates.map(s).filter(Boolean).join(" ") : "";
164
+ }
165
+ var k = {
18
166
  mercator([e, t], n, r, i) {
19
167
  t = Math.max(Math.min(t, 85.05113), -85.05113);
20
168
  let [a, o] = i, s = (e - a) * Math.PI / 180, c = n / (2 * Math.PI) * (s + Math.PI), l = (e) => Math.log(Math.tan(Math.PI / 4 + e * Math.PI / 180 / 2)), u = l(85.05113), d = l(-72);
@@ -96,16 +244,16 @@ var t = {
96
244
  let m = n / 2 / a * .98, h = n / 2, g = r / 2;
97
245
  return [h + f * m, g - p * m];
98
246
  },
99
- globe([e, t], n, r, i) {
100
- let [a, o] = i, s = (e - a) * Math.PI / 180, c = t * Math.PI / 180, l = o * Math.PI / 180, u = Math.min(n, r) / 2 * .95, d = n / 2, f = r / 2, p = u * Math.cos(c) * Math.sin(s) + d, m = -u * (Math.cos(l) * Math.sin(c) - Math.sin(l) * Math.cos(c) * Math.cos(s)) + f;
101
- return Math.sin(l) * Math.sin(c) + Math.cos(l) * Math.cos(c) * Math.cos(s) < 0 ? [NaN, NaN] : [p, m];
247
+ globe(e, t, n, r = [0, 0]) {
248
+ return v(e, t, n, r, !1);
102
249
  },
103
250
  azimuthalEquidistant([e, t], n, r, i = [0, 0]) {
104
251
  let a = (e) => e * Math.PI / 180, [o, s] = i, c = a(e - o), l = a(t), u = a(s), d = Math.sin(u) * Math.sin(l) + Math.cos(u) * Math.cos(l) * Math.cos(c), f = Math.acos(Math.max(-1, Math.min(1, d))), p = f === 0 ? 1 : f / Math.sin(f), m = p * Math.cos(l) * Math.sin(c), h = p * (Math.cos(u) * Math.sin(l) - Math.sin(u) * Math.cos(l) * Math.cos(c)), g = Math.min(n, r) / 2 / Math.PI, _ = n / 2, v = r / 2;
105
252
  return [_ + m * g, v - h * g];
106
253
  }
107
254
  };
108
- function n(e, t, n, r, i = [0, 0]) {
255
+ function A(e, t, n, r, i = [0, 0]) {
256
+ if (e === k.globe) return m(n, r);
109
257
  let a = Infinity, o = Infinity, s = -Infinity, c = -Infinity;
110
258
  for (let l of t) {
111
259
  let t = l.geometry, u = t.type === "Polygon" ? [t.coordinates] : t.type === "MultiPolygon" ? t.coordinates : [];
@@ -114,32 +262,41 @@ function n(e, t, n, r, i = [0, 0]) {
114
262
  !Number.isFinite(l) || !Number.isFinite(d) || (a = Math.min(a, l), s = Math.max(s, l), o = Math.min(o, d), c = Math.max(c, d));
115
263
  }
116
264
  }
117
- return {
265
+ return !Number.isFinite(a) || !Number.isFinite(o) || !Number.isFinite(s) || !Number.isFinite(c) ? {
266
+ minX: 0,
267
+ minY: 0,
268
+ width: n,
269
+ height: r
270
+ } : {
118
271
  minX: Math.floor(a) - 10,
119
272
  minY: Math.floor(o) - 10,
120
273
  width: Math.ceil(s - a) + 20,
121
274
  height: Math.ceil(c - o) + 20
122
275
  };
123
276
  }
124
- function r(e, t, n) {
277
+ function j(e, t, n) {
125
278
  let r = e.find((e) => e.properties.admin === t || e.properties.name === t), i = e.find((e) => e.properties.admin === n || e.properties.name === n);
126
279
  return r && i && (r.geometry.type === "Polygon" && (r.geometry = {
127
280
  type: "MultiPolygon",
128
281
  coordinates: [r.geometry.coordinates]
129
282
  }), i.geometry.type === "Polygon" ? r.geometry.coordinates.push(i.geometry.coordinates) : i.geometry.type === "MultiPolygon" && r.geometry.coordinates.push(...i.geometry.coordinates), e = e.filter((e) => !(e.properties.admin === n || e.properties.name === n))), e;
130
283
  }
131
- function i(e, t) {
284
+ function M(e, t) {
132
285
  let n = Array.isArray(t) ? t.map((e) => ({ ...e })) : t.features ? t.features.map((e) => ({ ...e })) : [];
133
- return e.style.chart.territory.showTaiwanAsPartOfChina && (n = r(n, "China", "Taiwan")), t.type === "FeatureCollection" ? {
286
+ return e.style.chart.territory.showTaiwanAsPartOfChina && (n = j(n, "China", "Taiwan")), t.type === "FeatureCollection" ? {
134
287
  ...t,
135
288
  features: n
136
289
  } : n;
137
290
  }
138
- var a = {
139
- projections: t,
140
- getProjectedBounds: n,
141
- setupTerritories: i,
142
- simplifyGeoJSON: e
291
+ var N = {
292
+ projections: k,
293
+ getProjectedBounds: A,
294
+ setupTerritories: M,
295
+ simplifyGeoJSON: e,
296
+ geoToPath: O,
297
+ getGlobeMetrics: l,
298
+ getGlobeBounds: m,
299
+ isGlobePointVisible: g
143
300
  };
144
301
  //#endregion
145
- export { a as t };
302
+ export { N as t };
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { t } from "./dom-to-png-CVJfsfwL.js";
2
+ import { t } from "./dom-to-png-BbwhsRIr.js";
3
3
  //#region src/img.js
4
4
  var n = /* @__PURE__ */ e({ default: () => f }), r = "[data-dom-to-png-ignore-layout]";
5
5
  function i() {
@@ -1,4 +1,4 @@
1
- import { jt as e } from "./lib-DRBJCmHW.js";
1
+ import { Nt as e } from "./lib-JqW18y5I.js";
2
2
  //#region src/labelUtils.js
3
3
  function t({ config: t = {
4
4
  useValueParens: !1,
@@ -346,7 +346,7 @@ function ne(e, t, n, r = 1) {
346
346
  r
347
347
  ];
348
348
  }
349
- function re(e, t) {
349
+ function A(e, t) {
350
350
  let n = e.length === 9 ? e.substring(0, 7) : e, r = e.length === 9 ? e.substring(7, 9) : null, i = (e) => ({
351
351
  r: parseInt(e.substring(1, 3), 16),
352
352
  g: parseInt(e.substring(3, 5), 16),
@@ -392,7 +392,7 @@ function re(e, t) {
392
392
  let c = o(s);
393
393
  return `#${(c.r << 16 | c.g << 8 | c.b).toString(16).padStart(6, "0")}` + (r || "");
394
394
  }
395
- function ie({ centerX: e, centerY: t, outerPoints: n, radius: r, rotation: i }) {
395
+ function re({ centerX: e, centerY: t, outerPoints: n, radius: r, rotation: i }) {
396
396
  let a = Math.PI / n, o = i, s = "", c = [];
397
397
  for (let i = 0; i < n * 2; i += 1) {
398
398
  let n = e + Math.cos(i * a + o) * r, l = t + Math.sin(i * a + o) * r;
@@ -406,9 +406,9 @@ function ie({ centerX: e, centerY: t, outerPoints: n, radius: r, rotation: i })
406
406
  coordinates: c
407
407
  };
408
408
  }
409
- function ae({ plot: e, radius: t, sides: n, rotation: r = 0 }) {
409
+ function ie({ plot: e, radius: t, sides: n, rotation: r = 0 }) {
410
410
  let i = e.x, a = e.y;
411
- return ie({
411
+ return re({
412
412
  centerX: i,
413
413
  centerY: a,
414
414
  outerPoints: n / 2,
@@ -416,7 +416,7 @@ function ae({ plot: e, radius: t, sides: n, rotation: r = 0 }) {
416
416
  rotation: r
417
417
  });
418
418
  }
419
- function oe({ centerX: e, centerY: t, innerCirclePoints: n, innerRadius: r, outerRadius: i }) {
419
+ function ae({ centerX: e, centerY: t, innerCirclePoints: n, innerRadius: r, outerRadius: i }) {
420
420
  let a = Math.PI / n, o = n * 2, s = "";
421
421
  for (let n = 0; n < o; n += 1) {
422
422
  let o = n % 2 == 0 ? i : r, c = e + Math.cos(n * a + 60) * o, l = t + Math.sin(n * a + 60) * o;
@@ -424,9 +424,9 @@ function oe({ centerX: e, centerY: t, innerCirclePoints: n, innerRadius: r, oute
424
424
  }
425
425
  return s;
426
426
  }
427
- function se({ plot: e, radius: t, apexes: n = 5 }) {
427
+ function oe({ plot: e, radius: t, apexes: n = 5 }) {
428
428
  let r = e.x, i = e.y, a = n, o = t * 3.5 / a;
429
- return oe({
429
+ return ae({
430
430
  centerX: r,
431
431
  centerY: i,
432
432
  innerCirclePoints: a,
@@ -434,7 +434,7 @@ function se({ plot: e, radius: t, apexes: n = 5 }) {
434
434
  outerRadius: o * 2
435
435
  });
436
436
  }
437
- function ce({ series: e }) {
437
+ function se({ series: e }) {
438
438
  if (!Array.isArray(e) || e.length === 0) return "";
439
439
  let t = Array.from(new Map(e.filter((e) => e && Number.isFinite(e.x) && Number.isFinite(e.y)).map((e) => [`${e.x},${e.y}`, {
440
440
  x: +e.x,
@@ -462,13 +462,13 @@ function ce({ series: e }) {
462
462
  for (let e of a) l += `${Math.round(e.x)},${Math.round(e.y)} `;
463
463
  return l;
464
464
  }
465
- function A(e) {
465
+ function j(e) {
466
466
  return e * Math.PI / 180;
467
467
  }
468
- function le(e, t, n) {
468
+ function ce(e, t, n) {
469
469
  return Math.min(Math.max(e, t), n);
470
470
  }
471
- function ue(e) {
471
+ function le(e) {
472
472
  if (typeof e != "string") return null;
473
473
  let t = e.trim();
474
474
  if (!t.startsWith("#")) return null;
@@ -490,52 +490,52 @@ function ue(e) {
490
490
  alpha: Number.parseInt(n.slice(6, 8), 16) / 255
491
491
  } : null;
492
492
  }
493
- function de(e, t, n) {
493
+ function ue(e, t, n) {
494
494
  let r = e / 255, i = t / 255, a = n / 255, o = (e) => e <= .03928 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4, s = o(r), c = o(i), l = o(a);
495
495
  return .2126 * s + .7152 * c + .0722 * l;
496
496
  }
497
- function fe(e, t = {
497
+ function de(e, t = {
498
498
  dark: "#000000",
499
499
  light: "#FFFFFF"
500
500
  }) {
501
501
  if (!e) return t?.dark ?? "#000000";
502
- let n = ue(b(e));
502
+ let n = le(b(e));
503
503
  if (!n) return t?.dark ?? "#000000";
504
- let r = de(n.red, n.green, n.blue);
504
+ let r = ue(n.red, n.green, n.blue);
505
505
  return (n.alpha < 1 ? n.alpha * r + (1 - n.alpha) * 1 : r) > .3 ? t?.dark ?? "#000000" : t?.light ?? "#FFFFFF";
506
506
  }
507
- function j(e) {
507
+ function M(e) {
508
508
  return typeof e == "object" && !!e && Object.prototype.toString.call(e) === "[object Object]" && (e.constructor === Object || e.constructor == null);
509
509
  }
510
- function M(e) {
510
+ function N(e) {
511
511
  return !!e && (e.__v_isRef || e.__v_isReactive || e.__v_isReadonly || e.effect || e.dep || e.deps || e.subs);
512
512
  }
513
- function N(e) {
513
+ function P(e) {
514
514
  return e === "" ? "#000000" : e === "transparent" ? "#FFFFFF00" : b(e) ?? e;
515
515
  }
516
- function P(r, i = /* @__PURE__ */ new WeakSet()) {
516
+ function F(r, i = /* @__PURE__ */ new WeakSet()) {
517
517
  let a = t(r);
518
- if (!j(a) || i.has(a)) return a;
518
+ if (!M(a) || i.has(a)) return a;
519
519
  i.add(a);
520
520
  for (let t in a) {
521
521
  let r = e(a[t]) ? n(a[t]) : a[t];
522
522
  if (t === "color" || t === "backgroundColor") {
523
- typeof r == "string" && (a[t] = N(r));
523
+ typeof r == "string" && (a[t] = P(r));
524
524
  continue;
525
525
  }
526
526
  if (t === "stroke") {
527
- typeof r == "string" ? a[t] = N(r) : j(r) && !M(r) && P(r, i);
527
+ typeof r == "string" ? a[t] = P(r) : M(r) && !N(r) && F(r, i);
528
528
  continue;
529
529
  }
530
530
  if (Array.isArray(r)) {
531
- for (let e of r) j(e) && !M(e) && P(e, i);
531
+ for (let e of r) M(e) && !N(e) && F(e, i);
532
532
  continue;
533
533
  }
534
- j(r) && !M(r) && P(r, i);
534
+ M(r) && !N(r) && F(r, i);
535
535
  }
536
536
  return a;
537
537
  }
538
- function pe(e) {
538
+ function fe(e) {
539
539
  let t = e?.length ?? 0;
540
540
  if (t < 2) return {
541
541
  x1: 0,
@@ -559,16 +559,16 @@ function pe(e) {
559
559
  trend: (x - b) / S
560
560
  };
561
561
  }
562
- function me(e) {
562
+ function pe(e) {
563
563
  let t = Math.floor(e.length / 2), n = [...e].sort((e, t) => e - t);
564
564
  return e.length % 2 == 0 ? (n[t - 1] + n[t]) / 2 : n[t];
565
565
  }
566
- function he(e) {
566
+ function me(e) {
567
567
  let t = [];
568
568
  for (let n = 0; n < e.length; n += 1) t.push(`${h(e[n].x)},${h(e[n].y)} `);
569
569
  return t.join(" ").trim();
570
570
  }
571
- function F(e, t = null) {
571
+ function he(e, t = null) {
572
572
  let n = (e) => e && e.value !== null && e.value !== void 0 && Number.isFinite(e.x) && Number.isFinite(e.y), r = [], i = [];
573
573
  for (let t of e) n(t) ? i.push(t) : (i.length && r.push(i), i = []);
574
574
  return i.length && r.push(i), r.map((e) => {
@@ -1196,7 +1196,7 @@ function rt(e, t = 100) {
1196
1196
  function it({ series: e, center: t, maxRadius: n, hasGhost: r = !1 }) {
1197
1197
  let i = 360 / (e.length - +!!r);
1198
1198
  return e.map((e, r) => {
1199
- let a = e * n, o = r * i, s = o + i, c = o + i / 2, l = A(o) - A(90), u = A(s) - A(90), d = A(c) - A(90), f = t.x + a * Math.cos(l), p = t.y + a * Math.sin(l), m = t.x + a * Math.cos(u), h = t.y + a * Math.sin(u), g = t.x + a * Math.cos(d), _ = t.y + a * Math.sin(d);
1199
+ let a = e * n, o = r * i, s = o + i, c = o + i / 2, l = j(o) - j(90), u = j(s) - j(90), d = j(c) - j(90), f = t.x + a * Math.cos(l), p = t.y + a * Math.sin(l), m = t.x + a * Math.cos(u), h = t.y + a * Math.sin(u), g = t.x + a * Math.cos(d), _ = t.y + a * Math.sin(d);
1200
1200
  return {
1201
1201
  path: `
1202
1202
  M ${t.x} ${t.y}
@@ -1929,5 +1929,24 @@ function Wt(e, t = 1) {
1929
1929
  }
1930
1930
  return n.join(" ");
1931
1931
  }
1932
+ function Gt(e, t = 1) {
1933
+ return !e || typeof window > "u" ? Promise.resolve(null) : new Promise((n) => {
1934
+ let r = new window.Image();
1935
+ r.onload = () => {
1936
+ let e = r.naturalWidth / t, i = r.naturalHeight / t;
1937
+ n({
1938
+ width: e,
1939
+ height: i,
1940
+ aspectRatio: i ? e / i : 0
1941
+ });
1942
+ }, r.onerror = () => n(null), r.src = e;
1943
+ });
1944
+ }
1945
+ function Kt(e, t) {
1946
+ let n = Math.floor(Number(t));
1947
+ if (!Number.isFinite(n) || n <= 0) return [];
1948
+ let r = b(e);
1949
+ return r ? Array.from({ length: n }, (e, t) => A(r, t / n)) : (console.error(`Vue Data Ui - createColorWheel - Invalid starting color: ${r}`), []);
1950
+ }
1932
1951
  //#endregion
1933
- export { Lt as $, Ct as A, g as At, gt as B, Qe as Bt, Wt as C, st as Ct, pt as D, Fe as Dt, ft as E, be as Et, Be as F, Vt as Ft, Je as G, $ as Gt, q as H, v as Ht, se as I, rt as It, J, we as K, Pt as Kt, F as L, re as Lt, L as M, lt as Mt, _t as N, ut as Nt, it as O, ge as Ot, St as P, nt as Pt, Ie as Q, he as R, wt as Rt, qe as S, ot as St, ct as T, i as Tt, Ge as U, Ze as Ut, Ke as V, Ht as Vt, R as W, l as Wt, xe as X, Q as Y, Et as Z, ve as _, Ne as _t, Ye as a, Pe as at, b, f as bt, Nt as c, We as ct, B as d, Xe as dt, Rt as et, me as f, zt as ft, Ee as g, Ae as gt, Te as h, ke as ht, et as i, At as it, I as j, Bt as jt, ae as k, y as kt, pe as l, Ve as lt, Ue as m, tt as mt, Me as n, V as nt, kt as o, Dt as ot, _e as p, ce as pt, je as q, Mt as qt, fe as r, m as rt, It as s, Ot as st, K as t, jt as tt, z as u, _ as ut, h as v, p as vt, Se as w, Ce as wt, P as x, at as xt, le as y, Ut as yt, ht as z, ye as zt };
1952
+ export { Ie as $, ie as A, ge as At, ht as B, wt as Bt, Wt as C, at as Ct, ft as D, i as Dt, ct as E, Ce as Et, St as F, ut as Ft, R as G, Ze as Gt, Ke as H, Qe as Ht, Be as I, nt as It, je as J, Pt as Jt, Je as K, l as Kt, oe as L, Vt as Lt, I as M, g as Mt, L as N, Bt as Nt, pt as O, be as Ot, _t as P, lt as Pt, Et as Q, he as R, rt as Rt, qe as S, f as St, Se as T, st as Tt, q as U, Ht as Ut, gt as V, ye as Vt, Ge as W, v as Wt, Q as X, J as Y, Mt as Yt, xe as Z, ve as _, ke as _t, Ye as a, At as at, b, p as bt, Nt as c, Ot as ct, B as d, Ve as dt, Lt as et, pe as f, _ as ft, Ee as g, tt as gt, Te as h, se as ht, et as i, m as it, Ct as j, y as jt, it as k, Fe as kt, fe as l, Gt as lt, Ue as m, zt as mt, Me as n, jt as nt, kt as o, Pe as ot, _e as p, Xe as pt, we as q, $ as qt, de as r, V as rt, It as s, Dt as st, K as t, Rt as tt, z as u, We as ut, h as v, Ae as vt, Kt as w, ot as wt, F as x, Ut as xt, ce as y, Ne as yt, me as z, A as zt };
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var e = "3.22.6";
2
+ var e = "3.22.8";
3
3
  //#endregion
4
4
  export { e as t };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./dom-to-png-CVJfsfwL.js";
1
+ import { t as e } from "./dom-to-png-BbwhsRIr.js";
2
2
  //#region src/pdf.js
3
3
  async function t({ domElement: t, fileName: n, scale: r = 2, orientation: i = "auto", overflowTolerance: a = .2, aspectRatio: o = null }) {
4
4
  if (!t) return Promise.reject("No domElement provided");
@@ -1,5 +1,5 @@
1
- import { $ as e, I as t, b as n, et as r, k as i } from "./lib-DRBJCmHW.js";
2
- import { t as a } from "./package-DyQ_PQis.js";
1
+ import { A as e, L as t, b as n, et as r, tt as i } from "./lib-JqW18y5I.js";
2
+ import { t as a } from "./package-gp9pYCfN.js";
3
3
  //#region src/svg/utils/index.js
4
4
  function o(e, t = 0) {
5
5
  let n = Number(e);
@@ -12,15 +12,15 @@ function c(e) {
12
12
  return Number.isFinite(Number(e));
13
13
  }
14
14
  function l(e, t = {}, n = "") {
15
- let i = Object.entries(t).filter(([, e]) => e != null && e !== !1).map(([e, t]) => `${e}="${r(t)}"`).join(" ");
16
- return `<${e}${i ? ` ${i}` : ""}>${n}</${e}>`;
15
+ let r = Object.entries(t).filter(([, e]) => e != null && e !== !1).map(([e, t]) => `${e}="${i(t)}"`).join(" ");
16
+ return `<${e}${r ? ` ${r}` : ""}>${n}</${e}>`;
17
17
  }
18
18
  function u(e, t = {}) {
19
- let n = Object.entries(t).filter(([, e]) => e != null && e !== !1).map(([e, t]) => `${e}="${r(t)}"`).join(" ");
19
+ let n = Object.entries(t).filter(([, e]) => e != null && e !== !1).map(([e, t]) => `${e}="${i(t)}"`).join(" ");
20
20
  return `<${e}${n ? ` ${n}` : ""}/>`;
21
21
  }
22
- function d(t, n = {}) {
23
- return l("text", n, e(t ?? ""));
22
+ function d(e, t = {}) {
23
+ return l("text", t, r(e ?? ""));
24
24
  }
25
25
  function f(e) {
26
26
  return [
@@ -32,10 +32,10 @@ function f(e) {
32
32
  "star"
33
33
  ].includes(e) ? e : "circle";
34
34
  }
35
- function p({ dataCy: e, shape: n, plot: r, radius: a, fill: s, stroke: c, strokeWidth: l }) {
36
- let d = f(n), p = o(r.x, 0), m = o(r.y, 0), h = o(a, 4);
35
+ function p({ dataCy: n, shape: r, plot: i, radius: a, fill: s, stroke: c, strokeWidth: l }) {
36
+ let d = f(r), p = o(i.x, 0), m = o(i.y, 0), h = o(a, 4);
37
37
  if (d === "circle") return u("circle", {
38
- "data-cy": e,
38
+ "data-cy": n,
39
39
  cx: p,
40
40
  cy: m,
41
41
  r: h,
@@ -44,7 +44,7 @@ function p({ dataCy: e, shape: n, plot: r, radius: a, fill: s, stroke: c, stroke
44
44
  "stroke-width": l
45
45
  });
46
46
  if (d === "star") return u("polygon", {
47
- "data-cy": e,
47
+ "data-cy": n,
48
48
  points: t({
49
49
  plot: {
50
50
  x: p,
@@ -79,8 +79,8 @@ function p({ dataCy: e, shape: n, plot: r, radius: a, fill: s, stroke: c, stroke
79
79
  }
80
80
  }[d];
81
81
  return u("path", {
82
- "data-cy": e,
83
- d: i({
82
+ "data-cy": n,
83
+ d: e({
84
84
  plot: {
85
85
  x: p,
86
86
  y: m
@@ -131,19 +131,19 @@ function x(e, t) {
131
131
  fill: t ?? y(e.config)
132
132
  });
133
133
  }
134
- function S({ content: t, x: n, fontSize: r, fill: i, textAnchor: a }) {
135
- return String(t).split(/\n/g).map((t, o) => l("tspan", {
136
- x: n,
137
- dy: o === 0 ? 0 : r * 1.2,
134
+ function S({ content: e, x: t, fontSize: n, fill: i, textAnchor: a }) {
135
+ return String(e).split(/\n/g).map((e, o) => l("tspan", {
136
+ x: t,
137
+ dy: o === 0 ? 0 : n * 1.2,
138
138
  fill: i,
139
139
  "text-anchor": a
140
- }, e(t))).join("");
140
+ }, r(e))).join("");
141
141
  }
142
142
  function C(e, t) {
143
143
  return String(e).split("").reduce((e, n) => n === " " ? e + t * .28 : "ilI.,:;|!".includes(n) ? e + t * .24 : "()[]{}".includes(n) ? e + t * .34 : "0123456789%/".includes(n) ? e + t * .5 : n === n.toUpperCase() && /[A-Z]/.test(n) ? e + t * .62 : e + t * .52, 0);
144
144
  }
145
- function w(t) {
146
- return t.svgTitle ? l("desc", { "aria-hidden": "true" }, e(t.svgTitle)) : "";
145
+ function w(e) {
146
+ return e.svgTitle ? l("desc", { "aria-hidden": "true" }, r(e.svgTitle)) : "";
147
147
  }
148
148
  function T() {
149
149
  return `<desc aria-hidden="true">Composed with Vue Data UI ${a}</desc>`;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../vue-ui-donut-DlVRnVr_.js";
1
+ import { t as e } from "../vue-ui-donut-BuTd6dt4.js";
2
2
  export { e as createStaticVueUiDonut };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../vue-ui-xy-DJ8YKPgs.js";
1
+ import { t as e } from "../vue-ui-xy-D5KsuNR2.js";
2
2
  export { e as createStaticVueUiXy };
package/dist/ssr.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as e } from "./vue-ui-xy-DJ8YKPgs.js";
2
- import { t } from "./vue-ui-donut-DlVRnVr_.js";
1
+ import { t as e } from "./vue-ui-xy-D5KsuNR2.js";
2
+ import { t } from "./vue-ui-donut-BuTd6dt4.js";
3
3
  export { t as createStaticVueUiDonut, e as createStaticVueUiXy };