vue-data-ui 3.22.0 → 3.22.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 (199) hide show
  1. package/dist/{Arrow-_pDGXl76.js → Arrow-BGhJI-qh.js} +1 -1
  2. package/dist/{BaseDraggableDialog-O8jn9Lvi.js → BaseDraggableDialog-a9xCKjW-.js} +2 -2
  3. package/dist/{BaseIcon-CWXbczu_.js → BaseIcon-DEtwcvEH.js} +1 -1
  4. package/dist/{BaseLegendToggle-CUYal8mC.js → BaseLegendToggle-B-lM0iV1.js} +1 -1
  5. package/dist/{BaseZoomControls-JwSGzoKi.js → BaseZoomControls-BjjT6vtB.js} +2 -2
  6. package/dist/{ColorPicker-CCqmzGGo.js → ColorPicker-DMLahA2S.js} +2 -2
  7. package/dist/{DataTable-G9aclxhk.js → DataTable-DJZgdnIn.js} +2 -2
  8. package/dist/{Legend-CAStwHdx.js → Legend-BVDhEEsC.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-BLy8zMox.js → NonSvgPenAndPaper-Dwq_M6Bz.js} +13 -13
  10. package/dist/{PackageVersion-DxBQctV8.js → PackageVersion-Dx81ZIAL.js} +1 -1
  11. package/dist/{PenAndPaper-z1woaB1V.js → PenAndPaper-DJIIG6dv.js} +13 -13
  12. package/dist/{Shape-BubavoqO.js → Shape-C5OvuwII.js} +1 -1
  13. package/dist/{Slicer-JCOpjPU7.js → Slicer-ClR833cP.js} +2 -2
  14. package/dist/{SlicerPreview-BA_RDgVn.js → SlicerPreview-CAhqG_ZQ.js} +12 -12
  15. package/dist/{SparkTooltip-DMFXQmFi.js → SparkTooltip-DTzo8Sah.js} +6 -6
  16. package/dist/{Title-DH6G8_cZ.js → Title-CVYf1f8m.js} +1 -1
  17. package/dist/{Tooltip-979Ytd8R.js → Tooltip-BmGCBJuU.js} +1 -1
  18. package/dist/{UserOptions-rx9hUnOy.js → UserOptions-xqbNpHi2.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-CtV3uxDJ.js → dom-to-png-rjAIVHxa.js} +1 -1
  89. package/dist/exposedLib-CffbQxjN.js +19 -0
  90. package/dist/{img-C_RNNswI.js → img-BCAOkqfM.js} +1 -1
  91. package/dist/{labelUtils-Bycs-017.js → labelUtils-C0D1tjig.js} +1 -1
  92. package/dist/{lib-AJRHFE5U.js → lib-CXicicWN.js} +155 -126
  93. package/dist/{package-0oRlvBuX.js → package-CILLITOI.js} +1 -1
  94. package/dist/{pdf-CdX23zf1.js → pdf-ChYv2jb6.js} +1 -1
  95. package/dist/{render-common-DSiH7qj-.js → render-common-bMAFQ_qf.js} +2 -2
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/style.css +1 -1
  100. package/dist/types/vue-data-ui.d.ts +7 -10
  101. package/dist/{useAutoSizeLabelsInsideViewbox-kjVKQz36.js → useAutoSizeLabelsInsideViewbox-B4-0yo3K.js} +1 -1
  102. package/dist/{useConfig-Br1uzq_L.js → useConfig-Bf_EBbe3.js} +4 -1
  103. package/dist/{useNestedProp-DtcXIg7n.js → useNestedProp-APyFoLCQ.js} +1 -1
  104. package/dist/{useObjectBindings-CxQ6A5pi.js → useObjectBindings-Byts-nf-.js} +1 -1
  105. package/dist/{usePrinter-6n2MzVyV.js → usePrinter-Dng0UK-G.js} +2 -2
  106. package/dist/utils.js +3 -3
  107. package/dist/{vue-data-ui-DoViN_4r.js → vue-data-ui-DD-txoS1.js} +68 -68
  108. package/dist/vue-data-ui.js +72 -72
  109. package/dist/vue-ui-3d-bar-DxfNdF2e.js +1757 -0
  110. package/dist/{vue-ui-accordion-HvsT8_RM.js → vue-ui-accordion-Di_givzQ.js} +4 -4
  111. package/dist/vue-ui-age-pyramid-CTwMfsqS.js +1238 -0
  112. package/dist/{vue-ui-annotator-7s5ly6XJ.js → vue-ui-annotator-tRkLFMQ9.js} +60 -60
  113. package/dist/{vue-ui-bullet-B-bWGz6d.js → vue-ui-bullet-9gtGJaGb.js} +23 -23
  114. package/dist/{vue-ui-bump-DM-hF-AK.js → vue-ui-bump-BJ5O8Mps.js} +400 -400
  115. package/dist/{vue-ui-candlestick-BfOvntqR.js → vue-ui-candlestick-CJ_VVYbJ.js} +50 -50
  116. package/dist/vue-ui-carousel-table-8s8BSy-K.js +455 -0
  117. package/dist/vue-ui-chestnut-D3-ck2h2.js +2010 -0
  118. package/dist/vue-ui-chord-1BitQtEw.js +1391 -0
  119. package/dist/{vue-ui-circle-pack-BBaRLELd.js → vue-ui-circle-pack-DVMhDFKU.js} +44 -44
  120. package/dist/{vue-ui-cursor-DWlKtcab.js → vue-ui-cursor-D7yh10hX.js} +61 -61
  121. package/dist/{vue-ui-dag-BAKU4jBj.js → vue-ui-dag--LFEAAf_.js} +18 -18
  122. package/dist/{vue-ui-dashboard-DE4R55nU.js → vue-ui-dashboard-COeO878g.js} +70 -70
  123. package/dist/{vue-ui-digits-B416Mj46.js → vue-ui-digits-C50FVr7C.js} +4 -4
  124. package/dist/{vue-ui-donut-BuGSF4pM.js → vue-ui-donut-BzKXqQA2.js} +160 -160
  125. package/dist/{vue-ui-donut-BugVAUHv.js → vue-ui-donut-NHjQzFO5.js} +474 -474
  126. package/dist/vue-ui-donut-evolution-lPkwit2C.js +1510 -0
  127. package/dist/vue-ui-dumbbell-hlEfvbbf.js +1530 -0
  128. package/dist/{vue-ui-flow-BoEP6hmg.js → vue-ui-flow-Bg_OSszc.js} +43 -43
  129. package/dist/vue-ui-funnel-B_bK0jJB.js +777 -0
  130. package/dist/{vue-ui-galaxy-CB5F8Q-u.js → vue-ui-galaxy-WVCUzcYc.js} +301 -301
  131. package/dist/vue-ui-gauge-Cqeko0wA.js +920 -0
  132. package/dist/{vue-ui-geo-BAy4kNv-.js → vue-ui-geo-DtzXRvmx.js} +22 -22
  133. package/dist/{vue-ui-gizmo-DjA8cqcl.js → vue-ui-gizmo-hIFd7qck.js} +4 -4
  134. package/dist/{vue-ui-heatmap-CMlxUI7Q.js → vue-ui-heatmap-yPlwc3l_.js} +95 -95
  135. package/dist/vue-ui-history-plot-BGmcDg2w.js +1554 -0
  136. package/dist/{vue-ui-horizontal-bar-XgzEVwOK.js → vue-ui-horizontal-bar-CJciNHpT.js} +264 -264
  137. package/dist/{vue-ui-kpi-B5Lu5U1S.js → vue-ui-kpi-DmSe1QGb.js} +4 -4
  138. package/dist/{vue-ui-mini-loader-CyYpLcrt.js → vue-ui-mini-loader-CqxI6DwN.js} +3 -3
  139. package/dist/{vue-ui-molecule-DzpgAmZn.js → vue-ui-molecule-w-94Uktn.js} +181 -181
  140. package/dist/{vue-ui-mood-radar-DMgYQtOw.js → vue-ui-mood-radar-B3OGWGHR.js} +29 -29
  141. package/dist/{vue-ui-nested-donuts-BHX0QqvR.js → vue-ui-nested-donuts-Dv_yE5EV.js} +211 -211
  142. package/dist/{vue-ui-onion-CYh7tdS0.js → vue-ui-onion-BQbI0Vxd.js} +34 -34
  143. package/dist/{vue-ui-parallel-coordinate-plot-BTaG92hV.js → vue-ui-parallel-coordinate-plot-ColST3Jj.js} +40 -40
  144. package/dist/vue-ui-quadrant-BB7qdXK0.js +1978 -0
  145. package/dist/{vue-ui-quick-chart-CHSUGLTx.js → vue-ui-quick-chart-CGDeo3Fx.js} +358 -358
  146. package/dist/vue-ui-radar-DqDn14DL.js +1281 -0
  147. package/dist/{vue-ui-rating-BoBLJm55.js → vue-ui-rating-ChDwpol2.js} +34 -34
  148. package/dist/vue-ui-relation-circle-BvfZqcK0.js +924 -0
  149. package/dist/{vue-ui-ridgeline-q_UhtM4M.js → vue-ui-ridgeline-Cq8z57xB.js} +219 -219
  150. package/dist/{vue-ui-rings-VOjUZu2b.js → vue-ui-rings-Ds-sgNPK.js} +36 -36
  151. package/dist/{vue-ui-scatter-DETMofE2.js → vue-ui-scatter-BgOVUzQ3.js} +75 -75
  152. package/dist/{vue-ui-skeleton-D36VILNm.js → vue-ui-skeleton-DJ5KAbfV.js} +42 -42
  153. package/dist/{vue-ui-smiley-CPbUSUTQ.js → vue-ui-smiley-fFrNX-Gl.js} +17 -17
  154. package/dist/{vue-ui-spark-trend-XpEbgNeK.js → vue-ui-spark-trend-D6OBWxmg.js} +92 -92
  155. package/dist/{vue-ui-sparkbar-Dq1hnBhL.js → vue-ui-sparkbar-CtCP8O44.js} +78 -78
  156. package/dist/{vue-ui-sparkgauge-CbAakuhB.js → vue-ui-sparkgauge-CZDkyViI.js} +38 -38
  157. package/dist/vue-ui-sparkhistogram-DgruLf33.js +560 -0
  158. package/dist/vue-ui-sparkline-CJKE7Xcl.js +1547 -0
  159. package/dist/{vue-ui-sparkstackbar-OprYrGQQ.js → vue-ui-sparkstackbar-BSV0M-2u.js} +162 -162
  160. package/dist/{vue-ui-stackbar-Bt0FKlf7.js → vue-ui-stackbar-pnlYCnTj.js} +67 -67
  161. package/dist/vue-ui-stackline-DS_MPmc1.js +2398 -0
  162. package/dist/{vue-ui-strip-plot-DdzflSOm.js → vue-ui-strip-plot-DSKOrJZX.js} +49 -49
  163. package/dist/{vue-ui-table-BZbLau0d.js → vue-ui-table-c1FPEwLM.js} +87 -87
  164. package/dist/{vue-ui-table-heatmap-DX80uRHe.js → vue-ui-table-heatmap-CMQJXnP8.js} +17 -17
  165. package/dist/vue-ui-table-sparkline-CAS9Pk60.js +712 -0
  166. package/dist/vue-ui-thermometer-w3eeJv9s.js +763 -0
  167. package/dist/{vue-ui-timer-smc39MBP.js → vue-ui-timer-CSP48eS-.js} +6 -6
  168. package/dist/{vue-ui-tiremarks-MwPUc9H4.js → vue-ui-tiremarks-DJvXj1P3.js} +19 -19
  169. package/dist/vue-ui-treemap-BaOMXTR1.js +1587 -0
  170. package/dist/vue-ui-waffle-Bo22Ph8n.js +1362 -0
  171. package/dist/{vue-ui-wheel-VQ5Sc_Kt.js → vue-ui-wheel-CbL52G-w.js} +51 -51
  172. package/dist/vue-ui-word-cloud-BqOCyp7c.js +1723 -0
  173. package/dist/{vue-ui-world-Dq9I3omC.js → vue-ui-world-BkjzCcVh.js} +445 -445
  174. package/dist/{vue-ui-xy-BRITAMZZ.js → vue-ui-xy-CVDNhnDY.js} +162 -162
  175. package/dist/{vue-ui-xy-D4D9tjiY.js → vue-ui-xy-DuwLRfr4.js} +537 -534
  176. package/dist/{vue-ui-xy-canvas-CYQF5hVa.js → vue-ui-xy-canvas-CXqGVMeQ.js} +65 -65
  177. package/package.json +2 -2
  178. package/dist/exposedLib-BJbE_A8E.js +0 -19
  179. package/dist/vue-ui-3d-bar-BUEcrSrc.js +0 -1757
  180. package/dist/vue-ui-age-pyramid-Zw5otO78.js +0 -1238
  181. package/dist/vue-ui-carousel-table-CrmVyfym.js +0 -455
  182. package/dist/vue-ui-chestnut-BQq65pNh.js +0 -2010
  183. package/dist/vue-ui-chord-BA2jFRMP.js +0 -1391
  184. package/dist/vue-ui-donut-evolution-C6fXP7QH.js +0 -1510
  185. package/dist/vue-ui-dumbbell-1K5kOirf.js +0 -1530
  186. package/dist/vue-ui-funnel-CheSqvyj.js +0 -777
  187. package/dist/vue-ui-gauge-Cjtovl1s.js +0 -920
  188. package/dist/vue-ui-history-plot-PkrNUPpp.js +0 -1554
  189. package/dist/vue-ui-quadrant-C00cEk5o.js +0 -1978
  190. package/dist/vue-ui-radar-jNxRTIur.js +0 -1281
  191. package/dist/vue-ui-relation-circle-Ne_rI2jS.js +0 -924
  192. package/dist/vue-ui-sparkhistogram-DpPjIA7n.js +0 -560
  193. package/dist/vue-ui-sparkline-DLay6Hog.js +0 -1513
  194. package/dist/vue-ui-stackline-CrUTz-k1.js +0 -2398
  195. package/dist/vue-ui-table-sparkline-C3_J575b.js +0 -707
  196. package/dist/vue-ui-thermometer-Bo32hwAO.js +0 -763
  197. package/dist/vue-ui-treemap-BNG7Zc04.js +0 -1587
  198. package/dist/vue-ui-waffle-D-9Ny9vN.js +0 -1362
  199. package/dist/vue-ui-word-cloud-BqsUdsCY.js +0 -1656
