vue-data-ui 3.1.18 → 3.1.19-next.1

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 (224) hide show
  1. package/dist/{Arrow-BC5klzOh.js → Arrow-cyyFTTnm.js} +7 -7
  2. package/dist/{BaseDraggableDialog-CkjMZyIs.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
  3. package/dist/{BaseIcon-BPiT94Lb.js → BaseIcon-D2f9w5Z5.js} +1 -1
  4. package/dist/{ColorPicker-bx5e2RB2.js → ColorPicker-gaAecgEC.js} +6 -6
  5. package/dist/{DataTable-CywujQw9.js → DataTable-xISHA7Pu.js} +2 -2
  6. package/dist/{Legend-h35dp0Qf.js → Legend-_Rv594VS.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-CvnlQ378.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
  8. package/dist/{PackageVersion-BzGzkGiC.js → PackageVersion-B6W-zkH-.js} +3 -3
  9. package/dist/{PenAndPaper-Deh70G9d.js → PenAndPaper-CtDMyIvW.js} +3 -3
  10. package/dist/{Shape-sVxD_SDm.js → Shape-BDy56-wS.js} +1 -1
  11. package/dist/{Slicer-CQB967He.js → Slicer-BgpOhmb6.js} +31 -31
  12. package/dist/{SparkTooltip-DFRSPT3_.js → SparkTooltip-DOFGBHJ-.js} +1 -1
  13. package/dist/{Title-B_WMW2Bp.js → Title-pI68ZJsq.js} +1 -1
  14. package/dist/{Tooltip-Db9jy0Iu.js → Tooltip-Clf2K3CF.js} +1 -1
  15. package/dist/{UserOptions-CtECQwBN.js → UserOptions-Bn3u4JQu.js} +2 -2
  16. package/dist/components/arrow.js +5 -0
  17. package/dist/components/vue-ui-3d-bar.js +5 -0
  18. package/dist/components/vue-ui-accordion.js +5 -0
  19. package/dist/components/vue-ui-age-pyramid.js +5 -0
  20. package/dist/components/vue-ui-bullet.js +5 -0
  21. package/dist/components/vue-ui-candlestick.js +5 -0
  22. package/dist/components/vue-ui-carousel-table.js +5 -0
  23. package/dist/components/vue-ui-chestnut.js +5 -0
  24. package/dist/components/vue-ui-chord.js +5 -0
  25. package/dist/components/vue-ui-circle-pack.js +5 -0
  26. package/dist/components/vue-ui-cursor.js +5 -0
  27. package/dist/components/vue-ui-dashboard.js +5 -0
  28. package/dist/components/vue-ui-digits.js +5 -0
  29. package/dist/components/vue-ui-donut-evolution.js +5 -0
  30. package/dist/components/vue-ui-donut.js +5 -0
  31. package/dist/components/vue-ui-dumbbell.js +5 -0
  32. package/dist/components/vue-ui-flow.js +5 -0
  33. package/dist/components/vue-ui-funnel.js +5 -0
  34. package/dist/components/vue-ui-galaxy.js +5 -0
  35. package/dist/components/vue-ui-gauge.js +5 -0
  36. package/dist/components/vue-ui-gizmo.js +5 -0
  37. package/dist/components/vue-ui-heatmap.js +5 -0
  38. package/dist/components/vue-ui-history-plot.js +5 -0
  39. package/dist/components/vue-ui-horizontal-bar.js +5 -0
  40. package/dist/components/vue-ui-icon.js +5 -0
  41. package/dist/components/vue-ui-kpi.js +5 -0
  42. package/dist/components/vue-ui-mini-loader.js +5 -0
  43. package/dist/components/vue-ui-molecule.js +5 -0
  44. package/dist/components/vue-ui-mood-radar.js +5 -0
  45. package/dist/components/vue-ui-nested-donuts.js +5 -0
  46. package/dist/components/vue-ui-onion.js +5 -0
  47. package/dist/components/vue-ui-parallel-coordinate-plot.js +5 -0
  48. package/dist/components/vue-ui-pattern.js +5 -0
  49. package/dist/components/vue-ui-quadrant.js +5 -0
  50. package/dist/components/vue-ui-quick-chart.js +5 -0
  51. package/dist/components/vue-ui-radar.js +5 -0
  52. package/dist/components/vue-ui-rating.js +5 -0
  53. package/dist/components/vue-ui-relation-circle.js +5 -0
  54. package/dist/components/vue-ui-ridgeline.js +5 -0
  55. package/dist/components/vue-ui-rings.js +5 -0
  56. package/dist/components/vue-ui-scatter.js +5 -0
  57. package/dist/components/vue-ui-skeleton.js +5 -0
  58. package/dist/components/vue-ui-smiley.js +5 -0
  59. package/dist/components/vue-ui-spark-trend.js +5 -0
  60. package/dist/components/vue-ui-sparkbar.js +5 -0
  61. package/dist/components/vue-ui-sparkgauge.js +5 -0
  62. package/dist/components/vue-ui-sparkhistogram.js +5 -0
  63. package/dist/components/vue-ui-sparkline.js +5 -0
  64. package/dist/components/vue-ui-sparkstackbar.js +5 -0
  65. package/dist/components/vue-ui-stackbar.js +5 -0
  66. package/dist/components/vue-ui-strip-plot.js +5 -0
  67. package/dist/components/vue-ui-table-heatmap.js +5 -0
  68. package/dist/components/vue-ui-table-sparkline.js +5 -0
  69. package/dist/components/vue-ui-table.js +5 -0
  70. package/dist/components/vue-ui-thermometer.js +5 -0
  71. package/dist/components/vue-ui-timer.js +5 -0
  72. package/dist/components/vue-ui-tiremarks.js +5 -0
  73. package/dist/components/vue-ui-treemap.js +5 -0
  74. package/dist/components/vue-ui-vertical-bar.js +5 -0
  75. package/dist/components/vue-ui-waffle.js +5 -0
  76. package/dist/components/vue-ui-wheel.js +5 -0
  77. package/dist/components/vue-ui-word-cloud.js +5 -0
  78. package/dist/components/vue-ui-world.js +5 -0
  79. package/dist/components/vue-ui-xy-canvas.js +5 -0
  80. package/dist/components/vue-ui-xy.js +5 -0
  81. package/dist/{dom-to-png-BHpS3cMi.js → dom-to-png-CSg_eTqL.js} +1 -1
  82. package/dist/{img-BArHHegM.js → img-CH7J0fYg.js} +1 -1
  83. package/dist/lib-p5pfHmOX.js +1882 -0
  84. package/dist/{pdf-D1L3r23x.js → pdf-Wd2BQz4D.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/themes-D3cUNuKw.js +53 -0
  87. package/dist/types/arrow.d.ts +4 -0
  88. package/dist/types/vue-data-ui.d.ts +71 -21
  89. package/dist/types/vue-ui-3d-bar.d.ts +18 -0
  90. package/dist/types/vue-ui-accordion.d.ts +12 -0
  91. package/dist/types/vue-ui-age-pyramid.d.ts +21 -0
  92. package/dist/types/vue-ui-bullet.d.ts +16 -0
  93. package/dist/types/vue-ui-candlestick.d.ts +16 -0
  94. package/dist/types/vue-ui-carousel-table.d.ts +14 -0
  95. package/dist/types/vue-ui-chestnut.d.ts +17 -0
  96. package/dist/types/vue-ui-chord.d.ts +19 -0
  97. package/dist/types/vue-ui-circle-pack.d.ts +17 -0
  98. package/dist/types/vue-ui-cursor.d.ts +7 -0
  99. package/dist/types/vue-ui-dashboard.d.ts +14 -0
  100. package/dist/types/vue-ui-digits.d.ts +10 -0
  101. package/dist/types/vue-ui-donut-evolution.d.ts +17 -0
  102. package/dist/types/vue-ui-donut.d.ts +18 -0
  103. package/dist/types/vue-ui-dumbbell.d.ts +18 -0
  104. package/dist/types/vue-ui-flow.d.ts +18 -0
  105. package/dist/types/vue-ui-funnel.d.ts +15 -0
  106. package/dist/types/vue-ui-galaxy.d.ts +18 -0
  107. package/dist/types/vue-ui-gauge.d.ts +16 -0
  108. package/dist/types/vue-ui-gizmo.d.ts +14 -0
  109. package/dist/types/vue-ui-heatmap.d.ts +17 -0
  110. package/dist/types/vue-ui-history-plot.d.ts +19 -0
  111. package/dist/types/vue-ui-horizontal-bar.d.ts +19 -0
  112. package/dist/types/vue-ui-icon.d.ts +16 -0
  113. package/dist/types/vue-ui-kpi.d.ts +13 -0
  114. package/dist/types/vue-ui-mini-loader.d.ts +13 -0
  115. package/dist/types/vue-ui-molecule.d.ts +17 -0
  116. package/dist/types/vue-ui-mood-radar.d.ts +17 -0
  117. package/dist/types/vue-ui-nested-donuts.d.ts +18 -0
  118. package/dist/types/vue-ui-onion.d.ts +18 -0
  119. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +20 -0
  120. package/dist/types/vue-ui-pattern.d.ts +17 -0
  121. package/dist/types/vue-ui-quadrant.d.ts +20 -0
  122. package/dist/types/vue-ui-quick-chart.d.ts +16 -0
  123. package/dist/types/vue-ui-radar.d.ts +22 -0
  124. package/dist/types/vue-ui-rating.d.ts +15 -0
  125. package/dist/types/vue-ui-relation-circle.d.ts +17 -0
  126. package/dist/types/vue-ui-ridgeline.d.ts +20 -0
  127. package/dist/types/vue-ui-rings.d.ts +17 -0
  128. package/dist/types/vue-ui-scatter.d.ts +19 -0
  129. package/dist/types/vue-ui-skeleton.d.ts +12 -0
  130. package/dist/types/vue-ui-smiley.d.ts +14 -0
  131. package/dist/types/vue-ui-spark-trend.d.ts +13 -0
  132. package/dist/types/vue-ui-sparkbar.d.ts +15 -0
  133. package/dist/types/vue-ui-sparkgauge.d.ts +14 -0
  134. package/dist/types/vue-ui-sparkhistogram.d.ts +15 -0
  135. package/dist/types/vue-ui-sparkline.d.ts +15 -0
  136. package/dist/types/vue-ui-sparkstackbar.d.ts +16 -0
  137. package/dist/types/vue-ui-stackbar.d.ts +18 -0
  138. package/dist/types/vue-ui-strip-plot.d.ts +19 -0
  139. package/dist/types/vue-ui-table-heatmap.d.ts +14 -0
  140. package/dist/types/vue-ui-table-sparkline.d.ts +14 -0
  141. package/dist/types/vue-ui-table.d.ts +17 -0
  142. package/dist/types/vue-ui-thermometer.d.ts +15 -0
  143. package/dist/types/vue-ui-timer.d.ts +12 -0
  144. package/dist/types/vue-ui-tiremarks.d.ts +15 -0
  145. package/dist/types/vue-ui-treemap.d.ts +18 -0
  146. package/dist/types/vue-ui-vertical-bar.d.ts +19 -0
  147. package/dist/types/vue-ui-waffle.d.ts +18 -0
  148. package/dist/types/vue-ui-wheel.d.ts +15 -0
  149. package/dist/types/vue-ui-word-cloud.d.ts +17 -0
  150. package/dist/types/vue-ui-world.d.ts +17 -0
  151. package/dist/types/vue-ui-xy-canvas.d.ts +15 -0
  152. package/dist/types/vue-ui-xy.d.ts +24 -0
  153. package/dist/{useAutoSizeLabelsInsideViewbox-DeqXeTNw.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
  154. package/dist/useNestedProp-DF7e2h1z.js +6645 -0
  155. package/dist/{usePrinter-nFj0xF0a.js → usePrinter-Yeu5jOfm.js} +2 -2
  156. package/dist/{vue-data-ui-DcBYykse.js → vue-data-ui-DfcfqSDl.js} +64 -64
  157. package/dist/vue-data-ui.js +243 -85
  158. package/dist/{vue-ui-3d-bar-D4rc8PD3.js → vue-ui-3d-bar-DKkCWxob.js} +58 -57
  159. package/dist/{vue-ui-accordion-7cfJUVx5.js → vue-ui-accordion-D-L73-T2.js} +4 -4
  160. package/dist/{vue-ui-age-pyramid-BXMIUNB_.js → vue-ui-age-pyramid-gGF4DSOi.js} +28 -27
  161. package/dist/{vue-ui-annotator-aCDhQ-m2.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
  162. package/dist/{vue-ui-bullet-Cd_iix-z.js → vue-ui-bullet-Coqi_swO.js} +28 -27
  163. package/dist/{vue-ui-candlestick-C-TTTgiW.js → vue-ui-candlestick-C78EYmhY.js} +32 -31
  164. package/dist/{vue-ui-carousel-table-C58J4zpm.js → vue-ui-carousel-table-B7i_eOe9.js} +25 -25
  165. package/dist/{vue-ui-chestnut-C7u6GW-T.js → vue-ui-chestnut-QzsKNF-J.js} +41 -40
  166. package/dist/{vue-ui-chord-DxLU3Fg1.js → vue-ui-chord-BxiWe3MD.js} +61 -60
  167. package/dist/{vue-ui-circle-pack--a_KE7qz.js → vue-ui-circle-pack-C3TZdbF1.js} +75 -74
  168. package/dist/{vue-ui-cursor-DJQWAIj8.js → vue-ui-cursor-0muOlHSh.js} +3 -3
  169. package/dist/{vue-ui-dashboard-CIACUYB-.js → vue-ui-dashboard-Dh0EyLe8.js} +68 -68
  170. package/dist/{vue-ui-digits-CLV8h-P8.js → vue-ui-digits-DOUNtmB0.js} +3 -3
  171. package/dist/{vue-ui-donut-sO6G5oor.js → vue-ui-donut-DTJCIEig.js} +39 -38
  172. package/dist/{vue-ui-donut-evolution-XGJvBQIm.js → vue-ui-donut-evolution-DYJmrFDC.js} +81 -80
  173. package/dist/{vue-ui-dumbbell-Bi11rDL7.js → vue-ui-dumbbell-COm32YHr.js} +97 -96
  174. package/dist/{vue-ui-flow-RP2v-aZJ.js → vue-ui-flow-BD2XeR-d.js} +127 -126
  175. package/dist/{vue-ui-funnel-TVQXGyw7.js → vue-ui-funnel-Cy9J1JpW.js} +39 -38
  176. package/dist/{vue-ui-galaxy-CUURaWgH.js → vue-ui-galaxy-KyUZ5tNb.js} +53 -52
  177. package/dist/{vue-ui-gauge-hTRlwARA.js → vue-ui-gauge-BpXYJd5z.js} +43 -42
  178. package/dist/{vue-ui-gizmo-CZIgBvWV.js → vue-ui-gizmo-DM3wSOOe.js} +6 -6
  179. package/dist/{vue-ui-heatmap-RKtFMgDP.js → vue-ui-heatmap-B2NzGPtL.js} +98 -97
  180. package/dist/{vue-ui-history-plot-fbTG7Mke.js → vue-ui-history-plot-BTnau6bc.js} +105 -104
  181. package/dist/{vue-ui-kpi-CfX-zUDS.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
  182. package/dist/{vue-ui-mini-loader-C1nANuMy.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
  183. package/dist/{vue-ui-molecule-BU7T1ysb.js → vue-ui-molecule-8oQQTCN2.js} +54 -53
  184. package/dist/{vue-ui-mood-radar-Cb8cFWzE.js → vue-ui-mood-radar-B3ZrQSqP.js} +30 -29
  185. package/dist/{vue-ui-nested-donuts-DTZD8BTA.js → vue-ui-nested-donuts-BoUb_OX8.js} +69 -68
  186. package/dist/{vue-ui-onion-5xmlEUsJ.js → vue-ui-onion-xprTPjVq.js} +33 -32
  187. package/dist/{vue-ui-parallel-coordinate-plot-Wc0TbyJH.js → vue-ui-parallel-coordinate-plot-Cpzi3BO0.js} +61 -60
  188. package/dist/{vue-ui-pattern-DsYgSZWn.js → vue-ui-pattern-D5pNvoQp.js} +1 -1
  189. package/dist/{vue-ui-quadrant-BC99Cua7.js → vue-ui-quadrant-CHTnDwZ7.js} +35 -34
  190. package/dist/{vue-ui-quick-chart-Cbv2UcEu.js → vue-ui-quick-chart-zJyIT4di.js} +30 -29
  191. package/dist/{vue-ui-radar-B-ey_fDA.js → vue-ui-radar-B5QRDHJ1.js} +90 -89
  192. package/dist/{vue-ui-rating-BNCKLcCa.js → vue-ui-rating-CjoKP6-5.js} +9 -9
  193. package/dist/{vue-ui-relation-circle-CYFQcAgc.js → vue-ui-relation-circle-DStHH_sz.js} +44 -43
  194. package/dist/{vue-ui-ridgeline-B_6K1FTc.js → vue-ui-ridgeline-VI1I1k9W.js} +82 -81
  195. package/dist/{vue-ui-rings-D_BTgxYc.js → vue-ui-rings-D26TgYmU.js} +74 -73
  196. package/dist/{vue-ui-scatter-B69SYOfv.js → vue-ui-scatter-9CX5JEVI.js} +121 -120
  197. package/dist/{vue-ui-skeleton-CpkwgALO.js → vue-ui-skeleton-0yto3ZRt.js} +5 -5
  198. package/dist/{vue-ui-smiley-t16dEIoQ.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
  199. package/dist/{vue-ui-spark-trend-DskdjYw4.js → vue-ui-spark-trend-13xDAi4U.js} +47 -46
  200. package/dist/{vue-ui-sparkbar-C-evQIq2.js → vue-ui-sparkbar-DBMeKvSW.js} +16 -15
  201. package/dist/{vue-ui-sparkgauge-DycVSHAs.js → vue-ui-sparkgauge-febkbzOk.js} +32 -31
  202. package/dist/{vue-ui-sparkhistogram-CZLnlSUD.js → vue-ui-sparkhistogram-rc9uWj4C.js} +22 -21
  203. package/dist/{vue-ui-sparkline-C1nZRVTa.js → vue-ui-sparkline-BpZKuk92.js} +131 -130
  204. package/dist/{vue-ui-sparkstackbar-CUUeuwAI.js → vue-ui-sparkstackbar-DuOsScHl.js} +28 -27
  205. package/dist/{vue-ui-stackbar-D27Wq8Y4.js → vue-ui-stackbar-BsdEyuPC.js} +77 -76
  206. package/dist/{vue-ui-strip-plot-D-srKJUr.js → vue-ui-strip-plot-Dem6Qr7N.js} +52 -51
  207. package/dist/{vue-ui-table-LcImk124.js → vue-ui-table-Dds0EE_Q.js} +9 -8
  208. package/dist/{vue-ui-table-heatmap-BfXe_f0K.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
  209. package/dist/{vue-ui-table-sparkline-DyrnPNGv.js → vue-ui-table-sparkline-DcHLIhbA.js} +20 -19
  210. package/dist/{vue-ui-thermometer-DxRDmz-L.js → vue-ui-thermometer-DZwSnX7w.js} +66 -65
  211. package/dist/{vue-ui-timer-Bbzb09O8.js → vue-ui-timer-BVmo70Ts.js} +31 -31
  212. package/dist/{vue-ui-tiremarks-DWy1Dkub.js → vue-ui-tiremarks-Cr6Fy7Sq.js} +30 -29
  213. package/dist/{vue-ui-treemap-C3Ek_E4n.js → vue-ui-treemap-DiKGxMUR.js} +32 -31
  214. package/dist/{vue-ui-vertical-bar-CV3Mc1cX.js → vue-ui-vertical-bar-D3_W8WLN.js} +54 -53
  215. package/dist/{vue-ui-waffle-D2mQJdcV.js → vue-ui-waffle-CoVrrxzt.js} +76 -75
  216. package/dist/{vue-ui-wheel-zbog7bII.js → vue-ui-wheel-Cwl-WsK2.js} +85 -84
  217. package/dist/{vue-ui-word-cloud-D9iZRkQP.js → vue-ui-word-cloud-L-58-uVD.js} +49 -48
  218. package/dist/{vue-ui-world-D5dR5VdK.js → vue-ui-world-CaA-eKMJ.js} +19 -19
  219. package/dist/{vue-ui-xy-Cll76_i9.js → vue-ui-xy-Bm2SYaTT.js} +135 -134
  220. package/dist/{vue-ui-xy-canvas-DJVXAfpL.js → vue-ui-xy-canvas-2Vg9eVqi.js} +166 -165
  221. package/package.json +14 -11
  222. package/dist/index-smzxfsyV.js +0 -8729
  223. package/dist/types/vue-data-ui.d.cts +0 -9435
  224. package/dist/useNestedProp-DeKmJzsE.js +0 -13
@@ -1,12 +1,13 @@
1
- import { defineAsyncComponent as he, computed as h, ref as y, toRefs as Pe, watch as J, shallowRef as fe, onMounted as Re, onBeforeUnmount as ye, createElementBlock as c, openBlock as n, normalizeStyle as D, renderSlot as S, createCommentVNode as f, createBlock as pe, normalizeProps as ge, guardReactiveProps as me, createElementVNode as p, toDisplayString as T, unref as s, createVNode as Fe, Fragment as Q, renderList as ee, withCtx as Ee, createTextVNode as Oe, nextTick as Be } from "vue";
2
- import { u as Ge, c as je, t as Ue, b as Xe, C as be, a9 as ae, o as ke, f as xe, g as Ye, x as W, aa as qe, ab as Ze, X as Ke, s as P, V as _e, U as He, ac as we, k as te, i as le, ad as Je } from "./index-smzxfsyV.js";
3
- import { u as Le } from "./useNestedProp-DeKmJzsE.js";
4
- import { t as Qe, u as ea } from "./useResponsive-DfdjqQps.js";
5
- import { u as aa } from "./useChartAccessibility-9icAAmYg.js";
6
- import { u as ta, B as la } from "./BaseScanner-BgWxam9d.js";
7
- import { u as ua } from "./useTimeLabels-BGFjWgrv.js";
8
- import { _ as oa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["id"], va = ["stop-color"], da = ["stop-color"], ca = ["id"], ha = ["stop-color"], fa = ["stop-color"], ya = ["id"], pa = ["stop-color"], ga = ["stop-color"], ma = { key: 1 }, ba = ["d", "fill"], ka = ["d", "fill"], xa = ["d", "stroke", "stroke-width"], _a = ["d", "stroke", "stroke-width"], wa = ["x", "y", "width", "height", "fill", "rx"], La = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], $a = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Na = ["x", "y", "font-size", "font-weight", "fill"], Ma = ["x", "y", "height", "width", "onMouseenter", "onMouseleave", "onClick"], Ca = {
1
+ import { defineAsyncComponent as he, computed as h, ref as y, toRefs as Pe, watch as J, shallowRef as fe, onMounted as Re, onBeforeUnmount as ye, createElementBlock as c, openBlock as n, normalizeStyle as D, renderSlot as S, createCommentVNode as f, createBlock as pe, normalizeProps as ge, guardReactiveProps as me, createElementVNode as p, toDisplayString as W, unref as s, createVNode as Fe, Fragment as Q, renderList as ee, withCtx as Ee, createTextVNode as Oe, nextTick as Be } from "vue";
2
+ import { c as Ge, t as je, D as be, a3 as te, o as ke, f as xe, g as Ue, i as T, a4 as Xe, a5 as Ye, X as qe, s as P, W as _e, V as Ze, a6 as we, a as ae, d as le, a7 as Ke } from "./lib-p5pfHmOX.js";
3
+ import { u as He, a as Le } from "./useNestedProp-DF7e2h1z.js";
4
+ import { t as Je, u as Qe } from "./useResponsive-DfdjqQps.js";
5
+ import { u as et } from "./useChartAccessibility-9icAAmYg.js";
6
+ import { u as tt, B as at } from "./BaseScanner-BgWxam9d.js";
7
+ import { t as lt } from "./themes-D3cUNuKw.js";
8
+ import { u as ut } from "./useTimeLabels-BGFjWgrv.js";
9
+ import { _ as ot } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["id"], vt = ["stop-color"], dt = ["stop-color"], ct = ["id"], ht = ["stop-color"], ft = ["stop-color"], yt = ["id"], pt = ["stop-color"], gt = ["stop-color"], mt = { key: 1 }, bt = ["d", "fill"], kt = ["d", "fill"], xt = ["d", "stroke", "stroke-width"], _t = ["d", "stroke", "stroke-width"], wt = ["x", "y", "width", "height", "fill", "rx"], Lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], At = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], $t = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Nt = ["x", "y", "font-size", "font-weight", "fill"], Mt = ["x", "y", "height", "width", "onMouseenter", "onMouseleave", "onClick"], Ct = {
10
11
  __name: "vue-ui-sparkline",
11
12
  props: {
12
13
  config: {
@@ -40,11 +41,11 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
40
41
  },
41
42
  emits: ["hoverIndex", "selectDatapoint"],
42
43
  setup($, { emit: Ae }) {
43
- const $e = he(() => import("./PackageVersion-BzGzkGiC.js")), Ne = he(() => import("./SparkTooltip-DFRSPT3_.js")), { vue_ui_sparkline: Me } = Ge(), r = $, ue = h(() => Array.isArray(r.dataset) && r.dataset.length > 0), g = y(je()), R = y(null), oe = y(null), se = y(null), e = y(O());
44
- function Ce(a) {
45
- return Je(a).map((t) => ({ period: "-", value: t }));
44
+ const $e = he(() => import("./PackageVersion-B6W-zkH-.js")), Ne = he(() => import("./SparkTooltip-DOFGBHJ-.js")), { vue_ui_sparkline: Me } = He(), r = $, ue = h(() => Array.isArray(r.dataset) && r.dataset.length > 0), g = y(Ge()), R = y(null), oe = y(null), se = y(null), e = y(O());
45
+ function Ce(t) {
46
+ return Ke(t).map((a) => ({ period: "-", value: a }));
46
47
  }
47
- const { loading: F, FINAL_DATASET: N, manualLoading: E } = ta({
48
+ const { loading: F, FINAL_DATASET: N, manualLoading: E } = tt({
48
49
  ...Pe(r),
49
50
  FINAL_CONFIG: e,
50
51
  prepareConfig: O,
@@ -54,7 +55,7 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
54
55
  });
55
56
  },
56
57
  skeletonDataset: Ce(12),
57
- skeletonConfig: Ue({
58
+ skeletonConfig: je({
58
59
  defaultConfig: e.value,
59
60
  userConfig: {
60
61
  style: {
@@ -71,79 +72,79 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
71
72
  }
72
73
  }
73
74
  })
74
- }), { svgRef: ne } = aa({ config: e.value.style.title });
75
+ }), { svgRef: ne } = et({ config: e.value.style.title });
75
76
  function O() {
76
- const a = Le({
77
+ const t = Le({
77
78
  userConfig: r.config,
78
79
  defaultConfig: Me
79
80
  });
80
- let t = {};
81
- return a.theme ? t = {
81
+ let a = {};
82
+ return t.theme ? a = {
82
83
  ...Le({
83
- userConfig: Xe.vue_ui_sparkline[a.theme] || r.config,
84
- defaultConfig: a
84
+ userConfig: lt.vue_ui_sparkline[t.theme] || r.config,
85
+ defaultConfig: t
85
86
  })
86
- } : t = a, r.config && be(r.config, "style.scaleMin") ? t.style.scaleMin = r.config.style.scaleMin : t.style.scaleMin = null, r.config && be(r.config, "style.scaleMax") ? t.style.scaleMax = r.config.style.scaleMax : t.style.scaleMax = null, t;
87
+ } : a = t, r.config && be(r.config, "style.scaleMin") ? a.style.scaleMin = r.config.style.scaleMin : a.style.scaleMin = null, r.config && be(r.config, "style.scaleMax") ? a.style.scaleMax = r.config.style.scaleMax : a.style.scaleMax = null, a;
87
88
  }
88
- const x = h(() => ae({
89
+ const x = h(() => te({
89
90
  data: N.value,
90
91
  threshold: e.value.downsample.threshold
91
92
  }));
92
- J(() => r.config, (a) => {
93
+ J(() => r.config, (t) => {
93
94
  F.value || (e.value = O()), ie(), o.value.chartWidth = e.value.style.chartWidth;
94
- }, { deep: !0 }), J(() => r.dataset, (a) => {
95
- Array.isArray(a) && a.length > 0 && (E.value = !1), m.value = ae({
96
- data: N.value.map((t) => ({
97
- ...t,
98
- value: [void 0].includes(t.value) ? null : t.value
95
+ }, { deep: !0 }), J(() => r.dataset, (t) => {
96
+ Array.isArray(t) && t.length > 0 && (E.value = !1), m.value = te({
97
+ data: N.value.map((a) => ({
98
+ ...a,
99
+ value: [void 0].includes(a.value) ? null : a.value
99
100
  })),
100
101
  threshold: e.value.downsample.threshold
101
102
  });
102
103
  }, { deep: !0 });
103
104
  const m = y(Ie());
104
105
  function Ie() {
105
- return ae({
106
- data: N.value.map((a) => e.value.style.animation.show && N.value.length > 1 ? {
107
- ...a,
106
+ return te({
107
+ data: N.value.map((t) => e.value.style.animation.show && N.value.length > 1 ? {
108
+ ...t,
108
109
  value: null
109
110
  } : {
110
- ...a,
111
- value: [void 0].includes(a.value) ? null : a.value
111
+ ...t,
112
+ value: [void 0].includes(t.value) ? null : t.value
112
113
  }),
113
114
  threshold: e.value.downsample.threshold
114
115
  });
115
116
  }
116
117
  const b = fe(null), _ = fe(null), B = y(!1), M = y(0), G = y([]), j = y(""), U = h(() => {
117
- const t = (x.value || []).map((u) => `${u.period}::${Number.isFinite(u.value) ? u.value : 0}`).join("|"), l = e.value?.style?.animation || {};
118
- return `${t}#${!!l.show}#${l.animationFrames || 0}`;
118
+ const a = (x.value || []).map((u) => `${u.period}::${Number.isFinite(u.value) ? u.value : 0}`).join("|"), l = e.value?.style?.animation || {};
119
+ return `${a}#${!!l.show}#${l.animationFrames || 0}`;
119
120
  });
120
121
  function V() {
121
- M.value && (cancelAnimationFrame(M.value), M.value = 0), G.value.forEach((a) => clearTimeout(a)), G.value = [], B.value = !1;
122
+ M.value && (cancelAnimationFrame(M.value), M.value = 0), G.value.forEach((t) => clearTimeout(t)), G.value = [], B.value = !1;
122
123
  }
123
124
  function X() {
124
- const a = e.value?.style?.animation || {}, t = x.value || [], l = U.value;
125
- if (l && l === j.value && (B.value || m.value.length === t.length))
125
+ const t = e.value?.style?.animation || {}, a = x.value || [], l = U.value;
126
+ if (l && l === j.value && (B.value || m.value.length === a.length))
126
127
  return;
127
- if (V(), !a.show || F.value || t.length <= 1) {
128
- m.value = t, j.value = l;
128
+ if (V(), !t.show || F.value || a.length <= 1) {
129
+ m.value = a, j.value = l;
129
130
  return;
130
131
  }
131
132
  B.value = !0, j.value = l, m.value = [];
132
- const u = Math.max(1, Number(a.animationFrames) || 1), K = Math.max(1, Math.floor(u / t.length));
133
+ const u = Math.max(1, Number(t.animationFrames) || 1), K = Math.max(1, Math.floor(u / a.length));
133
134
  let H = 0;
134
135
  const ce = () => {
135
136
  if (l !== U.value) {
136
137
  V();
137
138
  return;
138
139
  }
139
- if (H < t.length) {
140
- m.value.push(t[H]);
141
- const We = setTimeout(() => {
140
+ if (H < a.length) {
141
+ m.value.push(a[H]);
142
+ const Te = setTimeout(() => {
142
143
  M.value = requestAnimationFrame(ce);
143
144
  }, K);
144
- G.value.push(We), H += 1;
145
+ G.value.push(Te), H += 1;
145
146
  } else
146
- m.value = t, V();
147
+ m.value = a, V();
147
148
  };
148
149
  M.value = requestAnimationFrame(ce);
149
150
  }
@@ -160,31 +161,31 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
160
161
  componentName: "VueUiSparkline",
161
162
  type: "dataset",
162
163
  debug: re.value
163
- }), E.value = !0) : r.dataset.forEach((a, t) => {
164
- Ye({
165
- datasetObject: a,
164
+ }), E.value = !0) : r.dataset.forEach((t, a) => {
165
+ Ue({
166
+ datasetObject: t,
166
167
  requiredAttributes: ["period", "value"]
167
168
  }).forEach((l) => {
168
169
  xe({
169
170
  componentName: "VueUiSparkline",
170
171
  type: "datasetSerieAttribute",
171
172
  property: l,
172
- index: t,
173
+ index: a,
173
174
  debug: re.value
174
175
  });
175
176
  });
176
177
  }), ke(r.dataset) || (E.value = e.value.loading), e.value.responsive) {
177
- const a = Qe(() => {
178
- const { width: t, height: l } = ea({
178
+ const t = Je(() => {
179
+ const { width: a, height: l } = Qe({
179
180
  chart: R.value,
180
181
  title: e.value.style.title.show && r.showInfo ? oe.value : null,
181
182
  source: se.value
182
183
  });
183
184
  requestAnimationFrame(() => {
184
- o.value.width = t, o.value.height = l, o.value.chartWidth = e.value.style.chartWidth / 500 * t, o.value.padding = r.forcedPadding / 500 * t;
185
+ o.value.width = a, o.value.height = l, o.value.chartWidth = e.value.style.chartWidth / 500 * a, o.value.padding = r.forcedPadding / 500 * a;
185
186
  });
186
187
  });
187
- b.value && (_.value && b.value.unobserve(_.value), b.value.disconnect()), b.value = new ResizeObserver(a), _.value = R.value.parentNode, b.value.observe(_.value);
188
+ b.value && (_.value && b.value.unobserve(_.value), b.value.disconnect()), b.value = new ResizeObserver(t), _.value = R.value.parentNode, b.value.observe(_.value);
188
189
  }
189
190
  }
190
191
  ye(() => {
@@ -196,63 +197,63 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
196
197
  chartWidth: e.value.style.chartWidth,
197
198
  padding: r.forcedPadding
198
199
  }), Y = Ae, i = h(() => {
199
- const { top: a, right: t, bottom: l, left: u } = e.value.style.padding;
200
+ const { top: t, right: a, bottom: l, left: u } = e.value.style.padding;
200
201
  return {
201
- top: a,
202
+ top: t,
202
203
  left: u,
203
- right: o.value.width - t,
204
+ right: o.value.width - a,
204
205
  bottom: o.value.height - l,
205
206
  start: r.showInfo && e.value.style.dataLabel.show && e.value.style.dataLabel.position === "left" ? o.value.width - o.value.chartWidth + u : o.value.padding + u,
206
- width: r.showInfo && e.value.style.dataLabel.show ? o.value.chartWidth - u - t : o.value.width - o.value.padding - u - t,
207
- height: o.value.height - a - l
207
+ width: r.showInfo && e.value.style.dataLabel.show ? o.value.chartWidth - u - a : o.value.width - o.value.padding - u - a,
208
+ height: o.value.height - t - l
208
209
  };
209
- }), q = h(() => [null, void 0].includes(e.value.style.scaleMin) ? Math.min(...m.value.map((a) => isNaN(a.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(a.value) ? 0 : a.value || 0)) : e.value.style.scaleMin), Se = h(() => [null, void 0].includes(e.value.style.scaleMax) ? Math.max(...m.value.map((a) => isNaN(a.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(a.value) ? 0 : a.value || 0)) : e.value.style.scaleMax), C = h(() => {
210
- const a = q.value >= 0 ? 0 : q.value;
211
- return Math.abs(a);
210
+ }), q = h(() => [null, void 0].includes(e.value.style.scaleMin) ? Math.min(...m.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), Se = h(() => [null, void 0].includes(e.value.style.scaleMax) ? Math.max(...m.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), C = h(() => {
211
+ const t = q.value >= 0 ? 0 : q.value;
212
+ return Math.abs(t);
212
213
  }), ve = h(() => Se.value + C.value), w = h(() => i.value.bottom - i.value.height * Z(C.value));
213
- function Z(a) {
214
- return isNaN(a / ve.value) ? 0 : a / ve.value;
214
+ function Z(t) {
215
+ return isNaN(t / ve.value) ? 0 : t / ve.value;
215
216
  }
216
- const L = h(() => x.value.length - 1 || 1), z = h(() => ua({
217
- values: x.value.map((a) => a.period),
217
+ const L = h(() => x.value.length - 1 || 1), z = h(() => ut({
218
+ values: x.value.map((t) => t.period),
218
219
  maxDatapoints: x.value.length,
219
220
  formatter: e.value.style.dataLabel.datetimeFormatter,
220
221
  start: 0,
221
222
  end: x.value.length
222
- })), d = h(() => m.value.map((a, t) => {
223
- const l = isNaN(a.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(a.value) ? 0 : a.value || 0, u = i.value.width / L.value;
223
+ })), d = h(() => m.value.map((t, a) => {
224
+ const l = isNaN(t.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t.value) ? 0 : t.value || 0, u = i.value.width / L.value;
224
225
  return {
225
226
  absoluteValue: l,
226
- period: z.value && z.value[t] && z.value[t].text ? z.value[t].text : a.period,
227
+ period: z.value && z.value[a] && z.value[a].text ? z.value[a].text : t.period,
227
228
  plotValue: l + C.value,
228
229
  toMax: Z(l + C.value),
229
- x: i.value.start + t * u,
230
+ x: i.value.start + a * u,
230
231
  y: i.value.bottom - i.value.height * Z(l + C.value),
231
- id: `plot_${g.value}_${t}`,
232
- color: I.value ? e.value.style.bar.color : e.value.style.area.useGradient ? W(e.value.style.line.color, 0.05 * (1 - t / L.value)) : e.value.style.line.color,
232
+ id: `plot_${g.value}_${a}`,
233
+ color: I.value ? e.value.style.bar.color : e.value.style.area.useGradient ? T(e.value.style.line.color, 0.05 * (1 - a / L.value)) : e.value.style.line.color,
233
234
  width: u
234
235
  };
235
236
  })), Ve = h(() => {
236
- const a = { x: d.value[0].x || 0, y: (o.value.height || 0) - 6 }, t = { x: d.value[d.value.length - 1].x || 0, y: (o.value.height || 0) - 6 }, l = [];
237
+ const t = { x: d.value[0].x || 0, y: (o.value.height || 0) - 6 }, a = { x: d.value[d.value.length - 1].x || 0, y: (o.value.height || 0) - 6 }, l = [];
237
238
  return d.value.forEach((u) => {
238
239
  l.push(`${u.x || 0},${u.y || 0} `);
239
- }), [a.x, a.y, ...l, t.x, t.y].toString();
240
+ }), [t.x, t.y, ...l, a.x, a.y].toString();
240
241
  }), v = y(void 0), A = y(void 0);
241
- function ze(a, t) {
242
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: t }), v.value = a, A.value || (A.value = a), Y("hoverIndex", { index: t });
242
+ function ze(t, a) {
243
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), v.value = t, A.value || (A.value = t), Y("hoverIndex", { index: a });
243
244
  }
244
- function De(a, t) {
245
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: t }), A.value = v.value, v.value = void 0, Y("hoverIndex", { index: void 0 });
245
+ function De(t, a) {
246
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a }), A.value = v.value, v.value = void 0, Y("hoverIndex", { index: void 0 });
246
247
  }
247
248
  const k = h(() => {
248
249
  if (ue.value) {
249
- const a = d.value.map((l) => l.absoluteValue), t = a.reduce((l, u) => l + u, 0);
250
+ const t = d.value.map((l) => l.absoluteValue), a = t.reduce((l, u) => l + u, 0);
250
251
  return {
251
252
  latest: d.value[d.value.length - 1] ? d.value[d.value.length - 1].absoluteValue : 0,
252
- sum: t,
253
- average: t / d.value.length,
254
- median: Ze(a),
255
- trend: qe(d.value.map(({ x: l, y: u, absoluteValue: K }) => ({
253
+ sum: a,
254
+ average: a / d.value.length,
255
+ median: Ye(t),
256
+ trend: Xe(d.value.map(({ x: l, y: u, absoluteValue: K }) => ({
256
257
  x: l,
257
258
  y: u,
258
259
  value: K
@@ -267,17 +268,17 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
267
268
  trend: null
268
269
  };
269
270
  }), de = h(() => ue.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 = h(() => e.value.type && e.value.type === "bar");
270
- function Te(a, t) {
271
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: a, seriesIndex: t }), Y("selectDatapoint", { datapoint: a, index: t });
271
+ function We(t, a) {
272
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a }), Y("selectDatapoint", { datapoint: t, index: a });
272
273
  }
273
- return (a, t) => (n(), c("div", {
274
+ return (t, a) => (n(), c("div", {
274
275
  ref_key: "sparklineChart",
275
276
  ref: R,
276
277
  class: "vue-ui-sparkline",
277
278
  id: g.value,
278
279
  style: D(`width:100%;font-family:${e.value.style.fontFamily};`)
279
280
  }, [
280
- S(a.$slots, "before", ge(me({
281
+ S(t.$slots, "before", ge(me({
281
282
  selected: v.value,
282
283
  latest: k.value.latest,
283
284
  sum: k.value.sum,
@@ -294,18 +295,18 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
294
295
  }, [
295
296
  p("span", {
296
297
  style: D(`padding:${e.value.style.title.textAlign === "left" ? "0 0 0 12px" : e.value.style.title.textAlign === "right" ? "0 12px 0 0" : "0"}`)
297
- }, T(v.value ? v.value.period : e.value.style.title.text), 5)
298
+ }, W(v.value ? v.value.period : e.value.style.title.text), 5)
298
299
  ], 4)) : f("", !0),
299
300
  (n(), c("svg", {
300
301
  ref_key: "svgRef",
301
302
  ref: ne,
302
- xmlns: s(Ke),
303
+ xmlns: s(qe),
303
304
  viewBox: `0 0 ${o.value.width} ${o.value.height}`,
304
305
  style: D(`background:${e.value.style.backgroundColor};overflow:visible`),
305
- onMouseleave: t[0] || (t[0] = (l) => A.value = void 0)
306
+ onMouseleave: a[0] || (a[0] = (l) => A.value = void 0)
306
307
  }, [
307
308
  Fe(s($e)),
308
- a.$slots["chart-background"] ? (n(), c("foreignObject", {
309
+ t.$slots["chart-background"] ? (n(), c("foreignObject", {
309
310
  key: 0,
310
311
  x: 0,
311
312
  y: 0,
@@ -315,8 +316,8 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
315
316
  pointerEvents: "none"
316
317
  }
317
318
  }, [
318
- S(a.$slots, "chart-background", {}, void 0, !0)
319
- ], 8, ra)) : f("", !0),
319
+ S(t.$slots, "chart-background", {}, void 0, !0)
320
+ ], 8, rt)) : f("", !0),
320
321
  p("defs", null, [
321
322
  p("linearGradient", {
322
323
  x1: "0%",
@@ -327,13 +328,13 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
327
328
  }, [
328
329
  p("stop", {
329
330
  offset: "0%",
330
- "stop-color": s(P)(s(W)(e.value.style.area.color, 0.05), e.value.style.area.opacity)
331
- }, null, 8, va),
331
+ "stop-color": s(P)(s(T)(e.value.style.area.color, 0.05), e.value.style.area.opacity)
332
+ }, null, 8, vt),
332
333
  p("stop", {
333
334
  offset: "100%",
334
335
  "stop-color": s(P)(e.value.style.area.color, e.value.style.area.opacity)
335
- }, null, 8, da)
336
- ], 8, ia),
336
+ }, null, 8, dt)
337
+ ], 8, it),
337
338
  p("linearGradient", {
338
339
  x2: "0%",
339
340
  y2: "100%",
@@ -342,12 +343,12 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
342
343
  p("stop", {
343
344
  offset: "0%",
344
345
  "stop-color": e.value.style.bar.color
345
- }, null, 8, ha),
346
+ }, null, 8, ht),
346
347
  p("stop", {
347
348
  offset: "100%",
348
- "stop-color": s(W)(e.value.style.bar.color, 0.05)
349
- }, null, 8, fa)
350
- ], 8, ca),
349
+ "stop-color": s(T)(e.value.style.bar.color, 0.05)
350
+ }, null, 8, ft)
351
+ ], 8, ct),
351
352
  p("linearGradient", {
352
353
  x2: "0%",
353
354
  y2: "100%",
@@ -355,24 +356,24 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
355
356
  }, [
356
357
  p("stop", {
357
358
  offset: "0%",
358
- "stop-color": s(W)(e.value.style.bar.color, 0.05)
359
- }, null, 8, pa),
359
+ "stop-color": s(T)(e.value.style.bar.color, 0.05)
360
+ }, null, 8, pt),
360
361
  p("stop", {
361
362
  offset: "100%",
362
363
  "stop-color": e.value.style.bar.color
363
- }, null, 8, ga)
364
- ], 8, ya)
364
+ }, null, 8, gt)
365
+ ], 8, yt)
365
366
  ]),
366
- e.value.style.area.show && !I.value && d.value[0] && d.value.length > 1 ? (n(), c("g", ma, [
367
+ e.value.style.area.show && !I.value && d.value[0] && d.value.length > 1 ? (n(), c("g", mt, [
367
368
  e.value.style.line.smooth ? (n(), c("path", {
368
369
  key: 0,
369
370
  d: `M ${d.value[0].x},${i.value.bottom} ${s(_e)(d.value)} L ${d.value.at(-1).x},${i.value.bottom} Z`,
370
371
  fill: e.value.style.area.useGradient ? `url(#sparkline_gradient_${g.value})` : s(P)(e.value.style.area.color, e.value.style.area.opacity)
371
- }, null, 8, ba)) : (n(), c("path", {
372
+ }, null, 8, bt)) : (n(), c("path", {
372
373
  key: 1,
373
374
  d: `M${Ve.value}Z`,
374
375
  fill: e.value.style.area.useGradient ? `url(#sparkline_gradient_${g.value})` : s(P)(e.value.style.area.color, e.value.style.area.opacity)
375
- }, null, 8, ka))
376
+ }, null, 8, kt))
376
377
  ])) : f("", !0),
377
378
  e.value.style.line.smooth && !I.value ? (n(), c("path", {
378
379
  key: 2,
@@ -381,15 +382,15 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
381
382
  fill: "none",
382
383
  "stroke-width": e.value.style.line.strokeWidth,
383
384
  "stroke-linecap": "round"
384
- }, null, 8, xa)) : f("", !0),
385
+ }, null, 8, xt)) : f("", !0),
385
386
  !e.value.style.line.smooth && !I.value ? (n(), c("path", {
386
387
  key: 3,
387
- d: `M ${s(He)(d.value) || "0,0"}`,
388
+ d: `M ${s(Ze)(d.value) || "0,0"}`,
388
389
  stroke: e.value.style.line.color,
389
390
  fill: "none",
390
391
  "stroke-width": e.value.style.line.strokeWidth,
391
392
  "stroke-linecap": "round"
392
- }, null, 8, _a)) : f("", !0),
393
+ }, null, 8, _t)) : f("", !0),
393
394
  (n(!0), c(Q, null, ee(d.value, (l, u) => (n(), c("g", null, [
394
395
  I.value ? (n(), c("rect", {
395
396
  key: 0,
@@ -399,7 +400,7 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
399
400
  height: isNaN(Math.abs(l.y - w.value)) ? 0 : Math.abs(l.y - w.value),
400
401
  fill: l.absoluteValue > 0 ? `url(#sparkline_bar_gradient_pos_${g.value})` : `url(#sparkline_bar_gradient_neg_${g.value})`,
401
402
  rx: e.value.style.bar.borderRadius
402
- }, null, 8, wa)) : f("", !0),
403
+ }, null, 8, wt)) : f("", !0),
403
404
  e.value.style.verticalIndicator.show && (v.value && l.id === v.value.id || $.selectedIndex === u) ? (n(), c("line", {
404
405
  key: 1,
405
406
  x1: l.x,
@@ -410,7 +411,7 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
410
411
  "stroke-width": e.value.style.verticalIndicator.strokeWidth,
411
412
  "stroke-linecap": "round",
412
413
  "stroke-dasharray": e.value.style.verticalIndicator.strokeDasharray || 0
413
- }, null, 8, La)) : f("", !0)
414
+ }, null, 8, Lt)) : f("", !0)
414
415
  ]))), 256)),
415
416
  q.value < 0 ? (n(), c("line", {
416
417
  key: 4,
@@ -422,7 +423,7 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
422
423
  "stroke-dasharray": e.value.style.zeroLine.strokeWidth * 2,
423
424
  "stroke-width": e.value.style.zeroLine.strokeWidth,
424
425
  "stroke-linecap": "round"
425
- }, null, 8, Aa)) : f("", !0),
426
+ }, null, 8, At)) : f("", !0),
426
427
  e.value.style.plot.show ? (n(!0), c(Q, { key: 5 }, ee(d.value, (l, u) => (n(), c("g", null, [
427
428
  v.value && l.id === v.value.id || $.selectedIndex === u || s(N).length === 1 ? (n(), c("circle", {
428
429
  key: 0,
@@ -432,7 +433,7 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
432
433
  fill: l.color,
433
434
  stroke: e.value.style.plot.stroke,
434
435
  "stroke-width": e.value.style.plot.strokeWidth
435
- }, null, 8, $a)) : f("", !0)
436
+ }, null, 8, $t)) : f("", !0)
436
437
  ]))), 256)) : f("", !0),
437
438
  $.showInfo && e.value.style.dataLabel.show ? (n(), c("text", {
438
439
  key: 6,
@@ -441,16 +442,16 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
441
442
  "font-size": e.value.style.dataLabel.fontSize,
442
443
  "font-weight": e.value.style.dataLabel.bold ? "bold" : "normal",
443
444
  fill: e.value.style.dataLabel.color
444
- }, T(v.value ? s(te)(
445
+ }, W(v.value ? s(ae)(
445
446
  e.value.style.dataLabel.formatter,
446
447
  v.value.absoluteValue,
447
448
  s(le)({ p: e.value.style.dataLabel.prefix, v: v.value.absoluteValue, s: e.value.style.dataLabel.suffix, r: e.value.style.dataLabel.roundingValue }),
448
449
  { datapoint: v.value }
449
- ) : s(te)(
450
+ ) : s(ae)(
450
451
  e.value.style.dataLabel.formatter,
451
452
  de.value,
452
453
  s(le)({ p: e.value.style.dataLabel.prefix, v: de.value, s: e.value.style.dataLabel.suffix, r: e.value.style.dataLabel.roundingValue })
453
- )), 9, Na)) : f("", !0),
454
+ )), 9, Nt)) : f("", !0),
454
455
  (n(!0), c(Q, null, ee(d.value, (l, u) => (n(), c("rect", {
455
456
  x: l.x - (i.value.width / (L.value + 1) > o.value.padding ? o.value.padding : i.value.width / (L.value + 1)) / 2,
456
457
  y: i.value.top - 6,
@@ -459,10 +460,10 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
459
460
  fill: "transparent",
460
461
  onMouseenter: () => ze(l, u),
461
462
  onMouseleave: () => De(l, u),
462
- onClick: () => Te(l, u)
463
- }, null, 40, Ma))), 256)),
464
- S(a.$slots, "svg", { svg: o.value }, void 0, !0)
465
- ], 44, na)),
463
+ onClick: () => We(l, u)
464
+ }, null, 40, Mt))), 256)),
465
+ S(t.$slots, "svg", { svg: o.value }, void 0, !0)
466
+ ], 44, nt)),
466
467
  v.value && e.value.style.tooltip.show ? (n(), pe(s(Ne), {
467
468
  key: 1,
468
469
  x: v.value.x,
@@ -480,8 +481,8 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
480
481
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity
481
482
  }, {
482
483
  default: Ee(() => [
483
- S(a.$slots, "tooltip", ge(me({ ...v.value })), () => [
484
- Oe(T(v.value.period) + ": " + T(s(te)(
484
+ S(t.$slots, "tooltip", ge(me({ ...v.value })), () => [
485
+ Oe(W(v.value.period) + ": " + W(s(ae)(
485
486
  e.value.style.dataLabel.formatter,
486
487
  v.value.absoluteValue,
487
488
  s(le)({
@@ -496,18 +497,18 @@ const sa = ["id"], na = ["xmlns", "viewBox"], ra = ["width", "height"], ia = ["i
496
497
  ]),
497
498
  _: 3
498
499
  }, 8, ["x", "y", "prevX", "prevY", "offsetY", "svgRef", "background", "color", "fontSize", "borderWidth", "borderColor", "borderRadius", "backgroundOpacity"])) : f("", !0),
499
- a.$slots.source ? (n(), c("div", {
500
+ t.$slots.source ? (n(), c("div", {
500
501
  key: 2,
501
502
  ref_key: "source",
502
503
  ref: se,
503
504
  dir: "auto"
504
505
  }, [
505
- S(a.$slots, "source", {}, void 0, !0)
506
+ S(t.$slots, "source", {}, void 0, !0)
506
507
  ], 512)) : f("", !0),
507
- s(F) ? (n(), pe(la, { key: 3 })) : f("", !0)
508
- ], 12, sa));
508
+ s(F) ? (n(), pe(at, { key: 3 })) : f("", !0)
509
+ ], 12, st));
509
510
  }
510
- }, Ra = /* @__PURE__ */ oa(Ca, [["__scopeId", "data-v-9bb1ae10"]]);
511
+ }, Ft = /* @__PURE__ */ ot(Ct, [["__scopeId", "data-v-9bb1ae10"]]);
511
512
  export {
512
- Ra as default
513
+ Ft as default
513
514
  };