vue-data-ui 3.10.0 → 3.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/dist/{Arrow-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
  2. package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
  3. package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
  4. package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
  5. package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
  6. package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
  7. package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
  9. package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-CQxJyGQr.js} +1 -1
  10. package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
  11. package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
  12. package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
  13. package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
  14. package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
  15. package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
  16. package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
  17. package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +1 -1
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +1 -1
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +1 -1
  24. package/dist/components/vue-ui-bump.js +1 -1
  25. package/dist/components/vue-ui-candlestick.js +1 -1
  26. package/dist/components/vue-ui-carousel-table.js +1 -1
  27. package/dist/components/vue-ui-chestnut.js +1 -1
  28. package/dist/components/vue-ui-chord.js +1 -1
  29. package/dist/components/vue-ui-circle-pack.js +1 -1
  30. package/dist/components/vue-ui-cursor.js +1 -1
  31. package/dist/components/vue-ui-dag.js +1 -1
  32. package/dist/components/vue-ui-dashboard.js +1 -1
  33. package/dist/components/vue-ui-digits.js +1 -1
  34. package/dist/components/vue-ui-donut-evolution.js +1 -1
  35. package/dist/components/vue-ui-donut.js +1 -1
  36. package/dist/components/vue-ui-dumbbell.js +1 -1
  37. package/dist/components/vue-ui-flow.js +1 -1
  38. package/dist/components/vue-ui-funnel.js +1 -1
  39. package/dist/components/vue-ui-galaxy.js +1 -1
  40. package/dist/components/vue-ui-gauge.js +1 -1
  41. package/dist/components/vue-ui-geo.js +1 -1
  42. package/dist/components/vue-ui-gizmo.js +1 -1
  43. package/dist/components/vue-ui-heatmap.js +1 -1
  44. package/dist/components/vue-ui-history-plot.js +1 -1
  45. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  46. package/dist/components/vue-ui-icon.js +1 -1
  47. package/dist/components/vue-ui-kpi.js +1 -1
  48. package/dist/components/vue-ui-mini-loader.js +1 -1
  49. package/dist/components/vue-ui-molecule.js +1 -1
  50. package/dist/components/vue-ui-mood-radar.js +1 -1
  51. package/dist/components/vue-ui-nested-donuts.js +1 -1
  52. package/dist/components/vue-ui-onion.js +1 -1
  53. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  54. package/dist/components/vue-ui-quadrant.js +1 -1
  55. package/dist/components/vue-ui-quick-chart.js +1 -1
  56. package/dist/components/vue-ui-radar.js +1 -1
  57. package/dist/components/vue-ui-rating.js +1 -1
  58. package/dist/components/vue-ui-relation-circle.js +1 -1
  59. package/dist/components/vue-ui-ridgeline.js +1 -1
  60. package/dist/components/vue-ui-rings.js +1 -1
  61. package/dist/components/vue-ui-scatter.js +1 -1
  62. package/dist/components/vue-ui-skeleton.js +1 -1
  63. package/dist/components/vue-ui-smiley.js +1 -1
  64. package/dist/components/vue-ui-spark-trend.js +1 -1
  65. package/dist/components/vue-ui-sparkbar.js +1 -1
  66. package/dist/components/vue-ui-sparkgauge.js +1 -1
  67. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  68. package/dist/components/vue-ui-sparkline.js +1 -1
  69. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  70. package/dist/components/vue-ui-stackbar.js +1 -1
  71. package/dist/components/vue-ui-stackline.js +1 -1
  72. package/dist/components/vue-ui-strip-plot.js +1 -1
  73. package/dist/components/vue-ui-table-heatmap.js +1 -1
  74. package/dist/components/vue-ui-table-sparkline.js +1 -1
  75. package/dist/components/vue-ui-table.js +1 -1
  76. package/dist/components/vue-ui-thermometer.js +1 -1
  77. package/dist/components/vue-ui-timer.js +1 -1
  78. package/dist/components/vue-ui-tiremarks.js +1 -1
  79. package/dist/components/vue-ui-treemap.js +1 -1
  80. package/dist/components/vue-ui-vertical-bar.js +1 -1
  81. package/dist/components/vue-ui-waffle.js +1 -1
  82. package/dist/components/vue-ui-wheel.js +1 -1
  83. package/dist/components/vue-ui-word-cloud.js +1 -1
  84. package/dist/components/vue-ui-world.js +1 -1
  85. package/dist/components/vue-ui-xy-canvas.js +1 -1
  86. package/dist/components/vue-ui-xy.js +1 -1
  87. package/dist/{dom-to-png-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
  88. package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
  89. package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
  90. package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
  91. package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
  92. package/dist/style.css +1 -1
  93. package/dist/types/vue-data-ui.d.ts +3 -1
  94. package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
  95. package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
  96. package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
  97. package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
  98. package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-GAruO_UT.js} +68 -68
  99. package/dist/vue-data-ui.js +73 -73
  100. package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-t_E9saCp.js} +222 -218
  101. package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
  102. package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-DKlTGZ6m.js} +177 -173
  103. package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
  104. package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-C4FXVy8_.js} +135 -131
  105. package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-BJZrexv4.js} +264 -260
  106. package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-P7w1YVT6.js} +304 -300
  107. package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-DQk4RoWo.js} +4 -4
  108. package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-Co8x4We0.js} +326 -322
  109. package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-NjSRzToa.js} +171 -167
  110. package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CwrgCRKX.js} +162 -158
  111. package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-Bh5-9JWm.js} +3 -3
  112. package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-BBGpjSzH.js} +451 -447
  113. package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-ekbwnmce.js} +68 -68
  114. package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
  115. package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-DvLh8qa2.js} +467 -463
  116. package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-BiLhAVY8.js} +354 -350
  117. package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-C2OWcZvr.js} +240 -236
  118. package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-Cp2le1ur.js} +171 -167
  119. package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-ClGo8z4y.js} +133 -129
  120. package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-DTAl_-40.js} +146 -142
  121. package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DOG6-lgt.js} +175 -171
  122. package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-BpWyHXwd.js} +123 -119
  123. package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-BMq5dzK4.js} +3 -3
  124. package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-Bp9HI0Zo.js} +231 -227
  125. package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CVM1jz1X.js} +252 -248
  126. package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-B0UY6b-O.js} +325 -321
  127. package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
  128. package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
  129. package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-CUppdL5f.js} +183 -179
  130. package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-QN25VSAw.js} +162 -158
  131. package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-ywWUDYjT.js} +178 -174
  132. package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-DmwZ1gg_.js} +185 -181
  133. package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-Bz2ROYRD.js} +195 -191
  134. package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CUpWOWF2.js} +243 -239
  135. package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-CXrm_rzI.js} +295 -291
  136. package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-BqLjOOnJ.js} +168 -164
  137. package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
  138. package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-CrYmJHLI.js} +185 -181
  139. package/dist/vue-ui-ridgeline-ZbmQXJxt.js +1306 -0
  140. package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-BxYoBfvT.js} +299 -295
  141. package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-BhJkoRBS.js} +354 -350
  142. package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-Bg1akQqn.js} +3 -3
  143. package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
  144. package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CJtfXMSj.js} +120 -116
  145. package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-DHJdmNDm.js} +84 -80
  146. package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ANfPLNuD.js} +81 -77
  147. package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-CIfYUXVZ.js} +109 -105
  148. package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-Bm0OmFUB.js} +184 -174
  149. package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-CCnnfsqG.js} +99 -95
  150. package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-CK5is5H7.js} +376 -372
  151. package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CFv2OUCL.js} +349 -345
  152. package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-CJ1Zkrhq.js} +248 -244
  153. package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-CMyYl8lE.js} +5 -5
  154. package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
  155. package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-Bo4nuBEx.js} +174 -170
  156. package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-h3voYVGJ.js} +133 -129
  157. package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-CazY_Z4R.js} +5 -5
  158. package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-CTa_gpit.js} +156 -152
  159. package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-B6AuOtaA.js} +161 -157
  160. package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-DnEBC07H.js} +185 -181
  161. package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-DFU2vMsP.js} +125 -121
  162. package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DgY58NEj.js} +179 -175
  163. package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-xEUaTJDk.js} +6 -6
  164. package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
  165. package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-spqKboQb.js} +697 -693
  166. package/package.json +1 -1
  167. package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
