vue-data-ui 3.23.5 → 3.23.7

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 (155) hide show
  1. package/dist/{PackageVersion-QmpeTdwH.js → PackageVersion-Dy83B80Q.js} +1 -1
  2. package/dist/PenAndPaper-C0UZ74fa.js +571 -0
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-accordion.js +1 -1
  5. package/dist/components/vue-ui-age-pyramid.js +1 -1
  6. package/dist/components/vue-ui-annotator.js +1 -1
  7. package/dist/components/vue-ui-bullet.js +1 -1
  8. package/dist/components/vue-ui-bump.js +1 -1
  9. package/dist/components/vue-ui-candlestick.js +1 -1
  10. package/dist/components/vue-ui-carousel-table.js +1 -1
  11. package/dist/components/vue-ui-chestnut.js +1 -1
  12. package/dist/components/vue-ui-chord.js +1 -1
  13. package/dist/components/vue-ui-circle-pack.js +1 -1
  14. package/dist/components/vue-ui-cursor.js +1 -1
  15. package/dist/components/vue-ui-dag.js +1 -1
  16. package/dist/components/vue-ui-dashboard.js +1 -1
  17. package/dist/components/vue-ui-digits.js +1 -1
  18. package/dist/components/vue-ui-donut-evolution.js +1 -1
  19. package/dist/components/vue-ui-donut.js +1 -1
  20. package/dist/components/vue-ui-dumbbell.js +1 -1
  21. package/dist/components/vue-ui-flow.js +1 -1
  22. package/dist/components/vue-ui-funnel.js +1 -1
  23. package/dist/components/vue-ui-galaxy.js +1 -1
  24. package/dist/components/vue-ui-gauge.js +1 -1
  25. package/dist/components/vue-ui-geo.js +1 -1
  26. package/dist/components/vue-ui-gizmo.js +1 -1
  27. package/dist/components/vue-ui-heatmap.js +1 -1
  28. package/dist/components/vue-ui-hill.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-mini-loader.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-rating.js +1 -1
  42. package/dist/components/vue-ui-relation-circle.js +1 -1
  43. package/dist/components/vue-ui-ridgeline.js +1 -1
  44. package/dist/components/vue-ui-rings.js +1 -1
  45. package/dist/components/vue-ui-scatter.js +1 -1
  46. package/dist/components/vue-ui-skeleton.js +1 -1
  47. package/dist/components/vue-ui-smiley.js +1 -1
  48. package/dist/components/vue-ui-spark-trend.js +1 -1
  49. package/dist/components/vue-ui-sparkbar.js +1 -1
  50. package/dist/components/vue-ui-sparkgauge.js +1 -1
  51. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  52. package/dist/components/vue-ui-sparkline.js +1 -1
  53. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  54. package/dist/components/vue-ui-stackbar.js +1 -1
  55. package/dist/components/vue-ui-stackline.js +1 -1
  56. package/dist/components/vue-ui-strip-plot.js +1 -1
  57. package/dist/components/vue-ui-table-heatmap.js +1 -1
  58. package/dist/components/vue-ui-table-sparkline.js +1 -1
  59. package/dist/components/vue-ui-table.js +1 -1
  60. package/dist/components/vue-ui-thermometer.js +1 -1
  61. package/dist/components/vue-ui-timer.js +1 -1
  62. package/dist/components/vue-ui-tiremarks.js +1 -1
  63. package/dist/components/vue-ui-treemap.js +1 -1
  64. package/dist/components/vue-ui-vertical-bar.js +1 -1
  65. package/dist/components/vue-ui-waffle.js +1 -1
  66. package/dist/components/vue-ui-wheel.js +1 -1
  67. package/dist/components/vue-ui-word-cloud.js +1 -1
  68. package/dist/components/vue-ui-world.js +1 -1
  69. package/dist/components/vue-ui-xy-canvas.js +1 -1
  70. package/dist/components/vue-ui-xy.js +1 -1
  71. package/dist/{package-AMny8nIk.js → package-CMYqMdZB.js} +1 -1
  72. package/dist/{render-common-CzbQb-8Y.js → render-common-CqzziMg4.js} +1 -1
  73. package/dist/ssr/vue-ui-donut.js +1 -1
  74. package/dist/ssr/vue-ui-xy.js +1 -1
  75. package/dist/ssr.js +2 -2
  76. package/dist/style.css +1 -1
  77. package/dist/types/vue-data-ui.d.ts +13 -0
  78. package/dist/{useConfig-xRLM3Q8l.js → useConfig-DwdGsXTx.js} +15 -2
  79. package/dist/{useObjectBindings-B7drP349.js → useObjectBindings-BKkmFRiI.js} +2 -2
  80. package/dist/utils.js +1 -1
  81. package/dist/{vue-data-ui-VlsOsITu.js → vue-data-ui-C2MzofEj.js} +68 -68
  82. package/dist/vue-data-ui.js +69 -69
  83. package/dist/{vue-ui-3d-bar-CXOPbeiO.js → vue-ui-3d-bar-DbMCxsYc.js} +2 -2
  84. package/dist/{vue-ui-accordion-DIPkJSR5.js → vue-ui-accordion-CLU_su1P.js} +1 -1
  85. package/dist/{vue-ui-age-pyramid-BXsOR5vR.js → vue-ui-age-pyramid-Dmbk6rMP.js} +2 -2
  86. package/dist/{vue-ui-annotator-BUp16M0M.js → vue-ui-annotator-QjHngrui.js} +2 -2
  87. package/dist/{vue-ui-bullet-CQDSUZGN.js → vue-ui-bullet-DBZ3n4yK.js} +2 -2
  88. package/dist/{vue-ui-bump-Bi6vei_K.js → vue-ui-bump-CirnIRZw.js} +2 -2
  89. package/dist/{vue-ui-candlestick-vlN6ggwT.js → vue-ui-candlestick-DZX6VVMs.js} +2 -2
  90. package/dist/{vue-ui-carousel-table-BsM01Vhv.js → vue-ui-carousel-table-CWhd8Plu.js} +2 -2
  91. package/dist/{vue-ui-chestnut-DeZm4G27.js → vue-ui-chestnut-CMktwDOV.js} +2 -2
  92. package/dist/{vue-ui-chord-BVZ0JwUk.js → vue-ui-chord-_3zAHsdj.js} +2 -2
  93. package/dist/{vue-ui-circle-pack-BPfju3EJ.js → vue-ui-circle-pack-BhcQw1-I.js} +2 -2
  94. package/dist/{vue-ui-cursor-CXA7DIe8.js → vue-ui-cursor-Bo39SVBr.js} +2 -2
  95. package/dist/{vue-ui-dag-B-DSsdY1.js → vue-ui-dag-DEF_uf-N.js} +2 -2
  96. package/dist/{vue-ui-dashboard-DgluDGFX.js → vue-ui-dashboard-DFIIsh3Z.js} +66 -66
  97. package/dist/{vue-ui-digits-B0A9bPI5.js → vue-ui-digits-BrIyw5fg.js} +2 -2
  98. package/dist/{vue-ui-donut-C03nCGpX.js → vue-ui-donut-CpOqB9bK.js} +2 -2
  99. package/dist/{vue-ui-donut-HCALQsex.js → vue-ui-donut-IafNVctv.js} +2 -2
  100. package/dist/{vue-ui-donut-evolution-vfnMiNoN.js → vue-ui-donut-evolution-BmNVUdQJ.js} +2 -2
  101. package/dist/{vue-ui-dumbbell-CQBMWG-l.js → vue-ui-dumbbell-Bx0yMiUm.js} +2 -2
  102. package/dist/{vue-ui-flow-XZss-d4f.js → vue-ui-flow-Fk99WJs7.js} +2 -2
  103. package/dist/{vue-ui-funnel-D64cvpBm.js → vue-ui-funnel-D1TarfGe.js} +2 -2
  104. package/dist/{vue-ui-galaxy-Dh9FC1po.js → vue-ui-galaxy-CTKKLd-F.js} +2 -2
  105. package/dist/{vue-ui-gauge-DNWuelXL.js → vue-ui-gauge-DixSuz96.js} +2 -2
  106. package/dist/{vue-ui-geo-Q45Z0d9t.js → vue-ui-geo-BdSJqRTr.js} +2 -2
  107. package/dist/{vue-ui-gizmo-EhW4Yj0N.js → vue-ui-gizmo-BvsWv7cn.js} +2 -2
  108. package/dist/{vue-ui-heatmap-D-S6iVj0.js → vue-ui-heatmap-B2BZy3E-.js} +3 -3
  109. package/dist/{vue-ui-hill-DBJ9tInh.js → vue-ui-hill-DVJJzAAy.js} +2 -2
  110. package/dist/{vue-ui-history-plot-DFeFFGSZ.js → vue-ui-history-plot-BmEHbHlS.js} +2 -2
  111. package/dist/{vue-ui-horizontal-bar-B-t3zdFz.js → vue-ui-horizontal-bar-BnoA1A4R.js} +3 -3
  112. package/dist/{vue-ui-kpi-DoCo4ZAq.js → vue-ui-kpi-DOp84kGR.js} +2 -2
  113. package/dist/{vue-ui-mini-loader-ow1PDKqt.js → vue-ui-mini-loader-SNMKnmMa.js} +1 -1
  114. package/dist/{vue-ui-molecule-Bz-IHYv6.js → vue-ui-molecule-XDZzvX7C.js} +2 -2
  115. package/dist/{vue-ui-mood-radar-DPoF1xPe.js → vue-ui-mood-radar-D0j2W6G-.js} +2 -2
  116. package/dist/{vue-ui-nested-donuts-idh-j_dl.js → vue-ui-nested-donuts-BZF53Z7q.js} +2 -2
  117. package/dist/{vue-ui-onion-Dood2FqS.js → vue-ui-onion-1igRoVIp.js} +2 -2
  118. package/dist/{vue-ui-parallel-coordinate-plot-CTRW-9bD.js → vue-ui-parallel-coordinate-plot-CmzCg7s7.js} +2 -2
  119. package/dist/{vue-ui-quadrant-DdbUGvzU.js → vue-ui-quadrant-CHfXIMG-.js} +2 -2
  120. package/dist/{vue-ui-quick-chart-Bi9tGI-u.js → vue-ui-quick-chart-9-Qnx_Kz.js} +2 -2
  121. package/dist/{vue-ui-radar-BVRE6v_s.js → vue-ui-radar-Db7AYBVg.js} +2 -2
  122. package/dist/{vue-ui-rating-BpFfa4CS.js → vue-ui-rating-BnXrMeGg.js} +1 -1
  123. package/dist/{vue-ui-relation-circle-B4xfo1E7.js → vue-ui-relation-circle-B3edjo3F.js} +2 -2
  124. package/dist/{vue-ui-ridgeline-DyWbiQNg.js → vue-ui-ridgeline-Bv-zLQ97.js} +2 -2
  125. package/dist/{vue-ui-rings-BfYL9hMO.js → vue-ui-rings-B8PHv7n8.js} +2 -2
  126. package/dist/{vue-ui-scatter-RvLKQUL4.js → vue-ui-scatter-Bb6KG5JD.js} +2 -2
  127. package/dist/{vue-ui-skeleton-Ck0Nq_dn.js → vue-ui-skeleton-CPoc6Owm.js} +2 -2
  128. package/dist/{vue-ui-smiley-DnsU4Jem.js → vue-ui-smiley-BQuXRW4o.js} +1 -1
  129. package/dist/{vue-ui-spark-trend-BzF1FhA5.js → vue-ui-spark-trend-C-84OhV_.js} +2 -2
  130. package/dist/{vue-ui-sparkbar-stqU6JTt.js → vue-ui-sparkbar-CqAsZIv7.js} +2 -2
  131. package/dist/{vue-ui-sparkgauge-D-YaMv2r.js → vue-ui-sparkgauge-B4RzqC0W.js} +2 -2
  132. package/dist/{vue-ui-sparkhistogram-KL0NLePf.js → vue-ui-sparkhistogram-Bfrn9PCA.js} +2 -2
  133. package/dist/{vue-ui-sparkline-eCysP_-V.js → vue-ui-sparkline-M2i8hZ-F.js} +2 -2
  134. package/dist/{vue-ui-sparkstackbar-dhTCfleQ.js → vue-ui-sparkstackbar-Bai-Pfzu.js} +2 -2
  135. package/dist/{vue-ui-stackbar-BNMgum7u.js → vue-ui-stackbar-DZgRubem.js} +2 -2
  136. package/dist/{vue-ui-stackline-DskDMrgM.js → vue-ui-stackline-DFZUoZvY.js} +2 -2
  137. package/dist/{vue-ui-strip-plot-ItsPmUkY.js → vue-ui-strip-plot-CJacirOo.js} +394 -387
  138. package/dist/{vue-ui-table-BDbYOygV.js → vue-ui-table-DBzvP2ym.js} +3 -3
  139. package/dist/{vue-ui-table-heatmap-Dh8LN7-3.js → vue-ui-table-heatmap-DRABMw2H.js} +1 -1
  140. package/dist/{vue-ui-table-sparkline-CdOHPHx8.js → vue-ui-table-sparkline-wyjv7lH2.js} +2 -2
  141. package/dist/{vue-ui-thermometer-BWTK1Kzj.js → vue-ui-thermometer-DYj19_DZ.js} +2 -2
  142. package/dist/{vue-ui-timer-OtkFW5hj.js → vue-ui-timer-BPf8xQBa.js} +2 -2
  143. package/dist/{vue-ui-tiremarks-BeLS-qd1.js → vue-ui-tiremarks-CB2uiMTU.js} +2 -2
  144. package/dist/{vue-ui-treemap-CuubuUdj.js → vue-ui-treemap-MC_-L3n4.js} +2 -2
  145. package/dist/vue-ui-waffle-C6PGQQya.js +1612 -0
  146. package/dist/{vue-ui-wheel-CzvqEBBJ.js → vue-ui-wheel-BT7AT9NJ.js} +2 -2
  147. package/dist/{vue-ui-word-cloud-Q3QIlJjr.js → vue-ui-word-cloud-DIr_9Qnb.js} +2 -2
  148. package/dist/{vue-ui-world-B_HDGmvz.js → vue-ui-world-CZOKJNuR.js} +2 -2
  149. package/dist/{vue-ui-xy-R_Gw0nak.js → vue-ui-xy-CLwh64AO.js} +3 -3
  150. package/dist/{vue-ui-xy-BsCa9b8S.js → vue-ui-xy-Dv_310kS.js} +2 -2
  151. package/dist/{vue-ui-xy-canvas-CoxFOWek.js → vue-ui-xy-canvas-B-KxaFGF.js} +2 -2
  152. package/dist/{vue_ui_waffle-DIARFc7g.js → vue_ui_waffle-DE_DiSVP.js} +14 -7
  153. package/package.json +1 -1
  154. package/dist/PenAndPaper-DAE-tnEQ.js +0 -461
  155. package/dist/vue-ui-waffle-BpR55zbX.js +0 -1386
