vue-data-ui 3.4.2 → 3.4.4

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 (157) hide show
  1. package/dist/{Arrow-CRe_nKB4.js → Arrow-BGVin3AS.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CbuLbfrc.js → BaseDraggableDialog-ymf2sfB8.js} +2 -2
  3. package/dist/{BaseIcon-B5KaGWWC.js → BaseIcon-BmMbm4d0.js} +1 -1
  4. package/dist/{ColorPicker-BMztHpBp.js → ColorPicker-J5wOPCeB.js} +2 -2
  5. package/dist/{DataTable-DOx3zgih.js → DataTable-BT7VF2ua.js} +2 -2
  6. package/dist/{Legend-C8u37J42.js → Legend-G6GMcdAc.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-BcxfJ-r2.js → NonSvgPenAndPaper-C7TRn0_3.js} +3 -3
  8. package/dist/{PackageVersion-C6RwvG8P.js → PackageVersion-TgflyMpU.js} +1 -1
  9. package/dist/{PenAndPaper-Dj2diYr0.js → PenAndPaper-DSvu9dwa.js} +3 -3
  10. package/dist/{Shape-BhNvlGIN.js → Shape-CNXKB8O0.js} +1 -1
  11. package/dist/{Slicer-BHgEsIBU.js → Slicer-D2wm0coO.js} +2 -2
  12. package/dist/{SlicerPreview-Cobmb_1S.js → SlicerPreview-ij72TAs6.js} +2 -2
  13. package/dist/{SparkTooltip-CL3cNRQ_.js → SparkTooltip-BEewz-_Q.js} +1 -1
  14. package/dist/{Title-CFmv95In.js → Title-BWp-37K_.js} +1 -1
  15. package/dist/{Tooltip-Cs4v8OnI.js → Tooltip-68Yi_FFl.js} +1 -1
  16. package/dist/{UserOptions-C0YT60JN.js → UserOptions-1OZ3jcm6.js} +2 -2
  17. package/dist/components/arrow.js +1 -1
  18. package/dist/components/vue-ui-3d-bar.js +1 -1
  19. package/dist/components/vue-ui-accordion.js +1 -1
  20. package/dist/components/vue-ui-age-pyramid.js +1 -1
  21. package/dist/components/vue-ui-annotator.js +1 -1
  22. package/dist/components/vue-ui-bullet.js +1 -1
  23. package/dist/components/vue-ui-candlestick.js +1 -1
  24. package/dist/components/vue-ui-carousel-table.js +1 -1
  25. package/dist/components/vue-ui-chestnut.js +1 -1
  26. package/dist/components/vue-ui-chord.js +1 -1
  27. package/dist/components/vue-ui-circle-pack.js +1 -1
  28. package/dist/components/vue-ui-cursor.js +1 -1
  29. package/dist/components/vue-ui-dashboard.js +1 -1
  30. package/dist/components/vue-ui-digits.js +1 -1
  31. package/dist/components/vue-ui-donut-evolution.js +1 -1
  32. package/dist/components/vue-ui-donut.js +1 -1
  33. package/dist/components/vue-ui-dumbbell.js +1 -1
  34. package/dist/components/vue-ui-flow.js +1 -1
  35. package/dist/components/vue-ui-funnel.js +1 -1
  36. package/dist/components/vue-ui-galaxy.js +1 -1
  37. package/dist/components/vue-ui-gauge.js +1 -1
  38. package/dist/components/vue-ui-gizmo.js +1 -1
  39. package/dist/components/vue-ui-heatmap.js +1 -1
  40. package/dist/components/vue-ui-history-plot.js +1 -1
  41. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  42. package/dist/components/vue-ui-icon.js +1 -1
  43. package/dist/components/vue-ui-kpi.js +1 -1
  44. package/dist/components/vue-ui-mini-loader.js +1 -1
  45. package/dist/components/vue-ui-molecule.js +1 -1
  46. package/dist/components/vue-ui-mood-radar.js +1 -1
  47. package/dist/components/vue-ui-nested-donuts.js +1 -1
  48. package/dist/components/vue-ui-onion.js +1 -1
  49. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  50. package/dist/components/vue-ui-quadrant.js +1 -1
  51. package/dist/components/vue-ui-quick-chart.js +1 -1
  52. package/dist/components/vue-ui-radar.js +1 -1
  53. package/dist/components/vue-ui-rating.js +1 -1
  54. package/dist/components/vue-ui-relation-circle.js +1 -1
  55. package/dist/components/vue-ui-ridgeline.js +1 -1
  56. package/dist/components/vue-ui-rings.js +1 -1
  57. package/dist/components/vue-ui-scatter.js +1 -1
  58. package/dist/components/vue-ui-skeleton.js +1 -1
  59. package/dist/components/vue-ui-smiley.js +1 -1
  60. package/dist/components/vue-ui-spark-trend.js +1 -1
  61. package/dist/components/vue-ui-sparkbar.js +1 -1
  62. package/dist/components/vue-ui-sparkgauge.js +1 -1
  63. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  64. package/dist/components/vue-ui-sparkline.js +1 -1
  65. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  66. package/dist/components/vue-ui-stackbar.js +1 -1
  67. package/dist/components/vue-ui-strip-plot.js +1 -1
  68. package/dist/components/vue-ui-table-heatmap.js +1 -1
  69. package/dist/components/vue-ui-table-sparkline.js +1 -1
  70. package/dist/components/vue-ui-table.js +1 -1
  71. package/dist/components/vue-ui-thermometer.js +1 -1
  72. package/dist/components/vue-ui-timer.js +1 -1
  73. package/dist/components/vue-ui-tiremarks.js +1 -1
  74. package/dist/components/vue-ui-treemap.js +1 -1
  75. package/dist/components/vue-ui-vertical-bar.js +1 -1
  76. package/dist/components/vue-ui-waffle.js +1 -1
  77. package/dist/components/vue-ui-wheel.js +1 -1
  78. package/dist/components/vue-ui-word-cloud.js +1 -1
  79. package/dist/components/vue-ui-world.js +1 -1
  80. package/dist/components/vue-ui-xy-canvas.js +1 -1
  81. package/dist/components/vue-ui-xy.js +1 -1
  82. package/dist/{dom-to-png-xQ7LXrxp.js → dom-to-png--BNgrTZV.js} +1 -1
  83. package/dist/{img-CFY3JivG.js → img-BecE5qXd.js} +1 -1
  84. package/dist/{lib-BcBZIm6u.js → lib-C_mNZmhD.js} +311 -303
  85. package/dist/{pdf-O34i6EQX.js → pdf-DuG5j3Wv.js} +1 -1
  86. package/dist/style.css +1 -1
  87. package/dist/{themes-Dw-dDudK.js → themes-AUNCOb2G.js} +5 -5
  88. package/dist/types/vue-data-ui.d.ts +16 -0
  89. package/dist/{useAutoSizeLabelsInsideViewbox-BHq4FD8x.js → useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js} +1 -1
  90. package/dist/{useNestedProp-B7CiTRDS.js → useNestedProp-dJX_8vvZ.js} +14 -4
  91. package/dist/{usePrinter-C1GiglOH.js → usePrinter-DTzqpYKF.js} +2 -2
  92. package/dist/{vue-data-ui-CzLP2rN0.js → vue-data-ui-Cx68QDfQ.js} +64 -64
  93. package/dist/vue-data-ui.js +73 -73
  94. package/dist/{vue-ui-3d-bar-D0b-iURl.js → vue-ui-3d-bar-C777yFCa.js} +7 -7
  95. package/dist/{vue-ui-accordion-BKkTS12x.js → vue-ui-accordion-UpZ765hd.js} +3 -3
  96. package/dist/{vue-ui-age-pyramid-Bd9FocGT.js → vue-ui-age-pyramid-Dob7mIkZ.js} +7 -7
  97. package/dist/{vue-ui-annotator-DkSYrnwb.js → vue-ui-annotator--8upDtTs.js} +7 -7
  98. package/dist/{vue-ui-bullet-DjQMFX7b.js → vue-ui-bullet-K2J31pN0.js} +8 -8
  99. package/dist/{vue-ui-candlestick-C0B0r7Nv.js → vue-ui-candlestick-BYAtu5ns.js} +482 -459
  100. package/dist/{vue-ui-carousel-table-Csg8asJF.js → vue-ui-carousel-table-D4mU7lyU.js} +4 -4
  101. package/dist/{vue-ui-chestnut-Ffn8vxbh.js → vue-ui-chestnut-DCxYsgRF.js} +6 -6
  102. package/dist/{vue-ui-chord-kdRc-Q-q.js → vue-ui-chord-jzC9Ioet.js} +9 -9
  103. package/dist/{vue-ui-circle-pack-C0kAjLnX.js → vue-ui-circle-pack-y8KHilxj.js} +7 -7
  104. package/dist/{vue-ui-cursor-iuati4v1.js → vue-ui-cursor-BqWDtj2I.js} +2 -2
  105. package/dist/{vue-ui-dashboard-D6F9BaXG.js → vue-ui-dashboard-BbXfbRd0.js} +67 -67
  106. package/dist/{vue-ui-digits-eYxf3UFN.js → vue-ui-digits-Cdn6EcYe.js} +2 -2
  107. package/dist/{vue-ui-donut-BrfxHSjb.js → vue-ui-donut-DCMaXKHe.js} +9 -9
  108. package/dist/{vue-ui-donut-evolution-eTmI2x_r.js → vue-ui-donut-evolution-BUu-RAkz.js} +9 -9
  109. package/dist/{vue-ui-dumbbell-Cw9zO8Mn.js → vue-ui-dumbbell-BeH9PPMc.js} +8 -8
  110. package/dist/{vue-ui-flow-B0RDvOVg.js → vue-ui-flow-ITp7cFEx.js} +8 -8
  111. package/dist/{vue-ui-funnel-Dsr0GCoj.js → vue-ui-funnel-DMyu3e5n.js} +7 -7
  112. package/dist/{vue-ui-galaxy-pZn1NOt3.js → vue-ui-galaxy-BGMtscCZ.js} +8 -8
  113. package/dist/{vue-ui-gauge-BjLEfS3a.js → vue-ui-gauge-DmRrw6oc.js} +8 -8
  114. package/dist/{vue-ui-gizmo-CxJXz4nC.js → vue-ui-gizmo-BhyYpiEW.js} +3 -3
  115. package/dist/{vue-ui-heatmap-DZe-8jxm.js → vue-ui-heatmap-DBDUKIjw.js} +8 -8
  116. package/dist/{vue-ui-history-plot-mKwh56x-.js → vue-ui-history-plot-CBhE_gIp.js} +8 -8
  117. package/dist/{vue-ui-kpi-N8s0i48S.js → vue-ui-kpi-CVpJH51G.js} +3 -3
  118. package/dist/{vue-ui-mini-loader-Db-9iQcC.js → vue-ui-mini-loader-b4D0tPsD.js} +2 -2
  119. package/dist/{vue-ui-molecule-NSKEl9DU.js → vue-ui-molecule-D1TlMhn-.js} +6 -6
  120. package/dist/{vue-ui-mood-radar-D0P9U7A2.js → vue-ui-mood-radar-CUYY-Szv.js} +8 -8
  121. package/dist/{vue-ui-nested-donuts-CsoawOMw.js → vue-ui-nested-donuts-D2Po_PPW.js} +8 -8
  122. package/dist/{vue-ui-onion-CB81rQHr.js → vue-ui-onion-CfzTGHTz.js} +9 -9
  123. package/dist/{vue-ui-parallel-coordinate-plot-Bfqdsh29.js → vue-ui-parallel-coordinate-plot-Ci8_8l5O.js} +9 -9
  124. package/dist/{vue-ui-quadrant-B6S8er0z.js → vue-ui-quadrant-BO_6zkWH.js} +9 -9
  125. package/dist/{vue-ui-quick-chart-BEJz4IrK.js → vue-ui-quick-chart-BGsUTlN6.js} +7 -7
  126. package/dist/{vue-ui-radar-CfVWwJ9O.js → vue-ui-radar-Cb4NhTp9.js} +9 -9
  127. package/dist/{vue-ui-rating-fR2WRHYO.js → vue-ui-rating-CvJlfRvs.js} +2 -2
  128. package/dist/{vue-ui-relation-circle-CDrFFs7x.js → vue-ui-relation-circle-gKV4FDiD.js} +8 -8
  129. package/dist/{vue-ui-ridgeline-HctkhJNL.js → vue-ui-ridgeline-B5Z_H1U_.js} +9 -9
  130. package/dist/{vue-ui-rings-DNdvT73I.js → vue-ui-rings-DXYT08cN.js} +9 -9
  131. package/dist/{vue-ui-scatter-tqqXVlml.js → vue-ui-scatter-B_e_aVVt.js} +125 -116
  132. package/dist/{vue-ui-skeleton-CIFKbc2Z.js → vue-ui-skeleton-oFjhyDNo.js} +3 -3
  133. package/dist/{vue-ui-smiley-BKXuAviQ.js → vue-ui-smiley-D3k4b6h1.js} +2 -2
  134. package/dist/{vue-ui-spark-trend-ClzBuy9g.js → vue-ui-spark-trend-CAMWrCuF.js} +4 -4
  135. package/dist/{vue-ui-sparkbar-DOC0sinb.js → vue-ui-sparkbar-VN-3rFCT.js} +4 -4
  136. package/dist/{vue-ui-sparkgauge-CtRGuXYE.js → vue-ui-sparkgauge-B1QNNxyJ.js} +4 -4
  137. package/dist/{vue-ui-sparkhistogram-CH5SQ49i.js → vue-ui-sparkhistogram-Cb7ACr7x.js} +5 -5
  138. package/dist/{vue-ui-sparkline-C1ANB_RH.js → vue-ui-sparkline-DA40psbw.js} +4 -4
  139. package/dist/{vue-ui-sparkstackbar-DJZvIWb3.js → vue-ui-sparkstackbar-CJ_L5xwe.js} +4 -4
  140. package/dist/{vue-ui-stackbar-DzT3xjPg.js → vue-ui-stackbar-CJgS4kt9.js} +56 -51
  141. package/dist/{vue-ui-strip-plot-DdgSGxqd.js → vue-ui-strip-plot-DQ8uM3vL.js} +8 -8
  142. package/dist/{vue-ui-table-DpSVU3nR.js → vue-ui-table-DXJzV47E.js} +5 -5
  143. package/dist/{vue-ui-table-heatmap-DU6GKPVy.js → vue-ui-table-heatmap-zbRs5HKh.js} +6 -6
  144. package/dist/{vue-ui-table-sparkline-DNiqSZPO.js → vue-ui-table-sparkline-DCll7_tQ.js} +5 -5
  145. package/dist/{vue-ui-thermometer-BEg7V1Pf.js → vue-ui-thermometer-BamrnCX9.js} +8 -8
  146. package/dist/{vue-ui-timer-GYpb3XQc.js → vue-ui-timer-ClzIo0W7.js} +5 -5
  147. package/dist/{vue-ui-tiremarks-vkoU5KYk.js → vue-ui-tiremarks-zcoGGB82.js} +7 -7
  148. package/dist/vue-ui-treemap-B-Jt_hzH.js +1289 -0
  149. package/dist/{vue-ui-vertical-bar-CFCfwBWt.js → vue-ui-vertical-bar-B5lTNJP2.js} +10 -10
  150. package/dist/{vue-ui-waffle-yn1j310A.js → vue-ui-waffle-CLN7Vhv2.js} +9 -9
  151. package/dist/{vue-ui-wheel-0aFR982b.js → vue-ui-wheel-Cc7zjB8c.js} +7 -7
  152. package/dist/{vue-ui-word-cloud-CkV8cGp6.js → vue-ui-word-cloud-BW8UT3gD.js} +165 -154
  153. package/dist/{vue-ui-world-DD5SbHCe.js → vue-ui-world-BKaac8Ew.js} +6 -6
  154. package/dist/{vue-ui-xy-BJiDW7Os.js → vue-ui-xy-DXMbNkHe.js} +845 -839
  155. package/dist/{vue-ui-xy-canvas-Dct7tf8w.js → vue-ui-xy-canvas-Dm-LZ-LP.js} +11 -11
  156. package/package.json +1 -1
  157. package/dist/vue-ui-treemap-Bikx-ODr.js +0 -1131
