vue-data-ui 3.22.10 → 3.22.12

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 (192) hide show
  1. package/dist/{Arrow-Ku6rQ87g.js → Arrow-DKx74WtM.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CdkCqtag.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
  3. package/dist/{BaseIcon-CDTIUIKV.js → BaseIcon-CP5RWnqt.js} +1 -1
  4. package/dist/{BaseLegendToggle-BrQ2OlzI.js → BaseLegendToggle-DsWphmIb.js} +1 -1
  5. package/dist/{BaseZoomControls-CkEX0292.js → BaseZoomControls-C9_ygNN4.js} +2 -2
  6. package/dist/{ColorPicker-C959ZIW9.js → ColorPicker-3N_HVgXs.js} +2 -2
  7. package/dist/{DataTable-ByZy5gt1.js → DataTable-DzPEVvSo.js} +2 -2
  8. package/dist/{Legend-5VQGLnmx.js → Legend-C0xAnJdO.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-Bd8OzTqw.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
  10. package/dist/{PackageVersion-BoTvk0i5.js → PackageVersion-Di3tpYst.js} +1 -1
  11. package/dist/{PenAndPaper-CLaZJl6K.js → PenAndPaper-CSMVXpg2.js} +3 -3
  12. package/dist/{Shape-B5ksaGa1.js → Shape-BfnXr1nJ.js} +1 -1
  13. package/dist/Slicer-C6qNUmZ4.js +1149 -0
  14. package/dist/SlicerPreview-Cw6WMVhG.js +1689 -0
  15. package/dist/{SparkTooltip-CbYYc-xb.js → SparkTooltip-uoUiL_P8.js} +1 -1
  16. package/dist/{Title-Cr3jP7Qd.js → Title-BuPs74IB.js} +1 -1
  17. package/dist/{Tooltip-CDbLl3TD.js → Tooltip-CA1rtSyl.js} +1 -1
  18. package/dist/{UserOptions-BUQOnoPR.js → UserOptions-DzAFK9cY.js} +442 -441
  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-COPbGrdd.js → dom-to-png-BdAFKZQg.js} +1 -1
  89. package/dist/{exposedLib-CZbtc2a6.js → exposedLib-Ciw6TGtP.js} +1 -1
  90. package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
  91. package/dist/{img-CNdXiUfZ.js → img-Bikk1dGb.js} +1 -1
  92. package/dist/{labelUtils-JaoYKi2N.js → labelUtils-BUhssos9.js} +1 -1
  93. package/dist/{lib-CnHx5WfV.js → lib-CFm_J26b.js} +3 -3
  94. package/dist/{package-BRBLwZUc.js → package-Bmet7oRZ.js} +1 -1
  95. package/dist/{pdf-CEMzBeuV.js → pdf-zmz3l2uy.js} +1 -1
  96. package/dist/{render-common-DJXFRGhU.js → render-common-Bdolvm-Q.js} +2 -2
  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/composables.d.ts +28 -11
  102. package/dist/types/vue-data-ui.d.ts +27 -9
  103. package/dist/{useAutoSizeLabelsInsideViewbox-BUPt2iaP.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
  104. package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
  105. package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
  106. package/dist/useMountedDelay-BAjrhRJb.js +14 -0
  107. package/dist/{useNestedProp-D8NuRneO.js → useNestedProp-BY6DNN3i.js} +1 -1
  108. package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
  109. package/dist/{usePrinter-B-X_Pub0.js → usePrinter-BH-xle1O.js} +2 -2
  110. package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
  111. package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
  112. package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
  113. package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
  114. package/dist/utils.js +3 -3
  115. package/dist/{vue-data-ui-Bx_8d3b_.js → vue-data-ui-DfU5hAaT.js} +68 -68
  116. package/dist/vue-data-ui.js +72 -72
  117. package/dist/{vue-ui-3d-bar-CfUfbpSE.js → vue-ui-3d-bar--HLw40qY.js} +9 -10
  118. package/dist/vue-ui-accordion-UA88lv4d.js +81 -0
  119. package/dist/{vue-ui-age-pyramid-DD-4y5Jd.js → vue-ui-age-pyramid-Bd_ubvoh.js} +9 -10
  120. package/dist/{vue-ui-annotator-BvGE3lzE.js → vue-ui-annotator-q3ZKx6ua.js} +15 -9
  121. package/dist/{vue-ui-bullet-DYOdbaO2.js → vue-ui-bullet-CM2jgN74.js} +10 -11
  122. package/dist/{vue-ui-bump-B8fJoxHF.js → vue-ui-bump-DvShTelE.js} +10 -11
  123. package/dist/{vue-ui-candlestick-BUP1JoNs.js → vue-ui-candlestick-CK9Na9KB.js} +474 -474
  124. package/dist/{vue-ui-carousel-table-D-Bwhydt.js → vue-ui-carousel-table-BxORSyv1.js} +5 -5
  125. package/dist/{vue-ui-chestnut-C2VK2NEx.js → vue-ui-chestnut-tW2ZnqwW.js} +11 -11
  126. package/dist/{vue-ui-chord-AA-QjUQI.js → vue-ui-chord-DqKCW4Pl.js} +11 -12
  127. package/dist/{vue-ui-circle-pack-CdBFGYOK.js → vue-ui-circle-pack-kmzEbu7G.js} +21 -25
  128. package/dist/{vue-ui-cursor-Cm_J_5Gk.js → vue-ui-cursor-SvEAxNKD.js} +4 -4
  129. package/dist/{vue-ui-dag-CgRph4-n.js → vue-ui-dag-DZGUw98x.js} +16 -14
  130. package/dist/{vue-ui-dashboard-BuPw5QjB.js → vue-ui-dashboard-BzzECKaL.js} +71 -72
  131. package/dist/{vue-ui-digits-ClrukmcB.js → vue-ui-digits-CKWMJqU_.js} +4 -4
  132. package/dist/{vue-ui-donut-Bc-EPZvu.js → vue-ui-donut-BWbuCT47.js} +17 -18
  133. package/dist/{vue-ui-donut-DtQCrMKL.js → vue-ui-donut-DjdH53Zj.js} +3 -3
  134. package/dist/{vue-ui-donut-evolution-DHkiY-BD.js → vue-ui-donut-evolution-CJNnXg31.js} +357 -362
  135. package/dist/{vue-ui-dumbbell-BlHEH4Mw.js → vue-ui-dumbbell-BUyfJOxH.js} +13 -13
  136. package/dist/{vue-ui-flow-PjwAW2tY.js → vue-ui-flow-C39C5dvl.js} +10 -11
  137. package/dist/{vue-ui-funnel-DojI09FV.js → vue-ui-funnel-_aMNVUkP.js} +9 -10
  138. package/dist/{vue-ui-galaxy-txYIK_LG.js → vue-ui-galaxy-Dng0GSjQ.js} +12 -13
  139. package/dist/{vue-ui-gauge-CoL0OzSd.js → vue-ui-gauge-BmZPLW3e.js} +10 -11
  140. package/dist/{vue-ui-geo-yuL-_sqF.js → vue-ui-geo-BOx-pK_5.js} +15 -14
  141. package/dist/{vue-ui-gizmo-CbC5zV3K.js → vue-ui-gizmo-BCGwhNna.js} +4 -4
  142. package/dist/{vue-ui-heatmap-CwqsZIsR.js → vue-ui-heatmap-BORjgllw.js} +12 -13
  143. package/dist/{vue-ui-history-plot-CuWssH-D.js → vue-ui-history-plot-DY3fqgIY.js} +11 -12
  144. package/dist/{vue-ui-horizontal-bar-Dyje3GND.js → vue-ui-horizontal-bar-C8f4PisL.js} +17 -17
  145. package/dist/{vue-ui-kpi-BdYenScF.js → vue-ui-kpi-BdhXSBIJ.js} +4 -4
  146. package/dist/{vue-ui-mini-loader-BbwE3vBT.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
  147. package/dist/{vue-ui-molecule-BBh31vmd.js → vue-ui-molecule-PlmDykKX.js} +9 -8
  148. package/dist/{vue-ui-mood-radar-B_6GFlaR.js → vue-ui-mood-radar-C9LTAt_c.js} +10 -11
  149. package/dist/{vue-ui-nested-donuts-BWq-At5Y.js → vue-ui-nested-donuts-F5OXPxvU.js} +12 -13
  150. package/dist/{vue-ui-onion-BwGbSE-6.js → vue-ui-onion-D1-j-pvW.js} +13 -14
  151. package/dist/{vue-ui-parallel-coordinate-plot-Bh9hNoqf.js → vue-ui-parallel-coordinate-plot-Vb_QjRp5.js} +303 -307
  152. package/dist/{vue-ui-quadrant-B72Y4Zuw.js → vue-ui-quadrant-DMFawnHm.js} +19 -18
  153. package/dist/{vue-ui-quick-chart-B3LF2ViM.js → vue-ui-quick-chart-BF5fKxY2.js} +606 -632
  154. package/dist/{vue-ui-radar-4v_E8oGX.js → vue-ui-radar-D91pCqhn.js} +12 -13
  155. package/dist/{vue-ui-rating-CzLGCFWK.js → vue-ui-rating-DbxK-ftN.js} +3 -3
  156. package/dist/{vue-ui-relation-circle-B_8dyIv2.js → vue-ui-relation-circle-DfxvnOs6.js} +14 -21
  157. package/dist/{vue-ui-ridgeline-BArLhskj.js → vue-ui-ridgeline-BOL0m1mR.js} +13 -14
  158. package/dist/{vue-ui-rings-Csn5BgLk.js → vue-ui-rings-4RxAaMo4.js} +13 -14
  159. package/dist/vue-ui-scatter-Bs1wek00.js +2409 -0
  160. package/dist/{vue-ui-skeleton-KeIPGp9U.js → vue-ui-skeleton-B84nELF_.js} +4 -4
  161. package/dist/{vue-ui-smiley-C1mYDh4R.js → vue-ui-smiley-Da2jgkb7.js} +3 -3
  162. package/dist/{vue-ui-spark-trend-EqCqmHmU.js → vue-ui-spark-trend-BR-qkwJ6.js} +6 -7
  163. package/dist/{vue-ui-sparkbar-BPh45vBP.js → vue-ui-sparkbar-DghCbhj2.js} +51 -54
  164. package/dist/{vue-ui-sparkgauge-CtouPcyW.js → vue-ui-sparkgauge-DbeTbrxx.js} +4 -4
  165. package/dist/{vue-ui-sparkhistogram-D4sI0DHN.js → vue-ui-sparkhistogram-B2xSQyOp.js} +7 -8
  166. package/dist/{vue-ui-sparkline-BDFZ78Fz.js → vue-ui-sparkline-D3xRMcy9.js} +6 -7
  167. package/dist/{vue-ui-sparkstackbar-CbTXIfxm.js → vue-ui-sparkstackbar-D8z8fVFZ.js} +5 -5
  168. package/dist/vue-ui-stackbar-B63-UgSr.js +2322 -0
  169. package/dist/{vue-ui-stackline-CzfXl5ah.js → vue-ui-stackline-Dukmj3yT.js} +588 -586
  170. package/dist/vue-ui-strip-plot-Bws0p7tP.js +1736 -0
  171. package/dist/{vue-ui-table-BAKkFXki.js → vue-ui-table-dxCS6ztG.js} +12 -11
  172. package/dist/{vue-ui-table-heatmap-CUMxqHKK.js → vue-ui-table-heatmap-CSI482KG.js} +9 -15
  173. package/dist/{vue-ui-table-sparkline-BVTm16fd.js → vue-ui-table-sparkline-C-XgNV1l.js} +10 -8
  174. package/dist/{vue-ui-thermometer-CGeEW1KV.js → vue-ui-thermometer-BUKge0w8.js} +10 -11
  175. package/dist/{vue-ui-timer-Bz7EnsM1.js → vue-ui-timer-CCd3pznw.js} +7 -8
  176. package/dist/{vue-ui-tiremarks-IOqtk_Rr.js → vue-ui-tiremarks-CG5X5rgi.js} +9 -10
  177. package/dist/{vue-ui-treemap-JxNNtb7v.js → vue-ui-treemap-CNVB8Ng6.js} +501 -492
  178. package/dist/{vue-ui-waffle-D34mcJWi.js → vue-ui-waffle-DH5Rf1WM.js} +13 -14
  179. package/dist/{vue-ui-wheel-B_qEhyvk.js → vue-ui-wheel-BzEkxqDz.js} +10 -11
  180. package/dist/{vue-ui-word-cloud-TtObhd91.js → vue-ui-word-cloud-DbfGZ-hb.js} +15 -12
  181. package/dist/{vue-ui-world-R9o00A6c.js → vue-ui-world-CL6KcPcv.js} +10 -10
  182. package/dist/{vue-ui-xy-Do34-UbE.js → vue-ui-xy-4Xp7UoLs.js} +9 -9
  183. package/dist/{vue-ui-xy-CUt6sU1s.js → vue-ui-xy-BAmxfSSw.js} +1269 -1266
  184. package/dist/{vue-ui-xy-canvas-C6eRRH--.js → vue-ui-xy-canvas-7YSYRdwr.js} +27 -27
  185. package/package.json +3 -3
  186. package/dist/Slicer-WsWTQPKt.js +0 -1150
  187. package/dist/SlicerPreview-3n516NyE.js +0 -1688
  188. package/dist/useResponsive-BfnK0KxU.js +0 -19
  189. package/dist/vue-ui-accordion-Oo3IsX3-.js +0 -81
  190. package/dist/vue-ui-scatter-BBaOx94M.js +0 -2422
  191. package/dist/vue-ui-stackbar-nMXIY9x8.js +0 -2339
  192. package/dist/vue-ui-strip-plot-BCf5nthl.js +0 -1736
@@ -14,40 +14,40 @@ function e(e, t = []) {
14
14
  })
15
15
  };
16
16
  }
