vue-data-ui 3.1.17 → 3.1.19-next.0

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 (229) hide show
  1. package/dist/{Arrow-DFX_NfRh.js → Arrow-cyyFTTnm.js} +7 -7
  2. package/dist/{BaseDraggableDialog-CrCjMg89.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
  3. package/dist/{BaseIcon-7s-tCFcQ.js → BaseIcon-D2f9w5Z5.js} +1 -1
  4. package/dist/{ColorPicker-BoLH_m_Z.js → ColorPicker-gaAecgEC.js} +6 -6
  5. package/dist/{DataTable-Dw6dxJk3.js → DataTable-xISHA7Pu.js} +2 -2
  6. package/dist/{Legend-CjdnJGHq.js → Legend-_Rv594VS.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-tX2IXHuz.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
  8. package/dist/{PackageVersion-D1HToLlZ.js → PackageVersion-DRpg18lg.js} +3 -3
  9. package/dist/{PenAndPaper-BKnXOYre.js → PenAndPaper-CtDMyIvW.js} +3 -3
  10. package/dist/{Shape-6PexQroB.js → Shape-BDy56-wS.js} +1 -1
  11. package/dist/{Slicer-BJkhMBk4.js → Slicer-BgpOhmb6.js} +31 -31
  12. package/dist/{SparkTooltip-BtO1j0i1.js → SparkTooltip-DOFGBHJ-.js} +1 -1
  13. package/dist/{Title-BVMfF0uu.js → Title-pI68ZJsq.js} +1 -1
  14. package/dist/{Tooltip-DBvmoYXU.js → Tooltip-Clf2K3CF.js} +1 -1
  15. package/dist/{UserOptions-CKzW9w0Q.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-D0wlWRL9.js → dom-to-png-CSg_eTqL.js} +1 -1
  82. package/dist/{img-CeCjiMpr.js → img-CH7J0fYg.js} +1 -1
  83. package/dist/lib-p5pfHmOX.js +1882 -0
  84. package/dist/{pdf-D5bgIg6W.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/universal.d.ts +1 -0
  89. package/dist/types/vue-data-ui.d.ts +71 -21
  90. package/dist/types/vue-ui-3d-bar.d.ts +18 -0
  91. package/dist/types/vue-ui-accordion.d.ts +12 -0
  92. package/dist/types/vue-ui-age-pyramid.d.ts +21 -0
  93. package/dist/types/vue-ui-bullet.d.ts +16 -0
  94. package/dist/types/vue-ui-candlestick.d.ts +16 -0
  95. package/dist/types/vue-ui-carousel-table.d.ts +14 -0
  96. package/dist/types/vue-ui-chestnut.d.ts +17 -0
  97. package/dist/types/vue-ui-chord.d.ts +19 -0
  98. package/dist/types/vue-ui-circle-pack.d.ts +17 -0
  99. package/dist/types/vue-ui-cursor.d.ts +7 -0
  100. package/dist/types/vue-ui-dashboard.d.ts +14 -0
  101. package/dist/types/vue-ui-digits.d.ts +10 -0
  102. package/dist/types/vue-ui-donut-evolution.d.ts +17 -0
  103. package/dist/types/vue-ui-donut.d.ts +18 -0
  104. package/dist/types/vue-ui-dumbbell.d.ts +18 -0
  105. package/dist/types/vue-ui-flow.d.ts +18 -0
  106. package/dist/types/vue-ui-funnel.d.ts +15 -0
  107. package/dist/types/vue-ui-galaxy.d.ts +18 -0
  108. package/dist/types/vue-ui-gauge.d.ts +16 -0
  109. package/dist/types/vue-ui-gizmo.d.ts +14 -0
  110. package/dist/types/vue-ui-heatmap.d.ts +17 -0
  111. package/dist/types/vue-ui-history-plot.d.ts +19 -0
  112. package/dist/types/vue-ui-horizontal-bar.d.ts +19 -0
  113. package/dist/types/vue-ui-icon.d.ts +16 -0
  114. package/dist/types/vue-ui-kpi.d.ts +13 -0
  115. package/dist/types/vue-ui-mini-loader.d.ts +13 -0
  116. package/dist/types/vue-ui-molecule.d.ts +17 -0
  117. package/dist/types/vue-ui-mood-radar.d.ts +17 -0
  118. package/dist/types/vue-ui-nested-donuts.d.ts +18 -0
  119. package/dist/types/vue-ui-onion.d.ts +18 -0
  120. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +20 -0
  121. package/dist/types/vue-ui-pattern.d.ts +17 -0
  122. package/dist/types/vue-ui-quadrant.d.ts +20 -0
  123. package/dist/types/vue-ui-quick-chart.d.ts +16 -0
  124. package/dist/types/vue-ui-radar.d.ts +22 -0
  125. package/dist/types/vue-ui-rating.d.ts +15 -0
  126. package/dist/types/vue-ui-relation-circle.d.ts +17 -0
  127. package/dist/types/vue-ui-ridgeline.d.ts +20 -0
  128. package/dist/types/vue-ui-rings.d.ts +17 -0
  129. package/dist/types/vue-ui-scatter.d.ts +19 -0
  130. package/dist/types/vue-ui-skeleton.d.ts +12 -0
  131. package/dist/types/vue-ui-smiley.d.ts +14 -0
  132. package/dist/types/vue-ui-spark-trend.d.ts +13 -0
  133. package/dist/types/vue-ui-sparkbar.d.ts +15 -0
  134. package/dist/types/vue-ui-sparkgauge.d.ts +14 -0
  135. package/dist/types/vue-ui-sparkhistogram.d.ts +15 -0
  136. package/dist/types/vue-ui-sparkline.d.ts +15 -0
  137. package/dist/types/vue-ui-sparkstackbar.d.ts +16 -0
  138. package/dist/types/vue-ui-stackbar.d.ts +18 -0
  139. package/dist/types/vue-ui-strip-plot.d.ts +19 -0
  140. package/dist/types/vue-ui-table-heatmap.d.ts +14 -0
  141. package/dist/types/vue-ui-table-sparkline.d.ts +14 -0
  142. package/dist/types/vue-ui-table.d.ts +17 -0
  143. package/dist/types/vue-ui-thermometer.d.ts +15 -0
  144. package/dist/types/vue-ui-timer.d.ts +12 -0
  145. package/dist/types/vue-ui-tiremarks.d.ts +15 -0
  146. package/dist/types/vue-ui-treemap.d.ts +18 -0
  147. package/dist/types/vue-ui-vertical-bar.d.ts +19 -0
  148. package/dist/types/vue-ui-waffle.d.ts +18 -0
  149. package/dist/types/vue-ui-wheel.d.ts +15 -0
  150. package/dist/types/vue-ui-word-cloud.d.ts +17 -0
  151. package/dist/types/vue-ui-world.d.ts +17 -0
  152. package/dist/types/vue-ui-xy-canvas.d.ts +15 -0
  153. package/dist/types/vue-ui-xy.d.ts +24 -0
  154. package/dist/universal-registry-CL8g2COA.js +70 -0
  155. package/dist/universal.js +5 -0
  156. package/dist/{useAutoSizeLabelsInsideViewbox-BxqMb3sU.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
  157. package/dist/useNestedProp-DF7e2h1z.js +6645 -0
  158. package/dist/{usePrinter-DGI4Mlad.js → usePrinter-Yeu5jOfm.js} +2 -2
  159. package/dist/vue-data-ui-h5C8hpE8.js +317 -0
  160. package/dist/vue-data-ui.js +243 -85
  161. package/dist/{vue-ui-3d-bar-8b3VZcUI.js → vue-ui-3d-bar-BZDLbeym.js} +103 -102
  162. package/dist/{vue-ui-accordion-BJG-ogQj.js → vue-ui-accordion-D-L73-T2.js} +4 -4
  163. package/dist/{vue-ui-age-pyramid-Cr_dhyTO.js → vue-ui-age-pyramid-C1NMeWTB.js} +28 -27
  164. package/dist/{vue-ui-annotator-ttaqcMTz.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
  165. package/dist/{vue-ui-bullet-DXvTj07g.js → vue-ui-bullet-G_Y2Ryof.js} +28 -27
  166. package/dist/{vue-ui-candlestick-B5NqFTXr.js → vue-ui-candlestick-9sHzdqr3.js} +32 -31
  167. package/dist/{vue-ui-carousel-table-B0bpCRFh.js → vue-ui-carousel-table-CnGSgjPK.js} +25 -25
  168. package/dist/{vue-ui-chestnut-Cby7Wcbu.js → vue-ui-chestnut-C_0Y77a9.js} +41 -40
  169. package/dist/{vue-ui-chord-Cxg8nwzZ.js → vue-ui-chord-DqGoensA.js} +61 -60
  170. package/dist/{vue-ui-circle-pack-Cc5e6dE3.js → vue-ui-circle-pack-5L50If0h.js} +75 -74
  171. package/dist/{vue-ui-cursor-D6MvR7jD.js → vue-ui-cursor-0muOlHSh.js} +3 -3
  172. package/dist/{vue-ui-dashboard-CaUM9n5b.js → vue-ui-dashboard-2FyL5ac1.js} +68 -68
  173. package/dist/{vue-ui-digits-DsoHRv9p.js → vue-ui-digits-DOUNtmB0.js} +3 -3
  174. package/dist/{vue-ui-donut-Dxsq1gpz.js → vue-ui-donut-CWgiy7rq.js} +39 -38
  175. package/dist/{vue-ui-donut-evolution-CFu9WNVV.js → vue-ui-donut-evolution-DxH6i5aO.js} +81 -80
  176. package/dist/{vue-ui-dumbbell-Cgb7ijQS.js → vue-ui-dumbbell-D7nhPGxL.js} +97 -96
  177. package/dist/{vue-ui-flow-Ucb9PdWP.js → vue-ui-flow-C8iSww9L.js} +127 -126
  178. package/dist/{vue-ui-funnel-CV29tksj.js → vue-ui-funnel-D3GZcM5e.js} +39 -38
  179. package/dist/{vue-ui-galaxy-CVJb9_hA.js → vue-ui-galaxy-CUHEJHiw.js} +53 -52
  180. package/dist/{vue-ui-gauge-ofpIH29X.js → vue-ui-gauge-MM8rPNWR.js} +149 -148
  181. package/dist/{vue-ui-gizmo-Ci9kN9VQ.js → vue-ui-gizmo-CQ7XyocO.js} +6 -6
  182. package/dist/{vue-ui-heatmap-BK_jorrw.js → vue-ui-heatmap-BT5orcuT.js} +98 -97
  183. package/dist/{vue-ui-history-plot-Ce8BB4Tn.js → vue-ui-history-plot-BCfEt867.js} +105 -104
  184. package/dist/{vue-ui-kpi-DAHT9q6j.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
  185. package/dist/{vue-ui-mini-loader-CuilTrcI.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
  186. package/dist/{vue-ui-molecule-C6suewK-.js → vue-ui-molecule-DekqFbQ4.js} +54 -53
  187. package/dist/{vue-ui-mood-radar-DPvGhgPI.js → vue-ui-mood-radar-CAC70QPW.js} +30 -29
  188. package/dist/{vue-ui-nested-donuts-BvPWp9Du.js → vue-ui-nested-donuts-BWj33o71.js} +69 -68
  189. package/dist/{vue-ui-onion-BZ0tfRV_.js → vue-ui-onion-Dq_XSxqp.js} +33 -32
  190. package/dist/{vue-ui-parallel-coordinate-plot-DqFj8hbo.js → vue-ui-parallel-coordinate-plot-V6jytnl0.js} +61 -60
  191. package/dist/{vue-ui-pattern-DsYgSZWn.js → vue-ui-pattern-D5pNvoQp.js} +1 -1
  192. package/dist/{vue-ui-quadrant-Cg5e73ny.js → vue-ui-quadrant-CmXgMy7I.js} +35 -34
  193. package/dist/{vue-ui-quick-chart-sABlk5nb.js → vue-ui-quick-chart-D2JQNfWU.js} +30 -29
  194. package/dist/{vue-ui-radar-DYcoGzSu.js → vue-ui-radar-BmmwGJaI.js} +90 -89
  195. package/dist/{vue-ui-rating-1eguB-TH.js → vue-ui-rating-CjoKP6-5.js} +9 -9
  196. package/dist/{vue-ui-relation-circle-BeWuQDkk.js → vue-ui-relation-circle-CcGD2bEJ.js} +44 -43
  197. package/dist/{vue-ui-ridgeline-CG7FefqU.js → vue-ui-ridgeline-DIOGXJ9v.js} +82 -81
  198. package/dist/{vue-ui-rings-2eedFGuC.js → vue-ui-rings-DS-YbQVr.js} +74 -73
  199. package/dist/{vue-ui-scatter-CNtgNP5j.js → vue-ui-scatter-D8kUADP7.js} +121 -120
  200. package/dist/{vue-ui-skeleton-fqG3bKSz.js → vue-ui-skeleton-FtA6-6zz.js} +5 -5
  201. package/dist/{vue-ui-smiley-D4bvSF9S.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
  202. package/dist/vue-ui-spark-trend-qt8UvEPc.js +337 -0
  203. package/dist/{vue-ui-sparkbar-D1FXZyQE.js → vue-ui-sparkbar-DgHvA8ra.js} +86 -85
  204. package/dist/{vue-ui-sparkgauge-CHbbxg13.js → vue-ui-sparkgauge-BpMUqIL6.js} +32 -31
  205. package/dist/{vue-ui-sparkhistogram-BxYes64D.js → vue-ui-sparkhistogram-IhGjmoUF.js} +22 -21
  206. package/dist/{vue-ui-sparkline-CS3F5TFN.js → vue-ui-sparkline-BSGiRpQ9.js} +105 -104
  207. package/dist/{vue-ui-sparkstackbar-CUSBwkUS.js → vue-ui-sparkstackbar-ZkUUbYr5.js} +28 -27
  208. package/dist/{vue-ui-stackbar-CDihyp-i.js → vue-ui-stackbar-DRKIeZ1O.js} +77 -76
  209. package/dist/{vue-ui-strip-plot-D6MFuKnN.js → vue-ui-strip-plot-dMjWaIcs.js} +52 -51
  210. package/dist/{vue-ui-table-COT59wVb.js → vue-ui-table-DKHtmqLd.js} +9 -8
  211. package/dist/{vue-ui-table-heatmap--e8yw5yS.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
  212. package/dist/{vue-ui-table-sparkline-DnSLwUNN.js → vue-ui-table-sparkline-mMpPAUon.js} +20 -19
  213. package/dist/{vue-ui-thermometer-ByiRARW0.js → vue-ui-thermometer-xpHH3FWG.js} +66 -65
  214. package/dist/{vue-ui-timer-DOQVdVN2.js → vue-ui-timer-C4LZMTeg.js} +31 -31
  215. package/dist/{vue-ui-tiremarks-BFXeJQNZ.js → vue-ui-tiremarks-KQmIXYf2.js} +30 -29
  216. package/dist/{vue-ui-treemap-s_O9rQUT.js → vue-ui-treemap-a_Ub2bgB.js} +32 -31
  217. package/dist/{vue-ui-vertical-bar-Bn-m5GKU.js → vue-ui-vertical-bar-MWKYuUMN.js} +54 -53
  218. package/dist/{vue-ui-waffle-DmxaWHSw.js → vue-ui-waffle-CP6jUrto.js} +76 -75
  219. package/dist/{vue-ui-wheel-zJ5U-h_D.js → vue-ui-wheel-B59kWUZd.js} +85 -84
  220. package/dist/{vue-ui-word-cloud-BEnkOZdv.js → vue-ui-word-cloud-DZnuhGEw.js} +49 -48
  221. package/dist/{vue-ui-world-CkqoTL4V.js → vue-ui-world-B6S7X6sr.js} +19 -19
  222. package/dist/{vue-ui-xy-Uqdl2nk-.js → vue-ui-xy-BjzutuG2.js} +496 -505
  223. package/dist/{vue-ui-xy-canvas-cIU8Y1sD.js → vue-ui-xy-canvas-CSSVKhex.js} +166 -165
  224. package/package.json +19 -11
  225. package/dist/index-Lg17rmB1.js +0 -8729
  226. package/dist/types/vue-data-ui.d.cts +0 -9435
  227. package/dist/useNestedProp-DpwLJMsW.js +0 -13
  228. package/dist/vue-data-ui-lki09wwK.js +0 -325
  229. package/dist/vue-ui-spark-trend-GML5JJxY.js +0 -315
@@ -1,11 +1,12 @@
1
1
  import { useCssVars as pe, computed as k, defineAsyncComponent as me, ref as y, toRefs as be, onMounted as U, watch as X, nextTick as j, createElementBlock as s, openBlock as a, normalizeStyle as S, createCommentVNode as c, createBlock as G, createElementVNode as g, createTextVNode as _e, toDisplayString as p, unref as n, createVNode as xe, renderSlot as q, Fragment as d, renderList as h, normalizeClass as Y } from "vue";
2
- import { u as ke, c as Ce, t as Ae, b as we, o as $e, f as P, g as Le, s as m, k as J, i as K, X as ze, x as D } from "./index-Lg17rmB1.js";
3
- import { t as Se, u as Me } from "./useResponsive-DfdjqQps.js";
4
- import { u as Fe, B as Ie } from "./BaseScanner-BgWxam9d.js";
5
- import { u as Te } from "./useFitSvgText-2crs6Fv5.js";
6
- import { u as Q } from "./useNestedProp-DpwLJMsW.js";
7
- import { u as Ee } from "./useChartAccessibility-9icAAmYg.js";
8
- import { _ as Ne } from "./Shape-6PexQroB.js";
2
+ import { c as ke, t as Ce, o as Ae, f as P, g as we, s as m, a as J, d as K, X as $e, i as D } from "./lib-p5pfHmOX.js";
3
+ import { t as Le, u as ze } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Se, a as Q } from "./useNestedProp-DF7e2h1z.js";
5
+ import { u as Me, B as Fe } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as Ie } from "./useFitSvgText-2crs6Fv5.js";
7
+ import { u as Te } from "./useChartAccessibility-9icAAmYg.js";
8
+ import { _ as Ee } from "./Shape-BDy56-wS.js";
9
+ import { t as Ne } from "./themes-D3cUNuKw.js";
9
10
  import { _ as De } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
11
  const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width", "height"], Re = ["id"], Be = ["stop-color"], Ue = ["stop-color"], Xe = ["id"], je = ["stop-color"], Ge = ["stop-color"], qe = ["id"], Ye = ["stop-color"], Pe = ["stop-color"], Je = ["height", "width", "fill", "x", "stroke", "stroke-width", "rx", "stroke-dasharray"], Ke = { key: 1 }, Qe = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Ze = { key: 2 }, et = ["x", "y", "font-size", "font-weight", "fill"], tt = ["x", "y", "font-size", "fill"], lt = ["x", "y", "font-size", "fill"], at = ["height", "width", "x", "onMouseover", "onMouseleave", "onClick"], st = {
11
12
  __name: "vue-ui-sparkhistogram",
@@ -28,7 +29,7 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
28
29
  pe((l) => ({
29
30
  c8e2d1ee: ve.value
30
31
  }));
31
- const te = me(() => import("./PackageVersion-D1HToLlZ.js")), { vue_ui_sparkhistogram: le } = ke(), b = Z, _ = y(Ce()), W = y(null), V = y(null), M = y(null), C = y(null), w = y(null), e = y(T()), { loading: H, FINAL_DATASET: A } = Fe({
32
+ const te = me(() => import("./PackageVersion-DRpg18lg.js")), { vue_ui_sparkhistogram: le } = Se(), b = Z, _ = y(ke()), W = y(null), V = y(null), M = y(null), C = y(null), w = y(null), e = y(T()), { loading: H, FINAL_DATASET: A } = Me({
32
33
  ...be(b),
33
34
  FINAL_CONFIG: e,
34
35
  prepareConfig: T,
@@ -47,7 +48,7 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
47
48
  { value: 2, intensity: 0.3, color: "#CACACA" },
48
49
  { value: 1, intensity: 0.2, color: "#CACACA" }
49
50
  ],
50
- skeletonConfig: Ae({
51
+ skeletonConfig: Ce({
51
52
  defaultConfig: e.value,
52
53
  userConfig: {
53
54
  style: {
@@ -56,7 +57,7 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
56
57
  }
57
58
  }
58
59
  })
59
- }), F = y(e.value.style.layout.width), I = y(e.value.style.layout.height), { svgRef: O } = Ee({ config: e.value.style.title });
60
+ }), F = y(e.value.style.layout.width), I = y(e.value.style.layout.height), { svgRef: O } = Te({ config: e.value.style.title });
60
61
  function T() {
61
62
  const l = Q({
62
63
  userConfig: b.config,
@@ -64,7 +65,7 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
64
65
  });
65
66
  return l.theme ? {
66
67
  ...Q({
67
- userConfig: we.vue_ui_sparkhistogram[l.theme] || b.config,
68
+ userConfig: Ne.vue_ui_sparkhistogram[l.theme] || b.config,
68
69
  defaultConfig: l
69
70
  })
70
71
  } : l;
@@ -74,12 +75,12 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
74
75
  });
75
76
  const R = k(() => !!e.value.debug);
76
77
  function B() {
77
- if ($e(b.dataset) ? P({
78
+ if (Ae(b.dataset) ? P({
78
79
  componentName: "VueUiSparkHistogram",
79
80
  type: "dataset",
80
81
  debug: R.value
81
82
  }) : b.dataset.forEach((l, o) => {
82
- Le({
83
+ we({
83
84
  datasetObject: l,
84
85
  requiredAttributes: ["value"]
85
86
  }).forEach((t) => {
@@ -92,8 +93,8 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
92
93
  });
93
94
  });
94
95
  }), e.value.responsive) {
95
- const l = Se(() => {
96
- const { width: o, height: t } = Me({
96
+ const l = Le(() => {
97
+ const { width: o, height: t } = ze({
97
98
  chart: M.value,
98
99
  title: e.value.style.title.text ? V.value : null,
99
100
  source: W.value
@@ -166,7 +167,7 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
166
167
  function re(l, o) {
167
168
  r.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: o });
168
169
  }
169
- const ve = k(() => `${e.value.style.animation.speedMs}ms`), ce = k(() => v.value.drawingWidth / A.value.length * 0.9), { fitText: x } = Te({
170
+ const ve = k(() => `${e.value.style.animation.speedMs}ms`), ce = k(() => v.value.drawingWidth / A.value.length * 0.9), { fitText: x } = Ie({
170
171
  svgRef: O,
171
172
  unitWidth: ce
172
173
  });
@@ -212,7 +213,7 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
212
213
  (a(), s("svg", {
213
214
  ref_key: "svgRef",
214
215
  ref: O,
215
- xmlns: n(ze),
216
+ xmlns: n($e),
216
217
  viewBox: `0 0 ${v.value.width} ${v.value.height}`,
217
218
  style: { overflow: "visible" }
218
219
  }, [
@@ -309,7 +310,7 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
309
310
  class: Y({ "vue-ui-sparkhistogram-shape": e.value.style.animation.show })
310
311
  }, null, 10, Qe))), 256))
311
312
  ])) : (a(), s("g", Ze, [
312
- (a(!0), s(d, null, h(u.value, (t, i) => (a(), G(Ne, {
313
+ (a(!0), s(d, null, h(u.value, (t, i) => (a(), G(Ee, {
313
314
  plot: { x: t.x + t.width / 2, y: t.y + t.height / 2 },
314
315
  color: e.value.style.bars.colors.gradient.show ? t.gradient : t.color,
315
316
  shape: e.value.style.bars.shape,
@@ -371,10 +372,10 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
371
372
  }, [
372
373
  q(l.$slots, "source", {}, void 0, !0)
373
374
  ], 512)) : c("", !0),
374
- n(H) ? (a(), G(Ie, { key: 2 })) : c("", !0)
375
+ n(H) ? (a(), G(Fe, { key: 2 })) : c("", !0)
375
376
  ], 36));
376
377
  }
377
- }, ht = /* @__PURE__ */ De(st, [["__scopeId", "data-v-f8e879db"]]);
378
+ }, ft = /* @__PURE__ */ De(st, [["__scopeId", "data-v-f8e879db"]]);
378
379
  export {
379
- ht as default
380
+ ft as default
380
381
  };
@@ -1,9 +1,10 @@
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 s, normalizeStyle as D, renderSlot as I, createCommentVNode as f, createBlock as pe, normalizeProps as ge, guardReactiveProps as me, createElementVNode as p, toDisplayString as T, unref as n, 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 te, 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 ae, i as le, ad as Je } from "./index-Lg17rmB1.js";
3
- import { u as Le } from "./useNestedProp-DpwLJMsW.js";
4
- import { t as Qe, u as et } from "./useResponsive-DfdjqQps.js";
5
- import { u as tt } from "./useChartAccessibility-9icAAmYg.js";
6
- import { u as at, B as lt } from "./BaseScanner-BgWxam9d.js";
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";
7
8
  import { u as ut } from "./useTimeLabels-BGFjWgrv.js";
8
9
  import { _ as ot } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
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 = {
@@ -39,12 +40,12 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
39
40
  }
40
41
  },
41
42
  emits: ["hoverIndex", "selectDatapoint"],
42
- setup(x, { emit: Ae }) {
43
- const $e = he(() => import("./PackageVersion-D1HToLlZ.js")), Ne = he(() => import("./SparkTooltip-BtO1j0i1.js")), { vue_ui_sparkline: Me } = Ge(), r = x, 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());
43
+ setup($, { emit: Ae }) {
44
+ const $e = he(() => import("./PackageVersion-DRpg18lg.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());
44
45
  function Ce(t) {
45
- return Je(t).map((a) => ({ period: "-", value: a }));
46
+ return Ke(t).map((a) => ({ period: "-", value: a }));
46
47
  }
47
- const { loading: F, FINAL_DATASET: S, manualLoading: E } = at({
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 st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["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,7 +72,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
71
72
  }
72
73
  }
73
74
  })
74
- }), { svgRef: ne } = tt({ config: e.value.style.title });
75
+ }), { svgRef: ne } = et({ config: e.value.style.title });
75
76
  function O() {
76
77
  const t = Le({
77
78
  userConfig: r.config,
@@ -80,20 +81,20 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
80
81
  let a = {};
81
82
  return t.theme ? a = {
82
83
  ...Le({
83
- userConfig: Xe.vue_ui_sparkline[t.theme] || r.config,
84
+ userConfig: lt.vue_ui_sparkline[t.theme] || r.config,
84
85
  defaultConfig: t
85
86
  })
86
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 _ = h(() => te({
89
- data: S.value,
89
+ const x = h(() => te({
90
+ data: N.value,
90
91
  threshold: e.value.downsample.threshold
91
92
  }));
92
93
  J(() => r.config, (t) => {
93
94
  F.value || (e.value = O()), ie(), o.value.chartWidth = e.value.style.chartWidth;
94
95
  }, { deep: !0 }), J(() => r.dataset, (t) => {
95
96
  Array.isArray(t) && t.length > 0 && (E.value = !1), m.value = te({
96
- data: S.value.map((a) => ({
97
+ data: N.value.map((a) => ({
97
98
  ...a,
98
99
  value: [void 0].includes(a.value) ? null : a.value
99
100
  })),
@@ -103,7 +104,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
103
104
  const m = y(Ie());
104
105
  function Ie() {
105
106
  return te({
106
- data: S.value.map((t) => e.value.style.animation.show && S.value.length > 1 ? {
107
+ data: N.value.map((t) => e.value.style.animation.show && N.value.length > 1 ? {
107
108
  ...t,
108
109
  value: null
109
110
  } : {
@@ -113,15 +114,15 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
113
114
  threshold: e.value.downsample.threshold
114
115
  });
115
116
  }
116
- const b = fe(null), w = fe(null), B = y(!1), N = y(0), G = y([]), j = y(""), U = h(() => {
117
- const a = (_.value || []).map((u) => `${u.period}::${Number.isFinite(u.value) ? u.value : 0}`).join("|"), l = e.value?.style?.animation || {};
117
+ const b = fe(null), _ = fe(null), B = y(!1), M = y(0), G = y([]), j = y(""), U = h(() => {
118
+ const a = (x.value || []).map((u) => `${u.period}::${Number.isFinite(u.value) ? u.value : 0}`).join("|"), l = e.value?.style?.animation || {};
118
119
  return `${a}#${!!l.show}#${l.animationFrames || 0}`;
119
120
  });
120
121
  function V() {
121
- N.value && (cancelAnimationFrame(N.value), N.value = 0), G.value.forEach((t) => clearTimeout(t)), 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 t = e.value?.style?.animation || {}, a = _.value || [], l = U.value;
125
+ const t = e.value?.style?.animation || {}, a = x.value || [], l = U.value;
125
126
  if (l && l === j.value && (B.value || m.value.length === a.length))
126
127
  return;
127
128
  if (V(), !t.show || F.value || a.length <= 1) {
@@ -138,14 +139,14 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
138
139
  }
139
140
  if (H < a.length) {
140
141
  m.value.push(a[H]);
141
- const We = setTimeout(() => {
142
- N.value = requestAnimationFrame(ce);
142
+ const Te = setTimeout(() => {
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
147
  m.value = a, V();
147
148
  };
148
- N.value = requestAnimationFrame(ce);
149
+ M.value = requestAnimationFrame(ce);
149
150
  }
150
151
  J(U, () => {
151
152
  X();
@@ -161,7 +162,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
161
162
  type: "dataset",
162
163
  debug: re.value
163
164
  }), E.value = !0) : r.dataset.forEach((t, a) => {
164
- Ye({
165
+ Ue({
165
166
  datasetObject: t,
166
167
  requiredAttributes: ["period", "value"]
167
168
  }).forEach((l) => {
@@ -174,8 +175,8 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
174
175
  });
175
176
  });
176
177
  }), ke(r.dataset) || (E.value = e.value.loading), e.value.responsive) {
177
- const t = Qe(() => {
178
- const { width: a, height: l } = et({
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
@@ -184,11 +185,11 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
184
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 && (w.value && b.value.unobserve(w.value), b.value.disconnect()), b.value = new ResizeObserver(t), w.value = R.value.parentNode, b.value.observe(w.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(() => {
191
- b.value && (w.value && b.value.unobserve(w.value), b.value.disconnect());
192
+ b.value && (_.value && b.value.unobserve(_.value), b.value.disconnect());
192
193
  });
193
194
  const o = y({
194
195
  height: 80 * r.heightRatio,
@@ -206,30 +207,30 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
206
207
  width: r.showInfo && e.value.style.dataLabel.show ? o.value.chartWidth - u - a : o.value.width - o.value.padding - u - a,
207
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((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), M = h(() => {
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(() => {
210
211
  const t = q.value >= 0 ? 0 : q.value;
211
212
  return Math.abs(t);
212
- }), ve = h(() => Se.value + M.value), L = h(() => i.value.bottom - i.value.height * Z(M.value));
213
+ }), ve = h(() => Se.value + C.value), w = h(() => i.value.bottom - i.value.height * Z(C.value));
213
214
  function Z(t) {
214
215
  return isNaN(t / ve.value) ? 0 : t / ve.value;
215
216
  }
216
- const A = h(() => _.value.length - 1 || 1), z = h(() => ut({
217
- values: _.value.map((t) => t.period),
218
- maxDatapoints: _.value.length,
217
+ const L = h(() => x.value.length - 1 || 1), z = h(() => ut({
218
+ values: x.value.map((t) => t.period),
219
+ maxDatapoints: x.value.length,
219
220
  formatter: e.value.style.dataLabel.datetimeFormatter,
220
221
  start: 0,
221
- end: _.value.length
222
+ end: x.value.length
222
223
  })), d = h(() => m.value.map((t, a) => {
223
- 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 / A.value;
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
227
  period: z.value && z.value[a] && z.value[a].text ? z.value[a].text : t.period,
227
- plotValue: l + M.value,
228
- toMax: Z(l + M.value),
228
+ plotValue: l + C.value,
229
+ toMax: Z(l + C.value),
229
230
  x: i.value.start + a * u,
230
- y: i.value.bottom - i.value.height * Z(l + M.value),
231
+ y: i.value.bottom - i.value.height * Z(l + C.value),
231
232
  id: `plot_${g.value}_${a}`,
232
- color: C.value ? e.value.style.bar.color : e.value.style.area.useGradient ? W(e.value.style.line.color, 0.05 * (1 - a / A.value)) : e.value.style.line.color,
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(() => {
@@ -237,12 +238,12 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
237
238
  return d.value.forEach((u) => {
238
239
  l.push(`${u.x || 0},${u.y || 0} `);
239
240
  }), [t.x, t.y, ...l, a.x, a.y].toString();
240
- }), v = y(void 0), $ = y(void 0);
241
+ }), v = y(void 0), A = y(void 0);
241
242
  function ze(t, a) {
242
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), v.value = t, $.value || ($.value = t), Y("hoverIndex", { index: 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
245
  function De(t, a) {
245
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a }), $.value = v.value, v.value = void 0, Y("hoverIndex", { index: void 0 });
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) {
@@ -251,8 +252,8 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
251
252
  latest: d.value[d.value.length - 1] ? d.value[d.value.length - 1].absoluteValue : 0,
252
253
  sum: a,
253
254
  average: a / d.value.length,
254
- median: Ze(t),
255
- trend: qe(d.value.map(({ x: l, y: u, absoluteValue: K }) => ({
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
@@ -266,18 +267,18 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
266
267
  median: null,
267
268
  trend: null
268
269
  };
269
- }), 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), C = h(() => e.value.type && e.value.type === "bar");
270
- function Te(t, a) {
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");
271
+ function We(t, a) {
271
272
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a }), Y("selectDatapoint", { datapoint: t, index: a });
272
273
  }
273
- return (t, a) => (s(), 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
- I(t.$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,
@@ -285,7 +286,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
285
286
  median: k.value.median,
286
287
  trend: k.value.trend
287
288
  })), void 0, !0),
288
- e.value.style.title.show && x.showInfo ? (s(), c("div", {
289
+ e.value.style.title.show && $.showInfo ? (n(), c("div", {
289
290
  key: 0,
290
291
  ref_key: "chartTitle",
291
292
  ref: oe,
@@ -294,18 +295,18 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["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
- (s(), c("svg", {
300
+ (n(), c("svg", {
300
301
  ref_key: "svgRef",
301
302
  ref: ne,
302
- xmlns: n(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: a[0] || (a[0] = (l) => $.value = void 0)
306
+ onMouseleave: a[0] || (a[0] = (l) => A.value = void 0)
306
307
  }, [
307
- Fe(n($e)),
308
- t.$slots["chart-background"] ? (s(), c("foreignObject", {
308
+ Fe(s($e)),
309
+ t.$slots["chart-background"] ? (n(), c("foreignObject", {
309
310
  key: 0,
310
311
  x: 0,
311
312
  y: 0,
@@ -315,7 +316,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
315
316
  pointerEvents: "none"
316
317
  }
317
318
  }, [
318
- I(t.$slots, "chart-background", {}, void 0, !0)
319
+ S(t.$slots, "chart-background", {}, void 0, !0)
319
320
  ], 8, rt)) : f("", !0),
320
321
  p("defs", null, [
321
322
  p("linearGradient", {
@@ -327,11 +328,11 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
327
328
  }, [
328
329
  p("stop", {
329
330
  offset: "0%",
330
- "stop-color": n(P)(n(W)(e.value.style.area.color, 0.05), e.value.style.area.opacity)
331
+ "stop-color": s(P)(s(T)(e.value.style.area.color, 0.05), e.value.style.area.opacity)
331
332
  }, null, 8, vt),
332
333
  p("stop", {
333
334
  offset: "100%",
334
- "stop-color": n(P)(e.value.style.area.color, e.value.style.area.opacity)
335
+ "stop-color": s(P)(e.value.style.area.color, e.value.style.area.opacity)
335
336
  }, null, 8, dt)
336
337
  ], 8, it),
337
338
  p("linearGradient", {
@@ -345,7 +346,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
345
346
  }, null, 8, ht),
346
347
  p("stop", {
347
348
  offset: "100%",
348
- "stop-color": n(W)(e.value.style.bar.color, 0.05)
349
+ "stop-color": s(T)(e.value.style.bar.color, 0.05)
349
350
  }, null, 8, ft)
350
351
  ], 8, ct),
351
352
  p("linearGradient", {
@@ -355,7 +356,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
355
356
  }, [
356
357
  p("stop", {
357
358
  offset: "0%",
358
- "stop-color": n(W)(e.value.style.bar.color, 0.05)
359
+ "stop-color": s(T)(e.value.style.bar.color, 0.05)
359
360
  }, null, 8, pt),
360
361
  p("stop", {
361
362
  offset: "100%",
@@ -363,44 +364,44 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
363
364
  }, null, 8, gt)
364
365
  ], 8, yt)
365
366
  ]),
366
- e.value.style.area.show && !C.value && d.value[0] && d.value.length > 1 ? (s(), c("g", mt, [
367
- e.value.style.line.smooth ? (s(), c("path", {
367
+ e.value.style.area.show && !I.value && d.value[0] && d.value.length > 1 ? (n(), c("g", mt, [
368
+ e.value.style.line.smooth ? (n(), c("path", {
368
369
  key: 0,
369
- d: `M ${d.value[0].x},${i.value.bottom} ${n(_e)(d.value)} L ${d.value.at(-1).x},${i.value.bottom} Z`,
370
- fill: e.value.style.area.useGradient ? `url(#sparkline_gradient_${g.value})` : n(P)(e.value.style.area.color, e.value.style.area.opacity)
371
- }, null, 8, bt)) : (s(), c("path", {
370
+ d: `M ${d.value[0].x},${i.value.bottom} ${s(_e)(d.value)} L ${d.value.at(-1).x},${i.value.bottom} Z`,
371
+ fill: e.value.style.area.useGradient ? `url(#sparkline_gradient_${g.value})` : s(P)(e.value.style.area.color, e.value.style.area.opacity)
372
+ }, null, 8, bt)) : (n(), c("path", {
372
373
  key: 1,
373
374
  d: `M${Ve.value}Z`,
374
- fill: e.value.style.area.useGradient ? `url(#sparkline_gradient_${g.value})` : n(P)(e.value.style.area.color, e.value.style.area.opacity)
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
376
  }, null, 8, kt))
376
377
  ])) : f("", !0),
377
- e.value.style.line.smooth && !C.value ? (s(), c("path", {
378
+ e.value.style.line.smooth && !I.value ? (n(), c("path", {
378
379
  key: 2,
379
- d: `M ${n(_e)(d.value) || "0,0"}`,
380
+ d: `M ${s(_e)(d.value) || "0,0"}`,
380
381
  stroke: e.value.style.line.color,
381
382
  fill: "none",
382
383
  "stroke-width": e.value.style.line.strokeWidth,
383
384
  "stroke-linecap": "round"
384
385
  }, null, 8, xt)) : f("", !0),
385
- !e.value.style.line.smooth && !C.value ? (s(), c("path", {
386
+ !e.value.style.line.smooth && !I.value ? (n(), c("path", {
386
387
  key: 3,
387
- d: `M ${n(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
393
  }, null, 8, _t)) : f("", !0),
393
- (s(!0), c(Q, null, ee(d.value, (l, u) => (s(), c("g", null, [
394
- C.value ? (s(), c("rect", {
394
+ (n(!0), c(Q, null, ee(d.value, (l, u) => (n(), c("g", null, [
395
+ I.value ? (n(), c("rect", {
395
396
  key: 0,
396
397
  x: l.x - l.width / 2,
397
- y: isNaN(l.absoluteValue > 0 ? l.y : L.value) ? 0 : l.absoluteValue > 0 ? l.y : L.value,
398
+ y: isNaN(l.absoluteValue > 0 ? l.y : w.value) ? 0 : l.absoluteValue > 0 ? l.y : w.value,
398
399
  width: l.width,
399
- height: isNaN(Math.abs(l.y - L.value)) ? 0 : Math.abs(l.y - L.value),
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
403
  }, null, 8, wt)) : f("", !0),
403
- e.value.style.verticalIndicator.show && (v.value && l.id === v.value.id || x.selectedIndex === u) ? (s(), c("line", {
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,
406
407
  x2: l.x,
@@ -412,19 +413,19 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
412
413
  "stroke-dasharray": e.value.style.verticalIndicator.strokeDasharray || 0
413
414
  }, null, 8, Lt)) : f("", !0)
414
415
  ]))), 256)),
415
- q.value < 0 ? (s(), c("line", {
416
+ q.value < 0 ? (n(), c("line", {
416
417
  key: 4,
417
418
  x1: i.value.start,
418
419
  x2: i.value.start + i.value.width,
419
- y1: n(we)(L.value, i.value.bottom),
420
- y2: n(we)(L.value, i.value.bottom),
420
+ y1: s(we)(w.value, i.value.bottom),
421
+ y2: s(we)(w.value, i.value.bottom),
421
422
  stroke: e.value.style.zeroLine.color,
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
426
  }, null, 8, At)) : f("", !0),
426
- e.value.style.plot.show ? (s(!0), c(Q, { key: 5 }, ee(d.value, (l, u) => (s(), c("g", null, [
427
- v.value && l.id === v.value.id || x.selectedIndex === u || x.dataset.length === 1 ? (s(), c("circle", {
427
+ e.value.style.plot.show ? (n(!0), c(Q, { key: 5 }, ee(d.value, (l, u) => (n(), c("g", null, [
428
+ v.value && l.id === v.value.id || $.selectedIndex === u || s(N).length === 1 ? (n(), c("circle", {
428
429
  key: 0,
429
430
  cx: l.x,
430
431
  cy: l.y,
@@ -434,43 +435,43 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
434
435
  "stroke-width": e.value.style.plot.strokeWidth
435
436
  }, null, 8, $t)) : f("", !0)
436
437
  ]))), 256)) : f("", !0),
437
- x.showInfo && e.value.style.dataLabel.show ? (s(), c("text", {
438
+ $.showInfo && e.value.style.dataLabel.show ? (n(), c("text", {
438
439
  key: 6,
439
440
  x: e.value.style.dataLabel.position === "left" ? 12 + e.value.style.dataLabel.offsetX : i.value.width + 12 + e.value.style.dataLabel.offsetX,
440
441
  y: o.value.height / 2 + e.value.style.dataLabel.fontSize / 2.5 + e.value.style.dataLabel.offsetY,
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 ? n(ae)(
445
+ }, W(v.value ? s(ae)(
445
446
  e.value.style.dataLabel.formatter,
446
447
  v.value.absoluteValue,
447
- n(le)({ p: e.value.style.dataLabel.prefix, v: v.value.absoluteValue, s: e.value.style.dataLabel.suffix, r: e.value.style.dataLabel.roundingValue }),
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
- ) : n(ae)(
450
+ ) : s(ae)(
450
451
  e.value.style.dataLabel.formatter,
451
452
  de.value,
452
- n(le)({ p: e.value.style.dataLabel.prefix, v: de.value, s: e.value.style.dataLabel.suffix, r: e.value.style.dataLabel.roundingValue })
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
454
  )), 9, Nt)) : f("", !0),
454
- (s(!0), c(Q, null, ee(d.value, (l, u) => (s(), c("rect", {
455
- x: l.x - (i.value.width / (A.value + 1) > o.value.padding ? o.value.padding : i.value.width / (A.value + 1)) / 2,
455
+ (n(!0), c(Q, null, ee(d.value, (l, u) => (n(), c("rect", {
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,
457
458
  height: i.value.height + 6,
458
- width: i.value.width / (A.value + 1) > o.value.padding ? o.value.padding : i.value.width / (A.value + 1),
459
+ width: i.value.width / (L.value + 1) > o.value.padding ? o.value.padding : i.value.width / (L.value + 1),
459
460
  fill: "transparent",
460
461
  onMouseenter: () => ze(l, u),
461
462
  onMouseleave: () => De(l, u),
462
- onClick: () => Te(l, u)
463
+ onClick: () => We(l, u)
463
464
  }, null, 40, Mt))), 256)),
464
- I(t.$slots, "svg", { svg: o.value }, void 0, !0)
465
+ S(t.$slots, "svg", { svg: o.value }, void 0, !0)
465
466
  ], 44, nt)),
466
- v.value && e.value.style.tooltip.show ? (s(), pe(n(Ne), {
467
+ v.value && e.value.style.tooltip.show ? (n(), pe(s(Ne), {
467
468
  key: 1,
468
469
  x: v.value.x,
469
470
  y: v.value.y,
470
- prevX: $.value.x,
471
- prevY: $.value.y,
471
+ prevX: A.value.x,
472
+ prevY: A.value.y,
472
473
  offsetY: e.value.style.plot.radius * 3 + e.value.style.tooltip.offsetY,
473
- svgRef: n(ne),
474
+ svgRef: s(ne),
474
475
  background: e.value.style.tooltip.backgroundColor,
475
476
  color: e.value.style.tooltip.color,
476
477
  fontSize: e.value.style.tooltip.fontSize,
@@ -480,11 +481,11 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
480
481
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity
481
482
  }, {
482
483
  default: Ee(() => [
483
- I(t.$slots, "tooltip", ge(me({ ...v.value })), () => [
484
- Oe(T(v.value.period) + ": " + T(n(ae)(
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
- n(le)({
488
+ s(le)({
488
489
  p: e.value.style.dataLabel.prefix,
489
490
  v: v.value.absoluteValue,
490
491
  s: e.value.style.dataLabel.suffix,
@@ -496,18 +497,18 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["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
- t.$slots.source ? (s(), 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
- I(t.$slots, "source", {}, void 0, !0)
506
+ S(t.$slots, "source", {}, void 0, !0)
506
507
  ], 512)) : f("", !0),
507
- n(F) ? (s(), pe(lt, { key: 3 })) : f("", !0)
508
+ s(F) ? (n(), pe(at, { key: 3 })) : f("", !0)
508
509
  ], 12, st));
509
510
  }
510
- }, Rt = /* @__PURE__ */ ot(Ct, [["__scopeId", "data-v-12334391"]]);
511
+ }, Ft = /* @__PURE__ */ ot(Ct, [["__scopeId", "data-v-9bb1ae10"]]);
511
512
  export {
512
- Rt as default
513
+ Ft as default
513
514
  };