@@ -1,39 +1,43 @@
1
- import { defineAsyncComponent as T, computed as h, ref as i, toRefs as Ht, watch as q, shallowRef as Xe, onMounted as Ut, onBeforeUnmount as Ye, watchEffect as Vt, createElementBlock as u, openBlock as r, unref as c, normalizeStyle as J, normalizeClass as R, createBlock as O, createCommentVNode as f, createVNode as ge, withCtx as v, renderSlot as d, normalizeProps as m, guardReactiveProps as C, createSlots as qe, createElementVNode as k, Fragment as x, renderList as $, toDisplayString as S, mergeProps as Je, resolveDynamicComponent as jt, createTextVNode as Ke, nextTick as Xt } from "vue";
2
- import { c as me, t as Yt, i as qt, j as P, o as Qe, g as Ce, l as Ze, k as Jt, m as et, U as Kt, N as Qt, d as K, X as Zt, a as ke, $ as el, au as tl, q as ll, u as al, y as tt, a2 as ol, v as sl, r as rl, _ as nl } from "./lib-2iaAPQ_c.js";
3
- import { t as lt, u as ul } from "./useResponsive-DfdjqQps.js";
4
- import { u as il, a as xe } from "./useNestedProp-BCt4DMkT.js";
5
- import { u as cl, B as vl } from "./BaseScanner-BMpwQAfz.js";
6
- import { u as dl } from "./usePrinter-ChVMpU2f.js";
7
- import { u as hl } from "./useSvgExport-ByUukOZt.js";
8
- import { u as bl } from "./useThemeCheck-DGJ31Vi5.js";
9
- import { u as fl } from "./useUserOptionState-BIvW1Kz7.js";
10
- import { u as pl } from "./useChartAccessibility-9icAAmYg.js";
11
- import { u as yl } from "./useTimeLabelCollider-CIsgDrl9.js";
12
- import gl from "./img-CqYIrJ8I.js";
13
- import { _ as ml } from "./Shape-12_eh8zD.js";
14
- import Cl from "./Title-B5L2jweB.js";
15
- import { _ as kl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", grid: { stroke: "#5A5A5A", horizontalGrid: { stroke: "#4A4A4A" }, verticalGrid: { stroke: "#4A4A4A" } }, plots: { stroke: "#1A1A1A" }, labels: { bestPlotLabel: { color: "#CCCCCC" }, axis: { color: "#CCCCCC" }, xAxisLabels: { color: "#CCCCCC" }, yAxisLabels: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, ot = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", grid: { stroke: "#5D4037", horizontalGrid: { show: !1 }, verticalGrid: { show: !1 } }, plots: { stroke: "#FFF8E1" }, labels: { bestPlotLabel: { color: "#424242" }, axis: { color: "#424242" }, xAxisLabels: { color: "#424242" }, yAxisLabels: { color: "#424242" } }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, st = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", grid: { stroke: "#5D4037", horizontalGrid: { show: !1 }, verticalGrid: { show: !1 } }, plots: { stroke: "#1E1E1E" }, labels: { bestPlotLabel: { color: "#BDBDBD" }, axis: { color: "#BDBDBD" }, xAxisLabels: { color: "#BDBDBD" }, yAxisLabels: { color: "#BDBDBD" } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, rt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", grid: { stroke: "#5F6A5F", horizontalGrid: { show: !1 }, verticalGrid: { show: !1 } }, plots: { stroke: "#00FF00" }, labels: { bestPlotLabel: { color: "#AACCAA" }, axis: { color: "#99CC99" }, xAxisLabels: { color: "#99CC99" }, yAxisLabels: { color: "#99CC99" } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, nt = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", grid: { show: !1, horizontalGrid: { show: !1 }, verticalGrid: { show: !1 } }, plots: { stroke: "#fbfafa" }, labels: { bestPlotLabel: { color: "#A0AC94" }, axis: { color: "#A0AC94" }, xAxisLabels: { color: "#A0AC94" }, yAxisLabels: { show: !1, color: "#A0AC94" } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, ut = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", grid: { stroke: "#829C98", horizontalGrid: { stroke: "#829C98" }, verticalGrid: { stroke: "#829C98" } }, plots: { stroke: "#404C5A" }, labels: { bestPlotLabel: { color: "#61747E" }, axis: { color: "#61747E" }, xAxisLabels: { color: "#61747E" }, yAxisLabels: { color: "#61747E" } }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, it = {
1
+ import { defineAsyncComponent as T, computed as h, ref as u, toRefs as Vt, watch as q, shallowRef as Xe, onMounted as jt, onBeforeUnmount as Ye, watchEffect as Xt, createElementBlock as i, openBlock as r, unref as c, normalizeStyle as J, normalizeClass as R, createBlock as O, createCommentVNode as f, createVNode as ge, withCtx as v, renderSlot as d, normalizeProps as m, guardReactiveProps as C, createSlots as qe, createElementVNode as k, Fragment as A, renderList as $, toDisplayString as S, mergeProps as Je, resolveDynamicComponent as Yt, createTextVNode as Ke, nextTick as qt } from "vue";
2
+ import { c as me, t as Jt, i as Kt, j as P, o as Qe, g as Ce, l as Ze, k as Qt, m as et, U as Zt, N as el, d as K, X as tl, a as ke, $ as ll, au as ol, q as al, u as sl, y as tt, a2 as rl, v as nl, r as il, _ as ul } from "./lib-CVHM9FhP.js";
3
+ import { t as lt, u as cl } from "./useResponsive-DfdjqQps.js";
4
+ import { u as vl, a as Ae } from "./useNestedProp-Ckf_2P_V.js";
5
+ import { u as dl, B as hl } from "./BaseScanner-BMpwQAfz.js";
6
+ import { u as bl } from "./usePrinter-1NmjuP-i.js";
7
+ import { u as fl } from "./useSvgExport-ByUukOZt.js";
8
+ import { u as pl } from "./useThemeCheck-D1ZYXUwG.js";
9
+ import { u as yl } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as gl } from "./useChartAccessibility-9icAAmYg.js";
11
+ import { u as ml } from "./useTimeLabelCollider-CIsgDrl9.js";
12
+ import Cl from "./img-6fNF_rG0.js";
13
+ import { _ as kl } from "./Shape-PzdCMGsP.js";
14
+ import Al from "./Title-NgeRXqRA.js";
15
+ import { _ as xl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const ot = { userOptions: { show: !1 }, style: { chart: { grid: { horizontalGrid: { show: !1 }, verticalGrid: { show: !1 } }, plots: { gradient: { show: !1 } } } } }, at = { userOptions: { show: !1 }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", grid: { stroke: "#5A5A5A", horizontalGrid: { show: !1, stroke: "#4A4A4A" }, verticalGrid: { show: !1, stroke: "#4A4A4A" } }, plots: { stroke: "#1A1A1A", gradient: { show: !1 } }, labels: { bestPlotLabel: { color: "#CCCCCC" }, axis: { color: "#CCCCCC" }, xAxisLabels: { color: "#CCCCCC" }, yAxisLabels: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, st = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", grid: { stroke: "#5A5A5A", horizontalGrid: { stroke: "#4A4A4A" }, verticalGrid: { stroke: "#4A4A4A" } }, plots: { stroke: "#1A1A1A" }, labels: { bestPlotLabel: { color: "#CCCCCC" }, axis: { color: "#CCCCCC" }, xAxisLabels: { color: "#CCCCCC" }, yAxisLabels: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, rt = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", grid: { stroke: "#5D4037", horizontalGrid: { show: !1 }, verticalGrid: { show: !1 } }, plots: { stroke: "#FFF8E1" }, labels: { bestPlotLabel: { color: "#424242" }, axis: { color: "#424242" }, xAxisLabels: { color: "#424242" }, yAxisLabels: { color: "#424242" } }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, nt = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", grid: { stroke: "#5D4037", horizontalGrid: { show: !1 }, verticalGrid: { show: !1 } }, plots: { stroke: "#1E1E1E" }, labels: { bestPlotLabel: { color: "#BDBDBD" }, axis: { color: "#BDBDBD" }, xAxisLabels: { color: "#BDBDBD" }, yAxisLabels: { color: "#BDBDBD" } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, it = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", grid: { stroke: "#5F6A5F", horizontalGrid: { show: !1 }, verticalGrid: { show: !1 } }, plots: { stroke: "#00FF00" }, labels: { bestPlotLabel: { color: "#AACCAA" }, axis: { color: "#99CC99" }, xAxisLabels: { color: "#99CC99" }, yAxisLabels: { color: "#99CC99" } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, ut = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", grid: { show: !1, horizontalGrid: { show: !1 }, verticalGrid: { show: !1 } }, plots: { stroke: "#fbfafa" }, labels: { bestPlotLabel: { color: "#A0AC94" }, axis: { color: "#A0AC94" }, xAxisLabels: { color: "#A0AC94" }, yAxisLabels: { show: !1, color: "#A0AC94" } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, ct = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", grid: { stroke: "#829C98", horizontalGrid: { stroke: "#829C98" }, verticalGrid: { stroke: "#829C98" } }, plots: { stroke: "#404C5A" }, labels: { bestPlotLabel: { color: "#61747E" }, axis: { color: "#61747E" }, xAxisLabels: { color: "#61747E" }, yAxisLabels: { color: "#61747E" } }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, vt = {
17
17
  default: {},
18
- dark: at,
19
- celebration: ot,
20
- celebrationNight: st,
21
- hack: rt,
22
- zen: nt,
23
- concrete: ut
24
- }, va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18
+ minimal: ot,
19
+ minimalDark: at,
20
+ dark: st,
21
+ celebration: rt,
22
+ celebrationNight: nt,
23
+ hack: it,
24
+ zen: ut,
25
+ concrete: ct
26
+ }, bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25
27
  __proto__: null,