@@ -1,36 +1,36 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, D as n, G as r, Jt as i, Kt as a, Ot as o, Pt as s, S as c, X as l, Y as u, Zt as ee, _ as te, b as ne, ct as re, i as ie, jt as ae, pt as oe, q as se, qt as ce, t as le, tt as ue, w as de, x as d, xt as fe } from "./lib-Bttd6u5E.js";
3
- import { n as pe, t as me } from "./useHints-Dq_w2E8B.js";
4
- import { t as he } from "./useConfig-xRLM3Q8l.js";
5
- import { t as ge } from "./usePrinter-DN5bYhTG.js";
6
- import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as ye } from "./useNestedProp-vPNvh7rV.js";
8
- import { t as be } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as xe } from "./useChartExport-DNiwdPmb.js";
10
- import { t as Se } from "./useTransitions-g_zBREk2.js";
11
- import { t as Ce } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
- import { t as we } from "./img-Bnokohej.js";
13
- import { n as Te } from "./Title-BE3qg9xl.js";
14
- import { t as Ee } from "./Shape-C21CMlWS.js";
15
- import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
- import { l as Oe, t as ke } from "./useResponsive-ZtArZtUf.js";
17
- import { t as Ae } from "./DefGrad-DVBqDjhO.js";
18
- import { t as je } from "./A11yDataTable-DdRsVULz.js";
19
- import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
20
- import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
21
- import { t as Pe } from "./vue_ui_strip_plot-BaHbnnwN.js";
22
- import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as Fe, createTextVNode as Ie, createVNode as Le, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as Re, nextTick as ze, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as Be, onMounted as Ve, openBlock as C, ref as w, renderList as T, renderSlot as E, resolveDynamicComponent as He, shallowRef as Ue, toDisplayString as D, toRefs as We, unref as O, watch as Ge, watchEffect as Ke, withCtx as k } from "vue";
2
+ import { $ as t, D as n, G as r, Jt as i, Kt as a, Ot as o, Pt as s, S as c, X as l, Y as u, Zt as ee, _ as te, b as ne, ct as re, i as ie, jt as ae, pt as oe, q as se, qt as ce, t as le, tt as ue, v as de, w as fe, x as d, xt as pe } from "./lib-Bttd6u5E.js";
3
+ import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
4
+ import { t as ge } from "./useConfig-DwdGsXTx.js";
5
+ import { t as _e } from "./usePrinter-DN5bYhTG.js";
6
+ import { n as ve, t as ye } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as be } from "./useNestedProp-vPNvh7rV.js";
8
+ import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as Se } from "./useChartExport-DNiwdPmb.js";
10
+ import { t as Ce } from "./useTransitions-g_zBREk2.js";
11
+ import { t as we } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
+ import { t as Te } from "./img-Bnokohej.js";
13
+ import { n as Ee } from "./Title-BE3qg9xl.js";
14
+ import { t as De } from "./Shape-C21CMlWS.js";
15
+ import { t as Oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
+ import { l as ke, t as Ae } from "./useResponsive-ZtArZtUf.js";
17
+ import { t as je } from "./DefGrad-DVBqDjhO.js";
18
+ import { t as Me } from "./A11yDataTable-DdRsVULz.js";
19
+ import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
20
+ import { t as Pe } from "./useChartAccessibility-DYqac8yF.js";
21
+ import { t as Fe } from "./vue_ui_strip_plot-BaHbnnwN.js";
22
+ import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as Ie, createTextVNode as Le, createVNode as Re, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as ze, nextTick as Be, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as Ve, onMounted as He, openBlock as C, ref as w, renderList as T, renderSlot as E, resolveDynamicComponent as Ue, shallowRef as We, toDisplayString as D, toRefs as Ge, unref as O, watch as Ke, watchEffect as qe, withCtx as k } from "vue";
23
23
  //#region src/components/vue-ui-strip-plot.vue
