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 F, computed as y, ref as d, toRefs as Rt, onMounted as Nt, watch as Z, shallowRef as Re, onBeforeUnmount as Ne, watchEffect as Vt, createElementBlock as c, openBlock as u, normalizeStyle as L, normalizeClass as Ve, createBlock as N, createCommentVNode as g, renderSlot as b, unref as h, withCtx as p, normalizeProps as x, guardReactiveProps as $, createSlots as We, createVNode as ye, Fragment as k, renderList as S, createElementVNode as ee, toDisplayString as V, mergeProps as be, resolveDynamicComponent as Wt, createTextVNode as Ue } from "vue";
2
- import { c as Xe, t as Ut, i as Xt, j as te, k as jt, o as je, g as Ye, l as Yt, m as Ge, a as Gt, d as qt, x as qe, E as W, A as Jt, C as Kt, S as Qt, X as Zt, $ as me, v as el, r as tl } from "./lib-2iaAPQ_c.js";
3
- import { t as Je, u as ll } from "./useResponsive-DfdjqQps.js";
4
- import { u as al, a as pe } from "./useNestedProp-BCt4DMkT.js";
5
- import { u as ol, B as nl } from "./BaseScanner-BMpwQAfz.js";
6
- import { u as sl } from "./usePrinter-ChVMpU2f.js";
7
- import { u as ul } from "./useThemeCheck-DGJ31Vi5.js";
8
- import { u as rl } from "./useTimeLabels-DKoynYae.js";
9
- import { u as il } from "./useUserOptionState-BIvW1Kz7.js";
10
- import { u as cl } from "./useChartAccessibility-9icAAmYg.js";
11
- import { u as vl } from "./useTimeLabelCollider-CIsgDrl9.js";
12
- import hl from "./Title-B5L2jweB.js";
13
- import dl from "./BaseDraggableDialog-O2XSymlZ.js";
14
- import { u as fl } from "./useSvgExport-ByUukOZt.js";
15
- import { _ as yl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { lines: { coatingColor: "#1A1A1A" }, nameLabels: { color: "#CCCCCC" }, plots: { stroke: "#1A1A1A" }, timeLabels: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } }, Qe = { table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } }, style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { lines: { coatingColor: "#FFF8E1" }, nameLabels: { color: "#424242" }, plots: { stroke: "#FFF8E1" }, timeLabels: { color: "#424242" } }, title: { color: "#424242", subtitle: { color: "#757575" } } } } }, Ze = { table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } }, style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { lines: { coatingColor: "#1E1E1E" }, nameLabels: { color: "#BDBDBD" }, plots: { stroke: "#1E1E1E" }, timeLabels: { color: "#BDBDBD" } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } } }, et = { table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { lines: { coatingColor: "#1A1A1A" }, nameLabels: { color: "#99AA99" }, plots: { stroke: "#1A1A1A" }, timeLabels: { color: "#99AA99" } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } } }, tt = { table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } }, style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { lines: { coatingColor: "#fbfafa" }, nameLabels: { color: "#8A9892" }, plots: { stroke: "#fbfafa" }, timeLabels: { color: "#8A9892" } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } } }, lt = { table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } }, style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { lines: { coatingColor: "#f6f6fb" }, nameLabels: { color: "#50606C" }, plots: { stroke: "#f6f6fb" }, timeLabels: { color: "#50606C" } }, title: { color: "#50606C", subtitle: { color: "#718890" } } } } }, at = {
1
+ import { defineAsyncComponent as F, computed as y, ref as d, toRefs as Vt, onMounted as Wt, watch as Z, shallowRef as Re, onBeforeUnmount as Ne, watchEffect as Ut, createElementBlock as c, openBlock as u, normalizeStyle as L, normalizeClass as Ve, createBlock as N, createCommentVNode as g, renderSlot as b, unref as h, withCtx as p, normalizeProps as x, guardReactiveProps as $, createSlots as We, createVNode as ye, Fragment as k, renderList as S, createElementVNode as ee, toDisplayString as V, mergeProps as be, resolveDynamicComponent as Xt, createTextVNode as Ue } from "vue";
2
+ import { c as Xe, t as jt, i as Yt, j as te, k as Gt, o as je, g as Ye, l as qt, m as Ge, a as Jt, d as Kt, x as qe, E as W, A as Qt, C as Zt, S as el, X as tl, $ as me, v as ll, r as ol } from "./lib-CVHM9FhP.js";
3
+ import { t as Je, u as al } from "./useResponsive-DfdjqQps.js";
4
+ import { u as nl, a as pe } from "./useNestedProp-Ckf_2P_V.js";
5
+ import { u as sl, B as ul } from "./BaseScanner-BMpwQAfz.js";
6
+ import { u as rl } from "./usePrinter-1NmjuP-i.js";
7
+ import { u as il } from "./useThemeCheck-D1ZYXUwG.js";
8
+ import { u as cl } from "./useTimeLabels-DKoynYae.js";
9
+ import { u as vl } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as hl } from "./useChartAccessibility-9icAAmYg.js";
11
+ import { u as dl } from "./useTimeLabelCollider-CIsgDrl9.js";
12
+ import fl from "./Title-NgeRXqRA.js";
13
+ import yl from "./BaseDraggableDialog-BQYfVNu8.js";
14
+ import { u as bl } from "./useSvgExport-ByUukOZt.js";
15
+ import { _ as ml } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const Ke = { userOptions: { show: !1 } }, Qe = { userOptions: { show: !1 }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { lines: { coatingColor: "#1A1A1A" }, nameLabels: { color: "#CCCCCC" }, plots: { stroke: "#1A1A1A" }, timeLabels: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } }, Ze = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { lines: { coatingColor: "#1A1A1A" }, nameLabels: { color: "#CCCCCC" }, plots: { stroke: "#1A1A1A" }, timeLabels: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } }, et = { table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } }, style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { lines: { coatingColor: "#FFF8E1" }, nameLabels: { color: "#424242" }, plots: { stroke: "#FFF8E1" }, timeLabels: { color: "#424242" } }, title: { color: "#424242", subtitle: { color: "#757575" } } } } }, tt = { table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } }, style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { lines: { coatingColor: "#1E1E1E" }, nameLabels: { color: "#BDBDBD" }, plots: { stroke: "#1E1E1E" }, timeLabels: { color: "#BDBDBD" } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } } }, lt = { table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { lines: { coatingColor: "#1A1A1A" }, nameLabels: { color: "#99AA99" }, plots: { stroke: "#1A1A1A" }, timeLabels: { color: "#99AA99" } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } } }, ot = { table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } }, style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { lines: { coatingColor: "#fbfafa" }, nameLabels: { color: "#8A9892" }, plots: { stroke: "#fbfafa" }, timeLabels: { color: "#8A9892" } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } } }, at = { table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } }, style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { lines: { coatingColor: "#f6f6fb" }, nameLabels: { color: "#50606C" }, plots: { stroke: "#f6f6fb" }, timeLabels: { color: "#50606C" } }, title: { color: "#50606C", subtitle: { color: "#718890" } } } } }, nt = {
17
17
  default: {},
18
- dark: Ke,
19
- celebration: Qe,
20
- celebrationNight: Ze,
21
- hack: et,
22
- zen: tt,
23
- concrete: lt
24
- }, Jl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18
+ minimal: Ke,
19
+ minimalDark: Qe,
20
+ dark: Ze,
21
+ celebration: et,
22
+ celebrationNight: tt,
23
+ hack: lt,
24
+ zen: ot,
25
+ concrete: at
26
+ }, Ql = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25
27
  __proto__: null,
