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,30 +1,34 @@
1
- import { defineAsyncComponent as he, computed as f, ref as y, toRefs as Xe, watch as Q, shallowRef as ye, onMounted as Ye, onBeforeUnmount as pe, createElementBlock as c, openBlock as n, normalizeStyle as z, renderSlot as F, createCommentVNode as h, createBlock as ge, normalizeProps as be, guardReactiveProps as me, createElementVNode as p, toDisplayString as B, unref as u, createVNode as qe, Fragment as J, renderList as ee, withCtx as Ze, createTextVNode as Ke, nextTick as He } from "vue";
2
- import { c as Qe, t as Je, a1 as ke, an as te, o as xe, g as Ae, l as et, h as E, n as tt, ao as at, X as lt, s as V, A as _e, C as ot, Q as Ce, a as ae, d as le, ap as rt } from "./lib-2iaAPQ_c.js";
3
- import { t as ut, u as st } from "./useResponsive-DfdjqQps.js";
4
- import { u as nt, a as oe } from "./useNestedProp-BCt4DMkT.js";
5
- import { u as it, B as vt } from "./BaseScanner-BMpwQAfz.js";
6
- import { u as dt } from "./useThemeCheck-DGJ31Vi5.js";
7
- import { u as ct } from "./useTimeLabels-DKoynYae.js";
8
- import { u as ft } from "./useChartAccessibility-9icAAmYg.js";
9
- import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }, plot: { stroke: "#1A1A1A" }, verticalIndicator: { color: "#8A8A8A" }, dataLabel: { color: "#CCCCCC" }, title: { color: "#CCCCCC" }, tooltip: { color: "#CCCCCC", backgroundColor: "#1A1A1A", borderColor: "#5A5A5A", backgroundOpacity: 70 } } }, Le = { style: { backgroundColor: "#FFF8E1", line: { color: "#D32F2F" }, bar: { color: "#D32F2F", borderRadius: 0 }, zeroLine: { color: "#5D4037" }, plot: { stroke: "#FFF8E1" }, verticalIndicator: { color: "#FF9800" }, dataLabel: { color: "#424242" }, title: { color: "#424242" }, area: { color: "#E64A19" } } }, $e = { style: { backgroundColor: "#1E1E1E", line: { color: "#D32F2F" }, bar: { color: "#D32F2F", borderRadius: 0 }, zeroLine: { color: "#5D4037" }, plot: { stroke: "#1E1E1E" }, verticalIndicator: { color: "#B71C1C" }, dataLabel: { color: "#BDBDBD" }, title: { color: "#BDBDBD" }, area: { color: "#E64A19" } } }, Ne = { style: { backgroundColor: "#1A1A1A", line: { color: "#66CC66" }, bar: { color: "#66CC66", borderRadius: 0 }, zeroLine: { color: "#5F6A5F" }, plot: { stroke: "#1A1A1A" }, verticalIndicator: { color: "#66CC66" }, dataLabel: { color: "#AACCAA" }, title: { color: "#66CC66" }, area: { color: "#66CC66" } } }, Me = { style: { backgroundColor: "#fbfafa", line: { color: "#B9B99D", smooth: !0 }, bar: { color: "#B9B99D", borderRadius: 3 }, zeroLine: { strokeWidth: 0 }, plot: { stroke: "#fbfafa" }, verticalIndicator: { color: "#B9B99D" }, dataLabel: { color: "#A0AC94" }, title: { color: "#8A9892" }, area: { color: "#B9B99D" } } }, Ie = { style: { backgroundColor: "#f6f6fb", line: { color: "#4A6A75" }, bar: { color: "#4A6A75", borderRadius: 0 }, zeroLine: { color: "#9FA9BE" }, plot: { stroke: "#f6f6fb" }, verticalIndicator: { color: "#4A6A75" }, dataLabel: { color: "#61747E" }, title: { color: "#50606C" }, area: { color: "#4A6A75" } } }, Fe = {
1
+ import { defineAsyncComponent as he, computed as f, ref as y, toRefs as qe, watch as Q, shallowRef as ye, onMounted as Ze, onBeforeUnmount as pe, createElementBlock as c, openBlock as n, normalizeStyle as z, renderSlot as D, createCommentVNode as h, createBlock as ge, normalizeProps as be, guardReactiveProps as me, createElementVNode as p, toDisplayString as B, unref as u, createVNode as Ke, Fragment as J, renderList as ee, withCtx as He, createTextVNode as Qe, nextTick as Je } from "vue";
2
+ import { c as et, t as tt, a1 as ke, an as te, o as Ae, g as Ce, l as at, h as E, n as lt, ao as ot, X as rt, s as V, A as xe, C as ut, Q as _e, a as ae, d as le, ap as st } from "./lib-CVHM9FhP.js";
3
+ import { t as nt, u as it } from "./useResponsive-DfdjqQps.js";
4
+ import { u as dt, a as oe } from "./useNestedProp-Ckf_2P_V.js";
5
+ import { u as vt, B as ct } from "./BaseScanner-BMpwQAfz.js";
6
+ import { u as ft } from "./useThemeCheck-D1ZYXUwG.js";
7
+ import { u as ht } from "./useTimeLabels-DKoynYae.js";
8
+ import { u as yt } from "./useChartAccessibility-9icAAmYg.js";
9
+ import { _ as pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }, plot: { stroke: "#1A1A1A" }, verticalIndicator: { color: "#8A8A8A" }, dataLabel: { color: "#CCCCCC" }, title: { color: "#CCCCCC" }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" } } }, $e = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }, plot: { stroke: "#1A1A1A" }, verticalIndicator: { color: "#8A8A8A" }, dataLabel: { color: "#CCCCCC" }, title: { color: "#CCCCCC" }, tooltip: { color: "#CCCCCC", backgroundColor: "#1A1A1A", borderColor: "#5A5A5A", backgroundOpacity: 70 } } }, Ne = { style: { backgroundColor: "#FFF8E1", line: { color: "#D32F2F" }, bar: { color: "#D32F2F", borderRadius: 0 }, zeroLine: { color: "#5D4037" }, plot: { stroke: "#FFF8E1" }, verticalIndicator: { color: "#FF9800" }, dataLabel: { color: "#424242" }, title: { color: "#424242" }, area: { color: "#E64A19" } } }, Ie = { style: { backgroundColor: "#1E1E1E", line: { color: "#D32F2F" }, bar: { color: "#D32F2F", borderRadius: 0 }, zeroLine: { color: "#5D4037" }, plot: { stroke: "#1E1E1E" }, verticalIndicator: { color: "#B71C1C" }, dataLabel: { color: "#BDBDBD" }, title: { color: "#BDBDBD" }, area: { color: "#E64A19" } } }, Me = { style: { backgroundColor: "#1A1A1A", line: { color: "#66CC66" }, bar: { color: "#66CC66", borderRadius: 0 }, zeroLine: { color: "#5F6A5F" }, plot: { stroke: "#1A1A1A" }, verticalIndicator: { color: "#66CC66" }, dataLabel: { color: "#AACCAA" }, title: { color: "#66CC66" }, area: { color: "#66CC66" } } }, De = { style: { backgroundColor: "#fbfafa", line: { color: "#B9B99D", smooth: !0 }, bar: { color: "#B9B99D", borderRadius: 3 }, zeroLine: { strokeWidth: 0 }, plot: { stroke: "#fbfafa" }, verticalIndicator: { color: "#B9B99D" }, dataLabel: { color: "#A0AC94" }, title: { color: "#8A9892" }, area: { color: "#B9B99D" } } }, Fe = { style: { backgroundColor: "#f6f6fb", line: { color: "#4A6A75" }, bar: { color: "#4A6A75", borderRadius: 0 }, zeroLine: { color: "#9FA9BE" }, plot: { stroke: "#f6f6fb" }, verticalIndicator: { color: "#4A6A75" }, dataLabel: { color: "#61747E" }, title: { color: "#50606C" }, area: { color: "#4A6A75" } } }, Se = {
11
11
  default: {},
12
- dark: we,
13
- celebration: Le,
14
- celebrationNight: $e,
15
- hack: Ne,
16
- zen: Me,
17
- concrete: Ie
18
- }, Zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12
+ minimal: we,
13
+ minimalDark: Le,
14
+ dark: $e,
15
+ celebration: Ne,
16
+ celebrationNight: Ie,
17
+ hack: Me,
18
+ zen: De,
19
+ concrete: Fe
20
+ }, Ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
21
  __proto__: null,