24
- var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe = { style: { position: "relative" } }, Ze = [
24
+ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze = { style: { position: "relative" } }, Qe = [
25
25
  "xmlns",
26
26
  "viewBox",
27
27
  "aria-describedby"
28
- ], Qe = [
28
+ ], $e = [
29
29
  "x",
30
30
  "y",
31
31
  "width",
32
32
  "height"
33
- ], $e = { key: 1 }, et = { key: 0 }, tt = [
33
+ ], et = { key: 1 }, tt = { key: 0 }, nt = [
34
34
  "x1",
35
35
  "x2",
36
36
  "y1",
@@ -38,7 +38,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
38
38
  "stroke",
39
39
  "stroke-width",
40
40
  "stroke-dasharray"
41
- ], nt = { key: 1 }, rt = [
41
+ ], rt = { key: 1 }, it = [
42
42
  "x1",
43
43
  "x2",
44
44
  "y1",
@@ -46,59 +46,59 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
46
46
  "stroke",
47
47
  "stroke-width",
48
48
  "stroke-dasharray"
49
- ], it = [
49
+ ], at = [
50
50
  "x1",
51
51
  "x2",
52
52
  "y1",
53
53
  "y2",
54
54
  "stroke",
55
55
  "stroke-width"
56
- ], at = [
56
+ ], ot = [
57
57
  "x1",
58
58
  "x2",
59
59
  "y1",
60
60
  "y2",
61
61
  "stroke",
62
62
  "stroke-width"
63
- ], ot = [
63
+ ], st = [
64
64
  "transform",
65
65
  "fill",
66
66
  "font-size"
67
- ], st = [
67
+ ], ct = [
68
68
  "transform",
69
69
  "font-size",
70
70
  "fill",
71
71
  "text-anchor"
72
- ], ct = [
72
+ ], lt = [
73
73
  "transform",
74
74
  "font-size",
75
75
  "fill",
76
76
  "text-anchor",
77
77
  "innerHTML"
78
- ], lt = [
78
+ ], ut = [
79
79
  "fill",
80
80
  "font-size",
81
81
  "transform"
82
- ], ut = [
82
+ ], dt = [
83
83
  "fill",
84
84
  "font-size",
85
85
  "x",
86
86
  "y"
87
- ], dt = [
87
+ ], ft = [
88
88
  "x1",
89
89
  "x2",
90
90
  "y1",
91
91
  "y2",
92
92
  "stroke"
93
- ], ft = [
93
+ ], pt = [
94
94
  "cx",
95
95
  "cy",
96
96
  "fill"
97
- ], pt = [
97
+ ], mt = [
98
98
  "cx",
99
99
  "cy",
100
100
  "fill"
101
- ], mt = [
101
+ ], ht = [
102
102
  "d",
103
103
  "fill",
104
104
  "stroke",
@@ -106,7 +106,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
106
106
  "stroke-opacity",
107
107
  "stroke-width",
108
108
  "onMouseenter"
109
- ], ht = [
109
+ ], gt = [
110
110
  "x1",
111
111
  "x2",
112
112
  "y1",
@@ -114,14 +114,14 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
114
114
  "stroke",
115
115
  "stroke-opacity",
116
116
  "stroke-width"
117
- ], gt = ["onMouseenter"], _t = [
117
+ ], _t = ["onMouseenter"], vt = [
118
118
  "x1",
119
119
  "x2",
120
120
  "y1",
121
121
  "y2",
122
122
  "stroke",
123
123
  "stroke-width"
124
- ], vt = [
124
+ ], yt = [
125
125
  "x",
126
126
  "y",
127
127
  "width",
@@ -130,18 +130,18 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
130
130
  "stroke",
131
131
  "stroke-width",
132
132
  "rx"
133
- ], yt = [
133
+ ], bt = [
134
134
  "cx",
135
135
  "cy",
136
136
  "r",
137
137
  "fill",
138
138
  "stroke"
139
- ], bt = { key: 1 }, xt = [
139
+ ], xt = { key: 1 }, St = [
140
140
  "x",
141
141
  "y",
142
142
  "font-size",
143
143
  "fill"
144
- ], St = {
144
+ ], Ct = {
145
145
  key: 0,
146
146
  style: {
147
147
  position: "absolute",
@@ -151,10 +151,10 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
151
151
  },
152
152
  "data-dom-to-png-ignore": "",
153
153
  "aria-hidden": "true"
154
- }, Ct = {
154
+ }, wt = {
155
155
  key: 5,
156
156
  class: "vue-data-ui-watermark"
157
- }, wt = ["innerHTML"], Tt = /*#__PURE__*/ De({
157
+ }, Tt = ["innerHTML"], Et = /*#__PURE__*/ Oe({
158
158
  __name: "vue-ui-strip-plot",
159
159
  props: {
160
160
  config: {
@@ -171,27 +171,27 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
171
171
  }
172
172
  },
173
173
  emits: ["selectDatapoint", "copyAlt"],
174
- setup(e, { expose: De, emit: qe }) {
175
- let Tt = v(() => import("./Tooltip-DhjyfHwz.js")), Et = v(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Dt = v(() => import("./vue-ui-accordion-DIPkJSR5.js").then((e) => e.n)), Ot = v(() => import("./DataTable-BbKgJ5UI.js")), kt = v(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), At = v(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), jt = v(() => import("./PackageVersion-QmpeTdwH.js").then((e) => e.t)), Mt = v(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), Nt = [
174
+ setup(e, { expose: Oe, emit: Je }) {
175
+ let Et = v(() => import("./Tooltip-DhjyfHwz.js")), Dt = v(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Ot = v(() => import("./vue-ui-accordion-CLU_su1P.js").then((e) => e.n)), kt = v(() => import("./DataTable-BbKgJ5UI.js")), At = v(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), jt = v(() => import("./PenAndPaper-C0UZ74fa.js").then((e) => e.t)), Mt = v(() => import("./PackageVersion-Dy83B80Q.js").then((e) => e.t)), Nt = v(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), Pt = [
176
176
  "classic",
177
177
  "scatter",
178
178
  "violin"
179
- ], { vue_ui_strip_plot: Pt } = he(), { isThemeValid: Ft, warnInvalidTheme: It } = be(), A = e, Lt = qe, Rt = p({
179
+ ], { vue_ui_strip_plot: Ft } = ge(), { isThemeValid: It, warnInvalidTheme: Lt } = xe(), A = e, Rt = Je, zt = p({
180
180
  get() {
181
181
  return !!A.dataset && A.dataset.length;
182
182
  },
183
183
  set(e) {
184
184
  return e;
185
185
  }
186
- }), j = w(se()), zt = w(0), M = w(!1), Bt = w(""), N = w(null), Vt = w(null), Ht = w(null), Ut = w(null), Wt = w(!1), Gt = w(0), Kt = w(0), qt = w(null), Jt = w(null), Yt = w(null), Xt = w(null), Zt = w(null), Qt = w(null), $t = w(null), en = w(null), P = w("pointer"), tn = w({
186
+ }), j = w(se()), Bt = w(0), M = w(!1), Vt = w(""), N = w(null), Ht = w(null), Ut = w(null), Wt = w(null), Gt = w(!1), Kt = w(0), qt = w(0), Jt = w(null), Yt = w(null), Xt = w(null), Zt = w(null), Qt = w(null), $t = w(null), en = w(null), tn = w(null), P = w("pointer"), nn = w({
187
187
  x: 0,
188
188
  y: 0
189
- }), nn = w(!1), F = w(pn());
190
- pe({
189
+ }), rn = w(!1), F = w(mn());
190
+ me({
191
191
  config: () => F.value,
192
192
  dataset: () => A.dataset,
193
193
  component: "VueUiStripPlot",
194
- rules: [me.emptyArray, {
194
+ rules: [he.emptyArray, {
195
195
  test: (e) => e.length > 12,
196
196
  message: [
197
197
  "👀 The number of series is > 12. Consider:",
@@ -202,10 +202,10 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
202
202
  ]
203
203
  }]
204
204
  });
205
- let { transitionEnabled: rn } = Se({
205
+ let { transitionEnabled: an } = Ce({
206
206
  config: () => F.value.transitions,
207
207
  dataset: () => A.dataset
208
- }), an = p(() => mn(F.value.type)), I = p(() => F.value.userOptions.useCursorPointer), on = p(() => i({
208
+ }), on = p(() => hn(F.value.type)), I = p(() => F.value.userOptions.useCursorPointer), sn = p(() => i({
209
209
  defaultConfig: {
210
210
  userOptions: { show: !1 },
211
211
  table: { show: !1 },
@@ -235,10 +235,10 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
235
235
  } }
236
236
  },
237
237
  userConfig: F.value.skeletonConfig ?? {}
238
- })), { loading: sn, FINAL_DATASET: cn, manualLoading: ln } = _e({
239
- ...We(A),
238
+ })), { loading: cn, FINAL_DATASET: ln, manualLoading: un } = ve({
239
+ ...Ge(A),
240
240
  FINAL_CONFIG: F,
241
- prepareConfig: pn,
241
+ prepareConfig: mn,
242
242
  skeletonDataset: A.config?.skeletonDataset ?? [
243
243
  {
244
244
  name: "_",
@@ -333,20 +333,20 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
333
333
  ],
334
334
  skeletonConfig: i({
335
335
  defaultConfig: F.value,
336
- userConfig: on.value
336
+ userConfig: sn.value
337
337
  })
338
- }), { userOptionsVisible: un, setUserOptionsVisibility: dn, keepUserOptionState: fn } = Me({ config: F.value }), { svgRef: L } = Ne({ config: F.value.style.chart.title });
339
- function pn() {
340
- let e = ye({
338
+ }), { userOptionsVisible: dn, setUserOptionsVisibility: fn, keepUserOptionState: pn } = Ne({ config: F.value }), { svgRef: L } = Pe({ config: F.value.style.chart.title });
339
+ function mn() {
340
+ let e = be({
341
341
  userConfig: A.config,
342
- defaultConfig: Pt
342
+ defaultConfig: Ft
343
343
  }), t = e.theme;
344
344
  if (!t) return e;
345
- if (!Ft.value(e)) return It(e), e;
346
- let n = ye({
347
- userConfig: Pe[t] || A.config,
345
+ if (!It.value(e)) return Lt(e), e;
346
+ let n = be({
347
+ userConfig: Fe[t] || A.config,
348
348
  defaultConfig: e
349
- }), r = ye({
349
+ }), r = be({
350
350
  userConfig: A.config,
351
351
  defaultConfig: n
352
352
  });
@@ -355,134 +355,134 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
355
355
  customPalette: r.customPalette.length ? r.customPalette : a[t] || s
356
356
  };
357
357
  }
358
- function mn(e) {
359
- return Nt.includes(e) ? e : "classic";
358
+ function hn(e) {
359
+ return Pt.includes(e) ? e : "classic";
360
360
  }
361
- Ge(() => A.config, async (e) => {
362
- sn.value || (F.value = pn()), un.value = !F.value.userOptions.showOnChartHover, gn(), Gt.value += 1, Kt.value += 1, H.value.dataLabels.show = F.value.style.chart.labels.bestPlotLabel.show, H.value.showTable = F.value.table.show, H.value.showTooltip = F.value.style.chart.tooltip.show, B.value = F.value.style.chart.width, V.value = F.value.style.chart.height, En.value = F.value.style.chart.plots.radius;
363
- }, { deep: !0 }), Ge(() => A.dataset, (e) => {
364
- Array.isArray(e) && e.length > 0 && (ln.value = !1);
361
+ Ke(() => A.config, async (e) => {
362
+ cn.value || (F.value = mn()), dn.value = !F.value.userOptions.showOnChartHover, _n(), Kt.value += 1, qt.value += 1, H.value.dataLabels.show = F.value.style.chart.labels.bestPlotLabel.show, H.value.showTable = F.value.table.show, H.value.showTooltip = F.value.style.chart.tooltip.show, B.value = F.value.style.chart.width, V.value = F.value.style.chart.height, Dn.value = F.value.style.chart.plots.radius;
363
+ }, { deep: !0 }), Ke(() => A.dataset, (e) => {
364
+ Array.isArray(e) && e.length > 0 && (un.value = !1);
365
365
  }, { deep: !0 });
366
- let R = Ue(null), z = Ue(null);
367
- Ve(() => {
368
- gn();
366
+ let R = We(null), z = We(null);
367
+ He(() => {
368
+ _n();
369
369
  });
370
- let hn = p(() => F.value.debug);
371
- function gn() {
370
+ let gn = p(() => F.value.debug);
371
+ function _n() {
372
372
  if (ae(A.dataset) ? (ue({
373
373
  componentName: "VueUiStripPlot",
374
374
  type: "dataset",
375
- debug: hn.value
376
- }), ln.value = !0) : A.dataset.forEach((e, t) => {
375
+ debug: gn.value
376
+ }), un.value = !0) : A.dataset.forEach((e, t) => {
377
377
  oe({
378
378
  datasetObject: e,
379
379
  requiredAttributes: ["name", "plots"]
380
380
  }).forEach((e) => {
381
- Rt.value = !1, ue({
381
+ zt.value = !1, ue({
382
382
  componentName: "VueUiStripPlot",
383
383
  type: "datasetSerieAttribute",
384
384
  property: e,
385
385
  index: t,
386
- debug: hn.value
386
+ debug: gn.value
387
387
  });
388
388
  }), e.plots && e.plots.forEach((e, n) => {
389
389
  oe({
390
390
  datasetObject: e,
391
391
  requiredAttributes: ["name", "value"]
392
392
  }).forEach((e) => {
393
- Rt.value = !1, ue({
393
+ zt.value = !1, ue({
394
394
  componentName: "VueUiStripPlot",
395
395
  type: "datasetSerieAttribute",
396
396
  property: e,
397
397
  index: `${t},${n}`,
398
- debug: hn.value
398
+ debug: gn.value
399
399
  });
400
400
  });
401
401
  });
402
- }), ae(A.dataset) || (ln.value = F.value.loading), F.value.responsive) {
403
- let e = Oe(() => {
404
- let { width: e, height: t } = ke({
402
+ }), ae(A.dataset) || (un.value = F.value.loading), F.value.responsive) {
403
+ let e = ke(() => {
404
+ let { width: e, height: t } = Ae({
405
405
  chart: N.value,
406
- title: F.value.style.chart.title.text ? Vt.value : null,
407
- source: Ht.value,
408
- noTitle: Ut.value
406
+ title: F.value.style.chart.title.text ? Ht.value : null,
407
+ source: Ut.value,
408
+ noTitle: Wt.value
409
409
  });
410
410
  requestAnimationFrame(() => {
411
- Tn.value = t, B.value = Math.max(.1, e), V.value = Math.max(.1, t - 12), F.value.responsiveProportionalSizing ? En.value = ce({
411
+ En.value = t, B.value = Math.max(.1, e), V.value = Math.max(.1, t - 12), F.value.responsiveProportionalSizing ? Dn.value = ce({
412
412
  relator: Math.min(t, e),
413
413
  adjuster: 600,
414
414
  source: F.value.style.chart.plots.radius,
415
415
  threshold: 6,
416
416
  fallback: 6
417
- }) : En.value = F.value.style.chart.plots.radius;
417
+ }) : Dn.value = F.value.style.chart.plots.radius;
418
418
  });
419
419
  });
420
420
  R.value && (z.value && R.value.unobserve(z.value), R.value.disconnect()), R.value = new ResizeObserver(e), z.value = N.value.parentNode, R.value.observe(z.value);
421
421
  }
422
- Wt.value = !0, setTimeout(() => {
423
- Cn.value = !1;
424
- }, Nn.value * 50);
422
+ Gt.value = !0, setTimeout(() => {
423
+ wn.value = !1;
424
+ }, Pn.value * 50);
425
425
  }
426
- Be(() => {
426
+ Ve(() => {
427
427
  R.value && (z.value && R.value.unobserve(z.value), R.value.disconnect());
428
428
  });
429
- let { isPrinting: _n, isImaging: vn, generatePdf: yn, generateImage: bn } = ge({
429
+ let { isPrinting: vn, isImaging: yn, generatePdf: bn, generateImage: xn } = _e({
430
430
  elementId: `strip-plot_${j.value}`,
431
431
  fileName: F.value.style.chart.title.text || "vue-ui-strip-plot",
432
432
  options: F.value.userOptions.print
433
- }), xn = p(() => F.value.userOptions.show && !F.value.style.chart.title.text), Sn = p(() => de(F.value.customPalette)), Cn = w(F.value.useCssAnimation), wn = w({
433
+ }), Sn = p(() => F.value.userOptions.show && !F.value.style.chart.title.text), Cn = p(() => fe(F.value.customPalette)), wn = w(F.value.useCssAnimation), Tn = w({
434
434
  top: F.value.style.chart.padding.top,
435
435
  bottom: F.value.style.chart.padding.bottom,
436
436
  left: F.value.style.chart.padding.left,
437
437
  right: F.value.style.chart.padding.right
438
- }), B = w(F.value.style.chart.width), V = w(F.value.style.chart.height), Tn = w(F.value.style.chart.height), En = w(F.value.style.chart.plots.radius), H = w({
438
+ }), B = w(F.value.style.chart.width), V = w(F.value.style.chart.height), En = w(F.value.style.chart.height), Dn = w(F.value.style.chart.plots.radius), H = w({
439
439
  showTable: F.value.table.show,
440
440
  dataLabels: { show: F.value.style.chart.labels.bestPlotLabel.show },
441
441
  showTooltip: F.value.style.chart.tooltip.show
442
442
  });
443
- Ge(F, () => {
443
+ Ke(F, () => {
444
444
  H.value = {
445
445
  showTable: F.value.table.show,
446
446
  dataLabels: { show: F.value.style.chart.labels.bestPlotLabel.show },
447
447
  showTooltip: F.value.style.chart.tooltip.show
448
- }, B.value = F.value.style.chart.width, V.value = F.value.style.chart.height, En.value = F.value.style.chart.plots.radius;
448
+ }, B.value = F.value.style.chart.width, V.value = F.value.style.chart.height, Dn.value = F.value.style.chart.plots.radius;
449
449
  }, { immediate: !0 });
450
- let U = p(() => Math.min(En.value, G.value.stripWidth / 2 * .9));
450
+ let U = p(() => Math.min(Dn.value, G.value.stripWidth / 2 * .9));
451
451
  function W(e) {
452
452
  return Number.isFinite(e) ? Number(e.toFixed(2)) : 0;
453
453
  }
454
- function Dn() {
454
+ function On() {
455
455
  return Math.max(0, (G.value.stripWidth / 2 - U.value * 1.8) * .86) * Math.min(1, F.value.style.chart.violin.widthRatio);
456
456
  }
457
- function On() {
457
+ function kn() {
458
458
  let e = 0;
459
- Qt.value && (e = Array.from(Qt.value.querySelectorAll("text")).reduce((e, t) => {
459
+ $t.value && (e = Array.from($t.value.querySelectorAll("text")).reduce((e, t) => {
460
460
  let n = t.getComputedTextLength();
461
461
  return n > e ? n : e;
462
462
  }, 0));
463
- let t = Xt.value ? Xt.value.getBoundingClientRect().width : 0;
463
+ let t = Zt.value ? Zt.value.getBoundingClientRect().width : 0;
464
464
  return e + t + (t ? 24 : 0);
465
465
  }
466
- let kn = w(0), An = Oe((e) => {
467
- kn.value = e;
466
+ let An = w(0), jn = ke((e) => {
467
+ An.value = e;
468
468
  }, 100);
469
- Ke((e) => {
470
- let t = Zt.value;
469
+ qe((e) => {
470
+ let t = Qt.value;
471
471
  if (!t) return;
472
472
  let n = new ResizeObserver((e) => {
473
- An(e[0].contentRect.height);
473
+ jn(e[0].contentRect.height);
474
474
  });
475
475
  n.observe(t), e(() => n.disconnect());
476
- }), Be(() => {
477
- kn.value = 0;
476
+ }), Ve(() => {
477
+ An.value = 0;
478
478
  });
479
- let jn = p(() => {
479
+ let Mn = p(() => {
480
480
  let e = 0;
481
- Yt.value && (e = Yt.value.getBBox().height + F.value.style.chart.labels.axis.fontSize / 3 + 12 + F.value.style.chart.labels.axis.xLabelOffsetY);
481
+ Xt.value && (e = Xt.value.getBBox().height + F.value.style.chart.labels.axis.fontSize / 3 + 12 + F.value.style.chart.labels.axis.xLabelOffsetY);
482
482
  let t = 0;
483
- return Zt.value && (t = kn.value + 12), e + t;
483
+ return Qt.value && (t = An.value + 12), e + t;
484
484
  }), G = p(() => {
485
- let e = On(), t = wn.value.left + e + F.value.style.chart.labels.axis.yLabelOffsetX + 5, n = B.value - wn.value.right, r = Math.max(0, n - t), i = wn.value.top + F.value.style.chart.plots.radius + F.value.style.chart.labels.bestPlotLabel.fontSize, a = V.value - wn.value.bottom - jn.value, o = Math.max(0, a - i), s = Array.isArray(cn.value) ? cn.value.length : 0;
485
+ let e = kn(), t = Tn.value.left + e + F.value.style.chart.labels.axis.yLabelOffsetX + 5, n = B.value - Tn.value.right, r = Math.max(0, n - t), i = Tn.value.top + F.value.style.chart.plots.radius + F.value.style.chart.labels.bestPlotLabel.fontSize, a = V.value - Tn.value.bottom - Mn.value, o = Math.max(0, a - i), s = Array.isArray(ln.value) ? ln.value.length : 0;
486
486
  return {
487
487
  left: t,
488
488
  right: n,
@@ -494,15 +494,15 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
494
494
  absoluteHeight: V.value
495
495
  };
496
496
  });
497
- function Mn(e) {
497
+ function Nn(e) {
498
498
  return G.value.left + (e + 1) * G.value.stripWidth - G.value.stripWidth / 2;
499
499
  }
500
- let K = p(() => cn.value.map((e, t) => {
500
+ let K = p(() => ln.value.map((e, t) => {
501
501
  let n = se();
502
502
  return {
503
503
  ...e,
504
504
  id: n,
505
- color: e.color ? c(e.color) : Sn.value[t] || s[t] || s[t % s.length],
505
+ color: e.color ? c(e.color) : Cn.value[t] || s[t] || s[t % s.length],
506
506
  plots: e.plots.map((r, i) => ({
507
507
  ...r,
508
508
  value: ne(r.value),
@@ -510,7 +510,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
510
510
  parentName: e.name,
511
511
  parentIndex: t,
512
512
  plotIndex: i,
513
- color: e.color ? c(e.color) : Sn.value[t] || s[t] || s[t % s.length],
513
+ color: e.color ? c(e.color) : Cn.value[t] || s[t] || s[t % s.length],
514
514
  id: se()
515
515
  })).sort((e, t) => e.value - t.value)
516
516
  };
@@ -518,19 +518,30 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
518
518
  ...e,
519
519
  plots: e.plots.map((e) => ({
520
520
  ...e,
521
- x: Mn(t)
521
+ x: Nn(t)
522
522
  }))
523
- }))), Nn = p(() => Math.max(...q.value.map((e) => e.plots.length))), Pn = p(() => {
523
+ }))), Pn = p(() => Math.max(...q.value.map((e) => e.plots.length))), Fn = p(() => {
524
524
  let e = q.value.flatMap((e) => e.plots.map((e) => e.value));
525
525
  return {
526
526
  max: Math.max(...e),
527
527
  min: Math.min(...e)
528
528
  };
529
- }), J = p(() => te(Pn.value.min < 0 ? Pn.value.min : 0, Pn.value.max, F.value.style.chart.grid.scaleSteps)), Y = p(() => (q.value || []).map((e, t) => {
529
+ }), In = p(() => {
530
+ let e = F.value.style.chart.grid.scaleMin, t = F.value.style.chart.grid.scaleMax, n = Math.max(2, F.value.style.chart.grid.scaleSteps), r = Fn.value.min < 0 ? Fn.value.min : 0, i = Fn.value.max;
531
+ if (e === null && t === null) return te(r, i, n);
532
+ if (e !== null && t !== null) return de(e, t, n);
533
+ let a = te(e === null ? r : e, t === null ? i : t, n);
534
+ return de(e === null ? a.min : e, t === null ? a.max : t, n);
535
+ });
536
+ function J(e) {
537
+ let t = In.value.max - In.value.min;
538
+ return t ? G.value.bottom - (e - In.value.min) / t * G.value.height : G.value.bottom;
539
+ }
540
+ let Y = p(() => (q.value || []).map((e, t) => {
530
541
  let n = e.plots.map((e) => ({
531
542
  ...e,
532
- y: G.value.bottom - (e.value + Math.abs(J.value.min)) / (J.value.max + Math.abs(J.value.min)) * G.value.height
533
- })), r = an.value === "classic" ? n.map(() => 0) : Bn(n);
543
+ y: J(e.value)
544
+ })), r = on.value === "classic" ? n.map(() => 0) : Vn(n);
534
545
  return {
535
546
  ...e,
536
547
  plots: n.map((e, t) => ({
@@ -538,19 +549,15 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
538
549
  x: e.x + r[t]
539
550
  }))
540
551
  };
541
- })), X = p(() => an.value === "violin" && !!F.value.style.chart.violin?.boxPlot?.show);
542
- function Fn(e, t) {
552
+ })), X = p(() => on.value === "violin" && !!F.value.style.chart.violin?.boxPlot?.show);
553
+ function Ln(e, t) {
543
554
  if (!e.length) return 0;
544
555
  if (e.length === 1) return e[0];
545
556
  let n = (e.length - 1) * t, r = Math.floor(n), i = n - r, a = e[r + 1];
546
557
  return a === void 0 ? e[r] : e[r] + i * (a - e[r]);
547
558
  }
548
- function In(e) {
549
- let t = J.value.max + Math.abs(J.value.min);
550
- return t ? G.value.bottom - (e + Math.abs(J.value.min)) / t * G.value.height : G.value.bottom;
551
- }
552
- let Ln = p(() => X.value ? Y.value.map((e, t) => {
553
- let n = e.plots.map((e) => e.value).sort((e, t) => e - t), r = Fn(n, .25), i = Fn(n, .5), a = Fn(n, .75), o = a - r, s = r - o * 1.5, c = a + o * 1.5, l = n.find((e) => e >= s), u = n.slice().reverse().find((e) => e <= c), ee = Mn(t), te = Math.max(U.value * 2.8, Math.min(Dn() * .32, G.value.stripWidth * .12)) * Math.min(1.5, F.value.style.chart.violin.boxPlot.widthRatio);
559
+ let Rn = p(() => X.value ? Y.value.map((e, t) => {
560
+ let n = e.plots.map((e) => e.value).sort((e, t) => e - t), r = Ln(n, .25), i = Ln(n, .5), a = Ln(n, .75), o = a - r, s = r - o * 1.5, c = a + o * 1.5, l = n.find((e) => e >= s), u = n.slice().reverse().find((e) => e <= c), ee = Nn(t), te = Math.max(U.value * 2.8, Math.min(On() * .32, G.value.stripWidth * .12)) * Math.min(1.5, F.value.style.chart.violin.boxPlot.widthRatio);
554
561
  return {
555
562
  id: e.id,
556
563
  boxPlotColor: F.value.style.chart.violin.boxPlot.useSerieColor ? e.color : F.value.style.chart.violin.boxPlot.color,
@@ -568,13 +575,13 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
568
575
  centerX: ee,
569
576
  boxLeft: ee - te / 2,
570
577
  boxWidth: te,
571
- q1Y: In(r),
572
- medianY: In(i),
573
- q3Y: In(a),
574
- lowerY: In(l ?? n[0]),
575
- upperY: In(u ?? n[n.length - 1])
578
+ q1Y: J(r),
579
+ medianY: J(i),
580
+ q3Y: J(a),
581
+ lowerY: J(l ?? n[0]),
582
+ upperY: J(u ?? n[n.length - 1])
576
583
  };
577
- }) : []), Rn = p(() => [
584
+ }) : []), zn = p(() => [
578
585
  F.value.table.columnNames.series,
579
586
  F.value.style.chart.violin.tooltipLabels.lowerAdjacent,
580
587
  F.value.style.chart.violin.tooltipLabels.q1,
@@ -584,7 +591,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
584
591
  F.value.style.chart.violin.tooltipLabels.iqr,
585
592
  F.value.style.chart.violin.tooltipLabels.count
586
593
  ]);
587
- function zn(e) {
594
+ function Bn(e) {
588
595
  return l({
589
596
  p: F.value.style.chart.labels.prefix,
590
597
  v: e,
@@ -592,8 +599,8 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
592
599
  r: F.value.table.td.roundingValue
593
600
  });
594
601
  }
595
- function Bn(e) {
596
- let t = an.value === "violin" ? Math.max(0, Dn() - U.value * 1.15) : Math.max(0, G.value.stripWidth / 2 - U.value * 1.5);
602
+ function Vn(e) {
603
+ let t = on.value === "violin" ? Math.max(0, On() - U.value * 1.15) : Math.max(0, G.value.stripWidth / 2 - U.value * 1.5);
597
604
  if (!e.length || !t) return e.map(() => 0);
598
605
  let n = e.map(() => 0), r = U.value * 2.1, i = Math.min(t, r), a = [0];
599
606
  for (let e = i; e <= t + i / 2; e += i) a.push(-Math.min(e, t)), a.push(Math.min(e, t));
@@ -609,39 +616,39 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
609
616
  });
610
617
  }), n;
611
618
  }
612
- let Vn = p(() => an.value === "violin" ? Y.value.map((e, t) => ({
619
+ let Hn = p(() => on.value === "violin" ? Y.value.map((e, t) => ({
613
620
  id: e.id,
614
621
  color: F.value.style.chart.violin.useSerieColor ? e.color : F.value.style.chart.violin.stroke,
615
622
  fill: F.value.style.chart.violin.useSerieColor ? e.color : F.value.style.chart.violin.fill,
616
- path: Hn(e.plots, t),
617
- connectors: Un(e.plots, t)
623
+ path: Un(e.plots, t),
624
+ connectors: Wn(e.plots, t)
618
625
  })) : []);
619
- function Hn(e, t) {
620
- let n = Dn();
626
+ function Un(e, t) {
627
+ let n = On();
621
628
  if (!e.length || !G.value.height || !n) return "";
622
- let r = Mn(t), i = e.map((e) => e.y), a = Z(i), o = Gn({
629
+ let r = Nn(t), i = e.map((e) => e.y), a = Z(i), o = Kn({
623
630
  yValues: i,
624
631
  bandwidth: a
625
632
  });
626
- return o.length > 1 ? o.map((e) => qn({
633
+ return o.length > 1 ? o.map((e) => Jn({
627
634
  yValues: e,
628
635
  centerX: r,
629
- maxWidth: Wn({
636
+ maxWidth: Gn({
630
637
  clusterLength: e.length,
631
638
  totalLength: i.length,
632
639
  maxWidth: n
633
640
  }),
634
641
  bandwidth: Z(e)
635
- })).join(" ") : qn({
642
+ })).join(" ") : Jn({
636
643
  yValues: i,
637
644
  centerX: r,
638
645
  maxWidth: n,
639
646
  bandwidth: a
640
647
  });
641
648
  }
642
- function Un(e, t) {
649
+ function Wn(e, t) {
643
650
  if (!e.length) return [];
644
- let n = Mn(t), r = e.map((e) => e.y), i = Gn({
651
+ let n = Nn(t), r = e.map((e) => e.y), i = Kn({
645
652
  yValues: r,
646
653
  bandwidth: Z(r)
647
654
  });
@@ -654,7 +661,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
654
661
  };
655
662
  });
656
663
  }
657
- function Wn({ clusterLength: e, totalLength: t, maxWidth: n }) {
664
+ function Gn({ clusterLength: e, totalLength: t, maxWidth: n }) {
658
665
  let r = (e / t) ** .6, i = e <= 2 ? .72 : 1;
659
666
  return Math.max(U.value * 2.2, n * d(r * i, .18, 1));
660
667
  }
@@ -662,13 +669,13 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
662
669
  let t = e.reduce((e, t) => e + t, 0) / Math.max(1, e.length), n = e.reduce((e, n) => e + (n - t) ** 2, 0) / Math.max(1, e.length), r = Math.sqrt(n), i = e.length < 2 ? Math.max(U.value * 2.6, G.value.height / 48) : U.value * 2.1;
663
670
  return d(1.06 * r * e.length ** -.2, i, G.value.height / 5);
664
671
  }
665
- function Gn({ yValues: e, bandwidth: t }) {
672
+ function Kn({ yValues: e, bandwidth: t }) {
666
673
  if (e.length < 2) return [e];
667
674
  let n = [...e].sort((e, t) => e - t), r = Math.max(t * 1.45, U.value * 5), i = [], a = [n[0]];
668
675
  for (let e = 1; e < n.length; e += 1) Math.abs(n[e] - n[e - 1]) > r ? (i.push(a), a = [n[e]]) : a.push(n[e]);
669
- return i.push(a), Kn(i);
676
+ return i.push(a), qn(i);
670
677
  }
671
- function Kn(e) {
678
+ function qn(e) {
672
679
  return e.reduce((e, t) => {
673
680
  let n = e[e.length - 1];
674
681
  if (!n) return e.push(t), e;
@@ -676,7 +683,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
676
683
  return Math.max(...n) + r * 2.35 >= Math.min(...t) - i * 2.35 ? n.push(...t) : e.push(t), e;
677
684
  }, []);
678
685
  }
679
- function qn({ yValues: e, centerX: t, maxWidth: n, bandwidth: r }) {
686
+ function Jn({ yValues: e, centerX: t, maxWidth: n, bandwidth: r }) {
680
687
  let i = d(Math.min(...e) - r * 2.35, G.value.top, G.value.bottom), a = d(Math.max(...e) + r * 2.35, G.value.top, G.value.bottom), o = Math.max(48, Math.min(120, Math.round((a - i) / Math.max(1, r / 4)))), s = Array.from({ length: o }, (t, n) => {
681
688
  let s = i + (a - i) * n / Math.max(1, o - 1);
682
689
  return {
@@ -701,9 +708,9 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
701
708
  x: W(t + e.width),
702
709
  y: e.y
703
710
  }));
704
- return `${Jn([...u, ...ee])} Z`;
711
+ return `${Yn([...u, ...ee])} Z`;
705
712
  }
706
- function Jn(e) {
713
+ function Yn(e) {
707
714
  if (!e.length) return "";
708
715
  if (e.length === 1) return `M ${e[0].x} ${e[0].y}`;
709
716
  let t = `M ${e[0].x} ${e[0].y}`;
@@ -714,25 +721,25 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
714
721
  let n = e[e.length - 1];
715
722
  return `${t} L ${n.x} ${n.y}`;
716
723
  }
717
- let Yn = p(() => J.value.ticks.map((e) => ({
718
- y: G.value.bottom - G.value.height * ((e + Math.abs(J.value.min)) / (J.value.max + Math.abs(J.value.min))),
724
+ let Xn = p(() => In.value.ticks.map((e) => ({
725
+ y: J(e),
719
726
  x1: G.value.left,
720
727
  x2: G.value.right,
721
728
  value: e
722
- }))), Xn = w(null), Q = w(null);
723
- function Zn({ datapoint: e, seriesIndex: t }) {
729
+ }))), Zn = w(null), Q = w(null);
730
+ function Qn({ datapoint: e, seriesIndex: t }) {
724
731
  P.value !== "keyboard" && (M.value = !1, Q.value = null, F.value.events.datapointLeave && F.value.events.datapointLeave({
725
732
  datapoint: e,
726
733
  seriesIndex: t
727
734
  }));
728
735
  }
729
- function Qn({ datapoint: e, seriesIndex: t }) {
730
- Lt("selectDatapoint", e), F.value.events.datapointClick && F.value.events.datapointClick({
736
+ function $n({ datapoint: e, seriesIndex: t }) {
737
+ Rt("selectDatapoint", e), F.value.events.datapointClick && F.value.events.datapointClick({
731
738
  datapoint: e,
732
739
  seriesIndex: t
733
740
  });
734
741
  }
735
- function $n(e, t = {}) {
742
+ function er(e, t = {}) {
736
743
  return ie(F.value.style.chart.labels.formatter, e, l({
737
744
  p: F.value.style.chart.labels.prefix,
738
745
  v: e,
@@ -740,23 +747,23 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
740
747
  r: F.value.style.chart.tooltip.roundingValue
741
748
  }), t);
742
749
  }
743
- function er({ datapoint: e, seriesIndex: t, triggerMode: n = "pointer" }) {
750
+ function tr({ datapoint: e, seriesIndex: t, triggerMode: n = "pointer" }) {
744
751
  F.value.events.datapointEnter && F.value.events.datapointEnter({
745
752
  datapoint: e,
746
753
  seriesIndex: t
747
- }), P.value = n, Xn.value = {
754
+ }), P.value = n, Zn.value = {
748
755
  datapoint: e,
749
756
  seriesIndex: t,
750
757
  config: F.value,
751
758
  series: K.value
752
759
  }, M.value = !0, Q.value = e;
753
760
  let r = F.value.style.chart.tooltip.customFormat;
754
- if (fe(r) && re(() => r({
761
+ if (pe(r) && re(() => r({
755
762
  seriesIndex: t,
756
763
  datapoint: e,
757
764
  series: K.value,
758
765
  config: F.value
759
- }))) Bt.value = r({
766
+ }))) Vt.value = r({
760
767
  seriesIndex: t,
761
768
  datapoint: e,
762
769
  series: K.value,
@@ -764,24 +771,24 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
764
771
  });
765
772
  else {
766
773
  let n = "";
767
- n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${F.value.style.chart.plots.gradient.show ? `url(#${e.parentId})` : e.color}"/></svg>${e.name}</div>`, n += `<div>${$n(e.value, {
774
+ n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${F.value.style.chart.plots.gradient.show ? `url(#${e.parentId})` : e.color}"/></svg>${e.name}</div>`, n += `<div>${er(e.value, {
768
775
  datapoint: e,
769
776
  seriesIndex: t
770
- })}</div>`, Bt.value = `<div>${n}</div>`;
777
+ })}</div>`, Vt.value = `<div>${n}</div>`;
771
778
  }
772
779
  }
773
- function tr() {
780
+ function nr() {
774
781
  P.value !== "keyboard" && (M.value = !1, Q.value = null);
775
782
  }
776
- function nr({ boxPlot: e, seriesIndex: t, triggerMode: n = "pointer" }) {
777
- P.value = n, Q.value = null, M.value = !0, Xn.value = {
783
+ function rr({ boxPlot: e, seriesIndex: t, triggerMode: n = "pointer" }) {
784
+ P.value = n, Q.value = null, M.value = !0, Zn.value = {
778
785
  boxPlot: e,
779
786
  seriesIndex: t,
780
787
  config: F.value,
781
788
  series: K.value
782
789
  };
783
790
  let r = F.value.style.chart.tooltip.customFormat;
784
- if (fe(r)) try {
791
+ if (pe(r)) try {
785
792
  let n = {
786
793
  boxPlot: e,
787
794
  seriesIndex: t,
@@ -789,7 +796,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
789
796
  config: F.value
790
797
  };
791
798
  if (re(() => r(n))) {
792
- Bt.value = r(n);
799
+ Vt.value = r(n);
793
800
  return;
794
801
  }
795
802
  } catch {}
@@ -800,23 +807,23 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
800
807
  [F.value.style.chart.violin.tooltipLabels.q1, e.q1],
801
808
  [F.value.style.chart.violin.tooltipLabels.lowerAdjacent, e.lowerAdjacent],
802
809
  [F.value.style.chart.violin.tooltipLabels.iqr, e.iqr]
803
- ], a = `<svg viewBox="0 0 12 12" height="14" width="14"><rect x="1" y="1" width="10" height="10" rx="2" stroke="none" fill="${e.color}"/></svg>`, o = i.map(([n, r]) => `<div style="display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:space-between;"><span>${n}</span><b>${$n(r, {
810
+ ], a = `<svg viewBox="0 0 12 12" height="14" width="14"><rect x="1" y="1" width="10" height="10" rx="2" stroke="none" fill="${e.color}"/></svg>`, o = i.map(([n, r]) => `<div style="display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:space-between;"><span>${n}</span><b>${er(r, {
804
811
  boxPlot: e,
805
812
  seriesIndex: t
806
813
  })}</b></div>`).join("");
807
- Bt.value = `<div style="min-width:160px;"><div style="display:flex;flex-direction:row;gap:6px;align-items:center;margin-bottom:6px;">${a}${e.name}</div>` + o + `<div style="display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:space-between;margin-top:6px;"><span>${F.value.style.chart.violin.tooltipLabels.count}</span><b>${e.count}</b></div></div>`;
814
+ Vt.value = `<div style="min-width:160px;"><div style="display:flex;flex-direction:row;gap:6px;align-items:center;margin-bottom:6px;">${a}${e.name}</div>` + o + `<div style="display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:space-between;margin-top:6px;"><span>${F.value.style.chart.violin.tooltipLabels.count}</span><b>${e.count}</b></div></div>`;
808
815
  }
809
- let rr = p(() => ({
816
+ let ir = p(() => ({
810
817
  head: q.value.flatMap((e) => JSON.parse(JSON.stringify(e.plots)).sort((e, t) => t.value - e.value).map((t) => ({
811
818
  name: `${e.name} - ${t.name}`,
812
819
  color: t.color
813
820
  }))),
814
821
  body: q.value.flatMap((e) => JSON.parse(JSON.stringify(e.plots)).sort((e, t) => t.value - e.value).map((e) => e.value))
815
822
  }));
816
- function ir(e = null) {
817
- ze(() => {
823
+ function ar(e = null) {
824
+ Be(() => {
818
825
  let r = [], i = [F.value.table.columnNames.series, F.value.table.columnNames.value];
819
- X.value ? (i = Rn.value, r = Ln.value.map((e) => [
826
+ X.value ? (i = zn.value, r = Rn.value.map((e) => [
820
827
  [e.name],
821
828
  [e.lowerAdjacent],
822
829
  [e.q1],
@@ -825,7 +832,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
825
832
  [e.upperAdjacent],
826
833
  [e.iqr],
827
834
  [e.count]
828
- ])) : r = rr.value.head.map((e, t) => [[e.name], [rr.value.body[t]]]);
835
+ ])) : r = ir.value.head.map((e, t) => [[e.name], [ir.value.body[t]]]);
829
836
  let a = [
830
837
  [F.value.style.chart.title.text],
831
838
  [F.value.style.chart.title.subtitle.text],
@@ -837,23 +844,23 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
837
844
  });
838
845
  });
839
846
  }
840
- let ar = p(() => {
847
+ let or = p(() => {
841
848
  if (X.value) {
842
- let e = Rn.value;
849
+ let e = zn.value;
843
850
  return {
844
851
  colNames: e,
845
852
  head: e,
846
- body: Ln.value.map((e) => [
853
+ body: Rn.value.map((e) => [
847
854
  {
848
855
  color: e.color,
849
856
  name: e.name
850
857
  },
851
- zn(e.lowerAdjacent),
852
- zn(e.q1),
853
- zn(e.median),
854
- zn(e.q3),
855
- zn(e.upperAdjacent),
856
- zn(e.iqr),
858
+ Bn(e.lowerAdjacent),
859
+ Bn(e.q1),
860
+ Bn(e.median),
861
+ Bn(e.q3),
862
+ Bn(e.upperAdjacent),
863
+ Bn(e.iqr),
857
864
  e.count
858
865
  ]),
859
866
  config: {
@@ -871,10 +878,10 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
871
878
  }
872
879
  };
873
880
  }
874
- let e = [F.value.table.columnNames.series, F.value.table.columnNames.value], t = rr.value.head.map((e, t) => {
881
+ let e = [F.value.table.columnNames.series, F.value.table.columnNames.value], t = ir.value.head.map((e, t) => {
875
882
  let n = l({
876
883
  p: F.value.style.chart.labels.prefix,
877
- v: rr.value.body[t],
884
+ v: ir.value.body[t],
878
885
  s: F.value.style.chart.labels.suffix,
879
886
  r: F.value.table.td.roundingValue
880
887
  });
@@ -902,28 +909,28 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
902
909
  config: n
903
910
  };
904
911
  }), $ = w(!1);
905
- function or(e) {
906
- $.value = e, zt.value += 1;
912
+ function sr(e) {
913
+ $.value = e, Bt.value += 1;
907
914
  }
908
- function sr() {
915
+ function cr() {
909
916
  return q.value;
910
917
  }
911
- function cr() {
918
+ function lr() {
912
919
  H.value.showTable = !H.value.showTable;
913
920
  }
914
- function lr() {
921
+ function ur() {
915
922
  H.value.dataLabels.show = !H.value.dataLabels.show;
916
923
  }
917
- function ur() {
924
+ function dr() {
918
925
  H.value.showTooltip = !H.value.showTooltip;
919
926
  }
920
- let dr = w(!1);
921
- function fr() {
922
- dr.value = !dr.value;
927
+ let fr = w(!1);
928
+ function pr() {
929
+ fr.value = !fr.value;
923
930
  }
924
- async function pr({ scale: e = 2 } = {}) {
931
+ async function mr({ scale: e = 2 } = {}) {
925
932
  if (!N.value) return;
926
- let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await we({
933
+ let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Te({
927
934
  domElement: N.value,
928
935
  base64: !0,
929
936
  img: !0,
@@ -938,14 +945,14 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
938
945
  aspectRatio: r
939
946
  };
940
947
  }
941
- let mr = p(() => q.value.map((e) => e.name)), hr = w({
948
+ let hr = p(() => q.value.map((e) => e.name)), gr = w({
942
949
  start: 0,
943
950
  end: q.value.length
944
951
  });
945
- Ce({
946
- timeLabelsEls: Zt,
947
- timeLabels: mr,
948
- slicer: hr,
952
+ we({
953
+ timeLabelsEls: Qt,
954
+ timeLabels: hr,
955
+ slicer: gr,
949
956
  configRef: F,
950
957
  rotationPath: [
951
958
  "style",
@@ -968,10 +975,10 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
968
975
  targetClass: ".vue-ui-strip-plot-category-name",
969
976
  rotation: F.value.style.chart.labels.xAxisLabels.autoRotate.angle
970
977
  });
971
- let gr = p(() => {
978
+ let _r = p(() => {
972
979
  let e = F.value.table.useDialog && !F.value.table.show, t = H.value.showTable;
973
980
  return {
974
- component: e ? Mt : Dt,
981
+ component: e ? Nt : Ot,
975
982
  title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
976
983
  props: e ? {
977
984
  backgroundColor: F.value.table.th.backgroundColor,
@@ -999,23 +1006,23 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
999
1006
  }
1000
1007
  };
1001
1008
  });
1002
- Ge(() => H.value.showTable, (e) => {
1003
- F.value.table.show || (e && F.value.table.useDialog && qt.value ? qt.value.open() : "close" in qt.value && qt.value.close());
1009
+ Ke(() => H.value.showTable, (e) => {
1010
+ F.value.table.show || (e && F.value.table.useDialog && Jt.value ? Jt.value.open() : "close" in Jt.value && Jt.value.close());
1004
1011
  });
1005
- function _r() {
1006
- H.value.showTable = !1, Jt.value && Jt.value.setTableIconState(!1);
1012
+ function vr() {
1013
+ H.value.showTable = !1, Yt.value && Yt.value.setTableIconState(!1);
1007
1014
  }
1008
- let vr = p(() => F.value.style.chart.backgroundColor), yr = p(() => F.value.style.chart.title), { isCallbackImaging: br, isCallbackSvg: xr, generateSvg: Sr, onGenerateImage: Cr } = xe({
1015
+ let yr = p(() => F.value.style.chart.backgroundColor), br = p(() => F.value.style.chart.title), { isCallbackImaging: xr, isCallbackSvg: Sr, generateSvg: Cr, onGenerateImage: wr } = Se({
1009
1016
  svg: L,
1010
- title: yr,
1017
+ title: br,
1011
1018
  legend: null,
1012
1019
  legendItems: null,
1013
- backgroundColor: vr,
1020
+ backgroundColor: yr,
1014
1021
  getSvgCallback: () => F.value.userOptions.callbacks.svg,
1015
- generateImage: bn
1022
+ generateImage: xn
1016
1023
  });
1017
- async function wr() {
1018
- if (Lt("copyAlt", {
1024
+ async function Tr() {
1025
+ if (Rt("copyAlt", {
1019
1026
  config: F.value,
1020
1027
  dataset: Y.value
1021
1028
  }), !F.value.userOptions.callbacks.altCopy) {
@@ -1027,107 +1034,107 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1027
1034
  dataset: Y.value
1028
1035
  }));
1029
1036
  }
1030
- function Tr() {
1037
+ function Er() {
1031
1038
  return Y.value.length;
1032
1039
  }
1033
- function Er(e) {
1040
+ function Dr(e) {
1034
1041
  return Y.value[e]?.plots ?? [];
1035
1042
  }
1036
- function Dr(e = $t.value, t = en.value) {
1037
- return !Number.isInteger(e) || !Number.isInteger(t) ? null : Er(e)[t] ?? null;
1043
+ function Or(e = en.value, t = tn.value) {
1044
+ return !Number.isInteger(e) || !Number.isInteger(t) ? null : Dr(e)[t] ?? null;
1038
1045
  }
1039
- function Or() {
1040
- $t.value = null, en.value = null, P.value = "pointer", M.value = !1, Q.value = null;
1046
+ function kr() {
1047
+ en.value = null, tn.value = null, P.value = "pointer", M.value = !1, Q.value = null;
1041
1048
  }
1042
- function kr(e) {
1049
+ function Ar(e) {
1043
1050
  if (!e || !L.value) return;
1044
1051
  let t = L.value.getBoundingClientRect();
1045
- tn.value = {
1052
+ nn.value = {
1046
1053
  x: t.left + e.x / B.value * t.width,
1047
1054
  y: t.top + e.y / V.value * t.height
1048
1055
  };
1049
1056
  }
1050
- function Ar(e, t) {
1051
- let n = Dr(e, t);
1052
- n && ($t.value = e, en.value = t, P.value = "keyboard", kr(n), er({
1057
+ function jr(e, t) {
1058
+ let n = Or(e, t);
1059
+ n && (en.value = e, tn.value = t, P.value = "keyboard", Ar(n), tr({
1053
1060
  datapoint: n,
1054
1061
  seriesIndex: e,
1055
1062
  triggerMode: "keyboard"
1056
1063
  }));
1057
1064
  }
1058
- function jr() {
1059
- nn.value = !0, $t.value = null, en.value = null;
1060
- }
1061
1065
  function Mr() {
1062
- nn.value = !1, Or();
1066
+ rn.value = !0, en.value = null, tn.value = null;
1067
+ }
1068
+ function Nr() {
1069
+ rn.value = !1, kr();
1063
1070
  }
1064
- function Nr(e) {
1065
- if (!L.value || dr.value || document.activeElement !== L.value || !Tr()) return;
1071
+ function Pr(e) {
1072
+ if (!L.value || fr.value || document.activeElement !== L.value || !Er()) return;
1066
1073
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
1067
1074
  if (!t && !n && !r && !i && !a && !o) return;
1068
1075
  if (e.preventDefault(), e.stopPropagation(), o) {
1069
- Or();
1076
+ kr();
1070
1077
  return;
1071
1078
  }
1072
- let s = $t.value, c = en.value;
1079
+ let s = en.value, c = tn.value;
1073
1080
  if (s === null || c === null) s = 0, c = 0;
1074
1081
  else if (t || n) {
1075
- let e = Tr();
1082
+ let e = Er();
1076
1083
  s = n ? (s + 1) % e : (s - 1 + e) % e;
1077
- let t = Er(s);
1084
+ let t = Dr(s);
1078
1085
  if (!t.length) return;
1079
1086
  c = Math.min(c, t.length - 1);
1080
1087
  } else if (r || i) {
1081
- let e = Er(s);
1088
+ let e = Dr(s);
1082
1089
  if (!e.length) return;
1083
1090
  c = r ? (c + 1) % e.length : (c - 1 + e.length) % e.length;
1084
1091
  }
1085
1092
  if (a) {
1086
- let e = Dr();
1093
+ let e = Or();
1087
1094
  if (!e) return;
1088
- Qn({
1095
+ $n({
1089
1096
  datapoint: e,
1090
- seriesIndex: $t.value
1097
+ seriesIndex: en.value
1091
1098
  });
1092
1099
  return;
1093
1100
  }
1094
- Ar(s, c);
1101
+ jr(s, c);
1095
1102
  }
1096
- let Pr = p(() => ({
1097
- headers: ar.value?.colNames ?? [],
1098
- rows: ar.value?.body?.map((e) => e.map((e) => e && typeof e == "object" && "name" in e ? e.name : e)) ?? []
1103
+ let Fr = p(() => ({
1104
+ headers: or.value?.colNames ?? [],
1105
+ rows: or.value?.body?.map((e) => e.map((e) => e && typeof e == "object" && "name" in e ? e.name : e)) ?? []
1099
1106
  }));
1100
- return De({
1101
- getData: sr,
1102
- getImage: pr,
1103
- generatePdf: yn,
1104
- generateCsv: ir,
1105
- generateImage: bn,
1106
- generateSvg: Sr,
1107
- toggleTable: cr,
1108
- toggleLabels: lr,
1109
- toggleTooltip: ur,
1110
- toggleAnnotator: fr,
1111
- toggleFullscreen: or,
1112
- copyAlt: wr
1107
+ return Oe({
1108
+ getData: cr,
1109
+ getImage: mr,
1110
+ generatePdf: bn,
1111
+ generateCsv: ar,
1112
+ generateImage: xn,
1113
+ generateSvg: Cr,
1114
+ toggleTable: lr,
1115
+ toggleLabels: ur,
1116
+ toggleTooltip: dr,
1117
+ toggleAnnotator: pr,
1118
+ toggleFullscreen: sr,
1119
+ copyAlt: Tr
1113
1120
  }), (e, t) => (C(), g("div", {
1114
1121
  ref_key: "stripPlotChart",
1115
1122
  ref: N,
1116
1123
  class: b(`vue-data-ui-component vue-ui-strip-plot ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1117
1124
  style: S(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;background:${F.value.style.chart.backgroundColor};${F.value.responsive ? "height:100%" : ""}`),
1118
1125
  id: `strip-plot_${j.value}`,
1119
- onMouseenter: t[2] ||= () => O(dn)(!0),
1120
- onMouseleave: t[3] ||= () => O(dn)(!1)
1126
+ onMouseenter: t[2] ||= () => O(fn)(!0),
1127
+ onMouseleave: t[3] ||= () => O(fn)(!1)
1121
1128
  }, [
1122
1129
  _("div", {
1123
1130
  id: `chart-instructions-${j.value}`,
1124
1131
  class: "sr-only"
1125
- }, [_("p", null, D(F.value.a11y.translations.keyboardNavigation), 1)], 8, Ye),
1126
- Pr.value?.rows?.length ? (C(), m(je, {
1132
+ }, [_("p", null, D(F.value.a11y.translations.keyboardNavigation), 1)], 8, Xe),
1133
+ Fr.value?.rows?.length ? (C(), m(Me, {
1127
1134
  key: 0,
1128
1135
  uid: j.value,
1129
- head: Pr.value.headers,
1130
- body: Pr.value.rows,
1136
+ head: Fr.value.headers,
1137
+ body: Fr.value.rows,
1131
1138
  notice: F.value.a11y.translations.tableAvailable,
1132
1139
  caption: F.value.a11y.translations.tableCaption
1133
1140
  }, null, 8, [
@@ -1137,14 +1144,14 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1137
1144
  "notice",
1138
1145
  "caption"
1139
1146
  ])) : h("", !0),
1140
- F.value.userOptions.buttons.annotator ? (C(), m(O(At), {
1147
+ F.value.userOptions.buttons.annotator ? (C(), m(O(jt), {
1141
1148
  key: 1,
1142
1149
  svgRef: O(L),
1143
1150
  backgroundColor: F.value.style.chart.backgroundColor,
1144
1151
  color: F.value.style.chart.color,
1145
- active: dr.value,
1152
+ active: fr.value,
1146
1153
  isCursorPointer: I.value,
1147
- onClose: fr
1154
+ onClose: pr
1148
1155
  }, {
1149
1156
  "annotator-action-close": k(() => [E(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1150
1157
  "annotator-action-color": k(({ color: t }) => [E(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
@@ -1160,20 +1167,20 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1160
1167
  "active",
1161
1168
  "isCursorPointer"
1162
1169
  ])) : h("", !0),
1163
- xn.value ? (C(), g("div", {
1170
+ Sn.value ? (C(), g("div", {
1164
1171
  key: 2,
1165
1172
  ref_key: "noTitle",
1166
- ref: Ut,
1173
+ ref: Wt,
1167
1174
  class: "vue-data-ui-no-title-space",
1168
1175
  style: "height:36px; width: 100%;background:transparent"
1169
1176
  }, null, 512)) : h("", !0),
1170
1177
  F.value.style.chart.title.text ? (C(), g("div", {
1171
1178
  key: 3,
1172
1179
  ref_key: "chartTitle",
1173
- ref: Vt,
1180
+ ref: Ht,
1174
1181
  style: "width:100%;background:transparent;padding-bottom:24px"
1175
- }, [(C(), m(Te, {
1176
- key: `title_${Gt.value}`,
1182
+ }, [(C(), m(Ee, {
1183
+ key: `title_${Kt.value}`,
1177
1184
  config: {
1178
1185
  title: {
1179
1186
  cy: "donut-div-title",
@@ -1185,14 +1192,14 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1185
1192
  }
1186
1193
  }
1187
1194
  }, null, 8, ["config"]))], 512)) : h("", !0),
1188
- F.value.userOptions.show && Rt.value && (O(fn) || O(un)) ? (C(), m(O(kt), {
1195
+ F.value.userOptions.show && zt.value && (O(pn) || O(dn)) ? (C(), m(O(At), {
1189
1196
  ref_key: "userOptionsRef",
1190
- ref: Jt,
1191
- key: `user_option_${zt.value}`,
1197
+ ref: Yt,
1198
+ key: `user_option_${Bt.value}`,
1192
1199
  backgroundColor: F.value.style.chart.backgroundColor,
1193
1200
  color: F.value.style.chart.color,
1194
- isPrinting: O(_n),
1195
- isImaging: O(vn),
1201
+ isPrinting: O(vn),
1202
+ isImaging: O(yn),
1196
1203
  uid: j.value,
1197
1204
  hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.chart.tooltip.show,
1198
1205
  hasPdf: F.value.userOptions.buttons.pdf,
@@ -1209,23 +1216,23 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1209
1216
  chartElement: N.value,
1210
1217
  position: F.value.userOptions.position,
1211
1218
  hasAnnotator: F.value.userOptions.buttons.annotator,
1212
- isAnnotation: dr.value,
1219
+ isAnnotation: fr.value,
1213
1220
  callbacks: F.value.userOptions.callbacks,
1214
1221
  printScale: F.value.userOptions.print.scale,
1215
1222
  tableDialog: F.value.table.useDialog,
1216
1223
  isCursorPointer: I.value,
1217
- onToggleFullscreen: or,
1218
- onGeneratePdf: O(yn),
1219
- onGenerateCsv: ir,
1220
- onGenerateImage: O(Cr),
1221
- onGenerateSvg: O(Sr),
1222
- onToggleTable: cr,
1223
- onToggleLabels: lr,
1224
- onToggleTooltip: ur,
1225
- onToggleAnnotator: fr,
1226
- onCopyAlt: wr,
1227
- style: S({ visibility: O(fn) ? O(un) ? "visible" : "hidden" : "visible" })
1228
- }, Fe({ _: 2 }, [
1224
+ onToggleFullscreen: sr,
1225
+ onGeneratePdf: O(bn),
1226
+ onGenerateCsv: ar,
1227
+ onGenerateImage: O(wr),
1228
+ onGenerateSvg: O(Cr),
1229
+ onToggleTable: lr,
1230
+ onToggleLabels: ur,
1231
+ onToggleTooltip: dr,
1232
+ onToggleAnnotator: pr,
1233
+ onCopyAlt: Tr,
1234
+ style: S({ visibility: O(pn) ? O(dn) ? "visible" : "hidden" : "visible" })
1235
+ }, Ie({ _: 2 }, [
1229
1236
  e.$slots.menuIcon ? {
1230
1237
  name: "menuIcon",
1231
1238
  fn: k(({ isOpen: t, color: n }) => [E(e.$slots, "menuIcon", x(y({
@@ -1301,24 +1308,24 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1301
1308
  key: "12"
1302
1309
  } : void 0
1303
1310
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : h("", !0),
1304
- _("div", Xe, [(C(), g("svg", {
1311
+ _("div", Ze, [(C(), g("svg", {
1305
1312
  ref_key: "svgRef",
1306
1313
  ref: L,
1307
1314
  xmlns: O(le),
1308
1315
  class: b({
1309
1316
  "vue-data-ui-fullscreen--on": $.value,
1310
1317
  "vue-data-ui-fulscreen--off": !$.value,
1311
- "vue-data-ui-no-transition": !O(rn)
1318
+ "vue-data-ui-no-transition": !O(an)
1312
1319
  }),
1313
1320
  viewBox: `0 0 ${B.value} ${V.value}`,
1314
1321
  style: S(`max-width:100%; overflow: visible; background:transparent;color:${F.value.style.chart.color};`),
1315
1322
  "aria-describedby": `chart-instructions-${j.value}`,
1316
1323
  tabindex: "0",
1317
- onFocus: jr,
1318
- onBlur: Mr,
1319
- onKeydown: Nr
1324
+ onFocus: Mr,
1325
+ onBlur: Nr,
1326
+ onKeydown: Pr
1320
1327
  }, [
1321
- Le(O(jt)),
1328
+ Re(O(Mt)),
1322
1329
  e.$slots["chart-background"] ? (C(), g("foreignObject", {
1323
1330
  key: 0,
1324
1331
  x: G.value.left,
@@ -1326,9 +1333,9 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1326
1333
  width: Math.max(.1, G.value.width),
1327
1334
  height: Math.max(.1, G.value.height),
1328
1335
  style: { pointerEvents: "none" }
1329
- }, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, Qe)) : h("", !0),
1330
- F.value.style.chart.grid.show ? (C(), g("g", $e, [
1331
- F.value.style.chart.grid.horizontalGrid.show ? (C(), g("g", et, [(C(!0), g(f, null, T(Yn.value, (e) => (C(), g("line", {
1336
+ }, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, $e)) : h("", !0),
1337
+ F.value.style.chart.grid.show ? (C(), g("g", et, [
1338
+ F.value.style.chart.grid.horizontalGrid.show ? (C(), g("g", tt, [(C(!0), g(f, null, T(Xn.value, (e) => (C(), g("line", {
1332
1339
  x1: e.x1,
1333
1340
  x2: e.x2,
1334
1341
  y1: e.y,
@@ -1337,8 +1344,8 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1337
1344
  "stroke-width": F.value.style.chart.grid.horizontalGrid.strokeWidth,
1338
1345
  "stroke-dasharray": F.value.style.chart.grid.horizontalGrid.strokeDasharray,
1339
1346
  "stroke-linecap": "round"
1340
- }, null, 8, tt))), 256))])) : h("", !0),
1341
- F.value.style.chart.grid.verticalGrid.show ? (C(), g("g", nt, [(C(!0), g(f, null, T(q.value, (e, t) => (C(), g("line", {
1347
+ }, null, 8, nt))), 256))])) : h("", !0),
1348
+ F.value.style.chart.grid.verticalGrid.show ? (C(), g("g", rt, [(C(!0), g(f, null, T(q.value, (e, t) => (C(), g("line", {
1342
1349
  x1: G.value.left + (t + 1) * G.value.stripWidth,
1343
1350
  x2: G.value.left + (t + 1) * G.value.stripWidth,
1344
1351
  y1: G.value.top,
@@ -1347,7 +1354,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1347
1354
  "stroke-width": F.value.style.chart.grid.verticalGrid.strokeWidth,
1348
1355
  "stroke-dasharray": F.value.style.chart.grid.verticalGrid.strokeDasharray,
1349
1356
  "stroke-linecap": "round"
1350
- }, null, 8, rt))), 256))])) : h("", !0),
1357
+ }, null, 8, it))), 256))])) : h("", !0),
1351
1358
  _("line", {
1352
1359
  x1: G.value.left,
1353
1360
  x2: G.value.left,
@@ -1356,7 +1363,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1356
1363
  stroke: F.value.style.chart.grid.stroke,
1357
1364
  "stroke-width": F.value.style.chart.grid.strokeWidth,
1358
1365
  "stroke-linecap": "round"
1359
- }, null, 8, it),
1366
+ }, null, 8, at),
1360
1367
  _("line", {
1361
1368
  x1: G.value.left,
1362
1369
  x2: G.value.right,
@@ -1365,14 +1372,14 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1365
1372
  stroke: F.value.style.chart.grid.stroke,
1366
1373
  "stroke-width": F.value.style.chart.grid.strokeWidth,
1367
1374
  "stroke-linecap": "round"
1368
- }, null, 8, at)
1375
+ }, null, 8, ot)
1369
1376
  ])) : h("", !0),
1370
1377
  F.value.style.chart.labels.yAxisLabels.show ? (C(), g("g", {
1371
1378
  key: 2,
1372
1379
  ref_key: "scaleLabels",
1373
- ref: Qt
1374
- }, [(C(!0), g(f, null, T(Yn.value, (e, t) => (C(), g("text", {
1375
- class: b({ "vue-data-ui-transition": O(rn) }),
1380
+ ref: $t
1381
+ }, [(C(!0), g(f, null, T(Xn.value, (e, t) => (C(), g("text", {
1382
+ class: b({ "vue-data-ui-transition": O(an) }),
1376
1383
  key: `sl_${t}`,
1377
1384
  transform: `translate(${e.x1 + F.value.style.chart.labels.yAxisLabels.offsetX - 5}, ${e.y + F.value.style.chart.labels.yAxisLabels.fontSize / 3})`,
1378
1385
  fill: F.value.style.chart.labels.yAxisLabels.color,
@@ -1386,12 +1393,12 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1386
1393
  }), {
1387
1394
  datapoint: e,
1388
1395
  seriesIndex: t
1389
- })), 11, ot))), 128))], 512)) : h("", !0),
1396
+ })), 11, st))), 128))], 512)) : h("", !0),
1390
1397
  F.value.style.chart.labels.xAxisLabels.show ? (C(), g("g", {
1391
1398
  key: 3,
1392
1399
  ref_key: "timeLabelsEls",
1393
- ref: Zt
1394
- }, [(C(!0), g(f, null, T(mr.value, (e, t) => (C(), g("g", null, [String(e).includes("\n") ? (C(), g("text", {
1400
+ ref: Qt
1401
+ }, [(C(!0), g(f, null, T(hr.value, (e, t) => (C(), g("g", null, [String(e).includes("\n") ? (C(), g("text", {
1395
1402
  key: 1,
1396
1403
  class: "vue-ui-strip-plot-category-name",
1397
1404
  transform: `translate(${G.value.left + (t + 1) * G.value.stripWidth - G.value.stripWidth / 2}, ${G.value.bottom + F.value.style.chart.labels.xAxisLabels.fontSize * 2 + F.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${F.value.style.chart.labels.xAxisLabels.rotation})`,
@@ -1405,33 +1412,33 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1405
1412
  x: 0,
1406
1413
  y: 0
1407
1414
  })
1408
- }, null, 8, ct)) : (C(), g("text", {
1415
+ }, null, 8, lt)) : (C(), g("text", {
1409
1416
  key: 0,
1410
1417
  class: "vue-ui-strip-plot-category-name",
1411
1418
  transform: `translate(${G.value.left + (t + 1) * G.value.stripWidth - G.value.stripWidth / 2}, ${G.value.bottom + F.value.style.chart.labels.xAxisLabels.fontSize * 2 + F.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${F.value.style.chart.labels.xAxisLabels.rotation})`,
1412
1419
  "font-size": F.value.style.chart.labels.xAxisLabels.fontSize,
1413
1420
  fill: F.value.style.chart.labels.xAxisLabels.color,
1414
1421
  "text-anchor": F.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : F.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle"
1415
- }, D(String(e)), 9, st))]))), 256))], 512)) : h("", !0),
1422
+ }, D(String(e)), 9, ct))]))), 256))], 512)) : h("", !0),
1416
1423
  F.value.style.chart.labels.axis.yLabel ? (C(), g("text", {
1417
1424
  key: 4,
1418
1425
  ref_key: "yAxisLabel",
1419
- ref: Xt,
1426
+ ref: Zt,
1420
1427
  fill: F.value.style.chart.labels.axis.color,
1421
1428
  "font-size": F.value.style.chart.labels.axis.fontSize,
1422
1429
  transform: `translate(${F.value.style.chart.labels.axis.fontSize}, ${G.value.top + G.value.height / 2}) rotate(-90)`,
1423
1430
  "text-anchor": "middle"
1424
- }, D(F.value.style.chart.labels.axis.yLabel), 9, lt)) : h("", !0),
1431
+ }, D(F.value.style.chart.labels.axis.yLabel), 9, ut)) : h("", !0),
1425
1432
  F.value.style.chart.labels.axis.xLabel ? (C(), g("text", {
1426
1433
  key: 5,
1427
1434
  ref_key: "xAxisLabel",
1428
- ref: Yt,
1435
+ ref: Xt,
1429
1436
  fill: F.value.style.chart.labels.axis.color,
1430
1437
  "font-size": F.value.style.chart.labels.axis.fontSize,
1431
1438
  x: G.value.left + G.value.width / 2,
1432
1439
  y: V.value - F.value.style.chart.labels.axis.fontSize / 3,
1433
1440
  "text-anchor": "middle"
1434
- }, D(F.value.style.chart.labels.axis.xLabel), 9, ut)) : h("", !0),
1441
+ }, D(F.value.style.chart.labels.axis.xLabel), 9, dt)) : h("", !0),
1435
1442
  Q.value ? (C(), g(f, { key: 6 }, [
1436
1443
  _("line", {
1437
1444
  x1: G.value.left,
@@ -1441,23 +1448,23 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1441
1448
  stroke: Q.value.color,
1442
1449
  "stroke-width": 1,
1443
1450
  class: b({ "select-circle": F.value.useCssAnimation })
1444
- }, null, 10, dt),
1451
+ }, null, 10, ft),
1445
1452
  _("circle", {
1446
1453
  cx: G.value.left,
1447
1454
  cy: Q.value.y,
1448
1455
  r: 3,
1449
1456
  fill: Q.value.color,
1450
1457
  class: b({ "select-circle": F.value.useCssAnimation })
1451
- }, null, 10, ft),
1458
+ }, null, 10, pt),
1452
1459
  _("circle", {
1453
1460
  cx: G.value.right,
1454
1461
  cy: Q.value.y,
1455
1462
  r: 3,
1456
1463
  fill: Q.value.color,
1457
1464
  class: b({ "select-circle": F.value.useCssAnimation })
1458
- }, null, 10, pt)
1465
+ }, null, 10, mt)
1459
1466
  ], 64)) : h("", !0),
1460
- _("defs", null, [(C(!0), g(f, null, T(q.value, (e) => (C(), m(Ae, {
1467
+ _("defs", null, [(C(!0), g(f, null, T(q.value, (e) => (C(), m(je, {
1461
1468
  t: "radial",
1462
1469
  id: e.id,
1463
1470
  key: `r_${e.id}`,
@@ -1480,7 +1487,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1480
1487
  ]
1481
1488
  ]
1482
1489
  }, null, 8, ["id", "stops"]))), 128))]),
1483
- (C(!0), g(f, null, T(Vn.value, (e, n) => (C(), g(f, { key: e.id }, [e.path ? (C(), g("path", {
1490
+ (C(!0), g(f, null, T(Hn.value, (e, n) => (C(), g(f, { key: e.id }, [e.path ? (C(), g("path", {
1484
1491
  key: 0,
1485
1492
  d: e.path,
1486
1493
  fill: e.fill,
@@ -1492,13 +1499,13 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1492
1499
  pointerEvents: X.value ? "auto" : "none",
1493
1500
  cursor: X.value && I.value ? "pointer" : "default"
1494
1501
  }),
1495
- onMouseenter: (e) => X.value && Ln.value[n] && nr({
1496
- boxPlot: Ln.value[n],
1502
+ onMouseenter: (e) => X.value && Rn.value[n] && rr({
1503
+ boxPlot: Rn.value[n],
1497
1504
  seriesIndex: n,
1498
1505
  triggerMode: "pointer"
1499
1506
  }),
1500
- onMouseleave: t[0] ||= (e) => X.value && tr()
1501
- }, null, 44, mt)) : h("", !0), (C(!0), g(f, null, T(e.connectors, (t, n) => (C(), g("line", {
1507
+ onMouseleave: t[0] ||= (e) => X.value && nr()
1508
+ }, null, 44, ht)) : h("", !0), (C(!0), g(f, null, T(e.connectors, (t, n) => (C(), g("line", {
1502
1509
  key: `violin_connector_${e.id}_${n}`,
1503
1510
  x1: t.x,
1504
1511
  x2: t.x,
@@ -1509,16 +1516,16 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1509
1516
  "stroke-width": F.value.style.chart.violin.strokeWidth,
1510
1517
  "stroke-linecap": "round",
1511
1518
  style: { "pointer-events": "none" }
1512
- }, null, 8, ht))), 128))], 64))), 128)),
1513
- (C(!0), g(f, null, T(Ln.value, (e, t) => (C(), g("g", {
1519
+ }, null, 8, gt))), 128))], 64))), 128)),
1520
+ (C(!0), g(f, null, T(Rn.value, (e, t) => (C(), g("g", {
1514
1521
  key: `boxplot_${e.id}`,
1515
1522
  style: S({ cursor: I.value ? "pointer" : "default" }),
1516
- onMouseenter: (n) => nr({
1523
+ onMouseenter: (n) => rr({
1517
1524
  boxPlot: e,
1518
1525
  seriesIndex: t,
1519
1526
  triggerMode: "pointer"
1520
1527
  }),
1521
- onMouseleave: tr
1528
+ onMouseleave: nr
1522
1529
  }, [
1523
1530
  _("line", {
1524
1531
  x1: e.centerX,
@@ -1528,7 +1535,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1528
1535
  stroke: O(u)(e.boxPlotColor, .2),
1529
1536
  "stroke-width": Math.max(1, F.value.style.chart.violin.strokeWidth),
1530
1537
  "stroke-linecap": "round"
1531
- }, null, 8, _t),
1538
+ }, null, 8, vt),
1532
1539
  _("rect", {
1533
1540
  x: e.boxLeft,
1534
1541
  y: Math.min(e.q1Y, e.q3Y),
@@ -1538,40 +1545,40 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1538
1545
  stroke: O(u)(e.boxPlotColor, .2),
1539
1546
  "stroke-width": Math.max(1, F.value.style.chart.violin.strokeWidth),
1540
1547
  rx: e.boxWidth / 20
1541
- }, null, 8, vt),
1548
+ }, null, 8, yt),
1542
1549
  _("circle", {
1543
1550
  cx: e.boxLeft + e.boxWidth / 2,
1544
1551
  cy: e.medianY,
1545
1552
  r: e.boxWidth / 3 * Math.min(1, F.value.style.chart.violin.boxPlot.medianCircleRadiusRatio),
1546
1553
  fill: F.value.style.chart.violin.boxPlot.medianCircleFill,
1547
1554
  stroke: O(u)(e.boxPlotColor, .2)
1548
- }, null, 8, yt)
1549
- ], 44, gt))), 128)),
1550
- (C(!0), g(f, null, T(Y.value, (t, n) => (C(), g(f, null, [X.value ? h("", !0) : (C(!0), g(f, { key: 0 }, T(t.plots, (n, r) => (C(), m(Ee, Re({ ref_for: !0 }, e.$attrs, {
1555
+ }, null, 8, bt)
1556
+ ], 44, _t))), 128)),
1557
+ (C(!0), g(f, null, T(Y.value, (t, n) => (C(), g(f, null, [X.value ? h("", !0) : (C(!0), g(f, { key: 0 }, T(t.plots, (n, r) => (C(), m(De, ze({ ref_for: !0 }, e.$attrs, {
1551
1558
  plot: {
1552
1559
  x: n.x,
1553
- y: Wt.value ? n.y : G.value.top
1560
+ y: Gt.value ? n.y : G.value.top
1554
1561
  },
1555
1562
  radius: Q.value && Q.value.id === n.id ? U.value * 1.5 : U.value,
1556
1563
  shape: F.value.style.chart.plots.shape,
1557
1564
  stroke: F.value.style.chart.plots.stroke,
1558
1565
  strokeWidth: F.value.style.chart.plots.strokeWidth,
1559
1566
  color: F.value.style.chart.plots.gradient.show ? `url(#${t.id})` : t.color,
1560
- style: `transition: all 0.2s ease-in-out; opacity:${Q.value ? Q.value.id === n.id ? 1 : .2 : F.value.style.chart.plots.opacity};${Cn.value ? `transition-delay:${r * 50}ms` : ""}`,
1567
+ style: `transition: all 0.2s ease-in-out; opacity:${Q.value ? Q.value.id === n.id ? 1 : .2 : F.value.style.chart.plots.opacity};${wn.value ? `transition-delay:${r * 50}ms` : ""}`,
1561
1568
  class: {
1562
- "vue-ui-strip-plot-animated": F.value.useCssAnimation && Cn.value && !O(sn),
1563
- "vue-ui-strip-plot-select-circle": F.value.useCssAnimation && !Cn.value
1569
+ "vue-ui-strip-plot-animated": F.value.useCssAnimation && wn.value && !O(cn),
1570
+ "vue-ui-strip-plot-select-circle": F.value.useCssAnimation && !wn.value
1564
1571
  },
1565
- onMouseenter: (e) => er({
1572
+ onMouseenter: (e) => tr({
1566
1573
  datapoint: n,
1567
1574
  seriesIndex: r,
1568
1575
  triggerMode: "pointer"
1569
1576
  }),
1570
- onMouseleave: (e) => Zn({
1577
+ onMouseleave: (e) => Qn({
1571
1578
  datapoint: n,
1572
1579
  seriesIndex: r
1573
1580
  }),
1574
- onClick: (e) => Qn({
1581
+ onClick: (e) => $n({
1575
1582
  datapoint: n,
1576
1583
  seriesIndex: r
1577
1584
  })
@@ -1587,14 +1594,14 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1587
1594
  "onMouseenter",
1588
1595
  "onMouseleave",
1589
1596
  "onClick"
1590
- ]))), 256)), H.value.dataLabels.show && !X.value ? (C(), g("g", bt, [(C(!0), g(f, null, T(t.plots, (e, n) => (C(), g(f, null, [n === t.plots.length - 1 || Q.value && Q.value.id === e.id && !H.value.showTooltip ? (C(), g("text", {
1597
+ ]))), 256)), H.value.dataLabels.show && !X.value ? (C(), g("g", xt, [(C(!0), g(f, null, T(t.plots, (e, n) => (C(), g(f, null, [n === t.plots.length - 1 || Q.value && Q.value.id === e.id && !H.value.showTooltip ? (C(), g("text", {
1591
1598
  key: 0,
1592
1599
  x: e.x,
1593
1600
  y: e.y + F.value.style.chart.labels.bestPlotLabel.offsetY - U.value * (Q.value && Q.value.id === e.id && !H.value.showTooltip ? 2 : 1.5),
1594
1601
  "font-size": F.value.style.chart.labels.bestPlotLabel.fontSize,
1595
1602
  fill: F.value.style.chart.labels.bestPlotLabel.color,
1596
1603
  "text-anchor": "middle",
1597
- style: S(`opacity:${F.value.useCssAnimation ? +!Cn.value : 1};transition:opacity 0.2s ease-in;`)
1604
+ style: S(`opacity:${F.value.useCssAnimation ? +!wn.value : 1};transition:opacity 0.2s ease-in;`)
1598
1605
  }, D(e.name) + " " + D(F.value.style.chart.labels.bestPlotLabel.showValue ? O(ie)(F.value.style.chart.labels.formatter, e.value, O(l)({
1599
1606
  p: `(${F.value.style.chart.labels.prefix}`,
1600
1607
  v: e.value,
@@ -1603,26 +1610,26 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1603
1610
  }), {
1604
1611
  datapoint: e,
1605
1612
  seriesIndex: n
1606
- }) : ""), 13, xt)) : h("", !0)], 64))), 256))])) : h("", !0)], 64))), 256)),
1613
+ }) : ""), 13, St)) : h("", !0)], 64))), 256))])) : h("", !0)], 64))), 256)),
1607
1614
  E(e.$slots, "svg", { svg: {
1608
1615
  ...G.value,
1609
- isPrintingImg: O(_n) || O(vn) || O(br),
1610
- isPrintingSvg: O(xr),
1611
- boxPlotSummaries: Ln.value,
1616
+ isPrintingImg: O(vn) || O(yn) || O(xr),
1617
+ isPrintingSvg: O(Sr),
1618
+ boxPlotSummaries: Rn.value,
1612
1619
  series: q.value
1613
1620
  } }, void 0, !0)
1614
- ], 46, Ze)), e.$slots.hint ? (C(), g("div", St, [E(e.$slots, "hint", x(y({
1621
+ ], 46, Qe)), e.$slots.hint ? (C(), g("div", Ct, [E(e.$slots, "hint", x(y({
1615
1622
  hint: F.value.a11y.translations.keyboardNavigation,
1616
- isVisible: nn.value
1623
+ isVisible: rn.value
1617
1624
  })), void 0, !0)])) : h("", !0)]),
1618
- e.$slots.watermark ? (C(), g("div", Ct, [E(e.$slots, "watermark", x(y({ isPrinting: O(_n) || O(vn) || O(br) || O(xr) })), void 0, !0)])) : h("", !0),
1625
+ e.$slots.watermark ? (C(), g("div", wt, [E(e.$slots, "watermark", x(y({ isPrinting: O(vn) || O(yn) || O(xr) || O(Sr) })), void 0, !0)])) : h("", !0),
1619
1626
  e.$slots.source ? (C(), g("div", {
1620
1627
  key: 6,
1621
1628
  ref_key: "source",
1622
- ref: Ht,
1629
+ ref: Ut,
1623
1630
  dir: "auto"
1624
1631
  }, [E(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
1625
- Le(O(Tt), {
1632
+ Re(O(Et), {
1626
1633
  teleportTo: F.value.style.chart.tooltip.teleportTo,
1627
1634
  show: H.value.showTooltip && M.value,
1628
1635
  backgroundColor: F.value.style.chart.tooltip.backgroundColor,
@@ -1636,19 +1643,19 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1636
1643
  offsetX: F.value.style.chart.tooltip.offsetX,
1637
1644
  offsetY: F.value.style.chart.tooltip.offsetY,
1638
1645
  parent: N.value,
1639
- content: Bt.value,
1646
+ content: Vt.value,
1640
1647
  isFullscreen: $.value,
1641
- isCustom: O(fe)(F.value.style.chart.tooltip.customFormat),
1648
+ isCustom: O(pe)(F.value.style.chart.tooltip.customFormat),
1642
1649
  smooth: F.value.style.chart.tooltip.smooth,
1643
1650
  backdropFilter: F.value.style.chart.tooltip.backdropFilter,
1644
1651
  smoothForce: F.value.style.chart.tooltip.smoothForce,
1645
1652
  smoothSnapThreshold: F.value.style.chart.tooltip.smoothSnapThreshold,
1646
1653
  isA11yMode: P.value === "keyboard",
1647
- a11yPosition: tn.value
1654
+ a11yPosition: nn.value
1648
1655
  }, {
1649
- "tooltip-before": k(() => [E(e.$slots, "tooltip-before", x(y({ ...Xn.value })), void 0, !0)]),
1650
- tooltip: k(() => [E(e.$slots, "tooltip", x(y({ ...Xn.value })), void 0, !0)]),
1651
- "tooltip-after": k(() => [E(e.$slots, "tooltip-after", x(y({ ...Xn.value })), void 0, !0)]),
1656
+ "tooltip-before": k(() => [E(e.$slots, "tooltip-before", x(y({ ...Zn.value })), void 0, !0)]),
1657
+ tooltip: k(() => [E(e.$slots, "tooltip", x(y({ ...Zn.value })), void 0, !0)]),
1658
+ "tooltip-after": k(() => [E(e.$slots, "tooltip-after", x(y({ ...Zn.value })), void 0, !0)]),
1652
1659
  _: 3
1653
1660
  }, 8, [
1654
1661
  "teleportTo",
@@ -1674,21 +1681,21 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1674
1681
  "isA11yMode",
1675
1682
  "a11yPosition"
1676
1683
  ]),
1677
- Rt.value && F.value.userOptions.buttons.table ? (C(), m(He(gr.value.component), Re({ key: 7 }, gr.value.props, {
1684
+ zt.value && F.value.userOptions.buttons.table ? (C(), m(Ue(_r.value.component), ze({ key: 7 }, _r.value.props, {
1678
1685
  ref_key: "tableUnit",
1679
- ref: qt,
1680
- onClose: _r
1681
- }), Fe({
1682
- content: k(() => [(C(), m(O(Ot), {
1683
- key: `table_${Kt.value}`,
1684
- colNames: ar.value.colNames,
1685
- head: ar.value.head,
1686
- body: ar.value.body,
1687
- config: ar.value.config,
1688
- title: F.value.table.useDialog ? "" : gr.value.title,
1686
+ ref: Jt,
1687
+ onClose: vr
1688
+ }), Ie({
1689
+ content: k(() => [(C(), m(O(kt), {
1690
+ key: `table_${qt.value}`,
1691
+ colNames: or.value.colNames,
1692
+ head: or.value.head,
1693
+ body: or.value.body,
1694
+ config: or.value.config,
1695
+ title: F.value.table.useDialog ? "" : _r.value.title,
1689
1696
  withCloseButton: !F.value.table.useDialog,
1690
1697
  isCursorPointer: I.value,
1691
- onClose: _r
1698
+ onClose: vr
1692
1699
  }, {
1693
1700
  th: k(({ th: e }) => [_("div", {
1694
1701
  innerHTML: e,
@@ -1696,8 +1703,8 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1696
1703
  display: "flex",
1697
1704
  "align-items": "center"
1698
1705
  }
1699
- }, null, 8, wt)]),
1700
- td: k(({ td: e }) => [Ie(D(e.name || e), 1)]),
1706
+ }, null, 8, Tt)]),
1707
+ td: k(({ td: e }) => [Le(D(e.name || e), 1)]),
1701
1708
  _: 1
1702
1709
  }, 8, [
1703
1710
  "colNames",
@@ -1711,24 +1718,24 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1711
1718
  _: 2
1712
1719
  }, [F.value.table.useDialog ? {
1713
1720
  name: "title",
1714
- fn: k(() => [Ie(D(gr.value.title), 1)]),
1721
+ fn: k(() => [Le(D(_r.value.title), 1)]),
1715
1722
  key: "0"
1716
1723
  } : void 0, F.value.table.useDialog ? {
1717
1724
  name: "actions",
1718
1725
  fn: k(() => [_("button", {
1719
1726
  tabindex: "0",
1720
1727
  class: "vue-ui-user-options-button",
1721
- onClick: t[1] ||= (e) => ir(F.value.userOptions.callbacks.csv),
1728
+ onClick: t[1] ||= (e) => ar(F.value.userOptions.callbacks.csv),
1722
1729
  style: S({ cursor: I.value ? "pointer" : "default" })
1723
- }, [Le(O(Et), {
1730
+ }, [Re(O(Dt), {
1724
1731
  name: "fileCsv",
1725
- stroke: gr.value.props.color
1732
+ stroke: _r.value.props.color
1726
1733
  }, null, 8, ["stroke"])], 4)]),
1727
1734
  key: "1"
1728
1735
  } : void 0]), 1040)) : h("", !0),
1729
- E(e.$slots, "skeleton", {}, () => [O(sn) ? (C(), m(ve, { key: 0 })) : h("", !0)], !0)
1730
- ], 46, Je));
1736
+ E(e.$slots, "skeleton", {}, () => [O(cn) ? (C(), m(ye, { key: 0 })) : h("", !0)], !0)
1737
+ ], 46, Ye));
1731
1738
  }
1732
- }, [["__scopeId", "data-v-17198a70"]]);
1739
+ }, [["__scopeId", "data-v-57fc94a3"]]);
1733
1740
  //#endregion
1734
- export { qe as n, Tt as t };
1741
+ export { Je as n, Et as t };