vue-data-ui 3.2.7 → 3.3.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 (159) hide show
  1. package/dist/{Arrow-Bb0bGghy.js → Arrow-CKLBHe3L.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CHhZIht2.js → BaseDraggableDialog-q3pgSDTz.js} +2 -2
  3. package/dist/{BaseIcon-Bz-1GQhu.js → BaseIcon-CtqN7W_g.js} +4 -3
  4. package/dist/{ColorPicker-B-WUqMoV.js → ColorPicker-Cr6rUDTP.js} +2 -2
  5. package/dist/{DataTable-BvjacRbw.js → DataTable-BeI6gYJX.js} +2 -2
  6. package/dist/{Legend-BpoFJ8fc.js → Legend-DsogCeTb.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-l9giyY1Z.js → NonSvgPenAndPaper-BDK_ucTG.js} +3 -3
  8. package/dist/{PackageVersion-Cwrh45ON.js → PackageVersion-C9oklnuy.js} +1 -1
  9. package/dist/{PenAndPaper-CR8q353D.js → PenAndPaper-BxbYiPy4.js} +3 -3
  10. package/dist/{Shape-C_C_OmqR.js → Shape-DJG2zW7b.js} +1 -1
  11. package/dist/{Slicer-BA2GhOmY.js → Slicer-D6T4aUhr.js} +2 -2
  12. package/dist/{SparkTooltip-Dz1PDE_h.js → SparkTooltip-Cp0G9giW.js} +1 -1
  13. package/dist/{Title-DG2nloSB.js → Title-D17CJXko.js} +1 -1
  14. package/dist/{Tooltip-BOXz8skU.js → Tooltip-CtVdvbZi.js} +1 -1
  15. package/dist/{UserOptions-DsTgvAok.js → UserOptions-B3vCIe-u.js} +168 -126
  16. package/dist/components/arrow.js +1 -1
  17. package/dist/components/vue-ui-3d-bar.js +1 -1
  18. package/dist/components/vue-ui-accordion.js +1 -1
  19. package/dist/components/vue-ui-age-pyramid.js +1 -1
  20. package/dist/components/vue-ui-annotator.js +1 -1
  21. package/dist/components/vue-ui-bullet.js +1 -1
  22. package/dist/components/vue-ui-candlestick.js +1 -1
  23. package/dist/components/vue-ui-carousel-table.js +1 -1
  24. package/dist/components/vue-ui-chestnut.js +1 -1
  25. package/dist/components/vue-ui-chord.js +1 -1
  26. package/dist/components/vue-ui-circle-pack.js +1 -1
  27. package/dist/components/vue-ui-cursor.js +1 -1
  28. package/dist/components/vue-ui-dashboard.js +1 -1
  29. package/dist/components/vue-ui-digits.js +1 -1
  30. package/dist/components/vue-ui-donut-evolution.js +1 -1
  31. package/dist/components/vue-ui-donut.js +1 -1
  32. package/dist/components/vue-ui-dumbbell.js +1 -1
  33. package/dist/components/vue-ui-flow.js +1 -1
  34. package/dist/components/vue-ui-funnel.js +1 -1
  35. package/dist/components/vue-ui-galaxy.js +1 -1
  36. package/dist/components/vue-ui-gauge.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-mini-loader.js +1 -1
  44. package/dist/components/vue-ui-molecule.js +1 -1
  45. package/dist/components/vue-ui-mood-radar.js +1 -1
  46. package/dist/components/vue-ui-nested-donuts.js +1 -1
  47. package/dist/components/vue-ui-onion.js +1 -1
  48. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  49. package/dist/components/vue-ui-quadrant.js +1 -1
  50. package/dist/components/vue-ui-quick-chart.js +1 -1
  51. package/dist/components/vue-ui-radar.js +1 -1
  52. package/dist/components/vue-ui-rating.js +1 -1
  53. package/dist/components/vue-ui-relation-circle.js +1 -1
  54. package/dist/components/vue-ui-ridgeline.js +1 -1
  55. package/dist/components/vue-ui-rings.js +1 -1
  56. package/dist/components/vue-ui-scatter.js +1 -1
  57. package/dist/components/vue-ui-skeleton.js +1 -1
  58. package/dist/components/vue-ui-smiley.js +1 -1
  59. package/dist/components/vue-ui-spark-trend.js +1 -1
  60. package/dist/components/vue-ui-sparkbar.js +1 -1
  61. package/dist/components/vue-ui-sparkgauge.js +1 -1
  62. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  63. package/dist/components/vue-ui-sparkline.js +1 -1
  64. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  65. package/dist/components/vue-ui-stackbar.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{dom-to-png-BgvOdfyW.js → dom-to-png-BiyqJA3t.js} +1 -1
  82. package/dist/{img-DjWwQXVS.js → img-6wPuVVtk.js} +1 -1
  83. package/dist/{lib-BEpWEyMm.js → lib-GIYcnm0E.js} +110 -96
  84. package/dist/{pdf-YD0ShN36.js → pdf-DjbHsnrb.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/types/vue-data-ui.d.ts +8 -1
  87. package/dist/{useAutoSizeLabelsInsideViewbox-BVJkib7z.js → useAutoSizeLabelsInsideViewbox-Csv3pVmh.js} +1 -1
  88. package/dist/{useNestedProp-BOk-tPdu.js → useNestedProp-mxyyqd0B.js} +291 -246
  89. package/dist/{usePrinter-w23K-ezx.js → usePrinter-DYRFiw7X.js} +2 -2
  90. package/dist/useSvgExport-B7-Vrjtu.js +732 -0
  91. package/dist/vue-data-ui-DLU1snC3.js +326 -0
  92. package/dist/vue-data-ui.js +68 -68
  93. package/dist/{vue-ui-3d-bar-CRXnB8wH.js → vue-ui-3d-bar-D6xoBrN6.js} +358 -342
  94. package/dist/{vue-ui-accordion-CeMTgpl0.js → vue-ui-accordion-Dch9YrCi.js} +19 -19
  95. package/dist/{vue-ui-age-pyramid-BEGsngR6.js → vue-ui-age-pyramid-D74mAaLA.js} +228 -212
  96. package/dist/{vue-ui-annotator-BhZr9pFJ.js → vue-ui-annotator-DwRwhrgB.js} +9 -9
  97. package/dist/{vue-ui-bullet-CrCHb15S.js → vue-ui-bullet-D2qVUqWs.js} +197 -179
  98. package/dist/{vue-ui-candlestick-CnWY88nd.js → vue-ui-candlestick-C81k1_f9.js} +279 -263
  99. package/dist/{vue-ui-carousel-table-CsVWXrdA.js → vue-ui-carousel-table-DBIhnEj-.js} +6 -6
  100. package/dist/{vue-ui-chestnut-NpO91zJV.js → vue-ui-chestnut-CSM-_IWw.js} +426 -380
  101. package/dist/{vue-ui-chord-bIihB6Qf.js → vue-ui-chord-BFW9nnNh.js} +318 -299
  102. package/dist/{vue-ui-circle-pack-Z5VTiXZU.js → vue-ui-circle-pack-D6mTG5i0.js} +249 -233
  103. package/dist/{vue-ui-cursor-Detis-4Y.js → vue-ui-cursor-BJmTAMpP.js} +2 -2
  104. package/dist/{vue-ui-dashboard-BEJ5uSZV.js → vue-ui-dashboard-BdFLsK4u.js} +72 -71
  105. package/dist/{vue-ui-digits-CDtdGqLS.js → vue-ui-digits-DXum1rs6.js} +10 -10
  106. package/dist/{vue-ui-donut-a82yzfvT.js → vue-ui-donut-CqefukGp.js} +662 -645
  107. package/dist/{vue-ui-donut-evolution-DP_dXmIC.js → vue-ui-donut-evolution-DFIbK50s.js} +407 -385
  108. package/dist/{vue-ui-dumbbell-BDIzPnlX.js → vue-ui-dumbbell-DIo2ecGY.js} +295 -274
  109. package/dist/vue-ui-flow--kiGWaq4.js +931 -0
  110. package/dist/{vue-ui-funnel-CaxHiJIB.js → vue-ui-funnel-B8UHwj15.js} +197 -181
  111. package/dist/{vue-ui-galaxy-CbGRAAFI.js → vue-ui-galaxy-eQZh_y3l.js} +265 -252
  112. package/dist/{vue-ui-gauge-But_1QwV.js → vue-ui-gauge-DJ-E6L2T.js} +256 -240
  113. package/dist/{vue-ui-gizmo-DcBQp-C8.js → vue-ui-gizmo-DFxlqPz7.js} +18 -18
  114. package/dist/{vue-ui-heatmap-BAVkwnbX.js → vue-ui-heatmap-CcAe5dDN.js} +394 -373
  115. package/dist/{vue-ui-history-plot-BlVib573.js → vue-ui-history-plot-CgKvd7Jx.js} +337 -319
  116. package/dist/{vue-ui-kpi-DuFgWXJM.js → vue-ui-kpi-Ct2iyD49.js} +4 -4
  117. package/dist/{vue-ui-mini-loader-D4W9oE3V.js → vue-ui-mini-loader-ByjcvXBB.js} +19 -19
  118. package/dist/{vue-ui-molecule-CEb6_0wR.js → vue-ui-molecule-CGDBEAkX.js} +176 -160
  119. package/dist/vue-ui-mood-radar-D9GuK4cI.js +876 -0
  120. package/dist/{vue-ui-nested-donuts-B6rmNl9X.js → vue-ui-nested-donuts-CGKgOTX2.js} +542 -519
  121. package/dist/{vue-ui-onion-BWAdTZ6V.js → vue-ui-onion-C5tE1Woz.js} +318 -289
  122. package/dist/{vue-ui-parallel-coordinate-plot-DXbgnatq.js → vue-ui-parallel-coordinate-plot-CVhD6IoH.js} +253 -234
  123. package/dist/{vue-ui-quadrant-BwGMZ_d_.js → vue-ui-quadrant-BGDCaOXv.js} +295 -277
  124. package/dist/{vue-ui-quick-chart-2bQ0DX_A.js → vue-ui-quick-chart-CjXSB-2S.js} +724 -686
  125. package/dist/{vue-ui-radar-DPXvVIbh.js → vue-ui-radar-rhxkROX7.js} +307 -282
  126. package/dist/{vue-ui-rating-CxIBq7Xr.js → vue-ui-rating-Bo9gSy-z.js} +4 -4
  127. package/dist/{vue-ui-relation-circle-BVGAfqBj.js → vue-ui-relation-circle-Qo8FKbL2.js} +147 -132
  128. package/dist/{vue-ui-ridgeline-C6UdClMT.js → vue-ui-ridgeline-ahOApbEC.js} +320 -299
  129. package/dist/{vue-ui-rings-B_7zAshC.js → vue-ui-rings-DFAVaEBs.js} +323 -310
  130. package/dist/{vue-ui-scatter-BRr9oPfo.js → vue-ui-scatter-zjlWyvVd.js} +390 -372
  131. package/dist/{vue-ui-skeleton-C3tGR_lR.js → vue-ui-skeleton-CKfOnyd_.js} +105 -105
  132. package/dist/{vue-ui-smiley-B70Ck-49.js → vue-ui-smiley-CY7UiJ9C.js} +88 -88
  133. package/dist/{vue-ui-spark-trend-C2tSZULg.js → vue-ui-spark-trend-DwNYP97M.js} +5 -5
  134. package/dist/{vue-ui-sparkbar-BUPDw_qR.js → vue-ui-sparkbar-BkdcYrmg.js} +30 -30
  135. package/dist/{vue-ui-sparkgauge-DufAZyFK.js → vue-ui-sparkgauge-C6Kq_OGV.js} +4 -4
  136. package/dist/{vue-ui-sparkhistogram-DDunWMKu.js → vue-ui-sparkhistogram-CjB33yXB.js} +7 -7
  137. package/dist/{vue-ui-sparkline-lRx2nNde.js → vue-ui-sparkline-DcH4yIEd.js} +5 -5
  138. package/dist/{vue-ui-sparkstackbar-CB6WHJHd.js → vue-ui-sparkstackbar-MKr2u_pO.js} +5 -5
  139. package/dist/{vue-ui-stackbar-CQ9Zvuxh.js → vue-ui-stackbar-DKV-exfd.js} +356 -338
  140. package/dist/{vue-ui-strip-plot-DW3c82dV.js → vue-ui-strip-plot-ncTrDlNC.js} +368 -352
  141. package/dist/{vue-ui-table-CEt97z7F.js → vue-ui-table-BdT3lGuv.js} +16 -16
  142. package/dist/{vue-ui-table-heatmap-DFZCaMxK.js → vue-ui-table-heatmap-D929cWB0.js} +9 -9
  143. package/dist/{vue-ui-table-sparkline-RB40-Z1R.js → vue-ui-table-sparkline-CkZ_ygR1.js} +7 -7
  144. package/dist/{vue-ui-thermometer-fmPzO-eT.js → vue-ui-thermometer-CjBLR6H9.js} +148 -133
  145. package/dist/{vue-ui-timer-qxLpO3HX.js → vue-ui-timer-Bs7eMmiC.js} +7 -7
  146. package/dist/vue-ui-tiremarks-nGOZKRcz.js +423 -0
  147. package/dist/{vue-ui-treemap-B4-IPDxV.js → vue-ui-treemap-SQ2f5wbN.js} +403 -373
  148. package/dist/{vue-ui-vertical-bar-Y5LefeNg.js → vue-ui-vertical-bar-Hh9gAN5j.js} +295 -260
  149. package/dist/{vue-ui-waffle-gvnJOZlg.js → vue-ui-waffle-C7moVBln.js} +396 -377
  150. package/dist/{vue-ui-wheel-BzS_N3GP.js → vue-ui-wheel-KrGLMCqW.js} +185 -169
  151. package/dist/{vue-ui-word-cloud-vWhTarrE.js → vue-ui-word-cloud-BQSu6kiR.js} +234 -218
  152. package/dist/{vue-ui-world-CqWuE8ZR.js → vue-ui-world-DdoMFJcV.js} +344 -326
  153. package/dist/{vue-ui-xy-BxpuE9Ng.js → vue-ui-xy-B2fjTYMJ.js} +1602 -1708
  154. package/dist/{vue-ui-xy-canvas-C9YQjaUA.js → vue-ui-xy-canvas-oUXISeU8.js} +12 -12
  155. package/package.json +1 -1
  156. package/dist/vue-data-ui-DH8opsJv.js +0 -325
  157. package/dist/vue-ui-flow-B72CBzC3.js +0 -909
  158. package/dist/vue-ui-mood-radar-CqJPicZv.js +0 -853
  159. package/dist/vue-ui-tiremarks-Cxx97FLg.js +0 -407
@@ -1,47 +1,48 @@
1
- import { defineAsyncComponent as se, computed as F, ref as M, toRefs as il, watch as Be, shallowRef as Lt, onMounted as rl, onBeforeUnmount as vl, createElementBlock as y, openBlock as r, unref as c, normalizeStyle as ne, normalizeClass as Bt, createBlock as le, createCommentVNode as x, createElementVNode as w, createVNode as $e, createSlots as Tt, withCtx as X, renderSlot as j, normalizeProps as pe, guardReactiveProps as fe, Fragment as Z, renderList as K, toDisplayString as q, Teleport as yl, resolveDynamicComponent as cl, mergeProps as dl, createTextVNode as zt, nextTick as hl } from "vue";
2
- import { c as pl, t as fl, b as gl, p as ye, o as Pt, f as Je, e as ml, g as Ot, W as xl, h as Ke, Z as bl, U as kl, s as Te, X as wl, Y as _l, a as ue, q as G, d as Q, x as $l, y as Ml, z as Cl, A as Al } from "./lib-BEpWEyMm.js";
3
- import { t as Sl, u as Ll } from "./useResponsive-DfdjqQps.js";
4
- import { u as Bl, a as Dt } from "./useNestedProp-BOk-tPdu.js";
5
- import { u as Tl, B as zl } from "./BaseScanner-BgWxam9d.js";
6
- import { u as Pl } from "./usePrinter-w23K-ezx.js";
7
- import { u as Ol } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as Dl } from "./useChartAccessibility-9icAAmYg.js";
9
- import { t as El } from "./themes-Dw-dDudK.js";
10
- import Fl from "./Legend-BpoFJ8fc.js";
11
- import Wl from "./Title-DG2nloSB.js";
12
- import { _ as Qe } from "./Shape-C_C_OmqR.js";
13
- import Nl from "./img-DjWwQXVS.js";
14
- import { _ as Il } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "height"], Ul = { key: 1 }, Vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ql = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gl = { key: 2 }, Hl = ["id"], Zl = ["stop-color"], Jl = ["stop-color"], Kl = ["id"], Ql = ["stop-color"], ea = ["stop-color"], ta = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], la = ["x", "y", "width", "height", "onMouseenter"], aa = {
1
+ import { defineAsyncComponent as ne, computed as T, ref as M, toRefs as hl, watch as Te, shallowRef as Bt, onMounted as pl, onBeforeUnmount as fl, createElementBlock as y, openBlock as r, unref as c, normalizeStyle as ue, normalizeClass as Tt, createBlock as le, createCommentVNode as x, createElementVNode as w, createVNode as $e, createSlots as zt, withCtx as X, renderSlot as U, normalizeProps as pe, guardReactiveProps as fe, Fragment as Z, renderList as K, toDisplayString as G, Teleport as gl, resolveDynamicComponent as ml, mergeProps as xl, createTextVNode as Pt, nextTick as bl } from "vue";
2
+ import { c as kl, t as wl, b as _l, p as ye, o as Ot, f as Je, e as $l, g as Dt, W as Ml, h as Ke, Z as Cl, U as Al, s as ze, X as Sl, Y as Ll, a as ie, q, d as Q, x as Bl, y as Tl, z as zl, A as Pl } from "./lib-GIYcnm0E.js";
3
+ import { t as Ol, u as Dl } from "./useResponsive-DfdjqQps.js";
4
+ import { u as El, a as Et } from "./useNestedProp-mxyyqd0B.js";
5
+ import { u as Fl, B as Wl } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as Nl } from "./usePrinter-DYRFiw7X.js";
7
+ import { u as Il } from "./useSvgExport-B7-Vrjtu.js";
8
+ import { u as Xl } from "./useUserOptionState-BIvW1Kz7.js";
9
+ import { u as Yl } from "./useChartAccessibility-9icAAmYg.js";
10
+ import { t as Rl } from "./themes-Dw-dDudK.js";
11
+ import Ul from "./Legend-DsogCeTb.js";
12
+ import jl from "./Title-D17CJXko.js";
13
+ import { _ as Qe } from "./Shape-DJG2zW7b.js";
14
+ import Vl from "./img-6wPuVVtk.js";
15
+ import { _ as Gl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "height"], Kl = { key: 1 }, Ql = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ta = { key: 2 }, la = ["id"], aa = ["stop-color"], oa = ["stop-color"], sa = ["id"], na = ["stop-color"], ua = ["stop-color"], ia = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], ra = ["x", "y", "width", "height", "onMouseenter"], va = {
16
17
  key: 2,
17
18
  style: { "pointer-events": "none" }
18
- }, oa = ["x", "y", "width", "height", "fill", "fill-opacity"], sa = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], na = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], ua = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], ia = ["x", "y", "width", "height", "onMouseenter"], ra = {
19
+ }, ya = ["x", "y", "width", "height", "fill", "fill-opacity"], ca = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], da = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], ha = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], pa = ["x", "y", "width", "height", "onMouseenter"], fa = {
19
20
  key: 2,
20
21
  style: { "pointer-events": "none" }
21
- }, va = ["x", "y", "width", "height", "fill", "fill-opacity"], ya = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], da = {
22
+ }, ga = ["x", "y", "width", "height", "fill", "fill-opacity"], ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], xa = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], ba = {
22
23
  key: 0,
23
24
  style: { "pointer-events": "none" }
24
- }, ha = ["d", "stroke", "stroke-width"], pa = ["d", "stroke", "stroke-width"], fa = ["d", "stroke", "stroke-width"], ga = ["d", "stroke", "stroke-width"], ma = { key: 3 }, xa = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], ba = { key: 0 }, ka = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover", "onMouseleave", "onClick"], wa = { key: 1 }, _a = ["clip-path"], $a = ["d", "fill", "stroke", "stroke-width", "stroke-opacity"], Ma = {
25
+ }, ka = ["d", "stroke", "stroke-width"], wa = ["d", "stroke", "stroke-width"], _a = ["d", "stroke", "stroke-width"], $a = ["d", "stroke", "stroke-width"], Ma = { key: 3 }, Ca = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Aa = { key: 0 }, Sa = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover", "onMouseleave", "onClick"], La = { key: 1 }, Ba = ["clip-path"], Ta = ["d", "fill", "stroke", "stroke-width", "stroke-opacity"], za = {
25
26
  key: 0,