26
- celebration: Qe,
27
- celebrationNight: Ze,
28
- concrete: lt,
29
- dark: Ke,
30
- default: at,
31
- hack: et,
32
- zen: tt
33
- }, Symbol.toStringTag, { value: "Module" })), bl = ["id"], ml = ["xmlns", "viewBox"], pl = ["x", "y", "width", "height"], gl = ["d", "stroke", "stroke-width", "onMouseenter"], Cl = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], kl = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Al = ["x", "y", "fill", "font-size"], Ll = ["onMouseenter", "onMouseleave", "onClick"], wl = ["x", "y", "fill", "font-size"], xl = ["x", "y", "fill", "font-size", "font--weight", "innerHTML", "onMouseenter", "onMouseleave", "onClick"], $l = ["x", "y", "fill", "font-size", "font--weight", "innerHTML", "onMouseenter", "onMouseleave", "onClick"], Sl = { key: 0 }, Tl = { key: 1 }, Ml = ["text-anchor", "font-size", "font-weight", "fill", "transform"], zl = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], El = {
28
+ celebration: et,
29
+ celebrationNight: tt,
30
+ concrete: at,
31
+ dark: Ze,
32
+ default: nt,
33
+ hack: lt,
34
+ minimal: Ke,
35
+ minimalDark: Qe,
36
+ zen: ot
37
+ }, Symbol.toStringTag, { value: "Module" })), pl = ["id"], gl = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"], kl = ["d", "stroke", "stroke-width", "onMouseenter"], Al = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Ll = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], wl = ["x", "y", "fill", "font-size"], xl = ["onMouseenter", "onMouseleave", "onClick"], $l = ["x", "y", "fill", "font-size"], Sl = ["x", "y", "fill", "font-size", "font--weight", "innerHTML", "onMouseenter", "onMouseleave", "onClick"], Tl = ["x", "y", "fill", "font-size", "font--weight", "innerHTML", "onMouseenter", "onMouseleave", "onClick"], Ml = { key: 0 }, zl = { key: 1 }, Dl = ["text-anchor", "font-size", "font-weight", "fill", "transform"], El = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], Ol = {
34
38
  key: 4,
35
39
  class: "vue-data-ui-watermark"
36
- }, Dl = ["innerHTML"], Il = {
40
+ }, Il = ["innerHTML"], Pl = {
37
41
  __name: "vue-ui-bump",
38
42
  props: {
39
43
  config: {
@@ -49,16 +53,16 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
49
53
  }
50
54
  }
51
55
  },
