vue-data-ui 3.22.14 → 3.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-Ci7Burxz.js → Arrow-CF0VFcBH.js} +1 -1
  4. package/dist/{BaseDraggableDialog-hyW32gLf.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
  5. package/dist/{BaseIcon-DJbOzCDs.js → BaseIcon-BfndwIWE.js} +4 -3
  6. package/dist/{BaseLegendToggle-DJU4VsLO.js → BaseLegendToggle-DZVucLnv.js} +1 -1
  7. package/dist/{BaseZoomControls-CwhpsHIL.js → BaseZoomControls-BZvCnZEi.js} +2 -2
  8. package/dist/{ColorPicker-BVWrKEQl.js → ColorPicker--ayG2YHf.js} +2 -2
  9. package/dist/{DataTable-rIsBpJMt.js → DataTable-BbKgJ5UI.js} +2 -2
  10. package/dist/HillActions-BD9j_sOU.js +187 -0
  11. package/dist/{Legend-DSPDFP3n.js → Legend-CQxUgOd-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-DZyYthbM.js → NonSvgPenAndPaper-4ypecDg1.js} +22 -22
  13. package/dist/{PackageVersion-BUmadjVO.js → PackageVersion-D6d8SCp9.js} +1 -1
  14. package/dist/{PenAndPaper-D--sbRMA.js → PenAndPaper-DAE-tnEQ.js} +14 -14
  15. package/dist/{Shape-Dmh9jBFh.js → Shape-C21CMlWS.js} +3 -3
  16. package/dist/Slicer-CIk57nL4.js +1163 -0
  17. package/dist/{SlicerPreview-CCIb3v8u.js → SlicerPreview-wUw1hFwe.js} +384 -370
  18. package/dist/{SparkTooltip-GjWLZ39s.js → SparkTooltip-CjsbIhzi.js} +6 -6
  19. package/dist/Title-BE3qg9xl.js +87 -0
  20. package/dist/{Tooltip-CEbqzIhL.js → Tooltip-DhjyfHwz.js} +2 -2
  21. package/dist/{UserOptions-BknvMNU1.js → UserOptions-Dt98of5H.js} +2 -2
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-heatmap.js +1 -1
  48. package/dist/components/vue-ui-hill.js +2 -0
  49. package/dist/components/vue-ui-history-plot.js +1 -1
  50. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  51. package/dist/components/vue-ui-icon.js +1 -1
  52. package/dist/components/vue-ui-kpi.js +1 -1
  53. package/dist/components/vue-ui-mini-loader.js +1 -1
  54. package/dist/components/vue-ui-molecule.js +1 -1
  55. package/dist/components/vue-ui-mood-radar.js +1 -1
  56. package/dist/components/vue-ui-nested-donuts.js +1 -1
  57. package/dist/components/vue-ui-onion.js +1 -1
  58. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/composables.js +1 -1
  93. package/dist/{dom-to-png-BbPRUKX6.js → dom-to-png-BYIvdTe8.js} +1 -1
  94. package/dist/exposedLib-C0DPCgFj.js +28 -0
  95. package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
  96. package/dist/{img-zY7_pJz1.js → img-Bnokohej.js} +1 -1
  97. package/dist/{labelUtils-DYdYmN_Q.js → labelUtils-BeVpDvTJ.js} +1 -1
  98. package/dist/{lib-C-QGo8GG.js → lib-Bttd6u5E.js} +27 -12
  99. package/dist/{package-QmuZcjWs.js → package-KvlL5CqE.js} +1 -1
  100. package/dist/{pdf-CuSS-5_j.js → pdf-CVIDfCrS.js} +1 -1
  101. package/dist/{render-common-DasqIYp9.js → render-common-oDYGTc5P.js} +21 -21
  102. package/dist/ssr/vue-ui-donut.js +1 -1
  103. package/dist/ssr/vue-ui-xy.js +1 -1
  104. package/dist/ssr.js +2 -2
  105. package/dist/style.css +1 -1
  106. package/dist/types/vue-data-ui.d.ts +496 -0
  107. package/dist/types/vue-ui-hill.d.ts +90 -0
  108. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  109. package/dist/{useConfig-C0V0eG7L.js → useConfig-D3scuR88.js} +774 -477
  110. package/dist/useHints-Dq_w2E8B.js +66 -0
  111. package/dist/{useNestedProp-BYfiWVP8.js → useNestedProp-vPNvh7rV.js} +5 -3
  112. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Brg8mm5J.js} +3 -2
  113. package/dist/{usePrinter-C5ordS-4.js → usePrinter-DN5bYhTG.js} +2 -2
  114. package/dist/{useSvgExport-Ba9qBr9M.js → useSvgExport-DH-FfcqQ.js} +1 -1
  115. package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
  116. package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
  117. package/dist/useTransitions-g_zBREk2.js +39 -0
  118. package/dist/utils.js +14 -14
  119. package/dist/{vue-data-ui-D3jZ4lg1.js → vue-data-ui-DGWDPCwC.js} +85 -81
  120. package/dist/vue-data-ui.js +77 -76
  121. package/dist/vue-ui-3d-bar-C_Su9fve.js +1849 -0
  122. package/dist/{vue-ui-accordion-FimGHtuy.js → vue-ui-accordion-BxGriZik.js} +4 -4
  123. package/dist/vue-ui-age-pyramid-D4k1MkAL.js +1264 -0
  124. package/dist/vue-ui-annotator-CCtnM8Rv.js +2886 -0
  125. package/dist/vue-ui-bullet-DLZr2Uk8.js +724 -0
  126. package/dist/{vue-ui-bump-CG3WTTFy.js → vue-ui-bump-CcdzJZ9n.js} +334 -297
  127. package/dist/{vue-ui-candlestick-C3smYvQA.js → vue-ui-candlestick-EEEt7ORC.js} +468 -442
  128. package/dist/vue-ui-carousel-table-BicIpNAD.js +463 -0
  129. package/dist/{vue-ui-chestnut-i7FYoqi8.js → vue-ui-chestnut-BI7mC5dd.js} +523 -497
  130. package/dist/{vue-ui-chord-DCZo55QA.js → vue-ui-chord-DXaq8ZMu.js} +432 -426
  131. package/dist/vue-ui-circle-pack-XHJBMG51.js +1659 -0
  132. package/dist/{vue-ui-cursor-DEf_l0Xc.js → vue-ui-cursor-BqHr0n1Z.js} +61 -61
  133. package/dist/{vue-ui-dag-beo3-quD.js → vue-ui-dag-jMLVoQkb.js} +677 -674
  134. package/dist/vue-ui-dashboard-DVAUFETR.js +520 -0
  135. package/dist/{vue-ui-digits-BnMqGAhl.js → vue-ui-digits-Dy4gG6qm.js} +59 -51
  136. package/dist/vue-ui-donut-C0cWRLbU.js +2441 -0
  137. package/dist/{vue-ui-donut-Cr0uTWGk.js → vue-ui-donut-CYpxGBhl.js} +117 -116
  138. package/dist/{vue-ui-donut-evolution-D54NP3FP.js → vue-ui-donut-evolution-DwR47A2r.js} +534 -448
  139. package/dist/vue-ui-dumbbell-DxVbRjKR.js +1582 -0
  140. package/dist/{vue-ui-flow-CnateJjc.js → vue-ui-flow-DWaZF4FS.js} +415 -407
  141. package/dist/vue-ui-funnel-Bmpx5GHR.js +797 -0
  142. package/dist/vue-ui-galaxy-CWBP9oH9.js +1111 -0
  143. package/dist/vue-ui-gauge-ByE_txav.js +953 -0
  144. package/dist/{vue-ui-geo-DnO1RIFR.js → vue-ui-geo-ZA7CBy8f.js} +372 -357
  145. package/dist/{vue-ui-gizmo-DyxeSKIk.js → vue-ui-gizmo-SQCou0bQ.js} +57 -49
  146. package/dist/{vue-ui-heatmap-6Ja5LKYE.js → vue-ui-heatmap-CHd9gs_p.js} +473 -465
  147. package/dist/vue-ui-hill-BT183G-_.js +1768 -0
  148. package/dist/vue-ui-history-plot-BwnlC1mx.js +1723 -0
  149. package/dist/vue-ui-horizontal-bar-BUar2HUH.js +1733 -0
  150. package/dist/vue-ui-kpi-BF_9WWoo.js +104 -0
  151. package/dist/vue-ui-mini-loader-CvfukjXi.js +133 -0
  152. package/dist/vue-ui-molecule-Bi2CKHer.js +958 -0
  153. package/dist/{vue-ui-mood-radar-TWo57SKD.js → vue-ui-mood-radar-_zpbmvJs.js} +349 -341
  154. package/dist/{vue-ui-nested-donuts-W0TpPXIQ.js → vue-ui-nested-donuts-qHZAJ70u.js} +452 -416
  155. package/dist/vue-ui-onion-CB5RYIy5.js +1258 -0
  156. package/dist/vue-ui-parallel-coordinate-plot-BUwt-apg.js +1455 -0
  157. package/dist/{vue-ui-quadrant-BM9VLDcC.js → vue-ui-quadrant-CoROD3er.js} +636 -628
  158. package/dist/vue-ui-quick-chart-BcH7eY4-.js +2397 -0
  159. package/dist/{vue-ui-radar-BVz6Uq2k.js → vue-ui-radar-DGbaXGme.js} +380 -334
  160. package/dist/vue-ui-rating-Bo3zD3yW.js +360 -0
  161. package/dist/vue-ui-relation-circle-DaU1eTsG.js +925 -0
  162. package/dist/vue-ui-ridgeline-BCaGcyfk.js +1664 -0
  163. package/dist/{vue-ui-rings-DEZrfBYX.js → vue-ui-rings-BJUBn8_b.js} +450 -424
  164. package/dist/{vue-ui-scatter-owaIOpD0.js → vue-ui-scatter-Pcft1bUt.js} +721 -702
  165. package/dist/{vue-ui-skeleton-Cxszgax7.js → vue-ui-skeleton-EeJcGbCo.js} +395 -387
  166. package/dist/{vue-ui-smiley-DZBPvVeN.js → vue-ui-smiley-D0gibt5c.js} +128 -120
  167. package/dist/{vue-ui-spark-trend-CW4cLUqP.js → vue-ui-spark-trend-BRoQ7JpQ.js} +132 -117
  168. package/dist/{vue-ui-sparkbar-DeSSqv4v.js → vue-ui-sparkbar-DFp2k7-7.js} +119 -111
  169. package/dist/{vue-ui-sparkgauge-VSiPVgUQ.js → vue-ui-sparkgauge-D0Bq85Hs.js} +76 -68
  170. package/dist/vue-ui-sparkhistogram-BPln7v63.js +590 -0
  171. package/dist/{vue-ui-sparkline-DyZdAQMl.js → vue-ui-sparkline-C6Q45Dqp.js} +391 -365
  172. package/dist/vue-ui-sparkstackbar-CjK4bcQg.js +692 -0
  173. package/dist/vue-ui-stackbar-Ca8EPf3e.js +2353 -0
  174. package/dist/vue-ui-stackline-Pz5WWlWT.js +2467 -0
  175. package/dist/{vue-ui-strip-plot-BquHFKHA.js → vue-ui-strip-plot-Dw4MGDSO.js} +508 -487
  176. package/dist/vue-ui-table-Bjg-ujJu.js +1352 -0
  177. package/dist/vue-ui-table-heatmap-ljeYW8Wc.js +364 -0
  178. package/dist/{vue-ui-table-sparkline-CyGqW88t.js → vue-ui-table-sparkline-iRFmtK5S.js} +207 -181
  179. package/dist/vue-ui-thermometer-D8uiOaeA.js +777 -0
  180. package/dist/{vue-ui-timer-BVjydam-.js → vue-ui-timer-CYw983oL.js} +66 -58
  181. package/dist/vue-ui-tiremarks-CekiW2Ru.js +559 -0
  182. package/dist/vue-ui-treemap-h4VbnqPA.js +1760 -0
  183. package/dist/vue-ui-waffle-cu0w_s6L.js +1412 -0
  184. package/dist/{vue-ui-wheel-D-VVxvxY.js → vue-ui-wheel-tLvJadk5.js} +225 -217
  185. package/dist/{vue-ui-word-cloud-CcRch2t2.js → vue-ui-word-cloud-BjpGSsod.js} +440 -432
  186. package/dist/{vue-ui-world-BJq4PZqF.js → vue-ui-world-B4fCS3jN.js} +350 -342
  187. package/dist/{vue-ui-xy-D64AB5Qy.js → vue-ui-xy-7ZT9IRD8.js} +1639 -1595
  188. package/dist/{vue-ui-xy-canvas-mDqjPtxh.js → vue-ui-xy-canvas-BnLEwBpi.js} +459 -431
  189. package/dist/{vue-ui-xy-B8XBn08L.js → vue-ui-xy-gyNS0yH0.js} +216 -213
  190. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  191. package/package.json +4 -4
  192. package/dist/Slicer-JdCzBeYM.js +0 -1149
  193. package/dist/Title-Thf71-8D.js +0 -87
  194. package/dist/exposedLib-CfZhN94x.js +0 -25
  195. package/dist/useAutoSizeLabelsInsideViewbox-CSzmRywi.js +0 -50
  196. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  197. package/dist/vue-ui-3d-bar-D9-jAA5Z.js +0 -1824
  198. package/dist/vue-ui-age-pyramid-D4f-Agb7.js +0 -1246
  199. package/dist/vue-ui-annotator-P9E8hpJl.js +0 -2905
  200. package/dist/vue-ui-bullet-CKg0bShN.js +0 -709
  201. package/dist/vue-ui-carousel-table-BD_fxykj.js +0 -455
  202. package/dist/vue-ui-circle-pack--DUVDQx3.js +0 -1610
  203. package/dist/vue-ui-dashboard-mGLvP0UA.js +0 -512
  204. package/dist/vue-ui-donut-BCLG16Vb.js +0 -2418
  205. package/dist/vue-ui-dumbbell-DZ78WASa.js +0 -1564
  206. package/dist/vue-ui-funnel-DSpUMyDO.js +0 -781
  207. package/dist/vue-ui-galaxy-CxKafV1X.js +0 -1076
  208. package/dist/vue-ui-gauge-CegUK3FD.js +0 -925
  209. package/dist/vue-ui-history-plot-XOexkxeI.js +0 -1725
  210. package/dist/vue-ui-horizontal-bar-BCTdLxjK.js +0 -1689
  211. package/dist/vue-ui-kpi-EenGDZ-l.js +0 -96
  212. package/dist/vue-ui-mini-loader-CA7XxPk7.js +0 -125
  213. package/dist/vue-ui-molecule-5rpD2mlK.js +0 -932
  214. package/dist/vue-ui-onion-CDC9AGh1.js +0 -1199
  215. package/dist/vue-ui-parallel-coordinate-plot-DUOI7HoD.js +0 -1412
  216. package/dist/vue-ui-quick-chart-B8XCKef-.js +0 -2443
  217. package/dist/vue-ui-rating-B7ApWpIJ.js +0 -352
  218. package/dist/vue-ui-relation-circle-LVOR5VZ6.js +0 -917
  219. package/dist/vue-ui-ridgeline-BlyzSJHc.js +0 -1627
  220. package/dist/vue-ui-sparkhistogram-B5252IVr.js +0 -575
  221. package/dist/vue-ui-sparkstackbar-CiLgNzaI.js +0 -674
  222. package/dist/vue-ui-stackbar-Bwz6Z7M4.js +0 -2322
  223. package/dist/vue-ui-stackline-DX3YDRSg.js +0 -2427
  224. package/dist/vue-ui-table-DEhy61ln.js +0 -1339
  225. package/dist/vue-ui-table-heatmap-1LTxQfQX.js +0 -338
  226. package/dist/vue-ui-thermometer-CNvTQJUq.js +0 -769
  227. package/dist/vue-ui-tiremarks-3ZBAE8SA.js +0 -551
  228. package/dist/vue-ui-treemap-FqqXQvZw.js +0 -1727
  229. package/dist/vue-ui-waffle-B37Yx9uw.js +0 -1367