26
27
  style: { "pointer-events": "none" }
27
- }, Ca = ["x", "y", "width", "height"], Aa = {
28
+ }, Pa = ["x", "y", "width", "height"], Oa = {
28
29
  key: 6,
29
30
  style: { "pointer-events": "none !important" }
30
- }, Sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], La = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ba = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Ta = ["x", "y", "font-size", "fill", "font-weight"], za = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Pa = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Oa = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Da = ["id", "transform", "font-size", "font-weight", "fill"], Ea = ["font-size", "fill", "transform"], Fa = ["transform", "font-size", "fill"], Wa = ["x", "y", "font-size", "fill"], Na = ["x", "y", "font-size", "fill"], Ia = ["font-size", "font-weight", "fill", "x", "y"], Xa = ["id"], Ya = ["x", "y", "width", "height"], Ra = {
31
+ }, Da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Fa = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Wa = ["x", "y", "font-size", "fill", "font-weight"], Na = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ia = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Xa = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Ya = ["id", "transform", "font-size", "font-weight", "fill"], Ra = ["font-size", "fill", "transform"], Ua = ["transform", "font-size", "fill"], ja = ["x", "y", "font-size", "fill"], Va = ["x", "y", "font-size", "fill"], Ga = ["font-size", "font-weight", "fill", "x", "y"], qa = ["id"], Ha = ["x", "y", "width", "height"], Za = {
31
32
  key: 11,
32
33
  style: { pointerEvents: "none" }
33
- }, ja = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], Ua = ["x", "y", "fill", "font-size", "font-weight"], Va = {
34
+ }, Ja = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], Ka = ["x", "y", "fill", "font-size", "font-weight"], Qa = {
34
35
  key: 4,
35
36
  class: "vue-data-ui-watermark"
36
- }, qa = ["id"], Ga = ["onClick"], Ha = {
37
+ }, eo = ["id"], to = ["onClick"], lo = {
37
38
  key: 0,
38
39
  style: { width: "100%", display: "flex", "align-items": "center", "justify-content": "center" }
39
- }, Za = {
40
+ }, ao = {
40
41
  viewBox: "0 0 20 20",
41
42
  height: "20",
42
43
  width: "20",
43
44
  style: { overflow: "hidden", background: "transparent" }
44
- }, Ja = { key: 0 }, Ka = ["innerHTML"], Qa = {
45
+ }, oo = { key: 0 }, so = ["innerHTML"], no = {
45
46
  __name: "vue-ui-scatter",
46
47
  props: {
47
48
  config: {
@@ -57,41 +58,41 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
57
58
  }
58
59
  }
59
60
  },