20
- celebration: Le,
21
- celebrationNight: $e,
22
- concrete: Ie,
23
- dark: we,
24
- default: Fe,
25
- hack: Ne,
26
- zen: Me
27
- }, Symbol.toStringTag, { value: "Module" })), yt = ["id"], pt = ["xmlns", "viewBox"], gt = ["width", "height"], bt = ["id"], mt = ["stop-color"], kt = ["stop-color"], xt = ["id"], At = ["stop-color"], _t = ["stop-color"], Ct = ["id"], wt = ["stop-color"], Lt = ["stop-color"], $t = { key: 1 }, Nt = ["d", "fill"], Mt = ["d", "fill"], It = ["d", "stroke", "stroke-width"], Ft = ["d", "stroke", "stroke-width"], Dt = ["x", "y", "width", "height", "fill", "rx"], St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], Bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Et = ["x", "y", "font-size", "font-weight", "fill"], Vt = ["x", "y", "height", "width", "onMouseenter", "onMouseleave", "onClick"], Tt = {
22
+ celebration: Ne,
23
+ celebrationNight: Ie,
24
+ concrete: Fe,
25
+ dark: $e,
26
+ default: Se,
27
+ hack: Me,
28
+ minimal: we,
29
+ minimalDark: Le,
30
+ zen: De
31
+ }, Symbol.toStringTag, { value: "Module" })), gt = ["id"], bt = ["xmlns", "viewBox"], mt = ["width", "height"], kt = ["id"], At = ["stop-color"], Ct = ["stop-color"], xt = ["id"], _t = ["stop-color"], wt = ["stop-color"], Lt = ["id"], $t = ["stop-color"], Nt = ["stop-color"], It = { key: 1 }, Mt = ["d", "fill"], Dt = ["d", "fill"], Ft = ["d", "stroke", "stroke-width"], St = ["d", "stroke", "stroke-width"], zt = ["x", "y", "width", "height", "fill", "rx"], Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Et = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], Vt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Tt = ["x", "y", "font-size", "font-weight", "fill"], Rt = ["x", "y", "height", "width", "onMouseenter", "onMouseleave", "onClick"], Ot = {
28
32
  __name: "vue-ui-sparkline",
29
33
  props: {
30
34
  config: {
@@ -57,22 +61,22 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
57
61
  }
58
62
  },
59
63
  emits: ["hoverIndex", "selectDatapoint"],
60
- setup(L, { emit: De }) {
61
- const Se = he(() => import("./PackageVersion-C-JOGZBL.js")), ze = he(() => import("./SparkTooltip-D_OsZuuE.js")), { vue_ui_sparkline: Be } = nt(), { isThemeValid: Ee, warnInvalidTheme: Ve } = dt(), s = L, re = f(() => Array.isArray(s.dataset) && s.dataset.length > 0), g = y(Qe()), T = y(null), ue = y(null), se = y(null), e = y(W());
62
- function Te(t) {
63
- return rt(t).map((a) => ({ period: "-", value: a }));
64
+ setup(L, { emit: ze }) {
65
+ const Be = he(() => import("./PackageVersion-CQxJyGQr.js")), Ee = he(() => import("./SparkTooltip-BLTVhvm2.js")), { vue_ui_sparkline: Ve } = dt(), { isThemeValid: Te, warnInvalidTheme: Re } = ft(), s = L, re = f(() => Array.isArray(s.dataset) && s.dataset.length > 0), g = y(et()), T = y(null), ue = y(null), se = y(null), e = y(P());
66
+ function Oe(t) {
67
+ return st(t).map((a) => ({ period: "-", value: a }));
64
68
  }
65
- const { loading: R, FINAL_DATASET: $, manualLoading: P } = it({
66
- ...Xe(s),
69
+ const { loading: R, FINAL_DATASET: $, manualLoading: O } = vt({
70
+ ...qe(s),
67
71
  FINAL_CONFIG: e,
68
- prepareConfig: W,
72
+ prepareConfig: P,
69
73
  callback: () => {
70
74
  Promise.resolve().then(async () => {
71
- await He(), X();
75
+ await Je(), X();
72
76
  });
73
77
  },
74
- skeletonDataset: Te(12),
75
- skeletonConfig: Je({
78
+ skeletonDataset: Oe(12),
79
+ skeletonConfig: tt({
76
80
  defaultConfig: e.value,
77
81
  userConfig: {
78
82
  style: {
@@ -89,20 +93,20 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
89
93
  }
90
94
  }
91
95
  })
92
- }), { svgRef: ne } = ft({ config: e.value.style.title });
93
- function W() {
96
+ }), { svgRef: ne } = yt({ config: e.value.style.title });
97
+ function P() {
94
98
  const t = oe({
95
99
  userConfig: s.config,
96
- defaultConfig: Be
100
+ defaultConfig: Ve
97
101
  });
98
102
  let a = {};
99
103
  const l = t.theme;
100
104
  if (l)
101
- if (!Ee.value(t))
102
- Ve(t), a = t;
105
+ if (!Te.value(t))
106
+ Re(t), a = t;
103
107
  else {
104
108
  const o = oe({
105
- userConfig: Fe[l] || s.config,
109
+ userConfig: Se[l] || s.config,
106
110
  defaultConfig: t
107
111
  });
108
112
  a = {
@@ -116,14 +120,14 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
116
120
  a = t;
117
121
  return s.config && ke(s.config, "style.scaleMin") ? a.style.scaleMin = s.config.style.scaleMin : a.style.scaleMin = null, s.config && ke(s.config, "style.scaleMax") ? a.style.scaleMax = s.config.style.scaleMax : a.style.scaleMax = null, a;
118
122
  }
119
- const x = f(() => te({
123
+ const A = f(() => te({
120
124
  data: $.value,
121
125
  threshold: e.value.downsample.threshold
122
126
  }));
123
127
  Q(() => s.config, (t) => {
124
- R.value || (e.value = W()), ve(), r.value.chartWidth = e.value.style.chartWidth;
128
+ R.value || (e.value = P()), de(), r.value.chartWidth = e.value.style.chartWidth;
125
129
  }, { deep: !0 }), Q(() => s.dataset, (t) => {
126
- Array.isArray(t) && t.length > 0 && (P.value = !1), b.value = te({
130
+ Array.isArray(t) && t.length > 0 && (O.value = !1), b.value = te({
127
131
  data: $.value.map((a) => ({
128
132
  ...a,
129
133
  value: [void 0].includes(a.value) ? null : a.value
@@ -131,8 +135,8 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
131
135
  threshold: e.value.downsample.threshold
132
136
  });
133
137
  }, { deep: !0 });
134
- const b = y(Re());
135
- function Re() {
138
+ const b = y(Pe());
139
+ function Pe() {
136
140
  return te({
137
141
  data: $.value.map((t) => e.value.style.animation.show && $.value.length > 1 ? {
138
142
  ...t,
@@ -144,59 +148,59 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
144
148
  threshold: e.value.downsample.threshold
145
149
  });
146
150
  }
147
- const m = ye(null), A = ye(null), O = y(!1), N = y(0), j = y([]), G = y(""), U = f(() => {
148
- const a = (x.value || []).map((o) => `${o.period}::${Number.isFinite(o.value) ? o.value : 0}`).join("|"), l = e.value?.style?.animation || {};
151
+ const m = ye(null), C = ye(null), W = y(!1), N = y(0), j = y([]), G = y(""), U = f(() => {
152
+ const a = (A.value || []).map((o) => `${o.period}::${Number.isFinite(o.value) ? o.value : 0}`).join("|"), l = e.value?.style?.animation || {};
149
153
  return `${a}#${!!l.show}#${l.animationFrames || 0}`;
150
154
  });
151
- function D() {
152
- N.value && (cancelAnimationFrame(N.value), N.value = 0), j.value.forEach((t) => clearTimeout(t)), j.value = [], O.value = !1;
155
+ function F() {
156
+ N.value && (cancelAnimationFrame(N.value), N.value = 0), j.value.forEach((t) => clearTimeout(t)), j.value = [], W.value = !1;
153
157
  }
154
158
  function X() {
155
- const t = e.value?.style?.animation || {}, a = x.value || [], l = U.value;
156
- if (l && l === G.value && (O.value || b.value.length === a.length))
159
+ const t = e.value?.style?.animation || {}, a = A.value || [], l = U.value;
160
+ if (l && l === G.value && (W.value || b.value.length === a.length))
157
161
  return;
158
- if (D(), !t.show || R.value || a.length <= 1) {
162
+ if (F(), !t.show || R.value || a.length <= 1) {
159
163
  b.value = a, G.value = l;
160
164
  return;
161
165
  }
162
- O.value = !0, G.value = l, b.value = [];
166
+ W.value = !0, G.value = l, b.value = [];
163
167
  const o = Math.max(1, Number(t.animationFrames) || 1), K = Math.max(1, Math.floor(o / a.length));
164
168
  let H = 0;
165
169
  const fe = () => {
166
170
  if (l !== U.value) {
167
- D();
171
+ F();
168
172
  return;
169
173
  }
170
174
  if (H < a.length) {
171
175
  b.value.push(a[H]);
172
- const Ue = setTimeout(() => {
176
+ const Ye = setTimeout(() => {
173
177
  N.value = requestAnimationFrame(fe);
174
178
  }, K);
175
- j.value.push(Ue), H += 1;
179
+ j.value.push(Ye), H += 1;
176
180
  } else
177
- b.value = a, D();
181
+ b.value = a, F();
178
182
  };
179
183
  N.value = requestAnimationFrame(fe);
180
184
  }
181
185
  Q(U, () => {
182
186
  X();
183
- }), Ye(() => {
184
- ve(), X();
187
+ }), Ze(() => {
188
+ de(), X();
185
189
  }), pe(() => {
186
- D();
190
+ F();
187
191
  });
188
192
  const ie = f(() => !!e.value.debug);
189
- function ve() {
190
- if (xe(s.dataset) ? (Ae({
193
+ function de() {
194
+ if (Ae(s.dataset) ? (Ce({
191
195
  componentName: "VueUiSparkline",
192
196
  type: "dataset",
193
197
  debug: ie.value
194
- }), P.value = !0) : s.dataset.forEach((t, a) => {
195
- et({
198
+ }), O.value = !0) : s.dataset.forEach((t, a) => {
199
+ at({
196
200
  datasetObject: t,
197
201
  requiredAttributes: ["period", "value"]
198
202
  }).forEach((l) => {
199
- Ae({
203
+ Ce({
200
204
  componentName: "VueUiSparkline",
201
205
  type: "datasetSerieAttribute",
202
206
  property: l,
@@ -204,9 +208,9 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
204
208
  debug: ie.value
205
209
  });
206
210
  });
207
- }), xe(s.dataset) || (P.value = e.value.loading), e.value.responsive) {
208
- const t = ut(() => {
209
- const { width: a, height: l } = st({
211
+ }), Ae(s.dataset) || (O.value = e.value.loading), e.value.responsive) {
212
+ const t = nt(() => {
213
+ const { width: a, height: l } = it({
210
214
  chart: T.value,
211
215
  title: e.value.style.title.show && s.showInfo ? ue.value : null,
212
216
  source: se.value
@@ -215,18 +219,18 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
215
219
  r.value.width = a, r.value.height = l, r.value.chartWidth = e.value.style.chartWidth / 500 * a, r.value.padding = s.forcedPadding / 500 * a;
216
220
  });
217
221
  });
218
- m.value && (A.value && m.value.unobserve(A.value), m.value.disconnect()), m.value = new ResizeObserver(t), A.value = T.value.parentNode, m.value.observe(A.value);
222
+ m.value && (C.value && m.value.unobserve(C.value), m.value.disconnect()), m.value = new ResizeObserver(t), C.value = T.value.parentNode, m.value.observe(C.value);
219
223
  }
220
224
  }
221
225
  pe(() => {
222
- m.value && (A.value && m.value.unobserve(A.value), m.value.disconnect());
226
+ m.value && (C.value && m.value.unobserve(C.value), m.value.disconnect());
223
227
  });
224
228
  const r = y({
225
229
  height: 80 * s.heightRatio,
226
230
  width: 500,
227
231
  chartWidth: e.value.style.chartWidth,
228
232
  padding: s.forcedPadding
229
- }), Y = De, i = f(() => {
233
+ }), Y = ze, i = f(() => {
230
234
  const { top: t, right: a, bottom: l, left: o } = e.value.style.padding;
231
235
  return {
232
236
  top: t,
@@ -237,53 +241,53 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
237
241
  width: s.showInfo && e.value.style.dataLabel.show ? r.value.chartWidth - o - a : r.value.width - r.value.padding - o - a,
238
242
  height: r.value.height - t - l
239
243
  };
240
- }), q = f(() => [null, void 0].includes(e.value.style.scaleMin) ? Math.min(...b.value.map((t) => isNaN(t.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t.value) ? 0 : t.value || 0)) : e.value.style.scaleMin), Pe = f(() => [null, void 0].includes(e.value.style.scaleMax) ? Math.max(...b.value.map((t) => isNaN(t.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t.value) ? 0 : t.value || 0)) : e.value.style.scaleMax), M = f(() => {
244
+ }), q = f(() => [null, void 0].includes(e.value.style.scaleMin) ? Math.min(...b.value.map((t) => isNaN(t.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t.value) ? 0 : t.value || 0)) : e.value.style.scaleMin), We = f(() => [null, void 0].includes(e.value.style.scaleMax) ? Math.max(...b.value.map((t) => isNaN(t.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t.value) ? 0 : t.value || 0)) : e.value.style.scaleMax), I = f(() => {
241
245
  const t = q.value >= 0 ? 0 : q.value;
242
246
  return Math.abs(t);
243
- }), de = f(() => Pe.value + M.value), _ = f(() => i.value.bottom - i.value.height * Z(M.value));
247
+ }), ve = f(() => We.value + I.value), x = f(() => i.value.bottom - i.value.height * Z(I.value));
244
248
  function Z(t) {
245
- return isNaN(t / de.value) ? 0 : t / de.value;
249
+ return isNaN(t / ve.value) ? 0 : t / ve.value;
246
250
  }
247
- const C = f(() => x.value.length - 1 || 1), S = f(() => ct({
248
- values: x.value.map((t) => t.period),
249
- maxDatapoints: x.value.length,
251
+ const _ = f(() => A.value.length - 1 || 1), S = f(() => ht({
252
+ values: A.value.map((t) => t.period),
253
+ maxDatapoints: A.value.length,
250
254
  formatter: e.value.style.dataLabel.datetimeFormatter,
251
255
  start: 0,
252
- end: x.value.length
253
- })), d = f(() => b.value.map((t, a) => {
254
- const l = isNaN(t.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t.value) ? 0 : t.value || 0, o = i.value.width / C.value;
256
+ end: A.value.length
257
+ })), v = f(() => b.value.map((t, a) => {
258
+ const l = isNaN(t.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t.value) ? 0 : t.value || 0, o = i.value.width / _.value;
255
259
  return {
256
260
  absoluteValue: l,
257
261
  period: S.value && S.value[a] && S.value[a].text ? S.value[a].text : t.period,
258
- plotValue: l + M.value,
259
- toMax: Z(l + M.value),
262
+ plotValue: l + I.value,
263
+ toMax: Z(l + I.value),
260
264
  x: i.value.start + a * o,
261
- y: i.value.bottom - i.value.height * Z(l + M.value),
265
+ y: i.value.bottom - i.value.height * Z(l + I.value),
262
266
  id: `plot_${g.value}_${a}`,
263
- color: I.value ? e.value.style.bar.color : e.value.style.area.useGradient ? E(e.value.style.line.color, 0.05 * (1 - a / C.value)) : e.value.style.line.color,
267
+ color: M.value ? e.value.style.bar.color : e.value.style.area.useGradient ? E(e.value.style.line.color, 0.05 * (1 - a / _.value)) : e.value.style.line.color,
264
268
  width: o
265
269
  };
266
- })), We = f(() => {
267
- const t = { x: d.value[0].x || 0, y: (r.value.height || 0) - 6 }, a = { x: d.value[d.value.length - 1].x || 0, y: (r.value.height || 0) - 6 }, l = [];
268
- return d.value.forEach((o) => {
270
+ })), je = f(() => {
271
+ const t = { x: v.value[0].x || 0, y: (r.value.height || 0) - 6 }, a = { x: v.value[v.value.length - 1].x || 0, y: (r.value.height || 0) - 6 }, l = [];
272
+ return v.value.forEach((o) => {
269
273
  l.push(`${o.x || 0},${o.y || 0} `);
270
274
  }), [t.x, t.y, ...l, a.x, a.y].toString();
271
- }), v = y(void 0), w = y(void 0);
272
- function Oe(t, a) {
273
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), v.value = t, w.value || (w.value = t), Y("hoverIndex", { index: a });
275
+ }), d = y(void 0), w = y(void 0);
276
+ function Ge(t, a) {
277
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), d.value = t, w.value || (w.value = t), Y("hoverIndex", { index: a });
274
278
  }
275
- function je(t, a) {
276
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a }), w.value = v.value, v.value = void 0, Y("hoverIndex", { index: void 0 });
279
+ function Ue(t, a) {
280
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a }), w.value = d.value, d.value = void 0, Y("hoverIndex", { index: void 0 });
277
281
  }
278
282
  const k = f(() => {
279
283
  if (re.value) {
280
- const t = d.value.map((l) => l.absoluteValue), a = t.reduce((l, o) => l + o, 0);
284
+ const t = v.value.map((l) => l.absoluteValue), a = t.reduce((l, o) => l + o, 0);
281
285
  return {
282
- latest: d.value[d.value.length - 1] ? d.value[d.value.length - 1].absoluteValue : 0,
286
+ latest: v.value[v.value.length - 1] ? v.value[v.value.length - 1].absoluteValue : 0,
283
287
  sum: a,
284
- average: a / d.value.length,
285
- median: at(t),
286
- trend: tt(d.value.map(({ x: l, y: o, absoluteValue: K }) => ({
288
+ average: a / v.value.length,
289
+ median: ot(t),
290
+ trend: lt(v.value.map(({ x: l, y: o, absoluteValue: K }) => ({
287
291
  x: l,
288
292
  y: o,
289
293
  value: K
@@ -297,8 +301,8 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
297
301
  median: null,
298
302
  trend: null
299
303
  };
300
- }), ce = f(() => re.value ? e.value.style.dataLabel.valueType === "latest" ? k.value.latest : e.value.style.dataLabel.valueType === "sum" ? k.value.sum : e.value.style.dataLabel.valueType === "average" ? k.value.average : 0 : 0), I = f(() => e.value.type && e.value.type === "bar");
301
- function Ge(t, a) {
304
+ }), ce = f(() => re.value ? e.value.style.dataLabel.valueType === "latest" ? k.value.latest : e.value.style.dataLabel.valueType === "sum" ? k.value.sum : e.value.style.dataLabel.valueType === "average" ? k.value.average : 0 : 0), M = f(() => e.value.type && e.value.type === "bar");
305
+ function Xe(t, a) {
302
306
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a }), Y("selectDatapoint", { datapoint: t, index: a });
303
307
  }
304
308
  return (t, a) => (n(), c("div", {
@@ -308,8 +312,8 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
308
312
  id: g.value,
309
313
  style: z(`width:100%;font-family:${e.value.style.fontFamily};`)
310
314
  }, [
311
- F(t.$slots, "before", be(me({
312
- selected: v.value,
315
+ D(t.$slots, "before", be(me({
316
+ selected: d.value,
313
317
  latest: k.value.latest,
314
318
  sum: k.value.sum,
315
319
  average: k.value.average,
@@ -325,17 +329,17 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
325
329
  }, [
326
330
  p("span", {
327
331
  style: z(`padding:${e.value.style.title.textAlign === "left" ? "0 0 0 12px" : e.value.style.title.textAlign === "right" ? "0 12px 0 0" : "0"}`)
328
- }, B(v.value ? v.value.period : e.value.style.title.text), 5)
332
+ }, B(d.value ? d.value.period : e.value.style.title.text), 5)
329
333
  ], 4)) : h("", !0),
330
334
  (n(), c("svg", {
331
335
  ref_key: "svgRef",
332
336
  ref: ne,
333
- xmlns: u(lt),
337
+ xmlns: u(rt),
334
338
  viewBox: `0 0 ${r.value.width} ${r.value.height}`,
335
339
  style: z(`background:${e.value.style.backgroundColor};overflow:visible`),
336
340
  onMouseleave: a[0] || (a[0] = (l) => w.value = void 0)
337
341
  }, [
338
- qe(u(Se)),
342
+ Ke(u(Be)),
339
343
  t.$slots["chart-background"] ? (n(), c("foreignObject", {
340
344
  key: 0,
341
345
  x: 0,
@@ -346,8 +350,8 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
346
350
  pointerEvents: "none"
347
351
  }
348
352
  }, [
349
- F(t.$slots, "chart-background", {}, void 0, !0)
350
- ], 8, gt)) : h("", !0),
353
+ D(t.$slots, "chart-background", {}, void 0, !0)
354
+ ], 8, mt)) : h("", !0),
351
355
  p("defs", null, [
352
356
  p("linearGradient", {
353
357
  x1: "0%",
@@ -359,12 +363,12 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
359
363
  p("stop", {
360
364
  offset: "0%",
361
365
  "stop-color": u(V)(u(E)(e.value.style.area.color, 0.05), e.value.style.area.opacity)
362
- }, null, 8, mt),
366
+ }, null, 8, At),
363
367
  p("stop", {
364
368
  offset: "100%",
365
369
  "stop-color": u(V)(e.value.style.area.color, e.value.style.area.opacity)
366
- }, null, 8, kt)
367
- ], 8, bt),
370
+ }, null, 8, Ct)
371
+ ], 8, kt),
368
372
  p("linearGradient", {
369
373
  x2: "0%",
370
374
  y2: "100%",
@@ -373,11 +377,11 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
373
377
  p("stop", {
374
378
  offset: "0%",
375
379
  "stop-color": e.value.style.bar.color
376
- }, null, 8, At),
380
+ }, null, 8, _t),
377
381
  p("stop", {
378
382
  offset: "100%",
379
383
  "stop-color": u(E)(e.value.style.bar.color, 0.05)
380
- }, null, 8, _t)
384
+ }, null, 8, wt)
381
385
  ], 8, xt),
382
386
  p("linearGradient", {
383
387
  x2: "0%",
@@ -387,51 +391,57 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
387
391
  p("stop", {
388
392
  offset: "0%",
389
393
  "stop-color": u(E)(e.value.style.bar.color, 0.05)
390
- }, null, 8, wt),
394
+ }, null, 8, $t),
391
395
  p("stop", {
392
396
  offset: "100%",
393
397
  "stop-color": e.value.style.bar.color
394
- }, null, 8, Lt)
395
- ], 8, Ct)
398
+ }, null, 8, Nt)
399
+ ], 8, Lt)
396
400
  ]),
397
- e.value.style.area.show && !I.value && d.value[0] && d.value.length > 1 ? (n(), c("g", $t, [
401
+ e.value.style.area.show && !M.value && v.value[0] && v.value.length > 1 ? (n(), c("g", It, [
398
402
  e.value.style.line.smooth ? (n(), c("path", {
399
403
  key: 0,
400
- d: `M ${d.value[0].x},${i.value.bottom} ${u(_e)(d.value)} L ${d.value.at(-1).x},${i.value.bottom} Z`,
401
- fill: e.value.style.area.useGradient ? `url(#sparkline_gradient_${g.value})` : u(V)(e.value.style.area.color, e.value.style.area.opacity)
402
- }, null, 8, Nt)) : (n(), c("path", {
404
+ d: `M ${v.value[0].x},${i.value.bottom} ${u(xe)(v.value)} L ${v.value.at(-1).x},${i.value.bottom} Z`,
405
+ fill: e.value.style.area.useGradient ? `url(#sparkline_gradient_${g.value})` : u(V)(e.value.style.area.color, e.value.style.area.opacity),
406
+ "stroke-linecap": "round",
407
+ "stroke-linejoin": "round"
408
+ }, null, 8, Mt)) : (n(), c("path", {
403
409
  key: 1,
404
- d: `M${We.value}Z`,
405
- fill: e.value.style.area.useGradient ? `url(#sparkline_gradient_${g.value})` : u(V)(e.value.style.area.color, e.value.style.area.opacity)
406
- }, null, 8, Mt))
410
+ d: `M${je.value}Z`,
411
+ fill: e.value.style.area.useGradient ? `url(#sparkline_gradient_${g.value})` : u(V)(e.value.style.area.color, e.value.style.area.opacity),
412
+ "stroke-linecap": "round",
413
+ "stroke-linejoin": "round"
414
+ }, null, 8, Dt))
407
415
  ])) : h("", !0),
408
- e.value.style.line.smooth && !I.value ? (n(), c("path", {
416
+ e.value.style.line.smooth && !M.value ? (n(), c("path", {
409
417
  key: 2,
410
- d: `M ${u(_e)(d.value) || "0,0"}`,
418
+ d: `M ${u(xe)(v.value) || "0,0"}`,
411
419
  stroke: e.value.style.line.color,
412
420
  fill: "none",
413
421
  "stroke-width": e.value.style.line.strokeWidth,
414
- "stroke-linecap": "round"
415
- }, null, 8, It)) : h("", !0),
416
- !e.value.style.line.smooth && !I.value ? (n(), c("path", {
422
+ "stroke-linecap": "round",
423
+ "stroke-linejoin": "round"
424
+ }, null, 8, Ft)) : h("", !0),
425
+ !e.value.style.line.smooth && !M.value ? (n(), c("path", {
417
426
  key: 3,
418
- d: `M ${u(ot)(d.value) || "0,0"}`,
427
+ d: `M ${u(ut)(v.value) || "0,0"}`,
419
428
  stroke: e.value.style.line.color,
420
429
  fill: "none",
421
430
  "stroke-width": e.value.style.line.strokeWidth,
422
- "stroke-linecap": "round"
423
- }, null, 8, Ft)) : h("", !0),
424
- (n(!0), c(J, null, ee(d.value, (l, o) => (n(), c("g", null, [
425
- I.value ? (n(), c("rect", {
431
+ "stroke-linecap": "round",
432
+ "stroke-linejoin": "round"
433
+ }, null, 8, St)) : h("", !0),
434
+ (n(!0), c(J, null, ee(v.value, (l, o) => (n(), c("g", null, [
435
+ M.value ? (n(), c("rect", {
426
436
  key: 0,
427
437
  x: l.x - l.width / 2,
428
- y: isNaN(l.absoluteValue > 0 ? l.y : _.value) ? 0 : l.absoluteValue > 0 ? l.y : _.value,
438
+ y: isNaN(l.absoluteValue > 0 ? l.y : x.value) ? 0 : l.absoluteValue > 0 ? l.y : x.value,
429
439
  width: l.width,
430
- height: isNaN(Math.abs(l.y - _.value)) ? 0 : Math.abs(l.y - _.value),
440
+ height: isNaN(Math.abs(l.y - x.value)) ? 0 : Math.abs(l.y - x.value),
431
441
  fill: l.absoluteValue > 0 ? `url(#sparkline_bar_gradient_pos_${g.value})` : `url(#sparkline_bar_gradient_neg_${g.value})`,
432
442
  rx: e.value.style.bar.borderRadius
433
- }, null, 8, Dt)) : h("", !0),
434
- e.value.style.verticalIndicator.show && (v.value && l.id === v.value.id || L.selectedIndex === o) ? (n(), c("line", {
443
+ }, null, 8, zt)) : h("", !0),
444
+ e.value.style.verticalIndicator.show && (d.value && l.id === d.value.id || L.selectedIndex === o) ? (n(), c("line", {
435
445
  key: 1,
436
446
  x1: l.x,
437
447
  x2: l.x,
@@ -441,21 +451,21 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
441
451
  "stroke-width": e.value.style.verticalIndicator.strokeWidth,
442
452
  "stroke-linecap": "round",
443
453
  "stroke-dasharray": e.value.style.verticalIndicator.strokeDasharray || 0
444
- }, null, 8, St)) : h("", !0)
454
+ }, null, 8, Bt)) : h("", !0)
445
455
  ]))), 256)),
446
456
  q.value < 0 ? (n(), c("line", {
447
457
  key: 4,
448
458
  x1: i.value.start,
449
459
  x2: i.value.start + i.value.width,
450
- y1: u(Ce)(_.value, i.value.bottom),
451
- y2: u(Ce)(_.value, i.value.bottom),
460
+ y1: u(_e)(x.value, i.value.bottom),
461
+ y2: u(_e)(x.value, i.value.bottom),
452
462
  stroke: e.value.style.zeroLine.color,
453
463
  "stroke-dasharray": e.value.style.zeroLine.strokeWidth * 2,
454
464
  "stroke-width": e.value.style.zeroLine.strokeWidth,
455
465
  "stroke-linecap": "round"
456
- }, null, 8, zt)) : h("", !0),
457
- e.value.style.plot.show ? (n(!0), c(J, { key: 5 }, ee(d.value, (l, o) => (n(), c("g", null, [
458
- v.value && l.id === v.value.id || L.selectedIndex === o || u($).length === 1 ? (n(), c("circle", {
466
+ }, null, 8, Et)) : h("", !0),
467
+ e.value.style.plot.show ? (n(!0), c(J, { key: 5 }, ee(v.value, (l, o) => (n(), c("g", null, [
468
+ d.value && l.id === d.value.id || L.selectedIndex === o || u($).length === 1 ? (n(), c("circle", {
459
469
  key: 0,
460
470
  cx: l.x,
461
471
  cy: l.y,
@@ -463,7 +473,7 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
463
473
  fill: l.color,
464
474
  stroke: e.value.style.plot.stroke,
465
475
  "stroke-width": e.value.style.plot.strokeWidth
466
- }, null, 8, Bt)) : h("", !0)
476
+ }, null, 8, Vt)) : h("", !0)
467
477
  ]))), 256)) : h("", !0),
468
478
  L.showInfo && e.value.style.dataLabel.show ? (n(), c("text", {
469
479
  key: 6,
@@ -472,32 +482,32 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
472
482
  "font-size": e.value.style.dataLabel.fontSize,
473
483
  "font-weight": e.value.style.dataLabel.bold ? "bold" : "normal",
474
484
  fill: e.value.style.dataLabel.color
475
- }, B(v.value ? u(ae)(
485
+ }, B(d.value ? u(ae)(
476
486
  e.value.style.dataLabel.formatter,
477
- v.value.absoluteValue,
478
- u(le)({ p: e.value.style.dataLabel.prefix, v: v.value.absoluteValue, s: e.value.style.dataLabel.suffix, r: e.value.style.dataLabel.roundingValue }),
479
- { datapoint: v.value }
487
+ d.value.absoluteValue,
488
+ u(le)({ p: e.value.style.dataLabel.prefix, v: d.value.absoluteValue, s: e.value.style.dataLabel.suffix, r: e.value.style.dataLabel.roundingValue }),
489
+ { datapoint: d.value }
480
490
  ) : u(ae)(
481
491
  e.value.style.dataLabel.formatter,
482
492
  ce.value,
483
493
  u(le)({ p: e.value.style.dataLabel.prefix, v: ce.value, s: e.value.style.dataLabel.suffix, r: e.value.style.dataLabel.roundingValue })
484
- )), 9, Et)) : h("", !0),
485
- (n(!0), c(J, null, ee(d.value, (l, o) => (n(), c("rect", {
486
- x: l.x - (i.value.width / (C.value + 1) > r.value.padding ? r.value.padding : i.value.width / (C.value + 1)) / 2,
494
+ )), 9, Tt)) : h("", !0),
495
+ (n(!0), c(J, null, ee(v.value, (l, o) => (n(), c("rect", {
496
+ x: l.x - (i.value.width / (_.value + 1) > r.value.padding ? r.value.padding : i.value.width / (_.value + 1)) / 2,
487
497
  y: i.value.top - 6,
488
498
  height: i.value.height + 6,
489
- width: i.value.width / (C.value + 1) > r.value.padding ? r.value.padding : i.value.width / (C.value + 1),
499
+ width: i.value.width / (_.value + 1) > r.value.padding ? r.value.padding : i.value.width / (_.value + 1),
490
500
  fill: "transparent",
491
- onMouseenter: () => Oe(l, o),
492
- onMouseleave: () => je(l, o),
493
- onClick: () => Ge(l, o)
494
- }, null, 40, Vt))), 256)),
495
- F(t.$slots, "svg", { svg: r.value }, void 0, !0)
496
- ], 44, pt)),
497
- v.value && e.value.style.tooltip.show ? (n(), ge(u(ze), {
501
+ onMouseenter: () => Ge(l, o),
502
+ onMouseleave: () => Ue(l, o),
503
+ onClick: () => Xe(l, o)
504
+ }, null, 40, Rt))), 256)),
505
+ D(t.$slots, "svg", { svg: r.value }, void 0, !0)
506
+ ], 44, bt)),
507
+ d.value && e.value.style.tooltip.show ? (n(), ge(u(Ee), {
498
508
  key: 1,
499
- x: v.value.x,
500
- y: v.value.y,
509
+ x: d.value.x,
510
+ y: d.value.y,
501
511
  prevX: w.value.x,
502
512
  prevY: w.value.y,
503
513
  offsetY: e.value.style.plot.radius * 3 + e.value.style.tooltip.offsetY,
@@ -510,18 +520,18 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
510
520
  borderRadius: e.value.style.tooltip.borderRadius,
511
521
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity
512
522
  }, {
513
- default: Ze(() => [
514
- F(t.$slots, "tooltip", be(me({ ...v.value })), () => [
515
- Ke(B(v.value.period) + ": " + B(u(ae)(
523
+ default: He(() => [
524
+ D(t.$slots, "tooltip", be(me({ ...d.value })), () => [
525
+ Qe(B(d.value.period) + ": " + B(u(ae)(
516
526
  e.value.style.dataLabel.formatter,
517
- v.value.absoluteValue,
527
+ d.value.absoluteValue,
518
528
  u(le)({
519
529
  p: e.value.style.dataLabel.prefix,
520
- v: v.value.absoluteValue,
530
+ v: d.value.absoluteValue,
521
531
  s: e.value.style.dataLabel.suffix,
522
532
  r: e.value.style.dataLabel.roundingValue
523
533
  }),
524
- { datapoint: v.value }
534
+ { datapoint: d.value }
525
535
  )), 1)
526
536
  ], !0)
527
537
  ]),
@@ -533,17 +543,17 @@ const we = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }
533
543
  ref: se,
534
544
  dir: "auto"
535
545
  }, [
536
- F(t.$slots, "source", {}, void 0, !0)
546
+ D(t.$slots, "source", {}, void 0, !0)
537
547
  ], 512)) : h("", !0),
538
- u(R) ? (n(), ge(vt, { key: 3 })) : h("", !0)
539
- ], 12, yt));
548
+ u(R) ? (n(), ge(ct, { key: 3 })) : h("", !0)
549
+ ], 12, gt));
540
550
  }
541
- }, Rt = /* @__PURE__ */ ht(Tt, [["__scopeId", "data-v-1b368031"]]), Kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
551
+ }, Pt = /* @__PURE__ */ pt(Ot, [["__scopeId", "data-v-a90be8f4"]]), Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
542
552
  __proto__: null,
543
- default: Rt
553
+ default: Pt
544
554
  }, Symbol.toStringTag, { value: "Module" }));
545
555
  export {
546
- Zt as a,
547
- Kt as b,
548
- Rt as v
556
+ Ht as a,
557
+ Qt as b,
558
+ Pt as v
549
559
  };