52
- setup(ot, { expose: nt }) {
53
- const st = F(() => import("./BaseIcon-B9bGT7HU.js")), ut = F(() => import("./vue-ui-accordion-CAXPDm31.js")), rt = F(() => import("./DataTable-DEwh__D8.js")), it = F(() => import("./PenAndPaper-CulSakut.js")), ct = F(() => import("./UserOptions-5pXc4J-c.js")), vt = F(() => import("./PackageVersion-C-JOGZBL.js")), { vue_ui_bump: ht } = al(), { isThemeValid: dt, warnInvalidTheme: ft } = ul(), A = ot, U = y({
56
+ setup(st, { expose: ut }) {
57
+ const rt = F(() => import("./BaseIcon-4uOct8re.js")), it = F(() => import("./vue-ui-accordion-DFKaB_05.js")), ct = F(() => import("./DataTable-DyoDzNNY.js")), vt = F(() => import("./PenAndPaper-LTuSTmWE.js")), ht = F(() => import("./UserOptions-CX7Xsusk.js")), dt = F(() => import("./PackageVersion-CQxJyGQr.js")), { vue_ui_bump: ft } = nl(), { isThemeValid: yt, warnInvalidTheme: bt } = il(), A = st, U = y({
54
58
  get() {
55
59
  return !!A.dataset && A.dataset.length;
56
60
  },
57
61
  set(l) {
58
62
  return l;
59
63
  }
60
- }), T = d(null), le = d(Xe()), ge = d(0), Ce = d(null), ke = d(null), Ae = d(null), X = d(!1), ae = d(!1), Le = d(0), yt = d(0), _ = d(null), oe = d(null), we = d(!1), ne = d(null), se = d(null), j = d(null), f = d(null), e = d(ue()), { loading: Y, FINAL_DATASET: bt, manualLoading: G } = ol({
61
- ...Rt(A),
64
+ }), T = d(null), le = d(Xe()), ge = d(0), Ce = d(null), ke = d(null), Ae = d(null), X = d(!1), oe = d(!1), Le = d(0), mt = d(0), _ = d(null), ae = d(null), we = d(!1), ne = d(null), se = d(null), j = d(null), f = d(null), e = d(ue()), { loading: Y, FINAL_DATASET: pt, manualLoading: G } = sl({
65
+ ...Vt(A),
62
66
  FINAL_CONFIG: e,
63
67
  prepareConfig: ue,
64
68
  skeletonDataset: [
@@ -66,7 +70,7 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
66
70
  { name: "————", values: [2, 2, 2, 1, 3, 3, 2, 2, 3, 3], color: "#6A6A6A" },
67
71
  { name: "————", values: [3, 3, 3, 3, 1, 1, 1, 1, 1, 1], color: "#8A8A8A" }
68
72
  ],
69
- skeletonConfig: Ut({
73
+ skeletonConfig: jt({
70
74
  defaultConfig: e.value,
71
75
  userConfig: {
72
76
  userOptions: { show: !1 },
@@ -94,50 +98,50 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
94
98
  }
95
99
  })
96
100
  });
97
- Nt(Ie);
101
+ Wt(Oe);
98
102
  function ue() {
99
103
  const l = pe({
100
104
  userConfig: A.config,
101
- defaultConfig: ht
105
+ defaultConfig: ft
102
106
  });
103
- let a = {};
107
+ let o = {};
104
108
  const t = l.theme;
105
109
  if (t)
106
- if (!dt.value(l))
107
- ft(l), a = l;
110
+ if (!yt.value(l))
111
+ bt(l), o = l;
108
112
  else {
109
- const o = pe({
110
- userConfig: at[t] || A.config,
113
+ const a = pe({
114
+ userConfig: nt[t] || A.config,
111
115
  defaultConfig: l
112
116
  });
113
- a = {
117
+ o = {
114
118
  ...pe({
115
119
  userConfig: A.config,
116
- defaultConfig: o
120
+ defaultConfig: a
117
121
  }),
118
- customPalette: l.customPalette.length ? l.customPalette : Xt[t] || te
122
+ customPalette: l.customPalette.length ? l.customPalette : Yt[t] || te
119
123
  };
120
124
  }
121
125
  else
122
- a = l;
123
- return a;
126
+ o = l;
127
+ return o;
124
128
  }
125
- const { userOptionsVisible: re, setUserOptionsVisibility: xe, keepUserOptionState: $e } = il({ config: e.value }), { svgRef: ie } = cl({ config: e.value.style.chart.title });
126
- function mt() {
129
+ const { userOptionsVisible: re, setUserOptionsVisibility: xe, keepUserOptionState: $e } = vl({ config: e.value }), { svgRef: ie } = hl({ config: e.value.style.chart.title });
130
+ function gt() {
127
131
  we.value = !0, xe(!0);
128
132
  }
129
- function pt() {
133
+ function Ct() {
130
134
  xe(!1), we.value = !1;
131
135
  }
132
- const E = d({
136
+ const D = d({
133
137
  showTable: e.value.table.show
134
138
  });
135
139
  Z(e, () => {
136
- E.value = {
140
+ D.value = {
137
141
  showTable: e.value.table.show
138
142
  };
139
143
  }, { immediate: !0 }), Z(() => A.config, (l) => {
140
- Y.value || (e.value = ue()), re.value = !e.value.userOptions.showOnChartHover, Ie(), Le.value += 1, yt.value += 1, E.value.showTable = e.value.table.show, w.value.width = e.value.style.chart.width, w.value.height = e.value.style.chart.height, w.value.paddingRatio = {
144
+ Y.value || (e.value = ue()), re.value = !e.value.userOptions.showOnChartHover, Oe(), Le.value += 1, mt.value += 1, D.value.showTable = e.value.table.show, w.value.width = e.value.style.chart.width, w.value.height = e.value.style.chart.height, w.value.paddingRatio = {
141
145
  top: e.value.style.chart.padding.top / e.value.style.chart.height,
142
146
  right: e.value.style.chart.padding.right / e.value.style.chart.width,
143
147
  bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
@@ -146,11 +150,11 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
146
150
  }), Z(() => A.dataset, (l) => {
147
151
  Array.isArray(l) && l.length > 0 && (G.value = !1);
148
152
  }, { deep: !0 });
149
- const { isPrinting: Se, isImaging: Te, generatePdf: Me, generateImage: ze } = sl({
153
+ const { isPrinting: Se, isImaging: Te, generatePdf: Me, generateImage: ze } = rl({
150
154
  elementId: `bump_${le.value}`,
151
155
  fileName: e.value.style.chart.title.text || "vue-ui-bump",
152
156
  options: e.value.userOptions.print
153
- }), gt = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), w = d({
157
+ }), kt = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), w = d({
154
158
  width: e.value.style.chart.width,
155
159
  height: e.value.style.chart.height,
156
160
  paddingRatio: {
@@ -159,14 +163,14 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
159
163
  bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
160
164
  left: e.value.style.chart.padding.left / e.value.style.chart.width
161
165
  }
162
- }), Ct = y(() => jt(e.value.customPalette)), M = Re(null), O = Re(null), Ee = d(null), De = y(() => !!e.value.debug);
163
- function Ie() {
166
+ }), At = y(() => Gt(e.value.customPalette)), M = Re(null), I = Re(null), De = d(null), Ee = y(() => !!e.value.debug);
167
+ function Oe() {
164
168
  if (je(A.dataset) ? (Ye({
165
169
  componentName: "VueUiBump",
166
170
  type: "dataset",
167
- debug: De.value
168
- }), G.value = !0) : A.dataset.forEach((l, a) => {
169
- Yt({
171
+ debug: Ee.value
172
+ }), G.value = !0) : A.dataset.forEach((l, o) => {
173
+ qt({
170
174
  datasetObject: l,
171
175
  requiredAttributes: ["name", "values"]
172
176
  }).forEach((t) => {
@@ -174,16 +178,16 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
174
178
  componentName: "VueUiBump",
175
179
  type: "datasetSerieAttribute",
176
180
  property: t,
177
- index: a,
178
- debug: De.value
181
+ index: o,
182
+ debug: Ee.value
179
183
  }), G.value = !0;
180
184
  });
181
185
  }), je(A.dataset) || (G.value = e.value.loading), setTimeout(() => {
182
- ae.value = !0;
186
+ oe.value = !0;
183
187
  }, 10), e.value.responsive) {
184
188
  const l = Je(() => {
185
- ae.value = !1;
186
- const { width: a, height: t } = ll({
189
+ oe.value = !1;
190
+ const { width: o, height: t } = al({
187
191
  chart: T.value,
188
192
  noTitle: ke.value,
189
193
  title: e.value.style.chart.title.text ? Ce.value : null,
@@ -192,79 +196,79 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
192
196
  source: Ae.value
193
197
  });
194
198
  requestAnimationFrame(() => {
195
- w.value.width = a, w.value.height = t - 12, clearTimeout(Ee.value), Ee.value = setTimeout(() => {
196
- ae.value = !0;
199
+ w.value.width = o, w.value.height = t - 12, clearTimeout(De.value), De.value = setTimeout(() => {
200
+ oe.value = !0;
197
201
  }, 10);
198
202
  });
199
203
  });
200
- M.value && (O.value && M.value.unobserve(O.value), M.value.disconnect()), M.value = new ResizeObserver(l), O.value = T.value.parentNode, M.value.observe(O.value);
204
+ M.value && (I.value && M.value.unobserve(I.value), M.value.disconnect()), M.value = new ResizeObserver(l), I.value = T.value.parentNode, M.value.observe(I.value);
201
205
  }
202
206
  }
203
207
  Ne(() => {
204
- M.value && (O.value && M.value.unobserve(O.value), M.value.disconnect());
208
+ M.value && (I.value && M.value.unobserve(I.value), M.value.disconnect());
205
209
  });
206
- const q = y(() => bt.value.map((l, a) => {
207
- const t = Ge(l.color) || Ct.value[a] || te[a] || te[a % te.length];
210
+ const q = y(() => pt.value.map((l, o) => {
211
+ const t = Ge(l.color) || At.value[o] || te[o] || te[o % te.length];
208
212
  return {
209
213
  ...l,
210
- absoluteIndex: a,
214
+ absoluteIndex: o,
211
215
  id: Xe(),
212
216
  color: t
213
217
  };
214
- })), D = y(() => Math.max(...q.value.map((l) => l.values.length)));
215
- function kt(l) {
216
- const a = l.map(() => Array(D.value).fill(null));
217
- for (let t = 0; t < D.value; t += 1) {
218
- const o = l.map((n, i) => ({
218
+ })), E = y(() => Math.max(...q.value.map((l) => l.values.length)));
219
+ function Lt(l) {
220
+ const o = l.map(() => Array(E.value).fill(null));
221
+ for (let t = 0; t < E.value; t += 1) {
222
+ const a = l.map((n, i) => ({
219
223
  seriesIndex: i,
220
224
  value: n.values?.[t],
221
- previousPosition: t > 0 ? a[i][t - 1] : i
225
+ previousPosition: t > 0 ? o[i][t - 1] : i
222
226
  })).filter((n) => Number.isFinite(n.value));
223
- o.sort((n, i) => i.value !== n.value ? i.value - n.value : n.previousPosition - i.previousPosition);
224
- for (let n = 0; n < o.length; n += 1) {
225
- const i = o[n];
226
- a[i.seriesIndex][t] = n;
227
+ a.sort((n, i) => i.value !== n.value ? i.value - n.value : n.previousPosition - i.previousPosition);
228
+ for (let n = 0; n < a.length; n += 1) {
229
+ const i = a[n];
230
+ o[i.seriesIndex][t] = n;
227
231
  }
228
232
  }
229
- return a;
233
+ return o;
230
234
  }
231
- function At() {
235
+ function wt() {
232
236
  let l = 0;
233
- return ne.value && (l = Array.from(ne.value.querySelectorAll("tspan")).reduce((t, o) => {
234
- const n = o.getComputedTextLength();
237
+ return ne.value && (l = Array.from(ne.value.querySelectorAll("tspan")).reduce((t, a) => {
238
+ const n = a.getComputedTextLength();
235
239
  return n > t ? n : t;
236
240
  }, 0)), l;
237
241
  }
238
- function Lt() {
242
+ function xt() {
239
243
  let l = 0;
240
- return se.value && (l = Array.from(se.value.querySelectorAll("tspan")).reduce((t, o) => {
241
- const n = o.getComputedTextLength();
244
+ return se.value && (l = Array.from(se.value.querySelectorAll("tspan")).reduce((t, a) => {
245
+ const n = a.getComputedTextLength();
242
246
  return n > t ? n : t;
243
247
  }, 0)), l;
244
248
  }
245
- const ce = d(0), wt = Je((l) => {
249
+ const ce = d(0), $t = Je((l) => {
246
250
  ce.value = l;
247
251
  }, 100);
248
- Vt((l) => {
249
- const a = j.value;
250
- if (!a) return;
251
- const t = new ResizeObserver((o) => {
252
- wt(o[0].contentRect.height);
252
+ Ut((l) => {
253
+ const o = j.value;
254
+ if (!o) return;
255
+ const t = new ResizeObserver((a) => {
256
+ $t(a[0].contentRect.height);
253
257
  });
254
- t.observe(a), l(() => t.disconnect());
258
+ t.observe(o), l(() => t.disconnect());
255
259
  }), Ne(() => {
256
260
  ce.value = 0;
257
261
  });
258
- const xt = y(() => {
262
+ const St = y(() => {
259
263
  let l = 0;
260
264
  return j.value && (l = ce.value), l;
261
265
  }), s = y(() => {
262
- const { height: l, width: a } = w.value, { right: t, left: o } = w.value.paddingRatio;
263
- let n = At(), i = Lt();
264
- const r = e.value.style.chart.padding.top, v = a - a * t - i, m = a * o + n, C = a - a * t - a * o - n - i, P = l - r - e.value.style.chart.padding.bottom - xt.value, fe = r + P, _t = r + P, Bt = Math.max(0, l), Ht = Math.max(0, a);
266
+ const { height: l, width: o } = w.value, { right: t, left: a } = w.value.paddingRatio;
267
+ let n = wt(), i = xt();
268
+ const r = e.value.style.chart.padding.top, v = o - o * t - i, m = o * a + n, C = o - o * t - o * a - n - i, P = l - r - e.value.style.chart.padding.bottom - St.value, fe = r + P, Ht = r + P, Rt = Math.max(0, l), Nt = Math.max(0, o);
265
269
  return {
266
- chartHeight: _t,
267
- chartWidth: Ht,
270
+ chartHeight: Ht,
271
+ chartWidth: Nt,
268
272
  top: r,
269
273
  right: Math.max(0, v),
270
274
  bottom: Math.max(0, fe),
@@ -272,58 +276,58 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
272
276
  width: Math.max(0, C),
273
277
  height: Math.max(0, P),
274
278
  unitH: Math.max(0, P) / q.value.length,
275
- unitW: Math.max(0, C) / D.value,
276
- svgHeight: Bt
279
+ unitW: Math.max(0, C) / E.value,
280
+ svgHeight: Rt
277
281
  };
278
282
  }), z = y(() => {
279
283
  if (!U.value && !Y.value) return [];
280
- const l = kt(q.value);
281
- return q.value.map((a, t) => ({
282
- ...a,
284
+ const l = Lt(q.value);
285
+ return q.value.map((o, t) => ({
286
+ ...o,
283
287
  positions: l[t]
284
- })).map((a) => {
285
- const t = a.positions.map((i, r) => {
286
- const v = Gt(
288
+ })).map((o) => {
289
+ const t = o.positions.map((i, r) => {
290
+ const v = Jt(
287
291
  e.value.style.chart.layout.plots.labels.formatter,
288
- a.values[r],
289
- qt({
292
+ o.values[r],
293
+ Kt({
290
294
  p: e.value.style.chart.layout.plots.labels.prefix,
291
- v: a.values[r],
295
+ v: o.values[r],
292
296
  s: e.value.style.chart.layout.plots.labels.suffix,
293
297
  r: e.value.style.chart.layout.plots.labels.rounding
294
298
  })
295
299
  );
296
300
  return {
297
- name: a.name,
298
- id: a.id,
301
+ name: o.name,
302
+ id: o.id,
299
303
  x: s.value.left + r * s.value.unitW + s.value.unitW / 2,
300
304
  y: s.value.top + i * s.value.unitH + s.value.unitH / 2,
301
- value: a.values[r],
305
+ value: o.values[r],
302
306
  displayValue: v,
303
- rank: a.positions[r] + 1,
304
- color: a.color,
305
- labelColor: e.value.style.chart.layout.plots.labels.color === "auto" ? qe(a.color) : Ge(e.value.style.chart.layout.plots.labels.color) ?? qe(a.color)
307
+ rank: o.positions[r] + 1,
308
+ color: o.color,
309
+ labelColor: e.value.style.chart.layout.plots.labels.color === "auto" ? qe(o.color) : Ge(e.value.style.chart.layout.plots.labels.color) ?? qe(o.color)
306
310
  };
307
- }), o = t.filter((i) => W(i.value)), n = e.value.style.chart.layout.lines.smooth ? Jt(o) : Kt(o);
311
+ }), a = t.filter((i) => W(i.value)), n = e.value.style.chart.layout.lines.smooth ? Qt(a) : Zt(a);
308
312
  return {
309
- ...a,
313
+ ...o,
310
314
  coordinates: t,
311
315
  path: n
312
316
  };
313
317
  });
314
318
  });
315
- function Oe(l, a, t, o) {
319
+ function Ie(l, o, t, a) {
316
320
  const n = l.toSorted((r, v) => r.y - v.y);
317
321
  for (let r = 1; r < n.length; r += 1) {
318
322
  const v = n[r - 1], m = n[r];
319
- m.y < v.y + a && (m.y = v.y + a);
323
+ m.y < v.y + o && (m.y = v.y + o);
320
324
  }
321
325
  const i = n.length - 1;
322
- if (i >= 0 && n[i].y > o) {
323
- n[i].y = o;
326
+ if (i >= 0 && n[i].y > a) {
327
+ n[i].y = a;
324
328
  for (let r = i - 1; r >= 0; r -= 1) {
325
329
  const v = n[r + 1], m = n[r];
326
- m.y > v.y - a && (m.y = v.y - a);
330
+ m.y > v.y - o && (m.y = v.y - o);
327
331
  }
328
332
  }
329
333
  if (n.length && n[0].y < t) {
@@ -334,32 +338,32 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
334
338
  return n;
335
339
  }
336
340
  const Pe = y(() => {
337
- const l = [], a = [];
341
+ const l = [], o = [];
338
342
  z.value.forEach((m) => {
339
343
  const C = m.coordinates.filter((fe) => Number.isFinite(fe.rank));
340
344
  if (!C.length) return;
341
345
  l.push({ ...C[0] });
342
346
  const P = C[C.length - 1];
343
- a.push({ ...P });
347
+ o.push({ ...P });
344
348
  });
345
- const t = e.value.style.chart.layout.nameLabels.fontSize, o = t * 1.4, n = s.value.top + t, i = s.value.bottom - t, r = Oe(
346
- a,
349
+ const t = e.value.style.chart.layout.nameLabels.fontSize, a = t * 1.4, n = s.value.top + t, i = s.value.bottom - t, r = Ie(
347
350
  o,
351
+ a,
348
352
  n,
349
353
  i
350
354
  );
351
355
  return {
352
- left: Oe(
356
+ left: Ie(
353
357
  l,
354
- o,
358
+ a,
355
359
  n,
356
360
  i
357
361
  ),
358
362
  right: r
359
363
  };
360
364
  });
361
- function $t(l) {
362
- const a = e.value.style.chart.layout.plots.labels.fontSize * 0.4, t = l.displayValue, o = t.length * (e.value.style.chart.layout.plots.labels.fontSize * (t.length === 1 ? 1 : 0.6)), n = e.value.style.chart.layout.plots.labels.fontSize, i = o + a * 2, r = n + a * 2, v = l.x - i / 2, m = l.y - r / 2, C = e.value.style.chart.layout.plots.strokeWidth;
365
+ function Tt(l) {
366
+ const o = e.value.style.chart.layout.plots.labels.fontSize * 0.4, t = l.displayValue, a = t.length * (e.value.style.chart.layout.plots.labels.fontSize * (t.length === 1 ? 1 : 0.6)), n = e.value.style.chart.layout.plots.labels.fontSize, i = a + o * 2, r = n + o * 2, v = l.x - i / 2, m = l.y - r / 2, C = e.value.style.chart.layout.plots.strokeWidth;
363
367
  return {
364
368
  x: v - C / 2,
365
369
  y: m - C / 2,
@@ -371,41 +375,41 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
371
375
  rx: r / 2
372
376
  };
373
377
  }
374
- const B = y(() => rl({
378
+ const B = y(() => cl({
375
379
  values: e.value.style.chart.layout.timeLabels.values,
376
- maxDatapoints: D.value,
380
+ maxDatapoints: E.value,
377
381
  formatter: e.value.style.chart.layout.timeLabels.datetimeFormatter,
378
382
  start: 0,
379
- end: D.value
380
- })), St = y(() => {
383
+ end: E.value
384
+ })), Mt = y(() => {
381
385
  const l = e.value.style.chart.layout.timeLabels.modulo;
382
- return B.value.length ? Math.min(l, [...new Set(B.value.map((a) => a.text))].length) : l;
386
+ return B.value.length ? Math.min(l, [...new Set(B.value.map((o) => o.text))].length) : l;
383
387
  }), J = y(() => {
384
- const l = e.value.style.chart.layout.timeLabels, a = B.value || [], t = B.value || [], o = 0, n = null, i = D.value, r = a.map((m) => m?.text ?? ""), v = t.map((m) => m?.text ?? "");
385
- return Qt(
388
+ const l = e.value.style.chart.layout.timeLabels, o = B.value || [], t = B.value || [], a = 0, n = null, i = E.value, r = o.map((m) => m?.text ?? ""), v = t.map((m) => m?.text ?? "");
389
+ return el(
386
390
  !!l.showOnlyFirstAndLast,
387
391
  !!l.showOnlyAtModulo,
388
- Math.max(1, St.value || 1),
392
+ Math.max(1, Mt.value || 1),
389
393
  r,
390
394
  v,
391
- o,
395
+ a,
392
396
  n,
393
397
  i
394
398
  );
395
- }), Tt = y(() => w.value.width), Mt = y(() => w.value.height), zt = y(() => ({
399
+ }), zt = y(() => w.value.width), Dt = y(() => w.value.height), Et = y(() => ({
396
400
  start: 0,
397
- end: D.value
401
+ end: E.value
398
402
  }));
399
- vl({
403
+ dl({
400
404
  timeLabelsEls: j,
401
405
  timeLabels: B,
402
- slicer: zt,
406
+ slicer: Et,
403
407
  configRef: e,
404
408
  rotationPath: ["style", "chart", "layout", "timeLabels", "rotation"],
405
409
  autoRotatePath: ["style", "chart", "layout", "timeLabels", "autoRotate", "enable"],
406
410
  isAutoSize: !1,
407
- width: Tt,
408
- height: Mt,
411
+ width: zt,
412
+ height: Dt,
409
413
  rotation: e.value.style.chart.layout.timeLabels.autoRotate.angle
410
414
  });
411
415
  const K = d(!1);
@@ -416,31 +420,31 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
416
420
  X.value = l, ge.value += 1;
417
421
  }
418
422
  function _e() {
419
- E.value.showTable = !E.value.showTable;
423
+ D.value.showTable = !D.value.showTable;
420
424
  }
421
- Z(() => E.value.showTable, (l) => {
425
+ Z(() => D.value.showTable, (l) => {
422
426
  e.value.table.show || (l && e.value.table.useDialog && _.value ? _.value.open() : "close" in _.value && _.value.close());
423
427
  });
424
428
  function Be() {
425
- E.value.showTable = !1, oe.value && oe.value.setTableIconState(!1);
429
+ D.value.showTable = !1, ae.value && ae.value.setTableIconState(!1);
426
430
  }
427
- function Et() {
431
+ function Ot() {
428
432
  return z.value;
429
433
  }
430
434
  function he(l = null) {
431
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], t = ["", ...J.value.map((v) => v?.text ?? "")], o = z.value.map((v) => [
435
+ const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], t = ["", ...J.value.map((v) => v?.text ?? "")], a = z.value.map((v) => [
432
436
  v.name,
433
437
  ...v.coordinates.map((m) => `${m.displayValue}`)
434
438
  ]), n = z.value.map((v) => [
435
439
  v.name,
436
440
  ...v.coordinates.map((m) => `${m.rank}`)
437
- ]), i = a.concat([[e.value.table.columnNames.values]]).concat([t]).concat(o).concat([[""], [e.value.table.columnNames.ranking], [t]]).concat(n), r = el(i);
438
- l ? l(r) : tl({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-bump" });
441
+ ]), i = o.concat([[e.value.table.columnNames.values]]).concat([t]).concat(a).concat([[""], [e.value.table.columnNames.ranking], [t]]).concat(n), r = ll(i);
442
+ l ? l(r) : ol({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-bump" });
439
443
  }
440
444
  const H = y(() => {
441
- const l = e.value.table.useDialog && !e.value.table.show, a = E.value.showTable;
445
+ const l = e.value.table.useDialog && !e.value.table.show, o = D.value.showTable;
442
446
  return {
443
- component: l ? dl : ut,
447
+ component: l ? yl : it,
444
448
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
445
449
  props: l ? {
446
450
  backgroundColor: e.value.table.th.backgroundColor,
@@ -453,7 +457,7 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
453
457
  } : {
454
458
  hideDetails: !0,
455
459
  config: {
456
- open: a,
460
+ open: o,
457
461
  maxHeight: 1e4,
458
462
  body: {
459
463
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -467,7 +471,7 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
467
471
  }
468
472
  };
469
473
  }), Q = y(() => {
470
- const l = [""].concat(J.value.map((n) => n.text)), a = z.value.map((n, i) => [
474
+ const l = [""].concat(J.value.map((n) => n.text)), o = z.value.map((n, i) => [
471
475
  n.name,
472
476
  ...n.coordinates.map((r) => `${r.displayValue} (${r.rank})`)
473
477
  ]), t = {
@@ -482,55 +486,55 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
482
486
  outline: e.value.table.td.outline
483
487
  },
484
488
  breakpoint: e.value.table.responsiveBreakpoint
485
- }, o = [e.value.table.columnNames.series];
486
- return { head: l, body: a, config: t, colNames: o };
487
- }), Dt = y(() => e.value.style.chart.backgroundColor), It = y(() => e.value.style.chart.title), { exportSvg: Ot, getSvg: Pt } = fl({
489
+ }, a = [e.value.table.columnNames.series];
490
+ return { head: l, body: o, config: t, colNames: a };
491
+ }), It = y(() => e.value.style.chart.backgroundColor), Pt = y(() => e.value.style.chart.title), { exportSvg: Ft, getSvg: _t } = bl({
488
492
  svg: ie,
489
- title: It,
493
+ title: Pt,
490
494
  legend: null,
491
495
  legendItems: null,
492
- backgroundColor: Dt
496
+ backgroundColor: It
493
497
  });
494
498
  async function He({ isCb: l }) {
495
499
  if (l) {
496
- const { blob: a, url: t, text: o, dataUrl: n } = await Pt();
497
- e.value.userOptions.callbacks.svg({ blob: a, url: t, text: o, dataUrl: n });
500
+ const { blob: o, url: t, text: a, dataUrl: n } = await _t();
501
+ e.value.userOptions.callbacks.svg({ blob: o, url: t, text: a, dataUrl: n });
498
502
  } else
499
- Ot();
503
+ Ft();
500
504
  }
501
- async function Ft({ scale: l = 2 } = {}) {
505
+ async function Bt({ scale: l = 2 } = {}) {
502
506
  if (!T.value) return;
503
- const { width: a, height: t } = T.value.getBoundingClientRect(), o = a / t, { imageUri: n, base64: i } = await img({ domElement: T.value, base64: !0, img: !0, scale: l });
507
+ const { width: o, height: t } = T.value.getBoundingClientRect(), a = o / t, { imageUri: n, base64: i } = await img({ domElement: T.value, base64: !0, img: !0, scale: l });
504
508
  return {
505
509
  imageUri: n,
506
510
  base64: i,
507
511
  title: e.value.style.chart.title.text,
508
- width: a,
512
+ width: o,
509
513
  height: t,
510
- aspectRatio: o
514
+ aspectRatio: a
511
515
  };
512
516
  }
513
- function I(l, a) {
514
- f.value = a.id, e.value.events.datapointEnter && e.value.events.datapointEnter({
517
+ function O(l, o) {
518
+ f.value = o.id, e.value.events.datapointEnter && e.value.events.datapointEnter({
515
519
  datapoint: l,
516
520
  seriesIndex: l?.pointIndex ?? null
517
521
  });
518
522
  }
519
- function R(l, a) {
523
+ function R(l, o) {
520
524
  f.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({
521
525
  datapoint: l,
522
526
  seriesIndex: l?.pointIndex ?? null
523
527
  });
524
528
  }
525
- function de(l, a) {
529
+ function de(l, o) {
526
530
  e.value.events.datapointClick && e.value.events.datapointClick({
527
531
  datapoint: l,
528
532
  seriesIndex: l?.pointIndex ?? null
529
533
  });
530
534
  }
531
- return nt({
532
- getData: Et,
533
- getImage: Ft,
535
+ return ut({
536
+ getData: Ot,
537
+ getImage: Bt,
534
538
  generatePdf: Me,
535
539
  generateCsv: he,
536
540
  generateImage: ze,
@@ -538,16 +542,16 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
538
542
  toggleTable: _e,
539
543
  toggleAnnotator: ve,
540
544
  toggleFullscreen: Fe
541
- }), (l, a) => (u(), c("div", {
545
+ }), (l, o) => (u(), c("div", {
542
546
  id: `bump_${le.value}`,
543
547
  ref_key: "bumpChart",
544
548
  ref: T,
545
549
  class: Ve({ "vue-data-ui-component": !0, "vue-ui-bump": !0, "vue-data-ui-wrapper-fullscreen": X.value }),
546
550
  style: L(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
547
- onMouseenter: mt,
548
- onMouseleave: pt
551
+ onMouseenter: gt,
552
+ onMouseleave: Ct
549
553
  }, [
550
- e.value.userOptions.buttons.annotator ? (u(), N(h(it), {
554
+ e.value.userOptions.buttons.annotator ? (u(), N(h(vt), {
551
555
  key: 0,
552
556
  svgRef: h(ie),
553
557
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -576,7 +580,7 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
576
580
  _: 3
577
581
  }, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
578
582
  b(l.$slots, "userConfig", {}, void 0, !0),
579
- gt.value ? (u(), c("div", {
583
+ kt.value ? (u(), c("div", {
580
584
  key: 1,
581
585
  ref_key: "noTitle",
582
586
  ref: ke,
@@ -589,7 +593,7 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
589
593
  ref: Ce,
590
594
  style: "width:100%;background:transparent;"
591
595
  }, [
592
- (u(), N(hl, {
596
+ (u(), N(fl, {
593
597
  key: `title_${Le.value}`,
594
598
  config: {
595
599
  title: {
@@ -603,9 +607,9 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
603
607
  }
604
608
  }, null, 8, ["config"]))
605
609
  ], 512)) : g("", !0),
606
- e.value.userOptions.show && U.value && (h($e) || h(re)) ? (u(), N(h(ct), {
610
+ e.value.userOptions.show && U.value && (h($e) || h(re)) ? (u(), N(h(ht), {
607
611
  ref_key: "userOptionsRef",
608
- ref: oe,
612
+ ref: ae,
609
613
  key: `user_option_${ge.value}`,
610
614
  backgroundColor: e.value.style.chart.backgroundColor,
611
615
  color: e.value.style.chart.color,
@@ -642,8 +646,8 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
642
646
  }, We({ _: 2 }, [
643
647
  l.$slots.menuIcon ? {
644
648
  name: "menuIcon",
645
- fn: p(({ isOpen: t, color: o }) => [
646
- b(l.$slots, "menuIcon", x($({ isOpen: t, color: o })), void 0, !0)
649
+ fn: p(({ isOpen: t, color: a }) => [
650
+ b(l.$slots, "menuIcon", x($({ isOpen: t, color: a })), void 0, !0)
647
651
  ]),
648
652
  key: "0"
649
653
  } : void 0,
@@ -684,15 +688,15 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
684
688
  } : void 0,
685
689
  l.$slots.optionFullscreen ? {
686
690
  name: "optionFullscreen",
687
- fn: p(({ toggleFullscreen: t, isFullscreen: o }) => [
688
- b(l.$slots, "optionFullscreen", x($({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
691
+ fn: p(({ toggleFullscreen: t, isFullscreen: a }) => [
692
+ b(l.$slots, "optionFullscreen", x($({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
689
693
  ]),
690
694
  key: "6"
691
695
  } : void 0,
692
696
  l.$slots.optionAnnotator ? {
693
697
  name: "optionAnnotator",
694
- fn: p(({ toggleAnnotator: t, isAnnotator: o }) => [
695
- b(l.$slots, "optionAnnotator", x($({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
698
+ fn: p(({ toggleAnnotator: t, isAnnotator: a }) => [
699
+ b(l.$slots, "optionAnnotator", x($({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
696
700
  ]),
697
701
  key: "7"
698
702
  } : void 0
@@ -700,7 +704,7 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
700
704
  (u(), c("svg", {
701
705
  ref_key: "svgRef",
702
706
  ref: ie,
703
- xmlns: h(Zt),
707
+ xmlns: h(tl),
704
708
  viewBox: `0 0 ${s.value.chartWidth <= 0 ? 10 : s.value.chartWidth} ${s.value.svgHeight <= 0 ? 10 : s.value.svgHeight}`,
705
709
  class: Ve({ "vue-data-ui-loading": h(Y), "no-transition": !e.value.useCssAnimation, "with-transition": e.value.useCssAnimation }),
706
710
  style: L(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`),
@@ -708,7 +712,7 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
708
712
  "aria-live": "polite",
709
713
  preserveAspectRatio: "xMidYMid"
710
714
  }, [
711
- ye(h(vt)),
715
+ ye(h(dt)),
712
716
  l.$slots["chart-background"] ? (u(), c("foreignObject", {
713
717
  key: 0,
714
718
  x: s.value.left,
@@ -720,7 +724,7 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
720
724
  }
721
725
  }, [
722
726
  b(l.$slots, "chart-background", {}, void 0, !0)
723
- ], 8, pl)) : g("", !0),
727
+ ], 8, Cl)) : g("", !0),
724
728
  (u(!0), c(k, null, S(z.value, (t) => (u(), c(k, null, [
725
729
  ee("path", {
726
730
  class: "transition-opacity",
@@ -733,9 +737,9 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
733
737
  style: L({
734
738
  opacity: f.value == null || f.value === t.id ? 1 : 0.1
735
739
  }),
736
- onMouseenter: (o) => f.value = t.id,
737
- onMouseleave: a[0] || (a[0] = (o) => f.value = null)
738
- }, null, 44, gl),
740
+ onMouseenter: (a) => f.value = t.id,
741
+ onMouseleave: o[0] || (o[0] = (a) => f.value = null)
742
+ }, null, 44, kl),
739
743
  ee("path", {
740
744
  class: "transition-opacity",
741
745
  d: `M${t.path}`,
@@ -747,16 +751,16 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
747
751
  style: L({
748
752
  opacity: f.value == null || f.value === t.id ? 1 : 0.1
749
753
  }),
750
- onMouseenter: (o) => I(t, t),
751
- onMouseleave: (o) => R(t),
752
- onClick: (o) => de(t)
753
- }, null, 44, Cl)
754
+ onMouseenter: (a) => O(t, t),
755
+ onMouseleave: (a) => R(t),
756
+ onClick: (a) => de(t)
757
+ }, null, 44, Al)
754
758
  ], 64))), 256)),
755
759
  (u(!0), c(k, null, S(z.value, (t) => (u(), c(k, null, [
756
- e.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (u(!0), c(k, { key: 0 }, S(t.coordinates, (o, n) => (u(), c("circle", {
760
+ e.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (u(!0), c(k, { key: 0 }, S(t.coordinates, (a, n) => (u(), c("circle", {
757
761
  class: "transition-opacity",
758
- cx: o.x,
759
- cy: o.y,
762
+ cx: a.x,
763
+ cy: a.y,
760
764
  r: e.value.style.chart.layout.plots.radius,
761
765
  fill: t.color,
762
766
  stroke: e.value.style.chart.layout.plots.stroke,
@@ -764,15 +768,15 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
764
768
  style: L({
765
769
  opacity: f.value == null || f.value === t.id ? 1 : 0.1
766
770
  }),
767
- onMouseenter: (i) => I({ ...o, pointIndex: n }, t),
768
- onMouseleave: (i) => R({ ...o, pointIndex: n }),
769
- onClick: (i) => I({ ...o, pointIndex: n }, t)
770
- }, null, 44, kl))), 256)) : g("", !0),
771
- e.value.style.chart.layout.plots.labels.show && e.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (u(!0), c(k, { key: 1 }, S(t.coordinates, (o) => (u(), c("text", {
771
+ onMouseenter: (i) => O({ ...a, pointIndex: n }, t),
772
+ onMouseleave: (i) => R({ ...a, pointIndex: n }),
773
+ onClick: (i) => O({ ...a, pointIndex: n }, t)
774
+ }, null, 44, Ll))), 256)) : g("", !0),
775
+ e.value.style.chart.layout.plots.labels.show && e.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (u(!0), c(k, { key: 1 }, S(t.coordinates, (a) => (u(), c("text", {
772
776
  class: "transition-opacity",
773
- x: o.x,
774
- y: o.y + e.value.style.chart.layout.plots.labels.fontSize / 3,
775
- fill: o.labelColor,
777
+ x: a.x,
778
+ y: a.y + e.value.style.chart.layout.plots.labels.fontSize / 3,
779
+ fill: a.labelColor,
776
780
  "font-size": e.value.style.chart.layout.plots.labels.fontSize,
777
781
  "text-anchor": "middle",
778
782
  style: L({
@@ -780,25 +784,25 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
780
784
  pointerEvents: "none",
781
785
  opacity: f.value == null || f.value === t.id ? 1 : 0.1
782
786
  })
783
- }, V(o.rank), 13, Al))), 256)) : g("", !0),
784
- e.value.style.chart.layout.plots.labels.displayedValue === "value" ? (u(!0), c(k, { key: 2 }, S(t.coordinates, (o) => (u(), c(k, null, [
785
- h(W)(o.value) ? (u(), c("rect", be({
787
+ }, V(a.rank), 13, wl))), 256)) : g("", !0),
788
+ e.value.style.chart.layout.plots.labels.displayedValue === "value" ? (u(!0), c(k, { key: 2 }, S(t.coordinates, (a) => (u(), c(k, null, [
789
+ h(W)(a.value) ? (u(), c("rect", be({
786
790
  key: 0,
787
791
  class: "transition-opacity"
788
- }, { ref_for: !0 }, $t(o), {
792
+ }, { ref_for: !0 }, Tt(a), {
789
793
  style: {
790
794
  opacity: f.value == null || f.value === t.id ? 1 : 0.1
791
795
  },
792
- onMouseenter: (n) => I({ ...l.point, pointIndex: l.i }, t),
796
+ onMouseenter: (n) => O({ ...l.point, pointIndex: l.i }, t),
793
797
  onMouseleave: (n) => R({ ...l.point, pointIndex: l.i }),
794
- onClick: (n) => I({ ...l.point, pointIndex: l.i }, t)
795
- }), null, 16, Ll)) : g("", !0),
796
- h(W)(o.value) && e.value.style.chart.layout.plots.labels.show ? (u(), c("text", {
798
+ onClick: (n) => O({ ...l.point, pointIndex: l.i }, t)
799
+ }), null, 16, xl)) : g("", !0),
800
+ h(W)(a.value) && e.value.style.chart.layout.plots.labels.show ? (u(), c("text", {
797
801
  key: 1,
798
802
  class: "transition-opacity",
799
- x: o.x,
800
- y: o.y + e.value.style.chart.layout.plots.labels.fontSize / 3,
801
- fill: o.labelColor,
803
+ x: a.x,
804
+ y: a.y + e.value.style.chart.layout.plots.labels.fontSize / 3,
805
+ fill: a.labelColor,
802
806
  "font-size": e.value.style.chart.layout.plots.labels.fontSize,
803
807
  "text-anchor": "middle",
804
808
  style: L({
@@ -806,7 +810,7 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
806
810
  pointerEvents: "none",
807
811
  opacity: f.value == null || f.value === t.id ? 1 : 0.1
808
812
  })
809
- }, V(o.displayValue), 13, wl)) : g("", !0)
813
+ }, V(a.displayValue), 13, $l)) : g("", !0)
810
814
  ], 64))), 256)) : g("", !0)
811
815
  ], 64))), 256)),
812
816
  e.value.style.chart.layout.nameLabels.leftLabels.show ? (u(), c("g", {
@@ -814,7 +818,7 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
814
818
  ref_key: "labelsLeft",
815
819
  ref: ne
816
820
  }, [
817
- (u(!0), c(k, null, S(Pe.value.left.filter((t) => h(W)(t.value)), (t, o) => (u(), c("text", {
821
+ (u(!0), c(k, null, S(Pe.value.left.filter((t) => h(W)(t.value)), (t, a) => (u(), c("text", {
818
822
  class: "transition-opacity",
819
823
  x: s.value.left,
820
824
  y: t.y + e.value.style.chart.layout.nameLabels.fontSize / 3,
@@ -833,17 +837,17 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
833
837
  style: L({
834
838
  opacity: f.value == null || f.value === t.id ? 1 : 0.1
835
839
  }),
836
- onMouseenter: (n) => I(t, t),
840
+ onMouseenter: (n) => O(t, t),
837
841
  onMouseleave: (n) => R(t),
838
842
  onClick: (n) => de(t)
839
- }, null, 44, xl))), 256))
843
+ }, null, 44, Sl))), 256))
840
844
  ], 512)) : g("", !0),
841
845
  e.value.style.chart.layout.nameLabels.rightLabels.show ? (u(), c("g", {
842
846
  key: 2,
843
847
  ref_key: "labelsRight",
844
848
  ref: se
845
849
  }, [
846
- (u(!0), c(k, null, S(Pe.value.right.filter((t) => h(W)(t.value)), (t, o) => (u(), c("text", {
850
+ (u(!0), c(k, null, S(Pe.value.right.filter((t) => h(W)(t.value)), (t, a) => (u(), c("text", {
847
851
  class: "transition-opacity",
848
852
  x: s.value.right,
849
853
  y: t.y + e.value.style.chart.layout.nameLabels.fontSize / 3,
@@ -862,41 +866,41 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
862
866
  style: L({
863
867
  opacity: f.value == null || f.value === t.id ? 1 : 0.1
864
868
  }),
865
- onMouseenter: (n) => I(t, t),
869
+ onMouseenter: (n) => O(t, t),
866
870
  onMouseleave: (n) => R(t),
867
871
  onClick: (n) => de(t)
868
- }, null, 44, $l))), 256))
872
+ }, null, 44, Tl))), 256))
869
873
  ], 512)) : g("", !0),
870
874
  e.value.style.chart.layout.timeLabels.show ? (u(), c("g", {
871
875
  key: 3,
872
876
  ref_key: "timeLabelsEls",
873
877
  ref: j
874
878
  }, [
875
- l.$slots["time-label"] ? (u(), c("g", Sl, [
876
- (u(!0), c(k, null, S(J.value, (t, o) => (u(), c("g", null, [
879
+ l.$slots["time-label"] ? (u(), c("g", Ml, [
880
+ (u(!0), c(k, null, S(J.value, (t, a) => (u(), c("g", null, [
877
881
  b(l.$slots, "time-label", be({ ref_for: !0 }, {
878
- x: s.value.unitW * o + s.value.unitW / 2 + s.value.left,
882
+ x: s.value.unitW * a + s.value.unitW / 2 + s.value.left,
879
883
  y: s.value.chartHeight + e.value.style.chart.layout.timeLabels.offsetY,
880
884
  fontSize: e.value.style.chart.layout.timeLabels.fontSize,
881
885
  fill: e.value.style.chart.layout.timeLabels.color,
882
- transform: `translate(${s.value.unitW * o + s.value.unitW / 2 + s.value.left}, ${s.value.chartHeight + e.value.style.chart.layout.timeLabels.offsetY}), rotate(${e.value.style.chart.layout.timeLabels.rotation})`,
886
+ transform: `translate(${s.value.unitW * a + s.value.unitW / 2 + s.value.left}, ${s.value.chartHeight + e.value.style.chart.layout.timeLabels.offsetY}), rotate(${e.value.style.chart.layout.timeLabels.rotation})`,
883
887
  absoluteIndex: t.absoluteIndex,
884
888
  content: t.text,
885
889
  textAnchor: e.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : e.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
886
890
  show: !0
887
891
  }), void 0, !0)
888
892
  ]))), 256))
889
- ])) : (u(), c("g", Tl, [
890
- (u(!0), c(k, null, S(J.value, (t, o) => (u(), c("g", null, [
893
+ ])) : (u(), c("g", zl, [
894
+ (u(!0), c(k, null, S(J.value, (t, a) => (u(), c("g", null, [
891
895
  String(t.text).includes(`
892
896
  `) ? (u(), c("text", {
893
- key: o + "-multi",
897
+ key: a + "-multi",
894
898
  "text-anchor": e.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : e.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
895
899
  "font-size": e.value.style.chart.layout.timeLabels.fontSize,
896
900
  fill: e.value.style.chart.layout.timeLabels.color,
897
901
  transform: `
898
902
  translate(
899
- ${s.value.unitW * o + s.value.unitW / 2 + s.value.left},
903
+ ${s.value.unitW * a + s.value.unitW / 2 + s.value.left},
900
904
  ${s.value.chartHeight + e.value.style.chart.layout.timeLabels.fontSize * 1.3 + e.value.style.chart.layout.timeLabels.offsetY}
901
905
  ),
902
906
  rotate(${e.value.style.chart.layout.timeLabels.rotation})
@@ -908,15 +912,15 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
908
912
  x: 0,
909
913
  y: 0
910
914
  })
911
- }, null, 8, zl)) : (u(), c("text", {
915
+ }, null, 8, El)) : (u(), c("text", {
912
916
  class: "vue-data-ui-time-label",
913
- key: o,
917
+ key: a,
914
918
  "text-anchor": e.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : e.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
915
919
  "font-size": e.value.style.chart.layout.timeLabels.fontSize,
916
920
  "font-weight": e.value.style.chart.layout.timeLabels.bold ? "bold" : "normal",
917
921
  fill: e.value.style.chart.layout.timeLabels.color,
918
- transform: `translate(${s.value.unitW * o + s.value.unitW / 2 + s.value.left}, ${s.value.chartHeight + e.value.style.chart.layout.timeLabels.offsetY}), rotate(${e.value.style.chart.layout.timeLabels.rotation})`
919
- }, V(t.text), 9, Ml))
922
+ transform: `translate(${s.value.unitW * a + s.value.unitW / 2 + s.value.left}, ${s.value.chartHeight + e.value.style.chart.layout.timeLabels.offsetY}), rotate(${e.value.style.chart.layout.timeLabels.rotation})`
923
+ }, V(t.text), 9, Dl))
920
924
  ]))), 256))
921
925
  ]))
922
926
  ], 512)) : g("", !0),
@@ -926,17 +930,17 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
926
930
  data: z.value
927
931
  }
928
932
  }, void 0, !0)
929
- ], 14, ml)),
930
- l.$slots.watermark ? (u(), c("div", El, [
933
+ ], 14, gl)),
934
+ l.$slots.watermark ? (u(), c("div", Ol, [
931
935
  b(l.$slots, "watermark", x($({ isPrinting: h(Se) || h(Te) })), void 0, !0)
932
936
  ])) : g("", !0),
933
- U.value && e.value.userOptions.buttons.table ? (u(), N(Wt(H.value.component), be({ key: 5 }, H.value.props, {
937
+ U.value && e.value.userOptions.buttons.table ? (u(), N(Xt(H.value.component), be({ key: 5 }, H.value.props, {
934
938
  ref_key: "tableUnit",
935
939
  ref: _,
936
940
  onClose: Be
937
941
  }), We({
938
942
  content: p(() => [
939
- ye(h(rt), {
943
+ ye(h(ct), {
940
944
  colNames: Q.value.colNames,
941
945
  head: Q.value.head,
942
946
  body: Q.value.body,
@@ -946,7 +950,7 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
946
950
  onClose: Be
947
951
  }, {
948
952
  th: p(({ th: t }) => [
949
- ee("div", { innerHTML: t }, null, 8, Dl)
953
+ ee("div", { innerHTML: t }, null, 8, Il)
950
954
  ]),
951
955
  td: p(({ td: t }) => [
952
956
  Ue(V(t), 1)
@@ -969,9 +973,9 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
969
973
  ee("button", {
970
974
  tabindex: "0",
971
975
  class: "vue-ui-user-options-button",
972
- onClick: a[1] || (a[1] = (t) => he(e.value.userOptions.callbacks.csv))
976
+ onClick: o[1] || (o[1] = (t) => he(e.value.userOptions.callbacks.csv))
973
977
  }, [
974
- ye(h(st), {
978
+ ye(h(rt), {
975
979
  name: "excel",
976
980
  stroke: H.value.props.color
977
981
  }, null, 8, ["stroke"])
@@ -988,15 +992,15 @@ const Ke = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
988
992
  }, [
989
993
  b(l.$slots, "source", {}, void 0, !0)
990
994
  ], 512)) : g("", !0),
991
- h(Y) ? (u(), N(nl, { key: 7 })) : g("", !0)
992
- ], 46, bl));
995
+ h(Y) ? (u(), N(ul, { key: 7 })) : g("", !0)
996
+ ], 46, pl));
993
997
  }
994
- }, Ol = /* @__PURE__ */ yl(Il, [["__scopeId", "data-v-94c30780"]]), Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
998
+ }, Fl = /* @__PURE__ */ ml(Pl, [["__scopeId", "data-v-94c30780"]]), Zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
995
999
  __proto__: null,
996
- default: Ol
1000
+ default: Fl
997
1001
  }, Symbol.toStringTag, { value: "Module" }));
998
1002
  export {
999
- Jl as a,
1000
- Kl as b,
1001
- Ol as v
1003
+ Ql as a,
1004
+ Zl as b,
1005
+ Fl as v
1002
1006
  };