60
- setup(Et, { expose: Ft }) {
61
- const Wt = se(() => import("./Tooltip-BOXz8skU.js")), Nt = se(() => import("./BaseIcon-Bz-1GQhu.js")), It = se(() => import("./vue-ui-accordion-CeMTgpl0.js")), Xt = se(() => import("./DataTable-BvjacRbw.js")), Yt = se(() => import("./PenAndPaper-CR8q353D.js")), Rt = se(() => import("./UserOptions-DsTgvAok.js")), jt = se(() => import("./PackageVersion-Cwrh45ON.js")), Ut = se(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_scatter: Vt } = Bl(), ee = Et, et = F(() => !!ee.dataset && ee.dataset.length), W = M(pl()), ze = M(!1), Pe = M(""), tt = M(0), te = M(null), lt = M(null), at = M(null), ot = M(null), st = M(null), nt = M(0), ut = M(0), it = M(0), N = M([]), rt = M(!1), ge = M(null), me = M(null), xe = M(null), Oe = M(null), De = M(null), qt = M(null), Gt = M(null), Ee = M(null), e = M(Xe());
62
- function Ht(l = 100, s = 0.8, t = {}) {
61
+ setup(Ft, { expose: Wt }) {
62
+ const Nt = ne(() => import("./Tooltip-CtVdvbZi.js")), It = ne(() => import("./BaseIcon-CtqN7W_g.js")), Xt = ne(() => import("./vue-ui-accordion-Dch9YrCi.js")), Yt = ne(() => import("./DataTable-BeI6gYJX.js")), Rt = ne(() => import("./PenAndPaper-BxbYiPy4.js")), Ut = ne(() => import("./UserOptions-B3vCIe-u.js")), jt = ne(() => import("./PackageVersion-C9oklnuy.js")), Vt = ne(() => import("./BaseDraggableDialog-q3pgSDTz.js")), { vue_ui_scatter: Gt } = El(), ee = Ft, et = T(() => !!ee.dataset && ee.dataset.length), W = M(kl()), Pe = M(!1), Oe = M(""), tt = M(0), te = M(null), lt = M(null), at = M(null), ot = M(null), st = M(null), nt = M(0), ut = M(0), it = M(0), N = M([]), rt = M(!1), ge = M(null), me = M(null), xe = M(null), De = M(null), Ee = M(null), qt = M(null), Ht = M(null), Fe = M(null), e = M(Xe());
63
+ function Zt(l = 100, s = 0.8, t = {}) {
63
64
  const { meanX: o = 0, sdX: a = 1, meanY: u = 0, sdY: i = 1, seed: p } = t;
64
65
  let v = (p ?? Math.floor(Math.random() * 2 ** 31)) >>> 0;
65
66
  const g = () => (v = v * 1664525 + 1013904223 >>> 0, v / 2 ** 32), L = () => {
66
- let m = 0, O = 0;
67
+ let m = 0, D = 0;
67
68
  for (; m === 0; ) m = g();
68
- for (; O === 0; ) O = g();
69
- return Math.sqrt(-2 * Math.log(m)) * Math.cos(2 * Math.PI * O);
70
- }, d = l / 2, $ = Array.from({ length: d }, L), P = Array.from({ length: d }, L), C = (m) => m.reduce((O, _e) => O + _e, 0) / m.length, T = C($), I = C(P);
69
+ for (; D === 0; ) D = g();
70
+ return Math.sqrt(-2 * Math.log(m)) * Math.cos(2 * Math.PI * D);
71
+ }, d = l / 2, $ = Array.from({ length: d }, L), O = Array.from({ length: d }, L), C = (m) => m.reduce((D, _e) => D + _e, 0) / m.length, z = C($), I = C(O);
71
72
  for (let m = 0; m < d; m += 1)
72
- $[m] -= T, P[m] -= I;
73
- const B = (m, O) => m.reduce((_e, Le, Ze) => _e + Le * O[Ze], 0), _ = (m) => B(m, m), h = B(P, $) / _($), S = P.map((m, O) => m - h * $[O]), V = _($) / d, J = _(S) / d, oe = Math.sqrt((1 - s * s) * V / J), R = $.map((m, O) => s * m + oe * S[O]), ve = $.concat($.map((m) => -m)), He = R.concat(R.map((m) => -m)), ke = (m) => Math.sqrt(_(m) / m.length), de = (m, O, _e) => {
74
- const Le = ke(m);
75
- return m.map((Ze) => _e + (Le ? Ze / Le * O : 0));
73
+ $[m] -= z, O[m] -= I;
74
+ const B = (m, D) => m.reduce((_e, Be, Ze) => _e + Be * D[Ze], 0), _ = (m) => B(m, m), h = B(O, $) / _($), S = O.map((m, D) => m - h * $[D]), V = _($) / d, J = _(S) / d, se = Math.sqrt((1 - s * s) * V / J), R = $.map((m, D) => s * m + se * S[D]), ve = $.concat($.map((m) => -m)), He = R.concat(R.map((m) => -m)), ke = (m) => Math.sqrt(_(m) / m.length), de = (m, D, _e) => {
75
+ const Be = ke(m);
76
+ return m.map((Ze) => _e + (Be ? Ze / Be * D : 0));
76
77
  }, he = de(ve, a, o), we = de(He, i, u);
77
78
  for (let m = he.length - 1; m > 0; m -= 1) {
78
- const O = Math.floor(g() * (m + 1));
79
- [he[m], he[O]] = [he[O], he[m]], [we[m], we[O]] = [we[O], we[m]];
79
+ const D = Math.floor(g() * (m + 1));
80
+ [he[m], he[D]] = [he[D], he[m]], [we[m], we[D]] = [we[D], we[m]];
80
81
  }
81
- return he.map((m, O) => ({ x: m, y: we[O] }));
82
+ return he.map((m, D) => ({ x: m, y: we[D] }));
82
83
  }
83
- const { loading: vt, FINAL_DATASET: Fe, manualLoading: We } = Tl({
84
- ...il(ee),
84
+ const { loading: vt, FINAL_DATASET: We, manualLoading: Ne } = Fl({
85
+ ...hl(ee),
85
86
  FINAL_CONFIG: e,
86
87
  prepareConfig: Xe,
87
88
  skeletonDataset: [
88
89
  {
89
90
  name: "",
90
91
  color: "#999999",
91
- values: Ht(100, 0.5, { seed: 42 })
92
+ values: Zt(100, 0.5, { seed: 42 })
92
93
  }
93
94
  ],
94
- skeletonConfig: fl({
95
+ skeletonConfig: wl({
95
96
  defaultConfig: e.value,
96
97
  userConfig: {
97
98
  userOptions: { show: !1 },
@@ -124,22 +125,22 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
124
125
  }
125
126
  }
126
127
  })
127
- }), { userOptionsVisible: Ne, setUserOptionsVisibility: yt, keepUserOptionState: ct } = Ol({ config: e.value }), { svgRef: Ie } = Dl({ config: e.value.style.title });
128
+ }), { userOptionsVisible: Ie, setUserOptionsVisibility: yt, keepUserOptionState: ct } = Xl({ config: e.value }), { svgRef: Me } = Yl({ config: e.value.style.title });
128
129
  function Xe() {
129
- const l = Dt({
130
+ const l = Et({
130
131
  userConfig: ee.config,
131
- defaultConfig: Vt
132
+ defaultConfig: Gt
132
133
  });
133
134
  return l.theme ? {
134
- ...Dt({
135
- userConfig: El.vue_ui_scatter[l.theme] || ee.config,
135
+ ...Et({
136
+ userConfig: Rl.vue_ui_scatter[l.theme] || ee.config,
136
137
  defaultConfig: l
137
138
  }),
138
- customPalette: gl[l.theme] || ye
139
+ customPalette: _l[l.theme] || ye
139
140
  } : l;
140
141
  }
141
- Be(() => ee.config, (l) => {
142
- vt.value || (e.value = Xe()), Ne.value = !e.value.userOptions.showOnChartHover, ht(), nt.value += 1, ut.value += 1, it.value += 1, H.value.showTable = e.value.table.show, H.value.showTooltip = e.value.style.tooltip.show, dt.value && e.value.usePerformanceMode && console.warn(`VueUiScatter : You are using performance mode
142
+ Te(() => ee.config, (l) => {
143
+ vt.value || (e.value = Xe()), Ie.value = !e.value.userOptions.showOnChartHover, ht(), nt.value += 1, ut.value += 1, it.value += 1, H.value.showTable = e.value.table.show, H.value.showTooltip = e.value.style.tooltip.show, dt.value && e.value.usePerformanceMode && console.warn(`VueUiScatter : You are using performance mode
143
144
 
144
145
  - downsampling is disabled in this mode, all plots are rendered
145
146
 
@@ -148,22 +149,22 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
148
149
  - Depending on plot density, shapes might not display a border (stroke) to avoid fuzziness
149
150
 
150
151
  ℹ️ To remove this warning, set config.debug to false.`);
151
- }, { deep: !0 }), Be(() => ee.dataset, (l) => {
152
- Array.isArray(l) && l.length > 0 && (We.value = !1);
152
+ }, { deep: !0 }), Te(() => ee.dataset, (l) => {
153
+ Array.isArray(l) && l.length > 0 && (Ne.value = !1);
153
154
  }, { deep: !0 });
154
- const ae = Lt(null), ce = Lt(null);
155
- rl(() => {
155
+ const ae = Bt(null), ce = Bt(null);
156
+ pl(() => {
156
157
  rt.value = !0, ht();
157
158
  });
158
- const dt = F(() => !!e.value.debug);
159
+ const dt = T(() => !!e.value.debug);
159
160
  function ht() {
160
- if (Pt(ee.dataset) && (Je({
161
+ if (Ot(ee.dataset) && (Je({
161
162
  componentName: "VueUiScatter",
162
163
  type: "dataset",
163
164
  debug: dt.value
164
- }), We.value = !0), Pt(ee.dataset) || (We.value = e.value.loading), e.value.responsive) {
165
- const l = Sl(() => {
166
- const { width: s, height: t } = Ll({
165
+ }), Ne.value = !0), Ot(ee.dataset) || (Ne.value = e.value.loading), e.value.responsive) {
166
+ const l = Ol(() => {
167
+ const { width: s, height: t } = Dl({
167
168
  chart: te.value,
168
169
  title: e.value.style.title.text ? lt.value : null,
169
170
  legend: e.value.style.legend.show ? at.value : null,
@@ -171,45 +172,45 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
171
172
  noTitle: st.value
172
173
  });
173
174
  requestAnimationFrame(() => {
174
- D.value.width = s, D.value.height = t;
175
+ E.value.width = s, E.value.height = t;
175
176
  });
176
177
  });
177
178
  ae.value && (ce.value && ae.value.unobserve(ce.value), ae.value.disconnect()), ae.value = new ResizeObserver(l), ce.value = te.value.parentNode, ae.value.observe(ce.value);
178
179
  }
179
180
  }
180
- vl(() => {
181
+ fl(() => {
181
182
  ae.value && (ce.value && ae.value.unobserve(ce.value), ae.value.disconnect());
182
183
  });
183
- const { isPrinting: pt, isImaging: ft, generatePdf: gt, generateImage: mt } = Pl({
184
+ const { isPrinting: pt, isImaging: ft, generatePdf: gt, generateImage: mt } = Nl({
184
185
  elementId: `vue-ui-scatter_${W.value}`,
185
186
  fileName: e.value.style.title.text || "vue-ui-scatter",
186
187
  options: e.value.userOptions.print
187
- }), Zt = F(() => e.value.userOptions.show && !e.value.style.title.text), xt = F(() => ml(e.value.customPalette)), H = M({
188
+ }), Jt = T(() => e.value.userOptions.show && !e.value.style.title.text), xt = T(() => $l(e.value.customPalette)), H = M({
188
189
  showTable: e.value.table.show,
189
190
  showTooltip: e.value.style.tooltip.show
190
191
  });
191
- Be(e, () => {
192
+ Te(e, () => {
192
193
  H.value = {
193
194
  showTable: e.value.table.show,
194
195
  showTooltip: e.value.style.tooltip.show
195
196
  };
196
197
  }, { immediate: !0 });
197
- const D = M({
198
+ const E = M({
198
199
  height: e.value.style.layout.height,
199
200
  width: e.value.style.layout.width
200
- }), Me = F(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), n = F(() => {
201
+ }), Ce = T(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), n = T(() => {
201
202
  let l = 0, s = 0;
202
- return De.value && (l = De.value.getBBox().width + 6), Ee.value && (s = Ee.value.getBBox().height + 6), {
203
- top: e.value.style.layout.padding.top + Me.value + e.value.style.layout.dataLabels.yAxis.fontSize * 2,
204
- right: D.value.width - e.value.style.layout.padding.right - Me.value - 6,
205
- bottom: D.value.height - e.value.style.layout.padding.bottom - s,
203
+ return Ee.value && (l = Ee.value.getBBox().width + 6), Fe.value && (s = Fe.value.getBBox().height + 6), {
204
+ top: e.value.style.layout.padding.top + Ce.value + e.value.style.layout.dataLabels.yAxis.fontSize * 2,
205
+ right: E.value.width - e.value.style.layout.padding.right - Ce.value - 6,
206
+ bottom: E.value.height - e.value.style.layout.padding.bottom - s,
206
207
  left: e.value.style.layout.padding.left + l,
207
- height: D.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - Me.value - s - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
208
- width: D.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - Me.value - l - 6
208
+ height: E.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - Ce.value - s - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
209
+ width: E.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - Ce.value - l - 6
209
210
  };
210
- }), z = F(() => {
211
- Fe.value.forEach((a, u) => {
212
- Ot({
211
+ }), P = T(() => {
212
+ We.value.forEach((a, u) => {
213
+ Dt({
213
214
  datasetObject: a,
214
215
  requiredAttributes: ["values"]
215
216
  }).forEach((i) => {
@@ -220,7 +221,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
220
221
  index: u
221
222
  });
222
223
  }), a.values && a.values.forEach((i, p) => {
223
- Ot({
224
+ Dt({
224
225
  datasetObject: i,
225
226
  requiredAttributes: ["x", "y"]
226
227
  }).forEach((v) => {
@@ -233,16 +234,16 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
233
234
  });
234
235
  });
235
236
  });
236
- const l = Math.min(...ie.value.filter((a) => !N.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.x))), s = Math.max(...ie.value.filter((a) => !N.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.x))), t = Math.min(...ie.value.filter((a) => !N.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.y))), o = Math.max(...ie.value.filter((a) => !N.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.y)));
237
+ const l = Math.min(...oe.value.filter((a) => !N.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.x))), s = Math.max(...oe.value.filter((a) => !N.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.x))), t = Math.min(...oe.value.filter((a) => !N.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.y))), o = Math.max(...oe.value.filter((a) => !N.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.y)));
237
238
  return { xMin: l >= 0 ? 0 : l, xMax: s, yMin: t >= 0 ? 0 : t, yMax: o };
238
- }), E = F(() => ({
239
- x: n.value.left + Math.abs(z.value.xMin) / (z.value.xMax + Math.abs(z.value.xMin)) * n.value.width,
240
- y: n.value.bottom - Math.abs(z.value.yMin) / (z.value.yMax + Math.abs(z.value.yMin)) * n.value.height
241
- })), ie = F(() => Fe.value.map((l, s) => {
239
+ }), F = T(() => ({
240
+ x: n.value.left + Math.abs(P.value.xMin) / (P.value.xMax + Math.abs(P.value.xMin)) * n.value.width,
241
+ y: n.value.bottom - Math.abs(P.value.yMin) / (P.value.yMax + Math.abs(P.value.yMin)) * n.value.height
242
+ })), oe = T(() => We.value.map((l, s) => {
242
243
  const t = `cluster_${W.value}_${s}`;
243
244
  return {
244
245
  ...l,
245
- values: xl({
246
+ values: Ml({
246
247
  data: l.values,
247
248
  threshold: e.value.usePerformanceMode ? l.values.length + 1 : e.value.downsample.threshold
248
249
  }),
@@ -253,18 +254,18 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
253
254
  segregate: () => wt(t),
254
255
  isSegregated: N.value.includes(t)
255
256
  };
256
- })), Jt = F(() => ({
257
+ })), Kt = T(() => ({
257
258
  cy: "scatter-div-legend",
258
259
  backgroundColor: e.value.style.legend.backgroundColor,
259
260
  color: e.value.style.legend.color,
260
261
  fontSize: e.value.style.legend.fontSize,
261
262
  paddingBottom: 12,
262
263
  fontWeight: e.value.style.legend.bold ? "bold" : ""
263
- })), Ye = F(() => ie.value.map((l, s) => ({
264
+ })), Ye = T(() => oe.value.map((l, s) => ({
264
265
  ...l,
265
266
  plots: l.values.map((t) => ({
266
- x: n.value.left + (t.x + Math.abs(z.value.xMin)) / (z.value.xMax + Math.abs(z.value.xMin)) * n.value.width,
267
- y: n.value.bottom - (t.y + Math.abs(z.value.yMin)) / (z.value.yMax + Math.abs(z.value.yMin)) * n.value.height,
267
+ x: n.value.left + (t.x + Math.abs(P.value.xMin)) / (P.value.xMax + Math.abs(P.value.xMin)) * n.value.width,
268
+ y: n.value.bottom - (t.y + Math.abs(P.value.yMin)) / (P.value.yMax + Math.abs(P.value.yMin)) * n.value.height,
268
269
  v: {
269
270
  ...t,
270
271
  name: t.name || ""
@@ -274,23 +275,23 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
274
275
  id: `plot_${W.value}_${Math.random()}`,
275
276
  weight: t.weight ?? e.value.style.layout.plots.radius
276
277
  }))
277
- })).filter((l) => !N.value.includes(l.id))), U = F(() => {
278
+ })).filter((l) => !N.value.includes(l.id))), j = T(() => {
278
279
  const s = ({ m: t, b: o, rect: a, verticalX: u = null }) => {
279
280
  const { left: i, right: p, top: v, bottom: g } = a, L = [], d = (_, h) => {
280
281
  Number.isFinite(_) && Number.isFinite(h) && L.push({ x: _, y: h });
281
282
  }, $ = ({ x: _, y: h }) => _ >= i - 1e-9 && _ <= p + 1e-9 && h >= v - 1e-9 && h <= g + 1e-9;
282
283
  u !== null ? u >= i - 1e-9 && u <= p + 1e-9 && (d(u, v), d(u, g)) : Number.isFinite(t) && (d(i, t * i + o), d(p, t * p + o), Math.abs(t) > 1e-9 ? (d((v - o) / t, v), d((g - o) / t, g)) : o >= v - 1e-9 && o <= g + 1e-9 && (d(i, o), d(p, o)));
283
- const P = L.filter($), C = [];
284
- for (const _ of P)
284
+ const O = L.filter($), C = [];
285
+ for (const _ of O)
285
286
  C.some((h) => Math.abs(h.x - _.x) < 1e-6 && Math.abs(h.y - _.y) < 1e-6) || C.push(_);
286
287
  if (C.length < 2) return null;
287
- let T = C[0], I = C[1], B = 0;
288
+ let z = C[0], I = C[1], B = 0;
288
289
  for (let _ = 0; _ < C.length; _ += 1)
289
290
  for (let h = _ + 1; h < C.length; h += 1) {
290
291
  const S = C[_].x - C[h].x, V = C[_].y - C[h].y, J = S * S + V * V;
291
- J > B && (B = J, T = C[_], I = C[h]);
292
+ J > B && (B = J, z = C[_], I = C[h]);
292
293
  }
293
- return { x1: T.x, y1: T.y, x2: I.x, y2: I.y };
294
+ return { x1: z.x, y1: z.y, x2: I.x, y2: I.y };
294
295
  };
295
296
  return Ye.value.map((t) => {
296
297
  const o = t.plots.length, a = t.plots.reduce((h, S) => h + S.x, 0) / o, u = t.plots.reduce((h, S) => h + S.y, 0) / o;
@@ -303,23 +304,23 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
303
304
  p < 1e-9 ? (L = a, v = 1 / 0, g = null) : (v = i / p, g = u - v * a);
304
305
  let d, $;
305
306
  L !== null ? (d = 1 / 0, $ = null) : (d = v, $ = g);
306
- const P = t.plots.every((h) => h.v && typeof h.v.x == "number" && typeof h.v.y == "number");
307
+ const O = t.plots.every((h) => h.v && typeof h.v.x == "number" && typeof h.v.y == "number");
307
308
  let C = NaN;
308
309
  if (o >= 2) {
309
310
  let h = 0, S = 0;
310
- P ? (h = t.plots.reduce((R, ve) => R + ve.v.x, 0) / o, S = t.plots.reduce((R, ve) => R + ve.v.y, 0) / o) : (h = a, S = -u);
311
- let V = 0, J = 0, oe = 0;
311
+ O ? (h = t.plots.reduce((R, ve) => R + ve.v.x, 0) / o, S = t.plots.reduce((R, ve) => R + ve.v.y, 0) / o) : (h = a, S = -u);
312
+ let V = 0, J = 0, se = 0;
312
313
  for (const R of t.plots) {
313
- const ve = P ? R.v.x : R.x, He = P ? R.v.y : -R.y, ke = ve - h, de = He - S;
314
- V += ke * de, J += ke * ke, oe += de * de;
314
+ const ve = O ? R.v.x : R.x, He = O ? R.v.y : -R.y, ke = ve - h, de = He - S;
315
+ V += ke * de, J += ke * ke, se += de * de;
315
316
  }
316
- if (J >= 1e-9 && oe >= 1e-9) {
317
- const R = V / Math.sqrt(J * oe);
317
+ if (J >= 1e-9 && se >= 1e-9) {
318
+ const R = V / Math.sqrt(J * se);
318
319
  C = Math.max(-1, Math.min(1, R));
319
320
  }
320
321
  }
321
- const T = s({ m: d, b: $, rect: n.value, verticalX: L });
322
- if (!T)
322
+ const z = s({ m: d, b: $, rect: n.value, verticalX: L });
323
+ if (!z)
323
324
  return {
324
325
  ...t,
325
326
  correlation: null,
@@ -331,19 +332,19 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
331
332
  color: Ke(t.color)
332
333
  }))
333
334
  };
334
- const I = (T.x1 + T.x2) / 2, B = (T.y1 + T.y2) / 2, _ = { x: I, y: B };
335
+ const I = (z.x1 + z.x2) / 2, B = (z.y1 + z.y2) / 2, _ = { x: I, y: B };
335
336
  return {
336
337
  ...t,
337
338
  color: Ke(t.color),
338
339
  correlation: {
339
- ...T,
340
+ ...z,
340
341
  coefficient: C
341
342
  },
342
343
  label: _,
343
344
  plots: t.plots.map((h) => {
344
345
  let S, V;
345
346
  L !== null ? (S = L, V = h.y) : Math.abs(d) < 1e-9 ? (S = h.x, V = $) : (S = (h.x + d * h.y - d * $) / (1 + d * d), V = (d * h.x + d * d * h.y + $) / (1 + d * d));
346
- const J = h.x - S, oe = h.y - V, R = Math.sqrt(J * J + oe * oe);
347
+ const J = h.x - S, se = h.y - V, R = Math.sqrt(J * J + se * se);
347
348
  return {
348
349
  ...h,
349
350
  deviation: R,
@@ -353,9 +354,9 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
353
354
  })
354
355
  };
355
356
  });
356
- }), bt = F(() => Math.max(...U.value.flatMap((l) => l.plots.map((s) => Math.abs(s.deviation)))));
357
- function Kt() {
358
- return U.value;
357
+ }), bt = T(() => Math.max(...j.value.flatMap((l) => l.plots.map((s) => Math.abs(s.deviation)))));
358
+ function Qt() {
359
+ return j.value;
359
360
  }
360
361
  function kt(l, s) {
361
362
  const t = Array.isArray(l) ? l.flatMap((B) => B.plots.map((_) => ({
@@ -374,23 +375,23 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
374
375
  const h = Math.floor((B - o) / g), S = Math.floor((_ - u) / L);
375
376
  d[h] || (d[h] = 0), $[S] || ($[S] = 0), d[h] += 1, $[S] += 1;
376
377
  });
377
- const P = [], C = [];
378
+ const O = [], C = [];
378
379
  for (let B = 0; B < s; B += 1)
379
- P.push(o + (B + 0.5) * g), C.push(u + (B + 0.5) * L);
380
- const T = Math.max(...d), I = Math.max(...$);
381
- return { x: d, y: $, avgX: P, avgY: C, maxX: T, maxY: I };
380
+ O.push(o + (B + 0.5) * g), C.push(u + (B + 0.5) * L);
381
+ const z = Math.max(...d), I = Math.max(...$);
382
+ return { x: d, y: $, avgX: O, avgY: C, maxX: z, maxY: I };
382
383
  }
383
- const b = F(() => e.value.style.layout.marginalBars.tranches), A = F(() => kt(Ye.value, b.value)), Qt = F(() => {
384
+ const b = T(() => e.value.style.layout.marginalBars.tranches), A = T(() => kt(Ye.value, b.value)), el = T(() => {
384
385
  const l = n.value.top - e.value.style.layout.marginalBars.offset, s = n.value.right + e.value.style.layout.marginalBars.offset;
385
386
  return Ye.value.map((t) => {
386
387
  const o = kt(t, b.value);
387
388
  return {
388
389
  coords: o,
389
- dX: kl(o.avgX.map((a, u) => ({
390
+ dX: Al(o.avgX.map((a, u) => ({
390
391
  x: a,
391
392
  y: l - o.x[u] / o.maxX * e.value.style.layout.marginalBars.size
392
393
  }))),
393
- dY: bl(o.avgY.map((a, u) => ({
394
+ dY: Cl(o.avgY.map((a, u) => ({
394
395
  y: a,
395
396
  x: s + e.value.style.layout.marginalBars.size * o.y[u] / o.maxY
396
397
  }))),
@@ -399,27 +400,27 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
399
400
  };
400
401
  });
401
402
  }), Y = M(void 0), f = M(null), Re = M(null);
402
- function je(l, s) {
403
+ function Ue(l, s) {
403
404
  Y.value = l.id, f.value = l;
404
405
  let t = "";
405
406
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: s }), Re.value = {
406
407
  datapoint: l,
407
408
  seriesIndex: s,
408
- series: U.value,
409
+ series: j.value,
409
410
  config: e.value
410
411
  };
411
412
  const o = e.value.style.tooltip.customFormat;
412
- Cl(o) && Al(() => o({
413
+ zl(o) && Pl(() => o({
413
414
  datapoint: l,
414
415
  seriesIndex: s,
415
- series: U.value,
416
+ series: j.value,
416
417
  config: e.value
417
- })) ? Pe.value = o({
418
+ })) ? Oe.value = o({
418
419
  datapoint: l,
419
420
  seriesIndex: s,
420
- series: U.value,
421
+ series: j.value,
421
422
  config: e.value
422
- }) : (l.clusterName && (t += `<div style="display:flex;gap:3px;align-items:center">${l.clusterName}</div>`), l.v.name && (t += `<div>${l.v.name}</div>`), t += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, t += `<div>${e.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(l.v.x) ? "-" : ue(
423
+ }) : (l.clusterName && (t += `<div style="display:flex;gap:3px;align-items:center">${l.clusterName}</div>`), l.v.name && (t += `<div>${l.v.name}</div>`), t += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, t += `<div>${e.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(l.v.x) ? "-" : ie(
423
424
  e.value.style.layout.plots.selectors.labels.x.formatter,
424
425
  l.v.x,
425
426
  Q({
@@ -429,7 +430,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
429
430
  r: e.value.style.tooltip.roundingValue
430
431
  }),
431
432
  { datapoint: l, seriesIndex: s }
432
- )}</b></div>`, t += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(l.v.y) ? "-" : ue(
433
+ )}</b></div>`, t += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(l.v.y) ? "-" : ie(
433
434
  e.value.style.layout.plots.selectors.labels.y.formatter,
434
435
  l.v.y,
435
436
  Q({
@@ -442,37 +443,37 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
442
443
  )}</b></div>`, t += `${e.value.style.layout.plots.deviation.translation}: <b>${Q({
443
444
  v: l.deviation,
444
445
  r: e.value.style.layout.plots.deviation.roundingValue
445
- })}</b>`, t += "</div>", Pe.value = `<div>${t}</div>`), ze.value = !0;
446
+ })}</b>`, t += "</div>", Oe.value = `<div>${t}</div>`), Pe.value = !0;
446
447
  }
447
- function Ce(l, s) {
448
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: s }), ze.value = !1, Y.value = void 0, f.value = null;
448
+ function Ae(l, s) {
449
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: s }), Pe.value = !1, Y.value = void 0, f.value = null;
449
450
  }
450
- function Ue(l, s) {
451
+ function je(l, s) {
451
452
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: s });
452
453
  }
453
454
  function wt(l) {
454
- N.value.includes(l) ? N.value = N.value.filter((s) => s !== l) : N.value.length < Fe.value.length - 1 && N.value.push(l);
455
+ N.value.includes(l) ? N.value = N.value.filter((s) => s !== l) : N.value.length < We.value.length - 1 && N.value.push(l);
455
456
  }
456
457
  function Ve(l = null) {
457
- hl(() => {
458
- const s = ["", e.value.table.translations.correlationCoefficient, e.value.table.translations.nbrPlots, `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`, `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`], t = U.value.map((u) => [
458
+ bl(() => {
459
+ const s = ["", e.value.table.translations.correlationCoefficient, e.value.table.translations.nbrPlots, `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`, `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`], t = j.value.map((u) => [
459
460
  u.name,
460
461
  u.correlation.coefficient,
461
462
  u.plots.length,
462
463
  u.plots.map((i) => i.v.x).reduce((i, p) => i + p, 0) / u.plots.length,
463
464
  u.plots.map((i) => i.v.y).reduce((i, p) => i + p, 0) / u.plots.length
464
- ]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([s]).concat(t), a = $l(o);
465
- l ? l(a) : Ml({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
465
+ ]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([s]).concat(t), a = Bl(o);
466
+ l ? l(a) : Tl({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
466
467
  });
467
468
  }
468
- const Ae = F(() => {
469
+ const Se = T(() => {
469
470
  const l = [
470
471
  e.value.table.translations.series,
471
472
  e.value.table.translations.correlationCoefficient,
472
473
  e.value.table.translations.nbrPlots,
473
474
  `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`,
474
475
  `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`
475
- ], s = U.value.map((o) => [
476
+ ], s = j.value.map((o) => [
476
477
  {
477
478
  shape: o.shape,
478
479
  content: o.name,
@@ -506,13 +507,13 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
506
507
  function Mt() {
507
508
  H.value.showTooltip = !H.value.showTooltip;
508
509
  }
509
- const Se = M(!1);
510
- function qe() {
511
- Se.value = !Se.value;
510
+ const Le = M(!1);
511
+ function Ge() {
512
+ Le.value = !Le.value;
512
513
  }
513
- async function el({ scale: l = 2 } = {}) {
514
+ async function tl({ scale: l = 2 } = {}) {
514
515
  if (!te.value) return;
515
- const { width: s, height: t } = te.value.getBoundingClientRect(), o = s / t, { imageUri: a, base64: u } = await Nl({ domElement: te.value, base64: !0, img: !0, scale: l });
516
+ const { width: s, height: t } = te.value.getBoundingClientRect(), o = s / t, { imageUri: a, base64: u } = await Vl({ domElement: te.value, base64: !0, img: !0, scale: l });
516
517
  return {
517
518
  imageUri: a,
518
519
  base64: u,
@@ -522,13 +523,13 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
522
523
  aspectRatio: o
523
524
  };
524
525
  }
525
- function tl(l) {
526
+ function ll(l) {
526
527
  ge.value = l, e.value.style.layout.marginalBars.highlighter.highlightBothAxes && (me.value = A.value.y.length - 2 - l);
527
528
  }
528
- function ll(l) {
529
+ function al(l) {
529
530
  me.value = l, e.value.style.layout.marginalBars.highlighter.highlightBothAxes && (ge.value = l);
530
531
  }
531
- function Ge() {
532
+ function qe() {
532
533
  ge.value = null, me.value = null;
533
534
  }
534
535
  const Ct = {
@@ -540,7 +541,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
540
541
  pentagon: 1.3,
541
542
  hexagon: 1.3
542
543
  }, k = (l) => l.toFixed(3);
543
- function al({ shape: l = "circle", cx: s, cy: t, r: o }) {
544
+ function ol({ shape: l = "circle", cx: s, cy: t, r: o }) {
544
545
  if (!e.value.usePerformanceMode) return "";
545
546
  const a = Ct[l] * o;
546
547
  switch (l) {
@@ -597,37 +598,37 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
597
598
  }
598
599
  }
599
600
  }
600
- const ol = F(() => {
601
+ const sl = T(() => {
601
602
  if (!e.value.usePerformanceMode) return [""];
602
603
  const { left: l, right: s, top: t, bottom: o } = n.value, a = Math.max(1, (s - l) * (o - t)), u = (d) => d / a * 1e4, i = 2.5, p = 1e3, v = e.value.style.layout.plots.stroke, g = e.value.style.layout.plots.strokeWidth, L = e.value.style.layout.plots.opacity;
603
- return U.value.map((d) => {
604
+ return j.value.map((d) => {
604
605
  const $ = [];
605
606
  for (const C of d.plots) {
606
- const T = C.x, I = C.y;
607
- if (T < l || T > s || I < t || I > o) continue;
607
+ const z = C.x, I = C.y;
608
+ if (z < l || z > s || I < t || I > o) continue;
608
609
  const B = Math.max(e.value.style.layout.plots.radius, C.weight);
609
- $.push(al({
610
+ $.push(ol({
610
611
  shape: d.shape || "circle",
611
- cx: T,
612
+ cx: z,
612
613
  cy: I,
613
614
  r: B
614
615
  }));
615
616
  }
616
617
  if (!$.length) return null;
617
- const P = u(d.plots.length) > i || d.plots.length > p;
618
+ const O = u(d.plots.length) > i || d.plots.length > p;
618
619
  return {
619
620
  id: d.id,
620
621
  d: $.join(""),
621
- fill: Te(d.color, L * 100),
622
- stroke: P ? "none" : v,
623
- strokeWidth: P ? 0 : g,
622
+ fill: ze(d.color, L * 100),
623
+ stroke: O ? "none" : v,
624
+ strokeWidth: O ? 0 : g,
624
625
  strokeOpacity: 1
625
626
  };
626
627
  }).filter(Boolean);
627
628
  });
628
- function sl() {
629
+ function nl() {
629
630
  return e.value.usePerformanceMode ? (l) => {
630
- const s = Ie.value;
631
+ const s = Me.value;
631
632
  if (!s) return;
632
633
  const t = s.createSVGPoint();
633
634
  t.x = l.clientX, t.y = l.clientY;
@@ -635,37 +636,37 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
635
636
  if (!o) return;
636
637
  const a = o.inverse(), u = t.matrixTransform(a), i = 8, p = i * i;
637
638
  let v = null, g = 1 / 0, L = -1;
638
- if (U.value.forEach((d, $) => {
639
- d.plots.forEach((P) => {
640
- const C = P.x - u.x, T = P.y - u.y, I = C * C + T * T;
641
- I <= p && I < g && (g = I, v = P, L = $);
639
+ if (j.value.forEach((d, $) => {
640
+ d.plots.forEach((O) => {
641
+ const C = O.x - u.x, z = O.y - u.y, I = C * C + z * z;
642
+ I <= p && I < g && (g = I, v = O, L = $);
642
643
  });
643
644
  }), v)
644
- Y.value !== v.id && (Y.value = v.id, je(v, L));
645
+ Y.value !== v.id && (Y.value = v.id, Ue(v, L));
645
646
  else if (Y.value) {
646
647
  const d = f.value;
647
- Y.value = void 0, Ce(d, L);
648
+ Y.value = void 0, Ae(d, L);
648
649
  }
649
650
  } : () => null;
650
651
  }
651
- const At = sl();
652
- function nl() {
652
+ const At = nl();
653
+ function ul() {
653
654
  if (Y.value) {
654
655
  const l = f.value;
655
- Y.value = void 0, Ce(l, null);
656
+ Y.value = void 0, Ae(l, null);
656
657
  }
657
658
  }
658
- function ul(l) {
659
+ function il(l) {
659
660
  const s = f.value;
660
661
  if (s) {
661
- const t = U.value.findIndex((o) => o.id === s.clusterId);
662
- Ue(s, t >= 0 ? t : 0);
662
+ const t = j.value.findIndex((o) => o.id === s.clusterId);
663
+ je(s, t >= 0 ? t : 0);
663
664
  }
664
665
  }
665
- const be = F(() => {
666
+ const be = T(() => {
666
667
  const l = e.value.table.useDialog && !e.value.table.show, s = H.value.showTable;
667
668
  return {
668
- component: l ? Ut : It,
669
+ component: l ? Vt : Xt,
669
670
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
670
671
  props: l ? {
671
672
  backgroundColor: e.value.table.th.backgroundColor,
@@ -692,40 +693,55 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
692
693
  }
693
694
  };
694
695
  });
695
- Be(() => H.value.showTable, (l) => {
696
+ Te(() => H.value.showTable, (l) => {
696
697
  e.value.table.show || (l && e.value.table.useDialog && xe.value ? xe.value.open() : "close" in xe.value && xe.value.close());
697
698
  });
698
699
  function St() {
699
- H.value.showTable = !1, Oe.value && Oe.value.setTableIconState(!1);
700
+ H.value.showTable = !1, De.value && De.value.setTableIconState(!1);
700
701
  }
701
- return Ft({
702
- getData: Kt,
703
- getImage: el,
702
+ const rl = T(() => e.value.style.backgroundColor), vl = T(() => e.value.style.legend), yl = T(() => e.value.style.title), { exportSvg: cl, getSvg: dl } = Il({
703
+ svg: Me,
704
+ title: yl,
705
+ legend: vl,
706
+ legendItems: oe,
707
+ backgroundColor: rl
708
+ });
709
+ async function Lt({ isCb: l }) {
710
+ if (l) {
711
+ const { blob: s, url: t, text: o, dataUrl: a } = await dl();
712
+ e.value.userOptions.callbacks.svg({ blob: s, url: t, text: o, dataUrl: a });
713
+ } else
714
+ cl();
715
+ }
716
+ return Wt({
717
+ getData: Qt,
718
+ getImage: tl,
704
719
  generatePdf: gt,
705
720
  generateCsv: Ve,
706
721
  generateImage: mt,
722
+ generateSvg: Lt,
707
723
  toggleTable: $t,
708
724
  toggleTooltip: Mt,
709
- toggleAnnotator: qe,
725
+ toggleAnnotator: Ge,
710
726
  toggleFullscreen: _t
711
727
  }), (l, s) => (r(), y("div", {
712
- class: Bt(`vue-ui-scatter ${re.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
728
+ class: Tt(`vue-data-ui-component vue-ui-scatter ${re.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
713
729
  ref_key: "scatterChart",
714
730
  ref: te,
715
731
  id: `vue-ui-scatter_${W.value}`,
716
- style: ne(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
732
+ style: ue(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
717
733
  onMouseenter: s[5] || (s[5] = () => c(yt)(!0)),
718
734
  onMouseleave: s[6] || (s[6] = () => c(yt)(!1))
719
735
  }, [
720
- e.value.userOptions.buttons.annotator ? (r(), le(c(Yt), {
736
+ e.value.userOptions.buttons.annotator ? (r(), le(c(Rt), {
721
737
  key: 0,
722
- svgRef: c(Ie),
738
+ svgRef: c(Me),
723
739
  backgroundColor: e.value.style.backgroundColor,
724
740
  color: e.value.style.color,
725
- active: Se.value,
726
- onClose: qe
741
+ active: Le.value,
742
+ onClose: Ge
727
743
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : x("", !0),
728
- Zt.value ? (r(), y("div", {
744
+ Jt.value ? (r(), y("div", {
729
745
  key: 1,
730
746
  ref_key: "noTitle",
731
747
  ref: st,
@@ -738,7 +754,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
738
754
  ref: lt,
739
755
  style: "width:100%;background:transparent"
740
756
  }, [
741
- (r(), le(Wl, {
757
+ (r(), le(jl, {
742
758
  key: `title_${nt.value}`,
743
759
  config: {
744
760
  title: {
@@ -754,10 +770,10 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
754
770
  ], 512)) : x("", !0),
755
771
  w("div", {
756
772
  id: `legend-top-${W.value}`
757
- }, null, 8, Yl),
758
- e.value.userOptions.show && et.value && (c(ct) || c(Ne)) ? (r(), le(c(Rt), {
773
+ }, null, 8, Hl),
774
+ e.value.userOptions.show && et.value && (c(ct) || c(Ie)) ? (r(), le(c(Ut), {
759
775
  ref_key: "userOptionsRef",
760
- ref: Oe,
776
+ ref: De,
761
777
  key: `user_options_${tt.value}`,
762
778
  backgroundColor: e.value.style.backgroundColor,
763
779
  color: e.value.style.color,
@@ -767,6 +783,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
767
783
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
768
784
  hasPdf: e.value.userOptions.buttons.pdf,
769
785
  hasImg: e.value.userOptions.buttons.img,
786
+ hasSvg: e.value.userOptions.buttons.svg,
770
787
  hasXls: e.value.userOptions.buttons.csv,
771
788
  hasTable: e.value.userOptions.buttons.table,
772
789
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
@@ -776,7 +793,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
776
793
  chartElement: te.value,
777
794
  position: e.value.userOptions.position,
778
795
  hasAnnotator: e.value.userOptions.buttons.annotator,
779
- isAnnotation: Se.value,
796
+ isAnnotation: Le.value,
780
797
  callbacks: e.value.userOptions.callbacks,
781
798
  printScale: e.value.userOptions.print.scale,
782
799
  tableDialog: e.value.table.useDialog,
@@ -784,113 +801,114 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
784
801
  onGeneratePdf: c(gt),
785
802
  onGenerateCsv: Ve,
786
803
  onGenerateImage: c(mt),
804
+ onGenerateSvg: Lt,
787
805
  onToggleTable: $t,
788
806
  onToggleTooltip: Mt,
789
- onToggleAnnotator: qe,
790
- style: ne({
791
- visibility: c(ct) ? c(Ne) ? "visible" : "hidden" : "visible"
807
+ onToggleAnnotator: Ge,
808
+ style: ue({
809
+ visibility: c(ct) ? c(Ie) ? "visible" : "hidden" : "visible"
792
810
  })
793
- }, Tt({ _: 2 }, [
811
+ }, zt({ _: 2 }, [
794
812
  l.$slots.menuIcon ? {
795
813
  name: "menuIcon",
796
814
  fn: X(({ isOpen: t, color: o }) => [
797
- j(l.$slots, "menuIcon", pe(fe({ isOpen: t, color: o })), void 0, !0)
815
+ U(l.$slots, "menuIcon", pe(fe({ isOpen: t, color: o })), void 0, !0)
798
816
  ]),
799
817
  key: "0"
800
818
  } : void 0,
801
819
  l.$slots.optionTooltip ? {
802
820
  name: "optionTooltip",
803
821
  fn: X(() => [
804
- j(l.$slots, "optionTooltip", {}, void 0, !0)
822
+ U(l.$slots, "optionTooltip", {}, void 0, !0)
805
823
  ]),
806
824
  key: "1"
807
825
  } : void 0,
808
826
  l.$slots.optionPdf ? {
809
827
  name: "optionPdf",
810
828
  fn: X(() => [
811
- j(l.$slots, "optionPdf", {}, void 0, !0)
829
+ U(l.$slots, "optionPdf", {}, void 0, !0)
812
830
  ]),
813
831
  key: "2"
814
832
  } : void 0,
815
833
  l.$slots.optionCsv ? {
816
834
  name: "optionCsv",
817
835
  fn: X(() => [
818
- j(l.$slots, "optionCsv", {}, void 0, !0)
836
+ U(l.$slots, "optionCsv", {}, void 0, !0)
819
837
  ]),
820
838
  key: "3"
821
839
  } : void 0,
822
840
  l.$slots.optionImg ? {
823
841
  name: "optionImg",
824
842
  fn: X(() => [
825
- j(l.$slots, "optionImg", {}, void 0, !0)
843
+ U(l.$slots, "optionImg", {}, void 0, !0)
826
844
  ]),
827
845
  key: "4"
828
846
  } : void 0,
829
847
  l.$slots.optionTable ? {
830
848
  name: "optionTable",
831
849
  fn: X(() => [
832
- j(l.$slots, "optionTable", {}, void 0, !0)
850
+ U(l.$slots, "optionTable", {}, void 0, !0)
833
851
  ]),
834
852
  key: "5"
835
853
  } : void 0,
836
854
  l.$slots.optionFullscreen ? {
837
855
  name: "optionFullscreen",
838
856
  fn: X(({ toggleFullscreen: t, isFullscreen: o }) => [
839
- j(l.$slots, "optionFullscreen", pe(fe({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
857
+ U(l.$slots, "optionFullscreen", pe(fe({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
840
858
  ]),
841
859
  key: "6"
842
860
  } : void 0,
843
861
  l.$slots.optionAnnotator ? {
844
862
  name: "optionAnnotator",
845
863
  fn: X(({ toggleAnnotator: t, isAnnotator: o }) => [
846
- j(l.$slots, "optionAnnotator", pe(fe({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
864
+ U(l.$slots, "optionAnnotator", pe(fe({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
847
865
  ]),
848
866
  key: "7"
849
867
  } : void 0
850
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : x("", !0),
868
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : x("", !0),
851
869
  (r(), y("svg", {
852
870
  ref_key: "svgRef",
853
- ref: Ie,
854
- xmlns: c(wl),
855
- class: Bt({ "vue-data-ui-fullscreen--on": re.value, "vue-data-ui-fulscreen--off": !re.value, animated: e.value.useCssAnimation }),
856
- viewBox: `0 0 ${D.value.width <= 0 ? 10 : D.value.width} ${D.value.height <= 0 ? 10 : D.value.height}`,
857
- style: ne(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`),
858
- onMouseleave: Ge
871
+ ref: Me,
872
+ xmlns: c(Sl),
873
+ class: Tt({ "vue-data-ui-fullscreen--on": re.value, "vue-data-ui-fulscreen--off": !re.value, animated: e.value.useCssAnimation }),
874
+ viewBox: `0 0 ${E.value.width <= 0 ? 10 : E.value.width} ${E.value.height <= 0 ? 10 : E.value.height}`,
875
+ style: ue(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`),
876
+ onMouseleave: qe
859
877
  }, [
860
878
  $e(c(jt)),
861
879
  l.$slots["chart-background"] ? (r(), y("foreignObject", {
862
880
  key: 0,
863
881
  x: 0,
864
882
  y: 0,
865
- width: D.value.width <= 0 ? 10 : D.value.width,
866
- height: D.value.height <= 0 ? 10 : D.value.height,
883
+ width: E.value.width <= 0 ? 10 : E.value.width,
884
+ height: E.value.height <= 0 ? 10 : E.value.height,
867
885
  style: {
868
886
  pointerEvents: "none"
869
887
  }
870
888
  }, [
871
- j(l.$slots, "chart-background", {}, void 0, !0)
872
- ], 8, jl)) : x("", !0),
873
- e.value.style.layout.axis.show ? (r(), y("g", Ul, [
889
+ U(l.$slots, "chart-background", {}, void 0, !0)
890
+ ], 8, Jl)) : x("", !0),
891
+ e.value.style.layout.axis.show ? (r(), y("g", Kl, [
874
892
  w("line", {
875
- x1: E.value.x,
876
- x2: E.value.x,
893
+ x1: F.value.x,
894
+ x2: F.value.x,
877
895
  y1: n.value.top,
878
896
  y2: n.value.bottom,
879
897
  stroke: e.value.style.layout.axis.stroke,
880
898
  "stroke-width": e.value.style.layout.axis.strokeWidth,
881
899
  "stroke-linecap": "round"
882
- }, null, 8, Vl),
900
+ }, null, 8, Ql),
883
901
  w("line", {
884
902
  x1: n.value.left,
885
903
  x2: n.value.right,
886
- y1: E.value.y,
887
- y2: E.value.y,
904
+ y1: F.value.y,
905
+ y2: F.value.y,
888
906
  stroke: e.value.style.layout.axis.stroke,
889
907
  "stroke-width": e.value.style.layout.axis.strokeWidth,
890
908
  "stroke-linecap": "round"
891
- }, null, 8, ql)
909
+ }, null, 8, ea)
892
910
  ])) : x("", !0),
893
- e.value.style.layout.marginalBars.show ? (r(), y("g", Gl, [
911
+ e.value.style.layout.marginalBars.show ? (r(), y("g", ta, [
894
912
  w("defs", null, [
895
913
  w("linearGradient", {
896
914
  id: `marginal_x_${W.value}`,
@@ -902,12 +920,12 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
902
920
  w("stop", {
903
921
  offset: "0%",
904
922
  "stop-color": e.value.style.layout.marginalBars.fill
905
- }, null, 8, Zl),
923
+ }, null, 8, aa),
906
924
  w("stop", {
907
925
  offset: "100%",
908
926
  "stop-color": e.value.style.backgroundColor
909
- }, null, 8, Jl)
910
- ], 8, Hl),
927
+ }, null, 8, oa)
928
+ ], 8, la),
911
929
  w("linearGradient", {
912
930
  id: `marginal_y_${W.value}`,
913
931
  x1: "0%",
@@ -918,12 +936,12 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
918
936
  w("stop", {
919
937
  offset: "0%",
920
938
  "stop-color": e.value.style.backgroundColor
921
- }, null, 8, Ql),
939
+ }, null, 8, na),
922
940
  w("stop", {
923
941
  offset: "100%",
924
942
  "stop-color": e.value.style.layout.marginalBars.fill
925
- }, null, 8, ea)
926
- ], 8, Kl)
943
+ }, null, 8, ua)
944
+ ], 8, sa)
927
945
  ]),
928
946
  (r(!0), y(Z, null, K(A.value.x, (t, o) => (r(), y("g", null, [
929
947
  t && A.value.avgX[o] ? (r(), y("rect", {
@@ -933,11 +951,11 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
933
951
  width: n.value.width / b.value <= 0 ? 1e-4 : n.value.width / b.value,
934
952
  height: t / A.value.maxX * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / A.value.maxX * e.value.style.layout.marginalBars.size,
935
953
  fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${W.value})` : e.value.style.layout.marginalBars.fill,
936
- style: ne([`opacity:${e.value.style.layout.marginalBars.opacity}`, { "pointer-events": "none" }]),
954
+ style: ue([`opacity:${e.value.style.layout.marginalBars.opacity}`, { "pointer-events": "none" }]),
937
955
  stroke: e.value.style.backgroundColor,
938
956
  "stroke-width": e.value.style.layout.marginalBars.strokeWidth,
939
957
  rx: e.value.style.layout.marginalBars.borderRadius
940
- }, null, 12, ta)) : x("", !0),
958
+ }, null, 12, ia)) : x("", !0),
941
959
  A.value.avgX[o] ? (r(), y("rect", {
942
960
  key: 1,
943
961
  x: A.value.avgX[o] - n.value.width / b.value / 2,
@@ -945,10 +963,10 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
945
963
  width: n.value.width / b.value <= 0 ? 1e-4 : n.value.width / b.value,
946
964
  height: Math.max(0.1, e.value.style.layout.marginalBars.size),
947
965
  fill: "transparent",
948
- onMouseenter: (a) => tl(o),
949
- onMouseleave: s[0] || (s[0] = (a) => Ge())
950
- }, null, 40, la)) : x("", !0),
951
- A.value.avgX[o] && ge.value != null && ge.value === o ? (r(), y("g", aa, [
966
+ onMouseenter: (a) => ll(o),
967
+ onMouseleave: s[0] || (s[0] = (a) => qe())
968
+ }, null, 40, ra)) : x("", !0),
969
+ A.value.avgX[o] && ge.value != null && ge.value === o ? (r(), y("g", va, [
952
970
  w("rect", {
953
971
  x: A.value.avgX[o] - n.value.width / b.value / 2,
954
972
  y: n.value.top,
@@ -956,7 +974,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
956
974
  height: n.value.height,
957
975
  fill: e.value.style.layout.marginalBars.highlighter.color,
958
976
  "fill-opacity": e.value.style.layout.marginalBars.highlighter.opacity
959
- }, null, 8, oa),
977
+ }, null, 8, ya),
960
978
  w("line", {
961
979
  x1: A.value.avgX[o] - n.value.width / b.value / 2,
962
980
  x2: A.value.avgX[o] - n.value.width / b.value / 2,
@@ -966,7 +984,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
966
984
  "stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
967
985
  "stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
968
986
  style: { transition: "none !important", animation: "none !important" }
969
- }, null, 8, sa),
987
+ }, null, 8, ca),
970
988
  w("line", {
971
989
  x1: A.value.avgX[o] - n.value.width / b.value / 2 + (n.value.width / b.value <= 0 ? 1e-4 : n.value.width / b.value),
972
990
  x2: A.value.avgX[o] - n.value.width / b.value / 2 + (n.value.width / b.value <= 0 ? 1e-4 : n.value.width / b.value),
@@ -976,7 +994,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
976
994
  "stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
977
995
  "stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
978
996
  style: { transition: "none !important", animation: "none !important" }
979
- }, null, 8, na)
997
+ }, null, 8, da)
980
998
  ])) : x("", !0)