@@ -364,9 +364,7 @@ function A(e, t) {
364
364
  case t:
365
365
  a = (n - e) / c + 2;
366
366
  break;
367
- case n:
368
- a = (e - t) / c + 4;
369
- break;
367
+ case n: a = (e - t) / c + 4;
370
368
  }
371
369
  a /= 6;
372
370
  }
@@ -597,7 +595,11 @@ function I(e) {
597
595
  let t = e.length - 1, n = [`${h(e[0].x)},${h(e[0].y)}`], r = [], i = [], a = [], o = [];
598
596
  for (let n = 0; n < t; n += 1) r[n] = e[n + 1].x - e[n].x, i[n] = e[n + 1].y - e[n].y, a[n] = i[n] / r[n];
599
597
  o[0] = a[0], o[t] = a[t - 1];
600
- for (let e = 1; e < t; e += 1) a[e - 1] * a[e] <= 0 ? o[e] = 0 : o[e] = 2 * a[e - 1] * a[e] / (a[e - 1] + a[e]);
598
+ for (let e = 1; e < t; e += 1) if (a[e - 1] * a[e] <= 0) o[e] = 0;
599
+ else {
600
+ let t = 2 * a[e - 1] * a[e] / (a[e - 1] + a[e]);
601
+ o[e] = t;
602
+ }
601
603
  for (let r = 0; r < t; r += 1) {
602
604
  let t = e[r].x, i = e[r].y, a = e[r + 1].x, s = e[r + 1].y, c = o[r], l = o[r + 1], u = t + (a - t) / 3, d = i + c * (a - t) / 3, f = a - (a - t) / 3, p = s - l * (a - t) / 3;
603
605
  n.push(`C ${h(u)},${h(d)} ${h(f)},${h(p)} ${h(a)},${h(s)}`);
@@ -657,7 +659,8 @@ function B(e) {
657
659
  if (Math.abs(n - a) < o) {
658
660
  a = e;
659
661
  break;
660
- } else n < a ? r = e : i = e;
662
+ }
663
+ n < a ? r = e : i = e;
661
664
  }
662
665
  let { x: s, y: c } = t.getPointAtLength(a);
663
666
  return {
@@ -1141,9 +1144,7 @@ function Qe(e) {
1141
1144
  y: l[u + 5]
1142
1145
  }), i = l[u + 4], a = l[u + 5], u += 6;
1143
1146
  break;
1144
- case "Z":
1145
- c += t(i, a, o, s), i = o, a = s;
1146
- break;
1147
+ case "Z": c += t(i, a, o, s), i = o, a = s;
1147
1148
  }