26
- celebration: ot,
27
- celebrationNight: st,
28
- concrete: ut,
29
- dark: at,
30
- default: it,
31
- hack: rt,
32
- zen: nt
33
- }, Symbol.toStringTag, { value: "Module" })), xl = ["id"], Al = ["xmlns", "viewBox"], wl = ["x", "y", "width", "height"], Ll = { key: 1 }, _l = { key: 0 }, Tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], $l = { key: 1 }, Sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Dl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ol = ["x", "y", "fill", "font-size"], Pl = ["transform", "font-size", "fill", "text-anchor"], zl = ["transform", "font-size", "fill", "text-anchor", "innerHTML"], Bl = ["fill", "font-size", "transform"], El = ["fill", "font-size", "x", "y"], Nl = ["x1", "x2", "y1", "y2", "stroke"], Ml = ["cx", "cy", "fill"], Gl = ["cx", "cy", "fill"], Il = ["id"], Rl = ["stop-color"], Wl = ["stop-color"], Hl = ["stop-color"], Ul = { key: 0 }, Vl = ["x", "y", "font-size", "fill"], jl = {
28
+ celebration: rt,
29
+ celebrationNight: nt,
30
+ concrete: ct,
31
+ dark: st,
32
+ default: vt,
33
+ hack: it,
34
+ minimal: ot,
35
+ minimalDark: at,
36
+ zen: ut
37
+ }, Symbol.toStringTag, { value: "Module" })), wl = ["id"], Ll = ["xmlns", "viewBox"], _l = ["x", "y", "width", "height"], Tl = { key: 1 }, $l = { key: 0 }, Sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Dl = { key: 1 }, Fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ol = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zl = ["x", "y", "fill", "font-size"], Bl = ["transform", "font-size", "fill", "text-anchor"], El = ["transform", "font-size", "fill", "text-anchor", "innerHTML"], Nl = ["fill", "font-size", "transform"], Gl = ["fill", "font-size", "x", "y"], Ml = ["x1", "x2", "y1", "y2", "stroke"], Il = ["cx", "cy", "fill"], Rl = ["cx", "cy", "fill"], Wl = ["id"], Hl = ["stop-color"], Ul = ["stop-color"], Vl = ["stop-color"], jl = { key: 0 }, Xl = ["x", "y", "font-size", "fill"], Yl = {
34
38
  key: 4,
35
39
  class: "vue-data-ui-watermark"
36
- }, Xl = ["innerHTML"], Yl = {
40
+ }, ql = ["innerHTML"], Jl = {
37
41
  __name: "vue-ui-strip-plot",
38
42
  props: {
39
43
  config: {
@@ -50,16 +54,16 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
50
54
  }
51
55
  },
52
56
  emits: ["selectDatapoint"],
53
- setup(ct, { expose: vt, emit: dt }) {
54
- const ht = T(() => import("./Tooltip-DpfUZbt7.js")), bt = T(() => import("./BaseIcon-B9bGT7HU.js")), ft = T(() => import("./vue-ui-accordion-CAXPDm31.js")), pt = T(() => import("./DataTable-DEwh__D8.js")), yt = T(() => import("./UserOptions-5pXc4J-c.js")), gt = T(() => import("./PenAndPaper-CulSakut.js")), mt = T(() => import("./PackageVersion-C-JOGZBL.js")), Ct = T(() => import("./BaseDraggableDialog-O2XSymlZ.js")), { vue_ui_strip_plot: kt } = il(), { isThemeValid: xt, warnInvalidTheme: At } = bl(), g = ct, wt = dt, W = h({
57
+ setup(dt, { expose: ht, emit: bt }) {
58
+ const ft = T(() => import("./Tooltip-B6qvABDL.js")), pt = T(() => import("./BaseIcon-4uOct8re.js")), yt = T(() => import("./vue-ui-accordion-DFKaB_05.js")), gt = T(() => import("./DataTable-DyoDzNNY.js")), mt = T(() => import("./UserOptions-CX7Xsusk.js")), Ct = T(() => import("./PenAndPaper-LTuSTmWE.js")), kt = T(() => import("./PackageVersion-CQxJyGQr.js")), At = T(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_strip_plot: xt } = vl(), { isThemeValid: wt, warnInvalidTheme: Lt } = pl(), g = dt, _t = bt, W = h({
55
59
  get() {
56
60
  return !!g.dataset && g.dataset.length;
57
61
  },
58
62
  set(t) {
59
63
  return t;
60
64
  }
61
- }), Q = i(me()), Ae = i(0), Z = i(!1), ee = i(""), w = i(null), we = i(null), Le = i(null), _e = i(null), Te = i(!1), $e = i(0), Se = i(0), N = i(null), te = i(null), le = i(null), ae = i(null), H = i(null), oe = i(null), e = i(ce()), { loading: se, FINAL_DATASET: re, manualLoading: ne } = cl({
62
- ...Ht(g),
65
+ }), Q = u(me()), xe = u(0), Z = u(!1), ee = u(""), w = u(null), we = u(null), Le = u(null), _e = u(null), Te = u(!1), $e = u(0), Se = u(0), N = u(null), te = u(null), le = u(null), oe = u(null), H = u(null), ae = u(null), e = u(ce()), { loading: se, FINAL_DATASET: re, manualLoading: ne } = dl({
66
+ ...Vt(g),
63
67
  FINAL_CONFIG: e,
64
68
  prepareConfig: ce,
65
69
  skeletonDataset: [
@@ -109,7 +113,7 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
109
113
  ]
110
114
  }
111
115
  ],
112
- skeletonConfig: Yt({
116
+ skeletonConfig: Jt({
113
117
  defaultConfig: e.value,
114
118
  userConfig: {
115
119
  userOptions: { show: !1 },
@@ -148,34 +152,34 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
148
152
  }
149
153
  }
150
154
  })
151
- }), { userOptionsVisible: ue, setUserOptionsVisibility: De, keepUserOptionState: Fe } = fl({ config: e.value }), { svgRef: ie } = pl({ config: e.value.style.chart.title });
155
+ }), { userOptionsVisible: ie, setUserOptionsVisibility: De, keepUserOptionState: Fe } = yl({ config: e.value }), { svgRef: ue } = gl({ config: e.value.style.chart.title });
152
156
  function ce() {
153
- const t = xe({
157
+ const t = Ae({
154
158
  userConfig: g.config,
155
- defaultConfig: kt
156
- }), a = t.theme;
157
- if (!a) return t;
158
- if (!xt.value(t))
159
- return At(t), t;
160
- const l = xe({
161
- userConfig: it[a] || g.config,
159
+ defaultConfig: xt
160
+ }), o = t.theme;
161
+ if (!o) return t;
162
+ if (!wt.value(t))
163
+ return Lt(t), t;
164
+ const l = Ae({
165
+ userConfig: vt[o] || g.config,
162
166
  defaultConfig: t
163
- }), o = xe({
167
+ }), a = Ae({
164
168
  userConfig: g.config,
165
169
  defaultConfig: l
166
170
  });
167
171
  return {
168
- ...o,
169
- customPalette: o.customPalette.length ? o.customPalette : qt[a] || P
172
+ ...a,
173
+ customPalette: a.customPalette.length ? a.customPalette : Kt[o] || P
170
174
  };
171
175
  }
172
176
  q(() => g.config, async (t) => {
173
- se.value || (e.value = ce()), ue.value = !e.value.userOptions.showOnChartHover, Oe(), $e.value += 1, Se.value += 1, p.value.dataLabels.show = e.value.style.chart.labels.bestPlotLabel.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show, B.value = e.value.style.chart.width, _.value = e.value.style.chart.height, G.value = e.value.style.chart.plots.radius;
177
+ se.value || (e.value = ce()), ie.value = !e.value.userOptions.showOnChartHover, Oe(), $e.value += 1, Se.value += 1, p.value.dataLabels.show = e.value.style.chart.labels.bestPlotLabel.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show, B.value = e.value.style.chart.width, _.value = e.value.style.chart.height, M.value = e.value.style.chart.plots.radius;
174
178
  }, { deep: !0 }), q(() => g.dataset, (t) => {
175
179
  Array.isArray(t) && t.length > 0 && (ne.value = !1);
176
180
  }, { deep: !0 });
177
181
  const L = Xe(null), z = Xe(null);
178
- Ut(() => {
182
+ jt(() => {
179
183
  Oe();
180
184
  });
181
185
  const ve = h(() => !!e.value.debug);
@@ -184,7 +188,7 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
184
188
  componentName: "VueUiStripPlot",
185
189
  type: "dataset",
186
190
  debug: ve.value
187
- }), ne.value = !0) : g.dataset.forEach((t, a) => {
191
+ }), ne.value = !0) : g.dataset.forEach((t, o) => {
188
192
  Ze({
189
193
  datasetObject: t,
190
194
  requiredAttributes: ["name", "plots"]
@@ -193,10 +197,10 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
193
197
  componentName: "VueUiStripPlot",
194
198
  type: "datasetSerieAttribute",
195
199
  property: l,
196
- index: a,
200
+ index: o,
197
201
  debug: ve.value
198
202
  });
199
- }), t.plots && t.plots.forEach((l, o) => {
203
+ }), t.plots && t.plots.forEach((l, a) => {
200
204
  Ze({
201
205
  datasetObject: l,
202
206
  requiredAttributes: ["name", "value"]
@@ -205,48 +209,48 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
205
209
  componentName: "VueUiStripPlot",
206
210
  type: "datasetSerieAttribute",
207
211
  property: n,
208
- index: `${a},${o}`,
212
+ index: `${o},${a}`,
209
213
  debug: ve.value
210
214
  });
211
215
  });
212
216
  });
