vue-data-ui 3.22.13 → 3.23.0

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 (224) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
  4. package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
  5. package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
  6. package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
  7. package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
  8. package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
  9. package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
  10. package/dist/HillActions-BWhxHlrj.js +187 -0
  11. package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
  13. package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
  14. package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
  15. package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
  16. package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
  17. package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
  18. package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
  19. package/dist/Title-BODtwViI.js +87 -0
  20. package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
  21. package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.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/{dom-to-png-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
  93. package/dist/exposedLib-DWLRqRhv.js +25 -0
  94. package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
  95. package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
  96. package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
  97. package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
  98. package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
  99. package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
  100. package/dist/ssr/vue-ui-donut.js +1 -1
  101. package/dist/ssr/vue-ui-xy.js +1 -1
  102. package/dist/ssr.js +2 -2
  103. package/dist/style.css +1 -1
  104. package/dist/types/vue-data-ui.d.ts +493 -0
  105. package/dist/types/vue-ui-hill.d.ts +90 -0
  106. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  107. package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
  108. package/dist/useHints-Dq_w2E8B.js +66 -0
  109. package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
  110. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
  111. package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
  112. package/dist/useTransitions-g_zBREk2.js +39 -0
  113. package/dist/utils.js +14 -14
  114. package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
  115. package/dist/vue-data-ui.js +77 -76
  116. package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
  117. package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
  118. package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
  119. package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
  120. package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
  121. package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
  122. package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
  123. package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
  124. package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
  125. package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
  126. package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
  127. package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
  128. package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
  129. package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
  130. package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
  131. package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
  132. package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
  133. package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
  134. package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
  135. package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
  136. package/dist/vue-ui-funnel-CjYosIik.js +797 -0
  137. package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
  138. package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
  139. package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
  140. package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
  141. package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
  142. package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
  143. package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
  144. package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
  145. package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
  146. package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
  147. package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
  148. package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
  149. package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
  150. package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
  151. package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
  152. package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
  153. package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
  154. package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
  155. package/dist/vue-ui-rating--K7rX2an.js +360 -0
  156. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
  157. package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
  158. package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
  159. package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
  160. package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
  161. package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
  162. package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
  163. package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
  164. package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
  165. package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
  166. package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
  167. package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
  168. package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
  169. package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
  170. package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
  171. package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
  172. package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
  173. package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
  174. package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
  175. package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
  176. package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
  177. package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
  178. package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
  179. package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
  180. package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
  181. package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
  182. package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
  183. package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
  184. package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
  185. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  186. package/package.json +2 -2
  187. package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
  188. package/dist/Title-BuPs74IB.js +0 -87
  189. package/dist/exposedLib-Ciw6TGtP.js +0 -25
  190. package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
  191. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  192. package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
  193. package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
  194. package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
  195. package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
  196. package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
  197. package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
  198. package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
  199. package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
  200. package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
  201. package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
  202. package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
  203. package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
  204. package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
  205. package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
  206. package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
  207. package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
  208. package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
  209. package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
  210. package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
  211. package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
  212. package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
  213. package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
  214. package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
  215. package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
  216. package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
  217. package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
  218. package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
  219. package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
  220. package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
  221. package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
  222. package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
  223. package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
  224. package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
@@ -1,82 +1,83 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, C as n, E as r, Gt as i, K as a, N as o, Nt as s, P as c, Q as l, Wt as u, Y as d, _ as f, bt as p, et as m, ft as ee, g as h, gt as te, i as g, qt as ne, st as re, t as ie, wt as ae, x as oe, y as _, zt as se } from "./lib-CFm_J26b.js";
3
- import { t as ce } from "./useConfig-C0V0eG7L.js";
4
- import { t as le } from "./usePrinter-BH-xle1O.js";
5
- import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as fe } from "./useSvgExport-Ba9qBr9M.js";
7
- import { t as pe } from "./useNestedProp-BY6DNN3i.js";
8
- import { t as me } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as he } from "./useMountedDelay-BAjrhRJb.js";
10
- import { t as ge } from "./img-Bikk1dGb.js";
11
- import { n as _e } from "./Title-BuPs74IB.js";
12
- import { t as ve } from "./Shape-BfnXr1nJ.js";
13
- import { t as ye } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
- import { l as be, t as xe } from "./useResponsive-ZtArZtUf.js";
15
- import { t as Se } from "./DefGrad-DVBqDjhO.js";
16
- import { t as Ce } from "./BaseLegendToggle-DsWphmIb.js";
17
- import { t as we } from "./A11yDataTable-DdRsVULz.js";
18
- import { t as Te } from "./useUserOptionState-DK-_1ddE.js";
19
- import { t as Ee } from "./useChartAccessibility-DYqac8yF.js";
20
- import { t as De } from "./Legend-C0xAnJdO.js";
21
- import { t as Oe } from "./vue_ui_scatter-I0POnicu.js";
22
- import { Fragment as v, Teleport as ke, computed as y, createBlock as b, createCommentVNode as x, createElementBlock as S, createElementVNode as C, createSlots as Ae, createTextVNode as je, createVNode as Me, defineAsyncComponent as Ne, guardReactiveProps as w, mergeProps as Pe, nextTick as Fe, normalizeClass as Ie, normalizeProps as T, normalizeStyle as E, onBeforeUnmount as Le, onMounted as Re, openBlock as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as ze, shallowRef as Be, toDisplayString as j, toRefs as Ve, unref as M, watch as He, withCtx as N } from "vue";
2
+ import { $ as t, Bt as n, D as r, F as i, Gt as a, Jt as o, Kt as s, P as c, Pt as l, S as u, Tt as d, X as f, _ as p, _t as m, b as h, ct as ee, i as g, jt as te, pt as ne, q as re, t as ie, tt as ae, v as oe, w as se, xt as ce } from "./lib-BuMGJ_a0.js";
3
+ import { n as le, t as ue } from "./useHints-Dq_w2E8B.js";
4
+ import { t as de } from "./useConfig-BilxnBNr.js";
5
+ import { t as fe } from "./usePrinter-BFvi4jVy.js";
6
+ import { n as pe, t as me } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as he } from "./useSvgExport-Ba9qBr9M.js";
8
+ import { t as ge } from "./useNestedProp--NSEmhOH.js";
9
+ import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as ve } from "./useTransitions-g_zBREk2.js";
11
+ import { t as ye } from "./img-DIQG5q8T.js";
12
+ import { n as be } from "./Title-BODtwViI.js";
13
+ import { t as xe } from "./Shape-BPMV94Ij.js";
14
+ import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
+ import { l as Ce, t as we } from "./useResponsive-ZtArZtUf.js";
16
+ import { t as Te } from "./DefGrad-DVBqDjhO.js";
17
+ import { t as Ee } from "./BaseLegendToggle-CtAPwzr2.js";
18
+ import { t as De } from "./A11yDataTable-DdRsVULz.js";
19
+ import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
20
+ import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
21
+ import { t as Ae } from "./Legend-CQTRlzK-.js";
22
+ import { t as je } from "./vue_ui_scatter-I0POnicu.js";
23
+ import { Fragment as _, Teleport as Me, computed as v, createBlock as y, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as C, guardReactiveProps as w, mergeProps as Ie, nextTick as Le, normalizeClass as Re, normalizeProps as T, normalizeStyle as E, onBeforeUnmount as ze, onMounted as Be, openBlock as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as j, toRefs as Ue, unref as M, watch as We, withCtx as N } from "vue";
23
24
  //#region src/components/vue-ui-scatter.vue