981
999
  ]))), 256)),
982
1000
  (r(!0), y(Z, null, K(A.value.y, (t, o) => (r(), y("g", null, [
@@ -987,11 +1005,11 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
987
1005
  height: n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value,
988
1006
  width: t / A.value.maxY * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / A.value.maxY * e.value.style.layout.marginalBars.size,
989
1007
  fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${W.value})` : e.value.style.layout.marginalBars.fill,
990
- style: ne([`opacity:${e.value.style.layout.marginalBars.opacity}`, { "pointer-events": "none" }]),
1008
+ style: ue([`opacity:${e.value.style.layout.marginalBars.opacity}`, { "pointer-events": "none" }]),
991
1009
  stroke: e.value.style.backgroundColor,
992
1010
  "stroke-width": e.value.style.layout.marginalBars.strokeWidth,
993
1011
  rx: e.value.style.layout.marginalBars.borderRadius
994
- }, null, 12, ua)) : x("", !0),
1012
+ }, null, 12, ha)) : x("", !0),
995
1013
  A.value.avgY[o] ? (r(), y("rect", {
996
1014
  key: 1,
997
1015
  x: n.value.right + e.value.style.layout.marginalBars.offset,
@@ -999,10 +1017,10 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
999
1017
  width: Math.max(0.1, e.value.style.layout.marginalBars.size),
1000
1018
  height: n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value,
1001
1019
  fill: "transparent",
1002
- onMouseenter: (a) => ll(o),
1003
- onMouseleave: s[1] || (s[1] = (a) => Ge())
1004
- }, null, 40, ia)) : x("", !0),
1005
- A.value.avgY[o] && me.value != null && me.value === o ? (r(), y("g", ra, [
1020
+ onMouseenter: (a) => al(o),
1021
+ onMouseleave: s[1] || (s[1] = (a) => qe())
1022
+ }, null, 40, pa)) : x("", !0),
1023
+ A.value.avgY[o] && me.value != null && me.value === o ? (r(), y("g", fa, [
1006
1024
  w("rect", {
1007
1025
  x: n.value.left,
1008
1026
  y: A.value.avgY[o] - n.value.height / b.value / 2,
@@ -1010,31 +1028,31 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1010
1028
  height: n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value,
1011
1029
  fill: e.value.style.layout.marginalBars.highlighter.color,
1012
1030
  "fill-opacity": e.value.style.layout.marginalBars.highlighter.opacity
1013
- }, null, 8, va),
1031
+ }, null, 8, ga),
1014
1032
  w("line", {
1015
1033
  x1: n.value.left,
1016
- x2: D.value.width,
1034
+ x2: E.value.width,
1017
1035
  y1: A.value.avgY[o] - n.value.height / b.value / 2,
1018
1036
  y2: A.value.avgY[o] - n.value.height / b.value / 2,
1019
1037
  stroke: e.value.style.layout.marginalBars.highlighter.stroke,
1020
1038
  "stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
1021
1039
  "stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
1022
1040
  style: { transition: "none !important", animation: "none !important" }
1023
- }, null, 8, ya),
1041
+ }, null, 8, ma),
1024
1042
  w("line", {
1025
1043
  x1: n.value.left,
1026
- x2: D.value.width,
1044
+ x2: E.value.width,
1027
1045
  y1: A.value.avgY[o] - n.value.height / b.value / 2 + (n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value),
1028
1046
  y2: A.value.avgY[o] - n.value.height / b.value / 2 + (n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value),
1029
1047
  stroke: e.value.style.layout.marginalBars.highlighter.stroke,
1030
1048
  "stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
1031
1049
  "stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
1032
1050
  style: { transition: "none !important", animation: "none !important" }
1033
- }, null, 8, ca)
1051
+ }, null, 8, xa)
1034
1052
  ])) : x("", !0)
1035
1053
  ]))), 256)),
1036
- e.value.style.layout.marginalBars.showLines ? (r(), y("g", da, [
1037
- (r(!0), y(Z, null, K(Qt.value, (t) => (r(), y(Z, null, [
1054
+ e.value.style.layout.marginalBars.showLines ? (r(), y("g", ba, [
1055
+ (r(!0), y(Z, null, K(el.value, (t) => (r(), y(Z, null, [
1038
1056
  N.value.includes(t.id) ? x("", !0) : (r(), y("path", {
1039
1057
  key: 0,
1040
1058
  d: `M ${t.dX}`,
@@ -1043,7 +1061,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1043
1061
  "stroke-linecap": "round",
1044
1062
  "stroke-linejoin": "round",
1045
1063
  fill: "none"
1046
- }, null, 8, ha)),
1064
+ }, null, 8, ka)),
1047
1065
  N.value.includes(t.id) ? x("", !0) : (r(), y("path", {
1048
1066
  key: 1,
1049
1067
  d: `M ${t.dX}`,
@@ -1052,7 +1070,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1052
1070
  "stroke-linecap": "round",
1053
1071
  "stroke-linejoin": "round",
1054
1072
  fill: "none"
1055
- }, null, 8, pa)),
1073
+ }, null, 8, wa)),
1056
1074
  N.value.includes(t.id) ? x("", !0) : (r(), y("path", {
1057
1075
  key: 2,
1058
1076
  d: `M ${t.dY}`,
@@ -1061,7 +1079,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1061
1079
  "stroke-linecap": "round",
1062
1080
  "stroke-linejoin": "round",
1063
1081
  fill: "none"
1064
- }, null, 8, fa)),
1082
+ }, null, 8, _a)),
1065
1083
  N.value.includes(t.id) ? x("", !0) : (r(), y("path", {
1066
1084
  key: 3,
1067
1085
  d: `M ${t.dY}`,
@@ -1070,50 +1088,50 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1070
1088
  "stroke-linecap": "round",
1071
1089
  "stroke-linejoin": "round",
1072
1090
  fill: "none"
1073
- }, null, 8, ga))
1091
+ }, null, 8, $a))
1074
1092
  ], 64))), 256))
1075
1093
  ])) : x("", !0)
1076
1094
  ])) : x("", !0),
1077
- e.value.style.layout.plots.giftWrap.show ? (r(), y("g", ma, [
1078
- (r(!0), y(Z, null, K(U.value, (t, o) => (r(), y("g", null, [
1095
+ e.value.style.layout.plots.giftWrap.show ? (r(), y("g", Ma, [
1096
+ (r(!0), y(Z, null, K(j.value, (t, o) => (r(), y("g", null, [
1079
1097
  t.plots.length > 2 ? (r(), y("polygon", {
1080
1098
  key: 0,
1081
- points: c(_l)({ series: t.plots }),
1082
- fill: c(Te)(t.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
1099
+ points: c(Ll)({ series: t.plots }),
1100
+ fill: c(ze)(t.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
1083
1101
  "stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
1084
1102
  "stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
1085
1103
  stroke: t.color,
1086
1104
  "stroke-linejoin": "round",
1087
1105
  "stroke-linecap": "round"
1088
- }, null, 8, xa)) : x("", !0)
1106
+ }, null, 8, Ca)) : x("", !0)
1089
1107
  ]))), 256))
1090
1108
  ])) : x("", !0),
1091
- e.value.usePerformanceMode ? x("", !0) : (r(!0), y(Z, { key: 4 }, K(U.value, (t, o) => (r(), y("g", null, [
1092
- !t.shape || t.shape === "circle" ? (r(), y("g", ba, [
1109
+ e.value.usePerformanceMode ? x("", !0) : (r(!0), y(Z, { key: 4 }, K(j.value, (t, o) => (r(), y("g", null, [
1110
+ !t.shape || t.shape === "circle" ? (r(), y("g", Aa, [
1093
1111
  (r(!0), y(Z, null, K(t.plots, (a, u) => (r(), y("circle", {
1094
1112
  cx: a.x,
1095
1113
  cy: a.y,
1096
1114
  r: Y.value && Y.value === a.id ? a.weight * 2 : a.weight,
1097
- fill: c(Te)(t.color, e.value.style.layout.plots.opacity * 100),
1115
+ fill: c(ze)(t.color, e.value.style.layout.plots.opacity * 100),
1098
1116
  stroke: e.value.style.layout.plots.stroke,
1099
1117
  "stroke-width": e.value.style.layout.plots.strokeWidth,
1100
- style: ne(`opacity:${Y.value && Y.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / bt.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`),
1101
- onMouseover: (i) => je(a, o),
1102
- onMouseleave: (i) => Ce(a, o),
1103
- onClick: (i) => Ue(a, o)
1104
- }, null, 44, ka))), 256))
1105
- ])) : (r(), y("g", wa, [
1118
+ style: ue(`opacity:${Y.value && Y.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / bt.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`),
1119
+ onMouseover: (i) => Ue(a, o),
1120
+ onMouseleave: (i) => Ae(a, o),
1121
+ onClick: (i) => je(a, o)
1122
+ }, null, 44, Sa))), 256))
1123
+ ])) : (r(), y("g", La, [
1106
1124
  (r(!0), y(Z, null, K(t.plots, (a, u) => (r(), le(Qe, {
1107
1125
  plot: { x: a.x, y: a.y },
1108
1126
  radius: Y.value && Y.value === a.id ? a.weight * 2 : a.weight,
1109
1127
  shape: t.shape,
1110
- color: c(Te)(t.color, e.value.style.layout.plots.opacity * 100),
1128
+ color: c(ze)(t.color, e.value.style.layout.plots.opacity * 100),
1111
1129
  stroke: e.value.style.layout.plots.stroke,
1112
1130
  strokeWidth: e.value.style.layout.plots.strokeWidth,
1113
- style: ne(`opacity:${Y.value && Y.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / bt.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`),
1114
- onMouseover: (i) => je(a, o),
1115
- onMouseleave: (i) => Ce(a, o),
1116
- onClick: (i) => Ue(a, o)
1131
+ style: ue(`opacity:${Y.value && Y.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / bt.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`),
1132
+ onMouseover: (i) => Ue(a, o),
1133
+ onMouseleave: (i) => Ae(a, o),
1134
+ onClick: (i) => je(a, o)
1117
1135
  }, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "style", "onMouseover", "onMouseleave", "onClick"]))), 256))
1118
1136
  ]))
1119
1137
  ]))), 256)),
@@ -1121,7 +1139,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1121
1139
  w("g", {
1122
1140
  "clip-path": `url(#clip_path_${W.value})`
1123
1141
  }, [
1124
- (r(!0), y(Z, null, K(ol.value, (t) => (r(), y("path", {
1142
+ (r(!0), y(Z, null, K(sl.value, (t) => (r(), y("path", {
1125
1143
  key: t.id,
1126
1144
  d: t.d,
1127
1145
  fill: t.fill,
@@ -1130,9 +1148,9 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1130
1148
  "stroke-opacity": t.strokeOpacity,
1131
1149
  "vector-effect": "non-scaling-stroke",
1132
1150
  "paint-order": "fill"
1133
- }, null, 8, $a))), 128))
1134
- ], 8, _a),
1135
- f.value && e.value.style.layout.plots.selectors.show ? (r(), y("g", Ma, [
1151
+ }, null, 8, Ta))), 128))
1152
+ ], 8, Ba),
1153
+ f.value && e.value.style.layout.plots.selectors.show ? (r(), y("g", za, [
1136
1154
  $e(Qe, {
1137
1155
  shape: f.value.shape || "circle",
1138
1156
  color: f.value.color,
@@ -1149,13 +1167,13 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1149
1167
  height: Math.max(1e-4, n.value.height),
1150
1168
  fill: "transparent",
1151
1169
  onMousemove: s[2] || (s[2] = (...t) => c(At) && c(At)(...t)),
1152
- onMouseleave: nl,
1153
- onClick: ul
1154
- }, null, 40, Ca)
1170
+ onMouseleave: ul,
1171
+ onClick: il
1172
+ }, null, 40, Pa)
1155
1173
  ], 64)) : x("", !0),
1156
- f.value && e.value.style.layout.plots.selectors.show ? (r(), y("g", Aa, [
1174
+ f.value && e.value.style.layout.plots.selectors.show ? (r(), y("g", Oa, [
1157
1175
  w("line", {
1158
- x1: E.value.x,
1176
+ x1: F.value.x,
1159
1177
  x2: f.value.x,
1160
1178
  y1: f.value.y,
1161
1179
  y2: f.value.y,
@@ -1164,86 +1182,86 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1164
1182
  "stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
1165
1183
  "stroke-linecap": "round",
1166
1184
  class: "line-pointer"
1167
- }, null, 8, Sa),
1185
+ }, null, 8, Da),
1168
1186
  w("line", {
1169
1187
  x1: f.value.x,
1170
1188
  x2: f.value.x,
1171
- y1: E.value.y,
1189
+ y1: F.value.y,
1172
1190
  y2: f.value.y,
1173
1191
  stroke: e.value.style.layout.plots.selectors.stroke,
1174
1192
  "stroke-width": e.value.style.layout.plots.selectors.strokeWidth,
1175
1193
  "stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
1176
1194
  "stroke-linecap": "round",
1177
1195
  class: "line-pointer"
1178
- }, null, 8, La),
1196
+ }, null, 8, Ea),
1179
1197
  w("text", {
1180
- x: E.value.x + (f.value.x > E.value.x ? -6 : 6),
1198
+ x: F.value.x + (f.value.x > F.value.x ? -6 : 6),
1181
1199
  y: f.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
1182
1200
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
1183
1201
  fill: e.value.style.layout.plots.selectors.labels.color,
1184
1202
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
1185
- "text-anchor": f.value.x > E.value.x ? "end" : "start"
1186
- }, q(c(ue)(
1203
+ "text-anchor": f.value.x > F.value.x ? "end" : "start"
1204
+ }, G(c(ie)(
1187
1205
  e.value.style.layout.plots.selectors.labels.y.formatter,
1188
- c(G)(f.value.v.y),
1206
+ c(q)(f.value.v.y),
1189
1207
  c(Q)({
1190
1208
  p: e.value.style.layout.plots.selectors.labels.prefix,
1191
- v: c(G)(f.value.v.y),
1209
+ v: c(q)(f.value.v.y),
1192
1210
  s: e.value.style.layout.plots.selectors.labels.suffix,
1193
1211
  r: e.value.style.layout.plots.selectors.labels.rounding
1194
1212
  }),
1195
1213
  { datapoint: f.value }
1196
- )), 9, Ba),
1214
+ )), 9, Fa),
1197
1215
  w("text", {
1198
1216
  x: f.value.x,
1199
- y: E.value.y + (f.value.y > E.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
1217
+ y: F.value.y + (f.value.y > F.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
1200
1218
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
1201
1219
  fill: e.value.style.layout.plots.selectors.labels.color,
1202
1220
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
1203
1221
  "text-anchor": "middle"
1204
- }, q(c(ue)(
1222
+ }, G(c(ie)(
1205
1223
  e.value.style.layout.plots.selectors.labels.y.formatter,
1206
- c(G)(f.value.v.x),
1224
+ c(q)(f.value.v.x),
1207
1225
  c(Q)({
1208
1226
  p: e.value.style.layout.plots.selectors.labels.prefix,
1209
- v: c(G)(f.value.v.x),
1227
+ v: c(q)(f.value.v.x),
1210
1228
  s: e.value.style.layout.plots.selectors.labels.suffix,
1211
1229
  r: e.value.style.layout.plots.selectors.labels.rounding
1212
1230
  }),
1213
1231
  { datapoint: f.value }
1214
- )), 9, Ta),
1232
+ )), 9, Wa),
1215
1233
  w("circle", {
1216
- cx: E.value.x,
1234
+ cx: F.value.x,
1217
1235
  cy: f.value.y,
1218
1236
  r: e.value.style.layout.plots.selectors.markers.radius,
1219
1237
  fill: e.value.style.layout.plots.selectors.markers.fill,
1220
1238
  stroke: e.value.style.layout.plots.selectors.markers.stroke,
1221
1239
  "stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
1222
1240
  class: "line-pointer"
1223
- }, null, 8, za),
1241
+ }, null, 8, Na),
1224
1242
  w("circle", {
1225
1243
  cx: f.value.x,
1226
- cy: E.value.y,
1244
+ cy: F.value.y,
1227
1245
  r: e.value.style.layout.plots.selectors.markers.radius,
1228
1246
  fill: e.value.style.layout.plots.selectors.markers.fill,
1229
1247
  stroke: e.value.style.layout.plots.selectors.markers.stroke,
1230
1248
  "stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
1231
1249
  class: "line-pointer"
1232
- }, null, 8, Pa),
1250
+ }, null, 8, Ia),
1233
1251
  e.value.style.layout.plots.selectors.labels.showName ? (r(), y("text", {
1234
1252
  key: 0,
1235
1253
  x: f.value.x,
1236
- y: f.value.y + (f.value.y < E.value.y ? -e.value.style.layout.plots.selectors.labels.fontSize / 2 : e.value.style.layout.plots.selectors.labels.fontSize),
1254
+ y: f.value.y + (f.value.y < F.value.y ? -e.value.style.layout.plots.selectors.labels.fontSize / 2 : e.value.style.layout.plots.selectors.labels.fontSize),
1237
1255
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
1238
1256
  fill: e.value.style.layout.plots.selectors.labels.color,
1239
1257
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
1240
- "text-anchor": f.value.x < n.value.left + 100 ? "start" : f.value.x > n.value.right - 100 ? "end" : f.value.x > E.value.x ? "start" : "end"
1241
- }, q(f.value.v.name), 9, Oa)) : x("", !0)
1258
+ "text-anchor": f.value.x < n.value.left + 100 ? "start" : f.value.x > n.value.right - 100 ? "end" : f.value.x > F.value.x ? "start" : "end"
1259
+ }, G(f.value.v.name), 9, Xa)) : x("", !0)
1242
1260
  ])) : x("", !0),