@@ -1,17 +1,17 @@
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 j, normalizeProps as pe, guardReactiveProps as fe, Fragment as Z, renderList as J, 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 Qe, e as $l, g as Dt, aa as Ml, h as Je, ac as Cl, z as Al, s as ze, X as Sl, ab as Ll, a as ie, x as q, d as K, P as Bl, Q as Tl, G as zl, H as Pl } from "./lib-BcBZIm6u.js";
1
+ import { defineAsyncComponent as ne, computed as T, ref as M, toRefs as hl, watch as ze, 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 j, normalizeProps as pe, guardReactiveProps as fe, Fragment as Z, renderList as J, 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 Qe, e as $l, g as Dt, aa as Ml, h as Je, ac as Cl, z as Al, s as Pe, X as Sl, ab as Ll, a as ie, x as q, d as K, P as Bl, Q as Tl, G as zl, H as Pl } from "./lib-C_mNZmhD.js";
3
3
  import { t as Ol, u as Dl } from "./useResponsive-DfdjqQps.js";
4
- import { u as El, a as Et } from "./useNestedProp-B7CiTRDS.js";
4
+ import { u as El, a as Et } from "./useNestedProp-dJX_8vvZ.js";
5
5
  import { u as Fl, B as Wl } from "./BaseScanner-BgWxam9d.js";