24
- var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke = {
25
+ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je = {
25
26
  key: 0,
26
27
  class: "sr-only",
27
28
  "aria-live": "polite",
28
29
  "aria-atomic": "true"
29
- }, qe = ["id"], Je = { style: { position: "relative" } }, Ye = [
30
+ }, Ye = ["id"], Xe = { style: { position: "relative" } }, Ze = [
30
31
  "xmlns",
31
32
  "aria-describedby",
32
33
  "viewBox"
33
- ], Xe = ["width", "height"], Ze = { key: 1 }, Qe = [
34
+ ], Qe = ["width", "height"], $e = { key: 1 }, et = [
34
35
  "x1",
35
36
  "x2",
36
37
  "y1",
37
38
  "y2",
38
39
  "stroke",
39
40
  "stroke-width"
40
- ], $e = [
41
+ ], tt = [
41
42
  "x1",
42
43
  "x2",
43
44
  "y1",
44
45
  "y2",
45
46
  "stroke",
46
47
  "stroke-width"
47
- ], et = { key: 2 }, tt = [
48
+ ], nt = { key: 2 }, rt = [
48
49
  "x1",
49
50
  "x2",
50
51
  "y1",
51
52
  "y2",
52
53
  "stroke",
53
54
  "stroke-width"
54
- ], nt = ["opacity"], rt = [
55
+ ], it = ["opacity"], at = [
55
56
  "stroke",
56
57
  "stroke-width",
57
58
  "d"
58
- ], it = [
59
+ ], ot = [
59
60
  "transform",
60
61
  "font-size",
61
62
  "fill",
62
63
  "stroke"
63
- ], at = { key: 4 }, ot = [
64
+ ], st = { key: 4 }, ct = [
64
65
  "x1",
65
66
  "x2",
66
67
  "y1",
67
68
  "y2",
68
69
  "stroke",
69
70
  "stroke-width"
70
- ], st = ["opacity"], ct = [
71
+ ], lt = ["opacity"], ut = [
71
72
  "d",
72
73
  "stroke",
73
74
  "stroke-width"
74
- ], lt = [
75
+ ], dt = [
75
76
  "transform",
76
77
  "font-size",
77
78
  "fill",
78
79
  "stroke"
79
- ], ut = { key: 6 }, dt = [
80
+ ], ft = { key: 6 }, pt = [
80
81
  "x",
81
82
  "y",
82
83
  "width",
@@ -85,37 +86,37 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
85
86
  "stroke",
86
87
  "stroke-width",
87
88
  "rx"
88
- ], ft = [
89
+ ], mt = [
89
90
  "x",
90
91
  "y",
91
92
  "width",
92
93
  "height",
93
94
  "onMouseenter"
94
- ], pt = {
95
+ ], ht = {
95
96
  key: 2,
96
97
  style: { "pointer-events": "none" }
97
- }, mt = [
98
+ }, gt = [
98
99
  "x",
99
100
  "y",
100
101
  "width",
101
102
  "height",
102
103
  "fill",
103
104
  "fill-opacity"
104
- ], ht = [
105
+ ], _t = [
105
106
  "x1",
106
107
  "x2",
107
108
  "y2",
108
109
  "stroke",
109
110
  "stroke-dasharray",
110
111
  "stroke-width"
111
- ], gt = [
112
+ ], vt = [
112
113
  "x1",
113
114
  "x2",
114
115
  "y2",
115
116
  "stroke",
116
117
  "stroke-dasharray",
117
118
  "stroke-width"
118
- ], _t = [
119
+ ], yt = [
119
120
  "x",
120
121
  "y",
121
122
  "height",
@@ -124,23 +125,23 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
124
125
  "stroke",
125
126
  "stroke-width",
126
127
  "rx"
127
- ], vt = [
128
+ ], bt = [
128
129
  "x",
129
130
  "y",
130
131
  "width",
131
132
  "height",
132
133
  "onMouseenter"
133
- ], yt = {
134
+ ], xt = {
134
135
  key: 2,
135
136
  style: { "pointer-events": "none" }
136
- }, bt = [
137
+ }, St = [
137
138
  "x",
138
139
  "y",
139
140
  "width",
140
141
  "height",
141
142
  "fill",
142
143
  "fill-opacity"
143
- ], xt = [
144
+ ], Ct = [
144
145
  "x1",
145
146
  "x2",
146
147
  "y1",
@@ -148,7 +149,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
148
149
  "stroke",
149
150
  "stroke-dasharray",
150
151
  "stroke-width"
151
- ], St = [
152
+ ], wt = [
152
153
  "x1",
153
154
  "x2",
154
155
  "y1",
@@ -156,35 +157,35 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
156
157
  "stroke",
157
158
  "stroke-dasharray",
158
159
  "stroke-width"
159
- ], Ct = {
160
+ ], Tt = {
160
161
  key: 0,
161
162
  style: { "pointer-events": "none" }
162
- }, wt = [
163
+ }, Et = [
163
164
  "d",
164
165
  "stroke",
165
166
  "stroke-width"
166
- ], Tt = [
167
+ ], Dt = [
167
168
  "d",
168
169
  "stroke",
169
170
  "stroke-width"
170
- ], Et = [
171
+ ], Ot = [
171
172
  "d",
172
173
  "stroke",
173
174
  "stroke-width"
174
- ], Dt = [
175
+ ], kt = [
175
176
  "d",
176
177
  "stroke",
177
178
  "stroke-width"
178
- ], Ot = { key: 7 }, kt = [
179
+ ], At = { key: 7 }, jt = [
179
180
  "points",
180
181
  "fill",
181
182
  "stroke-width",
182
183
  "stroke-dasharray",
183
184
  "stroke"
184
- ], At = {
185
+ ], Mt = {
185
186
  key: 0,
186
187
  class: "vue-ui-scatter-datapoint"
187
- }, jt = [
188
+ }, Nt = [
188
189
  "cx",
189
190
  "cy",
190
191
  "r",
@@ -194,31 +195,31 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
194
195
  "onMouseover",
195
196
  "onMouseleave",
196
197
  "onClick"
197
- ], Mt = { key: 1 }, Nt = [
198
+ ], Pt = { key: 1 }, Ft = [
198
199
  "transform",
199
200
  "font-size",
200
201
  "fill",
201
202
  "onMouseover",
202
203
  "onMouseleave",
203
204
  "onClick"
204
- ], Pt = ["clip-path"], Ft = [
205
+ ], It = ["clip-path"], Lt = [
205
206
  "d",
206
207
  "fill",
207
208
  "stroke",
208
209
  "stroke-width",
209
210
  "stroke-opacity"
210
- ], It = {
211
+ ], Rt = {
211
212
  key: 0,
212
213
  style: { "pointer-events": "none" }
213
- }, Lt = [
214
+ }, zt = [
214
215
  "x",
215
216
  "y",
216
217
  "width",
217
218
  "height"
218
- ], Rt = {
219
+ ], Bt = {
219
220
  key: 0,
220
221
  style: { "pointer-events": "none !important" }
221
- }, zt = [
222
+ }, Vt = [
222
223
  "x1",
223
224
  "x2",
224
225
  "y1",
@@ -226,7 +227,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
226
227
  "stroke",
227
228
  "stroke-width",
228
229
  "stroke-dasharray"
229
- ], Bt = [
230
+ ], Ht = [
230
231
  "x1",
231
232
  "x2",
232
233
  "y1",
@@ -234,89 +235,89 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
234
235
  "stroke",
235
236
  "stroke-width",
236
237
  "stroke-dasharray"
237
- ], Vt = [
238
+ ], Ut = [
238
239
  "x",
239
240
  "y",
240
241
  "font-size",
241
242
  "fill",
242
243
  "font-weight",
243
244
  "text-anchor"
244
- ], Ht = [
245
+ ], Wt = [
245
246
  "x",
246
247
  "y",
247
248
  "font-size",
248
249
  "fill",
249
250
  "font-weight"
250
- ], Ut = [
251
+ ], Gt = [
251
252
  "x",
252
253
  "y",
253
254
  "font-size",
254
255
  "fill"
255
- ], Wt = [
256
+ ], Kt = [
256
257
  "x",
257
258
  "y",
258
259
  "font-size",
259
260
  "fill"
260
- ], Gt = [
261
+ ], qt = [
261
262
  "cx",
262
263
  "cy",
263
264
  "r",
264
265
  "fill",
265
266
  "stroke",
266
267
  "stroke-width"
267
- ], Kt = [
268
+ ], Jt = [
268
269
  "cx",
269
270
  "cy",
270
271
  "r",
271
272
  "fill",
272
273
  "stroke",
273
274
  "stroke-width"
274
- ], qt = [
275
+ ], Yt = [
275
276
  "x",
276
277
  "y",
277
278
  "font-size",
278
279
  "fill",
279
280
  "font-weight",
280
281
  "text-anchor"
281
- ], Jt = [
282
+ ], Xt = [
282
283
  "id",
283
284
  "transform",
284
285
  "font-size",
285
286
  "font-weight",
286
287
  "fill"
287
- ], Yt = [
288
+ ], Zt = [
288
289
  "font-size",
289
290
  "fill",
290
291
  "transform"
291
- ], Xt = [
292
+ ], Qt = [
292
293
  "transform",
293
294
  "font-size",
294
295
  "fill"
295
- ], Zt = [
296
+ ], $t = [
296
297
  "x",
297
298
  "y",
298
299
  "font-size",
299
300
  "fill"
300
- ], Qt = [
301
+ ], en = [
301
302
  "x",
302
303
  "y",
303
304
  "font-size",
304
305
  "fill"
305
- ], $t = [
306
+ ], tn = [
306
307
  "font-size",
307
308
  "font-weight",
308
309
  "fill",
309
310
  "x",
310
311
  "y"
311
- ], en = ["id"], tn = [
312
+ ], nn = ["id"], rn = [
312
313
  "x",
313
314
  "y",
314
315
  "width",
315
316
  "height"
316
- ], nn = {
317
+ ], an = {
317
318
  key: 14,
318
319
  style: { pointerEvents: "none" }
319
- }, rn = [
320
+ }, on = [
320
321
  "x1",
321
322
  "x2",
322
323
  "y1",
@@ -325,13 +326,13 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
325
326
  "stroke",
326
327
  "stroke-width",
327
328
  "clip-path"
328
- ], an = [
329
+ ], sn = [
329
330
  "x",
330
331
  "y",
331
332
  "fill",
332
333
  "font-size",
333
334
  "font-weight"
334
- ], on = {
335
+ ], cn = {
335
336
  key: 0,
336
337
  style: {
337
338
  position: "absolute",
@@ -341,10 +342,10 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
341
342
  },
342
343
  "data-dom-to-png-ignore": "",
343
344
  "aria-hidden": "true"
344
- }, sn = {
345
+ }, ln = {
345
346
  key: 6,
346
347
  class: "vue-data-ui-watermark"
347
- }, cn = ["id"], ln = ["onClick"], un = {
348
+ }, un = ["id"], dn = ["onClick"], fn = {
348
349
  key: 0,
349
350
  style: {
350
351
  width: "100%",
@@ -352,7 +353,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
352
353
  "align-items": "center",
353
354
  "justify-content": "center"
354
355
  }
355
- }, dn = {
356
+ }, pn = {
356
357
  viewBox: "0 0 20 20",
357
358
  height: "20",
358
359
  width: "20",
@@ -360,7 +361,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
360
361
  overflow: "hidden",
361
362
  background: "transparent"
362
363
  }
363
- }, fn = { key: 0 }, pn = ["innerHTML"], mn = /*#__PURE__*/ ye({
364
+ }, mn = { key: 0 }, hn = ["innerHTML"], gn = /*#__PURE__*/ Se({
364
365
  __name: "vue-ui-scatter",
365
366
  props: {
366
367
  config: {
@@ -377,33 +378,51 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
377
378
  }
378
379
  },
379
380
  emits: ["copyAlt", "selectLegend"],
380
- setup(e, { expose: ye, emit: Ue }) {
381
- let mn = Ne(() => import("./Tooltip-CA1rtSyl.js")), hn = Ne(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), gn = Ne(() => import("./vue-ui-accordion-UA88lv4d.js").then((e) => e.n)), _n = Ne(() => import("./DataTable-DzPEVvSo.js")), vn = Ne(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), yn = Ne(() => import("./UserOptions-DzAFK9cY.js").then((e) => e.n)), bn = Ne(() => import("./PackageVersion-B6Hokxw9.js").then((e) => e.t)), xn = Ne(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_scatter: Sn } = ce(), { isThemeValid: Cn, warnInvalidTheme: wn } = me(), { isReady: Tn } = he(300), P = e, En = Ue, Dn = y(() => !!P.dataset && P.dataset.length), F = O(a()), On = O(!1), kn = O(""), An = O(0), I = O(null), jn = O(null), Mn = O(null), Nn = O(null), Pn = O(null), Fn = O(0), In = O(0), Ln = O(0), L = O([]), Rn = O(!1), zn = O(null), Bn = O(null), Vn = O(null), Hn = O(null), Un = O(!1), Wn = O(!1), Gn = O(null), Kn = O(null), qn = O(null), Jn = O(null), Yn = O(null), Xn = O(null), Zn = O(null), Qn = O({
381
+ setup(e, { expose: Se, emit: Ge }) {
382
+ let gn = C(() => import("./Tooltip-CMTGxeYO.js")), _n = C(() => import("./BaseIcon-91MZoczJ.js").then((e) => e.n)), vn = C(() => import("./vue-ui-accordion-61MlW-Ge.js").then((e) => e.n)), yn = C(() => import("./DataTable-D4tM9s5Y.js")), bn = C(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), xn = C(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), Sn = C(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), Cn = C(() => import("./BaseDraggableDialog-qTnfhLBz.js").then((e) => e.n)), { vue_ui_scatter: wn } = de(), { isThemeValid: Tn, warnInvalidTheme: En } = _e(), P = e, Dn = Ge, On = v(() => !!P.dataset && P.dataset.length), F = O(re()), kn = O(!1), An = O(""), jn = O(0), I = O(null), Mn = O(null), Nn = O(null), Pn = O(null), Fn = O(null), In = O(0), Ln = O(0), Rn = O(0), L = O([]), zn = O(!1), Bn = O(null), Vn = O(null), Hn = O(null), Un = O(null), Wn = O(!1), Gn = O(!1), Kn = O(null), qn = O(null), Jn = O(null), Yn = O(null), Xn = O(null), Zn = O(null), Qn = O(null), $n = O({
382
383
  x: 0,
383
384
  y: 0
384
- }), $n = O("pointer"), er = O(!1), tr = O(null), R = O(fr()), nr = y(() => R.value.userOptions.useCursorPointer);
385
- function rr(e = 100, t = .8, n = {}) {
385
+ }), er = O("pointer"), tr = O(!1), nr = O(null), R = O(mr());
386
+ le({
387
+ config: () => R.value,
388
+ dataset: () => P.dataset,
389
+ component: "VueUiScatter",
390
+ rules: [ue.emptyArray, {
391
+ test: (e) => e.length > 6,
392
+ message: [
393
+ "👀 The number of series (clusters) is > 6. Consider:",
394
+ "",
395
+ "",
396
+ "▶️ Using filters to let users choose a maximum number of series (clusters) to display."
397
+ ]
398
+ }]
399
+ });
400
+ let { transitionEnabled: rr } = ve({
401
+ config: () => R.value.transitions,
402
+ dataset: () => P.dataset
403
+ }), ir = v(() => R.value.userOptions.useCursorPointer);
404
+ function ar(e = 100, t = .8, n = {}) {
386
405
  let { meanX: r = 0, sdX: i = 1, meanY: a = 0, sdY: o = 1, seed: s } = n, c = (s ?? Math.floor(Math.random() * 2 ** 31)) >>> 0, l = () => (c = c * 1664525 + 1013904223 >>> 0, c / 2 ** 32), u = () => {
387
406
  let e = 0, t = 0;
388
407
  for (; e === 0;) e = l();
389
408
  for (; t === 0;) t = l();
390
409
  return Math.sqrt(-2 * Math.log(e)) * Math.cos(2 * Math.PI * t);
391
- }, d = e / 2, f = Array.from({ length: d }, u), p = Array.from({ length: d }, u), m = (e) => e.reduce((e, t) => e + t, 0) / e.length, ee = m(f), h = m(p);
392
- for (let e = 0; e < d; e += 1) f[e] -= ee, p[e] -= h;
393
- let te = (e, t) => e.reduce((e, n, r) => e + n * t[r], 0), g = (e) => te(e, e), ne = te(p, f) / g(f), re = p.map((e, t) => e - ne * f[t]), ie = g(f) / d, ae = g(re) / d, oe = Math.sqrt((1 - t * t) * ie / ae), _ = f.map((e, n) => t * e + oe * re[n]), se = f.concat(f.map((e) => -e)), ce = _.concat(_.map((e) => -e)), le = (e) => Math.sqrt(g(e) / e.length), ue = (e, t, n) => {
394
- let r = le(e);
410
+ }, d = e / 2, f = Array.from({ length: d }, u), p = Array.from({ length: d }, u), m = (e) => e.reduce((e, t) => e + t, 0) / e.length, h = m(f), ee = m(p);
411
+ for (let e = 0; e < d; e += 1) f[e] -= h, p[e] -= ee;
412
+ let g = (e, t) => e.reduce((e, n, r) => e + n * t[r], 0), te = (e) => g(e, e), ne = g(p, f) / te(f), re = p.map((e, t) => e - ne * f[t]), ie = te(f) / d, ae = te(re) / d, oe = Math.sqrt((1 - t * t) * ie / ae), se = f.map((e, n) => t * e + oe * re[n]), ce = f.concat(f.map((e) => -e)), le = se.concat(se.map((e) => -e)), ue = (e) => Math.sqrt(te(e) / e.length), de = (e, t, n) => {
413
+ let r = ue(e);
395
414
  return e.map((e) => n + (r ? e / r * t : 0));
396
- }, de = ue(se, i, r), fe = ue(ce, o, a);
397
- for (let e = de.length - 1; e > 0; --e) {
415
+ }, fe = de(ce, i, r), pe = de(le, o, a);
416
+ for (let e = fe.length - 1; e > 0; --e) {
398
417
  let t = Math.floor(l() * (e + 1));
399
- [de[e], de[t]] = [de[t], de[e]], [fe[e], fe[t]] = [fe[t], fe[e]];
418
+ [fe[e], fe[t]] = [fe[t], fe[e]], [pe[e], pe[t]] = [pe[t], pe[e]];
400
419
  }
401
- return de.map((e, t) => ({
420
+ return fe.map((e, t) => ({
402
421
  x: e,
403
- y: fe[t]
422
+ y: pe[t]
404
423
  }));
405
424
  }
406
- let ir = y(() => ne({
425
+ let or = v(() => o({
407
426
  defaultConfig: {
408
427
  userOptions: { show: !1 },
409
428
  table: { show: !1 },
@@ -430,82 +449,82 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
430
449
  }
431
450
  },
432
451
  userConfig: R.value.skeletonConfig ?? {}
433
- })), { loading: ar, FINAL_DATASET: or, manualLoading: sr } = ue({
434
- ...Ve(P),
452
+ })), { loading: sr, FINAL_DATASET: cr, manualLoading: lr } = pe({
453
+ ...Ue(P),
435
454
  FINAL_CONFIG: R,
436
- prepareConfig: fr,
455
+ prepareConfig: mr,
437
456
  skeletonDataset: P.config?.skeletonDataset ?? [{
438
457
  name: "",
439
458
  color: "#999999",
440
- values: rr(100, .5, { seed: 42 })
459
+ values: ar(100, .5, { seed: 42 })
441
460
  }],
442
- skeletonConfig: ne({
461
+ skeletonConfig: o({
443
462
  defaultConfig: R.value,
444
- userConfig: ir.value
463
+ userConfig: or.value
445
464
  })
446
- }), { userOptionsVisible: cr, setUserOptionsVisibility: lr, keepUserOptionState: ur } = Te({ config: R.value }), { svgRef: dr } = Ee({ config: R.value.style.title });
447
- function fr() {
448
- let e = pe({
465
+ }), { userOptionsVisible: ur, setUserOptionsVisibility: dr, keepUserOptionState: fr } = Oe({ config: R.value }), { svgRef: pr } = ke({ config: R.value.style.title });
466
+ function mr() {
467
+ let e = ge({
449
468
  userConfig: P.config,
450
- defaultConfig: Sn
469
+ defaultConfig: wn
451
470
  }), t = e.theme;
452
471
  if (!t) return e;
453
- if (!Cn.value(e)) return wn(e), e;
454
- let n = pe({
455
- userConfig: Oe[t] || P.config,
472
+ if (!Tn.value(e)) return En(e), e;
473
+ let n = ge({
474
+ userConfig: je[t] || P.config,
456
475
  defaultConfig: e
457
- }), r = pe({
476
+ }), r = ge({
458
477
  userConfig: P.config,
459
478
  defaultConfig: n
460
479
  });
461
480
  return {
462
481
  ...r,
463
- customPalette: r.customPalette.length ? r.customPalette : i[t] || s
482
+ customPalette: r.customPalette.length ? r.customPalette : s[t] || l
464
483
  };
465
484
  }
466
- He(() => P.config, (e) => {
467
- ar.value || (R.value = fr()), cr.value = !R.value.userOptions.showOnChartHover, hr(), Fn.value += 1, In.value += 1, Ln.value += 1, B.value.showTable = R.value.table.show, B.value.showTooltip = R.value.style.tooltip.show, mr.value && R.value.usePerformanceMode && console.warn("VueUiScatter : You are using performance mode\n\n- downsampling is disabled in this mode, all plots are rendered\n\n- plot significance is not active in this mode (all plots have the same opacity) \n\n- Depending on plot density, shapes might not display a border (stroke) to avoid fuzziness \n\nℹ️ To remove this warning, set config.debug to false.");
468
- }, { deep: !0 }), He(() => P.dataset, (e) => {
469
- Array.isArray(e) && e.length > 0 && (sr.value = !1);
485
+ We(() => P.config, (e) => {
486
+ sr.value || (R.value = mr()), ur.value = !R.value.userOptions.showOnChartHover, _r(), In.value += 1, Ln.value += 1, Rn.value += 1, B.value.showTable = R.value.table.show, B.value.showTooltip = R.value.style.tooltip.show, gr.value && R.value.usePerformanceMode && console.warn("VueUiScatter : You are using performance mode\n\n- downsampling is disabled in this mode, all plots are rendered\n\n- plot significance is not active in this mode (all plots have the same opacity) \n\n- Depending on plot density, shapes might not display a border (stroke) to avoid fuzziness \n\nℹ️ To remove this warning, set config.debug to false.");
487
+ }, { deep: !0 }), We(() => P.dataset, (e) => {
488
+ Array.isArray(e) && e.length > 0 && (lr.value = !1);
470
489
  }, { deep: !0 });
471
- let z = Be(null), pr = Be(null);
472
- Re(async () => {
473
- hr(), await Fe(), Rn.value = !0;
490
+ let z = He(null), hr = He(null);
491
+ Be(async () => {
492
+ _r(), await Le(), zn.value = !0;
474
493
  });
475
- let mr = y(() => !!R.value.debug);
476
- function hr() {
477
- if (t(P.dataset) && (m({
494
+ let gr = v(() => !!R.value.debug);
495
+ function _r() {
496
+ if (te(P.dataset) && (ae({
478
497
  componentName: "VueUiScatter",
479
498
  type: "dataset",
480
- debug: mr.value
481
- }), sr.value = !0), t(P.dataset) || (sr.value = R.value.loading), R.value.responsive) {
482
- let e = be(() => {
483
- let { width: e, height: t } = xe({
499
+ debug: gr.value
500
+ }), lr.value = !0), te(P.dataset) || (lr.value = R.value.loading), R.value.responsive) {
501
+ let e = Ce(() => {
502
+ let { width: e, height: t } = we({
484
503
  chart: I.value,
485
- title: R.value.style.title.text ? jn.value : null,
486
- legend: R.value.style.legend.show ? Mn.value : null,
487
- source: Nn.value,
488
- noTitle: Pn.value
504
+ title: R.value.style.title.text ? Mn.value : null,
505
+ legend: R.value.style.legend.show ? Nn.value : null,
506
+ source: Pn.value,
507
+ noTitle: Fn.value
489
508
  });
490
509
  requestAnimationFrame(() => {
491
510
  V.value.width = e, V.value.height = t;
492
511
  });
493
512
  });
494
- z.value && (pr.value && z.value.unobserve(pr.value), z.value.disconnect()), z.value = new ResizeObserver(e), pr.value = I.value.parentNode, z.value.observe(pr.value);
513
+ z.value && (hr.value && z.value.unobserve(hr.value), z.value.disconnect()), z.value = new ResizeObserver(e), hr.value = I.value.parentNode, z.value.observe(hr.value);
495
514
  }
496
515
  }
497
- Le(() => {
498
- z.value && (pr.value && z.value.unobserve(pr.value), z.value.disconnect());
516
+ ze(() => {
517
+ z.value && (hr.value && z.value.unobserve(hr.value), z.value.disconnect());
499
518
  });
500
- let { isPrinting: gr, isImaging: _r, generatePdf: vr, generateImage: yr } = le({
519
+ let { isPrinting: vr, isImaging: yr, generatePdf: br, generateImage: xr } = fe({
501
520
  elementId: `vue-ui-scatter_${F.value}`,
502
521
  fileName: R.value.style.title.text || "vue-ui-scatter",
503
522
  options: R.value.userOptions.print
504
- }), br = y(() => R.value.userOptions.show && !R.value.style.title.text), xr = y(() => n(R.value.customPalette)), B = O({
523
+ }), Sr = v(() => R.value.userOptions.show && !R.value.style.title.text), Cr = v(() => se(R.value.customPalette)), B = O({
505
524
  showTable: R.value.table.show,
506
525
  showTooltip: R.value.style.tooltip.show
507
526
  });
508
- He(R, () => {
527
+ We(R, () => {
509
528
  B.value = {
510
529
  showTable: R.value.table.show,
511
530
  showTooltip: R.value.style.tooltip.show
@@ -514,11 +533,11 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
514
533
  let V = O({
515
534
  height: R.value.style.layout.height,
516
535
  width: R.value.style.layout.width
517
- }), Sr = y(() => R.value.style.layout.marginalBars.show ? R.value.style.layout.marginalBars.size + R.value.style.layout.marginalBars.offset : 0);
518
- function Cr() {
536
+ }), wr = v(() => R.value.style.layout.marginalBars.show ? R.value.style.layout.marginalBars.size + R.value.style.layout.marginalBars.offset : 0);
537
+ function Tr() {
519
538
  let e = 0;
520
- if (R.value.style.layout.dataLabels.yAxis.scales.show && Yn.value) try {
521
- e = Array.from(Yn.value.querySelectorAll("text")).reduce((e, t) => {
539
+ if (R.value.style.layout.dataLabels.yAxis.scales.show && Xn.value) try {
540
+ e = Array.from(Xn.value.querySelectorAll("text")).reduce((e, t) => {
522
541
  let n = t.getComputedTextLength();
523
542
  return n > e ? n : e;
524
543
  }, 0);
@@ -526,24 +545,24 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
526
545
  e = 0;
527
546
  }
528
547
  let t = 0;
529
- if (Gn.value) try {
530
- t = Gn.value.getBBox().width;
548
+ if (Kn.value) try {
549
+ t = Kn.value.getBBox().width;
531
550
  } catch {
532
551
  t = 0;
533
552
  }
534
553
  return Math.max(t, e ? e + 12 : 0);
535
554
  }
536
- function wr() {
555
+ function Er() {
537
556
  let e = 0;
538
- if (Kn.value) try {
539
- let t = Kn.value.getBBox(), n = t.x + t.width - V.value.width;
557
+ if (qn.value) try {
558
+ let t = qn.value.getBBox(), n = t.x + t.width - V.value.width;
540
559
  e = n > 0 ? n + 6 : 0;
541
560
  } catch {
542
561
  e = 0;
543
562
  }
544
563
  let t = 0;
545
- if (R.value.style.layout.dataLabels.xAxis.scales.show && Xn.value) try {
546
- t = Array.from(Xn.value.querySelectorAll("text")).reduce((e, t) => {
564
+ if (R.value.style.layout.dataLabels.xAxis.scales.show && Zn.value) try {
565
+ t = Array.from(Zn.value.querySelectorAll("text")).reduce((e, t) => {
547
566
  let n = t.getBBox(), r = n.x + n.width - V.value.width, i = r > 0 ? r + 6 : 0;
548
567
  return i > e ? i : e;
549
568
  }, 0);
@@ -552,39 +571,39 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
552
571
  }
553
572
  return e > t ? e : t;
554
573
  }
555
- let H = y(() => {
574
+ let H = v(() => {
556
575
  let e = 0, t = 0, n = 0;
557
- if (e = Cr(), t = wr(), Jn.value) try {
558
- n = Jn.value.getBBox().height + 6;
576
+ if (e = Tr(), t = Er(), Yn.value) try {
577
+ n = Yn.value.getBBox().height + 6;
559
578
  } catch {
560
579
  n = 0;
561
580
  }
562
581
  return {
563
- top: R.value.style.layout.padding.top + Sr.value + R.value.style.layout.dataLabels.yAxis.fontSize * 2,
564
- right: V.value.width - R.value.style.layout.padding.right - Sr.value - 6 - t,
582
+ top: R.value.style.layout.padding.top + wr.value + R.value.style.layout.dataLabels.yAxis.fontSize * 2,
583
+ right: V.value.width - R.value.style.layout.padding.right - wr.value - 6 - t,
565
584
  bottom: V.value.height - R.value.style.layout.padding.bottom - n,
566
585
  left: R.value.style.layout.padding.left + e,
567
- height: V.value.height - R.value.style.layout.padding.top - R.value.style.layout.padding.bottom - Sr.value - n - R.value.style.layout.dataLabels.yAxis.fontSize * 2,
568
- width: V.value.width - R.value.style.layout.padding.left - R.value.style.layout.padding.right - Sr.value - e - t - 6
586
+ height: V.value.height - R.value.style.layout.padding.top - R.value.style.layout.padding.bottom - wr.value - n - R.value.style.layout.dataLabels.yAxis.fontSize * 2,
587
+ width: V.value.width - R.value.style.layout.padding.left - R.value.style.layout.padding.right - wr.value - e - t - 6
569
588
  };
570
- }), Tr = y(() => {
571
- or.value.forEach((e, t) => {
572
- ee({
589
+ }), Dr = v(() => {
590
+ cr.value.forEach((e, t) => {
591
+ ne({
573
592
  datasetObject: e,
574
593
  requiredAttributes: ["values"]
575
594
  }).forEach((e) => {
576
- m({
595
+ ae({
577
596
  componentName: "VueUiScatter",
578
597
  type: "datasetSerieAttribute",
579
598
  property: e,
580
599
  index: t
581
600
  });
582
601
  }), e.values && e.values.forEach((e, n) => {
583
- ee({
602
+ ne({
584
603
  datasetObject: e,
585
604
  requiredAttributes: ["x", "y"]
586
605
  }).forEach((e) => {
587
- m({
606
+ ae({
588
607
  componentName: "VueUiScatter",
589
608
  type: "datasetSerieAttribute",
590
609
  property: `values.${e}`,
@@ -600,131 +619,131 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
600
619
  yMin: n < 0 ? n : 0,
601
620
  yMax: r
602
621
  };
603
- }), Er = y(() => {
622
+ }), Or = v(() => {
604
623
  let e = R.value.style.layout.axis;
605
624
  return {
606
- xMin: e.xMin !== null && e.xMin !== void 0 ? e.xMin : Tr.value.xMin,
607
- xMax: e.xMax !== null && e.xMax !== void 0 ? e.xMax : Tr.value.xMax,
608
- yMin: e.yMin !== null && e.yMin !== void 0 ? e.yMin : Tr.value.yMin,
609
- yMax: e.yMax !== null && e.yMax !== void 0 ? e.yMax : Tr.value.yMax
625
+ xMin: e.xMin !== null && e.xMin !== void 0 ? e.xMin : Dr.value.xMin,
626
+ xMax: e.xMax !== null && e.xMax !== void 0 ? e.xMax : Dr.value.xMax,
627
+ yMin: e.yMin !== null && e.yMin !== void 0 ? e.yMin : Dr.value.yMin,
628
+ yMax: e.yMax !== null && e.yMax !== void 0 ? e.yMax : Dr.value.yMax
610
629
  };
611
630
  });
612
- function Dr(e) {
631
+ function kr(e) {
613
632
  return Number.isFinite(e) ? e < 2 ? 2 : Math.trunc(e) : 5;
614
633
  }
615
- function Or(e) {
634
+ function Ar(e) {
616
635
  return e.roundingValue !== void 0 && e.roundingValue !== null ? e.roundingValue : e.rounding !== void 0 && e.rounding !== null ? e.rounding : 0;
617
636
  }
618
- function kr({ minimum: e, maximum: t, stepCount: n, useNiceScale: r }) {
619
- let i = Dr(n);
637
+ function jr({ minimum: e, maximum: t, stepCount: n, useNiceScale: r }) {
638
+ let i = kr(n);
620
639
  if (e === t) {
621
640
  let n = t + (e === 0 ? 1 : Math.abs(e) * .01);
622
- return (r ? h : f)(e, n, i);
641
+ return (r ? p : oe)(e, n, i);
623
642
  }
624
- return (r ? h : f)(e, t, i);
643
+ return (r ? p : oe)(e, t, i);
625
644
  }
626
- let Ar = y(() => {
645
+ let Mr = v(() => {
627
646
  let e = R.value.style.layout.dataLabels.xAxis;
628
- return kr({
629
- minimum: Er.value.xMin,
630
- maximum: Er.value.xMax,
647
+ return jr({
648
+ minimum: Or.value.xMin,
649
+ maximum: Or.value.xMax,
631
650
  stepCount: e.scales.steps,
632
651
  useNiceScale: e.scales.useNiceScale
633
652
  });
634
- }), jr = y(() => {
653
+ }), Nr = v(() => {
635
654
  let e = R.value.style.layout.dataLabels.yAxis;
636
- return kr({
637
- minimum: Er.value.yMin,
638
- maximum: Er.value.yMax,
655
+ return jr({
656
+ minimum: Or.value.yMin,
657
+ maximum: Or.value.yMax,
639
658
  stepCount: e.scales.steps,
640
659
  useNiceScale: e.scales.useNiceScale
641
660
  });
642
- }), U = y(() => ({
643
- xMin: Ar.value.min,
644
- xMax: Ar.value.max,
645
- yMin: jr.value.min,
646
- yMax: jr.value.max
647
- })), Mr = y(() => {
661
+ }), U = v(() => ({
662
+ xMin: Mr.value.min,
663
+ xMax: Mr.value.max,
664
+ yMin: Nr.value.min,
665
+ yMax: Nr.value.max
666
+ })), Pr = v(() => {
648
667
  let e = R.value.style.layout.dataLabels.xAxis, t = e.scales.labels;
649
- return Ar.value.ticks.map((n) => ({
668
+ return Mr.value.ticks.map((n) => ({
650
669
  value: n,
651
- x: Ir(n),
652
- label: g(t.formatter, _(n), d({
670
+ x: Rr(n),
671
+ label: g(t.formatter, h(n), f({
653
672
  p: R.value.style.layout.plots.selectors.labels.prefix,
654
- v: _(n),
673
+ v: h(n),
655
674
  s: R.value.style.layout.plots.selectors.labels.suffix,
656
- r: Or(e)
675
+ r: Ar(e)
657
676
  }))
658
677
  }));
659
- }), Nr = y(() => {
678
+ }), Fr = v(() => {
660
679
  let e = R.value.style.layout.dataLabels.yAxis, t = e.scales.labels;
661
- return jr.value.ticks.map((n) => ({
680
+ return Nr.value.ticks.map((n) => ({
662
681
  value: n,
663
- y: Lr(n),
664
- label: g(t.formatter, _(n), d({
682
+ y: zr(n),
683
+ label: g(t.formatter, h(n), f({
665
684
  p: R.value.style.layout.plots.selectors.labels.prefix,
666
- v: _(n),
685
+ v: h(n),
667
686
  s: R.value.style.layout.plots.selectors.labels.suffix,
668
- r: Or(e)
687
+ r: Ar(e)
669
688
  }))
670
689
  }));
671
- }), Pr = y(() => Xr.value.length > 0 && R.value.style.layout.dataLabels.xAxis.scales.show), Fr = y(() => Xr.value.length > 0 && R.value.style.layout.dataLabels.yAxis.scales.show);
672
- function Ir(e) {
690
+ }), Ir = v(() => Qr.value.length > 0 && R.value.style.layout.dataLabels.xAxis.scales.show), Lr = v(() => Qr.value.length > 0 && R.value.style.layout.dataLabels.yAxis.scales.show);
691
+ function Rr(e) {
673
692
  let t = U.value.xMax - U.value.xMin;
674
693
  return t === 0 ? H.value.left : H.value.left + (e - U.value.xMin) / t * H.value.width;
675
694
  }
676
- function Lr(e) {
695
+ function zr(e) {
677
696
  let t = U.value.yMax - U.value.yMin;
678
697
  return t === 0 ? H.value.bottom : H.value.bottom - (e - U.value.yMin) / t * H.value.height;
679
698
  }
680
- let W = y(() => {
699
+ let W = v(() => {
681
700
  let { xMin: e, xMax: t, yMin: n, yMax: r } = U.value, i = e > 0 ? e : t < 0 ? t : 0, a = n > 0 ? n : r < 0 ? r : 0;
682
701
  return {
683
- x: Ir(i),
684
- y: Lr(a)
702
+ x: Rr(i),
703
+ y: zr(a)
685
704
  };
686
- }), G = y(() => or.value.map((e, t) => {
705
+ }), G = v(() => cr.value.map((e, t) => {
687
706
  let n = `cluster_${F.value}_${t}`;
688
707
  return {
689
708
  ...e,
690
- values: ae({
709
+ values: d({
691
710
  data: e.values,
692
711
  threshold: R.value.usePerformanceMode ? e.values.length + 1 : R.value.downsample.threshold
693
712
  }),
694
713
  id: n,
695
- color: e.color ? e.color : xr.value[t] || s[t] || s[t % s.length],
714
+ color: e.color ? e.color : Cr.value[t] || l[t] || l[t % l.length],
696
715
  opacity: L.value.includes(n) ? .5 : 1,
697
716
  shape: e.shape ?? "circle",
698
- segregate: () => ri(n),
717
+ segregate: () => ai(n),
699
718
  isSegregated: L.value.includes(n),
700
- hasGroupSelection: !!Gr.value,
701
- isGroupSelected: Gr.value === n,
702
- onEnter: () => qr(n),
703
- onLeave: () => Jr()
719
+ hasGroupSelection: !!qr.value,
720
+ isGroupSelected: qr.value === n,
721
+ onEnter: () => Yr(n),
722
+ onLeave: () => Xr()
704
723
  };
705
- })), Rr = y(() => ({
724
+ })), Br = v(() => ({
706
725
  cy: "scatter-div-legend",
707
726
  backgroundColor: R.value.style.legend.backgroundColor,
708
727
  color: R.value.style.legend.color,
709
728
  fontSize: R.value.style.legend.fontSize,
710
729
  paddingBottom: 12,
711
730
  fontWeight: R.value.style.legend.bold ? "bold" : ""
712
- })), zr = y(() => G.value.map((e, t) => ({
731
+ })), Vr = v(() => G.value.map((e, t) => ({
713
732
  ...e,
714
733
  plots: e.values.map((n, r) => ({
715
- x: Ir(n.x),
716
- y: Lr(n.y),
734
+ x: Rr(n.x),
735
+ y: zr(n.y),
717
736
  v: {
718
737
  ...n,
719
738
  name: n.name || ""
720
739
  },
721
740
  clusterName: e.name,
722
741
  clusterId: e.id,
723
- color: e.color ? e.color : xr.value[t] || s[t] || s[t % s.length],
742
+ color: e.color ? e.color : Cr.value[t] || l[t] || l[t % l.length],
724
743
  id: `plot_${F.value}_${t}_${r}`,
725
744
  weight: n.weight ?? R.value.style.layout.plots.radius
726
745
  }))
727
- })).filter((e) => !L.value.includes(e.id))), K = y(() => {
746
+ })).filter((e) => !L.value.includes(e.id))), K = v(() => {
728
747
  let e = 1e-9, t = ({ m: t, b: n, rect: r, verticalX: i = null }) => {
729
748
  let { left: a, right: o, top: s, bottom: c } = r, l = [], u = (e, t) => {
730
749
  Number.isFinite(e) && Number.isFinite(t) && l.push({
@@ -736,35 +755,35 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
736
755
  let f = l.filter(d), p = [];
737
756
  for (let e of f) p.some((t) => Math.abs(t.x - e.x) < 1e-6 && Math.abs(t.y - e.y) < 1e-6) || p.push(e);
738
757
  if (p.length < 2) return null;
739
- let m = p[0], ee = p[1], h = 0;
758
+ let m = p[0], h = p[1], ee = 0;
740
759
  for (let e = 0; e < p.length; e += 1) for (let t = e + 1; t < p.length; t += 1) {
741
760
  let n = p[e].x - p[t].x, r = p[e].y - p[t].y, i = n * n + r * r;
742
- i > h && (h = i, m = p[e], ee = p[t]);
761
+ i > ee && (ee = i, m = p[e], h = p[t]);
743
762
  }
744
763
  return {
745
764
  x1: m.x,
746
765
  y1: m.y,
747
- x2: ee.x,
748
- y2: ee.y
766
+ x2: h.x,
767
+ y2: h.y
749
768
  };
750
769
  };
751
- return zr.value.map((n) => {
770
+ return Vr.value.map((n) => {
752
771
  let r = n.plots.length, i = n.plots.reduce((e, t) => e + t.x, 0) / r, a = n.plots.reduce((e, t) => e + t.y, 0) / r, o = 0, s = 0, c = 0;
753
772
  for (let e of n.plots) {
754
773
  let t = e.x - i, n = e.y - a;
755
774
  o += t * n, s += t * t, c += n * n;
756
775
  }
757
- let l, u, d = null;
758
- s < e ? (d = i, l = Infinity, u = null) : (l = o / s, u = a - l * i);
759
- let f, p;
760
- d === null ? (f = l, p = u) : (f = Infinity, p = null);
761
- let m = n.plots.every((e) => e.v && typeof e.v.x == "number" && typeof e.v.y == "number"), ee = NaN;
776
+ let l, d, f = null;
777
+ s < e ? (f = i, l = Infinity, d = null) : (l = o / s, d = a - l * i);
778
+ let p, m;
779
+ f === null ? (p = l, m = d) : (p = Infinity, m = null);
780
+ let h = n.plots.every((e) => e.v && typeof e.v.x == "number" && typeof e.v.y == "number"), ee = NaN;
762
781
  if (r >= 2) {
763
782
  let t = 0, o = 0;
764
- m ? (t = n.plots.reduce((e, t) => e + t.v.x, 0) / r, o = n.plots.reduce((e, t) => e + t.v.y, 0) / r) : (t = i, o = -a);
783
+ h ? (t = n.plots.reduce((e, t) => e + t.v.x, 0) / r, o = n.plots.reduce((e, t) => e + t.v.y, 0) / r) : (t = i, o = -a);
765
784
  let s = 0, c = 0, l = 0;
766
785
  for (let e of n.plots) {
767
- let n = m ? e.v.x : e.x, r = m ? e.v.y : -e.y, i = n - t, a = r - o;
786
+ let n = h ? e.v.x : e.x, r = h ? e.v.y : -e.y, i = n - t, a = r - o;
768
787
  s += i * a, c += i * i, l += a * a;
769
788
  }
770
789
  if (c >= e && l >= e) {
@@ -772,13 +791,13 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
772
791
  ee = Math.max(-1, Math.min(1, e));
773
792
  }
774
793
  }
775
- let h = t({
776
- m: f,
777
- b: p,
794
+ let g = t({
795
+ m: p,
796
+ b: m,
778
797
  rect: H.value,
779
- verticalX: d
798
+ verticalX: f
780
799
  });
781
- if (!h) return {
800
+ if (!g) return {
782
801
  ...n,
783
802
  correlation: null,
784
803
  label: null,
@@ -786,39 +805,39 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
786
805
  ...e,
787
806
  deviation: 0,
788
807
  shape: n.shape,
789
- color: oe(n.color)
808
+ color: u(n.color)
790
809
  }))
791
810
  };
792
811
  let te = {
793
- x: (h.x1 + h.x2) / 2,
794
- y: (h.y1 + h.y2) / 2
812
+ x: (g.x1 + g.x2) / 2,
813
+ y: (g.y1 + g.y2) / 2
795
814
  };
796
815
  return {
797
816
  ...n,
798
- color: oe(n.color),
817
+ color: u(n.color),
799
818
  correlation: {
800
- ...h,
819
+ ...g,
801
820
  coefficient: ee
802
821
  },
803
822
  label: te,
804
823
  plots: n.plots.map((t) => {
805
824
  let r, i;
806
- d === null ? Math.abs(f) < e ? (r = t.x, i = p) : (r = (t.x + f * t.y - f * p) / (1 + f * f), i = (f * t.x + f * f * t.y + p) / (1 + f * f)) : (r = d, i = t.y);
825
+ f === null ? Math.abs(p) < e ? (r = t.x, i = m) : (r = (t.x + p * t.y - p * m) / (1 + p * p), i = (p * t.x + p * p * t.y + m) / (1 + p * p)) : (r = f, i = t.y);
807
826
  let a = t.x - r, o = t.y - i, s = Math.sqrt(a * a + o * o);
808
827
  return {
809
828
  ...t,
810
829
  deviation: s,
811
830
  shape: n.shape,
812
- color: oe(n.color)
831
+ color: u(n.color)
813
832
  };
814
833
  })
815
834
  };
816
835
  });
817
- }), Br = y(() => Math.max(...K.value.flatMap((e) => e.plots.map((e) => Math.abs(e.deviation)))));
818
- function Vr() {
836
+ }), Hr = v(() => Math.max(...K.value.flatMap((e) => e.plots.map((e) => Math.abs(e.deviation)))));
837
+ function Ur() {
819
838
  return K.value;
820
839
  }
821
- function Hr(e, t) {
840
+ function Wr(e, t) {
822
841
  let n = Array.isArray(e) ? e.flatMap((e) => e.plots.map((e) => ({
823
842
  x: e.x,
824
843
  y: e.y
@@ -845,17 +864,17 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
845
864
  maxY: Math.max(...f)
846
865
  };
847
866
  }
848
- let q = y(() => R.value.style.layout.marginalBars.tranches), J = y(() => Hr(zr.value, q.value)), Ur = y(() => {
867
+ let q = v(() => R.value.style.layout.marginalBars.tranches), J = v(() => Wr(Vr.value, q.value)), Gr = v(() => {
849
868
  let e = H.value.top - R.value.style.layout.marginalBars.offset, t = H.value.right + R.value.style.layout.marginalBars.offset;
850
- return zr.value.map((n) => {
851
- let r = Hr(n, q.value);
869
+ return Vr.value.map((n) => {
870
+ let r = Wr(n, q.value);
852
871
  return {
853
872
  coords: r,
854
- dX: o(r.avgX.map((t, n) => ({
873
+ dX: c(r.avgX.map((t, n) => ({
855
874
  x: t,
856
875
  y: e - r.x[n] / r.maxX * R.value.style.layout.marginalBars.size
857
876
  }))),
858
- dY: c(r.avgY.map((e, n) => ({
877
+ dY: i(r.avgY.map((e, n) => ({
859
878
  y: e,
860
879
  x: t + R.value.style.layout.marginalBars.size * r.y[n] / r.maxY
861
880
  }))),
@@ -863,69 +882,69 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
863
882
  id: n.id
864
883
  };
865
884
  });
866
- }), Y = O(void 0), X = O(null), Z = O([]), Wr = O(null), Gr = O(void 0);
867
- function Kr() {
868
- On.value = !1, Y.value = void 0, Z.value = [], X.value = null, tr.value = null, Zn.value = null, Gr.value = void 0;
885
+ }), Y = O(void 0), X = O(null), Z = O([]), Kr = O(null), qr = O(void 0);
886
+ function Jr() {
887
+ kn.value = !1, Y.value = void 0, Z.value = [], X.value = null, nr.value = null, Qn.value = null, qr.value = void 0;
869
888
  }
870
- function qr(e) {
889
+ function Yr(e) {
871
890
  let t = K.value.find((t) => t.id === e);
872
891
  if (!t) {
873
892
  Z.value = [];
874
893
  return;
875
894
  }
876
- Z.value = t.plots.map((e) => e.id), Gr.value = e;
877
- }
878
- function Jr() {
879
- Z.value = [], Gr.value = void 0;
895
+ Z.value = t.plots.map((e) => e.id), qr.value = e;
880
896
  }
881
- function Yr(e) {
882
- if (!dr.value || !e) return;
883
- let t = u(e.x, e.y, dr.value);
884
- t && (Qn.value = t);
897
+ function Xr() {
898
+ Z.value = [], qr.value = void 0;
885
899
  }
886
- let Xr = y(() => X.value ? [X.value] : Z.value.length ? K.value.flatMap((e) => e.plots).filter((e) => Z.value.includes(e.id)) : []);
887
900
  function Zr(e) {
901
+ if (!pr.value || !e) return;
902
+ let t = a(e.x, e.y, pr.value);
903
+ t && ($n.value = t);
904
+ }
905
+ let Qr = v(() => X.value ? [X.value] : Z.value.length ? K.value.flatMap((e) => e.plots).filter((e) => Z.value.includes(e.id)) : []);
906
+ function $r(e) {
888
907
  let t = R.value.style.layout.dataLabels.xAxis, n = t.scales.labels;
889
- return g(n.formatter, _(e.v.x), d({
908
+ return g(n.formatter, h(e.v.x), f({
890
909
  p: R.value.style.layout.plots.selectors.labels.prefix,
891
- v: _(e.v.x),
910
+ v: h(e.v.x),
892
911
  s: R.value.style.layout.plots.selectors.labels.suffix,
893
- r: Or(t)
912
+ r: Ar(t)
894
913
  }), { datapoint: e });
895
914
  }
896
- function Qr(e) {
915
+ function ei(e) {
897
916
  let t = R.value.style.layout.dataLabels.yAxis, n = t.scales.labels;
898
- return g(n.formatter, _(e.v.y), d({
917
+ return g(n.formatter, h(e.v.y), f({
899
918
  p: R.value.style.layout.plots.selectors.labels.prefix,
900
- v: _(e.v.y),
919
+ v: h(e.v.y),
901
920
  s: R.value.style.layout.plots.selectors.labels.suffix,
902
- r: Or(t)
921
+ r: Ar(t)
903
922
  }), { datapoint: e });
904
923
  }
905
- function $r(e, t, n = "pointer", r = null) {
906
- Y.value = e.id, X.value = e, $n.value = n, tr.value = r, Zn.value = e.id;
924
+ function ti(e, t, n = "pointer", r = null) {
925
+ Y.value = e.id, X.value = e, er.value = n, nr.value = r, Qn.value = e.id;
907
926
  let i = "";
908
927
  R.value.events.datapointEnter && R.value.events.datapointEnter({
909
928
  datapoint: e,
910
929
  seriesIndex: t
911
- }), Wr.value = {
930
+ }), Kr.value = {
912
931
  datapoint: e,
913
932
  seriesIndex: t,
914
933
  series: K.value,
915
934
  config: R.value
916
935
  };
917
936
  let a = R.value.style.tooltip.customFormat;
918
- p(a) && re(() => a({
937
+ ce(a) && ee(() => a({
919
938
  datapoint: e,
920
939
  seriesIndex: t,
921
940
  series: K.value,
922
941
  config: R.value
923
- })) ? kn.value = a({
942
+ })) ? An.value = a({
924
943
  datapoint: e,
925
944
  seriesIndex: t,
926
945
  series: K.value,
927
946
  config: R.value
928
- }) : (e.clusterName && (i += `<div style="display:flex;gap:3px;align-items:center">${e.clusterName}</div>`), e.v.name && (i += `<div>${e.v.name}</div>`), i += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${R.value.style.tooltip.borderColor}">`, i += `<div>${R.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(e.v.x) ? "-" : g(R.value.style.layout.plots.selectors.labels.x.formatter, e.v.x, d({
947
+ }) : (e.clusterName && (i += `<div style="display:flex;gap:3px;align-items:center">${e.clusterName}</div>`), e.v.name && (i += `<div>${e.v.name}</div>`), i += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${R.value.style.tooltip.borderColor}">`, i += `<div>${R.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(e.v.x) ? "-" : g(R.value.style.layout.plots.selectors.labels.x.formatter, e.v.x, f({
929
948
  p: R.value.style.tooltip.prefix,
930
949
  v: e.v.x,
931
950
  s: R.value.style.tooltip.suffix,
@@ -933,7 +952,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
933
952
  }), {
934
953
  datapoint: e,
935
954
  seriesIndex: t
936
- })}</b></div>`, i += `<div>${R.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(e.v.y) ? "-" : g(R.value.style.layout.plots.selectors.labels.y.formatter, e.v.y, d({
955
+ })}</b></div>`, i += `<div>${R.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(e.v.y) ? "-" : g(R.value.style.layout.plots.selectors.labels.y.formatter, e.v.y, f({
937
956
  p: R.value.style.tooltip.prefix,
938
957
  v: e.v.y,
939
958
  s: R.value.style.tooltip.suffix,
@@ -941,59 +960,59 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
941
960
  }), {
942
961
  datapoint: e,
943
962
  seriesIndex: t
944
- })}</b></div>`, i += `${R.value.style.layout.plots.deviation.translation}: <b>${d({
963
+ })}</b></div>`, i += `${R.value.style.layout.plots.deviation.translation}: <b>${f({
945
964
  v: e.deviation,
946
965
  r: R.value.style.layout.plots.deviation.roundingValue
947
- })}</b>`, i += "</div>", kn.value = `<div>${i}</div>`), On.value = !0, n === "keyboard" && Fe(() => {
948
- Yr(e);
966
+ })}</b>`, i += "</div>", An.value = `<div>${i}</div>`), kn.value = !0, n === "keyboard" && Le(() => {
967
+ Zr(e);
949
968
  });
950
969
  }
951
- function ei(e, t) {
970
+ function ni(e, t) {
952
971
  R.value.events.datapointLeave && R.value.events.datapointLeave({
953
972
  datapoint: e,
954
973
  seriesIndex: t
955
- }), !($n.value === "keyboard" && Zn.value === e?.id) && (On.value = !1, Y.value = void 0, X.value = null);
974
+ }), !(er.value === "keyboard" && Qn.value === e?.id) && (kn.value = !1, Y.value = void 0, X.value = null);
956
975
  }
957
- function ti(e, t) {
976
+ function ri(e, t) {
958
977
  R.value.events.datapointClick && R.value.events.datapointClick({
959
978
  datapoint: e,
960
979
  seriesIndex: t
961
980
  });
962
981
  }
963
- function ni() {
982
+ function ii() {
964
983
  L.value.length ? L.value = [] : G.value.forEach((e) => {
965
984
  L.value.push(e.id);
966
- }), En("selectLegend", zr.value);
985
+ }), Dn("selectLegend", Vr.value);
967
986
  }
968
- function ri(e) {
969
- L.value.includes(e) ? L.value = L.value.filter((t) => t !== e) : L.value.length < or.value.length - 1 && L.value.push(e), En("selectLegend", zr.value);
987
+ function ai(e) {
988
+ L.value.includes(e) ? L.value = L.value.filter((t) => t !== e) : L.value.length < cr.value.length - 1 && L.value.push(e), Dn("selectLegend", Vr.value);
970
989
  }
971
- function ii(e) {
990
+ function oi(e) {
972
991
  return G.value.length ? G.value.find((t) => t.name === e) || (R.value.debug && console.warn(`VueUiScatter - Series name not found "${e}"`), null) : (R.value.debug && console.warn("VueUiScatter - There are no series to show."), null);
973
992
  }
974
- function ai(e) {
975
- let t = ii(e);
976
- t !== null && L.value.includes(t.id) && ri(t.id);
993
+ function si(e) {
994
+ let t = oi(e);
995
+ t !== null && L.value.includes(t.id) && ai(t.id);
977
996
  }
978
- function oi(e) {
979
- let t = ii(e);
980
- t !== null && (L.value.includes(t.id) || ri(t.id));
997
+ function ci(e) {
998
+ let t = oi(e);
999
+ t !== null && (L.value.includes(t.id) || ai(t.id));
981
1000
  }
982
- function si(e = null) {
983
- Fe(() => {
984
- let t = [
1001
+ function li(e = null) {
1002
+ Le(() => {
1003
+ let n = [
985
1004
  "",
986
1005
  R.value.table.translations.correlationCoefficient,
987
1006
  R.value.table.translations.nbrPlots,
988
1007
  `${R.value.style.layout.dataLabels.xAxis.name} ${R.value.table.translations.average}`,
989
1008
  `${R.value.style.layout.dataLabels.yAxis.name} ${R.value.table.translations.average}`
990
- ], n = K.value.map((e) => [
1009
+ ], i = K.value.map((e) => [
991
1010
  e.name,
992
1011
  e.correlation.coefficient,
993
1012
  e.plots.length,
994
1013
  e.plots.map((e) => e.v.x).reduce((e, t) => e + t, 0) / e.plots.length,
995
1014
  e.plots.map((e) => e.v.y).reduce((e, t) => e + t, 0) / e.plots.length
996
- ]), i = r([
1015
+ ]), a = r([
997
1016
  [R.value.style.title.text],
998
1017
  [R.value.style.title.subtitle.text],
999
1018
  [
@@ -1001,15 +1020,15 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1001
1020
  [""],
1002
1021
  [""]
1003
1022
  ],
1004
- t
1005
- ].concat(n));
1006
- e ? e(i) : l({
1007
- csvContent: i,
1023
+ n
1024
+ ].concat(i));
1025
+ e ? e(a) : t({
1026
+ csvContent: a,
1008
1027
  title: R.value.style.title.text || "vue-ui-heatmap"
1009
1028
  });
1010
1029
  });
1011
1030
  }
1012
- let ci = y(() => {
1031
+ let ui = v(() => {
1013
1032
  let e = [
1014
1033
  R.value.table.translations.series,
1015
1034
  R.value.table.translations.correlationCoefficient,
@@ -1046,23 +1065,23 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1046
1065
  },
1047
1066
  colNames: e
1048
1067
  };
1049
- }), li = O(!1);
1050
- function ui(e) {
1051
- li.value = e, An.value += 1;
1068
+ }), di = O(!1);
1069
+ function fi(e) {
1070
+ di.value = e, jn.value += 1;
1052
1071
  }
1053
- function di() {
1072
+ function pi() {
1054
1073
  B.value.showTable = !B.value.showTable;
1055
1074
  }
1056
- function fi() {
1075
+ function mi() {
1057
1076
  B.value.showTooltip = !B.value.showTooltip;
1058
1077
  }
1059
- let pi = O(!1);
1060
- function mi() {
1061
- pi.value = !pi.value;
1078
+ let hi = O(!1);
1079
+ function gi() {
1080
+ hi.value = !hi.value;
1062
1081
  }
1063
- async function hi({ scale: e = 2 } = {}) {
1082
+ async function _i({ scale: e = 2 } = {}) {
1064
1083
  if (!I.value) return;
1065
- let { width: t, height: n } = I.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ge({
1084
+ let { width: t, height: n } = I.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ye({
1066
1085
  domElement: I.value,
1067
1086
  base64: !0,
1068
1087
  img: !0,
@@ -1077,16 +1096,16 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1077
1096
  aspectRatio: r
1078
1097
  };
1079
1098
  }
1080
- function gi(e) {
1081
- zn.value = e, R.value.style.layout.marginalBars.highlighter.highlightBothAxes && (Bn.value = J.value.y.length - 2 - e);
1099
+ function vi(e) {
1100
+ Bn.value = e, R.value.style.layout.marginalBars.highlighter.highlightBothAxes && (Vn.value = J.value.y.length - 2 - e);
1082
1101
  }
1083
- function _i(e) {
1084
- Bn.value = e, R.value.style.layout.marginalBars.highlighter.highlightBothAxes && (zn.value = e);
1102
+ function yi(e) {
1103
+ Vn.value = e, R.value.style.layout.marginalBars.highlighter.highlightBothAxes && (Bn.value = e);
1085
1104
  }
1086
- function vi() {
1087
- zn.value = null, Bn.value = null;
1105
+ function bi() {
1106
+ Bn.value = null, Vn.value = null;
1088
1107
  }
1089
- let yi = {
1108
+ let xi = {
1090
1109
  circle: 1,
1091
1110
  square: 1,
1092
1111
  diamond: 1,
@@ -1095,9 +1114,9 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1095
1114
  pentagon: 1.3,
1096
1115
  hexagon: 1.3
1097
1116
  }, Q = (e) => e.toFixed(3);
1098
- function bi({ shape: e = "circle", cx: t, cy: n, r }) {
1117
+ function Si({ shape: e = "circle", cx: t, cy: n, r }) {
1099
1118
  if (!R.value.usePerformanceMode) return "";
1100
- let i = yi[e] * r;
1119
+ let i = xi[e] * r;
1101
1120
  switch (e) {
1102
1121
  case "circle": {
1103
1122
  let e = Q(t - i), r = Q(n), a = Q(t + i), o = Q(i);
@@ -1151,37 +1170,37 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1151
1170
  }
1152
1171
  }
1153
1172
  }
1154
- let xi = y(() => {
1173
+ let Ci = v(() => {
1155
1174
  if (!R.value.usePerformanceMode) return [""];
1156
- let { left: e, right: t, top: n, bottom: r } = H.value, i = Math.max(1, (t - e) * (r - n)), a = (e) => e / i * 1e4, o = R.value.style.layout.plots.stroke, s = R.value.style.layout.plots.strokeWidth, c = R.value.style.layout.plots.opacity;
1157
- return K.value.map((i) => {
1158
- let l = [];
1159
- for (let a of i.plots) {
1160
- let o = a.x, s = a.y;
1161
- if (o < e || o > t || s < n || s > r) continue;
1162
- let c = Math.max(R.value.style.layout.plots.radius, a.weight);
1163
- l.push(bi({
1164
- shape: i.shape || "circle",
1175
+ let { left: e, right: t, top: r, bottom: i } = H.value, a = Math.max(1, (t - e) * (i - r)), o = (e) => e / a * 1e4, s = R.value.style.layout.plots.stroke, c = R.value.style.layout.plots.strokeWidth, l = R.value.style.layout.plots.opacity;
1176
+ return K.value.map((a) => {
1177
+ let u = [];
1178
+ for (let n of a.plots) {
1179
+ let o = n.x, s = n.y;
1180
+ if (o < e || o > t || s < r || s > i) continue;
1181
+ let c = Math.max(R.value.style.layout.plots.radius, n.weight);
1182
+ u.push(Si({
1183
+ shape: a.shape || "circle",
1165
1184
  cx: o,
1166
1185
  cy: s,
1167
1186
  r: c
1168
1187
  }));
1169
1188
  }
1170
- if (!l.length) return null;
1171
- let u = a(i.plots.length) > 2.5 || i.plots.length > 1e3;
1189
+ if (!u.length) return null;
1190
+ let d = o(a.plots.length) > 2.5 || a.plots.length > 1e3;
1172
1191
  return {
1173
- id: i.id,
1174
- d: l.join(""),
1175
- fill: se(i.color, c * 100),
1176
- stroke: u ? "none" : o,
1177
- strokeWidth: u ? 0 : s,
1192
+ id: a.id,
1193
+ d: u.join(""),
1194
+ fill: n(a.color, l * 100),
1195
+ stroke: d ? "none" : s,
1196
+ strokeWidth: d ? 0 : c,
1178
1197
  strokeOpacity: 1
1179
1198
  };
1180
1199
  }).filter(Boolean);
1181
1200
  });
1182
- function Si() {
1201
+ function wi() {
1183
1202
  return R.value.usePerformanceMode ? (e) => {
1184
- let t = dr.value;
1203
+ let t = pr.value;
1185
1204
  if (!t) return;
1186
1205
  let n = t.createSVGPoint();
1187
1206
  n.x = e.clientX, n.y = e.clientY;
@@ -1193,41 +1212,41 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1193
1212
  let n = e.x - a.x, r = e.y - a.y, i = n * n + r * r;
1194
1213
  i <= 64 && i < s && (s = i, o = e, c = t);
1195
1214
  });
1196
- }), o) Y.value !== o.id && (Y.value = o.id, $r(o, c, "pointer", $.value.get(o.id) ?? null));
1215
+ }), o) Y.value !== o.id && (Y.value = o.id, ti(o, c, "pointer", $.value.get(o.id) ?? null));
1197
1216
  else if (Y.value) {
1198
1217
  let e = X.value;
1199
- Y.value = void 0, ei(e, c);
1218
+ Y.value = void 0, ni(e, c);
1200
1219
  }
1201
1220
  } : () => null;
1202
1221
  }
1203
- let Ci = Si();
1204
- function wi() {
1222
+ let Ti = wi();
1223
+ function Ei() {
1205
1224
  if (Y.value) {
1206
1225
  let e = X.value;
1207
- Y.value = void 0, ei(e, null);
1226
+ Y.value = void 0, ni(e, null);
1208
1227
  }
1209
1228
  }
1210
- function Ti(e) {
1229
+ function Di(e) {
1211
1230
  let t = X.value;
1212
1231
  if (t) {
1213
1232
  let e = K.value.findIndex((e) => e.id === t.clusterId);
1214
- ti(t, e >= 0 ? e : 0);
1233
+ ri(t, e >= 0 ? e : 0);
1215
1234
  }
1216
1235
  }
1217
- let Ei = y(() => {
1236
+ let Oi = v(() => {
1218
1237
  let e = R.value.table.useDialog && !R.value.table.show, t = B.value.showTable;
1219
1238
  return {
1220
- component: e ? xn : gn,
1239
+ component: e ? Cn : vn,
1221
1240
  title: `${R.value.style.title.text}${R.value.style.title.subtitle.text ? `: ${R.value.style.title.subtitle.text}` : ""}`,
1222
1241
  props: e ? {
1223
1242
  backgroundColor: R.value.table.th.backgroundColor,
1224
1243
  color: R.value.table.th.color,
1225
1244
  headerColor: R.value.table.th.color,
1226
1245
  headerBg: R.value.table.th.backgroundColor,
1227
- isFullscreen: li.value,
1246
+ isFullscreen: di.value,
1228
1247
  fullscreenParent: I.value,
1229
1248
  forcedWidth: Math.min(800, window.innerWidth * .8),
1230
- isCursorPointer: nr.value
1249
+ isCursorPointer: ir.value
1231
1250
  } : {
1232
1251
  hideDetails: !0,
1233
1252
  config: {
@@ -1245,61 +1264,61 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1245
1264
  }
1246
1265
  };
1247
1266
  });
1248
- He(() => B.value.showTable, (e) => {
1249
- R.value.table.show || (e && R.value.table.useDialog && Vn.value ? Vn.value.open() : "close" in Vn.value && Vn.value.close());
1267
+ We(() => B.value.showTable, (e) => {
1268
+ R.value.table.show || (e && R.value.table.useDialog && Hn.value ? Hn.value.open() : "close" in Hn.value && Hn.value.close());
1250
1269
  });
1251
- function Di() {
1252
- B.value.showTable = !1, Hn.value && Hn.value.setTableIconState(!1);
1270
+ function ki() {
1271
+ B.value.showTable = !1, Un.value && Un.value.setTableIconState(!1);
1253
1272
  }
1254
- let Oi = y(() => R.value.style.backgroundColor), ki = y(() => R.value.style.legend), { exportSvg: Ai, getSvg: ji } = fe({
1255
- svg: dr,
1256
- title: y(() => R.value.style.title),
1257
- legend: ki,
1273
+ let Ai = v(() => R.value.style.backgroundColor), ji = v(() => R.value.style.legend), { exportSvg: Mi, getSvg: Ni } = he({
1274
+ svg: pr,
1275
+ title: v(() => R.value.style.title),
1276
+ legend: ji,
1258
1277
  legendItems: G,
1259
- backgroundColor: Oi
1278
+ backgroundColor: Ai
1260
1279
  });
1261
- async function Mi({ isCb: e }) {
1262
- Wn.value = !0, await Fe();
1280
+ async function Pi({ isCb: e }) {
1281
+ Gn.value = !0, await Le();
1263
1282
  try {
1264
1283
  if (e) {
1265
- let { blob: e, url: t, text: n, dataUrl: r } = await ji();
1284
+ let { blob: e, url: t, text: n, dataUrl: r } = await Ni();
1266
1285
  await Promise.resolve(R.value.userOptions.callbacks.svg({
1267
1286
  blob: e,
1268
1287
  url: t,
1269
1288
  text: n,
1270
1289
  dataUrl: r
1271
1290
  }));
1272
- } else await Promise.resolve(Ai());
1291
+ } else await Promise.resolve(Mi());
1273
1292
  } finally {
1274
- Wn.value = !1;
1293
+ Gn.value = !1;
1275
1294
  }
1276
1295
  }
1277
- function Ni(e) {
1296
+ function Fi(e) {
1278
1297
  if (e?.stage === "start") {
1279
- Un.value = !0;
1298
+ Wn.value = !0;
1280
1299
  return;
1281
1300
  }
1282
1301
  if (e?.stage === "end") {
1283
- Un.value = !1;
1302
+ Wn.value = !1;
1284
1303
  return;
1285
1304
  }
1286
- yr();
1305
+ xr();
1287
1306
  }
1288
- async function Pi() {
1289
- if (En("copyAlt", {
1307
+ async function Ii() {
1308
+ if (Dn("copyAlt", {
1290
1309
  config: R.value,
1291
- dataset: zr.value
1310
+ dataset: Vr.value
1292
1311
  }), !R.value.userOptions.callbacks.altCopy) {
1293
1312
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
1294
1313
  return;
1295
1314
  }
1296
1315
  await Promise.resolve(R.value.userOptions.callbacks.altCopy({
1297
1316
  config: R.value,
1298
- dataset: zr.value
1317
+ dataset: Vr.value
1299
1318
  }));
1300
1319
  }
1301
- function Fi(e, t) {
1302
- let n = Bi.value.filter((t) => t.id !== e.id);
1320
+ function Li(e, t) {
1321
+ let n = Hi.value.filter((t) => t.id !== e.id);
1303
1322
  if (!n.length) return null;
1304
1323
  let r = ((n) => {
1305
1324
  if (!n.length) return null;
@@ -1335,61 +1354,61 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1335
1354
  return Math.abs(t === "right" || t === "left" ? r.y - e.y : r.x - e.x) < i ? r : n;
1336
1355
  }, null) : null;
1337
1356
  }
1338
- function Ii() {
1339
- tr.value = null, Zn.value = null, er.value = !0;
1357
+ function Ri() {
1358
+ nr.value = null, Qn.value = null, tr.value = !0;
1340
1359
  }
1341
- function Li() {
1342
- Kr(), $n.value = "pointer", er.value = !1;
1360
+ function zi() {
1361
+ Jr(), er.value = "pointer", tr.value = !1;
1343
1362
  }
1344
- function Ri(e) {
1345
- if (!dr.value || pi.value || document.activeElement !== dr.value || !Bi.value.length) return;
1363
+ function Bi(e) {
1364
+ if (!pr.value || hi.value || document.activeElement !== pr.value || !Hi.value.length) return;
1346
1365
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
1347
1366
  if (!t && !n && !r && !i && !a && !o) return;
1348
1367
  if (e.preventDefault(), e.stopPropagation(), o) {
1349
- Kr(), $n.value = "pointer";
1368
+ Jr(), er.value = "pointer";
1350
1369
  return;
1351
1370
  }
1352
1371
  if (a) {
1353
- if (tr.value === null) return;
1354
- let e = Bi.value[tr.value];
1372
+ if (nr.value === null) return;
1373
+ let e = Hi.value[nr.value];
1355
1374
  if (!e) return;
1356
- ti(e, e.seriesIndex);
1375
+ ri(e, e.seriesIndex);
1357
1376
  return;
1358
1377
  }
1359
1378
  let s = null;
1360
- if (n && (s = "right"), t && (s = "left"), i && (s = "down"), r && (s = "up"), Zn.value === null) {
1379
+ if (n && (s = "right"), t && (s = "left"), i && (s = "down"), r && (s = "up"), Qn.value === null) {
1361
1380
  let e = X.value;
1362
1381
  if (e && e.id) {
1363
- let t = Fi(e, s);
1382
+ let t = Li(e, s);
1364
1383
  if (!t) {
1365
1384
  let t = $.value.get(e.id);
1366
1385
  if (t === void 0) return;
1367
- $r(e, e.seriesIndex, "keyboard", t);
1386
+ ti(e, e.seriesIndex, "keyboard", t);
1368
1387
  return;
1369
1388
  }
1370
1389
  let n = $.value.get(t.id);
1371
1390
  if (n === void 0) return;
1372
- $r(t, t.seriesIndex, "keyboard", n);
1391
+ ti(t, t.seriesIndex, "keyboard", n);
1373
1392
  return;
1374
1393
  }
1375
- let t = Bi.value[0];
1394
+ let t = Hi.value[0];
1376
1395
  if (!t) return;
1377
1396
  let n = $.value.get(t.id) ?? 0;
1378
- $r(t, t.seriesIndex, "keyboard", n);
1397
+ ti(t, t.seriesIndex, "keyboard", n);
1379
1398
  return;
1380
1399
  }
1381
- let c = $.value.get(Zn.value);
1400
+ let c = $.value.get(Qn.value);
1382
1401
  if (c === void 0) return;
1383
- let l = Bi.value[c];
1402
+ let l = Hi.value[c];
1384
1403
  if (!l) return;
1385
- let u = Fi(l, s);
1404
+ let u = Li(l, s);
1386
1405
  if (!u) return;
1387
1406
  let d = $.value.get(u.id);
1388
- d !== void 0 && $r(u, u.seriesIndex, "keyboard", d);
1407
+ d !== void 0 && ti(u, u.seriesIndex, "keyboard", d);
1389
1408
  }
1390
- let zi = y(() => {
1409
+ let Vi = v(() => {
1391
1410
  if (!X.value) return "";
1392
- let e = X.value, t = isNaN(e.v.x) ? "-" : g(R.value.style.layout.plots.selectors.labels.x.formatter, e.v.x, d({
1411
+ let e = X.value, t = isNaN(e.v.x) ? "-" : g(R.value.style.layout.plots.selectors.labels.x.formatter, e.v.x, f({
1393
1412
  p: R.value.style.tooltip.prefix,
1394
1413
  v: e.v.x,
1395
1414
  s: R.value.style.tooltip.suffix,
@@ -1397,7 +1416,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1397
1416
  }), {
1398
1417
  datapoint: e,
1399
1418
  seriesIndex: e.seriesIndex
1400
- }), n = isNaN(e.v.y) ? "-" : g(R.value.style.layout.plots.selectors.labels.y.formatter, e.v.y, d({
1419
+ }), n = isNaN(e.v.y) ? "-" : g(R.value.style.layout.plots.selectors.labels.y.formatter, e.v.y, f({
1401
1420
  p: R.value.style.tooltip.prefix,
1402
1421
  v: e.v.y,
1403
1422
  s: R.value.style.tooltip.suffix,
@@ -1412,57 +1431,57 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1412
1431
  `${R.value.style.layout.dataLabels.xAxis.name}: ${t}`,
1413
1432
  `${R.value.style.layout.dataLabels.yAxis.name}: ${n}`
1414
1433
  ].filter(Boolean).join(". ");
1415
- }), Bi = y(() => K.value.flatMap((e, t) => e.plots.map((n) => ({
1434
+ }), Hi = v(() => K.value.flatMap((e, t) => e.plots.map((n) => ({
1416
1435
  ...n,
1417
1436
  seriesIndex: t,
1418
1437
  seriesId: e.id,
1419
1438
  seriesName: e.name,
1420
1439
  shape: e.shape || "circle",
1421
1440
  color: e.color
1422
- })))), $ = y(() => {
1441
+ })))), $ = v(() => {
1423
1442
  let e = /* @__PURE__ */ new Map();
1424
- return Bi.value.forEach((t, n) => {
1443
+ return Hi.value.forEach((t, n) => {
1425
1444
  e.set(t.id, n);
1426
1445
  }), e;
1427
- }), Vi = y(() => ({
1428
- headers: ci.value?.colNames ?? [],
1429
- rows: ci.value?.a11yBody ?? []
1446
+ }), Ui = v(() => ({
1447
+ headers: ui.value?.colNames ?? [],
1448
+ rows: ui.value?.a11yBody ?? []
1430
1449
  }));
1431
- return ye({
1432
- getData: Vr,
1433
- getImage: hi,
1434
- generatePdf: vr,
1435
- generateCsv: si,
1436
- generateImage: yr,
1437
- generateSvg: Mi,
1438
- hideSeries: oi,
1439
- showSeries: ai,
1440
- toggleTable: di,
1441
- toggleTooltip: fi,
1442
- toggleAnnotator: mi,
1443
- toggleFullscreen: ui,
1444
- copyAlt: Pi
1445
- }), (e, t) => (D(), S("div", {
1446
- class: Ie(`vue-data-ui-component vue-ui-scatter ${li.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${R.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1450
+ return Se({
1451
+ getData: Ur,
1452
+ getImage: _i,
1453
+ generatePdf: br,
1454
+ generateCsv: li,
1455
+ generateImage: xr,
1456
+ generateSvg: Pi,
1457
+ hideSeries: ci,
1458
+ showSeries: si,
1459
+ toggleTable: pi,
1460
+ toggleTooltip: mi,
1461
+ toggleAnnotator: gi,
1462
+ toggleFullscreen: fi,
1463
+ copyAlt: Ii
1464
+ }), (e, t) => (D(), x("div", {
1465
+ class: Re(`vue-data-ui-component vue-ui-scatter ${di.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${R.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1447
1466
  ref_key: "scatterChart",
1448
1467
  ref: I,
1449
1468
  id: `vue-ui-scatter_${F.value}`,
1450
1469
  style: E(`font-family:${R.value.style.fontFamily};width:100%; text-align:center;background:${R.value.style.backgroundColor};${R.value.responsive ? "height: 100%" : ""}`),
1451
- onMouseenter: t[5] ||= () => M(lr)(!0),
1470
+ onMouseenter: t[5] ||= () => M(dr)(!0),
1452
1471
  onMouseleave: t[6] ||= () => {
1453
- M(lr)(!1), er.value || Kr();
1472
+ M(dr)(!1), tr.value || Jr();
1454
1473
  }
1455
1474
  }, [
1456
- C("div", {
1475
+ S("div", {
1457
1476
  id: `chart-instructions-${F.value}`,
1458
1477
  class: "sr-only"
1459
- }, [C("p", null, j(R.value.a11y.translations.keyboardNavigation), 1)], 8, Ge),
1460
- B.value.showTooltip ? x("", !0) : (D(), S("div", Ke, j(zi.value), 1)),
1461
- Vi.value?.rows?.length && Dn.value ? (D(), b(we, {
1478
+ }, [S("p", null, j(R.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
1479
+ B.value.showTooltip ? b("", !0) : (D(), x("div", Je, j(Vi.value), 1)),
1480
+ Ui.value?.rows?.length && On.value ? (D(), y(De, {
1462
1481
  key: 1,
1463
1482
  uid: F.value,
1464
- head: Vi.value.headers,
1465
- body: Vi.value.rows,
1483
+ head: Ui.value.headers,
1484
+ body: Ui.value.rows,
1466
1485
  notice: R.value.a11y.translations.tableAvailable,
1467
1486
  caption: R.value.a11y.translations.tableCaption
1468
1487
  }, null, 8, [
@@ -1471,15 +1490,15 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1471
1490
  "body",
1472
1491
  "notice",
1473
1492
  "caption"
1474
- ])) : x("", !0),
1475
- R.value.userOptions.buttons.annotator ? (D(), b(M(vn), {
1493
+ ])) : b("", !0),
1494
+ R.value.userOptions.buttons.annotator ? (D(), y(M(bn), {
1476
1495
  key: 2,
1477
- svgRef: M(dr),
1496
+ svgRef: M(pr),
1478
1497
  backgroundColor: R.value.style.backgroundColor,
1479
1498
  color: R.value.style.color,
1480
- active: pi.value,
1481
- isCursorPointer: nr.value,
1482
- onClose: mi
1499
+ active: hi.value,
1500
+ isCursorPointer: ir.value,
1501
+ onClose: gi
1483
1502
  }, {
1484
1503
  "annotator-action-close": N(() => [A(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1485
1504
  "annotator-action-color": N(({ color: t }) => [A(e.$slots, "annotator-action-color", T(w({ color: t })), void 0, !0)]),
@@ -1494,21 +1513,21 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1494
1513
  "color",
1495
1514
  "active",
1496
1515
  "isCursorPointer"
1497
- ])) : x("", !0),
1498
- br.value ? (D(), S("div", {
1516
+ ])) : b("", !0),
1517
+ Sr.value ? (D(), x("div", {
1499
1518
  key: 3,
1500
1519
  ref_key: "noTitle",
1501
- ref: Pn,
1520
+ ref: Fn,
1502
1521
  class: "vue-data-ui-no-title-space",
1503
1522
  style: "height:36px; width: 100%;background:transparent"
1504
- }, null, 512)) : x("", !0),
1505
- R.value.style.title.text ? (D(), S("div", {
1523
+ }, null, 512)) : b("", !0),
1524
+ R.value.style.title.text ? (D(), x("div", {
1506
1525
  key: 4,
1507
1526
  ref_key: "chartTitle",
1508
- ref: jn,
1527
+ ref: Mn,
1509
1528
  style: "width:100%;background:transparent"
1510
- }, [(D(), b(_e, {
1511
- key: `title_${Fn.value}`,
1529
+ }, [(D(), y(be, {
1530
+ key: `title_${In.value}`,
1512
1531
  config: {
1513
1532
  title: {
1514
1533
  cy: "scatter-div-title",
@@ -1519,16 +1538,16 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1519
1538
  ...R.value.style.title.subtitle
1520
1539
  }
1521
1540
  }
1522
- }, null, 8, ["config"]))], 512)) : x("", !0),
1523
- C("div", { id: `legend-top-${F.value}` }, null, 8, qe),
1524
- R.value.userOptions.show && Dn.value && (M(ur) || M(cr)) ? (D(), b(M(yn), {
1541
+ }, null, 8, ["config"]))], 512)) : b("", !0),
1542
+ S("div", { id: `legend-top-${F.value}` }, null, 8, Ye),
1543
+ R.value.userOptions.show && On.value && (M(fr) || M(ur)) ? (D(), y(M(xn), {
1525
1544
  ref_key: "userOptionsRef",
1526
- ref: Hn,
1527
- key: `user_options_${An.value}`,
1545
+ ref: Un,
1546
+ key: `user_options_${jn.value}`,
1528
1547
  backgroundColor: R.value.style.backgroundColor,
1529
1548
  color: R.value.style.color,
1530
- isImaging: M(_r),
1531
- isPrinting: M(gr),
1549
+ isImaging: M(yr),
1550
+ isPrinting: M(vr),
1532
1551
  uid: F.value,
1533
1552
  hasTooltip: R.value.userOptions.buttons.tooltip && R.value.style.tooltip.show,
1534
1553
  hasPdf: R.value.userOptions.buttons.pdf,
@@ -1539,27 +1558,27 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1539
1558
  hasFullscreen: R.value.userOptions.buttons.fullscreen,
1540
1559
  hasAltCopy: R.value.userOptions.buttons.altCopy,
1541
1560
  isTooltip: B.value.showTooltip,
1542
- isFullscreen: li.value,
1561
+ isFullscreen: di.value,
1543
1562
  titles: { ...R.value.userOptions.buttonTitles },
1544
1563
  chartElement: I.value,
1545
1564
  position: R.value.userOptions.position,
1546
1565
  hasAnnotator: R.value.userOptions.buttons.annotator,
1547
- isAnnotation: pi.value,
1566
+ isAnnotation: hi.value,
1548
1567
  callbacks: R.value.userOptions.callbacks,
1549
1568
  printScale: R.value.userOptions.print.scale,
1550
1569
  tableDialog: R.value.table.useDialog,
1551
- isCursorPointer: nr.value,
1552
- onToggleFullscreen: ui,
1553
- onGeneratePdf: M(vr),
1554
- onGenerateCsv: si,
1555
- onGenerateImage: Ni,
1556
- onGenerateSvg: Mi,
1557
- onToggleTable: di,
1558
- onToggleTooltip: fi,
1559
- onToggleAnnotator: mi,
1560
- onCopyAlt: Pi,
1561
- style: E({ visibility: M(ur) ? M(cr) ? "visible" : "hidden" : "visible" })
1562
- }, Ae({ _: 2 }, [
1570
+ isCursorPointer: ir.value,
1571
+ onToggleFullscreen: fi,
1572
+ onGeneratePdf: M(br),
1573
+ onGenerateCsv: li,
1574
+ onGenerateImage: Fi,
1575
+ onGenerateSvg: Pi,
1576
+ onToggleTable: pi,
1577
+ onToggleTooltip: mi,
1578
+ onToggleAnnotator: gi,
1579
+ onCopyAlt: Ii,
1580
+ style: E({ visibility: M(fr) ? M(ur) ? "visible" : "hidden" : "visible" })
1581
+ }, Ne({ _: 2 }, [
1563
1582
  e.$slots.menuIcon ? {
1564
1583
  name: "menuIcon",
1565
1584
  fn: N(({ isOpen: t, color: n }) => [A(e.$slots, "menuIcon", T(w({
@@ -1629,35 +1648,35 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1629
1648
  fn: N(() => [A(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1630
1649
  key: "11"
1631
1650
  } : void 0
1632
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : x("", !0),
1633
- C("div", Je, [(D(), S("svg", {
1651
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : b("", !0),
1652
+ S("div", Xe, [(D(), x("svg", {
1634
1653
  ref_key: "svgRef",
1635
- ref: dr,
1654
+ ref: pr,
1636
1655
  xmlns: M(ie),
1637
1656
  "aria-describedby": `chart-instructions-${F.value}`,
1638
- class: Ie({
1639
- "vue-data-ui-fullscreen--on": li.value,
1640
- "vue-data-ui-fulscreen--off": !li.value,
1641
- animated: R.value.useCssAnimation
1657
+ class: Re({
1658
+ "vue-data-ui-fullscreen--on": di.value,
1659
+ "vue-data-ui-fulscreen--off": !di.value,
1660
+ "vue-data-ui-no-transition": !M(rr)
1642
1661
  }),
1643
1662
  viewBox: `0 0 ${V.value.width <= 0 ? 10 : V.value.width} ${V.value.height <= 0 ? 10 : V.value.height}`,
1644
1663
  style: E(`max-width:100%;overflow:visible;background:transparent;color:${R.value.style.color}`),
1645
- onMouseleave: vi,
1664
+ onMouseleave: bi,
1646
1665
  tabindex: "0",
1647
- onFocus: Ii,
1648
- onBlur: Li,
1649
- onKeydown: Ri
1666
+ onFocus: Ri,
1667
+ onBlur: zi,
1668
+ onKeydown: Bi
1650
1669
  }, [
1651
- Me(M(bn)),
1652
- e.$slots["chart-background"] ? (D(), S("foreignObject", {
1670
+ Fe(M(Sn)),
1671
+ e.$slots["chart-background"] ? (D(), x("foreignObject", {
1653
1672
  key: 0,
1654
1673
  x: 0,
1655
1674
  y: 0,
1656
1675
  width: V.value.width <= 0 ? 10 : V.value.width,
1657
1676
  height: V.value.height <= 0 ? 10 : V.value.height,
1658
1677
  style: { pointerEvents: "none" }
1659
- }, [A(e.$slots, "chart-background", {}, void 0, !0)], 8, Xe)) : x("", !0),
1660
- R.value.style.layout.axis.show ? (D(), S("g", Ze, [C("line", {
1678
+ }, [A(e.$slots, "chart-background", {}, void 0, !0)], 8, Qe)) : b("", !0),
1679
+ R.value.style.layout.axis.show ? (D(), x("g", $e, [S("line", {
1661
1680
  x1: W.value.x,
1662
1681
  x2: W.value.x,
1663
1682
  y1: H.value.top,
@@ -1665,7 +1684,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1665
1684
  stroke: R.value.style.layout.axis.stroke,
1666
1685
  "stroke-width": R.value.style.layout.axis.strokeWidth,
1667
1686
  "stroke-linecap": "round"
1668
- }, null, 8, Qe), C("line", {
1687
+ }, null, 8, et), S("line", {
1669
1688
  x1: H.value.left,
1670
1689
  x2: H.value.right,
1671
1690
  y1: W.value.y,
@@ -1673,8 +1692,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1673
1692
  stroke: R.value.style.layout.axis.stroke,
1674
1693
  "stroke-width": R.value.style.layout.axis.strokeWidth,
1675
1694
  "stroke-linecap": "round"
1676
- }, null, 8, $e)])) : x("", !0),
1677
- R.value.style.layout.dataLabels.xAxis.scales.verticalLines.show ? (D(), S("g", et, [(D(!0), S(v, null, k(Mr.value, (e, t) => (D(), S("line", {
1695
+ }, null, 8, tt)])) : b("", !0),
1696
+ R.value.style.layout.dataLabels.xAxis.scales.verticalLines.show ? (D(), x("g", nt, [(D(!0), x(_, null, k(Pr.value, (e, t) => (D(), x("line", {
1678
1697
  key: `scatter-x-scale-line-${F.value}-${t}`,
1679
1698
  x1: e.x,
1680
1699
  x2: e.x,
@@ -1683,23 +1702,23 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1683
1702
  stroke: R.value.style.layout.dataLabels.xAxis.scales.verticalLines.stroke,
1684
1703
  "stroke-width": R.value.style.layout.dataLabels.xAxis.scales.verticalLines.strokeWidth,
1685
1704
  "stroke-linecap": "round"
1686
- }, null, 8, tt))), 128))])) : x("", !0),
1687
- R.value.style.layout.dataLabels.xAxis.scales.show ? (D(), S("g", {
1705
+ }, null, 8, rt))), 128))])) : b("", !0),
1706
+ R.value.style.layout.dataLabels.xAxis.scales.show ? (D(), x("g", {
1688
1707
  key: 3,
1689
1708
  ref_key: "xAxisScaleLabels",
1690
- ref: Xn
1691
- }, [(D(!0), S(v, null, k(Mr.value, (e, t) => (D(), S("g", {
1709
+ ref: Zn
1710
+ }, [(D(!0), x(_, null, k(Pr.value, (e, t) => (D(), x("g", {
1692
1711
  class: "vue-ui-scatter-scale-group",
1693
1712
  key: `scatter-x-scale-${F.value}-${t}`,
1694
- opacity: +!Pr.value
1695
- }, [C("path", {
1696
- class: Ie({ "vue-data-ui-datalabel": M(Tn) }),
1713
+ opacity: +!Ir.value
1714
+ }, [S("path", {
1715
+ class: Re({ "vue-data-ui-transition": M(rr) }),
1697
1716
  stroke: R.value.style.layout.axis.stroke,
1698
1717
  "stroke-width": R.value.style.layout.axis.strokeWidth,
1699
1718
  d: `M${e.x},${W.value.y - 4} ${e.x},${W.value.y + 4}`,
1700
1719
  "stroke-linecap": "round"
1701
- }, null, 10, rt), C("text", {
1702
- class: Ie({ "vue-data-ui-datalabel": M(Tn) }),
1720
+ }, null, 10, at), S("text", {
1721
+ class: Re({ "vue-data-ui-transition": M(rr) }),
1703
1722
  transform: `translate(${e.x}, ${W.value.y + R.value.style.layout.dataLabels.xAxis.scales.labels.fontSize + 6 + R.value.style.layout.dataLabels.xAxis.scales.labels.offsetY})`,
1704
1723
  "text-anchor": "middle",
1705
1724
  "font-size": R.value.style.layout.dataLabels.xAxis.scales.labels.fontSize,
@@ -1707,8 +1726,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1707
1726
  stroke: R.value.style.backgroundColor,
1708
1727
  "stroke-width": "2",
1709
1728
  "paint-order": "stroke"
1710
- }, j(e.label), 11, it)], 8, nt))), 128))], 512)) : x("", !0),
1711
- R.value.style.layout.dataLabels.yAxis.scales.horizontalLines.show ? (D(), S("g", at, [(D(!0), S(v, null, k(Nr.value, (e, t) => (D(), S("line", {
1729
+ }, j(e.label), 11, ot)], 8, it))), 128))], 512)) : b("", !0),
1730
+ R.value.style.layout.dataLabels.yAxis.scales.horizontalLines.show ? (D(), x("g", st, [(D(!0), x(_, null, k(Fr.value, (e, t) => (D(), x("line", {
1712
1731
  key: `scatter-y-scale-line-${F.value}-${t}`,
1713
1732
  x1: H.value.left,
1714
1733
  x2: H.value.right,
@@ -1717,22 +1736,22 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1717
1736
  stroke: R.value.style.layout.dataLabels.yAxis.scales.horizontalLines.stroke,
1718
1737
  "stroke-width": R.value.style.layout.dataLabels.yAxis.scales.horizontalLines.strokeWidth,
1719
1738
  "stroke-linecap": "round"
1720
- }, null, 8, ot))), 128))])) : x("", !0),
1721
- R.value.style.layout.dataLabels.yAxis.scales.show ? (D(), S("g", {
1739
+ }, null, 8, ct))), 128))])) : b("", !0),
1740
+ R.value.style.layout.dataLabels.yAxis.scales.show ? (D(), x("g", {
1722
1741
  key: 5,
1723
1742
  ref_key: "yAxisScaleLabels",
1724
- ref: Yn,
1725
- opacity: +!Fr.value,
1743
+ ref: Xn,
1744
+ opacity: +!Lr.value,
1726
1745
  style: { transition: "opacity 0.1s ease-in-out" },
1727
1746
  class: "vue-ui-scatter-scale-group"
1728
- }, [(D(!0), S(v, null, k(Nr.value, (e, t) => (D(), S("g", { key: `scatter-y-scale-${F.value}-${t}` }, [C("path", {
1729
- class: Ie({ "vue-data-ui-datalabel": M(Tn) }),
1747
+ }, [(D(!0), x(_, null, k(Fr.value, (e, t) => (D(), x("g", { key: `scatter-y-scale-${F.value}-${t}` }, [S("path", {
1748
+ class: Re({ "vue-data-ui-transition": M(rr) }),
1730
1749
  d: `M${W.value.x - 4},${e.y} ${W.value.x + 4},${e.y}`,
1731
1750
  stroke: R.value.style.layout.axis.stroke,
1732
1751
  "stroke-width": R.value.style.layout.axis.strokeWidth,
1733
1752
  "stroke-linecap": "round"
1734
- }, null, 10, ct), C("text", {
1735
- class: Ie({ "vue-data-ui-datalabel": M(Tn) }),
1753
+ }, null, 10, ut), S("text", {
1754
+ class: Re({ "vue-data-ui-transition": M(rr) }),
1736
1755
  transform: `translate(${W.value.x - R.value.style.layout.dataLabels.yAxis.scales.labels.fontSize / 2 - 8 + R.value.style.layout.dataLabels.yAxis.scales.labels.offsetX}, ${e.y + R.value.style.layout.dataLabels.yAxis.scales.labels.fontSize / 3})`,
1737
1756
  "text-anchor": "end",
1738
1757
  "font-size": R.value.style.layout.dataLabels.yAxis.scales.labels.fontSize,
@@ -1740,9 +1759,9 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1740
1759
  stroke: R.value.style.backgroundColor,
1741
1760
  "stroke-width": "2",
1742
1761
  "paint-order": "stroke"
1743
- }, j(e.label), 11, lt)]))), 128))], 8, st)) : x("", !0),
1744
- R.value.style.layout.marginalBars.show ? (D(), S("g", ut, [
1745
- C("defs", null, [Me(Se, {
1762
+ }, j(e.label), 11, dt)]))), 128))], 8, lt)) : b("", !0),
1763
+ R.value.style.layout.marginalBars.show ? (D(), x("g", ft, [
1764
+ S("defs", null, [Fe(Te, {
1746
1765
  t: "linear",
1747
1766
  id: `marginal_x_${F.value}`,
1748
1767
  x1: "0%",
@@ -1758,7 +1777,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1758
1777
  R.value.style.backgroundColor,
1759
1778
  1
1760
1779
  ]]
1761
- }, null, 8, ["id", "stops"]), Me(Se, {
1780
+ }, null, 8, ["id", "stops"]), Fe(Te, {
1762
1781
  t: "linear",
1763
1782
  id: `marginal_y_${F.value}`,
1764
1783
  x1: "0%",
@@ -1775,8 +1794,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1775
1794
  1
1776
1795
  ]]
1777
1796
  }, null, 8, ["id", "stops"])]),
1778
- (D(!0), S(v, null, k(J.value.x, (e, n) => (D(), S("g", null, [
1779
- e && J.value.avgX[n] ? (D(), S("rect", {
1797
+ (D(!0), x(_, null, k(J.value.x, (e, n) => (D(), x("g", null, [
1798
+ e && J.value.avgX[n] ? (D(), x("rect", {
1780
1799
  key: 0,
1781
1800
  x: J.value.avgX[n] - H.value.width / q.value / 2,
1782
1801
  y: H.value.top - R.value.style.layout.marginalBars.offset - e / J.value.maxX * R.value.style.layout.marginalBars.size,
@@ -1787,27 +1806,27 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1787
1806
  stroke: R.value.style.backgroundColor,
1788
1807
  "stroke-width": R.value.style.layout.marginalBars.strokeWidth,
1789
1808
  rx: R.value.style.layout.marginalBars.borderRadius
1790
- }, null, 12, dt)) : x("", !0),
1791
- J.value.avgX[n] ? (D(), S("rect", {
1809
+ }, null, 12, pt)) : b("", !0),
1810
+ J.value.avgX[n] ? (D(), x("rect", {
1792
1811
  key: 1,
1793
1812
  x: J.value.avgX[n] - H.value.width / q.value / 2,
1794
1813
  y: H.value.top - R.value.style.layout.marginalBars.offset - R.value.style.layout.marginalBars.size,
1795
1814
  width: H.value.width / q.value <= 0 ? 1e-4 : H.value.width / q.value,
1796
1815
  height: Math.max(.1, R.value.style.layout.marginalBars.size),
1797
1816
  fill: "transparent",
1798
- onMouseenter: (e) => gi(n),
1799
- onMouseleave: t[0] ||= (e) => vi()
1800
- }, null, 40, ft)) : x("", !0),
1801
- J.value.avgX[n] && zn.value != null && zn.value === n ? (D(), S("g", pt, [
1802
- C("rect", {
1817
+ onMouseenter: (e) => vi(n),
1818
+ onMouseleave: t[0] ||= (e) => bi()
1819
+ }, null, 40, mt)) : b("", !0),
1820
+ J.value.avgX[n] && Bn.value != null && Bn.value === n ? (D(), x("g", ht, [
1821
+ S("rect", {
1803
1822
  x: J.value.avgX[n] - H.value.width / q.value / 2,
1804
1823
  y: H.value.top,
1805
1824
  width: H.value.width / q.value <= 0 ? 1e-4 : H.value.width / q.value,
1806
1825
  height: H.value.height,
1807
1826
  fill: R.value.style.layout.marginalBars.highlighter.color,
1808
1827
  "fill-opacity": R.value.style.layout.marginalBars.highlighter.opacity
1809
- }, null, 8, mt),
1810
- C("line", {
1828
+ }, null, 8, gt),
1829
+ S("line", {
1811
1830
  x1: J.value.avgX[n] - H.value.width / q.value / 2,
1812
1831
  x2: J.value.avgX[n] - H.value.width / q.value / 2,
1813
1832
  y1: 0,
@@ -1819,8 +1838,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1819
1838
  transition: "none !important",
1820
1839
  animation: "none !important"
1821
1840
  }
1822
- }, null, 8, ht),
1823
- C("line", {
1841
+ }, null, 8, _t),
1842
+ S("line", {
1824
1843
  x1: J.value.avgX[n] - H.value.width / q.value / 2 + (H.value.width / q.value <= 0 ? 1e-4 : H.value.width / q.value),
1825
1844
  x2: J.value.avgX[n] - H.value.width / q.value / 2 + (H.value.width / q.value <= 0 ? 1e-4 : H.value.width / q.value),
1826
1845
  y1: 0,
@@ -1832,11 +1851,11 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1832
1851
  transition: "none !important",
1833
1852
  animation: "none !important"
1834
1853
  }
1835
- }, null, 8, gt)
1836
- ])) : x("", !0)
1854
+ }, null, 8, vt)
1855
+ ])) : b("", !0)
1837
1856
  ]))), 256)),
1838
- (D(!0), S(v, null, k(J.value.y, (e, n) => (D(), S("g", null, [
1839
- e && J.value.avgY[n] ? (D(), S("rect", {
1857
+ (D(!0), x(_, null, k(J.value.y, (e, n) => (D(), x("g", null, [
1858
+ e && J.value.avgY[n] ? (D(), x("rect", {
1840
1859
  key: 0,
1841
1860
  x: H.value.right + R.value.style.layout.marginalBars.offset,
1842
1861
  y: J.value.avgY[n] - H.value.height / q.value / 2,
@@ -1847,27 +1866,27 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1847
1866
  stroke: R.value.style.backgroundColor,
1848
1867
  "stroke-width": R.value.style.layout.marginalBars.strokeWidth,
1849
1868
  rx: R.value.style.layout.marginalBars.borderRadius
1850
- }, null, 12, _t)) : x("", !0),
1851
- J.value.avgY[n] ? (D(), S("rect", {
1869
+ }, null, 12, yt)) : b("", !0),
1870
+ J.value.avgY[n] ? (D(), x("rect", {
1852
1871
  key: 1,
1853
1872
  x: H.value.right + R.value.style.layout.marginalBars.offset,
1854
1873
  y: J.value.avgY[n] - H.value.height / q.value / 2,
1855
1874
  width: Math.max(.1, R.value.style.layout.marginalBars.size),
1856
1875
  height: H.value.height / q.value <= 0 ? 1e-4 : H.value.height / q.value,
1857
1876
  fill: "transparent",
1858
- onMouseenter: (e) => _i(n),
1859
- onMouseleave: t[1] ||= (e) => vi()
1860
- }, null, 40, vt)) : x("", !0),
1861
- J.value.avgY[n] && Bn.value != null && Bn.value === n ? (D(), S("g", yt, [
1862
- C("rect", {
1877
+ onMouseenter: (e) => yi(n),
1878
+ onMouseleave: t[1] ||= (e) => bi()
1879
+ }, null, 40, bt)) : b("", !0),
1880
+ J.value.avgY[n] && Vn.value != null && Vn.value === n ? (D(), x("g", xt, [
1881
+ S("rect", {
1863
1882
  x: H.value.left,
1864
1883
  y: J.value.avgY[n] - H.value.height / q.value / 2,
1865
1884
  width: H.value.width,
1866
1885
  height: H.value.height / q.value <= 0 ? 1e-4 : H.value.height / q.value,
1867
1886
  fill: R.value.style.layout.marginalBars.highlighter.color,
1868
1887
  "fill-opacity": R.value.style.layout.marginalBars.highlighter.opacity
1869
- }, null, 8, bt),
1870
- C("line", {
1888
+ }, null, 8, St),
1889
+ S("line", {
1871
1890
  x1: H.value.left,
1872
1891
  x2: V.value.width,
1873
1892
  y1: J.value.avgY[n] - H.value.height / q.value / 2,
@@ -1879,8 +1898,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1879
1898
  transition: "none !important",
1880
1899
  animation: "none !important"
1881
1900
  }
1882
- }, null, 8, xt),
1883
- C("line", {
1901
+ }, null, 8, Ct),
1902
+ S("line", {
1884
1903
  x1: H.value.left,
1885
1904
  x2: V.value.width,
1886
1905
  y1: J.value.avgY[n] - H.value.height / q.value / 2 + (H.value.height / q.value <= 0 ? 1e-4 : H.value.height / q.value),
@@ -1892,11 +1911,11 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1892
1911
  transition: "none !important",
1893
1912
  animation: "none !important"
1894
1913
  }
1895
- }, null, 8, St)
1896
- ])) : x("", !0)
1914
+ }, null, 8, wt)
1915
+ ])) : b("", !0)
1897
1916
  ]))), 256)),
1898
- R.value.style.layout.marginalBars.showLines ? (D(), S("g", Ct, [(D(!0), S(v, null, k(Ur.value, (e) => (D(), S(v, null, [
1899
- L.value.includes(e.id) ? x("", !0) : (D(), S("path", {
1917
+ R.value.style.layout.marginalBars.showLines ? (D(), x("g", Tt, [(D(!0), x(_, null, k(Gr.value, (e) => (D(), x(_, null, [
1918
+ L.value.includes(e.id) ? b("", !0) : (D(), x("path", {
1900
1919
  key: 0,
1901
1920
  d: `M ${e.dX}`,
1902
1921
  stroke: R.value.style.backgroundColor,
@@ -1904,8 +1923,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1904
1923
  "stroke-linecap": "round",
1905
1924
  "stroke-linejoin": "round",
1906
1925
  fill: "none"
1907
- }, null, 8, wt)),
1908
- L.value.includes(e.id) ? x("", !0) : (D(), S("path", {
1926
+ }, null, 8, Et)),
1927
+ L.value.includes(e.id) ? b("", !0) : (D(), x("path", {
1909
1928
  key: 1,
1910
1929
  d: `M ${e.dX}`,
1911
1930
  stroke: e.color,
@@ -1913,8 +1932,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1913
1932
  "stroke-linecap": "round",
1914
1933
  "stroke-linejoin": "round",
1915
1934
  fill: "none"
1916
- }, null, 8, Tt)),
1917
- L.value.includes(e.id) ? x("", !0) : (D(), S("path", {
1935
+ }, null, 8, Dt)),
1936
+ L.value.includes(e.id) ? b("", !0) : (D(), x("path", {
1918
1937
  key: 2,
1919
1938
  d: `M ${e.dY}`,
1920
1939
  stroke: R.value.style.backgroundColor,
@@ -1922,8 +1941,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1922
1941
  "stroke-linecap": "round",
1923
1942
  "stroke-linejoin": "round",
1924
1943
  fill: "none"
1925
- }, null, 8, Et)),
1926
- L.value.includes(e.id) ? x("", !0) : (D(), S("path", {
1944
+ }, null, 8, Ot)),
1945
+ L.value.includes(e.id) ? b("", !0) : (D(), x("path", {
1927
1946
  key: 3,
1928
1947
  d: `M ${e.dY}`,
1929
1948
  stroke: e.color,
@@ -1931,46 +1950,46 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1931
1950
  "stroke-linecap": "round",
1932
1951
  "stroke-linejoin": "round",
1933
1952
  fill: "none"
1934
- }, null, 8, Dt))
1935
- ], 64))), 256))])) : x("", !0)
1936
- ])) : x("", !0),
1937
- R.value.style.layout.plots.giftWrap.show ? (D(), S("g", Ot, [(D(!0), S(v, null, k(K.value, (e, t) => (D(), S("g", null, [e.plots.length > 2 ? (D(), S("polygon", {
1953
+ }, null, 8, kt))
1954
+ ], 64))), 256))])) : b("", !0)
1955
+ ])) : b("", !0),
1956
+ R.value.style.layout.plots.giftWrap.show ? (D(), x("g", At, [(D(!0), x(_, null, k(K.value, (e, t) => (D(), x("g", null, [e.plots.length > 2 ? (D(), x("polygon", {
1938
1957
  key: 0,
1939
- points: M(te)({ series: e.plots }),
1940
- fill: M(se)(e.color, R.value.style.layout.plots.giftWrap.fillOpacity * 100),
1958
+ points: M(m)({ series: e.plots }),
1959
+ fill: M(n)(e.color, R.value.style.layout.plots.giftWrap.fillOpacity * 100),
1941
1960
  "stroke-width": R.value.style.layout.plots.giftWrap.strokeWidth,
1942
1961
  "stroke-dasharray": R.value.style.layout.plots.giftWrap.strokeDasharray,
1943
1962
  stroke: e.color,
1944
1963
  "stroke-linejoin": "round",
1945
1964
  "stroke-linecap": "round"
1946
- }, null, 8, kt)) : x("", !0)]))), 256))])) : x("", !0),
1947
- R.value.usePerformanceMode ? x("", !0) : (D(!0), S(v, { key: 8 }, k(K.value, (e, t) => (D(), S("g", { key: e.id }, [!e.shape || e.shape === "circle" ? (D(), S("g", At, [(D(!0), S(v, null, k(e.plots, (n, r) => (D(), S("circle", {
1948
- key: n.id,
1949
- cx: n.x,
1950
- cy: n.y,
1951
- r: Y.value && Y.value === n.id || Z.value.includes(n.id) ? n.weight * R.value.style.layout.plots.hoverRadiusRatio : n.weight,
1952
- fill: M(se)(e.color, Y.value && Y.value !== n.id || Z.value.length && !Z.value.includes(n.id) ? R.value.style.layout.plots.opacityNotSelected * 100 : R.value.style.layout.plots.opacity * 100),
1965
+ }, null, 8, jt)) : b("", !0)]))), 256))])) : b("", !0),
1966
+ R.value.usePerformanceMode ? b("", !0) : (D(!0), x(_, { key: 8 }, k(K.value, (e, t) => (D(), x("g", { key: e.id }, [!e.shape || e.shape === "circle" ? (D(), x("g", Mt, [(D(!0), x(_, null, k(e.plots, (r, i) => (D(), x("circle", {
1967
+ key: r.id,
1968
+ cx: r.x,
1969
+ cy: r.y,
1970
+ r: Y.value && Y.value === r.id || Z.value.includes(r.id) ? r.weight * R.value.style.layout.plots.hoverRadiusRatio : r.weight,
1971
+ fill: M(n)(e.color, Y.value && Y.value !== r.id || Z.value.length && !Z.value.includes(r.id) ? R.value.style.layout.plots.opacityNotSelected * 100 : R.value.style.layout.plots.opacity * 100),
1953
1972
  stroke: R.value.style.layout.plots.stroke,
1954
1973
  "stroke-width": R.value.style.layout.plots.strokeWidth,
1955
- style: E(`opacity:${Y.value && Y.value === n.id || Z.value.includes(n.id) ? 1 : R.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(n.deviation) / Br.value : R.value.style.layout.plots.significance.show && Math.abs(n.deviation) > R.value.style.layout.plots.significance.deviationThreshold ? R.value.style.layout.plots.significance.opacity : 1}`),
1956
- onMouseover: (e) => $r(n, t, "pointer", $.value.get(n.id)),
1957
- onMouseleave: (e) => ei(n, t),
1958
- onClick: (e) => ti(n, t)
1959
- }, null, 44, jt))), 128))])) : (D(), S("g", Mt, [(D(!0), S(v, null, k(e.plots, (n, r) => (D(), b(ve, {
1974
+ style: E(`opacity:${Y.value && Y.value === r.id || Z.value.includes(r.id) ? 1 : R.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(r.deviation) / Hr.value : R.value.style.layout.plots.significance.show && Math.abs(r.deviation) > R.value.style.layout.plots.significance.deviationThreshold ? R.value.style.layout.plots.significance.opacity : 1}`),
1975
+ onMouseover: (e) => ti(r, t, "pointer", $.value.get(r.id)),
1976
+ onMouseleave: (e) => ni(r, t),
1977
+ onClick: (e) => ri(r, t)
1978
+ }, null, 44, Nt))), 128))])) : (D(), x("g", Pt, [(D(!0), x(_, null, k(e.plots, (r, i) => (D(), y(xe, {
1960
1979
  class: "vue-ui-scatter-datapoint",
1961
1980
  plot: {
1962
- x: n.x,
1963
- y: n.y
1981
+ x: r.x,
1982
+ y: r.y
1964
1983
  },
1965
- radius: Y.value && Y.value === n.id || Z.value.includes(n.id) ? n.weight * R.value.style.layout.plots.hoverRadiusRatio : n.weight,
1984
+ radius: Y.value && Y.value === r.id || Z.value.includes(r.id) ? r.weight * R.value.style.layout.plots.hoverRadiusRatio : r.weight,
1966
1985
  shape: e.shape,
1967
- color: M(se)(e.color, Y.value && Y.value !== n.id || Z.value.length && !Z.value.includes(n.id) ? R.value.style.layout.plots.opacityNotSelected * 100 : R.value.style.layout.plots.opacity * 100),
1986
+ color: M(n)(e.color, Y.value && Y.value !== r.id || Z.value.length && !Z.value.includes(r.id) ? R.value.style.layout.plots.opacityNotSelected * 100 : R.value.style.layout.plots.opacity * 100),
1968
1987
  stroke: R.value.style.layout.plots.stroke,
1969
1988
  strokeWidth: R.value.style.layout.plots.strokeWidth,
1970
- style: E(`opacity:${Y.value && Y.value === n.id || Z.value.includes(n.id) ? 1 : R.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(n.deviation) / Br.value : R.value.style.layout.plots.significance.show && Math.abs(n.deviation) > R.value.style.layout.plots.significance.deviationThreshold ? R.value.style.layout.plots.significance.opacity : 1}`),
1971
- onMouseover: (e) => $r(n, t, "pointer", $.value.get(n.id)),
1972
- onMouseleave: (e) => ei(n, t),
1973
- onClick: (e) => ti(n, t)
1989
+ style: E(`opacity:${Y.value && Y.value === r.id || Z.value.includes(r.id) ? 1 : R.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(r.deviation) / Hr.value : R.value.style.layout.plots.significance.show && Math.abs(r.deviation) > R.value.style.layout.plots.significance.deviationThreshold ? R.value.style.layout.plots.significance.opacity : 1}`),
1990
+ onMouseover: (e) => ti(r, t, "pointer", $.value.get(r.id)),
1991
+ onMouseleave: (e) => ni(r, t),
1992
+ onClick: (e) => ri(r, t)
1974
1993
  }, null, 8, [
1975
1994
  "plot",
1976
1995
  "radius",
@@ -1982,19 +2001,19 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
1982
2001
  "onMouseover",
1983
2002
  "onMouseleave",
1984
2003
  "onClick"
1985
- ]))), 256))])), R.value.style.layout.plots.name.show ? (D(!0), S(v, { key: 2 }, k(e.plots, (e, n) => (D(), S("text", {
2004
+ ]))), 256))])), R.value.style.layout.plots.name.show ? (D(!0), x(_, { key: 2 }, k(e.plots, (e, r) => (D(), x("text", {
1986
2005
  class: "vue-ui-scatter-datapoint-label",
1987
2006
  key: `datalabel-${e.id}`,
1988
2007
  transform: `translate(${e.x}, ${e.y - e.weight - R.value.style.layout.plots.name.fontSize + R.value.style.layout.plots.name.offsetY})`,
1989
2008
  "text-anchor": "middle",
1990
2009
  "font-size": R.value.style.layout.plots.name.fontSize,
1991
- fill: M(se)(R.value.style.layout.plots.name.color, Y.value && Y.value !== e.id || Z.value.length && !Z.value.includes(e.id) ? R.value.style.layout.plots.opacityNotSelected * 100 : 100),
1992
- onMouseover: (n) => $r(e, t, "pointer", $.value.get(e.id)),
1993
- onMouseleave: (n) => ei(e, t),
1994
- onClick: (n) => ti(e, t)
1995
- }, j(e.clusterName), 41, Nt))), 128)) : x("", !0)]))), 128)),
1996
- R.value.usePerformanceMode ? (D(), S(v, { key: 9 }, [
1997
- C("g", { "clip-path": `url(#clip_path_${F.value})` }, [(D(!0), S(v, null, k(xi.value, (e) => (D(), S("path", {
2010
+ fill: M(n)(R.value.style.layout.plots.name.color, Y.value && Y.value !== e.id || Z.value.length && !Z.value.includes(e.id) ? R.value.style.layout.plots.opacityNotSelected * 100 : 100),
2011
+ onMouseover: (n) => ti(e, t, "pointer", $.value.get(e.id)),
2012
+ onMouseleave: (n) => ni(e, t),
2013
+ onClick: (n) => ri(e, t)
2014
+ }, j(e.clusterName), 41, Ft))), 128)) : b("", !0)]))), 128)),
2015
+ R.value.usePerformanceMode ? (D(), x(_, { key: 9 }, [
2016
+ S("g", { "clip-path": `url(#clip_path_${F.value})` }, [(D(!0), x(_, null, k(Ci.value, (e) => (D(), x("path", {
1998
2017
  key: e.id,
1999
2018
  d: e.d,
2000
2019
  fill: e.fill,
@@ -2003,15 +2022,15 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
2003
2022
  "stroke-opacity": e.strokeOpacity,
2004
2023
  "vector-effect": "non-scaling-stroke",
2005
2024
  "paint-order": "fill"
2006
- }, null, 8, Ft))), 128))], 8, Pt),
2007
- X.value && R.value.style.layout.plots.selectors.show ? (D(), S("g", It, [Me(ve, {
2025
+ }, null, 8, Lt))), 128))], 8, It),
2026
+ X.value && R.value.style.layout.plots.selectors.show ? (D(), x("g", Rt, [Fe(xe, {
2008
2027
  shape: X.value.shape || "circle",
2009
2028
  color: X.value.color,
2010
2029
  plot: {
2011
2030
  x: X.value.x,
2012
2031
  y: X.value.y
2013
2032
  },
2014
- radius: Math.max(4 * yi[X.value.shape || "circle"], X.value.weight * R.value.style.layout.plots.hoverRadiusRatio),
2033
+ radius: Math.max(4 * xi[X.value.shape || "circle"], X.value.weight * R.value.style.layout.plots.hoverRadiusRatio),
2015
2034
  stroke: R.value.style.layout.plots.stroke,
2016
2035
  strokeWidth: R.value.style.layout.plots.strokeWidth
2017
2036
  }, null, 8, [
@@ -2021,20 +2040,20 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
2021
2040
  "radius",
2022
2041
  "stroke",
2023
2042
  "strokeWidth"
2024
- ])])) : x("", !0),
2025
- C("rect", {
2043
+ ])])) : b("", !0),
2044
+ S("rect", {
2026
2045
  x: H.value.left,
2027
2046
  y: H.value.top,
2028
2047
  width: Math.max(1e-4, H.value.width),
2029
2048
  height: Math.max(1e-4, H.value.height),
2030
2049
  fill: "transparent",
2031
- onMousemove: t[2] ||= (...e) => M(Ci) && M(Ci)(...e),
2032
- onMouseleave: wi,
2033
- onClick: Ti
2034
- }, null, 40, Lt)
2035
- ], 64)) : x("", !0),
2036
- (D(!0), S(v, null, k(Xr.value, (e) => (D(), S(v, { key: `selector_${e.id}` }, [R.value.style.layout.plots.selectors.show ? (D(), S("g", Rt, [
2037
- C("line", {
2050
+ onMousemove: t[2] ||= (...e) => M(Ti) && M(Ti)(...e),
2051
+ onMouseleave: Ei,
2052
+ onClick: Di
2053
+ }, null, 40, zt)
2054
+ ], 64)) : b("", !0),
2055
+ (D(!0), x(_, null, k(Qr.value, (e) => (D(), x(_, { key: `selector_${e.id}` }, [R.value.style.layout.plots.selectors.show ? (D(), x("g", Bt, [
2056
+ S("line", {
2038
2057
  x1: W.value.x,
2039
2058
  x2: e.x,
2040
2059
  y1: e.y,
@@ -2044,8 +2063,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
2044
2063
  "stroke-dasharray": R.value.style.layout.plots.selectors.strokeDasharray,
2045
2064
  "stroke-linecap": "round",
2046
2065
  class: "line-pointer"
2047
- }, null, 8, zt),
2048
- C("line", {
2066
+ }, null, 8, Vt),
2067
+ S("line", {
2049
2068
  x1: e.x,
2050
2069
  x2: e.x,
2051
2070
  y1: W.value.y,
@@ -2055,8 +2074,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
2055
2074
  "stroke-dasharray": R.value.style.layout.plots.selectors.strokeDasharray,
2056
2075
  "stroke-linecap": "round",
2057
2076
  class: "line-pointer"
2058
- }, null, 8, Bt),
2059
- R.value.style.layout.dataLabels.yAxis.scales.show ? x("", !0) : (D(), S("text", {
2077
+ }, null, 8, Ht),
2078
+ R.value.style.layout.dataLabels.yAxis.scales.show ? b("", !0) : (D(), x("text", {
2060
2079
  key: 0,
2061
2080
  x: W.value.x + (e.x > W.value.x ? -6 : 6),
2062
2081
  y: e.y + R.value.style.layout.plots.selectors.labels.fontSize / 3,
@@ -2064,13 +2083,13 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
2064
2083
  fill: R.value.style.layout.plots.selectors.labels.color,
2065
2084
  "font-weight": R.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
2066
2085
  "text-anchor": e.x > W.value.x ? "end" : "start"
2067
- }, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(_)(e.v.y), M(d)({
2086
+ }, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(h)(e.v.y), M(f)({
2068
2087
  p: R.value.style.layout.plots.selectors.labels.prefix,
2069
- v: M(_)(e.v.y),
2088
+ v: M(h)(e.v.y),
2070
2089
  s: R.value.style.layout.plots.selectors.labels.suffix,
2071
2090
  r: R.value.style.layout.plots.selectors.labels.rounding
2072
- }), { datapoint: e })), 9, Vt)),
2073
- R.value.style.layout.dataLabels.xAxis.scales.show ? x("", !0) : (D(), S("text", {
2091
+ }), { datapoint: e })), 9, Ut)),
2092
+ R.value.style.layout.dataLabels.xAxis.scales.show ? b("", !0) : (D(), x("text", {
2074
2093
  key: 1,
2075
2094
  x: e.x,
2076
2095
  y: W.value.y + (e.y > W.value.y ? -6 : R.value.style.layout.plots.selectors.labels.fontSize + 6),
@@ -2078,29 +2097,29 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
2078
2097
  fill: R.value.style.layout.plots.selectors.labels.color,
2079
2098
  "font-weight": R.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
2080
2099
  "text-anchor": "middle"
2081
- }, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(_)(e.v.x), M(d)({
2100
+ }, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(h)(e.v.x), M(f)({
2082
2101
  p: R.value.style.layout.plots.selectors.labels.prefix,
2083
- v: M(_)(e.v.x),
2102
+ v: M(h)(e.v.x),
2084
2103
  s: R.value.style.layout.plots.selectors.labels.suffix,
2085
2104
  r: R.value.style.layout.plots.selectors.labels.rounding
2086
- }), { datapoint: e })), 9, Ht)),
2087
- R.value.style.layout.dataLabels.xAxis.scales.show ? (D(), S("text", {
2105
+ }), { datapoint: e })), 9, Wt)),
2106
+ R.value.style.layout.dataLabels.xAxis.scales.show ? (D(), x("text", {
2088
2107
  key: 2,
2089
2108
  x: e.x,
2090
2109
  y: W.value.y + R.value.style.layout.dataLabels.xAxis.scales.labels.fontSize + 6 + R.value.style.layout.dataLabels.xAxis.scales.labels.offsetY,
2091
2110
  "text-anchor": "middle",
2092
2111
  "font-size": R.value.style.layout.dataLabels.xAxis.scales.labels.fontSize,
2093
2112
  fill: R.value.style.layout.dataLabels.xAxis.scales.labels.color
2094
- }, j(Zr(e)), 9, Ut)) : x("", !0),
2095
- R.value.style.layout.dataLabels.yAxis.scales.show ? (D(), S("text", {
2113
+ }, j($r(e)), 9, Gt)) : b("", !0),
2114
+ R.value.style.layout.dataLabels.yAxis.scales.show ? (D(), x("text", {
2096
2115
  key: 3,
2097
2116
  x: W.value.x - R.value.style.layout.dataLabels.yAxis.scales.labels.fontSize / 2 - 8 + R.value.style.layout.dataLabels.yAxis.scales.labels.offsetX,
2098
2117
  y: e.y + R.value.style.layout.dataLabels.yAxis.scales.labels.fontSize / 3,
2099
2118
  "text-anchor": "end",
2100
2119
  "font-size": R.value.style.layout.dataLabels.yAxis.scales.labels.fontSize,
2101
2120
  fill: R.value.style.layout.dataLabels.yAxis.scales.labels.color
2102
- }, j(Qr(e)), 9, Wt)) : x("", !0),
2103
- C("circle", {
2121
+ }, j(ei(e)), 9, Kt)) : b("", !0),
2122
+ S("circle", {
2104
2123
  cx: W.value.x,
2105
2124
  cy: e.y,
2106
2125
  r: R.value.style.layout.plots.selectors.markers.radius,
@@ -2108,8 +2127,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
2108
2127
  stroke: R.value.style.layout.plots.selectors.markers.stroke,
2109
2128
  "stroke-width": R.value.style.layout.plots.selectors.markers.strokeWidth,
2110
2129
  class: "line-pointer"
2111
- }, null, 8, Gt),
2112
- C("circle", {
2130
+ }, null, 8, qt),
2131
+ S("circle", {
2113
2132
  cx: e.x,
2114
2133
  cy: W.value.y,
2115
2134
  r: R.value.style.layout.plots.selectors.markers.radius,
@@ -2117,8 +2136,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
2117
2136
  stroke: R.value.style.layout.plots.selectors.markers.stroke,
2118
2137
  "stroke-width": R.value.style.layout.plots.selectors.markers.strokeWidth,
2119
2138
  class: "line-pointer"
2120
- }, null, 8, Kt),
2121
- R.value.style.layout.plots.selectors.labels.showName && !R.value.style.layout.plots.name.show ? (D(), S("text", {
2139
+ }, null, 8, Jt),
2140
+ R.value.style.layout.plots.selectors.labels.showName && !R.value.style.layout.plots.name.show ? (D(), x("text", {
2122
2141
  key: 4,
2123
2142
  x: e.x,
2124
2143
  y: e.y + (e.y < W.value.y ? -R.value.style.layout.plots.selectors.labels.fontSize / 2 : R.value.style.layout.plots.selectors.labels.fontSize),
@@ -2126,91 +2145,91 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
2126
2145
  fill: R.value.style.layout.plots.selectors.labels.color,
2127
2146
  "font-weight": R.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
2128
2147
  "text-anchor": e.x < H.value.left + 100 ? "start" : e.x > H.value.right - 100 ? "end" : e.x > W.value.x ? "start" : "end"
2129
- }, j(e.v.name), 9, qt)) : x("", !0)
2130
- ])) : x("", !0)], 64))), 128)),
2131
- R.value.style.layout.dataLabels.xAxis.show ? (D(), S("g", {
2148
+ }, j(e.v.name), 9, Yt)) : b("", !0)
2149
+ ])) : b("", !0)], 64))), 128)),
2150
+ R.value.style.layout.dataLabels.xAxis.show ? (D(), x("g", {
2132
2151
  key: 10,
2133
2152
  ref_key: "xAxisLabelLeft",
2134
- ref: Gn
2135
- }, [C("text", {
2153
+ ref: Kn
2154
+ }, [S("text", {
2136
2155
  id: `vue-ui-scatter-xAxis-label-${F.value}`,
2137
2156
  transform: `translate(${R.value.style.layout.dataLabels.xAxis.fontSize + (R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.yAxis.offsetX : R.value.style.layout.dataLabels.xAxis.offsetX)}, ${H.value.top + H.value.height / 2 + (R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.yAxis.offsetY : R.value.style.layout.dataLabels.xAxis.offsetY)}), rotate(-90)`,
2138
2157
  "text-anchor": "middle",
2139
2158
  "font-size": R.value.style.layout.dataLabels.xAxis.fontSize,
2140
2159
  "font-weight": R.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
2141
2160
  fill: R.value.style.layout.dataLabels.xAxis.color
2142
- }, j(R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.yAxis.name : R.value.style.layout.dataLabels.xAxis.name), 9, Jt), R.value.style.layout.dataLabels.xAxis.showValue ? (D(), S("text", {
2161
+ }, j(R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.yAxis.name : R.value.style.layout.dataLabels.xAxis.name), 9, Xt), R.value.style.layout.dataLabels.xAxis.showValue ? (D(), x("text", {
2143
2162
  key: 0,
2144
2163
  "text-anchor": "middle",
2145
2164
  "font-size": R.value.style.layout.dataLabels.xAxis.fontSize,
2146
2165
  fill: R.value.style.layout.dataLabels.xAxis.color,
2147
2166
  transform: `translate(${R.value.style.layout.dataLabels.xAxis.name ? R.value.style.layout.dataLabels.xAxis.fontSize * 3 : 0}, ${W.value.y + R.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`
2148
- }, j(M(g)(R.value.style.layout.plots.selectors.labels.x.formatter, M(_)(U.value.xMin), M(d)({
2167
+ }, j(M(g)(R.value.style.layout.plots.selectors.labels.x.formatter, M(h)(U.value.xMin), M(f)({
2149
2168
  p: R.value.style.layout.plots.selectors.labels.prefix,
2150
- v: M(_)(U.value.xMin),
2169
+ v: M(h)(U.value.xMin),
2151
2170
  s: R.value.style.layout.plots.selectors.labels.suffix,
2152
2171
  r: R.value.style.layout.dataLabels.xAxis.rounding
2153
- }))), 9, Yt)) : x("", !0)], 512)) : x("", !0),
2154
- R.value.style.layout.dataLabels.xAxis.show && R.value.style.layout.dataLabels.xAxis.showValue ? (D(), S("text", {
2172
+ }))), 9, Zt)) : b("", !0)], 512)) : b("", !0),
2173
+ R.value.style.layout.dataLabels.xAxis.show && R.value.style.layout.dataLabels.xAxis.showValue ? (D(), x("text", {
2155
2174
  key: 11,
2156
2175
  ref_key: "xAxisLabelRight",
2157
- ref: Kn,
2176
+ ref: qn,
2158
2177
  "text-anchor": "middle",
2159
2178
  transform: `translate(${H.value.right + R.value.style.layout.padding.right + 6}, ${W.value.y + R.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`,
2160
2179
  "font-size": R.value.style.layout.dataLabels.xAxis.fontSize,
2161
2180
  fill: R.value.style.layout.dataLabels.xAxis.color
2162
- }, j(M(g)(R.value.style.layout.plots.selectors.labels.x.formatter, M(_)(U.value.xMax), M(d)({
2181
+ }, j(M(g)(R.value.style.layout.plots.selectors.labels.x.formatter, M(h)(U.value.xMax), M(f)({
2163
2182
  p: R.value.style.layout.plots.selectors.labels.prefix,
2164
- v: M(_)(U.value.xMax),
2183
+ v: M(h)(U.value.xMax),
2165
2184
  s: R.value.style.layout.plots.selectors.labels.suffix,
2166
2185
  r: R.value.style.layout.dataLabels.xAxis.rounding
2167
- }))), 9, Xt)) : x("", !0),
2168
- R.value.style.layout.dataLabels.yAxis.show && R.value.style.layout.dataLabels.yAxis.showValue ? (D(), S("text", {
2186
+ }))), 9, Qt)) : b("", !0),
2187
+ R.value.style.layout.dataLabels.yAxis.show && R.value.style.layout.dataLabels.yAxis.showValue ? (D(), x("text", {
2169
2188
  key: 12,
2170
2189
  ref_key: "yAxisLabelTop",
2171
- ref: qn,
2190
+ ref: Jn,
2172
2191
  x: W.value.x,
2173
2192
  y: H.value.top - R.value.style.layout.dataLabels.yAxis.fontSize,
2174
2193
  "text-anchor": "middle",
2175
2194
  "font-size": R.value.style.layout.dataLabels.yAxis.fontSize,
2176
2195
  fill: R.value.style.layout.dataLabels.yAxis.color
2177
- }, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(_)(U.value.yMax), M(d)({
2196
+ }, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(h)(U.value.yMax), M(f)({
2178
2197
  p: R.value.style.layout.plots.selectors.labels.prefix,
2179
- v: M(_)(U.value.yMax),
2198
+ v: M(h)(U.value.yMax),
2180
2199
  s: R.value.style.layout.plots.selectors.labels.suffix,
2181
2200
  r: R.value.style.layout.dataLabels.yAxis.rounding
2182
- }))), 9, Zt)) : x("", !0),
2183
- R.value.style.layout.dataLabels.yAxis.show ? (D(), S("g", {
2201
+ }))), 9, $t)) : b("", !0),
2202
+ R.value.style.layout.dataLabels.yAxis.show ? (D(), x("g", {
2184
2203
  key: 13,
2185
2204
  ref_key: "yAxisLabelBottom",
2186
- ref: Jn
2187
- }, [R.value.style.layout.dataLabels.yAxis.showValue ? (D(), S("text", {
2205
+ ref: Yn
2206
+ }, [R.value.style.layout.dataLabels.yAxis.showValue ? (D(), x("text", {
2188
2207
  key: 0,
2189
2208
  x: W.value.x,
2190
2209
  y: V.value.height - R.value.style.layout.dataLabels.yAxis.fontSize * 2,
2191
2210
  "text-anchor": "middle",
2192
2211
  "font-size": R.value.style.layout.dataLabels.yAxis.fontSize,
2193
2212
  fill: R.value.style.layout.dataLabels.yAxis.color
2194
- }, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(_)(U.value.yMin), M(d)({
2213
+ }, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(h)(U.value.yMin), M(f)({
2195
2214
  p: R.value.style.layout.plots.selectors.labels.prefix,
2196
- v: M(_)(U.value.yMin),
2215
+ v: M(h)(U.value.yMin),
2197
2216
  s: R.value.style.layout.plots.selectors.labels.suffix,
2198
2217
  r: R.value.style.layout.dataLabels.yAxis.rounding
2199
- }))), 9, Qt)) : x("", !0), C("text", {
2218
+ }))), 9, en)) : b("", !0), S("text", {
2200
2219
  "text-anchor": "middle",
2201
2220
  "font-size": R.value.style.layout.dataLabels.yAxis.fontSize,
2202
2221
  "font-weight": R.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal",
2203
2222
  fill: R.value.style.layout.dataLabels.yAxis.color,
2204
2223
  x: H.value.left + H.value.width / 2 + (R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.xAxis.offsetX : R.value.style.layout.dataLabels.yAxis.offsetX),
2205
2224
  y: V.value.height + (R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.xAxis.offsetY : R.value.style.layout.dataLabels.yAxis.offsetY)
2206
- }, j(R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.xAxis.name : R.value.style.layout.dataLabels.yAxis.name), 9, $t)], 512)) : x("", !0),
2207
- C("clipPath", { id: `clip_path_${F.value}` }, [C("rect", {
2225
+ }, j(R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.xAxis.name : R.value.style.layout.dataLabels.yAxis.name), 9, tn)], 512)) : b("", !0),
2226
+ S("clipPath", { id: `clip_path_${F.value}` }, [S("rect", {
2208
2227
  x: H.value.left,
2209
2228
  y: H.value.top,
2210
2229
  width: H.value.width <= 0 ? 1e-4 : H.value.width,
2211
2230
  height: H.value.height <= 0 ? 1e-4 : H.value.height
2212
- }, null, 8, tn)], 8, en),
2213
- R.value.style.layout.correlation.show ? (D(), S("g", nn, [(D(!0), S(v, null, k(K.value.filter((e) => e.correlation), (e, t) => (D(), S("line", {
2231
+ }, null, 8, rn)], 8, nn),
2232
+ R.value.style.layout.correlation.show ? (D(), x("g", an, [(D(!0), x(_, null, k(K.value.filter((e) => e.correlation), (e, t) => (D(), x("line", {
2214
2233
  x1: e.correlation.x1,
2215
2234
  x2: e.correlation.x2,
2216
2235
  y1: e.correlation.y1,
@@ -2219,7 +2238,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
2219
2238
  stroke: e.color,
2220
2239
  "stroke-width": R.value.style.layout.correlation.strokeWidth,
2221
2240
  "clip-path": `url(#clip_path_${F.value})`
2222
- }, null, 8, rn))), 256)), (D(!0), S(v, null, k(K.value.filter((e) => e.correlation), (e, t) => (D(), S("g", null, [R.value.style.layout.correlation.label.show ? (D(), S("text", {
2241
+ }, null, 8, on))), 256)), (D(!0), x(_, null, k(K.value.filter((e) => e.correlation), (e, t) => (D(), x("g", null, [R.value.style.layout.correlation.label.show ? (D(), x("text", {
2223
2242
  key: 0,
2224
2243
  x: e.correlation.x2,
2225
2244
  y: e.correlation.y2,
@@ -2227,73 +2246,73 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
2227
2246
  "text-anchor": "end",
2228
2247
  "font-size": R.value.style.layout.correlation.label.fontSize,
2229
2248
  "font-weight": R.value.style.layout.correlation.label.bold ? "bold" : "normal"
2230
- }, j(M(d)({
2231
- v: M(_)(e.correlation?.coefficient ?? 0),
2249
+ }, j(M(f)({
2250
+ v: M(h)(e.correlation?.coefficient ?? 0),
2232
2251
  r: R.value.style.layout.correlation.label.roundingValue
2233
- })), 9, an)) : x("", !0)]))), 256))])) : x("", !0),
2252
+ })), 9, sn)) : b("", !0)]))), 256))])) : b("", !0),
2234
2253
  A(e.$slots, "svg", { svg: {
2235
2254
  ...V.value,
2236
2255
  drawingArea: {
2237
2256
  ...H.value,
2238
2257
  zero: W.value
2239
2258
  },
2240
- data: zr.value,
2241
- isPrintingImg: M(gr) || M(_r) || Un.value,
2242
- isPrintingSvg: Wn.value
2259
+ data: Vr.value,
2260
+ isPrintingImg: M(vr) || M(yr) || Wn.value,
2261
+ isPrintingSvg: Gn.value
2243
2262
  } }, void 0, !0)
2244
- ], 46, Ye)), e.$slots.hint ? (D(), S("div", on, [A(e.$slots, "hint", T(w({
2263
+ ], 46, Ze)), e.$slots.hint ? (D(), x("div", cn, [A(e.$slots, "hint", T(w({
2245
2264
  hint: R.value.a11y.translations.keyboardNavigation,
2246
- isVisible: er.value
2247
- })), void 0, !0)])) : x("", !0)]),
2248
- e.$slots.watermark ? (D(), S("div", sn, [A(e.$slots, "watermark", T(w({ isPrinting: M(gr) || M(_r) || Un.value || Wn.value })), void 0, !0)])) : x("", !0),
2249
- C("div", { id: `legend-bottom-${F.value}` }, null, 8, cn),
2250
- Dn.value && Rn.value && (R.value.style.legend.show || e.$slots.legend) ? (D(), b(ke, {
2265
+ isVisible: tr.value
2266
+ })), void 0, !0)])) : b("", !0)]),
2267
+ e.$slots.watermark ? (D(), x("div", ln, [A(e.$slots, "watermark", T(w({ isPrinting: M(vr) || M(yr) || Wn.value || Gn.value })), void 0, !0)])) : b("", !0),
2268
+ S("div", { id: `legend-bottom-${F.value}` }, null, 8, un),
2269
+ On.value && zn.value && (R.value.style.legend.show || e.$slots.legend) ? (D(), y(Me, {
2251
2270
  key: 7,
2252
2271
  to: R.value.style.legend.position === "top" ? `#legend-top-${F.value}` : `#legend-bottom-${F.value}`
2253
- }, [C("div", {
2272
+ }, [S("div", {
2254
2273
  ref_key: "chartLegend",
2255
- ref: Mn
2256
- }, [A(e.$slots, "legend", { legend: G.value }, () => [R.value.style.legend.show ? (D(), b(De, {
2257
- key: `legend_${Ln.value}`,
2274
+ ref: Nn
2275
+ }, [A(e.$slots, "legend", { legend: G.value }, () => [R.value.style.legend.show ? (D(), y(Ae, {
2276
+ key: `legend_${Rn.value}`,
2258
2277
  legendSet: G.value,
2259
- config: Rr.value,
2260
- isCursorPointer: nr.value,
2261
- onClickMarker: t[3] ||= ({ legend: e }) => ri(e.id)
2278
+ config: Br.value,
2279
+ isCursorPointer: ir.value,
2280
+ onClickMarker: t[3] ||= ({ legend: e }) => ai(e.id)
2262
2281
  }, {
2263
- item: N(({ legend: e }) => [C("div", {
2282
+ item: N(({ legend: e }) => [S("div", {
2264
2283
  onClick: (t) => e.segregate(),
2265
2284
  style: E(`opacity:${L.value.includes(e.id) ? .5 : 1}`)
2266
- }, j(e.name), 13, ln)]),
2267
- legendToggle: N(() => [G.value.length > 2 && R.value.style.legend.selectAllToggle.show && !M(ar) ? (D(), b(Ce, {
2285
+ }, j(e.name), 13, dn)]),
2286
+ legendToggle: N(() => [G.value.length > 2 && R.value.style.legend.selectAllToggle.show && !M(sr) ? (D(), y(Ee, {
2268
2287
  key: 0,
2269
2288
  backgroundColor: R.value.style.legend.selectAllToggle.backgroundColor,
2270
2289
  color: R.value.style.legend.selectAllToggle.color,
2271
2290
  fontSize: R.value.style.legend.fontSize,
2272
2291
  checked: L.value.length > 0,
2273
- isCursorPointer: nr.value,
2274
- onToggle: ni
2292
+ isCursorPointer: ir.value,
2293
+ onToggle: ii
2275
2294
  }, null, 8, [
2276
2295
  "backgroundColor",
2277
2296
  "color",
2278
2297
  "fontSize",
2279
2298
  "checked",
2280
2299
  "isCursorPointer"
2281
- ])) : x("", !0)]),
2300
+ ])) : b("", !0)]),
2282
2301
  _: 1
2283
2302
  }, 8, [
2284
2303
  "legendSet",
2285
2304
  "config",
2286
2305
  "isCursorPointer"
2287
- ])) : x("", !0)], !0)], 512)], 8, ["to"])) : x("", !0),
2288
- e.$slots.source ? (D(), S("div", {
2306
+ ])) : b("", !0)], !0)], 512)], 8, ["to"])) : b("", !0),
2307
+ e.$slots.source ? (D(), x("div", {
2289
2308
  key: 8,
2290
2309
  ref_key: "source",
2291
- ref: Nn,
2310
+ ref: Pn,
2292
2311
  dir: "auto"
2293
- }, [A(e.$slots, "source", {}, void 0, !0)], 512)) : x("", !0),
2294
- Me(M(mn), {
2312
+ }, [A(e.$slots, "source", {}, void 0, !0)], 512)) : b("", !0),
2313
+ Fe(M(gn), {
2295
2314
  teleportTo: R.value.style.tooltip.teleportTo,
2296
- show: B.value.showTooltip && On.value,
2315
+ show: B.value.showTooltip && kn.value,
2297
2316
  backgroundColor: R.value.style.tooltip.backgroundColor,
2298
2317
  color: R.value.style.tooltip.color,
2299
2318
  borderRadius: R.value.style.tooltip.borderRadius,
@@ -2305,20 +2324,20 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
2305
2324
  offsetX: R.value.style.tooltip.offsetX,
2306
2325
  offsetY: R.value.style.tooltip.offsetY,
2307
2326
  parent: I.value,
2308
- content: kn.value,
2309
- isFullscreen: li.value,
2327
+ content: An.value,
2328
+ isFullscreen: di.value,
2310
2329
  isCustom: R.value.style.tooltip.customFormat && typeof R.value.style.tooltip.customFormat == "function",
2311
2330
  smooth: R.value.style.tooltip.smooth,
2312
2331
  backdropFilter: R.value.style.tooltip.backdropFilter,
2313
2332
  smoothForce: R.value.style.tooltip.smoothForce,
2314
2333
  smoothSnapThreshold: R.value.style.tooltip.smoothSnapThreshold,
2315
- isA11yMode: $n.value === "keyboard",
2316
- a11yPosition: Qn.value
2334
+ isA11yMode: er.value === "keyboard",
2335
+ a11yPosition: $n.value
2317
2336
  }, {
2318
- "tooltip-before": N(() => [A(e.$slots, "tooltip-before", T(w({ ...Wr.value })), void 0, !0)]),
2319
- tooltip: N(() => [A(e.$slots, "tooltip", T(w({ ...Wr.value })), void 0, !0)]),
2320
- "tooltip-after": N(() => [A(e.$slots, "tooltip-after", T(w({ ...Wr.value })), void 0, !0)]),
2321
- default: N(() => [R.value.style.tooltip.showShape ? (D(), S("div", un, [(D(), S("svg", dn, [Me(ve, {
2337
+ "tooltip-before": N(() => [A(e.$slots, "tooltip-before", T(w({ ...Kr.value })), void 0, !0)]),
2338
+ tooltip: N(() => [A(e.$slots, "tooltip", T(w({ ...Kr.value })), void 0, !0)]),
2339
+ "tooltip-after": N(() => [A(e.$slots, "tooltip-after", T(w({ ...Kr.value })), void 0, !0)]),
2340
+ default: N(() => [R.value.style.tooltip.showShape ? (D(), x("div", fn, [(D(), x("svg", pn, [Fe(xe, {
2322
2341
  shape: X.value.shape,
2323
2342
  color: X.value.color,
2324
2343
  plot: {
@@ -2326,7 +2345,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
2326
2345
  y: 10
2327
2346
  },
2328
2347
  radius: 7
2329
- }, null, 8, ["shape", "color"])]))])) : x("", !0)]),
2348
+ }, null, 8, ["shape", "color"])]))])) : b("", !0)]),
2330
2349
  _: 3
2331
2350
  }, 8, [
2332
2351
  "teleportTo",
@@ -2352,27 +2371,27 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
2352
2371
  "isA11yMode",
2353
2372
  "a11yPosition"
2354
2373
  ]),
2355
- Dn.value && R.value.userOptions.buttons.table ? (D(), b(ze(Ei.value.component), Pe({ key: 9 }, Ei.value.props, {
2374
+ On.value && R.value.userOptions.buttons.table ? (D(), y(Ve(Oi.value.component), Ie({ key: 9 }, Oi.value.props, {
2356
2375
  ref_key: "tableUnit",
2357
- ref: Vn,
2358
- onClose: Di
2359
- }), Ae({
2360
- content: N(() => [(D(), b(M(_n), {
2361
- key: `table_${In.value}`,
2362
- colNames: ci.value.colNames,
2363
- head: ci.value.head,
2364
- body: ci.value.body,
2365
- config: ci.value.config,
2366
- title: R.value.table.useDialog ? "" : Ei.value.title,
2376
+ ref: Hn,
2377
+ onClose: ki
2378
+ }), Ne({
2379
+ content: N(() => [(D(), y(M(yn), {
2380
+ key: `table_${Ln.value}`,
2381
+ colNames: ui.value.colNames,
2382
+ head: ui.value.head,
2383
+ body: ui.value.body,
2384
+ config: ui.value.config,
2385
+ title: R.value.table.useDialog ? "" : Oi.value.title,
2367
2386
  withCloseButton: !R.value.table.useDialog,
2368
- isCursorPointer: nr.value,
2369
- onClose: Di
2387
+ isCursorPointer: ir.value,
2388
+ onClose: ki
2370
2389
  }, {
2371
- th: N(({ th: e }) => [je(j(e), 1)]),
2372
- td: N(({ td: e }) => [e.shape ? (D(), S("div", fn, [C("span", null, j(e.content), 1)])) : (D(), S("div", {
2390
+ th: N(({ th: e }) => [Pe(j(e), 1)]),
2391
+ td: N(({ td: e }) => [e.shape ? (D(), x("div", mn, [S("span", null, j(e.content), 1)])) : (D(), x("div", {
2373
2392
  key: 1,
2374
2393
  innerHTML: e
2375
- }, null, 8, pn))]),
2394
+ }, null, 8, hn))]),
2376
2395
  _: 1
2377
2396
  }, 8, [
2378
2397
  "colNames",
@@ -2386,24 +2405,24 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
2386
2405
  _: 2
2387
2406
  }, [R.value.table.useDialog ? {
2388
2407
  name: "title",
2389
- fn: N(() => [je(j(Ei.value.title), 1)]),
2408
+ fn: N(() => [Pe(j(Oi.value.title), 1)]),
2390
2409
  key: "0"
2391
2410
  } : void 0, R.value.table.useDialog ? {
2392
2411
  name: "actions",
2393
- fn: N(() => [C("button", {
2412
+ fn: N(() => [S("button", {
2394
2413
  tabindex: "0",
2395
2414
  class: "vue-ui-user-options-button",
2396
- onClick: t[4] ||= (e) => si(R.value.userOptions.callbacks.csv),
2397
- style: E({ cursor: nr.value ? "pointer" : "default" })
2398
- }, [Me(M(hn), {
2415
+ onClick: t[4] ||= (e) => li(R.value.userOptions.callbacks.csv),
2416
+ style: E({ cursor: ir.value ? "pointer" : "default" })
2417
+ }, [Fe(M(_n), {
2399
2418
  name: "fileCsv",
2400
- stroke: Ei.value.props.color
2419
+ stroke: Oi.value.props.color
2401
2420
  }, null, 8, ["stroke"])], 4)]),
2402
2421
  key: "1"
2403
- } : void 0]), 1040)) : x("", !0),
2404
- A(e.$slots, "skeleton", {}, () => [M(ar) ? (D(), b(de, { key: 0 })) : x("", !0)], !0)
2405
- ], 46, We));
2422
+ } : void 0]), 1040)) : b("", !0),
2423
+ A(e.$slots, "skeleton", {}, () => [M(sr) ? (D(), y(me, { key: 0 })) : b("", !0)], !0)
2424
+ ], 46, Ke));
2406
2425
  }
2407
- }, [["__scopeId", "data-v-7bdcd192"]]);
2426
+ }, [["__scopeId", "data-v-573510da"]]);
2408
2427
  //#endregion
2409
- export { Ue as n, mn as t };
2428
+ export { Ge as n, gn as t };