1243
1261
  e.value.style.layout.dataLabels.xAxis.show ? (r(), y("g", {
1244
1262
  key: 7,
1245
1263
  ref_key: "xAxisLabelLeft",
1246
- ref: De
1264
+ ref: Ee
1247
1265
  }, [
1248
1266
  w("text", {
1249
1267
  id: `vue-ui-scatter-xAxis-label-${W.value}`,
@@ -1252,89 +1270,89 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1252
1270
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
1253
1271
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
1254
1272
  fill: e.value.style.layout.dataLabels.xAxis.color
1255
- }, q(e.value.style.layout.dataLabels.xAxis.name), 9, Da),
1273
+ }, G(e.value.style.layout.dataLabels.xAxis.name), 9, Ya),
1256
1274
  w("text", {
1257
1275
  "text-anchor": "middle",
1258
1276
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
1259
1277
  fill: e.value.style.layout.dataLabels.xAxis.color,
1260
- transform: `translate(${e.value.style.layout.dataLabels.xAxis.name ? e.value.style.layout.dataLabels.xAxis.fontSize * 3 : 0}, ${E.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`
1261
- }, q(c(ue)(
1278
+ transform: `translate(${e.value.style.layout.dataLabels.xAxis.name ? e.value.style.layout.dataLabels.xAxis.fontSize * 3 : 0}, ${F.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`
1279
+ }, G(c(ie)(
1262
1280
  e.value.style.layout.plots.selectors.labels.x.formatter,
1263
- c(G)(z.value.xMin),
1281
+ c(q)(P.value.xMin),
1264
1282
  c(Q)({
1265
1283
  p: e.value.style.layout.plots.selectors.labels.prefix,
1266
- v: c(G)(z.value.xMin),
1284
+ v: c(q)(P.value.xMin),
1267
1285
  s: e.value.style.layout.plots.selectors.labels.suffix,
1268
1286
  r: e.value.style.layout.dataLabels.xAxis.rounding
1269
1287
  })
1270
- )), 9, Ea)
1288
+ )), 9, Ra)
1271
1289
  ], 512)) : x("", !0),