6
- import { u as Nl } from "./usePrinter-C1GiglOH.js";
6
+ import { u as Nl } from "./usePrinter-DTzqpYKF.js";
7
7
  import { u as Il } from "./useSvgExport-DrjCWun4.js";
8
8
  import { u as Xl } from "./useUserOptionState-BIvW1Kz7.js";
9
9
  import { u as Yl } from "./useChartAccessibility-9icAAmYg.js";
10
- import { t as Rl } from "./themes-Dw-dDudK.js";
11
- import jl from "./Legend-C8u37J42.js";
12
- import Ul from "./Title-CFmv95In.js";
13
- import { _ as Ke } from "./Shape-BhNvlGIN.js";
14
- import Vl from "./img-CFY3JivG.js";
10
+ import { t as Rl } from "./themes-AUNCOb2G.js";
11
+ import jl from "./Legend-G6GMcdAc.js";
12
+ import Ul from "./Title-BWp-37K_.js";
13
+ import { _ as Ke } from "./Shape-CNXKB8O0.js";
14
+ import Vl from "./img-BecE5qXd.js";
15
15
  import { _ as Gl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
16
  const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "height"], Jl = { key: 1 }, Kl = ["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 = {
17
17
  key: 2,
@@ -59,32 +59,32 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
59
59
  }
60
60
  },