17
- var t = .95, n = 1e-9, r = 24, i = 100, a = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap();
18
- function s(e) {
17
+ var t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap();
18
+ function r(e) {
19
19
  return e * Math.PI / 180;
20
20
  }
21
- function c(e) {
22
- return Math.round(e * i) / i;
21
+ function i(e) {
22
+ return Math.round(e * 100) / 100;
23
23
  }
24
- function l(e, n) {
24
+ function a(e, t) {
25
25
  return {
26
26
  cx: e / 2,
27
- cy: n / 2,
28
- radius: Math.min(e, n) / 2 * t
27
+ cy: t / 2,
28
+ radius: Math.min(e, t) / 2 * .95
29
29
  };
30
30
  }
31
- function u(e, t, n = [0, 0]) {
32
- let [r, i] = n, a = s(i);
31
+ function o(e, t, n = [0, 0]) {
32
+ let [i, o] = n, s = r(o);
33
33
  return {
34
- ...l(e, t),
35
- lon0Rad: s(r),
36
- sinLat0: Math.sin(a),
37
- cosLat0: Math.cos(a)
34
+ ...a(e, t),
35
+ lon0Rad: r(i),
36
+ sinLat0: Math.sin(s),
37
+ cosLat0: Math.cos(s)
38
38
  };
39
39
  }
40
- function d([e, t]) {
41
- let n = s(t);
40
+ function s([e, t]) {
41
+ let n = r(t);
42
42
  return {
43
43
  lon: e,
44
44
  lat: t,
45
- lonRad: s(e),
45
+ lonRad: r(e),
46
46
  sinLat: Math.sin(n),
47
47
  cosLat: Math.cos(n)
48
48
  };
49
49
  }
50
- function f(e, t) {
50
+ function c(e, t) {
51
51
  let n = e.lonRad - t.lon0Rad, r = Math.sin(n), i = Math.cos(n);
52
52
  return {
53
53
  x: e.cosLat * r,
@@ -55,86 +55,86 @@ function f(e, t) {
55
55
  z: t.sinLat0 * e.sinLat + t.cosLat0 * e.cosLat * i
56
56
  };
57
57
  }
58
- function p(e, t = [0, 0]) {
59
- return f(d(e), u(1, 1, t));
58
+ function l(e, t = [0, 0]) {
59
+ return c(s(e), o(1, 1, t));
60
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;
61
+ function u(e, t, n = 10) {
62
+ let { cx: r, cy: i, radius: o } = a(e, t), s = r - o - n, c = i - o - n, l = r + o + n, u = i + o + n;
63
63
  return {
64
- minX: Math.floor(o),
65
- minY: Math.floor(s),
66
- width: Math.ceil(c - o),
67
- height: Math.ceil(u - s)
64
+ minX: Math.floor(s),
65
+ minY: Math.floor(c),
66
+ width: Math.ceil(l - s),
67
+ height: Math.ceil(u - c)
68
68
  };
69
69
  }
70
- function h(e, t) {
71
- return f(e, t).z >= -1e-9;
70
+ function d(e, t) {
71
+ return c(e, t).z >= -1e-9;
72
72
  }
73
- function g(e, t = [0, 0]) {
74
- return p(e, t).z >= -1e-9;
73
+ function f(e, t = [0, 0]) {
74
+ return l(e, t).z >= -1e-9;
75
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)];
76
+ function p(e, t, n = !1) {
77
+ let r = c(e, t);
78
+ if (r.z < -1e-9) {
79
+ if (!n) return [NaN, NaN];
80
+ let e = Math.hypot(r.x, r.y);
81
+ return !Number.isFinite(e) || e <= 1e-9 ? [NaN, NaN] : [t.cx + t.radius * (r.x / e), t.cy - t.radius * (r.y / e)];
82
82
  }
83
- return [t.cx + t.radius * i.x, t.cy - t.radius * i.y];
83
+ return [t.cx + t.radius * r.x, t.cy - t.radius * r.y];
84
84
  }
85
- function v(e, t, n, r = [0, 0], i = !1) {
86
- return _(d(e), u(t, n, r), i);
85
+ function m(e, t, n, r = [0, 0], i = !1) {
86
+ return p(s(e), o(t, n, r), i);
87
87
  }
88
- function y(e) {
88
+ function h(e) {
89
89
  return ((e + 180) % 360 + 360) % 360 - 180;
90
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]);
91
+ function g(e, t, n) {
92
+ let r = h(t.lon - e.lon);
93
+ return s([e.lon + r * n, e.lat + (t.lat - e.lat) * n]);
94
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;
95
+ function _(e, t, n) {
96
+ let r = 0, i = 1, a = d(e, n);
97
+ for (let o = 0; o < 24; o += 1) {
98
+ let o = (r + i) / 2;
99
+ d(g(e, t, o), n) === a ? r = o : i = o;
100
100
  }
101
- return b(e, t, (i + a) / 2);
101
+ return g(e, t, (r + i) / 2);
102
102
  }
103
- function S(e, t) {
103
+ function v(e, t) {
104
104
  return Math.abs(e[0] - t[0]) < 1e-12 && Math.abs(e[1] - t[1]) < 1e-12;
105
105
  }
106
- function C(e) {
106
+ function y(e) {
107
107
  if (!Array.isArray(e)) return [];
108
- let t = a.get(e);
109
- if (t) return t;
110
- let n = [];
108
+ let n = t.get(e);
109
+ if (n) return n;
110
+ let r = [];
111
111
  for (let t of e) {
112
- let e = n[n.length - 1];
113
- (!e || !S(e, t)) && n.push(t);
112
+ let e = r[r.length - 1];
113
+ (!e || !v(e, t)) && r.push(t);
114
114
  }
115
- return n.length > 1 && S(n[0], n[n.length - 1]) && n.pop(), a.set(e, n), n;
115
+ return r.length > 1 && v(r[0], r[r.length - 1]) && r.pop(), t.set(e, r), r;
116
116
  }
117
- function w(e) {
117
+ function b(e) {
118
118
  if (!Array.isArray(e)) return [];
119
- let t = o.get(e);
119
+ let t = n.get(e);
120
120
  if (t) return t;
121
- let n = C(e).map(d);
122
- return o.set(e, n), n;
121
+ let r = y(e).map(s);
122
+ return n.set(e, r), r;
123
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);
124
+ function x(e) {
125
+ let t = "", n = 0, r = null, a = null;
126
+ for (let o of e) {
127
+ if (!o || !Number.isFinite(o[0]) || !Number.isFinite(o[1])) continue;
128
+ let e = i(o[0]), s = i(o[1]);
129
+ r !== null && Math.abs(r - e) < 1e-8 && Math.abs(a - s) < 1e-8 || (t += n === 0 ? `M${e},${s}` : `L${e},${s}`, r = e, a = s, n += 1);
130
130
  }
131
131
  return n < 3 ? "" : `${t}Z`;
132
132
  }
133
- function E(e, t) {
134
- let n = w(e), r = n.length;
133
+ function S(e, t) {
134
+ let n = b(e), r = n.length;
135
135
  if (r < 3) return "";
136
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);
137
+ for (let e = 0; e < r; e += 1) i[e] = d(n[e], t), i[e] && (a = !0);
138
138
  for (let e = 0; e < r; e += 1) {
139
139
  let t = (e - 1 + r) % r;
140
140
  if (i[e] !== i[t]) {
@@ -147,22 +147,22 @@ function E(e, t) {
147
147
  for (let e = 0; e < r; e += 1) {
148
148
  let a = n[e], o = n[(e - 1 + r) % r], c = i[e];
149
149
  if (i[(e - 1 + r) % r] !== c) {
150
- let e = x(o, a, t);
151
- s.push(_(e, t, !1));
150
+ let e = _(o, a, t);
151
+ s.push(p(e, t, !1));
152
152
  }
153
- s.push(_(a, t, !c));
153
+ s.push(p(a, t, !c));
154
154
  }
155
- return T(s);
155
+ return x(s);
156
156
  }
157
- function D(e, t, n, r, i = [0, 0]) {
158
- return T(C(e).map((e) => t(e, n, r, i)));
157
+ function C(e, t, n, r, i = [0, 0]) {
158
+ return x(y(e).map((e) => t(e, n, r, i)));
159
159
  }
160
- function O(e, { projection: t = "globe", width: n, height: r, center: i = [0, 0] } = {}) {
160
+ function w(e, { projection: t = "globe", width: n, height: r, center: i = [0, 0] } = {}) {
161
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(" ") : "";
162
+ let a = T[t] || T.globe, s = t === "globe" ? o(n, r, i) : null, c = (e) => e.map((e) => t === "globe" ? S(e, s) : C(e, a, n, r, i)).filter(Boolean).join(" ");
163
+ return e.type === "Polygon" ? c(e.coordinates) : e.type === "MultiPolygon" ? e.coordinates.map(c).filter(Boolean).join(" ") : "";
164
164
  }
165
- var k = {
165
+ var T = {
166
166
  mercator([e, t], n, r, i) {
167
167
  t = Math.max(Math.min(t, 85.05113), -85.05113);
168
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);
@@ -245,15 +245,15 @@ var k = {
245
245
  return [h + f * m, g - p * m];
246
246
  },
247
247
  globe(e, t, n, r = [0, 0]) {
248
- return v(e, t, n, r, !1);
248
+ return m(e, t, n, r, !1);
249
249
  },
250
250
  azimuthalEquidistant([e, t], n, r, i = [0, 0]) {
251
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;
252
252
  return [_ + m * g, v - h * g];
253
253
  }
254
254
  };
255
- function A(e, t, n, r, i = [0, 0]) {
256
- if (e === k.globe) return m(n, r);
255
+ function E(e, t, n, r, i = [0, 0]) {
256
+ if (e === T.globe) return u(n, r);
257
257
  let a = Infinity, o = Infinity, s = -Infinity, c = -Infinity;
258
258
  for (let l of t) {
259
259
  let t = l.geometry, u = t.type === "Polygon" ? [t.coordinates] : t.type === "MultiPolygon" ? t.coordinates : [];
@@ -274,29 +274,29 @@ function A(e, t, n, r, i = [0, 0]) {
274
274
  height: Math.ceil(c - o) + 20
275
275
  };
276
276
  }
277
- function j(e, t, n) {
277
+ function D(e, t, n) {
278
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);
279
279
  return r && i && (r.geometry.type === "Polygon" && (r.geometry = {
280
280
  type: "MultiPolygon",
281
281
  coordinates: [r.geometry.coordinates]
282
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;
283
283
  }
284
- function M(e, t) {
284
+ function O(e, t) {
285
285
  let n = Array.isArray(t) ? t.map((e) => ({ ...e })) : t.features ? t.features.map((e) => ({ ...e })) : [];
286
- return e.style.chart.territory.showTaiwanAsPartOfChina && (n = j(n, "China", "Taiwan")), t.type === "FeatureCollection" ? {
286
+ return e.style.chart.territory.showTaiwanAsPartOfChina && (n = D(n, "China", "Taiwan")), t.type === "FeatureCollection" ? {
287
287
  ...t,
288
288
  features: n
289
289
  } : n;
290
290
  }
291
- var N = {
292
- projections: k,
293
- getProjectedBounds: A,
294
- setupTerritories: M,
291
+ var k = {
292
+ projections: T,
293
+ getProjectedBounds: E,
294
+ setupTerritories: O,
295
295
  simplifyGeoJSON: e,
296
- geoToPath: O,
297
- getGlobeMetrics: l,
298
- getGlobeBounds: m,
299
- isGlobePointVisible: g
296
+ geoToPath: w,
297
+ getGlobeMetrics: a,
298
+ getGlobeBounds: u,
299
+ isGlobePointVisible: f
300
300
  };
301
301
  //#endregion
302
- export { N as t };
302
+ export { k as t };
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { t } from "./dom-to-png-COPbGrdd.js";
2
+ import { t } from "./dom-to-png-BdAFKZQg.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 { Pt as e } from "./lib-CnHx5WfV.js";
1
+ import { Pt as e } from "./lib-CFm_J26b.js";
2
2
  //#region src/labelUtils.js
3
3
  function t({ config: t = {
4
4
  useValueParens: !1,
@@ -811,7 +811,7 @@ function Fe(e) {
811
811
  return typeof e.apply(null, arguments) == "string";
812
812
  }
813
813
  function Ie(e) {
814
- return Array.isArray(e) ? e.length === 0 : e ? Object.keys(e).length === 0 : !0;
814
+ return Array.isArray(e) ? e.length === 0 : !e || Object.keys(e).length === 0;
815
815
  }
816
816
  function Le({ componentName: e, type: t, property: n = "", index: i = "", key: a = "", warn: o = !0, debug: s = !0 }) {
817
817
  if (!s) return;
@@ -1784,7 +1784,7 @@ function Ft(e, t, n = {}) {
1784
1784
  cancelable: !0,
1785
1785
  composed: !0,
1786
1786
  ...n
1787
- }, i = new Set([
1787
+ }, i = /* @__PURE__ */ new Set([
1788
1788
  "click",
1789
1789
  "mousedown",
1790
1790
  "mouseup",
@@ -1795,7 +1795,7 @@ function Ft(e, t, n = {}) {
1795
1795
  "mouseleave",
1796
1796
  "dblclick",
1797
1797
  "contextmenu"
1798
- ]), a = new Set([
1798
+ ]), a = /* @__PURE__ */ new Set([
1799
1799
  "keydown",
1800
1800
  "keyup",
1801
1801
  "keypress"
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var e = "3.22.10";
2
+ var e = "3.22.12";
3
3
  //#endregion
4
4
  export { e as t };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./dom-to-png-COPbGrdd.js";
1
+ import { t as e } from "./dom-to-png-BdAFKZQg.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 { R as e, j as t, nt as n, tt as r, x as i } from "./lib-CnHx5WfV.js";
2
- import { t as a } from "./package-BRBLwZUc.js";
1
+ import { R as e, j as t, nt as n, tt as r, x as i } from "./lib-CFm_J26b.js";
2
+ import { t as a } from "./package-Bmet7oRZ.js";
3
3
  //#region src/svg/utils/index.js
4
4
  function o(e, t = 0) {
5
5
  let n = Number(e);
@@ -1,2 +1,2 @@
1
- import { t as e } from "../vue-ui-donut-DtQCrMKL.js";
1
+ import { t as e } from "../vue-ui-donut-DjdH53Zj.js";
2
2
  export { e as createStaticVueUiDonut };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../vue-ui-xy-Do34-UbE.js";
1
+ import { t as e } from "../vue-ui-xy-4Xp7UoLs.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-Do34-UbE.js";
2
- import { t } from "./vue-ui-donut-DtQCrMKL.js";
1
+ import { t as e } from "./vue-ui-xy-4Xp7UoLs.js";
2
+ import { t } from "./vue-ui-donut-DjdH53Zj.js";
3
3
  export { t as createStaticVueUiDonut, e as createStaticVueUiXy };