1272
1290
  e.value.style.layout.dataLabels.xAxis.show ? (r(), y("text", {
1273
1291
  key: 8,
1274
1292
  ref_key: "xAxisLabelRight",
1275
1293
  ref: qt,
1276
1294
  "text-anchor": "middle",
1277
- transform: `translate(${n.value.right + e.value.style.layout.padding.right + 6}, ${E.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`,
1295
+ transform: `translate(${n.value.right + e.value.style.layout.padding.right + 6}, ${F.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`,
1278
1296
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
1279
1297
  fill: e.value.style.layout.dataLabels.xAxis.color
1280
- }, q(c(ue)(
1298
+ }, G(c(ie)(
1281
1299
  e.value.style.layout.plots.selectors.labels.x.formatter,
1282
- c(G)(z.value.xMax),
1300
+ c(q)(P.value.xMax),
1283
1301
  c(Q)({
1284
1302
  p: e.value.style.layout.plots.selectors.labels.prefix,
1285
- v: c(G)(z.value.xMax),
1303
+ v: c(q)(P.value.xMax),
1286
1304
  s: e.value.style.layout.plots.selectors.labels.suffix,
1287
1305
  r: e.value.style.layout.dataLabels.xAxis.rounding
1288
1306
  })
1289
- )), 9, Fa)) : x("", !0),
1307
+ )), 9, Ua)) : x("", !0),
1290
1308
  e.value.style.layout.dataLabels.yAxis.show ? (r(), y("text", {
1291
1309
  key: 9,
1292
1310
  ref_key: "yAxisLabelTop",
1293
- ref: Gt,
1294
- x: E.value.x,
1311
+ ref: Ht,
1312
+ x: F.value.x,
1295
1313
  y: n.value.top - e.value.style.layout.dataLabels.yAxis.fontSize,
1296
1314
  "text-anchor": "middle",
1297
1315
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
1298
1316
  fill: e.value.style.layout.dataLabels.yAxis.color
1299
- }, q(c(ue)(
1317
+ }, G(c(ie)(
1300
1318
  e.value.style.layout.plots.selectors.labels.y.formatter,
1301
- c(G)(z.value.yMax),
1319
+ c(q)(P.value.yMax),
1302
1320
  c(Q)({
1303
1321
  p: e.value.style.layout.plots.selectors.labels.prefix,
1304
- v: c(G)(z.value.yMax),
1322
+ v: c(q)(P.value.yMax),
1305
1323
  s: e.value.style.layout.plots.selectors.labels.suffix,
1306
1324
  r: e.value.style.layout.dataLabels.yAxis.rounding
1307
1325
  })
1308
- )), 9, Wa)) : x("", !0),
1326
+ )), 9, ja)) : x("", !0),
1309
1327
  e.value.style.layout.dataLabels.yAxis.show ? (r(), y("g", {
1310
1328
  key: 10,
1311
1329
  ref_key: "yAxisLabelBottom",
1312
- ref: Ee
1330
+ ref: Fe
1313
1331
  }, [
1314
1332
  w("text", {
1315
- x: E.value.x,
1316
- y: D.value.height - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
1333
+ x: F.value.x,
1334
+ y: E.value.height - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
1317
1335
  "text-anchor": "middle",
1318
1336
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
1319
1337
  fill: e.value.style.layout.dataLabels.yAxis.color
1320
- }, q(c(ue)(
1338
+ }, G(c(ie)(
1321
1339
  e.value.style.layout.plots.selectors.labels.y.formatter,
1322
- c(G)(z.value.yMin),
1340
+ c(q)(P.value.yMin),
1323
1341
  c(Q)({
1324
1342
  p: e.value.style.layout.plots.selectors.labels.prefix,
1325
- v: c(G)(z.value.yMin),
1343
+ v: c(q)(P.value.yMin),
1326
1344
  s: e.value.style.layout.plots.selectors.labels.suffix,
1327
1345
  r: e.value.style.layout.dataLabels.yAxis.rounding
1328
1346
  })
1329
- )), 9, Na),
1347
+ )), 9, Va),
1330
1348
  w("text", {
1331
1349
  "text-anchor": "middle",
1332
1350
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
1333
1351
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal",
1334
1352
  fill: e.value.style.layout.dataLabels.yAxis.color,
1335
1353
  x: n.value.left + n.value.width / 2,
1336
- y: D.value.height
1337
- }, q(e.value.style.layout.dataLabels.yAxis.name), 9, Ia)
1354
+ y: E.value.height
1355
+ }, G(e.value.style.layout.dataLabels.yAxis.name), 9, Ga)
1338
1356
  ], 512)) : x("", !0),