61
61
  setup(Ft, { expose: Wt }) {
62
- const Nt = ne(() => import("./Tooltip-Cs4v8OnI.js")), It = ne(() => import("./BaseIcon-B5KaGWWC.js")), Xt = ne(() => import("./vue-ui-accordion-BKkTS12x.js")), Yt = ne(() => import("./DataTable-DOx3zgih.js")), Rt = ne(() => import("./PenAndPaper-Dj2diYr0.js")), jt = ne(() => import("./UserOptions-C0YT60JN.js")), Ut = ne(() => import("./PackageVersion-C6RwvG8P.js")), Vt = ne(() => import("./BaseDraggableDialog-CbuLbfrc.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());
62
+ const Nt = ne(() => import("./Tooltip-68Yi_FFl.js")), It = ne(() => import("./BaseIcon-BmMbm4d0.js")), Xt = ne(() => import("./vue-ui-accordion-UpZ765hd.js")), Yt = ne(() => import("./DataTable-BT7VF2ua.js")), Rt = ne(() => import("./PenAndPaper-DSvu9dwa.js")), jt = ne(() => import("./UserOptions-1OZ3jcm6.js")), Ut = ne(() => import("./PackageVersion-TgflyMpU.js")), Vt = ne(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_scatter: Gt } = El(), ee = Ft, et = T(() => !!ee.dataset && ee.dataset.length), W = M(kl()), Oe = M(!1), De = 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), Ee = M(null), Fe = M(null), qt = M(null), Ht = M(null), We = M(null), e = M(Ye());
63
63
  function Zt(l = 100, s = 0.8, t = {}) {
64
64
  const { meanX: o = 0, sdX: a = 1, meanY: u = 0, sdY: i = 1, seed: p } = t;
65
65
  let v = (p ?? Math.floor(Math.random() * 2 ** 31)) >>> 0;
66
66
  const g = () => (v = v * 1664525 + 1013904223 >>> 0, v / 2 ** 32), L = () => {
67
- let m = 0, D = 0;
67
+ let m = 0, E = 0;
68
68
  for (; m === 0; ) m = g();
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);
69
+ for (; E === 0; ) E = g();
70
+ return Math.sqrt(-2 * Math.log(m)) * Math.cos(2 * Math.PI * E);
71
+ }, d = l / 2, $ = Array.from({ length: d }, L), D = Array.from({ length: d }, L), C = (m) => m.reduce((E, _e) => E + _e, 0) / m.length, z = C($), I = C(D);
72
72
  for (let m = 0; m < d; m += 1)
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, Q = _(S) / d, se = Math.sqrt((1 - s * s) * V / Q), 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));
73
+ $[m] -= z, D[m] -= I;
74
+ const B = (m, E) => m.reduce((_e, Te, Ze) => _e + Te * E[Ze], 0), _ = (m) => B(m, m), h = B(D, $) / _($), S = D.map((m, E) => m - h * $[E]), V = _($) / d, Q = _(S) / d, se = Math.sqrt((1 - s * s) * V / Q), R = $.map((m, E) => s * m + se * S[E]), ve = $.concat($.map((m) => -m)), He = R.concat(R.map((m) => -m)), ke = (m) => Math.sqrt(_(m) / m.length), de = (m, E, _e) => {
75
+ const Te = ke(m);
76
+ return m.map((Ze) => _e + (Te ? Ze / Te * E : 0));
77
77
  }, he = de(ve, a, o), we = de(He, i, u);
78
78
  for (let m = he.length - 1; m > 0; m -= 1) {
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]];
79
+ const E = Math.floor(g() * (m + 1));
80
+ [he[m], he[E]] = [he[E], he[m]], [we[m], we[E]] = [we[E], we[m]];
81
81
  }
82
- return he.map((m, D) => ({ x: m, y: we[D] }));
82
+ return he.map((m, E) => ({ x: m, y: we[E] }));
83
83
  }