213
217
  }), Qe(g.dataset) || (ne.value = e.value.loading), e.value.responsive) {
214
218
  const t = lt(() => {
215
- const { width: a, height: l } = ul({
219
+ const { width: o, height: l } = cl({
216
220
  chart: w.value,
217
221
  title: e.value.style.chart.title.text ? we.value : null,
218
222
  source: Le.value,
219
223
  noTitle: _e.value
220
224
  });
221
225
  requestAnimationFrame(() => {
222
- _t.value = l, B.value = Math.max(0.1, a), _.value = Math.max(0.1, l - 12), e.value.responsiveProportionalSizing ? G.value = ol({
223
- relator: Math.min(l, a),
226
+ $t.value = l, B.value = Math.max(0.1, o), _.value = Math.max(0.1, l - 12), e.value.responsiveProportionalSizing ? M.value = rl({
227
+ relator: Math.min(l, o),
224
228
  adjuster: 600,
225
229
  source: e.value.style.chart.plots.radius,
226
230
  threshold: 6,
227
231
  fallback: 6
228
- }) : G.value = e.value.style.chart.plots.radius;
232
+ }) : M.value = e.value.style.chart.plots.radius;
229
233
  });
230
234
  });
231
235
  L.value && (z.value && L.value.unobserve(z.value), L.value.disconnect()), L.value = new ResizeObserver(t), z.value = w.value.parentNode, L.value.observe(z.value);
232
236
  }
233
237
  Te.value = !0, setTimeout(() => {
234
- M.value = !1;
235
- }, Dt.value * 50);
238
+ G.value = !1;
239
+ }, Ot.value * 50);
236
240
  }
237
241
  Ye(() => {
238
242
  L.value && (z.value && L.value.unobserve(z.value), L.value.disconnect());
239
243
  });
240
- const { isPrinting: Pe, isImaging: ze, generatePdf: Be, generateImage: Ee } = dl({
244
+ const { isPrinting: Pe, isImaging: ze, generatePdf: Be, generateImage: Ee } = bl({
241
245
  elementId: `strip-plot_${Q.value}`,
242
246
  fileName: e.value.style.chart.title.text || "vue-ui-strip-plot",
243
247
  options: e.value.userOptions.print
244
- }), Lt = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ne = h(() => Jt(e.value.customPalette)), M = i(e.value.useCssAnimation), U = i({
248
+ }), Tt = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ne = h(() => Qt(e.value.customPalette)), G = u(e.value.useCssAnimation), U = u({
245
249
  top: e.value.style.chart.padding.top,
246
250
  bottom: e.value.style.chart.padding.bottom,
247
251
  left: e.value.style.chart.padding.left,
248
252
  right: e.value.style.chart.padding.right
249
- }), B = i(e.value.style.chart.width), _ = i(e.value.style.chart.height), _t = i(e.value.style.chart.height), G = i(e.value.style.chart.plots.radius), p = i({
253
+ }), B = u(e.value.style.chart.width), _ = u(e.value.style.chart.height), $t = u(e.value.style.chart.height), M = u(e.value.style.chart.plots.radius), p = u({
250
254
  showTable: e.value.table.show,
251
255
  dataLabels: {
252
256
  show: e.value.style.chart.labels.bestPlotLabel.show
@@ -260,113 +264,113 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
260
264
  show: e.value.style.chart.labels.bestPlotLabel.show
261
265
  },
262
266
  showTooltip: e.value.style.chart.tooltip.show
263
- }, B.value = e.value.style.chart.width, _.value = e.value.style.chart.height, G.value = e.value.style.chart.plots.radius;
267
+ }, B.value = e.value.style.chart.width, _.value = e.value.style.chart.height, M.value = e.value.style.chart.plots.radius;
264
268
  }, { immediate: !0 });