1339
1357
  w("clipPath", {
1340
1358
  id: `clip_path_${W.value}`
@@ -1344,10 +1362,10 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1344
1362
  y: n.value.top,
1345
1363
  width: n.value.width <= 0 ? 1e-4 : n.value.width,
1346
1364
  height: n.value.height <= 0 ? 1e-4 : n.value.height
1347
- }, null, 8, Ya)
1348
- ], 8, Xa),
1349
- e.value.style.layout.correlation.show ? (r(), y("g", Ra, [
1350
- (r(!0), y(Z, null, K(U.value, (t, o) => (r(), y("line", {
1365
+ }, null, 8, Ha)
1366
+ ], 8, qa),
1367
+ e.value.style.layout.correlation.show ? (r(), y("g", Za, [
1368
+ (r(!0), y(Z, null, K(j.value, (t, o) => (r(), y("line", {
1351
1369
  x1: t.correlation.x1,
1352
1370
  x2: t.correlation.x2,
1353
1371
  y1: t.correlation.y1,
@@ -1356,8 +1374,8 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1356
1374
  stroke: t.color,
1357
1375
  "stroke-width": e.value.style.layout.correlation.strokeWidth,
1358
1376
  "clip-path": `url(#clip_path_${W.value})`
1359
- }, null, 8, ja))), 256)),
1360
- (r(!0), y(Z, null, K(U.value, (t, o) => (r(), y("g", null, [
1377
+ }, null, 8, Ja))), 256)),
1378
+ (r(!0), y(Z, null, K(j.value, (t, o) => (r(), y("g", null, [
1361
1379
  e.value.style.layout.correlation.label.show ? (r(), y("text", {
1362
1380
  key: 0,
1363
1381
  x: t.correlation.x2,
@@ -1366,21 +1384,21 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1366
1384
  "text-anchor": "end",
1367
1385
  "font-size": e.value.style.layout.correlation.label.fontSize,
1368
1386
  "font-weight": e.value.style.layout.correlation.label.bold ? "bold" : "normal"
1369
- }, q(c(Q)({
1370
- v: c(G)(t.correlation.coefficient),
1387
+ }, G(c(Q)({
1388
+ v: c(q)(t.correlation.coefficient),
1371
1389
  r: e.value.style.layout.correlation.label.roundingValue
1372
- })), 9, Ua)) : x("", !0)
1390
+ })), 9, Ka)) : x("", !0)
1373
1391
  ]))), 256))
1374
1392
  ])) : x("", !0),
1375
- j(l.$slots, "svg", { svg: D.value }, void 0, !0)
1376
- ], 46, Rl)),
1377
- l.$slots.watermark ? (r(), y("div", Va, [
1378
- j(l.$slots, "watermark", pe(fe({ isPrinting: c(pt) || c(ft) })), void 0, !0)
1393
+ U(l.$slots, "svg", { svg: E.value }, void 0, !0)
1394
+ ], 46, Zl)),
1395
+ l.$slots.watermark ? (r(), y("div", Qa, [
1396
+ U(l.$slots, "watermark", pe(fe({ isPrinting: c(pt) || c(ft) })), void 0, !0)
1379
1397
  ])) : x("", !0),