84
- const { loading: vt, FINAL_DATASET: We, manualLoading: Ne } = Fl({
84
+ const { loading: vt, FINAL_DATASET: Ne, manualLoading: Ie } = Fl({
85
85
  ...hl(ee),
86
86
  FINAL_CONFIG: e,
87
- prepareConfig: Xe,
87
+ prepareConfig: Ye,
88
88
  skeletonDataset: [
89
89
  {
90
90
  name: "",
@@ -125,8 +125,8 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
125
125
  }
126
126
  }
127
127
  })
128
- }), { userOptionsVisible: Ie, setUserOptionsVisibility: yt, keepUserOptionState: ct } = Xl({ config: e.value }), { svgRef: Me } = Yl({ config: e.value.style.title });
129
- function Xe() {
128
+ }), { userOptionsVisible: Xe, setUserOptionsVisibility: yt, keepUserOptionState: ct } = Xl({ config: e.value }), { svgRef: Me } = Yl({ config: e.value.style.title });
129
+ function Ye() {
130
130
  const l = Et({
131
131
  userConfig: ee.config,
132
132
  defaultConfig: Gt
@@ -139,8 +139,8 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
139
139
  customPalette: _l[l.theme] || ye
140
140
  } : l;
141
141
  }
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
142
+ ze(() => ee.config, (l) => {
143
+ vt.value || (e.value = Ye()), Xe.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
144
144
 
145
145
  - downsampling is disabled in this mode, all plots are rendered
146
146
 
@@ -149,8 +149,8 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
149
149
  - Depending on plot density, shapes might not display a border (stroke) to avoid fuzziness
150
150
 
151
151
  ℹ️ To remove this warning, set config.debug to false.`);
152
- }, { deep: !0 }), Te(() => ee.dataset, (l) => {
153
- Array.isArray(l) && l.length > 0 && (Ne.value = !1);
152
+ }, { deep: !0 }), ze(() => ee.dataset, (l) => {
153
+ Array.isArray(l) && l.length > 0 && (Ie.value = !1);
154
154
  }, { deep: !0 });
155
155
  const ae = Bt(null), ce = Bt(null);
156
156
  pl(() => {
@@ -162,7 +162,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
162
162
  componentName: "VueUiScatter",
163
163
  type: "dataset",
164
164
  debug: dt.value
165
- }), Ne.value = !0), Ot(ee.dataset) || (Ne.value = e.value.loading), e.value.responsive) {
165
+ }), Ie.value = !0), Ot(ee.dataset) || (Ie.value = e.value.loading), e.value.responsive) {
166
166
  const l = Ol(() => {
167
167
  const { width: s, height: t } = Dl({
168
168
  chart: te.value,
@@ -172,7 +172,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
172
172
  noTitle: st.value
173
173
  });
174
174
  requestAnimationFrame(() => {
175
- E.value.width = s, E.value.height = t;
175
+ F.value.width = s, F.value.height = t;
176
176
  });
177
177
  });
178
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);
@@ -189,27 +189,27 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
189
189
  showTable: e.value.table.show,
190
190
  showTooltip: e.value.style.tooltip.show
191
191
  });
192
- Te(e, () => {
192
+ ze(e, () => {
193
193
  H.value = {
194
194
  showTable: e.value.table.show,
195
195
  showTooltip: e.value.style.tooltip.show
196
196
  };
197
197
  }, { immediate: !0 });
198
- const E = M({
198
+ const F = M({
199
199
  height: e.value.style.layout.height,
200
200
  width: e.value.style.layout.width
201
201
  }), Ce = T(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), n = T(() => {
202
202
  let l = 0, s = 0;
203
- return Ee.value && (l = Ee.value.getBBox().width + 6), Fe.value && (s = Fe.value.getBBox().height + 6), {
203
+ return Fe.value && (l = Fe.value.getBBox().width + 6), We.value && (s = We.value.getBBox().height + 6), {
204
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,
205
+ right: F.value.width - e.value.style.layout.padding.right - Ce.value - 6,
206
+ bottom: F.value.height - e.value.style.layout.padding.bottom - s,
207
207
  left: e.value.style.layout.padding.left + l,
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
208
+ height: F.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: F.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - Ce.value - l - 6
210
210
  };
211
211
  }), P = T(() => {
212
- We.value.forEach((a, u) => {
212
+ Ne.value.forEach((a, u) => {
213
213
  Dt({
214
214
  datasetObject: a,
215
215
  requiredAttributes: ["values"]
@@ -236,10 +236,10 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
236
236
  });
237
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)));
238
238
  return { xMin: l >= 0 ? 0 : l, xMax: s, yMin: t >= 0 ? 0 : t, yMax: o };
239
- }), F = T(() => ({
239
+ }), O = T(() => ({
240
240
  x: n.value.left + Math.abs(P.value.xMin) / (P.value.xMax + Math.abs(P.value.xMin)) * n.value.width,
241
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
+ })), oe = T(() => Ne.value.map((l, s) => {
243
243
  const t = `cluster_${W.value}_${s}`;
244
244
  return {
245
245
  ...l,
@@ -261,7 +261,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
261
261
  fontSize: e.value.style.legend.fontSize,
262
262
  paddingBottom: 12,
263
263
  fontWeight: e.value.style.legend.bold ? "bold" : ""
264
- })), Ye = T(() => oe.value.map((l, s) => ({
264
+ })), Ae = T(() => oe.value.map((l, s) => ({
265
265
  ...l,
266
266
  plots: l.values.map((t) => ({
267
267
  x: n.value.left + (t.x + Math.abs(P.value.xMin)) / (P.value.xMax + Math.abs(P.value.xMin)) * n.value.width,
@@ -281,8 +281,8 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
281
281
  Number.isFinite(_) && Number.isFinite(h) && L.push({ x: _, y: h });
282
282
  }, $ = ({ x: _, y: h }) => _ >= i - 1e-9 && _ <= p + 1e-9 && h >= v - 1e-9 && h <= g + 1e-9;
283
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)));
284
- const O = L.filter($), C = [];
285
- for (const _ of O)
284
+ const D = L.filter($), C = [];
285
+ for (const _ of D)
286
286
  C.some((h) => Math.abs(h.x - _.x) < 1e-6 && Math.abs(h.y - _.y) < 1e-6) || C.push(_);
287
287
  if (C.length < 2) return null;
288
288
  let z = C[0], I = C[1], B = 0;
@@ -293,7 +293,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
293
293
  }
294
294
  return { x1: z.x, y1: z.y, x2: I.x, y2: I.y };
295
295
  };
296
- return Ye.value.map((t) => {
296
+ return Ae.value.map((t) => {
297
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;
298
298
  let i = 0, p = 0;
299
299
  for (const h of t.plots) {
@@ -304,14 +304,14 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
304
304
  p < 1e-9 ? (L = a, v = 1 / 0, g = null) : (v = i / p, g = u - v * a);
305
305
  let d, $;
306
306
  L !== null ? (d = 1 / 0, $ = null) : (d = v, $ = g);
307
- const O = t.plots.every((h) => h.v && typeof h.v.x == "number" && typeof h.v.y == "number");
307
+ const D = t.plots.every((h) => h.v && typeof h.v.x == "number" && typeof h.v.y == "number");
308
308
  let C = NaN;
309
309
  if (o >= 2) {
310
310
  let h = 0, S = 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);
311
+ D ? (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
312
  let V = 0, Q = 0, se = 0;
313
313
  for (const R of t.plots) {
314
- const ve = O ? R.v.x : R.x, He = O ? R.v.y : -R.y, ke = ve - h, de = He - S;
314
+ const ve = D ? R.v.x : R.x, He = D ? R.v.y : -R.y, ke = ve - h, de = He - S;
315
315
  V += ke * de, Q += ke * ke, se += de * de;
316
316
  }
317
317
  if (Q >= 1e-9 && se >= 1e-9) {
@@ -375,15 +375,15 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
375
375
  const h = Math.floor((B - o) / g), S = Math.floor((_ - u) / L);
376
376
  d[h] || (d[h] = 0), $[S] || ($[S] = 0), d[h] += 1, $[S] += 1;
377
377
  });
378
- const O = [], C = [];
378
+ const D = [], C = [];
379
379
  for (let B = 0; B < s; B += 1)
380
- O.push(o + (B + 0.5) * g), C.push(u + (B + 0.5) * L);
380
+ D.push(o + (B + 0.5) * g), C.push(u + (B + 0.5) * L);
381
381
  const z = Math.max(...d), I = Math.max(...$);
382
- return { x: d, y: $, avgX: O, avgY: C, maxX: z, maxY: I };
382
+ return { x: d, y: $, avgX: D, avgY: C, maxX: z, maxY: I };
383
383
  }
384
- const b = T(() => e.value.style.layout.marginalBars.tranches), A = T(() => kt(Ye.value, b.value)), el = T(() => {
384
+ const b = T(() => e.value.style.layout.marginalBars.tranches), A = T(() => kt(Ae.value, b.value)), el = T(() => {
385
385
  const l = n.value.top - e.value.style.layout.marginalBars.offset, s = n.value.right + e.value.style.layout.marginalBars.offset;
386
- return Ye.value.map((t) => {
386
+ return Ae.value.map((t) => {
387
387
  const o = kt(t, b.value);
388
388
  return {
389
389
  coords: o,
@@ -415,7 +415,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
415
415
  seriesIndex: s,
416
416
  series: U.value,
417
417
  config: e.value
418
- })) ? Oe.value = o({
418
+ })) ? De.value = o({
419
419
  datapoint: l,
420
420
  seriesIndex: s,
421
421
  series: U.value,
@@ -443,16 +443,16 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
443
443
  )}</b></div>`, t += `${e.value.style.layout.plots.deviation.translation}: <b>${K({
444
444
  v: l.deviation,
445
445
  r: e.value.style.layout.plots.deviation.roundingValue
446
- })}</b>`, t += "</div>", Oe.value = `<div>${t}</div>`), Pe.value = !0;
446
+ })}</b>`, t += "</div>", De.value = `<div>${t}</div>`), Oe.value = !0;
447
447
  }
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;
448
+ function Se(l, s) {
449
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: s }), Oe.value = !1, Y.value = void 0, f.value = null;
450
450
  }
451
451
  function Ue(l, s) {
452
452
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: s });
453
453
  }
454
454
  function wt(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
+ N.value.includes(l) ? N.value = N.value.filter((s) => s !== l) : N.value.length < Ne.value.length - 1 && N.value.push(l);
456
456
  }
457
457
  function Ve(l = null) {
458
458
  bl(() => {
@@ -466,7 +466,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
466
466
  l ? l(a) : Tl({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
467
467
  });
468
468
  }
469
- const Se = T(() => {
469
+ const Le = T(() => {
470
470
  const l = [
471
471
  e.value.table.translations.series,
472
472
  e.value.table.translations.correlationCoefficient,
@@ -507,9 +507,9 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
507
507
  function Mt() {
508
508
  H.value.showTooltip = !H.value.showTooltip;
509
509
  }
510
- const Le = M(!1);
510
+ const Be = M(!1);
511
511
  function Ge() {
512
- Le.value = !Le.value;
512
+ Be.value = !Be.value;
513
513
  }
514
514
  async function tl({ scale: l = 2 } = {}) {
515
515
  if (!te.value) return;
@@ -615,13 +615,13 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
615
615
  }));
616
616
  }
617
617
  if (!$.length) return null;
618
- const O = u(d.plots.length) > i || d.plots.length > p;
618
+ const D = u(d.plots.length) > i || d.plots.length > p;
619
619
  return {
620
620
  id: d.id,
621
621
  d: $.join(""),
622
- fill: ze(d.color, L * 100),
623
- stroke: O ? "none" : v,
624
- strokeWidth: O ? 0 : g,
622
+ fill: Pe(d.color, L * 100),
623
+ stroke: D ? "none" : v,
624
+ strokeWidth: D ? 0 : g,
625
625
  strokeOpacity: 1
626
626
  };
627
627
  }).filter(Boolean);
@@ -637,15 +637,15 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
637
637
  const a = o.inverse(), u = t.matrixTransform(a), i = 8, p = i * i;
638
638
  let v = null, g = 1 / 0, L = -1;
639
639
  if (U.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 = $);
640
+ d.plots.forEach((D) => {
641
+ const C = D.x - u.x, z = D.y - u.y, I = C * C + z * z;
642
+ I <= p && I < g && (g = I, v = D, L = $);
643
643
  });
644
644
  }), v)
645
645
  Y.value !== v.id && (Y.value = v.id, je(v, L));
646
646
  else if (Y.value) {
647
647
  const d = f.value;
648
- Y.value = void 0, Ae(d, L);
648
+ Y.value = void 0, Se(d, L);
649
649
  }
650
650
  } : () => null;
651
651
  }
@@ -653,7 +653,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
653
653
  function ul() {
654
654
  if (Y.value) {
655
655
  const l = f.value;
656
- Y.value = void 0, Ae(l, null);
656
+ Y.value = void 0, Se(l, null);
657
657
  }
658
658
  }
659
659
  function il(l) {
@@ -693,11 +693,11 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
693
693
  }
694
694
  };
695
695
  });
696
- Te(() => H.value.showTable, (l) => {
696
+ ze(() => H.value.showTable, (l) => {
697
697
  e.value.table.show || (l && e.value.table.useDialog && xe.value ? xe.value.open() : "close" in xe.value && xe.value.close());
698
698
  });
699
699
  function St() {
700
- H.value.showTable = !1, De.value && De.value.setTableIconState(!1);
700
+ H.value.showTable = !1, Ee.value && Ee.value.setTableIconState(!1);
701
701
  }
702
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
703
  svg: Me,
@@ -738,7 +738,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
738
738
  svgRef: c(Me),
739
739
  backgroundColor: e.value.style.backgroundColor,
740
740
  color: e.value.style.color,
741
- active: Le.value,
741
+ active: Be.value,
742
742
  onClose: Ge
743
743
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : x("", !0),
744
744
  Qt.value ? (r(), y("div", {
@@ -771,9 +771,9 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
771
771
  w("div", {
772
772
  id: `legend-top-${W.value}`
773
773
  }, null, 8, Hl),
774
- e.value.userOptions.show && et.value && (c(ct) || c(Ie)) ? (r(), le(c(jt), {
774
+ e.value.userOptions.show && et.value && (c(ct) || c(Xe)) ? (r(), le(c(jt), {
775
775
  ref_key: "userOptionsRef",
776
- ref: De,
776
+ ref: Ee,
777
777
  key: `user_options_${tt.value}`,
778
778
  backgroundColor: e.value.style.backgroundColor,
779
779
  color: e.value.style.color,
@@ -793,7 +793,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
793
793
  chartElement: te.value,
794
794
  position: e.value.userOptions.position,
795
795
  hasAnnotator: e.value.userOptions.buttons.annotator,
796
- isAnnotation: Le.value,
796
+ isAnnotation: Be.value,
797
797
  callbacks: e.value.userOptions.callbacks,
798
798
  printScale: e.value.userOptions.print.scale,
799
799
  tableDialog: e.value.table.useDialog,
@@ -806,7 +806,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
806
806
  onToggleTooltip: Mt,
807
807
  onToggleAnnotator: Ge,
808
808
  style: ue({
809
- visibility: c(ct) ? c(Ie) ? "visible" : "hidden" : "visible"
809
+ visibility: c(ct) ? c(Xe) ? "visible" : "hidden" : "visible"
810
810
  })
811
811
  }, zt({ _: 2 }, [
812
812
  l.$slots.menuIcon ? {
@@ -871,7 +871,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
871
871
  ref: Me,
872
872
  xmlns: c(Sl),
873
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}`,
874
+ viewBox: `0 0 ${F.value.width <= 0 ? 10 : F.value.width} ${F.value.height <= 0 ? 10 : F.value.height}`,
875
875
  style: ue(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`),
876
876
  onMouseleave: qe
877
877
  }, [
@@ -880,8 +880,8 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
880
880
  key: 0,
881
881
  x: 0,
882
882
  y: 0,
883
- width: E.value.width <= 0 ? 10 : E.value.width,
884
- height: E.value.height <= 0 ? 10 : E.value.height,
883
+ width: F.value.width <= 0 ? 10 : F.value.width,
884
+ height: F.value.height <= 0 ? 10 : F.value.height,
885
885
  style: {
886
886
  pointerEvents: "none"
887
887
  }
@@ -890,8 +890,8 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
890
890
  ], 8, Ql)) : x("", !0),
891
891
  e.value.style.layout.axis.show ? (r(), y("g", Jl, [
892
892
  w("line", {
893
- x1: F.value.x,
894
- x2: F.value.x,
893
+ x1: O.value.x,
894
+ x2: O.value.x,
895
895
  y1: n.value.top,
896
896
  y2: n.value.bottom,
897
897
  stroke: e.value.style.layout.axis.stroke,
@@ -901,8 +901,8 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
901
901
  w("line", {
902
902
  x1: n.value.left,
903
903
  x2: n.value.right,
904
- y1: F.value.y,
905
- y2: F.value.y,
904
+ y1: O.value.y,
905
+ y2: O.value.y,
906
906
  stroke: e.value.style.layout.axis.stroke,
907
907
  "stroke-width": e.value.style.layout.axis.strokeWidth,
908
908
  "stroke-linecap": "round"
@@ -1031,7 +1031,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1031
1031
  }, null, 8, ga),
1032
1032
  w("line", {
1033
1033
  x1: n.value.left,
1034
- x2: E.value.width,
1034
+ x2: F.value.width,
1035
1035
  y1: A.value.avgY[o] - n.value.height / b.value / 2,
1036
1036
  y2: A.value.avgY[o] - n.value.height / b.value / 2,
1037
1037
  stroke: e.value.style.layout.marginalBars.highlighter.stroke,
@@ -1041,7 +1041,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1041
1041
  }, null, 8, ma),
1042
1042
  w("line", {
1043
1043
  x1: n.value.left,
1044
- x2: E.value.width,
1044
+ x2: F.value.width,
1045
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),
1046
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),
1047
1047
  stroke: e.value.style.layout.marginalBars.highlighter.stroke,
@@ -1097,7 +1097,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1097
1097
  t.plots.length > 2 ? (r(), y("polygon", {
1098
1098
  key: 0,
1099
1099
  points: c(Ll)({ series: t.plots }),
1100
- fill: c(ze)(t.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
1100
+ fill: c(Pe)(t.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
1101
1101
  "stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
1102
1102
  "stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
1103
1103
  stroke: t.color,
@@ -1112,12 +1112,12 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1112
1112
  cx: a.x,
1113
1113
  cy: a.y,
1114
1114
  r: Y.value && Y.value === a.id ? a.weight * 2 : a.weight,
1115
- fill: c(ze)(t.color, e.value.style.layout.plots.opacity * 100),
1115
+ fill: c(Pe)(t.color, e.value.style.layout.plots.opacity * 100),
1116
1116
  stroke: e.value.style.layout.plots.stroke,
1117
1117
  "stroke-width": e.value.style.layout.plots.strokeWidth,
1118
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
1119
  onMouseover: (i) => je(a, o),
1120
- onMouseleave: (i) => Ae(a, o),
1120
+ onMouseleave: (i) => Se(a, o),
1121
1121
  onClick: (i) => Ue(a, o)
1122
1122
  }, null, 44, Sa))), 256))
1123
1123
  ])) : (r(), y("g", La, [
@@ -1125,12 +1125,12 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1125
1125
  plot: { x: a.x, y: a.y },
1126
1126
  radius: Y.value && Y.value === a.id ? a.weight * 2 : a.weight,
1127
1127
  shape: t.shape,
1128
- color: c(ze)(t.color, e.value.style.layout.plots.opacity * 100),
1128
+ color: c(Pe)(t.color, e.value.style.layout.plots.opacity * 100),
1129
1129
  stroke: e.value.style.layout.plots.stroke,
1130
1130
  strokeWidth: e.value.style.layout.plots.strokeWidth,
1131
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
1132
  onMouseover: (i) => je(a, o),
1133
- onMouseleave: (i) => Ae(a, o),
1133
+ onMouseleave: (i) => Se(a, o),
1134
1134
  onClick: (i) => Ue(a, o)
1135
1135
  }, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "style", "onMouseover", "onMouseleave", "onClick"]))), 256))
1136
1136
  ]))
@@ -1173,7 +1173,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1173
1173
  ], 64)) : x("", !0),
1174
1174
  f.value && e.value.style.layout.plots.selectors.show ? (r(), y("g", Oa, [
1175
1175
  w("line", {
1176
- x1: F.value.x,
1176
+ x1: O.value.x,
1177
1177
  x2: f.value.x,
1178
1178
  y1: f.value.y,
1179
1179
  y2: f.value.y,
@@ -1186,7 +1186,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1186
1186
  w("line", {
1187
1187
  x1: f.value.x,
1188
1188
  x2: f.value.x,
1189
- y1: F.value.y,
1189
+ y1: O.value.y,
1190
1190
  y2: f.value.y,
1191
1191
  stroke: e.value.style.layout.plots.selectors.stroke,
1192
1192
  "stroke-width": e.value.style.layout.plots.selectors.strokeWidth,
@@ -1195,12 +1195,12 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1195
1195
  class: "line-pointer"
1196
1196
  }, null, 8, Ea),
1197
1197
  w("text", {
1198
- x: F.value.x + (f.value.x > F.value.x ? -6 : 6),
1198
+ x: O.value.x + (f.value.x > O.value.x ? -6 : 6),
1199
1199
  y: f.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
1200
1200
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
1201
1201
  fill: e.value.style.layout.plots.selectors.labels.color,
1202
1202
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
1203
- "text-anchor": f.value.x > F.value.x ? "end" : "start"
1203
+ "text-anchor": f.value.x > O.value.x ? "end" : "start"
1204
1204
  }, G(c(ie)(
1205
1205
  e.value.style.layout.plots.selectors.labels.y.formatter,
1206
1206
  c(q)(f.value.v.y),
@@ -1214,7 +1214,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1214
1214
  )), 9, Fa),
1215
1215
  w("text", {
1216
1216
  x: f.value.x,
1217
- y: F.value.y + (f.value.y > F.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
1217
+ y: O.value.y + (f.value.y > O.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
1218
1218
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
1219
1219
  fill: e.value.style.layout.plots.selectors.labels.color,
1220
1220
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
@@ -1231,7 +1231,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1231
1231
  { datapoint: f.value }
1232
1232
  )), 9, Wa),
1233
1233
  w("circle", {
1234
- cx: F.value.x,
1234
+ cx: O.value.x,
1235
1235
  cy: f.value.y,
1236
1236
  r: e.value.style.layout.plots.selectors.markers.radius,
1237
1237
  fill: e.value.style.layout.plots.selectors.markers.fill,
@@ -1241,7 +1241,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1241
1241
  }, null, 8, Na),
1242
1242
  w("circle", {
1243
1243
  cx: f.value.x,
1244
- cy: F.value.y,
1244
+ cy: O.value.y,
1245
1245
  r: e.value.style.layout.plots.selectors.markers.radius,
1246
1246
  fill: e.value.style.layout.plots.selectors.markers.fill,
1247
1247
  stroke: e.value.style.layout.plots.selectors.markers.stroke,
@@ -1251,17 +1251,17 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1251
1251
  e.value.style.layout.plots.selectors.labels.showName ? (r(), y("text", {
1252
1252
  key: 0,
1253
1253
  x: f.value.x,
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),
1254
+ y: f.value.y + (f.value.y < O.value.y ? -e.value.style.layout.plots.selectors.labels.fontSize / 2 : e.value.style.layout.plots.selectors.labels.fontSize),
1255
1255
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
1256
1256
  fill: e.value.style.layout.plots.selectors.labels.color,
1257
1257
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
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"
1258
+ "text-anchor": f.value.x < n.value.left + 100 ? "start" : f.value.x > n.value.right - 100 ? "end" : f.value.x > O.value.x ? "start" : "end"
1259
1259
  }, G(f.value.v.name), 9, Xa)) : x("", !0)
1260
1260
  ])) : x("", !0),
1261
1261
  e.value.style.layout.dataLabels.xAxis.show ? (r(), y("g", {
1262
1262
  key: 7,
1263
1263
  ref_key: "xAxisLabelLeft",
1264
- ref: Ee
1264
+ ref: Fe
1265
1265
  }, [
1266
1266
  w("text", {
1267
1267
  id: `vue-ui-scatter-xAxis-label-${W.value}`,
@@ -1275,7 +1275,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1275
1275
  "text-anchor": "middle",
1276
1276
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
1277
1277
  fill: e.value.style.layout.dataLabels.xAxis.color,
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)`
1278
+ transform: `translate(${e.value.style.layout.dataLabels.xAxis.name ? e.value.style.layout.dataLabels.xAxis.fontSize * 3 : 0}, ${O.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`
1279
1279
  }, G(c(ie)(
1280
1280
  e.value.style.layout.plots.selectors.labels.x.formatter,
1281
1281
  c(q)(P.value.xMin),
@@ -1292,7 +1292,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1292
1292
  ref_key: "xAxisLabelRight",
1293
1293
  ref: qt,
1294
1294
  "text-anchor": "middle",
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)`,
1295
+ transform: `translate(${n.value.right + e.value.style.layout.padding.right + 6}, ${O.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`,
1296
1296
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
1297
1297
  fill: e.value.style.layout.dataLabels.xAxis.color
1298
1298
  }, G(c(ie)(
@@ -1309,7 +1309,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1309
1309
  key: 9,
1310
1310
  ref_key: "yAxisLabelTop",
1311
1311
  ref: Ht,
1312
- x: F.value.x,
1312
+ x: O.value.x,
1313
1313
  y: n.value.top - e.value.style.layout.dataLabels.yAxis.fontSize,
1314
1314
  "text-anchor": "middle",
1315
1315
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
@@ -1327,11 +1327,11 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1327
1327
  e.value.style.layout.dataLabels.yAxis.show ? (r(), y("g", {
1328
1328
  key: 10,
1329
1329
  ref_key: "yAxisLabelBottom",
1330
- ref: Fe
1330
+ ref: We
1331
1331
  }, [
1332
1332
  w("text", {
1333
- x: F.value.x,
1334
- y: E.value.height - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
1333
+ x: O.value.x,
1334
+ y: F.value.height - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
1335
1335
  "text-anchor": "middle",
1336
1336
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
1337
1337
  fill: e.value.style.layout.dataLabels.yAxis.color
@@ -1351,7 +1351,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1351
1351
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal",
1352
1352
  fill: e.value.style.layout.dataLabels.yAxis.color,
1353
1353
  x: n.value.left + n.value.width / 2,
1354
- y: E.value.height
1354
+ y: F.value.height
1355
1355
  }, G(e.value.style.layout.dataLabels.yAxis.name), 9, Ga)
1356
1356
  ], 512)) : x("", !0),
1357
1357
  w("clipPath", {
@@ -1390,7 +1390,16 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1390
1390
  })), 9, Ja)) : x("", !0)
1391
1391
  ]))), 256))
1392
1392
  ])) : x("", !0),
1393
- j(l.$slots, "svg", { svg: E.value }, void 0, !0)
1393
+ j(l.$slots, "svg", {
1394
+ svg: {
1395
+ ...F.value,
1396
+ drawingArea: {
1397
+ ...n.value,
1398
+ zero: O.value
1399
+ },
1400
+ data: Ae.value
1401
+ }
1402
+ }, void 0, !0)
1394
1403
  ], 46, Zl)),
1395
1404
  l.$slots.watermark ? (r(), y("div", Ka, [
1396
1405
  j(l.$slots, "watermark", pe(fe({ isPrinting: c(pt) || c(ft) })), void 0, !0)
@@ -1434,7 +1443,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1434
1443
  j(l.$slots, "source", {}, void 0, !0)
1435
1444
  ], 512)) : x("", !0),
1436
1445
  $e(c(Nt), {
1437
- show: H.value.showTooltip && Pe.value,
1446
+ show: H.value.showTooltip && Oe.value,
1438
1447
  backgroundColor: e.value.style.tooltip.backgroundColor,
1439
1448
  color: e.value.style.tooltip.color,
1440
1449
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -1445,7 +1454,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1445
1454
  position: e.value.style.tooltip.position,
1446
1455
  offsetY: e.value.style.tooltip.offsetY,
1447
1456
  parent: te.value,
1448
- content: Oe.value,
1457
+ content: De.value,
1449
1458
  isFullscreen: re.value,
1450
1459
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
1451
1460
  smooth: e.value.style.tooltip.smooth,
@@ -1481,10 +1490,10 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1481
1490
  content: X(() => [
1482
1491
  (r(), le(c(Yt), {
1483
1492
  key: `table_${ut.value}`,
1484
- colNames: Se.value.colNames,
1485
- head: Se.value.head,
1486
- body: Se.value.body,
1487
- config: Se.value.config,
1493
+ colNames: Le.value.colNames,
1494
+ head: Le.value.head,
1495
+ body: Le.value.body,
1496
+ config: Le.value.config,
1488
1497
  title: e.value.table.useDialog ? "" : be.value.title,
1489
1498
  withCloseButton: !e.value.table.useDialog,
1490
1499
  onClose: St
@@ -1532,7 +1541,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "heigh
1532
1541
  c(vt) ? (r(), le(Wl, { key: 8 })) : x("", !0)
1533
1542
  ], 46, ql));
1534
1543
  }
1535
- }, _o = /* @__PURE__ */ Gl(no, [["__scopeId", "data-v-33f7d698"]]);
1544
+ }, _o = /* @__PURE__ */ Gl(no, [["__scopeId", "data-v-5baf3192"]]);
1536
1545
  export {
1537
1546
  _o as default
1538
1547
  };