265
- const de = h(() => Math.min(G.value, s.value.stripWidth / 2 * 0.9));
266
- function Tt() {
269
+ const de = h(() => Math.min(M.value, s.value.stripWidth / 2 * 0.9));
270
+ function St() {
267
271
  let t = 0;
268
- oe.value && (t = Array.from(oe.value.querySelectorAll("text")).reduce((o, n) => {
272
+ ae.value && (t = Array.from(ae.value.querySelectorAll("text")).reduce((a, n) => {
269
273
  const b = n.getComputedTextLength();
270
- return b > o ? b : o;
274
+ return b > a ? b : a;
271
275
  }, 0));
272
- const a = ae.value ? ae.value.getBoundingClientRect().width : 0;
273
- return t + a + (a ? 24 : 0);
276
+ const o = oe.value ? oe.value.getBoundingClientRect().width : 0;
277
+ return t + o + (o ? 24 : 0);
274
278
  }
275
- const he = i(0), $t = lt((t) => {
279
+ const he = u(0), Dt = lt((t) => {
276
280
  he.value = t;
277
281
  }, 100);
278
- Vt((t) => {
279
- const a = H.value;
280
- if (!a) return;
281
- const l = new ResizeObserver((o) => {
282
- $t(o[0].contentRect.height);
282
+ Xt((t) => {
283
+ const o = H.value;
284
+ if (!o) return;
285
+ const l = new ResizeObserver((a) => {
286
+ Dt(a[0].contentRect.height);
283
287
  });
284
- l.observe(a), t(() => l.disconnect());
288
+ l.observe(o), t(() => l.disconnect());
285
289
  }), Ye(() => {
286
290
  he.value = 0;
287
291
  });
288
- const St = h(() => {
292
+ const Ft = h(() => {
289
293
  let t = 0;
290
294
  le.value && (t = le.value.getBBox().height + e.value.style.chart.labels.axis.fontSize / 3 + 12 + e.value.style.chart.labels.axis.xLabelOffsetY);
291
- let a = 0;
292
- return H.value && (a = he.value + 12), t + a;
295
+ let o = 0;
296
+ return H.value && (o = he.value + 12), t + o;
293
297
  }), s = h(() => {
294
- const t = Tt(), a = U.value.left + t + e.value.style.chart.labels.axis.yLabelOffsetX + 5, l = B.value - U.value.right, o = Math.max(0, l - a), n = U.value.top + e.value.style.chart.plots.radius + e.value.style.chart.labels.bestPlotLabel.fontSize, b = _.value - U.value.bottom - St.value, E = Math.max(0, b - n), je = Array.isArray(re.value) ? re.value.length : 0, Wt = je > 0 ? o / je : 0;
298
+ const t = St(), o = U.value.left + t + e.value.style.chart.labels.axis.yLabelOffsetX + 5, l = B.value - U.value.right, a = Math.max(0, l - o), n = U.value.top + e.value.style.chart.plots.radius + e.value.style.chart.labels.bestPlotLabel.fontSize, b = _.value - U.value.bottom - Ft.value, E = Math.max(0, b - n), je = Array.isArray(re.value) ? re.value.length : 0, Ut = je > 0 ? a / je : 0;
295
299
  return {
296
- left: a,
300
+ left: o,
297
301
  right: l,
298
302
  top: n,
299
303
  bottom: b,
300
- width: o,
304
+ width: a,
301
305
  height: E,
302
- stripWidth: Wt,
306
+ stripWidth: Ut,
303
307
  absoluteHeight: _.value
304
308
  };
305
- }), V = h(() => re.value.map((t, a) => {
309
+ }), V = h(() => re.value.map((t, o) => {
306
310
  const l = me();
307
311
  return {
308
312
  ...t,
309
313
  id: l,
310
- color: t.color ? et(t.color) : Ne.value[a] || P[a] || P[a % P.length],
311
- plots: t.plots.map((o, n) => ({
312
- ...o,
313
- value: Kt(o.value),
314
+ color: t.color ? et(t.color) : Ne.value[o] || P[o] || P[o % P.length],
315
+ plots: t.plots.map((a, n) => ({
316
+ ...a,
317
+ value: Zt(a.value),
314
318
  parentId: l,
315
319
  parentName: t.name,
316
- parentIndex: a,
320
+ parentIndex: o,
317
321
  plotIndex: n,
318
- color: t.color ? et(t.color) : Ne.value[a] || P[a] || P[a % P.length],
322
+ color: t.color ? et(t.color) : Ne.value[o] || P[o] || P[o % P.length],
319
323
  id: me()
320
- })).sort((o, n) => o.value - n.value)
324
+ })).sort((a, n) => a.value - n.value)
321
325
  };
322
- })), A = h(() => (V.value || []).map((t, a) => ({
326
+ })), x = h(() => (V.value || []).map((t, o) => ({
323
327
  ...t,
324
328
  plots: t.plots.map((l) => ({
325
329
  ...l,
326
- x: s.value.left + (a + 1) * s.value.stripWidth - s.value.stripWidth / 2
330
+ x: s.value.left + (o + 1) * s.value.stripWidth - s.value.stripWidth / 2
327
331
  }))
328
- }))), Dt = h(() => Math.max(...A.value.map((t) => t.plots.length))), be = h(() => {
329
- const t = A.value.flatMap((a) => a.plots.map((l) => l.value));
332
+ }))), Ot = h(() => Math.max(...x.value.map((t) => t.plots.length))), be = h(() => {
333
+ const t = x.value.flatMap((o) => o.plots.map((l) => l.value));
330
334
  return {
331
335
  max: Math.max(...t),
332
336
  min: Math.min(...t)
333
337
  };
334
- }), D = h(() => Qt(be.value.min < 0 ? be.value.min : 0, be.value.max, e.value.style.chart.grid.scaleSteps)), Ft = h(() => (A.value || []).map((t, a) => ({
338
+ }), D = h(() => el(be.value.min < 0 ? be.value.min : 0, be.value.max, e.value.style.chart.grid.scaleSteps)), Pt = h(() => (x.value || []).map((t, o) => ({
335
339
  ...t,
336
340
  plots: t.plots.map((l) => ({
337
341
  ...l,
338
342
  y: s.value.bottom - (l.value + Math.abs(D.value.min)) / (D.value.max + Math.abs(D.value.min)) * s.value.height
339
343
  }))
340
- }))), Me = h(() => D.value.ticks.map((t) => ({
344
+ }))), Ge = h(() => D.value.ticks.map((t) => ({
341
345
  y: s.value.bottom - s.value.height * ((t + Math.abs(D.value.min)) / (D.value.max + Math.abs(D.value.min))),
342
346
  x1: s.value.left,
343
347
  x2: s.value.right,
344
348
  value: t
345
- }))), fe = i(null), y = i(null);
346
- function Ot({ datapoint: t, seriesIndex: a }) {
347
- Z.value = !1, y.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
349
+ }))), fe = u(null), y = u(null);
350
+ function zt({ datapoint: t, seriesIndex: o }) {
351
+ Z.value = !1, y.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o });
348
352
  }
349
- function Pt({ datapoint: t, seriesIndex: a }) {
350
- wt("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
353
+ function Bt({ datapoint: t, seriesIndex: o }) {
354
+ _t("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o });
351
355
  }
352
- function zt({ datapoint: t, seriesIndex: a }) {
353
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), fe.value = { datapoint: t, seriesIndex: a, config: e.value, series: V.value }, Z.value = !0, y.value = t;
356
+ function Et({ datapoint: t, seriesIndex: o }) {
357
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), fe.value = { datapoint: t, seriesIndex: o, config: e.value, series: V.value }, Z.value = !0, y.value = t;
354
358
  const l = e.value.style.chart.tooltip.customFormat;
355
- if (tt(l) && nl(() => l({
356
- seriesIndex: a,
359
+ if (tt(l) && ul(() => l({
360
+ seriesIndex: o,
357
361
  datapoint: t,
358
362
  series: V.value,
359
363
  config: e.value
360
364
  })))
361
365
  ee.value = l({
362
- seriesIndex: a,
366
+ seriesIndex: o,
363
367
  datapoint: t,
364
368
  series: V.value,
365
369
  config: e.value
366
370
  });
367
371
  else {
368
- let o = "";
369
- o += `<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="${e.value.style.chart.plots.gradient.show ? `url(#${t.parentId})` : t.color}"/></svg>${t.name}</div>`, o += `<div>${ke(
372
+ let a = "";
373
+ a += `<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="${e.value.style.chart.plots.gradient.show ? `url(#${t.parentId})` : t.color}"/></svg>${t.name}</div>`, a += `<div>${ke(
370
374
  e.value.style.chart.labels.formatter,
371
375
  t.value,
372
376
  K({
@@ -375,30 +379,30 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
375
379
  s: e.value.style.chart.labels.suffix,
376
380
  r: e.value.style.chart.tooltip.roundingValue
377
381
  }),
378
- { datapoint: t, seriesIndex: a }
379
- )}</div>`, ee.value = `<div>${o}</div>`;
382
+ { datapoint: t, seriesIndex: o }
383
+ )}</div>`, ee.value = `<div>${a}</div>`;
380
384
  }
381
385
  }
382
386
  const j = h(() => {
383
- const t = A.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, n) => n.value - o.value).map((o) => ({
384
- name: `${l.name} - ${o.name}`,
385
- color: o.color
386
- }))), a = A.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, n) => n.value - o.value).map((o) => o.value));
387
- return { head: t, body: a };
387
+ const t = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((a, n) => n.value - a.value).map((a) => ({
388
+ name: `${l.name} - ${a.name}`,
389
+ color: a.color
390
+ }))), o = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((a, n) => n.value - a.value).map((a) => a.value));
391
+ return { head: t, body: o };
388
392
  });
389
393
  function pe(t = null) {
390
- Xt(() => {
391
- const a = j.value.head.map((n, b) => [[
394
+ qt(() => {
395
+ const o = j.value.head.map((n, b) => [[
392
396
  n.name
393
- ], [j.value.body[b]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(a), o = sl(l);
394
- t ? t(o) : rl({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
397
+ ], [j.value.body[b]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(o), a = nl(l);
398
+ t ? t(a) : il({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
395
399
  });
396
400
  }
397
401
  const X = h(() => {
398
402
  const t = [
399
403
  e.value.table.columnNames.series,
400
404
  e.value.table.columnNames.value
401
- ], a = j.value.head.map((n, b) => {
405
+ ], o = j.value.head.map((n, b) => {
402
406
  const E = K({
403
407
  p: e.value.style.chart.labels.prefix,
404
408
  v: j.value.body[b],
@@ -431,15 +435,15 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
431
435
  e.value.table.columnNames.value
432
436
  ],
433
437
  head: t,
434
- body: a,
438
+ body: o,
435
439
  config: l
436
440
  };
437
- }), F = i(!1);
438
- function Ge(t) {
439
- F.value = t, Ae.value += 1;
441
+ }), F = u(!1);
442
+ function Me(t) {
443
+ F.value = t, xe.value += 1;
440
444
  }
441
- function Bt() {
442
- return A.value;
445
+ function Nt() {
446
+ return x.value;
443
447
  }
444
448
  function Ie() {
445
449
  p.value.showTable = !p.value.showTable;
@@ -450,27 +454,27 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
450
454
  function We() {
451
455
  p.value.showTooltip = !p.value.showTooltip;
452
456
  }
453
- const Y = i(!1);
457
+ const Y = u(!1);
454
458
  function ye() {
455
459
  Y.value = !Y.value;
456
460
  }
457
- async function Et({ scale: t = 2 } = {}) {
461
+ async function Gt({ scale: t = 2 } = {}) {
458
462
  if (!w.value) return;
459
- const { width: a, height: l } = w.value.getBoundingClientRect(), o = a / l, { imageUri: n, base64: b } = await gl({ domElement: w.value, base64: !0, img: !0, scale: t });
463
+ const { width: o, height: l } = w.value.getBoundingClientRect(), a = o / l, { imageUri: n, base64: b } = await Cl({ domElement: w.value, base64: !0, img: !0, scale: t });
460
464
  return {
461
465
  imageUri: n,
462
466
  base64: b,
463
467
  title: e.value.style.chart.title.text,
464
- width: a,
468
+ width: o,
465
469
  height: l,
466
- aspectRatio: o
470
+ aspectRatio: a
467
471
  };
468
472
  }
469
- const He = h(() => A.value.map((t) => t.name)), Nt = i({ start: 0, end: A.value.length });
470
- yl({
473
+ const He = h(() => x.value.map((t) => t.name)), Mt = u({ start: 0, end: x.value.length });
474
+ ml({
471
475
  timeLabelsEls: H,
472
476
  timeLabels: He,
473
- slicer: Nt,
477
+ slicer: Mt,
474
478
  configRef: e,
475
479
  rotationPath: ["style", "chart", "labels", "xAxisLabels", "rotation"],
476
480
  autoRotatePath: ["style", "chart", "labels", "xAxisLabels", "autoRotate", "enable"],
@@ -481,9 +485,9 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
481
485
  rotation: e.value.style.chart.labels.xAxisLabels.autoRotate.angle
482
486
  });
483
487
  const I = h(() => {
484
- const t = e.value.table.useDialog && !e.value.table.show, a = p.value.showTable;
488
+ const t = e.value.table.useDialog && !e.value.table.show, o = p.value.showTable;
485
489
  return {
486
- component: t ? Ct : ft,
490
+ component: t ? At : yt,
487
491
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
488
492
  props: t ? {
489
493
  backgroundColor: e.value.table.th.backgroundColor,
@@ -496,7 +500,7 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
496
500
  } : {
497
501
  hideDetails: !0,
498
502
  config: {
499
- open: a,
503
+ open: o,
500
504
  maxHeight: 1e4,
501
505
  body: {
502
506
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -516,21 +520,21 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
516
520
  function Ue() {
517
521
  p.value.showTable = !1, te.value && te.value.setTableIconState(!1);
518
522
  }
519
- const Mt = h(() => e.value.style.chart.backgroundColor), Gt = h(() => e.value.style.chart.title), { exportSvg: It, getSvg: Rt } = hl({
520
- svg: ie,
521
- title: Gt,
522
- backgroundColor: Mt
523
+ const It = h(() => e.value.style.chart.backgroundColor), Rt = h(() => e.value.style.chart.title), { exportSvg: Wt, getSvg: Ht } = fl({
524
+ svg: ue,
525
+ title: Rt,
526
+ backgroundColor: It
523
527
  });
524
528
  async function Ve({ isCb: t }) {
525
529
  if (t) {
526
- const { blob: a, url: l, text: o, dataUrl: n } = await Rt();
527
- e.value.userOptions.callbacks.svg({ blob: a, url: l, text: o, dataUrl: n });
530
+ const { blob: o, url: l, text: a, dataUrl: n } = await Ht();
531
+ e.value.userOptions.callbacks.svg({ blob: o, url: l, text: a, dataUrl: n });
528
532
  } else
529
- It();
533
+ Wt();
530
534
  }
531
- return vt({
532
- getData: Bt,
533
- getImage: Et,
535
+ return ht({
536
+ getData: Nt,
537
+ getImage: Gt,
534
538
  generatePdf: Be,
535
539
  generateCsv: pe,
536
540
  generateImage: Ee,
@@ -539,19 +543,19 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
539
543
  toggleLabels: Re,
540
544
  toggleTooltip: We,
541
545
  toggleAnnotator: ye,
542
- toggleFullscreen: Ge
543
- }), (t, a) => (r(), u("div", {
546
+ toggleFullscreen: Me
547
+ }), (t, o) => (r(), i("div", {
544
548
  ref_key: "stripPlotChart",
545
549
  ref: w,
546
550
  class: R(`vue-data-ui-component vue-ui-strip-plot ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
547
551
  style: J(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
548
552
  id: `strip-plot_${Q.value}`,
549
- onMouseenter: a[1] || (a[1] = () => c(De)(!0)),
550
- onMouseleave: a[2] || (a[2] = () => c(De)(!1))
553
+ onMouseenter: o[1] || (o[1] = () => c(De)(!0)),
554
+ onMouseleave: o[2] || (o[2] = () => c(De)(!1))
551
555
  }, [
552
- e.value.userOptions.buttons.annotator ? (r(), O(c(gt), {
556
+ e.value.userOptions.buttons.annotator ? (r(), O(c(Ct), {
553
557
  key: 0,
554
- svgRef: c(ie),
558
+ svgRef: c(ue),
555
559
  backgroundColor: e.value.style.chart.backgroundColor,
556
560
  color: e.value.style.chart.color,
557
561
  active: Y.value,
@@ -577,20 +581,20 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
577
581
  ]),
578
582
  _: 3
579
583
  }, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
580
- Lt.value ? (r(), u("div", {
584
+ Tt.value ? (r(), i("div", {
581
585
  key: 1,
582
586
  ref_key: "noTitle",
583
587
  ref: _e,
584
588
  class: "vue-data-ui-no-title-space",
585
589
  style: "height:36px; width: 100%;background:transparent"
586
590
  }, null, 512)) : f("", !0),
587
- e.value.style.chart.title.text ? (r(), u("div", {
591
+ e.value.style.chart.title.text ? (r(), i("div", {
588
592
  key: 2,
589
593
  ref_key: "chartTitle",
590
594
  ref: we,
591
595
  style: "width:100%;background:transparent;padding-bottom:24px"
592
596
  }, [
593
- (r(), O(Cl, {
597
+ (r(), O(Al, {
594
598
  key: `title_${$e.value}`,
595
599
  config: {
596
600
  title: {
@@ -604,10 +608,10 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
604
608
  }
605
609
  }, null, 8, ["config"]))
606
610
  ], 512)) : f("", !0),
607
- e.value.userOptions.show && W.value && (c(Fe) || c(ue)) ? (r(), O(c(yt), {
611
+ e.value.userOptions.show && W.value && (c(Fe) || c(ie)) ? (r(), O(c(mt), {
608
612
  ref_key: "userOptionsRef",
609
613
  ref: te,
610
- key: `user_option_${Ae.value}`,
614
+ key: `user_option_${xe.value}`,
611
615
  backgroundColor: e.value.style.chart.backgroundColor,
612
616
  color: e.value.style.chart.color,
613
617
  isPrinting: c(Pe),
@@ -631,7 +635,7 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
631
635
  callbacks: e.value.userOptions.callbacks,
632
636
  printScale: e.value.userOptions.print.scale,
633
637
  tableDialog: e.value.table.useDialog,
634
- onToggleFullscreen: Ge,
638
+ onToggleFullscreen: Me,
635
639
  onGeneratePdf: c(Be),
636
640
  onGenerateCsv: pe,
637
641
  onGenerateImage: c(Ee),
@@ -641,13 +645,13 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
641
645
  onToggleTooltip: We,
642
646
  onToggleAnnotator: ye,
643
647
  style: J({
644
- visibility: c(Fe) ? c(ue) ? "visible" : "hidden" : "visible"
648
+ visibility: c(Fe) ? c(ie) ? "visible" : "hidden" : "visible"
645
649
  })
646
650
  }, qe({ _: 2 }, [
647
651
  t.$slots.menuIcon ? {
648
652
  name: "menuIcon",
649
- fn: v(({ isOpen: l, color: o }) => [
650
- d(t.$slots, "menuIcon", m(C({ isOpen: l, color: o })), void 0, !0)
653
+ fn: v(({ isOpen: l, color: a }) => [
654
+ d(t.$slots, "menuIcon", m(C({ isOpen: l, color: a })), void 0, !0)
651
655
  ]),
652
656
  key: "0"
653
657
  } : void 0,
@@ -702,29 +706,29 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
702
706
  } : void 0,
703
707
  t.$slots.optionFullscreen ? {
704
708
  name: "optionFullscreen",
705
- fn: v(({ toggleFullscreen: l, isFullscreen: o }) => [
706
- d(t.$slots, "optionFullscreen", m(C({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
709
+ fn: v(({ toggleFullscreen: l, isFullscreen: a }) => [
710
+ d(t.$slots, "optionFullscreen", m(C({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
707
711
  ]),
708
712
  key: "8"
709
713
  } : void 0,
710
714
  t.$slots.optionAnnotator ? {
711
715
  name: "optionAnnotator",
712
- fn: v(({ toggleAnnotator: l, isAnnotator: o }) => [
713
- d(t.$slots, "optionAnnotator", m(C({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
716
+ fn: v(({ toggleAnnotator: l, isAnnotator: a }) => [
717
+ d(t.$slots, "optionAnnotator", m(C({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
714
718
  ]),
715
719
  key: "9"
716
720
  } : void 0
717
721
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
718
- (r(), u("svg", {
722
+ (r(), i("svg", {
719
723
  ref_key: "svgRef",
720
- ref: ie,
721
- xmlns: c(Zt),
724
+ ref: ue,
725
+ xmlns: c(tl),
722
726
  class: R({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
723
727
  viewBox: `0 0 ${B.value} ${_.value}`,
724
728
  style: J(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
725
729
  }, [
726
- ge(c(mt)),
727
- t.$slots["chart-background"] ? (r(), u("foreignObject", {
730
+ ge(c(kt)),
731
+ t.$slots["chart-background"] ? (r(), i("foreignObject", {
728
732
  key: 0,
729
733
  x: s.value.left,
730
734
  y: s.value.top,
@@ -735,10 +739,10 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
735
739
  }
736
740
  }, [
737
741
  d(t.$slots, "chart-background", {}, void 0, !0)
738
- ], 8, wl)) : f("", !0),
739
- e.value.style.chart.grid.show ? (r(), u("g", Ll, [
740
- e.value.style.chart.grid.horizontalGrid.show ? (r(), u("g", _l, [
741
- (r(!0), u(x, null, $(Me.value, (l) => (r(), u("line", {
742
+ ], 8, _l)) : f("", !0),
743
+ e.value.style.chart.grid.show ? (r(), i("g", Tl, [
744
+ e.value.style.chart.grid.horizontalGrid.show ? (r(), i("g", $l, [
745
+ (r(!0), i(A, null, $(Ge.value, (l) => (r(), i("line", {
742
746
  x1: l.x1,
743
747
  x2: l.x2,
744
748
  y1: l.y,
@@ -747,19 +751,19 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
747
751
  "stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
748
752
  "stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray,
749
753
  "stroke-linecap": "round"
750
- }, null, 8, Tl))), 256))
754
+ }, null, 8, Sl))), 256))
751
755
  ])) : f("", !0),
752
- e.value.style.chart.grid.verticalGrid.show ? (r(), u("g", $l, [
753
- (r(!0), u(x, null, $(A.value, (l, o) => (r(), u("line", {
754
- x1: s.value.left + (o + 1) * s.value.stripWidth,
755
- x2: s.value.left + (o + 1) * s.value.stripWidth,
756
+ e.value.style.chart.grid.verticalGrid.show ? (r(), i("g", Dl, [
757
+ (r(!0), i(A, null, $(x.value, (l, a) => (r(), i("line", {
758
+ x1: s.value.left + (a + 1) * s.value.stripWidth,
759
+ x2: s.value.left + (a + 1) * s.value.stripWidth,
756
760
  y1: s.value.top,
757
761
  y2: s.value.bottom,
758
762
  stroke: e.value.style.chart.grid.verticalGrid.stroke,
759
763
  "stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
760
764
  "stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
761
765
  "stroke-linecap": "round"
762
- }, null, 8, Sl))), 256))
766
+ }, null, 8, Fl))), 256))
763
767
  ])) : f("", !0),
764
768
  k("line", {
765
769
  x1: s.value.left,
@@ -769,7 +773,7 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
769
773
  stroke: e.value.style.chart.grid.stroke,
770
774
  "stroke-width": e.value.style.chart.grid.strokeWidth,
771
775
  "stroke-linecap": "round"
772
- }, null, 8, Dl),
776
+ }, null, 8, Ol),
773
777
  k("line", {
774
778
  x1: s.value.left,
775
779
  x2: s.value.right,
@@ -778,14 +782,14 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
778
782
  stroke: e.value.style.chart.grid.stroke,
779
783
  "stroke-width": e.value.style.chart.grid.strokeWidth,
780
784
  "stroke-linecap": "round"
781
- }, null, 8, Fl)
785
+ }, null, 8, Pl)
782
786
  ])) : f("", !0),
783
- e.value.style.chart.labels.yAxisLabels.show ? (r(), u("g", {
787
+ e.value.style.chart.labels.yAxisLabels.show ? (r(), i("g", {
784
788
  key: 2,
785
789
  ref_key: "scaleLabels",
786
- ref: oe
790
+ ref: ae
787
791
  }, [
788
- (r(!0), u(x, null, $(Me.value, (l, o) => (r(), u("text", {
792
+ (r(!0), i(A, null, $(Ge.value, (l, a) => (r(), i("text", {
789
793
  x: l.x1 + e.value.style.chart.labels.yAxisLabels.offsetX - 5,
790
794
  y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
791
795
  fill: e.value.style.chart.labels.yAxisLabels.color,
@@ -800,50 +804,50 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
800
804
  s: e.value.style.chart.labels.suffix,
801
805
  r: e.value.style.chart.labels.yAxisLabels.rounding
802
806
  }),
803
- { datapoint: l, seriesIndex: o }
804
- )), 9, Ol))), 256))
807
+ { datapoint: l, seriesIndex: a }
808
+ )), 9, zl))), 256))
805
809
  ], 512)) : f("", !0),
806
- e.value.style.chart.labels.xAxisLabels.show ? (r(), u("g", {
810
+ e.value.style.chart.labels.xAxisLabels.show ? (r(), i("g", {
807
811
  key: 3,
808
812
  ref_key: "timeLabelsEls",
809
813
  ref: H
810
814
  }, [
811
- (r(!0), u(x, null, $(He.value, (l, o) => (r(), u("g", null, [
815
+ (r(!0), i(A, null, $(He.value, (l, a) => (r(), i("g", null, [
812
816
  String(l).includes(`
813
- `) ? (r(), u("text", {
817
+ `) ? (r(), i("text", {
814
818
  key: 1,
815
819
  class: "vue-ui-strip-plot-category-name",
816
- transform: `translate(${s.value.left + (o + 1) * s.value.stripWidth - s.value.stripWidth / 2}, ${s.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${e.value.style.chart.labels.xAxisLabels.rotation})`,
820
+ transform: `translate(${s.value.left + (a + 1) * s.value.stripWidth - s.value.stripWidth / 2}, ${s.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${e.value.style.chart.labels.xAxisLabels.rotation})`,
817
821
  "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
818
822
  fill: e.value.style.chart.labels.xAxisLabels.color,
819
823
  "text-anchor": e.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : e.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
820
- innerHTML: c(el)({
821
- content: c(tl)(String(l)),
824
+ innerHTML: c(ll)({
825
+ content: c(ol)(String(l)),
822
826
  fontSize: e.value.style.chart.labels.xAxisLabels.fontSize,
823
827
  fill: e.value.style.chart.labels.xAxisLabels.color,
824
828
  x: 0,
825
829
  y: 0
826
830
  })
827
- }, null, 8, zl)) : (r(), u("text", {
831
+ }, null, 8, El)) : (r(), i("text", {
828
832
  key: 0,
829
833
  class: "vue-ui-strip-plot-category-name",
830
- transform: `translate(${s.value.left + (o + 1) * s.value.stripWidth - s.value.stripWidth / 2}, ${s.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${e.value.style.chart.labels.xAxisLabels.rotation})`,
834
+ transform: `translate(${s.value.left + (a + 1) * s.value.stripWidth - s.value.stripWidth / 2}, ${s.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${e.value.style.chart.labels.xAxisLabels.rotation})`,
831
835
  "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
832
836
  fill: e.value.style.chart.labels.xAxisLabels.color,
833
837
  "text-anchor": e.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : e.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle"
834
- }, S(String(l)), 9, Pl))
838
+ }, S(String(l)), 9, Bl))
835
839
  ]))), 256))
836
840
  ], 512)) : f("", !0),
837
- e.value.style.chart.labels.axis.yLabel ? (r(), u("text", {
841
+ e.value.style.chart.labels.axis.yLabel ? (r(), i("text", {
838
842
  key: 4,
839
843
  ref_key: "yAxisLabel",
840
- ref: ae,
844
+ ref: oe,
841
845
  fill: e.value.style.chart.labels.axis.color,
842
846
  "font-size": e.value.style.chart.labels.axis.fontSize,
843
847
  transform: `translate(${e.value.style.chart.labels.axis.fontSize}, ${s.value.top + s.value.height / 2}) rotate(-90)`,
844
848
  "text-anchor": "middle"
845
- }, S(e.value.style.chart.labels.axis.yLabel), 9, Bl)) : f("", !0),
846
- e.value.style.chart.labels.axis.xLabel ? (r(), u("text", {
849
+ }, S(e.value.style.chart.labels.axis.yLabel), 9, Nl)) : f("", !0),
850
+ e.value.style.chart.labels.axis.xLabel ? (r(), i("text", {
847
851
  key: 5,
848
852
  ref_key: "xAxisLabel",
849
853
  ref: le,
@@ -852,8 +856,8 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
852
856
  x: s.value.left + s.value.width / 2,
853
857
  y: _.value - e.value.style.chart.labels.axis.fontSize / 3,
854
858
  "text-anchor": "middle"
855
- }, S(e.value.style.chart.labels.axis.xLabel), 9, El)) : f("", !0),
856
- y.value ? (r(), u(x, { key: 6 }, [
859
+ }, S(e.value.style.chart.labels.axis.xLabel), 9, Gl)) : f("", !0),
860
+ y.value ? (r(), i(A, { key: 6 }, [
857
861
  k("line", {
858
862
  x1: s.value.left,
859
863
  x2: s.value.right,
@@ -862,65 +866,65 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
862
866
  stroke: y.value.color,
863
867
  "stroke-width": 1,
864
868
  class: R({ "select-circle": e.value.useCssAnimation })
865
- }, null, 10, Nl),
869
+ }, null, 10, Ml),
866
870
  k("circle", {
867
871
  cx: s.value.left,
868
872
  cy: y.value.y,
869
873
  r: 3,
870
874
  fill: y.value.color,
871
875
  class: R({ "select-circle": e.value.useCssAnimation })
872
- }, null, 10, Ml),
876
+ }, null, 10, Il),
873
877
  k("circle", {
874
878
  cx: s.value.right,
875
879
  cy: y.value.y,
876
880
  r: 3,
877
881
  fill: y.value.color,
878
882
  class: R({ "select-circle": e.value.useCssAnimation })
879
- }, null, 10, Gl)
883
+ }, null, 10, Rl)
880
884
  ], 64)) : f("", !0),
881
885
  k("defs", null, [
882
- (r(!0), u(x, null, $(A.value, (l) => (r(), u("radialGradient", {
886
+ (r(!0), i(A, null, $(x.value, (l) => (r(), i("radialGradient", {
883
887
  id: l.id,
884
888
  fy: "30%"
885
889
  }, [
886
890
  k("stop", {
887
891
  offset: "10%",
888
- "stop-color": c(ll)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
889
- }, null, 8, Rl),
892
+ "stop-color": c(al)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
893
+ }, null, 8, Hl),
890
894
  k("stop", {
891
895
  offset: "90%",
892
- "stop-color": c(al)(l.color, 0.1)
893
- }, null, 8, Wl),
896
+ "stop-color": c(sl)(l.color, 0.1)
897
+ }, null, 8, Ul),
894
898
  k("stop", {
895
899
  offset: "100%",
896
900
  "stop-color": l.color
897
- }, null, 8, Hl)
898
- ], 8, Il))), 256))
901
+ }, null, 8, Vl)
902
+ ], 8, Wl))), 256))
899
903
  ]),
900
- (r(!0), u(x, null, $(Ft.value, (l, o) => (r(), u(x, null, [
901
- (r(!0), u(x, null, $(l.plots, (n, b) => (r(), O(ml, Je({ ref_for: !0 }, t.$attrs, {
904
+ (r(!0), i(A, null, $(Pt.value, (l, a) => (r(), i(A, null, [
905
+ (r(!0), i(A, null, $(l.plots, (n, b) => (r(), O(kl, Je({ ref_for: !0 }, t.$attrs, {
902
906
  plot: { x: n.x, y: Te.value ? n.y : s.value.top },
903
907
  radius: y.value && y.value.id === n.id ? de.value * 1.5 : de.value,
904
908
  shape: e.value.style.chart.plots.shape,
905
909
  stroke: e.value.style.chart.plots.stroke,
906
910
  strokeWidth: e.value.style.chart.plots.strokeWidth,
907
911
  color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
908
- style: `transition: all 0.2s ease-in-out; opacity:${y.value ? y.value.id === n.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${M.value ? `transition-delay:${b * 50}ms` : ""}`,
909
- class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && M.value && !c(se), "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !M.value },
910
- onMouseenter: (E) => zt({ datapoint: n, seriesIndex: b }),
911
- onMouseleave: (E) => Ot({ datapoint: n, seriesIndex: b }),
912
- onClick: (E) => Pt({ datapoint: n, seriesIndex: b })
912
+ style: `transition: all 0.2s ease-in-out; opacity:${y.value ? y.value.id === n.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${G.value ? `transition-delay:${b * 50}ms` : ""}`,
913
+ class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && G.value && !c(se), "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !G.value },
914
+ onMouseenter: (E) => Et({ datapoint: n, seriesIndex: b }),
915
+ onMouseleave: (E) => zt({ datapoint: n, seriesIndex: b }),
916
+ onClick: (E) => Bt({ datapoint: n, seriesIndex: b })
913
917
  }), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "style", "class", "onMouseenter", "onMouseleave", "onClick"]))), 256)),
914
- p.value.dataLabels.show ? (r(), u("g", Ul, [
915
- (r(!0), u(x, null, $(l.plots, (n, b) => (r(), u(x, null, [
916
- b === l.plots.length - 1 || y.value && y.value.id === n.id && !p.value.showTooltip ? (r(), u("text", {
918
+ p.value.dataLabels.show ? (r(), i("g", jl, [
919
+ (r(!0), i(A, null, $(l.plots, (n, b) => (r(), i(A, null, [
920
+ b === l.plots.length - 1 || y.value && y.value.id === n.id && !p.value.showTooltip ? (r(), i("text", {
917
921
  key: 0,
918
922
  x: n.x,
919
923
  y: n.y + e.value.style.chart.labels.bestPlotLabel.offsetY - de.value * (y.value && y.value.id === n.id && !p.value.showTooltip ? 2 : 1.5),
920
924
  "font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
921
925
  fill: e.value.style.chart.labels.bestPlotLabel.color,
922
926
  "text-anchor": "middle",
923
- style: J(`opacity:${e.value.useCssAnimation && M.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
927
+ style: J(`opacity:${e.value.useCssAnimation && G.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
924
928
  }, S(n.name) + " " + S(e.value.style.chart.labels.bestPlotLabel.showValue ? c(ke)(
925
929
  e.value.style.chart.labels.formatter,
926
930
  n.value,
@@ -931,16 +935,16 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
931
935
  r: e.value.style.chart.labels.bestPlotLabel.rounding
932
936
  }),
933
937
  { datapoint: n, seriesIndex: b }
934
- ) : ""), 13, Vl)) : f("", !0)
938
+ ) : ""), 13, Xl)) : f("", !0)
935
939
  ], 64))), 256))
936
940
  ])) : f("", !0)
937
941
  ], 64))), 256)),
938
942
  d(t.$slots, "svg", { svg: s.value }, void 0, !0)
939
- ], 14, Al)),
940
- t.$slots.watermark ? (r(), u("div", jl, [
943
+ ], 14, Ll)),
944
+ t.$slots.watermark ? (r(), i("div", Yl, [
941
945
  d(t.$slots, "watermark", m(C({ isPrinting: c(Pe) || c(ze) })), void 0, !0)
942
946
  ])) : f("", !0),
943
- t.$slots.source ? (r(), u("div", {
947
+ t.$slots.source ? (r(), i("div", {
944
948
  key: 5,
945
949
  ref_key: "source",
946
950
  ref: Le,
@@ -948,7 +952,7 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
948
952
  }, [
949
953
  d(t.$slots, "source", {}, void 0, !0)
950
954
  ], 512)) : f("", !0),
951
- ge(c(ht), {
955
+ ge(c(ft), {
952
956
  teleportTo: e.value.style.chart.tooltip.teleportTo,
953
957
  show: p.value.showTooltip && Z.value,
954
958
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
@@ -977,13 +981,13 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
977
981
  ]),
978
982
  _: 3
979
983
  }, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
980
- W.value && e.value.userOptions.buttons.table ? (r(), O(jt(I.value.component), Je({ key: 6 }, I.value.props, {
984
+ W.value && e.value.userOptions.buttons.table ? (r(), O(Yt(I.value.component), Je({ key: 6 }, I.value.props, {
981
985
  ref_key: "tableUnit",
982
986
  ref: N,
983
987
  onClose: Ue
984
988
  }), qe({
985
989
  content: v(() => [
986
- (r(), O(c(pt), {
990
+ (r(), O(c(gt), {
987
991
  key: `table_${Se.value}`,
988
992
  colNames: X.value.colNames,
989
993
  head: X.value.head,
@@ -997,7 +1001,7 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
997
1001
  k("div", {
998
1002
  innerHTML: l,
999
1003
  style: { display: "flex", "align-items": "center" }
1000
- }, null, 8, Xl)
1004
+ }, null, 8, ql)
1001
1005
  ]),
1002
1006
  td: v(({ td: l }) => [
1003
1007
  Ke(S(l.name || l), 1)
@@ -1020,9 +1024,9 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
1020
1024
  k("button", {
1021
1025
  tabindex: "0",
1022
1026
  class: "vue-ui-user-options-button",
1023
- onClick: a[0] || (a[0] = (l) => pe(e.value.userOptions.callbacks.csv))
1027
+ onClick: o[0] || (o[0] = (l) => pe(e.value.userOptions.callbacks.csv))
1024
1028
  }, [
1025
- ge(c(bt), {
1029
+ ge(c(pt), {
1026
1030
  name: "excel",
1027
1031
  stroke: I.value.props.color
1028
1032
  }, null, 8, ["stroke"])
@@ -1031,15 +1035,15 @@ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gri
1031
1035
  key: "1"
1032
1036
  } : void 0
1033
1037
  ]), 1040)) : f("", !0),
1034
- c(se) ? (r(), O(vl, { key: 7 })) : f("", !0)
1035
- ], 46, xl));
1038
+ c(se) ? (r(), O(hl, { key: 7 })) : f("", !0)
1039
+ ], 46, wl));
1036
1040
  }
1037
- }, ql = /* @__PURE__ */ kl(Yl, [["__scopeId", "data-v-9134dd49"]]), da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1041
+ }, Kl = /* @__PURE__ */ xl(Jl, [["__scopeId", "data-v-9134dd49"]]), fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1038
1042
  __proto__: null,
1039
- default: ql
1043
+ default: Kl
1040
1044
  }, Symbol.toStringTag, { value: "Module" }));
1041
1045
  export {
1042
- va as a,
1043
- da as b,
1044
- ql as v
1046
+ bo as a,
1047
+ fo as b,
1048
+ Kl as v
1045
1049
  };