@@ -231,7 +231,7 @@ var v = {
231
231
  function b(t) {
232
232
  let r = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, i = /^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, a = /^rgba?\(\s*([+\-]?\d*\.?\d+%?)(?:\s*,\s*|\s+)([+\-]?\d*\.?\d+%?)(?:\s*,\s*|\s+)([+\-]?\d*\.?\d+%?)(?:\s*(?:,|\/)\s*([+\-]?\d*\.?\d+%?))?\s*\)$/i, o = /^hsla?\(\s*([+\-]?\d*\.?\d+(?:deg)?)(?:\s*,\s*|\s+)([\d.]+)%(?:\s*,\s*|\s+)([\d.]+)%(?:\s*(?:,|\/)\s*([\d.]+%?))?\s*\)$/i, s = /^oklch\(\s*([\d.]+)%?\s*[, ]\s*([\d.]+)%?\s*[, ]\s*([\d.]+)(?:deg)?\s*(?:\/\s*([\d.]+%?)\s*)?\)$/i, c = /^lch\(/i;
233
233
  if (t == null || typeof t == "number" && isNaN(t)) return null;
234
- if (t = e?.(t) ? n(t) : t, t = Ie(t), Array.isArray(t)) {
234
+ if (t = e?.(t) ? n(t) : t, t = Ve(t), Array.isArray(t)) {
235
235
  let [e, n, r, i = 1] = t;
236
236
  t = `rgba(${e},${n},${r},${i})`;
237
237
  } else if (typeof t == "object") if (Number.isFinite(t.r) && Number.isFinite(t.g) && Number.isFinite(t.b)) {
@@ -560,12 +560,12 @@ function fe(e) {
560
560
  let t = Math.floor(e.length / 2), n = [...e].sort((e, t) => e - t);
561
561
  return e.length % 2 == 0 ? (n[t - 1] + n[t]) / 2 : n[t];
562
562
  }
563
- function I(e) {
563
+ function pe(e) {
564
564
  let t = [];
565
565
  for (let n = 0; n < e.length; n += 1) t.push(`${h(e[n].x)},${h(e[n].y)} `);
566
566
  return t.join(" ").trim();
567
567
  }
568
- function L(e, t = null) {
568
+ function me(e, t = null) {
569
569
  let n = (e) => e && e.value !== null && e.value !== void 0 && Number.isFinite(e.x) && Number.isFinite(e.y), r = [], i = [];
570
570
  for (let t of e) n(t) ? i.push(t) : (i.length && r.push(i), i = []);
571
571
  return i.length && r.push(i), r.map((e) => {
@@ -578,7 +578,7 @@ function L(e, t = null) {
578
578
  return t != null && (n.unshift(`${h(e[0].x)},${h(t)}`), n.push(`${h(e.at(-1).x)},${h(t)}`)), n.join(" ");
579
579
  }).filter(Boolean).join(";");
580
580
  }
581
- function R(e) {
581
+ function I(e) {
582
582
  if (e.length < 2) return "0,0";
583
583
  let t = e.length - 1, n = [`${h(e[0].x)},${h(e[0].y)}`], r = [], i = [], a = [], o = [];
584
584
  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];
@@ -590,7 +590,7 @@ function R(e) {
590
590
  }
591
591
  return n.join(" ");
592
592
  }
593
- function z(e, t = .2) {
593
+ function L(e, t = .2) {
594
594
  function n(e, t) {
595
595
  let n = t.x - e.x, r = t.y - e.y;
596
596
  return {
@@ -611,30 +611,30 @@ function z(e, t = .2) {
611
611
  }
612
612
  return e.filter((e) => !!e).reduce((e, t, n, r) => n === 0 ? `${h(t.x)},${h(t.y)} ` : `${e} ${i(t, n, r)} `, "");
613
613
  }
614
- function B() {
614
+ function R() {
615
615
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
616
616
  let t = Math.random() * 16 | 0;
617
617
  return (e == "x" ? t : t & 3 | 8).toString(16);
618
618
  });
619
619
  }
620
- function V(e, t = !1, n = 16, r = !1) {
620
+ function z(e, t = !1, n = 16, r = !1) {
621
621
  let i = 0, a = t ? n : 0, o = r ? "center" : "middle";
622
622
  return e.center.endX > e.cx ? (i = e.center.endX + n + a, o = r ? "left" : "start") : e.center.endX < e.cx ? (i = e.center.endX - n - a, o = r ? "right" : "end") : (i = e.centerX + a, o = r ? "center" : "middle"), {
623
623
  x: i,
624
624
  anchor: o
625
625
  };
626
626
  }
627
- function H(e, t = 16, n = 16) {
627
+ function B(e, t = 16, n = 16) {
628
628
  return e.center.endY > e.cy ? e.center.endY + n : e.center.endY < e.cy ? e.center.endY - t : e.center.endY;
629
629
  }
630
- function pe({ initX: e, initY: t, offset: n, centerX: r, centerY: i }) {
630
+ function he({ initX: e, initY: t, offset: n, centerX: r, centerY: i }) {
631
631
  let a = Math.atan2(t - i, e - r);
632
632
  return {
633
633
  x: e + n * Math.cos(a),
634
634
  y: t + n * Math.sin(a)
635
635
  };
636
636
  }
637
- function U(e) {
637
+ function V(e) {
638
638
  let t = document.createElementNS("http://www.w3.org/2000/svg", "path");
639
639
  t.setAttribute("d", e);
640
640
  let n = t.getTotalLength(), r = 0, i = n, a = n / 2, o = .01;
@@ -651,23 +651,23 @@ function U(e) {
651
651
  y: c
652
652
  };
653
653
  }
654
- function me(e, t = !1, n = 16, r = 16, i = !1, a = !1, o = 0, s = 12, c = !1) {
655
- let { x: l } = U(e.path), u = `${V(e).x},${H(e, n, r) - 4} `, d = "", f, p;
656
- l > e.cx ? (f = V(e).x - s, p = H(e, n, r) - 4, d = `${f},${p}`) : (e.cx, f = V(e).x + s, p = H(e, n, r) - 4, d = `${f},${p}`);
654
+ function ge(e, t = !1, n = 16, r = 16, i = !1, a = !1, o = 0, s = 12, c = !1) {
655
+ let { x: l } = V(e.path), u = `${z(e).x},${B(e, n, r) - 4} `, d = "", f, p;
656
+ l > e.cx ? (f = z(e).x - s, p = B(e, n, r) - 4, d = `${f},${p}`) : (e.cx, f = z(e).x + s, p = B(e, n, r) - 4, d = `${f},${p}`);
657
657
  let m = ` ${e.center.endX},${e.center.endY}`;
658
658
  return c ? a ? `M${d} Q${d} ${m}` : `M${u} Q${d} ${m}` : `M${a ? "" : u}${d}${m}`;
659
659
  }
660
- function he(e) {
660
+ function _e(e) {
661
661
  return ![
662
662
  null,
663
663
  void 0,
664
664
  NaN
665
665
  ].includes(e);
666
666
  }
667
- function ge(e, t) {
667
+ function ve(e, t) {
668
668
  return [...e].map((e) => e[t]).reduce((e, t) => e + t, 0);
669
669
  }
670
- function _e(e, t = !0, n = !1) {
670
+ function ye(e, t = !0, n = !1) {
671
671
  if (!e.length) return "M0,0";
672
672
  let r = "";
673
673
  return e.forEach((e) => {
@@ -675,33 +675,33 @@ function _e(e, t = !0, n = !1) {
675
675
  r += `${e.x},${e.y} `;
676
676
  }), n ? r.trim() : `M${r}${t ? "Z" : ""}`;
677
677
  }
678
- function ve({ csvContent: e, title: t = "vue-data-ui" }) {
678
+ function be({ csvContent: e, title: t = "vue-data-ui" }) {
679
679
  let n = encodeURI(e), r = document.createElement("a");
680
680
  r.setAttribute("href", n), r.setAttribute("download", `${t}.csv`), document.body.appendChild(r), r.click(), r.remove(), window.URL.revokeObjectURL(n);
681
681
  }
682
- function ye(e) {
682
+ function xe(e) {
683
683
  return `data:text/csv;charset=utf-8,${e.map((e) => e.join(",")).join("\n")}`;
684
684
  }
685
- function be(e, t) {
685
+ function Se(e, t) {
686
686
  if (!/^#([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(e)) return console.warn("lightenHexColor : Invalid hex color format"), "#000000";
687
687
  let n = e.replace("#", "");
688
688
  n.length === 3 && (n = n.split("").map((e) => e + e).join(""));
689
689
  let r = parseInt(n.substring(0, 2), 16), i = parseInt(n.substring(2, 4), 16), a = parseInt(n.substring(4, 6), 16), o = Math.min(255, r + (255 - r) * t), s = Math.min(255, i + (255 - i) * t), c = Math.min(255, a + (255 - a) * t), l = `#${Math.round(o).toString(16).padStart(2, "0")}${Math.round(s).toString(16).padStart(2, "0")}${Math.round(c).toString(16).padStart(2, "0")}`;
690
690
  return n.length === 8 ? l + n.substring(6, 8) : l;
691
691
  }
692
- function xe(e, t) {
692
+ function Ce(e, t) {
693
693
  if (!/^#([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(e)) return console.warn("darkenHexColor: Invalid hex color format"), "#000000";
694
694
  let n = e.replace("#", "");
695
695
  n.length === 3 && (n = n.split("").map((e) => e + e).join(""));
696
696
  let r = parseInt(n.substring(0, 2), 16), i = parseInt(n.substring(2, 4), 16), a = parseInt(n.substring(4, 6), 16), o = Math.max(0, r - r * t), s = Math.max(0, i - i * t), c = Math.max(0, a - a * t), l = `#${Math.round(o).toString(16).padStart(2, "0")}${Math.round(s).toString(16).padStart(2, "0")}${Math.round(c).toString(16).padStart(2, "0")}`;
697
697
  return n.length === 8 ? l + n.substring(6, 8) : l;
698
698
  }
699
- function W(e, t) {
699
+ function H(e, t) {
700
700
  let n = Math.floor(Math.log10(e)), r = e / 10 ** n, i;
701
701
  return i = t ? r < 1.5 ? 1 : r < 3 ? 2 : r < 7 ? 5 : 10 : r <= 1 ? 1 : r <= 2 ? 2 : r <= 5 ? 5 : 10, i * 10 ** n;
702
702
  }
703
- function Se(e, t, n, r = !1) {
704
- let i = r ? t - e : W(t - e, !1), a = r ? i / (n - 1) : W(i / (n - 1), !0), o = Math.floor(e / a) * a, s = Math.ceil(t / a) * a, c = [];
703
+ function we(e, t, n, r = !1) {
704
+ let i = r ? t - e : H(t - e, !1), a = r ? i / (n - 1) : H(i / (n - 1), !0), o = Math.floor(e / a) * a, s = Math.ceil(t / a) * a, c = [];
705
705
  for (let e = o; e <= s; e += a) c.push(e);
706
706
  return {
707
707
  min: o,
@@ -710,8 +710,8 @@ function Se(e, t, n, r = !1) {
710
710
  ticks: c
711
711
  };
712
712
  }
713
- function Ce(e, t, n, r = !1) {
714
- let i = r ? t - e : W(t - e, !1), a = r ? i / (n - 1) : W(i / (n - 1), !0), o = Math.floor(e / a) * a, s = Math.ceil(t / a) * a, c = [], l = o;
713
+ function Te(e, t, n, r = !1) {
714
+ let i = r ? t - e : H(t - e, !1), a = r ? i / (n - 1) : H(i / (n - 1), !0), o = Math.floor(e / a) * a, s = Math.ceil(t / a) * a, c = [], l = o;
715
715
  for (; l <= s;) l >= e && l <= t && c.push(l), l += a;
716
716
  return c[0] !== e && (c[0] = e), c[c.length - 1] !== t && (c[c.length - 1] = t), {
717
717
  min: e,
@@ -720,35 +720,64 @@ function Ce(e, t, n, r = !1) {
720
720
  ticks: c
721
721
  };
722
722
  }
723
- function we(e, t, n, r, i) {
724
- let a = (e) => {
725
- let t = parseInt(e.substring(1, 3), 16), n = parseInt(e.substring(3, 5), 16), r = parseInt(e.substring(5, 7), 16), i = 1;
726
- return e.length === 9 && (i = parseInt(e.substring(7, 9), 16) / 255), {
727
- r: t,
728
- g: n,
729
- b: r,
730
- a: i
731
- };
732
- }, o = ({ r: e, g: t, b: n, a: r }) => {
733
- let i = (e) => e.toString(16).padStart(2, "0"), a = `#${i(e)}${i(t)}${i(n)}`;
734
- return r === 1 ? a : a + Math.round(r * 255).toString(16).padStart(2, "0");
735
- }, s = a(e), c = a(t);
723
+ function Ee(e) {
724
+ if (typeof e != "string") return console.error("hexColor must be a string"), "#000000ff";
725
+ let t = e.trim();
726
+ if (!t.startsWith("#")) return console.error("hexColor must start with #"), "#000000ff";
727
+ let n = t.slice(1);
728
+ return [
729
+ 3,
730
+ 4,
731
+ 6,
732
+ 8
733
+ ].includes(n.length) ? /^[0-9a-fA-F]+$/.test(n) ? n.length === 3 || n.length === 4 ? `#${n.split("").map((e) => e + e).join("")}` : t : (console.error("hexColor contains invalid characters"), "#000000ff") : (console.error("hexColor must be #RGB, #RGBA, #RRGGBB, or #RRGGBBAA"), "#000000ff");
734
+ }
735
+ var U = (e) => {
736
+ let t = Ee(e);
737
+ return {
738
+ r: parseInt(t.substring(1, 3), 16),
739
+ g: parseInt(t.substring(3, 5), 16),
740
+ b: parseInt(t.substring(5, 7), 16),
741
+ a: t.length === 9 ? parseInt(t.substring(7, 9), 16) / 255 : 1
742
+ };
743
+ }, De = ({ r: e, g: t, b: n, a: r = 1 }) => {
744
+ let i = W(r, 0, 1), a = `#${k(e)}${k(t)}${k(n)}`;
745
+ return i < 1 ? `${a}${k(i * 255)}` : a;
746
+ };
747
+ function W(e, t, n) {
748
+ return Math.min(Math.max(e, t), n);
749
+ }
750
+ function Oe(e, t, n, r, i) {
751
+ let a = U(e), o = U(t);
736
752
  i = Math.min(Math.max(i, n), r);
737
- let l = (i - n) / (r - n), u = {
738
- r: Math.round(s.r + (c.r - s.r) * l),
739
- g: Math.round(s.g + (c.g - s.g) * l),
740
- b: Math.round(s.b + (c.b - s.b) * l)
741
- }, d = s.a + (c.a - s.a) * l;
742
- return o({
743
- ...u,
744
- a: d
753
+ let s = (i - n) / (r - n), c = {
754
+ r: Math.round(a.r + (o.r - a.r) * s),
755
+ g: Math.round(a.g + (o.g - a.g) * s),
756
+ b: Math.round(a.b + (o.b - a.b) * s)
757
+ }, l = a.a + (o.a - a.a) * s;
758
+ return De({
759
+ ...c,
760
+ a: l
745
761
  });
746
762
  }
747
- function Te({ p: e = "", v: t, s: n = "", r = 0, space: i = !1, isAnimating: a = !1, regex: o = /[^%]/g, replacement: s = "-", locale: c = null }) {
763
+ function ke({ colors: e, ratio: t }) {
764
+ if (!Array.isArray(e)) throw Error("colors must be an array");
765
+ if (!e.length) throw Error("colors must contain at least 1 hex color");
766
+ let n = (e) => Math.round(W(e, 0, 255)).toString(16).padStart(2, "0"), r = ({ r: e, g: t, b: r, a: i = 1 }) => `#${n(e)}${n(t)}${n(r)}${n(W(i, 0, 1) * 255)}`;
767
+ if (e.length === 1) return r(U(e[0]));
768
+ let i = W(t, 0, 1), a = e.map(U), o = a.length - 1, s = i * o, c = Math.min(Math.floor(s), o - 1), l = s - c, u = a[c], d = a[c + 1];
769
+ return r({
770
+ r: u.r + (d.r - u.r) * l,
771
+ g: u.g + (d.g - u.g) * l,
772
+ b: u.b + (d.b - u.b) * l,
773
+ a: u.a + (d.a - u.a) * l
774
+ });
775
+ }
776
+ function Ae({ p: e = "", v: t, s: n = "", r = 0, space: i = !1, isAnimating: a = !1, regex: o = /[^%]/g, replacement: s = "-", locale: c = null }) {
748
777
  let l = c ? Number(Number(t).toFixed(r)).toLocaleString(c) : Number(Number(t).toFixed(r)).toLocaleString(), u = l === Infinity ? "∞" : l === -Infinity ? "-∞" : l, d = `${e ?? ""}${i ? " " : ""}${[void 0, null].includes(t) ? "-" : u}${i ? " " : ""}${n ?? ""}`;
749
778
  return a ? d.replace(o, s) : d;
750
779
  }
751
- function Ee({ source: e, length: t = 3 }) {
780
+ function je({ source: e, length: t = 3 }) {
752
781
  if (!e && e !== 0) return "";
753
782
  e = String(e);
754
783
  let n = e.length > 1 ? e.split(" ") : [e];
@@ -761,22 +790,22 @@ function Ee({ source: e, length: t = 3 }) {
761
790
  }), e.join().replaceAll(",", "").toUpperCase();
762
791
  }
763
792
  }
764
- function De(e) {
793
+ function Me(e) {
765
794
  return !!e && typeof e == "function";
766
795
  }
767
- function Oe(e) {
796
+ function Ne(e) {
768
797
  return typeof e.apply(null, arguments) == "string";
769
798
  }
770
- function ke(e) {
799
+ function Pe(e) {
771
800
  return Array.isArray(e) ? e.length === 0 : e ? Object.keys(e).length === 0 : !0;
772
801
  }
773
- function Ae({ componentName: e, type: t, property: n = "", index: i = "", key: a = "", warn: o = !0, debug: s = !0 }) {
802
+ function Fe({ componentName: e, type: t, property: n = "", index: i = "", key: a = "", warn: o = !0, debug: s = !0 }) {
774
803
  if (!s) return;
775
804
  let c = `\n> ${r[t].replace("#COMP#", e).replace("#ATTR#", n).replace("#INDX#", i).replace("#KEY#", a)}\n`;
776
805
  if (o) console.warn(c);
777
806
  else throw Error(c);
778
807
  }
779
- function je({ points: e, a: t, b: n, angleStep: r, startX: i, startY: a }) {
808
+ function Ie({ points: e, a: t, b: n, angleStep: r, startX: i, startY: a }) {
780
809
  let o = [];
781
810
  for (let s = 0; s < e; s++) {
782
811
  let e = r * s, c = t + n * e, l = c * Math.cos(e) + i, u = c * Math.sin(e) + a;
@@ -787,7 +816,7 @@ function je({ points: e, a: t, b: n, angleStep: r, startX: i, startY: a }) {
787
816
  }
788
817
  return o;
789
818
  }
790
- function Me(e) {
819
+ function Le(e) {
791
820
  let t = Infinity, n = Infinity, r = -Infinity, i = -Infinity;
792
821
  for (let a of e) a.x < t && (t = a.x), a.y < n && (n = a.y), a.x > r && (r = a.x), a.y > i && (i = a.y);
793
822
  return {
@@ -799,7 +828,7 @@ function Me(e) {
799
828
  height: i - n || 1
800
829
  };
801
830
  }
802
- function Ne(e) {
831
+ function Re(e) {
803
832
  if (!e.length) return "";
804
833
  let t = `M${e[0].x} ${e[0].y}`;
805
834
  for (let n = 1; n < e.length - 2; n += 2) {
@@ -808,24 +837,24 @@ function Ne(e) {
808
837
  }
809
838
  return t;
810
839
  }
811
- function Pe({ maxPoints: e, a: t = 6, b: n = 6, angleStep: r = .07, startX: i, startY: a, boxWidth: o, boxHeight: s, padding: c = 12 }) {
812
- let l = je({
840
+ function ze({ maxPoints: e, a: t = 6, b: n = 6, angleStep: r = .07, startX: i, startY: a, boxWidth: o, boxHeight: s, padding: c = 12 }) {
841
+ let l = Ie({
813
842
  points: e,
814
843
  a: t,
815
844
  b: n,
816
845
  angleStep: r,
817
846
  startX: 0,
818
847
  startY: 0
819
- }), { minX: u, minY: d, maxX: f, maxY: p, width: m, height: h } = Me(l), g = (u + f) / 2, _ = (d + p) / 2, v = Math.max(1, o - 2 * c), y = Math.max(1, s - 2 * c), b = Math.min(v / m, y / h), x = i - g * b, S = a - _ * b;
848
+ }), { minX: u, minY: d, maxX: f, maxY: p, width: m, height: h } = Le(l), g = (u + f) / 2, _ = (d + p) / 2, v = Math.max(1, o - 2 * c), y = Math.max(1, s - 2 * c), b = Math.min(v / m, y / h), x = i - g * b, S = a - _ * b;
820
849
  return function(e) {
821
850
  let t = Math.max(2, Math.min(Math.round(e), l.length));
822
- return Ne(l.slice(0, t).map((e) => ({
851
+ return Re(l.slice(0, t).map((e) => ({
823
852
  x: e.x * b + x,
824
853
  y: e.y * b + S
825
854
  })));
826
855
  };
827
856
  }
828
- function Fe({ datasetObject: e, requiredAttributes: t }) {
857
+ function Be({ datasetObject: e, requiredAttributes: t }) {
829
858
  let n = [];
830
859
  return t.forEach((t) => {
831
860
  Object.hasOwn(e, t) || n.push(t);
@@ -974,7 +1003,7 @@ var G = {
974
1003
  YELLOWGREEN: "#9ACD32",
975
1004
  REBECCAPURPLE: "#663399"
976
1005
  };
977
- function Ie(t) {
1006
+ function Ve(t) {
978
1007
  let r = e?.(t) ? n(t) : t;
979
1008
  if (typeof r != "string") return r;
980
1009
  let i = r.trim();
@@ -984,7 +1013,7 @@ function Ie(t) {
984
1013
  return G[a] || G[o] || i;
985
1014
  }
986
1015
  var K = "http://www.w3.org/2000/svg";
987
- function Le(e) {
1016
+ function He(e) {
988
1017
  if (e.length < 2) return 0;
989
1018
  let t = 0, n = 0;
990
1019
  for (let r = 1; r < e.length; r++) {
@@ -1005,7 +1034,7 @@ function q({ content: e, fontSize: t, fill: n, x: r, y: i, translateY: a = !1 })
1005
1034
  let o = e.split("\n"), s = o.length * t, c = a ? (s - t) / 2 : 0;
1006
1035
  return o.map((e, a) => `<tspan x="${r}" y="${i - c + a * t}" fill="${n}">${e}</tspan>`).join("");
1007
1036
  }
1008
- function Re(e) {
1037
+ function Ue(e) {
1009
1038
  return f(e) ? (q({
1010
1039
  content: e,
1011
1040
  fontSize: 1,
@@ -1014,11 +1043,11 @@ function Re(e) {
1014
1043
  y: 0
1015
1044
  }).match(/<tspan\b/g) || []).length : 1;
1016
1045
  }
1017
- function ze({ content: e, fontSize: t, fill: n, x: r, autoOffset: i = !1 }) {
1046
+ function We({ content: e, fontSize: t, fill: n, x: r, autoOffset: i = !1 }) {
1018
1047
  let a = e.split("\n"), o = i ? (a.length - 1) * t / 2 : 0;
1019
1048
  return a.map((e, i) => `<tspan x="${r}" dy="${i === 0 ? -o : t}" fill="${n}">${e}</tspan>`).join("");
1020
1049
  }
1021
- function Be({ content: e, fontSize: t, fill: n, maxWords: r, x: i, y: a }) {
1050
+ function Ge({ content: e, fontSize: t, fill: n, maxWords: r, x: i, y: a }) {
1022
1051
  function o(e, t) {
1023
1052
  let n = e.split(" "), r = [];
1024
1053
  for (let e = 0; e < n.length; e += t) r.push(n.slice(e, e + t).join(" "));
@@ -1030,10 +1059,10 @@ function Be({ content: e, fontSize: t, fill: n, maxWords: r, x: i, y: a }) {
1030
1059
  s += o;
1031
1060
  }), s;
1032
1061
  }
1033
- function Ve(e) {
1062
+ function Ke(e) {
1034
1063
  return e.length ? e.map((e) => b(e)) : [];
1035
1064
  }
1036
- function He(e, t = null) {
1065
+ function qe(e, t = null) {
1037
1066
  let n = e.replace(/[\p{P}\p{S}]+/gu, " ").trim(), r = (/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Tibetan}\p{Script=Myanmar}\p{Script=Devanagari}]/u.test(e) ? [...n] : n.split(/\s+/)).filter((e) => e.trim().length > 0).reduce((e, t) => (e[t] ? e[t] += 1 : e[t] = 1, e), {});
1038
1067
  return Object.keys(r).map((e) => {
1039
1068
  let n = e;
@@ -1043,7 +1072,7 @@ function He(e, t = null) {
1043
1072
  };
1044
1073
  });
1045
1074
  }
1046
- function Ue(e) {
1075
+ function Je(e) {
1047
1076
  let t = e.reduce((e, t) => e + (t.stackRatio || 0), 0), n = e.filter((e) => e.stackRatio === void 0).length, r = 1 - t, i = n > 0 ? r / n : 0, a = e.map((e) => ({
1048
1077
  ...e,
1049
1078
  stackRatio: e.stackRatio === void 0 ? i : e.stackRatio
@@ -1054,7 +1083,7 @@ function Ue(e) {
1054
1083
  cumulatedStackRatio: o
1055
1084
  })), a;
1056
1085
  }
1057
- function We(e) {
1086
+ function Ye(e) {
1058
1087
  function t(e, t, n, r) {
1059
1088
  let i = n - e, a = r - t;
1060
1089
  return Math.sqrt(i * i + a * a);
@@ -1104,11 +1133,11 @@ function We(e) {
1104
1133
  }
1105
1134
  }), c;
1106
1135
  }
1107
- function Ge({ relator: e, adjuster: t, source: n, threshold: r = 0, fallback: i, max: a = 24 }) {
1136
+ function Xe({ relator: e, adjuster: t, source: n, threshold: r = 0, fallback: i, max: a = 24 }) {
1108
1137
  let o = e / (t / n);
1109
1138
  return o > a ? a : o < r ? i : o;
1110
1139
  }
1111
- function Ke(e) {
1140
+ function Ze(e) {
1112
1141
  return e.reduce((e, t) => (t.series.forEach((t, n) => {
1113
1142
  ![
1114
1143
  void 0,
@@ -1118,7 +1147,7 @@ function Ke(e) {
1118
1147
  ].includes(t) && !isNaN(t) && (e[n] = (e[n] || 0) + t);
1119
1148
  }), e), []);
1120
1149
  }
1121
- function qe(e, { value: t, config: n }) {
1150
+ function Qe(e, { value: t, config: n }) {
1122
1151
  let r = !1, i = t;
1123
1152
  if (typeof e == "function") try {
1124
1153
  i = e({
@@ -1133,17 +1162,17 @@ function qe(e, { value: t, config: n }) {
1133
1162
  value: i
1134
1163
  };
1135
1164
  }
1136
- function Je(e, t, n, r) {
1137
- let { isValid: i, value: a } = qe(e, {
1165
+ function $e(e, t, n, r) {
1166
+ let { isValid: i, value: a } = Qe(e, {
1138
1167
  value: t,
1139
1168
  config: r
1140
1169
  });
1141
1170
  return i ? a : n;
1142
1171
  }
1143
- function Ye(e, t) {
1172
+ function et(e, t) {
1144
1173
  return t.split(".").every((t) => typeof e == "object" && e && t in e ? (e = e[t], !0) : !1);
1145
1174
  }
1146
- function Xe(e, t = [], n = !1) {
1175
+ function tt(e, t = [], n = !1) {
1147
1176
  function r(e) {
1148
1177
  return n && e === null ? null : typeof e == "string" && isNaN(Number(e)) || typeof e == "number" && isFinite(e) ? e : 0;
1149
1178
  }
@@ -1158,10 +1187,10 @@ function Xe(e, t = [], n = !1) {
1158
1187
  }
1159
1188
  return i(e);
1160
1189
  }
1161
- function Ze(e, t = 100) {
1190
+ function nt(e, t = 100) {
1162
1191
  return e.length === 9 ? e.substring(0, 7) + y[t] : e + y[t];
1163
1192
  }
1164
- function Qe({ series: e, center: t, maxRadius: n, hasGhost: r = !1 }) {
1193
+ function rt({ series: e, center: t, maxRadius: n, hasGhost: r = !1 }) {
1165
1194
  let i = 360 / (e.length - +!!r);
1166
1195
  return e.map((e, r) => {
1167
1196
  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);
@@ -1180,7 +1209,7 @@ function Qe({ series: e, center: t, maxRadius: n, hasGhost: r = !1 }) {
1180
1209
  };
1181
1210
  });
1182
1211
  }
1183
- function $e({ data: e, threshold: t }) {
1212
+ function it({ data: e, threshold: t }) {
1184
1213
  if (t >= e.length || t < 3) return e;
1185
1214
  let n = [], r = (e.length - 2) / (t - 2), i = 0;
1186
1215
  n.push(e[i]);
@@ -1197,7 +1226,7 @@ function $e({ data: e, threshold: t }) {
1197
1226
  }
1198
1227
  return n.push(e[e.length - 1]), n;
1199
1228
  }
1200
- function et({ data: e, threshold: t }) {
1229
+ function at({ data: e, threshold: t }) {
1201
1230
  if (t >= e.length || t < 3) return e;
1202
1231
  let n = [], r = (e.length - 2) / (t - 2), i = 0;
1203
1232
  n.push(e[i]);
@@ -1211,7 +1240,7 @@ function et({ data: e, threshold: t }) {
1211
1240
  }
1212
1241
  return n.push(e[e.length - 1]), n;
1213
1242
  }
1214
- function tt({ data: e, threshold: t, key: n = "value" }) {
1243
+ function ot({ data: e, threshold: t, key: n = "value" }) {
1215
1244
  if (t >= e.length || t < 3) return e;
1216
1245
  let r = [], i = (e.length - 2) / (t - 2), a = 0;
1217
1246
  r.push(e[a]);
@@ -1225,12 +1254,12 @@ function tt({ data: e, threshold: t, key: n = "value" }) {
1225
1254
  }
1226
1255
  return r.push(e[e.length - 1]), r;
1227
1256
  }
1228
- function nt({ radius: e, centerX: t, centerY: n, percentage: r }) {
1257
+ function st({ radius: e, centerX: t, centerY: n, percentage: r }) {
1229
1258
  r = Math.max(0, Math.min(1, r));
1230
1259
  let i = r * Math.PI;
1231
1260
  return `M ${t},${n} L ${t - e},${n} A ${e},${e} 0 0 1 ${t - e * Math.cos(i)},${n - e * Math.sin(i)} Z`.trim();
1232
1261
  }
1233
- function rt({ svgElement: e, x: t, y: n, offsetY: r = 0, element: i }) {
1262
+ function ct({ svgElement: e, x: t, y: n, offsetY: r = 0, element: i }) {
1234
1263
  if (!e || !i) return {
1235
1264
  top: 0,
1236
1265
  left: 0
@@ -1243,7 +1272,7 @@ function rt({ svgElement: e, x: t, y: n, offsetY: r = 0, element: i }) {
1243
1272
  left: o.x + l
1244
1273
  };
1245
1274
  }
1246
- function it({ svgElement: e, x: t, y: n, element: r, position: i }) {
1275
+ function lt({ svgElement: e, x: t, y: n, element: r, position: i }) {
1247
1276
  if (!e || !r) return {
1248
1277
  top: 0,
1249
1278
  left: 0
@@ -1275,12 +1304,12 @@ function J(e) {
1275
1304
  for (let n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = J(e[n]));
1276
1305
  return t;
1277
1306
  }
1278
- function at(e) {
1307
+ function ut(e) {
1279
1308
  let t = [], n = [];
1280
1309
  for (let r of e) !r || r.value == null || Number.isNaN(r.x) || Number.isNaN(r.y) ? (n.length && t.push(n), n = []) : n.push(r);
1281
1310
  return n.length && t.push(n), t;
1282
1311
  }
1283
- function ot(e, t) {
1312
+ function dt(e, t) {
1284
1313
  let n = e.filter((e) => !!e);
1285
1314
  if (!n[0]) return [
1286
1315
  -10,
@@ -1306,7 +1335,7 @@ function ot(e, t) {
1306
1335
  i.y
1307
1336
  ].toString();
1308
1337
  }
1309
- function st(e, t) {
1338
+ function ft(e, t) {
1310
1339
  if (!e[0]) return [
1311
1340
  -10,
1312
1341
  -10,
@@ -1314,7 +1343,7 @@ function st(e, t) {
1314
1343
  -10,
1315
1344
  -10
1316
1345
  ].toString();
1317
- let n = at(e);
1346
+ let n = ut(e);
1318
1347
  return n.length ? n.map((e) => {
1319
1348
  let n = {
1320
1349
  x: e[0].x,
@@ -1334,12 +1363,12 @@ function st(e, t) {
1334
1363
  ].toString();
1335
1364
  }).join(";") : "";
1336
1365
  }
1337
- function ct(e) {
1366
+ function pt(e) {
1338
1367
  let t = [], n = [];
1339
1368
  for (let r of e) r.value == null || Number.isNaN(r.x) || Number.isNaN(r.y) ? (n.length > 1 && t.push(n), n = []) : n.push(r);
1340
1369
  return n.length > 1 && t.push(n), t;
1341
1370
  }
1342
- function lt(e) {
1371
+ function mt(e) {
1343
1372
  let t = "", n = !1;
1344
1373
  for (let r = 0; r < e.length; r++) {
1345
1374
  let i = e[r];
@@ -1361,7 +1390,7 @@ function Y(e) {
1361
1390
  function X(e) {
1362
1391
  return `${h(e.x)},${h(e.y)}`;
1363
1392
  }
1364
- function ut(e, t = []) {
1393
+ function ht(e, t = []) {
1365
1394
  let n = Array.isArray(e) ? e : [], r = n.length, i = /* @__PURE__ */ new Set(), a = r - 1;
1366
1395
  for (let e of Array.isArray(t) ? t : []) {
1367
1396
  let t = Y(e);
@@ -1401,8 +1430,8 @@ function ut(e, t = []) {
1401
1430
  }
1402
1431
  return u(), o;
1403
1432
  }
1404
- function dt(e) {
1405
- let t = ct(e);
1433
+ function gt(e) {
1434
+ let t = pt(e);
1406
1435
  if (!t.length) return "";
1407
1436
  let n = "";
1408
1437
  for (let [e, r] of t.entries()) {
@@ -1422,7 +1451,7 @@ function dt(e) {
1422
1451
  function Z(e) {
1423
1452
  return e != null && e.value != null && Number.isFinite(e.x) && Number.isFinite(e.y);
1424
1453
  }
1425
- function ft(e, t) {
1454
+ function _t(e, t) {
1426
1455
  let n = e - 1, r = /* @__PURE__ */ new Set(), i = Array.isArray(t) ? t : [];
1427
1456
  for (let e of i) {
1428
1457
  let t = Y(e);
@@ -1430,7 +1459,7 @@ function ft(e, t) {
1430
1459
  }
1431
1460
  return r;
1432
1461
  }
1433
- function pt(e) {
1462
+ function vt(e) {
1434
1463
  let t = [], n = [];
1435
1464
  for (let r = 0; r < e.length; r += 1) {
1436
1465
  let i = e[r];
@@ -1438,7 +1467,7 @@ function pt(e) {
1438
1467
  }
1439
1468
  return n.length > 1 && t.push(n), t;
1440
1469
  }
1441
- function mt(e, t) {
1470
+ function yt(e, t) {
1442
1471
  let n = t.map((t) => e[t]), r = n.length - 1, i = [], a = [], o = [], s = [];
1443
1472
  for (let e = 0; e < r; e += 1) i[e] = n[e + 1].x - n[e].x, a[e] = n[e + 1].y - n[e].y, o[e] = a[e] / i[e];
1444
1473
  s[0] = o[0], s[r] = o[r - 1];
@@ -1453,7 +1482,7 @@ function mt(e, t) {
1453
1482
  commands: c
1454
1483
  };
1455
1484
  }
1456
- function ht(e) {
1485
+ function bt(e) {
1457
1486
  let t = [];
1458
1487
  if (!e.length) return t;
1459
1488
  let n = 0, r = e[0];
@@ -1468,19 +1497,19 @@ function ht(e) {
1468
1497
  dashed: r
1469
1498
  }), t;
1470
1499
  }
1471
- function gt(e, t = []) {
1500
+ function xt(e, t = []) {
1472
1501
  let n = Array.isArray(e) ? e : [];
1473
1502
  if (n.length < 2) return [];
1474
- let r = ft(n.length, t), i = pt(n);
1503
+ let r = _t(n.length, t), i = vt(n);
1475
1504
  if (!i.length) return [];
1476
1505
  let a = [];
1477
1506
  for (let e of i) {
1478
- let { startCoord: t, commands: i } = mt(n, e), o = Array(i.length);
1507
+ let { startCoord: t, commands: i } = yt(n, e), o = Array(i.length);
1479
1508
  for (let t = 0; t < i.length; t += 1) {
1480
1509
  let n = e[t];
1481
1510
  o[t] = r.has(n);
1482
1511
  }
1483
- let s = ht(o);
1512
+ let s = bt(o);
1484
1513
  for (let r of s) {
1485
1514
  let o = r.startEdge, s = `${o === 0 ? t : X(n[e[o]])} ${i.slice(r.startEdge, r.endEdge + 1).join(" ")}`.trim();
1486
1515
  a.push({
@@ -1491,7 +1520,7 @@ function gt(e, t = []) {
1491
1520
  }
1492
1521
  return a;
1493
1522
  }
1494
- function _t(e, t, n = !1, r = !0) {
1523
+ function St(e, t, n = !1, r = !0) {
1495
1524
  function i(e) {
1496
1525
  let t = [], n = [];
1497
1526
  for (let r of e) !r || r.value == null || Number.isNaN(r.x) || Number.isNaN(r.y) ? (n.length > 1 && t.push(n), n = []) : n.push(r);
@@ -1512,10 +1541,10 @@ function _t(e, t, n = !1, r = !0) {
1512
1541
  return c += ` L${e[n].x},${t} ${r ? "Z" : ""}`, c;
1513
1542
  }).filter(Boolean);
1514
1543
  }
1515
- function vt(e) {
1544
+ function Ct(e) {
1516
1545
  return e.toString().toLowerCase().replace(/\s+/g, "-").replace(/[^\w\-]+/g, "").replace(/\-\-+/g, "-").replace(/^-+/, "").replace(/-+$/, "");
1517
1546
  }
1518
- function yt(e) {
1547
+ function wt(e) {
1519
1548
  return e && typeof e == "object" && !Array.isArray(e) && Object.keys(e).length === 0 ? null : e;
1520
1549
  }
1521
1550
  function Q(e) {
@@ -1523,14 +1552,14 @@ function Q(e) {
1523
1552
  if (e && typeof e == "object" && !Array.isArray(e)) {
1524
1553
  let t = {};
1525
1554
  for (let n in e) Object.hasOwn(e, n) && (t[n] = Q(e[n]));
1526
- return yt(t);
1555
+ return wt(t);
1527
1556
  }
1528
1557
  return e;
1529
1558
  }
1530
- function bt(e) {
1559
+ function Tt(e) {
1531
1560
  return 1 - (1 - e) ** 3;
1532
1561
  }
1533
- function xt({ values: e, config: t = {} }) {
1562
+ function Et({ values: e, config: t = {} }) {
1534
1563
  let { keepInvalid: n = !0, convertInvalidToZero: r = !1 } = t, i = [], a = 0, o = 0;
1535
1564
  function s(e) {
1536
1565
  return typeof e != "number" || !Number.isFinite(e);
@@ -1541,7 +1570,7 @@ function xt({ values: e, config: t = {} }) {
1541
1570
  for (let t of e) s(t) ? r && n ? c(0) : !r && n && i.push(t) : c(t);
1542
1571
  return i;
1543
1572
  }
1544
- function St({ values: e, config: t = {} }) {
1573
+ function Dt({ values: e, config: t = {} }) {
1545
1574
  let { keepInvalid: n = !0, convertInvalidToZero: r = !1 } = t, i = [], a = [];
1546
1575
  function o(e) {
1547
1576
  return typeof e != "number" || !Number.isFinite(e);
@@ -1554,7 +1583,7 @@ function St({ values: e, config: t = {} }) {
1554
1583
  for (let t of e) o(t) ? r && n ? s(0) : !r && n && i.push(t) : s(t);
1555
1584
  return i;
1556
1585
  }
1557
- function Ct({ el: e, bounds: t, currentFontSize: n, minFontSize: r = 6, attempts: i = 200, padding: a = 1 }) {
1586
+ function Ot({ el: e, bounds: t, currentFontSize: n, minFontSize: r = 6, attempts: i = 200, padding: a = 1 }) {
1558
1587
  if (!e || !n) return 0;
1559
1588
  let o = n;
1560
1589
  e.setAttribute("font-size", o);
@@ -1564,7 +1593,7 @@ function Ct({ el: e, bounds: t, currentFontSize: n, minFontSize: r = 6, attempts
1564
1593
  for (; g-- > 0 && o > r && (o--, e.setAttribute("font-size", o), h = e.getBBox(), !(h.x >= d + a && h.y >= f + a && h.x + h.width <= p - a && h.y + h.height <= m - a)););
1565
1594
  return o < r && (o = 0, e.setAttribute("font-size", o)), o;
1566
1595
  }
1567
- function wt({ value: e, maxDecimals: t = 4, fallbackFormatter: n, removeTrailingZero: r = !0 }) {
1596
+ function kt({ value: e, maxDecimals: t = 4, fallbackFormatter: n, removeTrailingZero: r = !0 }) {
1568
1597
  if (e === 0) return "0";
1569
1598
  let i = Math.abs(e);
1570
1599
  if (i >= 1 && typeof n == "function") {
@@ -1576,18 +1605,18 @@ function wt({ value: e, maxDecimals: t = 4, fallbackFormatter: n, removeTrailing
1576
1605
  let o = e.toFixed(a);
1577
1606
  return r && (o = o.replace(/(\.\d*?[1-9])0+$/, "$1").replace(/\.0+$/, "")), o;
1578
1607
  }
1579
- function Tt(e) {
1608
+ function At(e) {
1580
1609
  let t = [];
1581
1610
  for (let n = 0; n < e; n += 1) t.push(n === 0 ? 0 : n === 1 ? 1 : t[n - 1] + t[n - 2]);
1582
1611
  return t;
1583
1612
  }
1584
- function Et(e, t = 20) {
1613
+ function jt(e, t = 20) {
1585
1614
  e = e.replace(/[\r\n]+/g, " ");
1586
1615
  let n = e.split(" "), r = "", i = "";
1587
1616
  for (let e of n) (r + (r ? " " : "") + e).length <= t ? r += (r ? " " : "") + e : (r && (i += (i ? "\n" : "") + r), r = e);
1588
1617
  return r && (i += (i ? "\n" : "") + r), i;
1589
1618
  }
1590
- function Dt(e) {
1619
+ function Mt(e) {
1591
1620
  let { lineA: t, lineB: n, colorLineA: r, colorLineB: i, smoothA: a = !1, smoothB: o = !1, sampleStepPx: s = 2, cutNullValues: c = !0, merge: l = !0 } = e || {};
1592
1621
  if (!Array.isArray(t) || !Array.isArray(n) || !t.length || !n.length) return [];
1593
1622
  let u = (e) => Number.isFinite(e);
@@ -1735,7 +1764,7 @@ function Dt(e) {
1735
1764
  let { A: y, B: b } = g(m(t, a), m(n, o));
1736
1765
  return l ? v(y, b) : _(y, b);
1737
1766
  }
1738
- function Ot(e, t, n = {}) {
1767
+ function Nt(e, t, n = {}) {
1739
1768
  let r = {
1740
1769
  bubbles: !0,
1741
1770
  cancelable: !0,
@@ -1770,7 +1799,7 @@ function Ot(e, t, n = {}) {
1770
1799
  }) : new Event(t, r);
1771
1800
  return e.dispatchEvent(o), o;
1772
1801
  }
1773
- function kt(e, { delta: t = 1, delay: n = 20, disableTransitions: r = !0 } = {}) {
1802
+ function $(e, { delta: t = 1, delay: n = 20, disableTransitions: r = !0 } = {}) {
1774
1803
  if (!e || !(e instanceof HTMLElement)) return;
1775
1804
  let i = e.style, a = {
1776
1805
  width: i.width,
@@ -1785,14 +1814,14 @@ function kt(e, { delta: t = 1, delay: n = 20, disableTransitions: r = !0 } = {})
1785
1814
  });
1786
1815
  }, n);
1787
1816
  }
1788
- function At(e) {
1817
+ function Pt(e) {
1789
1818
  let t = null, n = null;
1790
1819
  return (...r) => {
1791
1820
  let i = JSON.stringify(r);
1792
1821
  return i === t ? n : (t = i, n = e(...r), n);
1793
1822
  };
1794
1823
  }
1795
- var jt = At((e, t, n, r, i, a, o, s) => {
1824
+ var Ft = Pt((e, t, n, r, i, a, o, s) => {
1796
1825
  if (e) return r.length <= 2 ? r.map((e, t) => ({
1797
1826
  text: e,
1798
1827
  absoluteIndex: t
@@ -1834,16 +1863,16 @@ var jt = At((e, t, n, r, i, a, o, s) => {
1834
1863
  absoluteIndex: t
1835
1864
  }));
1836
1865
  });
1837
- function Mt(e) {
1866
+ function It(e) {
1838
1867
  return String(e).replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
1839
1868
  }
1840
- function $(e) {
1869
+ function Lt(e) {
1841
1870
  return String(e).replaceAll("&", "&amp;").replaceAll("\"", "&quot;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
1842
1871
  }
1843
- function Nt(e) {
1872
+ function Rt(e) {
1844
1873
  return String(e).replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll("\"", "&quot;").replaceAll("'", "&#39;");
1845
1874
  }
1846
- function Pt(e) {
1875
+ function zt(e) {
1847
1876
  if (!e || typeof e != "string") return null;
1848
1877
  let t = document.createElementNS(K, "svg");
1849
1878
  t.setAttribute("xmlns", K);
@@ -1855,13 +1884,13 @@ function Pt(e) {
1855
1884
  y: i.y
1856
1885
  };
1857
1886
  }
1858
- function Ft(e, t = "(", n = ")") {
1887
+ function Bt(e, t = "(", n = ")") {
1859
1888
  return `${t}${e}${n}`;
1860
1889
  }
1861
- function It(e, t) {
1890
+ function Vt(e, t) {
1862
1891
  return t <= 1 ? "0%" : `${e * 100 / (t - 1)}%`;
1863
1892
  }
1864
- function Lt(e, t, n) {
1893
+ function Ht(e, t, n) {
1865
1894
  if (!n || !Number.isFinite(e) || !Number.isFinite(t)) return null;
1866
1895
  if (n.createSVGPoint && n.getScreenCTM) {
1867
1896
  let r = n.createSVGPoint();
@@ -1881,8 +1910,8 @@ function Lt(e, t, n) {
1881
1910
  y: r.top + t
1882
1911
  };
1883
1912
  }
1884
- function Rt(e) {
1913
+ function Ut(e) {
1885
1914
  return e != null && Number.isFinite(Number(e));
1886
1915
  }
1887
1916
  //#endregion
1888
- export { $, z as A, rt as At, q as B, v as Bt, nt as C, i as Ct, A as D, y as Dt, Qe as E, pe as Et, L as F, re as Ft, Te as G, Et as Gt, B as H, l as Ht, I, vt as It, ve as J, J as K, lt as L, ge as Lt, gt as M, Xe as Mt, Pe as N, It as Nt, _t as O, g as Ot, oe as P, Ze as Pt, Mt as Q, ut as R, Ke as Rt, ye as S, be as St, st as T, ke as Tt, He as U, Ot as Ut, ze as V, Ge as Vt, xe as W, kt as Wt, Ae as X, bt as Y, Nt as Z, he as _, Rt as _t, Ue as a, xt as at, F as b, et as bt, Dt as c, Fe as ct, H as d, Pt as dt, Tt as et, fe as f, se as ft, Ce as g, p as gt, Se as h, De as ht, Je as i, Oe as it, dt as j, it as jt, R as k, Ft as kt, de as l, _ as lt, Le as m, we as mt, Ee as n, m as nt, Ct as o, St as ot, me as p, Ye as pt, Q as q, ue as r, wt as rt, jt as s, Re as st, K as t, U as tt, V as u, We as ut, h as v, f as vt, ot as w, _e as wt, Ve as x, tt as xt, b as y, $e as yt, Be as z, Lt as zt };
1917
+ export { Lt as $, L as A, Bt as At, q as B, Ht as Bt, st as C, Se as Ct, A as D, he as Dt, rt as E, Pe as Et, me as F, nt as Ft, Ae as G, $ as Gt, R as H, Xe as Ht, pe as I, re as It, be as J, J as K, jt as Kt, mt as L, Ct as Lt, xt as M, lt as Mt, ze as N, tt as Nt, St as O, y as Ot, oe as P, Vt as Pt, It as Q, ht as R, ve as Rt, xe as S, ot as St, ft as T, ye as Tt, qe as U, l as Ut, We as V, v as Vt, Ce as W, Nt as Wt, Fe as X, Tt as Y, Rt as Z, _e as _, p as _t, Je as a, Et as at, F as b, it as bt, Mt as c, Be as ct, B as d, zt as dt, At as et, fe as f, se as ft, Te as g, Me as gt, we as h, ke as ht, $e as i, Ne as it, gt as j, ct as jt, I as k, g as kt, de as l, _ as lt, He as m, Oe as mt, je as n, m as nt, Ot as o, Dt as ot, ge as p, et as pt, Q as q, ue as r, kt as rt, Ft as s, Ue as st, K as t, V as tt, z as u, Ye as ut, h as v, Ut as vt, dt as w, i as wt, Ke as x, at as xt, b as y, f as yt, Ge as z, Ze as zt };