1380
1398
  w("div", {
1381
1399
  id: `legend-bottom-${W.value}`
1382
- }, null, 8, qa),
1383
- rt.value ? (r(), le(yl, {
1400
+ }, null, 8, eo),
1401
+ rt.value ? (r(), le(gl, {
1384
1402
  key: 5,
1385
1403
  to: e.value.style.legend.position === "top" ? `#legend-top-${W.value}` : `#legend-bottom-${W.value}`
1386
1404
  }, [
@@ -1388,22 +1406,22 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1388
1406
  ref_key: "chartLegend",
1389
1407
  ref: at
1390
1408
  }, [
1391
- e.value.style.legend.show ? (r(), le(Fl, {
1409
+ e.value.style.legend.show ? (r(), le(Ul, {
1392
1410
  key: `legend_${it.value}`,
1393
- legendSet: ie.value,
1394
- config: Jt.value,
1411
+ legendSet: oe.value,
1412
+ config: Kt.value,
1395
1413
  onClickMarker: s[3] || (s[3] = ({ legend: t }) => wt(t.id))
1396
1414
  }, {
1397
1415
  item: X(({ legend: t }) => [
1398
1416
  w("div", {
1399
1417
  onClick: (o) => t.segregate(),
1400
- style: ne(`opacity:${N.value.includes(t.id) ? 0.5 : 1}`)
1401
- }, q(t.name), 13, Ga)
1418
+ style: ue(`opacity:${N.value.includes(t.id) ? 0.5 : 1}`)
1419
+ }, G(t.name), 13, to)
1402
1420
  ]),
1403
1421
  _: 1
1404
- }, 8, ["legendSet", "config"])) : j(l.$slots, "legend", {
1422
+ }, 8, ["legendSet", "config"])) : U(l.$slots, "legend", {
1405
1423
  key: 1,
1406
- legend: ie.value
1424
+ legend: oe.value
1407
1425
  }, void 0, !0)
1408
1426
  ], 512)
1409
1427
  ], 8, ["to"])) : x("", !0),
@@ -1413,10 +1431,10 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1413
1431
  ref: ot,
1414
1432
  dir: "auto"
1415
1433
  }, [
1416
- j(l.$slots, "source", {}, void 0, !0)
1434
+ U(l.$slots, "source", {}, void 0, !0)
1417
1435
  ], 512)) : x("", !0),
1418
- $e(c(Wt), {
1419
- show: H.value.showTooltip && ze.value,
1436
+ $e(c(Nt), {
1437
+ show: H.value.showTooltip && Pe.value,
1420
1438
  backgroundColor: e.value.style.tooltip.backgroundColor,
1421
1439
  color: e.value.style.tooltip.color,
1422
1440
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -1427,7 +1445,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1427
1445
  position: e.value.style.tooltip.position,
1428
1446
  offsetY: e.value.style.tooltip.offsetY,
1429
1447
  parent: te.value,
1430
- content: Pe.value,
1448
+ content: Oe.value,
1431
1449
  isFullscreen: re.value,
1432
1450
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
1433
1451
  smooth: e.value.style.tooltip.smooth,
@@ -1436,14 +1454,14 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1436
1454
  smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
1437
1455
  }, {
1438
1456
  "tooltip-before": X(() => [
1439
- j(l.$slots, "tooltip-before", pe(fe({ ...Re.value })), void 0, !0)
1457
+ U(l.$slots, "tooltip-before", pe(fe({ ...Re.value })), void 0, !0)
1440
1458
  ]),
1441
1459
  "tooltip-after": X(() => [
1442
- j(l.$slots, "tooltip-after", pe(fe({ ...Re.value })), void 0, !0)
1460
+ U(l.$slots, "tooltip-after", pe(fe({ ...Re.value })), void 0, !0)
1443
1461
  ]),
1444
1462
  default: X(() => [
1445
- e.value.style.tooltip.showShape ? (r(), y("div", Ha, [
1446
- (r(), y("svg", Za, [
1463
+ e.value.style.tooltip.showShape ? (r(), y("div", lo, [
1464
+ (r(), y("svg", ao, [
1447
1465
  $e(Qe, {
1448
1466
  shape: f.value.shape,
1449
1467
  color: f.value.color,
@@ -1455,32 +1473,32 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1455
1473
  ]),
1456
1474
  _: 3
1457
1475
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1458
- et.value && e.value.userOptions.buttons.table ? (r(), le(cl(be.value.component), dl({ key: 7 }, be.value.props, {
1476
+ et.value && e.value.userOptions.buttons.table ? (r(), le(ml(be.value.component), xl({ key: 7 }, be.value.props, {
1459
1477
  ref_key: "tableUnit",
1460
1478
  ref: xe,
1461
1479
  onClose: St
1462
- }), Tt({
1480
+ }), zt({
1463
1481
  content: X(() => [
1464
- (r(), le(c(Xt), {
1482
+ (r(), le(c(Yt), {
1465
1483
  key: `table_${ut.value}`,
1466
- colNames: Ae.value.colNames,
1467
- head: Ae.value.head,
1468
- body: Ae.value.body,
1469
- config: Ae.value.config,
1484
+ colNames: Se.value.colNames,
1485
+ head: Se.value.head,
1486
+ body: Se.value.body,
1487
+ config: Se.value.config,
1470
1488
  title: e.value.table.useDialog ? "" : be.value.title,
1471
1489
  withCloseButton: !e.value.table.useDialog,
1472
1490
  onClose: St
1473
1491
  }, {
1474
1492
  th: X(({ th: t }) => [
1475
- zt(q(t), 1)
1493
+ Pt(G(t), 1)
1476
1494
  ]),
1477
1495
  td: X(({ td: t }) => [
1478
- t.shape ? (r(), y("div", Ja, [
1479
- w("span", null, q(t.content), 1)
1496
+ t.shape ? (r(), y("div", oo, [
1497
+ w("span", null, G(t.content), 1)
1480
1498
  ])) : (r(), y("div", {
1481
1499
  key: 1,
1482
1500
  innerHTML: t
1483
- }, null, 8, Ka))
1501
+ }, null, 8, so))
1484
1502
  ]),
1485
1503
  _: 1
1486
1504
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1490,7 +1508,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1490
1508
  e.value.table.useDialog ? {
1491
1509
  name: "title",
1492
1510
  fn: X(() => [
1493
- zt(q(be.value.title), 1)
1511
+ Pt(G(be.value.title), 1)
1494
1512
  ]),
1495
1513
  key: "0"
1496
1514
  } : void 0,
@@ -1502,7 +1520,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1502
1520
  class: "vue-ui-user-options-button",
1503
1521
  onClick: s[4] || (s[4] = (t) => Ve(e.value.userOptions.callbacks.csv))
1504
1522
  }, [
1505
- $e(c(Nt), {
1523
+ $e(c(It), {
1506
1524
  name: "excel",
1507
1525
  stroke: be.value.props.color
1508
1526
  }, null, 8, ["stroke"])
@@ -1511,10 +1529,10 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
1511
1529
  key: "1"
1512
1530
  } : void 0
1513
1531
  ]), 1040)) : x("", !0),
1514
- c(vt) ? (r(), le(zl, { key: 8 })) : x("", !0)
1515
- ], 46, Xl));
1532
+ c(vt) ? (r(), le(Wl, { key: 8 })) : x("", !0)
1533
+ ], 46, ql));
1516
1534
  }
1517
- }, po = /* @__PURE__ */ Il(Qa, [["__scopeId", "data-v-5097acd5"]]);
1535
+ }, _o = /* @__PURE__ */ Gl(no, [["__scopeId", "data-v-33f7d698"]]);
1518
1536
  export {
1519
- po as default
1537
+ _o as default
1520
1538
  };