1148
1149
  }), c;
1149
1150
  }
@@ -1197,7 +1198,8 @@ function it(e, t = [], n = !1) {
1197
1198
  return t.forEach((e) => {
1198
1199
  n.hasOwnProperty(e) && !(/* @__PURE__ */ "NAME.name.TITLE.title.DESCRIPTION.description.LABEL.label.TIME.time.PERIOD.period.MONTH.month.YEAR.year.MONTHS.months.YEARS.years.DAY.day.DAYS.days.HOUR.hour.HOURS.hours".split(".")).includes(e) && Array.isArray(n[e]) && (n[e] = i(n[e]));
1199
1200
  }), Object.fromEntries(Object.entries(n).map(([e, t]) => [e, i(t)]));
1200
- } else return r(e);
1201
+ }
1202
+ return r(e);
1201
1203
  }
1202
1204
  return i(e);
1203
1205
  }
@@ -1453,7 +1455,11 @@ function yt(e) {
1453
1455
  let t = r.length - 1, i = [], a = [], o = [], s = [];
1454
1456
  for (let e = 0; e < t; e += 1) i[e] = r[e + 1].x - r[e].x, a[e] = r[e + 1].y - r[e].y, o[e] = a[e] / i[e];
1455
1457
  s[0] = o[0], s[t] = o[t - 1];
1456
- for (let e = 1; e < t; e += 1) o[e - 1] * o[e] <= 0 ? s[e] = 0 : s[e] = 2 * o[e - 1] * o[e] / (o[e - 1] + o[e]);
1458
+ for (let e = 1; e < t; e += 1) if (o[e - 1] * o[e] <= 0) s[e] = 0;
1459
+ else {
1460
+ let t = 2 * o[e - 1] * o[e] / (o[e - 1] + o[e]);
1461
+ s[e] = t;
1462
+ }
1457
1463
  n += `${e === 0 ? "" : "M"}${h(r[0].x)},${h(r[0].y)} `;
1458
1464
  for (let e = 0; e < t; e += 1) {
1459
1465
  let t = r[e].x, i = r[e].y, a = r[e + 1].x, o = r[e + 1].y, c = s[e], l = s[e + 1], u = t + (a - t) / 3, d = i + c * (a - t) / 3, f = a - (a - t) / 3, p = o - l * (a - t) / 3;
@@ -1545,7 +1551,11 @@ function Tt(e, t, n = !1, r = !0) {
1545
1551
  let n = e.length - 1, i = [], a = [], o = [], s = [];
1546
1552
  for (let t = 0; t < n; t += 1) i[t] = e[t + 1].x - e[t].x, a[t] = e[t + 1].y - e[t].y, o[t] = a[t] / i[t];
1547
1553
  s[0] = o[0], s[n] = o[n - 1];
1548
- for (let e = 1; e < n; e += 1) o[e - 1] * o[e] <= 0 ? s[e] = 0 : s[e] = 2 * o[e - 1] * o[e] / (o[e - 1] + o[e]);
1554
+ for (let e = 1; e < n; e += 1) if (o[e - 1] * o[e] <= 0) s[e] = 0;
1555
+ else {
1556
+ let t = 2 * o[e - 1] * o[e] / (o[e - 1] + o[e]);
1557
+ s[e] = t;
1558
+ }
1549
1559
  let c = `M${e[0].x},${t}`;
1550
1560
  c += ` L${e[0].x},${e[0].y}`;
1551
1561
  for (let t = 0; t < n; t += 1) {
@@ -1997,5 +2007,10 @@ function Yt(e, t) {
1997
2007
  let r = b(e);
1998
2008
  return r ? Array.from({ length: n }, (e, t) => A(r, t / n)) : (console.error(`Vue Data Ui - createColorWheel - Invalid starting color: ${r}`), []);
1999
2009
  }
2010
+ function Xt(e, t) {
2011
+ if (!t || !e) return e;
2012
+ let n = String(e ?? ""), r = Math.max(0, Number(t) || 0);
2013
+ return n.length > r ? `${n.slice(0, r)}...` : n;
2014
+ }
2000
2015
  //#endregion
2001
- export { Ot as $, ot as A, Le as At, he as B, A as Bt, Ye as C, f as Ct, ut as D, Te as Dt, we as E, lt as Et, yt as F, dt as Ft, qe as G, v as Gt, vt as H, xe as Ht, wt as I, ft as It, Ee as J, Lt as Jt, _e as K, $e as Kt, He as L, it as Lt, Tt as M, y as Mt, I as N, g as Nt, mt as O, i as Ot, L as P, Ut as Pt, Ce as Q, oe as R, Wt as Rt, F as S, Kt as St, Yt as T, ct as Tt, Je as U, et as Ut, _t as V, Et as Vt, K as W, Gt as Wt, q as X, Pt as Xt, Ne as Y, Rt as Yt, Z, Oe as _, rt as _t, Ze as a, m as at, ce as b, Fe as bt, It as c, kt as ct, R as d, Ke as dt, Re as et, z as f, Ue as ft, De as g, se as gt, Ge as h, Ht as ht, nt as i, B as it, ie as j, ve as jt, ht as k, Se as kt, me as l, At as lt, ye as m, Qe as mt, Pe as n, Vt as nt, jt as o, Mt as ot, pe as p, _ as pt, Xe as q, l as qt, de as r, Nt as rt, $ as s, Ie as st, G as t, Bt as tt, fe as u, Jt as ut, be as v, je as vt, qt as w, st as wt, b as x, p as xt, h as y, Me as yt, ge as z, at as zt };
2016
+ export { Ce as $, ht as A, Se as At, ge as B, at as Bt, F as C, Kt as Ct, we as D, lt as Dt, Yt as E, ct as Et, L as F, Ut as Ft, K as G, Gt, _t as H, Et as Ht, yt as I, dt as It, Xe as J, l as Jt, qe as K, v as Kt, wt as L, ft as Lt, ie as M, ve as Mt, Tt as N, y as Nt, ut as O, Te as Ot, I as P, g as Pt, Z as Q, He as R, it as Rt, b as S, p as St, qt as T, st as Tt, vt as U, xe as Ut, he as V, A as Vt, Je as W, et as Wt, Ne as X, Rt as Xt, Ee as Y, Lt as Yt, q as Z, Pt as Zt, De as _, se as _t, Xt as a, B as at, h as b, Me as bt, $ as c, Ie as ct, fe as d, Jt as dt, Ot as et, R as f, Ke as ft, Ge as g, Ht as gt, ye as h, Qe as ht, nt as i, Nt as it, ot as j, Le as jt, mt as k, i as kt, It as l, kt as lt, pe as m, _ as mt, Pe as n, Bt as nt, Ze as o, m as ot, z as p, Ue as pt, _e as q, $e as qt, de as r, Vt as rt, jt as s, Mt as st, G as t, Re as tt, me as u, At as ut, Oe as v, rt as vt, Ye as w, f as wt, ce as x, Fe as xt, be as y, je as yt, oe as z, Wt as zt };
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var e = "3.22.14";
2
+ var e = "3.23.1";
3
3
  //#endregion
4
4
  export { e as t };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./dom-to-png-BbPRUKX6.js";
1
+ import { t as e } from "./dom-to-png-BYIvdTe8.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-C-QGo8GG.js";
2
- import { t as a } from "./package-QmuZcjWs.js";
1
+ import { M as e, S as t, nt as n, rt as r, z as i } from "./lib-Bttd6u5E.js";
2
+ import { t as a } from "./package-KvlL5CqE.js";
3
3
  //#region src/svg/utils/index.js
4
4
  function o(e, t = 0) {
5
5
  let n = Number(e);
@@ -11,16 +11,16 @@ function s(e) {
11
11
  function c(e) {
12
12
  return Number.isFinite(Number(e));
13
13
  }
14
- function l(e, t = {}, r = "") {
15
- let i = Object.entries(t).filter(([, e]) => e != null && e !== !1).map(([e, t]) => `${e}="${n(t)}"`).join(" ");
16
- return `<${e}${i ? ` ${i}` : ""}>${r}</${e}>`;
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}>`;
17
17
  }
18
18
  function u(e, t = {}) {
19
- let r = Object.entries(t).filter(([, e]) => e != null && e !== !1).map(([e, t]) => `${e}="${n(t)}"`).join(" ");
20
- return `<${e}${r ? ` ${r}` : ""}/>`;
19
+ let n = Object.entries(t).filter(([, e]) => e != null && e !== !1).map(([e, t]) => `${e}="${r(t)}"`).join(" ");
20
+ return `<${e}${n ? ` ${n}` : ""}/>`;
21
21
  }
22
22
  function d(e, t = {}) {
23
- return l("text", t, r(e ?? ""));
23
+ return l("text", t, n(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: 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);
35
+ function p({ dataCy: t, 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);
37
37
  if (d === "circle") return u("circle", {
38
- "data-cy": n,
38
+ "data-cy": t,
39
39
  cx: p,
40
40
  cy: m,
41
41
  r: h,
@@ -44,8 +44,8 @@ function p({ dataCy: n, shape: r, plot: i, 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": n,
48
- points: e({
47
+ "data-cy": t,
48
+ points: i({
49
49
  plot: {
50
50
  x: p,
51
51
  y: m
@@ -79,8 +79,8 @@ function p({ dataCy: n, shape: r, plot: i, radius: a, fill: s, stroke: c, stroke
79
79
  }
80
80
  }[d];
81
81
  return u("path", {
82
- "data-cy": n,
83
- d: t({
82
+ "data-cy": t,
83
+ d: e({
84
84
  plot: {
85
85
  x: p,
86
86
  y: m
@@ -115,8 +115,8 @@ function _(e, t, n) {
115
115
  let r = m(e, t, void 0);
116
116
  return r === void 0 ? g(e, t, n) : r;
117
117
  }
118
- function v(e, t = "#000000") {
119
- return i(e) || e || t;
118
+ function v(e, n = "#000000") {
119
+ return t(e) || e || n;
120
120
  }
121
121
  function y(e, t = "#FFFFFF") {
122
122
  return v(g(e, "backgroundColor", t), t);
@@ -131,19 +131,19 @@ function x(e, t) {
131
131
  fill: t ?? y(e.config)
132
132
  });
133
133
  }
134
- function S({ content: e, x: t, fontSize: n, fill: i, textAnchor: a }) {
134
+ function S({ content: e, x: t, fontSize: r, fill: i, textAnchor: a }) {
135
135
  return String(e).split(/\n/g).map((e, o) => l("tspan", {
136
136
  x: t,
137
- dy: o === 0 ? 0 : n * 1.2,
137
+ dy: o === 0 ? 0 : r * 1.2,
138
138
  fill: i,
139
139
  "text-anchor": a
140
- }, r(e))).join("");
140
+ }, n(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
145
  function w(e) {
146
- return e.svgTitle ? l("desc", { "aria-hidden": "true" }, r(e.svgTitle)) : "";
146
+ return e.svgTitle ? l("desc", { "aria-hidden": "true" }, n(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-Cr0uTWGk.js";
1
+ import { t as e } from "../vue-ui-donut-CYpxGBhl.js";
2
2
  export { e as createStaticVueUiDonut };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../vue-ui-xy-B8XBn08L.js";
1
+ import { t as e } from "../vue-ui-xy-gyNS0yH0.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-B8XBn08L.js";
2
- import { t } from "./vue-ui-donut-Cr0uTWGk.js";
1
+ import { t as e } from "./vue-ui-xy-gyNS0yH0.js";
2
+ import { t } from "./vue-ui-donut-CYpxGBhl.js";
3
3
  export { t as createStaticVueUiDonut, e as createStaticVueUiXy };